@patternfly/react-styles 5.2.0-prerelease.6 → 6.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/css/assets/images/PF-Backdrop.svg +1 -0
  3. package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/css/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/css/assets/images/PF-IconLogo.svg +17 -0
  8. package/css/assets/images/pf-background.svg +22 -0
  9. package/css/components/AboutModalBox/about-modal-box.css +57 -94
  10. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  11. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  12. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  13. package/css/components/Accordion/accordion.css +81 -182
  14. package/css/components/Accordion/accordion.d.ts +2 -2
  15. package/css/components/Accordion/accordion.js +2 -2
  16. package/css/components/Accordion/accordion.mjs +2 -2
  17. package/css/components/ActionList/action-list.css +18 -17
  18. package/css/components/Alert/alert-group.css +20 -16
  19. package/css/components/Alert/alert.css +57 -84
  20. package/css/components/Alert/alert.d.ts +1 -2
  21. package/css/components/Alert/alert.js +1 -2
  22. package/css/components/Alert/alert.mjs +1 -2
  23. package/css/components/Avatar/avatar.css +10 -13
  24. package/css/components/Avatar/avatar.d.ts +1 -2
  25. package/css/components/Avatar/avatar.js +1 -2
  26. package/css/components/Avatar/avatar.mjs +1 -2
  27. package/css/components/BackToTop/back-to-top.css +17 -16
  28. package/css/components/Backdrop/backdrop.css +6 -2
  29. package/css/components/BackgroundImage/background-image.css +5 -1
  30. package/css/components/Badge/badge.css +23 -15
  31. package/css/components/Badge/badge.d.ts +2 -2
  32. package/css/components/Badge/badge.js +2 -2
  33. package/css/components/Badge/badge.mjs +2 -2
  34. package/css/components/Banner/banner.css +90 -64
  35. package/css/components/Banner/banner.d.ts +12 -4
  36. package/css/components/Banner/banner.js +12 -4
  37. package/css/components/Banner/banner.mjs +12 -4
  38. package/css/components/Breadcrumb/breadcrumb.css +19 -16
  39. package/css/components/Button/button.css +444 -435
  40. package/css/components/Button/button.d.ts +10 -9
  41. package/css/components/Button/button.js +10 -9
  42. package/css/components/Button/button.mjs +10 -9
  43. package/css/components/Card/card.css +97 -194
  44. package/css/components/Card/card.d.ts +3 -9
  45. package/css/components/Card/card.js +3 -9
  46. package/css/components/Card/card.mjs +3 -9
  47. package/css/components/Check/check.css +17 -16
  48. package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
  49. package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
  50. package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
  51. package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
  52. package/css/components/CodeBlock/code-block.css +18 -9
  53. package/css/components/Content/content.css +67 -67
  54. package/css/components/DataList/data-list.css +101 -158
  55. package/css/components/DataList/data-list.d.ts +1 -2
  56. package/css/components/DataList/data-list.js +1 -2
  57. package/css/components/DataList/data-list.mjs +1 -2
  58. package/css/components/DescriptionList/description-list.css +39 -34
  59. package/css/components/Divider/divider.css +97 -177
  60. package/css/components/Divider/divider.d.ts +1 -0
  61. package/css/components/Divider/divider.js +1 -0
  62. package/css/components/Divider/divider.mjs +1 -0
  63. package/css/components/DragDrop/drag-drop.css +18 -14
  64. package/css/components/DragDrop/drag-drop.d.ts +1 -2
  65. package/css/components/DragDrop/drag-drop.js +1 -2
  66. package/css/components/DragDrop/drag-drop.mjs +1 -2
  67. package/css/components/Drawer/drawer.css +112 -113
  68. package/css/components/Drawer/drawer.d.ts +3 -3
  69. package/css/components/Drawer/drawer.js +3 -3
  70. package/css/components/Drawer/drawer.mjs +3 -3
  71. package/css/components/EmptyState/empty-state.css +57 -34
  72. package/css/components/EmptyState/empty-state.d.ts +6 -1
  73. package/css/components/EmptyState/empty-state.js +6 -1
  74. package/css/components/EmptyState/empty-state.mjs +6 -1
  75. package/css/components/ExpandableSection/expandable-section.css +64 -62
  76. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  77. package/css/components/ExpandableSection/expandable-section.js +1 -3
  78. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  79. package/css/components/FileUpload/file-upload.css +28 -34
  80. package/css/components/Form/form.css +62 -114
  81. package/css/components/Form/form.d.ts +2 -6
  82. package/css/components/Form/form.js +2 -6
  83. package/css/components/Form/form.mjs +2 -6
  84. package/css/components/FormControl/form-control.css +86 -111
  85. package/css/components/FormControl/form-control.d.ts +1 -2
  86. package/css/components/FormControl/form-control.js +1 -2
  87. package/css/components/FormControl/form-control.mjs +1 -2
  88. package/css/components/HelperText/helper-text.css +28 -34
  89. package/css/components/HelperText/helper-text.d.ts +1 -2
  90. package/css/components/HelperText/helper-text.js +1 -2
  91. package/css/components/HelperText/helper-text.mjs +1 -2
  92. package/css/components/Hint/hint.css +28 -21
  93. package/css/components/Hint/hint.d.ts +1 -2
  94. package/css/components/Hint/hint.js +1 -2
  95. package/css/components/Hint/hint.mjs +1 -2
  96. package/css/components/Icon/icon.css +154 -18
  97. package/css/components/Icon/icon.d.ts +11 -0
  98. package/css/components/Icon/icon.js +11 -0
  99. package/css/components/Icon/icon.mjs +11 -0
  100. package/css/components/InlineEdit/inline-edit.css +8 -7
  101. package/css/components/InputGroup/input-group.css +22 -38
  102. package/css/components/InputGroup/input-group.d.ts +1 -2
  103. package/css/components/InputGroup/input-group.js +1 -2
  104. package/css/components/InputGroup/input-group.mjs +1 -2
  105. package/css/components/JumpLinks/jump-links.css +34 -34
  106. package/css/components/Label/label-group.css +39 -44
  107. package/css/components/Label/label.css +258 -355
  108. package/css/components/Label/label.d.ts +11 -10
  109. package/css/components/Label/label.js +11 -10
  110. package/css/components/Label/label.mjs +11 -10
  111. package/css/components/List/list.css +16 -16
  112. package/css/components/Login/login.css +70 -97
  113. package/css/components/Login/login.d.ts +0 -2
  114. package/css/components/Login/login.js +0 -2
  115. package/css/components/Login/login.mjs +0 -2
  116. package/css/components/Masthead/masthead.css +262 -498
  117. package/css/components/Masthead/masthead.d.ts +3 -45
  118. package/css/components/Masthead/masthead.js +3 -45
  119. package/css/components/Masthead/masthead.mjs +3 -45
  120. package/css/components/MenuToggle/menu-toggle.css +56 -78
  121. package/css/components/ModalBox/modal-box.css +59 -52
  122. package/css/components/ModalBox/modal-box.d.ts +1 -2
  123. package/css/components/ModalBox/modal-box.js +1 -2
  124. package/css/components/ModalBox/modal-box.mjs +1 -2
  125. package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  126. package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
  127. package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
  128. package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
  129. package/css/components/Nav/nav.css +241 -917
  130. package/css/components/Nav/nav.d.ts +9 -20
  131. package/css/components/Nav/nav.js +9 -20
  132. package/css/components/Nav/nav.mjs +9 -20
  133. package/css/components/NotificationBadge/notification-badge.css +56 -81
  134. package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
  135. package/css/components/NotificationBadge/notification-badge.js +1 -5
  136. package/css/components/NotificationBadge/notification-badge.mjs +1 -5
  137. package/css/components/NotificationDrawer/notification-drawer.css +104 -115
  138. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
  139. package/css/components/NotificationDrawer/notification-drawer.js +3 -3
  140. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
  141. package/css/components/NumberInput/number-input.css +8 -8
  142. package/css/components/NumberInput/number-input.d.ts +0 -3
  143. package/css/components/NumberInput/number-input.js +0 -3
  144. package/css/components/NumberInput/number-input.mjs +0 -3
  145. package/css/components/OverflowMenu/overflow-menu.css +17 -47
  146. package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
  147. package/css/components/OverflowMenu/overflow-menu.js +1 -3
  148. package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
  149. package/css/components/Page/page.css +112 -209
  150. package/css/components/Page/page.d.ts +5 -12
  151. package/css/components/Page/page.js +5 -12
  152. package/css/components/Page/page.mjs +5 -12
  153. package/css/components/Pagination/pagination.css +64 -121
  154. package/css/components/Pagination/pagination.d.ts +2 -5
  155. package/css/components/Pagination/pagination.js +2 -5
  156. package/css/components/Pagination/pagination.mjs +2 -5
  157. package/css/components/Panel/panel.css +27 -23
  158. package/css/components/Panel/panel.d.ts +2 -2
  159. package/css/components/Panel/panel.js +2 -2
  160. package/css/components/Panel/panel.mjs +2 -2
  161. package/css/components/Popover/popover.css +42 -51
  162. package/css/components/Popover/popover.d.ts +1 -2
  163. package/css/components/Popover/popover.js +1 -2
  164. package/css/components/Popover/popover.mjs +1 -2
  165. package/css/components/Progress/progress.css +31 -45
  166. package/css/components/Progress/progress.d.ts +1 -2
  167. package/css/components/Progress/progress.js +1 -2
  168. package/css/components/Progress/progress.mjs +1 -2
  169. package/css/components/Radio/radio.css +15 -11
  170. package/css/components/Sidebar/sidebar.css +20 -9
  171. package/css/components/Sidebar/sidebar.d.ts +1 -0
  172. package/css/components/Sidebar/sidebar.js +1 -0
  173. package/css/components/Sidebar/sidebar.mjs +1 -0
  174. package/css/components/SimpleList/simple-list.css +35 -52
  175. package/css/components/SimpleList/simple-list.d.ts +2 -2
  176. package/css/components/SimpleList/simple-list.js +2 -2
  177. package/css/components/SimpleList/simple-list.mjs +2 -2
  178. package/css/components/Skeleton/skeleton.css +18 -20
  179. package/css/components/Skeleton/skeleton.d.ts +1 -2
  180. package/css/components/Skeleton/skeleton.js +1 -2
  181. package/css/components/Skeleton/skeleton.mjs +1 -2
  182. package/css/components/SkipToContent/skip-to-content.css +6 -3
  183. package/css/components/Slider/slider.css +34 -30
  184. package/css/components/Spinner/spinner.css +17 -34
  185. package/css/components/Switch/switch.css +41 -37
  186. package/css/components/Switch/switch.d.ts +1 -2
  187. package/css/components/Switch/switch.js +1 -2
  188. package/css/components/Switch/switch.mjs +1 -2
  189. package/css/components/TabContent/tab-content.css +17 -11
  190. package/css/components/TabContent/tab-content.d.ts +1 -1
  191. package/css/components/TabContent/tab-content.js +1 -1
  192. package/css/components/TabContent/tab-content.mjs +1 -1
  193. package/css/components/Table/table-grid.css +8 -8
  194. package/css/components/Table/table.css +79 -88
  195. package/css/components/Tile/tile.css +40 -81
  196. package/css/components/Tile/tile.d.ts +0 -1
  197. package/css/components/Tile/tile.js +0 -1
  198. package/css/components/Tile/tile.mjs +0 -1
  199. package/css/components/Timestamp/timestamp.css +12 -9
  200. package/css/components/Title/title.css +70 -19
  201. package/css/components/Title/title.d.ts +7 -1
  202. package/css/components/Title/title.js +7 -1
  203. package/css/components/Title/title.mjs +7 -1
  204. package/css/components/ToggleGroup/toggle-group.css +34 -47
  205. package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
  206. package/css/components/ToggleGroup/toggle-group.js +0 -1
  207. package/css/components/ToggleGroup/toggle-group.mjs +0 -1
  208. package/css/components/Toolbar/toolbar.css +2527 -1040
  209. package/css/components/Toolbar/toolbar.d.ts +406 -103
  210. package/css/components/Toolbar/toolbar.js +406 -103
  211. package/css/components/Toolbar/toolbar.mjs +406 -103
  212. package/css/components/Tooltip/tooltip.css +16 -16
  213. package/css/components/Tooltip/tooltip.d.ts +0 -1
  214. package/css/components/Tooltip/tooltip.js +0 -1
  215. package/css/components/Tooltip/tooltip.mjs +0 -1
  216. package/css/components/Truncate/truncate.css +4 -0
  217. package/css/docs/components/Button/examples/Button.css +4 -0
  218. package/css/docs/components/Divider/examples/Divider.css +3 -1
  219. package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
  220. package/css/docs/components/Label/examples/Label.css +4 -0
  221. package/css/docs/components/Nav/examples/Navigation.css +1 -22
  222. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
  223. package/css/docs/components/Nav/examples/Navigation.js +0 -3
  224. package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
  225. package/css/docs/components/Page/examples/Page.css +0 -8
  226. package/css/docs/components/Page/examples/Page.d.ts +0 -7
  227. package/css/docs/components/Page/examples/Page.js +0 -7
  228. package/css/docs/components/Page/examples/Page.mjs +0 -7
  229. package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
  230. package/css/docs/components/Truncate/examples/Truncate.css +2 -2
  231. package/package.json +5 -4
  232. package/css/docs/components/Avatar/examples/Avatar.css +0 -3
  233. package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
  234. package/css/docs/components/Avatar/examples/Avatar.js +0 -4
  235. package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
  236. package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
  237. package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
  238. package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
  239. package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,23 +1,44 @@
