@patternfly/react-styles 6.0.0-alpha.1 → 6.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/README.md +1 -1
  3. package/css/assets/images/PF-Backdrop.svg +1 -0
  4. package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  5. package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  6. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  7. package/css/assets/images/PF-IconLogo-color.svg +17 -0
  8. package/css/assets/images/PF-IconLogo.svg +17 -0
  9. package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
  10. package/css/assets/images/pf-background.svg +22 -0
  11. package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  12. package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  13. package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  14. package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  15. package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  16. package/css/assets/images/pf_logo_white.hbs +35 -0
  17. package/css/assets/images/pf_logo_white.svg +38 -0
  18. package/css/components/AboutModalBox/about-modal-box.css +57 -94
  19. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  20. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  21. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  22. package/css/components/Accordion/accordion.css +85 -177
  23. package/css/components/Accordion/accordion.d.ts +3 -2
  24. package/css/components/Accordion/accordion.js +3 -2
  25. package/css/components/Accordion/accordion.mjs +3 -2
  26. package/css/components/ActionList/action-list.css +18 -17
  27. package/css/components/Alert/alert-group.css +20 -16
  28. package/css/components/Alert/alert.css +57 -84
  29. package/css/components/Alert/alert.d.ts +1 -2
  30. package/css/components/Alert/alert.js +1 -2
  31. package/css/components/Alert/alert.mjs +1 -2
  32. package/css/components/Avatar/avatar.css +10 -13
  33. package/css/components/Avatar/avatar.d.ts +1 -2
  34. package/css/components/Avatar/avatar.js +1 -2
  35. package/css/components/Avatar/avatar.mjs +1 -2
  36. package/css/components/BackToTop/back-to-top.css +17 -16
  37. package/css/components/Backdrop/backdrop.css +6 -2
  38. package/css/components/BackgroundImage/background-image.css +5 -1
  39. package/css/components/Badge/badge.css +23 -15
  40. package/css/components/Badge/badge.d.ts +2 -2
  41. package/css/components/Badge/badge.js +2 -2
  42. package/css/components/Badge/badge.mjs +2 -2
  43. package/css/components/Banner/banner.css +90 -64
  44. package/css/components/Banner/banner.d.ts +12 -4
  45. package/css/components/Banner/banner.js +12 -4
  46. package/css/components/Banner/banner.mjs +12 -4
  47. package/css/components/Breadcrumb/breadcrumb.css +19 -16
  48. package/css/components/Button/button.css +444 -435
  49. package/css/components/Button/button.d.ts +10 -9
  50. package/css/components/Button/button.js +10 -9
  51. package/css/components/Button/button.mjs +10 -9
  52. package/css/components/Card/card.css +100 -194
  53. package/css/components/Card/card.d.ts +5 -9
  54. package/css/components/Card/card.js +5 -9
  55. package/css/components/Card/card.mjs +5 -9
  56. package/css/components/Check/check.css +24 -21
  57. package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
  58. package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
  59. package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
  60. package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
  61. package/css/components/CodeBlock/code-block.css +18 -9
  62. package/css/components/Content/content.css +67 -67
  63. package/css/components/DataList/data-list.css +101 -158
  64. package/css/components/DataList/data-list.d.ts +1 -2
  65. package/css/components/DataList/data-list.js +1 -2
  66. package/css/components/DataList/data-list.mjs +1 -2
  67. package/css/components/DescriptionList/description-list.css +39 -34
  68. package/css/components/Divider/divider.css +97 -177
  69. package/css/components/Divider/divider.d.ts +1 -0
  70. package/css/components/Divider/divider.js +1 -0
  71. package/css/components/Divider/divider.mjs +1 -0
  72. package/css/components/DragDrop/drag-drop.css +18 -14
  73. package/css/components/DragDrop/drag-drop.d.ts +1 -2
  74. package/css/components/DragDrop/drag-drop.js +1 -2
  75. package/css/components/DragDrop/drag-drop.mjs +1 -2
  76. package/css/components/Drawer/drawer.css +112 -113
  77. package/css/components/Drawer/drawer.d.ts +3 -3
  78. package/css/components/Drawer/drawer.js +3 -3
  79. package/css/components/Drawer/drawer.mjs +3 -3
  80. package/css/components/Dropdown/dropdown.css +1 -3
  81. package/css/components/Dropdown/dropdown.d.ts +0 -1
  82. package/css/components/Dropdown/dropdown.js +0 -1
  83. package/css/components/Dropdown/dropdown.mjs +0 -1
  84. package/css/components/EmptyState/empty-state.css +57 -34
  85. package/css/components/EmptyState/empty-state.d.ts +6 -1
  86. package/css/components/EmptyState/empty-state.js +6 -1
  87. package/css/components/EmptyState/empty-state.mjs +6 -1
  88. package/css/components/ExpandableSection/expandable-section.css +64 -62
  89. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  90. package/css/components/ExpandableSection/expandable-section.js +1 -3
  91. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  92. package/css/components/FileUpload/file-upload.css +28 -34
  93. package/css/components/Form/form.css +68 -114
  94. package/css/components/Form/form.d.ts +2 -6
  95. package/css/components/Form/form.js +2 -6
  96. package/css/components/Form/form.mjs +2 -6
  97. package/css/components/FormControl/form-control.css +86 -111
  98. package/css/components/FormControl/form-control.d.ts +1 -2
  99. package/css/components/FormControl/form-control.js +1 -2
  100. package/css/components/FormControl/form-control.mjs +1 -2
  101. package/css/components/HelperText/helper-text.css +28 -34
  102. package/css/components/HelperText/helper-text.d.ts +1 -2
  103. package/css/components/HelperText/helper-text.js +1 -2
  104. package/css/components/HelperText/helper-text.mjs +1 -2
  105. package/css/components/Hint/hint.css +28 -21
  106. package/css/components/Hint/hint.d.ts +1 -2
  107. package/css/components/Hint/hint.js +1 -2
  108. package/css/components/Hint/hint.mjs +1 -2
  109. package/css/components/Icon/icon.css +154 -18
  110. package/css/components/Icon/icon.d.ts +11 -0
  111. package/css/components/Icon/icon.js +11 -0
  112. package/css/components/Icon/icon.mjs +11 -0
  113. package/css/components/InlineEdit/inline-edit.css +8 -7
  114. package/css/components/InputGroup/input-group.css +22 -38
  115. package/css/components/InputGroup/input-group.d.ts +1 -2
  116. package/css/components/InputGroup/input-group.js +1 -2
  117. package/css/components/InputGroup/input-group.mjs +1 -2
  118. package/css/components/JumpLinks/jump-links.css +34 -34
  119. package/css/components/Label/label-group.css +39 -44
  120. package/css/components/Label/label.css +258 -355
  121. package/css/components/Label/label.d.ts +11 -10
  122. package/css/components/Label/label.js +11 -10
  123. package/css/components/Label/label.mjs +11 -10
  124. package/css/components/List/list.css +16 -16
  125. package/css/components/Login/login.css +70 -97
  126. package/css/components/Login/login.d.ts +0 -2
  127. package/css/components/Login/login.js +0 -2
  128. package/css/components/Login/login.mjs +0 -2
  129. package/css/components/Masthead/masthead.css +262 -498
  130. package/css/components/Masthead/masthead.d.ts +3 -45
  131. package/css/components/Masthead/masthead.js +3 -45
  132. package/css/components/Masthead/masthead.mjs +3 -45
  133. package/css/components/Menu/menu.css +3 -0
  134. package/css/components/Menu/menu.d.ts +1 -0
  135. package/css/components/Menu/menu.js +1 -0
  136. package/css/components/Menu/menu.mjs +1 -0
  137. package/css/components/MenuToggle/menu-toggle.css +58 -80
  138. package/css/components/ModalBox/modal-box.css +59 -52
  139. package/css/components/ModalBox/modal-box.d.ts +1 -2
  140. package/css/components/ModalBox/modal-box.js +1 -2
  141. package/css/components/ModalBox/modal-box.mjs +1 -2
  142. package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  143. package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
  144. package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
  145. package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
  146. package/css/components/Nav/nav.css +241 -917
  147. package/css/components/Nav/nav.d.ts +9 -20
  148. package/css/components/Nav/nav.js +9 -20
  149. package/css/components/Nav/nav.mjs +9 -20
  150. package/css/components/NotificationBadge/notification-badge.css +56 -81
  151. package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
  152. package/css/components/NotificationBadge/notification-badge.js +1 -5
  153. package/css/components/NotificationBadge/notification-badge.mjs +1 -5
  154. package/css/components/NotificationDrawer/notification-drawer.css +104 -115
  155. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
  156. package/css/components/NotificationDrawer/notification-drawer.js +3 -3
  157. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
  158. package/css/components/NumberInput/number-input.css +8 -8
  159. package/css/components/NumberInput/number-input.d.ts +0 -3
  160. package/css/components/NumberInput/number-input.js +0 -3
  161. package/css/components/NumberInput/number-input.mjs +0 -3
  162. package/css/components/OverflowMenu/overflow-menu.css +17 -47
  163. package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
  164. package/css/components/OverflowMenu/overflow-menu.js +1 -3
  165. package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
  166. package/css/components/Page/page.css +112 -209
  167. package/css/components/Page/page.d.ts +5 -12
  168. package/css/components/Page/page.js +5 -12
  169. package/css/components/Page/page.mjs +5 -12
  170. package/css/components/Pagination/pagination.css +64 -121
  171. package/css/components/Pagination/pagination.d.ts +2 -5
  172. package/css/components/Pagination/pagination.js +2 -5
  173. package/css/components/Pagination/pagination.mjs +2 -5
  174. package/css/components/Panel/panel.css +27 -23
  175. package/css/components/Panel/panel.d.ts +2 -2
  176. package/css/components/Panel/panel.js +2 -2
  177. package/css/components/Panel/panel.mjs +2 -2
  178. package/css/components/Popover/popover.css +42 -53
  179. package/css/components/Popover/popover.d.ts +1 -2
  180. package/css/components/Popover/popover.js +1 -2
  181. package/css/components/Popover/popover.mjs +1 -2
  182. package/css/components/Progress/progress.css +31 -45
  183. package/css/components/Progress/progress.d.ts +1 -2
  184. package/css/components/Progress/progress.js +1 -2
  185. package/css/components/Progress/progress.mjs +1 -2
  186. package/css/components/Radio/radio.css +27 -20
  187. package/css/components/Sidebar/sidebar.css +20 -9
  188. package/css/components/Sidebar/sidebar.d.ts +1 -0
  189. package/css/components/Sidebar/sidebar.js +1 -0
  190. package/css/components/Sidebar/sidebar.mjs +1 -0
  191. package/css/components/SimpleList/simple-list.css +35 -52
  192. package/css/components/SimpleList/simple-list.d.ts +2 -2
  193. package/css/components/SimpleList/simple-list.js +2 -2
  194. package/css/components/SimpleList/simple-list.mjs +2 -2
  195. package/css/components/Skeleton/skeleton.css +18 -20
  196. package/css/components/Skeleton/skeleton.d.ts +1 -2
  197. package/css/components/Skeleton/skeleton.js +1 -2
  198. package/css/components/Skeleton/skeleton.mjs +1 -2
  199. package/css/components/SkipToContent/skip-to-content.css +6 -3
  200. package/css/components/Slider/slider.css +34 -30
  201. package/css/components/Spinner/spinner.css +17 -34
  202. package/css/components/Switch/switch.css +42 -38
  203. package/css/components/Switch/switch.d.ts +1 -2
  204. package/css/components/Switch/switch.js +1 -2
  205. package/css/components/Switch/switch.mjs +1 -2
  206. package/css/components/TabContent/tab-content.css +17 -11
  207. package/css/components/TabContent/tab-content.d.ts +1 -1
  208. package/css/components/TabContent/tab-content.js +1 -1
  209. package/css/components/TabContent/tab-content.mjs +1 -1
  210. package/css/components/Table/table-grid.css +8 -8
  211. package/css/components/Table/table.css +85 -90
  212. package/css/components/Table/table.d.ts +2 -0
  213. package/css/components/Table/table.js +2 -0
  214. package/css/components/Table/table.mjs +2 -0
  215. package/css/components/Tile/tile.css +40 -81
  216. package/css/components/Tile/tile.d.ts +0 -1
  217. package/css/components/Tile/tile.js +0 -1
  218. package/css/components/Tile/tile.mjs +0 -1
  219. package/css/components/Timestamp/timestamp.css +12 -9
  220. package/css/components/Title/title.css +70 -19
  221. package/css/components/Title/title.d.ts +7 -1
  222. package/css/components/Title/title.js +7 -1
  223. package/css/components/Title/title.mjs +7 -1
  224. package/css/components/ToggleGroup/toggle-group.css +34 -47
  225. package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
  226. package/css/components/ToggleGroup/toggle-group.js +0 -1
  227. package/css/components/ToggleGroup/toggle-group.mjs +0 -1
  228. package/css/components/Toolbar/toolbar.css +2527 -1032
  229. package/css/components/Toolbar/toolbar.d.ts +406 -102
  230. package/css/components/Toolbar/toolbar.js +406 -102
  231. package/css/components/Toolbar/toolbar.mjs +406 -102
  232. package/css/components/Tooltip/tooltip.css +16 -18
  233. package/css/components/Tooltip/tooltip.d.ts +0 -1
  234. package/css/components/Tooltip/tooltip.js +0 -1
  235. package/css/components/Tooltip/tooltip.mjs +0 -1
  236. package/css/components/Truncate/truncate.css +4 -0
  237. package/css/docs/components/Brand/examples/Brand.css +12 -0
  238. package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
  239. package/css/docs/components/Brand/examples/Brand.js +11 -0
  240. package/css/docs/components/Brand/examples/Brand.mjs +9 -0
  241. package/css/docs/components/Button/examples/Button.css +4 -0
  242. package/css/docs/components/Divider/examples/Divider.css +3 -1
  243. package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
  244. package/css/docs/components/Label/examples/Label.css +4 -0
  245. package/css/docs/components/Nav/examples/Navigation.css +1 -22
  246. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
  247. package/css/docs/components/Nav/examples/Navigation.js +0 -3
  248. package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
  249. package/css/docs/components/Page/examples/Page.css +0 -8
  250. package/css/docs/components/Page/examples/Page.d.ts +0 -7
  251. package/css/docs/components/Page/examples/Page.js +0 -7
  252. package/css/docs/components/Page/examples/Page.mjs +0 -7
  253. package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
  254. package/css/docs/components/Truncate/examples/Truncate.css +2 -2
  255. package/css/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  256. package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
  257. package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
  258. package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
  259. package/package.json +3 -3
  260. package/css/docs/components/Avatar/examples/Avatar.css +0 -3
  261. package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
  262. package/css/docs/components/Avatar/examples/Avatar.js +0 -4
  263. package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
  264. package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
  265. package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
  266. package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
  267. package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,21 +1,6 @@
