@innovaccer/design-system 3.3.0 → 3.4.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,57 @@
1
+ ## 3.4.0 (2024-11-18)
2
+
3
+ ### Highlights
4
+
5
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
6
+ - feat(progressRing): add large size support in progress ring component (2da8320b)
7
+ - feat(spinner): add extra small size for spinner (16ab49ff)
8
+ - feat(scrollbar): update scrollbar state (ca53ef74)
9
+ - feat(spinner): add secondary and white appearances (c1730ed5)
10
+ - feat(spinner): update figma code connect for extra small size of spinner (e4bdbb0f)
11
+
12
+ ### Breaking changes
13
+
14
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
15
+ - feat(scrollbar): update scrollbar state (ca53ef74)
16
+ - Revert "fix(table): fix selection state of resource table" (fc4f1739)
17
+
18
+ ### Migration guide
19
+
20
+ NA
21
+
22
+ ### Deprecations
23
+
24
+ NA
25
+
26
+ ### Features
27
+
28
+ - feat(progressBar): update small size from 2px to 4px (c5ed8a80)
29
+ - feat(progressRing): add large size support in progress ring component (2da8320b)
30
+ - feat(spinner): add extra small size for spinner (16ab49ff)
31
+ - feat(scrollbar): update scrollbar state (ca53ef74)
32
+ - feat(spinner): add secondary and white appearances (c1730ed5)
33
+ - feat(spinner): update figma code connect for extra small size of spinner (e4bdbb0f)
34
+
35
+ ### Fixes
36
+
37
+ - fix(docs): update active state for leftnav menu item (c07b00a3)
38
+ - fix(docs): synchronize active tab state with URL to prevent mismatch after navigation (c5bd00d8)
39
+ - Revert "fix(table): fix selection state of resource table" (fc4f1739)
40
+
41
+ ### Improvements
42
+
43
+ - fix(modal): update story of Modal component and replace Dropdown with Select component (60c93bb8)
44
+ - fix(Table): update stories of Resource table component and replace Dropdown with Menu component (95775d34)
45
+ - fix(HorizontalNav): update stories of HorizontalNav component and replace Dropdown with Select component (e6b9cfb8)
46
+ - fix(pageheader): replace dropdown with Menu component in Pageheader stories (dad8ae1d)
47
+ - chore: remove jira automation workflow for github issues (6b5ebb8e)
48
+
49
+ ### Documentation
50
+
51
+ - docs(docs): update progress indicator documentation (2788f9d5)
52
+
53
+ ---
54
+
1
55
  ## 3.3.0 (2024-11-04)
2
56
 
3
57
  ### 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 {
@@ -1511,16 +1523,6 @@ body {
1511
1523
  z-index: 1;
1512
1524
  }