1
+ :root {
2
+ --pf-v5-c-title--FontFamily: var(--pf-t--global--font--family--heading);
3
+ --pf-v5-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
4
+ --pf-v5-c-title--m-4xl--FontSize: var(--pf-t--global--font--size--heading--2xl);
5
+ --pf-v5-c-title--m-4xl--FontWeight: var(--pf-t--global--font--weight--heading);
6
+ --pf-v5-c-title--m-3xl--LineHeight: var(--pf-t--global--font--line-height--heading);
7
+ --pf-v5-c-title--m-3xl--FontSize: var(--pf-t--global--font--size--heading--xl);
8
+ --pf-v5-c-title--m-3xl--FontWeight: var(--pf-t--global--font--weight--heading);
9
+ --pf-v5-c-title--m-2xl--LineHeight: var(--pf-t--global--font--line-height--heading);
10
+ --pf-v5-c-title--m-2xl--FontSize: var(--pf-t--global--font--size--heading--lg);
11
+ --pf-v5-c-title--m-2xl--FontWeight: var(--pf-t--global--font--weight--heading);
12
+ --pf-v5-c-title--m-xl--LineHeight: var(--pf-t--global--font--line-height--heading);
13
+ --pf-v5-c-title--m-xl--FontSize: var(--pf-t--global--font--size--heading--md);
14
+ --pf-v5-c-title--m-xl--FontWeight: var(--pf-t--global--font--weight--heading);
15
+ --pf-v5-c-title--m-lg--LineHeight: var(--pf-t--global--font--line-height--heading);
16
+ --pf-v5-c-title--m-lg--FontSize: var(--pf-t--global--font--size--heading--sm);
17
+ --pf-v5-c-title--m-lg--FontWeight: var(--pf-t--global--font--weight--heading);
18
+ --pf-v5-c-title--m-md--LineHeight: var(--pf-t--global--font--line-height--heading);
19
+ --pf-v5-c-title--m-md--FontSize: var(--pf-t--global--font--size--heading--xs);
20
+ --pf-v5-c-title--m-md--FontWeight: var(--pf-t--global--font--weight--heading);
21
+ --pf-v5-c-title--m-h1--LineHeight: var(--pf-t--global--font--line-height--heading);
22
+ --pf-v5-c-title--m-h1--FontSize: var(--pf-t--global--font--size--heading--h1);
23
+ --pf-v5-c-title--m-h1--FontWeight: var(--pf-t--global--font--weight--heading);
24
+ --pf-v5-c-title--m-h2--LineHeight: var(--pf-t--global--font--line-height--heading);
25
+ --pf-v5-c-title--m-h2--FontSize: var(--pf-t--global--font--size--heading--h2);
26
+ --pf-v5-c-title--m-h2--FontWeight: var(--pf-t--global--font--weight--heading);
27
+ --pf-v5-c-title--m-h3--LineHeight: var(--pf-t--global--font--line-height--heading);
28
+ --pf-v5-c-title--m-h3--FontSize: var(--pf-t--global--font--size--heading--h3);
29
+ --pf-v5-c-title--m-h3--FontWeight: var(--pf-t--global--font--weight--heading);
30
+ --pf-v5-c-title--m-h4--LineHeight: var(--pf-t--global--font--line-height--heading);
31
+ --pf-v5-c-title--m-h4--FontSize: var(--pf-t--global--font--size--heading--h4);
32
+ --pf-v5-c-title--m-h4--FontWeight: var(--pf-t--global--font--weight--heading);
33
+ --pf-v5-c-title--m-h5--LineHeight: var(--pf-t--global--font--line-height--heading);
34
+ --pf-v5-c-title--m-h5--FontSize: var(--pf-t--global--font--size--heading--h5);
35
+ --pf-v5-c-title--m-h5--FontWeight: var(--pf-t--global--font--weight--heading);
36
+ --pf-v5-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
37
+ --pf-v5-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
38
+ --pf-v5-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading);
39
+ }
40
+
1
41
  .pf-v5-c-title {
2
- --pf-v5-c-title--FontFamily: var(--pf-v5-global--FontFamily--heading);
3
- --pf-v5-c-title--m-4xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
4
- --pf-v5-c-title--m-4xl--FontSize: var(--pf-v5-global--FontSize--4xl);
5
- --pf-v5-c-title--m-4xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
6
- --pf-v5-c-title--m-3xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
7
- --pf-v5-c-title--m-3xl--FontSize: var(--pf-v5-global--FontSize--3xl);
8
- --pf-v5-c-title--m-3xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
9
- --pf-v5-c-title--m-2xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
10
- --pf-v5-c-title--m-2xl--FontSize: var(--pf-v5-global--FontSize--2xl);
11
- --pf-v5-c-title--m-2xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
12
- --pf-v5-c-title--m-xl--LineHeight: var(--pf-v5-global--LineHeight--md);
13
- --pf-v5-c-title--m-xl--FontSize: var(--pf-v5-global--FontSize--xl);
14
- --pf-v5-c-title--m-xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
15
- --pf-v5-c-title--m-lg--LineHeight: var(--pf-v5-global--LineHeight--md);
16
- --pf-v5-c-title--m-lg--FontSize: var(--pf-v5-global--FontSize--lg);
17
- --pf-v5-c-title--m-lg--FontWeight: var(--pf-v5-global--FontWeight--normal);
18
- --pf-v5-c-title--m-md--LineHeight: var(--pf-v5-global--LineHeight--md);
19
- --pf-v5-c-title--m-md--FontSize: var(--pf-v5-global--FontSize--md);
20
- --pf-v5-c-title--m-md--FontWeight: var(--pf-v5-global--FontWeight--normal);
21
42
  font-family: var(--pf-v5-c-title--FontFamily);
22
43
  word-break: break-word;
23
44
  }