1
- .pf-v5-c-about-modal-box {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--light-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
11
- }
12
- .pf-v5-c-about-modal-box .pf-v5-c-button {
13
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
14
- }
15
-
16
- .pf-v5-c-about-modal-box {
1
+ :root {
17
2
  --pf-v5-c-about-modal-box--BackgroundImage: none;
18
- --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-v5-global--palette--black-1000);
3
+ --pf-v5-c-about-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
19
4
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
20
5
  --pf-v5-c-about-modal-box--BackgroundSize--min-width: 200px;
21
6
  --pf-v5-c-about-modal-box--BackgroundSize--width: 60%;
@@ -27,98 +12,95 @@
27
12
  --pf-v5-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
28
13
  --pf-v5-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
29
14
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
30
- --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-v5-global--spacer--2xl);
31
- --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-global--spacer--xl);
32
- --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-global--spacer--xl);
33
- --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-global--spacer--xl);
34
- --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
35
- --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
36
- --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
15
+ --pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
16
+ --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-t--global--spacer--xl);
17
+ --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
18
+ --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
19
+ --pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
20
+ --pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
21
+ --pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
37
22
  --pf-v5-c-about-modal-box__close--ZIndex: var(--pf-v5-global--ZIndex--2xl);
38
- --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-v5-global--spacer--2xl);
39
- --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-global--spacer--xl);
40
- --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-global--spacer--xl);
41
- --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-v5-global--spacer--3xl);
42
- --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-v5-global--spacer--3xl);
43
- --pf-v5-c-about-modal-box__close--c-button--Color: var(--pf-v5-global--Color--100);
44
- --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-v5-global--FontSize--xl);
45
- --pf-v5-c-about-modal-box__close--c-button--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
46
- --pf-v5-c-about-modal-box__close--c-button--Width: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
47
- --pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
48
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
49
- --pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
23
+ --pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-t--global--spacer--2xl);
24
+ --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-t--global--spacer--xl);
25
+ --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-t--global--spacer--xl);
26
+ --pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
27
+ --pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
28
+ --pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
50
29
  --pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
