@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.31

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 (321) hide show
  1. package/README.md +13 -3
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/images/PF-Backdrop.svg +1 -0
  4. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  5. package/assets/images/PF-IconLogo.svg +17 -0
  6. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  7. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  8. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  9. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  10. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  11. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  12. package/assets/images/pf_logo_white.hbs +35 -0
  13. package/assets/images/pf_logo_white.svg +38 -0
  14. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  15. package/assets/pficon/pficon.scss +6 -129
  16. package/base/_common.scss +29 -4
  17. package/base/_globals.scss +5 -9
  18. package/base/_variables.scss +8 -6
  19. package/base/patternfly-common.css +24 -6
  20. package/base/patternfly-globals.css +5 -5
  21. package/base/patternfly-icons.css +5 -1
  22. package/base/patternfly-pf-icons.css +5 -1
  23. package/base/patternfly-variables.css +886 -771
  24. package/base/tokens/_tokens-dark.scss +322 -265
  25. package/base/tokens/_tokens-default.scss +426 -306
  26. package/base/tokens/_tokens-font.scss +59 -35
  27. package/base/tokens/_tokens-palette.scss +69 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +80 -108
  30. package/components/AboutModalBox/about-modal-box.scss +64 -78
  31. package/components/Accordion/accordion.css +96 -175
  32. package/components/Accordion/accordion.scss +106 -193
  33. package/components/ActionList/action-list.css +2 -2
  34. package/components/ActionList/action-list.scss +2 -2
  35. package/components/Alert/alert-group.css +27 -20
  36. package/components/Alert/alert-group.scss +27 -20
  37. package/components/Alert/alert.css +74 -95
  38. package/components/Alert/alert.scss +76 -89
  39. package/components/AppLauncher/app-launcher.css +32 -23
  40. package/components/AppLauncher/app-launcher.scss +32 -23
  41. package/components/BackToTop/back-to-top.css +17 -15
  42. package/components/BackToTop/back-to-top.scss +14 -13
  43. package/components/Backdrop/backdrop.css +2 -2
  44. package/components/Backdrop/backdrop.scss +2 -2
  45. package/components/BackgroundImage/background-image.css +6 -3
  46. package/components/BackgroundImage/background-image.scss +8 -3
  47. package/components/Badge/badge.css +25 -17
  48. package/components/Badge/badge.scss +27 -19
  49. package/components/Banner/banner.css +91 -69
  50. package/components/Banner/banner.scss +95 -34
  51. package/components/Breadcrumb/breadcrumb.css +28 -19
  52. package/components/Breadcrumb/breadcrumb.scss +26 -19
  53. package/components/Button/button.css +35 -23
  54. package/components/Button/button.scss +36 -26
  55. package/components/Button/themes/dark/button.scss +1 -1
  56. package/components/CalendarMonth/calendar-month.css +25 -15
  57. package/components/CalendarMonth/calendar-month.scss +23 -15
  58. package/components/Card/card.css +25 -17
  59. package/components/Card/card.scss +24 -17
  60. package/components/Check/check.css +12 -10
  61. package/components/Check/check.scss +17 -12
  62. package/components/Chip/chip-group.css +6 -6
  63. package/components/Chip/chip-group.scss +6 -6
  64. package/components/Chip/chip.css +16 -9
  65. package/components/Chip/chip.scss +17 -9
  66. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  67. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  68. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  69. package/components/CodeBlock/code-block.css +6 -3
  70. package/components/CodeBlock/code-block.scss +6 -3
  71. package/components/CodeEditor/code-editor.css +31 -22
  72. package/components/CodeEditor/code-editor.scss +30 -21
  73. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  74. package/components/Content/content.css +100 -97
  75. package/components/Content/content.scss +101 -98
  76. package/components/ContextSelector/context-selector.css +41 -26
  77. package/components/ContextSelector/context-selector.scss +40 -25
  78. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  79. package/components/DataList/data-list-grid.css +21 -21
  80. package/components/DataList/data-list-grid.scss +3 -3
  81. package/components/DataList/data-list.css +69 -56
  82. package/components/DataList/data-list.scss +47 -35
  83. package/components/DatePicker/date-picker.css +8 -8
  84. package/components/DatePicker/date-picker.scss +8 -8
  85. package/components/DescriptionList/description-list.css +8 -5
  86. package/components/DescriptionList/description-list.scss +8 -5
  87. package/components/DragDrop/drag-drop.css +8 -8
  88. package/components/DragDrop/drag-drop.scss +8 -8
  89. package/components/Drawer/drawer.css +120 -62
  90. package/components/Drawer/drawer.scss +94 -44
  91. package/components/Dropdown/dropdown.css +76 -69
  92. package/components/Dropdown/dropdown.scss +67 -62
  93. package/components/DualListSelector/dual-list-selector.css +29 -15
  94. package/components/DualListSelector/dual-list-selector.scss +30 -15
  95. package/components/EmptyState/empty-state.css +7 -4
  96. package/components/EmptyState/empty-state.scss +7 -4
  97. package/components/ExpandableSection/expandable-section.css +75 -59
  98. package/components/ExpandableSection/expandable-section.scss +81 -72
  99. package/components/FileUpload/file-upload.css +9 -15
  100. package/components/FileUpload/file-upload.scss +9 -15
  101. package/components/Form/form.css +53 -50
  102. package/components/Form/form.scss +46 -44
  103. package/components/FormControl/form-control.css +18 -9
  104. package/components/FormControl/form-control.scss +18 -9
  105. package/components/HelperText/helper-text.css +29 -35
  106. package/components/HelperText/helper-text.scss +31 -41
  107. package/components/Hint/hint.css +37 -27
  108. package/components/Hint/hint.scss +37 -30
  109. package/components/Icon/icon.css +1 -1
  110. package/components/Icon/icon.scss +1 -1
  111. package/components/InlineEdit/inline-edit.css +9 -9
  112. package/components/InlineEdit/inline-edit.scss +9 -9
  113. package/components/InputGroup/input-group.css +12 -6
  114. package/components/InputGroup/input-group.scss +11 -5
  115. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  116. package/components/JumpLinks/jump-links.css +27 -24
  117. package/components/JumpLinks/jump-links.scss +26 -24
  118. package/components/Label/label-group.css +13 -10
  119. package/components/Label/label-group.scss +13 -10
  120. package/components/Label/label.css +9 -9
  121. package/components/Label/label.scss +9 -9
  122. package/components/List/list.css +25 -25
  123. package/components/List/list.scss +26 -26
  124. package/components/LogViewer/log-viewer.css +14 -14
  125. package/components/LogViewer/log-viewer.scss +14 -14
  126. package/components/Login/login.css +104 -122
  127. package/components/Login/login.scss +92 -91
  128. package/components/Masthead/masthead.css +68 -125
  129. package/components/Masthead/masthead.scss +123 -153
  130. package/components/Menu/menu.css +82 -65
  131. package/components/Menu/menu.scss +85 -69
  132. package/components/MenuToggle/menu-toggle.css +89 -100
  133. package/components/MenuToggle/menu-toggle.scss +92 -112
  134. package/components/ModalBox/modal-box.css +76 -69
  135. package/components/ModalBox/modal-box.scss +74 -70
  136. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  137. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  138. package/components/Nav/nav.css +162 -133
  139. package/components/Nav/nav.scss +162 -135
  140. package/components/Nav/themes/dark/nav.scss +2 -2
  141. package/components/NotificationBadge/notification-badge.css +66 -85
  142. package/components/NotificationBadge/notification-badge.scss +72 -103
  143. package/components/NotificationDrawer/notification-drawer.css +32 -19
  144. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  145. package/components/NumberInput/number-input.css +2 -2
  146. package/components/NumberInput/number-input.scss +2 -2
  147. package/components/OptionsMenu/options-menu.css +43 -31
  148. package/components/OptionsMenu/options-menu.scss +43 -31
  149. package/components/OverflowMenu/overflow-menu.css +2 -2
  150. package/components/OverflowMenu/overflow-menu.scss +2 -2
  151. package/components/Page/page.css +232 -271
  152. package/components/Page/page.scss +180 -231
  153. package/components/Pagination/pagination.css +27 -17
  154. package/components/Pagination/pagination.scss +25 -17
  155. package/components/Panel/panel.css +13 -7
  156. package/components/Panel/panel.scss +13 -7
  157. package/components/Popover/popover.css +110 -87
  158. package/components/Popover/popover.scss +120 -109
  159. package/components/Progress/progress.css +9 -7
  160. package/components/Progress/progress.scss +12 -7
  161. package/components/ProgressStepper/progress-stepper.css +26 -20
  162. package/components/ProgressStepper/progress-stepper.scss +25 -19
  163. package/components/Radio/radio.css +16 -13
  164. package/components/Radio/radio.scss +20 -14
  165. package/components/Select/select.css +56 -47
  166. package/components/Select/select.scss +56 -47
  167. package/components/Sidebar/sidebar.css +11 -5
  168. package/components/Sidebar/sidebar.scss +11 -5
  169. package/components/SimpleList/simple-list.css +10 -4
  170. package/components/SimpleList/simple-list.scss +10 -4
  171. package/components/Skeleton/skeleton.css +6 -5
  172. package/components/Skeleton/skeleton.scss +4 -5
  173. package/components/SkipToContent/skip-to-content.css +9 -6
  174. package/components/SkipToContent/skip-to-content.scss +8 -6
  175. package/components/Slider/slider.css +47 -26
  176. package/components/Slider/slider.scss +56 -28
  177. package/components/Switch/switch.css +10 -6
  178. package/components/Switch/switch.scss +11 -7
  179. package/components/TabContent/tab-content.css +4 -1
  180. package/components/TabContent/tab-content.scss +4 -1
  181. package/components/Table/table-grid.css +264 -203
  182. package/components/Table/table-grid.scss +61 -47
  183. package/components/Table/table-scrollable.css +4 -4
  184. package/components/Table/table-scrollable.scss +6 -4
  185. package/components/Table/table-tree-view.css +112 -105
  186. package/components/Table/table-tree-view.scss +38 -33
  187. package/components/Table/table.css +176 -159
  188. package/components/Table/table.scss +177 -165
  189. package/components/Tabs/tabs.css +76 -48
  190. package/components/Tabs/tabs.scss +74 -48
  191. package/components/TextInputGroup/text-input-group.css +15 -15
  192. package/components/TextInputGroup/text-input-group.scss +15 -15
  193. package/components/Tile/tile.css +10 -10
  194. package/components/Tile/tile.scss +10 -10
  195. package/components/Title/title.css +70 -19
  196. package/components/Title/title.scss +90 -20
  197. package/components/ToggleGroup/toggle-group.css +14 -11
  198. package/components/ToggleGroup/toggle-group.scss +14 -11
  199. package/components/Toolbar/toolbar.css +57 -44
  200. package/components/Toolbar/toolbar.scss +45 -26
  201. package/components/Tooltip/tooltip.css +76 -44
  202. package/components/Tooltip/tooltip.scss +93 -77
  203. package/components/TreeView/tree-view.css +48 -27
  204. package/components/TreeView/tree-view.scss +50 -28
  205. package/components/Truncate/truncate.css +9 -0
  206. package/components/Truncate/truncate.scss +16 -3
  207. package/components/Wizard/wizard.css +57 -36
  208. package/components/Wizard/wizard.scss +57 -36
  209. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  210. package/docs/components/Accordion/examples/Accordion.md +614 -416
  211. package/docs/components/Alert/examples/Alert.md +1 -1
  212. package/docs/components/Badge/examples/Badge.md +21 -0
  213. package/docs/components/Banner/examples/Banner.md +48 -25
  214. package/docs/components/Brand/examples/Brand.css +12 -0
  215. package/docs/components/Brand/examples/Brand.md +75 -32
  216. package/docs/components/Button/examples/Button.css +2 -2
  217. package/docs/components/Button/examples/Button.md +15 -3
  218. package/docs/components/Card/examples/Card.md +125 -17
  219. package/docs/components/Check/examples/Check.md +71 -59
  220. package/docs/components/Chip/examples/Chip.md +1 -1
  221. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  222. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  223. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  224. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  225. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  226. package/docs/components/ExpandableSection/examples/ExpandableSection.md +47 -24
  227. package/docs/components/Label/examples/Label.md +1 -1
  228. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  229. package/docs/components/LogViewer/examples/LogViewer.md +250 -160
  230. package/docs/components/Login/examples/Login.md +5 -0
  231. package/docs/components/Masthead/examples/masthead.md +7 -54
  232. package/docs/components/Menu/examples/Menu.css +8 -0
  233. package/docs/components/Menu/examples/Menu.md +594 -543
  234. package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
  235. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  236. package/docs/components/Nav/examples/Navigation.css +3 -25
  237. package/docs/components/Nav/examples/Navigation.md +239 -113
  238. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  239. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  240. package/docs/components/Page/examples/Page.css +0 -8
  241. package/docs/components/Page/examples/Page.md +22 -21
  242. package/docs/components/Popover/examples/Popover.css +4 -9
  243. package/docs/components/Popover/examples/Popover.md +1 -1
  244. package/docs/components/Radio/examples/Radio.md +63 -55
  245. package/docs/components/Select/deprecated/Select.md +184 -177
  246. package/docs/components/Table/examples/Table.css +2 -2
  247. package/docs/components/Table/examples/Table.md +2 -2
  248. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  249. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  250. package/docs/components/Tile/examples/Tile.css +1 -1
  251. package/docs/components/Title/examples/Title.md +18 -0
  252. package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
  253. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  254. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  255. package/docs/components/Truncate/examples/Truncate.md +2 -2
  256. package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
  257. package/docs/demos/Alert/examples/Alert.md +249 -24
  258. package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
  259. package/docs/demos/Banner/examples/Banner.md +168 -16
  260. package/docs/demos/Card/examples/Card.css +3 -3
  261. package/docs/demos/Card/examples/Card.md +28 -12
  262. package/docs/demos/CardView/examples/CardView.md +139 -79
  263. package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
  264. package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
  265. package/docs/demos/DataList/examples/DataList.md +524 -354
  266. package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
  267. package/docs/demos/Drawer/examples/Drawer.md +415 -40
  268. package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
  269. package/docs/demos/Masthead/examples/Masthead.md +793 -277
  270. package/docs/demos/Modal/examples/Modal.md +498 -48
  271. package/docs/demos/Nav/examples/Nav.md +664 -64
  272. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
  273. package/docs/demos/Page/examples/Page.md +747 -72
  274. package/docs/demos/Page/examples/Penta.md +746 -0
  275. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
  276. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
  277. package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
  278. package/docs/demos/Table/examples/Table.md +2313 -1887
  279. package/docs/demos/Tabs/examples/Tabs.md +528 -71
  280. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  281. package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
  282. package/docs/demos/Wizard/examples/Wizard.md +747 -72
  283. package/docs/layouts/Flex/examples/Flex.md +5 -5
  284. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  285. package/icons/pficons.mjs +1 -0
  286. package/layouts/Flex/flex.css +115 -43
  287. package/layouts/Flex/flex.scss +20 -8
  288. package/package.json +9 -5
  289. package/patternfly-addons.css +732 -972
  290. package/patternfly-base-no-globals-theme-dark-unversioned.css +921 -784
  291. package/patternfly-base-no-globals.css +921 -784
  292. package/patternfly-base-theme-dark-unversioned.css +926 -789
  293. package/patternfly-base.css +926 -789
  294. package/patternfly-no-globals.css +4838 -4253
  295. package/patternfly-theme-dark-unversioned.css +4843 -4258
  296. package/patternfly.css +4843 -4258
  297. package/patternfly.min.css +1 -1
  298. package/patternfly.min.css.map +1 -1
  299. package/sass-utilities/functions.scss +6 -0
  300. package/sass-utilities/mixins.scss +62 -2
  301. package/sass-utilities/scss-variables.scss +8 -8
  302. package/sass-utilities/themes/dark/mixins.scss +3 -1
  303. package/utilities/Accessibility/accessibility.css +12 -12
  304. package/utilities/Spacing/spacing.css +720 -960
  305. package/utilities/Spacing/spacing.scss +4 -8
  306. package/base/themes/dark/_variables.scss +0 -102
  307. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  308. package/components/Accordion/themes/dark/accordion.scss +0 -9
  309. package/components/Alert/themes/dark/alert.scss +0 -17
  310. package/components/Badge/themes/dark/badge.scss +0 -9
  311. package/components/Banner/themes/dark/banner.scss +0 -14
  312. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  313. package/components/Hint/themes/dark/hint.scss +0 -8
  314. package/components/Login/themes/dark/login.scss +0 -12
  315. package/components/Masthead/themes/dark/masthead.scss +0 -14
  316. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  317. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  318. package/components/Page/themes/dark/page.scss +0 -69
  319. package/components/Popover/themes/dark/popover.scss +0 -11
  320. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  321. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -2,14 +2,12 @@
