@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.81

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 (334) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/assets/images/PF-Backdrop.svg +1 -0
  3. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/assets/images/PF-IconLogo.svg +17 -0
  8. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  9. package/assets/images/pf-background.svg +22 -0
  10. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  11. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  12. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  13. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  14. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  15. package/assets/images/pf_logo_white.hbs +35 -0
  16. package/assets/images/pf_logo_white.svg +38 -0
  17. package/base/_common.scss +8 -4
  18. package/base/_globals.scss +4 -6
  19. package/base/_variables.scss +2 -7
  20. package/base/patternfly-common.css +8 -4
  21. package/base/patternfly-globals.css +4 -3
  22. package/base/patternfly-variables.css +884 -871
  23. package/base/tokens/_tokens-charts.scss +159 -0
  24. package/base/tokens/_tokens-dark.scss +311 -287
  25. package/base/tokens/_tokens-default.scss +425 -329
  26. package/base/tokens/_tokens-font.scss +29 -36
  27. package/base/tokens/_tokens-palette.scss +71 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +57 -94
  30. package/components/AboutModalBox/about-modal-box.scss +37 -62
  31. package/components/Accordion/accordion.css +85 -177
  32. package/components/Accordion/accordion.scss +96 -195
  33. package/components/ActionList/action-list.css +18 -17
  34. package/components/ActionList/action-list.scss +26 -16
  35. package/components/Alert/alert-group.css +20 -16
  36. package/components/Alert/alert-group.scss +20 -16
  37. package/components/Alert/alert.css +59 -84
  38. package/components/Alert/alert.scss +62 -78
  39. package/components/Avatar/avatar.css +10 -13
  40. package/components/Avatar/avatar.scss +10 -17
  41. package/components/BackToTop/back-to-top.css +17 -16
  42. package/components/BackToTop/back-to-top.scss +12 -12
  43. package/components/Backdrop/backdrop.css +6 -2
  44. package/components/Backdrop/backdrop.scss +5 -2
  45. package/components/BackgroundImage/background-image.css +5 -1
  46. package/components/BackgroundImage/background-image.scss +5 -1
  47. package/components/Badge/badge.css +23 -15
  48. package/components/Badge/badge.scss +25 -17
  49. package/components/Banner/banner.css +90 -64
  50. package/components/Banner/banner.scss +95 -32
  51. package/components/Breadcrumb/breadcrumb.css +19 -16
  52. package/components/Breadcrumb/breadcrumb.scss +18 -16
  53. package/components/Button/button.css +419 -353
  54. package/components/Button/button.scss +476 -476
  55. package/components/CalendarMonth/calendar-month.css +61 -92
  56. package/components/CalendarMonth/calendar-month.scss +68 -63
  57. package/components/Card/card.css +100 -194
  58. package/components/Card/card.scss +121 -237
  59. package/components/Check/check.css +24 -21
  60. package/components/Check/check.scss +25 -23
  61. package/components/ClipboardCopy/clipboard-copy.css +30 -33
  62. package/components/ClipboardCopy/clipboard-copy.scss +34 -26
  63. package/components/CodeBlock/code-block.css +22 -9
  64. package/components/CodeBlock/code-block.scss +22 -10
  65. package/components/CodeEditor/code-editor.css +94 -72
  66. package/components/CodeEditor/code-editor.scss +104 -82
  67. package/components/Content/content.css +7 -7
  68. package/components/Content/content.scss +7 -7
  69. package/components/DataList/data-list.css +101 -158
  70. package/components/DataList/data-list.scss +95 -154
  71. package/components/DatePicker/date-picker.css +13 -14
  72. package/components/DatePicker/date-picker.scss +12 -16
  73. package/components/DescriptionList/description-list.css +39 -34
  74. package/components/DescriptionList/description-list.scss +25 -25
  75. package/components/Divider/divider.css +91 -169
  76. package/components/Divider/divider.scss +60 -77
  77. package/components/DragDrop/drag-drop.css +18 -14
  78. package/components/DragDrop/drag-drop.scss +18 -17
  79. package/components/Drawer/drawer.css +112 -113
  80. package/components/Drawer/drawer.scss +134 -134
  81. package/components/Dropdown/dropdown.css +1 -3
  82. package/components/Dropdown/dropdown.scss +2 -6
  83. package/components/DualListSelector/dual-list-selector.css +56 -48
  84. package/components/DualListSelector/dual-list-selector.scss +57 -50
  85. package/components/EmptyState/empty-state.css +57 -34
  86. package/components/EmptyState/empty-state.scss +63 -34
  87. package/components/ExpandableSection/expandable-section.css +64 -62
  88. package/components/ExpandableSection/expandable-section.scss +73 -76
  89. package/components/FileUpload/file-upload.css +28 -34
  90. package/components/FileUpload/file-upload.scss +30 -42
  91. package/components/Form/form.css +68 -114
  92. package/components/Form/form.scss +65 -126
  93. package/components/FormControl/form-control.css +86 -111
  94. package/components/FormControl/form-control.scss +88 -92
  95. package/components/HelperText/helper-text.css +28 -34
  96. package/components/HelperText/helper-text.scss +30 -40
  97. package/components/Hint/hint.css +28 -21
  98. package/components/Hint/hint.scss +28 -24
  99. package/components/Icon/icon.css +154 -18
  100. package/components/Icon/icon.scss +187 -20
  101. package/components/InlineEdit/inline-edit.css +8 -7
  102. package/components/InlineEdit/inline-edit.scss +8 -7
  103. package/components/InputGroup/input-group.css +22 -38
  104. package/components/InputGroup/input-group.scss +21 -29
  105. package/components/JumpLinks/jump-links.css +34 -34
  106. package/components/JumpLinks/jump-links.scss +35 -36
  107. package/components/Label/label-group.css +39 -44
  108. package/components/Label/label-group.scss +39 -45
  109. package/components/Label/label.css +380 -355
  110. package/components/Label/label.scss +434 -348
  111. package/components/List/list.css +16 -16
  112. package/components/List/list.scss +17 -17
  113. package/components/Login/login.css +70 -97
  114. package/components/Login/login.scss +56 -64
  115. package/components/Masthead/masthead.css +261 -502
  116. package/components/Masthead/masthead.scss +123 -286
  117. package/components/Menu/menu.css +3 -0
  118. package/components/Menu/menu.scss +7 -3
  119. package/components/MenuToggle/menu-toggle.css +8 -8
  120. package/components/MenuToggle/menu-toggle.scss +8 -10
  121. package/components/ModalBox/modal-box.css +59 -52
  122. package/components/ModalBox/modal-box.scss +57 -53
  123. package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  124. package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
  125. package/components/Nav/nav.css +240 -918
  126. package/components/Nav/nav.scss +300 -1082
  127. package/components/NotificationBadge/notification-badge.css +56 -81
  128. package/components/NotificationBadge/notification-badge.scss +60 -97
  129. package/components/NotificationDrawer/notification-drawer.css +104 -115
  130. package/components/NotificationDrawer/notification-drawer.scss +106 -116
  131. package/components/NumberInput/number-input.css +8 -8
  132. package/components/NumberInput/number-input.scss +7 -12
  133. package/components/OverflowMenu/overflow-menu.css +17 -47
  134. package/components/OverflowMenu/overflow-menu.scss +27 -65
  135. package/components/Page/page.css +56 -164
  136. package/components/Page/page.scss +60 -154
  137. package/components/Pagination/pagination.css +57 -124
  138. package/components/Pagination/pagination.scss +40 -128
  139. package/components/Panel/panel.css +27 -23
  140. package/components/Panel/panel.scss +29 -26
  141. package/components/Popover/popover.css +42 -53
  142. package/components/Popover/popover.scss +46 -55
  143. package/components/Progress/progress.css +31 -45
  144. package/components/Progress/progress.scss +36 -55
  145. package/components/ProgressStepper/progress-stepper.css +72 -69
  146. package/components/ProgressStepper/progress-stepper.scss +65 -65
  147. package/components/Radio/radio.css +27 -20
  148. package/components/Radio/radio.scss +28 -22
  149. package/components/Sidebar/sidebar.css +20 -9
  150. package/components/Sidebar/sidebar.scss +23 -11
  151. package/components/SimpleList/simple-list.css +35 -52
  152. package/components/SimpleList/simple-list.scss +41 -51
  153. package/components/Skeleton/skeleton.css +18 -20
  154. package/components/Skeleton/skeleton.scss +17 -21
  155. package/components/SkipToContent/skip-to-content.css +6 -3
  156. package/components/SkipToContent/skip-to-content.scss +8 -6
  157. package/components/Slider/slider.css +34 -30
  158. package/components/Slider/slider.scss +46 -43
  159. package/components/Spinner/spinner.css +17 -34
  160. package/components/Spinner/spinner.scss +19 -47
  161. package/components/Switch/switch.css +42 -38
  162. package/components/Switch/switch.scss +48 -43
  163. package/components/TabContent/tab-content.css +17 -11
  164. package/components/TabContent/tab-content.scss +18 -14
  165. package/components/Table/table-grid.css +29 -45
  166. package/components/Table/table-grid.scss +40 -53
  167. package/components/Table/table-scrollable.css +6 -6
  168. package/components/Table/table-scrollable.scss +8 -8
  169. package/components/Table/table-tree-view.css +76 -74
  170. package/components/Table/table-tree-view.scss +44 -39
  171. package/components/Table/table.css +67 -93
  172. package/components/Table/table.scss +83 -105
  173. package/components/Tabs/tabs.css +143 -175
  174. package/components/Tabs/tabs.scss +159 -217
  175. package/components/Tile/tile.css +40 -81
  176. package/components/Tile/tile.scss +38 -84
  177. package/components/Timestamp/timestamp.css +12 -9
  178. package/components/Timestamp/timestamp.scss +11 -10
  179. package/components/Title/title.css +70 -19
  180. package/components/Title/title.scss +90 -20
  181. package/components/ToggleGroup/toggle-group.css +54 -48
  182. package/components/ToggleGroup/toggle-group.scss +62 -50
  183. package/components/Toolbar/toolbar.css +2527 -1031
  184. package/components/Toolbar/toolbar.scss +233 -520
  185. package/components/Tooltip/tooltip.css +16 -18
  186. package/components/Tooltip/tooltip.scss +20 -24
  187. package/components/TreeView/tree-view.css +76 -97
  188. package/components/TreeView/tree-view.scss +82 -113
  189. package/components/Truncate/truncate.css +4 -0
  190. package/components/Truncate/truncate.scss +3 -0
  191. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  192. package/docs/components/Accordion/examples/Accordion.md +614 -416
  193. package/docs/components/ActionList/examples/ActionList.md +73 -22
  194. package/docs/components/Alert/examples/Alert.md +3 -3
  195. package/docs/components/Avatar/examples/Avatar.md +5 -19
  196. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  197. package/docs/components/Badge/examples/Badge.md +21 -0
  198. package/docs/components/Banner/examples/Banner.md +48 -25
  199. package/docs/components/Brand/examples/Brand.css +12 -0
  200. package/docs/components/Brand/examples/Brand.md +51 -32
  201. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  202. package/docs/components/Button/examples/Button.css +4 -0
  203. package/docs/components/Button/examples/Button.md +1419 -93
  204. package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
  205. package/docs/components/Card/examples/Card.md +550 -133
  206. package/docs/components/Check/examples/Check.md +1 -0
  207. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  208. package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
  209. package/docs/components/Content/examples/Content.md +5 -5
  210. package/docs/components/DatePicker/examples/DatePicker.md +5 -2
  211. package/docs/components/Divider/examples/Divider.css +3 -1
  212. package/docs/components/Divider/examples/Divider.md +30 -5
  213. package/docs/components/DragDrop/examples/DragDrop.css +1 -1
  214. package/docs/components/Drawer/examples/Drawer.md +294 -256
  215. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  216. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  217. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  218. package/docs/components/Form/examples/Form.md +134 -89
  219. package/docs/components/Icon/examples/Icon.md +82 -11
  220. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  221. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  222. package/docs/components/Label/examples/Label.css +4 -0
  223. package/docs/components/Label/examples/Label.md +3090 -703
  224. package/docs/components/LogViewer/examples/LogViewer.md +180 -180
  225. package/docs/components/Login/examples/Login.md +10 -5
  226. package/docs/components/Masthead/examples/masthead.md +443 -65
  227. package/docs/components/Menu/examples/Menu.md +507 -473
  228. package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
  229. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  230. package/docs/components/Nav/examples/Navigation.css +1 -23
  231. package/docs/components/Nav/examples/Navigation.md +209 -356
  232. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  233. package/docs/components/Page/examples/Page.css +0 -8
  234. package/docs/components/Page/examples/Page.md +22 -21
  235. package/docs/components/Pagination/examples/Pagination.md +663 -637
  236. package/docs/components/Panel/examples/Panel.md +12 -0
  237. package/docs/components/Popover/examples/Popover.md +1 -1
  238. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  239. package/docs/components/Radio/examples/Radio.md +1 -1
  240. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  241. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  242. package/docs/components/TabContent/examples/TabContent.md +10 -10
  243. package/docs/components/Table/examples/Table.md +8 -8
  244. package/docs/components/Tabs/examples/Tabs.css +1 -1
  245. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  246. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  247. package/docs/components/Tile/examples/Tile.md +264 -144
  248. package/docs/components/Title/examples/Title.md +18 -0
  249. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  250. package/docs/components/Toolbar/examples/Toolbar.md +985 -3355
  251. package/docs/components/TreeView/examples/TreeView.md +7 -57
  252. package/docs/components/Truncate/examples/Truncate.css +2 -2
  253. package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
  254. package/docs/demos/Alert/examples/Alert.md +330 -87
  255. package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
  256. package/docs/demos/Banner/examples/Banner.md +211 -60
  257. package/docs/demos/Card/examples/Card.md +2 -2
  258. package/docs/demos/CardView/examples/CardView.md +241 -187
  259. package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
  260. package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
  261. package/docs/demos/DataList/examples/DataList.md +999 -938
  262. package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
  263. package/docs/demos/Drawer/examples/Drawer.md +640 -251
  264. package/docs/demos/Form/examples/BasicForms.md +138 -84
  265. package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
  266. package/docs/demos/Masthead/examples/Masthead.md +786 -342
  267. package/docs/demos/Modal/examples/Modal.md +645 -198
  268. package/docs/demos/Nav/examples/Nav.md +691 -902
  269. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
  270. package/docs/demos/Page/examples/Page.md +942 -273
  271. package/docs/demos/Page/examples/Penta.md +66 -26
  272. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  273. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  274. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1183 -832
  275. package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
  276. package/docs/demos/Table/examples/Table.md +3811 -3456
  277. package/docs/demos/Tabs/examples/Tabs.md +636 -194
  278. package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  279. package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
  280. package/docs/demos/Wizard/examples/Wizard.md +918 -261
  281. package/docs/layouts/Flex/examples/Flex.md +11 -11
  282. package/package.json +32 -32
  283. package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
  284. package/patternfly-base-no-globals.css +897 -880
  285. package/patternfly-base-theme-dark-unversioned.css +890 -872
  286. package/patternfly-base.css +890 -872
  287. package/patternfly-no-globals.css +8107 -8027
  288. package/patternfly-theme-dark-unversioned.css +8111 -8030
  289. package/patternfly.css +8111 -8030
  290. package/patternfly.min.css +1 -1
  291. package/patternfly.min.css.map +1 -1
  292. package/sass-utilities/mixins.scss +18 -0
  293. package/base/themes/dark/_variables.scss +0 -102
  294. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  295. package/components/Accordion/themes/dark/accordion.scss +0 -9
  296. package/components/Alert/themes/dark/alert.scss +0 -17
  297. package/components/Badge/themes/dark/badge.scss +0 -9
  298. package/components/Banner/themes/dark/banner.scss +0 -14
  299. package/components/Button/themes/dark/button.scss +0 -51
  300. package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
  301. package/components/Card/themes/dark/card.scss +0 -20
  302. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  303. package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
  304. package/components/DataList/themes/dark/data-list.scss +0 -10
  305. package/components/DatePicker/themes/dark/date-picker.scss +0 -8
  306. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  307. package/components/Drawer/themes/dark/drawer.scss +0 -13
  308. package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
  309. package/components/Form/themes/dark/form.scss +0 -7
  310. package/components/FormControl/themes/dark/form-control.scss +0 -24
  311. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  312. package/components/Hint/themes/dark/hint.scss +0 -8
  313. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  314. package/components/Label/themes/dark/label.scss +0 -53
  315. package/components/Login/themes/dark/login.scss +0 -12
  316. package/components/Masthead/themes/dark/masthead.scss +0 -14
  317. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  318. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  319. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  320. package/components/Page/themes/dark/page.scss +0 -69
  321. package/components/Pagination/themes/dark/pagination.scss +0 -7
  322. package/components/Panel/themes/dark/panel.scss +0 -7
  323. package/components/Popover/themes/dark/popover.scss +0 -11
  324. package/components/Progress/themes/dark/progress.scss +0 -9
  325. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  326. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  327. package/components/Switch/themes/dark/switch.scss +0 -11
  328. package/components/Tabs/themes/dark/tabs.scss +0 -10
  329. package/components/Tile/themes/dark/tile.scss +0 -10
  330. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  331. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  332. package/components/TreeView/themes/dark/tree-view.scss +0 -8
  333. package/docs/components/Avatar/examples/Avatar.css +0 -3
  334. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -1,4 +1,4 @@