51
- --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--xl);
52
- --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-v5-global--spacer--sm);
53
- --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-global--spacer--xl);
54
- --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-v5-global--spacer--3xl);
55
- --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-v5-global--spacer--3xl);
56
- --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-global--spacer--xl);
57
- --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-v5-global--FontSize--sm);
58
- --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-v5-global--spacer--2xl);
59
- --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-global--spacer--xl);
60
- --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-global--spacer--xl);
61
- --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-global--spacer--xl);
62
- --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-global--spacer--xl);
63
- --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-v5-global--spacer--2xl);
64
- --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-v5-global--spacer--3xl);
65
- --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-v5-global--spacer--2xl);
66
- --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-v5-global--spacer--3xl);
67
- color: var(--pf-v5-global--Color--100);
68
- position: relative;
69
- display: grid;
70
- grid-template-areas: "brand close" "header header" "content content";
71
- grid-template-rows: max-content max-content auto;
72
- width: var(--pf-v5-c-about-modal-box--Width);
73
- height: var(--pf-v5-c-about-modal-box--Height);
74
- overflow-x: hidden;
75
- overflow-y: auto;
76
- background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
77
- background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
78
- background-repeat: no-repeat;
79
- background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
80
- background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
81
- }
82
- :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-about-modal-box {
30
+ --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-t--global--spacer--xl);
31
+ --pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-t--global--spacer--sm);
32
+ --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-t--global--spacer--xl);
33
+ --pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
34
+ --pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
35
+ --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
36
+ --pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
37
+ --pf-v5-c-about-modal-box__strapline--Color: var(--pf-t--global--text--color--subtle);
38
+ --pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
39
+ --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-t--global--spacer--xl);
40
+ --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-t--global--spacer--xl);
41
+ --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-t--global--spacer--xl);
42
+ --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-t--global--spacer--xl);
43
+ --pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
44
+ --pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
45
+ --pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
46
+ --pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
47
+ }
48
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) :root {
83
49
  --pf-v5-c-about-modal-box--BackgroundPosition: bottom left;
84
50
  }
