@innovaccer/design-system 2.14.1-0 → 2.14.1

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,45 @@
1
+ ## 2.14.1-1 (2023-01-22)
2
+
3
+ ### Highlights
4
+
5
+ NA
6
+
7
+ ### Breaking changes
8
+
9
+ NA
10
+
11
+ ### Migration guide
12
+
13
+ NA
14
+
15
+ ### Deprecations
16
+
17
+ NA
18
+
19
+ ### Features
20
+
21
+ - feat(input): add states of custom icon button in input (4a495e69)
22
+ - feat(chip): add states of custom icon button in chip (91618a30)
23
+ - feat(tabs): add states of custom icon button in tabs (d9c9f1d7)
24
+
25
+ ### Fixes
26
+
27
+ - fix(dateRangePicker): add support for same start date and end date selection (9b4c3d3b)
28
+ - fix(verticalNav): fix overlap of scrollbar on verticalNav (0e7a64f2)
29
+ - fix(collapsible): update width for collapsible component (1c34ba4d)
30
+
31
+ ### Improvements
32
+
33
+ - fix(verticalNav): update state of selected nav item (8096a27e)
34
+ - fix(chip): update states for chip component (ed42215b)
35
+ - fix(slider): update slider states (19ba41c1)
36
+
37
+ ### Documentation
38
+
39
+ - docs(slider): update images for slider (d03f8980)
40
+
41
+ ---
42
+
1
43
  ## 2.14.1-0 (2023-01-18)
2
44
 
3
45
  ### Highlights
@@ -1963,17 +1963,17 @@ body {
1963
1963
  margin-left: var(--spacing-m);
1964
1964
  display: flex;
1965
1965
  align-items: center;
1966
+ border-radius: 10px;
1966
1967
  }
1967
1968
 
1968
1969
  .Chip--action {
1969
- background: var(--white);
1970
- border: var(--border);
1970
+ background: var(--secondary-light);
1971
+ border: 0px;
1971
1972
  cursor: pointer;
1972
1973
  }
1973
1974
 
1974
1975
  .Chip--action:hover {
1975
- background: var(--secondary-light);
1976
- border-color: var(--secondary-dark);
1976
+ background: var(--secondary);
1977
1977
  }
1978
1978
 
