@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.
Files changed (153) hide show
  1. package/components/Card/card.css +1 -0
  2. package/components/Card/card.scss +1 -0
  3. package/components/Check/check.css +10 -3
  4. package/components/Check/check.scss +17 -4
  5. package/components/Masthead/masthead.css +17 -9
  6. package/components/Masthead/masthead.scss +18 -9
  7. package/components/MenuToggle/menu-toggle.css +20 -6
  8. package/components/MenuToggle/menu-toggle.scss +32 -6
  9. package/components/ModalBox/modal-box.css +11 -7
  10. package/components/ModalBox/modal-box.scss +27 -12
  11. package/components/Nav/nav.css +64 -110
  12. package/components/Nav/nav.scss +70 -143
  13. package/components/Page/page.css +9 -17
  14. package/components/Page/page.scss +10 -23
  15. package/components/Radio/radio.css +12 -5
  16. package/components/Radio/radio.scss +21 -6
  17. package/components/Table/table-grid.css +30 -35
  18. package/components/Table/table-grid.scss +44 -32
  19. package/components/Table/table-scrollable.css +14 -6
  20. package/components/Table/table-scrollable.scss +6 -1
  21. package/components/Table/table-tree-view.css +5 -5
  22. package/components/Table/table-tree-view.scss +14 -8
  23. package/components/Table/table.css +90 -254
  24. package/components/Table/table.scss +158 -347
  25. package/components/Toolbar/toolbar.css +66 -2
  26. package/components/Toolbar/toolbar.scss +21 -2
  27. package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
  28. package/docs/components/Accordion/examples/Accordion.md +19 -19
  29. package/docs/components/ActionList/examples/ActionList.md +5 -5
  30. package/docs/components/Alert/examples/Alert.md +26 -26
  31. package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
  32. package/docs/components/Avatar/examples/Avatar.md +8 -8
  33. package/docs/components/BackToTop/examples/BackToTop.md +3 -3
  34. package/docs/components/Backdrop/examples/Backdrop.md +3 -3
  35. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  36. package/docs/components/Badge/examples/Badge.md +6 -6
  37. package/docs/components/Banner/examples/Banner.md +17 -17
  38. package/docs/components/Brand/examples/Brand.css +3 -3
  39. package/docs/components/Brand/examples/Brand.md +7 -7
  40. package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
  41. package/docs/components/Button/examples/Button.css +2 -2
  42. package/docs/components/Button/examples/Button.md +35 -35
  43. package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
  44. package/docs/components/Card/examples/Card.md +30 -30
  45. package/docs/components/Check/examples/Check.md +12 -12
  46. package/docs/components/Chip/examples/Chip.md +21 -21
  47. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
  48. package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
  49. package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
  50. package/docs/components/Content/examples/Content.md +5 -5
  51. package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
  52. package/docs/components/DataList/examples/DataList.md +177 -112
  53. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  54. package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
  55. package/docs/components/Divider/examples/Divider.md +7 -7
  56. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  57. package/docs/components/Drawer/examples/Drawer.md +36 -36
  58. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  59. package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
  60. package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
  61. package/docs/components/EmptyState/examples/EmptyState.md +21 -21
  62. package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
  63. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  64. package/docs/components/Form/examples/Form.md +52 -52
  65. package/docs/components/FormControl/examples/FormControl.md +22 -22
  66. package/docs/components/HelperText/examples/HelperText.md +11 -11
  67. package/docs/components/Hint/examples/Hint.md +6 -6
  68. package/docs/components/Icon/examples/Icon.md +13 -13
  69. package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
  70. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  71. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  72. package/docs/components/Label/examples/Label.css +4 -4
  73. package/docs/components/Label/examples/Label.md +45 -45
  74. package/docs/components/List/examples/List.md +6 -6
  75. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  76. package/docs/components/LogViewer/examples/LogViewer.md +35 -35
  77. package/docs/components/Login/examples/Login.md +21 -21
  78. package/docs/components/Masthead/examples/masthead.md +7 -7
  79. package/docs/components/Menu/examples/Menu.md +60 -60
  80. package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
  81. package/docs/components/ModalBox/examples/ModalBox.md +75 -34
  82. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
  83. package/docs/components/Nav/examples/Navigation.css +20 -3
  84. package/docs/components/Nav/examples/Navigation.md +44 -50
  85. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  86. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
  87. package/docs/components/NumberInput/examples/NumberInput.md +13 -13
  88. package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
  89. package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
  90. package/docs/components/Page/deprecated/PageHeader.md +30 -30
  91. package/docs/components/Page/examples/Page.md +55 -54
  92. package/docs/components/Pagination/examples/Pagination.md +25 -25
  93. package/docs/components/Panel/examples/Panel.md +10 -10
  94. package/docs/components/Popover/examples/Popover.md +30 -30
  95. package/docs/components/Progress/examples/Progress.md +31 -31
  96. package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
  97. package/docs/components/Radio/examples/Radio.md +9 -9
  98. package/docs/components/Select/deprecated/Select.md +110 -110
  99. package/docs/components/Sidebar/examples/Sidebar.md +16 -16
  100. package/docs/components/SimpleList/examples/SimpleList.md +9 -9
  101. package/docs/components/Skeleton/examples/Skeleton.md +14 -14
  102. package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
  103. package/docs/components/Slider/examples/Slider.md +33 -33
  104. package/docs/components/Spinner/examples/Spinner.md +14 -14
  105. package/docs/components/Switch/examples/Switch.md +14 -14
  106. package/docs/components/TabContent/examples/TabContent.md +10 -10
  107. package/docs/components/Table/examples/Table.md +5395 -15077
  108. package/docs/components/Tabs/examples/Tabs.md +39 -39
  109. package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
  110. package/docs/components/Tile/examples/Tile.md +12 -12
  111. package/docs/components/Timestamp/examples/Timestamp.md +4 -4
  112. package/docs/components/Title/examples/Title.md +20 -20
  113. package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
  114. package/docs/components/Toolbar/examples/Toolbar.md +57 -57
  115. package/docs/components/Tooltip/examples/Tooltip.md +9 -9
  116. package/docs/components/TreeView/examples/TreeView.md +31 -31
  117. package/docs/components/Truncate/examples/Truncate.md +8 -8
  118. package/docs/components/Wizard/examples/Wizard.md +46 -46
  119. package/docs/demos/Banner/examples/Banner.md +1 -1
  120. package/docs/demos/Card/examples/Card.md +12 -19
  121. package/docs/demos/DataList/examples/DataList.md +179 -280
  122. package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
  123. package/docs/demos/Masthead/examples/Masthead.md +4 -8
  124. package/docs/demos/Nav/examples/Nav.md +45 -149
  125. package/docs/demos/Page/examples/Page.md +3 -37
  126. package/docs/demos/Page/examples/Penta.md +119 -40
  127. package/docs/demos/Table/examples/Table.md +1531 -4970
  128. package/docs/demos/Tabs/examples/Tabs.md +118 -174
  129. package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
  130. package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
  131. package/docs/layouts/Flex/examples/Flex.md +76 -76
  132. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  133. package/docs/layouts/Grid/examples/Grid.md +8 -8
  134. package/docs/layouts/Level/examples/Level.md +4 -4
  135. package/docs/layouts/Split/examples/Split.md +6 -6
  136. package/docs/layouts/Stack/examples/Stack.md +5 -5
  137. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  138. package/docs/utilities/Alignment/examples/Alignment.md +4 -4
  139. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
  140. package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
  141. package/docs/utilities/Display/examples/Display.md +9 -9
  142. package/docs/utilities/Flex/examples/Flex.md +32 -32
  143. package/docs/utilities/Float/examples/Float.md +2 -2
  144. package/docs/utilities/Sizing/examples/Sizing.md +41 -41
  145. package/docs/utilities/Spacing/examples/Spacing.md +11 -11
  146. package/docs/utilities/Text/examples/Text.md +28 -28
  147. package/package.json +2 -1
  148. package/patternfly-no-globals.css +363 -465
  149. package/patternfly-theme-dark-unversioned.css +363 -465
  150. package/patternfly.css +363 -465
  151. package/patternfly.min.css +1 -1
  152. package/patternfly.min.css.map +1 -1
  153. package/components/Table/themes/dark/table.scss +0 -16
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: 'Log viewer'
3
3
  section: extensions
