@innovaccer/design-system 3.3.0 → 3.5.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,103 @@
1
+ ## 3.5.0 (2024-12-12)
2
+
3
+ ### Highlights
4
+
5
+ - feat(avatar): add presence indicator support in avatar component (ce945f26)
6
+ - feat(avatar): add status indicator support in avatar (58857846)
7
+ - fix(input): update cursor position on input type change (8f45613f)
8
+ - fix(table): update table stories structure on storybook (9e3b4d53)
9
+ - feat(statusHint): update color for default appearance (a64c5128)
10
+
11
+ ### Breaking changes
12
+
13
+ NA
14
+
15
+ ### Migration guide
16
+
17
+ NA
18
+
19
+ ### Deprecations
20
+
21
+ NA
22
+
23
+ ### Features
24
+
25
+ - feat(avatar): add presence indicator support in avatar component (ce945f26)
26
+ - feat(avatar): add status indicator support in avatar (58857846)
27
+ - feat(statusHint): update color for default appearance (a64c5128)
28
+
29
+ ### Fixes
30
+
31
+ - fix(input): update cursor position on input type change (8f45613f)
32
+
33
+ ### Improvements
34
+
35
+ - chore: fix lint error in dropzone component & toast figma connect (9c8a41ec)
36
+ - fix(progressIndicators): update story of spinner and progress ring (506ca9b1)
37
+ - fix(table): update table stories structure on storybook (9e3b4d53)
38
+ - refactor(table): update table props description on storybook (f041f10f)
39
+
40
+ ### Documentation
41
+
42
+ - docs(docs): add status and presence indicator documentation in avatar (dc14464c)
43
+ - docs(docs): update table preview link in documentation (1df056c2)
44
+
45
+ ---
46
+
47
+ ## 3.4.0 (2024-11-18)
48
+
49
+ ### Highlights
50
+
51
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
52
+ - feat(progressRing): add large size support in progress ring component (2da8320b)
53
+ - feat(spinner): add extra small size for spinner (16ab49ff)
54
+ - feat(scrollbar): update scrollbar state (ca53ef74)
55
+ - feat(spinner): add secondary and white appearances (c1730ed5)
56
+ - feat(spinner): update figma code connect for extra small size of spinner (e4bdbb0f)
57
+
58
+ ### Breaking changes
59
+
60
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
61
+ - feat(scrollbar): update scrollbar state (ca53ef74)
62
+ - Revert "fix(table): fix selection state of resource table" (fc4f1739)
63
+
64
+ ### Migration guide
65
+
66
+ NA
67
+
68
+ ### Deprecations
69
+
70
+ NA
71
+
72
+ ### Features
73
+
74
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
75
+ - feat(progressRing): add large size support in progress ring component (2da8320b)
76
+ - feat(spinner): add extra small size for spinner (16ab49ff)
77
+ - feat(scrollbar): update scrollbar state (ca53ef74)
78
+ - feat(spinner): add secondary and white appearances (c1730ed5)
79
+ - feat(spinner): update figma code connect for extra small size of spinner (e4bdbb0f)
80
+
81
+ ### Fixes
82
+
83
+ - fix(docs): update active state for leftnav menu item (c07b00a3)
84
+ - fix(docs): synchronize active tab state with URL to prevent mismatch after navigation (c5bd00d8)
85
+ - Revert "fix(table): fix selection state of resource table" (fc4f1739)
86
+
87
+ ### Improvements
88
+
89
+ - fix(modal): update story of Modal component and replace Dropdown with Select component (60c93bb8)
90
+ - fix(Table): update stories of Resource table component and replace Dropdown with Menu component (95775d34)
91
+ - fix(HorizontalNav): update stories of HorizontalNav component and replace Dropdown with Select component (e6b9cfb8)
92
+ - fix(pageheader): replace dropdown with Menu component in Pageheader stories (dad8ae1d)
93
+ - chore: remove jira automation workflow for github issues (6b5ebb8e)
94
+
95
+ ### Documentation
96
+
97
+ - docs(docs): update progress indicator documentation (2788f9d5)
98
+
99
+ ---
100
+
1
101
  ## 3.3.0 (2024-11-04)
2
102
 
3
103
  ### Highlights
@@ -705,14 +705,26 @@ body {
705
705
  }
706
706
 
707
707
  ::-webkit-scrollbar {
708
- width: var(--spacing-2);
708
+ width: 16px;
709
709
  }
710
710
 
