@patternfly/patternfly 6.3.0 → 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 +41 -1
  74. package/components/Table/table.scss +48 -2
  75. package/components/Tabs/tabs.css +18 -7
  76. package/components/Tabs/tabs.scss +19 -11
  77. package/components/TextInputGroup/text-input-group.css +7 -0
  78. package/components/TextInputGroup/text-input-group.scss +8 -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 +631 -168
  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 +1803 -169
  138. package/patternfly.css +1838 -200
  139. package/patternfly.min.css +1 -1
  140. package/patternfly.min.css.map +1 -1
@@ -10,6 +10,8 @@
10
10
  --#{$slider}__rail-track--Height: #{pf-size-prem(4px)};
11
11
  --#{$slider}__rail-track--before--base--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
12
12
  --#{$slider}__rail-track--before--fill--BackgroundColor: var(--pf-t--global--border--color--hover);
13
+ --#{$slider}__rail-track--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
14
+ --#{$slider}__rail-track--before--BorderColor: transparent;
13
15
  --#{$slider}__rail-track--before--BorderRadius: var(--pf-t--global--border--radius--tiny);
14
16
  --#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop: var(--#{$slider}--value);
15
17
 
@@ -23,6 +25,8 @@
23
25
  --#{$slider}__step-tick--Height: #{pf-size-prem(4px)};
24
26
  --#{$slider}__step-tick--BackgroundColor: var(--pf-t--global--icon--color--nonstatus--on-gray--default);
25
27
  --#{$slider}__step-tick--TranslateX: -50%;
28
+ --#{$slider}__step-tick--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
29
+ --#{$slider}__step-tick--BorderColor: transparent;
26
30
  --#{$slider}__step-tick--BorderRadius: var(--pf-t--global--border--radius--sharp);
27
31
  --#{$slider}__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--on-brand--default);
28
32
  --#{$slider}__step--first-child__step-tick--TranslateX: 0;
@@ -42,6 +46,8 @@
42
46
  --#{$slider}__thumb--BackgroundColor: var(--pf-t--global--color--brand--default);
43
47
  --#{$slider}__thumb--TranslateX: -50%;
44
48
  --#{$slider}__thumb--TranslateY: -50%;
49
+ --#{$slider}__thumb--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
50
+ --#{$slider}__thumb--BorderColor: transparent;
45
51
  --#{$slider}__thumb--BorderRadius: var(--pf-t--global--border--radius--large);
46
52
  --#{$slider}__thumb--BoxShadow--base:
47
53
  0 0 0 2px var(--pf-t--global--background--color--primary--default),
