@patternfly/patternfly 6.0.0-alpha.227 → 6.0.0-alpha.229

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 (193) hide show
  1. package/base/patternfly-variables.css +2 -2
  2. package/base/patternfly-variables.scss +2 -2
  3. package/components/AboutModalBox/about-modal-box.css +18 -13
  4. package/components/AboutModalBox/about-modal-box.scss +7 -8
  5. package/components/Accordion/accordion.css +2 -1
  6. package/components/Accordion/accordion.scss +1 -1
  7. package/components/ActionList/action-list.css +2 -1
  8. package/components/ActionList/action-list.scss +1 -1
  9. package/components/Alert/alert-group.css +2 -1
  10. package/components/Alert/alert-group.scss +1 -1
  11. package/components/Alert/alert.css +2 -1
  12. package/components/Alert/alert.scss +1 -1
  13. package/components/Avatar/avatar.css +2 -1
  14. package/components/Avatar/avatar.scss +1 -1
  15. package/components/BackToTop/back-to-top.css +4 -2
  16. package/components/BackToTop/back-to-top.scss +1 -1
  17. package/components/Backdrop/backdrop.css +2 -1
  18. package/components/Backdrop/backdrop.scss +1 -1
  19. package/components/BackgroundImage/background-image.css +2 -1
  20. package/components/BackgroundImage/background-image.scss +1 -1
  21. package/components/Badge/badge.css +2 -1
  22. package/components/Badge/badge.scss +1 -1
  23. package/components/Banner/banner.css +4 -2
  24. package/components/Banner/banner.scss +1 -1
  25. package/components/Brand/brand.css +2 -1
  26. package/components/Brand/brand.scss +1 -1
  27. package/components/Breadcrumb/breadcrumb.css +2 -1
  28. package/components/Breadcrumb/breadcrumb.scss +1 -1
  29. package/components/Button/button.css +2 -1
  30. package/components/Button/button.scss +1 -1
  31. package/components/CalendarMonth/calendar-month.css +2 -1
  32. package/components/CalendarMonth/calendar-month.scss +1 -1
  33. package/components/Card/card.css +2 -1
  34. package/components/Card/card.scss +1 -1
  35. package/components/Check/check.css +2 -1
  36. package/components/Check/check.scss +1 -1
  37. package/components/ClipboardCopy/clipboard-copy.css +2 -1
  38. package/components/ClipboardCopy/clipboard-copy.scss +1 -1
  39. package/components/CodeBlock/code-block.css +2 -1
  40. package/components/CodeBlock/code-block.scss +1 -1
  41. package/components/CodeEditor/code-editor.css +2 -1
  42. package/components/CodeEditor/code-editor.scss +1 -1
  43. package/components/Content/content.css +2 -1
  44. package/components/Content/content.scss +1 -1
  45. package/components/DataList/data-list.css +6 -3
  46. package/components/DataList/data-list.scss +1 -1
  47. package/components/DatePicker/date-picker.css +2 -1
  48. package/components/DatePicker/date-picker.scss +1 -1
  49. package/components/DescriptionList/description-list.css +14 -7
  50. package/components/DescriptionList/description-list.scss +1 -1
  51. package/components/Divider/divider.css +2 -1
  52. package/components/Divider/divider.scss +1 -1
  53. package/components/DragDrop/drag-drop.css +4 -2
  54. package/components/DragDrop/drag-drop.scss +2 -2
  55. package/components/Drawer/drawer.css +6 -3
  56. package/components/Drawer/drawer.scss +1 -1
  57. package/components/DualListSelector/dual-list-selector.css +2 -1
  58. package/components/DualListSelector/dual-list-selector.scss +1 -1
  59. package/components/EmptyState/empty-state.css +2 -1
  60. package/components/EmptyState/empty-state.scss +1 -1
  61. package/components/ExpandableSection/expandable-section.css +2 -1
  62. package/components/ExpandableSection/expandable-section.scss +1 -1
  63. package/components/FileUpload/file-upload.css +2 -1
  64. package/components/FileUpload/file-upload.scss +1 -1
  65. package/components/Form/form.css +2 -1
  66. package/components/Form/form.scss +1 -1
  67. package/components/FormControl/form-control.css +2 -1
  68. package/components/FormControl/form-control.scss +1 -1
  69. package/components/HelperText/helper-text.css +2 -1
  70. package/components/HelperText/helper-text.scss +1 -1
  71. package/components/Hint/hint.css +2 -1
  72. package/components/Hint/hint.scss +1 -1
  73. package/components/Icon/icon.css +2 -1
  74. package/components/Icon/icon.scss +1 -1
  75. package/components/InlineEdit/inline-edit.css +2 -1
  76. package/components/InlineEdit/inline-edit.scss +1 -1
  77. package/components/InputGroup/input-group.css +2 -1
  78. package/components/InputGroup/input-group.scss +1 -1
  79. package/components/JumpLinks/jump-links.css +2 -1
  80. package/components/JumpLinks/jump-links.scss +1 -1
  81. package/components/Label/label-group.css +2 -1
  82. package/components/Label/label-group.scss +1 -1
  83. package/components/Label/label.css +2 -1
  84. package/components/Label/label.scss +1 -1
  85. package/components/List/list.css +2 -1
  86. package/components/List/list.scss +1 -1
  87. package/components/Login/login.css +18 -9
  88. package/components/Login/login.scss +1 -1
  89. package/components/Masthead/masthead.css +2 -1
  90. package/components/Masthead/masthead.scss +1 -1
  91. package/components/Menu/menu.css +2 -1
  92. package/components/Menu/menu.scss +1 -1
  93. package/components/MenuToggle/menu-toggle.css +2 -1
  94. package/components/MenuToggle/menu-toggle.scss +1 -1
  95. package/components/ModalBox/modal-box.css +4 -2
  96. package/components/ModalBox/modal-box.scss +1 -1
  97. package/components/MultipleFileUpload/multiple-file-upload.css +2 -1
  98. package/components/MultipleFileUpload/multiple-file-upload.scss +1 -1
  99. package/components/Nav/nav.css +2 -1
  100. package/components/Nav/nav.scss +1 -1
  101. package/components/NotificationDrawer/notification-drawer.css +2 -1
  102. package/components/NotificationDrawer/notification-drawer.scss +1 -1
  103. package/components/NumberInput/number-input.css +2 -1
  104. package/components/NumberInput/number-input.scss +1 -1
  105. package/components/OverflowMenu/overflow-menu.css +2 -1
  106. package/components/OverflowMenu/overflow-menu.scss +1 -1
  107. package/components/Page/page.css +4 -2
  108. package/components/Page/page.scss +1 -1
  109. package/components/Pagination/pagination.css +6 -3
  110. package/components/Pagination/pagination.scss +1 -1
  111. package/components/Panel/panel.css +2 -1
  112. package/components/Panel/panel.scss +1 -1
  113. package/components/Popover/popover.css +2 -1
  114. package/components/Popover/popover.scss +1 -1
  115. package/components/Progress/progress.css +2 -1
  116. package/components/Progress/progress.scss +1 -1
  117. package/components/ProgressStepper/progress-stepper.css +4 -2
  118. package/components/ProgressStepper/progress-stepper.scss +1 -1
  119. package/components/Radio/radio.css +2 -1
  120. package/components/Radio/radio.scss +1 -1
  121. package/components/Sidebar/sidebar.css +2 -1
  122. package/components/Sidebar/sidebar.scss +1 -1
  123. package/components/SimpleList/simple-list.css +2 -1
  124. package/components/SimpleList/simple-list.scss +1 -1
  125. package/components/Skeleton/skeleton.css +2 -1
  126. package/components/Skeleton/skeleton.scss +1 -1
  127. package/components/SkipToContent/skip-to-content.css +2 -1
  128. package/components/SkipToContent/skip-to-content.scss +1 -1
  129. package/components/Slider/slider.css +2 -1
  130. package/components/Slider/slider.scss +1 -1
  131. package/components/Spinner/spinner.css +2 -1
  132. package/components/Spinner/spinner.scss +1 -1
  133. package/components/Switch/switch.css +2 -1
  134. package/components/Switch/switch.scss +1 -1
  135. package/components/TabContent/tab-content.css +2 -1
  136. package/components/TabContent/tab-content.scss +1 -1
  137. package/components/Table/table-grid.css +2 -1
  138. package/components/Table/table-grid.scss +1 -1
  139. package/components/Table/table-scrollable.css +2 -1
  140. package/components/Table/table-scrollable.scss +1 -1
  141. package/components/Table/table-tree-view.css +2 -1
  142. package/components/Table/table-tree-view.scss +1 -1
  143. package/components/Table/table.css +2 -1
  144. package/components/Table/table.scss +1 -1
  145. package/components/Tabs/tabs.css +2 -1
  146. package/components/Tabs/tabs.scss +1 -1
  147. package/components/TextInputGroup/text-input-group.css +2 -1
  148. package/components/TextInputGroup/text-input-group.scss +1 -1
  149. package/components/Tile/tile.css +2 -1
  150. package/components/Tile/tile.scss +1 -1
  151. package/components/Timestamp/timestamp.css +2 -1
  152. package/components/Timestamp/timestamp.scss +1 -1
  153. package/components/Title/title.css +2 -1
  154. package/components/Title/title.scss +1 -1
  155. package/components/ToggleGroup/toggle-group.css +2 -1
  156. package/components/ToggleGroup/toggle-group.scss +1 -1
  157. package/components/Toolbar/toolbar.css +2 -1
  158. package/components/Toolbar/toolbar.scss +1 -1
  159. package/components/Tooltip/tooltip.css +2 -1
  160. package/components/Tooltip/tooltip.scss +1 -1
  161. package/components/TreeView/tree-view.css +2 -1
  162. package/components/TreeView/tree-view.scss +1 -1
  163. package/components/Truncate/truncate.css +2 -1
  164. package/components/Truncate/truncate.scss +1 -1
  165. package/components/Wizard/wizard.css +4 -2
  166. package/components/Wizard/wizard.scss +1 -1
  167. package/components/_index.css +234 -121
  168. package/docs/components/JumpLinks/examples/JumpLinks.md +1 -4
  169. package/docs/demos/Drawer/examples/Drawer.md +48 -2
  170. package/docs/demos/JumpLinks/examples/JumpLinks.md +48 -5
  171. package/layouts/Bullseye/bullseye.css +2 -1
  172. package/layouts/Bullseye/bullseye.scss +1 -1
  173. package/layouts/Flex/flex.css +2 -1
  174. package/layouts/Flex/flex.scss +1 -1
  175. package/layouts/Gallery/gallery.css +2 -1
  176. package/layouts/Gallery/gallery.scss +1 -1
  177. package/layouts/Grid/grid.css +2 -1
  178. package/layouts/Grid/grid.scss +1 -1
  179. package/layouts/Level/level.css +2 -1
  180. package/layouts/Level/level.scss +1 -1
  181. package/layouts/Split/split.css +2 -1
  182. package/layouts/Split/split.scss +1 -1
  183. package/layouts/Stack/stack.css +2 -1
  184. package/layouts/Stack/stack.scss +1 -1
  185. package/layouts/_index.css +14 -7
  186. package/package.json +1 -1
  187. package/patternfly-base-no-globals.css +2 -2
  188. package/patternfly-base.css +2 -2
  189. package/patternfly-no-globals.css +250 -130
  190. package/patternfly.css +250 -130
  191. package/patternfly.min.css +1 -1
  192. package/patternfly.min.css.map +1 -1
  193. package/sass-utilities/mixins.scss +7 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