@@ -50,4 +71,34 @@
50
71
  font-size: var(--pf-v5-c-title--m-md--FontSize);
51
72
  font-weight: var(--pf-v5-c-title--m-md--FontWeight);
52
73
  line-height: var(--pf-v5-c-title--m-md--LineHeight);
74
+ }
75
+ .pf-v5-c-title.pf-m-h1 {
76
+ font-size: var(--pf-v5-c-title--m-h1--FontSize);
77
+ font-weight: var(--pf-v5-c-title--m-h1--FontWeight);
78
+ line-height: var(--pf-v5-c-title--m-h1--LineHeight);
79
+ }
80
+ .pf-v5-c-title.pf-m-h2 {
81
+ font-size: var(--pf-v5-c-title--m-h2--FontSize);
82
+ font-weight: var(--pf-v5-c-title--m-h2--FontWeight);
83
+ line-height: var(--pf-v5-c-title--m-h2--LineHeight);
84
+ }
85
+ .pf-v5-c-title.pf-m-h3 {
86
+ font-size: var(--pf-v5-c-title--m-h3--FontSize);
87
+ font-weight: var(--pf-v5-c-title--m-h3--FontWeight);
88
+ line-height: var(--pf-v5-c-title--m-h3--LineHeight);
89
+ }
90
+ .pf-v5-c-title.pf-m-h4 {
91
+ font-size: var(--pf-v5-c-title--m-h4--FontSize);
92
+ font-weight: var(--pf-v5-c-title--m-h4--FontWeight);
93
+ line-height: var(--pf-v5-c-title--m-h4--LineHeight);
94
+ }
95
+ .pf-v5-c-title.pf-m-h5 {
96
+ font-size: var(--pf-v5-c-title--m-h5--FontSize);
97
+ font-weight: var(--pf-v5-c-title--m-h5--FontWeight);
98
+ line-height: var(--pf-v5-c-title--m-h5--LineHeight);
99
+ }
100
+ .pf-v5-c-title.pf-m-h6 {
101
+ font-size: var(--pf-v5-c-title--m-h6--FontSize);
102
+ font-weight: var(--pf-v5-c-title--m-h6--FontWeight);
103
+ line-height: var(--pf-v5-c-title--m-h6--LineHeight);
53
104
  }
