@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: 'Banner'
3
3
  section: components
4
- cssPrefix: pf-v5-c-banner
4
+ cssPrefix: pf-v6-c-banner
5
5
  ---## Examples
6
6
 
7
7
  ### Basic
@@ -93,7 +93,7 @@ Banners can be styled with one of 9 different nonstatus colors. A nonstatus bann
93
93
 
94
94
  ### Status
95
95
 
96
- When a banner is used to convey status, it is advised to add an icon that also conveys status visually, and to provide screen reader text using `.pf-v5-screen-reader` or an equivalent.
96
+ When a banner is used to convey status, it is advised to add an icon that also conveys status visually, and to provide screen reader text using `.pf-v6-screen-reader` or an equivalent.
97
97
 
98
98
  ```html
99
99
  <div class="pf-v6-c-banner pf-m-success">
@@ -167,18 +167,18 @@ When a banner is used to convey status, it is advised to add an icon that also c
167
167
 
168
168
  | Class | Applied to | Outcome |
169
169
  | -- | -- | -- |
170
- | `.pf-v5-c-banner` | `<div>` | Initiates a banner. **Required** |
171
- | `.pf-m-red` | `.pf-v5-c-banner` | Modifies banner for red styling. |
172
- | `.pf-m-orangered` | `.pf-v5-c-banner` | Modifies banner for orangered styling. |
173
- | `.pf-m-orange` | `.pf-v5-c-banner` | Modifies banner for orange styling. |
174
- | `.pf-m-gold` | `.pf-v5-c-banner` | Modifies banner for gold styling. |
175
- | `.pf-m-green` | `.pf-v5-c-banner` | Modifies banner for green styling. |
176
- | `.pf-m-cyan` | `.pf-v5-c-banner` | Modifies banner for cyan styling. |
177
- | `.pf-m-blue` | `.pf-v5-c-banner` | Modifies banner for blue styling. |
178
- | `.pf-m-purple` | `.pf-v5-c-banner` | Modifies banner for purple styling. |
179
- | `.pf-m-success` | `.pf-v5-c-banner` | Modifies banner for success status styling. |
180
- | `.pf-m-warning` | `.pf-v5-c-banner` | Modifies banner for warning status styling. |
181
- | `.pf-m-danger` | `.pf-v5-c-banner` | Modifies banner for danger status styling. |
182
- | `.pf-m-info` | `.pf-v5-c-banner` | Modifies banner for info status styling. |
183
- | `.pf-m-custom` | `.pf-v5-c-banner` | Modifies banner for custom status styling. |
184
- | `.pf-m-sticky` | `.pf-v5-c-banner` | Modifies banner to be sticky to the top of its container. |
170
+ | `.pf-v6-c-banner` | `<div>` | Initiates a banner. **Required** |
171
+ | `.pf-m-red` | `.pf-v6-c-banner` | Modifies banner for red styling. |
172
+ | `.pf-m-orangered` | `.pf-v6-c-banner` | Modifies banner for orangered styling. |
173
+ | `.pf-m-orange` | `.pf-v6-c-banner` | Modifies banner for orange styling. |
174
+ | `.pf-m-gold` | `.pf-v6-c-banner` | Modifies banner for gold styling. |
175
+ | `.pf-m-green` | `.pf-v6-c-banner` | Modifies banner for green styling. |
176
+ | `.pf-m-cyan` | `.pf-v6-c-banner` | Modifies banner for cyan styling. |
177
+ | `.pf-m-blue` | `.pf-v6-c-banner` | Modifies banner for blue styling. |
178
+ | `.pf-m-purple` | `.pf-v6-c-banner` | Modifies banner for purple styling. |
179
+ | `.pf-m-success` | `.pf-v6-c-banner` | Modifies banner for success status styling. |
180
+ | `.pf-m-warning` | `.pf-v6-c-banner` | Modifies banner for warning status styling. |
181
+ | `.pf-m-danger` | `.pf-v6-c-banner` | Modifies banner for danger status styling. |
182
+ | `.pf-m-info` | `.pf-v6-c-banner` | Modifies banner for info status styling. |
183
+ | `.pf-m-custom` | `.pf-v6-c-banner` | Modifies banner for custom status styling. |
184
+ | `.pf-m-sticky` | `.pf-v6-c-banner` | Modifies banner to be sticky to the top of its container. |
@@ -1,12 +1,12 @@
1
1
  .show-dark,
2
- :where(.pf-v5-theme-dark) .show-light {
2
+ :where(.pf-v6-theme-dark) .show-light {
3
3
  display: none;
4
4
  }
5
5
 
6
- :where(.pf-v5-theme-dark) .show-dark {
6
+ :where(.pf-v6-theme-dark) .show-dark {
7
7
  display: revert;
8
8
  }
9
9
 
10
- :where(.pf-v5-theme-dark) .show-dark .pf-m-picture {
10
+ :where(.pf-v6-theme-dark) .show-dark .pf-m-picture {
11
11
  display: inline-flex;
12
12
  }
@@ -32,7 +32,7 @@ section: components
32
32
  <div class="show-light">
33
33
  <picture
34
34
  class="pf-v6-c-brand pf-m-picture"
35
- style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
35
+ style="--pf-v6-c-brand--Width: 40px; --pf-v6-c-brand--Width-on-md: 220px;"
36
36
  >
37
37
  <source
38
38
  media="(min-width: 768px)"
@@ -49,7 +49,7 @@ section: components
49
49
  <div class="show-dark">
50
50
  <picture
51
51
  class="pf-v6-c-brand pf-m-picture"
52
- style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-md: 220px;"
52
+ style="--pf-v6-c-brand--Width: 40px; --pf-v6-c-brand--Width-on-md: 220px;"
53
53
  >
54
54
  <source
55
55
  media="(min-width: 768px)"
@@ -75,13 +75,13 @@ Simple brand component.
75
75
 
76
76
  | Attribute | Applied to | Outcome |
77
77
  | -- | -- | -- |
78
- | `alt` | `.pf-v5-c-brand` | The alt attribute specifies an alternate text for an image, if the image cannot be displayed. **Required** |
78
+ | `alt` | `.pf-v6-c-brand` | The alt attribute specifies an alternate text for an image, if the image cannot be displayed. **Required** |
79
79
 
80
80
  ### Usage
81
81
 
82
82
  | Class | Applied to | Outcome |
83
83
  | -- | -- | -- |
84
- | `.pf-v5-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
85
- | `.pf-m-picture` | `.pf-v5-c-brand` | Modifies a brand image to a picture. |
86
- | `--pf-v5-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-v5-c-brand` | Modifies the width value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
87
- | `--pf-v5-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-v5-c-brand` | Modifies the height value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
84
+ | `.pf-v6-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
85
+ | `.pf-m-picture` | `.pf-v6-c-brand` | Modifies a brand image to a picture. |
86
+ | `--pf-v6-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-v6-c-brand` | Modifies the width value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
87
+ | `--pf-v6-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-v6-c-brand` | Modifies the height value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Breadcrumb
3
3
  section: components
4
- cssPrefix: pf-v5-c-breadcrumb
4
+ cssPrefix: pf-v6-c-breadcrumb
5
5
  ---import './Breadcrumb.css'
6
6
 
7
7
  ## Examples
@@ -281,7 +281,7 @@ cssPrefix: pf-v5-c-breadcrumb
281
281
 
282
282
  A breadcrumb is a list of links to display a user's navigational hierarchy. The last item of the breadcrumb list indicates the current page's location.
283
283
 
284
- * `.pf-v5-c-breadcrumb__list` is the default breadcrumb navigation. It provides links to previous navigation pages and also shows the current page's location.
284
+ * `.pf-v6-c-breadcrumb__list` is the default breadcrumb navigation. It provides links to previous navigation pages and also shows the current page's location.
285
285
 
286
286
  In the event that a page does not have a traditional `<h1>` page title, a heading can be included in the breadcrumbs and an optional link within.
287
287
 
@@ -289,18 +289,18 @@ In the event that a page does not have a traditional `<h1>` page title, a headin
289
289
 
290
290
  | Attribute | Applied to | Outcome |
291
291
  | -- | -- | -- |
292
- | `aria-label="[landmark description]"` | `.pf-v5-c-breadcrumb` | Describes `<nav>` landmark. |
293
- | `aria-label="[link name]"` | `.pf-v5-c-breadcrumb__link` | If link has no text (icon), add an aria-label. |
294
- | `aria-current="page"` | `.pf-v5-c-breadcrumb__item`, `.pf-v5-c-breadcrumb__link` | Indicates the current page within a set of pages. |
292
+ | `aria-label="[landmark description]"` | `.pf-v6-c-breadcrumb` | Describes `<nav>` landmark. |
293
+ | `aria-label="[link name]"` | `.pf-v6-c-breadcrumb__link` | If link has no text (icon), add an aria-label. |
294
+ | `aria-current="page"` | `.pf-v6-c-breadcrumb__item`, `.pf-v6-c-breadcrumb__link` | Indicates the current page within a set of pages. |
295
295
 
296
296
  ### Usage
297
297
 
298
298
  | Class | Applied to | Outcome |
299
299
  | -- | -- | -- |
300
- | `.pf-v5-c-breadcrumb` | `<nav>` | Initiates a primary breadcrumb element. **Required** |
301
- | `.pf-v5-c-breadcrumb__list` | `<ol>` | Initiates default breadcrumb ordered list. |
302
- | `.pf-v5-c-breadcrumb__item` | `<li>` | Initiates default breadcrumb list item. |
303
- | `.pf-v5-c-breadcrumb__item-divider` | `<span>` | Initiates default breadcrumb list item divider. |
304
- | `.pf-v5-c-breadcrumb__link` | `<a>`, `<button>` | Initiates default breadcrumb list link. |
305
- | `.pf-v5-c-breadcrumb__title` | `<h1>` | Initiates breadcrumb header. |
306
- | `.pf-m-current` | `.pf-v5-c-breadcrumb__link` | Modifies to display the list item as the current item. |
300
+ | `.pf-v6-c-breadcrumb` | `<nav>` | Initiates a primary breadcrumb element. **Required** |
301
+ | `.pf-v6-c-breadcrumb__list` | `<ol>` | Initiates default breadcrumb ordered list. |
302
+ | `.pf-v6-c-breadcrumb__item` | `<li>` | Initiates default breadcrumb list item. |
303
+ | `.pf-v6-c-breadcrumb__item-divider` | `<span>` | Initiates default breadcrumb list item divider. |
304
+ | `.pf-v6-c-breadcrumb__link` | `<a>`, `<button>` | Initiates default breadcrumb list link. |
305
+ | `.pf-v6-c-breadcrumb__title` | `<h1>` | Initiates breadcrumb header. |
306
+ | `.pf-m-current` | `.pf-v6-c-breadcrumb__link` | Modifies to display the list item as the current item. |
@@ -1,8 +1,8 @@
1
- .ws-core-c-button .pf-v5-c-button {
1
+ .ws-core-c-button .pf-v6-c-button {
2
2
  margin-inline-end: 6px;
3
3
  margin-block-end: 6px;
4
4
  }
5
5
 
6
- #ws-core-c-button-plain-with-no-padding .pf-v5-c-button {
6
+ #ws-core-c-button-plain-with-no-padding .pf-v6-c-button {
7
7
  margin: 0;
8
8
  }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Button
3
3
  section: components
4
- cssPrefix: pf-v5-c-button
4
+ cssPrefix: pf-v6-c-button
5
5
  ---import './Button.css'
6
6
 
7
7
  ## Examples
@@ -1844,42 +1844,42 @@ Semantic buttons and links are important for usability as well as accessibility.
1844
1844
 
1845
1845
  | Attribute | Applied to | Outcome |
1846
1846
  | -- | -- | -- |
1847
- | `aria-pressed="true or false"` | `.pf-v5-c-button` | Indicates that the button is a toggle. When set to "true", `pf-m-active` should also be set so that the button displays in an active state. **Required when button is a toggle** |
1848
- | `aria-label="[button label text]"` | `.pf-v5-c-button.pf-m-plain` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
1849
- | `aria-label="[descriptive text]"` | `a.pf-v5-c-button`, `span.pf-v5-c-button.pf-m-link.pf-m-inline` | The button component's text should adequately describe its purpose. If it does not, `aria-label` can provide more detailed interaction information. |
1850
- | `disabled` | `button.pf-v5-c-button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
1851
- | `aria-disabled="true"` | `button.pf-v5-c-button` | When a button element is used, indicates that it is unavailable but does not prevent keyboard or hover interactions. Used when a disabled button provides interactive elements like a tooltip. |
1852
- | `aria-disabled="true"` | `a.pf-v5-c-button.pf-m-disabled`, `span.pf-v5-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, indicates that it is unavailable. **Required when element is disabled** |
1853
- | `aria-expanded="true"` | `.pf-v5-c-button.pf-m-expanded` | Indicates that the expanded content element is visible. **Required** |
1854
- | `tabindex="-1"` | `a.pf-v5-c-button.pf-m-disabled`, `span.pf-v5-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, removes it from keyboard focus. **Required when element is disabled** |
1855
- | `tabindex="0"` | `span.pf-v5-c-button.pf-m-link.pf-m-inline` | Inserts the span into the tab order of the page so that it is focusable. **Required when the element is a span** |
1847
+ | `aria-pressed="true or false"` | `.pf-v6-c-button` | Indicates that the button is a toggle. When set to "true", `pf-m-active` should also be set so that the button displays in an active state. **Required when button is a toggle** |
1848
+ | `aria-label="[button label text]"` | `.pf-v6-c-button.pf-m-plain` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
1849
+ | `aria-label="[descriptive text]"` | `a.pf-v6-c-button`, `span.pf-v6-c-button.pf-m-link.pf-m-inline` | The button component's text should adequately describe its purpose. If it does not, `aria-label` can provide more detailed interaction information. |
1850
+ | `disabled` | `button.pf-v6-c-button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
1851
+ | `aria-disabled="true"` | `button.pf-v6-c-button` | When a button element is used, indicates that it is unavailable but does not prevent keyboard or hover interactions. Used when a disabled button provides interactive elements like a tooltip. |
1852
+ | `aria-disabled="true"` | `a.pf-v6-c-button.pf-m-disabled`, `span.pf-v6-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, indicates that it is unavailable. **Required when element is disabled** |
1853
+ | `aria-expanded="true"` | `.pf-v6-c-button.pf-m-expanded` | Indicates that the expanded content element is visible. **Required** |
1854
+ | `tabindex="-1"` | `a.pf-v6-c-button.pf-m-disabled`, `span.pf-v6-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, removes it from keyboard focus. **Required when element is disabled** |
1855
+ | `tabindex="0"` | `span.pf-v6-c-button.pf-m-link.pf-m-inline` | Inserts the span into the tab order of the page so that it is focusable. **Required when the element is a span** |
1856
1856
 
1857
1857
  ### Usage
1858
1858
 
1859
1859
  | Class | Applied to | Outcome |
1860
1860
  | -- | -- | -- |
1861
- | `.pf-v5-c-button` | `<button>, <span>` | Initiates a button. Always use it with a modifier class. **Required** |
1862
- | `.pf-v5-c-button__icon` | `<span>` | Initiates a button icon. |
1863
- | `.pf-v5-c-button__progress` | `<span>` | Initiates a button progress container. |
1864
- | `.pf-v5-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons.|
1865
- | `.pf-m-primary` | `.pf-v5-c-button` | Modifies for primary styles. |
1866
- | `.pf-m-secondary` | `.pf-v5-c-button` | Modifies for secondary styles. |
1867
- | `.pf-m-tertiary` | `.pf-v5-c-button` | Modifies for tertiary styles. |
1868
- | `.pf-m-danger` | `.pf-v5-c-button` | Modifies for danger styles. |
1869
- | `.pf-m-warning` | `.pf-v5-c-button` | Modifies for warning styles. |
1870
- | `.pf-m-link` | `.pf-v5-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
1871
- | `.pf-m-plain` | `.pf-v5-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
1872
- | `.pf-m-no-padding` | `.pf-v5-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
1873
- | `.pf-m-inline` | `.pf-v5-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
1874
- | `.pf-m-block` | `.pf-v5-c-button` | Creates a block level button. |
1875
- | `.pf-m-control` | `.pf-v5-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
1876
- | `.pf-m-expanded` | `.pf-v5-c-button.pf-m-control` | Modifies a control button for the expanded state. |
1877
- | `.pf-m-start` | `.pf-v5-c-button__icon` | Applies right spacing to an icon inside of a button when the icon comes before text. |
1878
- | `.pf-m-end` | `.pf-v5-c-button__icon` | Applies left spacing to an icon inside of a button when the icon comes after text. |
1879
- | `.pf-m-active` | `.pf-v5-c-button` | Forces display of the active state of the button. This modifier should be used when `aria-pressed` is set to true so that the button displays in an active state. |
1880
- | `.pf-m-small` | `.pf-v5-c-button` | Modifies the button so that it has small font size. |
1881
- | `.pf-m-aria-disabled` | `.pf-v5-c-button` | Modifies a button to be visually disabled, yet is still focusable. |
1882
- | `.pf-m-display-lg` | `.pf-v5-c-button`, `pf-v5-c-button.pf-m-link` | Modifies the button and link button for large display styling. For example, use this modifier to achieve "call to action" styles. |
1883
- | `.pf-m-progress` | `.pf-v5-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
1884
- | `.pf-m-in-progress` | `.pf-v5-c-button` | Indicates that the button is in the in progress state. |
1885
- | `.pf-m-stateful` | `.pf-v5-c-button` | Indicates that the button is used for one of read, unread, and attention states. **Note:** Always use with a modifier of `.pf-m-read`, `.pf-m-unread`, or `.pf-m-attention`. |
1861
+ | `.pf-v6-c-button` | `<button>, <span>` | Initiates a button. Always use it with a modifier class. **Required** |
1862
+ | `.pf-v6-c-button__icon` | `<span>` | Initiates a button icon. |
1863
+ | `.pf-v6-c-button__progress` | `<span>` | Initiates a button progress container. |
1864
+ | `.pf-v6-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons.|
1865
+ | `.pf-m-primary` | `.pf-v6-c-button` | Modifies for primary styles. |
1866
+ | `.pf-m-secondary` | `.pf-v6-c-button` | Modifies for secondary styles. |
1867
+ | `.pf-m-tertiary` | `.pf-v6-c-button` | Modifies for tertiary styles. |
1868
+ | `.pf-m-danger` | `.pf-v6-c-button` | Modifies for danger styles. |
1869
+ | `.pf-m-warning` | `.pf-v6-c-button` | Modifies for warning styles. |
1870
+ | `.pf-m-link` | `.pf-v6-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
1871
+ | `.pf-m-plain` | `.pf-v6-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
1872
+ | `.pf-m-no-padding` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
1873
+ | `.pf-m-inline` | `.pf-v6-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
1874
+ | `.pf-m-block` | `.pf-v6-c-button` | Creates a block level button. |
1875
+ | `.pf-m-control` | `.pf-v6-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
1876
+ | `.pf-m-expanded` | `.pf-v6-c-button.pf-m-control` | Modifies a control button for the expanded state. |
1877
+ | `.pf-m-start` | `.pf-v6-c-button__icon` | Applies right spacing to an icon inside of a button when the icon comes before text. |
1878
+ | `.pf-m-end` | `.pf-v6-c-button__icon` | Applies left spacing to an icon inside of a button when the icon comes after text. |
1879
+ | `.pf-m-active` | `.pf-v6-c-button` | Forces display of the active state of the button. This modifier should be used when `aria-pressed` is set to true so that the button displays in an active state. |
1880
+ | `.pf-m-small` | `.pf-v6-c-button` | Modifies the button so that it has small font size. |
1881
+ | `.pf-m-aria-disabled` | `.pf-v6-c-button` | Modifies a button to be visually disabled, yet is still focusable. |
1882
+ | `.pf-m-display-lg` | `.pf-v6-c-button`, `pf-v6-c-button.pf-m-link` | Modifies the button and link button for large display styling. For example, use this modifier to achieve "call to action" styles. |
1883
+ | `.pf-m-progress` | `.pf-v6-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
1884
+ | `.pf-m-in-progress` | `.pf-v6-c-button` | Indicates that the button is in the in progress state. |
1885
+ | `.pf-m-stateful` | `.pf-v6-c-button` | Indicates that the button is used for one of read, unread, and attention states. **Note:** Always use with a modifier of `.pf-m-read`, `.pf-m-unread`, or `.pf-m-attention`. |
@@ -2,7 +2,7 @@
2
2
  id: 'Calendar month'
