@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
|
@@ -2986,6 +2986,193 @@ cssPrefix: pf-v6-c-tabs
|
|
|
2986
2986
|
|
|
2987
2987
|
```
|
|
2988
2988
|
|
|
2989
|
+
### Site navigation variation
|
|
2990
|
+
|
|
2991
|
+
```html isBeta
|
|
2992
|
+
<div class="pf-v6-c-tabs pf-m-nav" role="region" id="nav-tabs">
|
|
2993
|
+
<div class="pf-v6-c-tabs__scroll-button" aria-hidden="true">
|
|
2994
|
+
<button
|
|
2995
|
+
class="pf-v6-c-button pf-m-plain"
|
|
2996
|
+
type="button"
|
|
2997
|
+
aria-label="Scroll left"
|
|
2998
|
+
disabled
|
|
2999
|
+
>
|
|
3000
|
+
<span class="pf-v6-c-button__icon">
|
|
3001
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
3002
|
+
</span>
|
|
3003
|
+
</button>
|
|
3004
|
+
</div>
|
|
3005
|
+
<ul class="pf-v6-c-tabs__list" role="tablist">
|
|
3006
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3007
|
+
<button
|
|
3008
|
+
type="button"
|
|
3009
|
+
class="pf-v6-c-tabs__link"
|
|
3010
|
+
role="tab"
|
|
3011
|
+
id="nav-tabs-users-link"
|
|
3012
|
+
>
|
|
3013
|
+
<span class="pf-v6-c-tabs__item-text">Users</span>
|
|
3014
|
+
</button>
|
|
3015
|
+
</li>
|
|
3016
|
+
<li class="pf-v6-c-tabs__item pf-m-current" role="presentation">
|
|
3017
|
+
<button
|
|
3018
|
+
type="button"
|
|
3019
|
+
class="pf-v6-c-tabs__link"
|
|
3020
|
+
role="tab"
|
|
3021
|
+
id="nav-tabs-containers-link"
|
|
3022
|
+
>
|
|
3023
|
+
<span class="pf-v6-c-tabs__item-text">Containers</span>
|
|
3024
|
+
</button>
|
|
3025
|
+
</li>
|
|
3026
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3027
|
+
<button
|
|
3028
|
+
type="button"
|
|
3029
|
+
class="pf-v6-c-tabs__link"
|
|
3030
|
+
role="tab"
|
|
3031
|
+
id="nav-tabs-database-link"
|
|
3032
|
+
>
|
|
3033
|
+
<span class="pf-v6-c-tabs__item-text">Database</span>
|
|
3034
|
+
</button>
|
|
3035
|
+
</li>
|
|
3036
|
+
|
|
3037
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3038
|
+
<button
|
|
3039
|
+
type="button"
|
|
3040
|
+
class="pf-v6-c-tabs__link"
|
|
3041
|
+
role="tab"
|
|
3042
|
+
id="nav-tabs-server-link"
|
|
3043
|
+
>
|
|
3044
|
+
<span class="pf-v6-c-tabs__item-text">Server</span>
|
|
3045
|
+
</button>
|
|
3046
|
+
</li>
|
|
3047
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3048
|
+
<button
|
|
3049
|
+
type="button"
|
|
3050
|
+
class="pf-v6-c-tabs__link"
|
|
3051
|
+
role="tab"
|
|
3052
|
+
id="nav-tabs-system-link"
|
|
3053
|
+
>
|
|
3054
|
+
<span class="pf-v6-c-tabs__item-text">System</span>
|
|
3055
|
+
</button>
|
|
3056
|
+
</li>
|
|
3057
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3058
|
+
<button
|
|
3059
|
+
type="button"
|
|
3060
|
+
class="pf-v6-c-tabs__link"
|
|
3061
|
+
role="tab"
|
|
3062
|
+
id="nav-tabs-network-wired-link"
|
|
3063
|
+
>
|
|
3064
|
+
<span class="pf-v6-c-tabs__item-text">Network</span>
|
|
3065
|
+
</button>
|
|
3066
|
+
</li>
|
|
3067
|
+
</ul>
|
|
3068
|
+
|
|
3069
|
+
<div class="pf-v6-c-tabs__scroll-button" aria-hidden="true">
|
|
3070
|
+
<button
|
|
3071
|
+
class="pf-v6-c-button pf-m-plain"
|
|
3072
|
+
type="button"
|
|
3073
|
+
aria-label="Scroll right"
|
|
3074
|
+
disabled
|
|
3075
|
+
>
|
|
3076
|
+
<span class="pf-v6-c-button__icon">
|
|
3077
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
3078
|
+
</span>
|
|
3079
|
+
</button>
|
|
3080
|
+
</div>
|
|
3081
|
+
</div><br/ >
|
|
3082
|
+
As sub navigation:
|
|
3083
|
+
<div class="pf-v6-c-tabs pf-m-subtab pf-m-nav" role="region" id="nav-tabs">
|
|
3084
|
+
<div class="pf-v6-c-tabs__scroll-button" aria-hidden="true">
|
|
3085
|
+
<button
|
|
3086
|
+
class="pf-v6-c-button pf-m-plain"
|
|
3087
|
+
type="button"
|
|
3088
|
+
aria-label="Scroll left"
|
|
3089
|
+
disabled
|
|
3090
|
+
>
|
|
3091
|
+
<span class="pf-v6-c-button__icon">
|
|
3092
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
3093
|
+
</span>
|
|
3094
|
+
</button>
|
|
3095
|
+
</div>
|
|
3096
|
+
<ul class="pf-v6-c-tabs__list" role="tablist">
|
|
3097
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3098
|
+
<button
|
|
3099
|
+
type="button"
|
|
3100
|
+
class="pf-v6-c-tabs__link"
|
|
3101
|
+
role="tab"
|
|
3102
|
+
id="nav-tabs-users-link"
|
|
3103
|
+
>
|
|
3104
|
+
<span class="pf-v6-c-tabs__item-text">Users</span>
|
|
3105
|
+
</button>
|
|
3106
|
+
</li>
|
|
3107
|
+
<li class="pf-v6-c-tabs__item pf-m-current" role="presentation">
|
|
3108
|
+
<button
|
|
3109
|
+
type="button"
|
|
3110
|
+
class="pf-v6-c-tabs__link"
|
|
3111
|
+
role="tab"
|
|
3112
|
+
id="nav-tabs-containers-link"
|
|
3113
|
+
>
|
|
3114
|
+
<span class="pf-v6-c-tabs__item-text">Containers</span>
|
|
3115
|
+
</button>
|
|
3116
|
+
</li>
|
|
3117
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3118
|
+
<button
|
|
3119
|
+
type="button"
|
|
3120
|
+
class="pf-v6-c-tabs__link"
|
|
3121
|
+
role="tab"
|
|
3122
|
+
id="nav-tabs-database-link"
|
|
3123
|
+
>
|
|
3124
|
+
<span class="pf-v6-c-tabs__item-text">Database</span>
|
|
3125
|
+
</button>
|
|
3126
|
+
</li>
|
|
3127
|
+
|
|
3128
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3129
|
+
<button
|
|
3130
|
+
type="button"
|
|
3131
|
+
class="pf-v6-c-tabs__link"
|
|
3132
|
+
role="tab"
|
|
3133
|
+
id="nav-tabs-server-link"
|
|
3134
|
+
>
|
|
3135
|
+
<span class="pf-v6-c-tabs__item-text">Server</span>
|
|
3136
|
+
</button>
|
|
3137
|
+
</li>
|
|
3138
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3139
|
+
<button
|
|
3140
|
+
type="button"
|
|
3141
|
+
class="pf-v6-c-tabs__link"
|
|
3142
|
+
role="tab"
|
|
3143
|
+
id="nav-tabs-system-link"
|
|
3144
|
+
>
|
|
3145
|
+
<span class="pf-v6-c-tabs__item-text">System</span>
|
|
3146
|
+
</button>
|
|
3147
|
+
</li>
|
|
3148
|
+
<li class="pf-v6-c-tabs__item" role="presentation">
|
|
3149
|
+
<button
|
|
3150
|
+
type="button"
|
|
3151
|
+
class="pf-v6-c-tabs__link"
|
|
3152
|
+
role="tab"
|
|
3153
|
+
id="nav-tabs-network-wired-link"
|
|
3154
|
+
>
|
|
3155
|
+
<span class="pf-v6-c-tabs__item-text">Network</span>
|
|
3156
|
+
</button>
|
|
3157
|
+
</li>
|
|
3158
|
+
</ul>
|
|
3159
|
+
|
|
3160
|
+
<div class="pf-v6-c-tabs__scroll-button" aria-hidden="true">
|
|
3161
|
+
<button
|
|
3162
|
+
class="pf-v6-c-button pf-m-plain"
|
|
3163
|
+
type="button"
|
|
3164
|
+
aria-label="Scroll right"
|
|
3165
|
+
disabled
|
|
3166
|
+
>
|
|
3167
|
+
<span class="pf-v6-c-button__icon">
|
|
3168
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
3169
|
+
</span>
|
|
3170
|
+
</button>
|
|
3171
|
+
</div>
|
|
3172
|
+
</div>
|
|
3173
|
+
|
|
3174
|
+
```
|
|
3175
|
+
|
|
2989
3176
|
## Tab item actions
|
|
2990
3177
|
|
|
2991
3178
|
### Help button example
|
|
@@ -10475,6 +10662,7 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
10475
10662
|
| `.pf-m-initializing-accent` | `.pf-v6-c-tabs.pf-m-animate-current` | Modifies tabs styles while initializing the "current" tab's accent styles. |
|
|
10476
10663
|
| `--pf-v6-c-tabs--link-accent--start` | `.pf-v6-c-tabs.pf-m-animate-current` | Sets the value for the "start" inset of the current tab's accent. |
|
|
10477
10664
|
| `--pf-v6-c-tabs--link-accent--length` | `.pf-v6-c-tabs.pf-m-animate-current` | Sets the value for the length of the current tab's accent. |
|
|
10665
|
+
| `.pf-m-nav` | `.pf-v6-c-tabs` | Applies site navigation styling to the tab component. |
|
|
10478
10666
|
| `.pf-m-current` | `.pf-v6-c-tabs__item` | Indicates that a tab item is currently selected. |
|
|
10479
10667
|
| `.pf-m-action` | `.pf-v6-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
10480
10668
|
| `.pf-m-overflow` | `.pf-v6-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
package/package.json
CHANGED
|
@@ -12848,7 +12848,8 @@ ul) {
|
|
|
12848
12848
|
--pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
12849
12849
|
--pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
12850
12850
|
--pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
12851
|
-
--pf-v6-c-data-list__item--BackgroundColor: var(
|
|
12851
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
12852
|
+
--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
|
|
12852
12853
|
--pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
12853
12854
|
--pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
12854
12855
|
--pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -13003,6 +13004,9 @@ ul) {
|
|
|
13003
13004
|
.pf-v6-c-data-list.pf-m-drag-over {
|
|
13004
13005
|
overflow-anchor: none;
|
|
13005
13006
|
}
|
|
13007
|
+
.pf-v6-c-data-list.pf-m-plain {
|
|
13008
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
|
|
13009
|
+
}
|
|
13006
13010
|
|
|
13007
13011
|
.pf-v6-c-data-list.pf-m-truncate,
|
|
13008
13012
|
.pf-v6-c-data-list__item-row.pf-m-truncate,
|
|
@@ -28361,6 +28365,8 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28361
28365
|
--pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
28362
28366
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
28363
28367
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
28368
|
+
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
28369
|
+
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
28364
28370
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
28365
28371
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
28366
28372
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -28638,6 +28644,16 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28638
28644
|
.pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
|
|
28639
28645
|
overflow: visible;
|
|
28640
28646
|
}
|
|
28647
|
+
.pf-v6-c-tabs.pf-m-nav {
|
|
28648
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
28649
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
28650
|
+
--pf-v6-c-tabs__link--hover--BorderColor: transparent;
|
|
28651
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
28652
|
+
}
|
|
28653
|
+
.pf-v6-c-tabs.pf-m-nav::before,
|
|
28654
|
+
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
28655
|
+
border: 0;
|
|
28656
|
+
}
|
|
28641
28657
|
|
|
28642
28658
|
.pf-v6-c-tabs__toggle {
|
|
28643
28659
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
@@ -28687,7 +28703,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28687
28703
|
}
|
|
28688
28704
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
28689
28705
|
--pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
|
|
28690
|
-
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-
|
|
28706
|
+
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
|
|
28691
28707
|
--pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
28692
28708
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
28693
28709
|
}
|
package/patternfly.css
CHANGED
|
@@ -12988,7 +12988,8 @@ ul) {
|
|
|
12988
12988
|
--pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
12989
12989
|
--pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
12990
12990
|
--pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
12991
|
-
--pf-v6-c-data-list__item--BackgroundColor: var(
|
|
12991
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
12992
|
+
--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
|
|
12992
12993
|
--pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
12993
12994
|
--pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
12994
12995
|
--pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -13143,6 +13144,9 @@ ul) {
|
|
|
13143
13144
|
.pf-v6-c-data-list.pf-m-drag-over {
|
|
13144
13145
|
overflow-anchor: none;
|
|
13145
13146
|
}
|
|
13147
|
+
.pf-v6-c-data-list.pf-m-plain {
|
|
13148
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
|
|
13149
|
+
}
|
|
13146
13150
|
|
|
13147
13151
|
.pf-v6-c-data-list.pf-m-truncate,
|
|
13148
13152
|
.pf-v6-c-data-list__item-row.pf-m-truncate,
|
|
@@ -28501,6 +28505,8 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28501
28505
|
--pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
28502
28506
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
28503
28507
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
28508
|
+
--pf-v6-c-tabs--m-nav__link--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
28509
|
+
--pf-v6-c-tabs--m-nav__link--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
28504
28510
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
28505
28511
|
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
28506
28512
|
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -28778,6 +28784,16 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28778
28784
|
.pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
|
|
28779
28785
|
overflow: visible;
|
|
28780
28786
|
}
|
|
28787
|
+
.pf-v6-c-tabs.pf-m-nav {
|
|
28788
|
+
--pf-v6-c-tabs__link--disabled--BackgroundColor: transparent;
|
|
28789
|
+
--pf-v6-c-tabs__link--disabled--Color: var(--pf-v6-c-tabs--m-nav__link--disabled--Color);
|
|
28790
|
+
--pf-v6-c-tabs__link--hover--BorderColor: transparent;
|
|
28791
|
+
--pf-v6-c-tabs__link--BorderRadius: var(--pf-v6-c-tabs--m-nav__link--BorderRadius);
|
|
28792
|
+
}
|
|
28793
|
+
.pf-v6-c-tabs.pf-m-nav::before,
|
|
28794
|
+
.pf-v6-c-tabs.pf-m-nav .pf-v6-c-tabs__link::before {
|
|
28795
|
+
border: 0;
|
|
28796
|
+
}
|
|
28781
28797
|
|
|
28782
28798
|
.pf-v6-c-tabs__toggle {
|
|
28783
28799
|
display: var(--pf-v6-c-tabs__toggle--Display);
|
|
@@ -28827,7 +28843,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
28827
28843
|
}
|
|
28828
28844
|
.pf-v6-c-tabs__item.pf-m-current {
|
|
28829
28845
|
--pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
|
|
28830
|
-
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-
|
|
28846
|
+
--pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
|
|
28831
28847
|
--pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
28832
28848
|
--pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
28833
28849
|
}
|