@innovaccer/design-system 2.31.1 → 2.32.0

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/css/dist/index.css +50 -46
  3. package/css/dist/index.css.map +1 -1
  4. package/css/src/components/actionCard.css +1 -1
  5. package/css/src/components/backdrop.css +3 -3
  6. package/css/src/components/fullscreenModal.css +2 -2
  7. package/css/src/components/grid.css +13 -11
  8. package/css/src/components/horizontalNav.css +1 -1
  9. package/css/src/components/listbox.css +3 -3
  10. package/css/src/components/message.css +4 -4
  11. package/css/src/components/navigation.css +1 -1
  12. package/css/src/components/popover.css +1 -1
  13. package/css/src/components/select.css +4 -0
  14. package/css/src/components/selectionCard.css +5 -5
  15. package/css/src/components/tabs.css +1 -1
  16. package/css/src/components/toast.css +7 -7
  17. package/css/src/components/verticalNav.css +1 -1
  18. package/css/src/variables/index.css +21 -23
  19. package/dist/.lib/tsconfig.type.tsbuildinfo +23 -23
  20. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionOption.d.ts +2 -0
  21. package/dist/core/components/atoms/checkbox/Checkbox.d.ts +1 -0
  22. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +0 -1
  23. package/dist/core/components/molecules/tooltip/Tooltip.d.ts +1 -0
  24. package/dist/core/components/organisms/menu/MenuItem.d.ts +2 -0
  25. package/dist/core/components/organisms/select/SelectContext.d.ts +1 -0
  26. package/dist/index.esm.js +118 -65
  27. package/dist/index.js +82 -44
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.umd.js +1 -1
  30. package/dist/index.umd.js.br +0 -0
  31. package/dist/index.umd.js.gz +0 -0
  32. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,60 @@
1
+ ## 2.32.0 (2024-05-01)
2
+
3
+ ### Highlights
4
+
5
+ - feat(opacity): update values of opacity with tokens in components (e9701951)
6
+ - feat(storybook): update storybook structure in alphabetical order (81c5261a)
7
+ - feat(docs): update storybook preview link in markdown (5c367b4c)
8
+ - feat(menu): add overflow behavior in option items (4b2f4239)
9
+ - feat(combobox): add overflow behavior for option items (ef09ab38)
10
+ - feat(avatarSelection): add overflow behavior for popover options (0d0bed91)
11
+ - feat(select): add overflow behavior in option item and trigger (999ff9d3)
12
+ - docs(node): node 20 migration (e3737cd8)
13
+
14
+ ### Breaking changes
15
+
16
+ NA
17
+
18
+ ### Migration guide
19
+
20
+ NA
21
+
22
+ ### Deprecations
23
+
24
+ NA
25
+
26
+ ### Features
27
+
28
+ - feat(opacity): update values of opacity with tokens in components (e9701951)
29
+ - feat(storybook): update storybook structure in alphabetical order (81c5261a)
30
+ - feat(docs): update storybook preview link in markdown (5c367b4c)
31
+ - feat(menu): add overflow behavior in option items (4b2f4239)
32
+ - feat(combobox): add overflow behavior for option items (ef09ab38)
33
+ - feat(avatarSelection): add overflow behavior for popover options (0d0bed91)
34
+ - feat(select): add overflow behavior in option item and trigger (999ff9d3)
35
+ - docs(node): node 20 migration (e3737cd8)
36
+
37
+ ### Fixes
38
+
39
+ - fix(tooltip): tooltip not appearing on consecutive list hover (670e3a4e)
40
+ - fix: update material symbols link on codesandbox (ad7c15a7)
41
+ - fix(grid): update style for pinned columns (d68c7300)
42
+ - fix(dropdown): fix width of error template in dropdown (5fd99771)
43
+ - docs(node): fix cypress test cases (f6fd95c7)
44
+
45
+ ### Improvements
46
+
47
+ - chore: add launch config for jest test case debugging in VS Code (9bcc8016)
48
+ - chore: update jest config to exclude type definition files from coverage (589c2b58)
49
+ - test(accessibility): add test cases for accessibility utils (6f27cee8)
50
+ - fix: update name of overflow stories of select, menu, combobox (e2ab96d9)
51
+
52
+ ### Documentation
53
+
54
+ - docs(combobox): update image for overflow behavior of option item (619cf381)
55
+
56
+ ---
57
+
1
58
  ## 2.31.1 (2024-04-19)
2
59
 
3
60
  ### Highlights
@@ -273,19 +273,17 @@
273
273
  --duration--slow-01: 400ms;
274
274
  --duration--slow-02: 720ms;
275
275
 
