@innovaccer/design-system 4.12.0 → 4.14.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 (43) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/css/dist/index.css +218 -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/css/src/variables/index.css +10 -0
  18. package/dist/brotli/index.js +1 -1
  19. package/dist/brotli/index.js.br +0 -0
  20. package/dist/cjs/index.js +1 -1
  21. package/dist/core/common.type.d.ts +1 -0
  22. package/dist/core/components/atoms/_chip/index.d.ts +2 -1
  23. package/dist/core/components/atoms/badge/Badge.d.ts +2 -2
  24. package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
  25. package/dist/core/components/atoms/label/Label.d.ts +2 -0
  26. package/dist/core/components/atoms/message/Message.d.ts +2 -0
  27. package/dist/core/components/atoms/metricInput/MetricInput.d.ts +1 -1
  28. package/dist/core/components/atoms/statusHint/StatusHint.d.ts +2 -0
  29. package/dist/core/components/atoms/textarea/Textarea.d.ts +2 -0
  30. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +2 -0
  31. package/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts +2 -0
  32. package/dist/core/components/molecules/tooltip/Tooltip.d.ts +2 -0
  33. package/dist/core/components/organisms/menu/MenuList.d.ts +3 -0
  34. package/dist/core/components/organisms/select/SelectContext.d.ts +2 -1
  35. package/dist/esm/index.js +340 -256
  36. package/dist/gzip/index.js +1 -1
  37. package/dist/gzip/index.js.gz +0 -0
  38. package/dist/index.js +386 -301
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.umd.css +218 -26
  41. package/dist/index.umd.js +1 -1
  42. package/dist/types/tsconfig.type.tsbuildinfo +46 -44
  43. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,95 @@
1
+ ## 4.14.0 (2025-09-30)
2
+
3
+ ### Highlights
4
+
5
+ - feat(tokens): add ultra light tokens in the css (967398fa)
6
+ - fix(metricInput): fix metric input arrowbutton while ESM build (3de747c6)
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(tokens): add ultra light tokens in the css (967398fa)
23
+
24
+ ### Fixes
25
+
26
+ - fix(metricInput): fix metric input arrowbutton while ESM build (3de747c6)
27
+
28
+ ### Improvements
29
+
30
+ NA
31
+
32
+ ### Documentation
33
+
34
+ NA
35
+
36
+ ---
37
+
38
+ ## 4.13.0 (2025-09-22)
39
+
40
+ ### Highlights
41
+
42
+ - feat(editableChipInput): add small variant support in editableChipInput component (cbb07d28)
43
+ - feat(chipInput): add small variant support in chipInput component (48b9b85d)
44
+ - feat(select): add small variant support in select component (4c72ae07)
45
+ - feat(chip): add small variant support in chip component (e7829052)
46
+ - feat(button): add small variant support in button component (38052c54)
47
+
48
+ ### Breaking changes
49
+
50
+ NA
51
+
52
+ ### Migration guide
53
+
54
+ NA
55
+
56
+ ### Deprecations
57
+
58
+ NA
59
+
60
+ ### Features
61
+
62
+ - feat(editableChipInput): add small variant support in editableChipInput component (cbb07d28)
63
+ - feat(chipInput): add small variant support in chipInput component (48b9b85d)
64
+ - feat(select): add small variant support in select component (4c72ae07)
65
+ - feat(chip): add small variant support in chip component (e7829052)
66
+ - feat(editableInput): add small variant support in editableInput component (6e720070)
67
+ - feat(menu): add small variant support in menu component (f3bace0c)
68
+ - feat(textField): add small variant support in textField component (6a76f7aa)
69
+ - feat(metricInput): add small variant support in metric input component (3fa029f7)
70
+ - feat(input): add small variant support in input component (77730a3f)
71
+ - feat(textarea): add small variant support in textarea component (508e2872)
72
+ - feat(badge): add hover event support in badge component (10831bd1)
73
+ - feat(statusHint): add new small variant support in status hint (0216d7b0)
74
+ - feat(tooltip): add small size support in tooltip component (e0b4da4d)
75
+ - feat(message): add small variant support in message (8d523382)
76
+ - feat(button): add small variant support in button component (38052c54)
77
+ - feat(label): add small variant support in label component (d29c11a8)
78
+
79
+ ### Fixes
80
+
81
+ NA
82
+
83
+ ### Improvements
84
+
85
+ - chore: add AGENTS.md file (fbc14017)
86
+
87
+ ### Documentation
88
+
89
+ NA
90
+
91
+ ---
92
+
1
93
  ## 4.12.0 (2025-08-14)
