@patternfly/patternfly 6.0.0-alpha.5 → 6.0.0-alpha.51

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 (362) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/README.md +13 -3
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/images/PF-Backdrop.svg +1 -0
  5. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  6. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  7. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  8. package/assets/images/PF-IconLogo-color.svg +17 -0
  9. package/assets/images/PF-IconLogo.svg +17 -0
  10. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  11. package/assets/images/pf-background.svg +22 -0
  12. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  13. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  14. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  15. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  16. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  17. package/assets/images/pf_logo_white.hbs +35 -0
  18. package/assets/images/pf_logo_white.svg +38 -0
  19. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  20. package/assets/pficon/pficon.scss +6 -129
  21. package/base/_common.scss +29 -4
  22. package/base/_globals.scss +5 -7
  23. package/base/_variables.scss +8 -6
  24. package/base/patternfly-common.css +24 -6
  25. package/base/patternfly-globals.css +5 -4
  26. package/base/patternfly-icons.css +5 -1
  27. package/base/patternfly-pf-icons.css +5 -1
  28. package/base/patternfly-variables.css +889 -787
  29. package/base/tokens/_tokens-dark.scss +322 -265
  30. package/base/tokens/_tokens-default.scss +428 -306
  31. package/base/tokens/_tokens-font.scss +41 -46
  32. package/base/tokens/_tokens-palette.scss +69 -71
  33. package/base/tokens/_workspace-overrides.scss +7 -0
  34. package/components/AboutModalBox/about-modal-box.css +78 -104
  35. package/components/AboutModalBox/about-modal-box.scss +62 -74
  36. package/components/Accordion/accordion.css +96 -175
  37. package/components/Accordion/accordion.scss +106 -193
  38. package/components/ActionList/action-list.css +2 -2
  39. package/components/ActionList/action-list.scss +2 -2
  40. package/components/Alert/alert-group.css +27 -20
  41. package/components/Alert/alert-group.scss +27 -20
  42. package/components/Alert/alert.css +74 -95
  43. package/components/Alert/alert.scss +76 -89
  44. package/components/AppLauncher/app-launcher.css +32 -23
  45. package/components/AppLauncher/app-launcher.scss +32 -23
  46. package/components/Avatar/avatar.css +10 -13
  47. package/components/Avatar/avatar.scss +10 -17
  48. package/components/BackToTop/back-to-top.css +17 -15
  49. package/components/BackToTop/back-to-top.scss +14 -13
  50. package/components/Backdrop/backdrop.css +8 -4
  51. package/components/Backdrop/backdrop.scss +7 -4
  52. package/components/BackgroundImage/background-image.css +11 -4
  53. package/components/BackgroundImage/background-image.scss +13 -4
  54. package/components/Badge/badge.css +25 -17
  55. package/components/Badge/badge.scss +27 -19
  56. package/components/Banner/banner.css +95 -69
  57. package/components/Banner/banner.scss +100 -34
  58. package/components/Breadcrumb/breadcrumb.css +28 -19
  59. package/components/Breadcrumb/breadcrumb.scss +26 -19
  60. package/components/Button/button.css +401 -358
  61. package/components/Button/button.scss +459 -486
  62. package/components/CalendarMonth/calendar-month.css +25 -15
  63. package/components/CalendarMonth/calendar-month.scss +23 -15
  64. package/components/Card/card.css +28 -17
  65. package/components/Card/card.scss +32 -17
  66. package/components/Check/check.css +25 -22
  67. package/components/Check/check.scss +26 -24
  68. package/components/Chip/chip-group.css +6 -6
  69. package/components/Chip/chip-group.scss +6 -6
  70. package/components/Chip/chip.css +16 -9
  71. package/components/Chip/chip.scss +17 -9
  72. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  73. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  74. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  75. package/components/CodeBlock/code-block.css +6 -3
  76. package/components/CodeBlock/code-block.scss +6 -3
  77. package/components/CodeEditor/code-editor.css +31 -22
  78. package/components/CodeEditor/code-editor.scss +30 -21
  79. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  80. package/components/Content/content.css +40 -37
  81. package/components/Content/content.scss +40 -37
  82. package/components/ContextSelector/context-selector.css +41 -26
  83. package/components/ContextSelector/context-selector.scss +40 -25
  84. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  85. package/components/DataList/data-list-grid.css +21 -21
  86. package/components/DataList/data-list-grid.scss +3 -3
  87. package/components/DataList/data-list.css +165 -209
  88. package/components/DataList/data-list.scss +138 -185
  89. package/components/DatePicker/date-picker.css +8 -8
  90. package/components/DatePicker/date-picker.scss +8 -8
  91. package/components/DescriptionList/description-list.css +8 -5
  92. package/components/DescriptionList/description-list.scss +8 -5
  93. package/components/Divider/divider.css +97 -177
  94. package/components/Divider/divider.scss +60 -79
  95. package/components/DragDrop/drag-drop.css +8 -8
  96. package/components/DragDrop/drag-drop.scss +8 -8
  97. package/components/Drawer/drawer.css +120 -62
  98. package/components/Drawer/drawer.scss +94 -44
  99. package/components/Dropdown/dropdown.css +76 -69
  100. package/components/Dropdown/dropdown.scss +67 -62
  101. package/components/DualListSelector/dual-list-selector.css +29 -15
  102. package/components/DualListSelector/dual-list-selector.scss +30 -15
  103. package/components/EmptyState/empty-state.css +64 -38
  104. package/components/EmptyState/empty-state.scss +70 -38
  105. package/components/ExpandableSection/expandable-section.css +75 -66
  106. package/components/ExpandableSection/expandable-section.scss +82 -80
  107. package/components/FileUpload/file-upload.css +9 -15
  108. package/components/FileUpload/file-upload.scss +9 -15
  109. package/components/Form/form.css +111 -154
  110. package/components/Form/form.scss +101 -160
  111. package/components/FormControl/form-control.css +95 -111
  112. package/components/FormControl/form-control.scss +97 -92
  113. package/components/HelperText/helper-text.css +29 -35
  114. package/components/HelperText/helper-text.scss +31 -41
  115. package/components/Hint/hint.css +37 -27
  116. package/components/Hint/hint.scss +37 -30
  117. package/components/Icon/icon.css +1 -1
  118. package/components/Icon/icon.scss +1 -1
  119. package/components/InlineEdit/inline-edit.css +9 -9
  120. package/components/InlineEdit/inline-edit.scss +9 -9
  121. package/components/InputGroup/input-group.css +12 -6
  122. package/components/InputGroup/input-group.scss +11 -5
  123. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  124. package/components/JumpLinks/jump-links.css +27 -24
  125. package/components/JumpLinks/jump-links.scss +26 -24
  126. package/components/Label/label-group.css +13 -10
  127. package/components/Label/label-group.scss +13 -10
  128. package/components/Label/label.css +9 -9
  129. package/components/Label/label.scss +9 -9
  130. package/components/List/list.css +25 -25
  131. package/components/List/list.scss +26 -26
  132. package/components/LogViewer/log-viewer.css +14 -14
  133. package/components/LogViewer/log-viewer.scss +14 -14
  134. package/components/Login/login.css +104 -122
  135. package/components/Login/login.scss +92 -91
  136. package/components/Masthead/masthead.css +273 -498
  137. package/components/Masthead/masthead.scss +137 -282
  138. package/components/Menu/menu.css +82 -65
  139. package/components/Menu/menu.scss +85 -69
  140. package/components/MenuToggle/menu-toggle.css +37 -31
  141. package/components/MenuToggle/menu-toggle.scss +37 -33
  142. package/components/ModalBox/modal-box.css +76 -69
  143. package/components/ModalBox/modal-box.scss +74 -70
  144. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  145. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  146. package/components/Nav/nav.css +249 -898
  147. package/components/Nav/nav.scss +316 -1071
  148. package/components/Nav/themes/dark/nav.scss +2 -2
  149. package/components/NotificationBadge/notification-badge.css +66 -85
  150. package/components/NotificationBadge/notification-badge.scss +72 -103
  151. package/components/NotificationDrawer/notification-drawer.css +130 -128
  152. package/components/NotificationDrawer/notification-drawer.scss +130 -129
  153. package/components/NumberInput/number-input.css +2 -2
  154. package/components/NumberInput/number-input.scss +2 -2
  155. package/components/OptionsMenu/options-menu.css +43 -31
  156. package/components/OptionsMenu/options-menu.scss +43 -31
  157. package/components/OverflowMenu/overflow-menu.css +2 -2
  158. package/components/OverflowMenu/overflow-menu.scss +2 -2
  159. package/components/Page/page.css +232 -271
  160. package/components/Page/page.scss +180 -231
  161. package/components/Pagination/pagination.css +71 -121
  162. package/components/Pagination/pagination.scss +56 -127
  163. package/components/Panel/panel.css +40 -30
  164. package/components/Panel/panel.scss +42 -33
  165. package/components/Popover/popover.css +108 -87
  166. package/components/Popover/popover.scss +120 -109
  167. package/components/Progress/progress.css +40 -52
  168. package/components/Progress/progress.scss +48 -62
  169. package/components/ProgressStepper/progress-stepper.css +26 -20
  170. package/components/ProgressStepper/progress-stepper.scss +25 -19
  171. package/components/Radio/radio.css +30 -23
  172. package/components/Radio/radio.scss +31 -25
  173. package/components/Select/select.css +56 -47
  174. package/components/Select/select.scss +56 -47
  175. package/components/Sidebar/sidebar.css +11 -5
  176. package/components/Sidebar/sidebar.scss +11 -5
  177. package/components/SimpleList/simple-list.css +45 -56
  178. package/components/SimpleList/simple-list.scss +51 -55
  179. package/components/Skeleton/skeleton.css +24 -25
  180. package/components/Skeleton/skeleton.scss +21 -26
  181. package/components/SkipToContent/skip-to-content.css +9 -6
  182. package/components/SkipToContent/skip-to-content.scss +8 -6
  183. package/components/Slider/slider.css +80 -55
  184. package/components/Slider/slider.scss +96 -65
  185. package/components/Spinner/spinner.css +17 -34
  186. package/components/Spinner/spinner.scss +19 -47
  187. package/components/Switch/switch.css +49 -41
  188. package/components/Switch/switch.scss +51 -42
  189. package/components/TabContent/tab-content.css +21 -12
  190. package/components/TabContent/tab-content.scss +22 -15
  191. package/components/Table/table-grid.css +264 -203
  192. package/components/Table/table-grid.scss +61 -47
  193. package/components/Table/table-scrollable.css +4 -4
  194. package/components/Table/table-scrollable.scss +6 -4
  195. package/components/Table/table-tree-view.css +112 -105
  196. package/components/Table/table-tree-view.scss +38 -33
  197. package/components/Table/table.css +105 -89
  198. package/components/Table/table.scss +105 -89
  199. package/components/Tabs/tabs.css +76 -48
  200. package/components/Tabs/tabs.scss +74 -48
  201. package/components/TextInputGroup/text-input-group.css +15 -15
  202. package/components/TextInputGroup/text-input-group.scss +15 -15
  203. package/components/Tile/tile.css +10 -10
  204. package/components/Tile/tile.scss +10 -10
  205. package/components/Timestamp/timestamp.css +12 -9
  206. package/components/Timestamp/timestamp.scss +11 -10
  207. package/components/Title/title.css +70 -19
  208. package/components/Title/title.scss +90 -20
  209. package/components/ToggleGroup/toggle-group.css +14 -11
  210. package/components/ToggleGroup/toggle-group.scss +14 -11
  211. package/components/Toolbar/toolbar.css +57 -43
  212. package/components/Toolbar/toolbar.scss +45 -25
  213. package/components/Tooltip/tooltip.css +74 -44
  214. package/components/Tooltip/tooltip.scss +93 -77
  215. package/components/TreeView/tree-view.css +48 -27
  216. package/components/TreeView/tree-view.scss +50 -28
  217. package/components/Truncate/truncate.css +13 -0
  218. package/components/Truncate/truncate.scss +19 -3
  219. package/components/Wizard/wizard.css +57 -36
  220. package/components/Wizard/wizard.scss +57 -36
  221. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  222. package/docs/components/Accordion/examples/Accordion.md +614 -416
  223. package/docs/components/Alert/examples/Alert.md +3 -3
  224. package/docs/components/Avatar/examples/Avatar.md +5 -19
  225. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  226. package/docs/components/Badge/examples/Badge.md +21 -0
  227. package/docs/components/Banner/examples/Banner.md +48 -25
  228. package/docs/components/Brand/examples/Brand.css +12 -0
  229. package/docs/components/Brand/examples/Brand.md +51 -32
  230. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  231. package/docs/components/Button/examples/Button.css +6 -2
  232. package/docs/components/Button/examples/Button.md +1425 -87
  233. package/docs/components/Card/examples/Card.md +143 -37
  234. package/docs/components/Check/examples/Check.md +71 -58
  235. package/docs/components/Chip/examples/Chip.md +1 -1
  236. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  237. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  238. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  239. package/docs/components/Content/examples/Content.md +5 -5
  240. package/docs/components/Divider/examples/Divider.css +3 -1
  241. package/docs/components/Divider/examples/Divider.md +4 -5
  242. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  243. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  244. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  245. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  246. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  247. package/docs/components/Form/examples/Form.md +134 -89
  248. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  249. package/docs/components/Label/examples/Label.md +12 -12
  250. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  251. package/docs/components/LogViewer/examples/LogViewer.md +250 -160
  252. package/docs/components/Login/examples/Login.md +10 -5
  253. package/docs/components/Masthead/examples/masthead.md +443 -65
  254. package/docs/components/Menu/examples/Menu.css +8 -0
  255. package/docs/components/Menu/examples/Menu.md +594 -543
  256. package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
  257. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  258. package/docs/components/Nav/examples/Navigation.css +3 -47
  259. package/docs/components/Nav/examples/Navigation.md +305 -353
  260. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  261. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  262. package/docs/components/Page/examples/Page.css +0 -8
  263. package/docs/components/Page/examples/Page.md +22 -21
  264. package/docs/components/Pagination/examples/Pagination.md +663 -637
  265. package/docs/components/Panel/examples/Panel.md +12 -0
  266. package/docs/components/Popover/examples/Popover.css +4 -9
  267. package/docs/components/Popover/examples/Popover.md +1 -1
  268. package/docs/components/Radio/examples/Radio.md +62 -54
  269. package/docs/components/Select/deprecated/Select.md +184 -177
  270. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  271. package/docs/components/TabContent/examples/TabContent.md +10 -10
  272. package/docs/components/Table/examples/Table.css +2 -2
  273. package/docs/components/Table/examples/Table.md +10 -10
  274. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  275. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  276. package/docs/components/Tile/examples/Tile.css +1 -1
  277. package/docs/components/Title/examples/Title.md +18 -0
  278. package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
  279. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  280. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  281. package/docs/components/Truncate/examples/Truncate.css +2 -2
  282. package/docs/components/Truncate/examples/Truncate.md +2 -2
  283. package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
  284. package/docs/demos/Alert/examples/Alert.md +327 -84
  285. package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
  286. package/docs/demos/Banner/examples/Banner.md +209 -58
  287. package/docs/demos/Card/examples/Card.css +3 -3
  288. package/docs/demos/Card/examples/Card.md +28 -12
  289. package/docs/demos/CardView/examples/CardView.md +263 -205
  290. package/docs/demos/ContextSelector/examples/ContextSelector.md +373 -90
  291. package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
  292. package/docs/demos/DataList/examples/DataList.md +995 -928
  293. package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
  294. package/docs/demos/Drawer/examples/Drawer.md +505 -140
  295. package/docs/demos/Form/examples/BasicForms.md +131 -80
  296. package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
  297. package/docs/demos/Masthead/examples/Masthead.md +767 -323
  298. package/docs/demos/Modal/examples/Modal.md +639 -192
  299. package/docs/demos/Nav/examples/Nav.md +685 -896
  300. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
  301. package/docs/demos/Page/examples/Page.md +933 -264
  302. package/docs/demos/Page/examples/Penta.md +569 -501
  303. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  304. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  305. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1296 -917
  306. package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
  307. package/docs/demos/Table/examples/Table.md +3832 -3390
  308. package/docs/demos/Tabs/examples/Tabs.md +636 -191
  309. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  310. package/docs/demos/Toolbar/examples/Toolbar.md +1331 -1493
  311. package/docs/demos/Wizard/examples/Wizard.md +909 -252
  312. package/docs/layouts/Flex/examples/Flex.md +16 -16
  313. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  314. package/icons/pficons.mjs +1 -0
  315. package/layouts/Flex/flex.css +115 -43
  316. package/layouts/Flex/flex.scss +20 -8
  317. package/package.json +36 -32
  318. package/patternfly-addons.css +732 -972
  319. package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
  320. package/patternfly-base-no-globals.css +923 -799
  321. package/patternfly-base-theme-dark-unversioned.css +928 -803
  322. package/patternfly-base.css +928 -803
  323. package/patternfly-no-globals.css +6119 -6639
  324. package/patternfly-theme-dark-unversioned.css +6128 -6647
  325. package/patternfly.css +6128 -6647
  326. package/patternfly.min.css +1 -1
  327. package/patternfly.min.css.map +1 -1
  328. package/sass-utilities/functions.scss +6 -0
  329. package/sass-utilities/mixins.scss +62 -2
  330. package/sass-utilities/scss-variables.scss +8 -8
  331. package/sass-utilities/themes/dark/mixins.scss +3 -1
  332. package/utilities/Accessibility/accessibility.css +12 -12
  333. package/utilities/Spacing/spacing.css +720 -960
  334. package/utilities/Spacing/spacing.scss +4 -8
  335. package/base/themes/dark/_variables.scss +0 -102
  336. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  337. package/components/Accordion/themes/dark/accordion.scss +0 -9
  338. package/components/Alert/themes/dark/alert.scss +0 -17
  339. package/components/Badge/themes/dark/badge.scss +0 -9
  340. package/components/Banner/themes/dark/banner.scss +0 -14
  341. package/components/Button/themes/dark/button.scss +0 -51
  342. package/components/DataList/themes/dark/data-list.scss +0 -10
  343. package/components/Form/themes/dark/form.scss +0 -7
  344. package/components/FormControl/themes/dark/form-control.scss +0 -24
  345. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  346. package/components/Hint/themes/dark/hint.scss +0 -8
  347. package/components/Login/themes/dark/login.scss +0 -12
  348. package/components/Masthead/themes/dark/masthead.scss +0 -14
  349. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  350. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  351. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  352. package/components/Page/themes/dark/page.scss +0 -69
  353. package/components/Pagination/themes/dark/pagination.scss +0 -7
  354. package/components/Panel/themes/dark/panel.scss +0 -7
  355. package/components/Popover/themes/dark/popover.scss +0 -11
  356. package/components/Progress/themes/dark/progress.scss +0 -9
  357. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  358. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  359. package/components/Switch/themes/dark/switch.scss +0 -11
  360. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  361. package/docs/components/Avatar/examples/Avatar.css +0 -3
  362. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -38,7 +38,10 @@ cssPrefix: pf-v5-c-dual-list-selector