1
- .pf-v5-c-dual-list-selector {
1
+ :where(:root), :where(.pf-v5-c-dual-list-selector) {
2
2
  --pf-v5-c-dual-list-selector__header--GridArea: pane-header;
3
3
  --pf-v5-c-dual-list-selector__tools--GridArea: pane-tools;
4
4
  --pf-v5-c-dual-list-selector__status--GridArea: pane-status;
@@ -10,54 +10,55 @@
10
10
  --pf-v5-c-dual-list-selector--m-chosen__menu--GridArea: pane-menu-c;
11
11
  --pf-v5-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min: 12.5rem;
12
12
  --pf-v5-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max: 28.125rem;
13
- --pf-v5-c-dual-list-selector__header--MarginBottom: var(--pf-v5-global--spacer--sm);
14
- --pf-v5-c-dual-list-selector__title-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
15
- --pf-v5-c-dual-list-selector__tools--MarginBottom: var(--pf-v5-global--spacer--md);
16
- --pf-v5-c-dual-list-selector__tools-filter--tools-actions--MarginLeft: var(--pf-v5-global--spacer--sm);
17
- --pf-v5-c-dual-list-selector__menu--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
18
- --pf-v5-c-dual-list-selector__menu--BorderColor: var(--pf-v5-global--BorderColor--100);
13
+ --pf-v5-c-dual-list-selector__header--MarginBottom: var(--pf-t--global--spacer--sm);
14
+ --pf-v5-c-dual-list-selector__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
15
+ --pf-v5-c-dual-list-selector__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
16
+ --pf-v5-c-dual-list-selector__tools--MarginBottom: var(--pf-t--global--spacer--md);
17
+ --pf-v5-c-dual-list-selector__tools-filter--tools-actions--MarginLeft: var(--pf-t--global--spacer--sm);
18
+ --pf-v5-c-dual-list-selector__menu--BorderWidth: var(--pf-t--global--border--width--regular);
19
+ --pf-v5-c-dual-list-selector__menu--BorderColor: var(--pf-t--global--border--color--default);
20
+ --pf-v5-c-dual-list-selector__menu--BorderRadius: var(--pf-t--global--border--radius--small);
19
21
  --pf-v5-c-dual-list-selector__menu--MinHeight: 12.5rem;
20
22
  --pf-v5-c-dual-list-selector__menu--MaxHeight: 20rem;
21
- --pf-v5-c-dual-list-selector__list-item-row--FontSize: var(--pf-v5-global--FontSize--sm);
22
- --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: transparent;
23
- --pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
24
- --pf-v5-c-dual-list-selector__list-item-row--focus-within--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
25
- --pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
26
- --pf-v5-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
23
+ --pf-v5-c-dual-list-selector__menu--MarginBlockStart: var(--pf-t--global--spacer--md);
24
+ --pf-v5-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
25
+ --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
26
+ --pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
27
+ --pf-v5-c-dual-list-selector__list-item-row--BorderRadius: var(--pf-t--global--border--radius--tiny);
28
+ --pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
29
+ --pf-v5-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
27
30
  --pf-v5-c-dual-list-selector__list-item--m-ghost-row--Opacity: .4;
28
- --pf-v5-c-dual-list-selector__item--PaddingTop: var(--pf-v5-global--spacer--sm);
29
- --pf-v5-c-dual-list-selector__item--PaddingRight: var(--pf-v5-global--spacer--md);
30
- --pf-v5-c-dual-list-selector__item--PaddingBottom: var(--pf-v5-global--spacer--sm);
31
- --pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-v5-global--spacer--md);
32
- --pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft: 0;
33
- --pf-v5-c-dual-list-selector__item--indent--base: calc(var(--pf-v5-global--spacer--md) + var(--pf-v5-global--spacer--sm) + var(--pf-v5-c-dual-list-selector__list-item-row--FontSize));
34
- --pf-v5-c-dual-list-selector__item--nested-indent--base: calc(var(--pf-v5-c-dual-list-selector__item--indent--base) - var(--pf-v5-global--spacer--md));
35
- --pf-v5-c-dual-list-selector__draggable--item--PaddingLeft: var(--pf-v5-global--spacer--xs);
36
- --pf-v5-c-dual-list-selector__item-text--Color: var(--pf-v5-global--Color--100);
37
- --pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color: var(--pf-v5-global--active-color--100);
38
- --pf-v5-c-dual-list-selector__list-item-row--m-selected__text--FontWeight: var(--pf-v5-global--FontWeight--bold);
39
- --pf-v5-c-dual-list-selector__list-item--m-disabled__item-text--Color: var(--pf-v5-global--disabled-color--100);
40
- --pf-v5-c-dual-list-selector__status--MarginBottom: var(--pf-v5-global--spacer--sm);
41
- --pf-v5-c-dual-list-selector__status-text--FontSize: var(--pf-v5-global--FontSize--sm);
42
- --pf-v5-c-dual-list-selector__status-text--Color: var(--pf-v5-global--Color--200);
43
- --pf-v5-c-dual-list-selector__controls--PaddingRight: var(--pf-v5-global--spacer--md);
44
- --pf-v5-c-dual-list-selector__controls--PaddingLeft: var(--pf-v5-global--spacer--md);
45
- --pf-v5-c-dual-list-selector__item-toggle--PaddingTop: var(--pf-v5-global--spacer--sm);
46
- --pf-v5-c-dual-list-selector__item-toggle--PaddingRight: var(--pf-v5-global--spacer--sm);
47
- --pf-v5-c-dual-list-selector__item-toggle--PaddingBottom: var(--pf-v5-global--spacer--sm);
48
- --pf-v5-c-dual-list-selector__item-toggle--PaddingLeft: var(--pf-v5-global--spacer--md);
49
- --pf-v5-c-dual-list-selector__item-toggle--MarginTop: calc(var(--pf-v5-global--spacer--sm) * -1);
50
- --pf-v5-c-dual-list-selector__item-toggle--MarginBottom: calc(var(--pf-v5-global--spacer--sm) * -1);
31
+ --pf-v5-c-dual-list-selector__item--PaddingTop: var(--pf-t--global--spacer--sm);
32
+ --pf-v5-c-dual-list-selector__item--PaddingRight: var(--pf-t--global--spacer--md);
33
+ --pf-v5-c-dual-list-selector__item--PaddingBottom: var(--pf-t--global--spacer--sm);
34
+ --pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-t--global--spacer--md);
35
+ --pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
36
+ --pf-v5-c-dual-list-selector__item--indent--base: calc(var(--pf-t--global--spacer--md) + var(--pf-t--global--spacer--sm) + var(--pf-v5-c-dual-list-selector__list-item-row--FontSize));
37
+ --pf-v5-c-dual-list-selector__item--nested-indent--base: calc(var(--pf-v5-c-dual-list-selector__item--indent--base) - var(--pf-t--global--spacer--md));
38
+ --pf-v5-c-dual-list-selector__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
39
+ --pf-v5-c-dual-list-selector__item-text--Color: var(--pf-t--global--text--color--subtle);
40
+ --pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
41
+ --pf-v5-c-dual-list-selector__list-item--m-disabled__item-text--Color: var(--pf-t--global--background--color--disabled--default);
42
+ --pf-v5-c-dual-list-selector__status--MarginBottom: var(--pf-t--global--spacer--sm);
43
+ --pf-v5-c-dual-list-selector__status-text--FontSize: var(--pf-t--global--font--size--sm);
44
+ --pf-v5-c-dual-list-selector__status-text--Color: var(--pf-t--global--text--color--subtle);
45
+ --pf-v5-c-dual-list-selector__controls--PaddingRight: var(--pf-t--global--spacer--md);
46
+ --pf-v5-c-dual-list-selector__controls--PaddingLeft: var(--pf-t--global--spacer--md);
47
+ --pf-v5-c-dual-list-selector__controls--Gap: var(--pf-t--global--spacer--sm);
48
+ --pf-v5-c-dual-list-selector__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
49
+ --pf-v5-c-dual-list-selector__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
51
50
  --pf-v5-c-dual-list-selector__list__list__item-toggle--Left: 0;
