@patternfly/patternfly 6.0.0-alpha.226 → 6.0.0-alpha.228

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 (204) 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 +41 -35
  144. package/components/Table/table.scss +49 -46
  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 +273 -155
  168. package/docs/components/Check/examples/Check.md +10 -15
  169. package/docs/components/DataList/examples/DataList.md +0 -13
  170. package/docs/components/InlineEdit/examples/InlineEdit.md +34 -7
  171. package/docs/components/Menu/examples/Menu.md +3 -12
  172. package/docs/components/Table/examples/Table.md +3796 -1216
  173. package/docs/components/Toolbar/examples/Toolbar.md +0 -5
  174. package/docs/demos/Card/examples/Card.md +38 -14
  175. package/docs/demos/CardView/examples/CardView.md +0 -1
  176. package/docs/demos/DataList/examples/DataList.md +65 -53
  177. package/docs/demos/DescriptionList/examples/DescriptionList.md +30 -5
  178. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +0 -1
  179. package/docs/demos/Table/examples/Table.md +1482 -548
  180. package/docs/demos/Tabs/examples/Tabs.md +66 -48
  181. package/docs/demos/Toolbar/examples/Toolbar.md +176 -58
  182. package/layouts/Bullseye/bullseye.css +2 -1
  183. package/layouts/Bullseye/bullseye.scss +1 -1
  184. package/layouts/Flex/flex.css +2 -1
  185. package/layouts/Flex/flex.scss +1 -1
  186. package/layouts/Gallery/gallery.css +2 -1
  187. package/layouts/Gallery/gallery.scss +1 -1
  188. package/layouts/Grid/grid.css +2 -1
  189. package/layouts/Grid/grid.scss +1 -1
  190. package/layouts/Level/level.css +2 -1
  191. package/layouts/Level/level.scss +1 -1
  192. package/layouts/Split/split.css +2 -1
  193. package/layouts/Split/split.scss +1 -1
  194. package/layouts/Stack/stack.css +2 -1
  195. package/layouts/Stack/stack.scss +1 -1
  196. package/layouts/_index.css +14 -7
  197. package/package.json +1 -1
  198. package/patternfly-base-no-globals.css +2 -2
  199. package/patternfly-base.css +2 -2
  200. package/patternfly-no-globals.css +289 -164
  201. package/patternfly.css +289 -164
  202. package/patternfly.min.css +1 -1
  203. package/patternfly.min.css.map +1 -1
  204. package/sass-utilities/mixins.scss +7 -0