38
38
  type="button"
39
39
  aria-label="Sort"
40
40
  >
41
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
41
+ <i
42
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
43
+ aria-hidden="true"
44
+ ></i>
42
45
  </button>
43
46
  <div class="pf-v5-c-dropdown">
44
47
  <button
@@ -252,7 +255,10 @@ cssPrefix: pf-v5-c-dual-list-selector
252
255
  type="button"
253
256
  aria-label="Sort"
254
257
  >
255
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
258
+ <i
259
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
260
+ aria-hidden="true"
261
+ ></i>
256
262
  </button>
257
263
  <div class="pf-v5-c-dropdown">
258
264
  <button
@@ -367,7 +373,10 @@ cssPrefix: pf-v5-c-dual-list-selector
367
373
  type="button"
368
374
  aria-label="Sort"
369
375
  >
370
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
376
+ <i
377
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
378
+ aria-hidden="true"
379
+ ></i>
371
380
  </button>
372
381
  <div class="pf-v5-c-dropdown">
373
382
  <button
@@ -575,7 +584,10 @@ cssPrefix: pf-v5-c-dual-list-selector
575
584
  type="button"
576
585
  aria-label="Sort"
577
586
  >
578
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
587
+ <i
588
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
589
+ aria-hidden="true"
590
+ ></i>
579
591
  </button>
