@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
@@ -3,6 +3,10 @@
3
3
  --pf-v6-c-code-editor__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
4
4
  --pf-v6-c-code-editor__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
5
5
  --pf-v6-c-code-editor__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
6
+ --pf-v6-c-code-editor__header--BorderWidth: var(--pf-t--global--border--width--box--default);
7
+ --pf-v6-c-code-editor__header--BorderColor: var(--pf-t--global--border--color--default);
8
+ --pf-v6-c-code-editor__header--BorderStartStartRadius: var(--pf-t--global--border--radius--medium);
9
+ --pf-v6-c-code-editor__header--BorderStartEndRadius: var(--pf-t--global--border--radius--medium);
6
10
  --pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
7
11
  --pf-v6-c-code-editor__header-content--m-plain--BackgroundColor: var(--pf-t--global--background--color--primary--default);
8
12
  --pf-v6-c-code-editor__header-content--PaddingBlockStart: var(--pf-t--global--spacer--xs);
@@ -37,6 +41,7 @@
37
41
  --pf-v6-c-code-editor__header-main--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
38
42
  --pf-v6-c-code-editor__header-main--PaddingInlineStart: var(--pf-t--global--spacer--sm);
39
43
  --pf-v6-c-code-editor__tab--BackgroundColor: var(--pf-t--global--background--color--primary--default);
44
+ --pf-v6-c-code-editor--m-read-only__tab--BackgroundColor: var(--pf-v6-c-code-editor--m-read-only__main--BackgroundColor);
40
45
  --pf-v6-c-code-editor__tab--Color: var(--pf-t--global--text--color--subtle);
41
46
  --pf-v6-c-code-editor__tab--PaddingBlockStart: var(--pf-t--global--spacer--sm);
42
47
  --pf-v6-c-code-editor__tab--PaddingInlineEnd: var( --pf-t--global--spacer--sm);
@@ -56,6 +61,7 @@
56
61
  flex-direction: column;
57
62
  }
58
63
  .pf-v6-c-code-editor.pf-m-read-only {
64
+ --pf-v6-c-code-editor__tab--BackgroundColor: var(--pf-v6-c-code-editor--m-read-only__tab--BackgroundColor);
59
65
  --pf-v6-c-code-editor__main--BackgroundColor: var(--pf-v6-c-code-editor--m-read-only__main--BackgroundColor);
60
66
  }
61
67
  .pf-v6-c-code-editor.pf-m-full-height {
@@ -72,16 +78,29 @@
72
78
  position: relative;
73
79
  display: flex;
74
80
  }