2
94
 
3
95
  ### Highlights
@@ -138,6 +138,16 @@
138
138
  --accent4-lightest: var(--nimbu-lightest);
139
139
  --inverse-lightest: var(--night-lightest);
140
140
 
141
+ /* Ultra Light */
142
+ --primary-ultra-light: #eef6fc;
143
+ --success-ultra-light: #ecf7f0;
144
+ --alert-ultra-light: #fcf1f1;
145
+ --warning-ultra-light: #fffae4;
146
+ --accent1-ultra-light: #fef3e7;
147
+ --accent2-ultra-light: #f0ecf7;
148
+ --accent3-ultra-light: #f1f3fc;
149
+ --accent4-ultra-light: #f2f9e7;
150
+
141
151
  /* shadow */
142
152
  --primary-shadow: rgba(0, 112, 221, 0.16);
143
153
  --secondary-shadow: rgba(213, 213, 213, 0.16);
@@ -679,6 +689,9 @@ body {
679
689
  .Label {
680
690
  display: inline-flex;
681
691
  }
692
+ .Label--small {
693
+ font-size: var(--font-size-s);
694
+ }
682
695
 
683
696
  .Label--withInput {
684
697
  margin-bottom: var(--spacing-10);
@@ -699,6 +712,10 @@ body {
699
712
  margin-left: var(--spacing-10);
700
713
  }
701
714
 
715
+ .Label-optionalText--small {
716
+ font-size: var(--font-size-s);
717
+ }
718
+
702
719
  .Label--disabled {
703
720
  color: var(--text-disabled);
704
721
  }
@@ -1407,6 +1424,8 @@ body {
1407
1424
  padding-left: var(--spacing-20);
1408
1425
  padding-top: var(--spacing-10);
1409
1426
  padding-bottom: var(--spacing-10);
1427
+ font-size: var(--font-size-s);
1428
+ font-weight: var(--font-weight-medium);
1410
1429
  }
1411
1430
 
1412
1431
  .Button--tinySquare {
@@ -2427,7 +2446,6 @@ body {
2427
2446
  box-sizing: border-box;
2428
2447
  border-radius: var(--border-radius-30);
2429
2448
  padding-right: var(--spacing-20);
2430
- padding-left: var(--spacing-20);
2431
2449
  padding-top: var(--spacing-05);
2432
2450
  padding-bottom: var(--spacing-05);
2433
2451
  width: -moz-fit-content;
@@ -2438,10 +2456,18 @@ body {
2438
2456
  align-items: center;
2439
2457
  flex-direction: row;
2440
2458
  cursor: default;
2441
- height: var(--spacing-60);
2442
2459
  transition: var(--duration--fast-01) var(--standard-productive-curve);
2443
2460
  }
2444
2461
 
2462
+ .Chip-size--regular {
2463
+ height: var(--spacing-60);
2464
+ padding-left: var(--spacing-20);
2465
+ }
2466
+ .Chip-size--small {
2467
+ height: 20px;
2468
+ padding-left: var(--spacing-15);
2469
+ }
2470
+
2445
2471
  .Chip-wrapper {
2446
2472
  display: inline-flex;
2447
2473
  align-items: center;
@@ -2456,6 +2482,7 @@ body {
2456
2482
  .Chip-icon--right {
2457
2483
  display: flex;
2458
2484
  align-items: center;
2485
+ justify-content: center;
2459
2486
  border-radius: var(--border-radius-full);
2460
2487
  margin-left: var(--spacing-05);
2461
2488
  }
@@ -2643,13 +2670,21 @@ body {
2643
2670
  display: flex;
2644
2671
  border-radius: var(--border-radius-10);
2645
2672
  box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary);
2646
- padding-left: 10px;
2647
- padding-right: 10px;
2648
2673
  background: var(--white);
2649
2674
  cursor: text;
2650
2675
  flex: 100%;
2651
2676
  }
2652
2677
 
2678
+ .ChipInput--regular {
2679
+ padding-left: 10px;
2680
+ padding-right: 10px;
2681
+ }
2682
+
2683
+ .ChipInput--small {
2684
+ padding-left: var(--spacing-20);
2685
+ padding-right: var(--spacing-20);
2686
+ }
2687
+
2653
2688
  .ChipInput:focus,
2654
2689
  .ChipInput:focus-visible {
2655
2690
  outline: var(--spacing-2-5) var(--primary);
@@ -2704,11 +2739,23 @@ body {
2704
2739
  min-width: 15%;
2705
2740
  flex: 0px;
2706
2741
  box-sizing: border-box;
2742
+ font-family: var(--font-family);
2743
+ font-size: var(--font-size);
2744
+ }
2745
+
2746
+ .ChipInput-input--small {
2747
+ height: 20px;
2748
+ margin-top: var(--spacing-05);
2749
+ margin-bottom: var(--spacing-05);
2750
+ font-size: var(--font-size-s);
2751
+ line-height: var(--font-height-s);
2752
+ font-weight: var(--font-weight-medium);
2753
+ }
2754
+
2755
+ .ChipInput-input--regular {
2707
2756
  height: var(--spacing-60);
2708
2757
  margin-top: var(--spacing-10);
2709
2758
  margin-bottom: var(--spacing-10);
2710
- font-family: var(--font-family);
2711
- font-size: var(--font-size);
2712
2759
  }
2713
2760
 
2714
2761
  .ChipInput:hover .ChipInput-input {
@@ -2720,14 +2767,22 @@ body {
2720
2767
  }
2721
2768
 
2722
2769
  .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
2770
  cursor: pointer;
2728
2771
  border-radius: var(--border-radius-full);
2729
2772
  }
2730
2773
 
2774
+ .ChipInput-icon--small {
2775
+ margin-left: var(--spacing-15);
2776
+ margin-top: var(--spacing-15);
2777
+ height: var(--spacing-30);
2778
+ }
2779
+
2780
+ .ChipInput-icon--regular {
2781
+ height: var(--spacing-40);
2782
+ margin-left: var(--spacing-20);
2783
+ margin-top: var(--spacing-20);
2784
+ }
2785
+
2731
2786
  .ChipInput-icon:hover {
2732
2787
  background-color: var(--secondary);
2733
2788
  }
@@ -3762,8 +3817,6 @@ body {
3762
3817
  border: var(--border-width-2-5) solid transparent;
3763
3818
  box-sizing: border-box;
3764
3819
  white-space: nowrap;
3765
- padding-left: var(--spacing-30);
3766
- padding-right: var(--spacing-30);
3767
3820
  display: flex;
3768
3821
  align-items: center;
3769
3822
  }
@@ -3771,11 +3824,18 @@ body {
3771
3824
  .EditableInput-default--regular {
3772
3825
  min-width: var(--spacing-640);
3773
3826
  height: var(--spacing-80);
3827
+ padding-left: var(--spacing-30);
3828
+ padding-right: var(--spacing-30);
3774
3829
  }
3775
3830
 
3776
3831
  .EditableInput-default--tiny {
3777
3832
  min-width: var(--spacing-240);
3778
3833
  height: var(--spacing-60);
3834
+ font-size: var(--font-size-s);
3835
+ font-weight: var(--font-weight-medium);
3836
+ line-height: var(--font-height-s);
3837
+ padding-left: var(--spacing-20);
3838
+ padding-right: var(--spacing-20);
3779
3839
  }
3780
3840
 
3781
3841
  .EditableInput-Input--tiny {
@@ -5028,6 +5088,8 @@ body {
5028
5088
  height: var(--font-height-m);
5029
5089
  padding-top: var(--spacing-10);
5030
5090
  padding-bottom: var(--spacing-10);
5091
+ padding-left: var(--spacing-20);
5092
+ padding-right: var(--spacing-20);
5031
5093
  }
5032
5094
 
5033
5095
  .Input--regular {
@@ -5131,6 +5193,12 @@ body {
5131
5193
  font-size: var(--font-size-m);
5132
5194
  }
5133
5195
 
5196
+ .Input-input--tiny {
5197
+ line-height: var(--font-height-s);
5198
+ font-size: var(--font-size-s);
5199
+ font-weight: var(--font-weight-medium);
5200
+ }
5201
+
5134
5202
  .Input-icon {
5135
5203
  display: flex;
5136
5204
  align-content: center;
@@ -5528,6 +5596,13 @@ body {
5528
5596
  box-sizing: border-box;
5529
5597
  }
5530
5598
 
5599
+ .Menu-Item--tight {
5600
+ padding: var(--spacing-10) var(--spacing-20);
5601
+ font-size: var(--font-size-s);
5602
+ font-weight: var(--font-weight-medium);
5603
+ line-height: var(--font-height-s);
5604
+ }
5605
+
5531
5606
  .Menu-Group-Label {
5532
5607
  display: flex;
5533
5608
  align-items: center;
@@ -5552,6 +5627,10 @@ body {
5552
5627
  box-sizing: border-box;
5553
5628
  }
5554
5629
 
5630
+ .Message--small {
5631
+ padding: var(--spacing-20);
5632
+ }
5633
+
5555
5634
  .Message--alert {
5556
5635
  border-color: var(--alert);
5557
5636
  background-color: rgba(217, 55, 55, 0.04);
@@ -5572,11 +5651,16 @@ body {
5572
5651
  background-color: rgba(240, 125, 0, 0.04);
5573
5652
  }
5574
5653
 
5575
- .Message-icon {
5654
+ .Message-icon--regular {
5576
5655
  margin-right: var(--spacing-40);
5577
5656
  padding-top: var(--spacing-05);
5578
5657
  }
5579
5658
 
5659
+ .Message-icon--small {
5660
+ margin-right: var(--spacing-20);
5661
+ padding-top: var(--spacing-05) !important;
5662
+ }
5663
+
5580
5664
  .Message-icon--withTitle {
5581
5665
  padding-top: var(--spacing-10);
5582
5666
  }
@@ -5585,10 +5669,22 @@ body {
5585
5669
  color: var(--accent1);
5586
5670
  }
5587
5671
 
5588
- .Message-heading {
5672
+ .Message-heading--regular {
5589
5673
  margin-bottom: var(--spacing-10);
5590
5674
  }
5591
5675
 
5676
+ .Message-heading--small {
5677
+ font-size: var(--font-size);
5678
+ line-height: var(--font-height);
5679
+ margin-bottom: var(--spacing-05);
5680
+ }
5681
+
5682
+ .Message-text--small {
5683
+ font-size: var(--font-size-s);
5684
+ line-height: var(--font-height-s);
5685
+ font-weight: var(--font-weight-medium);
5686
+ }
5687
+
5592
5688
  .Message-heading--alert,
5593
5689
  .Message-text--alert {
5594
5690
  color: var(--alert-darker) !important;
@@ -5612,9 +5708,16 @@ body {
5612
5708
  .Message-actions {
5613
5709
  display: flex;
5614
5710
  align-items: center;
5711
+ }
5712
+
5713
+ .Message-actions--regular {
5615
5714
  margin-top: var(--spacing-30);
5616
5715
  }
5617
5716
 
5717
+ .Message-actions--small {
5718
+ margin-top: var(--spacing-10);
5719
+ }
5720
+
5618
5721
  .Meta {
5619
5722
  display: flex;
5620
5723
  flex-direction: row;
@@ -5713,8 +5816,8 @@ body {
5713
5816
  box-sizing: border-box;
5714
5817
  border-radius: var(--border-radius-10);
5715
5818
  border: var(--border);
5716
- padding-right: var(--spacing-10);
5717
5819
  background: var(--white);
5820
+ overflow: hidden;
5718
5821
  transition: var(--duration--fast-01) var(--standard-productive-curve);
5719
5822
  }
5720
5823
 
@@ -5728,6 +5831,11 @@ body {
5728
5831
  padding-left: var(--spacing-40);
5729
5832
  }
5730
5833
 
5834
+ .MetricInput--small {
5835
+ height: var(--spacing-60);
5836
+ padding-left: var(--spacing-20);
5837
+ }
5838
+
5731
5839
  .MetricInput:hover {
5732
5840
  background: var(--secondary-lightest);
5733
5841
  cursor: text;
@@ -5792,6 +5900,17 @@ body {
5792
5900
  font-size: var(--font-size-m);
5793
5901
  }
5794
5902
 
5903
+ .MetricInput-input--regular {
5904
+ line-height: var(--font-height);
5905
+ font-size: var(--font-size);
5906
+ }
5907
+
5908
+ .MetricInput-input--small {
5909
+ line-height: var(--font-height-s);
5910
+ font-size: var(--font-size-s);
5911
+ font-weight: var(--font-weight-medium);
5912
+ }
5913
+
5795
5914
  .MetricInput-input::-moz-placeholder {
5796
5915
  color: var(--inverse-lighter);
5797
5916
  }
@@ -5822,6 +5941,10 @@ body {
5822
5941
  line-height: var(--font-height-m);
5823
5942
  }
5824
5943
 
5944
+ .MetricInput-icon--small {
5945
+ margin-right: var(--spacing-10);
5946
+ }
5947
+
5825
5948
  .MetricInput-input::-webkit-inner-spin-button,
5826
5949
  .MetricInput-input::-webkit-outer-spin-button {
5827
5950
  -webkit-appearance: none;
@@ -5830,16 +5953,55 @@ body {
5830
5953
  margin: 0;
5831
5954
  }
5832
5955
 
5833
- .MetricInput-arrowIcon--large {
5834
- height: var(--spacing-40);
5835
- width: var(--spacing-40);
5836
- border-radius: var(--border-radius-05);
5956
+ .MetricInput-arrowIcons {
5957
+ border-left: var(--border);
5958
+ box-sizing: border-box;
5959
+ border-radius: 0;
5960
+ background: transparent;
5961
+ display: flex;
5962
+ flex-direction: column;
5963
+ height: 100%;
5964
+ flex-shrink: 0;
5965
+ overflow: hidden;
5837
5966
  }
5838
5967
 
5839
- .MetricInput-arrowIcon--regular {
5840
- height: var(--spacing-30);
5841
- width: var(--spacing-30);
5842
- border-radius: var(--border-radius-05);
5968
+ .MetricInput-arrowButton {
5969
+ height: 50%;
5970
+ border: none;
5971
+ background: var(--secondary-light);
5972
+ color: var(--inverse);
5973
+ cursor: pointer;
5974
+ display: flex;
5975
+ align-items: center;
5976
+ justify-content: center;
5977
+ padding: 0;
5978
+ margin: 0;
5979
+ -webkit-user-select: none;
5980
+ -moz-user-select: none;
5981
+ user-select: none;
5982
+ overflow: hidden;
5983
+ }
5984
+
5985
+ .MetricInput-arrowButton:hover {
5986
+ background: var(--secondary);
5987
+ }
5988
+
5989
+ .MetricInput-arrowButton:active {
5990
+ background: var(--secondary-dark);
5991
+ }
5992
+
5993
+ .MetricInput-arrowButton:focus {
5994
+ outline: 0;
5995
+ box-shadow: var(--shadow-spread) var(--secondary-shadow);
5996
+ }
5997
+
5998
+ .MetricInput-arrowIcons--small,
5999
+ .MetricInput-arrowIcons--regular {
6000
+ width: 20px;
6001
+ }
6002
+
6003
+ .MetricInput-arrowIcons--large {
6004
+ width: var(--spacing-60);
5843
6005
  }
5844
6006
 
5845
6007
  @keyframes modal-open {
@@ -6794,7 +6956,7 @@ body {
6794
6956
 
6795
6957
  .Select-trigger--small {
6796
6958
  height: var(--spacing-60);
6797
- padding-right: var(--spacing-20);
6959
+ padding-right: var(--spacing-10);
6798
6960
  padding-left: var(--spacing-20);
6799
6961
  }
6800
6962
 
@@ -6865,6 +7027,27 @@ body {
6865
7027
  width: 100%;
6866
7028
  }
6867
7029
 
7030
+ .Select-trigger--textSmall {
7031
+ font-size: var(--font-size-s);
7032
+ line-height: var(--font-height-s);
7033
+ font-weight: var(--font-weight-medium);
7034
+ }
7035
+
7036
+ .Select-option--tight {
7037
+ padding: var(--spacing-10) var(--spacing-20);
7038
+ }
7039
+
7040
+ .Select-input--tiny {
7041
+ padding-right: var(--spacing-10);
7042
+ height: var(--spacing-60);
7043
+ }
7044
+
7045
+ .Select-option--textTight {
7046
+ font-size: var(--font-size-s);
7047
+ line-height: var(--font-height-s);
7048
+ font-weight: var(--font-weight-medium);
7049
+ }
7050
+
6868
7051
  .Selection-card {
6869
7052
  border-radius: var(--border-radius-10);
6870
7053
  position: relative;
@@ -7260,6 +7443,7 @@ body {
7260
7443
  flex-direction: row;
7261
7444
  width: -moz-fit-content;
7262
7445
  width: fit-content;
7446
+ align-items: center;
7263
7447
  }
7264
7448
 
7265
7449
  .StatusHint-icon {
@@ -7267,8 +7451,6 @@ body {
7267
7451
  border-radius: var(--border-radius-full);
7268
7452
  height: var(--spacing-20);
7269
7453
  width: var(--spacing-20);
7270
- margin-right: var(--spacing-20);
7271
- margin-top: var(--spacing-15);
7272
7454
  }
7273
7455
 
7274
7456
  .StatusHint--alert {
@@ -7756,6 +7938,12 @@ body {
7756
7938
  resize: both;
7757
7939
  }
7758
7940
 
7941
+ .Textarea--small {
7942
+ font-size: var(--font-size-s);
7943
+ font-weight: var(--font-weight-medium);
7944
+ line-height: var(--font-height-s);
7945
+ }
7946
+
7759
7947
  /* toast */
7760
7948
 
7761
7949
  .Toast {
@@ -7985,6 +8173,10 @@ body {
7985
8173
  transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
7986
8174
  }
7987
8175
 
8176
+ .Tooltip--small {
8177
+ line-height: var(--font-height-s);
8178
+ }
8179
+
7988
8180
  .Tooltip-text {
7989
8181
  word-break: break-word;
7990
8182
  -webkit-hyphens: auto;