52
51
  --pf-v5-c-dual-list-selector__list__list__item-toggle--TranslateX: -100%;
53
- --pf-v5-c-dual-list-selector__item-check--MarginRight: var(--pf-v5-global--spacer--sm);
54
- --pf-v5-c-dual-list-selector__item-count--Marginleft: var(--pf-v5-global--spacer--sm);
55
- --pf-v5-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-v5-global--disabled-color--200);
52
+ --pf-v5-c-dual-list-selector__item-check--MarginRight: var(--pf-t--global--spacer--sm);
53
+ --pf-v5-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
56
54
  --pf-v5-c-dual-list-selector__item-toggle-icon--Rotate: 0;
57
55
  --pf-v5-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
58
56
  --pf-v5-c-dual-list-selector__item-toggle-icon--Transition: var(--pf-v5-global--Transition);
59
57
  --pf-v5-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v5-c-dual-list-selector__list-item-row--FontSize);
60
- --pf-v5-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-v5-global--disabled-color--200);
58
+ --pf-v5-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--background--color--disabled--default);
59
+ }
60
+
61
+ .pf-v5-c-dual-list-selector {
61
62
  display: grid;
62
63
  grid-template-areas: "pane-header . pane-header-c" "pane-tools . pane-tools-c" "pane-status . pane-status-c" "pane-menu controls pane-menu-c";
63
64
  grid-template-rows: repeat(3, auto) auto;
@@ -80,6 +81,7 @@
80
81
  }