75
- .pf-v6-c-code-editor__header::before {
81
+ .pf-v6-c-code-editor__header::before, .pf-v6-c-code-editor__header::after {
82
+ position: absolute;
83
+ pointer-events: none;
84
+ content: "";
85
+ }
86
+ .pf-v6-c-code-editor__header::after {
76
87
  position: absolute;
88
+ inset: 0;
89
+ pointer-events: none;
90
+ content: "";
91
+ border: var(--pf-v6-c-code-editor__header--BorderWidth) solid var(--pf-v6-c-code-editor__header--BorderColor);
92
+ border-block-end-width: 0;
93
+ border-start-start-radius: var(--pf-v6-c-code-editor__header--BorderStartStartRadius);
94
+ border-start-end-radius: var(--pf-v6-c-code-editor__header--BorderStartEndRadius);
95
+ }
96
+ .pf-v6-c-code-editor__header::before {
77
97
  inset-block-end: 0;
78
98
  inset-inline-start: 0;
79
99
  inset-inline-end: 0;
80
- pointer-events: none;
81
- content: "";
82
100
  border-block-end: var(--pf-v6-c-code-editor__header--before--BorderBlockEndWidth) solid var(--pf-v6-c-code-editor__header--before--BorderBlockEndColor);
83
101
  }
84
102
  .pf-v6-c-code-editor__header.pf-m-plain {
103
+ --pf-v6-c-code-editor__header--BorderWidth: 0;
85
104
  --pf-v6-c-code-editor__header-content--BackgroundColor: var(--pf-v6-c-code-editor__header-content--m-plain--BackgroundColor);
86
105
  }
87
106
 
@@ -178,6 +197,7 @@
178
197
  padding-block-end: var(--pf-v6-c-code-editor__tab--PaddingBlockEnd);
179
198
  padding-inline-start: var(--pf-v6-c-code-editor__tab--PaddingInlineStart);
180
199
  padding-inline-end: var(--pf-v6-c-code-editor__tab--PaddingInlineEnd);
200
+ margin-inline-start: auto;
181
201
  color: var(--pf-v6-c-code-editor__tab--Color);
182
202
  background-color: var(--pf-v6-c-code-editor__tab--BackgroundColor);
183
203
  border-color: var(--pf-v6-c-code-editor__tab--BorderColor);
@@ -6,8 +6,12 @@
6
6
  --#{$code-editor}__controls--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
7
7
 
8
8
  // header
9
- --#{$code-editor}__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default);
10
- --#{$code-editor}__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
9
+ --#{$code-editor}__header--before--BorderBlockEndWidth: var(--pf-t--global--border--width--box--default); // TODO - remove in breaking change
10
+ --#{$code-editor}__header--before--BorderBlockEndColor: var(--pf-t--global--border--color--default); // TODO - remove in breaking change
11
+ --#{$code-editor}__header--BorderWidth: var(--pf-t--global--border--width--box--default);
12
+ --#{$code-editor}__header--BorderColor: var(--pf-t--global--border--color--default);
13
+ --#{$code-editor}__header--BorderStartStartRadius: var(--pf-t--global--border--radius--medium);
14
+ --#{$code-editor}__header--BorderStartEndRadius: var(--pf-t--global--border--radius--medium);
11
15
 
12
16
  // header content
13
17
  --#{$code-editor}__header-content--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -54,6 +58,7 @@
54
58
 
55
59
  // tab
56
60
  --#{$code-editor}__tab--BackgroundColor: var(--pf-t--global--background--color--primary--default);
61
+ --#{$code-editor}--m-read-only__tab--BackgroundColor: var(--#{$code-editor}--m-read-only__main--BackgroundColor);
57
62
  --#{$code-editor}__tab--Color: var(--pf-t--global--text--color--subtle);
58
63
  --#{$code-editor}__tab--PaddingBlockStart: var(--pf-t--global--spacer--sm);
59
64
  --#{$code-editor}__tab--PaddingInlineEnd: var( --pf-t--global--spacer--sm);
@@ -75,6 +80,7 @@
75
80
  flex-direction: column;
76
81
 
77
82
  &.pf-m-read-only {
83
+ --#{$code-editor}__tab--BackgroundColor: var(--#{$code-editor}--m-read-only__tab--BackgroundColor);
78
84
  --#{$code-editor}__main--BackgroundColor: var(--#{$code-editor}--m-read-only__main--BackgroundColor);
79
85
  }
80
86
 
@@ -93,17 +99,33 @@
93
99
  position: relative;
94
100
  display: flex;
95
101
 
96
- &::before {
102
+ &::before,
103
+ &::after {
97
104
  position: absolute;
105
+ pointer-events: none;
106
+ content: "";
107
+ }
108
+
109
+ &::after {
110
+ position: absolute;
111
+ inset: 0;
112
+ pointer-events: none;
113
+ content: "";
114
+ border: var(--#{$code-editor}__header--BorderWidth) solid var(--#{$code-editor}__header--BorderColor);
115
+ border-block-end-width: 0;
116
+ border-start-start-radius: var(--#{$code-editor}__header--BorderStartStartRadius);
117
+ border-start-end-radius: var(--#{$code-editor}__header--BorderStartEndRadius);
118
+ }
119
+
120
+ &::before {
98
121
  inset-block-end: 0;
99
122
  inset-inline-start: 0;
100
123
  inset-inline-end: 0;
101
- pointer-events: none;
102
- content: "";
103
124
  border-block-end: var(--#{$code-editor}__header--before--BorderBlockEndWidth) solid var(--#{$code-editor}__header--before--BorderBlockEndColor);
104
125
  }
105
126
 
106
127
  &.pf-m-plain {
128
+ --#{$code-editor}__header--BorderWidth: 0;
107
129
  --#{$code-editor}__header-content--BackgroundColor: var(--#{$code-editor}__header-content--m-plain--BackgroundColor);
108
130
  }
109
131
  }
@@ -207,6 +229,7 @@
207
229
  padding-block-end: var(--#{$code-editor}__tab--PaddingBlockEnd);
208
230
  padding-inline-start: var(--#{$code-editor}__tab--PaddingInlineStart);
209
231
  padding-inline-end: var(--#{$code-editor}__tab--PaddingInlineEnd);
232
+ margin-inline-start: auto;
210
233
  color: var(--#{$code-editor}__tab--Color);
211
234
  background-color: var(--#{$code-editor}__tab--BackgroundColor);
212
235
  border-color: var(--#{$code-editor}__tab--BorderColor);
@@ -5,6 +5,8 @@
5
5
  --pf-v6-c-date-picker__input--c-form-control--Width: calc(var(--pf-v6-c-date-picker__input--c-form-control--width-chars) * 1ch + var(--pf-v6-c-date-picker__input--c-form-control--width-base));
6
6
  --pf-v6-c-date-picker__input--c-form-control--width-base: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
7
7
  --pf-v6-c-date-picker__input--c-form-control--width-chars: 11;
8
+ --pf-v6-c-date-picker__calendar--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
9
+ --pf-v6-c-date-picker__calendar--BorderColor: var(--pf-t--global--border--color--high-contrast);
8
10
  --pf-v6-c-date-picker__calendar--BackgroundColor: var(--pf-t--global--background--color--floating--default);
9
11
  --pf-v6-c-date-picker__calendar--BoxShadow: var(--pf-t--global--box-shadow--md);
10
12
  --pf-v6-c-date-picker__calendar--ZIndex: var(--pf-t--global--z-index--sm);
@@ -35,6 +37,7 @@
35
37
  inset-inline-end: var(--pf-v6-c-date-picker__calendar--InsetInlineEnd);
36
38
  z-index: var(--pf-v6-c-date-picker__calendar--ZIndex);
37
39
  background-color: var(--pf-v6-c-date-picker__calendar--BackgroundColor);
40
+ border: var(--pf-v6-c-date-picker__calendar--BorderWidth) solid var(--pf-v6-c-date-picker__calendar--BorderColor);
38
41
  box-shadow: var(--pf-v6-c-date-picker__calendar--BoxShadow);
39
42
  }
40
43
  .pf-v6-c-date-picker__calendar.pf-m-align-right {
@@ -7,6 +7,8 @@
7
7
  --#{$date-picker}__input--c-form-control--Width: calc(var(--#{$date-picker}__input--c-form-control--width-chars) * 1ch + var(--#{$date-picker}__input--c-form-control--width-base));
8
8
  --#{$date-picker}__input--c-form-control--width-base: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm)); // form control left/right padding + status icon width and spacer
9
9
  --#{$date-picker}__input--c-form-control--width-chars: 11;
10
+ --#{$date-picker}__calendar--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
11
+ --#{$date-picker}__calendar--BorderColor: var(--pf-t--global--border--color--high-contrast);
10
12
  --#{$date-picker}__calendar--BackgroundColor: var(--pf-t--global--background--color--floating--default);
11
13
  --#{$date-picker}__calendar--BoxShadow: var(--pf-t--global--box-shadow--md);
12
14
  --#{$date-picker}__calendar--ZIndex: var(--pf-t--global--z-index--sm);
@@ -32,6 +34,7 @@
32
34
  }
33
35
  }
34
36
 
37
+ // TODO - remove in breaking change
35
38
  .#{$date-picker}__calendar {
36
39
  position: absolute;
37
40
  inset-block-start: var(--#{$date-picker}__calendar--InsetBlockStart);
@@ -39,6 +42,7 @@
39
42
  inset-inline-end: var(--#{$date-picker}__calendar--InsetInlineEnd);
40
43
  z-index: var(--#{$date-picker}__calendar--ZIndex);
41
44
  background-color: var(--#{$date-picker}__calendar--BackgroundColor);
45
+ border: var(--#{$date-picker}__calendar--BorderWidth) solid var(--#{$date-picker}__calendar--BorderColor);
42
46
  box-shadow: var(--#{$date-picker}__calendar--BoxShadow);
43
47
 
44
48
  &.pf-m-align-right {
@@ -66,6 +66,8 @@
66
66
  flex-basis: var(--pf-v6-c-divider--before--FlexBasis);
67
67
  content: "";
68
68
  background-color: var(--pf-v6-c-divider--Color);
69
+ border-block-start: var(--pf-v6-c-divider--Size) solid transparent;
70
+ border-inline-start: var(--pf-v6-c-divider--Size) solid transparent;
69
71
  }
70
72
  .pf-v6-c-divider.pf-m-horizontal {
71
73
  flex-direction: row;
@@ -43,6 +43,8 @@ $pf-v6-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "
43
43
  flex-basis: var(--#{$divider}--before--FlexBasis);
44
44
  content: "";
45
45
  background-color: var(--#{$divider}--Color);
46
+ border-block-start: var(--#{$divider}--Size) solid transparent;
47
+ border-inline-start: var(--#{$divider}--Size) solid transparent;
46
48
  }
47
49
 
48
50
  // - Divider horizontal
@@ -9,6 +9,11 @@
9
9
  --pf-v6-c-drawer__panel--MinWidth: 50%;
10
10
  --pf-v6-c-drawer__panel--MaxHeight: auto;
11
11
  --pf-v6-c-drawer__panel--ZIndex: var(--pf-t--global--z-index--sm);
12
+ --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer__panel--after--BackgroundColor);
13
+ --pf-v6-c-drawer__panel--BorderBlockStartWidth: 0;
14
+ --pf-v6-c-drawer__panel--BorderBlockEndWidth: 0;
15
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: var(--pf-v6-c-drawer__panel--after--Width);
16
+ --pf-v6-c-drawer__panel--BorderInlineEndWidth: 0;
12
17
  --pf-v6-c-drawer__panel--BackgroundColor: var(--pf-t--global--background--color--floating--default);
13
18
  --pf-v6-c-drawer__panel--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
14
19
  --pf-v6-c-drawer__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -105,13 +110,15 @@
105
110
  --pf-v6-c-drawer__actions--MarginInlineEnd: calc(var(--pf-t--global--spacer--control--horizontal--compact) * -1.5);
106
111
  --pf-v6-c-drawer__panel--BoxShadow: none;
107
112
  --pf-v6-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-t--global--box-shadow--md--top);
108
- --pf-v6-c-drawer__panel--after--Width: var(--pf-t--global--border--width--divider--default);
109
- --pf-v6-c-drawer--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--divider--default);
110
- --pf-v6-c-drawer__panel--after--BackgroundColor: transparent;
113
+ --pf-v6-c-drawer__panel--after--Width: var(--pf-t--global--border--width--high-contrast--regular);
114
+ --pf-v6-c-drawer--m-inline__panel--after--Width: 0;
115
+ --pf-v6-c-drawer--m-inline__panel--after--md--Width: var(--pf-t--global--border--width--divider--default);
116
+ --pf-v6-c-drawer--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--high-contrast--regular);
117
+ --pf-v6-c-drawer__panel--after--BackgroundColor: var(--pf-t--global--border--color--high-contrast);
111
118
  --pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-t--global--border--color--default);
112
- --pf-v6-c-drawer--m-inline__panel--PaddingInlineStart: var(--pf-v6-c-drawer__panel--after--Width);
113
- --pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd: var(--pf-v6-c-drawer__panel--after--Width);
114
- --pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart: var(--pf-v6-c-drawer__panel--after--Width);
119
+ --pf-v6-c-drawer--m-inline__panel--PaddingInlineStart: 0;
120
+ --pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd: 0;
121
+ --pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart: 0;
115
122
  }
116
123
  @media screen and (prefers-reduced-motion: no-preference) {
117
124
  .pf-v6-c-drawer {
@@ -152,6 +159,7 @@
152
159
 
153
160
  .pf-v6-c-drawer.pf-m-inline, .pf-v6-c-drawer.pf-m-static {
154
161
  --pf-v6-c-drawer__panel--BackgroundColor: var(--pf-v6-c-drawer__panel--m-inline--BackgroundColor);
162
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: var(--pf-v6-c-drawer--m-inline__panel--after--Width);
155
163
  }
156
164
  .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
157
165
  padding-inline-start: var(--pf-v6-c-drawer--m-inline__panel--PaddingInlineStart);
@@ -252,6 +260,11 @@
252
260
  overflow: auto;
253
261
  visibility: hidden;
254
262
  background-color: var(--pf-v6-c-drawer__panel--BackgroundColor);
263
+ border: solid var(--pf-v6-c-drawer__panel--BorderColor);
264
+ border-block-start-width: var(--pf-v6-c-drawer__panel--BorderBlockStartWidth);
265
+ border-block-end-width: var(--pf-v6-c-drawer__panel--BorderBlockEndWidth);
266
+ border-inline-start-width: var(--pf-v6-c-drawer__panel--BorderInlineStartWidth);
267
+ border-inline-end-width: var(--pf-v6-c-drawer__panel--BorderInlineEndWidth);
255
268
  box-shadow: var(--pf-v6-c-drawer__panel--BoxShadow);
256
269
  opacity: var(--pf-v6-c-drawer__panel--Opacity);
257
270
  transition-delay: var(--pf-v6-c-drawer__panel--TransitionDelay);
@@ -260,15 +273,6 @@
260
273
  transition-property: var(--pf-v6-c-drawer__panel--TransitionProperty);
261
274
  -webkit-overflow-scrolling: touch;
262
275
  }
263
- .pf-v6-c-drawer__panel::after {
264
- position: absolute;
265
- inset-block-start: 0;
266
- inset-inline-start: 0;
267
- width: var(--pf-v6-c-drawer__panel--after--Width);
268
- height: 100%;
269
- content: "";
270
- background-color: var(--pf-v6-c-drawer__panel--after--BackgroundColor);
271
- }
272
276
  .pf-v6-c-drawer__panel:not(.pf-m-resizable) {
273
277
  padding-block-start: var(--pf-v6-c-drawer__panel--PaddingBlockStart);
274
278
  padding-block-end: var(--pf-v6-c-drawer__panel--PaddingBlockEnd);
@@ -416,6 +420,7 @@
416
420
 
417
421
  @media screen and (min-width: 48rem) {
418
422
  .pf-v6-c-drawer {
423
+ --pf-v6-c-drawer--m-inline__panel--after--Width: var(--pf-v6-c-drawer--m-inline__panel--after--md--Width);
419
424
  min-width: var(--pf-v6-c-drawer__panel--MinWidth);
420
425
  }
421
426
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
@@ -423,13 +428,13 @@
423
428
  }
424
429
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable {
425
430
  --pf-v6-c-drawer__panel--md--FlexBasis--min: var(--pf-v6-c-drawer__panel--m-resizable--md--FlexBasis--min);
431
+ --pf-v6-c-drawer__panel--BorderBlockStartWidth: 0;
432
+ --pf-v6-c-drawer__panel--BorderBlockEndWidth: 0;
433
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: 0;
434
+ --pf-v6-c-drawer__panel--BorderInlineEndWidth: 0;
426
435
  flex-direction: var(--pf-v6-c-drawer__panel--m-resizable--FlexDirection);
427
436
  min-width: var(--pf-v6-c-drawer__panel--m-resizable--MinWidth);
428
437
  }
429
- .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable::after {
430
- width: 0;
431
- height: 0;
432
- }
433
438
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable > .pf-v6-c-drawer__splitter {
434
439
  flex-shrink: 0;
435
440
  }
@@ -438,18 +443,17 @@
438
443
  }
439
444
  .pf-v6-c-drawer.pf-m-panel-left {
440
445
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: var(--pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow);
446
+ --pf-v6-c-drawer__panel--BorderInlineEndWidth: var(--pf-v6-c-drawer__panel--after--Width);
447
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: 0;
441
448
  }
442
449
  .pf-v6-c-drawer.pf-m-panel-left.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-panel-left.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
450
+ --pf-v6-c-drawer__panel--BorderInlineEndWidth: var(--pf-v6-c-drawer--m-inline__panel--after--Width);
443
451
  padding-inline-start: 0;
444
452
  padding-inline-end: var(--pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd);
445
453
  }
446
454
  .pf-v6-c-drawer.pf-m-panel-left.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
447
455
  transform: translateX(0);
448
456
  }
449
- .pf-v6-c-drawer.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel::after {
450
- inset-inline-start: auto;
451
- inset-inline-end: 0;
452
- }
453
457
  .pf-v6-c-drawer.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable > .pf-v6-c-drawer__splitter {
454
458
  --pf-v6-c-drawer__splitter-handle--InsetInlineStart: var(--pf-v6-c-drawer--m-panel-left__splitter-handle--InsetInlineStart);
455
459
  order: 1;
@@ -458,19 +462,16 @@
458
462
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: var(--pf-v6-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow);
459
463
  --pf-v6-c-drawer__panel--MaxHeight: 100%;
460
464
  --pf-v6-c-drawer__panel--FlexBasis--min: var(--pf-v6-c-drawer--m-panel-bottom__panel--FlexBasis--min);
465
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: 0;
466
+ --pf-v6-c-drawer__panel--BorderBlockStartWidth: var(--pf-v6-c-drawer--m-panel-bottom__panel--after--Height);
461
467
  min-width: auto;
462
468
  min-height: var(--pf-v6-c-drawer--m-panel-bottom__panel--md--MinHeight);
463
469
  }
464
470
  .pf-v6-c-drawer.pf-m-panel-bottom.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-panel-bottom.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
471
+ --pf-v6-c-drawer__panel--BorderBlockStartWidth: var(--pf-v6-c-drawer--m-inline__panel--after--Width);
465
472
  padding-block-start: var(--pf-v6-c-drawer--m-panel-bottom--m-inline__panel--PaddingBlockStart);
466
473
  padding-inline-start: 0;
467
474
  }
468
- .pf-v6-c-drawer.pf-m-panel-bottom > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel::after {
469
- inset-block-start: 0;
470
- inset-inline-start: auto;
471
- width: 100%;
472
- height: var(--pf-v6-c-drawer--m-panel-bottom__panel--after--Height);
473
- }
474
475
  .pf-v6-c-drawer.pf-m-panel-bottom > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable {
475
476
  --pf-v6-c-drawer__panel--md--FlexBasis--min: var(--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min);
476
477
  --pf-v6-c-drawer__panel--m-resizable--FlexDirection: var(--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection);
@@ -499,6 +500,10 @@
499
500
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-no-border,
500
501
  .pf-v6-c-drawer.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-no-border {
501
502
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: none;
503
+ --pf-v6-c-drawer__panel--BorderBlockStartWidth: 0;
504
+ --pf-v6-c-drawer__panel--BorderBlockEndWidth: 0;
505
+ --pf-v6-c-drawer__panel--BorderInlineStartWidth: 0;
506
+ --pf-v6-c-drawer__panel--BorderInlineEndWidth: 0;
502
507
  }
503
508
  .pf-v6-c-drawer__splitter {
504
509
  display: block;
@@ -593,9 +598,9 @@
593
598
  .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
594
599
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: none;
595
600
  }
596
- .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after,
597
- .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after {
598
- background-color: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
601
+ .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border),
602
+ .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border) {
603
+ --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
599
604
  }
600
605
  .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__content {
601
606
  overflow-x: auto;
@@ -660,9 +665,9 @@
660
665
  .pf-v6-c-drawer.pf-m-static-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
661
666
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: none;
662
667
  }
663
- .pf-v6-c-drawer.pf-m-inline-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after,
664
- .pf-v6-c-drawer.pf-m-static-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after {
665
- background-color: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
668
+ .pf-v6-c-drawer.pf-m-inline-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border),
669
+ .pf-v6-c-drawer.pf-m-static-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border) {
670
+ --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
666
671
  }
667
672
  .pf-v6-c-drawer.pf-m-inline-on-lg > .pf-v6-c-drawer__main > .pf-v6-c-drawer__content {
668
673
  overflow-x: auto;
@@ -727,9 +732,9 @@
727
732
  .pf-v6-c-drawer.pf-m-static-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
728
733
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: none;
729
734
  }
730
- .pf-v6-c-drawer.pf-m-inline-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after,
731
- .pf-v6-c-drawer.pf-m-static-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after {
732
- background-color: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
735
+ .pf-v6-c-drawer.pf-m-inline-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border),
736
+ .pf-v6-c-drawer.pf-m-static-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border) {
737
+ --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
733
738
  }
734
739
  .pf-v6-c-drawer.pf-m-inline-on-xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__content {
735
740
  overflow-x: auto;
@@ -794,9 +799,9 @@
794
799
  .pf-v6-c-drawer.pf-m-static-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
795
800
  --pf-v6-c-drawer--m-expanded__panel--BoxShadow: none;
796
801
  }
797
- .pf-v6-c-drawer.pf-m-inline-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after,
798
- .pf-v6-c-drawer.pf-m-static-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border)::after {
799
- background-color: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
802
+ .pf-v6-c-drawer.pf-m-inline-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border),
803
+ .pf-v6-c-drawer.pf-m-static-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border) {
804
+ --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);
800
805
  }
801
806
  .pf-v6-c-drawer.pf-m-inline-on-2xl > .pf-v6-c-drawer__main > .pf-v6-c-drawer__content {
802
807
  overflow-x: auto;
@@ -21,6 +21,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
21
21
  --#{$drawer}__panel--MinWidth: 50%; // change to __panel--md--MinWidth at breaking change
22
22
  --#{$drawer}__panel--MaxHeight: auto;
23
23
  --#{$drawer}__panel--ZIndex: var(--pf-t--global--z-index--sm);
24
+ --#{$drawer}__panel--BorderColor: var(--#{$drawer}__panel--after--BackgroundColor); // TODO use token directly in breaking change
25
+ --#{$drawer}__panel--BorderBlockStartWidth: 0;
26
+ --#{$drawer}__panel--BorderBlockEndWidth: 0;
27
+ --#{$drawer}__panel--BorderInlineStartWidth: var(--#{$drawer}__panel--after--Width); // default is left side
28
+ --#{$drawer}__panel--BorderInlineEndWidth: 0;
24
29
  --#{$drawer}__panel--BackgroundColor: var(--pf-t--global--background--color--floating--default);
25
30
  --#{$drawer}__panel--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
26
31
  --#{$drawer}__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
@@ -161,14 +166,17 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
161
166
  --#{$drawer}__panel--BoxShadow: none;
162
167
  --#{$drawer}--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-t--global--box-shadow--md--top);
163
168
 
164
- // Divider
165
- --#{$drawer}__panel--after--Width: var(--pf-t--global--border--width--divider--default);
166
- --#{$drawer}--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--divider--default);
167
- --#{$drawer}__panel--after--BackgroundColor: transparent;
169
+ // Divider
170
+ // TODO remove these variables in a breaking change in favor of setting the border variables directly
171
+ --#{$drawer}__panel--after--Width: var(--pf-t--global--border--width--high-contrast--regular);
172
+ --#{$drawer}--m-inline__panel--after--Width: 0;
173
+ --#{$drawer}--m-inline__panel--after--md--Width: var(--pf-t--global--border--width--divider--default); // TODO this turns on border always for inline
174
+ --#{$drawer}--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--high-contrast--regular);
175
+ --#{$drawer}__panel--after--BackgroundColor: var(--pf-t--global--border--color--high-contrast);
168
176
  --#{$drawer}--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-t--global--border--color--default);
169
- --#{$drawer}--m-inline__panel--PaddingInlineStart: var(--#{$drawer}__panel--after--Width);
170
- --#{$drawer}--m-panel-left--m-inline__panel--PaddingInlineEnd: var(--#{$drawer}__panel--after--Width);
171
- --#{$drawer}--m-panel-bottom--m-inline__panel--PaddingBlockStart: var(--#{$drawer}__panel--after--Width);
177
+ --#{$drawer}--m-inline__panel--PaddingInlineStart: 0; // no padding needed now
178
+ --#{$drawer}--m-panel-left--m-inline__panel--PaddingInlineEnd: 0;
179
+ --#{$drawer}--m-panel-bottom--m-inline__panel--PaddingBlockStart: 0;
172
180
  }
173
181
 
174
182
  .#{$drawer} {
@@ -191,6 +199,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
191
199
  &.pf-m-inline,
192
200
  &.pf-m-static {
193
201
  --#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-inline--BackgroundColor);
202
+ --#{$drawer}__panel--BorderInlineStartWidth: var(--#{$drawer}--m-inline__panel--after--Width);
203
+
194
204
 
195
205
  > .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
196
206
  padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
@@ -321,6 +331,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
321
331
  overflow: auto;
322
332
  visibility: hidden; // hidden by default
323
333
  background-color: var(--#{$drawer}__panel--BackgroundColor);
334
+ border: solid var(--#{$drawer}__panel--BorderColor);
335
+ border-block-start-width: var(--#{$drawer}__panel--BorderBlockStartWidth);
336
+ border-block-end-width: var(--#{$drawer}__panel--BorderBlockEndWidth);
337
+ border-inline-start-width: var(--#{$drawer}__panel--BorderInlineStartWidth);
338
+ border-inline-end-width: var(--#{$drawer}__panel--BorderInlineEndWidth);
324
339
  box-shadow: var(--#{$drawer}__panel--BoxShadow);
325
340
  opacity: var(--#{$drawer}__panel--Opacity);
326
341
  transition-delay: var(--#{$drawer}__panel--TransitionDelay);
@@ -329,16 +344,6 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
329
344
  transition-property: var(--#{$drawer}__panel--TransitionProperty);
330
345
  -webkit-overflow-scrolling: touch;
331
346
 
332
- &::after {
333
- position: absolute;
334
- inset-block-start: 0;
335
- inset-inline-start: 0;
336
- width: var(--#{$drawer}__panel--after--Width);
337
- height: 100%;
338
- content: "";
339
- background-color: var(--#{$drawer}__panel--after--BackgroundColor);
340
- }
341
-
342
347
  &:not(.pf-m-resizable) {
343
348
  padding-block-start: var(--#{$drawer}__panel--PaddingBlockStart);
344
349
  padding-block-end: var(--#{$drawer}__panel--PaddingBlockEnd);
@@ -511,6 +516,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
511
516
  @media screen and (min-width: $pf-v6-global--breakpoint--md) {
512
517
  // Default
513
518
  .#{$drawer} {
519
+ --#{$drawer}--m-inline__panel--after--Width: var(--#{$drawer}--m-inline__panel--after--md--Width);
520
+
514
521
  min-width: var(--#{$drawer}__panel--MinWidth);
515
522
 
516
523
  > .#{$drawer}__main {
@@ -521,15 +528,14 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
521
528
 
522
529
  > .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
523
530
  --#{$drawer}__panel--md--FlexBasis--min: var(--#{$drawer}__panel--m-resizable--md--FlexBasis--min);
531
+ --#{$drawer}__panel--BorderBlockStartWidth: 0;
532
+ --#{$drawer}__panel--BorderBlockEndWidth: 0;
533
+ --#{$drawer}__panel--BorderInlineStartWidth: 0;
534
+ --#{$drawer}__panel--BorderInlineEndWidth: 0;
524
535
 
525
536
  flex-direction: var(--#{$drawer}__panel--m-resizable--FlexDirection);
526
537
  min-width: var(--#{$drawer}__panel--m-resizable--MinWidth);
527
538
 
528
- &::after {
529
- width: 0;
530
- height: 0;
531
- }
532
-
533
539
  > .#{$drawer}__splitter {
534
540
  flex-shrink: 0;
535
541
  }
@@ -543,12 +549,18 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
543
549
  // Panel left
544
550
  .#{$drawer}.pf-m-panel-left {
545
551
  --#{$drawer}--m-expanded__panel--BoxShadow: var(--#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow);
552
+ --#{$drawer}__panel--BorderInlineEndWidth: var(--#{$drawer}__panel--after--Width);
553
+ --#{$drawer}__panel--BorderInlineStartWidth: 0; // turn off default left border
546
554
 
547
555
  &.pf-m-inline,
548
556
  &.pf-m-static {
549
557
  > .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
558
+ --#{$drawer}__panel--BorderInlineEndWidth: var(--#{$drawer}--m-inline__panel--after--Width);
559
+
560
+ // TODO remove in breaking change
550
561
  padding-inline-start: 0;
551
562
  padding-inline-end: var(--#{$drawer}--m-panel-left--m-inline__panel--PaddingInlineEnd);
563
+
552
564
  }
553
565
  }
554
566
 
@@ -556,11 +568,6 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
556
568
  transform: translateX(0);
557
569
  }
558
570
 
559
- > .#{$drawer}__main > .#{$drawer}__panel::after {
560
- inset-inline-start: auto;
561
- inset-inline-end: 0;
562
- }
563
-
564
571
  > .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
565
572
  > .#{$drawer}__splitter {
566
573
  --#{$drawer}__splitter-handle--InsetInlineStart: var(--#{$drawer}--m-panel-left__splitter-handle--InsetInlineStart);
@@ -574,6 +581,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
574
581
  --#{$drawer}--m-expanded__panel--BoxShadow: var(--#{$drawer}--m-expanded--m-panel-bottom__panel--BoxShadow);
575
582
  --#{$drawer}__panel--MaxHeight: 100%;
576
583
  --#{$drawer}__panel--FlexBasis--min: var(--#{$drawer}--m-panel-bottom__panel--FlexBasis--min);
584
+ --#{$drawer}__panel--BorderInlineStartWidth: 0; // turn off default left border
585
+ --#{$drawer}__panel--BorderBlockStartWidth: var(--#{$drawer}--m-panel-bottom__panel--after--Height); // set the border width based on the old height variable
577
586
 
578
587
  min-width: auto;
579
588
  min-height: var(--#{$drawer}--m-panel-bottom__panel--md--MinHeight);
@@ -581,18 +590,14 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
581
590
  &.pf-m-inline,
582
591
  &.pf-m-static {
583
592
  > .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
593
+ --#{$drawer}__panel--BorderBlockStartWidth: var(--#{$drawer}--m-inline__panel--after--Width);
594
+
595
+ // TODO remove in breaking change
584
596
  padding-block-start: var(--#{$drawer}--m-panel-bottom--m-inline__panel--PaddingBlockStart);
585
597
  padding-inline-start: 0;
586
598
  }
587
599
  }
588
600
 
589
- > .#{$drawer}__main > .#{$drawer}__panel::after {
590
- inset-block-start: 0;
591
- inset-inline-start: auto;
592
- width: 100%;
593
- height: var(--#{$drawer}--m-panel-bottom__panel--after--Height);
594
- }
595
-
596
601
  > .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
597
602
  --#{$drawer}__panel--md--FlexBasis--min: var(--#{$drawer}--m-panel-bottom__panel--m-resizable--md--FlexBasis--min);
598
603
  --#{$drawer}__panel--m-resizable--FlexDirection: var(--#{$drawer}--m-panel-bottom__panel--m-resizable--FlexDirection);
@@ -637,6 +642,10 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
637
642
  .#{$drawer} > .#{$drawer}__main > .#{$drawer}__panel.pf-m-no-border,
638
643
  .#{$drawer}.pf-m-panel-left > .#{$drawer}__main > .#{$drawer}__panel.pf-m-no-border {
639
644
  --#{$drawer}--m-expanded__panel--BoxShadow: none;
645
+ --#{$drawer}__panel--BorderBlockStartWidth: 0;
646
+ --#{$drawer}__panel--BorderBlockEndWidth: 0;
647
+ --#{$drawer}__panel--BorderInlineStartWidth: 0;
648
+ --#{$drawer}__panel--BorderInlineEndWidth: 0;
640
649
  }
641
650
 
642
651
  .#{$drawer}__splitter {
@@ -680,8 +689,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
680
689
  > .#{$drawer}__main > .#{$drawer}__panel {
681
690
  --#{$drawer}--m-expanded__panel--BoxShadow: none;
682
691
 
683
- &:not(.pf-m-no-border)::after {
684
- background-color: var(--#{$drawer}--m-inline--m-expanded__panel--after--BackgroundColor);
692
+ &:not(.pf-m-no-border) {
693
+ --#{$drawer}__panel--BorderColor: var(--#{$drawer}--m-inline--m-expanded__panel--after--BackgroundColor);
685
694
  }
686
695
  }
687
696
  }