@innovaccer/design-system 2.16.0-0 → 2.16.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,106 @@
1
+ ## 2.16.0 (2023-06-15)
2
+
3
+ ### Highlights
4
+
5
+ - feat(linkButton): add new link button component (3de23b6e)
6
+ - feat(progressBar): add small size variant in progress bar (9f9e77d4)
7
+ - fix(switch): deprecate large size variant (8a85def2)
8
+ - fix(spinner): deprecate appearances for spinner (0139c2e0)
9
+ - fix(inlineMessage): fix story & deprecate default appearance (e3ad0741)
10
+ - feat(metalist): add size prop for metalist component (4888de49)
11
+ - feat(tabs): add prop for tab header custom classname (fe54da87)
12
+ - feat(label): add info icon in label component (8b39db3)
13
+
14
+ ### Breaking changes
15
+
16
+ NA
17
+
18
+ ### Migration guide
19
+
20
+ NA
21
+
22
+ ### Deprecations
23
+
24
+ - fix(switch): deprecate large size variant (8a85def2)
25
+ - fix(spinner): deprecate appearances for spinner (0139c2e0)
26
+ - fix(inlineMessage): fix story & deprecate default appearance (e3ad0741)
27
+
28
+ ### Features
29
+
30
+ - feat(linkButton): add new link button component (3de23b6e)
31
+ - feat(progressBar): add small size variant in progress bar (9f9e77d4)
32
+ - feat(metalist): add size prop for metalist component (4888de49)
33
+ - feat(tabs): add prop for tab header custom classname (fe54da87)
34
+ - feat(label): add info icon in label component (8b39db3)
35
+
36
+ ### Fixes
37
+
38
+ - fix(button): fix text overflow behaviour in button (cf3c5185)
39
+ - fix(toast): fix spacing and stories of toast component (c549647e)
40
+ - fix(inputmask): update placeholder and helptext (35e92647)
41
+ - fix(placeholder): fix border radius and stories (433967e1)
42
+ - fix(pagination): add debounce for entering page (cc2a60e3)
43
+ - fix(modal): update modal footer top and bottom padding (7bdb008a)
44
+ - fix(metalist): update default color to subtle of meta icon (1b6ef7c0)
45
+ - fix(multislider): update design for slider & rangeslider (276342b2)
46
+ - fix(multislider): update border-radius of progress bar (276342b2)
47
+ - fix(multislider): add precision to label in tooltip (276342b2)
48
+ - fix(multislider): update color for disabled progress bar (276342b2)
49
+ - fix(fullscreenModal): update padding for header,body and footer (5f436576)
50
+ - fix(fullscreenModal): fix spacing between overlayHeader buttons (5f436576)
51
+ - fix(fullscreenModal): replace keyboard_backspace icon with arrow_back icon inside overlayHeader back button (5f436576)
52
+ - fix(tab): update focus state for inactive tabs (3250124c)
53
+ - fix(modal): update backdropClose and closeOnEscape functionality (493cc3bf)
54
+ - fix(EditableInput): fix icon size for action button (b54020ca)
55
+ - fix(choiceList): fix proptable and add className (b4572e98)
56
+ - fix(choiceList): update spacing between label and options in choicelist (c7cd2118)
57
+ - fix(sidesheet): update backdropClose and closeOnEscape functionality (6d6bc53c)
58
+ - fix(table): fix onSearch event trigger for error prop (c9e4c15b)
59
+ - fix(overlayHeader): update icon size in back button (79155c18)
60
+ - fix(tooltip): update tooltip padding, animation and opacity (cf6667f3)
61
+ - fix(chipInput): prevent chip input text from transform to lowercase (73888d2e)
62
+ - fix(dropzone): fix background for disabled state (1df198d)
63
+ - fix(calendar): update active state of selected date (4cd082a)
64
+ - fix(horizontalNav): update text weight and focus state and stories (2174da0)
65
+ - fix(label): update icon size and stories (6a7425e)
66
+
67
+ ### Improvements
68
+
69
+ - fix(docpage): update docpage code preview component for height and showhide issues (791c86b7)
70
+ - fix(storybook): fix spacing for storybook live preview (24ab023a)
71
+ - fix(badge): update stories for badge component (eb1b2d23)
72
+ - fix(button): fix stories for button component (d21a82f8)
73
+ - fix(card): update stories for card component (adc90007)
74
+ - fix(divider): update stories for divider component (b35defed)
75
+ - fix(heading): fix stories for heading component (7f9bc254)
76
+ - fix(text): fix stories for text component (42b284a8)
77
+ - fix(paragraph): update stories for paragraph component (cd421f8a)
78
+ - fix(subheading): update stories for subheading component (a301e3c7)
79
+ - fix(pill): update stories for pill component (54efe651)
80
+ - fix(spinner): update stories for spinner (e22026f9)
81
+ - fix(progressRing): update stories for progress ring component (9ad18cba)
82
+ - fix(pageheader): update pageheader stories (be1ce558)
83
+ - fix(editableDropdown): update border-radius inside customRenderer story (387d9cae)
84
+ - fix(message): update stories for message component (49a78dd3)
85
+ - fix(modal): update modal stories (46ac7d8b)
86
+ - fix(pagination): update pagination stories (d96582b4)
87
+ - fix(metricInput): update metricInput stories (b8390eda)
88
+ - fix(icon): update icon stories (74cf97dd)
89
+ - fix(statusHint): update stories for status hint component (810cf87b)
90
+ - fix(checkbox): update story contents and their groups (029c0f56)
91
+ - fix(fullscreenModal): update stories (5f436576)
92
+ - fix(calendar): fix calendar stories (bdb2a76)
93
+ - fix(switch): fix stories for switch component (13fcc71)
94
+
95
+ ### Documentation
96
+
97
+ - docs(docs): update hyperlink in mobile foundations tab (b213481b)
98
+ - docs(docs): update interactions in dropdown component (610a263c)
99
+ - docs(linkButton): add documentation of link button (33a2b7e7)
100
+ - docs(docs): update image in link button component (58d16d6d)
101
+
102
+ ---
103
+
1
104
  ## 2.15.4 (2023-04-24)
