@uipath/apollo-wind 2.56.0 → 2.57.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 (67) hide show
  1. package/dist/components/ui/combobox.cjs +33 -15
  2. package/dist/components/ui/combobox.js +33 -15
  3. package/dist/components/ui/date-picker.cjs +62 -26
  4. package/dist/components/ui/date-picker.js +62 -26
  5. package/dist/components/ui/datetime-picker.cjs +29 -12
  6. package/dist/components/ui/datetime-picker.js +29 -12
  7. package/dist/components/ui/dropdown-menu.cjs +12 -8
  8. package/dist/components/ui/dropdown-menu.js +12 -8
  9. package/dist/components/ui/field-actions/ai-assist-action.cjs +121 -0
  10. package/dist/components/ui/field-actions/ai-assist-action.d.ts +21 -0
  11. package/dist/components/ui/field-actions/ai-assist-action.js +84 -0
  12. package/dist/components/ui/field-actions/collapse.cjs +44 -0
  13. package/dist/components/ui/field-actions/collapse.d.ts +6 -0
  14. package/dist/components/ui/field-actions/collapse.js +4 -0
  15. package/dist/components/ui/field-actions/index.cjs +46 -0
  16. package/dist/components/ui/field-actions/index.d.ts +2 -0
  17. package/dist/components/ui/field-actions/index.js +3 -0
  18. package/dist/components/ui/field-actions/insert-variable-action.cjs +94 -0
  19. package/dist/components/ui/field-actions/insert-variable-action.d.ts +22 -0
  20. package/dist/components/ui/field-actions/insert-variable-action.js +57 -0
  21. package/dist/components/ui/field-addons/index.cjs +50 -0
  22. package/dist/components/ui/field-addons/index.d.ts +3 -0
  23. package/dist/components/ui/field-addons/index.js +4 -0
  24. package/dist/components/ui/field-addons/value-mode-indicator.cjs +57 -0
  25. package/dist/components/ui/field-addons/value-mode-indicator.d.ts +13 -0
  26. package/dist/components/ui/field-addons/value-mode-indicator.js +23 -0
  27. package/dist/components/ui/field-addons/value-mode-menu.cjs +149 -0
  28. package/dist/components/ui/field-addons/value-mode-menu.d.ts +69 -0
  29. package/dist/components/ui/field-addons/value-mode-menu.js +112 -0
  30. package/dist/components/ui/field-addons/value-mode-strings.cjs +69 -0
  31. package/dist/components/ui/field-addons/value-mode-strings.d.ts +32 -0
  32. package/dist/components/ui/field-addons/value-mode-strings.js +29 -0
  33. package/dist/components/ui/form-field.cjs +42 -5
  34. package/dist/components/ui/form-field.d.ts +21 -1
  35. package/dist/components/ui/form-field.js +36 -2
  36. package/dist/components/ui/index.cjs +148 -128
  37. package/dist/components/ui/index.d.ts +2 -0
  38. package/dist/components/ui/index.js +2 -0
  39. package/dist/components/ui/input-group-context.cjs +91 -0
  40. package/dist/components/ui/input-group-context.d.ts +69 -0
  41. package/dist/components/ui/input-group-context.js +42 -0
  42. package/dist/components/ui/input-group.cjs +303 -56
  43. package/dist/components/ui/input-group.d.ts +70 -3
  44. package/dist/components/ui/input-group.js +285 -56
  45. package/dist/components/ui/input.cjs +28 -17
  46. package/dist/components/ui/input.js +28 -17
  47. package/dist/components/ui/lockable-value-field/components/field-header.cjs +16 -114
  48. package/dist/components/ui/lockable-value-field/components/field-header.js +14 -112
  49. package/dist/components/ui/lockable-value-field/lockable-value-field.cjs +4 -12
  50. package/dist/components/ui/lockable-value-field/lockable-value-field.js +4 -12
  51. package/dist/components/ui/multi-select.cjs +82 -58
  52. package/dist/components/ui/multi-select.js +84 -60
  53. package/dist/components/ui/popover.cjs +13 -9
  54. package/dist/components/ui/popover.js +13 -9
  55. package/dist/components/ui/select.cjs +89 -27
  56. package/dist/components/ui/select.d.ts +4 -0
  57. package/dist/components/ui/select.js +90 -28
  58. package/dist/components/ui/textarea.cjs +16 -11
  59. package/dist/components/ui/textarea.js +16 -11
  60. package/dist/index.cjs +61 -11
  61. package/dist/index.d.ts +8 -4
  62. package/dist/index.js +5 -3
  63. package/dist/styles.css +242 -5
  64. package/package.json +1 -1
  65. package/dist/components/ui/lockable-value-field/components/mode-menu-item.cjs +0 -63
  66. package/dist/components/ui/lockable-value-field/components/mode-menu-item.d.ts +0 -9
  67. package/dist/components/ui/lockable-value-field/components/mode-menu-item.js +0 -29
