@patternfly/patternfly 6.3.0-prerelease.6 → 6.3.0-prerelease.60

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 (168) hide show
  1. package/README.md +22 -14
  2. package/assets/images/icon-help.hbs +3 -0
  3. package/assets/images/icon-outlined-star.hbs +3 -0
  4. package/assets/images/icon-star.hbs +3 -0
  5. package/base/normalize.scss +4 -0
  6. package/base/patternfly-common.css +46 -11
  7. package/base/patternfly-common.scss +58 -13
  8. package/base/patternfly-variables.css +1172 -1
  9. package/base/patternfly-variables.scss +10 -0
  10. package/base/tokens/tokens-charts-dark.scss +1 -1
  11. package/base/tokens/tokens-charts.scss +1 -1
  12. package/base/tokens/tokens-dark.scss +13 -1
  13. package/base/tokens/tokens-default.scss +60 -2
  14. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  15. package/base/tokens/tokens-highcontrast.scss +703 -0
  16. package/base/tokens/tokens-local.scss +1 -0
  17. package/base/tokens/tokens-palette.scss +9 -1
  18. package/components/Accordion/accordion.css +102 -6
  19. package/components/Accordion/accordion.scss +112 -10
  20. package/components/Alert/alert-group.css +67 -33
  21. package/components/Alert/alert-group.scss +95 -48
  22. package/components/Badge/badge.css +2 -0
  23. package/components/Badge/badge.scss +2 -0
  24. package/components/Banner/banner.css +4 -0
  25. package/components/Banner/banner.scss +4 -0
  26. package/components/Button/button.css +187 -9
  27. package/components/Button/button.scss +195 -13
  28. package/components/CalendarMonth/calendar-month.css +16 -0
  29. package/components/CalendarMonth/calendar-month.scss +16 -0
  30. package/components/Card/card.css +5 -4
  31. package/components/Card/card.scss +5 -4
  32. package/components/CodeBlock/code-block.css +3 -0
  33. package/components/CodeBlock/code-block.scss +3 -0
  34. package/components/CodeEditor/code-editor.css +8 -3
  35. package/components/CodeEditor/code-editor.scss +11 -6
  36. package/components/DataList/data-list.css +2 -2
  37. package/components/DataList/data-list.scss +2 -2
  38. package/components/DatePicker/date-picker.css +3 -0
  39. package/components/DatePicker/date-picker.scss +4 -0
  40. package/components/Drawer/drawer.css +44 -41
  41. package/components/Drawer/drawer.scss +42 -36
  42. package/components/DualListSelector/dual-list-selector.css +55 -1
  43. package/components/DualListSelector/dual-list-selector.scss +63 -1
  44. package/components/ExpandableSection/expandable-section.css +63 -1
  45. package/components/ExpandableSection/expandable-section.scss +76 -2
  46. package/components/FileUpload/file-upload.css +3 -3
  47. package/components/FileUpload/file-upload.scss +3 -3
  48. package/components/Form/form.css +40 -1
  49. package/components/Form/form.scss +47 -1
  50. package/components/FormControl/form-control.css +16 -0
  51. package/components/FormControl/form-control.scss +9 -0
  52. package/components/InputGroup/input-group.css +80 -0
  53. package/components/InputGroup/input-group.scss +95 -0
  54. package/components/Label/label.css +20 -11
  55. package/components/Label/label.scss +21 -11
  56. package/components/Login/login.css +3 -0
  57. package/components/Login/login.scss +3 -0
  58. package/components/Menu/menu.css +35 -4
  59. package/components/Menu/menu.scss +32 -6
  60. package/components/MenuToggle/menu-toggle.css +51 -10
  61. package/components/MenuToggle/menu-toggle.scss +61 -9
  62. package/components/ModalBox/modal-box.css +3 -0
  63. package/components/ModalBox/modal-box.scss +3 -0
  64. package/components/Nav/nav.css +39 -8
  65. package/components/Nav/nav.scss +42 -9
  66. package/components/Page/page.css +124 -26
  67. package/components/Page/page.scss +86 -16
  68. package/components/Pagination/pagination.css +14 -1
  69. package/components/Pagination/pagination.scss +14 -1
  70. package/components/Panel/panel.css +7 -1
  71. package/components/Panel/panel.scss +7 -1
  72. package/components/Popover/popover.css +4 -0
  73. package/components/Popover/popover.scss +4 -0
  74. package/components/Progress/progress.css +26 -0
  75. package/components/Progress/progress.scss +22 -1
  76. package/components/ProgressStepper/progress-stepper.scss +1 -0
  77. package/components/SimpleList/simple-list.css +15 -0
  78. package/components/SimpleList/simple-list.scss +17 -1
  79. package/components/Skeleton/skeleton.css +22 -2
  80. package/components/Skeleton/skeleton.scss +25 -3
  81. package/components/Spinner/spinner.css +5 -0
  82. package/components/Spinner/spinner.scss +6 -0
  83. package/components/Table/table-grid.css +51 -5
  84. package/components/Table/table-grid.scss +22 -1
  85. package/components/Table/table.css +124 -2
  86. package/components/Table/table.scss +171 -3
  87. package/components/Tabs/tabs.css +32 -15
  88. package/components/Tabs/tabs.scss +34 -14
  89. package/components/TextInputGroup/text-input-group.css +23 -0
  90. package/components/TextInputGroup/text-input-group.scss +16 -1
  91. package/components/Timestamp/timestamp.css +4 -0
  92. package/components/Timestamp/timestamp.scss +7 -0
  93. package/components/TreeView/tree-view.css +54 -0
  94. package/components/TreeView/tree-view.scss +59 -2
  95. package/components/Truncate/truncate.css +1 -0
  96. package/components/Truncate/truncate.scss +3 -0
  97. package/components/Wizard/wizard.css +33 -6
  98. package/components/Wizard/wizard.scss +38 -8
  99. package/components/_index.css +1390 -195
  100. package/docs/components/Alert/examples/Alert.md +2 -2
  101. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  102. package/docs/components/Button/examples/Button.md +159 -6
  103. package/docs/components/Card/examples/Card.md +8 -8
  104. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +24 -32
  105. package/docs/components/CodeBlock/examples/CodeBlock.md +10 -10
  106. package/docs/components/CodeEditor/examples/CodeEditor.md +29 -5
  107. package/docs/components/DataList/examples/DataList.md +83 -207
  108. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  109. package/docs/components/DualListSelector/examples/DualListSelector.md +642 -319
  110. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  111. package/docs/components/ExpandableSection/examples/ExpandableSection.md +26 -15
  112. package/docs/components/Form/examples/Form.md +1178 -113
  113. package/docs/components/Hint/examples/Hint.md +3 -3
  114. package/docs/components/InlineEdit/examples/InlineEdit.md +2 -6
  115. package/docs/components/InputGroup/examples/InputGroup.md +5 -1
  116. package/docs/components/Label/examples/Label.md +2 -2
  117. package/docs/components/Login/examples/Login.md +22 -22
  118. package/docs/components/Masthead/examples/masthead.md +90 -12
  119. package/docs/components/Menu/examples/Menu.md +122 -6
  120. package/docs/components/MenuToggle/examples/MenuToggle.md +93 -55
  121. package/docs/components/ModalBox/examples/ModalBox.md +13 -1
  122. package/docs/components/OverflowMenu/examples/overflow-menu.md +5 -5
  123. package/docs/components/Page/examples/Page.md +147 -14
  124. package/docs/components/Pagination/examples/Pagination.md +123 -12
  125. package/docs/components/Popover/examples/Popover.md +0 -4
  126. package/docs/components/Progress/examples/Progress.md +222 -210
  127. package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
  128. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  129. package/docs/components/Slider/examples/Slider.md +2 -2
  130. package/docs/components/Spinner/examples/Spinner.md +10 -0
  131. package/docs/components/Table/examples/Table.md +7699 -4896
  132. package/docs/components/Tabs/examples/Tabs.md +1214 -6729
  133. package/docs/components/TextInputGroup/examples/TextInputGroup.md +168 -49
  134. package/docs/components/Title/examples/Title.md +8 -8
  135. package/docs/components/Toolbar/examples/Toolbar.md +7 -7
  136. package/docs/components/Wizard/examples/Wizard.md +583 -0
  137. package/docs/demos/AboutModal/examples/AboutModal.md +22 -3
  138. package/docs/demos/Alert/examples/Alert.md +66 -9
  139. package/docs/demos/BackToTop/examples/BackToTop.md +22 -3
  140. package/docs/demos/Banner/examples/Banner.md +47 -6
  141. package/docs/demos/Card/examples/Card.md +13 -67
  142. package/docs/demos/CardView/examples/CardView.md +24 -5
  143. package/docs/demos/Dashboard/examples/Dashboard.md +34 -27
  144. package/docs/demos/DataList/examples/DataList.md +628 -192
  145. package/docs/demos/DescriptionList/examples/DescriptionList.md +79 -50
  146. package/docs/demos/Drawer/examples/Drawer.md +110 -53
  147. package/docs/demos/Form/examples/BasicForms.md +146 -26
  148. package/docs/demos/JumpLinks/examples/JumpLinks.md +132 -18
  149. package/docs/demos/Masthead/examples/Masthead.md +170 -18
  150. package/docs/demos/Modal/examples/Modal.md +171 -21
  151. package/docs/demos/Nav/examples/Nav.md +111 -16
  152. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +114 -19
  153. package/docs/demos/Page/examples/Page.md +309 -43
  154. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
  155. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +886 -415
  156. package/docs/demos/Skeleton/examples/Skeleton.md +25 -4
  157. package/docs/demos/Table/examples/Table.md +480 -177
  158. package/docs/demos/Tabs/examples/Tabs.md +139 -594
  159. package/docs/demos/Toolbar/examples/Toolbar.md +72 -34
  160. package/docs/demos/Wizard/examples/Wizard.md +198 -27
  161. package/package.json +12 -7
  162. package/patternfly-base-no-globals.css +1217 -12
  163. package/patternfly-base.css +1221 -12
  164. package/patternfly-no-globals.css +2837 -437
  165. package/patternfly.css +2839 -435
  166. package/patternfly.min.css +1 -1
  167. package/patternfly.min.css.map +1 -1
  168. package/sass-utilities/mixins.scss +54 -0