276
- /**** Opacity ****/
277
- --opacity-0: 0;
278
- --opacity-4: 0.04;
279
- --opacity-8: 0.08;
280
- --opacity-12: 0.12;
281
- --opacity-16: 0.16;
282
- --opacity-24: 0.24;
283
- --opacity-32: 0.32;
284
- --opacity-40: 0.4;
285
- --opacity-48: 0.48;
286
- --opacity-64: 0.64;
287
- --opacity-80: 0.8;
288
- --opacity-100: 1;
276
+ /* Opacity */
277
+ --opacity-1: 0.04;
278
+ --opacity-2: 0.08;
279
+ --opacity-3: 0.12;
280
+ --opacity-4: 0.16;
281
+ --opacity-6: 0.24;
282
+ --opacity-8: 0.32;
283
+ --opacity-10: 0.4;
284
+ --opacity-12: 0.48;
285
+ --opacity-16: 0.64;
286
+ --opacity-20: 0.8;
289
287
  }
290
288
 
291
289
  /* fallback */
@@ -870,7 +868,7 @@ body {
870
868
  bottom: 0;
871
869
  left: 0;
872
870
  z-index: 2;
873
- opacity: 50%;
871
+ opacity: var(--opacity-10);
874
872
  background: var(--secondary-light);
875
873
  }
876
874
 
@@ -1126,7 +1124,7 @@ body {
1126
1124
  opacity: 0;
1127
1125
  }
1128
1126
  to {
1129
- opacity: 60;
1127
+ opacity: var(--opacity-16);
1130
1128
  }
1131
1129
  }
1132
1130
 
@@ -1135,13 +1133,13 @@ body {
1135
1133
  opacity: 0;
1136
1134
  }
1137
1135
  to {
1138
- opacity: 60;
1136
+ opacity: var(--opacity-16);
1139
1137
  }
1140
1138
  }
1141
1139
 
