@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2

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 (501) hide show
  1. package/README.md +1 -2
  2. package/assets/fontawesome/_animated.scss +1 -0
  3. package/assets/fontawesome/_bordered-pulled.scss +1 -0
  4. package/assets/fontawesome/_core.scss +2 -0
  5. package/assets/fontawesome/_fixed-width.scss +2 -0
  6. package/assets/fontawesome/_icons.scss +1 -0
  7. package/assets/fontawesome/_index.scss +12 -0
  8. package/assets/fontawesome/_larger.scss +4 -2
  9. package/assets/fontawesome/_list.scss +4 -2
  10. package/assets/fontawesome/_rotated-flipped.scss +2 -0
  11. package/assets/fontawesome/_screen-reader.scss +1 -0
  12. package/assets/fontawesome/_stacked.scss +3 -1
  13. package/assets/fontawesome/_variables.scss +3 -2
  14. package/assets/fontawesome/fontawesome.scss +12 -12
  15. package/assets/icons/iconUnicodes.json +6 -0
  16. package/assets/images/img_avatar-dark.svg +22 -16
  17. package/assets/images/img_avatar-light.svg +25 -18
  18. package/assets/images/pf-background.svg +21 -21
  19. package/assets/images/pf_logo.svg +11 -11
  20. package/assets/images/pf_logo_white.svg +16 -17
  21. package/assets/pficon/pf-v6-pficon.woff2 +0 -0
  22. package/assets/pficon/pficon.scss +310 -271
  23. package/base/_index.scss +10 -0
  24. package/base/{_globals.scss → normalize.scss} +15 -48
  25. package/base/patternfly-common.css +14 -0
  26. package/base/patternfly-common.scss +68 -2
  27. package/base/patternfly-fa-icons.css +1 -1
  28. package/base/patternfly-fa-icons.scss +35 -2
  29. package/base/patternfly-fonts.css +10 -80
  30. package/base/patternfly-fonts.scss +49 -2
  31. package/base/patternfly-pf-icons.css +158 -134
  32. package/base/patternfly-pf-icons.scss +1 -2
  33. package/base/patternfly-svg-icons.css +5 -0
  34. package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
  35. package/base/patternfly-variables.css +1082 -1206
  36. package/base/patternfly-variables.scss +20 -2
  37. package/base/reset.scss +33 -0
  38. package/base/tokens/_index.scss +6 -0
  39. package/base/tokens/tokens-charts-dark.scss +173 -0
  40. package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
  41. package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
  42. package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
  43. package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
  44. package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
  45. package/components/AboutModalBox/about-modal-box.css +86 -81
  46. package/components/AboutModalBox/about-modal-box.scss +80 -82
  47. package/components/Accordion/accordion.css +44 -43
  48. package/components/Accordion/accordion.scss +52 -52
  49. package/components/ActionList/action-list.css +6 -5
  50. package/components/ActionList/action-list.scss +7 -5
  51. package/components/Alert/alert-group.css +72 -19
  52. package/components/Alert/alert-group.scss +105 -18
  53. package/components/Alert/alert.css +52 -59
  54. package/components/Alert/alert.scss +56 -65
  55. package/components/Avatar/avatar.css +42 -41
  56. package/components/Avatar/avatar.scss +8 -7
  57. package/components/BackToTop/back-to-top.css +19 -17
  58. package/components/BackToTop/back-to-top.scss +17 -17
  59. package/components/Backdrop/backdrop.css +1 -1
  60. package/components/Backdrop/backdrop.scss +3 -4
  61. package/components/BackgroundImage/background-image.scss +3 -4
  62. package/components/Badge/badge.css +29 -7
  63. package/components/Badge/badge.scss +33 -9
  64. package/components/Banner/banner.css +30 -37
  65. package/components/Banner/banner.scss +30 -43
  66. package/components/Brand/brand.css +14 -10
  67. package/components/Brand/brand.scss +8 -5
  68. package/components/Breadcrumb/breadcrumb.css +23 -24
  69. package/components/Breadcrumb/breadcrumb.scss +25 -28
  70. package/components/Button/button.css +150 -128
  71. package/components/Button/button.scss +155 -130
  72. package/components/CalendarMonth/calendar-month.css +46 -46
  73. package/components/CalendarMonth/calendar-month.scss +49 -50
  74. package/components/Card/card.css +110 -93
  75. package/components/Card/card.scss +118 -92
  76. package/components/Check/check.css +5 -5
  77. package/components/Check/check.scss +7 -8
  78. package/components/ClipboardCopy/clipboard-copy.css +33 -41
  79. package/components/ClipboardCopy/clipboard-copy.scss +35 -44
  80. package/components/CodeBlock/code-block.css +21 -20
  81. package/components/CodeBlock/code-block.scss +21 -21
  82. package/components/CodeEditor/code-editor.css +35 -34
  83. package/components/CodeEditor/code-editor.scss +35 -35
  84. package/components/Content/content.css +167 -153
  85. package/components/Content/content.scss +204 -145
  86. package/components/DataList/data-list-grid.css +117 -117
  87. package/components/DataList/data-list-grid.scss +22 -20
  88. package/components/DataList/data-list.css +308 -312
  89. package/components/DataList/data-list.scss +145 -152
  90. package/components/DatePicker/date-picker.css +17 -17
  91. package/components/DatePicker/date-picker.scss +17 -18
  92. package/components/DescriptionList/description-list-order.css +5 -5
  93. package/components/DescriptionList/description-list-order.scss +3 -1
  94. package/components/DescriptionList/description-list.css +46 -44
  95. package/components/DescriptionList/description-list.scss +26 -31
  96. package/components/Divider/divider.css +104 -107
  97. package/components/Divider/divider.scss +19 -19
  98. package/components/DragDrop/drag-drop.css +4 -2
  99. package/components/DragDrop/drag-drop.scss +3 -3
  100. package/components/Drawer/drawer.css +115 -114
  101. package/components/Drawer/drawer.scss +136 -134
  102. package/components/DualListSelector/dual-list-selector.css +64 -61
  103. package/components/DualListSelector/dual-list-selector.scss +54 -51
  104. package/components/EmptyState/empty-state.css +38 -37
  105. package/components/EmptyState/empty-state.scss +39 -39
  106. package/components/ExpandableSection/expandable-section.css +27 -86
  107. package/components/ExpandableSection/expandable-section.scss +32 -101
  108. package/components/FileUpload/file-upload.css +2 -2
  109. package/components/FileUpload/file-upload.scss +2 -3
  110. package/components/Form/form.css +173 -115
  111. package/components/Form/form.scss +117 -103
  112. package/components/FormControl/form-control.css +57 -57
  113. package/components/FormControl/form-control.scss +69 -67
  114. package/components/HelperText/helper-text.css +5 -4
  115. package/components/HelperText/helper-text.scss +8 -6
  116. package/components/Hint/hint.css +25 -25
  117. package/components/Hint/hint.scss +25 -27
  118. package/components/Icon/icon.css +10 -10
  119. package/components/Icon/icon.scss +11 -12
  120. package/components/InlineEdit/inline-edit.css +12 -12
  121. package/components/InlineEdit/inline-edit.scss +12 -13
  122. package/components/InputGroup/input-group.css +16 -16
  123. package/components/InputGroup/input-group.scss +18 -19
  124. package/components/JumpLinks/jump-links.css +80 -96
  125. package/components/JumpLinks/jump-links.scss +80 -100
  126. package/components/Label/label-group.css +28 -28
  127. package/components/Label/label-group.scss +29 -30
  128. package/components/Label/label.css +102 -87
  129. package/components/Label/label.scss +113 -94
  130. package/components/List/list.css +44 -47
  131. package/components/List/list.scss +51 -58
  132. package/components/Login/login.css +122 -118
  133. package/components/Login/login.scss +105 -112
  134. package/components/Masthead/masthead.css +273 -175
  135. package/components/Masthead/masthead.scss +102 -68
  136. package/components/Menu/menu.css +151 -95
  137. package/components/Menu/menu.scss +59 -40
  138. package/components/MenuToggle/menu-toggle.css +129 -108
  139. package/components/MenuToggle/menu-toggle.scss +150 -128
  140. package/components/ModalBox/modal-box.css +53 -45
  141. package/components/ModalBox/modal-box.scss +52 -46
  142. package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
  143. package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
  144. package/components/Nav/nav.css +33 -9
  145. package/components/Nav/nav.scss +46 -13
  146. package/components/NotificationDrawer/notification-drawer.css +50 -51
  147. package/components/NotificationDrawer/notification-drawer.scss +58 -57
  148. package/components/NumberInput/number-input.css +7 -11
  149. package/components/NumberInput/number-input.scss +5 -7
  150. package/components/OverflowMenu/overflow-menu.css +2 -1
  151. package/components/OverflowMenu/overflow-menu.scss +3 -1
  152. package/components/Page/page.css +175 -519
  153. package/components/Page/page.scss +155 -386
  154. package/components/Pagination/pagination.css +82 -79
  155. package/components/Pagination/pagination.scss +43 -40
  156. package/components/Panel/panel.css +33 -30
  157. package/components/Panel/panel.scss +35 -33
  158. package/components/Popover/popover.css +54 -52
  159. package/components/Popover/popover.scss +55 -54
  160. package/components/Progress/progress.css +8 -4
  161. package/components/Progress/progress.scss +14 -11
  162. package/components/ProgressStepper/progress-stepper.css +246 -245
  163. package/components/ProgressStepper/progress-stepper.scss +118 -118
  164. package/components/Radio/radio.css +7 -7
  165. package/components/Radio/radio.scss +9 -10
  166. package/components/Sidebar/sidebar.css +139 -139
  167. package/components/Sidebar/sidebar.scss +61 -61
  168. package/components/SimpleList/simple-list.css +21 -20
  169. package/components/SimpleList/simple-list.scss +22 -23
  170. package/components/Skeleton/skeleton.css +4 -4
  171. package/components/Skeleton/skeleton.scss +7 -8
  172. package/components/SkipToContent/skip-to-content.css +7 -6
  173. package/components/SkipToContent/skip-to-content.scss +7 -7
  174. package/components/Slider/slider.css +31 -31
  175. package/components/Slider/slider.scss +54 -55
  176. package/components/Spinner/spinner.scss +4 -5
  177. package/components/Switch/switch.css +4 -10
  178. package/components/Switch/switch.scss +8 -17
  179. package/components/TabContent/tab-content.css +25 -25
  180. package/components/TabContent/tab-content.scss +28 -28
  181. package/components/Table/table-grid.css +434 -508
  182. package/components/Table/table-grid.scss +131 -150
  183. package/components/Table/table-scrollable.css +31 -34
  184. package/components/Table/table-scrollable.scss +44 -41
  185. package/components/Table/table-tree-view.css +287 -279
  186. package/components/Table/table-tree-view.scss +84 -84
  187. package/components/Table/table.css +316 -279
  188. package/components/Table/table.scss +346 -301
  189. package/components/Tabs/tabs.css +215 -240
  190. package/components/Tabs/tabs.scss +130 -162
  191. package/components/TextInputGroup/text-input-group.css +122 -64
  192. package/components/TextInputGroup/text-input-group.scss +144 -87
  193. package/components/Tile/tile.css +15 -15
  194. package/components/Tile/tile.scss +16 -17
  195. package/components/Timestamp/timestamp.css +13 -19
  196. package/components/Timestamp/timestamp.scss +16 -22
  197. package/components/Title/title.css +14 -13
  198. package/components/Title/title.scss +15 -15
  199. package/components/ToggleGroup/toggle-group.css +37 -37
  200. package/components/ToggleGroup/toggle-group.scss +38 -41
  201. package/components/Toolbar/toolbar.css +547 -1431
  202. package/components/Toolbar/toolbar.scss +159 -123
  203. package/components/Tooltip/tooltip.css +28 -27
  204. package/components/Tooltip/tooltip.scss +31 -30
  205. package/components/TreeView/tree-view.css +184 -184
  206. package/components/TreeView/tree-view.scss +133 -133
  207. package/components/Truncate/truncate.css +2 -2
  208. package/components/Truncate/truncate.scss +7 -8
  209. package/components/Wizard/wizard.css +190 -154
  210. package/components/Wizard/wizard.scss +211 -165
  211. package/components/_index.css +22378 -0
  212. package/components/_index.scss +82 -0
  213. package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
  214. package/docs/components/Accordion/examples/Accordion.md +1 -1
  215. package/docs/components/ActionList/examples/ActionList.md +64 -24
  216. package/docs/components/Alert/examples/Alert.md +116 -74
  217. package/docs/components/BackToTop/examples/BackToTop.md +1 -1
  218. package/docs/components/Badge/examples/Badge.md +6 -16
  219. package/docs/components/Banner/examples/Banner.md +16 -10
  220. package/docs/components/Brand/examples/Brand.md +2 -2
  221. package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
  222. package/docs/components/Button/examples/Button.md +537 -368
  223. package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
  224. package/docs/components/Card/examples/Card.md +372 -658
  225. package/docs/components/Check/examples/Check.md +10 -15
  226. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
  227. package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
  228. package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
  229. package/docs/components/Content/examples/Content.md +600 -60
  230. package/docs/components/DataList/examples/DataList.md +291 -1028
  231. package/docs/components/DatePicker/examples/DatePicker.md +18 -6
  232. package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
  233. package/docs/components/Drawer/examples/Drawer.md +60 -21
  234. package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
  235. package/docs/components/EmptyState/examples/EmptyState.md +123 -53
  236. package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
  237. package/docs/components/FileUpload/examples/FileUpload.md +42 -14
  238. package/docs/components/Form/examples/Form.md +100 -26
  239. package/docs/components/Hint/examples/Hint.md +54 -164
  240. package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
  241. package/docs/components/InputGroup/examples/InputGroup.md +38 -62
  242. package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
  243. package/docs/components/Label/examples/Label.md +2577 -406
  244. package/docs/components/Login/examples/Login.md +372 -334
  245. package/docs/components/Masthead/examples/masthead.md +515 -484
  246. package/docs/components/Menu/examples/Menu.md +77 -138
  247. package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
  248. package/docs/components/ModalBox/examples/ModalBox.md +158 -100
  249. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
  250. package/docs/components/Nav/examples/Navigation.css +2 -7
  251. package/docs/components/Nav/examples/Navigation.md +337 -270
  252. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
  253. package/docs/components/NumberInput/examples/NumberInput.md +96 -48
  254. package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
  255. package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
  256. package/docs/components/Page/examples/Page.css +5 -9
  257. package/docs/components/Page/examples/Page.md +254 -181
  258. package/docs/components/Pagination/examples/Pagination.md +336 -756
  259. package/docs/components/Panel/examples/Panel.md +3 -2
  260. package/docs/components/Popover/examples/Popover.md +60 -15
  261. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
  262. package/docs/components/Sidebar/examples/Sidebar.css +4 -2
  263. package/docs/components/Sidebar/examples/Sidebar.md +3 -3
  264. package/docs/components/Skeleton/examples/Skeleton.css +1 -1
  265. package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
  266. package/docs/components/Slider/examples/Slider.md +53 -45
  267. package/docs/components/Spinner/examples/Spinner.md +1 -1
  268. package/docs/components/Switch/examples/Switch.md +33 -148
  269. package/docs/components/Table/examples/Table.css +11 -6
  270. package/docs/components/Table/examples/Table.md +5302 -2464
  271. package/docs/components/Tabs/examples/Tabs.md +1267 -607
  272. package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
  273. package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
  274. package/docs/components/Tile/examples/Tile.css +5 -5
  275. package/docs/components/Timestamp/examples/Timestamp.md +7 -1
  276. package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
  277. package/docs/components/Toolbar/examples/Toolbar.css +50 -39
  278. package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
  279. package/docs/components/Tooltip/examples/Tooltip.css +1 -1
  280. package/docs/components/TreeView/examples/TreeView.md +627 -49
  281. package/docs/components/Truncate/examples/Truncate.css +1 -2
  282. package/docs/components/Wizard/examples/Wizard.md +1595 -126
  283. package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
  284. package/docs/demos/Alert/examples/Alert.md +924 -909
  285. package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
  286. package/docs/demos/Banner/examples/Banner.md +641 -659
  287. package/docs/demos/Button/examples/Button.md +8 -8
  288. package/docs/demos/Card/examples/Card.css +6 -6
  289. package/docs/demos/Card/examples/Card.md +419 -606
  290. package/docs/demos/CardView/examples/CardView.md +822 -1435
  291. package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
  292. package/docs/demos/DataList/examples/DataList.md +3210 -3424
  293. package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
  294. package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
  295. package/docs/demos/Form/examples/BasicForms.md +153 -88
  296. package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
  297. package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
  298. package/docs/demos/Modal/examples/Modal.md +1231 -1235
  299. package/docs/demos/Nav/examples/Nav.md +1216 -1230
  300. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
  301. package/docs/demos/Page/examples/Page.css +11 -0
  302. package/docs/demos/Page/examples/Page.md +3753 -2540
  303. package/docs/demos/Panel/Panel.md +88 -0
  304. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
  305. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
  306. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
  307. package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
  308. package/docs/demos/Table/examples/Table.md +14272 -15154
  309. package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
  310. package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
  311. package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
  312. package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
  313. package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
  314. package/docs/layouts/Flex/examples/Flex.css +4 -4
  315. package/docs/layouts/Flex/examples/Flex.md +50 -50
  316. package/docs/layouts/Gallery/examples/Gallery.css +4 -4
  317. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  318. package/docs/layouts/Grid/examples/Grid.css +3 -3
  319. package/docs/layouts/Grid/examples/Grid.md +33 -33
  320. package/docs/layouts/Level/examples/Level.css +5 -5
  321. package/docs/layouts/Split/examples/Split.css +4 -4
  322. package/docs/layouts/Stack/examples/Stack.css +5 -5
  323. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  324. package/docs/utilities/Alignment/examples/Alignment.css +6 -6
  325. package/docs/utilities/Alignment/examples/Alignment.md +5 -5
  326. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
  327. package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
  328. package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
  329. package/docs/utilities/Display/examples/Display.css +3 -10
  330. package/docs/utilities/Display/examples/Display.md +21 -12
  331. package/docs/utilities/Flex/examples/Flex.css +7 -7
  332. package/docs/utilities/Flex/examples/Flex.md +82 -40
  333. package/docs/utilities/Float/examples/Float.css +5 -5
  334. package/docs/utilities/Float/examples/Float.md +6 -6
  335. package/docs/utilities/Sizing/examples/Sizing.css +6 -6
  336. package/docs/utilities/Sizing/examples/Sizing.md +60 -60
  337. package/docs/utilities/Spacing/examples/Spacing.css +3 -3
  338. package/docs/utilities/Spacing/examples/Spacing.md +37 -37
  339. package/docs/utilities/Text/examples/Text.md +78 -77
  340. package/icons/pficons.mjs +6 -0
  341. package/layouts/Bullseye/bullseye.css +4 -0
  342. package/layouts/Bullseye/bullseye.scss +5 -1
  343. package/layouts/Flex/flex.css +241 -237
  344. package/layouts/Flex/flex.scss +48 -44
  345. package/layouts/Gallery/gallery.css +15 -11
  346. package/layouts/Gallery/gallery.scss +9 -5
  347. package/layouts/Grid/grid.css +20 -16
  348. package/layouts/Grid/grid.scss +12 -8
  349. package/layouts/Level/level.css +5 -1
  350. package/layouts/Level/level.scss +6 -2
  351. package/layouts/Split/split.css +5 -1
  352. package/layouts/Split/split.scss +6 -2
  353. package/layouts/Stack/stack.css +5 -1
  354. package/layouts/Stack/stack.scss +6 -2
  355. package/layouts/_index.css +3461 -0
  356. package/layouts/_index.scss +8 -0
  357. package/package.json +39 -39
  358. package/patternfly-addons.css +2071 -2648
  359. package/patternfly-addons.scss +2 -12
  360. package/patternfly-base-no-globals.css +1429 -1645
  361. package/patternfly-base-no-globals.scss +5 -3
  362. package/patternfly-base.css +1511 -1723
  363. package/patternfly-base.scss +2 -6
  364. package/patternfly-charts.css +579 -240
  365. package/patternfly-charts.scss +352 -337
  366. package/patternfly-no-globals.css +19895 -23410
  367. package/patternfly-no-globals.scss +5 -4
  368. package/patternfly.css +19999 -23510
  369. package/patternfly.min.css +1 -1
  370. package/patternfly.min.css.map +1 -1
  371. package/patternfly.scss +3 -4
  372. package/sass-utilities/_index.scss +6 -0
  373. package/sass-utilities/functions.scss +25 -25
  374. package/sass-utilities/{_init.scss → init.scss} +6 -6
  375. package/sass-utilities/mixins.scss +108 -72
  376. package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
  377. package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
  378. package/sass-utilities/scss-variables.scss +49 -261
  379. package/utilities/Accessibility/accessibility.css +15 -15
  380. package/utilities/Accessibility/accessibility.scss +8 -6
  381. package/utilities/Alignment/alignment.css +29 -29
  382. package/utilities/Alignment/alignment.scss +6 -4
  383. package/utilities/BackgroundColor/background-color.css +67 -0
  384. package/utilities/BackgroundColor/background-color.scss +16 -0
  385. package/utilities/BoxShadow/box-shadow.css +15 -39
  386. package/utilities/BoxShadow/box-shadow.scss +19 -28
  387. package/utilities/Display/display.css +43 -5
  388. package/utilities/Display/display.scss +7 -4
  389. package/utilities/Flex/flex.css +50 -50
  390. package/utilities/Flex/flex.scss +21 -20
  391. package/utilities/Float/float.css +29 -29
  392. package/utilities/Float/float.scss +6 -6
  393. package/utilities/Sizing/sizing.css +58 -58
  394. package/utilities/Sizing/sizing.scss +23 -21
  395. package/utilities/Spacing/spacing.css +1372 -1372
  396. package/utilities/Spacing/spacing.scss +6 -6
  397. package/utilities/Text/text.css +419 -662
  398. package/utilities/Text/text.scss +81 -107
  399. package/utilities/_index.css +7815 -0
  400. package/utilities/_index.scss +10 -0
  401. package/assets/images/pf-logo-small.svg +0 -23
  402. package/assets/images/pf_logo_white.hbs +0 -35
  403. package/assets/images/pfbg-icon.svg +0 -1
  404. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  405. package/base/_base.scss +0 -2
  406. package/base/_chart-globals.scss +0 -415
  407. package/base/_common.scss +0 -50
  408. package/base/_fa-icons.scss +0 -33
  409. package/base/_fonts.scss +0 -136
  410. package/base/_icons.scss +0 -3
  411. package/base/_pficons.scss +0 -2
  412. package/base/_themes.scss +0 -43
  413. package/base/_variables.scss +0 -299
  414. package/base/patternfly-globals.css +0 -120
  415. package/base/patternfly-globals.scss +0 -2
  416. package/base/patternfly-icons.css +0 -4728
  417. package/base/patternfly-icons.scss +0 -2
  418. package/base/patternfly-themes.css +0 -82
  419. package/base/patternfly-themes.scss +0 -2
  420. package/base/themes/dark/_chart-globals.scss +0 -42
  421. package/base/themes/dark/_globals.scss +0 -5
  422. package/base/tokens/_workspace-overrides.scss +0 -7
  423. package/components/AppLauncher/app-launcher.css +0 -244
  424. package/components/AppLauncher/app-launcher.scss +0 -308
  425. package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
  426. package/components/Chip/chip-group.css +0 -93
  427. package/components/Chip/chip-group.scss +0 -98
  428. package/components/Chip/chip.css +0 -122
  429. package/components/Chip/chip.scss +0 -140
  430. package/components/Chip/themes/dark/chip.scss +0 -9
  431. package/components/ContextSelector/context-selector.css +0 -336
  432. package/components/ContextSelector/context-selector.scss +0 -384
  433. package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
  434. package/components/Dropdown/dropdown.css +0 -686
  435. package/components/Dropdown/dropdown.scss +0 -820
  436. package/components/Dropdown/themes/dark/dropdown.scss +0 -32
  437. package/components/LogViewer/log-viewer.css +0 -197
  438. package/components/LogViewer/log-viewer.scss +0 -226
  439. package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
  440. package/components/NotificationBadge/notification-badge.css +0 -87
  441. package/components/NotificationBadge/notification-badge.scss +0 -108
  442. package/components/OptionsMenu/options-menu.css +0 -279
  443. package/components/OptionsMenu/options-menu.scss +0 -332
  444. package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
  445. package/components/Select/select.css +0 -599
  446. package/components/Select/select.scss +0 -713
  447. package/components/Select/themes/dark/select.scss +0 -23
  448. package/components/_all.scss +0 -91
  449. package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
  450. package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
  451. package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
  452. package/docs/components/Chip/examples/Chip.md +0 -846
  453. package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
  454. package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
  455. package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
  456. package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
  457. package/docs/components/LogViewer/examples/LogViewer.css +0 -17
  458. package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
  459. package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
  460. package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
  461. package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
  462. package/docs/components/Page/deprecated/PageHeader.css +0 -17
  463. package/docs/components/Page/deprecated/PageHeader.md +0 -261
  464. package/docs/components/Pagination/examples/Pagination.css +0 -3
  465. package/docs/components/Select/deprecated/Select.css +0 -56
  466. package/docs/components/Select/deprecated/Select.md +0 -3525
  467. package/docs/components/Tabs/examples/Tabs.css +0 -10
  468. package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
  469. package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
  470. package/docs/demos/Page/examples/Penta.md +0 -821
  471. package/docs/utilities/Text/examples/Text.css +0 -0
  472. package/layouts/_all.scss +0 -7
  473. package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
  474. package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
  475. package/patternfly-base-theme-dark-unversioned.css +0 -6393
  476. package/patternfly-base-theme-dark-unversioned.scss +0 -5
  477. package/patternfly-charts-theme-dark-unversioned.css +0 -70
  478. package/patternfly-charts-theme-dark-unversioned.scss +0 -8
  479. package/patternfly-charts-theme-dark.css +0 -70
  480. package/patternfly-charts-theme-dark.scss +0 -8
  481. package/patternfly-theme-dark-unversioned.css +0 -35533
  482. package/patternfly-theme-dark-unversioned.scss +0 -6
  483. package/patternfly-theme-dark.css +0 -0
  484. package/patternfly-theme-dark.scss +0 -1
  485. package/sass-utilities/_all.scss +0 -9
  486. package/sass-utilities/colors.scss +0 -82
  487. package/sass-utilities/div.import.scss +0 -3
  488. package/sass-utilities/div.scss +0 -4
  489. package/sass-utilities/placeholders.scss +0 -72
  490. package/sass-utilities/themes/dark/_all.scss +0 -4
  491. package/sass-utilities/themes/dark/colors.scss +0 -16
  492. package/sass-utilities/themes/dark/mixins.scss +0 -7
  493. package/sass-utilities/themes/dark/placeholders.scss +0 -5
  494. package/sass-utilities/themes/dark/scss-variables.scss +0 -92
  495. package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
  496. package/utilities/BackgroundColor/BackgroundColor.css +0 -414
  497. package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
  498. package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
  499. package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
  500. package/utilities/Text/themes/dark/text.css +0 -0
  501. package/utilities/Text/themes/dark/text.scss +0 -33