3
3
  section: components
4
4
  subsection: date-and-time
5
- cssPrefix: pf-v5-c-calendar-month
5
+ cssPrefix: pf-v6-c-calendar-month
6
6
  ---## Examples
7
7
 
8
8
  ### Date selected
@@ -1486,36 +1486,36 @@ cssPrefix: pf-v5-c-calendar-month
1486
1486
 
1487
1487
  | Attribute | Applied to | Outcome |
1488
1488
  | -- | -- | -- |
1489
- | `aria-hidden="true"` | `.pf-v5-c-calendar-month__header-nav-control > button > [icon]` | Hides the nav control icon from assistive technologies. **Required** |
1490
- | `aria-hidden="true"` | `.pf-v5-c-calendar-month__day > span` | Hides the visual day of the month label from assistive technologies. **Required** |
1491
- | `.pf-v5-screen-reader` | `.pf-v5-c-calendar-month__day > span` | Hides the full day of the month text visually. **Required** |
1492
- | `aria-label="[Prev/Next] month"` | `.pf-v5-c-calendar-month__header-nav-control` | Provides an accessible label for the nav controls. **Required** |
1493
- | `disabled` | `.pf-v5-c-calendar-month__date` | Indicates that a date is selected. **Required when the parent is `.pf-v5-c-calendar-month__dates-cell.pf-m-disabled`** |
1494
- | `aria-label="[date] [month] [year]"` | `.pf-v5-c-calendar-month__date` | Provides an accessible label for the date button. **Required** |
1489
+ | `aria-hidden="true"` | `.pf-v6-c-calendar-month__header-nav-control > button > [icon]` | Hides the nav control icon from assistive technologies. **Required** |
1490
+ | `aria-hidden="true"` | `.pf-v6-c-calendar-month__day > span` | Hides the visual day of the month label from assistive technologies. **Required** |
1491
+ | `.pf-v6-screen-reader` | `.pf-v6-c-calendar-month__day > span` | Hides the full day of the month text visually. **Required** |
1492
+ | `aria-label="[Prev/Next] month"` | `.pf-v6-c-calendar-month__header-nav-control` | Provides an accessible label for the nav controls. **Required** |
1493
+ | `disabled` | `.pf-v6-c-calendar-month__date` | Indicates that a date is selected. **Required when the parent is `.pf-v6-c-calendar-month__dates-cell.pf-m-disabled`** |
1494
+ | `aria-label="[date] [month] [year]"` | `.pf-v6-c-calendar-month__date` | Provides an accessible label for the date button. **Required** |
1495
1495
 