81
82
 
82
83
  .pf-v5-c-dual-list-selector__title-text {
84
+ font-size: var(--pf-v5-c-dual-list-selector__title-text--FontSize);
83
85
  font-weight: var(--pf-v5-c-dual-list-selector__title-text--FontWeight);
84
86
  }
85
87
 
@@ -116,8 +118,10 @@
116
118
  grid-area: var(--pf-v5-c-dual-list-selector__menu--GridArea);
117
119
  min-height: var(--pf-v5-c-dual-list-selector__menu--MinHeight);
118
120
  max-height: var(--pf-v5-c-dual-list-selector__menu--MaxHeight);
121
+ margin-block-start: var(--pf-v5-c-dual-list-selector__menu--MarginBlockStart);
119
122
  overflow: auto;
120
123
  border: var(--pf-v5-c-dual-list-selector__menu--BorderWidth) solid var(--pf-v5-c-dual-list-selector__menu--BorderColor);
124
+ border-radius: var(--pf-v5-c-dual-list-selector__menu--BorderRadius);
121
125
  }
122
126
 
123
127
  .pf-v5-c-dual-list-selector__list {
@@ -132,7 +136,6 @@
132
136
  .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__item-toggle {
133
137
  transform: translateX(var(--pf-v5-c-dual-list-selector__list__list__item-toggle--TranslateX));
134
138
  position: absolute;
135
- inset-block-start: 0;
136
139
  inset-inline-start: var(--pf-v5-c-dual-list-selector__list__list__item-toggle--Left);
137
140
  }
138
141
  :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__item-toggle {
@@ -144,7 +147,7 @@
144
147
  }
145
148
 
146
149
  .pf-v5-c-dual-list-selector__list-item:focus {
147
- --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--focus-within--BackgroundColor);
150
+ --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
148
151
  }