580
592
  <div class="pf-v5-c-dropdown">
581
593
  <button
@@ -690,7 +702,10 @@ cssPrefix: pf-v5-c-dual-list-selector
690
702
  type="button"
691
703
  aria-label="Sort"
692
704
  >
693
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
705
+ <i
706
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
707
+ aria-hidden="true"
708
+ ></i>
694
709
  </button>
695
710
  <div class="pf-v5-c-dropdown">
696
711
  <button
@@ -898,7 +913,10 @@ cssPrefix: pf-v5-c-dual-list-selector
898
913
  type="button"
899
914
  aria-label="Sort"
900
915
  >
901
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
916
+ <i
917
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
918
+ aria-hidden="true"
919
+ ></i>
902
920
  </button>
903
921
  <div class="pf-v5-c-dropdown">
904
922
  <button
@@ -1013,7 +1031,10 @@ cssPrefix: pf-v5-c-dual-list-selector
1013
1031
  type="button"
1014
1032
  aria-label="Sort"
1015
1033
  >
1016
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1034
+ <i
1035
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1036
+ aria-hidden="true"
1037
+ ></i>
1017
1038
  </button>
1018
1039
  <div class="pf-v5-c-dropdown">
1019
1040
  <button
@@ -1221,7 +1242,10 @@ cssPrefix: pf-v5-c-dual-list-selector
1221
1242
  type="button"
