@patternfly/patternfly 6.5.0-prerelease.7 → 6.5.0-prerelease.8
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/Card/card.scss +1 -1
- package/components/DataList/data-list.css +5 -1
- package/components/DataList/data-list.scss +6 -1
- package/components/Tabs/tabs.css +13 -1
- package/components/Tabs/tabs.scss +17 -1
- package/components/_index.css +18 -2
- package/docs/components/DataList/examples/DataList.md +159 -144
- package/docs/components/Tabs/examples/Tabs.md +188 -0
- package/package.json +1 -1
- package/patternfly-no-globals.css +18 -2
- package/patternfly.css +18 -2
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
// stylelint-enable selector-max-class
|
|
198
198
|
|
|
199
199
|
// when the whole card is clickable and the card actions are invisible, remove the padding/margin so it doesn't take up space
|
|
200
|
-
@at-root .#{$card}__actions:has(> .#{$card}__selectable-actions input.#{$pf-prefix}screen-reader),
|
|
200
|
+
@at-root .#{$card}__actions:has(> .#{$card}__selectable-actions input.#{$pf-prefix}screen-reader), // targets "card as tile", which are selectable cards with inputs
|
|
201
201
|
&.pf-m-clickable:not(.pf-m-selectable) {
|
|
202
202
|
--#{$card}__actions--PaddingInlineStart: 0;
|
|
203
203
|
--#{$card}__actions--MarginBlockStart: 0;
|
|
@@ -412,7 +412,8 @@
|
|
|
412
412
|
--pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
413
413
|
--pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
414
414
|
--pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
415
|
-
--pf-v6-c-data-list__item--BackgroundColor: var(
|
|
415
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
416
|
+
--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
|
|
416
417
|
--pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
417
418
|
--pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
418
419
|
--pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -567,6 +568,9 @@
|
|
|
567
568
|
.pf-v6-c-data-list.pf-m-drag-over {
|
|
568
569
|
overflow-anchor: none;
|
|
569
570
|
}
|
|
571
|
+
.pf-v6-c-data-list.pf-m-plain {
|
|
572
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
|
|
573
|
+
}
|
|
570
574
|
|
|
571
575
|
.pf-v6-c-data-list.pf-m-truncate,
|
|
572
576
|
.pf-v6-c-data-list__item-row.pf-m-truncate,
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// item
|
|
19
|
-
--#{$data-list}__item--BackgroundColor: var(
|
|
19
|
+
--#{$data-list}__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
20
|
+
--#{$data-list}--pf-m-plain__item--BackgroundColor: transparent;
|
|
20
21
|
--#{$data-list}__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
21
22
|
--#{$data-list}__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
22
23
|
--#{$data-list}__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -189,6 +190,10 @@
|
|
|
189
190
|
&.pf-m-drag-over {
|
|
190
191
|
overflow-anchor: none;
|
|
191
192
|
}
|
|
193
|
+
|
|
194
|
+
&.pf-m-plain {
|
|
195
|
+
--#{$data-list}__item--BackgroundColor: var(--#{$data-list}--pf-m-plain__item--BackgroundColor);
|
|
196
|
+
}
|
|
192
197
|
}
|
|
193
198
|
|
|
194
199
|
.#{$data-list},
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -166,6 +166,8 @@
|
|
|
166
166
|
--pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
167
167
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
168
168
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
169
|
+
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
170
|
+
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
169
171
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
170
172
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
171
173
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -443,6 +445,16 @@
|
|
|
443
445
|
.pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
|
|
444
446
|
overflow: visible;
|
|
445
447
|
}
|
|
448
|
+
.pf-v6-c-tabs.pf-m-nav {
|
|
449
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
450
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
451
|
+
--pf-v6-c-tabs__link--hover--BorderColor: transparent;
|
|
452
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
453
|
+
}
|
|
454
|
+
.pf-v6-c-tabs.pf-m-nav::before,
|
|
455
|
+
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
456
|
+
border: 0;
|
|
457
|
+
}
|
|
446
458
|
|
|
447
459
|
.pf-v6-c-tabs__toggle {
|
|
448
460
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
@@ -492,7 +504,7 @@
|
|
|
492
504
|
}
|
|
493
505
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
494
506
|
--pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
|
|
495
|
-
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-
|
|
507
|
+
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
|
|
496
508
|
--pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
497
509
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
498
510
|
}
|
|
@@ -205,6 +205,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
205
205
|
--#{$tabs}__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
206
206
|
--#{$tabs}__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
207
207
|
|
|
208
|
+
// Nav variant
|
|
209
|
+
--#{$tabs}--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
210
|
+
--#{$tabs}--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
211
|
+
|
|
208
212
|
// Overflow menu toggle icon
|
|
209
213
|
--#{$tabs}__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
210
214
|
--#{$tabs}__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
@@ -511,6 +515,18 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
511
515
|
overflow: visible;
|
|
512
516
|
}
|
|
513
517
|
}
|
|
518
|
+
|
|
519
|
+
&.pf-m-nav {
|
|
520
|
+
--#{$tabs}__link--disabled--BackgroundColor: transparent;
|
|
521
|
+
--#{$tabs}__link--disabled--Color: var(--#{$tabs}--m-nav__link--disabled--Color);
|
|
522
|
+
--#{$tabs}__link--hover--BorderColor: transparent;
|
|
523
|
+
--#{$tabs}__link--BorderRadius: var(--#{$tabs}--m-nav__link--BorderRadius);
|
|
524
|
+
|
|
525
|
+
&::before,
|
|
526
|
+
.#{$tabs}__link::before {
|
|
527
|
+
border: 0;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
514
530
|
}
|
|
515
531
|
|
|
516
532
|
// Expandable toggle
|
|
@@ -563,7 +579,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
563
579
|
// Current
|
|
564
580
|
&.pf-m-current {
|
|
565
581
|
--#{$tabs}__link--Color: var(--#{$tabs}__item--m-current__link--Color);
|
|
566
|
-
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}
|
|
582
|
+
--#{$tabs}__link--after--BorderColor: var(--#{$tabs}--link-accent--color);
|
|
567
583
|
--#{$tabs}__link--after--BorderWidth: var(--#{$tabs}__item--m-current__link--after--BorderWidth);
|
|
568
584
|
--#{$tabs}__item--BackgroundColor: var(--#{$tabs}__item--m-current--BackgroundColor);
|
|
569
585
|
}
|
package/components/_index.css
CHANGED
|
@@ -4181,7 +4181,8 @@ ul) {
|
|
|
4181
4181
|
--pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
4182
4182
|
--pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
4183
4183
|
--pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
4184
|
-
--pf-v6-c-data-list__item--BackgroundColor: var(
|
|
4184
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
4185
|
+
--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
|
|
4185
4186
|
--pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
4186
4187
|
--pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
4187
4188
|
--pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -4336,6 +4337,9 @@ ul) {
|
|
|
4336
4337
|
.pf-v6-c-data-list.pf-m-drag-over {
|
|
4337
4338
|
overflow-anchor: none;
|
|
4338
4339
|
}
|
|
4340
|
+
.pf-v6-c-data-list.pf-m-plain {
|
|
4341
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
|
|
4342
|
+
}
|
|
4339
4343
|
|
|
4340
4344
|
.pf-v6-c-data-list.pf-m-truncate,
|
|
4341
4345
|
.pf-v6-c-data-list__item-row.pf-m-truncate,
|
|
@@ -19694,6 +19698,8 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19694
19698
|
--pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
19695
19699
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
19696
19700
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
19701
|
+
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
19702
|
+
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
19697
19703
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
19698
19704
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
19699
19705
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -19971,6 +19977,16 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19971
19977
|
.pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
|
|
19972
19978
|
overflow: visible;
|
|
19973
19979
|
}
|
|
19980
|
+
.pf-v6-c-tabs.pf-m-nav {
|
|
19981
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
19982
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
19983
|
+
--pf-v6-c-tabs__link--hover--BorderColor: transparent;
|
|
19984
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
19985
|
+
}
|
|
19986
|
+
.pf-v6-c-tabs.pf-m-nav::before,
|
|
19987
|
+
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
19988
|
+
border: 0;
|
|
19989
|
+
}
|
|
19974
19990
|
|
|
19975
19991
|
.pf-v6-c-tabs__toggle {
|
|
19976
19992
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
@@ -20020,7 +20036,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
20020
20036
|
}
|
|
20021
20037
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
20022
20038
|
--pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
|
|
20023
|
-
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-
|
|
20039
|
+
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
|
|
20024
20040
|
--pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
20025
20041
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
20026
20042
|
}
|