149
152
  .pf-v5-c-dual-list-selector__list-item.pf-m-expandable {
150
153
  --pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft);
@@ -162,6 +165,7 @@
162
165
  display: flex;
163
166
  font-size: var(--pf-v5-c-dual-list-selector__list-item-row--FontSize);
164
167
  background-color: var(--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor);
168
+ border-radius: var(--pf-v5-c-dual-list-selector__list-item-row--BorderRadius);
165
169
  }
166
170
  .pf-v5-c-dual-list-selector__list-item-row:hover {
167
171
  --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
@@ -173,6 +177,9 @@
173
177
  --pf-v5-c-dual-list-selector__item-text--Color: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color);
174
178
  font-weight: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--FontWeight);
175
179
  }
180
+ .pf-v5-c-dual-list-selector__list-item-row.pf-m-selected:hover {
181
+ --pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
182
+ }
176
183
  .pf-v5-c-dual-list-selector__list-item-row.pf-m-check {
177
184
  --pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: transparent;
178
185
  }
@@ -213,6 +220,7 @@
213
220
  padding-inline-start: var(--pf-v5-c-dual-list-selector__item--PaddingLeft);
214
221
  padding-inline-end: var(--pf-v5-c-dual-list-selector__item--PaddingRight);
215
222
  cursor: pointer;
223
+ outline-offset: -2px;
216
224
  }
217
225
 
218
226
  .pf-v5-c-dual-list-selector__item-count {
@@ -231,10 +239,16 @@
231
239
  }
232
240
 
233
241
  .pf-v5-c-dual-list-selector__controls {
242
+ display: flex;
243
+ flex-direction: column;
234
244
  grid-area: var(--pf-v5-c-dual-list-selector__controls--GridArea);
245
+ gap: var(--pf-v5-c-dual-list-selector__controls--Gap);
246
+ align-items: center;
235
247
  align-self: center;
248
+ justify-content: center;
236
249
  padding-inline-start: var(--pf-v5-c-dual-list-selector__controls--PaddingLeft);
237
250
  padding-inline-end: var(--pf-v5-c-dual-list-selector__controls--PaddingRight);
251
+ margin-block-start: var(--pf-v5-c-dual-list-selector__controls--MarginBlockStart);
238
252
  }
239
253
 