@@ -6,7 +6,13 @@ declare const _default: {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md"
9
+ "md": "pf-m-md",
10
+ "h1": "pf-m-h1",
11
+ "h2": "pf-m-h2",
12
+ "h3": "pf-m-h3",
13
+ "h4": "pf-m-h4",
14
+ "h5": "pf-m-h5",
15
+ "h6": "pf-m-h6"
10
16
  },
11
17
  "title": "pf-v5-c-title"
12
18
  };
@@ -8,7 +8,13 @@ exports.default = {
8
8
  "2xl": "pf-m-2xl",
9
9
  "xl": "pf-m-xl",
10
10
  "lg": "pf-m-lg",
11
- "md": "pf-m-md"
11
+ "md": "pf-m-md",
12
+ "h1": "pf-m-h1",
13
+ "h2": "pf-m-h2",
14
+ "h3": "pf-m-h3",
15
+ "h4": "pf-m-h4",
16
+ "h5": "pf-m-h5",
17
+ "h6": "pf-m-h6"
12
18
  },
13
19
  "title": "pf-v5-c-title"
14
20
  };
@@ -6,7 +6,13 @@ export default {
6
6
  "2xl": "pf-m-2xl",
7
7
  "xl": "pf-m-xl",
8
8
  "lg": "pf-m-lg",
9
- "md": "pf-m-md"
9
+ "md": "pf-m-md",
10
+ "h1": "pf-m-h1",
11
+ "h2": "pf-m-h2",
12
+ "h3": "pf-m-h3",
13
+ "h4": "pf-m-h4",
14
+ "h5": "pf-m-h5",
15
+ "h6": "pf-m-h6"
10
16
  },