4
- cssPrefix: pf-v5-c-log-viewer
4
+ cssPrefix: pf-v6-c-log-viewer
5
5
  ---import './LogViewer.css';
6
6
 
7
7
  ## Examples
@@ -11,7 +11,7 @@ cssPrefix: pf-v5-c-log-viewer
11
11
  ```html
12
12
  <div
13
13
  class="pf-v6-c-log-viewer"
14
- style="--pf-v5-c-log-viewer__index--Width: 75px"
14
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
15
15
  tabindex="0"
16
16
  role="region"
17
17
  aria-label="Basic log viewer"
@@ -1155,7 +1155,7 @@ cssPrefix: pf-v5-c-log-viewer
1155
1155
  ```html
1156
1156
  <div
1157
1157
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-line-number-chars"
1158
- style="--pf-v5-c-log-viewer--line-number-chars: 6"
1158
+ style="--pf-v6-c-log-viewer--line-number-chars: 6"
1159
1159
  tabindex="0"
1160
1160
  role="region"
1161
1161
  aria-label="Log viewer with line numbers"
@@ -1727,7 +1727,7 @@ cssPrefix: pf-v5-c-log-viewer
1727
1727
  ```html
1728
1728
  <div
1729
1729
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-wrap-text"
1730
- style="--pf-v5-c-log-viewer__index--Width: 75px"
1730
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
1731
1731
  tabindex="0"
1732
1732
  role="region"
1733
1733
  aria-label="Log viewer with text wrapping"
@@ -2299,7 +2299,7 @@ cssPrefix: pf-v5-c-log-viewer
2299
2299
  ```html
2300
2300
  <div
2301
2301
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-nowrap"
2302
- style="--pf-v5-c-log-viewer__index--Width: 75px"
2302
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
2303
2303
  tabindex="0"
2304
2304
  role="region"
2305
2305
  aria-label="Log viewer without text wrapping"
@@ -2871,7 +2871,7 @@ cssPrefix: pf-v5-c-log-viewer
2871
2871
  ```html
2872
2872
  <div
2873
2873
  class="pf-v6-c-log-viewer pf-m-line-numbers"
2874
- style="--pf-v5-c-log-viewer__index--Width: 75px;"
2874
+ style="--pf-v6-c-log-viewer__index--Width: 75px;"
2875
2875
  tabindex="0"
2876
2876
  role="region"
2877
2877
  aria-label="Log viewer with search results"
@@ -3513,7 +3513,7 @@ cssPrefix: pf-v5-c-log-viewer
3513
3513
  ```html
3514
3514
  <div
3515
3515
  class="pf-v6-c-log-viewer pf-m-line-numbers"
3516
- style="--pf-v5-c-log-viewer__index--Width: 75px; --pf-v5-c-log-viewer--MaxHeight: 300px;"
3516
+ style="--pf-v6-c-log-viewer__index--Width: 75px; --pf-v6-c-log-viewer--MaxHeight: 300px;"
3517
3517
  tabindex="0"
3518
3518
  role="region"
3519
3519
  aria-label="Log viewer with max height"
@@ -4085,7 +4085,7 @@ cssPrefix: pf-v5-c-log-viewer
4085
4085
  ```html
4086
4086
  <div
4087
4087
  class="pf-v6-c-log-viewer pf-m-line-numbers"
4088
- style="--pf-v5-c-log-viewer__index--Width: 75px"
4088
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
4089
4089
  tabindex="0"
4090
4090
  role="region"
4091
4091
  aria-label="Log viewer with dropdown, drilldown, search expanded"
@@ -4655,7 +4655,7 @@ cssPrefix: pf-v5-c-log-viewer
4655
4655
  ```html
4656
4656
  <div
4657
4657
  class="pf-v6-c-log-viewer pf-m-line-numbers"
4658
- style="--pf-v5-c-log-viewer__index--Width: 75px"
4658
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
4659
4659
  tabindex="0"
4660
4660
  role="region"
4661
4661
  aria-label="Log viewer with popover open"