85
51
 
86
52
  @media screen and (min-width: 576px) {
87
- .pf-v5-c-about-modal-box {
53
+ :root {
88
54
  --pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-c-about-modal-box__brand--sm--PaddingRight);
89
55
  --pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-c-about-modal-box__brand--sm--PaddingLeft);
90
56
  --pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-c-about-modal-box__brand--sm--PaddingBottom);
91
57
  }
92
58
  }
93
59
  @media only screen and (min-width: 576px) {
94
- .pf-v5-c-about-modal-box {
60
+ :root {
95
61
  --pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-c-about-modal-box__close--sm--PaddingBottom);
96
62
  }
97
63
  }
98
64
  @media only screen and (min-width: 992px) {
99
- .pf-v5-c-about-modal-box {
65
+ :root {
100
66
  --pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-c-about-modal-box__close--lg--PaddingRight);
101
67
  }
102
68
  }
103
69
  @media only screen and (min-width: 576px) {
104
- .pf-v5-c-about-modal-box {
70
+ :root {
105
71
  --pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-c-about-modal-box__header--sm--PaddingRight);
106
72
  --pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-c-about-modal-box__header--sm--PaddingLeft);
107
73
  }
108
74
  }
109
75
  @media only screen and (min-width: 576px) {
110
- .pf-v5-c-about-modal-box {
76
+ :root {
111
77
  --pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-c-about-modal-box__strapline--sm--PaddingTop);
112
78
  }
113
79
  }
114
80
  @media only screen and (min-width: 576px) {
115
- .pf-v5-c-about-modal-box {
81
+ :root {
116
82
  --pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-c-about-modal-box__content--sm--MarginTop);
117
83
  --pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-c-about-modal-box__content--sm--MarginRight);
118
84
  --pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-c-about-modal-box__content--sm--MarginBottom);
119
85
  --pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-c-about-modal-box__content--sm--MarginLeft);
120
86
  }
121
87
  }
