@patternfly/patternfly 6.0.0-alpha.119 → 6.0.0-alpha.120

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 (270) hide show
  1. package/assets/fontawesome/_animated.scss +1 -0
  2. package/assets/fontawesome/_bordered-pulled.scss +1 -0
  3. package/assets/fontawesome/_core.scss +2 -0
  4. package/assets/fontawesome/_fixed-width.scss +2 -0
  5. package/assets/fontawesome/_icons.scss +1 -0
  6. package/assets/fontawesome/_index.scss +12 -0
  7. package/assets/fontawesome/_larger.scss +4 -2
  8. package/assets/fontawesome/_list.scss +4 -2
  9. package/assets/fontawesome/_rotated-flipped.scss +2 -0
  10. package/assets/fontawesome/_screen-reader.scss +1 -0
  11. package/assets/fontawesome/_stacked.scss +3 -1
  12. package/assets/fontawesome/_variables.scss +3 -2
  13. package/assets/fontawesome/fontawesome.scss +12 -12
  14. package/assets/pficon/pficon.scss +3 -0
  15. package/base/_index.scss +10 -0
  16. package/base/{_globals.scss → normalize.scss} +5 -35
  17. package/base/patternfly-common.scss +50 -2
  18. package/base/patternfly-fa-icons.css +1 -1
  19. package/base/patternfly-fa-icons.scss +35 -2
  20. package/base/patternfly-fonts.scss +49 -2
  21. package/base/patternfly-pf-icons.scss +1 -2
  22. package/base/patternfly-svg-icons.css +5 -0
  23. package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
  24. package/base/patternfly-variables.scss +14 -2
  25. package/base/reset.scss +33 -0
  26. package/base/tokens/_index.scss +6 -0
  27. package/components/AboutModalBox/about-modal-box.css +8 -8
  28. package/components/AboutModalBox/about-modal-box.scss +3 -4
  29. package/components/Accordion/accordion.css +1 -1
  30. package/components/Accordion/accordion.scss +8 -8
  31. package/components/ActionList/action-list.css +1 -1
  32. package/components/ActionList/action-list.scss +3 -1
  33. package/components/Alert/alert-group.scss +1 -1
  34. package/components/Alert/alert.css +1 -1
  35. package/components/Alert/alert.scss +3 -3
  36. package/components/AppLauncher/app-launcher.scss +1 -3
  37. package/components/Avatar/avatar.css +1 -1
  38. package/components/Avatar/avatar.scss +3 -2
  39. package/components/BackToTop/back-to-top.css +2 -2
  40. package/components/BackToTop/back-to-top.scss +2 -2
  41. package/components/Backdrop/backdrop.css +1 -2
  42. package/components/Backdrop/backdrop.scss +2 -3
  43. package/components/BackgroundImage/background-image.css +1 -2
  44. package/components/BackgroundImage/background-image.scss +2 -3
  45. package/components/Badge/badge.css +1 -1
  46. package/components/Badge/badge.scss +2 -2
  47. package/components/Banner/banner.css +2 -2
  48. package/components/Banner/banner.scss +3 -3
  49. package/components/Brand/brand.scss +2 -1
  50. package/components/Breadcrumb/breadcrumb.css +1 -2
  51. package/components/Breadcrumb/breadcrumb.scss +3 -2
  52. package/components/Button/button.css +1 -2
  53. package/components/Button/button.scss +3 -2
  54. package/components/CalendarMonth/calendar-month.css +1 -2
  55. package/components/CalendarMonth/calendar-month.scss +5 -5
  56. package/components/Card/card.css +1 -2
  57. package/components/Card/card.scss +4 -5
  58. package/components/Check/check.css +1 -2
  59. package/components/Check/check.scss +2 -3
  60. package/components/Chip/chip-group.scss +1 -1
  61. package/components/Chip/chip.scss +1 -1
  62. package/components/ClipboardCopy/clipboard-copy.css +1 -2
  63. package/components/ClipboardCopy/clipboard-copy.scss +2 -3
  64. package/components/CodeBlock/code-block.css +1 -1
  65. package/components/CodeBlock/code-block.scss +2 -2
  66. package/components/CodeEditor/code-editor.css +1 -1
  67. package/components/CodeEditor/code-editor.scss +2 -2
  68. package/components/Content/content.css +1 -2
  69. package/components/Content/content.scss +2 -3
  70. package/components/ContextSelector/context-selector.scss +1 -1
  71. package/components/DataList/data-list-grid.scss +2 -0
  72. package/components/DataList/data-list.css +3 -3
  73. package/components/DataList/data-list.scss +5 -5
  74. package/components/DatePicker/date-picker.css +1 -2
  75. package/components/DatePicker/date-picker.scss +2 -3
  76. package/components/DescriptionList/description-list-order.scss +2 -0
  77. package/components/DescriptionList/description-list.css +7 -7
  78. package/components/DescriptionList/description-list.scss +5 -4
  79. package/components/Divider/divider.css +1 -2
  80. package/components/Divider/divider.scss +3 -3
  81. package/components/DragDrop/drag-drop.css +2 -2
  82. package/components/DragDrop/drag-drop.scss +3 -3
  83. package/components/Drawer/drawer.css +3 -6
  84. package/components/Drawer/drawer.scss +14 -13
  85. package/components/Dropdown/dropdown.scss +2 -1
  86. package/components/DualListSelector/dual-list-selector.css +1 -1
  87. package/components/DualListSelector/dual-list-selector.scss +4 -3
  88. package/components/EmptyState/empty-state.css +1 -1
  89. package/components/EmptyState/empty-state.scss +2 -2
  90. package/components/ExpandableSection/expandable-section.css +1 -1
  91. package/components/ExpandableSection/expandable-section.scss +7 -9
  92. package/components/FileUpload/file-upload.css +1 -2
  93. package/components/FileUpload/file-upload.scss +2 -3
  94. package/components/Form/form.css +1 -2
  95. package/components/Form/form.scss +4 -4
  96. package/components/FormControl/form-control.css +1 -2
  97. package/components/FormControl/form-control.scss +6 -5
  98. package/components/HelperText/helper-text.css +1 -1
  99. package/components/HelperText/helper-text.scss +4 -3
  100. package/components/Hint/hint.css +1 -1
  101. package/components/Hint/hint.scss +2 -2
  102. package/components/Icon/icon.css +1 -2
  103. package/components/Icon/icon.scss +2 -3
  104. package/components/InlineEdit/inline-edit.css +1 -2
  105. package/components/InlineEdit/inline-edit.scss +2 -3
  106. package/components/InputGroup/input-group.css +1 -2
  107. package/components/InputGroup/input-group.scss +2 -3
  108. package/components/JumpLinks/jump-links.css +1 -2
  109. package/components/JumpLinks/jump-links.scss +3 -3
  110. package/components/Label/label-group.css +1 -2
  111. package/components/Label/label-group.scss +2 -3
  112. package/components/Label/label.css +1 -2
  113. package/components/Label/label.scss +2 -4
  114. package/components/List/list.scss +1 -1
  115. package/components/LogViewer/log-viewer.scss +1 -1
  116. package/components/Login/login.css +9 -9
  117. package/components/Login/login.scss +2 -2
  118. package/components/Masthead/masthead.css +1 -2
  119. package/components/Masthead/masthead.scss +3 -2
  120. package/components/Menu/menu.css +1 -2
  121. package/components/Menu/menu.scss +3 -2
  122. package/components/MenuToggle/menu-toggle.css +1 -2
  123. package/components/MenuToggle/menu-toggle.scss +2 -3
  124. package/components/ModalBox/modal-box.css +2 -2
  125. package/components/ModalBox/modal-box.scss +3 -3
  126. package/components/MultipleFileUpload/multiple-file-upload.css +1 -2
  127. package/components/MultipleFileUpload/multiple-file-upload.scss +2 -3
  128. package/components/Nav/nav.css +1 -2
  129. package/components/Nav/nav.scss +3 -2
  130. package/components/NotificationBadge/notification-badge.css +1 -1
  131. package/components/NotificationBadge/notification-badge.scss +2 -2
  132. package/components/NotificationDrawer/notification-drawer.css +1 -2
  133. package/components/NotificationDrawer/notification-drawer.scss +2 -3
  134. package/components/NumberInput/number-input.css +1 -2
  135. package/components/NumberInput/number-input.scss +2 -3
  136. package/components/OptionsMenu/options-menu.scss +1 -1
  137. package/components/OverflowMenu/overflow-menu.css +1 -1
  138. package/components/OverflowMenu/overflow-menu.scss +3 -1
  139. package/components/Page/page.css +5 -5
  140. package/components/Page/page.scss +3 -2
  141. package/components/Pagination/pagination.css +3 -6
  142. package/components/Pagination/pagination.scss +3 -3
  143. package/components/Panel/panel.css +1 -2
  144. package/components/Panel/panel.scss +2 -3
  145. package/components/Popover/popover.scss +1 -1
  146. package/components/Progress/progress.css +1 -2
  147. package/components/Progress/progress.scss +5 -6
  148. package/components/ProgressStepper/progress-stepper.css +2 -4
  149. package/components/ProgressStepper/progress-stepper.scss +3 -3
  150. package/components/Radio/radio.css +1 -2
  151. package/components/Radio/radio.scss +2 -3
  152. package/components/Select/select.scss +1 -1
  153. package/components/Sidebar/sidebar.css +1 -2
  154. package/components/Sidebar/sidebar.scss +5 -5
  155. package/components/SimpleList/simple-list.css +1 -1
  156. package/components/SimpleList/simple-list.scss +3 -3
  157. package/components/Skeleton/skeleton.css +1 -2
  158. package/components/Skeleton/skeleton.scss +2 -3
  159. package/components/SkipToContent/skip-to-content.css +1 -1
  160. package/components/SkipToContent/skip-to-content.scss +2 -2
  161. package/components/Slider/slider.css +1 -2
  162. package/components/Slider/slider.scss +12 -13
  163. package/components/Spinner/spinner.css +1 -2
  164. package/components/Spinner/spinner.scss +4 -5
  165. package/components/Switch/switch.css +1 -2
  166. package/components/Switch/switch.scss +2 -3
  167. package/components/TabContent/tab-content.css +1 -2
  168. package/components/TabContent/tab-content.scss +3 -3
  169. package/components/Table/table-grid.scss +2 -0
  170. package/components/Table/table-scrollable.css +1 -2
  171. package/components/Table/table-scrollable.scss +3 -3
  172. package/components/Table/table-tree-view.css +1 -2
  173. package/components/Table/table-tree-view.scss +3 -2
  174. package/components/Table/table.css +1 -2
  175. package/components/Table/table.scss +3 -2
  176. package/components/Tabs/tabs.css +1 -2
  177. package/components/Tabs/tabs.scss +7 -7
  178. package/components/TextInputGroup/text-input-group.css +1 -2
  179. package/components/TextInputGroup/text-input-group.scss +4 -4
  180. package/components/Tile/tile.css +1 -2
  181. package/components/Tile/tile.scss +2 -3
  182. package/components/Timestamp/timestamp.css +1 -1
  183. package/components/Timestamp/timestamp.scss +4 -3
  184. package/components/Title/title.css +1 -1
  185. package/components/Title/title.scss +3 -3
  186. package/components/ToggleGroup/toggle-group.css +1 -2
  187. package/components/ToggleGroup/toggle-group.scss +3 -4
  188. package/components/Toolbar/toolbar.css +1 -2
  189. package/components/Toolbar/toolbar.scss +3 -2
  190. package/components/Tooltip/tooltip.css +1 -1
  191. package/components/Tooltip/tooltip.scss +5 -4
  192. package/components/TreeView/tree-view.css +1 -2
  193. package/components/TreeView/tree-view.scss +3 -3
  194. package/components/Truncate/truncate.css +1 -2
  195. package/components/Truncate/truncate.scss +2 -3
  196. package/components/Wizard/wizard.css +2 -4
  197. package/components/Wizard/wizard.scss +2 -3
  198. package/components/_index.css +25850 -0
  199. package/components/_index.scss +91 -0
  200. package/layouts/Bullseye/bullseye.css +1 -2
  201. package/layouts/Bullseye/bullseye.scss +3 -2
  202. package/layouts/Flex/flex.css +1 -2
  203. package/layouts/Flex/flex.scss +5 -4
  204. package/layouts/Gallery/gallery.css +1 -2
  205. package/layouts/Gallery/gallery.scss +3 -2
  206. package/layouts/Grid/grid.css +1 -2
  207. package/layouts/Grid/grid.scss +3 -2
  208. package/layouts/Level/level.css +1 -2
  209. package/layouts/Level/level.scss +3 -2
  210. package/layouts/Split/split.css +1 -2
  211. package/layouts/Split/split.scss +3 -2
  212. package/layouts/Stack/stack.css +1 -2
  213. package/layouts/Stack/stack.scss +3 -2
  214. package/layouts/_index.css +3454 -0
  215. package/layouts/_index.scss +8 -0
  216. package/package.json +1 -2
  217. package/patternfly-addons.scss +2 -12
  218. package/patternfly-base-no-globals.css +1156 -1156
  219. package/patternfly-base-no-globals.scss +5 -3
  220. package/patternfly-base.css +1251 -1251
  221. package/patternfly-base.scss +2 -5
  222. package/patternfly-charts.scss +1 -1
  223. package/patternfly-no-globals.css +1278 -1341
  224. package/patternfly-no-globals.scss +5 -4
  225. package/patternfly.css +1374 -1437
  226. package/patternfly.min.css +1 -1
  227. package/patternfly.min.css.map +1 -1
  228. package/patternfly.scss +3 -4
  229. package/sass-utilities/_index.scss +6 -0
  230. package/sass-utilities/functions.scss +10 -4
  231. package/sass-utilities/mixins.scss +9 -7
  232. package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -0
  233. package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
  234. package/sass-utilities/scss-variables.scss +0 -2
  235. package/utilities/Accessibility/accessibility.scss +2 -0
  236. package/utilities/Alignment/alignment.scss +2 -0
  237. package/utilities/BackgroundColor/{BackgroundColor.scss → background-color.scss} +1 -4
  238. package/utilities/BoxShadow/box-shadow.scss +2 -1
  239. package/utilities/Display/display.scss +2 -1
  240. package/utilities/Flex/flex.scss +2 -1
  241. package/utilities/Float/float.scss +4 -4
  242. package/utilities/Sizing/sizing.scss +2 -0
  243. package/utilities/Spacing/spacing.scss +2 -2
  244. package/utilities/Text/text.scss +2 -1
  245. package/utilities/_index.css +7777 -0
  246. package/utilities/_index.scss +10 -0
  247. package/base/_base.scss +0 -2
  248. package/base/_common.scss +0 -50
  249. package/base/_fa-icons.scss +0 -33
  250. package/base/_fonts.scss +0 -48
  251. package/base/_icons.scss +0 -3
  252. package/base/_pficons.scss +0 -2
  253. package/base/_variables.scss +0 -14
  254. package/base/patternfly-globals.css +0 -116
  255. package/base/patternfly-globals.scss +0 -2
  256. package/base/patternfly-icons.css +0 -4728
  257. package/base/patternfly-icons.scss +0 -2
  258. package/components/_all.scss +0 -91
  259. package/layouts/_all.scss +0 -7
  260. package/sass-utilities/_all.scss +0 -7
  261. package/sass-utilities/div.import.scss +0 -3
  262. package/sass-utilities/div.scss +0 -4
  263. /package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +0 -0
  264. /package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +0 -0
  265. /package/base/tokens/{_tokens-default.scss → tokens-default.scss} +0 -0
  266. /package/base/tokens/{_tokens-font.scss → tokens-font.scss} +0 -0
  267. /package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +0 -0
  268. /package/base/tokens/{_workspace-overrides.scss → workspace-overrides.scss} +0 -0
  269. /package/sass-utilities/{_init.scss → init.scss} +0 -0
  270. /package/utilities/BackgroundColor/{BackgroundColor.css → background-color.css} +0 -0
