@innovaccer/design-system 4.16.1 → 4.17.1
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/CHANGELOG.md +74 -0
- package/css/dist/index.css +133 -16
- package/css/dist/index.css.map +1 -1
- package/css/src/components/avatar.module.css +52 -12
- package/css/src/components/avatarGroup.module.css +6 -0
- package/css/src/components/avatarSelection.module.css +65 -4
- package/css/src/variables/index.css +10 -0
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/core/common.type.d.ts +1 -1
- package/dist/core/components/atoms/avatar/constants.d.ts +1 -0
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -1
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +2 -1
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionPopover.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatar.d.ts +2 -1
- package/dist/core/components/organisms/menu/MenuList.d.ts +1 -1
- package/dist/esm/index.js +352 -324
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +255 -226
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +133 -16
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +860 -842
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,77 @@
|
|
|
1
|
+
## 4.17.1 (2025-12-11)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- fix(avatar): update avatar fallback appearance and text color (f20339b8)
|
|
6
|
+
- docs(Avatars): update the docs for the avatar and avatarGroups (9e3b9273)
|
|
7
|
+
|
|
8
|
+
### Breaking changes
|
|
9
|
+
|
|
10
|
+
NA
|
|
11
|
+
|
|
12
|
+
### Migration guide
|
|
13
|
+
|
|
14
|
+
NA
|
|
15
|
+
|
|
16
|
+
### Deprecations
|
|
17
|
+
|
|
18
|
+
NA
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
NA
|
|
23
|
+
|
|
24
|
+
### Fixes
|
|
25
|
+
|
|
26
|
+
- fix(avatar): update avatar fallback appearance and text color (f20339b8)
|
|
27
|
+
|
|
28
|
+
### Improvements
|
|
29
|
+
|
|
30
|
+
NA
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
- docs(Avatars): update the docs for the avatar and avatarGroups (9e3b9273)
|
|
35
|
+
- docs(avatar): update docs for avatar and avatarGroups (c7dc4be9)
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 4.17.0 (2025-12-10)
|
|
40
|
+
|
|
41
|
+
### Highlights
|
|
42
|
+
|
|
43
|
+
- feat(Avatar): update new color and update shape for avatarGroups and avatarSelection (3a6c626f)
|
|
44
|
+
|
|
45
|
+
### Breaking changes
|
|
46
|
+
|
|
47
|
+
NA
|
|
48
|
+
|
|
49
|
+
### Migration guide
|
|
50
|
+
|
|
51
|
+
NA
|
|
52
|
+
|
|
53
|
+
### Deprecations
|
|
54
|
+
|
|
55
|
+
NA
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
- feat(Avatar): update new color and update shape for avatarGroups and avatarSelection (3a6c626f)
|
|
60
|
+
|
|
61
|
+
### Fixes
|
|
62
|
+
|
|
63
|
+
NA
|
|
64
|
+
|
|
65
|
+
### Improvements
|
|
66
|
+
|
|
67
|
+
NA
|
|
68
|
+
|
|
69
|
+
### Documentation
|
|
70
|
+
|
|
71
|
+
NA
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
1
75
|
## 4.16.1 (2025-11-23)
|
|
2
76
|
|
|
3
77
|
### Highlights
|
package/css/dist/index.css
CHANGED
|
@@ -148,6 +148,16 @@
|
|
|
148
148
|
--accent3-ultra-light: #f1f3fc;
|
|
149
149
|
--accent4-ultra-light: #f2f9e7;
|
|
150
150
|
|
|
151
|
+
/* Avatar specific color for the time being */
|
|
152
|
+
--primary-300: #c9e1f5;
|
|
153
|
+
--success-300: #caeacd;
|
|
154
|
+
--alert-300: #fad1cd;
|
|
155
|
+
--warning-300: #ffebad;
|
|
156
|
+
--accent1-300: #fcd9b6;
|
|
157
|
+
--accent2-300: #d7cae8;
|
|
158
|
+
--accent3-300: #cbd1f5;
|
|
159
|
+
--accent4-300: #d3ebb2;
|
|
160
|
+
|
|
151
161
|
/* shadow */
|
|
152
162
|
--primary-shadow: rgba(0, 112, 221, 0.16);
|
|
153
163
|
--secondary-shadow: rgba(213, 213, 213, 0.16);
|
|
@@ -889,6 +899,11 @@ body {
|
|
|
889
899
|
width: var(--spacing-60);
|
|
890
900
|
}
|
|
891
901
|
|
|
902
|
+
.Avatar--micro {
|
|
903
|
+
height: 20px;
|
|
904
|
+
width: 20px;
|
|
905
|
+
}
|
|
906
|
+
|
|
892
907
|
.Avatar--noInitials {
|
|
893
908
|
cursor: default;
|
|
894
909
|
}
|
|
@@ -898,7 +913,7 @@ body {
|
|
|
898
913
|
}
|
|
899
914
|
|
|
900
915
|
.Avatar--disabled::after {
|
|
901
|
-
opacity: var(--opacity-
|
|
916
|
+
opacity: var(--opacity-16);
|
|
902
917
|
top: 0;
|
|
903
918
|
right: 0;
|
|
904
919
|
bottom: 0;
|
|
@@ -910,7 +925,7 @@ body {
|
|
|
910
925
|
}
|
|
911
926
|
|
|
912
927
|
.Avatar--primary {
|
|
913
|
-
background: var(--primary);
|
|
928
|
+
background: var(--primary-300);
|
|
914
929
|
}
|
|
915
930
|
|
|
916
931
|
.Avatar--secondary {
|
|
@@ -918,31 +933,31 @@ body {
|
|
|
918
933
|
}
|
|
919
934
|
|
|
920
935
|
.Avatar--success {
|
|
921
|
-
background: var(--success);
|
|
936
|
+
background: var(--success-300);
|
|
922
937
|
}
|
|
923
938
|
|
|
924
939
|
.Avatar--alert {
|
|
925
|
-
background: var(--alert);
|
|
940
|
+
background: var(--alert-300);
|
|
926
941
|
}
|
|
927
942
|
|
|
928
943
|
.Avatar--warning {
|
|
929
|
-
background: var(--warning);
|
|
944
|
+
background: var(--warning-300);
|
|
930
945
|
}
|
|
931
946
|
|
|
932
947
|
.Avatar--accent1 {
|
|
933
|
-
background: var(--accent1);
|
|
948
|
+
background: var(--accent1-300);
|
|
934
949
|
}
|
|
935
950
|
|
|
936
951
|
.Avatar--accent2 {
|
|
937
|
-
background: var(--accent2);
|
|
952
|
+
background: var(--accent2-300);
|
|
938
953
|
}
|
|
939
954
|
|
|
940
955
|
.Avatar--accent3 {
|
|
941
|
-
background: var(--accent3);
|
|
956
|
+
background: var(--accent3-300);
|
|
942
957
|
}
|
|
943
958
|
|
|
944
959
|
.Avatar--accent4 {
|
|
945
|
-
background: var(--accent4);
|
|
960
|
+
background: var(--accent4-300);
|
|
946
961
|
}
|
|
947
962
|
|
|
948
963
|
.Avatar-content--tiny {
|
|
@@ -950,10 +965,45 @@ body {
|
|
|
950
965
|
font-size: 10px !important;
|
|
951
966
|
}
|
|
952
967
|
|
|
953
|
-
.Avatar-content {
|
|
968
|
+
.Avatar-content--micro {
|
|
969
|
+
line-height: var(--font-height-s) !important;
|
|
970
|
+
font-size: 10px !important;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.Avatar-content--primary {
|
|
974
|
+
color: var(--primary-darker) !important;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.Avatar-content--secondary {
|
|
954
978
|
color: var(--inverse) !important;
|
|
955
|
-
|
|
956
|
-
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.Avatar-content--success {
|
|
982
|
+
color: var(--success-darker) !important;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.Avatar-content--alert {
|
|
986
|
+
color: var(--alert-darker) !important;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.Avatar-content--warning {
|
|
990
|
+
color: var(--warning-darker) !important;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.Avatar-content--accent1 {
|
|
994
|
+
color: var(--accent1-darker) !important;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.Avatar-content--accent2 {
|
|
998
|
+
color: var(--accent2-darker) !important;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.Avatar-content--accent3 {
|
|
1002
|
+
color: var(--accent3-darker) !important;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.Avatar-content--accent4 {
|
|
1006
|
+
color: var(--accent4-darker) !important;
|
|
957
1007
|
}
|
|
958
1008
|
|
|
959
1009
|
.Avatar-presence {
|
|
@@ -993,6 +1043,10 @@ body {
|
|
|
993
1043
|
margin-right: calc(var(--spacing-05) * -1);
|
|
994
1044
|
}
|
|
995
1045
|
|
|
1046
|
+
.AvatarGroup-item--square {
|
|
1047
|
+
border-radius: var(--border-radius-10);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
996
1050
|
.AvatarGroup-item--regular {
|
|
997
1051
|
height: var(--spacing-80);
|
|
998
1052
|
}
|
|
@@ -1016,6 +1070,8 @@ body {
|
|
|
1016
1070
|
.AvatarCount-wrapper {
|
|
1017
1071
|
border-radius: var(--border-radius-full);
|
|
1018
1072
|
position: relative;
|
|
1073
|
+
display: flex;
|
|
1074
|
+
align-items: center;
|
|
1019
1075
|
}
|
|
1020
1076
|
|
|
1021
1077
|
.AvatarCount-wrapper:focus,
|
|
@@ -1072,6 +1128,10 @@ body {
|
|
|
1072
1128
|
position: relative;
|
|
1073
1129
|
}
|
|
1074
1130
|
|
|
1131
|
+
.SelectionAvatarGroup-item--square {
|
|
1132
|
+
border-radius: var(--border-radius-10);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1075
1135
|
.SelectionAvatarGroup-item--active:focus,
|
|
1076
1136
|
.SelectionAvatarGroup-item--active:focus-visible {
|
|
1077
1137
|
outline: 3px solid var(--primary-shadow);
|
|
@@ -1079,7 +1139,17 @@ body {
|
|
|
1079
1139
|
}
|
|
1080
1140
|
|
|
1081
1141
|
.SelectionAvatarGroup-item--active:active {
|
|
1082
|
-
outline: var(--
|
|
1142
|
+
outline: var(--border-width-2-5) solid var(--primary-dark);
|
|
1143
|
+
outline-offset: var(--spacing-2-5);
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.SelectionAvatarGroup-item--active-tiny:active,
|
|
1147
|
+
.SelectionAvatarGroup-item--active-micro:active {
|
|
1148
|
+
outline-offset: var(--spacing-05);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.SelectionAvatarGroup-item--active-regular:active {
|
|
1152
|
+
outline: var(--border-width-05) solid var(--primary-dark);
|
|
1083
1153
|
outline-offset: var(--spacing-2-5);
|
|
1084
1154
|
}
|
|
1085
1155
|
|
|
@@ -1091,12 +1161,31 @@ body {
|
|
|
1091
1161
|
|
|
1092
1162
|
.SelectionAvatarGroup-item--selected {
|
|
1093
1163
|
outline-offset: var(--spacing-2-5);
|
|
1094
|
-
outline: var(--
|
|
1164
|
+
outline: var(--border-width-2-5) solid var(--primary-dark);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.SelectionAvatarGroup-item--selected-tiny,
|
|
1168
|
+
.SelectionAvatarGroup-item--selected-micro {
|
|
1169
|
+
outline-offset: var(--spacing-05);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.SelectionAvatarGroup-item--selected-regular {
|
|
1173
|
+
outline: var(--border-width-05) solid var(--primary-dark);
|
|
1095
1174
|
}
|
|
1096
1175
|
|
|
1097
1176
|
.SelectionAvatarGroup-item--selected:active {
|
|
1098
1177
|
outline-offset: var(--spacing-2-5);
|
|
1099
|
-
outline: var(--
|
|
1178
|
+
outline: var(--border-width-2-5) solid var(--primary-darker);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.SelectionAvatarGroup-item--selected-tiny:active,
|
|
1182
|
+
.SelectionAvatarGroup-item--selected-micro:active {
|
|
1183
|
+
outline-offset: var(--spacing-05);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.SelectionAvatarGroup-item--selected-regular:active {
|
|
1187
|
+
outline-offset: var(--spacing-2-5);
|
|
1188
|
+
outline: var(--border-width-05) solid var(--primary-darker);
|
|
1100
1189
|
}
|
|
1101
1190
|
|
|
1102
1191
|
.SelectionAvatarGroup-item--selected:focus,
|
|
@@ -1151,6 +1240,10 @@ body {
|
|
|
1151
1240
|
background: var(--secondary-dark);
|
|
1152
1241
|
}
|
|
1153
1242
|
|
|
1243
|
+
.SelectionAvatarCount--open {
|
|
1244
|
+
background: var(--secondary-dark) !important;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1154
1247
|
.SelectionAvatarCount-wrapper:focus,
|
|
1155
1248
|
.SelectionAvatarCount-wrapper:focus-visible {
|
|
1156
1249
|
outline: 3px solid var(--primary-shadow);
|
|
@@ -1159,7 +1252,31 @@ body {
|
|
|
1159
1252
|
|
|
1160
1253
|
.SelectionAvatarCount--selected {
|
|
1161
1254
|
outline-offset: var(--spacing-2-5);
|
|
1162
|
-
outline: var(--
|
|
1255
|
+
outline: var(--border-width-2-5) solid var(--primary-dark);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.SelectionAvatarCount--selected-tiny,
|
|
1259
|
+
.SelectionAvatarCount--selected-micro {
|
|
1260
|
+
outline-offset: var(--spacing-05);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.SelectionAvatarCount--selected-regular {
|
|
1264
|
+
outline: var(--border-width-05) solid var(--primary-dark);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.SelectionAvatarCount--selected:active {
|
|
1268
|
+
outline-offset: var(--spacing-2-5);
|
|
1269
|
+
outline: var(--border-width-2-5) solid var(--primary-darker);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.SelectionAvatarCount--selected-tiny:active,
|
|
1273
|
+
.SelectionAvatarCount--selected-micro:active {
|
|
1274
|
+
outline-offset: var(--spacing-05);
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
.SelectionAvatarCount--selected-regular:active {
|
|
1278
|
+
outline-offset: var(--spacing-2-5);
|
|
1279
|
+
outline: var(--border-width-05) solid var(--primary-darker);
|
|
1163
1280
|
}
|
|
1164
1281
|
|
|
1165
1282
|
.SelectionAvatarCount--selected:focus,
|