1513
1525
 
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
1526
  .Button--selected {
1525
1527
  background: var(--primary-lightest);
1526
1528
  color: var(--primary-dark);
@@ -3457,6 +3459,15 @@ body {
3457
3459
  padding: var(--spacing-2) var(--spacing-xl);
3458
3460
  }
3459
3461
 
3462
+ /** Grid **/
3463
+
3464
+ .Grid-wrapper {
3465
+ display: flex;
3466
+ position: relative;
3467
+ overflow: hidden;
3468
+ height: 100%;
3469
+ }
3470
+
3460
3471
  .Grid {
3461
3472
  display: flex;
3462
3473
  flex-direction: column;
@@ -3466,11 +3477,20 @@ body {
3466
3477
  background: var(--white);
3467
3478
  }
3468
3479
 
3469
- .Grid-wrapper {
3470
- display: flex;
3471
- position: relative;
3472
- overflow: hidden;
3473
- height: 100%;
3480
+ .Grid--resource .Grid-row--body:hover,
3481
+ .Grid--resource .Grid-row--body:hover .Grid-cellGroup {
3482
+ cursor: pointer;
3483
+ background: var(--secondary-lightest);
3484
+ }
3485
+
3486
+ .Grid--resource .Grid-row--body:active,
3487
+ .Grid--resource .Grid-row--body:active .Grid-cellGroup {
3488
+ background: var(--secondary-lighter);
3489
+ }
3490
+
3491
+ .Grid--resource .Grid-row--body:focus {
3492
+ box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
3493
+ outline: none;
3474
3494
  }
3475
3495
 
3476
3496
  .Grid--pinned {
@@ -3573,6 +3593,42 @@ body {
3573
3593
  border-bottom: var(--border);
3574
3594
  }
3575
3595
 
3596
+ .Grid-row {
3597
+ display: flex;
3598
+ flex-grow: 1;
3599
+ flex-shrink: 0;
3600
+ box-sizing: border-box;
3601
+ background: var(--white);
3602
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3603
+ transition-delay: var(--duration--fast-01);
3604
+ }
3605
+
3606
+ .Grid-row--body {
3607
+ border-color: var(--secondary-light);
3608
+ }
3609
+
3610
+ .Grid-row--selected,
3611
+ .Grid-row--selected .Grid-cellGroup {
3612
+ background: rgba(220, 236, 249, 0.48);
3613
+ transition: var(--duration--fast-02) var(--standard-productive-curve);
3614
+ }
3615
+
3616
+ .Grid-row--selected:hover,
3617
+ .Grid-row--selected .Grid-cellGroup:hover {
3618
+ background: rgba(151, 197, 240, 0.48) !important;
3619
+ }
3620
+
3621
+ .Grid-row--selected:active,
3622
+ .Grid-row--selected .Grid-cellGroup:active {
3623
+ background: var(--primary-lighter) !important;
3624
+ }
3625
+
3626
+ .Grid-row--selected:focus,
3627
+ .Grid-row--selected .Grid-cellGroup:focus {
3628
+ outline: none;
3629
+ box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
3630
+ }
3631
+
3576
3632
  .Grid-rowWrapper:last-child .Grid-row--body {
3577
3633
  border-bottom: 0;
3578
3634
  }
@@ -3644,6 +3700,15 @@ body {
3644
3700
  border-left: none;
3645
3701
  }
3646
3702
 
3703
+ /* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {
3704
+ border-right: var(--border);
3705
+ } */
3706
+
3707
+ .Grid-row--disabled {
3708
+ opacity: var(--opacity-10);
3709
+ pointer-events: none;
3710
+ }
3711
+
3647
3712
  .Grid-cell--head.Grid-cell--selected {
3648
3713
  background: var(--primary-light);
3649
3714
  }
@@ -3658,15 +3723,6 @@ body {
3658
3723
  overflow: visible !important;
3659
3724
  }
3660
3725
 
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
3726
  .Grid-sortingIcons {
3671
3727
  display: flex;
3672
3728
  align-items: center;
@@ -3728,6 +3784,7 @@ body {
3728
3784
  .Grid-cellGroup {
3729
3785
  display: flex;
3730
3786
  box-sizing: border-box;
3787
+ background: var(--white);
3731
3788
  }
3732
3789
 
3733
3790
  .Grid-cellGroup--pinned {
@@ -3737,10 +3794,48 @@ body {
3737
3794
 
3738
3795
  .Grid-cellGroup--pinned-left {
3739
3796
  left: 0;
3797
+ border-style: inset;
3798
+ border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3799
+ border-right-width: 4px;
3800
+ -o-border-image: linear-gradient(
3801
+ to right,
3802
+ var(--secondary-light),
3803
+ var(--secondary-light) 25%,
3804
+ rgba(213, 213, 213, 0.1) 25%,
3805
+ rgba(213, 213, 213, 0.1)
3806
+ )
3807
+ 1 100%;
3808
+ border-image: linear-gradient(
3809
+ to right,
3810
+ var(--secondary-light),
3811
+ var(--secondary-light) 25%,
3812
+ rgba(213, 213, 213, 0.1) 25%,
3813
+ rgba(213, 213, 213, 0.1)
3814
+ )
3815
+ 1 100%;
3740
3816
  }
3741
3817
 
3742
3818
  .Grid-cellGroup--pinned-right {
3743
3819
  right: 0;
3820
+ border-style: inset;
3821
+ border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
3822
+ border-left-width: 4px;
3823
+ -o-border-image: linear-gradient(
3824
+ to left,
3825
+ var(--secondary-light),
3826
+ var(--secondary-light) 25%,
3827
+ rgba(213, 213, 213, 0.1) 25%,
3828
+ rgba(213, 213, 213, 0.1)
3829
+ )
3830
+ 1 100%;
3831
+ border-image: linear-gradient(
3832
+ to left,
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%;
3744
3839
  }
3745
3840
 
3746
3841
  .Grid .Checkbox-wrapper {
@@ -3757,11 +3852,13 @@ body {
3757
3852
  }
3758
3853
 
3759
3854
  .GridCell--align-left {
3855
+ /* flex-direction: row; */
3760
3856
  justify-content: flex-start;
3761
3857
  text-align: left;
3762
3858
  }
3763
3859
 
3764
3860
  .GridCell--align-right {
3861
+ /* flex-direction: row-reverse; */
3765
3862
  justify-content: flex-end;
3766
3863
  text-align: right;
3767
3864
  }
@@ -3832,6 +3929,20 @@ body {
3832
3929
  margin-left: 0;
3833
3930
  }
3834
3931
 
3932
+ /* .GridCell-image {
3933
+ position: relative;
3934
+ display: flex;
3935
+ align-items: center;
3936
+ justify-content: center;
3937
+ margin-right: var(--spacing);
3938
+ }
3939
+
3940
+ .Image {
3941
+ z-index: 0;
3942
+ height: 100%;
3943
+ width: 100%;
3944
+ } */
3945
+
3835
3946
  /** Header **/
3836
3947
 
3837
3948
  /** Table-header **/
@@ -3899,188 +4010,6 @@ body {
3899
4010
  margin-bottom: var(--spacing-2);
3900
4011
  }
3901
4012
 
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
4013
  .HorizontalNav {
4085
4014
  display: flex;
4086
4015
  }
@@ -5769,14 +5698,19 @@ body {
5769
5698
  transform: rotate(-90deg);
5770
5699
  }
5771
5700
 
5701
+ .Ring--small {
5702
+ height: var(--spacing-2);
5703
+ width: var(--spacing-2);
5704
+ }
5705
+
5772
5706
  .Ring--regular {
5773
5707
  height: var(--spacing-3);
5774
5708
  width: var(--spacing-3);
5775
5709
  }
5776
5710
 
5777
- .Ring--small {
5778
- height: var(--spacing-2);
5779
- width: var(--spacing-2);
5711
+ .Ring--large {
5712
+ height: var(--spacing-4);
5713
+ width: var(--spacing-4);
5780
5714
  }
5781
5715
 
5782
5716
  .Ring Circle {
@@ -6505,6 +6439,11 @@ body {
6505
6439
  animation: rotate 2s linear infinite;
6506
6440
  }
6507
6441
 
6442
+ .Spinner--xsmall {
6443
+ height: var(--spacing-l);
6444
+ width: var(--spacing-l);
6445
+ }
6446
+
6508
6447
  .Spinner--small {
6509
6448
  height: var(--spacing-2);
6510
6449
  width: var(--spacing-2);
@@ -6532,11 +6471,11 @@ body {
6532
6471
  }
6533
6472
 
6534
6473
  .Circle--secondary {
6535
- stroke: var(--primary);
6474
+ stroke: var(--secondary-dark);
6536
6475
  }
6537
6476
 
6538
6477
  .Circle--white {
6539
- stroke: var(--primary);
6478
+ stroke: var(--white);
6540
6479
  }
6541
6480
 
6542
6481
  .StatusHint {