@patternfly/patternfly 6.3.1 → 6.4.0-prerelease.1

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 (140) hide show
  1. package/README.md +23 -15
  2. package/base/normalize.scss +4 -0
  3. package/base/patternfly-variables.css +1172 -1
  4. package/base/patternfly-variables.scss +10 -0
  5. package/base/tokens/tokens-charts-dark.scss +1 -1
  6. package/base/tokens/tokens-charts.scss +1 -1
  7. package/base/tokens/tokens-dark.scss +13 -1
  8. package/base/tokens/tokens-default.scss +60 -2
  9. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  10. package/base/tokens/tokens-highcontrast.scss +703 -0
  11. package/base/tokens/tokens-local.scss +1 -0
  12. package/base/tokens/tokens-palette.scss +9 -1
  13. package/components/Accordion/accordion.css +42 -15
  14. package/components/Accordion/accordion.scss +48 -18
  15. package/components/Alert/alert-group.css +17 -15
  16. package/components/Alert/alert-group.scss +22 -18
  17. package/components/Badge/badge.css +2 -0
  18. package/components/Badge/badge.scss +2 -0
  19. package/components/Banner/banner.css +4 -0
  20. package/components/Banner/banner.scss +4 -0
  21. package/components/Button/button.css +34 -4
  22. package/components/Button/button.scss +36 -6
  23. package/components/CalendarMonth/calendar-month.css +35 -4
  24. package/components/CalendarMonth/calendar-month.scss +38 -4
  25. package/components/Card/card.css +7 -4
  26. package/components/Card/card.scss +7 -4
  27. package/components/CodeBlock/code-block.css +3 -0
  28. package/components/CodeBlock/code-block.scss +3 -0
  29. package/components/CodeEditor/code-editor.css +23 -3
  30. package/components/CodeEditor/code-editor.scss +28 -5
  31. package/components/DatePicker/date-picker.css +3 -0
  32. package/components/DatePicker/date-picker.scss +4 -0
  33. package/components/Divider/divider.css +2 -0
  34. package/components/Divider/divider.scss +2 -0
  35. package/components/Drawer/drawer.css +46 -41
  36. package/components/Drawer/drawer.scss +45 -36
  37. package/components/DualListSelector/dual-list-selector.css +21 -4
  38. package/components/DualListSelector/dual-list-selector.scss +23 -4
  39. package/components/ExpandableSection/expandable-section.css +6 -2
  40. package/components/ExpandableSection/expandable-section.scss +7 -3
  41. package/components/FormControl/form-control.css +6 -7
  42. package/components/FormControl/form-control.scss +8 -10
  43. package/components/Label/label.css +20 -11
  44. package/components/Label/label.scss +21 -11
  45. package/components/Login/login.css +3 -0
  46. package/components/Login/login.scss +3 -0
  47. package/components/Menu/menu.css +18 -0
  48. package/components/Menu/menu.scss +19 -1
  49. package/components/MenuToggle/menu-toggle.css +13 -6
  50. package/components/MenuToggle/menu-toggle.scss +13 -6
  51. package/components/ModalBox/modal-box.css +3 -0
  52. package/components/ModalBox/modal-box.scss +3 -0
  53. package/components/Nav/nav.css +17 -0
  54. package/components/Nav/nav.scss +20 -0
  55. package/components/Page/page.css +73 -25
  56. package/components/Page/page.scss +60 -19
  57. package/components/Pagination/pagination.css +15 -2
  58. package/components/Pagination/pagination.scss +15 -2
  59. package/components/Panel/panel.css +14 -1
  60. package/components/Panel/panel.scss +14 -1
  61. package/components/Popover/popover.css +4 -0
  62. package/components/Popover/popover.scss +4 -0
  63. package/components/Progress/progress.css +19 -0
  64. package/components/Progress/progress.scss +22 -0
  65. package/components/Sidebar/sidebar.css +7 -0
  66. package/components/Sidebar/sidebar.scss +7 -0
  67. package/components/SimpleList/simple-list.css +15 -0
  68. package/components/SimpleList/simple-list.scss +17 -1
  69. package/components/Slider/slider.css +9 -0
  70. package/components/Slider/slider.scss +9 -0
  71. package/components/Switch/switch.css +7 -1
  72. package/components/Switch/switch.scss +7 -1
  73. package/components/Table/table.css +29 -0
  74. package/components/Table/table.scss +33 -0
  75. package/components/Tabs/tabs.css +18 -7
  76. package/components/Tabs/tabs.scss +19 -11
  77. package/components/TextInputGroup/text-input-group.css +3 -0
  78. package/components/TextInputGroup/text-input-group.scss +4 -1
  79. package/components/ToggleGroup/toggle-group.css +18 -9
  80. package/components/ToggleGroup/toggle-group.scss +24 -17
  81. package/components/Toolbar/toolbar.css +7 -0
  82. package/components/Toolbar/toolbar.scss +7 -0
  83. package/components/TreeView/tree-view.css +15 -0
  84. package/components/TreeView/tree-view.scss +17 -0
  85. package/components/Wizard/wizard.css +37 -6
  86. package/components/Wizard/wizard.scss +44 -10
  87. package/components/_index.css +615 -167
  88. package/docs/components/Alert/examples/Alert.md +3 -4
  89. package/docs/components/Button/examples/Button.md +1 -3
  90. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +25 -33
  91. package/docs/components/CodeBlock/examples/CodeBlock.md +13 -7
  92. package/docs/components/CodeEditor/examples/CodeEditor.md +20 -6
  93. package/docs/components/DataList/examples/DataList.md +66 -184
  94. package/docs/components/DatePicker/examples/DatePicker.md +4 -1
  95. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  96. package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
  97. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  98. package/docs/components/ExpandableSection/examples/ExpandableSection.md +92 -18
  99. package/docs/components/FileUpload/examples/FileUpload.md +4 -3
  100. package/docs/components/Form/examples/Form.md +19 -18
  101. package/docs/components/HelperText/examples/HelperText.md +65 -75
  102. package/docs/components/Hint/examples/Hint.md +3 -3
  103. package/docs/components/Icon/examples/Icon.md +0 -10
  104. package/docs/components/InlineEdit/examples/InlineEdit.md +0 -4
  105. package/docs/components/JumpLinks/examples/JumpLinks.md +164 -77
  106. package/docs/components/Label/examples/Label.md +2 -2
  107. package/docs/components/Login/examples/Login.md +42 -37
  108. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +32 -6
  109. package/docs/components/Pagination/examples/Pagination.md +111 -0
  110. package/docs/components/Popover/examples/Popover.md +0 -4
  111. package/docs/components/Progress/examples/Progress.md +223 -210
  112. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  113. package/docs/components/Table/examples/Table.md +947 -1423
  114. package/docs/components/TextInputGroup/examples/TextInputGroup.md +126 -47
  115. package/docs/components/Title/examples/Title.md +8 -8
  116. package/docs/components/Truncate/examples/Truncate.md +8 -6
  117. package/docs/components/Wizard/examples/Wizard.md +583 -0
  118. package/docs/demos/Alert/examples/Alert.md +28 -19
  119. package/docs/demos/Card/examples/Card.md +8 -5
  120. package/docs/demos/CardView/examples/CardView.md +81 -85
  121. package/docs/demos/Dashboard/examples/Dashboard.md +10 -22
  122. package/docs/demos/DataList/examples/DataList.md +528 -168
  123. package/docs/demos/DescriptionList/examples/DescriptionList.md +13 -3
  124. package/docs/demos/Drawer/examples/Drawer.md +0 -2
  125. package/docs/demos/Form/examples/BasicForms.md +93 -62
  126. package/docs/demos/HelperText/examples/HelperText.md +31 -23
  127. package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -5
  128. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +4 -4
  129. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +56 -38
  130. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
  131. package/docs/demos/Skeleton/examples/Skeleton.md +3 -1
  132. package/docs/demos/Table/examples/Table.md +5 -20
  133. package/docs/demos/Tabs/examples/Tabs.md +2 -1
  134. package/package.json +12 -7
  135. package/patternfly-base-no-globals.css +1172 -1
  136. package/patternfly-base.css +1176 -1
  137. package/patternfly-no-globals.css +1787 -168
  138. package/patternfly.css +1822 -199
  139. package/patternfly.min.css +1 -1
  140. package/patternfly.min.css.map +1 -1
