@innovaccer/design-system 4.12.0 → 4.13.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/css/dist/index.css +208 -26
  3. package/css/dist/index.css.map +1 -1
  4. package/css/src/components/button.module.css +2 -0
  5. package/css/src/components/chip.module.css +10 -2
  6. package/css/src/components/chipInput.module.css +36 -8
  7. package/css/src/components/editableInput.module.css +7 -2
  8. package/css/src/components/input.module.css +8 -0
  9. package/css/src/components/label.module.css +7 -0
  10. package/css/src/components/menu.module.css +7 -0
  11. package/css/src/components/message.module.css +30 -2
  12. package/css/src/components/metricInput.module.css +66 -9
  13. package/css/src/components/select.module.css +22 -1
  14. package/css/src/components/statusHint.module.css +1 -2
  15. package/css/src/components/textarea.module.css +6 -0
  16. package/css/src/components/tooltip.module.css +4 -0
  17. package/dist/brotli/index.js +1 -1
  18. package/dist/brotli/index.js.br +0 -0
  19. package/dist/cjs/index.js +1 -1
  20. package/dist/core/common.type.d.ts +1 -0
  21. package/dist/core/components/atoms/_chip/index.d.ts +2 -1
  22. package/dist/core/components/atoms/badge/Badge.d.ts +2 -2
  23. package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
  24. package/dist/core/components/atoms/label/Label.d.ts +2 -0
  25. package/dist/core/components/atoms/message/Message.d.ts +2 -0
  26. package/dist/core/components/atoms/metricInput/MetricInput.d.ts +1 -1
  27. package/dist/core/components/atoms/statusHint/StatusHint.d.ts +2 -0
  28. package/dist/core/components/atoms/textarea/Textarea.d.ts +2 -0
  29. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +2 -0
  30. package/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts +2 -0
  31. package/dist/core/components/molecules/tooltip/Tooltip.d.ts +2 -0
  32. package/dist/core/components/organisms/menu/MenuList.d.ts +3 -0
  33. package/dist/core/components/organisms/select/SelectContext.d.ts +2 -1
  34. package/dist/esm/index.js +340 -256
  35. package/dist/gzip/index.js +1 -1
  36. package/dist/gzip/index.js.gz +0 -0
  37. package/dist/index.js +386 -301
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.umd.css +208 -26
  40. package/dist/index.umd.js +1 -1
  41. package/dist/types/tsconfig.type.tsbuildinfo +45 -43
  42. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,58 @@
1
+ ## 4.13.0 (2025-09-22)
2
+
3
+ ### Highlights
4
+
5
+ - feat(editableChipInput): add small variant support in editableChipInput component (cbb07d28)
6
+ - feat(chipInput): add small variant support in chipInput component (48b9b85d)
7
+ - feat(select): add small variant support in select component (4c72ae07)
8
+ - feat(chip): add small variant support in chip component (e7829052)
9
+ - feat(button): add small variant support in button component (38052c54)
10
+
11
+ ### Breaking changes
12
+
13
+ NA
14
+
15
+ ### Migration guide
16
+
17
+ NA
18
+
19
+ ### Deprecations
20
+
21
+ NA
22
+
23
+ ### Features
24
+
25
+ - feat(editableChipInput): add small variant support in editableChipInput component (cbb07d28)
26
+ - feat(chipInput): add small variant support in chipInput component (48b9b85d)
27
+ - feat(select): add small variant support in select component (4c72ae07)
28
+ - feat(chip): add small variant support in chip component (e7829052)
29
+ - feat(editableInput): add small variant support in editableInput component (6e720070)
30
+ - feat(menu): add small variant support in menu component (f3bace0c)
31
+ - feat(textField): add small variant support in textField component (6a76f7aa)
32
+ - feat(metricInput): add small variant support in metric input component (3fa029f7)
33
+ - feat(input): add small variant support in input component (77730a3f)
34
+ - feat(textarea): add small variant support in textarea component (508e2872)
35
+ - feat(badge): add hover event support in badge component (10831bd1)
36
+ - feat(statusHint): add new small variant support in status hint (0216d7b0)
37
+ - feat(tooltip): add small size support in tooltip component (e0b4da4d)
38
+ - feat(message): add small variant support in message (8d523382)
39
+ - feat(button): add small variant support in button component (38052c54)
40
+ - feat(label): add small variant support in label component (d29c11a8)
41
+
42
+ ### Fixes
43
+
44
+ NA
45
+
46
+ ### Improvements
47
+
48
+ - chore: add AGENTS.md file (fbc14017)
49
+
50
+ ### Documentation
51
+
52
+ NA
53
+
54
+ ---
55
+
1
56
  ## 4.12.0 (2025-08-14)