11
17
  "title": "pf-v5-c-title"
12
18
  };
@@ -1,38 +1,39 @@
1
- .pf-v5-c-toggle-group {
2
- --pf-v5-c-toggle-group__button--PaddingTop: var(--pf-v5-global--spacer--form-element);
3
- --pf-v5-c-toggle-group__button--PaddingRight: var(--pf-v5-global--spacer--md);
4
- --pf-v5-c-toggle-group__button--PaddingBottom: var(--pf-v5-global--spacer--form-element);
5
- --pf-v5-c-toggle-group__button--PaddingLeft: var(--pf-v5-global--spacer--md);
6
- --pf-v5-c-toggle-group__button--FontSize: var(--pf-v5-global--FontSize--sm);
7
- --pf-v5-c-toggle-group__button--LineHeight: calc(var(--pf-v5-global--FontSize--md) * var(--pf-v5-global--LineHeight--md));
8
- --pf-v5-c-toggle-group__button--Color: var(--pf-v5-global--Color--100);
9
- --pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
1
+ :where(:root),
2
+ :where(.pf-v5-c-toggle-group) {
3
+ --pf-v5-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
4
+ --pf-v5-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
5
+ --pf-v5-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
6
+ --pf-v5-c-toggle-group__button--PaddingLeft: var(--pf-t--global--spacer--md);
7
+ --pf-v5-c-toggle-group__button--FontSize: var(--pf-t--global--font--size--body--default);
8
+ --pf-v5-c-toggle-group__button--LineHeight: var(--pf-t--global--font--line-height--body);
9
+ --pf-v5-c-toggle-group__button--Color: var(--pf-t--global--text--color--regular);
10
+ --pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
10
11
  --pf-v5-c-toggle-group__button--ZIndex: auto;
11
- --pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
12
- --pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-v5-global--ZIndex--xs);
13
- --pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-v5-global--BorderColor--200);
14
- --pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
15
- --pf-v5-c-toggle-group__button--focus--ZIndex: var(--pf-v5-global--ZIndex--xs);
16
- --pf-v5-c-toggle-group__button--focus--before--BorderColor: var(--pf-v5-global--BorderColor--200);
17
- --pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
18
- --pf-v5-c-toggle-group__button--disabled--Color: var(--pf-v5-global--disabled-color--100);
19
- --pf-v5-c-toggle-group__button--before--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
20
- --pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-global--BorderColor--100);
21
- --pf-v5-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-v5-global--BorderWidth--sm));
22
- --pf-v5-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-v5-global--BorderRadius--sm);
23
- --pf-v5-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-v5-global--BorderRadius--sm);
24
- --pf-v5-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-v5-global--BorderRadius--sm);
25
- --pf-v5-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-v5-global--BorderRadius--sm);
26
- --pf-v5-c-toggle-group__icon--text--MarginLeft: var(--pf-v5-global--spacer--sm);
27
- --pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--palette--blue-50);
28
- --pf-v5-c-toggle-group__button--m-selected--Color: initial;
29
- --pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-v5-global--primary-color--100);
30
- --pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-v5-global--ZIndex--xs);
12
+ --pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
13
+ --pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-t--global--Zindex--xs);
14
+ --pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--default);
15
+ --pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
16
+ --pf-v5-c-toggle-group__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
17
+ --pf-v5-c-toggle-group__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
18
+ --pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--default);
19
+ --pf-v5-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-t--global--border--width--control--default));
20
+ --pf-v5-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-t--global--border--radius--tiny);
21
+ --pf-v5-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-t--global--border--radius--tiny);
22
+ --pf-v5-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-t--global--border--radius--tiny);
23
+ --pf-v5-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-t--global--border--radius--tiny);
24
+ --pf-v5-c-toggle-group__icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
25
+ --pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--default);
26
+ --pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--default);
27
+ --pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
28
+ --pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-t--global--Zindex--xs);
31
29
  --pf-v5-c-toggle-group--m-compact__button--PaddingTop: 0;