package/dist/styles.css CHANGED
@@ -839,6 +839,9 @@
839
839
  .mt-24 {
840
840
  margin-top: calc(var(--spacing) * 24);
841
841
  }
842
+ .mt-\[5px\] {
843
+ margin-top: 5px;
844
+ }
842
845
  .mt-auto {
843
846
  margin-top: auto;
844
847
  }
@@ -1057,6 +1060,9 @@
1057
1060
  .h-6 {
1058
1061
  height: calc(var(--spacing) * 6);
1059
1062
  }
1063
+ .h-6\.5 {
1064
+ height: calc(var(--spacing) * 6.5);
1065
+ }
1060
1066
  .h-7 {
1061
1067
  height: calc(var(--spacing) * 7);
1062
1068
  }
@@ -1186,6 +1192,12 @@
1186
1192
  .h-screen {
1187
1193
  height: 100vh;
1188
1194
  }
1195
+ .max-h-6\.5 {
1196
+ max-height: calc(var(--spacing) * 6.5);
1197
+ }
1198
+ .max-h-9 {
1199
+ max-height: calc(var(--spacing) * 9);
1200
+ }
1189
1201
  .max-h-16 {
1190
1202
  max-height: calc(var(--spacing) * 16);
1191
1203
  }
@@ -1222,6 +1234,12 @@
1222
1234
  .min-h-5 {
1223
1235
  min-height: calc(var(--spacing) * 5);
1224
1236
  }
1237
+ .min-h-6 {
1238
+ min-height: calc(var(--spacing) * 6);
1239
+ }
1240
+ .min-h-6\.5 {
1241
+ min-height: calc(var(--spacing) * 6.5);
1242
+ }
1225
1243
  .min-h-8 {
1226
1244
  min-height: calc(var(--spacing) * 8);
1227
1245
  }
@@ -1273,6 +1291,9 @@
1273
1291
  .min-h-screen {
1274
1292
  min-height: 100vh;
1275
1293
  }
1294
+ .w-\(--radix-popover-trigger-width\) {
1295
+ width: var(--radix-popover-trigger-width);
1296
+ }
1276
1297
  .w-0 {
1277
1298
  width: calc(var(--spacing) * 0);
1278
1299
  }
@@ -1393,6 +1414,9 @@
1393
1414
  .w-\[--radix-popover-trigger-width\] {
1394
1415
  width: --radix-popover-trigger-width;
1395
1416
  }
1417
+ .w-\[--x\] {
1418
+ width: --x;
1419
+ }
1396
1420
  .w-\[1px\] {
1397
1421
  width: 1px;
1398
1422
  }
@@ -1411,9 +1435,15 @@
1411
1435
  .w-\[42px\] {
1412
1436
  width: 42px;
1413
1437
  }
1438
+ .w-\[48rem\] {
1439
+ width: 48rem;
1440
+ }
1414
1441
  .w-\[50px\] {
1415
1442
  width: 50px;
1416
1443
  }
1444
+ .w-\[56rem\] {
1445
+ width: 56rem;
1446
+ }
1417
1447
  .w-\[60px\] {
1418
1448
  width: 60px;
1419
1449
  }
@@ -1633,6 +1663,9 @@
1633
1663
  .min-w-11 {
1634
1664
  min-width: calc(var(--spacing) * 11);
1635
1665
  }
1666
+ .min-w-16 {
1667
+ min-width: calc(var(--spacing) * 16);
1668
+ }
1636
1669
  .min-w-\[8rem\] {
1637
1670
  min-width: 8rem;
1638
1671
  }
@@ -1824,6 +1857,12 @@
1824
1857
  .grid-cols-12 {
1825
1858
  grid-template-columns: repeat(12, minmax(0, 1fr));
1826
1859
  }
