@patternfly/patternfly 6.6.0-prerelease.6 → 6.6.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.
@@ -888,21 +888,74 @@
888
888
  --pf-v6-c-avatar--BorderRadius: var(--pf-t--global--border--radius--pill);
889
889
  --pf-v6-c-avatar--Width: 2.25rem;
890
890
  --pf-v6-c-avatar--Height: 2.25rem;
891
+ --pf-v6-c-avatar--FontSize: 2.25rem;
891
892
  --pf-v6-c-avatar--m-sm--Width: 1.5rem;
892
893
  --pf-v6-c-avatar--m-sm--Height: 1.5rem;
894
+ --pf-v6-c-avatar--m-sm--FontSize: 1.5rem;
893
895
  --pf-v6-c-avatar--m-md--Width: 2.25rem;
894
896
  --pf-v6-c-avatar--m-md--Height: 2.25rem;
897
+ --pf-v6-c-avatar--m-md--FontSize: 2.25rem;
895
898
  --pf-v6-c-avatar--m-lg--Width: 4.5rem;
896
899
  --pf-v6-c-avatar--m-lg--Height: 4.5rem;
900
+ --pf-v6-c-avatar--m-lg--FontSize: 4.5rem;
897
901
  --pf-v6-c-avatar--m-xl--Width: 8rem;
898
902
  --pf-v6-c-avatar--m-xl--Height: 8rem;
903
+ --pf-v6-c-avatar--m-xl--FontSize: 8rem;
899
904
  --pf-v6-c-avatar--m-bordered--BorderColor: var(--pf-t--global--border--color--default);
900
905
  --pf-v6-c-avatar--m-bordered--BorderWidth: var(--pf-t--global--border--width--box--default);