@@ -1,4 +1,4 @@
1
- :where(:root) {
1
+ :root {
2
2
  --pf-v6-global--inverse--multiplier: 1;
3
3
  --pf-t--color--black: #000000;
4
4
  --pf-t--color--blue--10: #e0f0ff;
@@ -834,7 +834,7 @@
834
834
  --pf-t--temp--dev--tbd: #BC11E0;
835
835
  }
836
836
 
837
- :where(.pf-v6-theme-dark) {
837
+ :root:where(.pf-v6-theme-dark) {
838
838
  --pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
839
839
  --pf-t--global--dark--background--color--500: rgba(21, 21, 21, 0.8000);
840
840
  --pf-t--global--dark--background--color--600: rgba(199, 199, 199, 0.1500);
@@ -4,14 +4,14 @@
4
4
  @use "./tokens/tokens-dark" as dark;
5
5
  @use "./tokens/tokens-local" as local;
6
6
 
7
- :where(:root) {
7
+ :root {
8
8
  @include pf-v6-set-inverse(false);
9
9
  @include palette.pf-v6-tokens;
10
10
  @include default.pf-v6-tokens;
11
11
  @include local.pf-v6-tokens;
12
12
  }
13
13
 
14
- :where(.pf-v6-theme-dark) {
14
+ :root:where(.pf-v6-theme-dark) {
15
15
  @include dark.pf-v6-tokens;
16
16
  }
17
17
 
@@ -1,7 +1,7 @@
1
- :where(:root, .pf-v6-c-about-modal-box) {
1
+ :root,
2
+ .pf-v6-c-about-modal-box {
2
3
  --pf-v6-c-about-modal-box--BackgroundImage: none;
3
4
  --pf-v6-c-about-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
4
- --pf-v6-c-about-modal-box--BackgroundPosition: bottom right;
5
5
  --pf-v6-c-about-modal-box--BackgroundSize--min-width: 200px;
6
6
  --pf-v6-c-about-modal-box--BackgroundSize--width: 60%;
7
7
  --pf-v6-c-about-modal-box--BackgroundSize--max-width: 600px;
@@ -11,7 +11,6 @@
11
11
  --pf-v6-c-about-modal-box--Width: 100%;
12
12
  --pf-v6-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
13
13
  --pf-v6-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
14
- --pf-v6-c-about-modal-box--BackgroundPosition: bottom right;
15
14
  --pf-v6-c-about-modal-box__brand--PaddingBlockStart: var(--pf-t--global--spacer--2xl);
16
15
  --pf-v6-c-about-modal-box__brand--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
17
16
  --pf-v6-c-about-modal-box__brand--PaddingInlineStart: var(--pf-t--global--spacer--xl);
@@ -45,40 +44,42 @@
45
44
  --pf-v6-c-about-modal-box__content--sm--MarginBlockEnd: var(--pf-t--global--spacer--2xl);
46
45
  --pf-v6-c-about-modal-box__content--sm--MarginInlineStart: var(--pf-t--global--spacer--3xl);
47
46
  }
48
- :where(.pf-v6-m-dir-rtl, [dir=rtl]) :where(:root, .pf-v6-c-about-modal-box) {
49
- --pf-v6-c-about-modal-box--BackgroundPosition: bottom left;
50
- }
51
-
52
47
  @media screen and (min-width: 36rem) {
53
- :where(:root, .pf-v6-c-about-modal-box) {
48
+ :root,
49
+ .pf-v6-c-about-modal-box {
54
50
  --pf-v6-c-about-modal-box__brand--PaddingInlineEnd: var(--pf-v6-c-about-modal-box__brand--sm--PaddingInlineEnd);
55
51
  --pf-v6-c-about-modal-box__brand--PaddingInlineStart: var(--pf-v6-c-about-modal-box__brand--sm--PaddingInlineStart);
56
52
  --pf-v6-c-about-modal-box__brand--PaddingBlockEnd: var(--pf-v6-c-about-modal-box__brand--sm--PaddingBlockEnd);
57
53
  }
58
54
  }
59
55
  @media only screen and (min-width: 36rem) {
60
- :where(:root, .pf-v6-c-about-modal-box) {
56
+ :root,
57
+ .pf-v6-c-about-modal-box {
61
58
  --pf-v6-c-about-modal-box__close--PaddingBlockEnd: var(--pf-v6-c-about-modal-box__close--sm--PaddingBlockEnd);
62
59
  }
63
60
  }
64
61
  @media only screen and (min-width: 62rem) {
65
- :where(:root, .pf-v6-c-about-modal-box) {
62
+ :root,
63
+ .pf-v6-c-about-modal-box {
66
64
  --pf-v6-c-about-modal-box__close--PaddingInlineEnd: var(--pf-v6-c-about-modal-box__close--lg--PaddingInlineEnd);
67
65
  }
68
66
  }
69
67
  @media only screen and (min-width: 36rem) {
70
- :where(:root, .pf-v6-c-about-modal-box) {
68
+ :root,
69
+ .pf-v6-c-about-modal-box {
71
70
  --pf-v6-c-about-modal-box__header--PaddingInlineEnd: var(--pf-v6-c-about-modal-box__header--sm--PaddingInlineEnd);
72
71
  --pf-v6-c-about-modal-box__header--PaddingInlineStart: var(--pf-v6-c-about-modal-box__header--sm--PaddingInlineStart);
73
72
  }
74
73
  }
75
74
  @media only screen and (min-width: 36rem) {
76
- :where(:root, .pf-v6-c-about-modal-box) {
75
+ :root,
76
+ .pf-v6-c-about-modal-box {
77
77
  --pf-v6-c-about-modal-box__strapline--PaddingBlockStart: var(--pf-v6-c-about-modal-box__strapline--sm--PaddingBlockStart);
78
78
  }
79
79
  }
80
80
  @media only screen and (min-width: 36rem) {
81
- :where(:root, .pf-v6-c-about-modal-box) {
81
+ :root,
82
+ .pf-v6-c-about-modal-box {
82
83
  --pf-v6-c-about-modal-box__content--MarginBlockStart: var(--pf-v6-c-about-modal-box__content--sm--MarginBlockStart);
83
84
  --pf-v6-c-about-modal-box__content--MarginInlineEnd: var(--pf-v6-c-about-modal-box__content--sm--MarginInlineEnd);
84
85
  --pf-v6-c-about-modal-box__content--MarginBlockEnd: var(--pf-v6-c-about-modal-box__content--sm--MarginBlockEnd);
@@ -100,6 +101,7 @@
100
101
  background-repeat: no-repeat;
101
102
  background-position: var(--pf-v6-c-about-modal-box--BackgroundPosition);
102
103
  background-size: var(--pf-v6-c-about-modal-box--BackgroundSize);
104
+ --pf-v6-c-about-modal-box--BackgroundPosition: bottom right;
103
105
  }
104
106
  @media only screen and (min-width: 36rem) {
105
107
  .pf-v6-c-about-modal-box {
@@ -115,6 +117,9 @@
115
117
  grid-template-columns: var(--pf-v6-c-about-modal-box--lg--GridTemplateColumns);
116
118
  }
117
119
  }
120
+ :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-about-modal-box {
121
+ --pf-v6-c-about-modal-box--BackgroundPosition: bottom left;
122
+ }
118
123
 
119
124
  .pf-v6-c-about-modal-box__brand {
120
125
  display: flex;
@@ -1,10 +1,9 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$about-modal-box}) {
3
+ @include pf-root($about-modal-box) {
4
4
  // Component variables
5
5
  --#{$about-modal-box}--BackgroundImage: none;
6
6
  --#{$about-modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
7
- --#{$about-modal-box}--BackgroundPosition: bottom right;
8
7
  --#{$about-modal-box}--BackgroundSize--min-width: 200px;
9
8
  --#{$about-modal-box}--BackgroundSize--width: 60%;
10
9
  --#{$about-modal-box}--BackgroundSize--max-width: 600px;
@@ -15,12 +14,6 @@
15
14
  --#{$about-modal-box}--sm--GridTemplateColumns: 5fr 1fr;
16
15
  --#{$about-modal-box}--lg--GridTemplateColumns: 1fr .6fr;
17
16
 
18
- @include pf-v6-bidirectional-style(
19
- $prop: --#{$about-modal-box}--BackgroundPosition,
20
- $ltr-val: bottom right,
21
- $rtl-val: bottom left
22
- );
23
-
24
17
  // Brand
25
18
  --#{$about-modal-box}__brand--PaddingBlockStart: var(--pf-t--global--spacer--2xl);
26
19
  --#{$about-modal-box}__brand--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
@@ -131,6 +124,12 @@
131
124
  grid-template-rows: max-content max-content auto;
132
125
  grid-template-columns: var(--#{$about-modal-box}--lg--GridTemplateColumns);
133
126
  }
127
+
128
+ @include pf-v6-bidirectional-style (
129
+ $prop: --#{$about-modal-box}--BackgroundPosition,
130
+ $ltr-val: bottom right,
131
+ $rtl-val: bottom left
132
+ );
134
133
  }
135
134
 
136
135
  // Brand
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-accordion) {
1
+ :root,
2
+ .pf-v6-c-accordion {
2
3
  --pf-v6-c-accordion--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
4
  --pf-v6-c-accordion--RowGap: var(--pf-t--global--spacer--xs);
4
5
  --pf-v6-c-accordion__item--BorderRadius: var(--pf-t--global--border--radius--200);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$accordion}) {
3
+ @include pf-root($accordion) {
4
4
  // accordion
5
5
  --#{$accordion}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
6
6
  --#{$accordion}--RowGap: var(--pf-t--global--spacer--xs);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-action-list) {
1
+ :root,
2
+ .pf-v6-c-action-list {
2
3
  --pf-v6-c-action-list--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
3
4
  --pf-v6-c-action-list--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal);
4
5
  --pf-v6-c-action-list__group--ColumnGap: var(--pf-t--global--spacer--gap--action-to-action--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$action-list}) {
3
+ @include pf-root($action-list) {
4
4
  --#{$action-list}--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
5
5
  --#{$action-list}--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal);
6
6
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-alert-group) {
1
+ :root,
2
+ .pf-v6-c-alert-group {
2
3
  --pf-v6-c-alert-group__item--MarginBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
3
4
  --pf-v6-c-alert-group--m-toast--InsetBlockStart: var(--pf-t--global--spacer--2xl);
4
5
  --pf-v6-c-alert-group--m-toast--InsetInlineEnd: var(--pf-t--global--spacer--xl);
@@ -1,7 +1,7 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
3
  // Tabs
4
- :where(:root, .#{$alert-group}) {
4
+ @include pf-root($alert-group) {
5
5
  // Alert group variables
6
6
  --#{$alert-group}__item--MarginBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
7
7
 
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-alert) {
1
+ :root,
2
+ .pf-v6-c-alert {
2
3
  --pf-v6-c-alert--BoxShadow: var(--pf-t--global--box-shadow--lg);
3
4
  --pf-v6-c-alert--BackgroundColor: var(--pf-t--global--background--color--floating--default);
4
5
  --pf-v6-c-alert--GridTemplateColumns: max-content 1fr max-content;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$alert}) {
3
+ @include pf-root($alert) {
4
4
  // Alert variables
5
5
  --#{$alert}--BoxShadow: var(--pf-t--global--box-shadow--lg);
6
6
  --#{$alert}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-avatar) {
1
+ :root,
2
+ .pf-v6-c-avatar {
2
3
  --pf-v6-c-avatar--BorderColor: transparent;
3
4
  --pf-v6-c-avatar--BorderWidth: 0;
4
5
  --pf-v6-c-avatar--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -3,7 +3,7 @@
3
3
  $pf-v6-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
4
4
  $pf-v6-c-avatar--sizes: "sm", "md", "lg", "xl";
5
5
 
6
- :where(:root, .#{$avatar}) {
6
+ @include pf-root($avatar) {
7
7
  --#{$avatar}--BorderColor: transparent;
8
8
  --#{$avatar}--BorderWidth: 0;
9
9
  --#{$avatar}--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-back-to-top) {
1
+ :root,
2
+ .pf-v6-c-back-to-top {
2
3
  --pf-v6-c-back-to-top--InsetInlineEnd: var(--pf-t--global--spacer--2xl);
3
4
  --pf-v6-c-back-to-top--InsetBlockEnd: var(--pf-t--global--spacer--lg);
4
5
  --pf-v6-c-back-to-top--md--InsetBlockEnd: var(--pf-t--global--spacer--2xl);
@@ -10,7 +11,8 @@
10
11
  --pf-v6-c-back-to-top--c-button--BoxShadow: var(--pf-t--global--box-shadow--sm);
11
12
  }
12
13
  @media (min-width: 48rem) {
13
- :where(:root, .pf-v6-c-back-to-top) {
14
+ :root,
15
+ .pf-v6-c-back-to-top {
14
16
  --pf-v6-c-back-to-top--InsetBlockEnd: var(--pf-v6-c-back-to-top--md--InsetBlockEnd);
15
17
  }
16
18
  }
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$back-to-top}) {
3
+ @include pf-root($back-to-top) {
4
4
  --#{$back-to-top}--InsetInlineEnd: var(--pf-t--global--spacer--2xl);
5
5
  --#{$back-to-top}--InsetBlockEnd: var(--pf-t--global--spacer--lg);
6
6
  --#{$back-to-top}--md--InsetBlockEnd: var(--pf-t--global--spacer--2xl);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-backdrop) {
1
+ :root,
2
+ .pf-v6-c-backdrop {
2
3
  --pf-v6-c-backdrop--Position: fixed;
3
4
  --pf-v6-c-backdrop--ZIndex: var(--pf-t--global--z-index--lg);
4
5
  --pf-v6-c-backdrop--BackgroundColor: var(--pf-t--global--background--color--backdrop--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$backdrop}) {
3
+ @include pf-root($backdrop) {
4
4
  --#{$backdrop}--Position: fixed;
5
5
  --#{$backdrop}--ZIndex: var(--pf-t--global--z-index--lg);
6
6
  --#{$backdrop}--BackgroundColor: var(--pf-t--global--background--color--backdrop--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-background-image) {
1
+ :root,
2
+ .pf-v6-c-background-image {
2
3
  --pf-v6-c-background-image--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
4
  --pf-v6-c-background-image--BackgroundImage: none;
4
5
  --pf-v6-c-background-image--BackgroundSize--min-width: 200px;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$background-image}) {
3
+ @include pf-root($background-image) {
4
4
  --#{$background-image}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
5
5
  --#{$background-image}--BackgroundImage: none;
6
6
  --#{$background-image}--BackgroundSize--min-width: 200px;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-badge) {
1
+ :root,
2
+ .pf-v6-c-badge {
2
3
  --pf-v6-c-badge--BorderColor: transparent;
3
4
  --pf-v6-c-badge--BorderWidth: var(--pf-t--global--border--width--regular);
4
5
  --pf-v6-c-badge--BorderRadius: var(--pf-t--global--border--radius--pill);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$badge}) {
3
+ @include pf-root($badge) {
4
4
  // Component
5
5
  --#{$badge}--BorderColor: transparent;
6
6
  --#{$badge}--BorderWidth: var(--pf-t--global--border--width--regular);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-banner) {
1
+ :root,
2
+ .pf-v6-c-banner {
2
3
  --pf-v6-c-banner--PaddingBlockStart: var(--pf-t--global--spacer--xs);
3
4
  --pf-v6-c-banner--PaddingInlineEnd: var(--pf-t--global--spacer--md);
4
5
  --pf-v6-c-banner--md--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -42,7 +43,8 @@
42
43
  --pf-v6-c-banner--m-purple--Color: var(--pf-t--global--text--color--nonstatus--on-purple--default);
43
44
  }
44
45
  @media (min-width: 48rem) {
45
- :where(:root, .pf-v6-c-banner) {
46
+ :root,
47
+ .pf-v6-c-banner {
46
48
  --pf-v6-c-banner--PaddingInlineEnd: var(--pf-v6-c-banner--md--PaddingInlineEnd);
47
49
  --pf-v6-c-banner--PaddingInlineStart: var(--pf-v6-c-banner--md--PaddingInlineStart);
48
50
  }
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$banner}) {
3
+ @include pf-root($banner) {
4
4
  --#{$banner}--PaddingBlockStart: var(--pf-t--global--spacer--xs);
5
5
  --#{$banner}--PaddingInlineEnd: var(--pf-t--global--spacer--md);
6
6
  --#{$banner}--md--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-brand) {
1
+ :root,
2
+ .pf-v6-c-brand {
2
3
  --pf-v6-c-brand--Width: auto;
3
4
  --pf-v6-c-brand--Height: auto;
4
5
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  $pf-v6-c-brand--breakpoint-map: build-breakpoint-map();
4
4
 
5
- :where(:root, .#{$brand}) {
5
+ @include pf-root($brand) {
6
6
  --#{$brand}--Width: auto;
7
7
  --#{$brand}--Height: auto;
8
8
  }
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-breadcrumb) {
1
+ :root,
2
+ .pf-v6-c-breadcrumb {
2
3
  --pf-v6-c-breadcrumb__item--FontSize: var(--pf-t--global--font--size--body--sm);
3
4
  --pf-v6-c-breadcrumb__item--LineHeight: var(--pf-t--global--font--line-height--body);
4
5
  --pf-v6-c-breadcrumb__item--MarginInlineEnd: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$breadcrumb}) {
3
+ @include pf-root($breadcrumb) {
4
4
  // Breadcrumb item
5
5
  --#{$breadcrumb}__item--FontSize: var(--pf-t--global--font--size--body--sm);
6
6
  --#{$breadcrumb}__item--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-button) {
1
+ :root,
2
+ .pf-v6-c-button {
2
3
  --pf-v6-c-button--Display: inline-flex;
3
4
  --pf-v6-c-button--AlignItems: baseline;
4
5
  --pf-v6-c-button--JustifyContent: center;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$button}) {
3
+ @include pf-root($button) {
4
4
  --#{$button}--Display: inline-flex;
5
5
  --#{$button}--AlignItems: baseline;
6
6
  --#{$button}--JustifyContent: center;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-calendar-month) {
1
+ :root,
2
+ .pf-v6-c-calendar-month {
2
3
  --pf-v6-c-calendar-month--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
4
  --pf-v6-c-calendar-month--PaddingBlockStart: var(--pf-t--global--spacer--lg);
4
5
  --pf-v6-c-calendar-month--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$calendar-month}) {
3
+ @include pf-root($calendar-month) {
4
4
  --#{$calendar-month}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
5
5
  --#{$calendar-month}--PaddingBlockStart: var(--pf-t--global--spacer--lg);
6
6
  --#{$calendar-month}--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-card) {
1
+ :root,
2
+ .pf-v6-c-card {
2
3
  --pf-v6-c-card--BackgroundColor: var(--pf-t--global--background--color--primary--default);
3
4
  --pf-v6-c-card--BorderColor: var(--pf-t--global--border--color--default);
4
5
  --pf-v6-c-card--BorderStyle: solid;
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$card}) {
3
+ @include pf-root($card) {
4
4
  --#{$card}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
5
5
  --#{$card}--BorderColor: var(--pf-t--global--border--color--default);
6
6
  --#{$card}--BorderStyle: solid;
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-check) {
1
+ :root,
2
+ .pf-v6-c-check {
2
3
  --pf-v6-c-check--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
3
4
  --pf-v6-c-check--AccentColor: var(--pf-t--global--color--brand--default);
4
5
  --pf-v6-c-check--MinHeight: calc(var(--pf-v6-c-check__label--FontSize) * var(--pf-v6-c-check__label--LineHeight));
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$check}) {
3
+ @include pf-root($check) {
4
4
  --#{$check}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
5
5
  --#{$check}--AccentColor: var(--pf-t--global--color--brand--default);
6
6
  --#{$check}--MinHeight: calc(var(--#{$check}__label--FontSize) * var(--#{$check}__label--LineHeight));
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-clipboard-copy) {
1
+ :root,
2
+ .pf-v6-c-clipboard-copy {
2
3
  --pf-v6-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
3
4
  --pf-v6-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
4
5
  --pf-v6-c-clipboard-copy__expandable-content--MarginBlockStart: var(--pf-t--global--spacer--xs);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$clipboard-copy}) {
3
+ @include pf-root($clipboard-copy) {
4
4
  // Toggle icon
5
5
  --#{$clipboard-copy}__toggle-icon--Transition: .2s ease-in 0s;
6
6
  --#{$clipboard-copy}--m-expanded__toggle-icon--Rotate: 90deg;
@@ -1,4 +1,5 @@
1
- :where(:root, .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
5
  --pf-v6-c-code-block__header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$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
6
  --#{$code-block}__header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .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
5
  --pf-v6-c-code-editor__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$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);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-content) {
1
+ :root,
2
+ .pf-v6-c-content {
2
3
  --pf-v6-c-content--MarginBlockEnd: var(--pf-t--global--spacer--md);
3
4
  --pf-v6-c-content--LineHeight: var(--pf-t--global--font--line-height--body);
4
5
  --pf-v6-c-content--FontSize: var(--pf-t--global--font--size--body--default);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$content}) {
3
+ @include pf-root($content) {
4
4
  // Body
5
5
  --#{$content}--MarginBlockEnd: var(--pf-t--global--spacer--md);
6
6
  --#{$content}--LineHeight: var(--pf-t--global--font--line-height--body);
@@ -404,7 +404,8 @@
404
404
  }
405
405
  }
406
406
 
407
- :where(:root, .pf-v6-c-data-list) {
407
+ :root,
408
+ .pf-v6-c-data-list {
408
409
  --pf-v6-c-data-list--FontSize: var( --pf-t--global--font--size--body);
409
410
  --pf-v6-c-data-list--LineHeight: var(--pf-t--global--font--line-height--body);
410
411
  --pf-v6-c-data-list--BorderBlockStartColor: var(--pf-t--global--border--color--default);
@@ -514,13 +515,15 @@
514
515
  --pf-v6-c-data-list--m-compact__cell--m-icon--cell--PaddingBlockStart: var(--pf-t--global--spacer--sm);
515
516
  }
516
517
  @media screen and (min-width: 36rem) {
517
- :where(:root, .pf-v6-c-data-list) {
518
+ :root,
519
+ .pf-v6-c-data-list {
518
520
  --pf-v6-c-data-list--BorderBlockStartColor: var(--pf-v6-c-data-list--sm--BorderBlockStartColor);
519
521
  --pf-v6-c-data-list--BorderBlockStartWidth: var(--pf-v6-c-data-list--sm--BorderBlockStartWidth);
520
522
  }
521
523
  }
522
524
  @media screen and (min-width: 36rem) {
523
- :where(:root, .pf-v6-c-data-list) {
525
+ :root,
526
+ .pf-v6-c-data-list {
524
527
  --pf-v6-c-data-list__item--BorderBlockEndWidth: var(--pf-v6-c-data-list__item--sm--BorderBlockEndWidth);
525
528
  --pf-v6-c-data-list__item--BorderBlockEndColor: var(--pf-v6-c-data-list__item--sm--BorderBlockEndColor);
526
529
  }
@@ -1,7 +1,7 @@
1
1
  @use '../../sass-utilities' as *;
2
2
  @use './data-list-grid' as *;
3
3
 
4
- :where(:root, .#{$data-list}) {
4
+ @include pf-root($data-list) {
5
5
  --#{$data-list}--FontSize: var( --pf-t--global--font--size--body);
6
6
  --#{$data-list}--LineHeight: var(--pf-t--global--font--line-height--body);
7
7
  --#{$data-list}--BorderBlockStartColor: var(--pf-t--global--border--color--default);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-date-picker) {
1
+ :root,
2
+ .pf-v6-c-date-picker {
2
3
  --pf-v6-c-date-picker--m-top__calendar--InsetBlockStart: 0;
3
4
  --pf-v6-c-date-picker--m-top__calendar--TranslateY: calc(-100% - var(--pf-t--global--spacer--xs));
4
5
  --pf-v6-c-date-picker__helper-text--MarginBlockStart: var(--pf-t--global--spacer--sm);
@@ -1,6 +1,6 @@
1
1
  @use '../../sass-utilities' as *;
2
2
 
3
- :where(:root, .#{$date-picker}) {
3
+ @include pf-root($date-picker) {
4
4
  --#{$date-picker}--m-top__calendar--InsetBlockStart: 0;
5
5
  --#{$date-picker}--m-top__calendar--TranslateY: calc(-100% - var(--pf-t--global--spacer--xs));
6
6
  --#{$date-picker}__helper-text--MarginBlockStart: var(--pf-t--global--spacer--sm);
@@ -1,4 +1,5 @@
1
- :where(:root, .pf-v6-c-description-list) {
1
+ :root,
2
+ .pf-v6-c-description-list {
2
3
  --pf-v6-c-description-list--RowGap: var(--pf-t--global--spacer--lg);
3
4
  --pf-v6-c-description-list--ColumnGap: var(--pf-t--global--spacer--lg);
4
5
  --pf-v6-c-description-list--GridTemplateColumns--count: 1;
@@ -45,32 +46,38 @@
45
46
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width);
46
47
  }
47
48
  @media screen and (min-width: 36rem) {
48
- :where(:root, .pf-v6-c-description-list) {
49
+ :root,
50
+ .pf-v6-c-description-list {
49
51
  --pf-v6-c-description-list__term--Display: var(--pf-v6-c-description-list__term--sm--Display);
50
52
  }
51
53
  }
52
54
  @media (min-width: 36rem) {
53
- :where(:root, .pf-v6-c-description-list) {
55
+ :root,
56
+ .pf-v6-c-description-list {
54
57
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width));
55
58
  }
56
59
  }
57
60
  @media (min-width: 48rem) {
58
- :where(:root, .pf-v6-c-description-list) {
61
+ :root,
62
+ .pf-v6-c-description-list {
59
63
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-md, var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width)));
60
64
  }
61
65
  }
62
66
  @media (min-width: 62rem) {
63
- :where(:root, .pf-v6-c-description-list) {
67
+ :root,
68
+ .pf-v6-c-description-list {
64
69
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v6-c-description-list--m-horizontal__term--width-on-md, var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width))));
65
70
  }
66
71
  }
67
72
  @media (min-width: 75rem) {
68
- :where(:root, .pf-v6-c-description-list) {
73
+ :root,
74
+ .pf-v6-c-description-list {
69
75
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-xl, var(--pf-v6-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v6-c-description-list--m-horizontal__term--width-on-md, var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width)))));
70
76
  }
71
77
  }
72
78
  @media (min-width: 90.625rem) {
73
- :where(:root, .pf-v6-c-description-list) {
79
+ :root,
80
+ .pf-v6-c-description-list {
74
81
  --pf-v6-c-description-list__term--width: var(--pf-v6-c-description-list--m-horizontal__term--width-on-2xl, var(--pf-v6-c-description-list--m-horizontal__term--width-on-xl, var(--pf-v6-c-description-list--m-horizontal__term--width-on-lg, var(--pf-v6-c-description-list--m-horizontal__term--width-on-md, var(--pf-v6-c-description-list--m-horizontal__term--width-on-sm, var(--pf-v6-c-description-list--m-horizontal__term--width))))));
75
82
  }
76
83
  }