1979
1979
  .Chip--action:focus-visible {
@@ -1983,12 +1983,12 @@ body {
1983
1983
 
1984
1984
  .Chip--action:active {
1985
1985
  background: var(--secondary-dark);
1986
- border-color: var(--inverse-lightest);
1987
1986
  }
1988
1987
 
1989
1988
  .Chip-action--disabled {
1990
- background: var(--secondary-lightest);
1991
- border: var(--border);
1989
+ background: var(--secondary-lighter);
1990
+ border: 0px;
1991
+ outline: none;
1992
1992
  cursor: default;
1993
1993
  }
1994
1994
 
@@ -2038,6 +2038,11 @@ body {
2038
2038
  border-color: var(--primary-dark);
2039
2039
  }
2040
2040
 
2041
+ .Chip-selection--selected:active .Chip-icon,
2042
+ .Chip-selection--selected:active .Chip-text {
2043
+ color: var(--primary-darker);
2044
+ }
2045
+
2041
2046
  .Chip-selection--selectedDisabled {
2042
2047
  background: var(--primary-lightest);
2043
2048
  border-color: var(--primary-lighter);
@@ -2065,15 +2070,38 @@ body {
2065
2070
 
2066
2071
  .Chip-icon--right:focus-visible {
2067
2072
  outline: var(--spacing-s) solid var(--secondary-shadow);
2073
+ }
2074
+
2075
+ .Chip-icon--right:hover {
2076
+ background-color: var(--secondary);
2077
+ }
2078
+
2079
+ .Chip-icon--right:active {
2080
+ background-color: var(--secondary-dark);
2081
+ }
2082
+
2083
+ .Chip-icon-disabled--right {
2084
+ pointer-events: none;
2085
+ }
2086
+
2087
+ .Chip-icon--selected {
2068
2088
  border-radius: 10px;
2069
2089
  }
2070
2090
 
2071
2091
  .Chip-icon--selected:focus-visible {
2072
2092
  outline: var(--spacing-s) solid var(--primary-shadow);
2073
- border-radius: 10px;
2093
+ }
2094
+
2095
+ .Chip-icon--selected:hover {
2096
+ background-color: var(--primary-lighter);
2097
+ }
2098
+
2099
+ .Chip-icon--selected:active {
2100
+ background-color: var(--primary-light);
2074
2101
  }
2075
2102
 
2076
2103
  .Chip-selection--disabled:focus-visible,
2104
+ .Chip-icon-disabled--right:focus-visible,
2077
2105
  .Chip-selection--selectedDisabled:focus-visible,
2078
2106
  .Chip-input--disabled:focus-visible {
2079
2107
  outline: none;
@@ -2189,7 +2217,7 @@ body {
2189
2217
  display: inline-flex;
2190
2218
  flex-direction: column;
2191
2219
  background-color: var(--secondary-lightest);
2192
- width: 40px;
2220
+ width: var(--spacing-4);
2193
2221
  height: 100%;
2194
2222
  transition: width 240ms;
2195
2223
  transition-timing-function: cubic-bezier(0.4, 0.14, 0.3, 1);
@@ -2202,6 +2230,7 @@ body {
2202
2230
  .Collapsible-body {
2203
2231
  flex-grow: 1;
2204
2232
  overflow-y: auto;
2233
+ overflow-x: hidden;
2205
2234
  }
2206
2235
 
2207
2236
  .Collapsible-footer {
@@ -3989,16 +4018,37 @@ body {
3989
4018
  color: var(--inverse-lighter);
3990
4019
  }
3991
4020
 
3992
- .Input-icon--right .Icon {
4021
+ .Input-icon--right {
3993
4022
  cursor: pointer;
3994
- margin-left: var(--spacing);
3995
4023
  color: var(--inverse-lighter);
4024
+ border-radius: 10px;
4025
+ }
4026
+
4027
+ .Input-iconWrapper--right:focus-visible .Input-icon--right {
4028
+ outline: var(--spacing-s) solid var(--secondary-shadow);
4029
+ }
4030
+
4031
+ .Input-icon--right:focus-visible {
4032
+ outline: var(--spacing-s) solid var(--secondary-shadow);
4033
+ border-radius: 10px;
4034
+ }
4035
+
4036
+ .Input-iconWrapper--right:hover .Input-icon--right {
4037
+ background-color: var(--secondary);
4038
+ }
4039
+
4040
+ .Input-iconWrapper--right:active .Input-icon--right {
4041
+ background-color: var(--secondary-dark);
3996
4042
  }
3997
4043
 
3998
4044
  .Input-inlineLabel {
3999
4045
  margin-right: var(--spacing);
4000
4046
  }
4001
4047
 
4048
+ .Input-iconWrapper--right:focus-visible {
4049
+ outline: none;
4050
+ }
4051
+
4002
4052
  .Link {
4003
4053
  text-decoration: none;
4004
4054
  font-weight: var(--font-weight-medium);
@@ -5459,6 +5509,7 @@ body {
5459
5509
  top: 0;
5460
5510
  border-radius: 50%;
5461
5511
  background-color: var(--white);
5512
+ border: var(--spacing-s) solid var(--primary);
5462
5513
  box-shadow: var(--shadow-s);
5463
5514
  cursor: pointer;
5464
5515
  box-sizing: border-box;
@@ -5469,18 +5520,25 @@ body {
5469
5520
  }
5470
5521
 
5471
5522
  .Slider-handle:hover {
5472
- background-color: var(--secondary-lightest);
5473
- border: var(--border);
5523
+ background-color: var(--primary-lightest);
5474
5524
  }
5475
5525
 
5476
- .Slider-handle:focus,
5477
5526
  .Slider-handle:active {
5478
- border: var(--spacing-s) solid var(--primary);
5527
+ background-color: var(--primary);
5528
+ }
5529
+
5530
+ .Slider-handle:focus {
5531
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
5532
+ outline: none;
5479
5533
  }
5480
5534
 
5481
5535
  .Slider-handle--disabled {
5482
5536
  pointer-events: none;
5483
- background-color: var(--secondary-light);
5537
+ background-color: var(--secondary-lighter);
5538
+ box-shadow: none;
5539
+ }
5540
+
5541
+ .Slider-handle--disabled:focus {
5484
5542
  box-shadow: none;
5485
5543
  }
5486
5544
 
@@ -5910,8 +5968,34 @@ body {
5910
5968
  }
5911
5969
 
5912
5970
  .DismissibleTab-icon--right {
5913
- padding-left: var(--spacing-m);
5914
- padding-top: var(--spacing-s);
5971
+ padding: var(--spacing-s);
5972
+ margin-left: var(--spacing-s);
5973
+ outline: none;
5974
+ border-radius: 10px;
5975
+ }
5976
+
5977
+ .DismissibleTab-icon--default:focus-visible {
5978
+ outline: var(--spacing-s) solid var(--secondary-shadow);
5979
+ }
5980
+
5981
+ .DismissibleTab-icon--default:hover {
5982
+ background-color: var(--secondary);
5983
+ }
5984
+
5985
+ .DismissibleTab-icon--default:active {
5986
+ background-color: var(--secondary-dark);
5987
+ }
5988
+
5989
+ .DismissibleTab-icon--selected:focus-visible {
5990
+ outline: var(--spacing-s) solid var(--primary-shadow);
5991
+ }
5992
+
5993
+ .DismissibleTab-icon--selected:hover {
5994
+ background-color: var(--primary-lighter);
5995
+ }
5996
+
5997
+ .DismissibleTab-icon--selected:active {
5998
+ background-color: var(--primary-light);
5915
5999
  }
5916
6000
 
5917
6001
  /* Textarea */
@@ -6389,7 +6473,7 @@ body {
6389
6473
  }
6390
6474
 
6391
6475
  .VerticalNav--expanded {
6392
- width: var(--spacing-9);
6476
+ width: 240px;
6393
6477
  }
6394
6478
 
6395
6479
  .VerticalNav-section {
@@ -6411,7 +6495,7 @@ body {
6411
6495
  align-items: center;
6412
6496
  cursor: pointer;
6413
6497
  transition: var(--duration--fast-01) var(--standard-productive-curve);
6414
- width: var(--spacing-9);
6498
+ width: 232px;
6415
6499
  }
6416
6500
 
6417
6501
  .MenuItem--horizontal {
@@ -6430,8 +6514,8 @@ body {
6430
6514
  .MenuItem--collapsed {
6431
6515
  height: 28px;
6432
6516
  width: 28px;
6433
- margin-left: 6px;
6434
- margin-right: 6px;
6517
+ margin-left: 10px;
6518
+ margin-right: 10px;
6435
6519
  justify-content: center;
6436
6520
  border-radius: 50%;
6437
6521
  cursor: pointer;
@@ -6459,17 +6543,33 @@ body {
6459
6543
  background: var(--secondary-dark);
6460
6544
  }
6461
6545
 
6462
- .MenuItem:focus-visible {
6546
+ .MenuItem:focus {
6463
6547
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
6464
6548
  outline: none;
6465
6549
  }
6466
6550
 
6467
- .MenuItem--active,
6468
- .MenuItem--active:hover {
6551
+ .MenuItem--disabled:focus {
6552
+ box-shadow: none;
6553
+ }
6554
+
6555
+ .MenuItem--active {
6469
6556
  background: var(--primary-lightest);
6470
6557
  }
6471
6558
 
6472
- .MenuItem--active:focus-visible {
6559
+ .MenuItem--active:hover {
6560
+ background: var(--primary-lighter);
6561
+ }
6562
+
6563
+ .MenuItem--active:active {
6564
+ background: var(--primary-lighter);
6565
+ color: var(--primary-darker);
6566
+ }
6567
+
6568
+ .MenuItem--active:active .MenuItem-Text {
6569
+ color: var(--primary-darker);
6570
+ }
6571
+
6572
+ .MenuItem--active:focus {
6473
6573
  box-shadow: var(--shadow-spread) var(--primary-shadow);
6474
6574
  outline: none;
6475
6575
  }
@@ -6494,6 +6594,7 @@ body {
6494
6594
 
6495
6595
  .MenuItem-count--disabled {
6496
6596
  opacity: 0.6;
6597
+ color: var(--text);
6497
6598
  }
6498
6599
 
6499
6600
  .align-baseline {