1496
1496
  ### Usage
1497
1497
 
1498
1498
  | Class | Applied to | Outcome |
1499
1499
  | -- | -- | -- |
1500
- | `.pf-v5-c-calendar-month` | `<div>` | Initiates the calendar month component. **Required** |
1501
- | `.pf-v5-c-calendar-month__header` | `<div>` | Initiates the calendar month header. **Required** |
1502
- | `.pf-v5-c-calendar-month__header-nav-control` | `<div>` | Initiates a nav control for navigating by month. **Required** |
1503
- | `.pf-v5-c-calendar-month__header-month` | `<div>` | Initiates the month select. **Required** |
1504
- | `.pf-v5-c-calendar-month__header-year` | `<div>` | Initiates the year input. **Required** |
1505
- | `.pf-v5-c-calendar-month__calendar` | `<table>` | Initiates the calendar. **Required** |
1506
- | `.pf-v5-c-calendar-month__days` | `<thead>` | Initiates the calendar days section. **Required** |
1507
- | `.pf-v5-c-calendar-month__days-row` | `<tr>` | Initiates the calendar days row. **Required** |
1508
- | `.pf-v5-c-calendar-month__day` | `<th>` | Initiates a calendar day. **Required** |
1509
- | `.pf-v5-c-calendar-month__dates` | `<tbody>` | Initiates the calendar dates section. **Required** |
1510
- | `.pf-v5-c-calendar-month__dates-row` | `<tr>` | Initiates a calendar dates row. **Required** |
1511
- | `.pf-v5-c-calendar-month__dates-cell` | `<td>` | Initiates a calendar date cell. **Required** |
1512
- | `.pf-v5-c-calendar-month__date` | `<button>` | Initiates a calendar date. **Required** |
1513
- | `.pf-m-prev-month` | `.pf-v5-c-calendar-month__header-nav-control` | Indicates a nav control is the previous month. **Required** |
1514
- | `.pf-m-next-month` | `.pf-v5-c-calendar-month__header-nav-control` | Indicates a nav control is the next month. **Required** |
1515
- | `.pf-m-current` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is the current day. **Required** |
1516
- | `.pf-m-selected` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is selected. |
1517
- | `.pf-m-start-range` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is the start of a range. |
1518
- | `.pf-m-in-range` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is in a range. |
1519
- | `.pf-m-end-range` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is the end of a range. |
1520
- | `.pf-m-adjacent-month` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is in an adjacent month. |
1521
- | `.pf-m-disabled` | `.pf-v5-c-calendar-month__dates-cell` | Indicates a date is disabled and unavailable. |
1500
+ | `.pf-v6-c-calendar-month` | `<div>` | Initiates the calendar month component. **Required** |
1501
+ | `.pf-v6-c-calendar-month__header` | `<div>` | Initiates the calendar month header. **Required** |
1502
+ | `.pf-v6-c-calendar-month__header-nav-control` | `<div>` | Initiates a nav control for navigating by month. **Required** |
1503
+ | `.pf-v6-c-calendar-month__header-month` | `<div>` | Initiates the month select. **Required** |
1504
+ | `.pf-v6-c-calendar-month__header-year` | `<div>` | Initiates the year input. **Required** |
1505
+ | `.pf-v6-c-calendar-month__calendar` | `<table>` | Initiates the calendar. **Required** |
1506
+ | `.pf-v6-c-calendar-month__days` | `<thead>` | Initiates the calendar days section. **Required** |
1507
+ | `.pf-v6-c-calendar-month__days-row` | `<tr>` | Initiates the calendar days row. **Required** |
1508
+ | `.pf-v6-c-calendar-month__day` | `<th>` | Initiates a calendar day. **Required** |
1509
+ | `.pf-v6-c-calendar-month__dates` | `<tbody>` | Initiates the calendar dates section. **Required** |
1510
+ | `.pf-v6-c-calendar-month__dates-row` | `<tr>` | Initiates a calendar dates row. **Required** |
1511
+ | `.pf-v6-c-calendar-month__dates-cell` | `<td>` | Initiates a calendar date cell. **Required** |
1512
+ | `.pf-v6-c-calendar-month__date` | `<button>` | Initiates a calendar date. **Required** |
1513
+ | `.pf-m-prev-month` | `.pf-v6-c-calendar-month__header-nav-control` | Indicates a nav control is the previous month. **Required** |
1514
+ | `.pf-m-next-month` | `.pf-v6-c-calendar-month__header-nav-control` | Indicates a nav control is the next month. **Required** |
1515
+ | `.pf-m-current` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is the current day. **Required** |
1516
+ | `.pf-m-selected` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is selected. |
1517
+ | `.pf-m-start-range` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is the start of a range. |
1518
+ | `.pf-m-in-range` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is in a range. |
1519
+ | `.pf-m-end-range` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is the end of a range. |
1520
+ | `.pf-m-adjacent-month` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is in an adjacent month. |
1521
+ | `.pf-m-disabled` | `.pf-v6-c-calendar-month__dates-cell` | Indicates a date is disabled and unavailable. |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Card
3
3
  section: components