1222
1243
  aria-label="Sort"
1223
1244
  >
1224
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1245
+ <i
1246
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1247
+ aria-hidden="true"
1248
+ ></i>
1225
1249
  </button>
1226
1250
  <div class="pf-v5-c-dropdown">
1227
1251
  <button
@@ -1349,7 +1373,10 @@ cssPrefix: pf-v5-c-dual-list-selector
1349
1373
  type="button"
1350
1374
  aria-label="Sort"
1351
1375
  >
1352
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1376
+ <i
1377
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1378
+ aria-hidden="true"
1379
+ ></i>
1353
1380
  </button>
1354
1381
  <div class="pf-v5-c-dropdown">
1355
1382
  <button
@@ -1556,7 +1583,10 @@ cssPrefix: pf-v5-c-dual-list-selector
1556
1583
  type="button"
1557
1584
  aria-label="Sort"
1558
1585
  >
1559
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1586
+ <i
1587
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1588
+ aria-hidden="true"
1589
+ ></i>
1560
1590
  </button>
1561
1591
  <div class="pf-v5-c-dropdown">
1562
1592
  <button
@@ -1684,7 +1714,10 @@ cssPrefix: pf-v5-c-dual-list-selector
1684
1714
  type="button"
1685
1715
  aria-label="Sort"