@@ -5260,7 +5260,7 @@ cssPrefix: pf-v5-c-log-viewer
5260
5260
  ```html
5261
5261
  <div
5262
5262
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-dark"
5263
- style="--pf-v5-c-log-viewer__index--Width: 75px"
5263
+ style="--pf-v6-c-log-viewer__index--Width: 75px"
5264
5264
  tabindex="0"
5265
5265
  role="region"
5266
5266
  aria-label="Dark log viewer"
@@ -5904,33 +5904,33 @@ cssPrefix: pf-v5-c-log-viewer
5904
5904
 
5905
5905
  | Attribute | Applied | Outcome |
5906
5906
  | -- | -- | -- |
5907
- | `aria-label="Log viewer"` | `.pf-v5-c-log-viewer` | Provides an accessible label for the log viewer. |
5908
- | `role="log"` | `.pf-v5-c-log-viewer__main` | Identifies an element that creates a live region where new information is added in a meaningful order and old information may disappear. **Required** |
5909
- | `aria-live="polite"` | `.pf-v5-c-log-viewer__list` | Allows assistive technologies to automatically read new content within the aria-live region on the place where the text is displayed. |
5910
- | `aria-atomic="true"` | `.pf-v5-c-log-viewer__list` | Allows assistive technologies to notify a user when log messages are added. |
5911
- | `tabindex="0"` | `.pf-v5-c-log-viewer`, `.pf-v5-c-log-viewer__list` | Inserts the element into the tab order of the page so that it is focusable. **Required** |
5912
- | `aria-hidden="true"` | `.pf-v5-c-log-viewer__index` | Hides an index from assistive technologies. |
5907
+ | `aria-label="Log viewer"` | `.pf-v6-c-log-viewer` | Provides an accessible label for the log viewer. |
5908
+ | `role="log"` | `.pf-v6-c-log-viewer__main` | Identifies an element that creates a live region where new information is added in a meaningful order and old information may disappear. **Required** |
5909
+ | `aria-live="polite"` | `.pf-v6-c-log-viewer__list` | Allows assistive technologies to automatically read new content within the aria-live region on the place where the text is displayed. |
5910
+ | `aria-atomic="true"` | `.pf-v6-c-log-viewer__list` | Allows assistive technologies to notify a user when log messages are added. |
5911
+ | `tabindex="0"` | `.pf-v6-c-log-viewer`, `.pf-v6-c-log-viewer__list` | Inserts the element into the tab order of the page so that it is focusable. **Required** |
5912
+ | `aria-hidden="true"` | `.pf-v6-c-log-viewer__index` | Hides an index from assistive technologies. |
5913
5913
 
5914
5914
  ### Usage
5915
5915
 
5916
5916
  | Class | Applied to | Outcome |
5917
5917
  | -- | -- | -- |
5918
- | `.pf-v5-c-log-viewer` | `<div>` | Initiates a log viewer. **Required** |
5919
- | `.pf-v5-c-log-viewer__header` | `<div>` | Initiates the header container for a log viewer. **Required** |
5920
- | `.pf-v5-c-log-viewer__main` | `<div>` | Initiates the main container for a log viewer. **Required** |
5921
- | `.pf-v5-c-log-viewer__scroll-container` | `<div>` | Initiates the scroll container for a log viewer. **Required** |
5922
- | `.pf-v5-c-log-viewer__list` | `<ul>` | Initiates the log viewer list. **Required** |
5923
- | `.pf-v5-c-log-viewer__list-item` | `<li>` | Initiates a log viewer list item. **Required** |
5924
- | `.pf-v5-c-log-viewer__index` | `<span>` | Initiates a log viewer index element. **Required for numbered list** |
5925
- | `.pf-v5-c-log-viewer__text` | `<div>` | Initiates a log viewer text element. **Required** |
5926
- | `.pf-v5-c-log-viewer__string` | `<span>` | Initiates a log viewer string element. |
5927
- | `.pf-v5-c-log-viewer__timestamp` | `<div>` | Initiates a log viewer text element. **Required** |
5928
- | `.pf-m-wrap-text` | `.pf-v5-c-log-viewer` | Modifies the log viewer text to wrap. |
5929
- | `.pf-m-nowrap` | `.pf-v5-c-log-viewer` | Modifies the log viewer text to not wrap. |
5930
- | `.pf-m-line-numbers` | `.pf-v5-c-log-viewer` | Modifies the log viewer to display line numbers. |
5931
- | `.pf-m-line-number-chars` | `.pf-v5-c-log-viewer` | Modifies the log viewer allow for a custom line number column size. Use with `--pf-v5-c-log-viewer--line-number-chars`. |
5932
- | `.pf-m-dark` | `.pf-v5-c-log-viewer` | Modifies the log viewer content for dark theme. |
5933
- | `.pf-m-match` | `.pf-v5-c-log-viewer__string` | Indicates a string is a search result. |
5934
- | `.pf-m-current` | `.pf-v5-c-log-viewer__string` | Indicates a string is the current search result. |
5935
- | `--pf-v5-c-log-viewer--line-number-chars` | `.pf-v5-c-log-viewer` | With a number passed as the value, modifies the width of the line number column to show the specified number of characters. |
5936
- | `--pf-v5-c-log-viewer--MaxHeight{-on-[breakpoint]}: {height}` | `.pf-v5-c-log-viewer` | Modifies the height value of a log viewer at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
5918
+ | `.pf-v6-c-log-viewer` | `<div>` | Initiates a log viewer. **Required** |
5919
+ | `.pf-v6-c-log-viewer__header` | `<div>` | Initiates the header container for a log viewer. **Required** |
5920
+ | `.pf-v6-c-log-viewer__main` | `<div>` | Initiates the main container for a log viewer. **Required** |
5921
+ | `.pf-v6-c-log-viewer__scroll-container` | `<div>` | Initiates the scroll container for a log viewer. **Required** |
5922
+ | `.pf-v6-c-log-viewer__list` | `<ul>` | Initiates the log viewer list. **Required** |
5923
+ | `.pf-v6-c-log-viewer__list-item` | `<li>` | Initiates a log viewer list item. **Required** |
5924
+ | `.pf-v6-c-log-viewer__index` | `<span>` | Initiates a log viewer index element. **Required for numbered list** |
5925
+ | `.pf-v6-c-log-viewer__text` | `<div>` | Initiates a log viewer text element. **Required** |
5926
+ | `.pf-v6-c-log-viewer__string` | `<span>` | Initiates a log viewer string element. |
5927
+ | `.pf-v6-c-log-viewer__timestamp` | `<div>` | Initiates a log viewer text element. **Required** |
5928
+ | `.pf-m-wrap-text` | `.pf-v6-c-log-viewer` | Modifies the log viewer text to wrap. |
5929
+ | `.pf-m-nowrap` | `.pf-v6-c-log-viewer` | Modifies the log viewer text to not wrap. |
5930
+ | `.pf-m-line-numbers` | `.pf-v6-c-log-viewer` | Modifies the log viewer to display line numbers. |
5931
+ | `.pf-m-line-number-chars` | `.pf-v6-c-log-viewer` | Modifies the log viewer allow for a custom line number column size. Use with `--pf-v6-c-log-viewer--line-number-chars`. |
5932
+ | `.pf-m-dark` | `.pf-v6-c-log-viewer` | Modifies the log viewer content for dark theme. |
5933
+ | `.pf-m-match` | `.pf-v6-c-log-viewer__string` | Indicates a string is a search result. |
5934
+ | `.pf-m-current` | `.pf-v6-c-log-viewer__string` | Indicates a string is the current search result. |
5935
+ | `--pf-v6-c-log-viewer--line-number-chars` | `.pf-v6-c-log-viewer` | With a number passed as the value, modifies the width of the line number column to show the specified number of characters. |
5936
+ | `--pf-v6-c-log-viewer--MaxHeight{-on-[breakpoint]}: {height}` | `.pf-v6-c-log-viewer` | Modifies the height value of a log viewer at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Login page
3
3
  section: components
4
- cssPrefix: pf-v5-c-login
4
+ cssPrefix: pf-v6-c-login
5
5
  wrapperTag: div
6
6
  ---## Examples
7
7
 
@@ -1200,23 +1200,23 @@ wrapperTag: div
1200
1200
 
1201
1201
  | Class | Applied to | Outcome |
1202
1202
  | -- | -- | -- |
1203
- | `.pf-v5-c-login` | `<div>` | Initializes the login component. **Required**|
1204
- | `.pf-v5-c-login__container` | `<div>` | Positions the login component content. **Required**|
1205
- | `.pf-v5-c-login__header` | `<header>` | Positions the login header. **Required**|
1206
- | `.pf-v5-c-login__header .pf-v5-c-brand` | `<img>` | Creates a brand image inside of login header. **Required** |
1207
- | `.pf-v5-c-login__main` | `<main>` | Positions the login main area. **Required** |
1208
- | `.pf-v5-c-login__main-header` | `<header>` | Creates the header of the main area. **Required** |
1209
- | `.pf-v5-c-login__main-header .pf-v5-c-title` | `<h1>,<h2>,<h3>,<h4>,<h5>,<h6>` | Creates a title in the main header area. **Required** |
1210
- | `.pf-v5-c-login__main-header-desc` | `<p>` | Creates the description in the main area header. |
1211
- | `.pf-v5-c-login__main-header-utilities` | `<div>` | Creates a utilities section in the main header area. **Note:** For use with a language selector menu. |
1212
- | `.pf-v5-c-login__main-body` | `<div>` | Creates the body of the main area. **Required** |
1213
- | `.pf-v5-c-login__main-body .pf-v5-c-form` | `<form>` | Creates the login form in the main body area. **Required**|
1214
- | `.pf-v5-c-login__main-body .pf-v5-c-form .pf-v5-c-form-helper-text` | `<form>` | Creates the error messages shown when the form has errors. When not active, apply `.pf-m-hidden`. **Required** |
1215
- | `.pf-v5-c-login__main-footer` | `<footer>` | Creates the footer of the main area. **Required** |
1216
- | `.pf-v5-c-login__main-footer-links` | `<ul>` | Creates a list of links in the main footer. **Required** |
1217
- | `.pf-v5-c-login__main-footer-links-item` | `<li>` | Creates proper spacing for links in the main footer. **Required** |
1218
- | `.pf-v5-c-login__main-footer-links-item-link` | `<a>` | Creates link in links list in footer. **Required** |
1219
- | `.pf-v5-c-login__main-footer-band` | `<div>` | Styles a band in the footer. |
1220
- | `.pf-v5-c-login__main-footer-band-item` | `<p>` | Adds information to the band in the footer. |
1221
- | `.pf-v5-c-login__footer` | `<footer>` | Positions the login footer. **Required** |
1222
- | `.pf-v5-c-login__footer .pf-v5-c-list` | `<ul>` | Creates a list of links in the login footer. **Required** |
1203
+ | `.pf-v6-c-login` | `<div>` | Initializes the login component. **Required**|
1204
+ | `.pf-v6-c-login__container` | `<div>` | Positions the login component content. **Required**|
1205
+ | `.pf-v6-c-login__header` | `<header>` | Positions the login header. **Required**|
1206
+ | `.pf-v6-c-login__header .pf-v6-c-brand` | `<img>` | Creates a brand image inside of login header. **Required** |
1207
+ | `.pf-v6-c-login__main` | `<main>` | Positions the login main area. **Required** |
1208
+ | `.pf-v6-c-login__main-header` | `<header>` | Creates the header of the main area. **Required** |
1209
+ | `.pf-v6-c-login__main-header .pf-v6-c-title` | `<h1>,<h2>,<h3>,<h4>,<h5>,<h6>` | Creates a title in the main header area. **Required** |
1210
+ | `.pf-v6-c-login__main-header-desc` | `<p>` | Creates the description in the main area header. |
1211
+ | `.pf-v6-c-login__main-header-utilities` | `<div>` | Creates a utilities section in the main header area. **Note:** For use with a language selector menu. |
1212
+ | `.pf-v6-c-login__main-body` | `<div>` | Creates the body of the main area. **Required** |
1213
+ | `.pf-v6-c-login__main-body .pf-v6-c-form` | `<form>` | Creates the login form in the main body area. **Required**|
1214
+ | `.pf-v6-c-login__main-body .pf-v6-c-form .pf-v6-c-form-helper-text` | `<form>` | Creates the error messages shown when the form has errors. When not active, apply `.pf-m-hidden`. **Required** |
1215
+ | `.pf-v6-c-login__main-footer` | `<footer>` | Creates the footer of the main area. **Required** |
1216
+ | `.pf-v6-c-login__main-footer-links` | `<ul>` | Creates a list of links in the main footer. **Required** |
1217
+ | `.pf-v6-c-login__main-footer-links-item` | `<li>` | Creates proper spacing for links in the main footer. **Required** |
1218
+ | `.pf-v6-c-login__main-footer-links-item-link` | `<a>` | Creates link in links list in footer. **Required** |
1219
+ | `.pf-v6-c-login__main-footer-band` | `<div>` | Styles a band in the footer. |
1220
+ | `.pf-v6-c-login__main-footer-band-item` | `<p>` | Adds information to the band in the footer. |
1221
+ | `.pf-v6-c-login__footer` | `<footer>` | Positions the login footer. **Required** |
1222
+ | `.pf-v6-c-login__footer .pf-v6-c-list` | `<ul>` | Creates a list of links in the login footer. **Required** |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: 'Masthead'
3
3
  section: components
4
- cssPrefix: pf-v5-c-masthead
4
+ cssPrefix: pf-v6-c-masthead
5
5
  ---## Examples
6
6
 
7
7
  ### Basic
@@ -582,9 +582,9 @@ cssPrefix: pf-v5-c-masthead
582
582
 
583
583
  | Class | Applied to | Outcome |
584
584
  | -- | -- | -- |
585
- | `.pf-v5-c-masthead` | `<header>` | Initiates the masthead component. **Required** |
586
- | `.pf-v5-c-masthead__main` | `<div>` | Initiates the masthead main component. **Required** |
587
- | `.pf-v5-c-masthead__toggle` | `<span>` | Initiates the masthead toggle component. |
588
- | `.pf-v5-c-masthead__brand` | `<a>, <div>` | Initiates the masthead content component. |
589
- | `.pf-v5-c-masthead__content` | `<div>` | Initiates the masthead content component. |
590
- | `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v5-c-masthead` | Modifies masthead horizontal padding at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
585
+ | `.pf-v6-c-masthead` | `<header>` | Initiates the masthead component. **Required** |
586
+ | `.pf-v6-c-masthead__main` | `<div>` | Initiates the masthead main component. **Required** |
587
+ | `.pf-v6-c-masthead__toggle` | `<span>` | Initiates the masthead toggle component. |
588
+ | `.pf-v6-c-masthead__brand` | `<a>, <div>` | Initiates the masthead content component. |
589
+ | `.pf-v6-c-masthead__content` | `<div>` | Initiates the masthead content component. |
590
+ | `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-masthead` | Modifies masthead horizontal padding at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
@@ -2,7 +2,7 @@
2
2
  id: Menu
3
3
  section: components
4
4
  subsection: menus
5
- cssPrefix: pf-v5-c-menu
5
+ cssPrefix: pf-v6-c-menu
6
6
  ---import './Menu.css'
7
7
 
8
8
  ## Examples
@@ -6367,67 +6367,67 @@ cssPrefix: pf-v5-c-menu
6367
6367
 
6368
6368
  | Attribute | Applied | Outcome |
6369
6369
  | -- | -- | -- |
6370
- | `role="menu"` | `.pf-v5-c-menu__list` | Declares `.pf-v5-c-menu__list` as a menu. |
6371
- | `disabled` | `button.pf-v5-c-menu__item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
6372
- | `role="menuitem"` | `.pf-v5-c-menu__item`, `.pf-v5-c-menu__list-item` (checkbox) | Assigns `.pf-v5-c-menu__item` as an option in a set of choices contained by a menu. |
6373
- | `role="none"` | `.pf-v5-c-menu__list-item` | Removes semantic meaning from `.pf-v5-c-menu__list-item`. |
6374
- | `aria-disabled="true"` | `.pf-v5-c-menu__item` | Indicates to assistive technologies that the menu item is disabled, but still allows it to be focusable via keyboard. Additional click prevention may be required. |
6375
- | `tabindex="-1"` | `a.pf-v5-c-menu__item` | When the menu item uses a link element and has `aria-disabled="true"` passed in, removes it from keyboard focus. This is similar to passing `disabled` to a menu item that uses a button element. |
6376
- | `aria-hidden="true"` | `.pf-v5-c-menu__item-icon`, `.pf-v5-c-menu__item-action-icon`, `.pf-v5-c-menu__item-external-icon`, `.pf-v5-c-menu__item-toggle-icon`, `.pf-v5-c-menu__item-select-icon` | Hides the icon from assistive technologies. |
6377
- | `aria-label="Descriptive text"` | `.pf-v5-c-menu__item-action-icon` | There should always be descriptive text on an action icon because there is no visible descriptive text labelling the icon. |
6378
- | `aria-label="Not starred"` | `.pf-v5-c-menu__item-action-icon.pf-m-favorite` | Provides an accessible label indicating that the favorite action is not selected. |
6379
- | `aria-label="Starred"` | `.pf-v5-c-menu__item-action-icon.pf-m-favorite.pf-m-favorited` | Provides an accessible label indicating that the favorite action is selected. |
6370
+ | `role="menu"` | `.pf-v6-c-menu__list` | Declares `.pf-v6-c-menu__list` as a menu. |
6371
+ | `disabled` | `button.pf-v6-c-menu__item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
6372
+ | `role="menuitem"` | `.pf-v6-c-menu__item`, `.pf-v6-c-menu__list-item` (checkbox) | Assigns `.pf-v6-c-menu__item` as an option in a set of choices contained by a menu. |
6373
+ | `role="none"` | `.pf-v6-c-menu__list-item` | Removes semantic meaning from `.pf-v6-c-menu__list-item`. |
6374
+ | `aria-disabled="true"` | `.pf-v6-c-menu__item` | Indicates to assistive technologies that the menu item is disabled, but still allows it to be focusable via keyboard. Additional click prevention may be required. |
6375
+ | `tabindex="-1"` | `a.pf-v6-c-menu__item` | When the menu item uses a link element and has `aria-disabled="true"` passed in, removes it from keyboard focus. This is similar to passing `disabled` to a menu item that uses a button element. |
6376
+ | `aria-hidden="true"` | `.pf-v6-c-menu__item-icon`, `.pf-v6-c-menu__item-action-icon`, `.pf-v6-c-menu__item-external-icon`, `.pf-v6-c-menu__item-toggle-icon`, `.pf-v6-c-menu__item-select-icon` | Hides the icon from assistive technologies. |
6377
+ | `aria-label="Descriptive text"` | `.pf-v6-c-menu__item-action-icon` | There should always be descriptive text on an action icon because there is no visible descriptive text labelling the icon. |
6378
+ | `aria-label="Not starred"` | `.pf-v6-c-menu__item-action-icon.pf-m-favorite` | Provides an accessible label indicating that the favorite action is not selected. |
6379
+ | `aria-label="Starred"` | `.pf-v6-c-menu__item-action-icon.pf-m-favorite.pf-m-favorited` | Provides an accessible label indicating that the favorite action is selected. |
6380
6380
 
6381
6381
  ### Usage
6382
6382
 
6383
6383
  | Class | Applied to | Outcome |
6384
6384
  | -- | -- | -- |
6385
- | `.pf-v5-c-menu` | `<div>` | Initiates the menu. **Required** |
6386
- | `.pf-v5-c-menu__header` | `<div>` | Initiates the menu header container. |
6387
- | `.pf-v5-c-menu__search` | `<div>` | Initiates the menu search container. Use for filtering. |
6388
- | `.pf-v5-c-menu__search-input` | `<div>` | Initiates the menu search input container. |
6389
- | `.pf-v5-c-menu__content` | `<div>` | Initiates the menu content. Use for lists. **Required** |
6390
- | `.pf-v5-c-menu__list` | `<ul>` | Initiates the menu list. **Required** |
6391
- | `.pf-v5-c-menu__list-item` | `<li>` | Initiates the menu list item. **Required** |
6392
- | `.pf-v5-c-menu__item` | `<button>`, `<a>`, `<div>`, `<label>` | Initiates the menu item. **Required** |
6393
- | `.pf-v5-c-menu__item-main` | `<span>` | Initiates the menu item main container. **Required** |
6394
- | `.pf-v5-c-menu__item-text` | `<span>` | Initiates the menu item text. **Required** |
6395
- | `.pf-v5-c-menu__item-check` | `<span>` | Initiates a menu label. |
6396
- | `.pf-v5-c-menu__item-description` | `<span>` | Initiates the menu item description. |
6397
- | `.pf-v5-c-menu__item-group` | `<section>` | Initiates the menu item group. |
6398
- | `.pf-v5-c-menu__item-group-title` | `<h1>` | Initiates the menu item group title. |
6399
- | `.pf-v5-c-menu__item-icon` | `<span>` | Initiates the menu item icon. |
6400
- | `.pf-v5-c-menu__item-toggle-icon` | `<span>` | Initiates the menu item toggle icon. |
6401
- | `.pf-v5-c-menu__item-select-icon` | `<span>` | Initiates the menu item select icon. |
6402
- | `.pf-v5-c-menu__item-action` | `<button>` | Initiates the menu item action. |
6403
- | `.pf-v5-c-menu__item-action-icon` | `<span>` | Initiates the menu item action icon. |
6404
- | `.pf-v5-c-menu__item-external-icon` | `<span>` | Initiates the menu item external icon. |
6405
- | `.pf-v5-c-menu__footer` | `<div>` | Initiates the menu footer. |
6406
- | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v5-c-menu__list`, `.pf-v5-c-menu__list-item`, `.pf-v5-c-menu__group` | Modifies a menu element to be hidden, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
6407
- | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v5-c-menu__list`, `.pf-v5-c-menu__list-item`, `.pf-v5-c-menu__group` | Modifies a menu element to be shown, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
6408
- | `.pf-m-favorite` | `.pf-v5-c-menu__item-action` | Modifies the menu item action to handle the favorite icon. |
6409
- | `.pf-m-favorited` | `.pf-v5-c-menu__item-action.pf-m-favorite` | Modifies the menu item action icon to be favorited. |
6410
- | `.pf-m-selected` | `.pf-v5-c-menu__item` | Modifies the menu item to be selected. |
6411
- | `.pf-m-drill-up` | `.pf-v5-c-menu__list-item` | Flags the menu item as a drill up button. |
6412
- | `.pf-m-flyout` | `.pf-v5-c-menu` | Modifies the menu so that all nested `.pf-v5-c-menu` elements "flyout". |
6413
- | `.pf-m-nav` | `.pf-v5-c-menu` | Modifies the menu for nav variant. |
6414
- | `.pf-m-top` | `.pf-v5-c-menu` | Modifies a flyout menu to expand to the top. |
6415
- | `.pf-m-left` | `.pf-v5-c-menu` | Modifies a flyout menu to expand to the left. |
6416
- | `.pf-m-plain` | `.pf-v5-c-menu` | Modifies the menu component for use in the page instead of as a dropdown. |
6417
- | `.pf-m-scrollable` | `.pf-v5-c-menu` | Modifies the menu component content for scrollable styles. Scrollable content height can be customized by setting `--pf-v5-c-menu__content--MaxHeight`. |
6418
- | `.pf-m-current` | `.pf-v5-c-menu__list-item` | Modifies a list item for current styles. |
6419
- | `.pf-m-load` | `.pf-v5-c-menu__list-item` | Modifies a list item for "load more" styles. |
6420
- | `.pf-m-loading` | `.pf-v5-c-menu__list-item` | Modifies a list item for loading styles. |
6421
- | `.pf-m-disabled` | `.pf-v5-c-menu__item` | Modifies a list item for disabled styling. |
6422
- | `.pf-m-aria-disabled` | `.pf-v5-c-menu__item` | Modifies a list item for aria-disabled styling. |
6423
- | `.pf-m-drilldown` | `.pf-v5-c-menu` | Modifies the menu so that all nested `.pf-v5-c-menu` elements "drill down". |
6424
- | `.pf-m-current-path` | `.pf-v5-c-menu.pf-m-drilldown .pf-v5-c-menu__list-item` | Modifies the menu list item for current path state. |
6425
- | `.pf-m-drilled-in` | `.pf-v5-c-menu.pf-m-drilldown, .pf-v5-c-menu.pf-m-drilldown .pf-v5-c-menu` | Modifies the menu list for drilled in state. |
6426
- | `.pf-m-static` | `.pf-v5-c-menu.pf-m-drilldown .pf-v5-c-menu` | Modifies the menu list for drilled static state. |
6427
- | `.pf-m-danger` | `.pf-v5-c-menu__item-text` | Modifies a list item for danger styles. |
6428
- | `--pf-v5-c-menu--Width: {width}` | `.pf-v5-c-menu` | Modifies the width of the menu. The default value is `auto`. |
6429
- | `--pf-v5-c-menu__content--MaxHeight: {height}` | `.pf-v5-c-menu__content` | Modifies the height of the menu content. Update this value when header and/or footer elements are intended to be fixed. |
6430
- | `--pf-v5-c-menu__content--Height: {height}` | `.pf-v5-c-menu` | Modifies the height of the drilldown menu content. The default value is `auto`. |
6431
- | `--pf-v5-c-menu--m-flyout__menu--top-offset` | `.pf-v5-c-menu` | Modifies the menu to allow for an offset to the top positioning. |
6432
- | `--pf-v5-c-menu--m-flyout__menu--left-offset` | `.pf-v5-c-menu` | Modifies the menu to allow for an offset to the left positioning. |
6433
- | `--pf-v5-c-menu--m-flyout__menu--m-left--right-offset` | `.pf-v5-c-menu.pf-m-flyout > .pf-v5-c-menu` | Modifies the menu to allow for an offset to the right positioning. |
6385
+ | `.pf-v6-c-menu` | `<div>` | Initiates the menu. **Required** |
6386
+ | `.pf-v6-c-menu__header` | `<div>` | Initiates the menu header container. |
6387
+ | `.pf-v6-c-menu__search` | `<div>` | Initiates the menu search container. Use for filtering. |
6388
+ | `.pf-v6-c-menu__search-input` | `<div>` | Initiates the menu search input container. |
6389
+ | `.pf-v6-c-menu__content` | `<div>` | Initiates the menu content. Use for lists. **Required** |
6390
+ | `.pf-v6-c-menu__list` | `<ul>` | Initiates the menu list. **Required** |
6391
+ | `.pf-v6-c-menu__list-item` | `<li>` | Initiates the menu list item. **Required** |
6392
+ | `.pf-v6-c-menu__item` | `<button>`, `<a>`, `<div>`, `<label>` | Initiates the menu item. **Required** |
6393
+ | `.pf-v6-c-menu__item-main` | `<span>` | Initiates the menu item main container. **Required** |
6394
+ | `.pf-v6-c-menu__item-text` | `<span>` | Initiates the menu item text. **Required** |
6395
+ | `.pf-v6-c-menu__item-check` | `<span>` | Initiates a menu label. |
6396
+ | `.pf-v6-c-menu__item-description` | `<span>` | Initiates the menu item description. |
6397
+ | `.pf-v6-c-menu__item-group` | `<section>` | Initiates the menu item group. |
6398
+ | `.pf-v6-c-menu__item-group-title` | `<h1>` | Initiates the menu item group title. |
6399
+ | `.pf-v6-c-menu__item-icon` | `<span>` | Initiates the menu item icon. |
6400
+ | `.pf-v6-c-menu__item-toggle-icon` | `<span>` | Initiates the menu item toggle icon. |
6401
+ | `.pf-v6-c-menu__item-select-icon` | `<span>` | Initiates the menu item select icon. |
6402
+ | `.pf-v6-c-menu__item-action` | `<button>` | Initiates the menu item action. |
6403
+ | `.pf-v6-c-menu__item-action-icon` | `<span>` | Initiates the menu item action icon. |
6404
+ | `.pf-v6-c-menu__item-external-icon` | `<span>` | Initiates the menu item external icon. |
6405
+ | `.pf-v6-c-menu__footer` | `<div>` | Initiates the menu footer. |
6406
+ | `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be hidden, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
6407
+ | `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-menu__list`, `.pf-v6-c-menu__list-item`, `.pf-v6-c-menu__group` | Modifies a menu element to be shown, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
6408
+ | `.pf-m-favorite` | `.pf-v6-c-menu__item-action` | Modifies the menu item action to handle the favorite icon. |
6409
+ | `.pf-m-favorited` | `.pf-v6-c-menu__item-action.pf-m-favorite` | Modifies the menu item action icon to be favorited. |
6410
+ | `.pf-m-selected` | `.pf-v6-c-menu__item` | Modifies the menu item to be selected. |
6411
+ | `.pf-m-drill-up` | `.pf-v6-c-menu__list-item` | Flags the menu item as a drill up button. |
6412
+ | `.pf-m-flyout` | `.pf-v6-c-menu` | Modifies the menu so that all nested `.pf-v6-c-menu` elements "flyout". |
6413
+ | `.pf-m-nav` | `.pf-v6-c-menu` | Modifies the menu for nav variant. |
6414
+ | `.pf-m-top` | `.pf-v6-c-menu` | Modifies a flyout menu to expand to the top. |
6415
+ | `.pf-m-left` | `.pf-v6-c-menu` | Modifies a flyout menu to expand to the left. |
6416
+ | `.pf-m-plain` | `.pf-v6-c-menu` | Modifies the menu component for use in the page instead of as a dropdown. |
6417
+ | `.pf-m-scrollable` | `.pf-v6-c-menu` | Modifies the menu component content for scrollable styles. Scrollable content height can be customized by setting `--pf-v6-c-menu__content--MaxHeight`. |
6418
+ | `.pf-m-current` | `.pf-v6-c-menu__list-item` | Modifies a list item for current styles. |
6419
+ | `.pf-m-load` | `.pf-v6-c-menu__list-item` | Modifies a list item for "load more" styles. |
6420
+ | `.pf-m-loading` | `.pf-v6-c-menu__list-item` | Modifies a list item for loading styles. |
6421
+ | `.pf-m-disabled` | `.pf-v6-c-menu__item` | Modifies a list item for disabled styling. |
6422
+ | `.pf-m-aria-disabled` | `.pf-v6-c-menu__item` | Modifies a list item for aria-disabled styling. |
6423
+ | `.pf-m-drilldown` | `.pf-v6-c-menu` | Modifies the menu so that all nested `.pf-v6-c-menu` elements "drill down". |
6424
+ | `.pf-m-current-path` | `.pf-v6-c-menu.pf-m-drilldown .pf-v6-c-menu__list-item` | Modifies the menu list item for current path state. |
6425
+ | `.pf-m-drilled-in` | `.pf-v6-c-menu.pf-m-drilldown, .pf-v6-c-menu.pf-m-drilldown .pf-v6-c-menu` | Modifies the menu list for drilled in state. |
6426
+ | `.pf-m-static` | `.pf-v6-c-menu.pf-m-drilldown .pf-v6-c-menu` | Modifies the menu list for drilled static state. |
6427
+ | `.pf-m-danger` | `.pf-v6-c-menu__item-text` | Modifies a list item for danger styles. |
6428
+ | `--pf-v6-c-menu--Width: {width}` | `.pf-v6-c-menu` | Modifies the width of the menu. The default value is `auto`. |
6429
+ | `--pf-v6-c-menu__content--MaxHeight: {height}` | `.pf-v6-c-menu__content` | Modifies the height of the menu content. Update this value when header and/or footer elements are intended to be fixed. |
6430
+ | `--pf-v6-c-menu__content--Height: {height}` | `.pf-v6-c-menu` | Modifies the height of the drilldown menu content. The default value is `auto`. |
6431
+ | `--pf-v6-c-menu--m-flyout__menu--top-offset` | `.pf-v6-c-menu` | Modifies the menu to allow for an offset to the top positioning. |
6432
+ | `--pf-v6-c-menu--m-flyout__menu--left-offset` | `.pf-v6-c-menu` | Modifies the menu to allow for an offset to the left positioning. |
6433
+ | `--pf-v6-c-menu--m-flyout__menu--m-left--right-offset` | `.pf-v6-c-menu.pf-m-flyout > .pf-v6-c-menu` | Modifies the menu to allow for an offset to the right positioning. |
@@ -2,7 +2,7 @@
2
2
  id: 'Menu toggle'