1142
1140
  @-webkit-keyframes backdrop-close {
1143
1141
  from {
1144
- opacity: 60;
1142
+ opacity: var(--opacity-16);
1145
1143
  }
1146
1144
  to {
1147
1145
  opacity: 0;
@@ -1150,7 +1148,7 @@ body {
1150
1148
 
1151
1149
  @keyframes backdrop-close {
1152
1150
  from {
1153
- opacity: 60;
1151
+ opacity: var(--opacity-16);
1154
1152
  }
1155
1153
  to {
1156
1154
  opacity: 0;
@@ -1158,7 +1156,7 @@ body {
1158
1156
  }
1159
1157
 
1160
1158
  .Backdrop {
1161
- background-color: rgba(47, 47, 47, 0.6);
1159
+ background-color: rgba(47, 47, 47, 0.64);
1162
1160
  height: 100vh;
1163
1161
  width: 100vw;
1164
1162
  position: fixed;
@@ -3449,7 +3447,7 @@ body {
3449
3447
  transform: translateY(20px);
3450
3448
  }
3451
3449
  to {
3452
- opacity: 100;
3450
+ opacity: 1;
3453
3451
  transform: translateY(0px);
3454
3452
  }
3455
3453
  }
@@ -3460,14 +3458,14 @@ body {
3460
3458
  transform: translateY(20px);
3461
3459
  }
3462
3460
  to {
3463
- opacity: 100;
3461
+ opacity: 1;
3464
3462
  transform: translateY(0px);
3465
3463
  }
3466
3464
  }
3467
3465
 
3468
3466
  @-webkit-keyframes fullscreenModal-close {
3469
3467
  from {
3470
- opacity: 100;
3468
+ opacity: 1;
3471
3469
  transform: translateY(0px);
3472
3470
  }
3473
3471
  to {
@@ -3478,7 +3476,7 @@ body {
3478
3476
 
3479
3477
  @keyframes fullscreenModal-close {
3480
3478
  from {
3481
- opacity: 100;
3479
+ opacity: 1;
3482
3480
  transform: translateY(0px);
3483
3481
  }
3484
3482
  to {
@@ -3778,7 +3776,7 @@ body {
3778
3776
  } */
3779
3777
 
3780
3778
  .Grid-row--disabled {
3781
- opacity: var(--opacity-40);
3779
+ opacity: var(--opacity-10);
3782
3780
  pointer-events: none;
3783
3781
  }
3784
3782
 
@@ -3870,20 +3868,21 @@ body {
3870
3868
 
3871
3869
  .Grid-cellGroup--pinned-left {
3872
3870
  left: 0;
3873
- border-right: var(--border);
3871
+ border-style: inset;
3872
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3874
3873
  border-right-width: 4px;
3875
3874
  -o-border-image: linear-gradient(
3876
3875
  to right,
3877
- var(--secondary),
3878
- var(--secondary) 25%,
3876
+ var(--secondary-light),
3877
+ var(--secondary-light) 25%,
3879
3878
  rgba(213, 213, 213, 0.1) 25%,
3880
3879
  rgba(213, 213, 213, 0.1)
3881
3880
  )
3882
3881
  1 100%;
3883
3882
  border-image: linear-gradient(
3884
3883
  to right,
3885
- var(--secondary),
3886
- var(--secondary) 25%,
3884
+ var(--secondary-light),
3885
+ var(--secondary-light) 25%,
3887
3886
  rgba(213, 213, 213, 0.1) 25%,
3888
3887
  rgba(213, 213, 213, 0.1)
3889
3888
  )
@@ -3892,20 +3891,21 @@ body {
3892
3891
 
3893
3892
  .Grid-cellGroup--pinned-right {
3894
3893
  right: 0;
3895
- border-left: var(--border);
3894
+ border-style: inset;
3895
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3896
3896
  border-left-width: 4px;
3897
3897
  -o-border-image: linear-gradient(
3898
3898
  to left,
3899
- var(--secondary),
3900
- var(--secondary) 25%,
3899
+ var(--secondary-light),
3900
+ var(--secondary-light) 25%,
3901
3901
  rgba(213, 213, 213, 0.1) 25%,
3902
3902
  rgba(213, 213, 213, 0.1)
3903
3903
  )
3904
3904
  1 100%;
3905
3905
  border-image: linear-gradient(
3906
3906
  to left,
3907
- var(--secondary),
3908
- var(--secondary) 25%,
3907
+ var(--secondary-light),
3908
+ var(--secondary-light) 25%,
3909
3909
  rgba(213, 213, 213, 0.1) 25%,
3910
3910
  rgba(213, 213, 213, 0.1)
3911
3911
  )
@@ -4167,7 +4167,7 @@ body {
4167
4167
  }
4168
4168
 
4169
4169
  .HorizontalNav-pills--disabled {
4170
- opacity: 0.6;
4170
+ opacity: var(--opacity-10);
4171
4171
  }
4172
4172
 
4173
4173
  /* Although the icons in the font can be scaled to any size, in accordance with material design icons guidelines,
@@ -4870,7 +4870,7 @@ body {
4870
4870
  /* Listbox type - disabled */
4871
4871
 
4872
4872
  .Listbox-item--disabled {
4873
- opacity: var(--opacity-40);
4873
+ opacity: var(--opacity-10);
4874
4874
  pointer-events: none;
4875
4875
  }
4876
4876
 
@@ -5409,7 +5409,7 @@ body {
5409
5409
  }
5410
5410
 
5411
5411
  .Navigation-horizontalPills--disabled {
5412
- opacity: 0.6;
5412
+ opacity: var(--opacity-10);
5413
5413
  }
5414
5414
 
5415
5415
  .Navigation-footer {
@@ -5810,7 +5810,7 @@ body {
5810
5810
  opacity: 0;
5811
5811
  }
5812
5812
  80% {
5813
- opacity: 0.2;
5813
+ opacity: var(--opacity-6);
5814
5814
  }
5815
5815
  100% {
5816
5816
  opacity: 1;
@@ -5822,7 +5822,7 @@ body {
5822
5822
  opacity: 0;
5823
5823
  }
5824
5824
  80% {
5825
- opacity: 0.2;
5825
+ opacity: var(--opacity-6);
5826
5826
  }
5827
5827
  100% {
5828
5828
  opacity: 1;
@@ -6159,6 +6159,10 @@ body {
6159
6159
  white-space: nowrap;
6160
6160
  overflow: hidden;
6161
6161
  text-overflow: ellipsis;
6162
+ max-width: 100%;
6163
+ margin: 0;
6164
+ font-size: var(--font-size);
6165
+ line-height: var(--font-height);
6162
6166
  }
6163
6167
 
6164
6168
  .Select-trigger--regular {
@@ -6280,27 +6284,27 @@ body {
6280
6284
 
6281
6285
  .Selection-card:active .Selection-card-overlay {
6282
6286
  background-color: var(--primary);
6283
- opacity: 10%;
6287
+ opacity: var(--opacity-3);
6284
6288
  }
6285
6289
 
6286
6290
  .Selection-card--disabled .Selection-card-overlay {
6287
6291
  background-color: var(--secondary-lightest);
6288
- opacity: 50%;
6292
+ opacity: var(--opacity-10);
6289
6293
  }
6290
6294
 
6291
6295
  .Selection-card--selected .Selection-card-overlay {
6292
6296
  background-color: var(--primary);
6293
- opacity: 4%;
6297
+ opacity: var(--opacity-1);
6294
6298
  }
6295
6299
 
6296
6300
  .Selection-card--selected:active .Selection-card-overlay {
6297
6301
  background-color: var(--primary);
6298
- opacity: 4%;
6302
+ opacity: var(--opacity-1);
6299
6303
  }
6300
6304
 
6301
6305
  .Selection-card--selected-disabled .Selection-card-overlay {
6302
6306
  background-color: var(--primary-lightest);
6303
- opacity: 50%;
6307
+ opacity: var(--opacity-10);
6304
6308
  }
6305
6309
 
6306
6310
  @-webkit-keyframes sidesheet-open {
@@ -7065,7 +7069,7 @@ body {
7065
7069
  }
7066
7070
 
7067
7071
  .Tab-pills--disabled {
7068
- opacity: 60%;
7072
+ opacity: var(--opacity-10);
7069
7073
  cursor: not-allowed;
7070
7074
  }
7071
7075
 
@@ -7753,7 +7757,7 @@ body {
7753
7757
  }
7754
7758
 
7755
7759
  .MenuItem-count--disabled {
7756
- opacity: 0.6;
7760
+ opacity: var(--opacity-10);
7757
7761
  color: var(--text);
7758
7762
  }
7759
7763