2
2
  id: Notification badge
3
3
  section: components
4
4
  cssPrefix: pf-v5-c-notification-badge
5
- ---import './NotificationBadge.css'
6
-
7
- ## Examples
5
+ ---## Examples
8
6
 
9
7
  ### Basic
10
8
 
11
9
  ```html
12
- <div class="pf-v5-t-dark">
10
+ <div>
13
11
  <button
14
12
  class="pf-v5-c-button pf-m-plain"
15
13
  type="button"
@@ -69,7 +67,7 @@ cssPrefix: pf-v5-c-notification-badge
69
67
  ### With count
70
68
 
71
69
  ```html
72
- <div class="pf-v5-t-dark">
70
+ <div>
73
71
  <button
74
72
  class="pf-v5-c-button pf-m-plain"
75
73
  type="button"
@@ -135,7 +133,7 @@ cssPrefix: pf-v5-c-notification-badge
135
133
  ### Expanded
136
134
 
137
135
  ```html
138
- <div class="pf-v5-t-dark">
136
+ <div>
139
137
  <button
140
138
  class="pf-v5-c-button pf-m-plain"
141
139
  type="button"
@@ -206,7 +204,7 @@ cssPrefix: pf-v5-c-notification-badge
206
204
 
207
205
  ### Overview
208
206
 
209
- Always add a modifier class to indicate read, unread, or attention state. Never use the class `.pf-v5-c-notification-badge` on its own. This component is designed to be used within a dark component such as the [masthead](/components/masthead).
207
+ Always add a modifier class to indicate read, unread, or attention state. Never use the class `.pf-v5-c-notification-badge` on its own.
210
208
 
211
209
  ### Accessibility
212
210
 
@@ -314,7 +314,10 @@ deprecated: true
314
314
  disabled
315
315
  aria-label="Sort by"
316
316
  >
317
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
317
+ <i
318
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
319
+ aria-hidden="true"
320
+ ></i>
318
321
  </button>
319
322
  <ul
320
323
  class="pf-v5-c-options-menu__menu"
@@ -360,7 +363,10 @@ deprecated: true
360
363
  aria-expanded="false"
361
364
  aria-label="Sort by"
362
365
  >
363
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
366
+ <i
367
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
368
+ aria-hidden="true"
369
+ ></i>
364
370
  </button>
365
371
  <ul
366
372
  class="pf-v5-c-options-menu__menu"
@@ -406,7 +412,10 @@ deprecated: true
406
412
  aria-expanded="true"
407
413
  aria-label="Sort by"
408
414
  >
409
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
415
+ <i
416
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
417
+ aria-hidden="true"
418
+ ></i>
410
419
  </button>
411
420
  <ul
412
421
  class="pf-v5-c-options-menu__menu"
@@ -1,11 +1,3 @@
1
- .ws-core-c-page :is(.pf-v5-c-page__sidebar, .pf-v5-c-page__main-subnav) {
2
- color: var(--pf-v5-global--Color--light-100);
3
- }
4
-
5
- .ws-core-c-page .pf-v5-c-page__main-section.pf-m-dark-200 {
6
- color: var(--pf-v5-global--Color--dark-100);
7
- }
8
-
9
1
  #ws-core-c-page-with-or-without-fill .ws-preview-html,
10
2
  #ws-core-c-page-multiple-sidebar-body-elements-padding-and-fill .ws-preview-html {
11
3
  height: 500px;
@@ -32,20 +32,14 @@ wrapperTag: div
32
32
  <div class="pf-v5-c-page__sidebar-body">Navigation</div>
33
33
  </div>
34
34
  <main class="pf-v5-c-page__main" tabindex="-1">
35
- <section class="pf-v5-c-page__main-section pf-m-dark-100">
36
- This
37
- <code>.pf-v5-c-page__main-section</code> uses
38
- <code>.pf-m-dark-100</code>.
39
- </section>
40
- <section class="pf-v5-c-page__main-section pf-m-dark-200">
41
- This
42
- <code>.pf-v5-c-page__main-section</code> uses
43
- <code>.pf-m-dark-200</code>.
35
+ <section class="pf-v5-c-page__main-section">
36
+ This is a default
37
+ <code>.pf-v5-c-page__main-section</code>.
44
38
  </section>
45
- <section class="pf-v5-c-page__main-section pf-m-light">
39
+ <section class="pf-v5-c-page__main-section pf-m-secondary">
46
40
  This
47
41
  <code>.pf-v5-c-page__main-section</code> uses
48
- <code>.pf-m-light</code>.
42
+ <code>.pf-m-secondary</code>.
49
43
  </section>
50
44
  <section class="pf-v5-c-page__main-section">
51
45
  This is a default
@@ -78,10 +72,19 @@ wrapperTag: div
78
72
  </div>
79
73
  </header>
80
74
  <main class="pf-v5-c-page__main" tabindex="-1">
81
- <section class="pf-v5-c-page__main-section pf-m-dark-100"></section>
82
- <section class="pf-v5-c-page__main-section pf-m-dark-200"></section>
83
- <section class="pf-v5-c-page__main-section pf-m-light"></section>
84
- <section class="pf-v5-c-page__main-section"></section>
75
+ <section class="pf-v5-c-page__main-section">
76
+ This is a default
77
+ <code>.pf-v5-c-page__main-section</code>.
78
+ </section>
79
+ <section class="pf-v5-c-page__main-section pf-m-secondary">
80
+ This
81
+ <code>.pf-v5-c-page__main-section</code> uses
82
+ <code>.pf-m-secondary</code>.
83
+ </section>
84
+ <section class="pf-v5-c-page__main-section">
85
+ This is a default
86
+ <code>.pf-v5-c-page__main-section</code>.
87
+ </section>
85
88
  </main>
86
89
  </div>
87
90
 
@@ -116,7 +119,7 @@ wrapperTag: div
116
119
  <div class="pf-v5-c-page__sidebar-body pf-m-page-insets">footer content</div>
117
120
  </div>
118
121
  <main class="pf-v5-c-page__main" tabindex="-1">
119
- <section class="pf-v5-c-page__main-section pf-m-light"></section>
122
+ <section class="pf-v5-c-page__main-section"></section>
120
123
  </main>
121
124
  </div>
122
125
 
@@ -144,14 +147,12 @@ wrapperTag: div
144
147
  </div>
145
148
  </header>
146
149
  <main class="pf-v5-c-page__main" tabindex="-1">
147
- <section
148
- class="pf-v5-c-page__main-section pf-m-light"
149
- >A regular page section.</section>
150
+ <section class="pf-v5-c-page__main-section">A regular page section.</section>
150
151
  <section class="pf-v5-c-page__main-section pf-m-fill">
151
152
  This section uses
152
153
  <code>.pf-m-fill</code> to fill the available space.
153
154
  </section>
154
- <section class="pf-v5-c-page__main-section pf-m-light pf-m-no-fill">
155
+ <section class="pf-v5-c-page__main-section pf-m-no-fill">
155
156
  This section uses
156
157
  <code>.pf-m-no-fill</code> to not fill the available space.
157
158
  </section>
@@ -189,7 +190,7 @@ wrapperTag: div
189
190
  This
190
191
  <code>.pf-v5-c-page__main-section</code> has default padding.
191
192
  </section>
192
- <section class="pf-v5-c-page__main-section pf-m-no-padding pf-m-light">
193
+ <section class="pf-v5-c-page__main-section pf-m-no-padding">
193
194
  This
194
195
  <code>.pf-v5-c-page__main-section</code> uses
195
196
  <code>.pf-m-no-padding</code> to remove all padding.
@@ -1,10 +1,5 @@
1
1
  .ws-core-c-popover .ws-preview-html {
2
- position: relative;
3
- }
4
-
5
- .ws-core-c-popover .pf-v5-c-popover {
6
- position: absolute;
7
- top: 50%;
8
- left: 50%;
9
- transform: translate(-50%, -50%);
10
- }
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ }
@@ -339,7 +339,7 @@ cssPrefix: pf-v5-c-popover
339
339
  <div
340
340
  class="pf-v5-c-popover__body"
341
341
  id="popover-no-padding-body"
342
- >This popover has no padding and is intended for use with content that has its own spacing and should touch the edges of the popover container.</div>
342
+ >This popover has no padding itself. Instead it is intended for use with content that has its own padding that prevents it from touching the popover container's edges.</div>
343
343
  </div>
344
344
  </div>
345
345
 
@@ -8,15 +8,17 @@ cssPrefix: pf-v5-c-radio
8
8
  ### Basic
9
9
 
10
10
  ```html