3
3
  section: components
4
4
  subsection: menus
5
- cssPrefix: pf-v5-c-menu-toggle
5
+ cssPrefix: pf-v6-c-menu-toggle
6
6
  ---import './MenuToggle.css'
7
7
 
8
8
  ## Examples
@@ -467,6 +467,90 @@ cssPrefix: pf-v5-c-menu-toggle
467
467
 
468
468
  ```
469
469
 
470
+ ### Small
471
+
472
+ ```html
473
+ <button
474
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small"
475
+ type="button"
476
+ aria-expanded="false"
477
+ aria-label="Actions"
478
+ >
479
+ <span class="pf-v6-c-menu-toggle__icon">
480
+ <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
481
+ </span>
482
+ </button>
483
+ &nbsp;
484
+ <button
485
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small pf-m-expanded"
486
+ type="button"
487
+ aria-expanded="true"
488
+ aria-label="Actions"
489
+ >
490
+ <span class="pf-v6-c-menu-toggle__icon">
491
+ <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
492
+ </span>
493
+ </button>
494
+ &nbsp;
495
+ <button
496
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small pf-m-disabled"
497
+ type="button"
498
+ aria-expanded="false"
499
+ disabled
500
+ aria-label="Actions"
501
+ >
502
+ <span class="pf-v6-c-menu-toggle__icon">
503
+ <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
504
+ </span>
505
+ </button>
506
+
507
+ ```
508
+
509
+ ### Small with text
510
+
511
+ ```html
512
+ <button
513
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small pf-m-text"
514
+ type="button"
515
+ aria-expanded="false"
516
+ >
517
+ <span class="pf-v6-c-menu-toggle__text">Collapsed</span>
518
+ <span class="pf-v6-c-menu-toggle__controls">
519
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
520
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
521
+ </span>
522
+ </span>
523
+ </button>
524
+ &nbsp;
525
+ <button
526
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small pf-m-text pf-m-expanded"
527
+ type="button"
528
+ aria-expanded="true"
529
+ >
530
+ <span class="pf-v6-c-menu-toggle__text">Expanded</span>
531
+ <span class="pf-v6-c-menu-toggle__controls">
532
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
533
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
534
+ </span>
535
+ </span>
536
+ </button>
537
+ &nbsp;
538
+ <button
539
+ class="pf-v6-c-menu-toggle pf-m-plain pf-m-small pf-m-text pf-m-disabled"
540
+ type="button"
541
+ aria-expanded="false"
542
+ disabled
543
+ >
544
+ <span class="pf-v6-c-menu-toggle__text">Disabled</span>
545
+ <span class="pf-v6-c-menu-toggle__controls">
546
+ <span class="pf-v6-c-menu-toggle__toggle-icon">
547
+ <i class="fas fa-caret-down" aria-hidden="true"></i>
548
+ </span>
549
+ </span>
550
+ </button>
551
+
552
+ ```
553
+
470
554
  ### Split button, primary
471
555
 
472
556
  ```html
