@innovaccer/design-system 2.14.2-0 → 2.15.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,44 @@
1
+ ## 2.15.0 (2023-03-06)
2
+
3
+ ### Highlights
4
+
5
+ - feat(docs): add functionality to preview images using Light box on documentation site (970fe8bc)
6
+ - fix(input): update copy-paste behavior of dates in Input for DatePicker and DateRangePicker component (925af578)
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
+ - feat(docs): add functionality to preview images using Light box on documentation site (970fe8bc)
23
+
24
+ ### Fixes
25
+
26
+ - fix(input): update copy-paste behavior of dates in Input for DatePicker and DateRangePicker component (925af578)
27
+ - fix(chip): fix disabled and active state for all types of Chip component and update focus state for input Chip component (46d09832)
28
+
29
+ ### Improvements
30
+
31
+ - fix(calendar): update hover and active states for Calendar and DateRangePicker component (e7007a91)
32
+ - fix(toast): update states for close action icon in Toast component (9dcb30e6)
33
+ - fix(switch): update states and shadow for knob in Switch component (6325915e)
34
+ - feat(dropdown): add different placeholder sizes in loading state of Dropdown component (5944d391)
35
+
36
+ ### Documentation
37
+
38
+ - docs(docs): update documentation and usage guidelines for Chips component (46d09832)
39
+
40
+ ---
41
+
1
42
  ## 2.14.2-0 (2023-02-07)
2
43
 
3
44
  ### Highlights
@@ -1451,15 +1451,15 @@ body {
1451
1451
  width: 212px;
1452
1452
  }
1453
1453
 