@@ -34,8 +34,12 @@
34
34
  --pf-v6-c-dual-list-selector--m-expanded__list--TranslateY: 0;
35
35
  --pf-v6-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
36
36
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
37
+ --pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
38
+ --pf-v6-c-dual-list-selector__list-item-row--BorderColor: var(--pf-t--global--border--color--high-contrast);
37
39
  --pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
40
+ --pf-v6-c-dual-list-selector__list-item-row--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
38
41
  --pf-v6-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
42
+ --pf-v6-c-dual-list-selector__list-item-row--m-selected--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
39
43
  --pf-v6-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
40
44
  --pf-v6-c-dual-list-selector__list-item--m-ghost-row--Opacity: .4;
41
45
  --pf-v6-c-dual-list-selector__item--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -141,6 +145,7 @@
141
145
  overflow: auto;
142
146
  border: var(--pf-v6-c-dual-list-selector__menu--BorderWidth) solid var(--pf-v6-c-dual-list-selector__menu--BorderColor);
143
147
  border-radius: var(--pf-v6-c-dual-list-selector__menu--BorderRadius);
148
+ outline-offset: 2px;
144
149
  }
145
150
 
146
151
  .pf-v6-c-dual-list-selector__list {
@@ -165,7 +170,7 @@
165
170
  overflow-anchor: none;
166
171
  }
167
172
 
168
- .pf-v6-c-dual-list-selector__list-item:focus {
173
+ .pf-v6-c-dual-list-selector__list-item:focus-visible {
169
174
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor);
170
175
  }
171
176
  .pf-v6-c-dual-list-selector__list-item.pf-m-expandable {
@@ -199,22 +204,34 @@
199
204
  }
200
205
 
201
206
  .pf-v6-c-dual-list-selector__list-item-row {
207
+ position: relative;
202
208
  display: flex;
203
209
  font-size: var(--pf-v6-c-dual-list-selector__list-item-row--FontSize);
204
210
  background-color: var(--pf-v6-c-dual-list-selector__list-item-row--BackgroundColor);
205
211
  }
212
+ .pf-v6-c-dual-list-selector__list-item-row::before {
213
+ position: absolute;
214
+ inset: 0;
215
+ pointer-events: none;
216
+ content: "";
217
+ border-block-start: var(--pf-v6-c-dual-list-selector__list-item-row--BorderWidth) solid var(--pf-v6-c-dual-list-selector__list-item-row--BorderColor);
218
+ border-block-end: var(--pf-v6-c-dual-list-selector__list-item-row--BorderWidth) solid var(--pf-v6-c-dual-list-selector__list-item-row--BorderColor);
219
+ }
206
220
  .pf-v6-c-dual-list-selector__list-item-row.pf-m-selected {
207
221
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--m-selected--BackgroundColor);
222
+ --pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-v6-c-dual-list-selector__list-item-row--m-selected--BorderWidth);
208
223
  }
209
224
  .pf-v6-c-dual-list-selector__list-item-row.pf-m-selected .pf-v6-c-dual-list-selector__item-text {
210
225
  --pf-v6-c-dual-list-selector__item-text--Color: var(--pf-v6-c-dual-list-selector__list-item-row--m-selected__text--Color);
211
226
  font-weight: var(--pf-v6-c-dual-list-selector__list-item-row--m-selected__text--FontWeight);
212
227
  }
213
- .pf-v6-c-dual-list-selector__list-item-row:hover {
228
+ .pf-v6-c-dual-list-selector__list-item-row:hover, .pf-v6-c-dual-list-selector__list-item-row:focus-within {
214
229
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BackgroundColor);
230
+ --pf-v6-c-dual-list-selector__list-item-row--BorderWidth: var(--pf-v6-c-dual-list-selector__list-item-row--hover--BorderWidth);
215
231
  }
216
232
  .pf-v6-c-dual-list-selector__list-item-row.pf-m-check {
217
233
  --pf-v6-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: transparent;
234
+ --pf-v6-c-dual-list-selector__list-item-row--m-selected--BorderWidth: 0;
218
235
  }
219
236
  .pf-v6-c-dual-list-selector__list-item-row.pf-m-ghost-row {
220
237
  --pf-v6-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v6-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor);
@@ -228,7 +245,7 @@
228
245
 
229
246
  .pf-v6-c-dual-list-selector__item,
230
247
  .pf-v6-c-dual-list-selector__item-main {
231
- flex-basis: 100%;
248
+ flex-grow: 1;
232
249
  }