@@ -1021,29 +1105,29 @@ cssPrefix: pf-v5-c-menu-toggle
1021
1105
 
1022
1106
  | Class | Applied to | Outcome |
1023
1107
  | -- | -- | -- |
1024
- | `aria-expanded="true"` | `.pf-v5-c-menu-toggle`, `.pf-v5-c-menu-toggle__button` | Indicates that the menu toggle component is in the expanded state. |
1025
- | `aria-expanded="false"` | `.pf-v5-c-menu-toggle`, `.pf-v5-c-menu-toggle__button` | Indicates that the menu toggle component is in the collapsed state. |
1026
- | `aria-label="Descriptive text"` | `.pf-v5-c-menu-toggle`, `.pf-v5-c-menu-toggle.pf-m-plain` | Gives the menu toggle component an accessible label. Used whenever there is no text visible in the menu toggle. Often, plain modifiers are used when the menu toggle only contains an icon. |
1027
- | `disabled` | `.pf-v5-c-menu-toggle`, `.pf-v5-c-menu-toggle__button` | Indicates that the menu toggle component is disabled. |
1108
+ | `aria-expanded="true"` | `.pf-v6-c-menu-toggle`, `.pf-v6-c-menu-toggle__button` | Indicates that the menu toggle component is in the expanded state. |
1109
+ | `aria-expanded="false"` | `.pf-v6-c-menu-toggle`, `.pf-v6-c-menu-toggle__button` | Indicates that the menu toggle component is in the collapsed state. |
1110
+ | `aria-label="Descriptive text"` | `.pf-v6-c-menu-toggle`, `.pf-v6-c-menu-toggle.pf-m-plain` | Gives the menu toggle component an accessible label. Used whenever there is no text visible in the menu toggle. Often, plain modifiers are used when the menu toggle only contains an icon. |
1111
+ | `disabled` | `.pf-v6-c-menu-toggle`, `.pf-v6-c-menu-toggle__button` | Indicates that the menu toggle component is disabled. |
1028
1112
 
