@patternfly/patternfly 6.0.0-alpha.97 → 6.0.0-alpha.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +20 -6
- package/components/MenuToggle/menu-toggle.scss +32 -6
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +35 -35
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +57 -57
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/Banner/examples/Banner.md +1 -1
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/DataList/examples/DataList.md +179 -280
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
- package/docs/demos/Masthead/examples/Masthead.md +4 -8
- package/docs/demos/Nav/examples/Nav.md +45 -149
- package/docs/demos/Page/examples/Page.md +3 -37
- package/docs/demos/Page/examples/Penta.md +119 -40
- package/docs/demos/Table/examples/Table.md +1531 -4970
- package/docs/demos/Tabs/examples/Tabs.md +118 -174
- package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +363 -465
- package/patternfly-theme-dark-unversioned.css +363 -465
- package/patternfly.css +363 -465
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Tabs
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-tabs
|
|
5
5
|
---import './Tabs.css'
|
|
6
6
|
|
|
7
7
|
# Examples
|
|
@@ -106,8 +106,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
106
106
|
|
|
107
107
|
| Class | Applied to | Outcome |
|
|
108
108
|
| -- | -- | -- |
|
|
109
|
-
| `.pf-m-disabled` | `a.pf-
|
|
110
|
-
| `.pf-m-aria-disabled` | `.pf-
|
|
109
|
+
| `.pf-m-disabled` | `a.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
110
|
+
| `.pf-m-aria-disabled` | `.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
111
111
|
|
|
112
112
|
## Overflow
|
|
113
113
|
|
|
@@ -240,8 +240,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
240
240
|
|
|
241
241
|
| Class | Applied to | Outcome |
|
|
242
242
|
| -- | -- | -- |
|
|
243
|
-
| `.pf-m-scrollable` | `.pf-
|
|
244
|
-
| `.pf-
|
|
243
|
+
| `.pf-m-scrollable` | `.pf-v6-c-tabs` | Enables the directional scroll buttons. |
|
|
244
|
+
| `.pf-v6-c-tabs__scroll-button` | `<div>` | Initiates a tabs component scroll button container. |
|
|
245
245
|
|
|
246
246
|
### Horizontal overflow example
|
|
247
247
|
|
|
@@ -1845,8 +1845,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
1845
1845
|
|
|
1846
1846
|
| Class | Applied to | Outcome |
|
|
1847
1847
|
| -- | -- | -- |
|
|
1848
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-
|
|
1849
|
-
| `.pf-m-page-insets` | `.pf-
|
|
1848
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of other adjacent components. |
|
|
1849
|
+
| `.pf-m-page-insets` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
1850
1850
|
|
|
1851
1851
|
## Icons
|
|
1852
1852
|
|
|
@@ -2596,7 +2596,7 @@ cssPrefix: pf-v5-c-tabs
|
|
|
2596
2596
|
|
|
2597
2597
|
| Class | Applied to | Outcome |
|
|
2598
2598
|
| -- | -- | -- |
|
|
2599
|
-
| `.pf-m-fill` | `.pf-
|
|
2599
|
+
| `.pf-m-fill` | `.pf-v6-c-tabs` | Modifies the tabs to fill the available space. **Required** |
|
|
2600
2600
|
|
|
2601
2601
|
## Tabs as navigation
|
|
2602
2602
|
|
|
@@ -8453,34 +8453,34 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
8453
8453
|
|
|
8454
8454
|
| Class | Applied to | Outcome |
|
|
8455
8455
|
| -- | -- | -- |
|
|
8456
|
-
| `.pf-
|
|
8457
|
-
| `.pf-
|
|
8458
|
-
| `.pf-
|
|
8459
|
-
| `.pf-
|
|
8460
|
-
| `.pf-
|
|
8461
|
-
| `.pf-
|
|
8462
|
-
| `.pf-
|
|
8463
|
-
| `.pf-
|
|
8464
|
-
| `.pf-
|
|
8465
|
-
| `.pf-
|
|
8466
|
-
| `.pf-
|
|
8467
|
-
| `.pf-
|
|
8468
|
-
| `.pf-
|
|
8469
|
-
| `.pf-
|
|
8470
|
-
| `.pf-m-tubtab` | `.pf-
|
|
8471
|
-
| `.pf-m-no-border-bottom` | `.pf-
|
|
8472
|
-
| `.pf-m-box` | `.pf-
|
|
8473
|
-
| `.pf-m-vertical` | `.pf-
|
|
8474
|
-
| `.pf-m-fill` | `.pf-
|
|
8475
|
-
| `.pf-m-current` | `.pf-
|
|
8476
|
-
| `.pf-m-action` | `.pf-
|
|
8477
|
-
| `.pf-m-overflow` | `.pf-
|
|
8478
|
-
| `.pf-m-expanded` | `.pf-
|
|
8479
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-
|
|
8480
|
-
| `.pf-m-page-insets` | `.pf-
|
|
8481
|
-
| `.pf-m-secondary` | `.pf-
|
|
8482
|
-
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-
|
|
8483
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-
|
|
8484
|
-
| `.pf-m-expanded` | `.pf-
|
|
8485
|
-
| `.pf-m-disabled` | `a.pf-
|
|
8486
|
-
| `.pf-m-aria-disabled` | `.pf-
|
|
8456
|
+
| `.pf-v6-c-tabs` | `<nav>`, `<div>` | Initiates the tabs component. **Required** |
|
|
8457
|
+
| `.pf-v6-c-tabs__list` | `<ul>` | Initiates a tabs component list. **Required** |
|
|
8458
|
+
| `.pf-v6-c-tabs__item` | `<li>` | Initiates a tabs component item. **Required** |
|
|
8459
|
+
| `.pf-v6-c-tabs__item-text` | `<span>` | Initiates a tabs component item icon. **Required** |
|
|
8460
|
+
| `.pf-v6-c-tabs__item-icon` | `<span>` | Initiates a tabs component item text. **Required** |
|
|
8461
|
+
| `.pf-v6-c-tabs__item-close` | `<span>` | Initiates a tabs component item close. |
|
|
8462
|
+
| `.pf-v6-c-tabs__item-close-icon` | `<span>` | Initiates a tabs component item close icon. |
|
|
8463
|
+
| `.pf-v6-c-tabs__link` | `<button>`, `<a>` | Initiates a tabs component link. **Required** |
|
|
8464
|
+
| `.pf-v6-c-tabs__scroll-button` | `<div>` | Initiates a tabs component scroll button container. |
|
|
8465
|
+
| `.pf-v6-c-tabs__add` | `<span>` | Initiates a tabs component add button. |
|
|
8466
|
+
| `.pf-v6-c-tabs__toggle` | `<div>` | Initiates a tabs expandable toggle. |
|
|
8467
|
+
| `.pf-v6-c-tabs__toggle-button` | `<button>` | Initiates a tabs expandable toggle button. |
|
|
8468
|
+
| `.pf-v6-c-tabs__toggle-icon` | `<span>` | Initiates a tabs expandable toggle icon. |
|
|
8469
|
+
| `.pf-v6-c-tabs__toggle-text` | `<span>` | Initiates a tabs expandable toggle text. |
|
|
8470
|
+
| `.pf-m-tubtab` | `.pf-v6-c-tabs` | Applies subtab styling to the tab component. |
|
|
8471
|
+
| `.pf-m-no-border-bottom` | `.pf-v6-c-tabs` | Removes bottom border from a tab component. |
|
|
8472
|
+
| `.pf-m-box` | `.pf-v6-c-tabs` | Applies box styling to the tab component. |
|
|
8473
|
+
| `.pf-m-vertical` | `.pf-v6-c-tabs` | Applies vertical styling to the tab component. |
|
|
8474
|
+
| `.pf-m-fill` | `.pf-v6-c-tabs` | Modifies the tabs to fill the available space. |
|
|
8475
|
+
| `.pf-m-current` | `.pf-v6-c-tabs__item` | Indicates that a tab item is currently selected. |
|
|
8476
|
+
| `.pf-m-action` | `.pf-v6-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
8477
|
+
| `.pf-m-overflow` | `.pf-v6-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
|
8478
|
+
| `.pf-m-expanded` | `.pf-v6-c-tabs__item` | Applies expanded styling to the overflow menu tab item. |
|
|
8479
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-v6-c-tabs` | Modifies tabs horizontal padding at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
8480
|
+
| `.pf-m-page-insets` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
8481
|
+
| `.pf-m-secondary` | `.pf-v6-c-tabs.pf-m-box` | Modifies the tabs component tab background colors for the box variant. |
|
|
8482
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be expandable via a toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** works with vertical tabs only. |
|
|
8483
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be non-expandable at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
8484
|
+
| `.pf-m-expanded` | `.pf-v6-c-tabs` | Modifies the expandable tabs component for the expanded state. |
|
|
8485
|
+
| `.pf-m-disabled` | `a.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
8486
|
+
| `.pf-m-aria-disabled` | `.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Tile
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-tile
|
|
5
5
|
---import './Tile.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -993,19 +993,19 @@ cssPrefix: pf-v5-c-tile
|
|
|
993
993
|
|
|
994
994
|
| Attribute | Applied to | Outcome |
|
|
995
995
|
| -- | -- | -- |
|
|
996
|
-
| `tabindex="0"` | `.pf-
|
|
997
|
-
| `tabindex="-1"` | `.pf-
|
|
996
|
+
| `tabindex="0"` | `.pf-v6-c-tile` | Inserts the tile into the tab order of the page so that it is focusable. **Required** |
|
|
997
|
+
| `tabindex="-1"` | `.pf-v6-c-tile` | Removes the tile from keyboard focus when it is disabled. |
|
|
998
998
|
|
|
999
999
|
### Usage
|
|
1000
1000
|
|
|
1001
1001
|
| Class | Applied to | Outcome |
|
|
1002
1002
|
| -- | -- | -- |
|
|
1003
|
-
| `.pf-
|
|
1004
|
-
| `.pf-
|
|
1005
|
-
| `.pf-
|
|
1006
|
-
| `.pf-
|
|
1007
|
-
| `.pf-
|
|
1008
|
-
| `.pf-m-selected` | `.pf-
|
|
1009
|
-
| `.pf-m-disabled` | `.pf-
|
|
1010
|
-
| `.pf-m-stacked` | `.pf-
|
|
1011
|
-
| `.pf-m-display-lg` | `.pf-
|
|
1003
|
+
| `.pf-v6-c-tile` | `<div>` | Initiates a tile. **Required** |
|
|
1004
|
+
| `.pf-v6-c-tile__header` | `<div>` | Initiates the tile header. |
|
|
1005
|
+
| `.pf-v6-c-tile__title` | `<div>` | Initiates the tile title. |
|
|
1006
|
+
| `.pf-v6-c-tile__icon` | `<div>` | Initiates the tile icon or image. |
|
|
1007
|
+
| `.pf-v6-c-tile__body` | `<div>` | Initiates the tile body. |
|
|
1008
|
+
| `.pf-m-selected` | `.pf-v6-c-tile` | Modifies the tile for the selected state. |
|
|
1009
|
+
| `.pf-m-disabled` | `.pf-v6-c-tile` | Modifies the tile for the disabled state. |
|
|
1010
|
+
| `.pf-m-stacked` | `.pf-v6-c-tile__header` | Modifies the tile header to be stacked vertically. |
|
|
1011
|
+
| `.pf-m-display-lg` | `.pf-v6-c-tile` | Modifies the tile to have large display styling. |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: Timestamp
|
|
3
3
|
beta: true
|
|
4
4
|
section: components
|
|
5
|
-
cssPrefix: pf-
|
|
5
|
+
cssPrefix: pf-v6-c-timestamp
|
|
6
6
|
---## Examples
|
|
7
7
|
|
|
8
8
|
### Basic
|
|
@@ -57,6 +57,6 @@ cssPrefix: pf-v5-c-timestamp
|
|
|
57
57
|
|
|
58
58
|
| Class | Applied to | Outcome |
|
|
59
59
|
| -- | -- | -- |
|
|
60
|
-
| `.pf-
|
|
61
|
-
| `.pf-
|
|
62
|
-
| `.pf-m-help-text`| `.pf-
|
|
60
|
+
| `.pf-v6-c-timestamp` | `<span>` | Creates a timestamp. **Required** |
|
|
61
|
+
| `.pf-v6-c-timestamp__text` | `<time>` | Creates the visual text of the timestamp. **Required** |
|
|
62
|
+
| `.pf-m-help-text`| `.pf-v6-c-timestamp` | Modifies styling for a timestamp that has help text. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Title
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-title
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Size modifiers
|
|
@@ -38,27 +38,27 @@ The content component defines margin on headers. To regain the same spacing use,
|
|
|
38
38
|
|
|
39
39
|
| Title | Margin top | Margin bottom |
|
|
40
40
|
| -- | -- | -- |
|
|
41
|
-
| 4xl | `.pf-
|
|
42
|
-
| 3xl | `.pf-
|
|
43
|
-
| 2xl | `.pf-
|
|
44
|
-
| xl | `.pf-
|
|
45
|
-
| lg | `.pf-
|
|
46
|
-
| md | `.pf-
|
|
41
|
+
| 4xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
42
|
+
| 3xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
43
|
+
| 2xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
44
|
+
| xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
45
|
+
| lg | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
46
|
+
| md | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
47
47
|
|
|
48
48
|
### Usage
|
|
49
49
|
|
|
50
50
|
| Class | Applied | Outcome |
|
|
51
51
|
| -- | -- | -- |
|
|
52
|
-
| `.pf-
|
|
53
|
-
| `.pf-m-4xl` | `.pf-
|
|
54
|
-
| `.pf-m-3xl` | `.pf-
|
|
55
|
-
| `.pf-m-2xl` | `.pf-
|
|
56
|
-
| `.pf-m-xl` | `.pf-
|
|
57
|
-
| `.pf-m-lg` | `.pf-
|
|
58
|
-
| `.pf-m-md` | `.pf-
|
|
59
|
-
| `.pf-m-h1` | `.pf-
|
|
60
|
-
| `.pf-m-h2` | `.pf-
|
|
61
|
-
| `.pf-m-h3` | `.pf-
|
|
62
|
-
| `.pf-m-h4` | `.pf-
|
|
63
|
-
| `.pf-m-h5` | `.pf-
|
|
64
|
-
| `.pf-m-h6` | `.pf-
|
|
52
|
+
| `.pf-v6-c-title` | `*` | Initiates a title. Always use it with a modifier class. |
|
|
53
|
+
| `.pf-m-4xl` | `.pf-v6-c-title` | Modifies for 4xl size |
|
|
54
|
+
| `.pf-m-3xl` | `.pf-v6-c-title` | Modifies for 3xl size |
|
|
55
|
+
| `.pf-m-2xl` | `.pf-v6-c-title` | Modifies for 2xl size |
|
|
56
|
+
| `.pf-m-xl` | `.pf-v6-c-title` | Modifies for xl size |
|
|
57
|
+
| `.pf-m-lg` | `.pf-v6-c-title` | Modifies for lg size |
|
|
58
|
+
| `.pf-m-md` | `.pf-v6-c-title` | Modifies for md size |
|
|
59
|
+
| `.pf-m-h1` | `.pf-v6-c-title` | Modifies for default h1 size |
|
|
60
|
+
| `.pf-m-h2` | `.pf-v6-c-title` | Modifies for default h2 size |
|
|
61
|
+
| `.pf-m-h3` | `.pf-v6-c-title` | Modifies for default h3 size |
|
|
62
|
+
| `.pf-m-h4` | `.pf-v6-c-title` | Modifies for default h4 size |
|
|
63
|
+
| `.pf-m-h5` | `.pf-v6-c-title` | Modifies for default h5 size |
|
|
64
|
+
| `.pf-m-h6` | `.pf-v6-c-title` | Modifies for default h6 size |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Toggle group
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-toggle-group
|
|
5
5
|
---import './toggle-group.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -321,17 +321,17 @@ cssPrefix: pf-v5-c-toggle-group
|
|
|
321
321
|
|
|
322
322
|
| Attribute | Applied to | Outcome |
|
|
323
323
|
| -- | -- | -- |
|
|
324
|
-
| `aria-label="[button label text]"` | `.pf-
|
|
325
|
-
| `disabled` | `.pf-
|
|
324
|
+
| `aria-label="[button label text]"` | `.pf-v6-c-toggle-group__button` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
|
|
325
|
+
| `disabled` | `.pf-v6-c-toggle-group__button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
|
|
326
326
|
|
|
327
327
|
### Usage
|
|
328
328
|
|
|
329
329
|
| Class | Applied to | Outcome |
|
|
330
330
|
| -- | -- | -- |
|
|
331
|
-
| `.pf-
|
|
332
|
-
| `.pf-
|
|
333
|
-
| `.pf-
|
|
334
|
-
| `.pf-
|
|
335
|
-
| `.pf-
|
|
336
|
-
| `.pf-m-compact` | `.pf-
|
|
337
|
-
| `.pf-m-selected` | `.pf-
|
|
331
|
+
| `.pf-v6-c-toggle-group` | `<div>` | Initiates the toggle group. **Required** |
|
|
332
|
+
| `.pf-v6-c-toggle-group__button` | `<button>` | Initiates the toggle group button. **Required** |
|
|
333
|
+
| `.pf-v6-c-toggle-group__item` | `<div>` | Initiates the toggle group item wrapper. **Required** |
|
|
334
|
+
| `.pf-v6-c-toggle-group__text` | `<span>` | Initiates the toggle button text element. |
|
|
335
|
+
| `.pf-v6-c-toggle-group__icon` | `<span>` | Initiates the toggle button icon element. |
|
|
336
|
+
| `.pf-m-compact` | `.pf-v6-c-toggle-group` | Modifies the toggle group for compact styles. |
|
|
337
|
+
| `.pf-m-selected` | `.pf-v6-c-toggle-group__button` | Modifies the toggle button group button for the selected state. |
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Toolbar
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-toolbar
|
|
5
5
|
---import './Toolbar.css'
|
|
6
6
|
|
|
7
7
|
<!-- TODO: add documentation for resize observer/responsive variable usage -->
|
|
8
8
|
|
|
9
|
-
Toolbar relies on groups (`.pf-
|
|
9
|
+
Toolbar relies on groups (`.pf-v6-c-toolbar__group`) and items (`.pf-v6-c-toolbar__item`), with default col/row gap values. Groups and items can be siblings and/or items can be nested within groups. Modifier selectors adjust spacing based on the type of group. The default `column-gap` value for items and groups is set to `--pf-v6-c--ColumnGap`, whose value is `--pf-t--global--spacer--sm` or 8px.
|
|
10
10
|
|
|
11
11
|
### Default spacing for items and groups:
|
|
12
12
|
|
|
13
13
|
| Class | CSS Variable | Computed Value |
|
|
14
14
|
| -- | -- | -- |
|
|
15
|
-
| `.pf-
|
|
16
|
-
| `.pf-
|
|
15
|
+
| `.pf-v6-c-toolbar__group` | `--pf-v6-c-toolbar__group--ColumnGap` | `8px` |
|
|
16
|
+
| `.pf-v6-c-toolbar__item` | `--pf-v6-c-toolbar__item--ColumnGap` | `8px` |
|
|
17
17
|
|
|
18
18
|
### Toolbar item types
|
|
19
19
|
|
|
20
20
|
| Class | Applied to | Outcome |
|
|
21
21
|
| -- | -- | -- |
|
|
22
|
-
| `.pf-m-pagination` | `.pf-
|
|
22
|
+
| `.pf-m-pagination` | `.pf-v6-c-toolbar__item` | Initiates pagination and margin. |
|
|
23
23
|
|
|
24
24
|
### Modifiers
|
|
25
25
|
|
|
26
26
|
| Class | Applied to | Outcome |
|
|
27
27
|
| -- | -- | -- |
|
|
28
|
-
| `.pf-m-[hidden/visible]` | `.pf-
|
|
29
|
-
| `.pf-m-flex-grow` | `.pf-
|
|
30
|
-
| `.pf-m-align-[start/end]` | `.pf-
|
|
31
|
-
| `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-
|
|
32
|
-
| `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-
|
|
28
|
+
| `.pf-m-[hidden/visible]` | `.pf-v6-c-toolbar > *` | Modifies toolbar element to be hidden/visible. |
|
|
29
|
+
| `.pf-m-flex-grow` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element to `flex-grow: 1`, allowing it to consume available main-axis space. |
|
|
30
|
+
| `.pf-m-align-[start/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar [main axis](https://developer.mozilla.org/en-US/docs/Glossary/Main_Axis) element alignment. |
|
|
31
|
+
| `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) child alignment. |
|
|
32
|
+
| `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) self alignment. |
|
|
33
33
|
|
|
34
34
|
### Special notes
|
|
35
35
|
|
|
36
|
-
Several components in the following examples do not include functional and/or accessibility specifications (for example `.pf-
|
|
36
|
+
Several components in the following examples do not include functional and/or accessibility specifications (for example `.pf-v6-c-select`, `.pf-v6-c-options-menu`). Rather, `.pf-v6-c-toolbar` focuses on functionality and accessibility specifications that apply to it only.
|
|
37
37
|
|
|
38
38
|
**Available [breakpoints](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes) are: `-on-sm`, `-on-md`, `-on-lg`, `-on-xl`, and `-on-2xl`.**
|
|
39
39
|
|
|
@@ -68,8 +68,8 @@ Several components in the following examples do not include functional and/or ac
|
|
|
68
68
|
|
|
69
69
|
| Class | Applied to | Outcome |
|
|
70
70
|
| -- | -- | -- |
|
|
71
|
-
| `.pf-
|
|
72
|
-
| `.pf-
|
|
71
|
+
| `.pf-v6-c-toolbar__item` | `<div>` | Initiates the toolbar component item. **Required** |
|
|
72
|
+
| `.pf-v6-c-toolbar__group` | `<div>` | Initiates the toolbar component group. |
|
|
73
73
|
|
|
74
74
|
### Adjusted group column gap
|
|
75
75
|
|
|
@@ -136,8 +136,8 @@ Several components in the following examples do not include functional and/or ac
|
|
|
136
136
|
|
|
137
137
|
| Class | Applied to | Outcome |
|
|
138
138
|
| -- | -- | -- |
|
|
139
|
-
| `.pf-m-column-gap-[none/sm/md/lg]` | `.pf-
|
|
140
|
-
| `.pf-m-inset-[none/sm/md/lg/xl/2xl]` | `.pf-
|
|
139
|
+
| `.pf-m-column-gap-[none/sm/md/lg]` | `.pf-v6-c-toolbar__group` | Modifies toolbar group child spacing. |
|
|
140
|
+
| `.pf-m-inset-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar` | Modifies toolbar horizontal. |
|
|
141
141
|
|
|
142
142
|
### Width control
|
|
143
143
|
|
|
@@ -148,7 +148,7 @@ Several components in the following examples do not include functional and/or ac
|
|
|
148
148
|
<div class="pf-v6-c-toolbar__group">
|
|
149
149
|
<div
|
|
150
150
|
class="pf-v6-c-toolbar__item"
|
|
151
|
-
style="--pf-
|
|
151
|
+
style="--pf-v6-c-toolbar__item--Width: 80px; --pf-v6-c-toolbar__item--Width-on-xl: 10rem"
|
|
152
152
|
>Item</div>
|
|
153
153
|
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
154
154
|
</div>
|
|
@@ -165,8 +165,8 @@ Several components in the following examples do not include functional and/or ac
|
|
|
165
165
|
|
|
166
166
|
| Class | Applied to | Outcome |
|
|
167
167
|
| -- | -- | -- |
|
|
168
|
-
| `--pf-
|
|
169
|
-
| `--pf-
|
|
168
|
+
| `--pf-v6-c-toolbar__item--Width: {width}` | `.pf-v6-c-toolbar__item` | Modifies the width value of a toolbar item at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
169
|
+
| `--pf-v6-c-toolbar__item--MinWidth: {width}` | `.pf-v6-c-toolbar__item` | Modifies the min width value of a toolbar item at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
170
170
|
|
|
171
171
|
### Group types
|
|
172
172
|
|
|
@@ -271,8 +271,8 @@ Several components in the following examples do not include functional and/or ac
|
|
|
271
271
|
|
|
272
272
|
| Class | Applied to | Outcome |
|
|
273
273
|
| -- | -- | -- |
|
|
274
|
-
| `.pf-m-filter-group` | `.pf-
|
|
275
|
-
| `.pf-m-icon-button-group` | `.pf-
|
|
274
|
+
| `.pf-m-filter-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap. |
|
|
275
|
+
| `.pf-m-icon-button-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap. |
|
|
276
276
|
|
|
277
277
|
### Toggle group
|
|
278
278
|
|
|
@@ -498,24 +498,24 @@ The `.pf-m-toggle-group` controls when, and at which breakpoint, filters will be
|
|
|
498
498
|
|
|
499
499
|
| Attribute | Applied to | Outcome |
|
|
500
500
|
| -- | -- | -- |
|
|
501
|
-
| `hidden` | `.pf-
|
|
502
|
-
| `aria-expanded="[true/false]"` | `.pf-
|
|
503
|
-
| `aria-controls="[id of expandable content]"` | `.pf-
|
|
504
|
-
| `id="[expandable-content_id]"` | `.pf-
|
|
501
|
+
| `hidden` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__toggle`, `.pf-v6-c-toolbar__expandable-content` | Indicates that the toggle group element is hidden. **Required** |
|
|
502
|
+
| `aria-expanded="[true/false]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Indicates that the expandable content is visible/hidden. **Required** |
|
|
503
|
+
| `aria-controls="[id of expandable content]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
|
|
504
|
+
| `id="[expandable-content_id]"` | `.pf-v6-c-toolbar__expandable-content` | Provides a reference for toggle button description. **Required** |
|
|
505
505
|
|
|
506
506
|
### Responsive attributes
|
|
507
507
|
|
|
508
508
|
| Attribute | Applied to | Outcome |
|
|
509
509
|
| -- | -- | -- |
|
|
510
|
-
| `aria-haspopup=true` | `.pf-
|
|
510
|
+
| `aria-haspopup=true` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | When expandable content appears above content (mobile viewport), `aria-haspopup=true` should be applied to indicate that focus should be trapped. **Required** |
|
|
511
511
|
|
|
512
512
|
### Usage
|
|
513
513
|
|
|
514
514
|
| Class | Applied to | Outcome |
|
|
515
515
|
| -- | -- | -- |
|
|
516
|
-
| `.pf-m-[show/hide][-on-[sm/md/lg/xl/2xl]]` | `.pf-
|
|
517
|
-
| `.pf-m-chip-container` | `.pf-
|
|
518
|
-
| `.pf-m-expanded` | `.pf-
|
|
516
|
+
| `.pf-m-[show/hide][-on-[sm/md/lg/xl/2xl]]` | `.pf-v6-c-toolbar__group.pf-m-toggle-group`, `.pf-v6-c-toolbar__expandable-content` | Modifies toolbar element visibility. |
|
|
517
|
+
| `.pf-m-chip-container` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group` | Modifies the toolbar element for applied filters layout. |
|
|
518
|
+
| `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content`, `.pf-v6-c-toolbar__toggle` | Modifies the component for the expanded state. |
|
|
519
519
|
|
|
520
520
|
### Selected
|
|
521
521
|
|
|
@@ -2242,47 +2242,47 @@ As the toolbar component is a hybrid layout and component, some of its elements
|
|
|
2242
2242
|
|
|
2243
2243
|
| Class | Applied to | Outcome |
|
|
2244
2244
|
| -- | -- | -- |
|
|
2245
|
-
| `.pf-
|
|
2246
|
-
| `.pf-
|
|
2247
|
-
| `.pf-
|
|
2248
|
-
| `.pf-
|
|
2249
|
-
| `.pf-
|
|
2250
|
-
| `.pf-
|
|
2251
|
-
| `.pf-m-sticky` | `.pf-
|
|
2252
|
-
| `.pf-m-full-height` | `.pf-
|
|
2253
|
-
| `.pf-m-static` | `.pf-
|
|
2254
|
-
| `.pf-m-expanded` | `.pf-
|
|
2255
|
-
| `.pf-m-expanded` | `.pf-
|
|
2256
|
-
| `.pf-m-icon-button-group` | `.pf-
|
|
2257
|
-
| `.pf-m-filter-group` | `.pf-
|
|
2258
|
-
| `.pf-m-chip-container` | `.pf-
|
|
2259
|
-
| `.pf-m-overflow-container` | `.pf-
|
|
2260
|
-
| `.pf-m-expanded` | `.pf-
|
|
2261
|
-
| `.pf-m-[wrap/nowrap]` | `.pf-
|
|
2262
|
-
| `.pf-m-align-[start/end]` | `.pf-
|
|
2263
|
-
| `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-
|
|
2264
|
-
| `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-
|
|
2245
|
+
| `.pf-v6-c-toolbar` | `<div>` | Initiates the toolbar component. **Required** |
|
|
2246
|
+
| `.pf-v6-c-toolbar__item` | `<div>` | Initiates a toolbar item. **Required** |
|
|
2247
|
+
| `.pf-v6-c-toolbar__group` | `<div>` | Initiates a toolbar group. |
|
|
2248
|
+
| `.pf-v6-c-toolbar__content` | `<div>` | Initiates a toolbar content container. **Required** |
|
|
2249
|
+
| `.pf-v6-c-toolbar__content-section` | `<div>` | Initiates a toolbar content section. This is used to separate static elements from dynamic elements within a content container. There should be no more than one `.pf-v6-c-toolbar__content-section` per `.pf-v6-c-toolbar__content` **Required** |
|
|
2250
|
+
| `.pf-v6-c-toolbar__expandable-content` | `<div>` | Initiates a toolbar expandable content section. |
|
|
2251
|
+
| `.pf-m-sticky` | `.pf-v6-c-toolbar` | Modifies toolbar component to be sticky to the top of its container. |
|
|
2252
|
+
| `.pf-m-full-height` | `.pf-v6-c-toolbar`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group` | Modifies toolbar component to full height of its container and removes vertical padding. |
|
|
2253
|
+
| `.pf-m-static` | `.pf-v6-c-toolbar` | Modifies expandable content section to position itself to the nearest absolutely positioned parent outside of the toolbar component. This is used primarily for masthead toolbar. |
|
|
2254
|
+
| `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content` | Modifies expandable content section for the expanded state. |
|
|
2255
|
+
| `.pf-m-expanded` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Modifies an expand all button for the expanded state. |
|
|
2256
|
+
| `.pf-m-icon-button-group` | `.pf-v6-c-toolbar__group` | Initiates icon button group spacing. |
|
|
2257
|
+
| `.pf-m-filter-group` | `.pf-v6-c-toolbar__group` | Initiates filter group spacing. |
|
|
2258
|
+
| `.pf-m-chip-container` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group` | Modifies the toolbar element for applied filters layout. |
|
|
2259
|
+
| `.pf-m-overflow-container` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group` | Modifies the toolbar element to hide overflow and respond to available space. Used for horizontal navigation. |
|
|
2260
|
+
| `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content`, `.pf-v6-c-toolbar__toggle` | Modifies the component for the expanded state. |
|
|
2261
|
+
| `.pf-m-[wrap/nowrap]` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies the toolbar element to wrap/not wrap. |
|
|
2262
|
+
| `.pf-m-align-[start/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar [main axis](https://developer.mozilla.org/en-US/docs/Glossary/Main_Axis) element alignment. |
|
|
2263
|
+
| `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) child alignment. |
|
|
2264
|
+
| `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) self alignment. |
|
|
2265
2265
|
|
|
2266
2266
|
### Accessibility
|
|
2267
2267
|
|
|
2268
2268
|
| Attribute | Applied to | Outcome |
|
|
2269
2269
|
| -- | -- | -- |
|
|
2270
|
-
| `hidden` | `.pf-
|
|
2271
|
-
| `aria-expanded="[true/false]"` | `.pf-
|
|
2272
|
-
| `aria-controls="[id of expandable content]"` | `.pf-
|
|
2273
|
-
| `id="[expandable-content_id]"` | `.pf-
|
|
2274
|
-
| `aria-label="Expand all"` | `.pf-
|
|
2275
|
-
| `aria-label="Collapse all"` | `.pf-
|
|
2270
|
+
| `hidden` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__toggle`, `.pf-v6-c-toolbar__expandable-content` | Indicates that the toolbar element is hidden. **Required** |
|
|
2271
|
+
| `aria-expanded="[true/false]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Indicates the the expandable content is hidden/visible. **Required** |
|
|
2272
|
+
| `aria-controls="[id of expandable content]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
|
|
2273
|
+
| `id="[expandable-content_id]"` | `.pf-v6-c-toolbar__expandable-content` | Provides a reference for toggle button description. **Required** |
|
|
2274
|
+
| `aria-label="Expand all"` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Provides an accessible label for the expand all item button. **Required** |
|
|
2275
|
+
| `aria-label="Collapse all"` | `.pf-v6-c-toolbar__item.pf-m-expand-all.pf-m-expanded` | Provides an accessible label for the expand all item button. **Required** |
|
|
2276
2276
|
|
|
2277
2277
|
### Toggle group usage
|
|
2278
2278
|
|
|
2279
2279
|
| Class | Applied to | Outcome |
|
|
2280
2280
|
| -- | -- | -- |
|
|
2281
|
-
| `.pf-m-toggle-group` | `.pf-
|
|
2282
|
-
| `.pf-m-[show/hide]` | `.pf-
|
|
2281
|
+
| `.pf-m-toggle-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group to control when, and at which breakpoint, filters will be hidden/shown. By default, all filters are hidden until the specified breakpoint is reached. |
|
|
2282
|
+
| `.pf-m-[show/hide]` | `.pf-v6-c-toolbar__group.pf-m-toggle-group`, `.pf-v6-c-toolbar__expandable-content` | Modifies toolbar element to hidden. |
|
|
2283
2283
|
|
|
2284
2284
|
### Spacer system
|
|
2285
2285
|
|
|
2286
2286
|
| Class | Applied to | Outcome |
|
|
2287
2287
|
| -- | -- | -- |
|
|
2288
|
-
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]` | `.pf-
|
|
2288
|
+
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Tooltip
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-tooltip
|
|
5
5
|
---import "./Tooltip.css"
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -132,11 +132,11 @@ A tooltip is used to provide contextual information for another component on hov
|
|
|
132
132
|
|
|
133
133
|
| Class | Applied to | Outcome |
|
|
134
134
|
| -- | -- | -- |
|
|
135
|
-
| `.pf-
|
|
136
|
-
| `.pf-
|
|
137
|
-
| `.pf-
|
|
138
|
-
| `.pf-m-left{-top/bottom}` | `.pf-
|
|
139
|
-
| `.pf-m-right{-top/bottom}` | `.pf-
|
|
140
|
-
| `.pf-m-top{-left/right}` | `.pf-
|
|
141
|
-
| `.pf-m-bottom{-left/right}` | `.pf-
|
|
142
|
-
| `.pf-m-text-align-left` | `.pf-
|
|
135
|
+
| `.pf-v6-c-tooltip` | `<div>` | Creates a tooltip. Always use with a modifier class that positions the tooltip relative to the element it describes. **Required**|
|
|
136
|
+
| `.pf-v6-c-tooltip__arrow` | `<div>` | Creates an arrow pointing towards the element the tooltip describes. **Required** |
|
|
137
|
+
| `.pf-v6-c-tooltip__content` | `<div>` | Creates the body of the tooltip. **Required** |
|
|
138
|
+
| `.pf-m-left{-top/bottom}` | `.pf-v6-c-tooltip` | Positions the tooltip to the left (or left top/left bottom) of the element. |
|
|
139
|
+
| `.pf-m-right{-top/bottom}` | `.pf-v6-c-tooltip` | Positions the tooltip to the right (or right top/right bottom) of the element. |
|
|
140
|
+
| `.pf-m-top{-left/right}` | `.pf-v6-c-tooltip` | Positions the tooltip to the top (or top left/top right) of the element. |
|
|
141
|
+
| `.pf-m-bottom{-left/right}` | `.pf-v6-c-tooltip` | Positions the tooltip to the bottom (or bottom left/bottom right) of the element. |
|
|
142
|
+
| `.pf-m-text-align-left` | `.pf-v6-c-tooltip__content` | Modifies tooltip content to text align left. |
|