@@ -1,6 +1,9 @@
1
1
  .pf-v6-c-pagination {
2
2
  --pf-v6-c-pagination--inset: 0;
3
3
  --pf-v6-c-pagination--ColumnGap: var(--pf-t--global--spacer--lg);
4
+ --pf-v6-c-pagination--BorderColor: var(--pf-t--global--border--color--high-contrast);
5
+ --pf-v6-c-pagination--BorderBlockStartWidth: 0;
6
+ --pf-v6-c-pagination--BorderBlockEndWidth: 0;
4
7
  --pf-v6-c-pagination--m-page-insets--inset: var(--pf-t--global--spacer--lg);
5
8
  --pf-v6-c-pagination__nav--Display: none;
6
9
  --pf-v6-c-pagination--m-display-summary__nav--Display: none;
@@ -22,14 +25,17 @@
22
25
  --pf-v6-c-pagination--m-sticky--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
23
26
  --pf-v6-c-pagination--m-sticky--ZIndex: var(--pf-t--global--z-index--xs);
24
27
  --pf-v6-c-pagination--m-sticky--InsetBlockStart: 0;
28
+ --pf-v6-c-pagination--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
25
29
  --pf-v6-c-pagination--m-bottom--BackgroundColor: var(--pf-t--global--background--color--primary--default);
26
30
  --pf-v6-c-pagination--m-bottom--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
27
31
  --pf-v6-c-pagination--m-bottom--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
28
32
  --pf-v6-c-pagination--m-bottom--InsetBlockEnd: 0;
33
+ --pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
29
34
  --pf-v6-c-pagination--m-bottom--m-sticky--PaddingBlockStart: var(--pf-t--global--spacer--sm);
30
35
  --pf-v6-c-pagination--m-bottom--m-sticky--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
31
36
  --pf-v6-c-pagination--m-bottom--m-sticky--PaddingInlineStart: var(--pf-t--global--spacer--sm);
32
37
  --pf-v6-c-pagination--m-bottom--m-sticky--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
38
+ --pf-v6-c-pagination--m-bottom--m-sticky--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
33
39
  --pf-v6-c-pagination--m-bottom--m-static--PaddingBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
34
40
  --pf-v6-c-pagination--m-bottom--m-static--PaddingBlockEnd: 0;
35
41
  --pf-v6-c-pagination--m-bottom--m-static--PaddingInlineStart: var(--pf-t--global--spacer--sm);
@@ -44,6 +50,7 @@
44
50
  @media screen and (min-width: 48rem) {
45
51
  .pf-v6-c-pagination {
46
52
  --pf-v6-c-pagination--m-bottom--BoxShadow: none;
53
+ --pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: 0;
47
54
  --pf-v6-c-pagination__page-menu--Display: var(--pf-v6-c-pagination__page-menu--md--Display);
48
55
  --pf-v6-c-pagination__nav--Display: inline-flex;
49
56
  --pf-v6-c-pagination__total-items--Display: none;
@@ -63,6 +70,9 @@
63
70
  justify-content: flex-end;
64
71
  padding-inline-start: var(--pf-v6-c-pagination--inset);
65
72
  padding-inline-end: var(--pf-v6-c-pagination--inset);
73
+ border: 0 solid var(--pf-v6-c-pagination--BorderColor);
74
+ border-block-start-width: var(--pf-v6-c-pagination--BorderBlockStartWidth);
75
+ border-block-end-width: var(--pf-v6-c-pagination--BorderBlockEndWidth);
66
76
  }
67
77
  .pf-v6-c-pagination .pf-v6-c-pagination__page-menu {
68
78
  display: var(--pf-v6-c-pagination__page-menu--Display);
@@ -70,6 +80,7 @@
70
80
  .pf-v6-c-pagination.pf-m-bottom {
71
81
  --pf-v6-c-pagination--m-sticky--BoxShadow: var(--pf-v6-c-pagination--m-bottom--m-sticky--BoxShadow);
72
82
  --pf-v6-c-pagination--m-sticky--InsetBlockStart: auto;
83
+ --pf-v6-c-pagination--BorderBlockStartWidth: var(--pf-v6-c-pagination--m-bottom--BorderBlockStartWidth);
73
84
  position: sticky;
74
85
  inset-block-end: var(--pf-v6-c-pagination--m-bottom--InsetBlockEnd);
75
86
  justify-content: center;
@@ -96,7 +107,6 @@
96
107
  }
97
108
  @media screen and (min-width: 48rem) {
98
109
  .pf-v6-c-pagination.pf-m-bottom {
99
- --pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: 0;
100
110
  --pf-v6-c-pagination--m-bottom--MarginBlockStart: 0;
101
111
  --pf-v6-c-pagination--m-bottom--InsetBlockEnd: auto;
102
112
  position: relative;
@@ -128,10 +138,13 @@
128
138
  padding-block-end: var(--pf-v6-c-pagination--m-bottom--m-static--PaddingBlockEnd);
129
139
  padding-inline-start: var(--pf-v6-c-pagination--m-bottom--m-static--PaddingInlineStart);
130
140
  padding-inline-end: var(--pf-v6-c-pagination--m-bottom--m-static--PaddingInlineEnd);
141
+ border: 0;
131
142
  box-shadow: none;
132
143
  }
133
144
  .pf-v6-c-pagination.pf-m-sticky {
134
145
  --pf-v6-c-pagination--m-bottom--InsetBlockEnd: 0;
146
+ --pf-v6-c-pagination--BorderBlockEndWidth: var(--pf-v6-c-pagination--m-sticky--BorderBlockEndWidth);
147
+ --pf-v6-c-pagination--m-bottom--BorderBlockStartWidth: var(--pf-v6-c-pagination--m-bottom--m-sticky--BorderBlockStartWidth);
135
148
  position: sticky;
136
149
  inset-block-start: var(--pf-v6-c-pagination--m-sticky--InsetBlockStart);
137
150
  z-index: var(--pf-v6-c-pagination--m-sticky--ZIndex);
@@ -6,6 +6,9 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
6
6
  @include pf-root($pagination) {
7
7
  --#{$pagination}--inset: 0;
8
8
  --#{$pagination}--ColumnGap: var(--pf-t--global--spacer--lg);
9
+ --#{$pagination}--BorderColor: var(--pf-t--global--border--color--high-contrast);
10
+ --#{$pagination}--BorderBlockStartWidth: 0;
11
+ --#{$pagination}--BorderBlockEndWidth: 0;
9
12
 
10
13
  // Page insets
11
14
  --#{$pagination}--m-page-insets--inset: var(--pf-t--global--spacer--lg);
@@ -37,16 +40,19 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
37
40
  --#{$pagination}--m-sticky--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
38
41
  --#{$pagination}--m-sticky--ZIndex: var(--pf-t--global--z-index--xs);
39
42
  --#{$pagination}--m-sticky--InsetBlockStart: 0;
43
+ --#{$pagination}--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
40
44
 
41
45
  // bottom
42
46
  --#{$pagination}--m-bottom--BackgroundColor: var(--pf-t--global--background--color--primary--default);
43
47
  --#{$pagination}--m-bottom--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
44
48
  --#{$pagination}--m-bottom--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
45
49
  --#{$pagination}--m-bottom--InsetBlockEnd: 0;
50
+ --#{$pagination}--m-bottom--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
46
51
  --#{$pagination}--m-bottom--m-sticky--PaddingBlockStart: var(--pf-t--global--spacer--sm);
47
52
  --#{$pagination}--m-bottom--m-sticky--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
48
53
  --#{$pagination}--m-bottom--m-sticky--PaddingInlineStart: var(--pf-t--global--spacer--sm);
49
54
  --#{$pagination}--m-bottom--m-sticky--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
55
+ --#{$pagination}--m-bottom--m-sticky--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
50
56
  --#{$pagination}--m-bottom--m-static--PaddingBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
51
57
  --#{$pagination}--m-bottom--m-static--PaddingBlockEnd: 0;
52
58
  --#{$pagination}--m-bottom--m-static--PaddingInlineStart: var(--pf-t--global--spacer--sm);
@@ -62,6 +68,7 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
62
68
 
63
69
  @media screen and (min-width: $pf-v6-global--breakpoint--md) {
64
70
  --#{$pagination}--m-bottom--BoxShadow: none;
71
+ --#{$pagination}--m-bottom--BorderBlockStartWidth: 0;
65
72
  --#{$pagination}__page-menu--Display: var(--#{$pagination}__page-menu--md--Display);
66
73
  --#{$pagination}__nav--Display: inline-flex;
67
74
  --#{$pagination}__total-items--Display: none;
@@ -80,6 +87,9 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
80
87
  justify-content: flex-end;
81
88
  padding-inline-start: var(--#{$pagination}--inset);
82
89
  padding-inline-end: var(--#{$pagination}--inset);
90
+ border: 0 solid var(--#{$pagination}--BorderColor);
91
+ border-block-start-width: var(--#{$pagination}--BorderBlockStartWidth);
92
+ border-block-end-width: var(--#{$pagination}--BorderBlockEndWidth);
83
93
 
84
94
  .#{$pagination}__page-menu {
85
95
  display: var(--#{$pagination}__page-menu--Display);
@@ -88,6 +98,7 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
88
98
  &.pf-m-bottom {
89
99
  --#{$pagination}--m-sticky--BoxShadow: var(--#{$pagination}--m-bottom--m-sticky--BoxShadow);
90
100
  --#{$pagination}--m-sticky--InsetBlockStart: auto;
101
+ --#{$pagination}--BorderBlockStartWidth: var(--#{$pagination}--m-bottom--BorderBlockStartWidth);
91
102
 
92
103
  position: sticky;
93
104
  inset-block-end: var(--#{$pagination}--m-bottom--InsetBlockEnd);
@@ -117,7 +128,6 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
117
128
  }
118
129
 
119
130
  @media screen and (min-width: $pf-v6-global--breakpoint--md) {
120
- --#{$pagination}--m-bottom--BorderBlockStartWidth: 0;
121
131
  --#{$pagination}--m-bottom--MarginBlockStart: 0;
122
132
  --#{$pagination}--m-bottom--InsetBlockEnd: auto;
123
133
 
@@ -155,11 +165,14 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
155
165
  padding-block-end: var(--#{$pagination}--m-bottom--m-static--PaddingBlockEnd);
156
166
  padding-inline-start: var(--#{$pagination}--m-bottom--m-static--PaddingInlineStart);
157
167
  padding-inline-end: var(--#{$pagination}--m-bottom--m-static--PaddingInlineEnd);
168
+ border: 0;
158
169
  box-shadow: none;
159
170
  }
160
171
 
161
172
  &.pf-m-sticky {
162
173
  --#{$pagination}--m-bottom--InsetBlockEnd: 0;
174
+ --#{$pagination}--BorderBlockEndWidth: var(--#{$pagination}--m-sticky--BorderBlockEndWidth);
175
+ --#{$pagination}--m-bottom--BorderBlockStartWidth: var(--#{$pagination}--m-bottom--m-sticky--BorderBlockStartWidth);
163
176
 
164
177
  position: sticky;
165
178
  inset-block-start: var(--#{$pagination}--m-sticky--InsetBlockStart);
@@ -6,11 +6,14 @@
6
6
  --pf-v6-c-panel--BoxShadow: none;
7
7
  --pf-v6-c-panel--BorderRadius: var(--pf-t--global--border--radius--small);
8
8
  --pf-v6-c-panel--before--BorderWidth: 0;
9
- --pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--default);
9
+ --pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--high-contrast);
10
10
  --pf-v6-c-panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
11
+ --pf-v6-c-panel--m-secondary--before--BorderWidth: var(--pf-t--global--border--width--box--default);
11
12
  --pf-v6-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
13
+ --pf-v6-c-panel--m-bordered--before--BorderColor: var(--pf-t--global--border--color--default);
12
14
  --pf-v6-c-panel--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
13
15
  --pf-v6-c-panel--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
16
+ --pf-v6-c-panel--m-raised--before--BorderWidth: var(--pf-t--global--border--width--box--default);
14
17
  --pf-v6-c-panel__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
15
18
  --pf-v6-c-panel__header--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
16
19
  --pf-v6-c-panel__header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
@@ -52,13 +55,16 @@
52
55
  }
53
56
  .pf-v6-c-panel.pf-m-bordered {
54
57
  --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-bordered--before--BorderWidth);
58
+ --pf-v6-c-panel--before--BorderColor: var(--pf-v6-c-panel--m-bordered--before--BorderColor);
55
59
  }
56
60
  .pf-v6-c-panel.pf-m-secondary {
57
61
  --pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-secondary--BackgroundColor);
62
+ --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-secondary--before--BorderWidth);
58
63
  }
59
64
  .pf-v6-c-panel.pf-m-raised {
60
65
  --pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-raised--BackgroundColor);
61
66
  --pf-v6-c-panel--BoxShadow: var(--pf-v6-c-panel--m-raised--BoxShadow);
67
+ --pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-raised--before--BorderWidth);
62
68
  }
63
69
  .pf-v6-c-panel.pf-m-scrollable {
64
70
  --pf-v6-c-panel__main--MaxHeight: var(--pf-v6-c-panel--m-scrollable__main--MaxHeight);
@@ -10,17 +10,20 @@
10
10
 
11
11
  // border
12
12
  --#{$panel}--before--BorderWidth: 0;
13
- --#{$panel}--before--BorderColor: var(--pf-t--global--border--color--default);
13
+ --#{$panel}--before--BorderColor: var(--pf-t--global--border--color--high-contrast);
14
14
 
15
15
  // secondary modifier
16
16
  --#{$panel}--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
17
+ --#{$panel}--m-secondary--before--BorderWidth: var(--pf-t--global--border--width--box--default);
17
18
 
18
19
  // bordered
19
20
  --#{$panel}--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
21
+ --#{$panel}--m-bordered--before--BorderColor: var(--pf-t--global--border--color--default);
20
22
 
21
23
  // raised
22
24
  --#{$panel}--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
23
25
  --#{$panel}--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
26
+ --#{$panel}--m-raised--before--BorderWidth: var(--pf-t--global--border--width--box--default);
24
27
 
25
28
  // header
26
29
  --#{$panel}__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
@@ -73,15 +76,18 @@
73
76
 
74
77
  &.pf-m-bordered {
75
78
  --#{$panel}--before--BorderWidth: var(--#{$panel}--m-bordered--before--BorderWidth);
79
+ --#{$panel}--before--BorderColor: var(--#{$panel}--m-bordered--before--BorderColor);
76
80
  }
77
81
 
78
82
  &.pf-m-secondary {
79
83
  --#{$panel}--BackgroundColor: var(--#{$panel}--m-secondary--BackgroundColor);
84
+ --#{$panel}--before--BorderWidth: var(--#{$panel}--m-secondary--before--BorderWidth);
80
85
  }
81
86
 
82
87
  &.pf-m-raised {
83
88
  --#{$panel}--BackgroundColor: var(--#{$panel}--m-raised--BackgroundColor);
84
89
  --#{$panel}--BoxShadow: var(--#{$panel}--m-raised--BoxShadow);
90
+ --#{$panel}--before--BorderWidth: var(--#{$panel}--m-raised--before--BorderWidth);
85
91
  }
86
92
 
87
93
  &.pf-m-scrollable {
@@ -3,6 +3,8 @@
3
3
  --pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
4
4
  --pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
5
5
  --pf-v6-c-popover--BoxShadow: var(--pf-t--global--box-shadow--md);
6
+ --pf-v6-c-popover--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
7
+ --pf-v6-c-popover--BorderColor: var(--pf-t--global--border--color--high-contrast);
6
8
  --pf-v6-c-popover--BorderRadius: var(--pf-t--global--border--radius--medium);
7
9
  --pf-v6-c-popover--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
8
10
  --pf-v6-c-popover--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
@@ -53,6 +55,7 @@
53
55
  min-width: var(--pf-v6-c-popover--MinWidth);
54
56
  max-width: var(--pf-v6-c-popover--MaxWidth);
55
57
  font-size: var(--pf-v6-c-popover--FontSize);
58
+ border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor);
56
59
  border-radius: var(--pf-v6-c-popover--BorderRadius);
57
60
  box-shadow: var(--pf-v6-c-popover--BoxShadow);
58
61
  }
@@ -167,6 +170,7 @@
167
170
  height: var(--pf-v6-c-popover__arrow--Height);
168
171
  pointer-events: none;
169
172
  background-color: var(--pf-v6-c-popover__arrow--BackgroundColor);
173
+ border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor);
170
174
  box-shadow: var(--pf-v6-c-popover__arrow--BoxShadow);
171
175
  transform: translateX(var(--pf-v6-c-popover__arrow--TranslateX, 0)) translateY(var(--pf-v6-c-popover__arrow--TranslateY, 0)) rotate(var(--pf-v6-c-popover__arrow--Rotate, 0));
172
176
  }
@@ -6,6 +6,8 @@
6
6
  --#{$popover}--MinWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
7
7
  --#{$popover}--MaxWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
8
8
  --#{$popover}--BoxShadow: var(--pf-t--global--box-shadow--md);
9
+ --#{$popover}--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
10
+ --#{$popover}--BorderColor: var(--pf-t--global--border--color--high-contrast);
9
11
  --#{$popover}--BorderRadius: var(--pf-t--global--border--radius--medium);
10
12
 
11
13
 
@@ -73,6 +75,7 @@
73
75
  min-width: var(--#{$popover}--MinWidth);
74
76
  max-width: var(--#{$popover}--MaxWidth);
75
77
  font-size: var(--#{$popover}--FontSize);
78
+ border: var(--#{$popover}--BorderWidth) solid var(--#{$popover}--BorderColor);
76
79
  border-radius: var(--#{$popover}--BorderRadius);
77
80
  box-shadow: var(--#{$popover}--BoxShadow);
78
81
 
@@ -226,6 +229,7 @@
226
229
  height: var(--#{$popover}__arrow--Height);
227
230
  pointer-events: none;
228
231
  background-color: var(--#{$popover}__arrow--BackgroundColor);
232
+ border: var(--#{$popover}--BorderWidth) solid var(--#{$popover}--BorderColor);
229
233
  box-shadow: var(--#{$popover}__arrow--BoxShadow);
230
234
  transform: translateX(var(--#{$popover}__arrow--TranslateX, 0)) translateY(var(--#{$popover}__arrow--TranslateY, 0)) rotate(var(--#{$popover}__arrow--Rotate, 0));
231
235
  }
@@ -3,6 +3,8 @@
3
3
  --pf-v6-c-progress__bar--Height: var(--pf-t--global--spacer--md);
4
4
  --pf-v6-c-progress__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
5
5
  --pf-v6-c-progress__bar--BorderRadius: var(--pf-t--global--border--radius--medium);
6
+ --pf-v6-c-progress__bar--BorderColor: var(--pf-t--global--border--color--high-contrast);
7
+ --pf-v6-c-progress__bar--BorderWidth: var(--pf-t--global--border--width--regular);
6
8
  --pf-v6-c-progress__measure--m-static-width--MinWidth: 4.5ch;
7
9
  --pf-v6-c-progress__status--Gap: var(--pf-t--global--spacer--sm);
8
10
  --pf-v6-c-progress__status-icon--Color: var(--pf-t--global--icon--color--regular);
@@ -106,6 +108,22 @@
106
108
  --pf-v6-c-progress__status-icon--Color: var(--pf-v6-c-progress--m-danger__status-icon--Color);
107
109
  --pf-v6-c-progress--m-inside__measure--Color: var(--pf-v6-c-progress--m-danger--m-inside__measure--Color);
108
110
  }
111
+ @media (prefers-reduced-motion: no-preference) {
112
+ .pf-v6-c-progress.pf-m-danger .pf-v6-c-progress__bar {
113
+ translate: var(--pf-v6-global--danger-jiggle--TranslateX, 0);
114
+ animation-name: pf-v6-global-danger-jiggle-motion;
115
+ animation-duration: var(--pf-v6-global--danger-jiggle--AnimationDuration--Transform);
116
+ animation-timing-function: var(--pf-v6-global--danger-jiggle--AnimationTimingFunction--Transform);
117
+ animation-fill-mode: both;
118
+ }
119
+ }
120
+ .pf-v6-c-progress.pf-m-danger .pf-v6-c-progress__status-icon {
121
+ --pf-v6-c-progress--TransitionDuration--Opacity: var(--pf-t--global--motion--duration--fade--default);
122
+ --pf-v6-c-progress--TransitionTimingFunction--Opacity: var(--pf-t--global--motion--timing-function--default);
123
+ animation-name: pf-v6-global-fade-in;
124
+ animation-duration: var(--pf-v6-c-progress--TransitionDuration--Opacity);
125
+ animation-timing-function: var(--pf-v6-c-progress--TransitionTimingFunction--Opacity);
126
+ }
109
127
 
110
128
  .pf-v6-c-progress__description {
111
129
  grid-column: 1/2;
@@ -148,6 +166,14 @@
148
166
  background-color: var(--pf-v6-c-progress__bar--BackgroundColor);
149
167
  border-radius: var(--pf-v6-c-progress__bar--BorderRadius);
150
168
  }
169
+ .pf-v6-c-progress__bar::before {
170
+ position: absolute;
171
+ inset: 0;
172
+ pointer-events: none;
173
+ content: "";
174
+ border: var(--pf-v6-c-progress__bar--BorderWidth) solid var(--pf-v6-c-progress__bar--BorderColor);
175
+ border-radius: inherit;
176
+ }
151
177
 
152
178
  .pf-v6-c-progress__indicator {
153
179
  position: absolute;
@@ -8,6 +8,8 @@
8
8
  --#{$progress}__bar--Height: var(--pf-t--global--spacer--md);
9
9
  --#{$progress}__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default); // the bar always needs white under it so that the semi-transparent color shows correctly
10
10
  --#{$progress}__bar--BorderRadius: var(--pf-t--global--border--radius--medium);
11
+ --#{$progress}__bar--BorderColor: var(--pf-t--global--border--color--high-contrast);
12
+ --#{$progress}__bar--BorderWidth: var(--pf-t--global--border--width--regular);
11
13
  --#{$progress}__measure--m-static-width--MinWidth: 4.5ch; // 4.5 because the % character is wider than a 0
12
14
  --#{$progress}__status--Gap: var(--pf-t--global--spacer--sm);
13
15
  --#{$progress}__status-icon--Color: var(--pf-t--global--icon--color--regular);
@@ -140,6 +142,16 @@
140
142
  --#{$progress}__indicator--BackgroundColor: var(--#{$progress}--m-danger__indicator--BackgroundColor);
141
143
  --#{$progress}__status-icon--Color: var(--#{$progress}--m-danger__status-icon--Color);
142
144
  --#{$progress}--m-inside__measure--Color: var(--#{$progress}--m-danger--m-inside__measure--Color);
145
+
146
+ .#{$progress}__bar {
147
+ @media (prefers-reduced-motion: no-preference) {
148
+ @include pf-v6-animate-danger-jiggle;
149
+ }
150
+ }
151
+
152
+ .#{$progress}__status-icon {
153
+ @include pf-v6-fade-default(#{$progress});
154
+ }
143
155
  }
144
156
  }
145
157
 
@@ -191,6 +203,15 @@
191
203
  overflow: hidden;
192
204
  background-color: var(--#{$progress}__bar--BackgroundColor);
193
205
  border-radius: var(--#{$progress}__bar--BorderRadius);
206
+
207
+ &::before {
208
+ position: absolute;
209
+ inset: 0;
210
+ pointer-events: none;
211
+ content: '';
212
+ border: var(--#{$progress}__bar--BorderWidth) solid var(--#{$progress}__bar--BorderColor);
213
+ border-radius: inherit;
214
+ }
194
215
  }
195
216
 
196
217
  // the progress__indicator is the part that advances (widens) as progress is made
@@ -209,4 +230,4 @@
209
230
 
210
231
  .#{$progress}__measure {
211
232
  font-variant-numeric: tabular-nums;
212
- }
233
+ }
@@ -442,5 +442,6 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
442
442
  }
443
443
  }
444
444
  }
445
+
445
446
  }
446
447
  // stylelint-enable
@@ -11,6 +11,10 @@
11
11
  --pf-v6-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
12
12
  --pf-v6-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
13
13
  --pf-v6-c-simple-list__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
14
+ --pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
15
+ --pf-v6-c-simple-list__item-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
16
+ --pf-v6-c-simple-list__item-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
17
+ --pf-v6-c-simple-list__item-link--m-current--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
14
18
  --pf-v6-c-simple-list__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
15
19
  --pf-v6-c-simple-list__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
16
20
  --pf-v6-c-simple-list__item-link--m-link--hover--Color: var(--pf-t--global--text--color--link--hover);
@@ -25,6 +29,7 @@
25
29
  }
26
30
 
27
31
  .pf-v6-c-simple-list__item-link {
32
+ position: relative;
28
33
  display: block;
29
34
  width: 100%;
30
35
  padding-block-start: var(--pf-v6-c-simple-list__item-link--PaddingBlockStart);
@@ -39,6 +44,14 @@
39
44
  border: none;
40
45
  border-radius: var(--pf-v6-c-simple-list__item-link--BorderRadius);
41
46
  }
47
+ .pf-v6-c-simple-list__item-link::after {
48
+ position: absolute;
49
+ inset: 0;
50
+ pointer-events: none;
51
+ content: "";
52
+ border: var(--pf-v6-c-simple-list__item-link--BorderWidth) solid var(--pf-v6-c-simple-list__item-link--BorderColor);
53
+ border-radius: inherit;
54
+ }
42
55
  .pf-v6-c-simple-list__item-link.pf-m-link {
43
56
  --pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--m-link--Color);
44
57
  --pf-v6-c-simple-list__item-link--hover--Color: var(--pf-v6-c-simple-list__item-link--m-link--m-current--Color);
@@ -47,11 +60,13 @@
47
60
  .pf-v6-c-simple-list__item-link:is(:hover, :focus) {
48
61
  --pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--hover--BackgroundColor);
49
62
  --pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--hover--Color);
63
+ --pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-v6-c-simple-list__item-link--hover--BorderWidth);
50
64
  text-decoration-line: none;
51
65
  }
52
66
  .pf-v6-c-simple-list__item-link.pf-m-current {
53
67
  --pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--m-current--BackgroundColor);
54
68
  --pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--m-current--Color);
69
+ --pf-v6-c-simple-list__item-link--BorderWidth: var(--pf-v6-c-simple-list__item-link--m-current--BorderWidth);
55
70
  }
56
71
 
57
72
  .pf-v6-c-simple-list__title {
@@ -14,7 +14,11 @@
14
14
  --#{$simple-list}__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
15
15
  --#{$simple-list}__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
16
16
  --#{$simple-list}__item-link--BorderRadius: var(--pf-t--global--border--radius--tiny);
17
-
17
+ --#{$simple-list}__item-link--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
18
+ --#{$simple-list}__item-link--BorderColor: var(--pf-t--global--border--color--high-contrast);
19
+ --#{$simple-list}__item-link--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
20
+ --#{$simple-list}__item-link--m-current--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
21
+
18
22
  // Simple list item link
19
23
  --#{$simple-list}__item-link--m-link--Color: var(--pf-t--global--text--color--link--default);
20
24
  --#{$simple-list}__item-link--m-link--m-current--Color: var(--pf-t--global--text--color--link--hover);
@@ -34,6 +38,7 @@
34
38
  }
35
39
 
36
40
  .#{$simple-list}__item-link {
41
+ position: relative;
37
42
  display: block;
38
43
  width: 100%;
39
44
  padding-block-start: var(--#{$simple-list}__item-link--PaddingBlockStart);
@@ -48,6 +53,15 @@
48
53
  border: none;
49
54
  border-radius: var(--#{$simple-list}__item-link--BorderRadius);
50
55
 
56
+ &::after {
57
+ position: absolute;
58
+ inset: 0;
59
+ pointer-events: none;
60
+ content: "";
61
+ border: var(--#{$simple-list}__item-link--BorderWidth) solid var(--#{$simple-list}__item-link--BorderColor);
62
+ border-radius: inherit;
63
+ }
64
+
51
65
  &.pf-m-link {
52
66
  --#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-link--Color);
53
67
  --#{$simple-list}__item-link--hover--Color: var(--#{$simple-list}__item-link--m-link--m-current--Color);
@@ -57,6 +71,7 @@
57
71
  &:is(:hover, :focus) {
58
72
  --#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--hover--BackgroundColor);
59
73
  --#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--hover--Color);
74
+ --#{$simple-list}__item-link--BorderWidth: var(--#{$simple-list}__item-link--hover--BorderWidth);
60
75
 
61
76
  text-decoration-line: none;
62
77
  }
@@ -64,6 +79,7 @@
64
79
  &.pf-m-current {
65
80
  --#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--m-current--BackgroundColor);
66
81
  --#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-current--Color);
82
+ --#{$simple-list}__item-link--BorderWidth: var(--#{$simple-list}__item-link--m-current--BorderWidth);
67
83
  }
68
84
  }
69
85
 
@@ -11,8 +11,8 @@
11
11
  --pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
12
12
  --pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
13
13
  --pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
14
- --pf-v6-c-skeleton--after--TranslateX: -100%;
15
- --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
14
+ --pf-v6-c-skeleton--after--TranslateX: 0;
15
+ --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading-reduced-motion;
16
16
  --pf-v6-c-skeleton--after--AnimationDuration: 3s;
17
17
  --pf-v6-c-skeleton--after--AnimationIterationCount: infinite;
18
18
  --pf-v6-c-skeleton--after--AnimationTimingFunction: linear;
@@ -44,6 +44,15 @@
44
44
  --pf-v6-c-skeleton--m-height-75--Height: 75%;
45
45
  --pf-v6-c-skeleton--m-height-100--Height: 100%;
46
46
  }
47
+ @media screen and (prefers-reduced-motion: no-preference) {
48
+ .pf-v6-c-skeleton {
49
+ --pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
50
+ --pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
51
+ --pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
52
+ --pf-v6-c-skeleton--after--TranslateX: -100%;
53
+ --pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
54
+ }
55
+ }
47
56
 
48
57
  .pf-v6-c-skeleton {
49
58
  position: relative;
@@ -163,4 +172,15 @@
163
172
  100% {
164
173
  transform: translateX(100%);
165
174
  }
175
+ }
176
+ @keyframes pf-v6-c-skeleton-loading-reduced-motion {
177
+ 0% {
178
+ opacity: 0.25;
179
+ }
180
+ 60% {
181
+ opacity: 1;
182
+ }
183
+ 100% {
184
+ opacity: 0.25;
185
+ }
166
186
  }
@@ -14,15 +14,23 @@
14
14
  // After
15
15
  --#{$skeleton}--after--LinearGradientAngle: 90deg;
16
16
  --#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
17
- --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover); // TODO: replace with new token
17
+ --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
18
18
  --#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
19
- --#{$skeleton}--after--TranslateX: -100%;
20
- --#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
19
+ --#{$skeleton}--after--TranslateX: 0;
20
+ --#{$skeleton}--after--AnimationName: #{$skeleton}-loading-reduced-motion;
21
21
  --#{$skeleton}--after--AnimationDuration: 3s;
22
22
  --#{$skeleton}--after--AnimationIterationCount: infinite;
23
23
  --#{$skeleton}--after--AnimationTimingFunction: linear;
24
24
  --#{$skeleton}--after--AnimationDelay: .5s;
25
25
 
26
+ @media screen and (prefers-reduced-motion: no-preference) {
27
+ --#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
28
+ --#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
29
+ --#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
30
+ --#{$skeleton}--after--TranslateX: -100%;
31
+ --#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
32
+ }
33
+
26
34
  // Circle
27
35
  --#{$skeleton}--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
28
36
  --#{$skeleton}--m-circle--before--PaddingBlockEnd: 100%;
@@ -209,3 +217,17 @@
209
217
  transform: translateX(100%);
210
218
  }
211
219
  }
220
+
221
+ @keyframes #{$skeleton}-loading-reduced-motion {
222
+ 0% {
223
+ opacity: 0.25;
224
+ }
225
+
226
+ 60% {
227
+ opacity: 1;
228
+ }
229
+
230
+ 100% {
231
+ opacity: 0.25;
232
+ }
233
+ }
@@ -8,6 +8,7 @@
8
8
  --pf-v6-c-spinner--StrokeWidth: 10;
9
9
  --pf-v6-c-spinner__path--StrokeWidth: var(--pf-v6-c-spinner--StrokeWidth);
10
10
  --pf-v6-c-spinner__path--AnimationTimingFunction: ease-in-out;
11
+ --pf-v6-c-spinner--m-xs--diameter: var(--pf-t--global--icon--size--sm);
11
12
  --pf-v6-c-spinner--m-sm--diameter: var(--pf-t--global--icon--size--md);
12
13
  --pf-v6-c-spinner--m-md--diameter: var(--pf-t--global--icon--size--lg);
13
14
  --pf-v6-c-spinner--m-lg--diameter: var(--pf-t--global--icon--size--xl);
@@ -24,6 +25,10 @@
24
25
  .pf-v6-c-spinner.pf-m-inline {
25
26
  --pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-inline--diameter);
26
27
  }
28
+ .pf-v6-c-spinner.pf-m-xs {
29
+ --pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-xs--diameter);
30
+ --pf-v6-c-spinner--StrokeWidth: 15;
31
+ }
27
32
  .pf-v6-c-spinner.pf-m-sm {
28
33
  --pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-sm--diameter);
29
34
  }
@@ -14,6 +14,7 @@
14
14
  --#{$spinner}__path--AnimationTimingFunction: ease-in-out;
15
15
 
16
16
  // sizes
17
+ --#{$spinner}--m-xs--diameter: var(--pf-t--global--icon--size--sm);
17
18
  --#{$spinner}--m-sm--diameter: var(--pf-t--global--icon--size--md);
18
19
  --#{$spinner}--m-md--diameter: var(--pf-t--global--icon--size--lg);
19
20
  --#{$spinner}--m-lg--diameter: var(--pf-t--global--icon--size--xl);
@@ -34,6 +35,11 @@
34
35
  --#{$spinner}--diameter: var(--#{$spinner}--m-inline--diameter);
35
36
  }
36
37
 
38
+ &.pf-m-xs {
39
+ --#{$spinner}--diameter: var(--#{$spinner}--m-xs--diameter);
40
+ --#{$spinner}--StrokeWidth: 15;
41
+ }
42
+
37
43
  &.pf-m-sm {
38
44
  --#{$spinner}--diameter: var(--#{$spinner}--m-sm--diameter);
39
45
  }