4
- cssPrefix: pf-v5-c-card
4
+ cssPrefix: pf-v6-c-card
5
5
  ---import './Card.css'
6
6
 
7
7
  ## Examples
@@ -1961,32 +1961,32 @@ A card is a generic rectangular container that can be used to build other compon
1961
1961
 
1962
1962
  | Class | Applied | Outcome |
1963
1963
  | ---- | ---- | ---- |
1964
- | `.pf-v5-c-card` | `<div>` | Creates a card component. **Required** |
1965
- | `.pf-v5-c-card__title` | `<div>` | Creates a card title container. |
1966
- | `.pf-v5-c-card__title-text` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<div>` | Creates a card title text element. |
1967
- | `.pf-v5-c-card__body` | `<div>` | Creates the body of a card. By default, the body element fills the available space in the card. You can use multiple `.pf-v5-c-card__body` elements. |
1968
- | `.pf-v5-c-card__footer` | `<div>` | Creates the footer of a card. |
1969
- | `.pf-v5-c-card__header` | `<div>` | Creates the header of the card where images, actions, and/or the card title can go. |
1970
- | `.pf-v5-c-card__header-toggle` | `<div>` | Creates the expandable card toggle. |
1971
- | `.pf-v5-c-card__header-toggle-icon` | `<span>` | Creates the expandable card toggle icon. |
1972
- | `.pf-v5-c-card__actions` | `<div>` | Creates an actions element to be used in the card header. |
1973
- | `.pf-v5-c-card__selectable-actions` | `<div>` | Creates an element to hold a checkbox or radio and the related label used to make a card selectable or clickable. |
1974
- | `.pf-v5-c-card__header-main` | `<div>` | Creates a wrapper element to be used in the card header when using an image, logo, or text. **Required if `.pf-v5-c-card__header` has content outside of a card header toggle or card header actions** |
1975
- | `.pf-v5-c-card__expandable-content` | `<div>` | Creates the expandable card's expandable content. |
1976
- | `.pf-v5-c-card__sr-input` | `<input>` | Creates an input which, when focused, makes a following `.pf-v5-c-card` appear focused. |
1977
- | `.pf-m-compact` | `.pf-v5-c-card` | Creates a compact variation of the card component that involves smaller font sizes and spacing. This variation is for use on dashboards and where a smaller card is preferred. |
1978
- | `.pf-m-display-lg` | `.pf-v5-c-card` | Creates a large variation of the card component that involves larger font sizes and spacing. This variation is for marketing use cases. |
1979
- | `.pf-m-no-fill` | `.pf-v5-c-card__body` | Sets a `.pf-v5-c-card__body` not to fill the available space in `.pf-v5-c-card`. `.pf-m-no-fill` can be added to multiple card bodies. |
1980
- | `.pf-m-selectable` | `.pf-v5-c-card` | Modifies a card to be selectable. |
1981
- | `.pf-m-clickable` | `.pf-v5-c-card` | Modifies a card to be clickable. |
1982
- | `.pf-m-selected` | `.pf-v5-c-card` | Modifies a selectable card for selected state styling. Can be used in addition to indicating selection via the `.pf-v5-c-card__input`. |
1983
- | `.pf-m-current` | `.pf-v5-c-card` | Modifies a card that is both clickable and selectable for clicked state styling. |
1984
- | `.pf-m-disabled` | `.pf-v5-c-card` | Modifies a card so it is not selectable or clickable. |
1985
- | `.pf-m-secondary` | `.pf-v5-c-card` | Modifies the card to have secondary styling. |
1986
- | `.pf-m-flat` | `.pf-v5-c-card` | Modifies the card to have a border instead of a shadow. `.pf-m-flat` is for use in layouts where cards are against a white background. |
1987
- | `.pf-m-rounded` | `.pf-v5-c-card` | Modifies the card to have rounded corners. |
1988
- | `.pf-m-plain` | `.pf-v5-c-card` | Modifies the card to have no box shadow and no background color. |
1989
- | `.pf-m-expanded` | `.pf-v5-c-card` | Modifies the card for the expanded state. |
1990
- | `.pf-m-toggle-right` | `.pf-v5-c-card__header` | Modifies the expandable card header toggle to be positioned at flex-end. |
1991
- | `.pf-m-full-height` | `.pf-v5-c-card` | Modifies the card to full height of its parent. |
1992
- | `.pf-m-no-offset` | `.pf-v5-c-card__actions` | Removes the negative vertical margins on the actions element intended to align the action content with the card title. |
1964
+ | `.pf-v6-c-card` | `<div>` | Creates a card component. **Required** |
1965
+ | `.pf-v6-c-card__title` | `<div>` | Creates a card title container. |
1966
+ | `.pf-v6-c-card__title-text` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<div>` | Creates a card title text element. |
1967
+ | `.pf-v6-c-card__body` | `<div>` | Creates the body of a card. By default, the body element fills the available space in the card. You can use multiple `.pf-v6-c-card__body` elements. |
1968
+ | `.pf-v6-c-card__footer` | `<div>` | Creates the footer of a card. |
1969
+ | `.pf-v6-c-card__header` | `<div>` | Creates the header of the card where images, actions, and/or the card title can go. |
1970
+ | `.pf-v6-c-card__header-toggle` | `<div>` | Creates the expandable card toggle. |
1971
+ | `.pf-v6-c-card__header-toggle-icon` | `<span>` | Creates the expandable card toggle icon. |
1972
+ | `.pf-v6-c-card__actions` | `<div>` | Creates an actions element to be used in the card header. |
1973
+ | `.pf-v6-c-card__selectable-actions` | `<div>` | Creates an element to hold a checkbox or radio and the related label used to make a card selectable or clickable. |
1974
+ | `.pf-v6-c-card__header-main` | `<div>` | Creates a wrapper element to be used in the card header when using an image, logo, or text. **Required if `.pf-v6-c-card__header` has content outside of a card header toggle or card header actions** |
1975
+ | `.pf-v6-c-card__expandable-content` | `<div>` | Creates the expandable card's expandable content. |
1976
+ | `.pf-v6-c-card__sr-input` | `<input>` | Creates an input which, when focused, makes a following `.pf-v6-c-card` appear focused. |
1977
+ | `.pf-m-compact` | `.pf-v6-c-card` | Creates a compact variation of the card component that involves smaller font sizes and spacing. This variation is for use on dashboards and where a smaller card is preferred. |
1978
+ | `.pf-m-display-lg` | `.pf-v6-c-card` | Creates a large variation of the card component that involves larger font sizes and spacing. This variation is for marketing use cases. |
1979
+ | `.pf-m-no-fill` | `.pf-v6-c-card__body` | Sets a `.pf-v6-c-card__body` not to fill the available space in `.pf-v6-c-card`. `.pf-m-no-fill` can be added to multiple card bodies. |
1980
+ | `.pf-m-selectable` | `.pf-v6-c-card` | Modifies a card to be selectable. |
1981
+ | `.pf-m-clickable` | `.pf-v6-c-card` | Modifies a card to be clickable. |
1982
+ | `.pf-m-selected` | `.pf-v6-c-card` | Modifies a selectable card for selected state styling. Can be used in addition to indicating selection via the `.pf-v6-c-card__input`. |
1983
+ | `.pf-m-current` | `.pf-v6-c-card` | Modifies a card that is both clickable and selectable for clicked state styling. |
1984
+ | `.pf-m-disabled` | `.pf-v6-c-card` | Modifies a card so it is not selectable or clickable. |
1985
+ | `.pf-m-secondary` | `.pf-v6-c-card` | Modifies the card to have secondary styling. |
1986
+ | `.pf-m-flat` | `.pf-v6-c-card` | Modifies the card to have a border instead of a shadow. `.pf-m-flat` is for use in layouts where cards are against a white background. |
1987
+ | `.pf-m-rounded` | `.pf-v6-c-card` | Modifies the card to have rounded corners. |
1988
+ | `.pf-m-plain` | `.pf-v6-c-card` | Modifies the card to have no box shadow and no background color. |
1989
+ | `.pf-m-expanded` | `.pf-v6-c-card` | Modifies the card for the expanded state. |
1990
+ | `.pf-m-toggle-right` | `.pf-v6-c-card__header` | Modifies the expandable card header toggle to be positioned at flex-end. |
1991
+ | `.pf-m-full-height` | `.pf-v6-c-card` | Modifies the card to full height of its parent. |
1992
+ | `.pf-m-no-offset` | `.pf-v6-c-card__actions` | Removes the negative vertical margins on the actions element intended to align the action content with the card title. |
@@ -2,7 +2,7 @@
2
2
  id: Checkbox