88
+
89
+ .pf-v5-c-about-modal-box {
90
+ position: relative;
91
+ display: grid;
92
+ grid-template-areas: "brand close" "header header" "content content";
93
+ grid-template-rows: max-content max-content auto;
94
+ width: var(--pf-v5-c-about-modal-box--Width);
95
+ height: var(--pf-v5-c-about-modal-box--Height);
96
+ overflow-x: hidden;
97
+ overflow-y: auto;
98
+ background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
99
+ background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
100
+ background-repeat: no-repeat;
101
+ background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
102
+ background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
103
+ }
122
104
  @media only screen and (min-width: 576px) {
123
105
  .pf-v5-c-about-modal-box {
124
106
  grid-template-areas: "brand close" "header close" "content close";
@@ -160,6 +142,7 @@
160
142
  padding-block-start: var(--pf-v5-c-about-modal-box__strapline--PaddingTop);
161
143
  margin-block-start: auto;
162
144
  font-size: var(--pf-v5-c-about-modal-box__strapline--FontSize);
145
+ color: var(--pf-v5-c-about-modal-box__strapline--Color);
163
146
  }
164
147
 
165
148
  .pf-v5-c-about-modal-box__content {
@@ -206,25 +189,5 @@
206
189
  }
207
190
  }
208
191
  .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain {
209
- display: flex;
210
- align-items: center;
211
- justify-content: center;
212
- width: var(--pf-v5-c-about-modal-box__close--c-button--Width);
213
- height: var(--pf-v5-c-about-modal-box__close--c-button--Height);
214
- padding: 0;
215
192
  font-size: var(--pf-v5-c-about-modal-box__close--c-button--FontSize);
216
- color: var(--pf-v5-c-about-modal-box__close--c-button--Color);
217
- background-color: var(--pf-v5-c-about-modal-box__close--c-button--BackgroundColor);
218
- border-radius: var(--pf-v5-c-about-modal-box__close--c-button--BorderRadius);
219
- }
220
- .pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain:hover {
221
- --pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
222
- }
223
-
224
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box .pf-v5-c-button {
225
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
226
- }
227
-
228
- :where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
229
- color: var(--pf-v5-global--Color--100);
230
193
  }
@@ -11,7 +11,6 @@ declare const _default: {
11
11
  "dirRtl": "pf-v5-m-dir-rtl",
12
12
  "modifiers": {
13
13
  "plain": "pf-m-plain"
14
- },
15
- "themeDark": "pf-v5-theme-dark"
14
+ }
16
15
  };
17
16
  export default _default;
@@ -13,6 +13,5 @@ exports.default = {
13
13
  "dirRtl": "pf-v5-m-dir-rtl",
14
14
  "modifiers": {
15
15
  "plain": "pf-m-plain"
16
- },
17
- "themeDark": "pf-v5-theme-dark"
16
+ }
18
17
  };
@@ -11,6 +11,5 @@ export default {
11
11
  "dirRtl": "pf-v5-m-dir-rtl",
12
12
  "modifiers": {
13
13
  "plain": "pf-m-plain"
14
- },
15
- "themeDark": "pf-v5-theme-dark"
14
+ }
16
15
  };
@@ -1,145 +1,99 @@
1
- .pf-v5-c-accordion {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--dark-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--dark-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--dark-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--dark-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
11
- }
12
-
13
- .pf-v5-c-accordion {
14
- --pf-v5-c-accordion--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
15
- --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-global--spacer--sm);
16
- --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-global--spacer--md);
17
- --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-global--spacer--sm);
18
- --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-v5-global--spacer--md);
19
- --pf-v5-c-accordion__toggle--before--Top: 0;
20
- --pf-v5-c-accordion__toggle--after--Top: 0;
21
- --pf-v5-c-accordion__toggle--after--BackgroundColor: transparent;
22
- --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
23
- --pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
24
- --pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
25
- --pf-v5-c-accordion__toggle--before--Width: var(--pf-v5-global--BorderWidth--lg);
26
- --pf-v5-c-accordion__toggle--after--Width: var(--pf-v5-global--BorderWidth--lg);
27
- --pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
28
- --pf-v5-c-accordion__toggle--BackgroundColor: transparent;
29
- --pf-v5-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-v5-global--spacer--lg));
30
- --pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-global--link--Color);
31
- --pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-global--link--Color);
32
- --pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
33
- --pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-global--link--Color);
34
- --pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
35
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-global--link--Color);
36
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
1
+ :root {
2
+ --pf-v5-c-accordion--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
+ --pf-v5-c-accordion--RowGap: var(--pf-t--global--spacer--xs);
4
+ --pf-v5-c-accordion__item--BorderRadius: var(--pf-t--global--border--radius--200);
5
+ --pf-v5-c-accordion__item--m-expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
6
+ --pf-v5-c-accordion__toggle--ColumnGap: var(--pf-t--global--spacer--sm);
7
+ --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
8
+ --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-t--global--spacer--md);
9
+ --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
10
+ --pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
11
+ --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
12
+ --pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
13
+ --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
14
+ --pf-v5-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
15
+ --pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--md);
16
+ --pf-v5-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
17
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body);
18
+ --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
37
19
  --pf-v5-c-accordion__toggle-icon--Transition: .2s ease-in 0s;
38
20
  --pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
39
- --pf-v5-c-accordion__expandable-content--Color: var(--pf-v5-global--Color--200);
40
- --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-v5-global--FontSize--sm);
41
- --pf-v5-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
21
+ --pf-v5-c-accordion__expandable-content--MarginRight: var(--pf-t--global--spacer--md);
22
+ --pf-v5-c-accordion__expandable-content--MarginBottom: var(--pf-t--global--spacer--md);
23
+ --pf-v5-c-accordion__expandable-content--MarginLeft: var(--pf-t--global--spacer--md);
24
+ --pf-v5-c-accordion__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
25
+ --pf-v5-c-accordion__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
26
+ --pf-v5-c-accordion__expandable-content--Color: var(--pf-t--global--text--color--regular);
27
+ --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-t--global--font--size--body--default);
42
28
  --pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight: 9.375rem;