32
- --pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-v5-global--spacer--sm);
30
+ --pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-t--global--spacer--sm);
33
31
  --pf-v5-c-toggle-group--m-compact__button--PaddingBottom: 0;
34
- --pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-v5-global--spacer--sm);
35
- --pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-v5-global--FontSize--xs);
32
+ --pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-t--global--spacer--sm);
33
+ --pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-t--global--font--size--body--default);
34
+ }
35
+
36
+ .pf-v5-c-toggle-group {
36
37
  display: flex;
37
38
  }
38
39
  .pf-v5-c-toggle-group.pf-m-compact {
@@ -79,17 +80,12 @@
79
80
  content: "";
80
81
  border: var(--pf-v5-c-toggle-group__button--before--BorderWidth) solid var(--pf-v5-c-toggle-group__button--before--BorderColor);
81
82
  }
82
- .pf-v5-c-toggle-group__button:hover {
83
+ .pf-v5-c-toggle-group__button:hover, .pf-v5-c-toggle-group__button:focus {
83
84
  --pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--hover--BackgroundColor);
84
85
  --pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--hover--ZIndex);
85
86
  --pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--hover--before--BorderColor);
86
87
  text-decoration: none;
87
88
  }
88
- .pf-v5-c-toggle-group__button:focus {
89
- --pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--focus--BackgroundColor);
90
- --pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--focus--ZIndex);
91
- --pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--focus--before--BorderColor);
92
- }
93
89
  .pf-v5-c-toggle-group__button.pf-m-selected {
94
90
  --pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--m-selected--BackgroundColor);
