@innovaccer/design-system 2.30.0 → 2.31.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,82 @@
1
+ ## 2.31.0 (2024-04-15)
2
+
3
+ ### Highlights
4
+
5
+ - feat(table): add persistent selection support in table (7c07d6ac)
6
+ - feat(listbox): update list item states with updated opacity token (d426a36e)
7
+ - feat(table): update states of table with new opacity tokens (4a23a7e5)
8
+
9
+ ### Breaking changes
10
+
11
+ NA
12
+
13
+ ### Migration guide
14
+
15
+ NA
16
+
17
+ ### Deprecations
18
+
19
+ NA
20
+
21
+ ### Features
22
+
23
+ - feat(table): add persistent selection support in table (7c07d6ac)
24
+ - feat(listbox): update list item states with updated opacity token (d426a36e)
25
+ - feat(table): update states of table with new opacity tokens (4a23a7e5)
26
+
27
+ ### Fixes
28
+
29
+ - fix(editableDropdown): popover open issue with custom type on option selection (ba4fecff)
30
+ - fix(tooltip): fix spelling mistakes in tooltip (777c9dd9)
31
+
32
+ ### Improvements
33
+
34
+ NA
35
+
36
+ ### Documentation
37
+
38
+ - docs(listbox): update the listbox state documentation (32ddf640)
39
+ - docs(combobox): update option state documentation in combobox (81e55b64)
40
+ - docs(opacity): add new opacity token guidelines (a533ce73)
41
+
42
+ ---
43
+
44
+ ## 2.30.1 (2024-04-03)
45
+
46
+ ### Highlights
47
+
48
+ - feat(opacity): add new tokens for opacity (460fb565)
49
+
50
+ ### Breaking changes
51
+
52
+ NA
53
+
54
+ ### Migration guide
55
+
56
+ NA
57
+
58
+ ### Deprecations
59
+
60
+ NA
61
+
62
+ ### Features
63
+
64
+ - feat(opacity): add new tokens for opacity (460fb565)
65
+
66
+ ### Fixes
67
+
68
+ - fix(table): global action button alignment (5a04afaa)
69
+
70
+ ### Improvements
71
+
72
+ NA
73
+
74
+ ### Documentation
75
+
76
+ - docs(docs): add menu component documentation (088a90e4)
77
+
78
+ ---
79
+
1
80
  ## 2.30.0 (2024-04-01)
2
81
 
3
82
  ### Highlights
@@ -272,6 +272,20 @@
272
272
  --duration--moderate-02: 240ms;
273
273
  --duration--slow-01: 400ms;
274
274
  --duration--slow-02: 720ms;
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;
275
289
  }
276
290
 
277
291
  /* fallback */