11
- <div class="pf-v5-c-radio">
11
+ <div class="pf-v5-c-radio" id="radio-basic-example">
12
12
  <input
13
13
  class="pf-v5-c-radio__input"
14
14
  type="radio"
15
- id="radio-simple"
16
- name="exampleRadioSimple"
15
+ id="radio-basic-example-input"
16
+ name="radio-basic-example-input"
17
17
  />
18
-
19
- <label class="pf-v5-c-radio__label" for="radio-simple">Radio</label>
18
+ <label
19
+ class="pf-v5-c-radio__label"
20
+ for="radio-basic-example-input"
21
+ >Basic radio</label>
20
22
  </div>
21
23
 
22
24
  ```
@@ -24,16 +26,18 @@ cssPrefix: pf-v5-c-radio
24
26
  ### Checked
25
27
 
26
28
  ```html
27
- <div class="pf-v5-c-radio">
29
+ <div class="pf-v5-c-radio" id="radio-checked-example">
28
30
  <input
29
31
  class="pf-v5-c-radio__input"
30
32
  type="radio"
31
- id="radio-checked"
32
- name="exampleRadioChecked"
33
+ id="radio-checked-example-input"
34
+ name="radio-checked-example-input"
33
35
  checked
34
36
  />
35
-
36
- <label class="pf-v5-c-radio__label" for="radio-checked">Radio checked</label>
37
+ <label
38
+ class="pf-v5-c-radio__label"
39
+ for="radio-checked-example-input"
40
+ >Radio checked</label>
37
41
  </div>