240
254
  :where(.pf-v5-m-dir-rtl, [dir=rtl]) :is(.pf-v5-c-dual-list-selector__controls-item, .pf-v5-c-dual-list-selector__item-toggle-icon) {
@@ -309,10 +323,4 @@
309
323
  .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item {
310
324
  --pf-v5-c-dual-list-selector__item--PaddingLeft: calc(var(--pf-v5-c-dual-list-selector__item--nested-indent--base) * 10 + var(--pf-v5-c-dual-list-selector__item--indent--base));
311
325
  --pf-v5-c-dual-list-selector__list__list__item-toggle--Left: var(--pf-v5-c-dual-list-selector__item--PaddingLeft);
312
- }
313
-
314
- :where(.pf-v5-theme-dark) .pf-v5-c-dual-list-selector {
315
- --pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
316
- --pf-v5-c-dual-list-selector__list-item-row--focus-within--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
317
- --pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
318
326
  }
@@ -1,7 +1,7 @@
1
1
  // @debug $dual-list-selector; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
  $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
3
3
 
4
- .#{$dual-list-selector} {
4
+ :where(:root), :where(.#{$dual-list-selector}) {
5
5
  // Grid
6
6
  --#{$dual-list-selector}__header--GridArea: pane-header;
7
7
  --#{$dual-list-selector}__tools--GridArea: pane-tools;
@@ -16,79 +16,79 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
16
16
  --#{$dual-list-selector}--GridTemplateColumns--pane--MinMax--max: #{pf-size-prem(450px)};
17
17
 
18
18
  // Header
19
- --#{$dual-list-selector}__header--MarginBottom: var(--#{$pf-global}--spacer--sm);
19
+ --#{$dual-list-selector}__header--MarginBottom: var(--pf-t--global--spacer--sm);
20
20
 
21
21
  // Title
22
- --#{$dual-list-selector}__title-text--FontWeight: var(--#{$pf-global}--FontWeight--bold);
22
+ --#{$dual-list-selector}__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
23
+ --#{$dual-list-selector}__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
23
24
 
24
25
  // Tools
25
- --#{$dual-list-selector}__tools--MarginBottom: var(--#{$pf-global}--spacer--md);
26
- --#{$dual-list-selector}__tools-filter--tools-actions--MarginLeft: var(--#{$pf-global}--spacer--sm);
26
+ --#{$dual-list-selector}__tools--MarginBottom: var(--pf-t--global--spacer--md);
27
+ --#{$dual-list-selector}__tools-filter--tools-actions--MarginLeft: var(--pf-t--global--spacer--sm);
27
28
 
28
29
  // Menu
29
- --#{$dual-list-selector}__menu--BorderWidth: var(--#{$pf-global}--BorderWidth--sm);
30
- --#{$dual-list-selector}__menu--BorderColor: var(--#{$pf-global}--BorderColor--100);
30
+ --#{$dual-list-selector}__menu--BorderWidth: var(--pf-t--global--border--width--regular);
31
+ --#{$dual-list-selector}__menu--BorderColor: var(--pf-t--global--border--color--default);
32
+ --#{$dual-list-selector}__menu--BorderRadius: var(--pf-t--global--border--radius--small);
31
33
  --#{$dual-list-selector}__menu--MinHeight: #{pf-size-prem(200px)};
32
34
  --#{$dual-list-selector}__menu--MaxHeight: #{pf-size-prem(320px)};
35
+ --#{$dual-list-selector}__menu--MarginBlockStart: var(--pf-t--global--spacer--md);
33
36
 
34
37
  // List item
35
- --#{$dual-list-selector}__list-item-row--FontSize: var(--#{$pf-global}--FontSize--sm);
36
- --#{$dual-list-selector}__list-item-row--BackgroundColor: transparent;
37
- --#{$dual-list-selector}__list-item-row--hover--BackgroundColor: var(--#{$pf-global}--BackgroundColor--200);
38
- --#{$dual-list-selector}__list-item-row--focus-within--BackgroundColor: var(--#{$pf-global}--BackgroundColor--200);
39
- --#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: var(--#{$pf-global}--BackgroundColor--200);
40
- --#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
38
+ --#{$dual-list-selector}__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
39
+ --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
40
+ --#{$dual-list-selector}__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
41
+ --#{$dual-list-selector}__list-item-row--BorderRadius: var(--pf-t--global--border--radius--tiny);
42
+ --#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
43
+ --#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
41
44
  --#{$dual-list-selector}__list-item--m-ghost-row--Opacity: .4;
42
45
 
43
46
  // Item
44
- --#{$dual-list-selector}__item--PaddingTop: var(--#{$pf-global}--spacer--sm);
45
- --#{$dual-list-selector}__item--PaddingRight: var(--#{$pf-global}--spacer--md);
46
- --#{$dual-list-selector}__item--PaddingBottom: var(--#{$pf-global}--spacer--sm);
47
- --#{$dual-list-selector}__item--PaddingLeft: var(--#{$pf-global}--spacer--md);
48
- --#{$dual-list-selector}__item--m-expandable--PaddingLeft: 0;
49
- --#{$dual-list-selector}__item--indent--base: calc(var(--#{$pf-global}--spacer--md) + var(--#{$pf-global}--spacer--sm) + var(--#{$dual-list-selector}__list-item-row--FontSize));
50
- --#{$dual-list-selector}__item--nested-indent--base: calc(var(--#{$dual-list-selector}__item--indent--base) - var(--#{$pf-global}--spacer--md));
51
- --#{$dual-list-selector}__draggable--item--PaddingLeft: var(--#{$pf-global}--spacer--xs);
47
+ --#{$dual-list-selector}__item--PaddingTop: var(--pf-t--global--spacer--sm);
48
+ --#{$dual-list-selector}__item--PaddingRight: var(--pf-t--global--spacer--md);
49
+ --#{$dual-list-selector}__item--PaddingBottom: var(--pf-t--global--spacer--sm);
50
+ --#{$dual-list-selector}__item--PaddingLeft: var(--pf-t--global--spacer--md);
51
+ --#{$dual-list-selector}__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
52
+ --#{$dual-list-selector}__item--indent--base: calc(var(--pf-t--global--spacer--md) + var(--pf-t--global--spacer--sm) + var(--#{$dual-list-selector}__list-item-row--FontSize));
53
+ --#{$dual-list-selector}__item--nested-indent--base: calc(var(--#{$dual-list-selector}__item--indent--base) - var(--pf-t--global--spacer--md));
54
+ --#{$dual-list-selector}__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
52
55
 
53
56
  // Item text
54
- --#{$dual-list-selector}__item-text--Color: var(--#{$pf-global}--Color--100);
55
- --#{$dual-list-selector}__list-item-row--m-selected__text--Color: var(--#{$pf-global}--active-color--100);
56
- --#{$dual-list-selector}__list-item-row--m-selected__text--FontWeight: var(--#{$pf-global}--FontWeight--bold);
57
- --#{$dual-list-selector}__list-item--m-disabled__item-text--Color: var(--#{$pf-global}--disabled-color--100);
57
+ --#{$dual-list-selector}__item-text--Color: var(--pf-t--global--text--color--subtle);
58
+ --#{$dual-list-selector}__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
59
+ --#{$dual-list-selector}__list-item--m-disabled__item-text--Color: var(--pf-t--global--background--color--disabled--default); // token?
58
60
 
59
61
  // Status
60
- --#{$dual-list-selector}__status--MarginBottom: var(--#{$pf-global}--spacer--sm);
61
- --#{$dual-list-selector}__status-text--FontSize: var(--#{$pf-global}--FontSize--sm);
62
- --#{$dual-list-selector}__status-text--Color: var(--#{$pf-global}--Color--200);
62
+ --#{$dual-list-selector}__status--MarginBottom: var(--pf-t--global--spacer--sm);
63
+ --#{$dual-list-selector}__status-text--FontSize: var(--pf-t--global--font--size--sm);
64
+ --#{$dual-list-selector}__status-text--Color: var(--pf-t--global--text--color--subtle);
63
65
 
64
66
  // Controls
65
- --#{$dual-list-selector}__controls--PaddingRight: var(--#{$pf-global}--spacer--md);
66
- --#{$dual-list-selector}__controls--PaddingLeft: var(--#{$pf-global}--spacer--md);
67
+ --#{$dual-list-selector}__controls--PaddingRight: var(--pf-t--global--spacer--md);
68
+ --#{$dual-list-selector}__controls--PaddingLeft: var(--pf-t--global--spacer--md);
69
+ --#{$dual-list-selector}__controls--Gap: var(--pf-t--global--spacer--sm);
70
+ --#{$dual-list-selector}__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
67
71
 
68
72
  // Toggle
69
- --#{$dual-list-selector}__item-toggle--PaddingTop: var(--#{$pf-global}--spacer--sm);
70
- --#{$dual-list-selector}__item-toggle--PaddingRight: var(--#{$pf-global}--spacer--sm);
71
- --#{$dual-list-selector}__item-toggle--PaddingBottom: var(--#{$pf-global}--spacer--sm);
72
- --#{$dual-list-selector}__item-toggle--PaddingLeft: var(--#{$pf-global}--spacer--md);
73
- --#{$dual-list-selector}__item-toggle--MarginTop: calc(var(--#{$pf-global}--spacer--sm) * -1);
74
- --#{$dual-list-selector}__item-toggle--MarginBottom: calc(var(--#{$pf-global}--spacer--sm) * -1);
73
+ --#{$dual-list-selector}__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
75
74
  --#{$dual-list-selector}__list__list__item-toggle--Left: 0;
76
75
  --#{$dual-list-selector}__list__list__item-toggle--TranslateX: -100%;
77
76
 
78
77
  // Check
79
- --#{$dual-list-selector}__item-check--MarginRight: var(--#{$pf-global}--spacer--sm);
78
+ --#{$dual-list-selector}__item-check--MarginRight: var(--pf-t--global--spacer--sm);
80
79
 
81
80
  // Badge
82
- --#{$dual-list-selector}__item-count--Marginleft: var(--#{$pf-global}--spacer--sm);
83
- --#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--#{$pf-global}--disabled-color--200);
81
+ --#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
84
82
 
85
83
  // Icon
86
84
  --#{$dual-list-selector}__item-toggle-icon--Rotate: 0;
87
85
  --#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
88
- --#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition);
86
+ --#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition); // need token
89
87
  --#{$dual-list-selector}__item-toggle-icon--MinWidth: var(--#{$dual-list-selector}__list-item-row--FontSize);
90
- --#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(--#{$pf-global}--disabled-color--200);
88
+ --#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--background--color--disabled--default);
89
+ }
91
90
 
91
+ .#{$dual-list-selector} {
92
92
  display: grid;
93
93
  grid-template-areas:
94
94
  "pane-header . pane-header-c"
@@ -119,6 +119,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
119
119
  }