1860
+ .grid-cols-\[6rem_repeat\(3\,minmax\(0\,1fr\)\)\] {
1861
+ grid-template-columns: 6rem repeat(3,minmax(0,1fr));
1862
+ }
1863
+ .grid-cols-\[8rem_repeat\(3\,minmax\(0\,1fr\)\)\] {
1864
+ grid-template-columns: 8rem repeat(3,minmax(0,1fr));
1865
+ }
1827
1866
  .grid-cols-\[minmax\(0\,1fr\)\] {
1828
1867
  grid-template-columns: minmax(0,1fr);
1829
1868
  }
@@ -2068,12 +2107,21 @@
2068
2107
  .gap-y-3 {
2069
2108
  row-gap: calc(var(--spacing) * 3);
2070
2109
  }
2110
+ .gap-y-4 {
2111
+ row-gap: calc(var(--spacing) * 4);
2112
+ }
2113
+ .gap-y-5 {
2114
+ row-gap: calc(var(--spacing) * 5);
2115
+ }
2071
2116
  .gap-y-14 {
2072
2117
  row-gap: calc(var(--spacing) * 14);
2073
2118
  }
2074
2119
  .self-end {
2075
2120
  align-self: flex-end;
2076
2121
  }
2122
+ .self-start {
2123
+ align-self: flex-start;
2124
+ }
2077
2125
  .self-stretch {
2078
2126
  align-self: stretch;
2079
2127
  }
@@ -3789,6 +3837,9 @@
3789
3837
  .pt-px {
3790
3838
  padding-top: 1px;
3791
3839
  }
3840
+ .pr-0 {
3841
+ padding-right: calc(var(--spacing) * 0);
3842
+ }
3792
3843
  .pr-1 {
3793
3844
  padding-right: calc(var(--spacing) * 1);
3794
3845
  }
@@ -4568,6 +4619,9 @@
4568
4619
  .\[--cell-size\:2\.75rem\] {
4569
4620
  --cell-size: 2.75rem;
4570
4621
  }
4622
+ .\[--editor-py\:7px\] {
4623
+ --editor-py: 7px;
4624
+ }
4571
4625
  .\[-ms-overflow-style\:none\] {
4572
4626
  -ms-overflow-style: none;
4573
4627
  }
@@ -4899,6 +4953,17 @@
4899
4953
  cursor: default;
4900
4954
  }
4901
4955
  }
4956
+ .empty\:hidden {
4957
+ &:empty {
4958
+ display: none;
4959
+ }
4960
+ }
4961
+ .empty\:border-t-0 {
4962
+ &:empty {
4963
+ border-top-style: var(--tw-border-style);
4964
+ border-top-width: 0px;
4965
+ }
4966
+ }
4902
4967
  .focus-within\:border-border-hover {
4903
4968
  &:focus-within {
4904
4969
  border-color: var(--border-hover);
@@ -5675,6 +5740,27 @@
5675
5740
  }
5676
5741
  }
5677
5742
  }
5743
+ .has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-2 {
5744
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
5745
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
5746
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5747
+ }
5748
+ }
5749
+ .has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-error {
5750
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
5751
+ --tw-ring-color: var(--error);
5752
+ }
5753
+ }
5754
+ .has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-ring {
5755
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
5756
+ --tw-ring-color: var(--ring);
5757
+ }
5758
+ }
5759
+ .has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-inset {
5760
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
5761
+ --tw-ring-inset: inset;
5762
+ }
5763
+ }
5678
5764
  .has-\[\[data-slot\=input-group-control\]\:disabled\]\:cursor-not-allowed {
5679
5765
  &:has(*:is([data-slot=input-group-control]:disabled)) {
5680
5766
  cursor: not-allowed;
@@ -5691,11 +5777,21 @@
5691
5777
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5692
5778
  }
5693
5779
  }
5780
+ .has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-error {
5781
+ &:has(*:is([data-slot=input-group-control]:focus-visible)) {
5782
+ --tw-ring-color: var(--error);
5783
+ }
5784
+ }
5694
5785
  .has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring {
5695
5786
  &:has(*:is([data-slot=input-group-control]:focus-visible)) {
5696
5787
  --tw-ring-color: var(--ring);
5697
5788
  }
5698
5789
  }
5790
+ .has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-inset {
5791
+ &:has(*:is([data-slot=input-group-control]:focus-visible)) {
5792
+ --tw-ring-inset: inset;
5793
+ }
5794
+ }
5699
5795
  .has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-error {
5700
5796
  &:has(*:is([data-slot][aria-invalid=true])) {
5701
5797
  border-color: var(--error);
@@ -5709,6 +5805,36 @@
5709
5805
  }
5710
5806
  }