38
42
 
39
43
  ```
@@ -41,14 +45,17 @@ cssPrefix: pf-v5-c-radio
41
45
  ### Label wrapping input
42
46
 
43
47
  ```html
44
- <label class="pf-v5-c-radio" for="radio-wrap">
48
+ <label
49
+ class="pf-v5-c-radio"
50
+ id="radio-label-wrapping-input-example"
51
+ for="radio-label-wrapping-input-example-input"
52
+ >
45
53
  <input
46
54
  class="pf-v5-c-radio__input"
47
55
  type="radio"
48
- id="radio-wrap"
49
- name="exampleRadioWrap"
56
+ id="radio-label-wrapping-input-example-input"
57
+ name="radio-label-wrapping-input-example-input"
50
58
  />
51
-
52
59
  <span class="pf-v5-c-radio__label">Radio label wraps input</span>
53
60
  </label>
54
61
 
@@ -57,14 +64,16 @@ cssPrefix: pf-v5-c-radio
57
64
  ### Reversed
58
65
 
59
66
  ```html
60
- <div class="pf-v5-c-radio">
61
- <label class="pf-v5-c-radio__label" for="radio-rev">Radio reversed</label>
62
-
67
+ <div class="pf-v5-c-radio" id="radio-reversed-example">
68
+ <label
69
+ class="pf-v5-c-radio__label"
70
+ for="radio-reversed-example-input"
71
+ >Radio reversed</label>
63
72
  <input
64
73
  class="pf-v5-c-radio__input"
65
74
  type="radio"
66
- id="radio-rev"
67
- name="exampleRadioReversed"
75
+ id="radio-reversed-example-input"
76
+ name="radio-reversed-example-input"
68
77
  />
69
78
  </div>
70
79
 
@@ -73,35 +82,32 @@ cssPrefix: pf-v5-c-radio
73
82
  ### Disabled
74
83
 
75
84
  ```html
76
- <div class="pf-v5-c-radio">
85
+ <div class="pf-v5-c-radio" id="radio-disabled-example">
77
86
  <input
78
87
  class="pf-v5-c-radio__input"
79
88
  type="radio"
80
- id="radio-disabled"
81
- name="exampleRadioDisabled"
89
+ id="radio-disabled-example-input"
90
+ name="radio-disabled-example-input"
82
91
  disabled
83
92
  />
84
-
85
93
  <label
86
94
  class="pf-v5-c-radio__label pf-m-disabled"
87
- for="radio-disabled"
95
+ for="radio-disabled-example-input"
88
96
  >Radio disabled</label>
89
97
  </div>
90
-
91
- <div class="pf-v5-c-radio">
98
+ <div class="pf-v5-c-radio" id="radio-disabled-checked-example">
92
99
  <input
93
100
  class="pf-v5-c-radio__input"
94
101
  type="radio"
95
- id="radio-disabled-checked"
96
- name="exampleRadioDisabledChecked"
97
- disabled
102
+ id="radio-disabled-checked-example-input"
103
+ name="radio-disabled-checked-example-input"
98
104
  checked
105
+ disabled
99
106
  />
100
-
101
107
  <label
102
108
  class="pf-v5-c-radio__label pf-m-disabled"
103
- for="radio-disabled-checked"
104
- >Radio disabled checked</label>
109
+ for="radio-disabled-checked-example-input"
110
+ >Radio disabled</label>
105
111
  </div>
106
112
 
107
113
  ```
@@ -109,21 +115,21 @@ cssPrefix: pf-v5-c-radio
109
115
  ### With description
110
116
 
111
117
  ```html
112
- <div class="pf-v5-c-radio">
118
+ <div class="pf-v5-c-radio" id="radio-with-description-exmaple">
113
119
  <input
114
120
  class="pf-v5-c-radio__input"
115
121
  type="radio"
116
- id="radio-description"
117
- name="exampleRadioDescription"
122
+ aria-describedby="radio-with-description-exmaple-description"
123
+ id="radio-with-description-exmaple-input"
124
+ name="radio-with-description-exmaple-input"
118
125
  />
119
-
120
126
  <label
121
127
  class="pf-v5-c-radio__label"
122
- for="radio-description"
128
+ for="radio-with-description-exmaple-input"
123
129
  >Radio with description</label>
124
-
125
130
  <span
126
131
  class="pf-v5-c-radio__description"
132
+ id="radio-with-description-exmaple-description"
127
133
  >Single-tenant cloud service hosted and managed by Red Hat that offers high-availability enterprise-grade clusters in a virtual private cloud on AWS od GCP.</span>
128
134
  </div>
129
135
 
@@ -132,16 +138,17 @@ cssPrefix: pf-v5-c-radio
132
138
  ### With body
133
139
 
134
140
  ```html
135
- <div class="pf-v5-c-radio">
141
+ <div class="pf-v5-c-radio" id="radio-with-body-example">
136
142
  <input
137
143
  class="pf-v5-c-radio__input"
138
144
  type="radio"
139
- id="radio-body"
140
- name="exampleRadioBody"
145
+ id="radio-with-body-example-input"
146
+ name="radio-with-body-example-input"
141
147
  />
142
-
143
- <label class="pf-v5-c-radio__label" for="radio-body">Radio with body</label>
144
-
148
+ <label
149
+ class="pf-v5-c-radio__label"
150
+ for="radio-with-body-example-input"
151
+ >Radio with body</label>
145
152
  <span class="pf-v5-c-radio__body">This is where custom content goes.</span>
146
153
  </div>
147
154
 
@@ -150,21 +157,21 @@ cssPrefix: pf-v5-c-radio
150
157
  ### With description and body
151
158
 
152
159
  ```html
153
- <div class="pf-v5-c-radio">
160
+ <div class="pf-v5-c-radio" id="radio-with-description-body-example">
154
161
  <input
155
162
  class="pf-v5-c-radio__input"
156
163
  type="radio"
157
- id="radio-description-body"
158
- name="exampleRadioDescriptionBody"
164
+ aria-describedby="radio-with-description-body-example-description"
165
+ id="radio-with-description-body-example-input"
166
+ name="radio-with-description-body-example-input"
159
167
  />
160
-
161
168
  <label
162
169
  class="pf-v5-c-radio__label"
163
- for="radio-description-body"
170
+ for="radio-with-description-body-example-input"
164
171
  >Radio with description and body</label>
165
-
166
172
  <span
167
173
  class="pf-v5-c-radio__description"
174
+ id="radio-with-description-body-example-description"
168
175
  >Single-tenant cloud service hosted and managed by Red Hat that offers high-availability enterprise-grade clusters in a virtual private cloud on AWS od GCP.</span>
169
176
  <span class="pf-v5-c-radio__body">This is where custom content goes.</span>
170
177
  </div>
@@ -174,15 +181,15 @@ cssPrefix: pf-v5-c-radio
174
181
  ### Standalone input
175
182
 
176
183
  ```html
177
- <div class="pf-v5-c-radio pf-m-standalone">
184
+ <label class="pf-v5-c-radio pf-m-standalone" id="radio-standalon-input-example">
178
185
  <input
179
186
  class="pf-v5-c-radio__input"
180
187
  type="radio"
181
- id="radio-standalone"
182
- name="exampleRadioStandalone"
183
- aria-label="Standalone input"
188
+ id="radio-standalon-input-example-input"
189
+ name="radio-standalon-input-example-input"
190
+ aria-label="Standalone radio"
184
191
  />
185
- </div>
192
+ </label>
186
193
 
187
194
  ```
188
195
 
@@ -199,6 +206,7 @@ If you extend this component or modify the styles of this component, then make s
199
206
  | Attribute | Applied to | Outcome |
200
207
  | -- | -- | -- |
201
208
  | `disabled` | `<input type="radio">` | Indicates that the element is unavailable and removes it from keyboard focus. **Required when input is disabled** |
209
+ | `aria-describedby` | `.pf-v5-c-radio__input` | When using `.pf-v5-c-radio__description` make use of this on the input. |
202
210
 
203
211
  ### Usage
204
212