@innovaccer/design-system 3.2.0 → 3.3.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 +38 -0
- package/css/dist/index.css +196 -123
- package/css/dist/index.css.map +1 -1
- package/css/src/components/grid.css +164 -107
- package/dist/.lib/tsconfig.type.tsbuildinfo +1 -1
- package/dist/index.esm.js +11 -6
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
## 3.3.0 (2024-11-04)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- fix(table): fix selection state of resource table (9e9fb824)
|
|
6
|
+
- fix(docs): remove js-beautify dependency (8e6cbac0)
|
|
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(table): fix selection state of resource table (9e9fb824)
|
|
27
|
+
- fix(docs): remove js-beautify dependency (8e6cbac0)
|
|
28
|
+
|
|
29
|
+
### Improvements
|
|
30
|
+
|
|
31
|
+
NA
|
|
32
|
+
|
|
33
|
+
### Documentation
|
|
34
|
+
|
|
35
|
+
NA
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
1
39
|
## 3.2.0 (2024-10-17)
|
|
2
40
|
|
|
3
41
|
### Highlights
|
package/css/dist/index.css
CHANGED
|
@@ -3457,15 +3457,6 @@ body {
|
|
|
3457
3457
|
padding: var(--spacing-2) var(--spacing-xl);
|
|
3458
3458
|
}
|
|
3459
3459
|
|
|
3460
|
-
/** Grid **/
|
|
3461
|
-
|
|
3462
|
-
.Grid-wrapper {
|
|
3463
|
-
display: flex;
|
|
3464
|
-
position: relative;
|
|
3465
|
-
overflow: hidden;
|
|
3466
|
-
height: 100%;
|
|
3467
|
-
}
|
|
3468
|
-
|
|
3469
3460
|
.Grid {
|
|
3470
3461
|
display: flex;
|
|
3471
3462
|
flex-direction: column;
|
|
@@ -3475,20 +3466,11 @@ body {
|
|
|
3475
3466
|
background: var(--white);
|
|
3476
3467
|
}
|
|
3477
3468
|
|
|
3478
|
-
.Grid
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
.Grid--resource .Grid-row--body:active,
|
|
3485
|
-
.Grid--resource .Grid-row--body:active .Grid-cellGroup {
|
|
3486
|
-
background: var(--secondary-lighter);
|
|
3487
|
-
}
|
|
3488
|
-
|
|
3489
|
-
.Grid--resource .Grid-row--body:focus {
|
|
3490
|
-
box-shadow: var(--shadow-spread) rgba(213, 213, 213, 0.16);
|
|
3491
|
-
outline: none;
|
|
3469
|
+
.Grid-wrapper {
|
|
3470
|
+
display: flex;
|
|
3471
|
+
position: relative;
|
|
3472
|
+
overflow: hidden;
|
|
3473
|
+
height: 100%;
|
|
3492
3474
|
}
|
|
3493
3475
|
|
|
3494
3476
|
.Grid--pinned {
|
|
@@ -3591,42 +3573,6 @@ body {
|
|
|
3591
3573
|
border-bottom: var(--border);
|
|
3592
3574
|
}
|
|
3593
3575
|
|
|
3594
|
-
.Grid-row {
|
|
3595
|
-
display: flex;
|
|
3596
|
-
flex-grow: 1;
|
|
3597
|
-
flex-shrink: 0;
|
|
3598
|
-
box-sizing: border-box;
|
|
3599
|
-
background: var(--white);
|
|
3600
|
-
transition: var(--duration--fast-02) var(--standard-productive-curve);
|
|
3601
|
-
transition-delay: var(--duration--fast-01);
|
|
3602
|
-
}
|
|
3603
|
-
|
|
3604
|
-
.Grid-row--body {
|
|
3605
|
-
border-color: var(--secondary-light);
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
.Grid-row--selected,
|
|
3609
|
-
.Grid-row--selected .Grid-cellGroup {
|
|
3610
|
-
background: rgba(220, 236, 249, 0.48);
|
|
3611
|
-
transition: var(--duration--fast-02) var(--standard-productive-curve);
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
.Grid-row--selected:hover,
|
|
3615
|
-
.Grid-row--selected .Grid-cellGroup:hover {
|
|
3616
|
-
background: rgba(151, 197, 240, 0.48) !important;
|
|
3617
|
-
}
|
|
3618
|
-
|
|
3619
|
-
.Grid-row--selected:active,
|
|
3620
|
-
.Grid-row--selected .Grid-cellGroup:active {
|
|
3621
|
-
background: var(--primary-lighter) !important;
|
|
3622
|
-
}
|
|
3623
|
-
|
|
3624
|
-
.Grid-row--selected:focus,
|
|
3625
|
-
.Grid-row--selected .Grid-cellGroup:focus {
|
|
3626
|
-
outline: none;
|
|
3627
|
-
box-shadow: var(--shadow-spread) rgba(0, 112, 221, 0.16);
|
|
3628
|
-
}
|
|
3629
|
-
|
|
3630
3576
|
.Grid-rowWrapper:last-child .Grid-row--body {
|
|
3631
3577
|
border-bottom: 0;
|
|
3632
3578
|
}
|
|
@@ -3698,15 +3644,6 @@ body {
|
|
|
3698
3644
|
border-left: none;
|
|
3699
3645
|
}
|
|
3700
3646
|
|
|
3701
|
-
/* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {
|
|
3702
|
-
border-right: var(--border);
|
|
3703
|
-
} */
|
|
3704
|
-
|
|
3705
|
-
.Grid-row--disabled {
|
|
3706
|
-
opacity: var(--opacity-10);
|
|
3707
|
-
pointer-events: none;
|
|
3708
|
-
}
|
|
3709
|
-
|
|
3710
3647
|
.Grid-cell--head.Grid-cell--selected {
|
|
3711
3648
|
background: var(--primary-light);
|
|
3712
3649
|
}
|
|
@@ -3721,6 +3658,15 @@ body {
|
|
|
3721
3658
|
overflow: visible !important;
|
|
3722
3659
|
}
|
|
3723
3660
|
|
|
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
|
+
|
|
3724
3670
|
.Grid-sortingIcons {
|
|
3725
3671
|
display: flex;
|
|
3726
3672
|
align-items: center;
|
|
@@ -3782,7 +3728,6 @@ body {
|
|
|
3782
3728
|
.Grid-cellGroup {
|
|
3783
3729
|
display: flex;
|
|
3784
3730
|
box-sizing: border-box;
|
|
3785
|
-
background: var(--white);
|
|
3786
3731
|
}
|
|
3787
3732
|
|
|
3788
3733
|
.Grid-cellGroup--pinned {
|
|
@@ -3792,48 +3737,10 @@ body {
|
|
|
3792
3737
|
|
|
3793
3738
|
.Grid-cellGroup--pinned-left {
|
|
3794
3739
|
left: 0;
|
|
3795
|
-
border-style: inset;
|
|
3796
|
-
border-right: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
3797
|
-
border-right-width: 4px;
|
|
3798
|
-
-o-border-image: linear-gradient(
|
|
3799
|
-
to right,
|
|
3800
|
-
var(--secondary-light),
|
|
3801
|
-
var(--secondary-light) 25%,
|
|
3802
|
-
rgba(213, 213, 213, 0.1) 25%,
|
|
3803
|
-
rgba(213, 213, 213, 0.1)
|
|
3804
|
-
)
|
|
3805
|
-
1 100%;
|
|
3806
|
-
border-image: linear-gradient(
|
|
3807
|
-
to right,
|
|
3808
|
-
var(--secondary-light),
|
|
3809
|
-
var(--secondary-light) 25%,
|
|
3810
|
-
rgba(213, 213, 213, 0.1) 25%,
|
|
3811
|
-
rgba(213, 213, 213, 0.1)
|
|
3812
|
-
)
|
|
3813
|
-
1 100%;
|
|
3814
3740
|
}
|
|
3815
3741
|
|
|
3816
3742
|
.Grid-cellGroup--pinned-right {
|
|
3817
3743
|
right: 0;
|
|
3818
|
-
border-style: inset;
|
|
3819
|
-
border-left: var(--spacing-xs) solid rgba(213, 213, 213, var(--opacity-3));
|
|
3820
|
-
border-left-width: 4px;
|
|
3821
|
-
-o-border-image: linear-gradient(
|
|
3822
|
-
to left,
|
|
3823
|
-
var(--secondary-light),
|
|
3824
|
-
var(--secondary-light) 25%,
|
|
3825
|
-
rgba(213, 213, 213, 0.1) 25%,
|
|
3826
|
-
rgba(213, 213, 213, 0.1)
|
|
3827
|
-
)
|
|
3828
|
-
1 100%;
|
|
3829
|
-
border-image: linear-gradient(
|
|
3830
|
-
to left,
|
|
3831
|
-
var(--secondary-light),
|
|
3832
|
-
var(--secondary-light) 25%,
|
|
3833
|
-
rgba(213, 213, 213, 0.1) 25%,
|
|
3834
|
-
rgba(213, 213, 213, 0.1)
|
|
3835
|
-
)
|
|
3836
|
-
1 100%;
|
|
3837
3744
|
}
|
|
3838
3745
|
|
|
3839
3746
|
.Grid .Checkbox-wrapper {
|
|
@@ -3850,13 +3757,11 @@ body {
|
|
|
3850
3757
|
}
|
|
3851
3758
|
|
|
3852
3759
|
.GridCell--align-left {
|
|
3853
|
-
/* flex-direction: row; */
|
|
3854
3760
|
justify-content: flex-start;
|
|
3855
3761
|
text-align: left;
|
|
3856
3762
|
}
|
|
3857
3763
|
|
|
3858
3764
|
.GridCell--align-right {
|
|
3859
|
-
/* flex-direction: row-reverse; */
|
|
3860
3765
|
justify-content: flex-end;
|
|
3861
3766
|
text-align: right;
|
|
3862
3767
|
}
|
|
@@ -3927,20 +3832,6 @@ body {
|
|
|
3927
3832
|
margin-left: 0;
|
|
3928
3833
|
}
|
|
3929
3834
|
|
|
3930
|
-
/* .GridCell-image {
|
|
3931
|
-
position: relative;
|
|
3932
|
-
display: flex;
|
|
3933
|
-
align-items: center;
|
|
3934
|
-
justify-content: center;
|
|
3935
|
-
margin-right: var(--spacing);
|
|
3936
|
-
}
|
|
3937
|
-
|
|
3938
|
-
.Image {
|
|
3939
|
-
z-index: 0;
|
|
3940
|
-
height: 100%;
|
|
3941
|
-
width: 100%;
|
|
3942
|
-
} */
|
|
3943
|
-
|
|
3944
3835
|
/** Header **/
|
|
3945
3836
|
|
|
3946
3837
|
/** Table-header **/
|
|
@@ -4008,6 +3899,188 @@ body {
|
|
|
4008
3899
|
margin-bottom: var(--spacing-2);
|
|
4009
3900
|
}
|
|
4010
3901
|
|
|
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
|
+
|
|
4011
4084
|
.HorizontalNav {
|
|
4012
4085
|
display: flex;
|
|
4013
4086
|
}
|