5711
5807
  }
5808
+ .has-\[\[data-slot\]\[aria-invalid\=true\]\]\:has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-error {
5809
+ &:has(*:is([data-slot][aria-invalid=true])) {
5810
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
5811
+ --tw-ring-color: var(--error);
5812
+ }
5813
+ }
5814
+ }
5815
+ .has-\[\[data-slot\]\[aria-invalid\=true\]\]\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-error {
5816
+ &:has(*:is([data-slot][aria-invalid=true])) {
5817
+ &:has(*:is([data-slot=input-group-control]:focus-visible)) {
5818
+ --tw-ring-color: var(--error);
5819
+ }
5820
+ }
5821
+ }
5822
+ .has-\[button\[data-slot\=input-group-control\]\:not\(\:disabled\)\:hover\]\:bg-accent {
5823
+ &:has(*:is(button[data-slot=input-group-control]:not(:disabled):hover)) {
5824
+ background-color: var(--accent);
5825
+ }
5826
+ }
5827
+ .has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-end\]\]\:pr-2 {
5828
+ &:has(>[data-slot=input-group-addon][data-align=inline-end]) {
5829
+ padding-right: calc(var(--spacing) * 2);
5830
+ }
5831
+ }
5832
+ .has-\[\>\[hidden\]\]\:border-t-0 {
5833
+ &:has(>[hidden]) {
5834
+ border-top-style: var(--tw-border-style);
5835
+ border-top-width: 0px;
5836
+ }
5837
+ }
5712
5838
  .has-\[\>textarea\]\:h-auto {
5713
5839
  &:has(>textarea) {
5714
5840
  height: auto;
@@ -6386,16 +6512,46 @@
6386
6512
  height: calc(var(--spacing) * 3.5);
6387
6513
  }
6388
6514
  }
6515
+ .future\:h-6 {
6516
+ :is(.future-dark, .future-light) & {
6517
+ height: calc(var(--spacing) * 6);
6518
+ }
6519
+ }
6389
6520
  .future\:h-10 {
6390
6521
  :is(.future-dark, .future-light) & {
6391
6522
  height: calc(var(--spacing) * 10);
6392
6523
  }
6393
6524
  }
6525
+ .future\:h-auto {
6526
+ :is(.future-dark, .future-light) & {
6527
+ height: auto;
6528
+ }
6529
+ }
6394
6530
  .future\:h-full {
6395
6531
  :is(.future-dark, .future-light) & {
6396
6532
  height: 100%;
6397
6533
  }
6398
6534
  }
6535
+ .future\:max-h-6 {
6536
+ :is(.future-dark, .future-light) & {
6537
+ max-height: calc(var(--spacing) * 6);
6538
+ }
6539
+ }
6540
+ .future\:max-h-10 {
6541
+ :is(.future-dark, .future-light) & {
6542
+ max-height: calc(var(--spacing) * 10);
6543
+ }
6544
+ }
6545
+ .future\:min-h-6 {
6546
+ :is(.future-dark, .future-light) & {
6547
+ min-height: calc(var(--spacing) * 6);
6548
+ }
6549
+ }
6550
+ .future\:min-h-10 {
6551
+ :is(.future-dark, .future-light) & {
6552
+ min-height: calc(var(--spacing) * 10);
6553
+ }
6554
+ }
6399
6555
  .future\:w-3\.5 {
6400
6556
  :is(.future-dark, .future-light) & {
6401
6557
  width: calc(var(--spacing) * 3.5);
@@ -6438,6 +6594,12 @@
6438
6594
  border-bottom-left-radius: var(--radius-xl);
6439
6595
  }
6440
6596
  }
6597
+ .future\:border {
6598
+ :is(.future-dark, .future-light) & {
6599
+ border-style: var(--tw-border-style);
6600
+ border-width: 1px;
6601
+ }
6602
+ }
6441
6603
  .future\:border-0 {
6442
6604
  :is(.future-dark, .future-light) & {
6443
6605
  border-style: var(--tw-border-style);
@@ -6454,6 +6616,16 @@
6454
6616
  border-color: var(--border-subtle);
6455
6617
  }
6456
6618
  }