@@ -1,7 +1,6 @@
1
- // @debug $switch; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :root,
4
- .#{$switch} {
3
+ :where(:root, .#{$switch}) {
5
4
  // Switch - the vars for this file don't follow our normal order so that the IE11 script can convert the vars correctly
6
5
  --#{$switch}--FontSize: var(--pf-t--global--font--size--sm);
7
6
  --#{$switch}--ColumnGap: var(--pf-t--global--spacer--sm);
@@ -1,5 +1,4 @@
1
- :root,
2
- .pf-v6-c-tab-content {
1
+ :where(:root, .pf-v6-c-tab-content) {
3
2
  --pf-v6-c-tab-content__body--PaddingTop: 0;
4
3
  --pf-v6-c-tab-content__body--PaddingRight: 0;
5
4
  --pf-v6-c-tab-content__body--PaddingBottom: 0;
@@ -1,6 +1,6 @@
1
- // @debug $tab-content; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- :root,
3
- .#{$tab-content} {
1
+ @use '../../sass-utilities' as *;
2
+
3
+ :where(:root, .#{$tab-content}) {
4
4
  --#{$tab-content}__body--PaddingTop: 0;
5
5
  --#{$tab-content}__body--PaddingRight: 0;
6
6
  --#{$tab-content}__body--PaddingBottom: 0;
@@ -1,3 +1,5 @@
1
+ @use '../../sass-utilities' as *;
2
+
1
3
  // stylelint-disable
2
4
  @mixin pf-mobile-layout {
3
5
  .pf-m-grid.#{$table} {
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-table) {
1
+ :where(:root, .pf-v6-c-table) {
3
2
  --pf-v6-c-table__sticky-cell--MinWidth--base: 8.75rem;
4
3
  --pf-v6-c-table__sticky-cell--MinWidth: var(--pf-v6-c-table__sticky-cell--MinWidth--base);
5
4
  --pf-v6-c-table__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
@@ -1,6 +1,7 @@
1
+ @use '../../sass-utilities' as *;
2
+
1
3
  // * Table scrollable
2
- :where(:root),
3
- :where(.#{$table}) {
4
+ :where(:root, .#{$table}) {
4
5
  --#{$table}__sticky-cell--MinWidth--base: #{pf-size-prem(140px)};
5
6
  --#{$table}__sticky-cell--MinWidth: var(--#{$table}__sticky-cell--MinWidth--base);
6
7
  --#{$table}__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
@@ -16,7 +17,6 @@
16
17
  --#{$table}--m-sticky-header__sticky-cell--ZIndex: calc(var(--#{$table}__sticky-cell--ZIndex) + 1);
17
18
  }
18
19
 
19
-
20
20
  // - Table sticky cell
21
21
  .#{$table} .#{$table}__sticky-cell {
22
22
  position: sticky;
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-table) {
1
+ :where(:root, .pf-v6-c-table) {
3
2
  --pf-v6-c-table__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v6-c-table__tree-view-icon--MinWidth));
4
3
  --pf-v6-c-table__tree-view-main--nested-indent--base: calc(var(--pf-v6-c-table__tree-view-main--indent--base) - var(--pf-t--global--spacer--md));
5
4
  --pf-v6-c-table__tree-view-main--c-button--MarginRight: var(--pf-t--global--spacer--sm);
@@ -1,8 +1,9 @@
1
+ @use '../../sass-utilities' as *;
2
+
1
3
  $pf-v6-c-tree-view--MaxDepth: 10;
2
4
 
3
5
  // * Table tree view
4
- :where(:root),
5
- :where(.#{$table}) {
6
+ :where(:root, .#{$table}) {
6
7
  --#{$table}__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$table}__tree-view-icon--MinWidth)); // based off of the expected width of the toggle button
7
8
  --#{$table}__tree-view-main--nested-indent--base: calc(var(--#{$table}__tree-view-main--indent--base) - var(--pf-t--global--spacer--md)); // nested spacing that removes the toggle button's left padding, so the icon aligns with text on the node above it
8
9
 
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-table) {
1
+ :where(:root, .pf-v6-c-table) {
3
2
  --pf-v6-c-table--BackgroundColor: var(--pf-t--global--background--color--primary--default);
4
3
  --pf-v6-c-table--BorderColor: var(--pf-t--global--border--color--default);
5
4
  --pf-v6-c-table--border-width--base: var(--pf-t--global--border--width--divider--default);
@@ -1,8 +1,9 @@
1
+ @use '../../sass-utilities' as *;
2
+
1
3
  // TODO: clean up unused variables
2
4
  // TODO: update grouping comments to // * Table {element}
3
5
 
4
- :where(:root),
5
- :where(.#{$table}) {
6
+ :where(:root, .#{$table}) {
6
7
  --#{$table}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
7
8
  --#{$table}--BorderColor: var(--pf-t--global--border--color--default);
8
9
  --#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-tabs) {
1
+ :where(:root, .pf-v6-c-tabs) {
3
2
  --pf-v6-c-tabs--inset: 0;
4
3
  --pf-v6-c-tabs--Width: auto;
5
4
  --pf-v6-c-tabs--before--BorderColor: var(--pf-t--global--border--color--default);
@@ -1,9 +1,9 @@
1
- // @debug $tabs; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
+
2
3
  $pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
3
4
  $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
4
5
 
5
- :where(:root),
6
- :where(.#{$tabs}) {
6
+ :where(:root, .#{$tabs}) {
7
7
  --#{$tabs}--inset: 0;
8
8
  --#{$tabs}--Width: auto;
9
9
  --#{$tabs}--before--BorderColor: var(--pf-t--global--border--color--default);
@@ -195,7 +195,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
195
195
  .#{$tabs}__list {
196
196
  flex-basis: 100%;
197
197
  }
198
-
198
+
199
199
  .#{$tabs}__item {
200
200
  flex-grow: 1;
201
201
 
@@ -592,7 +592,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
592
592
  & {
593
593
  --#{$tabs}__link--after--BorderBottomWidth: var(--#{$tabs}__link--after--BorderWidth); // Set default border target
594
594
  }
595
-
595
+
596
596
  display: flex;
597
597
  flex: 1;
598
598
  column-gap: var(--#{$tabs}__link--ColumnGap);
@@ -606,7 +606,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
606
606
  text-decoration: none;
607
607
  background-color: var(--#{$tabs}__link--BackgroundColor);
608
608
  border-radius: var(--#{$tabs}__link--BorderRadius);
609
-
609
+
610
610
  @at-root .#{$tabs}__item.pf-m-action,
611
611
  & {
612
612
  &::before {
@@ -707,7 +707,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
707
707
  padding-inline-end: var(--#{$tabs}__scroll-button--PaddingInlineEnd);
708
708
  opacity: 0;
709
709
  transition: margin var(--#{$tabs}__scroll-button--TransitionDuration--margin), transform var(--#{$tabs}__scroll-button--TransitionDuration--transform), opacity var(--#{$tabs}__scroll-button--TransitionDuration--opacity);
710
-
710
+
711
711
  &::before {
712
712
  border-color: var(--#{$tabs}__scroll-button--before--BorderColor);
713
713
  border-block-start-width: 0;
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-text-input-group) {
1
+ :where(:root, .pf-v6-c-text-input-group) {
3
2
  --pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
4
3
  --pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
5
4
  --pf-v6-c-text-input-group--BorderWidth: var(--pf-t--global--border--width--control--default);
@@ -1,6 +1,6 @@
1
- // @debug $text-input-group; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- :where(:root),
3
- :where(.#{$text-input-group}) {
1
+ @use '../../sass-utilities' as *;
2
+
3
+ :where(:root, .#{$text-input-group}) {
4
4
  --#{$text-input-group}--BackgroundColor: var(--pf-t--global--background--color--control--default);
5
5
  --#{$text-input-group}--BorderColor: var(--pf-t--global--border--color--default);
6
6
  --#{$text-input-group}--BorderWidth: var(--pf-t--global--border--width--control--default);
@@ -53,7 +53,7 @@
53
53
  color: var(--#{$text-input-group}--Color, inherit);
54
54
  background-color: var(--#{$text-input-group}--BackgroundColor);
55
55
  border-radius: var(--#{$text-input-group}--BorderRadius);
56
-
56
+
57
57
  &::before {
58
58
  position: absolute;
59
59
  inset: 0;
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-tile) {
1
+ :where(:root, .pf-v6-c-tile) {
3
2
  --pf-v6-c-tile--PaddingTop: var(--pf-t--global--spacer--lg);
4
3
  --pf-v6-c-tile--PaddingRight: var(--pf-t--global--spacer--lg);
5
4
  --pf-v6-c-tile--PaddingBottom: var(--pf-t--global--spacer--lg);
@@ -1,7 +1,6 @@
1
- // @debug $tile; // 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(.#{$tile}) {
3
+ :where(:root, .#{$tile}) {
5
4
  --#{$tile}--PaddingTop: var(--pf-t--global--spacer--lg);
6
5
  --#{$tile}--PaddingRight: var(--pf-t--global--spacer--lg);
7
6
  --#{$tile}--PaddingBottom: var(--pf-t--global--spacer--lg);
@@ -1,4 +1,4 @@
1
- :root, .pf-v6-c-timestamp {
1
+ :where(:root, .pf-v6-c-timestamp) {
2
2
  --pf-v6-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
3
3
  --pf-v6-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
4
4
  --pf-v6-c-timestamp--OutlineOffset: 0.1875rem;
@@ -1,5 +1,6 @@
1
- // @debug $timestamp; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- :root, .#{$timestamp} {
1
+ @use '../../sass-utilities' as *;
2
+
3
+ :where(:root, .#{$timestamp}) {
3
4
  --#{$timestamp}--FontSize: var(--pf-t--global--font--size--body--sm);
4
5
  --#{$timestamp}--Color: var(--pf-t--global--text--color--subtle);
5
6
  --#{$timestamp}--OutlineOffset: #{pf-size-prem(3px)};
@@ -16,7 +17,7 @@
16
17
  --#{$timestamp}--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
17
18
  }
18
19
 
19
- .#{$timestamp} {
20
+ .#{$timestamp} {
20
21
  display: inline-block;
21
22
  font-size: var(--#{$timestamp}--FontSize);
22
23
  color: var(--#{$timestamp}--Color);
@@ -1,4 +1,4 @@
1
- :root {
1
+ :where(:root, .pf-v6-c-title) {
2
2
  --pf-v6-c-title--FontFamily: var(--pf-t--global--font--family--heading);
3
3
  --pf-v6-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
4
4
  --pf-v6-c-title--m-4xl--FontSize: var(--pf-t--global--font--size--heading--2xl);
@@ -1,6 +1,6 @@
1
- // @debug $title; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :root {
3
+ :where(:root, .#{$title}) {
4
4
  --#{$title}--FontFamily: var(--pf-t--global--font--family--heading);
5
5
 
6
6
  // SIZE modifiers (note that the modifier names match PF5 sizes but use tokens that don't match in name
@@ -34,7 +34,7 @@
34
34
  --#{$title}--m-md--FontSize: var(--pf-t--global--font--size--heading--xs);
35
35
  --#{$title}--m-md--FontWeight: var(--pf-t--global--font--weight--heading);
36
36
 
37
- // HEADING modifiers
37
+ // HEADING modifiers
38
38
  // h1
39
39
  --#{$title}--m-h1--LineHeight: var(--pf-t--global--font--line-height--heading);
40
40
  --#{$title}--m-h1--FontSize: var(--pf-t--global--font--size--heading--h1);
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-toggle-group) {
1
+ :where(:root, .pf-v6-c-toggle-group) {
3
2
  --pf-v6-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
4
3
  --pf-v6-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
5
4
  --pf-v6-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
@@ -1,7 +1,6 @@
1
- // @debug $toggle-group; // 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(.#{$toggle-group}) {
3
+ :where(:root, .#{$toggle-group}) {
5
4
  // button
6
5
  --#{$toggle-group}__button--PaddingTop: var(--pf-t--global--spacer--sm);
7
6
  --#{$toggle-group}__button--PaddingRight: var(--pf-t--global--spacer--md);
@@ -149,7 +148,7 @@
149
148
  .#{$toggle-group}__item:has(.pf-m-selected) + .#{$toggle-group}__item:has(.pf-m-selected) {
150
149
  --#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected-selected--before--BorderInlineStartColor);
151
150
  }
152
-
151
+
153
152
  // For consecutive disabled items, turn the left border back to what it was
154
153
  .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) + .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) {
155
154
  --#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled-disabled--before--BorderInlineStartColor);
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-toolbar) {
1
+ :where(:root, .pf-v6-c-toolbar) {
3
2
  --pf-v6-c-toolbar--RowGap: var(--pf-t--global--spacer--sm);
4
3
  --pf-v6-c-toolbar--ColumnGap: var(--pf-t--global--spacer--md);
5
4
  --pf-v6-c-toolbar--PaddingBlock: var(--pf-t--global--spacer--md);
@@ -1,3 +1,5 @@
1
+ @use '../../sass-utilities' as *;
2
+
1
3
  $pf-v6-c-toolbar--spacer-map: build-spacer-map();
2
4
  $pf-v6-c-toolbar--inset-map: build-spacer-map();
3
5
  $pf-v6-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
@@ -8,8 +10,7 @@ $pf-v6--include-toolbar-breakpoints: true !default;
8
10
  $pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
9
11
  }
10
12
 
11
- :where(:root),
12
- :where(.#{$toolbar}) {
13
+ :where(:root, .#{$toolbar}) {
13
14
  --#{$toolbar}--RowGap: var(--pf-t--global--spacer--sm);
14
15
  --#{$toolbar}--ColumnGap: var(--pf-t--global--spacer--md);
15
16
  --#{$toolbar}--PaddingBlock: var(--pf-t--global--spacer--md);
@@ -1,4 +1,4 @@
1
- :root {
1
+ :where(:root, .pf-v6-c-tooltip) {
2
2
  --pf-v6-c-tooltip--MaxWidth: 18.75rem;
3
3
  --pf-v6-c-tooltip--BoxShadow: var(--pf-t--global--box-shadow--md);
4
4
  --pf-v6-c-tooltip__content--PaddingTop: var(--pf-t--global--spacer--sm);
@@ -1,9 +1,10 @@
1
- // @debug $tooltip; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
- :root {
1
+ @use '../../sass-utilities' as *;
2
+
3
+ :where(:root, .#{$tooltip}) {
3
4
  // Component variables
4
5
  --#{$tooltip}--MaxWidth: #{pf-size-prem(300px)};
5
6
  --#{$tooltip}--BoxShadow: var(--pf-t--global--box-shadow--md);
6
-
7
+
7
8
  // Content variables
8
9
  --#{$tooltip}__content--PaddingTop: var(--pf-t--global--spacer--sm);
9
10
  --#{$tooltip}__content--PaddingRight: var(--pf-t--global--spacer--md);
@@ -13,7 +14,7 @@
13
14
  --#{$tooltip}__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
14
15
  --#{$tooltip}__content--FontSize: var(--pf-t--global--font--size--body--sm);
15
16
  --#{$tooltip}__content--BorderRadius: var(--pf-t--global--border--radius--small);
16
-
17
+
17
18
  // Arrow variables
18
19
  --#{$tooltip}__arrow--Width: #{pf-size-prem(15px)};
19
20
  --#{$tooltip}__arrow--Height: #{pf-size-prem(15px)};
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-tree-view) {
1
+ :where(:root, .pf-v6-c-tree-view) {
3
2
  --pf-v6-c-tree-view__node--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v6-c-tree-view__node-toggle-icon--MinWidth));
4
3
  --pf-v6-c-tree-view__node--nested-indent--base: calc(var(--pf-v6-c-tree-view__node--indent--base) - var(--pf-t--global--spacer--md));
5
4
  --pf-v6-c-tree-view__content--BorderRadius: var(--pf-t--global--border--radius--small);
@@ -1,8 +1,8 @@
1
- // @debug $tree-view; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
+
2
3
  $pf-v6-c-tree-view--MaxNesting: 10 !default;
3
4
 
4
- :where(:root),
5
- :where(.#{$tree-view}) {
5
+ :where(:root, .#{$tree-view}) {
6
6
  // Node base
7
7
  --#{$tree-view}__node--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$tree-view}__node-toggle-icon--MinWidth)); // based off of the expected width of the toggle button
8
8
  --#{$tree-view}__node--nested-indent--base: calc(var(--#{$tree-view}__node--indent--base) - var(--pf-t--global--spacer--md)); // nested spacing that removes the toggle button's left padding, so the icon aligns with text on the node above it
@@ -1,5 +1,4 @@
1
- :root,
2
- .pf-v6-c-truncate {
1
+ :where(:root, .pf-v6-c-truncate) {
3
2
  --pf-v6-c-truncate--MinWidth: 12ch;
4
3
  --pf-v6-c-truncate__start--MinWidth: 6ch;
5
4
  }
@@ -1,7 +1,6 @@
1
- // @debug $truncate; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
- :root,
4
- .#{$truncate} {
3
+ :where(:root, .#{$truncate}) {
5
4
  --#{$truncate}--MinWidth: 12ch;
6
5
  --#{$truncate}__start--MinWidth: 6ch;
7
6
  }
@@ -1,5 +1,4 @@
1
- :where(:root),
2
- :where(.pf-v6-c-wizard) {
1
+ :where(:root, .pf-v6-c-wizard) {
3
2
  --pf-v6-c-wizard--Height: 100%;
4
3
  --pf-v6-c-modal-box--c-wizard--FlexBasis: 47.625rem;
5
4
  --pf-v6-c-wizard__header--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -105,8 +104,7 @@
105
104
  --pf-v6-c-wizard__footer-cancel--MarginLeft: calc(var(--pf-t--global--spacer--2xl) - var(--pf-v6-c-wizard__footer--child--MarginRight));
106
105
  }
107
106
  @media screen and (min-width: 992px) {
108
- :where(:root),
109
- :where(.pf-v6-c-wizard) {
107
+ :where(:root, .pf-v6-c-wizard) {
110
108
  --pf-v6-c-wizard__nav--Width: var(--pf-v6-c-wizard__nav--lg--Width);
111
109
  --pf-v6-c-wizard__nav--BoxShadow: none;
112
110
  }
@@ -1,7 +1,6 @@
1
- // @debug $wizard; // 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(.#{$wizard}) {
3
+ :where(:root, .#{$wizard}) {
5
4
  --#{$wizard}--Height: 100%;
6
5
  --#{$modal-box}--c-wizard--FlexBasis: #{pf-size-prem(762px)}; // this is a specific height from design for the wizard in a modal
7
6