@@ -1,22 +1,21 @@
1
- // @debug $clipboard-copy; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root),
4
- :where(.#{$clipboard-copy}) {
3
+ @include pf-root($clipboard-copy) {
5
4
  // Toggle icon
6
5
  --#{$clipboard-copy}__toggle-icon--Transition: .2s ease-in 0s;
7
6
  --#{$clipboard-copy}--m-expanded__toggle-icon--Rotate: 90deg;
8
7
 
9
8
  // Clipboard copy expanded content
10
- --#{$clipboard-copy}__expandable-content--MarginTop: var(--pf-t--global--spacer--xs);
11
- --#{$clipboard-copy}__expandable-content--PaddingTop: var(--pf-t--global--spacer--md);
12
- --#{$clipboard-copy}__expandable-content--PaddingRight: var(--pf-t--global--spacer--md);
13
- --#{$clipboard-copy}__expandable-content--PaddingBottom: var(--pf-t--global--spacer--md);
14
- --#{$clipboard-copy}__expandable-content--PaddingLeft: var(--pf-t--global--spacer--md);
9
+ --#{$clipboard-copy}__expandable-content--MarginBlockStart: var(--pf-t--global--spacer--xs);
10
+ --#{$clipboard-copy}__expandable-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
11
+ --#{$clipboard-copy}__expandable-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
12
+ --#{$clipboard-copy}__expandable-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
13
+ --#{$clipboard-copy}__expandable-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
15
14
  --#{$clipboard-copy}__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
16
- --#{$clipboard-copy}__expandable-content--BorderTopWidth: var(--pf-t--global--border--width--control--default);
17
- --#{$clipboard-copy}__expandable-content--BorderRightWidth: var(--pf-t--global--border--width--control--default);
18
- --#{$clipboard-copy}__expandable-content--BorderBottomWidth: var(--pf-t--global--border--width--control--default);
19
- --#{$clipboard-copy}__expandable-content--BorderLeftWidth: var(--pf-t--global--border--width--control--default);
15
+ --#{$clipboard-copy}__expandable-content--BorderBlockStartWidth: var(--pf-t--global--border--width--control--default);
16
+ --#{$clipboard-copy}__expandable-content--BorderInlineEndWidth: var(--pf-t--global--border--width--control--default);
17
+ --#{$clipboard-copy}__expandable-content--BorderBlockEndWidth: var(--pf-t--global--border--width--control--default);
18
+ --#{$clipboard-copy}__expandable-content--BorderInlineStartWidth: var(--pf-t--global--border--width--control--default);
20
19
  --#{$clipboard-copy}__expandable-content--BorderColor: var(--pf-t--global--border--color--default);
21
20
  --#{$clipboard-copy}__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
22
21
  --#{$clipboard-copy}__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs);
@@ -25,22 +24,17 @@
25
24
  --#{$clipboard-copy}__group--Gap: var(--pf-t--global--spacer--xs);
26
25
 
27
26
  // Inline
28
- --#{$clipboard-copy}--m-inline--PaddingTop: 0; // remove at breaking change
29
- --#{$clipboard-copy}--m-inline--PaddingBottom: 0; // remove at breaking change
30
- --#{$clipboard-copy}--m-inline--PaddingLeft: var(--pf-t--global--spacer--xs);
27
+ --#{$clipboard-copy}--m-inline--PaddingInlineStart: var(--pf-t--global--spacer--xs);
28
+ --#{$clipboard-copy}--m-inline--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
31
29
  --#{$clipboard-copy}--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
30
+ --#{$clipboard-copy}__actions--Gap: var(--pf-t--global--spacer--sm);
31
+ --#{$clipboard-copy}__actions--MarginInlineStart: var(--pf-t--global--spacer--xs);
32
+ --#{$clipboard-copy}__actions-item--button--Color: var(--pf-t--global--icon--color--subtle);
33
+ --#{$clipboard-copy}__actions-item--button--hover--Color: var(--pf-t--global--icon--color--regular);
32
34
 
33
35
  // Text
34
36
  --#{$clipboard-copy}__text--m-code--FontFamily: var(--pf-t--global--font--family--mono);
35
37
  --#{$clipboard-copy}__text--m-code--FontSize: var(--pf-t--global--font--size--body--default);
36
-
37
- // Actions
38
- --#{$clipboard-copy}__actions-item--MarginTop: calc(-1 * var(--pf-t--global--spacer--xs));
39
- --#{$clipboard-copy}__actions-item--MarginBottom: calc(-1 * var(--pf-t--global--spacer--xs));
40
- --#{$clipboard-copy}__actions-item--button--PaddingTop: var(--pf-t--global--spacer--xs);
41
- --#{$clipboard-copy}__actions-item--button--PaddingRight: var(--pf-t--global--spacer--xs);
42
- --#{$clipboard-copy}__actions-item--button--PaddingBottom: var(--pf-t--global--spacer--xs);
43
- --#{$clipboard-copy}__actions-item--button--PaddingLeft: var(--pf-t--global--spacer--xs);
44
38
  }
45
39
 
46
40
  .#{$clipboard-copy} {
@@ -53,9 +47,8 @@
53
47
 
54
48
  &.pf-m-inline {
55
49
  display: inline;
56
- padding-block-start: var(--#{$clipboard-copy}--m-inline--PaddingTop);
57
- padding-block-end: var(--#{$clipboard-copy}--m-inline--PaddingBottom);
58
- padding-inline-start: var(--#{$clipboard-copy}--m-inline--PaddingLeft);
50
+ padding-inline-start: var(--#{$clipboard-copy}--m-inline--PaddingInlineStart);
51
+ padding-inline-end: var(--#{$clipboard-copy}--m-inline--PaddingInlineEnd);
59
52
  white-space: nowrap;
60
53
  background-color: var(--#{$clipboard-copy}--m-inline--BackgroundColor);
61
54
 
@@ -76,25 +69,25 @@
76
69
  }
77
70
 
78
71
  .#{$clipboard-copy}__toggle-icon {
79
- @include pf-v5-mirror-inline-on-rtl;
72
+ @include pf-v6-mirror-inline-on-rtl;
80
73
 
81
74
  transition: var(--#{$clipboard-copy}__toggle-icon--Transition);
82
75
  }
83
76
 
84
77
  .#{$clipboard-copy}__expandable-content {
85
- padding-block-start: var(--#{$clipboard-copy}__expandable-content--PaddingTop);
86
- padding-block-end: var(--#{$clipboard-copy}__expandable-content--PaddingBottom);
87
- padding-inline-start: var(--#{$clipboard-copy}__expandable-content--PaddingLeft);
88
- padding-inline-end: var(--#{$clipboard-copy}__expandable-content--PaddingRight);
89
- margin-block-start: var(--#{$clipboard-copy}__expandable-content--MarginTop);
78
+ padding-block-start: var(--#{$clipboard-copy}__expandable-content--PaddingBlockStart);
79
+ padding-block-end: var(--#{$clipboard-copy}__expandable-content--PaddingBlockEnd);
80
+ padding-inline-start: var(--#{$clipboard-copy}__expandable-content--PaddingInlineStart);
81
+ padding-inline-end: var(--#{$clipboard-copy}__expandable-content--PaddingInlineEnd);
82
+ margin-block-start: var(--#{$clipboard-copy}__expandable-content--MarginBlockStart);
90
83
  word-wrap: break-word;
91
84
  background-color: var(--#{$clipboard-copy}__expandable-content--BackgroundColor);
92
85
  background-clip: padding-box;
93
86
  border: solid var(--#{$clipboard-copy}__expandable-content--BorderColor);
94
- border-block-start-width: var(--#{$clipboard-copy}__expandable-content--BorderTopWidth);
95
- border-block-end-width: var(--#{$clipboard-copy}__expandable-content--BorderBottomWidth);
96
- border-inline-start-width: var(--#{$clipboard-copy}__expandable-content--BorderLeftWidth);
97
- border-inline-end-width: var(--#{$clipboard-copy}__expandable-content--BorderRightWidth);
87
+ border-block-start-width: var(--#{$clipboard-copy}__expandable-content--BorderBlockStartWidth);
88
+ border-block-end-width: var(--#{$clipboard-copy}__expandable-content--BorderBlockEndWidth);
89
+ border-inline-start-width: var(--#{$clipboard-copy}__expandable-content--BorderInlineStartWidth);
90
+ border-inline-end-width: var(--#{$clipboard-copy}__expandable-content--BorderInlineEndWidth);
98
91
  border-radius: var(--#{$clipboard-copy}__expandable-content--BorderRadius);
99
92
  box-shadow: var(--#{$clipboard-copy}__expandable-content--BoxShadow);
100
93
 
@@ -115,17 +108,15 @@
115
108
 
116
109
  .#{$clipboard-copy}__actions {
117
110
  display: inline-flex;
111
+ gap: var(--#{$clipboard-copy}__actions--Gap);
112
+ margin-inline-start: var(--#{$clipboard-copy}__actions--MarginInlineStart);
118
113
  }
119
114
 
120
115
  .#{$clipboard-copy}__actions-item {
121
- margin-block-start: calc(-1 * var(--#{$clipboard-copy}__actions-item--button--PaddingTop));
122
- margin-block-end: calc(-1 * var(--#{$clipboard-copy}__actions-item--button--PaddingBottom));
123
-
124
- .#{$button} {
125
- --#{$button}--PaddingTop: var(--#{$clipboard-copy}__actions-item--button--PaddingTop);
126
- --#{$button}--PaddingRight: var(--#{$clipboard-copy}__actions-item--button--PaddingRight);
127
- --#{$button}--PaddingBottom: var(--#{$clipboard-copy}__actions-item--button--PaddingBottom);
128
- --#{$button}--PaddingLeft: var(--#{$clipboard-copy}__actions-item--button--PaddingLeft);
116
+
117
+ .#{$button}.pf-m-plain {
118
+ --#{$button}--m-plain__icon--Color: var(--#{$clipboard-copy}__actions-item--button--Color);
119
+ --#{$button}--m-plain--hover__icon--Color: var(--#{$clipboard-copy}__actions-item--button--hover--Color);
129
120
  }
130
121
  }
131
122
 
@@ -1,16 +1,17 @@
1
- :root, :where(.pf-v6-c-code-block) {
1
+ :root,
2
+ .pf-v6-c-code-block {
2
3
  --pf-v6-c-code-block--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
3
4
  --pf-v6-c-code-block--BorderRadius: var(--pf-t--global--border--radius--medium);
4
- --pf-v6-c-code-block__header--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
5
- --pf-v6-c-code-block__header--BorderBottomColor: var(--pf-t--global--border--color--default);
6
- --pf-v6-c-code-block__header--PaddingTop: var(--pf-t--global--spacer--xs);
7
- --pf-v6-c-code-block__header--PaddingBottom: var(--pf-t--global--spacer--xs);
8
- --pf-v6-c-code-block__header--PaddingRight: var(--pf-t--global--spacer--sm);
9
- --pf-v6-c-code-block__header--PaddingLeft: var(--pf-t--global--spacer--sm);
10
- --pf-v6-c-code-block__content--PaddingTop: var(--pf-t--global--spacer--md);
11
- --pf-v6-c-code-block__content--PaddingRight: var(--pf-t--global--spacer--md);
12
- --pf-v6-c-code-block__content--PaddingBottom: var(--pf-t--global--spacer--md);
13
- --pf-v6-c-code-block__content--PaddingLeft: var(--pf-t--global--spacer--md);
5
+ --pf-v6-c-code-block__header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
6
+ --pf-v6-c-code-block__header--BorderBlockEndColor: var(--pf-t--global--border--color--default);
7
+ --pf-v6-c-code-block__header--PaddingBlockStart: var(--pf-t--global--spacer--xs);
8
+ --pf-v6-c-code-block__header--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
9
+ --pf-v6-c-code-block__header--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
10
+ --pf-v6-c-code-block__header--PaddingInlineStart: var(--pf-t--global--spacer--sm);
11
+ --pf-v6-c-code-block__content--PaddingBlockStart: var(--pf-t--global--spacer--md);
12
+ --pf-v6-c-code-block__content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
13
+ --pf-v6-c-code-block__content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
14
+ --pf-v6-c-code-block__content--PaddingInlineStart: var(--pf-t--global--spacer--md);
14
15
  --pf-v6-c-code-block__pre--FontFamily: var(--pf-t--global--font--family--mono);
15
16
  --pf-v6-c-code-block__pre--FontSize: var(--pf-t--global--font--size--xs);
16
17
  }
@@ -22,11 +23,11 @@
22
23
 
23
24
  .pf-v6-c-code-block__header {
24
25
  display: flex;
25
- padding-block-start: var(--pf-v6-c-code-block__header--PaddingTop);
26
- padding-block-end: var(--pf-v6-c-code-block__header--PaddingBottom);
27
- padding-inline-start: var(--pf-v6-c-code-block__header--PaddingLeft);
28
- padding-inline-end: var(--pf-v6-c-code-block__header--PaddingRight);
29
- border-block-end: var(--pf-v6-c-code-block__header--BorderBottomWidth) solid var(--pf-v6-c-code-block__header--BorderBottomColor);
26
+ padding-block-start: var(--pf-v6-c-code-block__header--PaddingBlockStart);
27
+ padding-block-end: var(--pf-v6-c-code-block__header--PaddingBlockEnd);
28
+ padding-inline-start: var(--pf-v6-c-code-block__header--PaddingInlineStart);
29
+ padding-inline-end: var(--pf-v6-c-code-block__header--PaddingInlineEnd);
30
+ border-block-end: var(--pf-v6-c-code-block__header--BorderBlockEndWidth) solid var(--pf-v6-c-code-block__header--BorderBlockEndColor);
30
31
  }
31
32
 
32
33
  .pf-v6-c-code-block__actions {
@@ -35,10 +36,10 @@
35
36
  }
36
37
 
37
38
  .pf-v6-c-code-block__content {
38
- padding-block-start: var(--pf-v6-c-code-block__content--PaddingTop);
39
- padding-block-end: var(--pf-v6-c-code-block__content--PaddingBottom);
40
- padding-inline-start: var(--pf-v6-c-code-block__content--PaddingLeft);
41
- padding-inline-end: var(--pf-v6-c-code-block__content--PaddingRight);
39
+ padding-block-start: var(--pf-v6-c-code-block__content--PaddingBlockStart);
40
+ padding-block-end: var(--pf-v6-c-code-block__content--PaddingBlockEnd);
41
+ padding-inline-start: var(--pf-v6-c-code-block__content--PaddingInlineStart);
42
+ padding-inline-end: var(--pf-v6-c-code-block__content--PaddingInlineEnd);
42
43
  }
43
44
 
44
45
  .pf-v6-c-code-block__pre {
@@ -1,18 +1,18 @@
1
- // @debug $code-block; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :root, :where(.#{$code-block}) {
3
+ @include pf-root($code-block) {
4
4
  --#{$code-block}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
5
5
  --#{$code-block}--BorderRadius: var(--pf-t--global--border--radius--medium);
6
- --#{$code-block}__header--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
7
- --#{$code-block}__header--BorderBottomColor: var(--pf-t--global--border--color--default);
8
- --#{$code-block}__header--PaddingTop: var(--pf-t--global--spacer--xs);
9
- --#{$code-block}__header--PaddingBottom: var(--pf-t--global--spacer--xs);
10
- --#{$code-block}__header--PaddingRight: var(--pf-t--global--spacer--sm);
11
- --#{$code-block}__header--PaddingLeft: var(--pf-t--global--spacer--sm);
12
- --#{$code-block}__content--PaddingTop: var(--pf-t--global--spacer--md);
13
- --#{$code-block}__content--PaddingRight: var(--pf-t--global--spacer--md);
14
- --#{$code-block}__content--PaddingBottom: var(--pf-t--global--spacer--md);
15
- --#{$code-block}__content--PaddingLeft: var(--pf-t--global--spacer--md);
6
+ --#{$code-block}__header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
7
+ --#{$code-block}__header--BorderBlockEndColor: var(--pf-t--global--border--color--default);
8
+ --#{$code-block}__header--PaddingBlockStart: var(--pf-t--global--spacer--xs);
9
+ --#{$code-block}__header--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
10
+ --#{$code-block}__header--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
11
+ --#{$code-block}__header--PaddingInlineStart: var(--pf-t--global--spacer--sm);
12
+ --#{$code-block}__content--PaddingBlockStart: var(--pf-t--global--spacer--md);
13
+ --#{$code-block}__content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
14
+ --#{$code-block}__content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
15
+ --#{$code-block}__content--PaddingInlineStart: var(--pf-t--global--spacer--md);
16
16
  --#{$code-block}__pre--FontFamily: var(--pf-t--global--font--family--mono);
17
17
  --#{$code-block}__pre--FontSize: var(--pf-t--global--font--size--xs);
18
18
  }
@@ -24,11 +24,11 @@
24
24
 
25
25
  .#{$code-block}__header {
26
26
  display: flex;
27
- padding-block-start: var(--#{$code-block}__header--PaddingTop);
28
- padding-block-end: var(--#{$code-block}__header--PaddingBottom);
29
- padding-inline-start: var(--#{$code-block}__header--PaddingLeft);
30
- padding-inline-end: var(--#{$code-block}__header--PaddingRight);
31
- border-block-end: var(--#{$code-block}__header--BorderBottomWidth) solid var(--#{$code-block}__header--BorderBottomColor);
27
+ padding-block-start: var(--#{$code-block}__header--PaddingBlockStart);
28
+ padding-block-end: var(--#{$code-block}__header--PaddingBlockEnd);
29
+ padding-inline-start: var(--#{$code-block}__header--PaddingInlineStart);
30
+ padding-inline-end: var(--#{$code-block}__header--PaddingInlineEnd);
31
+ border-block-end: var(--#{$code-block}__header--BorderBlockEndWidth) solid var(--#{$code-block}__header--BorderBlockEndColor);
32
32
  }
33
33
 
34
34
  .#{$code-block}__actions {
@@ -37,10 +37,10 @@
37
37
  }
38
38
 
39
39
  .#{$code-block}__content {
40
- padding-block-start: var(--#{$code-block}__content--PaddingTop);
41
- padding-block-end: var(--#{$code-block}__content--PaddingBottom);
42
- padding-inline-start: var(--#{$code-block}__content--PaddingLeft);
43
- padding-inline-end: var(--#{$code-block}__content--PaddingRight);
40
+ padding-block-start: var(--#{$code-block}__content--PaddingBlockStart);
41
+ padding-block-end: var(--#{$code-block}__content--PaddingBlockEnd);
42
+ padding-inline-start: var(--#{$code-block}__content--PaddingInlineStart);
43
+ padding-inline-end: var(--#{$code-block}__content--PaddingInlineEnd);
44
44
  }
45
45
 
46
46
  .#{$code-block}__pre {
@@ -1,8 +1,9 @@
1
- :where(:root), :where(.pf-v6-c-code-editor) {
1
+ :root,
2
+ .pf-v6-c-code-editor {
2
3
  --pf-v6-c-code-editor__controls--PaddingInlineStart: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-code-editor__controls--Gap: var(--pf-t--global--spacer--xs);
4
- --pf-v6-c-code-editor__header--before--BorderBottomWidth: var(--pf-t--global--border--width--box--default);
5
- --pf-v6-c-code-editor__header--before--BorderBottomColor: var(--pf-t--global--border--color--default);
5
+ --pf-v6-c-code-editor__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
6
+ --pf-v6-c-code-editor__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
6
7
  --pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
7
8
  --pf-v6-c-code-editor__header-content--m-plain--BackgroundColor: var(--pf-t--global--background--color--primary--default);
8
9
  --pf-v6-c-code-editor__header-content--PaddingBlockStart: var(--pf-t--global--spacer--xs);
@@ -28,27 +29,27 @@
28
29
  --pf-v6-c-code-editor__main--m-drag-hover--before--BorderColor: var( --pf-t--global--border--color--clicked);
29
30
  --pf-v6-c-code-editor__main--m-drag-hover--after--BackgroundColor: var(--pf-t--global--background--color--primary--default);
30
31
  --pf-v6-c-code-editor__main--m-drag-hover--after--Opacity: .1;
31
- --pf-v6-c-code-editor__code--PaddingTop: var(--pf-t--global--spacer--sm);
32
- --pf-v6-c-code-editor__code--PaddingRight: var(--pf-t--global--spacer--sm);
33
- --pf-v6-c-code-editor__code--PaddingBottom: var(--pf-t--global--spacer--sm);
34
- --pf-v6-c-code-editor__code--PaddingLeft: var(--pf-t--global--spacer--sm);
32
+ --pf-v6-c-code-editor__code--PaddingBlockStart: var(--pf-t--global--spacer--sm);
33
+ --pf-v6-c-code-editor__code--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
34
+ --pf-v6-c-code-editor__code--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
35
+ --pf-v6-c-code-editor__code--PaddingInlineStart: var(--pf-t--global--spacer--sm);
35
36
  --pf-v6-c-code-editor__code-pre--FontSize: var(--pf-t--global--font--size--sm);
36
37
  --pf-v6-c-code-editor__code-pre--FontFamily: var(--pf-t--global--font--family--mono);
37
- --pf-v6-c-code-editor__header-main--PaddingRight: var(--pf-t--global--spacer--sm);
38
- --pf-v6-c-code-editor__header-main--PaddingLeft: var(--pf-t--global--spacer--sm);
38
+ --pf-v6-c-code-editor__header-main--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
39
+ --pf-v6-c-code-editor__header-main--PaddingInlineStart: var(--pf-t--global--spacer--sm);
39
40
  --pf-v6-c-code-editor__tab--BackgroundColor: var(--pf-t--global--background--color--primary--default);
40
41
  --pf-v6-c-code-editor__tab--Color: var(--pf-t--global--text--color--subtle);
41
- --pf-v6-c-code-editor__tab--PaddingTop: var(--pf-t--global--spacer--sm);
42
- --pf-v6-c-code-editor__tab--PaddingRight: var( --pf-t--global--spacer--sm);
43
- --pf-v6-c-code-editor__tab--PaddingBottom: var(--pf-t--global--spacer--sm);
44
- --pf-v6-c-code-editor__tab--PaddingLeft: var( --pf-t--global--spacer--sm);
45
- --pf-v6-c-code-editor__tab--BorderTopWidth: var(--pf-t--global--border--width--box--default);
46
- --pf-v6-c-code-editor__tab--BorderRightWidth: var(--pf-t--global--border--width--box--default);
47
- --pf-v6-c-code-editor__tab--BorderBottomWidth: 0;
48
- --pf-v6-c-code-editor__tab--BorderLeftWidth: var(--pf-t--global--border--width--box--default);
42
+ --pf-v6-c-code-editor__tab--PaddingBlockStart: var(--pf-t--global--spacer--sm);
43
+ --pf-v6-c-code-editor__tab--PaddingInlineEnd: var( --pf-t--global--spacer--sm);
44
+ --pf-v6-c-code-editor__tab--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
45
+ --pf-v6-c-code-editor__tab--PaddingInlineStart: var( --pf-t--global--spacer--sm);
46
+ --pf-v6-c-code-editor__tab--BorderBlockStartWidth: var(--pf-t--global--border--width--box--default);
47
+ --pf-v6-c-code-editor__tab--BorderInlineEndWidth: var(--pf-t--global--border--width--box--default);
48
+ --pf-v6-c-code-editor__tab--BorderBlockEndWidth: 0;
49
+ --pf-v6-c-code-editor__tab--BorderInlineStartWidth: var(--pf-t--global--border--width--box--default);
49
50
  --pf-v6-c-code-editor__tab--BorderColor: var(--pf-t--global--border--color--default);
50
51
  --pf-v6-c-code-editor__tab--BorderStartEndRadius: var(--pf-t--global--border--radius--medium);
51
- --pf-v6-c-code-editor__tab-icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
52
+ --pf-v6-c-code-editor__tab-icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
52
53
  }
53
54
 
54
55
  .pf-v6-c-code-editor.pf-m-read-only {
@@ -66,7 +67,7 @@
66
67
  inset-inline-end: 0;
67
68
  pointer-events: none;
68
69
  content: "";
69
- border-block-end: var(--pf-v6-c-code-editor__header--before--BorderBottomWidth) solid var(--pf-v6-c-code-editor__header--before--BorderBottomColor);
70
+ border-block-end: var(--pf-v6-c-code-editor__header--before--BorderBlockEndWidth) solid var(--pf-v6-c-code-editor__header--before--BorderBlockEndColor);
70
71
  }
71
72
  .pf-v6-c-code-editor__header.pf-m-plain {
72
73
  --pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-v6-c-code-editor__header-content--m-plain--BackgroundColor);
@@ -96,8 +97,8 @@
96
97
  .pf-v6-c-code-editor__header-main {
97
98
  flex-grow: 1;
98
99
  align-self: center;
99
- padding-inline-start: var(--pf-v6-c-code-editor__header-main--PaddingLeft);
100
- padding-inline-end: var(--pf-v6-c-code-editor__header-main--PaddingRight);
100
+ padding-inline-start: var(--pf-v6-c-code-editor__header-main--PaddingInlineStart);
101
+ padding-inline-end: var(--pf-v6-c-code-editor__header-main--PaddingInlineEnd);
101
102
  }
102
103
 
103
104
  .pf-v6-c-code-editor__upload {
@@ -141,10 +142,10 @@
141
142
 
142
143
  .pf-v6-c-code-editor__code {
143
144
  position: relative;
144
- padding-block-start: var(--pf-v6-c-code-editor__code--PaddingTop);
145
- padding-block-end: var(--pf-v6-c-code-editor__code--PaddingBottom);
146
- padding-inline-start: var(--pf-v6-c-code-editor__code--PaddingLeft);
147
- padding-inline-end: var(--pf-v6-c-code-editor__code--PaddingRight);
145
+ padding-block-start: var(--pf-v6-c-code-editor__code--PaddingBlockStart);
146
+ padding-block-end: var(--pf-v6-c-code-editor__code--PaddingBlockEnd);
147
+ padding-inline-start: var(--pf-v6-c-code-editor__code--PaddingInlineStart);
148
+ padding-inline-end: var(--pf-v6-c-code-editor__code--PaddingInlineEnd);
148
149
  }
149
150
  .pf-v6-c-code-editor__code .pf-v6-c-code-editor__code-pre {
150
151
  font-family: var(--pf-v6-c-code-editor__code-pre--FontFamily);
@@ -156,21 +157,21 @@
156
157
  position: relative;
157
158
  display: flex;
158
159
  align-items: center;
159
- padding-block-start: var(--pf-v6-c-code-editor__tab--PaddingTop);
160
- padding-block-end: var(--pf-v6-c-code-editor__tab--PaddingBottom);
161
- padding-inline-start: var(--pf-v6-c-code-editor__tab--PaddingLeft);
162
- padding-inline-end: var(--pf-v6-c-code-editor__tab--PaddingRight);
160
+ padding-block-start: var(--pf-v6-c-code-editor__tab--PaddingBlockStart);
161
+ padding-block-end: var(--pf-v6-c-code-editor__tab--PaddingBlockEnd);
162
+ padding-inline-start: var(--pf-v6-c-code-editor__tab--PaddingInlineStart);
163
+ padding-inline-end: var(--pf-v6-c-code-editor__tab--PaddingInlineEnd);
163
164
  color: var(--pf-v6-c-code-editor__tab--Color);
164
165
  background-color: var(--pf-v6-c-code-editor__tab--BackgroundColor);
165
166
  border-color: var(--pf-v6-c-code-editor__tab--BorderColor);
166
167
  border-style: solid;
167
- border-block-start-width: var(--pf-v6-c-code-editor__tab--BorderTopWidth);
168
- border-block-end-width: var(--pf-v6-c-code-editor__tab--BorderBottomWidth);
169
- border-inline-start-width: var(--pf-v6-c-code-editor__tab--BorderLeftWidth);
170
- border-inline-end-width: var(--pf-v6-c-code-editor__tab--BorderRightWidth);
168
+ border-block-start-width: var(--pf-v6-c-code-editor__tab--BorderBlockStartWidth);
169
+ border-block-end-width: var(--pf-v6-c-code-editor__tab--BorderBlockEndWidth);
170
+ border-inline-start-width: var(--pf-v6-c-code-editor__tab--BorderInlineStartWidth);
171
+ border-inline-end-width: var(--pf-v6-c-code-editor__tab--BorderInlineEndWidth);
171
172
  border-start-end-radius: var(--pf-v6-c-code-editor__tab--BorderStartEndRadius);
172
173
  }
173
174
 
174
175
  .pf-v6-c-code-editor__tab-icon + .pf-v6-c-code-editor__tab-text {
175
- margin-inline-start: var(--pf-v6-c-code-editor__tab-icon--text--MarginLeft);
176
+ margin-inline-start: var(--pf-v6-c-code-editor__tab-icon--text--MarginInlineStart);
176
177
  }
@@ -1,13 +1,13 @@
1
- // @debug $code-editor; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root), :where(.#{$code-editor}) {
3
+ @include pf-root($code-editor) {
4
4
  // controls
5
5
  --#{$code-editor}__controls--PaddingInlineStart: var(--pf-t--global--spacer--sm);
6
6
  --#{$code-editor}__controls--Gap: var(--pf-t--global--spacer--xs);
7
7
 
8
8
  // header
9
- --#{$code-editor}__header--before--BorderBottomWidth: var(--pf-t--global--border--width--box--default);
10
- --#{$code-editor}__header--before--BorderBottomColor: var(--pf-t--global--border--color--default);
9
+ --#{$code-editor}__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
10
+ --#{$code-editor}__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
11
11
 
12
12
  // header content
13
13
  --#{$code-editor}__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -41,33 +41,33 @@
41
41
  --#{$code-editor}__main--m-drag-hover--after--Opacity: .1;
42
42
 
43
43
  // code
44
- --#{$code-editor}__code--PaddingTop: var(--pf-t--global--spacer--sm);
45
- --#{$code-editor}__code--PaddingRight: var(--pf-t--global--spacer--sm);
46
- --#{$code-editor}__code--PaddingBottom: var(--pf-t--global--spacer--sm);
47
- --#{$code-editor}__code--PaddingLeft: var(--pf-t--global--spacer--sm);
44
+ --#{$code-editor}__code--PaddingBlockStart: var(--pf-t--global--spacer--sm);
45
+ --#{$code-editor}__code--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
46
+ --#{$code-editor}__code--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
47
+ --#{$code-editor}__code--PaddingInlineStart: var(--pf-t--global--spacer--sm);
48
48
  --#{$code-editor}__code-pre--FontSize: var(--pf-t--global--font--size--sm);
49
49
  --#{$code-editor}__code-pre--FontFamily: var(--pf-t--global--font--family--mono);
50
50
 
51
51
  // content
52
- --#{$code-editor}__header-main--PaddingRight: var(--pf-t--global--spacer--sm);
53
- --#{$code-editor}__header-main--PaddingLeft: var(--pf-t--global--spacer--sm);
52
+ --#{$code-editor}__header-main--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
53
+ --#{$code-editor}__header-main--PaddingInlineStart: var(--pf-t--global--spacer--sm);
54
54
 
55
55
  // tab
56
56
  --#{$code-editor}__tab--BackgroundColor: var(--pf-t--global--background--color--primary--default);
57
57
  --#{$code-editor}__tab--Color: var(--pf-t--global--text--color--subtle);
58
- --#{$code-editor}__tab--PaddingTop: var(--pf-t--global--spacer--sm);
59
- --#{$code-editor}__tab--PaddingRight: var( --pf-t--global--spacer--sm);
60
- --#{$code-editor}__tab--PaddingBottom: var(--pf-t--global--spacer--sm);
61
- --#{$code-editor}__tab--PaddingLeft: var( --pf-t--global--spacer--sm);
62
- --#{$code-editor}__tab--BorderTopWidth: var(--pf-t--global--border--width--box--default);
63
- --#{$code-editor}__tab--BorderRightWidth: var(--pf-t--global--border--width--box--default);
64
- --#{$code-editor}__tab--BorderBottomWidth: 0;
65
- --#{$code-editor}__tab--BorderLeftWidth: var(--pf-t--global--border--width--box--default);
58
+ --#{$code-editor}__tab--PaddingBlockStart: var(--pf-t--global--spacer--sm);
59
+ --#{$code-editor}__tab--PaddingInlineEnd: var( --pf-t--global--spacer--sm);
60
+ --#{$code-editor}__tab--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
61
+ --#{$code-editor}__tab--PaddingInlineStart: var( --pf-t--global--spacer--sm);
62
+ --#{$code-editor}__tab--BorderBlockStartWidth: var(--pf-t--global--border--width--box--default);
63
+ --#{$code-editor}__tab--BorderInlineEndWidth: var(--pf-t--global--border--width--box--default);
64
+ --#{$code-editor}__tab--BorderBlockEndWidth: 0;
65
+ --#{$code-editor}__tab--BorderInlineStartWidth: var(--pf-t--global--border--width--box--default);
66
66
  --#{$code-editor}__tab--BorderColor: var(--pf-t--global--border--color--default);
67
67
  --#{$code-editor}__tab--BorderStartEndRadius: var(--pf-t--global--border--radius--medium);
68
68
 
69
69
  // tab text
70
- --#{$code-editor}__tab-icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
70
+ --#{$code-editor}__tab-icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
71
71
  }
72
72
 
73
73
  .#{$code-editor} {
@@ -87,7 +87,7 @@
87
87
  inset-inline-end: 0;
88
88
  pointer-events: none;
89
89
  content: "";
90
- border-block-end: var(--#{$code-editor}__header--before--BorderBottomWidth) solid var(--#{$code-editor}__header--before--BorderBottomColor);
90
+ border-block-end: var(--#{$code-editor}__header--before--BorderBlockEndWidth) solid var(--#{$code-editor}__header--before--BorderBlockEndColor);
91
91
  }
92
92
 
93
93
  &.pf-m-plain {
@@ -120,8 +120,8 @@
120
120
  .#{$code-editor}__header-main {
121
121
  flex-grow: 1;
122
122
  align-self: center;
123
- padding-inline-start: var(--#{$code-editor}__header-main--PaddingLeft);
124
- padding-inline-end: var(--#{$code-editor}__header-main--PaddingRight);
123
+ padding-inline-start: var(--#{$code-editor}__header-main--PaddingInlineStart);
124
+ padding-inline-end: var(--#{$code-editor}__header-main--PaddingInlineEnd);
125
125
  }
126
126
 
127
127
  .#{$code-editor}__upload {
@@ -170,10 +170,10 @@
170
170
 
171
171
  .#{$code-editor}__code {
172
172
  position: relative;
173
- padding-block-start: var(--#{$code-editor}__code--PaddingTop);
174
- padding-block-end: var(--#{$code-editor}__code--PaddingBottom);
175
- padding-inline-start: var(--#{$code-editor}__code--PaddingLeft);
176
- padding-inline-end: var(--#{$code-editor}__code--PaddingRight);
173
+ padding-block-start: var(--#{$code-editor}__code--PaddingBlockStart);
174
+ padding-block-end: var(--#{$code-editor}__code--PaddingBlockEnd);
175
+ padding-inline-start: var(--#{$code-editor}__code--PaddingInlineStart);
176
+ padding-inline-end: var(--#{$code-editor}__code--PaddingInlineEnd);
177
177
 
178
178
  .#{$code-editor}__code-pre {
179
179
  font-family: var(--#{$code-editor}__code-pre--FontFamily);
@@ -186,21 +186,21 @@
186
186
  position: relative;
187
187
  display: flex;
188
188
  align-items: center;
189
- padding-block-start: var(--#{$code-editor}__tab--PaddingTop);
190
- padding-block-end: var(--#{$code-editor}__tab--PaddingBottom);
191
- padding-inline-start: var(--#{$code-editor}__tab--PaddingLeft);
192
- padding-inline-end: var(--#{$code-editor}__tab--PaddingRight);
189
+ padding-block-start: var(--#{$code-editor}__tab--PaddingBlockStart);
190
+ padding-block-end: var(--#{$code-editor}__tab--PaddingBlockEnd);
191
+ padding-inline-start: var(--#{$code-editor}__tab--PaddingInlineStart);
192
+ padding-inline-end: var(--#{$code-editor}__tab--PaddingInlineEnd);
193
193
  color: var(--#{$code-editor}__tab--Color);
194
194
  background-color: var(--#{$code-editor}__tab--BackgroundColor);
195
195
  border-color: var(--#{$code-editor}__tab--BorderColor);
196
196
  border-style: solid;
197
- border-block-start-width: var(--#{$code-editor}__tab--BorderTopWidth);
198
- border-block-end-width: var(--#{$code-editor}__tab--BorderBottomWidth);
199
- border-inline-start-width: var(--#{$code-editor}__tab--BorderLeftWidth);
200
- border-inline-end-width: var(--#{$code-editor}__tab--BorderRightWidth);
197
+ border-block-start-width: var(--#{$code-editor}__tab--BorderBlockStartWidth);
198
+ border-block-end-width: var(--#{$code-editor}__tab--BorderBlockEndWidth);
199
+ border-inline-start-width: var(--#{$code-editor}__tab--BorderInlineStartWidth);
200
+ border-inline-end-width: var(--#{$code-editor}__tab--BorderInlineEndWidth);
201
201
  border-start-end-radius: var(--#{$code-editor}__tab--BorderStartEndRadius);
202
202
  }
203
203
 
204
204
  .#{$code-editor}__tab-icon + .#{$code-editor}__tab-text {
205
- margin-inline-start: var(--#{$code-editor}__tab-icon--text--MarginLeft);
205
+ margin-inline-start: var(--#{$code-editor}__tab-icon--text--MarginInlineStart);
206
206
  }