1454
- .Calendar--date--small {
1454
+ .Calendar-date--small {
1455
1455
  height: 248px;
1456
1456
  }
1457
1457
 
1458
- .Calendar--month--small {
1458
+ .Calendar-month--small {
1459
1459
  height: 192px;
1460
1460
  }
1461
1461
 
1462
- .Calendar--year--small {
1462
+ .Calendar-year--small {
1463
1463
  height: 192px;
1464
1464
  }
1465
1465
 
@@ -1471,15 +1471,15 @@ body {
1471
1471
  width: 316px;
1472
1472
  }
1473
1473
 
1474
- .Calendar--date--large {
1474
+ .Calendar-date--large {
1475
1475
  height: 324px;
1476
1476
  }
1477
1477
 
1478
- .Calendar--month--large {
1478
+ .Calendar-month--large {
1479
1479
  height: 272px;
1480
1480
  }
1481
1481
 
1482
- .Calendar--year--large {
1482
+ .Calendar-year--large {
1483
1483
  height: 272px;
1484
1484
  }
1485
1485
 
@@ -1556,6 +1556,14 @@ body {
1556
1556
  background: var(--primary-lightest);
1557
1557
  }
1558
1558
 
1559
+ .Calendar-valueWrapper--inRange .Calendar-inRangeValue:hover {
1560
+ background: var(--primary-lighter);
1561
+ }
1562
+
1563
+ .Calendar-valueWrapper--inRange .Calendar-inRangeValue:active {
1564
+ background: var(--primary-light);
1565
+ }
1566
+
1559
1567
  .Calendar-valueWrapper--inRangeError {
1560
1568
  background: var(--alert-lightest);
1561
1569
  }
@@ -1597,6 +1605,10 @@ body {
1597
1605
  }
1598
1606
 
1599
1607
  .Calendar-value:hover {
1608
+ background: var(--secondary-light);
1609
+ }
1610
+
1611
+ .Calendar-value:active {
1600
1612
  background: var(--secondary);
1601
1613
  }
1602
1614
 
@@ -1620,19 +1632,30 @@ body {
1620
1632
  background: var(--alert-lightest);
1621
1633
  }
1622
1634
 
1623
- .Calendar-value--currDateMonthYear,
1635
+ .Calendar-value--currDateMonthYear {
1636
+ background: var(--primary-lightest);
1637
+ }
1638
+
1624
1639
  .Calendar-value--currDateMonthYear:hover {
1625
- background: var(--primary-lightest) !important;
1640
+ background: var(--primary-lighter);
1626
1641
  }
1627
1642
 
1628
- .Calendar-value--active,
1629
- .Calendar-value--active:hover {
1630
- background: var(--primary) !important;
1643
+ .Calendar-value--currDateMonthYear:active {
1644
+ background: var(--primary-lighter);
1645
+ color: var(--primary-dark);
1646
+ }
1647
+
1648
+ .Calendar-value--currDateMonthYear:active .Calendar-text {
1649
+ color: var(--primary-dark);
1650
+ }
1651
+
1652
+ .Calendar-value--active {
1653
+ background: var(--primary);
1631
1654
  font-weight: var(--font-weight-bold);
1632
1655
  }
1633
1656
 
1634
- .Calendar-yearValue,
1635
- .Calendar-monthValue {
1657
+ .Calendar-value--active:hover {
1658
+ background: var(--primary-dark);
1636
1659
  }
1637
1660
 
1638
1661
  .Calendar-yearValue--small,
@@ -1647,9 +1670,6 @@ body {
1647
1670
  width: var(--spacing-5);
1648
1671
  }
1649
1672
 
1650
- .Calendar-dateValue {
1651
- }
1652
-
1653
1673
  .Calendar-dateValue--small {
1654
1674
  height: var(--spacing-xl);
1655
1675
  width: var(--spacing-xl);
@@ -2010,7 +2030,7 @@ body {
2010
2030
  }
2011
2031
 
2012
2032
  .Chip-icon--left {
2013
- padding-right: var(--spacing-m);
2033
+ margin-right: var(--spacing-m);
2014
2034
  display: flex;
2015
2035
  align-items: center;
2016
2036
  }
@@ -2114,13 +2134,18 @@ body {
2114
2134
  background: var(--secondary);
2115
2135
  }
2116
2136
 
2117
- .Chip--input:focus-visible {
2137
+ .Chip--input:focus-visible,
2138
+ .Chip--input:focus {
2118
2139
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
2119
2140
  outline: none;
2120
2141
  }
2121
2142
 
2143
+ .Chip--input:active {
2144
+ background: var(--secondary-dark);
2145
+ }
2146
+
2122
2147
  .Chip-input--disabled {
2123
- background: var(--secondary-light);
2148
+ background: var(--secondary-lighter);
2124
2149
  border: 0px;
2125
2150
  }
2126
2151
 
@@ -5805,20 +5830,20 @@ body {
5805
5830
 
5806
5831
  .Switch-input:focus ~ .Switch-wrapper {
5807
5832
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
5833
+ background-color: var(--secondary-light);
5808
5834
  }
5809
5835
 
5810
5836
  .Switch-input:focus ~ .Switch-wrapper--checked {
5811
5837
  box-shadow: var(--shadow-spread) var(--primary-shadow);
5838
+ background-color: var(--primary);
5812
5839
  }
5813
5840
 
5814
5841
  .Switch-input:hover ~ .Switch-wrapper {
5815
- background-color: var(--secondary-light);
5816
- box-shadow: var(--shadow-s);
5842
+ background-color: var(--secondary);
5817
5843
  }
5818
5844
 
5819
5845
  .Switch-input:hover ~ .Switch-wrapper--checked {
5820
5846
  background-color: var(--primary-dark);
5821
- box-shadow: var(--shadow-s);
5822
5847
  }
5823
5848
 
5824
5849
  .Switch-input:active ~ .Switch-wrapper {
@@ -5846,7 +5871,7 @@ body {
5846
5871
  height: 100%;
5847
5872
  width: 50%;
5848
5873
  background-color: var(--shadow-0);
5849
- box-shadow: 0 0 var(--spacing-xs) 0 var(--shadow-20);
5874
+ box-shadow: var(--shadow-m);
5850
5875
  border-radius: 50%;
5851
5876
  box-sizing: border-box;
5852
5877
  transition-duration: 80ms;
@@ -5868,8 +5893,8 @@ body {
5868
5893
  pointer-events: none;
5869
5894
  }
5870
5895
 
5871
- .Switch-wrapper--disabled:before {
5872
- background-color: var(--secondary-lightest);
5896
+ .Switch-wrapper--disabled {
5897
+ background-color: var(--secondary-lighter);
5873
5898
  }
5874
5899
 
5875
5900
  .Switch-wrapper--checkedDisabled {
@@ -6166,6 +6191,11 @@ body {
6166
6191
  .Toast-icon--right {
6167
6192
  cursor: pointer;
6168
6193
  margin-left: var(--spacing-2);
6194
+ border-radius: 50%;
6195
+ display: flex;
6196
+ align-items: center;
6197
+ padding-right: var(--spacing-m);
6198
+ padding-left: var(--spacing-m);
6169
6199
  }
6170
6200
 
6171
6201
  .Toast-icon--info,
@@ -6179,6 +6209,50 @@ body {
6179
6209
  color: var(--warning-darker);
6180
6210
  }
6181
6211
 
6212
+ .Toast-close-icon--warning:focus,
6213
+ .Toast-close-icon--warning:focus-visible {
6214
+ outline: none;
6215
+ box-shadow: var(--shadow-spread) rgba(183, 135, 7, 0.16);
6216
+ }
6217
+
6218
+ .Toast-close-icon--warning:hover,
6219
+ .Toast-close-icon--warning:active {
6220
+ background: var(--warning-dark);
6221
+ }
6222
+
6223
+ .Toast-close-icon--success:focus,
6224
+ .Toast-close-icon--success:focus-visible {
6225
+ outline: none;
6226
+ box-shadow: var(--shadow-spread) rgba(34, 121, 52, 0.16);
6227
+ }
6228
+
6229
+ .Toast-close-icon--success:hover,
6230
+ .Toast-close-icon--success:active {
6231
+ background: var(--success-dark);
6232
+ }
6233
+
6234
+ .Toast-close-icon--info:focus,
6235
+ .Toast-close-icon--info:focus-visible {
6236
+ outline: none;
6237
+ box-shadow: var(--shadow-spread) rgba(0, 80, 159, 0.16);
6238
+ }
6239
+
6240
+ .Toast-close-icon--info:hover,
6241
+ .Toast-close-icon--info:active {
6242
+ background: var(--primary-dark);
6243
+ }
6244
+
6245
+ .Toast-close-icon--alert:focus,
6246
+ .Toast-close-icon--alert:focus-visible {
6247
+ outline: none;
6248
+ box-shadow: var(--shadow-spread) rgba(156, 40, 40, 0.16);
6249
+ }
6250
+
6251
+ .Toast-close-icon--alert:hover,
6252
+ .Toast-close-icon--alert:active {
6253
+ background: var(--alert-dark);
6254
+ }
6255
+
6182
6256
  .Toast-body {
6183
6257
  display: flex;
6184
6258
  flex-direction: column;