1686
1716
  >
1687
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
1717
+ <i
1718
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
1719
+ aria-hidden="true"
1720
+ ></i>
1688
1721
  </button>
1689
1722
  <div class="pf-v5-c-dropdown">
1690
1723
  <button
@@ -2160,7 +2193,10 @@ cssPrefix: pf-v5-c-dual-list-selector
2160
2193
  type="button"
2161
2194
  aria-label="Sort"
2162
2195
  >
2163
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
2196
+ <i
2197
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
2198
+ aria-hidden="true"
2199
+ ></i>
2164
2200
  </button>
2165
2201
  <div class="pf-v5-c-dropdown">
2166
2202
  <button
@@ -2275,7 +2311,10 @@ cssPrefix: pf-v5-c-dual-list-selector
2275
2311
  type="button"
2276
2312
  aria-label="Sort"
2277
2313
  >
2278
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
2314
+ <i
2315
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
2316
+ aria-hidden="true"
2317
+ ></i>
2279
2318
  </button>
2280
2319
  <div class="pf-v5-c-dropdown">
2281
2320
  <button
@@ -2732,7 +2771,10 @@ cssPrefix: pf-v5-c-dual-list-selector
2732
2771
  type="button"
2733
2772
  aria-label="Sort"
2734
2773
  >