3
3
  section: components
4
4
  subsection: forms
5
- cssPrefix: pf-v5-c-check
5
+ cssPrefix: pf-v6-c-check
6
6
  ---## Examples
7
7
 
8
8
  ### Basic
@@ -224,19 +224,19 @@ If you extend this component or modify the styles of this component, then make s
224
224
 
225
225
  | Attribute | Applied to | Outcome |
226
226
  | -- | -- | -- |
227
- | `disabled` | `.pf-v5-c-check__input` | Indicates that the element is unavailable and removes it from keyboard focus. **Required when input is disabled** |
228
- | `required` | `.pf-v5-c-check__input` | Indicates that the element is required. |
229
- | `aria-describedby` | `.pf-v5-c-check__input` | When using `.pf-v5-c-check__description` make use of this on the input. |
227
+ | `disabled` | `.pf-v6-c-check__input` | Indicates that the element is unavailable and removes it from keyboard focus. **Required when input is disabled** |
228
+ | `required` | `.pf-v6-c-check__input` | Indicates that the element is required. |
229
+ | `aria-describedby` | `.pf-v6-c-check__input` | When using `.pf-v6-c-check__description` make use of this on the input. |
230
230
 
231
231
  ### Usage
232
232
 
233
233
  | Class | Applied to | Outcome |