906
+ --pf-v6-c-avatar--m-colorful--BorderWidth: var(--pf-t--global--border--width--box--default);
907
+ --pf-v6-c-avatar--m-gray--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
908
+ --pf-v6-c-avatar--m-gray--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--hover);
909
+ --pf-v6-c-avatar--m-gray--BorderColor: var(--pf-t--global--border--color--default);
910
+ --pf-v6-c-avatar--m-red--BackgroundColor: var(--pf-t--global--color--nonstatus--red--default);
911
+ --pf-v6-c-avatar--m-red--Color: var(--pf-t--global--icon--color--nonstatus--on-red--default);
912
+ --pf-v6-c-avatar--m-red--BorderColor: var(--pf-t--global--border--color--nonstatus--red--default);
913
+ --pf-v6-c-avatar--m-orangered--BackgroundColor: var(--pf-t--global--color--nonstatus--orangered--default);
914
+ --pf-v6-c-avatar--m-orangered--Color: var(--pf-t--global--icon--color--nonstatus--on-orangered--default);
915
+ --pf-v6-c-avatar--m-orangered--BorderColor: var(--pf-t--global--border--color--nonstatus--orangered--default);
916
+ --pf-v6-c-avatar--m-orange--BackgroundColor: var(--pf-t--global--color--nonstatus--orange--default);
917
+ --pf-v6-c-avatar--m-orange--Color: var(--pf-t--global--icon--color--nonstatus--on-orange--default);
918
+ --pf-v6-c-avatar--m-orange--BorderColor: var(--pf-t--global--border--color--nonstatus--orange--default);
919
+ --pf-v6-c-avatar--m-yellow--BackgroundColor: var(--pf-t--global--color--nonstatus--yellow--default);
920
+ --pf-v6-c-avatar--m-yellow--Color: var(--pf-t--global--icon--color--nonstatus--on-yellow--default);
921
+ --pf-v6-c-avatar--m-yellow--BorderColor: var(--pf-t--global--border--color--nonstatus--yellow--default);
922
+ --pf-v6-c-avatar--m-green--BackgroundColor: var(--pf-t--global--color--nonstatus--green--default);
923
+ --pf-v6-c-avatar--m-green--Color: var(--pf-t--global--icon--color--nonstatus--on-green--default);
924
+ --pf-v6-c-avatar--m-green--BorderColor: var(--pf-t--global--border--color--nonstatus--green--default);
925
+ --pf-v6-c-avatar--m-teal--BackgroundColor: var(--pf-t--global--color--nonstatus--teal--default);
926
+ --pf-v6-c-avatar--m-teal--Color: var(--pf-t--global--icon--color--nonstatus--on-teal--default);
927
+ --pf-v6-c-avatar--m-teal--BorderColor: var(--pf-t--global--border--color--nonstatus--teal--default);
928
+ --pf-v6-c-avatar--m-blue--BackgroundColor: var(--pf-t--global--color--nonstatus--blue--default);
929
+ --pf-v6-c-avatar--m-blue--Color: var(--pf-t--global--icon--color--nonstatus--on-blue--default);
930
+ --pf-v6-c-avatar--m-blue--BorderColor: var(--pf-t--global--border--color--nonstatus--blue--default);
931
+ --pf-v6-c-avatar--m-purple--BackgroundColor: var(--pf-t--global--color--nonstatus--purple--default);
932
+ --pf-v6-c-avatar--m-purple--Color: var(--pf-t--global--icon--color--nonstatus--on-purple--default);
933
+ --pf-v6-c-avatar--m-purple--BorderColor: var(--pf-t--global--border--color--nonstatus--purple--default);
934
+ --pf-v6-c-avatar__initials--FontSize: var(--pf-t--global--font--size--body--lg);
935
+ --pf-v6-c-avatar__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
936
+ --pf-v6-c-avatar--m-sm__initials--FontSize: var(--pf-t--global--font--size--body--sm);
937
+ --pf-v6-c-avatar--m-sm__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
938
+ --pf-v6-c-avatar--m-lg__initials--FontSize: var(--pf-t--global--font--size--2xl);
939
+ --pf-v6-c-avatar--m-lg__initials--FontWeight: var(--pf-t--global--font--weight--heading--bold);
940
+ --pf-v6-c-avatar--m-lg__initials--FontFamily: var(--pf-t--global--font--family--heading);
941
+ --pf-v6-c-avatar--m-xl__initials--FontSize: var(--pf-t--global--font--size--4xl);
942
+ --pf-v6-c-avatar--m-xl__initials--FontWeight: var(--pf-t--global--font--weight--heading--default);
943
+ --pf-v6-c-avatar--m-xl__initials--FontFamily: var(--pf-t--global--font--family--heading);
944
+ --pf-v6-c-avatar--m-gray__initials--Color: var(--pf-t--global--text--color--nonstatus--on-gray--hover);
945
+ --pf-v6-c-avatar--m-red__initials--Color: var(--pf-t--global--text--color--nonstatus--on-red--default);
946
+ --pf-v6-c-avatar--m-orangered__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orangered--default);
947
+ --pf-v6-c-avatar--m-orange__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orange--default);
948
+ --pf-v6-c-avatar--m-yellow__initials--Color: var(--pf-t--global--text--color--nonstatus--on-yellow--default);
949
+ --pf-v6-c-avatar--m-green__initials--Color: var(--pf-t--global--text--color--nonstatus--on-green--default);
950
+ --pf-v6-c-avatar--m-teal__initials--Color: var(--pf-t--global--text--color--nonstatus--on-teal--default);
951
+ --pf-v6-c-avatar--m-blue__initials--Color: var(--pf-t--global--text--color--nonstatus--on-blue--default);
952
+ --pf-v6-c-avatar--m-purple__initials--Color: var(--pf-t--global--text--color--nonstatus--on-purple--default);
901
953
  }
902
954
 