2
105
 
3
106
  ### Highlights
@@ -703,7 +703,7 @@ body {
703
703
 
704
704
  .Label-optionalText {
705
705
  line-height: var(--font-height-s);
706
- margin-left: var(--spacing-s);
706
+ margin-left: var(--spacing-m);
707
707
  }
708
708
 
709
709
  .Label--disabled {
@@ -711,8 +711,8 @@ body {
711
711
  }
712
712
 
713
713
  .Label-requiredIndicator {
714
- height: var(--spacing-m);
715
- width: var(--spacing-m);
714
+ height: 6px;
715
+ width: 6px;
716
716
  border-radius: 50%;
717
717
  background: var(--alert);
718
718
  margin-left: var(--spacing-m);
@@ -1656,11 +1656,6 @@ body {
1656
1656
 
1657
1657
  .Calendar-value--currDateMonthYear:active {
1658
1658
  background: var(--primary-lighter);
1659
- color: var(--primary-dark);
1660
- }
1661
-
1662
- .Calendar-value--currDateMonthYear:active .Calendar-text {
1663
- color: var(--primary-dark);
1664
1659
  }
1665
1660
 
1666
1661
  .Calendar-value--active {
@@ -1672,6 +1667,10 @@ body {
1672
1667
  background: var(--primary-dark);
1673
1668
  }
1674
1669
 
1670
+ .Calendar-value--active:active {
1671
+ background: var(--primary-darker);
1672
+ }
1673
+
1675
1674
  .Calendar-yearValue--small,
1676
1675
  .Calendar-monthValue--small {
1677
1676
  height: var(--spacing-xl);
@@ -2295,11 +2294,11 @@ body {
2295
2294
  }
2296
2295
 
2297
2296
  .ChoiceList-checkbox--vertical {
2298
- margin-top: var(--spacing);
2297
+ margin-top: var(--spacing-m);
2299
2298
  }
2300
2299
 
2301
2300
  .ChoiceList-radio--vertical {
2302
- margin-top: var(--spacing);
2301
+ margin-top: var(--spacing-m);
2303
2302
  }
2304
2303
 
2305
2304
  .ChoiceList--alignHorizontal {
@@ -2778,7 +2777,6 @@ body {
2778
2777
  }
2779
2778
 
2780
2779
  .Dropzone--disabled {
2781
- background: var(--secondary-lightest);
2782
2780
  background-image: linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),
2783
2781
  linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),
2784
2782
  linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),
@@ -3175,17 +3173,17 @@ body {
3175
3173
  justify-content: flex-start;
3176
3174
  padding-top: var(--spacing-l);
3177
3175
  padding-bottom: var(--spacing-l);
3178
- padding-right: var(--spacing-2);
3176
+ padding-right: var(--spacing-l);
3179
3177
  }
3180
3178
 
3181
3179
  .FullscreenModal-footer {
3182
3180
  justify-content: flex-end;
3183
- padding-top: var(--spacing-xl);
3184
- padding-bottom: var(--spacing-xl);
3181
+ padding-top: var(--spacing-2);
3182
+ padding-bottom: var(--spacing-2);
3185
3183
  }
3186
3184
 
3187
3185
  .FullscreenModal-body {
3188
- padding: var(--spacing) var(--spacing-xl);
3186
+ padding: var(--spacing-2) var(--spacing-xl);
3189
3187
  }
3190
3188
 
3191
3189
  /** Grid **/
@@ -3737,11 +3735,13 @@ body {
3737
3735
  pointer-events: none;
3738
3736
  }
3739
3737
 
3740
- .HorizontalNav-menu--disabled:focus-visible {
3738
+ .HorizontalNav-menu--disabled:focus-visible,
3739
+ .HorizontalNav-menu--disabled:focus {
3741
3740
  outline: none;
3742
3741
  }
3743
3742
 
3744
- .HorizontalNav-menu--default:focus-visible {
3743
+ .HorizontalNav-menu--default:focus-visible,
3744
+ .HorizontalNav-menu--default:focus {
3745
3745
  box-shadow: var(--shadow-spread) var(--secondary-shadow);
3746
3746
  outline: none;
3747
3747
  }
@@ -3758,7 +3758,8 @@ body {
3758
3758
  background-color: var(--primary-lightest);
3759
3759
  }
3760
3760
 
3761
- .HorizontalNav-menu--active:focus-visible {
3761
+ .HorizontalNav-menu--active:focus-visible,
3762
+ .HorizontalNav-menu--active:focus {
3762
3763
  background-color: var(--primary-lightest);
3763
3764
  box-shadow: var(--shadow-spread) var(--primary-shadow);
3764
3765
  outline: none;
@@ -4707,7 +4708,8 @@ body {
4707
4708
  }
4708
4709
 
4709
4710
  .Modal-footer {
4710
- height: 80px;
4711
+ padding-top: var(--spacing-xl);
4712
+ padding-bottom: var(--spacing-xl);
4711
4713
  justify-content: flex-end;
4712
4714
  position: absolute;
4713
4715
  bottom: 0;
@@ -5670,6 +5672,7 @@ body {
5670
5672
  background: var(--secondary-lighter);
5671
5673
  height: var(--spacing-s);
5672
5674
  box-sizing: border-box;
5675
+ border-radius: var(--spacing-s);
5673
5676
  }
5674
5677
 
5675
5678
  .Slider-progress--inRange {
@@ -5677,7 +5680,6 @@ body {
5677
5680
  }
5678
5681
 
5679
5682
  .Slider-progress--inRangeDisabled {
5680
- background: var(--secondary-light);
5681
5683
  border: var(--border);
5682
5684
  }
5683
5685
 
@@ -6081,8 +6083,6 @@ body {
6081
6083
  cursor: pointer;
6082
6084
  min-width: 40px;
6083
6085
  padding: var(--spacing-l);
6084
- margin-left: calc(-1 * var(--spacing-l));
6085
- margin-right: var(--spacing-l);
6086
6086
  margin-bottom: calc(-1 * var(--spacing-xs));
6087
6087
  text-align: center;
6088
6088
  }
@@ -6489,10 +6489,10 @@ body {
6489
6489
 
6490
6490
  .Tooltip {
6491
6491
  max-width: var(--spacing-9);
6492
- padding: var(--spacing) var(--spacing-2);
6492
+ padding: var(--spacing-m) var(--spacing);
6493
6493
  border-radius: var(--spacing-m);
6494
6494
  z-index: 500;
6495
- background: var(--inverse);
6495
+ background: rgba(47, 47, 47, 0.88);
6496
6496
  overflow: hidden;
6497
6497
  box-sizing: border-box;
6498
6498
  transition: opacity 120ms;
@@ -6560,41 +6560,41 @@ body {
6560
6560
  }
6561
6561
  @-webkit-keyframes tooltip-open-bottom {
6562
6562
  from {
6563
- top: 0px;
6563
+ top: -4px;
6564
6564
  opacity: 0;
6565
6565
  }
6566
6566
  to {
6567
- top: 4px;
6567
+ top: 0px;
6568
6568
  opacity: 1;
6569
6569
  }
6570
6570
  }
6571
6571
  @keyframes tooltip-open-bottom {
6572
6572
  from {
6573
- top: 0px;
6573
+ top: -4px;
6574
6574
  opacity: 0;
6575
6575
  }
6576
6576
  to {
6577
- top: 4px;
6577
+ top: 0px;
6578
6578
  opacity: 1;
6579
6579
  }
6580
6580
  }
6581
6581
  @-webkit-keyframes tooltip-close-bottom {
6582
6582
  from {
6583
- top: 4px;
6583
+ top: 0px;
6584
6584
  opacity: 1;
6585
6585
  }
6586
6586
  to {
6587
- top: 0px;
6587
+ top: -4px;
6588
6588
  opacity: 0;
6589
6589
  }
6590
6590
  }
6591
6591
  @keyframes tooltip-close-bottom {
6592
6592
  from {
6593
- top: 4px;
6593
+ top: 0px;
6594
6594
  opacity: 1;
6595
6595
  }
6596
6596
  to {
6597
- top: 0px;
6597
+ top: -4px;
6598
6598
  opacity: 0;
6599
6599
  }
6600
6600
  }
@@ -6612,42 +6612,42 @@ body {
6612
6612
 
6613
6613
  @-webkit-keyframes tooltip-open-left {
6614
6614
  from {
6615
- left: 0px;
6615
+ left: 1px;
6616
6616
  opacity: 0;
6617
6617
  }
6618
6618
  to {
6619
- left: -4px;
6619
+ left: -3px;
6620
6620
  opacity: 1;
6621
6621
  }
6622
6622
  }
6623
6623
 
6624
6624
  @keyframes tooltip-open-left {
6625
6625
  from {
6626
- left: 0px;
6626
+ left: 1px;
6627
6627
  opacity: 0;
6628
6628
  }
6629
6629
  to {
6630
- left: -4px;
6630
+ left: -3px;
6631
6631
  opacity: 1;
6632
6632
  }
6633
6633
  }
6634
6634
  @-webkit-keyframes tooltip-close-left {
6635
6635
  from {
6636
- left: -4px;
6636
+ left: -3px;
6637
6637
  opacity: 1;
6638
6638
  }
6639
6639
  to {
6640
- left: 0px;
6640
+ left: 1px;
6641
6641
  opacity: 0;
6642
6642
  }
6643
6643
  }
6644
6644
  @keyframes tooltip-close-left {
6645
6645
  from {
6646
- left: -4px;
6646
+ left: -3px;
6647
6647
  opacity: 1;
6648
6648
  }
6649
6649
  to {
6650
- left: 0px;
6650
+ left: 1px;
6651
6651
  opacity: 0;
6652
6652
  }
6653
6653
  }
@@ -6665,42 +6665,42 @@ body {
6665
6665
 
6666
6666
  @-webkit-keyframes tooltip-open-right {
6667
6667
  from {
6668
- left: 0px;
6668
+ left: -3px;
6669
6669
  opacity: 0;
6670
6670
  }
6671
6671
  to {
6672
- left: 4px;
6672
+ left: 1px;
6673
6673
  opacity: 1;
6674
6674
  }
6675
6675
  }
6676
6676
 
6677
6677
  @keyframes tooltip-open-right {
6678
6678
  from {
6679
- left: 0px;
6679
+ left: -3px;
6680
6680
  opacity: 0;
6681
6681
  }
6682
6682
  to {
6683
- left: 4px;
6683
+ left: 1px;
6684
6684
  opacity: 1;
6685
6685
  }
6686
6686
  }
6687
6687
  @-webkit-keyframes tooltip-close-right {
6688
6688
  from {
6689
- left: 4px;
6689
+ left: 1px;
6690
6690
  opacity: 1;
6691
6691
  }
6692
6692
  to {
6693
- left: 0px;
6693
+ left: -3px;
6694
6694
  opacity: 0;
6695
6695
  }
6696
6696
  }
6697
6697
  @keyframes tooltip-close-right {
6698
6698
  from {
6699
- left: 4px;
6699
+ left: 1px;
6700
6700
  opacity: 1;
6701
6701
  }
6702
6702
  to {
6703
- left: 0px;
6703
+ left: -3px;
6704
6704
  opacity: 0;
6705
6705
  }
6706
6706
  }