@@ -127,6 +133,7 @@
127
133
  var(--#{$slider}__rail-track--before--fill--BackgroundColor) var(--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop),
128
134
  var(--#{$slider}__rail-track--before--base--BackgroundColor) var(--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop)
129
135
  );
136
+ border: var(--#{$slider}__rail-track--before--BorderWidth) solid var(--#{$slider}__rail-track--before--BorderColor);
130
137
  border-radius: var(--#{$slider}__rail-track--before--BorderRadius);
131
138
  }
132
139
  }
@@ -171,6 +178,7 @@
171
178
  width: var(--#{$slider}__step-tick--Width);
172
179
  height: var(--#{$slider}__step-tick--Height);
173
180
  background-color: var(--#{$slider}__step-tick--BackgroundColor);
181
+ border: var(--#{$slider}__step-tick--BorderWidth) solid var(--#{$slider}__step-tick--BorderColor);
174
182
  border-radius: var(--#{$slider}__step-tick--BorderRadius);
175
183
  }
176
184
 
@@ -200,6 +208,7 @@
200
208
  height: var(--#{$slider}__thumb--Height);
201
209
  cursor: pointer;
202
210
  background-color: var(--#{$slider}__thumb--BackgroundColor);
211
+ border: var(--#{$slider}__thumb--BorderWidth) solid var(--#{$slider}__thumb--BorderColor);
203
212
  border-radius: var(--#{$slider}__thumb--BorderRadius);
204
213
  box-shadow: var(--#{$slider}__thumb--BoxShadow);
205
214
 
@@ -10,11 +10,13 @@
10
10
  --pf-v6-c-switch--Height: auto;
11
11
  --pf-v6-c-switch__input--checked__toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
12
12
  --pf-v6-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-v6-c-switch__toggle-icon--Offset));
13
- --pf-v6-c-switch__input--checked__toggle--BorderWidth: 0;
13
+ --pf-v6-c-switch__input--checked__toggle--BorderColor: transparent;
14
+ --pf-v6-c-switch__input--checked__toggle--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
14
15
  --pf-v6-c-switch__input--checked__label--Color: var(--pf-t--global--text--color--regular);
15
16
  --pf-v6-c-switch__input--not-checked__label--Color: var(--pf-t--global--text--color--subtle);
16
17
  --pf-v6-c-switch__input--disabled__label--Color: var(--pf-t--global--text--color--disabled);
17
18
  --pf-v6-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
19
+ --pf-v6-c-switch__input--disabled__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
18
20
  --pf-v6-c-switch__input--checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--inverse);
19
21
  --pf-v6-c-switch__input--not-checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--subtle);
20
22
  --pf-v6-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--on-disabled);
@@ -29,6 +31,7 @@
29
31
  --pf-v6-c-switch__toggle--before--Width: calc(var(--pf-v6-c-switch--FontSize) - var(--pf-v6-c-switch__toggle-icon--Offset));
30
32
  --pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
31
33
  --pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
34
+ --pf-v6-c-switch__toggle--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
32
35
  --pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
33
36
  --pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
34
37
  --pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
@@ -70,6 +73,7 @@
70
73
  }
71
74
  .pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle {
72
75
  --pf-v6-c-switch__toggle--BorderWidth: var(--pf-v6-c-switch__input--checked__toggle--BorderWidth);
76
+ --pf-v6-c-switch__toggle--BorderColor: var(--pf-v6-c-switch__input--checked__toggle--BorderColor);
73
77
  background-color: var(--pf-v6-c-switch__input--checked__toggle--BackgroundColor);
74
78
  }
75
79
  .pf-v6-c-switch__input:checked ~ .pf-v6-c-switch__toggle::before {
@@ -95,6 +99,7 @@
95
99
  }
96
100
  .pf-v6-c-switch__input:disabled ~ .pf-v6-c-switch__toggle {
97
101
  --pf-v6-c-switch__toggle-icon--Color: var(--pf-v6-c-switch__input--disabled__toggle-icon--Color);
102
+ --pf-v6-c-switch__toggle--BorderColor: var(--pf-v6-c-switch__input--disabled__toggle--BorderColor);
98
103
  cursor: not-allowed;
99
104
  background-color: var(--pf-v6-c-switch__input--disabled__toggle--BackgroundColor);
100
105
  }
@@ -119,6 +124,7 @@
119
124
  height: var(--pf-v6-c-switch__toggle--before--Height);
120
125
  content: "";
121
126
  background-color: var(--pf-v6-c-switch__input--not-checked__toggle--before--BackgroundColor);
127
+ border: var(--pf-v6-c-switch__toggle--before--BorderWidth) solid transparent;
122
128
  border-radius: var(--pf-v6-c-switch__toggle--before--BorderRadius);
123
129
  transition: var(--pf-v6-c-switch__toggle--before--Transition);
124
130
  transform: translateY(-50%);
@@ -19,11 +19,13 @@
19
19
  // Switch input
20
20
  --#{$switch}__input--checked__toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
21
21
  --#{$switch}__input--checked__toggle--before--TranslateX: calc(100% + var(--#{$switch}__toggle-icon--Offset));
22
- --#{$switch}__input--checked__toggle--BorderWidth: 0;
22
+ --#{$switch}__input--checked__toggle--BorderColor: transparent;
23
+ --#{$switch}__input--checked__toggle--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
23
24
  --#{$switch}__input--checked__label--Color: var(--pf-t--global--text--color--regular);
24
25
  --#{$switch}__input--not-checked__label--Color: var(--pf-t--global--text--color--subtle);
25
26
  --#{$switch}__input--disabled__label--Color: var(--pf-t--global--text--color--disabled);
26
27
  --#{$switch}__input--disabled__toggle--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
28
+ --#{$switch}__input--disabled__toggle--BorderColor: var(--pf-t--global--border--color--high-contrast);
27
29
  --#{$switch}__input--checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--inverse);
28
30
  --#{$switch}__input--not-checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--subtle);
29
31
  --#{$switch}__input--disabled__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--on-disabled);
@@ -40,6 +42,7 @@
40
42
  --#{$switch}__toggle--before--Width: calc(var(--#{$switch}--FontSize) - var(--#{$switch}__toggle-icon--Offset));
41
43
  --#{$switch}__toggle--before--Height: var(--#{$switch}__toggle--before--Width);
42
44
  --#{$switch}__toggle--before--InsetInlineStart: calc((var(--#{$switch}__toggle--Height) - var(--#{$switch}__toggle--before--Height)) / 2);
45
+ --#{$switch}__toggle--before--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
43
46
  --#{$switch}__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
44
47
  --#{$switch}__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
45
48
  --#{$switch}__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
@@ -88,6 +91,7 @@
88
91
 
89
92
  ~ .#{$switch}__toggle {
90
93
  --#{$switch}__toggle--BorderWidth: var(--#{$switch}__input--checked__toggle--BorderWidth);
94
+ --#{$switch}__toggle--BorderColor: var(--#{$switch}__input--checked__toggle--BorderColor);
91
95
 
92
96
  background-color: var(--#{$switch}__input--checked__toggle--BackgroundColor);
93
97
 
@@ -125,6 +129,7 @@
125
129
 
126
130
  ~ .#{$switch}__toggle {
127
131
  --#{$switch}__toggle-icon--Color: var(--#{$switch}__input--disabled__toggle-icon--Color);
132
+ --#{$switch}__toggle--BorderColor: var(--#{$switch}__input--disabled__toggle--BorderColor);
128
133
 
129
134
  cursor: not-allowed;
130
135
  background-color: var(--#{$switch}__input--disabled__toggle--BackgroundColor);
@@ -153,6 +158,7 @@
153
158
  height: var(--#{$switch}__toggle--before--Height);
154
159
  content: "";
155
160
  background-color: var(--#{$switch}__input--not-checked__toggle--before--BackgroundColor);
161
+ border: var(--#{$switch}__toggle--before--BorderWidth) solid transparent; // for forced color mode
156
162
  border-radius: var(--#{$switch}__toggle--before--BorderRadius);
157
163
  transition: var(--#{$switch}__toggle--before--Transition); // TODO remove shorthand in breaking change
158
164
  transform: translateY(-50%);
@@ -10,7 +10,8 @@
10
10
  --pf-v6-c-table__caption--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
11
11
  --pf-v6-c-table__thead--cell--FontSize: var(--pf-t--global--font--size--body--sm);
12
12
  --pf-v6-c-table__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
13
- --pf-v6-c-table__thead__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
13
+ --pf-v6-c-table__thead__toggle--PaddingBlockStart: var(--pf-v6-c-table--cell--Padding--base);
14
+ --pf-v6-c-table__thead__toggle--PaddingBlockEnd: var(--pf-v6-c-table--cell--Padding--base);
14
15
  --pf-v6-c-table__tbody--cell--PaddingBlockStart: var(--pf-v6-c-table--cell--Padding--base);
15
16
  --pf-v6-c-table__tbody--cell--PaddingBlockEnd: var(--pf-v6-c-table--cell--Padding--base);
16
17
  --pf-v6-c-table__tbody--cell--FontSize: var(--pf-t--global--font--size--body--default);
@@ -60,6 +61,9 @@
60
61
  --pf-v6-c-table__button--Color: var(--pf-t--global--text--color--regular);
61
62
  --pf-v6-c-table__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
62
63
  --pf-v6-c-table__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
64
+ --pf-v6-c-table__button--BorderColor: var(--pf-t--global--border--color--high-contrast);
65
+ --pf-v6-c-table__button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
66
+ --pf-v6-c-table__button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
63
67
  --pf-v6-c-table__button--BorderRadius: var(--pf-t--global--border--radius--small);
64
68
  --pf-v6-c-table__button--hover--Color: var(--pf-t--global--text--color--regular);
65
69
  --pf-v6-c-table__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
@@ -89,6 +93,8 @@
89
93
  --pf-v6-c-table__expandable-row-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
90
94
  --pf-v6-c-table__expandable-row-content--BorderRadius: var(--pf-t--global--border--radius--small);
91
95
  --pf-v6-c-table__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
96
+ --pf-v6-c-table__expandable-row-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
97
+ --pf-v6-c-table__expandable-row-content--BorderWidth: 0;
92
98
  --pf-v6-c-table__control-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
93
99
  --pf-v6-c-table__control-row--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
94
100
  --pf-v6-c-table__control-row__tbody--BorderBlockEndColor: var(--pf-t--global--border--color--default);
@@ -110,10 +116,12 @@
110
116
  --pf-v6-c-table__compound-expansion-toggle__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
111
117
  --pf-v6-c-table__compound-expansion-toggle__button--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
112
118
  --pf-v6-c-table__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
119
+ --pf-v6-c-table__compound-expansion-toggle__button--after--BorderRadius: inherit;
113
120
  --pf-v6-c-table__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
114
121
  --pf-v6-c-table__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
115
122
  --pf-v6-c-table__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
116
123
  --pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
124
+ --pf-v6-c-table--compound-expansion--m-expanded--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
117
125
  --pf-v6-c-table--m-compact__th--PaddingBlockStart: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
118
126
  --pf-v6-c-table--m-compact__th--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
119
127
  --pf-v6-c-table--m-compact--cell--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -525,6 +533,7 @@
525
533
  }
526
534
 
527
535
  .pf-v6-c-table__button {
536
+ position: relative;
528
537
  width: auto;
529
538
  padding-block-start: var(--pf-v6-c-table__button--PaddingBlockStart);
530
539
  padding-block-end: var(--pf-v6-c-table__button--PaddingBlockEnd);
@@ -543,6 +552,14 @@
543
552
  border-radius: var(--pf-v6-c-table__button--BorderRadius);
544
553
  outline-offset: var(--pf-v6-c-table__button--OutlineOffset);
545
554
  }
555
+ .pf-v6-c-table__button::after {
556
+ position: absolute;
557
+ inset: 0;
558
+ pointer-events: none;
559
+ content: "";
560
+ border: var(--pf-v6-c-table__button--BorderWidth) solid var(--pf-v6-c-table__button--BorderColor);
561
+ border-radius: inherit;
562
+ }
546
563
  .pf-v6-c-table .pf-v6-c-table .pf-v6-c-table__button {
547
564
  margin-block-end: 0;
548
565
  }
@@ -613,6 +630,12 @@
613
630
  --pf-v6-c-table--cell--PaddingInlineStart: var(--pf-v6-c-table__toggle--PaddingInlineStart);
614
631
  --pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table__toggle--PaddingInlineEnd);
615
632
  }
633
+ .pf-v6-c-table__thead .pf-v6-c-table__toggle .pf-v6-c-button {
634
+ margin-block-start: calc(var(--pf-v6-c-button--PaddingBlockStart) * -1);
635
+ margin-block-end: calc(var(--pf-v6-c-button--PaddingBlockEnd) * -1);
636
+ line-height: 1lh;
637
+ }
638
+
616
639
  .pf-v6-c-table__toggle .pf-v6-c-button.pf-m-expanded .pf-v6-c-table__toggle-icon {
617
640
  transform: rotate(var(--pf-v6-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate));
618
641
  }
@@ -712,6 +735,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
712
735
  content: "";
713
736
  border: 0;
714
737
  border-block-start: var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderBlockStartWidth) solid var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderColor);
738
+ border-radius: var(--pf-v6-c-table__compound-expansion-toggle__button--after--BorderRadius);
715
739
  }
716
740
  .pf-v6-c-table__compound-expansion-toggle:hover, .pf-v6-c-table__compound-expansion-toggle:focus-within {
717
741
  --pf-v6-c-table__compound-expansion-toggle__button--BackgroundColor: var(--pf-v6-c-table__compound-expansion-toggle__button--hover--BackgroundColor);
@@ -735,6 +759,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
735
759
  align-self: last baseline;
736
760
  margin-inline-start: var(--pf-v6-c-table__column-help--MarginInlineStart);
737
761
  }
762
+ .pf-v6-c-table__column-help-action .pf-v6-c-button {
763
+ line-height: 1lh;
764
+ }
738
765
 
739
766
  .pf-v6-c-table__sort {
740
767
  vertical-align: bottom;
@@ -743,6 +770,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
743
770
  --pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort__button--hover__sort-indicator--Color);
744
771
  --pf-v6-c-table__sort__button__text--Color: var(--pf-v6-c-table__sort__button--hover__text--Color);
745
772
  --pf-v6-c-table__button--BackgroundColor: var(--pf-v6-c-table__button--hover--BackgroundColor);
773
+ --pf-v6-c-table__button--BorderWidth: var(--pf-v6-c-table__button--hover--BorderWidth);
746
774
  }
747
775
  .pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
748
776
  color: var(--pf-v6-c-table__sort__button__text--Color);
@@ -792,16 +820,26 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
792
820
  border-radius: 0;
793
821
  }
794
822
  .pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content {
823
+ position: relative;
795
824
  padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
796
825
  padding-block-end: var(--pf-v6-c-table__expandable-row-content--PaddingBlockEnd);
797
826
  padding-inline-start: var(--pf-v6-c-table__expandable-row-content--PaddingInlineStart);
798
827
  padding-inline-end: var(--pf-v6-c-table__expandable-row-content--PaddingInlineEnd);
799
828
  background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
829
+ border: 0;
800
830
  border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
801
831
  }
802
832
  .pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content.pf-m-no-background {
803
833
  background-color: transparent;
804
834
  }
835
+ .pf-v6-c-table__expandable-row .pf-v6-c-table__td:not(.pf-m-no-padding) > .pf-v6-c-table__expandable-row-content::after {
836
+ position: absolute;
837
+ inset: 0;
838
+ pointer-events: none;
839
+ content: "";
840
+ border: var(--pf-v6-c-table__expandable-row-content--BorderWidth) solid var(--pf-v6-c-table__expandable-row-content--BorderColor);
841
+ border-radius: inherit;
842
+ }
805
843
  .pf-v6-c-table__expandable-row.pf-m-expanded {
806
844
  border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
807
845
  border-block-end-width: var(--pf-v6-c-table--border-width--base);
@@ -845,6 +883,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
845
883
 
846
884
  .pf-v6-c-table__thead {
847
885
  --pf-v6-c-table__tr--BorderBlockEndWidth: 0;
886
+ --pf-v6-c-table__toggle--PaddingBlockStart: var(--pf-v6-c-table__thead__toggle--PaddingBlockStart);
848
887
  --pf-v6-c-table__toggle--PaddingBlockEnd: var(--pf-v6-c-table__thead__toggle--PaddingBlockEnd);
849
888
  vertical-align: bottom;
850
889
  }
@@ -858,6 +897,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
858
897
  vertical-align: top;
859
898
  }
860
899
  .pf-v6-c-table__tbody .pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row.pf-m-expanded {
900
+ --pf-v6-c-table__expandable-row-content--BorderWidth: var(--pf-v6-c-table--compound-expansion--m-expanded--BorderWidth);
861
901
  background-color: var(--pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor);
862
902
  }
863
903
 
@@ -21,7 +21,8 @@
21
21
  --#{$table}__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
22
22
 
23
23
  // * Table thead toggle
24
- --#{$table}__thead__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
24
+ --#{$table}__thead__toggle--PaddingBlockStart: var(--#{$table}--cell--Padding--base); // TODO - remove thead toggle custom padding in breaking change
25
+ --#{$table}__thead__toggle--PaddingBlockEnd: var(--#{$table}--cell--Padding--base); // TODO - remove thead toggle custom padding in breaking change
25
26
 
26
27
  // * Table body cell
27
28
  --#{$table}__tbody--cell--PaddingBlockStart: var(--#{$table}--cell--Padding--base);
@@ -95,6 +96,9 @@
95
96
  --#{$table}__button--Color: var(--pf-t--global--text--color--regular);
96
97
  --#{$table}__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
97
98
  --#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
99
+ --#{$table}__button--BorderColor: var(--pf-t--global--border--color--high-contrast);
100
+ --#{$table}__button--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
101
+ --#{$table}__button--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
98
102
  --#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--small);
99
103
  --#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
100
104
  --#{$table}__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
@@ -142,6 +146,8 @@
142
146
  --#{$table}__expandable-row-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
143
147
  --#{$table}__expandable-row-content--BorderRadius: var(--pf-t--global--border--radius--small);
144
148
  --#{$table}__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
149
+ --#{$table}__expandable-row-content--BorderColor: var(--pf-t--global--border--color--high-contrast);
150
+ --#{$table}__expandable-row-content--BorderWidth: 0;
145
151
 
146
152
  // * Table control row
147
153
  --#{$table}__control-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
@@ -181,12 +187,14 @@
181
187
 
182
188
  // * Table compound expansion toggle button after
183
189
  --#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
190
+ --#{$table}__compound-expansion-toggle__button--after--BorderRadius: inherit;
184
191
  --#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
185
192
  --#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
186
193
  --#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
187
194
 
188
195
  // * Compound expandable
189
196
  --#{$table}--compound-expansion--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
197
+ --#{$table}--compound-expansion--m-expanded--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
190
198
 
191
199
  // * Table compact th
192
200
  --#{$table}--m-compact__th--PaddingBlockStart: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
@@ -733,6 +741,7 @@
733
741
 
734
742
  // - Table button
735
743
  .#{$table}__button {
744
+ position: relative;
736
745
  width: auto;
737
746
  padding-block-start: var(--#{$table}__button--PaddingBlockStart);
738
747
  padding-block-end: var(--#{$table}__button--PaddingBlockEnd);
@@ -751,6 +760,15 @@
751
760
  border-radius: var(--#{$table}__button--BorderRadius);
752
761
  outline-offset: var(--#{$table}__button--OutlineOffset);
753
762
 
763
+ &::after {
764
+ position: absolute;
765
+ inset: 0;
766
+ pointer-events: none;
767
+ content: '';
768
+ border: var(--#{$table}__button--BorderWidth) solid var(--#{$table}__button--BorderColor);
769
+ border-radius: inherit;
770
+ }
771
+
754
772
  // Table table table button
755
773
  .#{$table} .#{$table} & {
756
774
  margin-block-end: 0; // remove offset in nested tables
@@ -835,13 +853,20 @@
835
853
  --#{$table}--cell--PaddingInlineStart: var(--#{$table}__toggle--PaddingInlineStart);
836
854
  --#{$table}--cell--PaddingInlineEnd: var(--#{$table}__toggle--PaddingInlineEnd);
837
855
 
856
+ @at-root .#{$table}__thead & {
857
+ .#{$button} {
858
+ margin-block-start: calc(var(--#{$button}--PaddingBlockStart) * -1);
859
+ margin-block-end: calc(var(--#{$button}--PaddingBlockEnd) * -1);
860
+ line-height: 1lh; // set line-height instead of --LineHeight to avoid breaking the min-width calc for plain buttons
861
+ }
862
+ }
863
+
838
864
  .#{$button} {
839
865
  &.pf-m-expanded .#{$table}__toggle-icon {
840
866
  transform: rotate(var(--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate));
841
867
  }
842
868
  }
843
869
 
844
-
845
870
  .#{$table}__toggle-icon {
846
871
  @include pf-v6-mirror-inline-on-rtl;
847
872
 
@@ -968,6 +993,7 @@
968
993
  content: '';
969
994
  border: 0;
970
995
  border-block-start: var(--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth) solid var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
996
+ border-radius: var(--#{$table}__compound-expansion-toggle__button--after--BorderRadius);
971
997
  }
972
998
 
973
999
  &:hover,
@@ -997,6 +1023,10 @@
997
1023
  .#{$table}__column-help-action {
998
1024
  align-self: last baseline;
999
1025
  margin-inline-start: var(--#{$table}__column-help--MarginInlineStart);
1026
+
1027
+ .#{$button} {
1028
+ line-height: 1lh; // set line-height instead of --LineHeight to avoid breaking the min-width calc for plain buttons
1029
+ }
1000
1030
  }
1001
1031
 
1002
1032
  // - Table sort
@@ -1009,6 +1039,7 @@
1009
1039
  --#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--hover__sort-indicator--Color);
1010
1040
  --#{$table}__sort__button__text--Color: var(--#{$table}__sort__button--hover__text--Color);
1011
1041
  --#{$table}__button--BackgroundColor: var(--#{$table}__button--hover--BackgroundColor);
1042
+ --#{$table}__button--BorderWidth: var(--#{$table}__button--hover--BorderWidth);
1012
1043
  }
1013
1044
 
1014
1045
  // - Table text
@@ -1084,11 +1115,13 @@
1084
1115
 
1085
1116
  // - Table expandable row content
1086
1117
  .#{$table}__expandable-row-content {
1118
+ position: relative;
1087
1119
  padding-block-start: var(--#{$table}__expandable-row-content--PaddingBlockStart);
1088
1120
  padding-block-end: var(--#{$table}__expandable-row-content--PaddingBlockEnd);
1089
1121
  padding-inline-start: var(--#{$table}__expandable-row-content--PaddingInlineStart);
1090
1122
  padding-inline-end: var(--#{$table}__expandable-row-content--PaddingInlineEnd);
1091
1123
  background-color: var(--#{$table}__expandable-row-content--BackgroundColor);
1124
+ border: 0;
1092
1125
  border-radius: var(--#{$table}__expandable-row-content--BorderRadius);
1093
1126
 
1094
1127
  &.pf-m-no-background {
@@ -1096,6 +1129,16 @@
1096
1129
  }
1097
1130
  }
1098
1131
 
1132
+ .#{$table}__td:not(.pf-m-no-padding) > .#{$table}__expandable-row-content::after {
1133
+ position: absolute;
1134
+ inset: 0;
1135
+ pointer-events: none;
1136
+ content: "";
1137
+ border: var(--#{$table}__expandable-row-content--BorderWidth) solid var(--#{$table}__expandable-row-content--BorderColor);
1138
+ border-radius: inherit;
1139
+ }
1140
+
1141
+
1099
1142
  // - Table expandable row content expanded
1100
1143
  &.pf-m-expanded {
1101
1144
  border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBlockEndColor);
@@ -1157,6 +1200,7 @@
1157
1200
  // - Table thead
1158
1201
  .#{$table}__thead {
1159
1202
  --#{$table}__tr--BorderBlockEndWidth: 0;
1203
+ --#{$table}__toggle--PaddingBlockStart: var(--#{$table}__thead__toggle--PaddingBlockStart);
1160
1204
  --#{$table}__toggle--PaddingBlockEnd: var(--#{$table}__thead__toggle--PaddingBlockEnd);
1161
1205
 
1162
1206
  vertical-align: bottom;
@@ -1179,6 +1223,8 @@
1179
1223
 
1180
1224
  // TODO: make this a class `compound expansion content`
1181
1225
  .#{$table}__control-row ~ .#{$table}__expandable-row.pf-m-expanded {
1226
+ --#{$table}__expandable-row-content--BorderWidth: var(--#{$table}--compound-expansion--m-expanded--BorderWidth);
1227
+
1182
1228
  background-color: var(--#{$table}--compound-expansion--m-expanded--BackgroundColor);
1183
1229
  }
1184
1230
  }
@@ -18,7 +18,7 @@
18
18
  --pf-v6-c-tabs--before--BorderBlockEndWidth: var(--pf-v6-c-tabs--before--border-width--base);
19
19
  --pf-v6-c-tabs--before--BorderInlineStartWidth: 0;
20
20
  --pf-v6-c-tabs--m-vertical--inset: var(--pf-t--global--spacer--sm);
21
- --pf-v6-c-tabs--m-page-insets--inset: var(--pf-t--global--spacer--md);
21
+ --pf-v6-c-tabs--m-page-insets--inset: calc(var(--pf-t--global--spacer--lg) - var(--pf-t--global--border--width--main--default));
22
22
  --pf-v6-c-tabs--m-vertical--Width: 100%;
23
23
  --pf-v6-c-tabs--m-vertical--MaxWidth: 15.625rem;
24
24
  --pf-v6-c-tabs--m-vertical--m-box--inset: var(--pf-t--global--spacer--md);
@@ -46,6 +46,10 @@
46
46
  --pf-v6-c-tabs__link--FontSize: var(--pf-t--global--font--size--sm);
47
47
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
48
48
  --pf-v6-c-tabs__link--BorderRadius: var(--pf-t--global--border--radius--small);
49
+ --pf-v6-c-tabs__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
50
+ --pf-v6-c-tabs__link--BorderColor: transparent;
51
+ --pf-v6-c-tabs__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
52
+ --pf-v6-c-tabs__link--disabled--BorderColor: transparent;
49
53
  --pf-v6-c-tabs__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
50
54
  --pf-v6-c-tabs__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
51
55
  --pf-v6-c-tabs__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -81,11 +85,15 @@
81
85
  --pf-v6-c-tabs__link--before--BorderInlineEndWidth: 0;
82
86
  --pf-v6-c-tabs__link--before--BorderBlockEndWidth: 0;
83
87
  --pf-v6-c-tabs__link--before--BorderInlineStartWidth: 0;
84
- --pf-v6-c-tabs__link--before--InsetInlineStart: calc(var(--pf-v6-c-tabs__link--before--border-width--base) * -1);
88
+ --pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartColor: var(--pf-t--global--border--color--high-contrast);
89
+ --pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
90
+ --pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
91
+ --pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
85
92
  --pf-v6-c-tabs__link--disabled--before--BorderInlineEndWidth: 0;
86
93
  --pf-v6-c-tabs__link--disabled--before--BorderBlockEndWidth: var(--pf-v6-c-tabs--before--border-width--base);
87
94
  --pf-v6-c-tabs__link--disabled--before--BorderInlineStartWidth: 0;
88
95
  --pf-v6-c-tabs__link--after--InsetBlockStart: auto;
96
+ --pf-v6-c-tabs__link--after--InsetInlineStart: 0;
89
97
  --pf-v6-c-tabs__link--after--InsetInlineEnd: 0;
90
98
  --pf-v6-c-tabs__link--after--InsetBlockEnd: 0;
91
99
  --pf-v6-c-tabs__link--after--BorderColor: var(--pf-t--global--border--color--default);
@@ -241,6 +249,10 @@
241
249
  .pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__item.pf-m-current {
242
250
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__item--m-current__link--BackgroundColor);
243
251
  --pf-v6-c-tabs__link--before--BorderBlockEndColor: var(--pf-v6-c-tabs__link--BackgroundColor);
252
+ --pf-v6-c-tabs__link--before--BorderInlineStartColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartColor);
253
+ --pf-v6-c-tabs__link--before--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineStartWidth);
254
+ --pf-v6-c-tabs__link--before--BorderInlineEndColor: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndColor);
255
+ --pf-v6-c-tabs__link--before--BorderInlineEndWidth: var(--pf-v6-c-tabs--m-box__link--m-current--before--BorderInlineEndWidth);
244
256
  }
245
257
  .pf-v6-c-tabs.pf-m-box.pf-m-scrollable .pf-v6-c-tabs__item.pf-m-current:first-child .pf-v6-c-tabs__link::before {
246
258
  inset-inline-start: calc(var(--pf-v6-c-tabs__link--before--border-width--base) * -1);
@@ -248,9 +260,6 @@
248
260
  .pf-v6-c-tabs.pf-m-box.pf-m-scrollable .pf-v6-c-tabs__scroll-button:nth-of-type(2)::before {
249
261
  inset-inline-start: calc(var(--pf-v6-c-tabs__link--before--border-width--base) * -1);
250
262
  }
251
- .pf-v6-c-tabs.pf-m-box .pf-v6-c-tabs__item.pf-m-current + .pf-v6-c-tabs__item {
252
- --pf-v6-c-tabs__link--before--InsetInlineStart: 0;
253
- }
254
263
  .pf-v6-c-tabs.pf-m-box.pf-m-secondary {
255
264
  --pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs--m-box--m-secondary__item--BackgroundColor);
256
265
  --pf-v6-c-tabs__item--m-current--BackgroundColor: var(--pf-v6-c-tabs--m-box--m-secondary__item--m-current--BackgroundColor);
@@ -268,7 +277,6 @@
268
277
  --pf-v6-c-tabs__item--PaddingInlineEnd: var(--pf-v6-c-tabs--m-vertical__item--PaddingInlineEnd);
269
278
  --pf-v6-c-tabs__link--PaddingInlineStart: var(--pf-v6-c-tabs--m-vertical__link--PaddingInlineStart);
270
279
  --pf-v6-c-tabs__link--PaddingInlineEnd: var(--pf-v6-c-tabs--m-vertical__link--PaddingInlineEnd);
271
- --pf-v6-c-tabs__link--before--InsetInlineStart: 0;
272
280
  --pf-v6-c-tabs__link--disabled--before--BorderBlockEndWidth: 0;
273
281
  --pf-v6-c-tabs__link--disabled--before--BorderInlineStartWidth: var(--pf-v6-c-tabs--before--border-width--base);
274
282
  --pf-v6-c-tabs__link--after--InsetBlockStart: 0;
@@ -545,6 +553,7 @@
545
553
  color: var(--pf-v6-c-tabs__link--Color);
546
554
  text-decoration-line: none;
547
555
  background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
556
+ border: var(--pf-v6-c-tabs__link--BorderWidth) solid var(--pf-v6-c-tabs__link--BorderColor);
548
557
  border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
549
558
  transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
550
559
  }
@@ -567,7 +576,7 @@
567
576
  .pf-v6-c-tabs__item.pf-m-action::after, .pf-v6-c-tabs__link::after {
568
577
  inset-block-start: var(--pf-v6-c-tabs__link--after--InsetBlockStart);
569
578
  inset-block-end: var(--pf-v6-c-tabs__link--after--InsetBlockEnd);
570
- inset-inline-start: var(--pf-v6-c-tabs__link--before--InsetInlineStart);
579
+ inset-inline-start: var(--pf-v6-c-tabs__link--before--InsetInlineStart, var(--pf-v6-c-tabs__link--after--InsetInlineStart));
571
580
  inset-inline-end: var(--pf-v6-c-tabs__link--after--InsetInlineEnd);
572
581
  border-color: var(--pf-v6-c-tabs__link--after--BorderColor);
573
582
  border-block-start-width: var(--pf-v6-c-tabs__link--after--BorderBlockStartWidth);
@@ -578,6 +587,7 @@
578
587
 
579
588
  .pf-v6-c-tabs__link:where(:hover, :focus) {
580
589
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--hover--BackgroundColor);
590
+ --pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--hover--BorderColor);
581
591
  }
582
592
  .pf-v6-c-tabs__link:disabled, .pf-v6-c-tabs__link.pf-m-disabled {
583
593
  pointer-events: none;
@@ -592,6 +602,7 @@
592
602
 
593
603
  .pf-v6-c-tabs__link:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
594
604
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--disabled--BackgroundColor);
605
+ --pf-v6-c-tabs__link--BorderColor: var(--pf-v6-c-tabs__link--disabled--BorderColor);
595
606
  }
596
607
  .pf-v6-c-tabs__item.pf-m-action.pf-m-disabled {
597
608
  --pf-v6-c-tabs__link--BackgroundColor: transparent;
@@ -30,7 +30,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
30
30
  --#{$tabs}--m-vertical--inset: var(--pf-t--global--spacer--sm);
31
31
 
32
32
  // Tabs, Page insets modifier
33
- --#{$tabs}--m-page-insets--inset: var(--pf-t--global--spacer--md);
33
+ --#{$tabs}--m-page-insets--inset: calc(var(--pf-t--global--spacer--lg) - var(--pf-t--global--border--width--main--default));
34
34
 
35
35
  // Tabs, Vertical modifier
36
36
  --#{$tabs}--m-vertical--Width: 100%;
@@ -66,6 +66,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
66
66
  --#{$tabs}__link--FontSize: var(--pf-t--global--font--size--sm);
67
67
  --#{$tabs}__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
68
68
  --#{$tabs}__link--BorderRadius: var(--pf-t--global--border--radius--small);
69
+ --#{$tabs}__link--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
70
+ --#{$tabs}__link--BorderColor: transparent;
71
+ --#{$tabs}__link--hover--BorderColor: var(--pf-t--global--border--color--high-contrast);
72
+ --#{$tabs}__link--disabled--BorderColor: transparent;
69
73
  --#{$tabs}__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
70
74
  --#{$tabs}__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
71
75
  --#{$tabs}__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
@@ -103,13 +107,17 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
103
107
  --#{$tabs}__link--before--BorderInlineEndWidth: 0;
104
108
  --#{$tabs}__link--before--BorderBlockEndWidth: 0;
105
109
  --#{$tabs}__link--before--BorderInlineStartWidth: 0;
106
- --#{$tabs}__link--before--InsetInlineStart: calc(var(--#{$tabs}__link--before--border-width--base) * -1);
110
+ --#{$tabs}--m-box__link--m-current--before--BorderInlineStartColor: var(--pf-t--global--border--color--high-contrast);
111
+ --#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
112
+ --#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
113
+ --#{$tabs}--m-box__link--m-current--before--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
107
114
  --#{$tabs}__link--disabled--before--BorderInlineEndWidth: 0;
108
115
  --#{$tabs}__link--disabled--before--BorderBlockEndWidth: var(--#{$tabs}--before--border-width--base);
109
116
  --#{$tabs}__link--disabled--before--BorderInlineStartWidth: 0;
110
117
 
111
118
  // Link after
112
119
  --#{$tabs}__link--after--InsetBlockStart: auto;
120
+ --#{$tabs}__link--after--InsetInlineStart: 0;
113
121
  --#{$tabs}__link--after--InsetInlineEnd: 0;
114
122
  --#{$tabs}__link--after--InsetBlockEnd: 0;
115
123
  --#{$tabs}__link--after--BorderColor: var(--pf-t--global--border--color--default);
@@ -307,6 +315,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
307
315
  .#{$tabs}__item.pf-m-current {
308
316
  --#{$tabs}__link--BackgroundColor: var(--#{$tabs}__item--m-current__link--BackgroundColor);
309
317
  --#{$tabs}__link--before--BorderBlockEndColor: var(--#{$tabs}__link--BackgroundColor);
318
+ --#{$tabs}__link--before--BorderInlineStartColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartColor);
319
+ --#{$tabs}__link--before--BorderInlineStartWidth: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineStartWidth);
320
+ --#{$tabs}__link--before--BorderInlineEndColor: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineEndColor);
321
+ --#{$tabs}__link--before--BorderInlineEndWidth: var(--#{$tabs}--m-box__link--m-current--before--BorderInlineEndWidth);
310
322
  }
311
323
 
312
324
  // stylelint-disable
@@ -322,12 +334,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
322
334
  }
323
335
  // stylelint-enable
324
336
 
325
- // stylelint-disable selector-max-class
326
- // Remove offset from current adjacent item
327
- .#{$tabs}__item.pf-m-current + .#{$tabs}__item {
328
- --#{$tabs}__link--before--InsetInlineStart: 0;
329
- }
330
- // stylelint-enable
331
337
 
332
338
  &.pf-m-secondary {
333
339
  --#{$tabs}__item--BackgroundColor: var(--#{$tabs}--m-box--m-secondary__item--BackgroundColor);
@@ -349,7 +355,6 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
349
355
  --#{$tabs}__item--PaddingInlineEnd: var(--#{$tabs}--m-vertical__item--PaddingInlineEnd);
350
356
  --#{$tabs}__link--PaddingInlineStart: var(--#{$tabs}--m-vertical__link--PaddingInlineStart);
351
357
  --#{$tabs}__link--PaddingInlineEnd: var(--#{$tabs}--m-vertical__link--PaddingInlineEnd);
352
- --#{$tabs}__link--before--InsetInlineStart: 0;
353
358
  --#{$tabs}__link--disabled--before--BorderBlockEndWidth: 0;
354
359
  --#{$tabs}__link--disabled--before--BorderInlineStartWidth: var(--#{$tabs}--before--border-width--base);
355
360
  --#{$tabs}__link--after--InsetBlockStart: 0;
@@ -630,6 +635,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
630
635
  color: var(--#{$tabs}__link--Color);
631
636
  text-decoration-line: none;
632
637
  background-color: var(--#{$tabs}__link--BackgroundColor);
638
+ border: var(--#{$tabs}__link--BorderWidth) solid var(--#{$tabs}__link--BorderColor);
633
639
  border-radius: var(--#{$tabs}__link--BorderRadius);
634
640
  transition: background-color var(--#{$tabs}__link--TransitionDuration--background-color) var(--#{$tabs}__link--TransitionTimingFunction--background-color);
635
641
 
@@ -653,7 +659,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
653
659
  &::after {
654
660
  inset-block-start: var(--#{$tabs}__link--after--InsetBlockStart);
655
661
  inset-block-end: var(--#{$tabs}__link--after--InsetBlockEnd);
656
- inset-inline-start: var(--#{$tabs}__link--before--InsetInlineStart); // use the ::before Left value to offset the top border / overlap left border
662
+ inset-inline-start: var(--#{$tabs}__link--before--InsetInlineStart, var(--#{$tabs}__link--after--InsetInlineStart)); // TODO remove fallback in breaking change in favor of var(--#{$tabs}__link--after--InsetInlineStart)
657
663
  inset-inline-end: var(--#{$tabs}__link--after--InsetInlineEnd);
658
664
  border-color: var(--#{$tabs}__link--after--BorderColor);
659
665
  border-block-start-width: var(--#{$tabs}__link--after--BorderBlockStartWidth);
@@ -665,7 +671,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
665
671
 
666
672
  &:where(:hover, :focus) {
667
673
  --#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--hover--BackgroundColor);
668
- }
674
+ --#{$tabs}__link--BorderColor: var(--#{$tabs}__link--hover--BorderColor);
675
+ }
669
676
 
670
677
  &:disabled,
671
678
  &.pf-m-disabled {
@@ -685,6 +692,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
685
692
 
686
693
  &:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
687
694
  --#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
695
+ --#{$tabs}__link--BorderColor: var(--#{$tabs}__link--disabled--BorderColor);
688
696
  }
689
697
 
690
698
  @at-root .#{$tabs}__item.pf-m-action.pf-m-disabled {