903
955
  .pf-v6-c-avatar {
904
956
  width: var(--pf-v6-c-avatar--Width);
905
957
  height: var(--pf-v6-c-avatar--Height);
958
+ font-size: var(--pf-v6-c-avatar--FontSize);
906
959
  border: var(--pf-v6-c-avatar--BorderWidth) solid var(--pf-v6-c-avatar--BorderColor);
907
960
  border-radius: var(--pf-v6-c-avatar--BorderRadius);
908
961
  }
@@ -1134,6 +1187,94 @@
1134
1187
  --pf-v6-c-avatar--Height: var(--pf-v6-c-avatar--m-xl--Height-on-2xl, var(--pf-v6-c-avatar--m-xl--Height-on-xl, var(--pf-v6-c-avatar--m-xl--Height-on-lg, var(--pf-v6-c-avatar--m-xl--Height-on-md, var(--pf-v6-c-avatar--m-xl--Height-on-sm, var(--pf-v6-c-avatar--m-xl--Height))))));
1135
1188
  }
1136
1189
  }
1190
+ .pf-v6-c-avatar.pf-m-sm {
1191
+ --pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-sm--FontSize);
1192
+ --pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-sm__initials--FontSize);
1193
+ --pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-sm__initials--FontWeight);
1194
+ }
1195
+ .pf-v6-c-avatar.pf-m-lg {
1196
+ --pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-lg--FontSize);
1197
+ --pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-lg__initials--FontSize);
1198
+ --pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-lg__initials--FontWeight);
1199
+ --pf-v6-c-avatar__initials--FontFamily: var(--pf-v6-c-avatar--m-lg__initials--FontFamily);
1200
+ }
1201
+ .pf-v6-c-avatar.pf-m-xl {
1202
+ --pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-xl--FontSize);
1203
+ --pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-xl__initials--FontSize);
1204
+ --pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-xl__initials--FontWeight);
1205
+ --pf-v6-c-avatar__initials--FontFamily: var(--pf-v6-c-avatar--m-xl__initials--FontFamily);
1206
+ }
1207
+ .pf-v6-c-avatar.pf-m-colorful {
1208
+ --pf-v6-c-avatar--BorderWidth: var(--pf-v6-c-avatar--m-colorful--BorderWidth);
1209
+ display: inline-flex;
1210
+ align-items: center;
1211
+ justify-content: center;
1212
+ overflow: clip;
1213
+ vertical-align: middle;
1214
+ color: var(--pf-v6-c-avatar--m-colorful--Color, inherit);
1215
+ background-color: var(--pf-v6-c-avatar--m-colorful--BackgroundColor, transparent);
1216
+ border-color: var(--pf-v6-c-avatar--m-colorful--BorderColor, transparent);
1217
+ }
1218
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-red {
1219
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-red--BackgroundColor);
1220
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-red--Color);
1221
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-red--BorderColor);
1222
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-red__initials--Color);
1223
+ }
1224
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-orangered {
1225
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-orangered--BackgroundColor);
1226
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-orangered--Color);
1227
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-orangered--BorderColor);
1228
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-orangered__initials--Color);
1229
+ }
1230
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-orange {
1231
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-orange--BackgroundColor);
1232
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-orange--Color);
1233
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-orange--BorderColor);
1234
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-orange__initials--Color);
1235
+ }
1236
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-yellow {
1237
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-yellow--BackgroundColor);
1238
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-yellow--Color);
1239
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-yellow--BorderColor);
1240
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-yellow__initials--Color);
1241
+ }
1242
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-green {
1243
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-green--BackgroundColor);
1244
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-green--Color);
1245
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-green--BorderColor);
1246
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-green__initials--Color);
1247
+ }
1248
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-teal {
1249
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-teal--BackgroundColor);
1250
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-teal--Color);
1251
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-teal--BorderColor);
1252
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-teal__initials--Color);
1253
+ }
1254
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-blue {
1255
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-blue--BackgroundColor);
1256
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-blue--Color);
1257
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-blue--BorderColor);
1258
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-blue__initials--Color);
1259
+ }
1260
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-purple {
1261
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-purple--BackgroundColor);
1262
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-purple--Color);
1263
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-purple--BorderColor);
1264
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-purple__initials--Color);
1265
+ }
1266
+ .pf-v6-c-avatar.pf-m-colorful.pf-m-gray {
1267
+ --pf-v6-c-avatar--m-colorful--BackgroundColor: var(--pf-v6-c-avatar--m-gray--BackgroundColor);
1268
+ --pf-v6-c-avatar--m-colorful--Color: var(--pf-v6-c-avatar--m-gray--Color);
1269
+ --pf-v6-c-avatar--m-colorful--BorderColor: var(--pf-v6-c-avatar--m-gray--BorderColor);
1270
+ --pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-gray__initials--Color);
1271
+ }
1272
+ .pf-v6-c-avatar .pf-v6-c-avatar__initials {
1273
+ font-family: var(--pf-v6-c-avatar__initials--FontFamily, revert);
1274
+ font-size: var(--pf-v6-c-avatar__initials--FontSize);
1275
+ font-weight: var(--pf-v6-c-avatar__initials--FontWeight);
1276
+ color: var(--pf-v6-c-avatar__initials--Color);
1277
+ }
1137
1278
 