43
- --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-global--spacer--sm);
44
- --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-v5-global--spacer--md);
45
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-global--spacer--sm);
46
- --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-v5-global--spacer--md);
29
+ --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-t--global--spacer--sm);
30
+ --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-t--global--spacer--sm);
31
+ --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-t--global--spacer--sm);
32
+ --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-t--global--spacer--sm);
47
33
  --pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop: 0;
48
- --pf-v5-c-accordion__expandable-content-body--after--BackgroundColor: transparent;
49
- --pf-v5-c-accordion__expandable-content-body--after--Width: var(--pf-v5-global--BorderWidth--lg);
50
- --pf-v5-c-accordion__expandable-content-body--before--Top: 0;
51
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-v5-global--spacer--md);
52
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-v5-global--spacer--md);
53
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-v5-global--spacer--md);
54
- --pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft: var(--pf-v5-global--spacer--lg);
55
- --pf-v5-c-accordion--m-display-lg__toggle--FontFamily: var(--pf-v5-global--FontFamily--heading);
56
- --pf-v5-c-accordion--m-display-lg__toggle--FontSize: var(--pf-v5-global--FontSize--xl);
57
- --pf-v5-c-accordion--m-display-lg__toggle--hover__toggle-text--Color: var(--pf-v5-global--Color--100);
58
- --pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--Color: var(--pf-v5-global--Color--100);
59
- --pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
60
- --pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--Color: var(--pf-v5-global--Color--100);
61
- --pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
62
- --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color: var(--pf-v5-global--Color--100);
63
- --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--normal);
64
- --pf-v5-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-v5-global--FontSize--md);
65
- --pf-v5-c-accordion--m-display-lg__expandable-content--Color: var(--pf-v5-global--Color--100);
66
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingTop: 0;
67
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingRight: var(--pf-v5-global--spacer--md);
68
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom: var(--pf-v5-global--spacer--md);
69
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
70
- --pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft: var(--pf-v5-global--spacer--lg);
71
- --pf-v5-c-accordion--m-bordered--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
72
- --pf-v5-c-accordion--m-bordered--BorderTopColor: var(--pf-v5-global--BorderColor--100);
73
- --pf-v5-c-accordion--m-bordered__toggle--after--Top: calc(-1 * var(--pf-v5-global--BorderWidth--sm));
74
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderColor: var(--pf-v5-global--BorderColor--100);
75
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth: 0;
76
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
77
- --pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
78
- --pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
79
- color: var(--pf-v5-global--Color--100);
34
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
35
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--md);
36
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
37
+ --pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
38
+ --pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
39
+ --pf-v5-c-accordion--m-display-lg__toggle--FontFamily: var(--pf-t--global--font--family--heading);
40
+ --pf-v5-c-accordion--m-display-lg__toggle--FontSize: var(--pf-t--global--font--size--heading--sm);
41
+ --pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading);
42
+ --pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading--bold);
43
+ --pf-v5-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-t--global--font--size--body--lg);
44
+ --pf-v5-c-accordion--m-display-lg__expandable-content--Color: var(--pf-t--global--text--color--regular);
45
+ --pf-v5-c-accordion--m-bordered--RowGap: 0;
46
+ --pf-v5-c-accordion__item--m-bordered--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
47
+ --pf-v5-c-accordion__item--m-bordered--BorderBottomColor: var(--pf-t--global--border--color--default);
48
+ }
49
+
50
+ .pf-v5-c-accordion {
51
+ display: flex;
52
+ flex-direction: column;
53
+ row-gap: var(--pf-v5-c-accordion--RowGap);
80
54
  background-color: var(--pf-v5-c-accordion--BackgroundColor);
81
55
  }
56
+ .pf-v5-c-accordion.pf-m-toggle-start {
57
+ --pf-v5-c-accordion__toggle--ColumnGap: var(--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap);
58
+ }
82
59
  .pf-v5-c-accordion.pf-m-display-lg {
83
60
  --pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop);
84
61
  --pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight);
85
62
  --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom);
63
+ --pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom);
86
64
  --pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft);
87
65
  --pf-v5-c-accordion__toggle--FontFamily: var(--pf-v5-c-accordion--m-display-lg__toggle--FontFamily);
88
66
  --pf-v5-c-accordion__toggle--FontSize: var(--pf-v5-c-accordion--m-display-lg__toggle--FontSize);
89
- --pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--hover__toggle-text--Color);
90
- --pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--Color);
91
- --pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--FontWeight);
92
- --pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--Color);
93
- --pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight);
94
- --pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color);
67
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight);
95
68
  --pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight);
96
- --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingTop);
97
- --pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingRight);
98
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom);
99
- --pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft);
100
69
  --pf-v5-c-accordion__expandable-content--FontSize: var(--pf-v5-c-accordion--m-display-lg__expandable-content--FontSize);
101
70
  --pf-v5-c-accordion__expandable-content--Color: var(--pf-v5-c-accordion--m-display-lg__expandable-content--Color);
102
71
  }