2735
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
2774
+ <i
2775
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
2776
+ aria-hidden="true"
2777
+ ></i>
2736
2778
  </button>
2737
2779
  <div class="pf-v5-c-dropdown">
2738
2780
  <button
@@ -2914,7 +2956,10 @@ cssPrefix: pf-v5-c-dual-list-selector
2914
2956
  type="button"
2915
2957
  aria-label="Sort"
2916
2958
  >
2917
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
2959
+ <i
2960
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
2961
+ aria-hidden="true"
2962
+ ></i>
2918
2963
  </button>
2919
2964
  <div class="pf-v5-c-dropdown">
2920
2965
  <button
@@ -3099,7 +3144,10 @@ cssPrefix: pf-v5-c-dual-list-selector
3099
3144
  type="button"
3100
3145
  aria-label="Sort"
3101
3146
  >
3102
- <i class="fas fa-sort-amount-down" aria-hidden="true"></i>
3147
+ <i
3148
+ class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
3149
+ aria-hidden="true"
3150
+ ></i>
3103
3151
  </button>
3104
3152
  <div class="pf-v5-c-dropdown">
3105
3153
  <button
@@ -46,6 +46,9 @@ cssPrefix: pf-v5-c-empty-state
46
46
  <div class="pf-v5-c-empty-state pf-m-xs">
47
47
  <div class="pf-v5-c-empty-state__content">
48
48
  <div class="pf-v5-c-empty-state__header">
49
+ <div class="pf-v5-c-empty-state__icon">
50
+ <i class="fas fa-cubes" aria-hidden="true"></i>
51
+ </div>
49
52
  <div class="pf-v5-c-empty-state__title">
50
53
  <h1 class="pf-v5-c-empty-state__title-text">Empty state</h1>
51
54
  </div>
@@ -53,7 +56,7 @@ cssPrefix: pf-v5-c-empty-state
53
56
 
54
57
  <div
55
58
  class="pf-v5-c-empty-state__body"
56
- >This represents an the empty state pattern in PatternFly. Hopefully it's simple enough to use but flexible enough to meet a variety of needs.</div>
59
+ >This represents an the empty state pattern in PatternFly. The icon is optional.</div>
57
60
 
58
61
  <div class="pf-v5-c-empty-state__footer">
