Skip to content

Commit

Permalink
Merge branch 'main' into interactive-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
guidari authored Feb 23, 2024
2 parents 481f9c8 + 582901c commit fe91fae
Show file tree
Hide file tree
Showing 15 changed files with 481 additions and 188 deletions.
155 changes: 77 additions & 78 deletions docs/migration/v11.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions e2e/icons-react/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,10 @@ Array [
"Rewind_10",
"Rewind_30",
"Rewind_5",
"RightPanelClose",
"RightPanelCloseFilled",
"RightPanelOpen",
"RightPanelOpenFilled",
"Road",
"RoadWeather",
"Roadmap",
Expand Down
16 changes: 16 additions & 0 deletions e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6176,6 +6176,22 @@ Array [
"Rewind_520",
"Rewind_524",
"Rewind_532",
"RightPanelClose16",
"RightPanelClose20",
"RightPanelClose24",
"RightPanelClose32",
"RightPanelCloseFilled16",
"RightPanelCloseFilled20",
"RightPanelCloseFilled24",
"RightPanelCloseFilled32",
"RightPanelOpen16",
"RightPanelOpen20",
"RightPanelOpen24",
"RightPanelOpen32",
"RightPanelOpenFilled16",
"RightPanelOpenFilled20",
"RightPanelOpenFilled24",
"RightPanelOpenFilled32",
"Road16",
"Road20",
"Road24",
Expand Down
16 changes: 16 additions & 0 deletions e2e/icons/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6175,6 +6175,22 @@ Array [
"Rewind_520",
"Rewind_524",
"Rewind_532",
"RightPanelClose16",
"RightPanelClose20",
"RightPanelClose24",
"RightPanelClose32",
"RightPanelCloseFilled16",
"RightPanelCloseFilled20",
"RightPanelCloseFilled24",
"RightPanelCloseFilled32",
"RightPanelOpen16",
"RightPanelOpen20",
"RightPanelOpen24",
"RightPanelOpen32",
"RightPanelOpenFilled16",
"RightPanelOpenFilled20",
"RightPanelOpenFilled24",
"RightPanelOpenFilled32",
"Road16",
"Road20",
"Road24",
Expand Down
4 changes: 4 additions & 0 deletions packages/icons/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ categories:
- rewind--10
- rewind--30
- rewind--5
- right-panel--close
- right-panel--close--filled
- right-panel--open
- right-panel--open--filled
- settings
- settings--adjust
- settings--check
Expand Down
66 changes: 66 additions & 0 deletions packages/icons/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17188,6 +17188,72 @@
- previous
- past
- reverse
- name: right-panel--close
friendly_name: Right panel close
sizes:
- 32
aliases:
- controls
- side panel
- side bar
- close
- arrow right
- open
- panel
- navigation
- side nav
- ui
- nav
- name: right-panel--close--filled
friendly_name: Right panel close filled
sizes:
- 32
aliases:
- controls
- side panel
- side bar
- close
- arrow right
- open
- panel
- navigation
- side nav
- ui
- nav
- filled
- name: right-panel--open
friendly_name: Right panel open
sizes:
- 32
aliases:
- controls
- side panel
- side bar
- open
- arrow right
- open
- panel
- navigation
- side nav
- ui
- nav
- name: right-panel--open--filled
friendly_name: Right panel open filled
sizes:
- 32
aliases:
- controls
- side panel
- side bar
- close
- arrow right
- open
- panel
- navigation
- side nav
- ui
- nav
- filled
- name: road
friendly_name: Road
aliases:
Expand Down
16 changes: 16 additions & 0 deletions packages/icons/src/svg/32/right-panel--close--filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/icons/src/svg/32/right-panel--close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/icons/src/svg/32/right-panel--open--filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/icons/src/svg/32/right-panel--open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,33 @@

import cx from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
import React, { ReactNode } from 'react';
import { AriaLabelPropType } from '../../prop-types/AriaPropTypes';
import { usePrefix } from '../../internal/usePrefix';

const Header = ({ className: customClassName, children, ...rest }) => {
interface HeaderProps {
children?: ReactNode;
/**
* Required props for the accessibility label of the header
*/
'aria-label'?: string;
/**
* Required props for the accessibility label of the header
*/
'aria-labelledby'?: string;
/**
* Optionally provide a custom class name that is applied to the underlying <header>
*/
className?: string;
}

const Header: React.FC<HeaderProps> = ({
className: customClassName,
children,
...rest
}) => {
const prefix = usePrefix();
const className = cx(`${prefix}--header`, customClassName);
const className = cx(`${prefix}--header`, customClassName as string);

return (
<header {...rest} className={className}>
Expand Down
100 changes: 0 additions & 100 deletions packages/react/src/components/UIShell/HeaderGlobalAction.js

This file was deleted.

Loading

0 comments on commit fe91fae

Please sign in to comment.