234
234
  | -- | -- | -- |
235
- | `.pf-v5-c-check` | `<div>`, `<label>` | Initiates the check component. **Required** |
236
- | `.pf-v5-c-check__input` | `<input type="checkbox">` | Initiates a check input. **Required** |
237
- | `.pf-v5-c-check__label` | `<label>`, `<span>` | Initiates a label. **Required** |
238
- | `.pf-v5-c-check__label-required` | `<span>` | Initiates a required indicator. |
239
- | `.pf-v5-c-check__description` | `<span>` | Initiates a check description. |
240
- | `.pf-v5-c-check__body` | `<span>` | Initiates a check body. |
241
- | `.pf-m-standalone` | `.pf-v5-c-check` | Modifies the check component for use with a standalone `<input type="checkbox">`. **Required when there is no label** |
242
- | `.pf-m-disabled` | `.pf-v5-c-check__label` | Modifies the check component for the disabled state. **Required when input is disabled** |
235
+ | `.pf-v6-c-check` | `<div>`, `<label>` | Initiates the check component. **Required** |
236
+ | `.pf-v6-c-check__input` | `<input type="checkbox">` | Initiates a check input. **Required** |
237
+ | `.pf-v6-c-check__label` | `<label>`, `<span>` | Initiates a label. **Required** |
238
+ | `.pf-v6-c-check__label-required` | `<span>` | Initiates a required indicator. |
239
+ | `.pf-v6-c-check__description` | `<span>` | Initiates a check description. |
240
+ | `.pf-v6-c-check__body` | `<span>` | Initiates a check body. |
241
+ | `.pf-m-standalone` | `.pf-v6-c-check` | Modifies the check component for use with a standalone `<input type="checkbox">`. **Required when there is no label** |
242
+ | `.pf-m-disabled` | `.pf-v6-c-check__label` | Modifies the check component for the disabled state. **Required when input is disabled** |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Chip
3
3
  section: components