95
91
  --pf-v5-c-toggle-group__button--Color: var(--pf-v5-c-toggle-group__button--m-selected--Color, inherit);
@@ -105,13 +101,4 @@
105
101
  .pf-v5-c-toggle-group__icon + .pf-v5-c-toggle-group__text,
106
102
  .pf-v5-c-toggle-group__text + .pf-v5-c-toggle-group__icon {
107
103
  margin-inline-start: var(--pf-v5-c-toggle-group__icon--text--MarginLeft);
108
- }
109
-
110
- :where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
111
- --pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--palette--black-700);
112
- --pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--palette--black-700);
113
- --pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--palette--black-600);
114
- --pf-v5-c-toggle-group__button--disabled--Color: var(--pf-v5-global--palette--black-100);
115
- --pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--primary-color--300);
116
- --pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-v5-global--primary-color--400);
117
104
  }
@@ -5,7 +5,6 @@ declare const _default: {
5
5
  "selected": "pf-m-selected",
6
6
  "disabled": "pf-m-disabled"
7
7
  },
8
- "themeDark": "pf-v5-theme-dark",
9
8
  "toggleGroup": "pf-v5-c-toggle-group",
10
9
  "toggleGroupButton": "pf-v5-c-toggle-group__button",
11
10
  "toggleGroupIcon": "pf-v5-c-toggle-group__icon",
@@ -7,7 +7,6 @@ exports.default = {
7
7
  "selected": "pf-m-selected",
8
8
  "disabled": "pf-m-disabled"
9
9
  },
10
- "themeDark": "pf-v5-theme-dark",
11
10
  "toggleGroup": "pf-v5-c-toggle-group",
12
11
  "toggleGroupButton": "pf-v5-c-toggle-group__button",
13
12
  "toggleGroupIcon": "pf-v5-c-toggle-group__icon",
@@ -5,7 +5,6 @@ export default {
5
5
  "selected": "pf-m-selected",
6
6
  "disabled": "pf-m-disabled"
7
7
  },
8
- "themeDark": "pf-v5-theme-dark",
9
8
  "toggleGroup": "pf-v5-c-toggle-group",
10
9
  "toggleGroupButton": "pf-v5-c-toggle-group__button",
11
10
  "toggleGroupIcon": "pf-v5-c-toggle-group__icon",