233
250
 
234
251
  .pf-v6-c-dual-list-selector__draggable {
@@ -247,7 +264,7 @@
247
264
 
248
265
  .pf-v6-c-dual-list-selector__item {
249
266
  position: relative;
250
- width: 100%;
267
+ min-width: 0;
251
268
  padding-block-start: var(--pf-v6-c-dual-list-selector__item--PaddingBlockStart);
252
269
  padding-block-end: var(--pf-v6-c-dual-list-selector__item--PaddingBlockEnd);
253
270
  padding-inline-start: var(--pf-v6-c-dual-list-selector__item--PaddingInlineStart);
@@ -57,8 +57,12 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
57
57
  // List item
58
58
  --#{$dual-list-selector}__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
59
59
  --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
60
+ --#{$dual-list-selector}__list-item-row--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
61
+ --#{$dual-list-selector}__list-item-row--BorderColor: var(--pf-t--global--border--color--high-contrast);
60
62
  --#{$dual-list-selector}__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
63
+ --#{$dual-list-selector}__list-item-row--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
61
64
  --#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
65
+ --#{$dual-list-selector}__list-item-row--m-selected--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
62
66
  --#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
63
67
  --#{$dual-list-selector}__list-item--m-ghost-row--Opacity: .4;
64
68
 
@@ -182,6 +186,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
182
186
  overflow: auto;
183
187
  border: var(--#{$dual-list-selector}__menu--BorderWidth) solid var(--#{$dual-list-selector}__menu--BorderColor);
184
188
  border-radius: var(--#{$dual-list-selector}__menu--BorderRadius);
189
+ outline-offset: 2px; // push the focus outline out so that it is not broken by the list item row background
185
190
  }
186
191
 
187
192
  .#{$dual-list-selector}__list {
@@ -212,7 +217,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
212
217
  }
213
218
 
214
219
  .#{$dual-list-selector}__list-item {
215
- &:focus {
220
+ &:focus-visible {
216
221
  --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
217
222
  }
218
223
 
@@ -257,12 +262,23 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
257
262
  }
258
263
 
259
264
  .#{$dual-list-selector}__list-item-row {
265
+ position: relative;
260
266
  display: flex;
261
267
  font-size: var(--#{$dual-list-selector}__list-item-row--FontSize);
262
268
  background-color: var(--#{$dual-list-selector}__list-item-row--BackgroundColor);
263
269
 
270
+ &::before {
271
+ position: absolute;
272
+ inset: 0;
273
+ pointer-events: none;
274
+ content: "";
275
+ border-block-start: var(--#{$dual-list-selector}__list-item-row--BorderWidth) solid var(--#{$dual-list-selector}__list-item-row--BorderColor);
276
+ border-block-end: var(--#{$dual-list-selector}__list-item-row--BorderWidth) solid var(--#{$dual-list-selector}__list-item-row--BorderColor);
277
+ }
278
+
264
279
  &.pf-m-selected {
265
280
  --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor);
281
+ --#{$dual-list-selector}__list-item-row--BorderWidth: var(--#{$dual-list-selector}__list-item-row--m-selected--BorderWidth);
266
282
 
267
283
  .#{$dual-list-selector}__item-text {
268
284
  --#{$dual-list-selector}__item-text--Color: var(--#{$dual-list-selector}__list-item-row--m-selected__text--Color);
@@ -271,12 +287,15 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
271
287
  }
272
288
  }
273
289
 
274
- &:hover {
290
+ &:hover,
291
+ &:focus-within {
275
292
  --#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
293
+ --#{$dual-list-selector}__list-item-row--BorderWidth: var(--#{$dual-list-selector}__list-item-row--hover--BorderWidth);
276
294
  }
277
295
 
278
296
  &.pf-m-check {
279
297
  --#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: transparent;
298
+ --#{$dual-list-selector}__list-item-row--m-selected--BorderWidth: 0;
280
299
  }
281
300
 
282
301
  &.pf-m-ghost-row {
@@ -293,7 +312,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
293
312
 
294
313
  .#{$dual-list-selector}__item,
295
314
  .#{$dual-list-selector}__item-main {
296
- flex-basis: 100%;
315
+ flex-grow: 1;
297
316
  }
298
317
 
299
318
  .#{$dual-list-selector}__draggable {
@@ -316,7 +335,7 @@ $pf-v6-c-dual-list-selector__item--MaxNesting: 10;
316
335
 
317
336
  .#{$dual-list-selector}__item {
318
337
  position: relative;
319
- width: 100%;
338
+ min-width: 0;
320
339
  padding-block-start: var(--#{$dual-list-selector}__item--PaddingBlockStart);
321
340
  padding-block-end: var(--#{$dual-list-selector}__item--PaddingBlockEnd);
322
341
  padding-inline-start: var(--#{$dual-list-selector}__item--PaddingInlineStart);
@@ -19,6 +19,7 @@
19
19
  --pf-v6-c-expandable-section__content--TransitionDelay--hide: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
20
20
  --pf-v6-c-expandable-section__content--Opacity: 0;
21
21
  --pf-v6-c-expandable-section__content--TranslateY: 0;
22
+ --pf-v6-c-expandable-section__content--PaddingInlineStart: 0;
22
23
  --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: 0;
23
24
  --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
24
25
  --pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
@@ -66,6 +67,7 @@
66
67
  --pf-v6-c-expandable-section__content--Opacity: var(--pf-v6-c-expandable-section--m-expanded__content--Opacity);
67
68
  --pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expanded__content--TranslateY);
68
69
  --pf-v6-c-expandable-section__content--Visibility: auto;
70
+ --pf-v6-c-expandable-section__content--Overflow: visible;
69
71
  --pf-v6-c-expandable-section__content--MaxHeight: 99999px;
70
72
  --pf-v6-c-expandable-section__content--TransitionDelay--hide: 0s;
71
73
  gap: var(--pf-v6-c-expandable-section--Gap);
@@ -101,6 +103,7 @@
101
103
  }
102
104
  .pf-v6-c-expandable-section.pf-m-truncate {
103
105
  --pf-v6-c-expandable-section--Gap: var(--pf-v6-c-expandable-section--m-truncate--Gap);
106
+ --pf-v6-c-expandable-section__content--TransitionDelay--hide: 0s;
104
107
  }
105
108
  .pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
106
109
  display: -webkit-box;
@@ -127,13 +130,14 @@
127
130
  .pf-v6-c-expandable-section__content {
128
131
  max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
129
132
  padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
130
- padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
133
+ padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart);
131
134
  }
132
135
  .pf-v6-c-expandable-section__content:where([hidden]) {
133
136
  display: revert;
134
137
  }
135
- .pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) .pf-v6-c-expandable-section__content {
138
+ .pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) > .pf-v6-c-expandable-section__content {
136
139
  max-height: var(--pf-v6-c-expandable-section__content--MaxHeight, 0);
140
+ overflow: var(--pf-v6-c-expandable-section__content--Overflow, hidden);
137
141
  visibility: var(--pf-v6-c-expandable-section__content--Visibility, hidden);
138
142
  opacity: var(--pf-v6-c-expandable-section__content--Opacity);
139
143
  transition-delay: 0s, 0s, var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s), var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s);
@@ -23,6 +23,7 @@
23
23
  --#{$expandable-section}__content--TransitionDelay--hide: var(--#{$expandable-section}__content--TransitionDuration--fade);
24
24
  --#{$expandable-section}__content--Opacity: 0;
25
25
  --#{$expandable-section}__content--TranslateY: 0;
26
+ --#{$expandable-section}__content--PaddingInlineStart: 0;
26
27
  --#{$expandable-section}--m-expand-top__content--TranslateY: 0;
27
28
  --#{$expandable-section}--m-expand-bottom__content--TranslateY: 0;
28
29
  --#{$expandable-section}--m-expanded__content--Opacity: 1;
@@ -79,6 +80,7 @@
79
80
  --#{$expandable-section}__content--Opacity: var(--#{$expandable-section}--m-expanded__content--Opacity);
80
81
  --#{$expandable-section}__content--TranslateY: var(--#{$expandable-section}--m-expanded__content--TranslateY);
81
82
  --#{$expandable-section}__content--Visibility: auto;
83
+ --#{$expandable-section}__content--Overflow: visible;
82
84
  --#{$expandable-section}__content--MaxHeight: 99999px;
83
85
  --#{$expandable-section}__content--TransitionDelay--hide: 0s;
84
86
 
@@ -128,6 +130,7 @@
128
130
 
129
131
  &.pf-m-truncate {
130
132
  --#{$expandable-section}--Gap: var(--#{$expandable-section}--m-truncate--Gap);
133
+ --#{$expandable-section}__content--TransitionDelay--hide: 0s;
131
134
 
132
135
  &:not(.pf-m-expanded) .#{$expandable-section}__content {
133
136
  // stylelint-disable
@@ -156,15 +159,16 @@
156
159
 
157
160
  .#{$expandable-section}__content {
158
161
  max-width: var(--#{$expandable-section}__content--MaxWidth);
159
- padding-block-end: var(--#{$expandable-section}__content--PaddingBlockEnd, 0);
160
- padding-inline-start: var(--#{$expandable-section}__content--PaddingInlineStart, 0);
162
+ padding-block-end: var(--#{$expandable-section}__content--PaddingBlockEnd, 0); // TODO remove in breaking change
163
+ padding-inline-start: var(--#{$expandable-section}__content--PaddingInlineStart);
161
164
 
162
165
  &:where([hidden]) {
163
166
  display: revert;
164
167
  }
165
168
 
166
- .#{$expandable-section}:where(:not(.pf-m-truncate)) & {
169
+ .#{$expandable-section}:where(:not(.pf-m-truncate)) > & {
167
170
  max-height: var(--#{$expandable-section}__content--MaxHeight, 0);
171
+ overflow: var(--#{$expandable-section}__content--Overflow, hidden);
168
172
  visibility: var(--#{$expandable-section}__content--Visibility, hidden);
169
173
  opacity: var(--#{$expandable-section}__content--Opacity);
170
174
  transition-delay: 0s, 0s, var(--#{$expandable-section}__content--TransitionDelay--hide, 0s), var(--#{$expandable-section}__content--TransitionDelay--hide, 0s);
@@ -158,6 +158,12 @@
158
158
  .pf-v6-c-form-control > :is(input, select) {
159
159
  text-overflow: ellipsis;
160
160
  }
161
+ .pf-v6-c-form-control > select {
162
+ background-color: var(--pf-v6-c-form-control--BackgroundColor);
163
+ }
164
+ .pf-v6-c-form-control > select * {
165
+ color: var(--pf-v6-c-form-control--Color);
166
+ }
161
167
  .pf-v6-c-form-control:has(input) {
162
168
  --pf-v6-c-form-control--PaddingBlockStart: var(--pf-v6-c-form-control__input--PaddingBlockStart);
163
169
  --pf-v6-c-form-control--PaddingBlockEnd: var(--pf-v6-c-form-control__input--PaddingBlockEnd);
@@ -303,17 +309,10 @@
303
309
  --pf-v6-c-form-control--PaddingInlineStart: var(--pf-v6-c-form-control__select--PaddingInlineStart);
304
310
  --pf-v6-c-form-control--PaddingInlineEnd: calc(var(--pf-v6-c-form-control__select--PaddingInlineEnd) + var(--pf-v6-c-form-control__icon--FontSize));
305
311
  --pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
306
- background-color: var(--pf-v6-c-form-control--BackgroundColor);
307
312
  }
308
313
  .pf-v6-c-form-control:has(select) .pf-v6-c-form-control__utilities {
309
314
  padding-inline-end: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
310
315
  }
311
- @-moz-document url-prefix() {
312
- .pf-v6-c-form-control:has(select) {
313
- --pf-v6-c-form-control--PaddingInlineEnd: calc(var(--pf-v6-c-form-control__select--PaddingInlineEnd) - 1px);
314
- --pf-v6-c-form-control--PaddingInlineStart: calc(var(--pf-v6-c-form-control__select--PaddingInlineStart) - 4px);
315
- }
316
- }
317
316
  .pf-v6-c-form-control.pf-m-placeholder > select {
318
317
  --pf-v6-c-form-control--Color: var(--pf-v6-c-form-control--m-placeholder--Color);
319
318
  }
@@ -205,6 +205,14 @@
205
205
  text-overflow: ellipsis;
206
206
  }
207
207
 
208
+ > select {
209
+ background-color: var(--#{$form-control}--BackgroundColor); // needed for OS/browser combos where dark theme styles aren't applied properly. DO NOT REMOVE!
210
+
211
+ * {
212
+ color: var(--#{$form-control}--Color); // needed for OS/browser combos where dark theme styles aren't applied properly. DO NOT REMOVE!
213
+ }
214
+ }
215
+
208
216
  @at-root .#{$form-control} {
209
217
  &:has(input) {
210
218
  --#{$form-control}--PaddingBlockStart: var(--#{$form-control}__input--PaddingBlockStart);
@@ -386,16 +394,6 @@
386
394
  & .#{$form-control}__utilities {
387
395
  padding-inline-end: var(--#{$form-control}__utilities--select--PaddingInlineEnd);
388
396
  }
389
-
390
- // Firefox's select text has additional padding
391
- // stylelint-disable-next-line
392
- @-moz-document url-prefix() {
393
- --#{$form-control}--PaddingInlineEnd: calc(var(--#{$form-control}__select--PaddingInlineEnd) - 1px);
394
- --#{$form-control}--PaddingInlineStart: calc(var(--#{$form-control}__select--PaddingInlineStart) - 4px);
395
- }
396
-
397
- // We need this property for certain Linux distros/non-Mac OS where dark theme styles aren't applied properly.
398
- background-color: var(--#{$form-control}--BackgroundColor);
399
397
  }
400
398
 
401
399
  &.pf-m-placeholder > select {
@@ -5,10 +5,11 @@
5
5
  --pf-v6-c-label--PaddingInlineStart: var(--pf-t--global--spacer--sm);
6
6
  --pf-v6-c-label--MaxWidth: 100%;
7
7
  --pf-v6-c-label--MinWidth: calc((var(--pf-v6-c-label--FontSize) * var(--pf-t--global--font--line-height--body) + var(--pf-v6-c-label--PaddingBlockStart) + var(--pf-v6-c-label--PaddingBlockEnd)));
8
- --pf-v6-c-label--BorderWidth: 0;
9
- --pf-v6-c-label--BorderColor: transparent;
8
+ --pf-v6-c-label--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
9
+ --pf-v6-c-label--BorderColor: var(--pf-t--global--border--color--high-contrast);
10
10
  --pf-v6-c-label--BorderRadius: var(--pf-t--global--border--radius--pill);
11
11
  --pf-v6-c-label--FontSize: var(--pf-t--global--font--size--body--sm);
12
+ --pf-v6-c-label--Gap: var(--pf-t--global--spacer--gap--text-to-element--compact);
12
13
  --pf-v6-c-label--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
13
14
  --pf-v6-c-label--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
14
15
  --pf-v6-c-label__icon--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
@@ -131,8 +132,8 @@
131
132
  --pf-v6-c-label--m-custom--m-outline--BorderColor: var(--pf-t--global--border--color--status--custom--default);
132
133
  --pf-v6-c-label--m-custom--m-outline--m-clickable--hover--BorderColor: var(--pf-t--global--border--color--status--custom--hover);
133
134
  --pf-v6-c-label--m-custom--m-outline--m-clickable--hover__icon--Color: var(--pf-t--global--icon--color--status--custom--hover);
134
- --pf-v6-c-label--m-clickable--hover--BorderWidth: 0;
135
- --pf-v6-c-label--m-clickable--hover--BorderColor: transparent;
135
+ --pf-v6-c-label--m-clickable--hover--BorderWidth: var(--pf-t--global--border--width--action--hover);
136
+ --pf-v6-c-label--m-clickable--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
136
137
  --pf-v6-c-label--m-clickable__content--Cursor: pointer;
137
138
  --pf-v6-c-label--m-filled__actions--c-button__icon--Color: var(--pf-v6-c-label__icon--Color);
138
139
  --pf-v6-c-label--m-outline--BorderWidth: var(--pf-t--global--border--width--action--default);
@@ -145,8 +146,10 @@
145
146
  --pf-v6-c-label--m-outline--m-clickable--hover__icon--Color: var(--pf-t--global--icon--color--regular);
146
147
  --pf-v6-c-label--m-overflow--Color: var(--pf-t--global--text--color--brand--default);
147
148
  --pf-v6-c-label--m-overflow--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
149
+ --pf-v6-c-label--m-overflow--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
148
150
  --pf-v6-c-label--m-overflow--hover--Color: var(--pf-t--global--text--color--brand--hover);
149
151
  --pf-v6-c-label--m-overflow--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
152
+ --pf-v6-c-label--m-overflow--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
150
153
  --pf-v6-c-label--m-add--Color: var(--pf-t--global--text--color--brand--default);
151
154
  --pf-v6-c-label--m-add--BackgroundColor: transparent;
152
155
  --pf-v6-c-label--m-add--BorderColor: var(--pf-t--global--border--color--default);
@@ -167,15 +170,15 @@
167
170
  --pf-v6-c-label__content--Cursor: initial;
168
171
  --pf-v6-c-label__icon--FontSize: var(--pf-t--global--icon--size--font--body--sm);
169
172
  --pf-v6-c-label__text--MaxWidth: 100%;
170
- --pf-v6-c-label__actions--MarginInlineEnd: calc(var(--pf-v6-c-label__actions--c-button--PaddingInlineEnd) * -1);
173
+ --pf-v6-c-label__actions--MarginInlineEnd: 0;
171
174
  --pf-v6-c-label__actions--c-button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
172
175
  --pf-v6-c-label__actions--c-button--OutlineOffset: -0.1875rem;
173
- --pf-v6-c-label__actions--c-button--MarginBlockStart: calc(var(--pf-v6-c-label__actions--c-button--PaddingBlockStart) * -1);
174
- --pf-v6-c-label__actions--c-button--MarginBlockEnd: calc(var(--pf-v6-c-label__actions--c-button--PaddingBlockEnd) * -1);
175
- --pf-v6-c-label__actions--c-button--PaddingBlockStart: var(--pf-t--global--spacer--xs);
176
- --pf-v6-c-label__actions--c-button--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
177
- --pf-v6-c-label__actions--c-button--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
178
- --pf-v6-c-label__actions--c-button--PaddingInlineStart: var(--pf-t--global--spacer--xs);
176
+ --pf-v6-c-label__actions--c-button--MarginBlockStart: 0;
177
+ --pf-v6-c-label__actions--c-button--MarginBlockEnd: 0;
178
+ --pf-v6-c-label__actions--c-button--PaddingBlockStart: 0;
179
+ --pf-v6-c-label__actions--c-button--PaddingInlineEnd: 0;
180
+ --pf-v6-c-label__actions--c-button--PaddingBlockEnd: 0;
181
+ --pf-v6-c-label__actions--c-button--PaddingInlineStart: 0;
179
182
  --pf-v6-c-label--m-editable--TextDecorationLine: var(--pf-t--global--text-decoration--editable-text--line--default);
180
183
  --pf-v6-c-label--m-editable--TextDecorationStyle: var(--pf-t--global--text-decoration--editable-text--style--default);
181
184
  --pf-v6-c-label--m-editable--hover--TextDecorationLine: var(--pf-t--global--text-decoration--editable-text--line--hover);
@@ -195,6 +198,7 @@
195
198
 
196
199
  .pf-v6-c-label {
197
200
  position: relative;
201
+ gap: var(--pf-v6-c-label--Gap);
198
202
  min-width: var(--pf-v6-c-label--MinWidth);
199
203
  max-width: var(--pf-v6-c-label--MaxWidth);
200
204
  padding-block-start: var(--pf-v6-c-label--PaddingBlockStart);
@@ -394,10 +398,12 @@
394
398
  .pf-v6-c-label.pf-m-overflow {
395
399
  --pf-v6-c-label--Color: var(--pf-v6-c-label--m-overflow--Color);
396
400
  --pf-v6-c-label--BackgroundColor: var(--pf-v6-c-label--m-overflow--BackgroundColor);
401
+ --pf-v6-c-label--BorderWidth: var(--pf-v6-c-label--m-overflow--BorderWidth);
397
402
  }
398
403
  .pf-v6-c-label.pf-m-overflow:is(:hover, :focus) {
399
404
  --pf-v6-c-label--m-overflow--Color: var(--pf-v6-c-label--m-overflow--hover--Color);
400
405
  --pf-v6-c-label--m-overflow--BackgroundColor: var(--pf-v6-c-label--m-overflow--hover--BackgroundColor);
406
+ --pf-v6-c-label--m-overflow--BorderWidth: var(--pf-v6-c-label--m-overflow--hover--BorderWidth);
401
407
  }
402
408
  .pf-v6-c-label.pf-m-add {
403
409
  --pf-v6-c-label--Color: var(--pf-v6-c-label--m-add--Color);
@@ -496,4 +502,7 @@ input.pf-v6-c-label__content {
496
502
  margin-block-start: var(--pf-v6-c-label__actions--c-button--MarginBlockStart);
497
503
  margin-block-end: var(--pf-v6-c-label__actions--c-button--MarginBlockEnd);
498
504
  outline-offset: var(--pf-v6-c-label__actions--c-button--OutlineOffset);
505
+ }
506
+ .pf-v6-c-label.pf-m-compact .pf-v6-c-label__actions .pf-v6-c-button {
507
+ --pf-v6-c-button--m-plain--m-no-padding--after--Inset: 0 calc(-0.125rem);
499
508
  }
@@ -7,10 +7,11 @@
7
7
  --#{$label}--PaddingInlineStart: var(--pf-t--global--spacer--sm);
8
8
  --#{$label}--MaxWidth: 100%;
9
9
  --#{$label}--MinWidth: calc((var(--#{$label}--FontSize) * var(--pf-t--global--font--line-height--body) + var(--#{$label}--PaddingBlockStart) + var(--#{$label}--PaddingBlockEnd)));
10
- --#{$label}--BorderWidth: 0;
11
- --#{$label}--BorderColor: transparent;
10
+ --#{$label}--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
11
+ --#{$label}--BorderColor: var(--pf-t--global--border--color--high-contrast);
12
12
  --#{$label}--BorderRadius: var(--pf-t--global--border--radius--pill);
13
13
  --#{$label}--FontSize: var(--pf-t--global--font--size--body--sm);
14
+ --#{$label}--Gap: var(--pf-t--global--spacer--gap--text-to-element--compact);
14
15
 
15
16
  // Gray (default)
16
17
  --#{$label}--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
@@ -163,8 +164,8 @@
163
164
  --#{$label}--m-custom--m-outline--m-clickable--hover__icon--Color: var(--pf-t--global--icon--color--status--custom--hover);
164
165
 
165
166
  // Clickable
166
- --#{$label}--m-clickable--hover--BorderWidth: 0;
167
- --#{$label}--m-clickable--hover--BorderColor: transparent;
167
+ --#{$label}--m-clickable--hover--BorderWidth: var(--pf-t--global--border--width--action--hover);
168
+ --#{$label}--m-clickable--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
168
169
  --#{$label}--m-clickable__content--Cursor: pointer;
169
170
 
170
171
  // Filled
@@ -183,8 +184,10 @@
183
184
  // Overflow
184
185
  --#{$label}--m-overflow--Color: var(--pf-t--global--text--color--brand--default);
185
186
  --#{$label}--m-overflow--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
187
+ --#{$label}--m-overflow--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
186
188
  --#{$label}--m-overflow--hover--Color: var(--pf-t--global--text--color--brand--hover);
187
189
  --#{$label}--m-overflow--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
190
+ --#{$label}--m-overflow--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
188
191
 
189
192
  // Add
190
193
  --#{$label}--m-add--Color: var(--pf-t--global--text--color--brand--default);
@@ -217,17 +220,17 @@
217
220
  --#{$label}__text--MaxWidth: 100%;
218
221
 
219
222
  // Actions
220
- --#{$label}__actions--MarginInlineEnd: calc(var(--#{$label}__actions--c-button--PaddingInlineEnd) * -1);
223
+ --#{$label}__actions--MarginInlineEnd: 0; // TODO - remove in breaking change
221
224
 
222
225
  // Actions button (close)
223
226
  --#{$label}__actions--c-button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
224
227
  --#{$label}__actions--c-button--OutlineOffset: #{pf-size-prem(-3px)};
225
- --#{$label}__actions--c-button--MarginBlockStart: calc(var(--#{$label}__actions--c-button--PaddingBlockStart) * -1);
226
- --#{$label}__actions--c-button--MarginBlockEnd: calc(var(--#{$label}__actions--c-button--PaddingBlockEnd) * -1);
227
- --#{$label}__actions--c-button--PaddingBlockStart: var(--pf-t--global--spacer--xs);
228
- --#{$label}__actions--c-button--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
229
- --#{$label}__actions--c-button--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
230
- --#{$label}__actions--c-button--PaddingInlineStart: var(--pf-t--global--spacer--xs);
228
+ --#{$label}__actions--c-button--MarginBlockStart: 0; // TODO - remove in breaking change
229
+ --#{$label}__actions--c-button--MarginBlockEnd: 0; // TODO - remove in breaking change
230
+ --#{$label}__actions--c-button--PaddingBlockStart: 0; // TODO - remove in breaking change
231
+ --#{$label}__actions--c-button--PaddingInlineEnd: 0; // TODO - remove in breaking change
232
+ --#{$label}__actions--c-button--PaddingBlockEnd: 0; // TODO - remove in breaking change
233
+ --#{$label}__actions--c-button--PaddingInlineStart: 0; // TODO - remove in breaking change
231
234
 
232
235
  // Editable
233
236
  --#{$label}--m-editable--TextDecorationLine: var(--pf-t--global--text-decoration--editable-text--line--default);
@@ -253,6 +256,7 @@
253
256
 
254
257
  .#{$label} {
255
258
  position: relative;
259
+ gap: var(--#{$label}--Gap);
256
260
  min-width: var(--#{$label}--MinWidth);
257
261
  max-width: var(--#{$label}--MaxWidth);
258
262
  padding-block-start: var(--#{$label}--PaddingBlockStart);
@@ -474,10 +478,12 @@
474
478
  &.pf-m-overflow {
475
479
  --#{$label}--Color: var(--#{$label}--m-overflow--Color);
476
480
  --#{$label}--BackgroundColor: var(--#{$label}--m-overflow--BackgroundColor);
481
+ --#{$label}--BorderWidth: var(--#{$label}--m-overflow--BorderWidth);
477
482
 
478
483
  &:is(:hover, :focus) {
479
484
  --#{$label}--m-overflow--Color: var(--#{$label}--m-overflow--hover--Color);
480
485
  --#{$label}--m-overflow--BackgroundColor: var(--#{$label}--m-overflow--hover--BackgroundColor);
486
+ --#{$label}--m-overflow--BorderWidth: var(--#{$label}--m-overflow--hover--BorderWidth);
481
487
  }
482
488
  }
483
489
 
@@ -582,6 +588,10 @@
582
588
  margin-inline-end: var(--#{$label}__actions--MarginInlineEnd);
583
589
 
584
590
  .#{$button} {
591
+ @at-root .#{$label}.pf-m-compact & {
592
+ --#{$button}--m-plain--m-no-padding--after--Inset: 0 calc(#{pf-size-prem(2px) * -1});
593
+ }
594
+
585
595
  --#{$button}--FontSize: var(--#{$label}__actions--c-button--FontSize);
586
596
  --#{$button}--m-plain--m-no-padding--PaddingBlockStart: var(--#{$label}__actions--c-button--PaddingBlockStart);
587
597
  --#{$button}--m-plain--m-no-padding--PaddingInlineEnd: var(--#{$label}__actions--c-button--PaddingInlineEnd);
@@ -17,6 +17,8 @@
17
17
  --pf-v6-c-login__main--BackgroundColor: var(--pf-t--global--background--color--primary--default);
18
18
  --pf-v6-c-login__main--MarginBlockEnd: var(--pf-t--global--spacer--lg);
19
19
  --pf-v6-c-login__main--BorderRadius: var(--pf-t--global--border--radius--large);
20
+ --pf-v6-c-login__main--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
21
+ --pf-v6-c-login__main--BorderColor: var(--pf-t--global--border--color--high-contrast);
20
22
  --pf-v6-c-login__main-header--PaddingBlockStart: var(--pf-t--global--spacer--2xl);
21
23
  --pf-v6-c-login__main-header--PaddingInlineEnd: var(--pf-t--global--spacer--xl);
22
24
  --pf-v6-c-login__main-header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
@@ -148,6 +150,7 @@
148
150
  align-self: start;
149
151
  margin-block-end: var(--pf-v6-c-login__main--MarginBlockEnd);
150
152
  background-color: var(--pf-v6-c-login__main--BackgroundColor);
153
+ border: var(--pf-v6-c-login__main--BorderWidth) solid var(--pf-v6-c-login__main--BorderColor);
151
154
  border-radius: var(--pf-v6-c-login__main--BorderRadius);
152
155
  }
153
156
  .pf-v6-c-login__main > :first-child:not(.pf-v6-c-login__main-header) {
@@ -40,6 +40,8 @@
40
40
  --#{$login}__main--BackgroundColor: var(--pf-t--global--background--color--primary--default);
41
41
  --#{$login}__main--MarginBlockEnd: var(--pf-t--global--spacer--lg);
42
42
  --#{$login}__main--BorderRadius: var(--pf-t--global--border--radius--large);
43
+ --#{$login}__main--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
44
+ --#{$login}__main--BorderColor: var(--pf-t--global--border--color--high-contrast);
43
45
 
44
46
  @media (min-width: $pf-v6-global--breakpoint--xl) {
45
47
  --#{$login}__main--MarginBlockEnd: 0;
@@ -163,6 +165,7 @@
163
165
  align-self: start;
164
166
  margin-block-end: var(--#{$login}__main--MarginBlockEnd);
165
167
  background-color: var(--#{$login}__main--BackgroundColor);
168
+ border: var(--#{$login}__main--BorderWidth) solid var(--#{$login}__main--BorderColor);
166
169
  border-radius: var(--#{$login}__main--BorderRadius);
167
170
 
168
171
  // If the first child isn't a header, then we need to put the header's top padding there
@@ -7,6 +7,8 @@
7
7
  --pf-v6-c-menu--BackgroundColor: var(--pf-t--global--background--color--floating--default);
8
8
  --pf-v6-c-menu--BoxShadow: var(--pf-t--global--box-shadow--md);
9
9
  --pf-v6-c-menu--Color: var(--pf-t--global--text--color--regular);
10
+ --pf-v6-c-menu--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
11
+ --pf-v6-c-menu--BorderColor: var(--pf-t--global--border--color--high-contrast);
10
12
  --pf-v6-c-menu--BorderRadius: var(--pf-t--global--border--radius--small);
11
13
  --pf-v6-c-menu--OutlineOffset: calc(var(--pf-t--global--border--width--control--default) * -3);
12
14
  --pf-v6-c-menu--ZIndex: var(--pf-t--global--z-index--sm);
@@ -24,9 +26,16 @@
24
26
  --pf-v6-c-menu__search--PaddingInlineStart: var(--pf-t--global--spacer--md);
25
27
  --pf-v6-c-menu__search--PaddingInlineEnd: var(--pf-t--global--spacer--md);
26
28
  --pf-v6-c-menu__footer--BoxShadow: none;
29
+ --pf-v6-c-menu__footer--BorderColor: transparent;
30
+ --pf-v6-c-menu__footer--BorderWidth: 0;
27
31
  --pf-v6-c-menu--m-scrollable__footer--BoxShadow: var(--pf-t--global--box-shadow--md--top);
32
+ --pf-v6-c-menu--m-scrollable__footer--BorderColor: var(--pf-t--global--border--color--high-contrast);
33
+ --pf-v6-c-menu--m-scrollable__footer--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
28
34
  --pf-v6-c-menu__list-item--Color: var(--pf-t--global--text--color--regular);
29
35
  --pf-v6-c-menu__list-item--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
36
+ --pf-v6-c-menu__list-item--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
37
+ --pf-v6-c-menu__list-item--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
38
+ --pf-v6-c-menu__list-item--BorderColor: var(--pf-t--global--border--color--high-contrast);
30
39
  --pf-v6-c-menu__list-item--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
31
40
  --pf-v6-c-menu__list-item--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
32
41
  --pf-v6-c-menu__list-item--TransitionProperty: background-color;
@@ -202,6 +211,7 @@
202
211
  --pf-v6-c-menu__item-description--Color: var(--pf-v6-c-menu--icon--disabled--Color);
203
212
  --pf-v6-c-menu__list-item--BackgroundColor: transparent;
204
213
  --pf-v6-c-menu__list-item--hover--BackgroundColor: transparent;
214
+ --pf-v6-c-menu__list-item--hover--BorderColor: transparent;
205
215
  }
206
216
  .pf-v6-c-menu__list-item:is(.pf-m-disabled, :disabled),
207
217
  .pf-v6-c-menu__item-action:is(.pf-m-disabled, :disabled) {
@@ -226,6 +236,7 @@
226
236
  overflow: hidden;
227
237
  color: var(--pf-v6-c-menu--Color);
228
238
  background-color: var(--pf-v6-c-menu--BackgroundColor);
239
+ border: var(--pf-v6-c-menu--BorderWidth) solid var(--pf-v6-c-menu--BorderColor);
229
240
  border-radius: var(--pf-v6-c-menu--BorderRadius);
230
241
  box-shadow: var(--pf-v6-c-menu--BoxShadow);
231
242
  transition-timing-function: var(--pf-v6-c-menu--TransitionTimingFunction) !important;
@@ -270,6 +281,7 @@
270
281
  }
271
282
  .pf-v6-c-menu.pf-m-drilldown :where(.pf-v6-c-menu) {
272
283
  padding: 0;
284
+ border: 0;
273
285
  }
274
286
  .pf-v6-c-menu.pf-m-drilldown.pf-m-drilled-in > .pf-v6-c-menu__content > .pf-v6-c-menu__list,
275
287
  .pf-v6-c-menu.pf-m-drilldown.pf-m-drilled-in > .pf-v6-c-menu__list {
@@ -338,6 +350,8 @@
338
350
  .pf-v6-c-menu.pf-m-scrollable {
339
351
  --pf-v6-c-menu__content--MaxHeight: var(--pf-v6-c-menu--m-scrollable__content--MaxHeight);
340
352
  --pf-v6-c-menu__footer--BoxShadow: var(--pf-v6-c-menu--m-scrollable__footer--BoxShadow);
353
+ --pf-v6-c-menu__footer--BorderColor: var(--pf-v6-c-menu--m-scrollable__footer--BorderColor);
354
+ --pf-v6-c-menu__footer--BorderWidth: var(--pf-v6-c-menu--m-scrollable__footer--BorderWidth);
341
355
  --pf-v6-c-menu__footer--PaddingBlockStart: calc(var(--pf-v6-c-menu__item--PaddingBlockStart) + var(--pf-v6-c-menu--RowGap));
342
356
  --pf-v6-c-menu__footer--PaddingBlockEnd: calc(var(--pf-v6-c-menu__item--PaddingBlockStart) + var(--pf-v6-c-menu--RowGap));
343
357
  overflow: hidden;
@@ -379,6 +393,7 @@
379
393
  padding-block-end: var(--pf-v6-c-menu__footer--PaddingBlockEnd);
380
394
  padding-inline-start: var(--pf-v6-c-menu__footer--PaddingInlineStart);
381
395
  padding-inline-end: var(--pf-v6-c-menu__footer--PaddingInlineEnd);
396
+ border-block-start: var(--pf-v6-c-menu__footer--BorderWidth) solid var(--pf-v6-c-menu__footer--BorderColor);
382
397
  box-shadow: var(--pf-v6-c-menu__footer--BoxShadow);
383
398
  }
384
399
 
@@ -412,6 +427,8 @@
412
427
  inset: 0;
413
428
  content: "";
414
429
  background-color: var(--pf-v6-c-menu__list-item--BackgroundColor);
430
+ border-block-start: var(--pf-v6-c-menu__list-item--BorderWidth) solid var(--pf-v6-c-menu__list-item--BorderColor);
431
+ border-block-end: var(--pf-v6-c-menu__list-item--BorderWidth) solid var(--pf-v6-c-menu__list-item--BorderColor);
415
432
  transition: inherit;
416
433
  }
417
434
  .pf-v6-c-menu__list-item.pf-m-load {
@@ -436,6 +453,7 @@
436
453
  }
437
454
  .pf-v6-c-menu__list-item.pf-m-focus, .pf-v6-c-menu__list-item:focus-within, .pf-v6-c-menu__list-item:has(> :hover) {
438
455
  --pf-v6-c-menu__list-item--BackgroundColor: var(--pf-v6-c-menu__list-item--hover--BackgroundColor);
456
+ --pf-v6-c-menu__list-item--BorderWidth: var(--pf-v6-c-menu__list-item--hover--BorderWidth);
439
457
  }
440
458
  .pf-v6-c-menu__list-item.pf-m-focus .pf-v6-c-menu__item-select-icon,
441
459
  .pf-v6-c-menu__list-item.pf-m-focus .pf-v6-c-menu__item-external-icon, .pf-v6-c-menu__list-item:focus-within .pf-v6-c-menu__item-select-icon,