103
- .pf-v5-c-accordion.pf-m-display-lg .pf-v5-c-accordion__expandable-content-body:last-child {
104
- --pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom);
105
- }
106
72
  .pf-v5-c-accordion.pf-m-bordered {
107
- --pf-v5-c-accordion__toggle--after--Top: var(--pf-v5-c-accordion--m-bordered__toggle--after--Top);
108
- border-block-start: var(--pf-v5-c-accordion--m-bordered--BorderTopWidth) solid var(--pf-v5-c-accordion--m-bordered--BorderTopColor);
109
- }
110
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle::before {
111
- position: absolute;
112
- inset-block-start: 0;
113
- inset-block-end: 0;
114
- inset-inline-start: 0;
115
- inset-inline-end: 0;
116
- content: "";
117
- border-color: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderColor);
118
- border-style: solid;
119
- border-block-start-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth);
120
- border-block-end-width: var(--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth);
121
- border-inline-start-width: 0;
122
- border-inline-end-width: 0;
123
- }
124
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__toggle.pf-m-expanded {
125
- --pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
126
- }
127
- .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__expandable-content.pf-m-expanded .pf-v5-c-accordion__expandable-content-body:last-child::before {
128
- position: absolute;
129
- inset-block-start: 0;
130
- inset-block-end: 0;
131
- inset-inline-start: 0;
132
- inset-inline-end: 0;
133
- pointer-events: none;
134
- content: "";
135
- border-block-end: var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
73
+ --pf-v5-c-accordion--RowGap: var(--pf-v5-c-accordion--m-bordered--RowGap);
74
+ --pf-v5-c-accordion__item--BorderRadius: 0;
75
+ --pf-v5-c-accordion__toggle--BorderRadius: 0;
76
+ }
77
+ .pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__item {
78
+ border-block-end: var(--pf-v5-c-accordion__item--m-bordered--BorderBottomWidth) solid var(--pf-v5-c-accordion__item--m-bordered--BorderBottomColor);
79
+ }
80
+
81
+ .pf-v5-c-accordion__item {
82
+ border-radius: var(--pf-v5-c-accordion__item--BorderRadius);
83
+ }
84
+ .pf-v5-c-accordion__item.pf-m-expanded {
85
+ --pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion__toggle--m-expanded--PaddingBottom);
86
+ --pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
87
+ background-color: var(--pf-v5-c-accordion__item--m-expanded--BackgroundColor);
88
+ }
89
+ .pf-v5-c-accordion__item.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
90
+ transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
136
91
  }
137
92
 
138
93
  .pf-v5-c-accordion__toggle {
139
- position: relative;
140
94
  display: flex;
95
+ column-gap: var(--pf-v5-c-accordion__toggle--ColumnGap);
141
96
  align-items: center;
142
- justify-content: space-between;
143
97
  width: 100%;
144
98
  padding-block-start: var(--pf-v5-c-accordion__toggle--PaddingTop);
145
99
  padding-block-end: var(--pf-v5-c-accordion__toggle--PaddingBottom);
@@ -147,54 +101,22 @@
147
101
  padding-inline-end: var(--pf-v5-c-accordion__toggle--PaddingRight);
148
102
  font-family: var(--pf-v5-c-accordion__toggle--FontFamily, inherit);
149
103
  font-size: var(--pf-v5-c-accordion__toggle--FontSize, inherit);
104
+ text-align: start;
150
105
  background-color: var(--pf-v5-c-accordion__toggle--BackgroundColor);
151
106
  border: 0;
107
+ border-radius: var(--pf-v5-c-accordion__toggle--BorderRadius);
152
108
  }