4
4
 
5
- :where(:root, .#{$description-list}) {
5
+ @include pf-root($description-list) {
6
6
  --#{$description-list}--RowGap: var(--pf-t--global--spacer--lg);
7
7
  --#{$description-list}--ColumnGap: var(--pf-t--global--spacer--lg);
8
8
  --#{$description-list}--GridTemplateColumns--count: 1;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-divider) {
1
+ :root,
2
+ .pf-v6-c-divider {
2
3
  --pf-v6-c-divider--Display: flex;
3
4
  --pf-v6-c-divider--Color: var(--pf-t--global--border--color--default);
4
5
  --pf-v6-c-divider--Size: var(--pf-t--global--border--width--divider--default);
@@ -17,7 +17,7 @@ $pf-v6-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "
17
17
  height: inherit;
18
18
  }
19
19
 
20
- :where(:root, .#{$divider}) {
20
+ @include pf-root($divider) {
21
21
  // * Divider
22
22
  --#{$divider}--Display: flex;
23
23
  --#{$divider}--Color: var(--pf-t--global--border--color--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-draggable) {
1
+ :root,
2
+ .pf-v6-c-draggable {
2
3
  --pf-v6-c-draggable--Cursor: auto;
3
4
  --pf-v6-c-draggable--m-dragging--Cursor: grabbing;
4
5
  --pf-v6-c-draggable--m-dragging--BoxShadow: var(--pf-t--global--box-shadow--md);
@@ -34,7 +35,8 @@
34
35
  --pf-v6-c-draggable--m-dragging--after--BorderColor: var(--pf-v6-c-draggable--m-drag-outside--after--BorderColor);
35
36
  }
36
37
 
37
- :where(:root, .pf-v6-c-droppable) {
38
+ :root,
39
+ .pf-v6-c-droppable {
38
40
  --pf-v6-c-droppable--before--BackgroundColor: transparent;
39
41
  --pf-v6-c-droppable--before--Opacity: 0;
40
42
  --pf-v6-c-droppable--after--BorderWidth: 0;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$draggable}) {
3
+ @include pf-root($draggable) {
4
4
  --#{$draggable}--Cursor: auto;
5
5
  --#{$draggable}--m-dragging--Cursor: grabbing;
6
6
  --#{$draggable}--m-dragging--BoxShadow: var(--pf-t--global--box-shadow--md);
@@ -40,7 +40,7 @@
40
40
  }
41
41
  }
42
42
 
43
- :where(:root, .#{$droppable}) {
43
+ @include pf-root($droppable) {
44
44
  --#{$droppable}--before--BackgroundColor: transparent;
45
45
  --#{$droppable}--before--Opacity: 0;
46
46
  --#{$droppable}--after--BorderWidth: 0;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-drawer) {
1
+ :root,
2
+ .pf-v6-c-drawer {
2
3
  --pf-v6-c-drawer__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
4
  --pf-v6-c-drawer__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
4
5
  --pf-v6-c-drawer__content--FlexBasis: 100%;
@@ -106,10 +107,12 @@
106
107
  --pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart: var(--pf-v6-c-drawer__panel--after--Width);
107
108
  }
108
109
  @media screen and (min-width: 75rem) {
109
- :where(:root, .pf-v6-c-drawer) {
110
+ :root,
111
+ .pf-v6-c-drawer {
110
112
  --pf-v6-c-drawer__panel--MinWidth: var(--pf-v6-c-drawer__panel--xl--MinWidth);
111
113
  }
112
- :where(:root, .pf-v6-c-drawer).pf-m-panel-bottom {
114
+ :root.pf-m-panel-bottom,
115
+ .pf-v6-c-drawer.pf-m-panel-bottom {
113
116
  --pf-v6-c-drawer__panel--MinWidth: auto;
114
117
  --pf-v6-c-drawer__panel--MinHeight: var(--pf-v6-c-drawer--m-panel-bottom__panel--xl--MinHeight);
115
118
  }
@@ -5,7 +5,7 @@ $pf-v6-c-drawer--breakpoint-map: build-breakpoint-map("base", "lg", "xl", "2xl")
5
5
  $pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
6
6
  $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
7
7
 
8
- :where(:root, .#{$drawer}) {
8
+ @include pf-root($drawer) {
9
9
  // Section
10
10
  --#{$drawer}__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
11
11
  --#{$drawer}__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-dual-list-selector) {
1
+ :root,
2
+ .pf-v6-c-dual-list-selector {
2
3
  --pf-v6-c-dual-list-selector__header--GridArea: pane-header;
3
4
  --pf-v6-c-dual-list-selector__tools--GridArea: pane-tools;
4
5
  --pf-v6-c-dual-list-selector__status--GridArea: pane-status;
@@ -2,7 +2,7 @@
2
2
 
3
3
  $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
4
4
 
5
- :where(:root, .#{$dual-list-selector}) {
5
+ @include pf-root($dual-list-selector) {
6
6
  // Grid
7
7
  --#{$dual-list-selector}__header--GridArea: pane-header;
8
8
  --#{$dual-list-selector}__tools--GridArea: pane-tools;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-empty-state) {
1
+ :root,
2
+ .pf-v6-c-empty-state {
2
3
  --pf-v6-c-empty-state--PaddingBlockStart: var(--pf-t--global--spacer--xl);
3
4
  --pf-v6-c-empty-state--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
4
5
  --pf-v6-c-empty-state--PaddingBlockEnd: var(--pf-t--global--spacer--xl);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$empty-state}) {
3
+ @include pf-root($empty-state) {
4
4
  --#{$empty-state}--PaddingBlockStart: var(--pf-t--global--spacer--xl);
5
5
  --#{$empty-state}--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
6
6
  --#{$empty-state}--PaddingBlockEnd: var(--pf-t--global--spacer--xl);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-expandable-section) {
1
+ :root,
2
+ .pf-v6-c-expandable-section {
2
3
  --pf-v6-c-expandable-section--Gap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-expandable-section__toggle-icon--MinWidth: 1em;
4
5
  --pf-v6-c-expandable-section__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$expandable-section}) {
3
+ @include pf-root($expandable-section) {
4
4
  --#{$expandable-section}--Gap: var(--pf-t--global--spacer--sm);
5
5
 
6
6
  // Toggle icon
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-file-upload) {
1
+ :root,
2
+ .pf-v6-c-file-upload {
2
3
  --pf-v6-c-file-upload--RowGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-file-upload--PaddingBlockStart: var(--pf-t--global--spacer--sm);
4
5
  --pf-v6-c-file-upload--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$file-upload}) {
3
+ @include pf-root($file-upload) {
4
4
  --#{$file-upload}--RowGap: var(--pf-t--global--spacer--sm);
5
5
  --#{$file-upload}--PaddingBlockStart: var(--pf-t--global--spacer--sm);
6
6
  --#{$file-upload}--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-form) {
1
+ :root,
2
+ .pf-v6-c-form {
2
3
  --pf-v6-c-form--GridGap: var(--pf-t--global--spacer--lg);
3
4
  --pf-v6-c-form__group--Gap: var(--pf-t--global--spacer--sm);
4
5
  --pf-v6-c-form__group--m-action--MarginBlockStart: var(--pf-t--global--spacer--xl);
@@ -25,7 +25,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
25
25
  }
26
26
  }
27
27
 
28
- :where(:root, .#{$form}) {
28
+ @include pf-root($form) {
29
29
  --#{$form}--GridGap: var(--pf-t--global--spacer--lg);
30
30
 
31
31
  // Group
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-form-control) {
1
+ :root,
2
+ .pf-v6-c-form-control {
2
3
  --pf-v6-c-form-control--ColumnGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-form-control--Color: var(--pf-t--global--text--color--regular);
4
5
  --pf-v6-c-form-control--FontSize: var(--pf-t--global--font--size--body--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$form-control}) {
3
+ @include pf-root($form-control) {
4
4
  --#{$form-control}--ColumnGap: var(--pf-t--global--spacer--sm);
5
5
  --#{$form-control}--Color: var(--pf-t--global--text--color--regular);
6
6
  --#{$form-control}--FontSize: var(--pf-t--global--font--size--body--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-helper-text) {
1
+ :root,
2
+ .pf-v6-c-helper-text {
2
3
  --pf-v6-c-helper-text--Gap: var(--pf-t--global--spacer--xs);
3
4
  --pf-v6-c-helper-text--FontSize: var(--pf-t--global--font--size--body--sm);
4
5
  --pf-v6-c-helper-text__item-icon--Color: var(--pf-t--global--icon--color--regular);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$helper-text}) {
3
+ @include pf-root($helper-text) {
4
4
  --#{$helper-text}--Gap: var(--pf-t--global--spacer--xs);
5
5
  --#{$helper-text}--FontSize: var(--pf-t--global--font--size--body--sm);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-hint) {
1
+ :root,
2
+ .pf-v6-c-hint {
2
3
  --pf-v6-c-hint--GridRowGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-hint--PaddingBlockStart: var(--pf-t--global--spacer--lg);
4
5
  --pf-v6-c-hint--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$hint}) {
3
+ @include pf-root($hint) {
4
4
  --#{$hint}--GridRowGap: var(--pf-t--global--spacer--sm);
5
5
  --#{$hint}--PaddingBlockStart: var(--pf-t--global--spacer--lg);
6
6
  --#{$hint}--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-icon) {
1
+ :root,
2
+ .pf-v6-c-icon {
2
3
  --pf-v6-c-icon--Width: var(--pf-t--global--icon--size--font--body--default);
3
4
  --pf-v6-c-icon--Height: var(--pf-t--global--icon--size--font--body--default);
4
5
  --pf-v6-c-icon--m-sm--Width: var(--pf-t--global--icon--size--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$icon}) {
3
+ @include pf-root($icon) {
4
4
  // Sizes
5
5
  --#{$icon}--Width: var(--pf-t--global--icon--size--font--body--default);
6
6
  --#{$icon}--Height: var(--pf-t--global--icon--size--font--body--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-inline-edit) {
1
+ :root,
2
+ .pf-v6-c-inline-edit {
2
3
  --pf-v6-c-inline-edit__group--item--MarginInlineEnd: var(--pf-t--global--spacer--gap--action-to-action--default);
3
4
  --pf-v6-c-inline-edit__action--c-button--m-valid--m-plain--Color: var(--pf-t--global--icon--color--brand--default);
4
5
  --pf-v6-c-inline-edit__action--c-button--m-valid--m-plain--hover--Color: var(--pf-t--global--icon--color--brand--hover);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$inline-edit}) {
3
+ @include pf-root($inline-edit) {
4
4
  // Group
5
5
  --#{$inline-edit}__group--item--MarginInlineEnd: var(--pf-t--global--spacer--gap--action-to-action--default);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-input-group) {
1
+ :root,
2
+ .pf-v6-c-input-group {
2
3
  --pf-v6-c-input-group--Gap: var(--pf-t--global--spacer--xs);
3
4
  --pf-v6-c-input-group__item--offset: var(--pf-t--global--border--width--control--default);
4
5
  --pf-v6-c-input-group__item--BorderWidth--base: var(--pf-t--global--border--width--control--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$input-group}) {
3
+ @include pf-root($input-group) {
4
4
  --#{$input-group}--Gap: var(--pf-t--global--spacer--xs);
5
5
 
6
6
  // Input group item
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-jump-links) {
1
+ :root,
2
+ .pf-v6-c-jump-links {
2
3
  --pf-v6-c-jump-links__list--Display: flex;
3
4
  --pf-v6-c-jump-links__list--PaddingBlockStart: 0;
4
5
  --pf-v6-c-jump-links__list--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -2,7 +2,7 @@
2
2
 
3
3
  $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
4
4
 
5
- :where(:root, .#{$jump-links}) {
5
+ @include pf-root($jump-links) {
6
6
  // list
7
7
  --#{$jump-links}__list--Display: flex;
8
8
  --#{$jump-links}__list--PaddingBlockStart: 0;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-label-group) {
1
+ :root,
2
+ .pf-v6-c-label-group {
2
3
  --pf-v6-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
4
5
  --pf-v6-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$label-group}) {
3
+ @include pf-root($label-group) {
4
4
  // Label group - spaces main with the close button
5
5
  --#{$label-group}--RowGap: var(--pf-t--global--spacer--sm);
6
6
  --#{$label-group}--ColumnGap: var(--pf-t--global--spacer--xs);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-label) {
1
+ :root,
2
+ .pf-v6-c-label {
2
3
  --pf-v6-c-label--PaddingBlockStart: var(--pf-t--global--spacer--xs);
3
4
  --pf-v6-c-label--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
4
5
  --pf-v6-c-label--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$label}) {
3
+ @include pf-root($label) {
4
4
  --#{$label}--PaddingBlockStart: var(--pf-t--global--spacer--xs);
5
5
  --#{$label}--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
6
6
  --#{$label}--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-list) {
1
+ :root,
2
+ .pf-v6-c-list {
2
3
  --pf-v6-c-list--PaddingInlineStart: var(--pf-t--global--spacer--lg);
3
4
  --pf-v6-c-list--ul--ListStyle: var(--pf-t--global--list-style);
4
5
  --pf-v6-c-list--Gap: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$list}) {
3
+ @include pf-root($list) {
4
4
  // list
5
5
  --#{$list}--PaddingInlineStart: var(--pf-t--global--spacer--lg);
6
6
  --#{$list}--ul--ListStyle: var(--pf-t--global--list-style);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-login) {
1
+ :root,
2
+ .pf-v6-c-login {
2
3
  --pf-v6-c-login--PaddingBlockStart: var(--pf-t--global--spacer--lg);
3
4
  --pf-v6-c-login--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
4
5
  --pf-v6-c-login__container--xl--GridColumnGap: var(--pf-t--global--spacer--3xl);
@@ -54,48 +55,56 @@
54
55
  --pf-v6-c-login__footer--c-list--xl--PaddingBlockStart: var(--pf-t--global--spacer--2xl);
55
56
  }
56
57
  @media (min-width: 75rem) {
57
- :where(:root, .pf-v6-c-login) {
58
+ :root,
59
+ .pf-v6-c-login {
58
60
  --pf-v6-c-login__container--MaxWidth: var(--pf-v6-c-login__container--xl--MaxWidth);
59
61
  }
60
62
  }
61
63
  @media (min-width: 36rem) {
62
- :where(:root, .pf-v6-c-login) {
64
+ :root,
65
+ .pf-v6-c-login {
63
66
  --pf-v6-c-login__header--PaddingInlineEnd: 0;
64
67
  --pf-v6-c-login__header--PaddingInlineStart: 0;
65
68
  }
66
69
  }
67
70
  @media (min-width: 75rem) {
68
- :where(:root, .pf-v6-c-login) {
71
+ :root,
72
+ .pf-v6-c-login {
69
73
  --pf-v6-c-login__header--MarginBlockEnd: var(--pf-v6-c-login__header--xl--MarginBlockEnd);
70
74
  --pf-v6-c-login__header--c-brand--MarginBlockEnd: var(--pf-v6-c-login__header--c-brand--xl--MarginBlockEnd);
71
75
  }
72
76
  }
73
77
  @media (min-width: 75rem) {
74
- :where(:root, .pf-v6-c-login) {
78
+ :root,
79
+ .pf-v6-c-login {
75
80
  --pf-v6-c-login__main--MarginBlockEnd: 0;
76
81
  }
77
82
  }
78
83
  @media (min-width: 48rem) {
79
- :where(:root, .pf-v6-c-login) {
84
+ :root,
85
+ .pf-v6-c-login {
80
86
  --pf-v6-c-login__main-header--PaddingInlineEnd: var(--pf-v6-c-login__main-header--md--PaddingInlineEnd);
81
87
  --pf-v6-c-login__main-header--PaddingInlineStart: var(--pf-v6-c-login__main-header--md--PaddingInlineStart);
82
88
  --pf-v6-c-login__main-header-desc--MarginBlockEnd: var(--pf-v6-c-login__main-header-desc--md--MarginBlockEnd);
83
89
  }
84
90
  }
85
91
  @media (min-width: 48rem) {
86
- :where(:root, .pf-v6-c-login) {
92
+ :root,
93
+ .pf-v6-c-login {
87
94
  --pf-v6-c-login__main-body--PaddingInlineEnd: var(--pf-v6-c-login__main-body--md--PaddingInlineEnd);
88
95
  --pf-v6-c-login__main-body--PaddingInlineStart: var(--pf-v6-c-login__main-body--md--PaddingInlineStart);
89
96
  }
90
97
  }
91
98
  @media (min-width: 36rem) {
92
- :where(:root, .pf-v6-c-login) {
99
+ :root,
100
+ .pf-v6-c-login {
93
101
  --pf-v6-c-login__footer--PaddingInlineEnd: 0;
94
102
  --pf-v6-c-login__footer--PaddingInlineStart: 0;
95
103
  }
96
104
  }
97
105
  @media (min-width: 75rem) {
98
- :where(:root, .pf-v6-c-login) {
106
+ :root,
107
+ .pf-v6-c-login {
99
108
  --pf-v6-c-login__footer--c-list--PaddingBlockStart: var(--pf-v6-c-login__footer--c-list--xl--PaddingBlockStart);
100
109
  }
101
110
  }
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$login}) {
3
+ @include pf-root($login) {
4
4
  --#{$login}--PaddingBlockStart: var(--pf-t--global--spacer--lg);
5
5
  --#{$login}--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-masthead) {
1
+ :root,
2
+ .pf-v6-c-masthead {
2
3
  --pf-v6-c-masthead--RowGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-masthead--ColumnGap: var(--pf-t--global--spacer--gutter--default);
4
5
  --pf-v6-c-masthead--BorderWidth: var(--pf-t--global--border--width--divider--default);
@@ -3,7 +3,7 @@
3
3
  $pf-v6-c-masthead--breakpoint-map: build-breakpoint-map();
4
4
  $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
5
5
 
6
- :where(:root, .#{$masthead}) {
6
+ @include pf-root($masthead) {
7
7
  // * Masthead
8
8
  --#{$masthead}--RowGap: var(--pf-t--global--spacer--sm);
9
9
  --#{$masthead}--ColumnGap: var(--pf-t--global--spacer--gutter--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-menu) {
1
+ :root,
2
+ .pf-v6-c-menu {
2
3
  --pf-v6-c-menu--RowGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-menu--Width: auto;
4
5
  --pf-v6-c-menu--MinWidth: auto;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$menu}) {
3
+ @include pf-root($menu) {
4
4
  // * Menu
5
5
  --#{$menu}--RowGap: var(--pf-t--global--spacer--sm);
6
6
  --#{$menu}--Width: auto;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-menu-toggle) {
1
+ :root,
2
+ .pf-v6-c-menu-toggle {
2
3
  --pf-v6-c-menu-toggle--ColumnGap: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-menu-toggle--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
4
5
  --pf-v6-c-menu-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
@@ -8,7 +8,7 @@
8
8
  // TODO: update text-input-button to use gap
9
9
  // TODO: label all variables group - // * Menu toggle (vars) // - Menu toggle (selectors)
10
10
 
11
- :where(:root, .#{$menu-toggle}) {
11
+ @include pf-root($menu-toggle) {
12
12
  --#{$menu-toggle}--ColumnGap: var(--pf-t--global--spacer--sm);
13
13
  --#{$menu-toggle}--PaddingBlockStart: var(--pf-t--global--spacer--control--vertical--default);
14
14
  --#{$menu-toggle}--PaddingInlineEnd: var(--pf-t--global--spacer--control--horizontal--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-modal-box) {
1
+ :root,
2
+ .pf-v6-c-modal-box {
2
3
  --pf-v6-c-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
3
4
  --pf-v6-c-modal-box--BorderRadius: var(--pf-t--global--border--radius--large);
4
5
  --pf-v6-c-modal-box--BoxShadow: var(--pf-t--global--box-shadow--lg);
@@ -51,7 +52,8 @@
51
52
  --pf-v6-c-modal-box__footer--c-button--sm--MarginInlineEnd: calc(var(--pf-v6-c-modal-box__footer--c-button--MarginInlineEnd) / 2);
52
53
  }
53
54
  @media (min-width: 75rem) {
54
- :where(:root, .pf-v6-c-modal-box) {
55
+ :root,
56
+ .pf-v6-c-modal-box {
55
57
  --pf-v6-c-modal-box--m-align-top--spacer: var(--pf-v6-c-modal-box--m-align-top--xl--spacer);
56
58
  }
57
59
  }
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$modal-box}) {
3
+ @include pf-root($modal-box) {
4
4
  --#{$modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
5
5
  --#{$modal-box}--BorderRadius: var(--pf-t--global--border--radius--large);
6
6
  --#{$modal-box}--BoxShadow: var(--pf-t--global--box-shadow--lg);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-multiple-file-upload) {
1
+ :root,
2
+ .pf-v6-c-multiple-file-upload {
2
3
  --pf-v6-c-multiple-file-upload--GridTemplateColumns: 1fr;
3
4
  --pf-v6-c-multiple-file-upload--Gap: var(--pf-t--global--spacer--md);
4
5
  --pf-v6-c-multiple-file-upload__main--TextAlign: center;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$multiple-file-upload}) {
3
+ @include pf-root($multiple-file-upload) {
4
4
  --#{$multiple-file-upload}--GridTemplateColumns: 1fr;
5
5
  --#{$multiple-file-upload}--Gap: var(--pf-t--global--spacer--md);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-nav) {
1
+ :root,
2
+ .pf-v6-c-nav {
2
3
  --pf-v6-c-nav__link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-nav__link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
4
5
  --pf-v6-c-nav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$nav}) {
3
+ @include pf-root($nav) {
4
4
  // * Nav shared values
5
5
  --#{$nav}__link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
6
6
  --#{$nav}__link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-notification-drawer) {
1
+ :root,
2
+ .pf-v6-c-notification-drawer {
2
3
  --pf-v6-c-notification-drawer--BackgroundColor: var(--pf-t--global--background--color--floating--default);
3
4
  --pf-v6-c-notification-drawer__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
4
5
  --pf-v6-c-notification-drawer__header--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$notification-drawer}) {
3
+ @include pf-root($notification-drawer) {
4
4
  --#{$notification-drawer}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
5
5
 
6
6
  // Header
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-number-input) {
1
+ :root,
2
+ .pf-v6-c-number-input {
2
3
  --pf-v6-c-number-input__unit--c-input-group--MarginInlineStart: var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-number-input__icon--FontSize: var(--pf-t--global--font--size--xs);
4
5
  --pf-v6-c-number-input--c-form-control--width-base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-t--global--border--width--box--default) * 2);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$number-input}) {
3
+ @include pf-root($number-input) {
4
4
  // unit
5
5
  --#{$number-input}__unit--c-input-group--MarginInlineStart: var(--pf-t--global--spacer--sm);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-overflow-menu) {
1
+ :root,
2
+ .pf-v6-c-overflow-menu {
2
3
  --pf-v6-c-overflow-menu--ColumnGap: var(--pf-t--global--spacer--md);
3
4
  --pf-v6-c-overflow-menu__group--ColumnGap: var(--pf-t--global--spacer--md);
4
5
  --pf-v6-c-overflow-menu__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$overflow-menu}) {
3
+ @include pf-root($overflow-menu) {
4
4
  --#{$overflow-menu}--ColumnGap: var(--pf-t--global--spacer--md);
5
5
 
6
6
  // * Overflow menu group
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-page) {
1
+ :root,
2
+ .pf-v6-c-page {
2
3
  --pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
3
4
  --pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
4
5
  --pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
@@ -78,7 +79,8 @@
78
79
  --pf-v6-c-page__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--action--default);
79
80
  }
80
81
  @media screen and (min-width: 75rem) {
81
- :where(:root, .pf-v6-c-page) {
82
+ :root,
83
+ .pf-v6-c-page {
82
84
  --pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
83
85
  }
84
86
  }