@@ -3541,11 +3555,12 @@ body {
3541
3555
 
3542
3556
  .Grid--resource .Grid-row--body:active,
3543
3557
  .Grid--resource .Grid-row--body:active .Grid-cellGroup {
3544
- background: var(--warning-lightest) !important;
3558
+ background: var(--secondary-lighter);
3545
3559
  }
3546
3560
 
3547
3561
  .Grid--resource .Grid-row--body:focus {
3548
- outline-color: var(--warning);
3562
+ box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
3563
+ outline: none;
3549
3564
  }
3550
3565
 
3551
3566
  .Grid--pinned {
@@ -3657,6 +3672,8 @@ body {
3657
3672
  flex-shrink: 0;
3658
3673
  box-sizing: border-box;
3659
3674
  background: var(--white);
3675
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3676
+ transition-delay: var(--duration--fast-01);
3660
3677
  }
3661
3678
 
3662
3679
  .Grid-row--body {
@@ -3665,7 +3682,24 @@ body {
3665
3682
 
3666
3683
  .Grid-row--selected,
3667
3684
  .Grid-row--selected .Grid-cellGroup {
3668
- background: var(--warning-lightest) !important;
3685
+ background: rgba(220, 236, 249, 0.48);
3686
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3687
+ }
3688
+
3689
+ .Grid-row--selected:hover,
3690
+ .Grid-row--selected .Grid-cellGroup:hover {
3691
+ background: rgba(151, 197, 240, 0.48) !important;
3692
+ }
3693
+
3694
+ .Grid-row--selected:active,
3695
+ .Grid-row--selected .Grid-cellGroup:active {
3696
+ background: var(--primary-lighter) !important;
3697
+ }
3698
+
3699
+ .Grid-row--selected:focus,
3700
+ .Grid-row--selected .Grid-cellGroup:focus {
3701
+ outline: none;
3702
+ box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
3669
3703
  }
3670
3704
 
3671
3705
  .Grid-rowWrapper:last-child .Grid-row--body {
@@ -3744,7 +3778,7 @@ body {
3744
3778
  } */
3745
3779
 
3746
3780
  .Grid-row--disabled {
3747
- opacity: 0.4;
3781
+ opacity: var(--opacity-40);
3748
3782
  pointer-events: none;
3749
3783
  }
3750
3784
 
@@ -4783,11 +4817,24 @@ body {
4783
4817
  }
4784
4818
 
4785
4819
  .Listbox-item--option:active {
4786
- background: rgba(255, 245, 199, 0.6);
4820
+ background: var(--secondary-lighter);
4787
4821
  }
4788
4822
 
4789
4823
  .Listbox-item--selected {
4790
- background: rgba(255, 245, 199, 0.6);
4824
+ background: rgba(220, 236, 249, 0.48);
4825
+ }
4826
+
4827
+ .Listbox-item--selected:hover {
4828
+ background: rgba(151, 197, 240, 0.48);
4829
+ }
4830
+
4831
+ .Listbox-item--selected:focus,
4832
+ .Listbox-item--selected:focus-visible {
4833
+ outline: 3px auto rgba(0, 112, 221, 0.16);
4834
+ }
4835
+
4836
+ .Listbox-item--selected:active {
4837
+ background: var(--primary-lighter);
4791
4838
  }
4792
4839
 
4793
4840
  /* Listbox type - resource */
@@ -4806,11 +4853,11 @@ body {
4806
4853
  }
4807
4854
 
4808
4855
  .Listbox-item--resource:active {
4809
- background: rgba(255, 245, 199, 0.6);
4856
+ background: var(--secondary-lighter);
4810
4857
  }
4811
4858
 
4812
4859
  .Listbox-item--activated {
4813
- background: rgba(255, 245, 199, 0.6);
4860
+ background: var(--primary-lightest);
4814
4861
  }
4815
4862
 
4816
4863
  /* Listbox type - description */
@@ -4823,7 +4870,7 @@ body {
4823
4870
  /* Listbox type - disabled */
4824
4871
 
4825
4872
  .Listbox-item--disabled {
4826
- opacity: 0.4;
4873
+ opacity: var(--opacity-40);
4827
4874
  pointer-events: none;
4828
4875
  }
4829
4876
 
@@ -6878,6 +6925,24 @@ body {
6878
6925
  border-top: var(--border);
6879
6926
  }
6880
6927
 
6928
+ .Table-Header--Divider {
6929
+ height: var(--spacing-xl);
6930
+ }
6931
+
6932
+ .Table-Header-Label--hide {
6933
+ -webkit-animation: fadeOut var(--duration--fast-02) var(--exit-productive-curve);
6934
+ animation: fadeOut var(--duration--fast-02) var(--exit-productive-curve);
6935
+ -webkit-animation-fill-mode: forwards;
6936
+ animation-fill-mode: forwards;
6937
+ }
6938
+
6939
+ .Table-Header-Label--show {
6940
+ -webkit-animation: fadeIn var(--duration--moderate-01) var(--entrance-productive-curve);
6941
+ animation: fadeIn var(--duration--moderate-01) var(--entrance-productive-curve);
6942
+ -webkit-animation-fill-mode: forwards;
6943
+ animation-fill-mode: forwards;
6944
+ }
6945
+
6881
6946
  /* tabs */
6882
6947
 
6883
6948
  .TabsWrapper {