120
120
 
121
121
  .#{$dual-list-selector}__title-text {
122
+ font-size: var(--#{$dual-list-selector}__title-text--FontSize);
122
123
  font-weight: var(--#{$dual-list-selector}__title-text--FontWeight);
123
124
  }
124
125
 
@@ -156,8 +157,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
156
157
  grid-area: var(--#{$dual-list-selector}__menu--GridArea);
157
158
  min-height: var(--#{$dual-list-selector}__menu--MinHeight);
158
159
  max-height: var(--#{$dual-list-selector}__menu--MaxHeight);
160
+ margin-block-start: var(--#{$dual-list-selector}__menu--MarginBlockStart);
159
161
  overflow: auto;
160
162
  border: var(--#{$dual-list-selector}__menu--BorderWidth) solid var(--#{$dual-list-selector}__menu--BorderColor);
163
+ border-radius: var(--#{$dual-list-selector}__menu--BorderRadius);
161
164
  }
162
165
 
163
166
  .#{$dual-list-selector}__list {
@@ -175,7 +178,6 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
175
178
  );
176
179
 
177
180
  position: absolute;
178
- inset-block-start: 0;
179
181
  inset-inline-start: var(--#{$dual-list-selector}__list__list__item-toggle--Left);
180
182
  }
181
183
  }
@@ -190,7 +192,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
190
192
 
191
193
  .#{$dual-list-selector}__list-item {
192
194
  &:focus {
193
- --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--focus-within--BackgroundColor);
195
+ --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
194
196
  }
195
197
 
196
198
  &.pf-m-expandable {
@@ -213,6 +215,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
213
215
  display: flex;
214
216
  font-size: var(--#{$dual-list-selector}__list-item-row--FontSize);
215
217
  background-color: var(--#{$dual-list-selector}__list-item-row--BackgroundColor);
218
+ border-radius: var(--#{$dual-list-selector}__list-item-row--BorderRadius);
216
219
 
217
220
  &:hover {
218
221
  --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
@@ -226,6 +229,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
226
229
 
227
230
  font-weight: var(--#{$dual-list-selector}__list-item-row--m-selected__text--FontWeight);
228
231
  }
232
+
233
+ &:hover {
234
+ --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
235
+ }
229
236
  }
230
237
 
231
238
  &.pf-m-check {
@@ -275,6 +282,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
275
282
  padding-inline-start: var(--#{$dual-list-selector}__item--PaddingLeft);
276
283
  padding-inline-end: var(--#{$dual-list-selector}__item--PaddingRight);
277
284
  cursor: pointer;
285
+ outline-offset: -2px;
278
286
  }
279
287
 
280
288
  .#{$dual-list-selector}__item-count {
@@ -293,10 +301,16 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
293
301
  }
294
302
 
295
303
  .#{$dual-list-selector}__controls {
304
+ display: flex;
305
+ flex-direction: column;
296
306
  grid-area: var(--#{$dual-list-selector}__controls--GridArea);
307
+ gap: var(--#{$dual-list-selector}__controls--Gap);
308
+ align-items: center;
297
309
  align-self: center;
310
+ justify-content: center;
298
311
  padding-inline-start: var(--#{$dual-list-selector}__controls--PaddingLeft);
299
312
  padding-inline-end: var(--#{$dual-list-selector}__controls--PaddingRight);
313
+ margin-block-start: var(--#{$dual-list-selector}__controls--MarginBlockStart);
300
314
  }
301
315
 
302
316
  :is(.#{$dual-list-selector}__controls-item, .#{$dual-list-selector}__item-toggle-icon) {
@@ -347,10 +361,3 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
347
361
  }
348
362
  }
349
363
  // stylelint-enable
350
-
351
- // stylelint-disable no-invalid-position-at-import-rule
352
- @import "themes/dark/dual-list-selector";
353
-
354
- @include pf-v5-theme-dark {
355
- @include pf-v5-theme-dark-dual-list-selector;
356
- }
@@ -1,41 +1,49 @@
1
- .pf-v5-c-empty-state {
2
- --pf-v5-c-empty-state--PaddingTop: var(--pf-v5-global--spacer--xl);
3
- --pf-v5-c-empty-state--PaddingRight: var(--pf-v5-global--spacer--xl);
4
- --pf-v5-c-empty-state--PaddingBottom: var(--pf-v5-global--spacer--xl);
5
- --pf-v5-c-empty-state--PaddingLeft: var(--pf-v5-global--spacer--xl);
6
- --pf-v5-c-empty-state--m-xs--PaddingTop: var(--pf-v5-global--spacer--md);
7
- --pf-v5-c-empty-state--m-xs--PaddingRight: var(--pf-v5-global--spacer--md);
8
- --pf-v5-c-empty-state--m-xs--PaddingBottom: var(--pf-v5-global--spacer--md);
9
- --pf-v5-c-empty-state--m-xs--PaddingLeft: var(--pf-v5-global--spacer--md);
1
+ :root {
2
+ --pf-v5-c-empty-state--PaddingTop: var(--pf-t--global--spacer--xl);
3
+ --pf-v5-c-empty-state--PaddingRight: var(--pf-t--global--spacer--xl);
4
+ --pf-v5-c-empty-state--PaddingBottom: var(--pf-t--global--spacer--xl);
5
+ --pf-v5-c-empty-state--PaddingLeft: var(--pf-t--global--spacer--xl);
6
+ --pf-v5-c-empty-state--m-xs--PaddingTop: var(--pf-t--global--spacer--md);
7
+ --pf-v5-c-empty-state--m-xs--PaddingRight: var(--pf-t--global--spacer--md);
8
+ --pf-v5-c-empty-state--m-xs--PaddingBottom: var(--pf-t--global--spacer--md);
9
+ --pf-v5-c-empty-state--m-xs--PaddingLeft: var(--pf-t--global--spacer--md);
10
10
  --pf-v5-c-empty-state__content--MaxWidth: none;
11
11
  --pf-v5-c-empty-state--m-xs__content--MaxWidth: 21.875rem;
12
12
  --pf-v5-c-empty-state--m-sm__content--MaxWidth: 25rem;
13
13
  --pf-v5-c-empty-state--m-lg__content--MaxWidth: 37.5rem;
14
- --pf-v5-c-empty-state__icon--MarginBottom: var(--pf-v5-global--spacer--lg);
15
- --pf-v5-c-empty-state__icon--FontSize: var(--pf-v5-global--icon--FontSize--xl);
16
- --pf-v5-c-empty-state__icon--Color: var(--pf-v5-global--icon--Color--light);
17
- --pf-v5-c-empty-state--m-xs__icon--MarginBottom: var(--pf-v5-global--spacer--md);
18
- --pf-v5-c-empty-state--m-xl__icon--MarginBottom: var(--pf-v5-global--spacer--xl);
19
- --pf-v5-c-empty-state--m-xl__icon--FontSize: 6.25rem;
20
- --pf-v5-c-empty-state__title-text--FontFamily: var(--pf-v5-global--FontFamily--heading);
21
- --pf-v5-c-empty-state__title-text--FontSize: var(--pf-v5-global--FontSize--xl);
22
- --pf-v5-c-empty-state__title-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
23
- --pf-v5-c-empty-state__title-text--LineHeight: var(--pf-v5-global--LineHeight--md);
24
- --pf-v5-c-empty-state--m-xs__title-text--FontSize: var(--pf-v5-global--FontSize--md);
25
- --pf-v5-c-empty-state--m-xl__title-text--FontSize: var(--pf-v5-global--FontSize--4xl);
26
- --pf-v5-c-empty-state--m-xl__title-text--LineHeight: var(--pf-v5-global--LineHeight--sm);
27
- --pf-v5-c-empty-state__body--MarginTop: var(--pf-v5-global--spacer--md);
28
- --pf-v5-c-empty-state__body--Color: var(--pf-v5-global--Color--200);
29
- --pf-v5-c-empty-state--body--FontSize: var(--pf-v5-global--FontSize--md);
30
- --pf-v5-c-empty-state--m-xs__body--FontSize: var(--pf-v5-global--FontSize--sm);
31
- --pf-v5-c-empty-state--m-xs__body--MarginTop: var(--pf-v5-global--spacer--md);
32
- --pf-v5-c-empty-state--m-xl__body--FontSize: var(--pf-v5-global--FontSize--xl);
33
- --pf-v5-c-empty-state--m-xl__body--MarginTop: var(--pf-v5-global--spacer--lg);
34
- --pf-v5-c-empty-state__footer--RowGap: var(--pf-v5-global--spacer--sm);
35
- --pf-v5-c-empty-state__footer--MarginTop: var(--pf-v5-global--spacer--xl);
36
- --pf-v5-c-empty-state--m-xs__footer--MarginTop: var(--pf-v5-global--spacer--md);
37
- --pf-v5-c-empty-state__actions--RowGap: var(--pf-v5-global--spacer--xs);
38
- --pf-v5-c-empty-state__actions--ColumnGap: var(--pf-v5-global--spacer--xs);
14
+ --pf-v5-c-empty-state__icon--MarginBottom: var(--pf-t--global--spacer--lg);
15
+ --pf-v5-c-empty-state__icon--FontSize: var(--pf-t--global--icon--size--2xl);
16
+ --pf-v5-c-empty-state__icon--Color: var(--pf-t--global--icon--color--subtle);
17
+ --pf-v5-c-empty-state--m-xs__icon--MarginBottom: var(--pf-t--global--spacer--lg);
18
+ --pf-v5-c-empty-state--m-xl__icon--MarginBottom: var(--pf-t--global--spacer--xl);
19
+ --pf-v5-c-empty-state--m-xl__icon--FontSize: var(--pf-t--global--icon--size--3xl);
20
+ --pf-v5-c-empty-state--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
21
+ --pf-v5-c-empty-state--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
22
+ --pf-v5-c-empty-state--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
23
+ --pf-v5-c-empty-state--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
24
+ --pf-v5-c-empty-state--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
25
+ --pf-v5-c-empty-state__title-text--FontFamily: var(--pf-t--global--font--family--heading);
26
+ --pf-v5-c-empty-state__title-text--FontSize: var(--pf-t--global--font--size--heading--md);
27
+ --pf-v5-c-empty-state__title-text--FontWeight: var(--pf-t--global--font--weight--heading);
28
+ --pf-v5-c-empty-state__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
29
+ --pf-v5-c-empty-state--m-xs__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
30
+ --pf-v5-c-empty-state--m-xl__title-text--FontSize: var(--pf-t--global--font--size--heading--2xl);
31
+ --pf-v5-c-empty-state--m-xl__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
32
+ --pf-v5-c-empty-state__body--MarginTop: var(--pf-t--global--spacer--md);
33
+ --pf-v5-c-empty-state__body--Color: var(--pf-t--global--text--color--subtle);
34
+ --pf-v5-c-empty-state--body--FontSize: var(--pf-t--global--font--size--body--lg);
35
+ --pf-v5-c-empty-state--m-xs__body--FontSize: var(--pf-t--global--font--size--body--lg);
36
+ --pf-v5-c-empty-state--m-xs__body--MarginTop: var(--pf-t--global--spacer--md);
37
+ --pf-v5-c-empty-state--m-xl__body--FontSize: var(--pf-t--global--font--size--body--lg);
38
+ --pf-v5-c-empty-state--m-xl__body--MarginTop: var(--pf-t--global--spacer--xl);
39
+ --pf-v5-c-empty-state__footer--RowGap: var(--pf-t--global--spacer--sm);
40
+ --pf-v5-c-empty-state__footer--MarginTop: var(--pf-t--global--spacer--xl);
41
+ --pf-v5-c-empty-state--m-xs__footer--MarginTop: var(--pf-t--global--spacer--md);
42
+ --pf-v5-c-empty-state__actions--RowGap: var(--pf-t--global--spacer--sm);
43
+ --pf-v5-c-empty-state__actions--ColumnGap: var(--pf-t--global--spacer--md);
44
+ }
45
+
46
+ .pf-v5-c-empty-state {
39
47
  display: flex;
40
48
  align-items: center;
41
49
  justify-content: center;
@@ -74,6 +82,21 @@
74
82
  .pf-v5-c-empty-state.pf-m-full-height {
75
83
  height: 100%;
76
84
  }
85
+ .pf-v5-c-empty-state.pf-m-danger {
86
+ --pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-danger__icon--Color);
87
+ }
88
+ .pf-v5-c-empty-state.pf-m-warning {
89
+ --pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-warning__icon--Color);
90
+ }
91
+ .pf-v5-c-empty-state.pf-m-success {
92
+ --pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-success__icon--Color);
93
+ }
94
+ .pf-v5-c-empty-state.pf-m-info {
95
+ --pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-info__icon--Color);
96
+ }
97
+ .pf-v5-c-empty-state.pf-m-custom {
98
+ --pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-custom__icon--Color);
99
+ }
77
100
 
78
101
  .pf-v5-c-empty-state__content {
79
102
  max-width: var(--pf-v5-c-empty-state__content--MaxWidth);