6619
+ .future\:border-error {
6620
+ :is(.future-dark, .future-light) & {
6621
+ border-color: var(--error);
6622
+ }
6623
+ }
6624
+ .future\:border-input {
6625
+ :is(.future-dark, .future-light) & {
6626
+ border-color: var(--input);
6627
+ }
6628
+ }
6457
6629
  .future\:border-transparent {
6458
6630
  :is(.future-dark, .future-light) & {
6459
6631
  border-color: transparent;
@@ -6484,11 +6656,6 @@
6484
6656
  padding: calc(var(--spacing) * 0);
6485
6657
  }
6486
6658
  }
6487
- .future\:px-0 {
6488
- :is(.future-dark, .future-light) & {
6489
- padding-inline: calc(var(--spacing) * 0);
6490
- }
6491
- }
6492
6659
  .future\:px-4 {
6493
6660
  :is(.future-dark, .future-light) & {
6494
6661
  padding-inline: calc(var(--spacing) * 4);
@@ -6504,6 +6671,21 @@
6504
6671
  padding-block: calc(var(--spacing) * 2);
6505
6672
  }
6506
6673
  }
6674
+ .future\:py-px {
6675
+ :is(.future-dark, .future-light) & {
6676
+ padding-block: 1px;
6677
+ }
6678
+ }
6679
+ .future\:pr-0 {
6680
+ :is(.future-dark, .future-light) & {
6681
+ padding-right: calc(var(--spacing) * 0);
6682
+ }
6683
+ }
6684
+ .future\:pl-0 {
6685
+ :is(.future-dark, .future-light) & {
6686
+ padding-left: calc(var(--spacing) * 0);
6687
+ }
6688
+ }
6507
6689
  .future\:text-sm {
6508
6690
  :is(.future-dark, .future-light) & {
6509
6691
  font-size: var(--text-sm);
@@ -6541,6 +6723,14 @@
6541
6723
  color: var(--muted-foreground);
6542
6724
  }
6543
6725
  }
6726
+ .future\:text-muted-foreground\/60 {
6727
+ :is(.future-dark, .future-light) & {
6728
+ color: var(--muted-foreground);
6729
+ @supports (color: color-mix(in lab, red, red)) {
6730
+ color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
6731
+ }
6732
+ }
6733
+ }
6544
6734
  .future\:shadow-none {
6545
6735
  :is(.future-dark, .future-light) & {
6546
6736
  --tw-shadow: 0 0 #0000;
@@ -6561,6 +6751,11 @@
6561
6751
  }
6562
6752
  }
6563
6753
  }
6754
+ .future\:\[--editor-py\:10px\] {
6755
+ :is(.future-dark, .future-light) & {
6756
+ --editor-py: 10px;
6757
+ }
6758
+ }
6564
6759
  .future\:group-aria-invalid\/radio-group\:border-error {
6565
6760
  :is(.future-dark, .future-light) & {
6566
6761
  &:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
@@ -6685,6 +6880,21 @@
6685
6880
  }
6686
6881
  }
6687
6882
  }
6883
+ .future\:has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-offset-2 {
6884
+ :is(.future-dark, .future-light) & {
6885
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
6886
+ --tw-ring-offset-width: 2px;
6887
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6888
+ }
6889
+ }
6890
+ }
6891
+ .future\:has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-offset-background {
6892
+ :is(.future-dark, .future-light) & {
6893
+ &:has(*:is([data-slot=input-group-control] :focus-visible)) {
6894
+ --tw-ring-offset-color: var(--background);
6895
+ }
6896
+ }
6897
+ }
6688
6898
  .future\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-offset-2 {
6689
6899
  :is(.future-dark, .future-light) & {
6690
6900
  &:has(*:is([data-slot=input-group-control]:focus-visible)) {
@@ -6700,6 +6910,13 @@
6700
6910
  }
6701
6911
  }
6702
6912
  }
6913
+ .future\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-error {
6914
+ :is(.future-dark, .future-light) & {
6915
+ &:has(*:is([data-slot][aria-invalid=true])) {
6916
+ border-color: var(--error);
6917
+ }
6918
+ }
6919
+ }
6703
6920
  .future\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-1 {
6704
6921
  :is(.future-dark, .future-light) & {
6705
6922
  &:has(*:is([data-slot][aria-invalid=true])) {
@@ -6718,6 +6935,20 @@
6718
6935
  }
6719
6936
  }
6720
6937
  }