1029
1113
  ### Usage
1030
1114
 
1031
1115
  | Class | Applied | Outcome |
1032
1116
  | -- | -- | -- |
1033
- | `.pf-v5-c-menu-toggle` | `<button>` | Initiates the menu toggle component. |
1034
- | `.pf-v5-c-menu-toggle__icon` | `<span>` | Defines the menu toggle component icon/image. |
1035
- | `.pf-v5-c-menu-toggle__text` | `<span>` | Defines the menu toggle component text. |
1036
- | `.pf-v5-c-menu-toggle__count` | `<span>` | Defines the menu toggle component count. |
1037
- | `.pf-v5-c-menu-toggle__controls` | `<span>` | Defines the menu toggle component controls. |
1038
- | `.pf-v5-c-menu-toggle__toggle-icon` | `<span>` | Defines the menu toggle component toggle/arrow icon. |
1039
- | `.pf-v5-c-menu-toggle__button` | `<button>` | Initiates the menu toggle button. |
1040
- | `.pf-m-split-button` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the split button variation. |
1041
- | `.pf-m-action` | `.pf-v5-c-menu-toggle.pf-m-split-button` | Modifies the menu toggle component for the action, split button variation. |
1042
- | `.pf-m-disabled` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the disabled variation. |
1043
- | `.pf-m-primary` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the primary variation. |
1044
- | `.pf-m-secondary` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the secondary variation. |
1045
- | `.pf-m-text` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the text variation. |
1046
- | `.pf-m-plain` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the plain variation. |
1047
- | `.pf-m-expanded` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component for the expanded state. |
1048
- | `.pf-m-full-height` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component to full height of parent. |
1049
- | `.pf-m-full-width` | `.pf-v5-c-menu-toggle` | Modifies the menu toggle component to full width of parent. |
1117
+ | `.pf-v6-c-menu-toggle` | `<button>` | Initiates the menu toggle component. |
1118
+ | `.pf-v6-c-menu-toggle__icon` | `<span>` | Defines the menu toggle component icon/image. |
1119
+ | `.pf-v6-c-menu-toggle__text` | `<span>` | Defines the menu toggle component text. |
1120
+ | `.pf-v6-c-menu-toggle__count` | `<span>` | Defines the menu toggle component count. |
1121
+ | `.pf-v6-c-menu-toggle__controls` | `<span>` | Defines the menu toggle component controls. |
1122
+ | `.pf-v6-c-menu-toggle__toggle-icon` | `<span>` | Defines the menu toggle component toggle/arrow icon. |
1123
+ | `.pf-v6-c-menu-toggle__button` | `<button>` | Initiates the menu toggle button. |
1124
+ | `.pf-m-split-button` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the split button variation. |
1125
+ | `.pf-m-action` | `.pf-v6-c-menu-toggle.pf-m-split-button` | Modifies the menu toggle component for the action, split button variation. |
1126
+ | `.pf-m-disabled` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the disabled variation. |
1127
+ | `.pf-m-primary` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the primary variation. |
1128
+ | `.pf-m-secondary` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the secondary variation. |
1129
+ | `.pf-m-text` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the text variation. |
1130
+ | `.pf-m-plain` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the plain variation. |
1131
+ | `.pf-m-expanded` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component for the expanded state. |
1132
+ | `.pf-m-full-height` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full height of parent. |
1133
+ | `.pf-m-full-width` | `.pf-v6-c-menu-toggle` | Modifies the menu toggle component to full width of parent. |