1138
1279
  .pf-v6-c-backdrop {
1139
1280
  --pf-v6-c-backdrop--Position: fixed;
@@ -19477,6 +19618,8 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
19477
19618
  --pf-v6-c-table--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
19478
19619
  --pf-v6-c-table--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
19479
19620
  --pf-v6-c-table--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
19621
+ --pf-v6-c-table--m-sticky-footer--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
19622
+ --pf-v6-c-table--m-sticky-footer--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
19480
19623
  }
19481
19624
  :where(.pf-v6-theme-glass) .pf-v6-c-table {
19482
19625
  --pf-v6-c-table--m-sticky-header--BorderBlockEndWidth: 0;
@@ -19546,6 +19689,26 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
19546
19689
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
19547
19690
  --pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
19548
19691
  }
19692
+ .pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tfoot {
19693
+ position: sticky;
19694
+ inset-block-end: 0;
19695
+ z-index: var(--pf-v6-c-table--m-sticky-footer--ZIndex);
19696
+ background: var(--pf-v6-c-table--BackgroundColor);
19697
+ }
19698
+ .pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tfoot::before {
19699
+ position: absolute;
19700
+ inset: 0;
19701
+ z-index: var(--pf-v6-c-table--m-sticky-footer--border--ZIndex);
19702
+ pointer-events: none;
19703
+ content: "";
19704
+ border-block-start: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
19705
+ }
19706
+ .pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tbody:last-of-type > .pf-v6-c-table__tr:last-of-type {
19707
+ border-block-end: 0;
19708
+ }
19709
+ .pf-v6-c-table.pf-m-plain {
19710
+ --pf-v6-c-table--BackgroundColor: transparent;
19711
+ }
19549
19712
  .pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
19550
19713
  .pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
19551
19714
  .pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),
@@ -20280,6 +20443,11 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
20280
20443
  border-block-end: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
20281
20444
  }
20282
20445
 