6938
+ .future\:has-\[button\[data-slot\=input-group-control\]\:not\(\:disabled\)\:hover\]\:bg-surface-hover {
6939
+ :is(.future-dark, .future-light) & {
6940
+ &:has(*:is(button[data-slot=input-group-control]:not(:disabled):hover)) {
6941
+ background-color: var(--surface-hover);
6942
+ }
6943
+ }
6944
+ }
6945
+ .future\:has-\[\>\[data-slot\=input-group-addon\]\[data-align\=inline-end\]\]\:pr-2 {
6946
+ :is(.future-dark, .future-light) & {
6947
+ &:has(>[data-slot=input-group-addon][data-align=inline-end]) {
6948
+ padding-right: calc(var(--spacing) * 2);
6949
+ }
6950
+ }
6951
+ }
6721
6952
  .future\:aria-invalid\:border-error {
6722
6953
  :is(.future-dark, .future-light) & {
6723
6954
  &[aria-invalid="true"] {
@@ -6997,6 +7228,12 @@
6997
7228
  height: calc(var(--spacing) * 3);
6998
7229
  }
6999
7230
  }
7231
+ .\[\&_svg\]\:size-3\.5 {
7232
+ & svg {
7233
+ width: calc(var(--spacing) * 3.5);
7234
+ height: calc(var(--spacing) * 3.5);
7235
+ }
7236
+ }
7000
7237
  .\[\&_svg\]\:size-4 {
7001
7238
  & svg {
7002
7239
  width: calc(var(--spacing) * 4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.56.0",
3
+ "version": "2.57.0",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,63 +0,0 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- ModeMenuItem: ()=>ModeMenuItem
28
- });
29
- const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
- const external_dropdown_menu_cjs_namespaceObject = require("../../dropdown-menu.cjs");
31
- const index_cjs_namespaceObject = require("../../../../lib/index.cjs");
32
- function ModeMenuItem({ icon: Icon, label, description, active, onClick }) {
33
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuItem, {
34
- className: "flex-col items-start gap-0.5 py-2",
35
- onClick: onClick,
36
- children: [
37
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
38
- className: "flex items-center gap-2",
39
- children: [
40
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Icon, {
41
- size: 13,
42
- className: active ? 'text-brand' : 'text-foreground-muted'
43
- }),
44
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
45
- className: (0, index_cjs_namespaceObject.cn)('text-xs font-medium', active ? 'text-brand' : 'text-foreground'),
46
- children: label
47
- })
48
- ]
49
- }),
50
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
51
- className: "pl-6 text-[11px] leading-4 text-foreground-subtle",
52
- children: description
53
- })
54
- ]
55
- });
56
- }
57
- exports.ModeMenuItem = __webpack_exports__.ModeMenuItem;
58
- for(var __rspack_i in __webpack_exports__)if (-1 === [
59
- "ModeMenuItem"
60
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
61
- Object.defineProperty(exports, '__esModule', {
62
- value: true
63
- });
@@ -1,9 +0,0 @@
1
- import type { LucideIcon } from 'lucide-react';
2
- /** One entry in the Fixed/Expression value-type dropdown. */
3
- export declare function ModeMenuItem({ icon: Icon, label, description, active, onClick, }: {
4
- icon: LucideIcon;
5
- label: string;
6
- description: string;
7
- active: boolean;
8
- onClick: () => void;
9
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,29 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { DropdownMenuItem } from "../../dropdown-menu.js";
3
- import { cn } from "../../../../lib/index.js";
4
- function ModeMenuItem({ icon: Icon, label, description, active, onClick }) {
5
- return /*#__PURE__*/ jsxs(DropdownMenuItem, {
6
- className: "flex-col items-start gap-0.5 py-2",
7
- onClick: onClick,
8
- children: [
9
- /*#__PURE__*/ jsxs("div", {
10
- className: "flex items-center gap-2",
11
- children: [
12
- /*#__PURE__*/ jsx(Icon, {
13
- size: 13,
14
- className: active ? 'text-brand' : 'text-foreground-muted'
15
- }),
16
- /*#__PURE__*/ jsx("span", {
17
- className: cn('text-xs font-medium', active ? 'text-brand' : 'text-foreground'),
18
- children: label
19
- })
20
- ]
21
- }),
22
- /*#__PURE__*/ jsx("span", {
23
- className: "pl-6 text-[11px] leading-4 text-foreground-subtle",
24
- children: description
25
- })
26
- ]
27
- });
28
- }
29
- export { ModeMenuItem };