@patternfly/patternfly 6.5.0-prerelease.6 → 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.
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.5.0-prerelease.6",
4
+ "version": "6.5.0-prerelease.8",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -11474,6 +11474,12 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
11474
11474
  .pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label), .pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
11475
11475
  --pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-selectable--m-disabled--BackgroundColor);
11476
11476
  }
11477
+ .pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader), .pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable) {
11478
+ --pf-v6-c-card__actions--PaddingInlineStart: 0;
11479
+ --pf-v6-c-card__actions--MarginBlockStart: 0;
11480
+ --pf-v6-c-card__actions--MarginBlockEnd: 0;
11481
+ }
11482
+
11477
11483
  .pf-v6-c-card.pf-m-compact {
11478
11484
  --pf-v6-c-card__title-text--FontSize: var(--pf-v6-c-card--m-compact__title-text--FontSize);
11479
11485
  --pf-v6-c-card__body--FontSize: var(--pf-v6-c-card--m-compact__body--FontSize);
@@ -12842,7 +12848,8 @@ ul) {
12842
12848
  --pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
12843
12849
  --pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
12844
12850
  --pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
12845
- --pf-v6-c-data-list__item--BackgroundColor: var( --pf-t--global--background--color--primary--default);
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;
12846
12853
  --pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
12847
12854
  --pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
12848
12855
  --pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
@@ -12997,6 +13004,9 @@ ul) {
12997
13004
  .pf-v6-c-data-list.pf-m-drag-over {
12998
13005
  overflow-anchor: none;
12999
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
+ }
13000
13010
 
13001
13011
  .pf-v6-c-data-list.pf-m-truncate,
13002
13012
  .pf-v6-c-data-list__item-row.pf-m-truncate,
@@ -28355,6 +28365,8 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28355
28365
  --pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
28356
28366
  --pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
28357
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);
28358
28370
  --pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
28359
28371
  --pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
28360
28372
  --pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
@@ -28632,6 +28644,16 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28632
28644
  .pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
28633
28645
  overflow: visible;
28634
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
+ }
28635
28657
 
28636
28658
  .pf-v6-c-tabs__toggle {
28637
28659
  display: var(--pf-v6-c-tabs__toggle--Display);
@@ -28681,7 +28703,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28681
28703
  }
28682
28704
  .pf-v6-c-tabs__item.pf-m-current {
28683
28705
  --pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
28684
- --pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
28706
+ --pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
28685
28707
  --pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
28686
28708
  --pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
28687
28709
  }
package/patternfly.css CHANGED
@@ -11614,6 +11614,12 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
11614
11614
  .pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label), .pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
11615
11615
  --pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-selectable--m-disabled--BackgroundColor);
11616
11616
  }
11617
+ .pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader), .pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable) {
11618
+ --pf-v6-c-card__actions--PaddingInlineStart: 0;
11619
+ --pf-v6-c-card__actions--MarginBlockStart: 0;
11620
+ --pf-v6-c-card__actions--MarginBlockEnd: 0;
11621
+ }
11622
+
11617
11623
  .pf-v6-c-card.pf-m-compact {
11618
11624
  --pf-v6-c-card__title-text--FontSize: var(--pf-v6-c-card--m-compact__title-text--FontSize);
11619
11625
  --pf-v6-c-card__body--FontSize: var(--pf-v6-c-card--m-compact__body--FontSize);
@@ -12982,7 +12988,8 @@ ul) {
12982
12988
  --pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
12983
12989
  --pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
12984
12990
  --pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
12985
- --pf-v6-c-data-list__item--BackgroundColor: var( --pf-t--global--background--color--primary--default);
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;
12986
12993
  --pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
12987
12994
  --pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
12988
12995
  --pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
@@ -13137,6 +13144,9 @@ ul) {
13137
13144
  .pf-v6-c-data-list.pf-m-drag-over {
13138
13145
  overflow-anchor: none;
13139
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
+ }
13140
13150
 
13141
13151
  .pf-v6-c-data-list.pf-m-truncate,
13142
13152
  .pf-v6-c-data-list__item-row.pf-m-truncate,
@@ -28495,6 +28505,8 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28495
28505
  --pf-v6-c-tabs__add--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
28496
28506
  --pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
28497
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);
28498
28510
  --pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
28499
28511
  --pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
28500
28512
  --pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
@@ -28772,6 +28784,16 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28772
28784
  .pf-v6-c-tabs.pf-m-overflow .pf-v6-c-tabs__list {
28773
28785
  overflow: visible;
28774
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
+ }
28775
28797
 
28776
28798
  .pf-v6-c-tabs__toggle {
28777
28799
  display: var(--pf-v6-c-tabs__toggle--Display);
@@ -28821,7 +28843,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
28821
28843
  }
28822
28844
  .pf-v6-c-tabs__item.pf-m-current {
28823
28845
  --pf-v6-c-tabs__link--Color: var(--pf-v6-c-tabs__item--m-current__link--Color);
28824
- --pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
28846
+ --pf-v6-c-tabs__link--after--BorderColor: var(--pf-v6-c-tabs--link-accent--color);
28825
28847
  --pf-v6-c-tabs__link--after--BorderWidth: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
28826
28848
  --pf-v6-c-tabs__item--BackgroundColor: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
28827
28849
  }