59
62
  <div class="pf-v5-c-empty-state__actions">
@@ -190,6 +193,42 @@ cssPrefix: pf-v5-c-empty-state
190
193
 
191
194
  ```
192
195
 
196
+ ### With status
197
+
198
+ ```html
199
+ <div class="pf-v5-c-empty-state pf-m-success">
200
+ <div class="pf-v5-c-empty-state__content">
201
+ <div class="pf-v5-c-empty-state__header">
202
+ <div class="pf-v5-c-empty-state__icon">
203
+ <i class="fas fa- fa-check-circle" aria-hidden="true"></i>
204
+ </div>
205
+ <div class="pf-v5-c-empty-state__title">
206
+ <h1 class="pf-v5-c-empty-state__title-text">You're all set</h1>
207
+ </div>
208
+ </div>
209
+
210
+ <div
211
+ class="pf-v5-c-empty-state__body"
212
+ >This represents an the empty state pattern in PatternFly. Hopefully it's simple enough to use but flexible enough to meet a variety of needs.</div>
213
+
214
+ <div class="pf-v5-c-empty-state__footer">
215
+ <div class="pf-v5-c-empty-state__actions">
216
+ <button class="pf-v5-c-button pf-m-primary" type="button">Primary action</button>
217
+ </div>
218
+ <div class="pf-v5-c-empty-state__actions">
219
+ <button class="pf-v5-c-button pf-m-link" type="button">Multiple</button>
220
+ <button class="pf-v5-c-button pf-m-link" type="button">Action buttons</button>
221
+ <button class="pf-v5-c-button pf-m-link" type="button">Can</button>
222
+ <button class="pf-v5-c-button pf-m-link" type="button">Go here</button>
223
+ <button class="pf-v5-c-button pf-m-link" type="button">In the second</button>
224
+ <button class="pf-v5-c-button pf-m-link" type="button">Action area</button>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+
230
+ ```
231
+
193
232
  ## Documentation
194
233
 
195
234
  ### Accessibility
@@ -216,3 +255,8 @@ cssPrefix: pf-v5-c-empty-state
216
255
  | `.pf-m-lg` | `.pf-v5-c-empty-state` | Modifies the empty state for a large max-width. |
217
256
  | `.pf-m-xl` | `.pf-v5-c-empty-state` | Modifies the empty state for an extra large variation and max-width. |
218
257
  | `.pf-m-full-height` | `.pf-v5-c-empty-state` | Modifies the empty state to be `height: 100%`. If you need the empty state content to be centered vertically, you can use this modifier to make the empty state fill the height of its container, and center `.pf-v5-c-empty-state__content`. **Note:** this modifier requires the parent of `.pf-v5-c-empty-state` have an implicit or explicit `height` defined. |
258
+ | `.pf-m-danger` | `.pf-v5-c-empty-state` | Modifies the empty state for danger status. |
259
+ | `.pf-m-warning` | `.pf-v5-c-empty-state` | Modifies the empty state for warning status. |
260
+ | `.pf-m-success` | `.pf-v5-c-empty-state` | Modifies the empty state for success status. |
261
+ | `.pf-m-info` | `.pf-v5-c-empty-state` | Modifies the empty state for info status. |
262
+ | `.pf-m-custom` | `.pf-v5-c-empty-state` | Modifies the empty state for custom status. |
@@ -47,6 +47,27 @@ cssPrefix: pf-v5-c-expandable-section
47
47
 
48
48
  ```
49
49
 
50
+ ### Indented
51
+
52
+ ```html
53
+ <div class="pf-v5-c-expandable-section pf-m-expanded pf-m-indented">
54
+ <button
55
+ type="button"
56
+ class="pf-v5-c-expandable-section__toggle"
57
+ aria-expanded="true"
58
+ >
59
+ <span class="pf-v5-c-expandable-section__toggle-icon">
60
+ <i class="fas fa-angle-right" aria-hidden="true"></i>
61
+ </span>
62
+ <span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
63
+ </button>
64
+ <div
65
+ class="pf-v5-c-expandable-section__content"
66
+ >This content is visible only when the component is expanded.</div>
67
+ </div>
68
+
69
+ ```
70
+
50
71
  ### Disclosure variation (hidden)
51
72
 
52
73
  ```html
@@ -92,12 +113,35 @@ cssPrefix: pf-v5-c-expandable-section
92
113
 
93
114
  ```
94
115
 
