@patternfly/patternfly 6.6.0-prerelease.4 → 6.6.0-prerelease.6
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.
- package/components/Button/button.css +3 -0
- package/components/Button/button.scss +4 -0
- package/components/MenuToggle/menu-toggle.css +3 -0
- package/components/MenuToggle/menu-toggle.scss +4 -1
- package/components/Sidebar/sidebar.css +4 -7
- package/components/Sidebar/sidebar.scss +9 -9
- package/components/_index.css +10 -7
- package/docs/components/Drawer/examples/Drawer.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +3 -1
- package/package.json +1 -1
- package/patternfly-no-globals.css +10 -7
- package/patternfly.css +10 -7
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -860,6 +860,9 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
860
860
|
justify-content: flex-start;
|
|
861
861
|
width: 100%;
|
|
862
862
|
}
|
|
863
|
+
.pf-v6-c-button.pf-m-docked .pf-v6-c-button__icon {
|
|
864
|
+
min-width: 1lh;
|
|
865
|
+
}
|
|
863
866
|
@media (min-width: 62rem) {
|
|
864
867
|
.pf-v6-c-button.pf-m-docked {
|
|
865
868
|
justify-content: center;
|
|
@@ -438,6 +438,10 @@
|
|
|
438
438
|
justify-content: flex-start;
|
|
439
439
|
width: 100%;
|
|
440
440
|
|
|
441
|
+
.#{$menu-toggle}__icon {
|
|
442
|
+
min-width: 1lh;
|
|
443
|
+
}
|
|
444
|
+
|
|
441
445
|
@media (min-width: $pf-v6-global--breakpoint--dock--desktop) {
|
|
442
446
|
justify-content: center;
|
|
443
447
|
width: auto;
|
|
@@ -459,7 +463,6 @@
|
|
|
459
463
|
display: revert;
|
|
460
464
|
}
|
|
461
465
|
}
|
|
462
|
-
|
|
463
466
|
}
|
|
464
467
|
|
|
465
468
|
// Register the property type for the custom property to be animatable
|
|
@@ -168,6 +168,9 @@
|
|
|
168
168
|
--pf-v6-c-sidebar__panel--Position: static;
|
|
169
169
|
--pf-v6-c-sidebar__panel--InsetBlockStart: auto;
|
|
170
170
|
}
|
|
171
|
+
.pf-v6-c-sidebar__panel.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__panel:not(.pf-m-no-plain-on-glass) {
|
|
172
|
+
--pf-v6-c-sidebar__panel--BackgroundColor: transparent;
|
|
173
|
+
}
|
|
171
174
|
.pf-v6-c-sidebar__panel.pf-m-secondary {
|
|
172
175
|
--pf-v6-c-sidebar__panel--BackgroundColor: var(--pf-v6-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
173
176
|
}
|
|
@@ -187,7 +190,7 @@
|
|
|
187
190
|
--pf-v6-c-sidebar__content--PaddingBlockEnd: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockEnd);
|
|
188
191
|
--pf-v6-c-sidebar__content--PaddingInlineStart: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockStart);
|
|
189
192
|
}
|
|
190
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
193
|
+
.pf-v6-c-sidebar__content.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__content.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__content:not(.pf-m-no-plain-on-glass) {
|
|
191
194
|
--pf-v6-c-sidebar__content--BackgroundColor: transparent;
|
|
192
195
|
}
|
|
193
196
|
.pf-v6-c-sidebar__content.pf-m-secondary {
|
|
@@ -200,12 +203,6 @@
|
|
|
200
203
|
--pf-v6-c-sidebar__content--Order: -1;
|
|
201
204
|
}
|
|
202
205
|
|
|
203
|
-
.pf-v6-c-sidebar.pf-m-no-background,
|
|
204
|
-
.pf-v6-c-sidebar__panel.pf-m-no-background,
|
|
205
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
206
|
-
background-color: transparent;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
206
|
.pf-v6-c-sidebar__panel.pf-m-width-default {
|
|
210
207
|
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
211
208
|
}
|
|
@@ -205,6 +205,12 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
205
205
|
--#{$sidebar}__panel--InsetBlockStart: auto;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
&.pf-m-no-background,
|
|
209
|
+
:where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
|
|
210
|
+
:where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
|
|
211
|
+
--#{$sidebar}__panel--BackgroundColor: transparent;
|
|
212
|
+
}
|
|
213
|
+
|
|
208
214
|
&.pf-m-secondary {
|
|
209
215
|
--#{$sidebar}__panel--BackgroundColor: var(--#{$sidebar}__panel--m-secondary--BackgroundColor);
|
|
210
216
|
}
|
|
@@ -226,7 +232,9 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
226
232
|
--#{$sidebar}__content--PaddingInlineStart: var(--#{$sidebar}__content--m-padding--PaddingBlockStart);
|
|
227
233
|
}
|
|
228
234
|
|
|
229
|
-
&.pf-m-no-background
|
|
235
|
+
&.pf-m-no-background,
|
|
236
|
+
:where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
|
|
237
|
+
:where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
|
|
230
238
|
--#{$sidebar}__content--BackgroundColor: transparent;
|
|
231
239
|
}
|
|
232
240
|
|
|
@@ -243,14 +251,6 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
243
251
|
}
|
|
244
252
|
}
|
|
245
253
|
|
|
246
|
-
.#{$sidebar},
|
|
247
|
-
.#{$sidebar}__panel,
|
|
248
|
-
.#{$sidebar}__content {
|
|
249
|
-
&.pf-m-no-background {
|
|
250
|
-
background-color: transparent;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
254
|
// Responsive width modifiers
|
|
255
255
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
|
|
256
256
|
$breakpoint-name: "";
|
package/components/_index.css
CHANGED
|
@@ -2483,6 +2483,9 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2483
2483
|
justify-content: flex-start;
|
|
2484
2484
|
width: 100%;
|
|
2485
2485
|
}
|
|
2486
|
+
.pf-v6-c-button.pf-m-docked .pf-v6-c-button__icon {
|
|
2487
|
+
min-width: 1lh;
|
|
2488
|
+
}
|
|
2486
2489
|
@media (min-width: 62rem) {
|
|
2487
2490
|
.pf-v6-c-button.pf-m-docked {
|
|
2488
2491
|
justify-content: center;
|
|
@@ -12303,6 +12306,9 @@ ul.pf-v6-c-list {
|
|
|
12303
12306
|
justify-content: flex-start;
|
|
12304
12307
|
width: 100%;
|
|
12305
12308
|
}
|
|
12309
|
+
.pf-v6-c-menu-toggle.pf-m-docked .pf-v6-c-menu-toggle__icon {
|
|
12310
|
+
min-width: 1lh;
|
|
12311
|
+
}
|
|
12306
12312
|
@media (min-width: 62rem) {
|
|
12307
12313
|
.pf-v6-c-menu-toggle.pf-m-docked {
|
|
12308
12314
|
justify-content: center;
|
|
@@ -16688,6 +16694,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16688
16694
|
--pf-v6-c-sidebar__panel--Position: static;
|
|
16689
16695
|
--pf-v6-c-sidebar__panel--InsetBlockStart: auto;
|
|
16690
16696
|
}
|
|
16697
|
+
.pf-v6-c-sidebar__panel.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__panel:not(.pf-m-no-plain-on-glass) {
|
|
16698
|
+
--pf-v6-c-sidebar__panel--BackgroundColor: transparent;
|
|
16699
|
+
}
|
|
16691
16700
|
.pf-v6-c-sidebar__panel.pf-m-secondary {
|
|
16692
16701
|
--pf-v6-c-sidebar__panel--BackgroundColor: var(--pf-v6-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
16693
16702
|
}
|
|
@@ -16707,7 +16716,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16707
16716
|
--pf-v6-c-sidebar__content--PaddingBlockEnd: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockEnd);
|
|
16708
16717
|
--pf-v6-c-sidebar__content--PaddingInlineStart: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockStart);
|
|
16709
16718
|
}
|
|
16710
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
16719
|
+
.pf-v6-c-sidebar__content.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__content.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__content:not(.pf-m-no-plain-on-glass) {
|
|
16711
16720
|
--pf-v6-c-sidebar__content--BackgroundColor: transparent;
|
|
16712
16721
|
}
|
|
16713
16722
|
.pf-v6-c-sidebar__content.pf-m-secondary {
|
|
@@ -16720,12 +16729,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16720
16729
|
--pf-v6-c-sidebar__content--Order: -1;
|
|
16721
16730
|
}
|
|
16722
16731
|
|
|
16723
|
-
.pf-v6-c-sidebar.pf-m-no-background,
|
|
16724
|
-
.pf-v6-c-sidebar__panel.pf-m-no-background,
|
|
16725
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
16726
|
-
background-color: transparent;
|
|
16727
|
-
}
|
|
16728
|
-
|
|
16729
16732
|
.pf-v6-c-sidebar__panel.pf-m-width-default {
|
|
16730
16733
|
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
16731
16734
|
}
|
|
@@ -1194,7 +1194,7 @@ cssPrefix: pf-v6-c-drawer
|
|
|
1194
1194
|
| `.pf-m-no-border` | `.pf-v6-c-drawer__panel` | Modifies the drawer panel border treatment to disable all border treatment. |
|
|
1195
1195
|
| `.pf-m-padding` | `.pf-v6-c-drawer__body` | Modifies the element to add padding. |
|
|
1196
1196
|
| `.pf-m-no-padding` | `.pf-v6-c-drawer__body` | Modifies the element to remove padding. |
|
|
1197
|
-
| `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__panel` | Modifies the drawer element background color to transparent. |
|
|
1197
|
+
| `.pf-m-no-background` | `.pf-v6-c-drawer__section`, `.pf-v6-c-drawer__panel` | Modifies the drawer element background color to transparent. **Note:** `.pf-m-no-background` is deprecated, use `.pf-m-plain` instead. |
|
|
1198
1198
|
| `.pf-m-plain` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static`, `.pf-v6-c-drawer__section` | Applies plain styling. |
|
|
1199
1199
|
| `.pf-m-no-plain-on-glass` | `.pf-v6-c-drawer__panel.pf-m-inline`, `.pf-v6-c-drawer__panel.pf-m-static`, `.pf-v6-c-drawer__section` | Prevents the elements from automatically applying plain styling when glass theme is enabled. |
|
|
1200
1200
|
| `.pf-m-primary` | `.pf-v6-c-drawer__content` | Modifies the drawer content to use the primary background color. |
|
|
@@ -266,5 +266,7 @@ cssPrefix: pf-v6-c-sidebar
|
|
|
266
266
|
| `.pf-m-sticky` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
|
|
267
267
|
| `.pf-m-static` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be positioned statically. |
|
|
268
268
|
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** does not apply when the panel is stacked on top of the content. |
|
|
269
|
-
| `.pf-m-no-background` | `.pf-v6-c-
|
|
269
|
+
| `.pf-m-no-background` | `.pf-v6-c-sidebar__panel`, `.pf-v6-c-sidebar__content` | Modifies the element to have a transparent background. **Note:** `.pf-m-no-background` is deprecated, use `.pf-m-plain` instead. |
|
|
270
|
+
| `.pf-m-plain` | `.pf-v6-c-sidebar__panel`, `.pf-v6-c-sidebar__content` | Modifies the element to have a transparent background. |
|
|
270
271
|
| `.pf-m-secondary` | `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Modifies the element to have secondary styling. |
|
|
272
|
+
| `.pf-m-no-plain-on-glass` | `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Prevents the elements from automatically applying plain styling when glass theme is enabled. |
|
package/package.json
CHANGED
|
@@ -11739,6 +11739,9 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
11739
11739
|
justify-content: flex-start;
|
|
11740
11740
|
width: 100%;
|
|
11741
11741
|
}
|
|
11742
|
+
.pf-v6-c-button.pf-m-docked .pf-v6-c-button__icon {
|
|
11743
|
+
min-width: 1lh;
|
|
11744
|
+
}
|
|
11742
11745
|
@media (min-width: 62rem) {
|
|
11743
11746
|
.pf-v6-c-button.pf-m-docked {
|
|
11744
11747
|
justify-content: center;
|
|
@@ -21559,6 +21562,9 @@ ul.pf-v6-c-list {
|
|
|
21559
21562
|
justify-content: flex-start;
|
|
21560
21563
|
width: 100%;
|
|
21561
21564
|
}
|
|
21565
|
+
.pf-v6-c-menu-toggle.pf-m-docked .pf-v6-c-menu-toggle__icon {
|
|
21566
|
+
min-width: 1lh;
|
|
21567
|
+
}
|
|
21562
21568
|
@media (min-width: 62rem) {
|
|
21563
21569
|
.pf-v6-c-menu-toggle.pf-m-docked {
|
|
21564
21570
|
justify-content: center;
|
|
@@ -25944,6 +25950,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
25944
25950
|
--pf-v6-c-sidebar__panel--Position: static;
|
|
25945
25951
|
--pf-v6-c-sidebar__panel--InsetBlockStart: auto;
|
|
25946
25952
|
}
|
|
25953
|
+
.pf-v6-c-sidebar__panel.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__panel:not(.pf-m-no-plain-on-glass) {
|
|
25954
|
+
--pf-v6-c-sidebar__panel--BackgroundColor: transparent;
|
|
25955
|
+
}
|
|
25947
25956
|
.pf-v6-c-sidebar__panel.pf-m-secondary {
|
|
25948
25957
|
--pf-v6-c-sidebar__panel--BackgroundColor: var(--pf-v6-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
25949
25958
|
}
|
|
@@ -25963,7 +25972,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
25963
25972
|
--pf-v6-c-sidebar__content--PaddingBlockEnd: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockEnd);
|
|
25964
25973
|
--pf-v6-c-sidebar__content--PaddingInlineStart: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockStart);
|
|
25965
25974
|
}
|
|
25966
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
25975
|
+
.pf-v6-c-sidebar__content.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__content.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__content:not(.pf-m-no-plain-on-glass) {
|
|
25967
25976
|
--pf-v6-c-sidebar__content--BackgroundColor: transparent;
|
|
25968
25977
|
}
|
|
25969
25978
|
.pf-v6-c-sidebar__content.pf-m-secondary {
|
|
@@ -25976,12 +25985,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
25976
25985
|
--pf-v6-c-sidebar__content--Order: -1;
|
|
25977
25986
|
}
|
|
25978
25987
|
|
|
25979
|
-
.pf-v6-c-sidebar.pf-m-no-background,
|
|
25980
|
-
.pf-v6-c-sidebar__panel.pf-m-no-background,
|
|
25981
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
25982
|
-
background-color: transparent;
|
|
25983
|
-
}
|
|
25984
|
-
|
|
25985
25988
|
.pf-v6-c-sidebar__panel.pf-m-width-default {
|
|
25986
25989
|
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
25987
25990
|
}
|
package/patternfly.css
CHANGED
|
@@ -11894,6 +11894,9 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
11894
11894
|
justify-content: flex-start;
|
|
11895
11895
|
width: 100%;
|
|
11896
11896
|
}
|
|
11897
|
+
.pf-v6-c-button.pf-m-docked .pf-v6-c-button__icon {
|
|
11898
|
+
min-width: 1lh;
|
|
11899
|
+
}
|
|
11897
11900
|
@media (min-width: 62rem) {
|
|
11898
11901
|
.pf-v6-c-button.pf-m-docked {
|
|
11899
11902
|
justify-content: center;
|
|
@@ -21714,6 +21717,9 @@ ul.pf-v6-c-list {
|
|
|
21714
21717
|
justify-content: flex-start;
|
|
21715
21718
|
width: 100%;
|
|
21716
21719
|
}
|
|
21720
|
+
.pf-v6-c-menu-toggle.pf-m-docked .pf-v6-c-menu-toggle__icon {
|
|
21721
|
+
min-width: 1lh;
|
|
21722
|
+
}
|
|
21717
21723
|
@media (min-width: 62rem) {
|
|
21718
21724
|
.pf-v6-c-menu-toggle.pf-m-docked {
|
|
21719
21725
|
justify-content: center;
|
|
@@ -26099,6 +26105,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
26099
26105
|
--pf-v6-c-sidebar__panel--Position: static;
|
|
26100
26106
|
--pf-v6-c-sidebar__panel--InsetBlockStart: auto;
|
|
26101
26107
|
}
|
|
26108
|
+
.pf-v6-c-sidebar__panel.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__panel:not(.pf-m-no-plain-on-glass) {
|
|
26109
|
+
--pf-v6-c-sidebar__panel--BackgroundColor: transparent;
|
|
26110
|
+
}
|
|
26102
26111
|
.pf-v6-c-sidebar__panel.pf-m-secondary {
|
|
26103
26112
|
--pf-v6-c-sidebar__panel--BackgroundColor: var(--pf-v6-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
26104
26113
|
}
|
|
@@ -26118,7 +26127,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
26118
26127
|
--pf-v6-c-sidebar__content--PaddingBlockEnd: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockEnd);
|
|
26119
26128
|
--pf-v6-c-sidebar__content--PaddingInlineStart: var(--pf-v6-c-sidebar__content--m-padding--PaddingBlockStart);
|
|
26120
26129
|
}
|
|
26121
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
26130
|
+
.pf-v6-c-sidebar__content.pf-m-no-background, :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-sidebar__content.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-sidebar__content:not(.pf-m-no-plain-on-glass) {
|
|
26122
26131
|
--pf-v6-c-sidebar__content--BackgroundColor: transparent;
|
|
26123
26132
|
}
|
|
26124
26133
|
.pf-v6-c-sidebar__content.pf-m-secondary {
|
|
@@ -26131,12 +26140,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
26131
26140
|
--pf-v6-c-sidebar__content--Order: -1;
|
|
26132
26141
|
}
|
|
26133
26142
|
|
|
26134
|
-
.pf-v6-c-sidebar.pf-m-no-background,
|
|
26135
|
-
.pf-v6-c-sidebar__panel.pf-m-no-background,
|
|
26136
|
-
.pf-v6-c-sidebar__content.pf-m-no-background {
|
|
26137
|
-
background-color: transparent;
|
|
26138
|
-
}
|
|
26139
|
-
|
|
26140
26143
|
.pf-v6-c-sidebar__panel.pf-m-width-default {
|
|
26141
26144
|
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
26142
26145
|
}
|