711
711
  ::-webkit-scrollbar-thumb {
712
- border: var(--spacing-s) solid rgba(0, 0, 0, 0);
713
- background-clip: padding-box;
714
- border-radius: var(--spacing);
715
- background-color: var(--secondary);
712
+ background: #c5c5c5;
713
+ border-radius: 8px;
714
+ border: 2px solid transparent;
715
+ background-clip: content-box;
716
+ }
717
+
718
+ ::-webkit-scrollbar-thumb:hover {
719
+ background: #a6a6a6;
720
+ border: 2px solid transparent;
721
+ background-clip: content-box;
722
+ }
723
+
724
+ ::-webkit-scrollbar-thumb:active {
725
+ background: #707070;
726
+ border: 2px solid transparent;
727
+ background-clip: content-box;
716
728
  }
717
729
 
718
730
  .Legend {
@@ -741,7 +753,7 @@ body {
741
753
  }
742
754
 
743
755
  .ProgressBar-indicator--small {
744
- height: var(--spacing-s);
756
+ height: var(--spacing-m);
745
757
  }
746
758
 
747
759
  .ProgressBar-indicator--regular {
@@ -927,6 +939,37 @@ body {
927
939
  mix-blend-mode: multiply;
928
940
  }
929
941
 
942
+ .Avatar-presence {
943
+ position: absolute;
944
+ border-radius: 50%;
945
+ width: var(--spacing);
946
+ height: var(--spacing);
947
+ right: 0;
948
+ bottom: 0;
949
+ }
950
+
951
+ .Avatar-presence--active {
952
+ background: var(--success);
953
+ }
954
+
955
+ .Avatar-presence--away {
956
+ background: var(--secondary-dark);
957
+ }
958
+
959
+ .Avatar-status {
960
+ top: calc(-1 * var(--spacing-s));
961
+ right: calc(-1 * var(--spacing-s));
962
+ width: var(--spacing-l);
963
+ height: var(--spacing-l);
964
+ border-radius: 50%;
965
+ display: flex;
966
+ align-items: center;
967
+ justify-content: center;
968
+ position: absolute;
969
+ cursor: pointer;
970
+ overflow: hidden;
971
+ }
972
+
930
973
  .AvatarGroup-item {
931
974
  border-radius: 50%;
932
975
  position: relative;
@@ -1511,16 +1554,6 @@ body {
1511
1554
  z-index: 1;
1512
1555
  }
1513
1556
 
1514
- .Button--tiny .Spinner--small {
1515
- height: var(--font-size-s);
1516
- width: var(--font-size-s);
1517
- }
1518
-
1519
- .Button--large .Spinner--small {
1520
- height: var(--font-size-l);
1521
- width: var(--font-size-l);
1522
- }
1523
-
1524
1557
  .Button--selected {
1525
1558
  background: var(--primary-lightest);
1526
1559
  color: var(--primary-dark);
@@ -3457,6 +3490,15 @@ body {
3457
3490
  padding: var(--spacing-2) var(--spacing-xl);
3458
3491
  }
3459
3492
 
3493
+ /** Grid **/
3494
+
3495
+ .Grid-wrapper {
3496
+ display: flex;
3497
+ position: relative;
3498
+ overflow: hidden;
3499
+ height: 100%;
3500
+ }
3501
+
3460
3502
  .Grid {
3461
3503
  display: flex;
3462
3504
  flex-direction: column;
@@ -3466,11 +3508,20 @@ body {
3466
3508
  background: var(--white);
3467
3509
  }
3468
3510
 
3469
- .Grid-wrapper {
3470
- display: flex;
3471
- position: relative;
3472
- overflow: hidden;
3473
- height: 100%;
3511
+ .Grid--resource .Grid-row--body:hover,
3512
+ .Grid--resource .Grid-row--body:hover .Grid-cellGroup {
3513
+ cursor: pointer;
3514
+ background: var(--secondary-lightest);
3515
+ }
3516
+
3517
+ .Grid--resource .Grid-row--body:active,
3518
+ .Grid--resource .Grid-row--body:active .Grid-cellGroup {
3519
+ background: var(--secondary-lighter);
3520
+ }
3521
+
3522
+ .Grid--resource .Grid-row--body:focus {
3523
+ box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
3524
+ outline: none;
3474
3525
  }
3475
3526
 
3476
3527
  .Grid--pinned {
@@ -3573,6 +3624,42 @@ body {
3573
3624
  border-bottom: var(--border);
3574
3625
  }
3575
3626
 
3627
+ .Grid-row {
3628
+ display: flex;
3629
+ flex-grow: 1;
3630
+ flex-shrink: 0;
3631
+ box-sizing: border-box;
3632
+ background: var(--white);
3633
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3634
+ transition-delay: var(--duration--fast-01);
3635
+ }
3636
+
3637
+ .Grid-row--body {
3638
+ border-color: var(--secondary-light);
3639
+ }
3640
+
3641
+ .Grid-row--selected,
3642
+ .Grid-row--selected .Grid-cellGroup {
3643
+ background: rgba(220, 236, 249, 0.48);
3644
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3645
+ }
3646
+
3647
+ .Grid-row--selected:hover,
3648
+ .Grid-row--selected .Grid-cellGroup:hover {
3649
+ background: rgba(151, 197, 240, 0.48) !important;
3650
+ }
3651
+
3652
+ .Grid-row--selected:active,
3653
+ .Grid-row--selected .Grid-cellGroup:active {
3654
+ background: var(--primary-lighter) !important;
3655
+ }
3656
+
3657
+ .Grid-row--selected:focus,
3658
+ .Grid-row--selected .Grid-cellGroup:focus {
3659
+ outline: none;
3660
+ box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
3661
+ }
3662
+
3576
3663
  .Grid-rowWrapper:last-child .Grid-row--body {
3577
3664
  border-bottom: 0;
3578
3665
  }
@@ -3644,6 +3731,15 @@ body {
3644
3731
  border-left: none;
3645
3732
  }
3646
3733
 
3734
+ /* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {
3735
+ border-right: var(--border);
3736
+ } */
3737
+
3738
+ .Grid-row--disabled {
3739
+ opacity: var(--opacity-10);
3740
+ pointer-events: none;
3741
+ }
3742
+
3647
3743
  .Grid-cell--head.Grid-cell--selected {
3648
3744
  background: var(--primary-light);
3649
3745
  }
@@ -3658,15 +3754,6 @@ body {
3658
3754
  overflow: visible !important;
3659
3755
  }
3660
3756
 
3661
- .Grid-cell--separator {
3662
- border-left: var(--border);
3663
- border-color: var(--secondary-light);
3664
- }
3665
-
3666
- .Grid-cell--selected {
3667
- background: var(--primary-lightest);
3668
- }
3669
-
3670
3757
  .Grid-sortingIcons {
3671
3758
  display: flex;
3672
3759
  align-items: center;
@@ -3728,6 +3815,7 @@ body {
3728
3815
  .Grid-cellGroup {
3729
3816
  display: flex;
3730
3817
  box-sizing: border-box;
3818
+ background: var(--white);
3731
3819
  }
3732
3820
 
3733
3821
  .Grid-cellGroup--pinned {
@@ -3737,10 +3825,48 @@ body {
3737
3825
 
3738
3826
  .Grid-cellGroup--pinned-left {
3739
3827
  left: 0;
3828
+ border-style: inset;
3829
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3830
+ border-right-width: 4px;
3831
+ -o-border-image: linear-gradient(
3832
+ to right,
3833
+ var(--secondary-light),
3834
+ var(--secondary-light) 25%,
3835
+ rgba(213, 213, 213, 0.1) 25%,
3836
+ rgba(213, 213, 213, 0.1)
3837
+ )
3838
+ 1 100%;
3839
+ border-image: linear-gradient(
3840
+ to right,
3841
+ var(--secondary-light),
3842
+ var(--secondary-light) 25%,
3843
+ rgba(213, 213, 213, 0.1) 25%,
3844
+ rgba(213, 213, 213, 0.1)
3845
+ )
3846
+ 1 100%;
3740
3847
  }
3741
3848
 
3742
3849
  .Grid-cellGroup--pinned-right {
3743
3850
  right: 0;
3851
+ border-style: inset;
3852
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3853
+ border-left-width: 4px;
3854
+ -o-border-image: linear-gradient(
3855
+ to left,
3856
+ var(--secondary-light),
3857
+ var(--secondary-light) 25%,
3858
+ rgba(213, 213, 213, 0.1) 25%,
3859
+ rgba(213, 213, 213, 0.1)
3860
+ )
3861
+ 1 100%;
3862
+ border-image: linear-gradient(
3863
+ to left,
3864
+ var(--secondary-light),
3865
+ var(--secondary-light) 25%,
3866
+ rgba(213, 213, 213, 0.1) 25%,
3867
+ rgba(213, 213, 213, 0.1)
3868
+ )
3869
+ 1 100%;
3744
3870
  }
3745
3871
 
3746
3872
  .Grid .Checkbox-wrapper {
@@ -3757,11 +3883,13 @@ body {
3757
3883
  }
3758
3884
 
3759
3885
  .GridCell--align-left {
3886
+ /* flex-direction: row; */
3760
3887
  justify-content: flex-start;
3761
3888
  text-align: left;
3762
3889
  }
3763
3890
 
3764
3891
  .GridCell--align-right {
3892
+ /* flex-direction: row-reverse; */
3765
3893
  justify-content: flex-end;
3766
3894
  text-align: right;
3767
3895
  }
@@ -3832,6 +3960,20 @@ body {
3832
3960
  margin-left: 0;
3833
3961
  }
3834
3962
 
3963
+ /* .GridCell-image {
3964
+ position: relative;
3965
+ display: flex;
3966
+ align-items: center;
3967
+ justify-content: center;
3968
+ margin-right: var(--spacing);
3969
+ }
3970
+
3971
+ .Image {
3972
+ z-index: 0;
3973
+ height: 100%;
3974
+ width: 100%;
3975
+ } */
3976
+
3835
3977
  /** Header **/
3836
3978
 
3837
3979
  /** Table-header **/
@@ -3899,188 +4041,6 @@ body {
3899
4041
  margin-bottom: var(--spacing-2);
3900
4042
  }
3901
4043
 
3902
- /* Grid row */
3903
-
3904
- .Grid-row--disabled {
3905
- opacity: var(--opacity-10);
3906
- pointer-events: none;
3907
- }
3908
-
3909
- .Grid-row {
3910
- display: flex;
3911
- flex-grow: 1;
3912
- flex-shrink: 0;
3913
- box-sizing: border-box;
3914
- background: var(--white);
3915
- }
3916
-
3917
- .Grid-row--body {
3918
- border-color: var(--secondary-light);
3919
- }
3920
-
3921
- .Grid--resource .Grid-row--body:hover {
3922
- cursor: pointer;
3923
- background: var(--secondary-lightest);
3924
- }
3925
-
3926
- .Grid--resource .Grid-row--body:active {
3927
- background: var(--secondary-lighter);
3928
- }
3929
-
3930
- .Grid--resource .Grid-row--body:focus {
3931
- box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
3932
- outline: none;
3933
- }
3934
-
3935
- /* Selected States */
3936
-
3937
- .Grid-row--selected {
3938
- background: rgba(220, 236, 249, 0.48);
3939
- }
3940
-
3941
- .Grid-row--selected:hover {
3942
- background: rgba(151, 197, 240, 0.48) !important;
3943
- }
3944
-
3945
- .Grid-row--selected:active {
3946
- background: var(--primary-lighter) !important;
3947
- }
3948
-
3949
- .Grid-row--selected:focus {
3950
- outline: none;
3951
- box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
3952
- }
3953
-
3954
- /* Pinned Columns Default State */
3955
-
3956
- .Grid--resource .Grid-row--body:hover .Grid-cellWrapper--pinned {
3957
- cursor: pointer;
3958
- background: var(--secondary-lightest);
3959
- }
3960
-
3961
- .Grid--resource .Grid-row--body:active .Grid-cellWrapper--pinned {
3962
- background: var(--secondary-lighter);
3963
- }
3964
-
3965
- .Grid--resource .Grid-row--body:focus .Grid-cellWrapper--pinned {
3966
- box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
3967
- outline: none;
3968
- }
3969
-
3970
- /* Pinned Columns Selected State */
3971
-
3972
- .Grid-row--selected .Grid-cellWrapper--pinned {
3973
- background: rgba(220, 236, 249, 0.48);
3974
- }
3975
-
3976
- .Grid-row--selected:hover .Grid-cellWrapper--pinned {
3977
- background: rgba(151, 197, 240, 0.48) !important;
3978
- }
3979
-
3980
- .Grid-row--selected:active .Grid-cellWrapper--pinned {
3981
- background: var(--primary-lighter) !important;
3982
- }
3983
-
3984
- .Grid-row--selected:focus .Grid-cellWrapper--pinned {
3985
- outline: none;
3986
- box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
3987
- }
3988
-
3989
- /* Grid header */
3990
- .Grid-row--head .Grid-cellGroup--pinned {
3991
- background: var(--white);
3992
- }
3993
-
3994
- .Grid-row--head .Grid-cellGroup--pinned-left {
3995
- border-style: inset;
3996
- border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3997
- border-right-width: 4px;
3998
- -o-border-image: linear-gradient(
3999
- to right,
4000
- var(--secondary-light),
4001
- var(--secondary-light) 25%,
4002
- rgba(213, 213, 213, 0.1) 25%,
4003
- rgba(213, 213, 213, 0.1)
4004
- )
4005
- 1 100%;
4006
- border-image: linear-gradient(
4007
- to right,
4008
- var(--secondary-light),
4009
- var(--secondary-light) 25%,
4010
- rgba(213, 213, 213, 0.1) 25%,
4011
- rgba(213, 213, 213, 0.1)
4012
- )
4013
- 1 100%;
4014
- }
4015
-
4016
- .Grid-row--head .Grid-cellGroup--pinned-right {
4017
- border-style: inset;
4018
- border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
4019
- border-left-width: 4px;
4020
- -o-border-image: linear-gradient(
4021
- to left,
4022
- var(--secondary-light),
4023
- var(--secondary-light) 25%,
4024
- rgba(213, 213, 213, 0.1) 25%,
4025
- rgba(213, 213, 213, 0.1)
4026
- )
4027
- 1 100%;
4028
- border-image: linear-gradient(
4029
- to left,
4030
- var(--secondary-light),
4031
- var(--secondary-light) 25%,
4032
- rgba(213, 213, 213, 0.1) 25%,
4033
- rgba(213, 213, 213, 0.1)
4034
- )
4035
- 1 100%;
4036
- }
4037
-
4038
- /* Pinned Column Border */
4039
-
4040
- .Grid-cellWrapper--pinned-left {
4041
- border-style: inset;
4042
- border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
4043
- border-right-width: 4px;
4044
- -o-border-image: linear-gradient(
4045
- to right,
4046
- var(--secondary-light),
4047
- var(--secondary-light) 25%,
4048
- rgba(213, 213, 213, 0.1) 25%,
4049
- rgba(213, 213, 213, 0.1)
4050
- )
4051
- 1 100%;
4052
- border-image: linear-gradient(
4053
- to right,
4054
- var(--secondary-light),
4055
- var(--secondary-light) 25%,
4056
- rgba(213, 213, 213, 0.1) 25%,
4057
- rgba(213, 213, 213, 0.1)
4058
- )
4059
- 1 100%;
4060
- }
4061
-
4062
- .Grid-cellWrapper--pinned-right {
4063
- border-style: inset;
4064
- border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
4065
- border-left-width: 4px;
4066
- -o-border-image: linear-gradient(
4067
- to left,
4068
- var(--secondary-light),
4069
- var(--secondary-light) 25%,
4070
- rgba(213, 213, 213, 0.1) 25%,
4071
- rgba(213, 213, 213, 0.1)
4072
- )
4073
- 1 100%;
4074
- border-image: linear-gradient(
4075
- to left,
4076
- var(--secondary-light),
4077
- var(--secondary-light) 25%,
4078
- rgba(213, 213, 213, 0.1) 25%,
4079
- rgba(213, 213, 213, 0.1)
4080
- )
4081
- 1 100%;
4082
- }
4083
-
4084
4044
  .HorizontalNav {
4085
4045
  display: flex;
4086
4046
  }
@@ -5769,14 +5729,19 @@ body {
5769
5729
  transform: rotate(-90deg);
5770
5730
  }
5771
5731
 
5732
+ .Ring--small {
5733
+ height: var(--spacing-2);
5734
+ width: var(--spacing-2);
5735
+ }
5736
+
5772
5737
  .Ring--regular {
5773
5738
  height: var(--spacing-3);
5774
5739
  width: var(--spacing-3);
5775
5740
  }
5776
5741
 
5777
- .Ring--small {
5778
- height: var(--spacing-2);
5779
- width: var(--spacing-2);
5742
+ .Ring--large {
5743
+ height: var(--spacing-4);
5744
+ width: var(--spacing-4);
5780
5745
  }
5781
5746
 
5782
5747
  .Ring Circle {
@@ -6505,6 +6470,11 @@ body {
6505
6470
  animation: rotate 2s linear infinite;
6506
6471
  }
6507
6472
 
6473
+ .Spinner--xsmall {
6474
+ height: var(--spacing-l);
6475
+ width: var(--spacing-l);
6476
+ }
6477
+
6508
6478
  .Spinner--small {
6509
6479
  height: var(--spacing-2);
6510
6480
  width: var(--spacing-2);
@@ -6532,11 +6502,11 @@ body {
6532
6502
  }
6533
6503
 
6534
6504
  .Circle--secondary {
6535
- stroke: var(--primary);
6505
+ stroke: var(--secondary-dark);
6536
6506
  }
6537
6507
 
6538
6508
  .Circle--white {
6539
- stroke: var(--primary);
6509
+ stroke: var(--white);
6540
6510
  }
6541
6511
 
6542
6512
  .StatusHint {
@@ -6572,7 +6542,7 @@ body {
6572
6542
  }
6573
6543
 
6574
6544
  .StatusHint--default {
6575
- background: var(--secondary);
6545
+ background: var(--secondary-light);
6576
6546
  }
6577
6547
 
6578
6548
  .Stepper {