153
- .pf-v5-c-accordion__toggle::after {
154
- position: absolute;
155
- inset-block-start: var(--pf-v5-c-accordion__toggle--after--Top);
156
- inset-block-end: 0;
157
- inset-inline-start: 0;
158
- width: var(--pf-v5-c-accordion__toggle--after--Width);
159
- content: "";
160
- background-color: var(--pf-v5-c-accordion__toggle--after--BackgroundColor);
161
- }
162
- .pf-v5-c-accordion__toggle.pf-m-expanded {
163
- --pf-v5-c-accordion__toggle--after--BackgroundColor: var(--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor);
164
- }
165
- .pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-text {
166
- font-weight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
167
- color: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color);
168
- }
169
- .pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
170
- transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
171
- }
172
- .pf-v5-c-accordion__toggle:hover {
173
- background-color: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
174
- }
175
- .pf-v5-c-accordion__toggle:hover .pf-v5-c-accordion__toggle-text {
176
- color: var(--pf-v5-c-accordion__toggle--hover__toggle-text--Color);
177
- }
178
- .pf-v5-c-accordion__toggle:focus {
179
- background-color: var(--pf-v5-c-accordion__toggle--focus--BackgroundColor);
180
- }
181
- .pf-v5-c-accordion__toggle:focus .pf-v5-c-accordion__toggle-text {
182
- font-weight: var(--pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight);
183
- color: var(--pf-v5-c-accordion__toggle--focus__toggle-text--Color);
184
- }
185
- .pf-v5-c-accordion__toggle:active {
186
- background-color: var(--pf-v5-c-accordion__toggle--active--BackgroundColor);
187
- }
188
- .pf-v5-c-accordion__toggle:active .pf-v5-c-accordion__toggle-text {
189
- font-weight: var(--pf-v5-c-accordion__toggle--active__toggle-text--FontWeight);
190
- color: var(--pf-v5-c-accordion__toggle--active__toggle-text--Color);
109
+ .pf-v5-c-accordion__toggle:is(:hover, :focus) {
110
+ --pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
191
111
  }
192
112
 
193
113
  .pf-v5-c-accordion__toggle-text {
194
114
  overflow: hidden;
195
115
  text-overflow: ellipsis;
196
116
  white-space: nowrap;
197
- max-width: var(--pf-v5-c-accordion__toggle-text--MaxWidth);
117
+ flex-grow: 1;
118
+ font-weight: var(--pf-v5-c-accordion__toggle-text--FontWeight);
119
+ color: var(--pf-v5-c-accordion__toggle-text--Color);
198
120
  }
199
121
 
200
122
  .pf-v5-c-accordion__toggle-icon {
@@ -205,39 +127,25 @@
205
127
  }
206
128
 
207
129
  .pf-v5-c-accordion__expandable-content {
130
+ margin-block-end: var(--pf-v5-c-accordion__expandable-content--MarginBottom);
131
+ margin-inline-start: var(--pf-v5-c-accordion__expandable-content--MarginLeft);
132
+ margin-inline-end: var(--pf-v5-c-accordion__expandable-content--MarginRight);
208
133
  font-size: var(--pf-v5-c-accordion__expandable-content--FontSize);
209
134
  color: var(--pf-v5-c-accordion__expandable-content--Color);
135
+ background-color: var(--pf-v5-c-accordion__expandable-content--BackgroundColor);
136
+ border-radius: var(--pf-v5-c-accordion__expandable-content--BorderRadius);
210
137
  }
211
138
  .pf-v5-c-accordion__expandable-content.pf-m-fixed {
212
139
  max-height: var(--pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight);
213
140
  overflow-y: auto;
214
141
  }
215
- .pf-v5-c-accordion__expandable-content.pf-m-expanded {
216
- --pf-v5-c-accordion__expandable-content-body--after--BackgroundColor: var(--pf-v5-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor);
217
- }
218
142
 
219
143
  .pf-v5-c-accordion__expandable-content-body {
220
- position: relative;
221
144
  padding-block-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingTop);
222
145
  padding-block-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingBottom);
223
146
  padding-inline-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingLeft);
224
147
  padding-inline-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingRight);
225
148
  }
226
- .pf-v5-c-accordion__expandable-content-body::after {
227
- position: absolute;
228
- inset-block-start: 0;
229
- inset-block-end: 0;
230
- inset-inline-start: 0;
231
- width: var(--pf-v5-c-accordion__expandable-content-body--after--Width);
232
- content: "";
233
- background-color: var(--pf-v5-c-accordion__expandable-content-body--after--BackgroundColor);
234
- }
235
149
  .pf-v5-c-accordion__expandable-content-body + .pf-v5-c-accordion__expandable-content-body {
236
150
  --pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop);
237
- }
238
-
239
- :where(.pf-v5-theme-dark) .pf-v5-c-accordion {
240
- --pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
241
- --pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
242
- --pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
243
151
  }
@@ -3,16 +3,17 @@ declare const _default: {
3
3
  "accordion": "pf-v5-c-accordion",
4
4
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
5
5
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
6
+ "accordionItem": "pf-v5-c-accordion__item",
6
7
  "accordionToggle": "pf-v5-c-accordion__toggle",
7
8
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
8
9
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
9
10
  "dirRtl": "pf-v5-m-dir-rtl",
10
11
  "modifiers": {
12
+ "toggleStart": "pf-m-toggle-start",
11
13
  "displayLg": "pf-m-display-lg",
12
14
  "bordered": "pf-m-bordered",
13
15
  "expanded": "pf-m-expanded",
14
16
  "fixed": "pf-m-fixed"
15
- },
16
- "themeDark": "pf-v5-theme-dark"
17
+ }
17
18
  };
18
19
  export default _default;
@@ -5,15 +5,16 @@ exports.default = {
5
5
  "accordion": "pf-v5-c-accordion",
6
6
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
7
7
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
8
+ "accordionItem": "pf-v5-c-accordion__item",
8
9
  "accordionToggle": "pf-v5-c-accordion__toggle",
9
10
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
10
11
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
11
12
  "dirRtl": "pf-v5-m-dir-rtl",
12
13
  "modifiers": {
14
+ "toggleStart": "pf-m-toggle-start",
13
15
  "displayLg": "pf-m-display-lg",
14
16
  "bordered": "pf-m-bordered",
15
17
  "expanded": "pf-m-expanded",
16
18
  "fixed": "pf-m-fixed"
17
- },
18
- "themeDark": "pf-v5-theme-dark"
19
+ }
19
20
  };
@@ -3,15 +3,16 @@ export default {
3
3
  "accordion": "pf-v5-c-accordion",
4
4
  "accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
5
5
  "accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
6
+ "accordionItem": "pf-v5-c-accordion__item",
6
7
  "accordionToggle": "pf-v5-c-accordion__toggle",
7
8
  "accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
8
9
  "accordionToggleText": "pf-v5-c-accordion__toggle-text",
9
10
  "dirRtl": "pf-v5-m-dir-rtl",
10
11
  "modifiers": {
12
+ "toggleStart": "pf-m-toggle-start",
11
13
  "displayLg": "pf-m-display-lg",
12
14
  "bordered": "pf-m-bordered",
13
15
  "expanded": "pf-m-expanded",
14
16
  "fixed": "pf-m-fixed"
15
- },
16
- "themeDark": "pf-v5-theme-dark"
17
+ }
17
18
  };