20446
+ .pf-v6-c-table__tfoot {
20447
+ --pf-v6-c-table__tr--BorderBlockEndWidth: 0;
20448
+ vertical-align: top;
20449
+ }
20450
+
20283
20451
  .pf-v6-c-table__icon-inline {
20284
20452
  display: flex;
20285
20453
  align-items: center;
@@ -7,11 +7,8 @@ cssPrefix: pf-v6-c-avatar
7
7
  ### Basic
8
8
 
9
9
  ```html
10
- <img
11
- class="pf-v6-c-avatar"
12
- alt="Avatar image"
13
- src="/assets/images/img_avatar-light.svg"
14
- />
10
+ <img class="pf-v6-c-avatar" alt src="/assets/images/img_avatar-light.svg" />
11
+ <img class="pf-v6-c-avatar" alt src="/assets/images/img_avatar-rhds.svg" />
15
12
 
16
13
  ```
17
14
 
@@ -23,6 +20,11 @@ cssPrefix: pf-v6-c-avatar
23
20
  alt="Avatar image bordered"
24
21
  src="/assets/images/img_avatar-light.svg"
25
22
  />
23
+ <img
24
+ class="pf-v6-c-avatar pf-m-bordered"
25
+ alt="Avatar image bordered"
26
+ src="/assets/images/img_avatar-rhds.svg"
27
+ />
26
28
 
27
29
  ```
28
30
 
@@ -34,6 +36,11 @@ cssPrefix: pf-v6-c-avatar
34
36
  alt="Avatar image small"
35
37
  src="/assets/images/img_avatar-light.svg"
36
38
  />
39
+ <img
40
+ class="pf-v6-c-avatar pf-m-sm"
41
+ alt="Avatar image small"
42
+ src="/assets/images/img_avatar-rhds.svg"
43
+ />
37
44
 
38
45
  ```
39
46
 
@@ -45,6 +52,11 @@ cssPrefix: pf-v6-c-avatar
45
52
  alt="Avatar image medium"
46
53
  src="/assets/images/img_avatar-light.svg"
47
54
  />
55
+ <img
56
+ class="pf-v6-c-avatar pf-m-md"
57
+ alt="Avatar image medium"
58
+ src="/assets/images/img_avatar-rhds.svg"
59
+ />
48
60
 
49
61
  ```
50
62
 
@@ -56,6 +68,11 @@ cssPrefix: pf-v6-c-avatar
56
68
  alt="Avatar image large"
57
69
  src="/assets/images/img_avatar-light.svg"
58
70
  />
71
+ <img
72
+ class="pf-v6-c-avatar pf-m-lg"
73
+ alt="Avatar image large"
74
+ src="/assets/images/img_avatar-rhds.svg"
75
+ />
59
76
 
60
77
  ```
61
78
 
@@ -67,6 +84,288 @@ cssPrefix: pf-v6-c-avatar
67
84
  alt="Avatar image extra large"
68
85
  src="/assets/images/img_avatar-light.svg"
69
86
  />
87
+ <img
88
+ class="pf-v6-c-avatar pf-m-xl"
89
+ alt="Avatar image extra large"
90
+ src="/assets/images/img_avatar-rhds.svg"
91
+ />
92
+
93
+ ```
94
+
95
+ ### Colorful default
96
+
97
+ Use a color modifier to add visual interest to the default avatar icon.
98
+
99
+ ```html
100
+ <div
101
+ class="pf-v6-c-avatar pf-m-colorful pf-m-red"
102
+ role="img"
103
+ aria-label="Red avatar with icon"
104
+ >
105
+ <svg
106
+ aria-hidden="true"
107
+ data-name="Layer 1"
108
+ xmlns="http://www.w3.org/2000/svg"
109
+ version="1.1"
110
+ viewBox="0 0 36 36"
111
+ >
112
+ <path
113
+ fill="currentColor"
114
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
115
+ />
116
+ <path
117
+ fill="currentColor"
118
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
119
+ />
120
+ </svg>
121
+ </div>
122
+ <div
123
+ class="pf-v6-c-avatar pf-m-colorful pf-m-orangered"
124
+ role="img"
125
+ aria-label="Orange-red avatar with icon"
126
+ >
127
+ <svg
128
+ aria-hidden="true"
129
+ data-name="Layer 1"
130
+ xmlns="http://www.w3.org/2000/svg"
131
+ version="1.1"
132
+ viewBox="0 0 36 36"
133
+ >
134
+ <path
135
+ fill="currentColor"
136
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
137
+ />
138
+ <path
139
+ fill="currentColor"
140
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
141
+ />
142
+ </svg>
143
+ </div>
144
+ <div
145
+ class="pf-v6-c-avatar pf-m-colorful pf-m-orange"
146
+ role="img"
147
+ aria-label="Orange avatar with icon"
148
+ >
149
+ <svg
150
+ aria-hidden="true"
151
+ data-name="Layer 1"
152
+ xmlns="http://www.w3.org/2000/svg"
153
+ version="1.1"
154
+ viewBox="0 0 36 36"
155
+ >
156
+ <path
157
+ fill="currentColor"
158
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
159
+ />
160
+ <path
161
+ fill="currentColor"
162
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
163
+ />
164
+ </svg>
165
+ </div>
166
+ <div
167
+ class="pf-v6-c-avatar pf-m-colorful pf-m-yellow"
168
+ role="img"
169
+ aria-label="Yellow avatar with icon"
170
+ >
171
+ <svg
172
+ aria-hidden="true"
173
+ data-name="Layer 1"
174
+ xmlns="http://www.w3.org/2000/svg"
175
+ version="1.1"
176
+ viewBox="0 0 36 36"
177
+ >
178
+ <path
179
+ fill="currentColor"
180
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
181
+ />
182
+ <path
183
+ fill="currentColor"
184
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
185
+ />
186
+ </svg>
187
+ </div>
188
+ <div
189
+ class="pf-v6-c-avatar pf-m-colorful pf-m-green"
190
+ role="img"
191
+ aria-label="Green avatar with icon"
192
+ >
193
+ <svg
194
+ aria-hidden="true"
195
+ data-name="Layer 1"
196
+ xmlns="http://www.w3.org/2000/svg"
197
+ version="1.1"
198
+ viewBox="0 0 36 36"
199
+ >
200
+ <path
201
+ fill="currentColor"
202
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
203
+ />
204
+ <path
205
+ fill="currentColor"
206
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
207
+ />
208
+ </svg>
209
+ </div>
210
+ <div
211
+ class="pf-v6-c-avatar pf-m-colorful pf-m-teal"
212
+ role="img"
213
+ aria-label="Teal avatar with icon"
214
+ >
215
+ <svg
216
+ aria-hidden="true"
217
+ data-name="Layer 1"
218
+ xmlns="http://www.w3.org/2000/svg"
219
+ version="1.1"
220
+ viewBox="0 0 36 36"
221
+ >
222
+ <path
223
+ fill="currentColor"
224
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
225
+ />
226
+ <path
227
+ fill="currentColor"
228
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
229
+ />
230
+ </svg>
231
+ </div>
232
+ <div
233
+ class="pf-v6-c-avatar pf-m-colorful pf-m-blue"
234
+ role="img"
235
+ aria-label="Blue avatar with icon"
236
+ >
237
+ <svg
238
+ aria-hidden="true"
239
+ data-name="Layer 1"
240
+ xmlns="http://www.w3.org/2000/svg"
241
+ version="1.1"
242
+ viewBox="0 0 36 36"
243
+ >
244
+ <path
245
+ fill="currentColor"
246
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
247
+ />
248
+ <path
249
+ fill="currentColor"
250
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
251
+ />
252
+ </svg>
253
+ </div>
254
+ <div
255
+ class="pf-v6-c-avatar pf-m-colorful pf-m-purple"
256
+ role="img"
257
+ aria-label="Purple avatar with icon"
258
+ >
259
+ <svg
260
+ aria-hidden="true"
261
+ data-name="Layer 1"
262
+ xmlns="http://www.w3.org/2000/svg"
263
+ version="1.1"
264
+ viewBox="0 0 36 36"
265
+ >
266
+ <path
267
+ fill="currentColor"
268
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
269
+ />
270
+ <path
271
+ fill="currentColor"
272
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
273
+ />
274
+ </svg>
275
+ </div>
276
+ <div
277
+ class="pf-v6-c-avatar pf-m-colorful pf-m-gray"
278
+ role="img"
279
+ aria-label="Gray avatar with icon"
280
+ >
281
+ <svg
282
+ aria-hidden="true"
283
+ data-name="Layer 1"
284
+ xmlns="http://www.w3.org/2000/svg"
285
+ version="1.1"
286
+ viewBox="0 0 36 36"
287
+ >
288
+ <path
289
+ fill="currentColor"
290
+ d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
291
+ />
292
+ <path
293
+ fill="currentColor"
294
+ d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
295
+ />
296
+ </svg>
297
+ </div>
298
+
299
+ ```
300
+
301
+ ### Colorful initials
302
+
303
+ Use a color modifier with a user's initial to add visual interest when no image is available.
304
+
305
+ ```html
306
+ <div
307
+ class="pf-v6-c-avatar pf-m-colorful pf-m-red"
308
+ role="img"
309
+ aria-label="Red avatar with initial"
310
+ >
311
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
312
+ </div>
313
+ <div
314
+ class="pf-v6-c-avatar pf-m-colorful pf-m-orangered"
315
+ role="img"
316
+ aria-label="Orange-red avatar with initial"
317
+ >
318
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
319
+ </div>
320
+ <div
321
+ class="pf-v6-c-avatar pf-m-colorful pf-m-orange"
322
+ role="img"
323
+ aria-label="Orange avatar with initial"
324
+ >
325
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
326
+ </div>
327
+ <div
328
+ class="pf-v6-c-avatar pf-m-colorful pf-m-yellow"
329
+ role="img"
330
+ aria-label="Yellow avatar with initial"
331
+ >
332
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
333
+ </div>
334
+ <div
335
+ class="pf-v6-c-avatar pf-m-colorful pf-m-green"
336
+ role="img"
337
+ aria-label="Green avatar with initial"
338
+ >
339
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
340
+ </div>
341
+ <div
342
+ class="pf-v6-c-avatar pf-m-colorful pf-m-teal"
343
+ role="img"
344
+ aria-label="Teal avatar with initial"
345
+ >
346
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
347
+ </div>
348
+ <div
349
+ class="pf-v6-c-avatar pf-m-colorful pf-m-blue"
350
+ role="img"
351
+ aria-label="Blue avatar with initial"
352
+ >
353
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
354
+ </div>
355
+ <div
356
+ class="pf-v6-c-avatar pf-m-colorful pf-m-purple"
357
+ role="img"
358
+ aria-label="Purple avatar with initial"
359
+ >
360
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
361
+ </div>
362
+ <div
363
+ class="pf-v6-c-avatar pf-m-colorful pf-m-gray"
364
+ role="img"
365
+ aria-label="Gray avatar with initial"
366
+ >
367
+ <span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
368
+ </div>
70
369
 
71
370
  ```
72
371
 
@@ -80,15 +379,29 @@ The avatar component provides a default SVG icon. If an image is used it should
80
379
 
81
380
  | Attribute | Applied to | Outcome |
82
381
  | -- | -- | -- |
83
- | `alt` | `.pf-v6-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required** |
382
+ | `alt` | `.pf-v6-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required for image avatars** |
383
+ | `role="img"` | `.pf-v6-c-avatar` | Indicates the element represents an image. **Required for colorful avatars** |
384
+ | `aria-label` | `.pf-v6-c-avatar` | Provides an accessible name for the avatar. **Required for colorful avatars** |
385
+ | `aria-hidden="true"` | `.pf-v6-c-avatar__initials`, `<svg>` | Hides decorative content from screen readers when the container has `aria-label`. |
84
386
 
85
387
  ### Usage
86
388
 
87
389
  | Class | Applied to | Outcome |
88
390
  | -- | -- | -- |
89
- | `.pf-v6-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
391
+ | `.pf-v6-c-avatar` | `<img>`, `<div>` | Initiates an avatar. **Required** |
392
+ | `.pf-v6-c-avatar--colorful` | `.pf-v6-c-avatar` | Modifies an avatar to use colorful styling with a border. |
393
+ | `.pf-v6-c-avatar__initials` | `<span>` | Contains the user's initials in a colorful avatar. |
90
394
  | `.pf-m-bordered` | `.pf-v6-c-avatar` | Modifies an avatar to have a border. |
91
395
  | `.pf-m-sm{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
92
396
  | `.pf-m-md{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** This is the default size. |
93
397
  | `.pf-m-lg{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
94
398
  | `.pf-m-xl{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
399
+ | `.pf-m-red` | `.pf-v6-c-avatar` | Modifies avatar for red styling. |
400
+ | `.pf-m-orangered` | `.pf-v6-c-avatar` | Modifies avatar for orangered styling. |
401
+ | `.pf-m-orange` | `.pf-v6-c-avatar` | Modifies avatar for orange styling. |
402
+ | `.pf-m-yellow` | `.pf-v6-c-avatar` | Modifies avatar for yellow styling. |
403
+ | `.pf-m-green` | `.pf-v6-c-avatar` | Modifies avatar for green styling. |
404
+ | `.pf-m-teal` | `.pf-v6-c-avatar` | Modifies avatar for teal styling. |
405
+ | `.pf-m-blue` | `.pf-v6-c-avatar` | Modifies avatar for blue styling. |
406
+ | `.pf-m-purple` | `.pf-v6-c-avatar` | Modifies avatar for purple styling. |
407
+ | `.pf-m-gray` | `.pf-v6-c-avatar` | Modifies avatar for gray styling. |
@@ -1112,7 +1112,7 @@ cssPrefix: pf-v6-c-menu-toggle
1112
1112
  <span class="pf-v6-c-menu-toggle__icon">
1113
1113
  <img
1114
1114
  class="pf-v6-c-avatar pf-m-sm"
1115
- alt="Avatar image"
1115
+ alt
1116
1116
  src="/assets/images/img_avatar-light.svg"
1117
1117
  />
1118
1118
  </span>
@@ -1145,7 +1145,7 @@ cssPrefix: pf-v6-c-menu-toggle
1145
1145
  <span class="pf-v6-c-menu-toggle__icon">
1146
1146
  <img
1147
1147
  class="pf-v6-c-avatar pf-m-sm"
1148
- alt="Avatar image"
1148
+ alt
1149
1149
  src="/assets/images/img_avatar-light.svg"
1150
1150
  />
1151
1151
  </span>
@@ -1179,7 +1179,7 @@ cssPrefix: pf-v6-c-menu-toggle
1179
1179
  <span class="pf-v6-c-menu-toggle__icon">
1180
1180
  <img
1181
1181
  class="pf-v6-c-avatar pf-m-sm"
1182
- alt="Avatar image"
1182
+ alt
1183
1183
  src="/assets/images/img_avatar-light.svg"
1184
1184
  />
1185
1185
  </span>
@@ -12,10 +12,16 @@
12
12
  #ws-core-c-table-sticky-columns-and-header .ws-preview-html,
13
13
  #ws-core-c-table-nested-column-headers-sticky-header .ws-preview-html,
14
14
  #ws-core-c-table-sticky-header .ws-preview-html,
15
+ #ws-core-c-table-sticky-footer .ws-preview-html,
15
16
  #ws-core-c-table-sticky-header-with-base-and-stuck .ws-preview-html {
16
17
  height: 400px;
17
18
  }
18
19
 
20
+ #ws-core-c-table-sticky-header .ws-preview-html,
21
+ #ws-core-c-table-sticky-footer .ws-preview-html {
22
+ overflow: auto;
23
+ }
24
+
19
25
  .pf-v6-c-overflow-menu .pf-v6-c-menu {
20
26
  position: absolute;
21
27
  inset-inline-end: 0;