4
- cssPrefix: ['pf-v5-c-chip', 'pf-v5-c-chip-group']
4
+ cssPrefix: ['pf-v6-c-chip', 'pf-v6-c-chip-group']
5
5
  ---## Examples
6
6
 
7
7
  ### Chip variants
@@ -800,21 +800,21 @@ A Chip is used to display items that have been filtered or selected from a large
800
800
 
801
801
  | Attribute | Applied to | Outcome |
802
802
  | -- | -- | -- |
803
- | `aria-label="[button label text]"` | `.pf-v5-c-button` | Provides an accessible name for the button when an icon is used instead of text. Required when an icon is used with no supporting text. |
804
- | `aria-labelledby="[id value of .pf-v5-c-button]"` | `.pf-v5-c-button` | Gives the button an accessible name by referring to the element that provides the position of the button within a list. Required when the button is being removed. |
803
+ | `aria-label="[button label text]"` | `.pf-v6-c-button` | Provides an accessible name for the button when an icon is used instead of text. Required when an icon is used with no supporting text. |
804
+ | `aria-labelledby="[id value of .pf-v6-c-button]"` | `.pf-v6-c-button` | Gives the button an accessible name by referring to the element that provides the position of the button within a list. Required when the button is being removed. |
805
805
  | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
806
806
 
807
807
  ### Chip usage
808
808
 
809
809
  | Class | Applied to | Outcome |
810
810
  | -- | -- | -- |