2
57
 
3
58
  ### Highlights
@@ -679,6 +679,9 @@ body {
679
679
  .Label {
680
680
  display: inline-flex;
681
681
  }
682
+ .Label--small {
683
+ font-size: var(--font-size-s);
684
+ }
682
685
 
683
686
  .Label--withInput {
684
687
  margin-bottom: var(--spacing-10);
@@ -699,6 +702,10 @@ body {
699
702
  margin-left: var(--spacing-10);
700
703
  }
701
704
 
705
+ .Label-optionalText--small {
706
+ font-size: var(--font-size-s);
707
+ }
708
+
702
709
  .Label--disabled {
703
710
  color: var(--text-disabled);
704
711
  }
@@ -1407,6 +1414,8 @@ body {
1407
1414
  padding-left: var(--spacing-20);
1408
1415
  padding-top: var(--spacing-10);
1409
1416
  padding-bottom: var(--spacing-10);
1417
+ font-size: var(--font-size-s);
1418
+ font-weight: var(--font-weight-medium);
1410
1419
  }
1411
1420
 
1412
1421
  .Button--tinySquare {
@@ -2427,7 +2436,6 @@ body {
2427
2436
  box-sizing: border-box;
2428
2437
  border-radius: var(--border-radius-30);
2429
2438
  padding-right: var(--spacing-20);
2430
- padding-left: var(--spacing-20);
2431
2439
  padding-top: var(--spacing-05);
2432
2440
  padding-bottom: var(--spacing-05);
2433
2441
  width: -moz-fit-content;
@@ -2438,10 +2446,18 @@ body {
2438
2446
  align-items: center;
2439
2447
  flex-direction: row;
2440
2448
  cursor: default;
2441
- height: var(--spacing-60);
2442
2449
  transition: var(--duration--fast-01) var(--standard-productive-curve);
2443
2450
  }
2444
2451
 
2452
+ .Chip-size--regular {
2453
+ height: var(--spacing-60);
2454
+ padding-left: var(--spacing-20);
2455
+ }
2456
+ .Chip-size--small {
2457
+ height: 20px;
2458
+ padding-left: var(--spacing-15);
2459
+ }
2460
+
2445
2461
  .Chip-wrapper {
2446
2462
  display: inline-flex;
2447
2463
  align-items: center;
@@ -2456,6 +2472,7 @@ body {
2456
2472
  .Chip-icon--right {
2457
2473
  display: flex;
2458
2474
  align-items: center;
2475
+ justify-content: center;
2459
2476
  border-radius: var(--border-radius-full);
2460
2477
  margin-left: var(--spacing-05);
2461
2478
  }
@@ -2643,13 +2660,21 @@ body {
2643
2660
  display: flex;
2644
2661
  border-radius: var(--border-radius-10);
2645
2662
  box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary);
2646
- padding-left: 10px;
2647
- padding-right: 10px;
2648
2663
  background: var(--white);
2649
2664
  cursor: text;
2650
2665
  flex: 100%;
2651
2666
  }
2652
2667
 
2668
+ .ChipInput--regular {
2669
+ padding-left: 10px;
2670
+ padding-right: 10px;
2671
+ }
2672
+
2673
+ .ChipInput--small {
2674
+ padding-left: var(--spacing-20);
2675
+ padding-right: var(--spacing-20);
2676
+ }
2677
+
2653
2678
  .ChipInput:focus,
2654
2679
  .ChipInput:focus-visible {
2655
2680
  outline: var(--spacing-2-5) var(--primary);
@@ -2704,11 +2729,23 @@ body {
2704
2729
  min-width: 15%;
2705
2730
  flex: 0px;
2706
2731
  box-sizing: border-box;
2732
+ font-family: var(--font-family);
2733
+ font-size: var(--font-size);
2734
+ }
2735
+
2736
+ .ChipInput-input--small {
2737
+ height: 20px;
2738
+ margin-top: var(--spacing-05);
2739
+ margin-bottom: var(--spacing-05);
2740
+ font-size: var(--font-size-s);
2741
+ line-height: var(--font-height-s);
2742
+ font-weight: var(--font-weight-medium);
2743
+ }
2744
+
2745
+ .ChipInput-input--regular {
2707
2746
  height: var(--spacing-60);
2708
2747
  margin-top: var(--spacing-10);
2709
2748
  margin-bottom: var(--spacing-10);
2710
- font-family: var(--font-family);
2711
- font-size: var(--font-size);
2712
2749
  }
2713
2750
 
2714
2751
  .ChipInput:hover .ChipInput-input {
@@ -2720,14 +2757,22 @@ body {
2720
2757
  }
2721
2758
 
2722
2759
  .ChipInput-icon {
2723
- height: var(--spacing-40);
2724
- padding: var(--spacing-05);
2725
- margin-left: var(--spacing-20);
2726
- margin-top: var(--spacing-15);
2727
2760
  cursor: pointer;
2728
2761
  border-radius: var(--border-radius-full);
2729
2762
  }
2730
2763
 
2764
+ .ChipInput-icon--small {
2765
+ margin-left: var(--spacing-15);
2766
+ margin-top: var(--spacing-15);
2767
+ height: var(--spacing-30);
2768
+ }
2769
+
2770
+ .ChipInput-icon--regular {
2771
+ height: var(--spacing-40);
2772
+ margin-left: var(--spacing-20);
2773
+ margin-top: var(--spacing-20);
2774
+ }
2775
+
2731
2776
  .ChipInput-icon:hover {
2732
2777
  background-color: var(--secondary);
2733
2778
  }
@@ -3762,8 +3807,6 @@ body {
3762
3807
  border: var(--border-width-2-5) solid transparent;
3763
3808
  box-sizing: border-box;
3764
3809
  white-space: nowrap;
3765
- padding-left: var(--spacing-30);
3766
- padding-right: var(--spacing-30);
3767
3810
  display: flex;
3768
3811
  align-items: center;
3769
3812
  }
@@ -3771,11 +3814,18 @@ body {
3771
3814
  .EditableInput-default--regular {
3772
3815
  min-width: var(--spacing-640);
3773
3816
  height: var(--spacing-80);
3817
+ padding-left: var(--spacing-30);
3818
+ padding-right: var(--spacing-30);
3774
3819
  }
3775
3820
 
3776
3821
  .EditableInput-default--tiny {
3777
3822
  min-width: var(--spacing-240);
3778
3823
  height: var(--spacing-60);
3824
+ font-size: var(--font-size-s);
3825
+ font-weight: var(--font-weight-medium);
3826
+ line-height: var(--font-height-s);
3827
+ padding-left: var(--spacing-20);
3828
+ padding-right: var(--spacing-20);
3779
3829
  }
3780
3830
 
3781
3831
  .EditableInput-Input--tiny {
@@ -5028,6 +5078,8 @@ body {
5028
5078
  height: var(--font-height-m);
5029
5079
  padding-top: var(--spacing-10);
5030
5080
  padding-bottom: var(--spacing-10);
5081
+ padding-left: var(--spacing-20);
5082
+ padding-right: var(--spacing-20);
5031
5083
  }
5032
5084
 
5033
5085
  .Input--regular {
@@ -5131,6 +5183,12 @@ body {
5131
5183
  font-size: var(--font-size-m);
5132
5184
  }
5133
5185
 
5186
+ .Input-input--tiny {
5187
+ line-height: var(--font-height-s);
5188
+ font-size: var(--font-size-s);
5189
+ font-weight: var(--font-weight-medium);
5190
+ }
5191
+
5134
5192
  .Input-icon {
5135
5193
  display: flex;
5136
5194
  align-content: center;
@@ -5528,6 +5586,13 @@ body {
5528
5586
  box-sizing: border-box;
5529
5587
  }
5530
5588
 
5589
+ .Menu-Item--tight {
5590
+ padding: var(--spacing-10) var(--spacing-20);
5591
+ font-size: var(--font-size-s);
5592
+ font-weight: var(--font-weight-medium);
5593
+ line-height: var(--font-height-s);
5594
+ }
5595
+
5531
5596
  .Menu-Group-Label {
5532
5597
  display: flex;
5533
5598
  align-items: center;
@@ -5552,6 +5617,10 @@ body {
5552
5617
  box-sizing: border-box;
5553
5618
  }
5554
5619
 
5620
+ .Message--small {
5621
+ padding: var(--spacing-20);
5622
+ }
5623
+
5555
5624
  .Message--alert {
5556
5625
  border-color: var(--alert);
5557
5626
  background-color: rgba(217, 55, 55, 0.04);
@@ -5572,11 +5641,16 @@ body {
5572
5641
  background-color: rgba(240, 125, 0, 0.04);
5573
5642
  }
5574
5643
 
5575
- .Message-icon {
5644
+ .Message-icon--regular {
5576
5645
  margin-right: var(--spacing-40);
5577
5646
  padding-top: var(--spacing-05);
5578
5647
  }
5579
5648
 
5649
+ .Message-icon--small {
5650
+ margin-right: var(--spacing-20);
5651
+ padding-top: var(--spacing-05) !important;
5652
+ }
5653
+
5580
5654
  .Message-icon--withTitle {
5581
5655
  padding-top: var(--spacing-10);
5582
5656
  }
@@ -5585,10 +5659,22 @@ body {
5585
5659
  color: var(--accent1);
5586
5660
  }
5587
5661
 
5588
- .Message-heading {
5662
+ .Message-heading--regular {
5589
5663
  margin-bottom: var(--spacing-10);
5590
5664
  }
5591
5665
 
5666
+ .Message-heading--small {
5667
+ font-size: var(--font-size);
5668
+ line-height: var(--font-height);
5669
+ margin-bottom: var(--spacing-05);
5670
+ }
5671
+
5672
+ .Message-text--small {
5673
+ font-size: var(--font-size-s);
5674
+ line-height: var(--font-height-s);
5675
+ font-weight: var(--font-weight-medium);
5676
+ }
5677
+
5592
5678
  .Message-heading--alert,
5593
5679
  .Message-text--alert {
5594
5680
  color: var(--alert-darker) !important;
@@ -5612,9 +5698,16 @@ body {
5612
5698
  .Message-actions {
5613
5699
  display: flex;
5614
5700
  align-items: center;
5701
+ }
5702
+
5703
+ .Message-actions--regular {
5615
5704
  margin-top: var(--spacing-30);
5616
5705
  }
5617
5706
 
5707
+ .Message-actions--small {
5708
+ margin-top: var(--spacing-10);
5709
+ }
5710
+
5618
5711
  .Meta {
5619
5712
  display: flex;
5620
5713
  flex-direction: row;
@@ -5713,8 +5806,8 @@ body {
5713
5806
  box-sizing: border-box;
5714
5807
  border-radius: var(--border-radius-10);
5715
5808
  border: var(--border);
5716
- padding-right: var(--spacing-10);
5717
5809
  background: var(--white);
5810
+ overflow: hidden;
5718
5811
  transition: var(--duration--fast-01) var(--standard-productive-curve);
5719
5812
  }
5720
5813
 
@@ -5728,6 +5821,11 @@ body {
5728
5821
  padding-left: var(--spacing-40);
5729
5822
  }
5730
5823
 
5824
+ .MetricInput--small {
5825
+ height: var(--spacing-60);
5826
+ padding-left: var(--spacing-20);
5827
+ }
5828
+
5731
5829
  .MetricInput:hover {
5732
5830
  background: var(--secondary-lightest);
5733
5831
  cursor: text;
@@ -5792,6 +5890,17 @@ body {
5792
5890
  font-size: var(--font-size-m);
5793
5891
  }
5794
5892
 
5893
+ .MetricInput-input--regular {
5894
+ line-height: var(--font-height);
5895
+ font-size: var(--font-size);
5896
+ }
5897
+
5898
+ .MetricInput-input--small {
5899
+ line-height: var(--font-height-s);
5900
+ font-size: var(--font-size-s);
5901
+ font-weight: var(--font-weight-medium);
5902
+ }
5903
+
5795
5904
  .MetricInput-input::-moz-placeholder {
5796
5905
  color: var(--inverse-lighter);
5797
5906
  }
@@ -5822,6 +5931,10 @@ body {
5822
5931
  line-height: var(--font-height-m);
5823
5932
  }
5824
5933
 
5934
+ .MetricInput-icon--small {
5935
+ margin-right: var(--spacing-10);
5936
+ }
5937
+
5825
5938
  .MetricInput-input::-webkit-inner-spin-button,
5826
5939
  .MetricInput-input::-webkit-outer-spin-button {
5827
5940
  -webkit-appearance: none;
@@ -5830,16 +5943,55 @@ body {
5830
5943
  margin: 0;
5831
5944
  }
5832
5945
 
5833
- .MetricInput-arrowIcon--large {
5834
- height: var(--spacing-40);
5835
- width: var(--spacing-40);
5836
- border-radius: var(--border-radius-05);
5946
+ .MetricInput-arrowIcons {
5947
+ border-left: var(--border);
5948
+ box-sizing: border-box;
5949
+ border-radius: 0;
5950
+ background: transparent;
5951
+ display: flex;
5952
+ flex-direction: column;
5953
+ height: 100%;
5954
+ flex-shrink: 0;
5955
+ overflow: hidden;
5837
5956
  }
5838
5957
 
5839
- .MetricInput-arrowIcon--regular {
5840
- height: var(--spacing-30);
5841
- width: var(--spacing-30);
5842
- border-radius: var(--border-radius-05);
5958
+ .MetricInput-arrowButton {
5959
+ height: 50%;
5960
+ border: none;
5961
+ background: var(--secondary-light);
5962
+ color: var(--inverse);
5963
+ cursor: pointer;
5964
+ display: flex;
5965
+ align-items: center;
5966
+ justify-content: center;
5967
+ padding: 0;
5968
+ margin: 0;
5969
+ -webkit-user-select: none;
5970
+ -moz-user-select: none;
5971
+ user-select: none;
5972
+ overflow: hidden;
5973
+ }
5974
+
5975
+ .MetricInput-arrowButton:hover {
5976
+ background: var(--secondary);
5977
+ }
5978
+
5979
+ .MetricInput-arrowButton:active {
5980
+ background: var(--secondary-dark);
5981
+ }
5982
+
5983
+ .MetricInput-arrowButton:focus {
5984
+ outline: 0;
5985
+ box-shadow: var(--shadow-spread) var(--secondary-shadow);
5986
+ }
5987
+
5988
+ .MetricInput-arrowIcons--small,
5989
+ .MetricInput-arrowIcons--regular {
5990
+ width: 20px;
5991
+ }
5992
+
5993
+ .MetricInput-arrowIcons--large {
5994
+ width: var(--spacing-60);
5843
5995
  }
5844
5996
 
5845
5997
  @keyframes modal-open {
@@ -6794,7 +6946,7 @@ body {
6794
6946
 
6795
6947
  .Select-trigger--small {
6796
6948
  height: var(--spacing-60);
6797
- padding-right: var(--spacing-20);
6949
+ padding-right: var(--spacing-10);
6798
6950
  padding-left: var(--spacing-20);
6799
6951
  }
6800
6952
 
@@ -6865,6 +7017,27 @@ body {
6865
7017
  width: 100%;
6866
7018
  }
6867
7019
 
7020
+ .Select-trigger--textSmall {
7021
+ font-size: var(--font-size-s);
7022
+ line-height: var(--font-height-s);
7023
+ font-weight: var(--font-weight-medium);
7024
+ }
7025
+
7026
+ .Select-option--tight {
7027
+ padding: var(--spacing-10) var(--spacing-20);
7028
+ }
7029
+
7030
+ .Select-input--tiny {
7031
+ padding-right: var(--spacing-10);
7032
+ height: var(--spacing-60);
7033
+ }
7034
+
7035
+ .Select-option--textTight {
7036
+ font-size: var(--font-size-s);
7037
+ line-height: var(--font-height-s);
7038
+ font-weight: var(--font-weight-medium);
7039
+ }
7040
+
6868
7041
  .Selection-card {
6869
7042
  border-radius: var(--border-radius-10);
6870
7043
  position: relative;
@@ -7260,6 +7433,7 @@ body {
7260
7433
  flex-direction: row;
7261
7434
  width: -moz-fit-content;
7262
7435
  width: fit-content;
7436
+ align-items: center;
7263
7437
  }
7264
7438
 
7265
7439
  .StatusHint-icon {
@@ -7267,8 +7441,6 @@ body {
7267
7441
  border-radius: var(--border-radius-full);
7268
7442
  height: var(--spacing-20);
7269
7443
  width: var(--spacing-20);
7270
- margin-right: var(--spacing-20);
7271
- margin-top: var(--spacing-15);
7272
7444
  }
7273
7445
 
7274
7446
  .StatusHint--alert {
@@ -7756,6 +7928,12 @@ body {
7756
7928
  resize: both;
7757
7929
  }
7758
7930
 
7931
+ .Textarea--small {
7932
+ font-size: var(--font-size-s);
7933
+ font-weight: var(--font-weight-medium);
7934
+ line-height: var(--font-height-s);
7935
+ }
7936
+
7759
7937
  /* toast */
7760
7938
 
7761
7939
  .Toast {
@@ -7985,6 +8163,10 @@ body {
7985
8163
  transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
7986
8164
  }
7987
8165
 
8166
+ .Tooltip--small {
8167
+ line-height: var(--font-height-s);
8168
+ }
8169
+
7988
8170
  .Tooltip-text {
7989
8171
  word-break: break-word;
7990
8172
  -webkit-hyphens: auto;