95
- ### Detached toggle
116
+ ### Disclosure variation (indented)
117
+
118
+ ```html
119
+ <div
120
+ class="pf-v5-c-expandable-section pf-m-expanded pf-m-display-lg pf-m-limit-width pf-m-indented"
121
+ >
122
+ <button
123
+ type="button"
124
+ class="pf-v5-c-expandable-section__toggle"
125
+ aria-expanded="true"
126
+ >
127
+ <span class="pf-v5-c-expandable-section__toggle-icon">
128
+ <i class="fas fa-angle-right" aria-hidden="true"></i>
129
+ </span>
130
+ <span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
131
+ </button>
132
+ <div
133
+ class="pf-v5-c-expandable-section__content"
134
+ >This content is visible only when the component is expanded.</div>
135
+ </div>
136
+
137
+ ```
138
+
139
+ ### Detached
96
140
 
97
141
  ```html
98
142
  <div class="pf-v5-l-stack pf-m-gutter">
99
143
  <div class="pf-v5-l-stack__item">
100
- <div class="pf-v5-c-expandable-section pf-m-expanded pf-m-detached">
144
+ <div class="pf-v5-c-expandable-section pf-m-expanded">
101
145
  <div
102
146
  class="pf-v5-c-expandable-section__content"
103
147
  id="detached-toggle-content"
@@ -106,7 +150,7 @@ cssPrefix: pf-v5-c-expandable-section
106
150
  </div>
107
151
 
108
152
  <div class="pf-v5-l-stack__item">
109
- <div class="pf-v5-c-expandable-section pf-m-expanded pf-m-detached">
153
+ <div class="pf-v5-c-expandable-section pf-m-expanded">
110
154
  <button
111
155
  type="button"
112
156
  class="pf-v5-c-expandable-section__toggle"
@@ -124,28 +168,7 @@ cssPrefix: pf-v5-c-expandable-section
124
168
 
125
169
  ```
126
170
 
127
- ### Indented
128
-
129
- ```html
130
- <div class="pf-v5-c-expandable-section pf-m-expanded pf-m-indented">
131
- <button
132
- type="button"
133
- class="pf-v5-c-expandable-section__toggle"
134
- aria-expanded="true"
135
- >
136
- <span class="pf-v5-c-expandable-section__toggle-icon">
137
- <i class="fas fa-angle-right" aria-hidden="true"></i>
138
- </span>
139
- <span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
140
- </button>
141
- <div
142
- class="pf-v5-c-expandable-section__content"
143
- >This content is visible only when the component is expanded.</div>
144
- </div>
145
-
146
- ```
147
-
148
- ### Truncate expansion
171
+ ### Truncate expansion (hidden)
149
172
 
150
173
  ```html
151
174
  <div class="pf-v5-c-expandable-section pf-m-truncate">
@@ -163,7 +186,7 @@ cssPrefix: pf-v5-c-expandable-section
163
186
 
164
187
  ```
165
188
 
166
- ### Truncate expansion expanded
189
+ ### Truncate expansion (expanded)
167
190
 
168
191
  ```html
169
192
  <div class="pf-v5-c-expandable-section pf-m-expanded pf-m-truncate">
@@ -205,9 +228,7 @@ cssPrefix: pf-v5-c-expandable-section
205
228
  | `.pf-v5-c-expandable-section__content` | `<div>` | Initiates the expandable section content. **Required** |
206
229
  | `.pf-m-expanded` | `.pf-v5-c-expandable-section` | Modifies the component for the expanded state. |
207
230
  | `.pf-m-display-lg` | `.pf-v5-c-expandable-section` | Modifies the styling of the component to have large display styling. |
208
- | `.pf-m-detached` | `.pf-v5-c-expandable-section` | Indicates that the expandable section toggle and content are detached from one another, so you can move them around independently in the markup. |
209
231
  | `.pf-m-indented` | `.pf-v5-c-expandable-section` | Indicates that the expandable section content is indented and is aligned with the start of the title text to provide visual hierarchy. |
210
232
  | `.pf-m-truncate` | `.pf-v5-c-expandable-section` | Indicates that the expandable section content is truncated by default, and not truncated when expanded. |
211
- | `.pf-m-active` | `.pf-v5-c-expandable-section__toggle` | Forces display of the active state of the toggle. |
212
233
  | `.pf-m-expand-top` | `.pf-v5-c-expandable-section__toggle-icon` | Modifies the toggle icon to point up when expanded. |
213
234
  | `--pf-v5-c-expandable-section--m-truncate__content--LineClamp` | `.pf-v5-c-expandable-section.pf-m-truncate` | Modifies the number of lines to show before truncating. |