811
- | `.pf-v5-c-chip` | `<div>`, `<button>`, | Initiates the chip component. Use a `<button>` with overflow chips **Required** |
812
- | `.pf-v5-c-chip__content` | `<span>` | Creates a content wrapper for the chip. **Required** |
813
- | `.pf-v5-c-chip__text` | `<span>` | Initiates the text inside the chip. **Required** |
814
- | `.pf-v5-c-chip__icon` | `<span>` | Initiates the icon inside the chip. |
815
- | `.pf-v5-c-chip__actions` | `<span>` | Creates a wrapper for chip actions. **Required for removable chips** |
816
- | `.pf-m-overflow` | `button.pf-v5-c-chip` | Applies styling of the overflow chip. |
817
- | `.pf-m-draggable` | `.pf-v5-c-chip` | Modifies the chip to be in the draggable state. |
811
+ | `.pf-v6-c-chip` | `<div>`, `<button>`, | Initiates the chip component. Use a `<button>` with overflow chips **Required** |
812
+ | `.pf-v6-c-chip__content` | `<span>` | Creates a content wrapper for the chip. **Required** |
813
+ | `.pf-v6-c-chip__text` | `<span>` | Initiates the text inside the chip. **Required** |
814
+ | `.pf-v6-c-chip__icon` | `<span>` | Initiates the icon inside the chip. |
815
+ | `.pf-v6-c-chip__actions` | `<span>` | Creates a wrapper for chip actions. **Required for removable chips** |
816
+ | `.pf-m-overflow` | `button.pf-v6-c-chip` | Applies styling of the overflow chip. |
817
+ | `.pf-m-draggable` | `.pf-v6-c-chip` | Modifies the chip to be in the draggable state. |
818
818
 
819
819
  ### Chip group overview
820
820
 
@@ -828,19 +828,19 @@ The chip group requires the [chip component](#chip-overview). **All single chip
828
828
 
829
829
  | Attributes for closable chip group button | Applied to | Outcome |
830
830
  | -- | -- | -- |
831
- | `role="list"` | `.pf-v5-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-v5-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list properly. **Required** |
832
- | `aria-label="[button label text]"` | `.pf-v5-c-chip-group__close > button` | Provides an accessible name for a chip group close when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
833
- | `aria-labelledby="[id value of .pf-v5-c-chip-group__close > button] [id value of .pf-v5-c-chip-group__label]"` | `.pf-v5-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
831
+ | `role="list"` | `.pf-v6-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-v6-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list properly. **Required** |
832
+ | `aria-label="[button label text]"` | `.pf-v6-c-chip-group__close > button` | Provides an accessible name for a chip group close when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
833
+ | `aria-labelledby="[id value of .pf-v6-c-chip-group__close > button] [id value of .pf-v6-c-chip-group__label]"` | `.pf-v6-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
834
834
 
835
835
  ### Chip group usage
836
836
 
837
837
  | Class | Applied to | Outcome |
838
838
  | -- | -- | -- |
839
- | `.pf-v5-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
840
- | `.pf-v5-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
841
- | `.pf-v5-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
842
- | `.pf-v5-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
843
- | `.pf-v5-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
844
- | `.pf-v5-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. **Required** |
845
- | `.pf-v5-c-button` | `.pf-v5-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
846
- | `.pf-m-category` | `.pf-v5-c-chip-group` | Modifies the chip group to support category styling. |
839
+ | `.pf-v6-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
840
+ | `.pf-v6-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
841
+ | `.pf-v6-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
842
+ | `.pf-v6-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
843
+ | `.pf-v6-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
844
+ | `.pf-v6-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. **Required** |
845
+ | `.pf-v6-c-button` | `.pf-v6-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
846
+ | `.pf-m-category` | `.pf-v6-c-chip-group` | Modifies the chip group to support category styling. |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Clipboard copy
3
3
  section: components
4
- cssPrefix: pf-v5-c-clipboard-copy
4
+ cssPrefix: pf-v6-c-clipboard-copy
5
5
  ---## Examples
6
6
 
7
7
  ### Basic
@@ -261,7 +261,7 @@ cssPrefix: pf-v5-c-clipboard-copy
261
261
  {"value": "Close", "onclick": "CloseDoc()"}
262
262
  ]
263
263
  }
264
- }}
264
+ }}
265
265
  </pre>
266
266
  </div>
267
267
  </div>
@@ -464,26 +464,26 @@ cssPrefix: pf-v5-c-clipboard-copy
464
464
 
465
465
  | Attribute | Applied to | Outcome |
466
466
  | -- | -- | -- |
467
- | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-v5-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
468
- | `aria-label="[input label text]"` | `.pf-v5-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
467
+ | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-v6-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
468
+ | `aria-label="[input label text]"` | `.pf-v6-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
469
469
  | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
470
- | `aria-controls="[id of expandable element]"` | `.pf-v5-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
471
- | `hidden` | `.pf-v5-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
472
- | `aria-labelledby="[id of button] [id of input label]"` | `.pf-v5-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
470
+ | `aria-controls="[id of expandable element]"` | `.pf-v6-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
471
+ | `hidden` | `.pf-v6-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
472
+ | `aria-labelledby="[id of button] [id of input label]"` | `.pf-v6-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
473
473
 
474
474
  ### Usage
475
475
 
476
476
  | Class | Applied to | Outcome |
477
477
  | -- | -- | -- |
478
- | `.pf-v5-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
479
- | `.pf-v5-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
480
- | `.pf-v5-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
481
- | `.pf-v5-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
482
- | `.pf-v5-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
483
- | `.pf-v5-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
484
- | `.pf-v5-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
485
- | `.pf-m-inline` | `.pf-v5-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
486
- | `.pf-m-block` | `.pf-v5-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
487
- | `.pf-m-expanded` | `.pf-v5-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
488
- | `.pf-m-expanded` | `.pf-v5-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
489
- | `.pf-m-code` | `code.pf-v5-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
478
+ | `.pf-v6-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
479
+ | `.pf-v6-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
480
+ | `.pf-v6-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
481
+ | `.pf-v6-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
482
+ | `.pf-v6-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
483
+ | `.pf-v6-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
484
+ | `.pf-v6-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
485
+ | `.pf-m-inline` | `.pf-v6-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
486
+ | `.pf-m-block` | `.pf-v6-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
487
+ | `.pf-m-expanded` | `.pf-v6-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
488
+ | `.pf-m-expanded` | `.pf-v6-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
489
+ | `.pf-m-code` | `code.pf-v6-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |