@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.9

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 (260) hide show
  1. package/README.md +13 -3
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  4. package/assets/pficon/pficon.scss +6 -129
  5. package/base/_common.scss +21 -0
  6. package/base/_globals.scss +1 -1
  7. package/base/_variables.scss +7 -0
  8. package/base/patternfly-common.css +16 -2
  9. package/base/patternfly-globals.css +1 -1
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/base/patternfly-variables.css +16 -0
  13. package/base/tokens/_tokens-font.scss +16 -14
  14. package/components/AboutModalBox/about-modal-box.css +23 -12
  15. package/components/AboutModalBox/about-modal-box.scss +25 -12
  16. package/components/Accordion/accordion.css +33 -20
  17. package/components/Accordion/accordion.scss +32 -20
  18. package/components/ActionList/action-list.css +2 -2
  19. package/components/ActionList/action-list.scss +2 -2
  20. package/components/Alert/alert-group.css +7 -4
  21. package/components/Alert/alert-group.scss +7 -4
  22. package/components/Alert/alert.css +19 -13
  23. package/components/Alert/alert.scss +18 -13
  24. package/components/AppLauncher/app-launcher.css +32 -23
  25. package/components/AppLauncher/app-launcher.scss +32 -23
  26. package/components/BackToTop/back-to-top.css +2 -2
  27. package/components/BackToTop/back-to-top.scss +2 -2
  28. package/components/Backdrop/backdrop.css +2 -2
  29. package/components/Backdrop/backdrop.scss +2 -2
  30. package/components/BackgroundImage/background-image.css +6 -3
  31. package/components/BackgroundImage/background-image.scss +8 -3
  32. package/components/Badge/badge.css +2 -2
  33. package/components/Badge/badge.scss +2 -2
  34. package/components/Banner/banner.css +5 -5
  35. package/components/Banner/banner.scss +5 -2
  36. package/components/Breadcrumb/breadcrumb.css +9 -3
  37. package/components/Breadcrumb/breadcrumb.scss +8 -3
  38. package/components/Button/button.css +33 -21
  39. package/components/Button/button.scss +35 -23
  40. package/components/Button/themes/dark/button.scss +1 -1
  41. package/components/CalendarMonth/calendar-month.css +25 -15
  42. package/components/CalendarMonth/calendar-month.scss +23 -15
  43. package/components/Card/card.css +25 -17
  44. package/components/Card/card.scss +24 -17
  45. package/components/Check/check.css +2 -2
  46. package/components/Check/check.scss +2 -2
  47. package/components/Chip/chip-group.css +6 -6
  48. package/components/Chip/chip-group.scss +6 -6
  49. package/components/Chip/chip.css +16 -9
  50. package/components/Chip/chip.scss +17 -9
  51. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  52. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  53. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  54. package/components/CodeBlock/code-block.css +6 -3
  55. package/components/CodeBlock/code-block.scss +6 -3
  56. package/components/CodeEditor/code-editor.css +31 -22
  57. package/components/CodeEditor/code-editor.scss +30 -21
  58. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  59. package/components/Content/content.css +33 -30
  60. package/components/Content/content.scss +33 -30
  61. package/components/ContextSelector/context-selector.css +41 -26
  62. package/components/ContextSelector/context-selector.scss +40 -25
  63. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  64. package/components/DataList/data-list-grid.css +21 -21
  65. package/components/DataList/data-list-grid.scss +3 -3
  66. package/components/DataList/data-list.css +69 -56
  67. package/components/DataList/data-list.scss +47 -35
  68. package/components/DatePicker/date-picker.css +8 -8
  69. package/components/DatePicker/date-picker.scss +8 -8
  70. package/components/DescriptionList/description-list.css +8 -5
  71. package/components/DescriptionList/description-list.scss +8 -5
  72. package/components/DragDrop/drag-drop.css +8 -8
  73. package/components/DragDrop/drag-drop.scss +8 -8
  74. package/components/Drawer/drawer.css +120 -61
  75. package/components/Drawer/drawer.scss +92 -43
  76. package/components/Dropdown/dropdown.css +75 -66
  77. package/components/Dropdown/dropdown.scss +65 -56
  78. package/components/DualListSelector/dual-list-selector.css +29 -15
  79. package/components/DualListSelector/dual-list-selector.scss +30 -15
  80. package/components/EmptyState/empty-state.css +7 -4
  81. package/components/EmptyState/empty-state.scss +7 -4
  82. package/components/ExpandableSection/expandable-section.css +17 -10
  83. package/components/ExpandableSection/expandable-section.scss +15 -10
  84. package/components/FileUpload/file-upload.css +9 -15
  85. package/components/FileUpload/file-upload.scss +9 -15
  86. package/components/Form/form.css +53 -50
  87. package/components/Form/form.scss +46 -44
  88. package/components/FormControl/form-control.css +18 -9
  89. package/components/FormControl/form-control.scss +18 -9
  90. package/components/HelperText/helper-text.css +1 -1
  91. package/components/HelperText/helper-text.scss +1 -1
  92. package/components/Hint/hint.css +9 -6
  93. package/components/Hint/hint.scss +9 -6
  94. package/components/Icon/icon.css +1 -1
  95. package/components/Icon/icon.scss +1 -1
  96. package/components/InlineEdit/inline-edit.css +4 -4
  97. package/components/InlineEdit/inline-edit.scss +4 -4
  98. package/components/InputGroup/input-group.css +12 -6
  99. package/components/InputGroup/input-group.scss +11 -5
  100. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  101. package/components/JumpLinks/jump-links.css +27 -24
  102. package/components/JumpLinks/jump-links.scss +26 -24
  103. package/components/Label/label-group.css +13 -10
  104. package/components/Label/label-group.scss +13 -10
  105. package/components/Label/label.css +9 -9
  106. package/components/Label/label.scss +9 -9
  107. package/components/List/list.css +9 -9
  108. package/components/List/list.scss +9 -9
  109. package/components/LogViewer/log-viewer.css +14 -14
  110. package/components/LogViewer/log-viewer.scss +14 -14
  111. package/components/Login/login.css +36 -27
  112. package/components/Login/login.scss +36 -27
  113. package/components/Masthead/masthead.css +19 -22
  114. package/components/Masthead/masthead.scss +19 -22
  115. package/components/Menu/menu.css +79 -65
  116. package/components/Menu/menu.scss +80 -68
  117. package/components/MenuToggle/menu-toggle.css +33 -27
  118. package/components/MenuToggle/menu-toggle.scss +33 -27
  119. package/components/ModalBox/modal-box.css +19 -19
  120. package/components/ModalBox/modal-box.scss +20 -20
  121. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  122. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  123. package/components/Nav/nav.css +120 -93
  124. package/components/Nav/nav.scss +120 -93
  125. package/components/Nav/themes/dark/nav.scss +2 -2
  126. package/components/NotificationBadge/notification-badge.css +66 -85
  127. package/components/NotificationBadge/notification-badge.scss +72 -103
  128. package/components/NotificationDrawer/notification-drawer.css +32 -19
  129. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  130. package/components/NumberInput/number-input.css +2 -2
  131. package/components/NumberInput/number-input.scss +2 -2
  132. package/components/OptionsMenu/options-menu.css +43 -31
  133. package/components/OptionsMenu/options-menu.scss +43 -31
  134. package/components/OverflowMenu/overflow-menu.css +2 -2
  135. package/components/OverflowMenu/overflow-menu.scss +2 -2
  136. package/components/Page/page.css +135 -77
  137. package/components/Page/page.scss +81 -52
  138. package/components/Page/themes/dark/page.scss +1 -1
  139. package/components/Pagination/pagination.css +27 -17
  140. package/components/Pagination/pagination.scss +25 -17
  141. package/components/Panel/panel.css +13 -7
  142. package/components/Panel/panel.scss +13 -7
  143. package/components/Popover/popover.css +72 -40
  144. package/components/Popover/popover.scss +95 -75
  145. package/components/Progress/progress.css +9 -7
  146. package/components/Progress/progress.scss +12 -7
  147. package/components/ProgressStepper/progress-stepper.css +26 -20
  148. package/components/ProgressStepper/progress-stepper.scss +25 -19
  149. package/components/Radio/radio.css +3 -3
  150. package/components/Radio/radio.scss +3 -3
  151. package/components/Select/select.css +56 -47
  152. package/components/Select/select.scss +56 -47
  153. package/components/Sidebar/sidebar.css +11 -5
  154. package/components/Sidebar/sidebar.scss +11 -5
  155. package/components/SimpleList/simple-list.css +10 -4
  156. package/components/SimpleList/simple-list.scss +10 -4
  157. package/components/Skeleton/skeleton.css +6 -5
  158. package/components/Skeleton/skeleton.scss +4 -5
  159. package/components/SkipToContent/skip-to-content.css +3 -3
  160. package/components/SkipToContent/skip-to-content.scss +3 -3
  161. package/components/Slider/slider.css +47 -26
  162. package/components/Slider/slider.scss +56 -28
  163. package/components/Switch/switch.css +9 -5
  164. package/components/Switch/switch.scss +10 -6
  165. package/components/TabContent/tab-content.css +4 -1
  166. package/components/TabContent/tab-content.scss +4 -1
  167. package/components/Table/table-grid.css +256 -195
  168. package/components/Table/table-grid.scss +53 -39
  169. package/components/Table/table-scrollable.css +4 -4
  170. package/components/Table/table-scrollable.scss +6 -4
  171. package/components/Table/table-tree-view.css +112 -105
  172. package/components/Table/table-tree-view.scss +38 -33
  173. package/components/Table/table.css +92 -70
  174. package/components/Table/table.scss +90 -70
  175. package/components/Tabs/tabs.css +76 -48
  176. package/components/Tabs/tabs.scss +74 -48
  177. package/components/TextInputGroup/text-input-group.css +15 -15
  178. package/components/TextInputGroup/text-input-group.scss +15 -15
  179. package/components/Tile/tile.css +10 -10
  180. package/components/Tile/tile.scss +10 -10
  181. package/components/ToggleGroup/toggle-group.css +14 -11
  182. package/components/ToggleGroup/toggle-group.scss +14 -11
  183. package/components/Toolbar/toolbar.css +44 -41
  184. package/components/Toolbar/toolbar.scss +26 -21
  185. package/components/Tooltip/tooltip.css +60 -28
  186. package/components/Tooltip/tooltip.scss +76 -56
  187. package/components/TreeView/tree-view.css +48 -27
  188. package/components/TreeView/tree-view.scss +50 -28
  189. package/components/Truncate/truncate.css +9 -0
  190. package/components/Truncate/truncate.scss +16 -3
  191. package/components/Wizard/wizard.css +57 -36
  192. package/components/Wizard/wizard.scss +57 -36
  193. package/docs/components/Button/examples/Button.css +2 -2
  194. package/docs/components/Button/examples/Button.md +15 -3
  195. package/docs/components/Card/examples/Card.md +15 -15
  196. package/docs/components/Check/examples/Check.md +71 -59
  197. package/docs/components/Chip/examples/Chip.md +1 -1
  198. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  199. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  200. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  201. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  202. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  203. package/docs/components/Label/examples/Label.md +1 -1
  204. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  205. package/docs/components/LogViewer/examples/LogViewer.md +120 -30
  206. package/docs/components/Menu/examples/Menu.css +8 -0
  207. package/docs/components/Menu/examples/Menu.md +90 -73
  208. package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
  209. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  210. package/docs/components/Nav/examples/Navigation.css +4 -21
  211. package/docs/components/Nav/examples/Navigation.md +99 -0
  212. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  213. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  214. package/docs/components/Popover/examples/Popover.css +4 -9
  215. package/docs/components/Radio/examples/Radio.md +63 -55
  216. package/docs/components/Select/deprecated/Select.md +184 -177
  217. package/docs/components/Table/examples/Table.css +2 -2
  218. package/docs/components/Table/examples/Table.md +2 -2
  219. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  220. package/docs/components/Tile/examples/Tile.css +1 -1
  221. package/docs/components/Toolbar/examples/Toolbar.md +525 -431
  222. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  223. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  224. package/docs/components/Truncate/examples/Truncate.md +2 -2
  225. package/docs/demos/Card/examples/Card.css +3 -3
  226. package/docs/demos/Card/examples/Card.md +26 -10
  227. package/docs/demos/CardView/examples/CardView.md +24 -20
  228. package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
  229. package/docs/demos/DataList/examples/DataList.md +8 -2
  230. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
  231. package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
  232. package/docs/demos/Table/examples/Table.md +336 -252
  233. package/docs/demos/Tabs/examples/Tabs.md +28 -21
  234. package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
  235. package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
  236. package/docs/layouts/Flex/examples/Flex.md +5 -5
  237. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  238. package/icons/pficons.mjs +1 -0
  239. package/layouts/Flex/flex.css +115 -43
  240. package/layouts/Flex/flex.scss +20 -8
  241. package/package.json +9 -5
  242. package/patternfly-addons.css +732 -972
  243. package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
  244. package/patternfly-base-no-globals.css +37 -3
  245. package/patternfly-base-theme-dark-unversioned.css +38 -4
  246. package/patternfly-base.css +38 -4
  247. package/patternfly-no-globals.css +2748 -1960
  248. package/patternfly-theme-dark-unversioned.css +2749 -1961
  249. package/patternfly.css +2749 -1961
  250. package/patternfly.min.css +1 -1
  251. package/patternfly.min.css.map +1 -1
  252. package/sass-utilities/functions.scss +6 -0
  253. package/sass-utilities/mixins.scss +62 -2
  254. package/sass-utilities/scss-variables.scss +8 -8
  255. package/sass-utilities/themes/dark/mixins.scss +3 -1
  256. package/utilities/Accessibility/accessibility.css +12 -12
  257. package/utilities/Spacing/spacing.css +720 -960
  258. package/utilities/Spacing/spacing.scss +4 -8
  259. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  260. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -275,14 +275,18 @@ cssPrefix: pf-v5-c-menu-toggle
275
275
 
276
276
  ```html
277
277
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled">
278
- <label class="pf-v5-c-check pf-m-standalone">
278
+ <label
279
+ class="pf-v5-c-check pf-m-standalone"
280
+ id="split-button-checkbox-disabled-example-check"
281
+ for="split-button-checkbox-disabled-example-check-input"
282
+ >
279
283
  <input
280
284
  class="pf-v5-c-check__input"
281
285
  type="checkbox"
286
+ id="split-button-checkbox-disabled-example-check-input"
287
+ name="split-button-checkbox-disabled-example-check-input"
288
+ aria-label="Standalone check"
282
289
  disabled
283
- id="split-button-checkbox-disabled-example-input"
284
- name="split-button-checkbox-disabled-example-input"
285
- aria-label="Standalone input"
286
290
  />
287
291
  </label>
288
292
  <button
@@ -302,13 +306,17 @@ cssPrefix: pf-v5-c-menu-toggle
302
306
  </div>
303
307
  &nbsp;
304
308
  <div class="pf-v5-c-menu-toggle pf-m-split-button">
305
- <label class="pf-v5-c-check pf-m-standalone">
309
+ <label
310
+ class="pf-v5-c-check pf-m-standalone"
311
+ id="split-button-checkbox-example-check"
312
+ for="split-button-checkbox-example-check-input"
313
+ >
306
314
  <input
307
315
  class="pf-v5-c-check__input"
308
316
  type="checkbox"
309
- id="split-button-checkbox-example-input"
310
- name="split-button-checkbox-example-input"
311
- aria-label="Standalone input"
317
+ id="split-button-checkbox-example-check-input"
318
+ name="split-button-checkbox-example-check-input"
319
+ aria-label="Standalone check"
312
320
  />
313
321
  </label>
314
322
  <button
@@ -327,13 +335,17 @@ cssPrefix: pf-v5-c-menu-toggle
327
335
  </div>
328
336
  &nbsp;
329
337
  <div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button">
330
- <label class="pf-v5-c-check pf-m-standalone">
338
+ <label
339
+ class="pf-v5-c-check pf-m-standalone"
340
+ id="split-button-checkbox-expanded-example-check"
341
+ for="split-button-checkbox-expanded-example-check-input"
342
+ >
331
343
  <input
332
344
  class="pf-v5-c-check__input"
333
345
  type="checkbox"
334
- id="split-button-checkbox-expanded-example-input"
335
- name="split-button-checkbox-expanded-example-input"
336
- aria-label="Standalone input"
346
+ id="split-button-checkbox-expanded-example-check-input"
347
+ name="split-button-checkbox-expanded-example-check-input"
348
+ aria-label="Standalone check"
337
349
  />
338
350
  </label>
339
351
  <button
@@ -359,14 +371,15 @@ cssPrefix: pf-v5-c-menu-toggle
359
371
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled">
360
372
  <label
361
373
  class="pf-v5-c-check"
362
- for="split-button-checkbox-with-toggle-text-disabled-example-input"
374
+ id="split-button-checkbox-with-toggle-text-disabled-example-check"
375
+ for="split-button-checkbox-with-toggle-text-disabled-example-check-input"
363
376
  >
364
377
  <input
365
378
  class="pf-v5-c-check__input"
366
379
  type="checkbox"
380
+ id="split-button-checkbox-with-toggle-text-disabled-example-check-input"
381
+ name="split-button-checkbox-with-toggle-text-disabled-example-check-input"
367
382
  disabled
368
- id="split-button-checkbox-with-toggle-text-disabled-example-input"
369
- name="split-button-checkbox-with-toggle-text-disabled-example-input"
370
383
  />
371
384
  <span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
372
385
  </label>
@@ -389,13 +402,14 @@ cssPrefix: pf-v5-c-menu-toggle
389
402
  <div class="pf-v5-c-menu-toggle pf-m-split-button">
390
403
  <label
391
404
  class="pf-v5-c-check"
392
- for="split-button-checkbox-with-toggle-text-example-input"
405
+ id="split-button-checkbox-with-toggle-text-example-check"
406
+ for="split-button-checkbox-with-toggle-text-example-check-input"
393
407
  >
394
408
  <input
395
409
  class="pf-v5-c-check__input"
396
410
  type="checkbox"
397
- id="split-button-checkbox-with-toggle-text-example-input"
398
- name="split-button-checkbox-with-toggle-text-example-input"
411
+ id="split-button-checkbox-with-toggle-text-example-check-input"
412
+ name="split-button-checkbox-with-toggle-text-example-check-input"
399
413
  />
400
414
  <span class="pf-v5-c-check__label">10 selected</span>
401
415
  </label>
@@ -417,13 +431,14 @@ cssPrefix: pf-v5-c-menu-toggle
417
431
  <div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button">
418
432
  <label
419
433
  class="pf-v5-c-check"
420
- for="split-button-checkbox-with-toggle-text-expanded-example-input"
434
+ id="split-button-checkbox-with-toggle-text-expanded-example-check"
435
+ for="split-button-checkbox-with-toggle-text-expanded-example-check-input"
421
436
  >
422
437
  <input
423
438
  class="pf-v5-c-check__input"
424
439
  type="checkbox"
425
- id="split-button-checkbox-with-toggle-text-expanded-example-input"
426
- name="split-button-checkbox-with-toggle-text-expanded-example-input"
440
+ id="split-button-checkbox-with-toggle-text-expanded-example-check-input"
441
+ name="split-button-checkbox-with-toggle-text-expanded-example-check-input"
427
442
  />
428
443
  <span class="pf-v5-c-check__label">10 selected</span>
429
444
  </label>
@@ -450,14 +465,15 @@ cssPrefix: pf-v5-c-menu-toggle
450
465
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled pf-m-primary">
451
466
  <label
452
467
  class="pf-v5-c-check"
453
- for="split-button-checkbox-primary-disabled-example-input"
468
+ id="split-button-checkbox-primary-disabled-example-check"
469
+ for="split-button-checkbox-primary-disabled-example-check-input"
454
470
  >
455
471
  <input
456
472
  class="pf-v5-c-check__input"
457
473
  type="checkbox"
474
+ id="split-button-checkbox-primary-disabled-example-check-input"
475
+ name="split-button-checkbox-primary-disabled-example-check-input"
458
476
  disabled
459
- id="split-button-checkbox-primary-disabled-example-input"
460
- name="split-button-checkbox-primary-disabled-example-input"
461
477
  />
462
478
  <span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
463
479
  </label>
@@ -480,13 +496,14 @@ cssPrefix: pf-v5-c-menu-toggle
480
496
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-primary">
481
497
  <label
482
498
  class="pf-v5-c-check"
483
- for="split-button-checkbox-primary-example-input"
499
+ id="split-button-checkbox-primary-example-check"
500
+ for="split-button-checkbox-primary-example-check-input"
484
501
  >
485
502
  <input
486
503
  class="pf-v5-c-check__input"
487
504
  type="checkbox"
488
- id="split-button-checkbox-primary-example-input"
489
- name="split-button-checkbox-primary-example-input"
505
+ id="split-button-checkbox-primary-example-check-input"
506
+ name="split-button-checkbox-primary-example-check-input"
490
507
  />
491
508
  <span class="pf-v5-c-check__label">10 selected</span>
492
509
  </label>
@@ -508,13 +525,14 @@ cssPrefix: pf-v5-c-menu-toggle
508
525
  <div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button pf-m-primary">
509
526
  <label
510
527
  class="pf-v5-c-check"
511
- for="split-button-checkbox-primary-expanded-example-input"
528
+ id="split-button-checkbox-primary-expanded-example-check"
529
+ for="split-button-checkbox-primary-expanded-example-check-input"
512
530
  >
513
531
  <input
514
532
  class="pf-v5-c-check__input"
515
533
  type="checkbox"
516
- id="split-button-checkbox-primary-expanded-example-input"
517
- name="split-button-checkbox-primary-expanded-example-input"
534
+ id="split-button-checkbox-primary-expanded-example-check-input"
535
+ name="split-button-checkbox-primary-expanded-example-check-input"
518
536
  />
519
537
  <span class="pf-v5-c-check__label">10 selected</span>
520
538
  </label>
@@ -541,14 +559,15 @@ cssPrefix: pf-v5-c-menu-toggle
541
559
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled pf-m-secondary">
542
560
  <label
543
561
  class="pf-v5-c-check"
544
- for="split-button-checkbox-secondary-disabled-example-input"
562
+ id="split-button-checkbox-secondary-disabled-example-check"
563
+ for="split-button-checkbox-secondary-disabled-example-check-input"
545
564
  >
546
565
  <input
547
566
  class="pf-v5-c-check__input"
548
567
  type="checkbox"
568
+ id="split-button-checkbox-secondary-disabled-example-check-input"
569
+ name="split-button-checkbox-secondary-disabled-example-check-input"
549
570
  disabled
550
- id="split-button-checkbox-secondary-disabled-example-input"
551
- name="split-button-checkbox-secondary-disabled-example-input"
552
571
  />
553
572
  <span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
554
573
  </label>
@@ -571,13 +590,14 @@ cssPrefix: pf-v5-c-menu-toggle
571
590
  <div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-secondary">
572
591
  <label
573
592
  class="pf-v5-c-check"
574
- for="split-button-checkbox-secondary-example-input"
593
+ id="split-button-checkbox-secondary-example-check"
594
+ for="split-button-checkbox-secondary-example-check-input"
575
595
  >
576
596
  <input
577
597
  class="pf-v5-c-check__input"
578
598
  type="checkbox"
579
- id="split-button-checkbox-secondary-example-input"
580
- name="split-button-checkbox-secondary-example-input"
599
+ id="split-button-checkbox-secondary-example-check-input"
600
+ name="split-button-checkbox-secondary-example-check-input"
581
601
  />
582
602
  <span class="pf-v5-c-check__label">10 selected</span>
583
603
  </label>
@@ -599,13 +619,14 @@ cssPrefix: pf-v5-c-menu-toggle
599
619
  <div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button pf-m-secondary">
600
620
  <label
601
621
  class="pf-v5-c-check"
602
- for="split-button-checkbox-secondary-expanded-example-input"
622
+ id="split-button-checkbox-secondary-expanded-example-check"
623
+ for="split-button-checkbox-secondary-expanded-example-check-input"
603
624
  >
604
625
  <input
605
626
  class="pf-v5-c-check__input"
606
627
  type="checkbox"
607
- id="split-button-checkbox-secondary-expanded-example-input"
608
- name="split-button-checkbox-secondary-expanded-example-input"
628
+ id="split-button-checkbox-secondary-expanded-example-check-input"
629
+ name="split-button-checkbox-secondary-expanded-example-check-input"
609
630
  />
610
631
  <span class="pf-v5-c-check__label">10 selected</span>
611
632
  </label>
@@ -1,10 +1,5 @@
1
1
  .ws-core-c-modal .ws-preview-html {
2
- position: relative;
3
- }
4
-
5
- .ws-core-c-modal .pf-v5-c-modal-box {
6
- position: absolute;
7
- top: 50%;
8
- left: 50%;
9
- transform: translate(-50%, -50%);
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
10
5
  }
@@ -1,27 +1,10 @@
1
- #ws-core-c-navigation-default,
2
- #ws-core-c-navigation-basic,
3
- #ws-core-c-navigation-grouped,
4
- #ws-core-c-navigation-grouped-nav,
5
- #ws-core-c-navigation-grouped-nav-no-titles,
6
- #ws-core-c-navigation-expanded,
7
- #ws-core-c-navigation-expanded-with-subnav-titles,
8
- #ws-core-c-navigation-mixed,
9
- #ws-core-c-navigation-horizontal,
10
- #ws-core-c-navigation-horizontal-overflow,
11
- #ws-core-c-navigation-horizontal-subnav,
12
- #ws-core-c-navigation-horizontal-subnav-overflow,
13
- #ws-core-c-navigation-drilldown,
14
- #ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
15
- #ws-core-c-navigation-level-2-drilldown,
16
- #ws-core-c-navigation-level-3-drilldown,
17
- #ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
18
- #ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
1
+ .ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .pf-v5-c-nav {
19
2
  padding: 0;
3
+ background-color: var(--pf-v5-global--BackgroundColor--dark-300);
20
4
  }
21
5
 
22
6
  #ws-core-c-navigation-horizontal-in-masthead,
23
7
  #ws-core-c-navigation-horizontal-in-masthead-overflow {
24
- padding: 0;
25
8
  grid-template-rows: auto;
26
9
  }
27
10
 
@@ -53,6 +36,6 @@
53
36
 
54
37
  #ws-core-c-navigation-nav-with-flyout .pf-v5-c-menu.pf-m-flyout.pf-m-nav {
55
38
  position: absolute;
56
- top: 168px;
57
- left: 256px;
39
+ inset-block-start: 168px;
40
+ inset-inline-start: 256px;
58
41
  }
@@ -2483,6 +2483,104 @@ cssPrefix: pf-v5-c-nav
2483
2483
 
2484
2484
  ```
2485
2485
 
2486
+ ### Nav link text
2487
+
2488
+ When using anything other than a text node for the link text, wrap the link text in an element with `.pf-v5-c-nav__link-text`.
2489
+
2490
+ ```html isBeta
2491
+ <nav class="pf-v5-c-nav" aria-label="Global">
2492
+ <ul class="pf-v5-c-nav__list" role="list">
2493
+ <li class="pf-v5-c-nav__item">
2494
+ <a href="#" class="pf-v5-c-nav__link">
2495
+ <span class="pf-v5-c-nav__link-text">
2496
+ Link 1
2497
+ <i class="fas fa-arrow-right" aria-hidden="true"></i>
2498
+ </span>
2499
+ </a>
2500
+ </li>
2501
+ <li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
2502
+ <button
2503
+ class="pf-v5-c-nav__link"
2504
+ id="nav-link-text-link2"
2505
+ aria-expanded="true"
2506
+ >
2507
+ <span class="pf-v5-c-nav__link-text">
2508
+ Link 2
2509
+ <small>(small text)</small>
2510
+ </span>
2511
+ <span class="pf-v5-c-nav__toggle">
2512
+ <span class="pf-v5-c-nav__toggle-icon">
2513
+ <i class="fas fa-angle-right" aria-hidden="true"></i>
2514
+ </span>
2515
+ </span>
2516
+ </button>
2517
+ <section
2518
+ class="pf-v5-c-nav__subnav"
2519
+ aria-labelledby="nav-link-text-link2"
2520
+ >
2521
+ <ul class="pf-v5-c-nav__list" role="list">
2522
+ <li class="pf-v5-c-nav__item">
2523
+ <a href="#" class="pf-v5-c-nav__link">
2524
+ <span class="pf-v5-c-nav__link-text">
2525
+ <i class="fas fa-user" aria-hidden="true"></i>
2526
+ Subnav link 1
2527
+ </span>
2528
+ </a>
2529
+ </li>
2530
+ <li class="pf-v5-c-nav__item">
2531
+ <a href="#" class="pf-v5-c-nav__link">
2532
+ <span class="pf-v5-c-nav__link-text">
2533
+ <i class="fas fa-user" aria-hidden="true"></i>
2534
+ Subnav link 2
2535
+ </span>
2536
+ </a>
2537
+ </li>
2538
+ </ul>
2539
+ </section>
2540
+ </li>
2541
+ <li class="pf-v5-c-nav__item pf-m-expandable pf-m-current">
2542
+ <button
2543
+ class="pf-v5-c-nav__link"
2544
+ id="nav-link-text-link4"
2545
+ aria-expanded="false"
2546
+ >
2547
+ <span class="pf-v5-c-nav__link-text">
2548
+ Link 3
2549
+ <strong>(strong text)</strong>
2550
+ </span>
2551
+ <span class="pf-v5-c-nav__toggle">
2552
+ <span class="pf-v5-c-nav__toggle-icon">
2553
+ <i class="fas fa-angle-right" aria-hidden="true"></i>
2554
+ </span>
2555
+ </span>
2556
+ </button>
2557
+ <section
2558
+ class="pf-v5-c-nav__subnav"
2559
+ aria-labelledby="nav-link-text-link4"
2560
+ hidden
2561
+ >
2562
+ <ul class="pf-v5-c-nav__list" role="list">
2563
+ <li class="pf-v5-c-nav__item">
2564
+ <a href="#" class="pf-v5-c-nav__link">Subnav link 1</a>
2565
+ </li>
2566
+ <li class="pf-v5-c-nav__item">
2567
+ <a
2568
+ href="#"
2569
+ class="pf-v5-c-nav__link pf-m-current"
2570
+ aria-current="page"
2571
+ >Subnav link 2</a>
2572
+ </li>
2573
+ <li class="pf-v5-c-nav__item">
2574
+ <a href="#" class="pf-v5-c-nav__link">Subnav link 3</a>
2575
+ </li>
2576
+ </ul>
2577
+ </section>
2578
+ </li>
2579
+ </ul>
2580
+ </nav>
2581
+
2582
+ ```
2583
+
2486
2584
  ## Documentation
2487
2585
 
2488
2586
  ### Overview
@@ -2514,6 +2612,7 @@ The navigation system relies on several different sub-components:
2514
2612
  | `.pf-v5-c-nav__list` | `<ul>` | Initiates nav list. |
2515
2613
  | `.pf-v5-c-nav__item` | `<li>` | Initiates nav list item. |
2516
2614
  | `.pf-v5-c-nav__link` | `<a>` | Initiates nav list link. |
2615
+ | `.pf-v5-c-nav__link-text` | `<span>` | Initiates nav list link text. |
2517
2616
  | `.pf-v5-c-nav__section` | `<section>` | Initiates a nav section element. |
2518
2617
  | `.pf-v5-c-nav__section-title` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>` | Initiates a nav section title. |
2519
2618
  | `.pf-v5-c-nav__toggle` | `<span>` | Initiates the nav toggle wrapper. |
@@ -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,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
+ }