@uipath/apollo-wind 2.87.0 → 2.88.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 (56) hide show
  1. package/dist/components/ui/connection-picker/components/connection-actions-menu.cjs +129 -0
  2. package/dist/components/ui/connection-picker/components/connection-actions-menu.d.ts +21 -0
  3. package/dist/components/ui/connection-picker/components/connection-actions-menu.js +95 -0
  4. package/dist/components/ui/connection-picker/components/connection-status.cjs +81 -0
  5. package/dist/components/ui/connection-picker/components/connection-status.d.ts +22 -0
  6. package/dist/components/ui/connection-picker/components/connection-status.js +41 -0
  7. package/dist/components/ui/connection-picker/connection-picker.cjs +411 -0
  8. package/dist/components/ui/connection-picker/connection-picker.d.ts +12 -0
  9. package/dist/components/ui/connection-picker/connection-picker.js +374 -0
  10. package/dist/components/ui/connection-picker/index.cjs +39 -0
  11. package/dist/components/ui/connection-picker/index.d.ts +2 -0
  12. package/dist/components/ui/connection-picker/index.js +2 -0
  13. package/dist/components/ui/connection-picker/types.cjs +18 -0
  14. package/dist/components/ui/connection-picker/types.d.ts +124 -0
  15. package/dist/components/ui/connection-picker/types.js +0 -0
  16. package/dist/components/ui/folder-picker/folder-picker.cjs +4 -3
  17. package/dist/components/ui/folder-picker/folder-picker.js +4 -3
  18. package/dist/components/ui/index.cjs +270 -244
  19. package/dist/components/ui/index.d.ts +2 -0
  20. package/dist/components/ui/index.js +2 -0
  21. package/dist/components/ui/{folder-picker/components/folder-picker-empty-state.cjs → picker-empty-state.cjs} +11 -11
  22. package/dist/components/ui/picker-empty-state.d.ts +33 -0
  23. package/dist/components/ui/{folder-picker/components/folder-picker-empty-state.js → picker-empty-state.js} +9 -9
  24. package/dist/components/ui/resource-picker/command-value.cjs +48 -0
  25. package/dist/components/ui/resource-picker/command-value.d.ts +11 -0
  26. package/dist/components/ui/resource-picker/command-value.js +11 -0
  27. package/dist/components/ui/resource-picker/components/resource-group-header.cjs +102 -0
  28. package/dist/components/ui/resource-picker/components/resource-group-header.d.ts +44 -0
  29. package/dist/components/ui/resource-picker/components/resource-group-header.js +65 -0
  30. package/dist/components/ui/resource-picker/components/resource-picker-footer.cjs +55 -0
  31. package/dist/components/ui/resource-picker/components/resource-picker-footer.d.ts +14 -0
  32. package/dist/components/ui/resource-picker/components/resource-picker-footer.js +21 -0
  33. package/dist/components/ui/resource-picker/components/resource-row-actions-menu.cjs +136 -0
  34. package/dist/components/ui/resource-picker/components/resource-row-actions-menu.d.ts +30 -0
  35. package/dist/components/ui/resource-picker/components/resource-row-actions-menu.js +102 -0
  36. package/dist/components/ui/resource-picker/components/resource-row.cjs +115 -0
  37. package/dist/components/ui/resource-picker/components/resource-row.d.ts +16 -0
  38. package/dist/components/ui/resource-picker/components/resource-row.js +81 -0
  39. package/dist/components/ui/resource-picker/focus.cjs +66 -0
  40. package/dist/components/ui/resource-picker/focus.d.ts +1 -0
  41. package/dist/components/ui/resource-picker/focus.js +32 -0
  42. package/dist/components/ui/resource-picker/index.cjs +42 -0
  43. package/dist/components/ui/resource-picker/index.d.ts +2 -0
  44. package/dist/components/ui/resource-picker/index.js +2 -0
  45. package/dist/components/ui/resource-picker/resource-picker.cjs +606 -0
  46. package/dist/components/ui/resource-picker/resource-picker.d.ts +40 -0
  47. package/dist/components/ui/resource-picker/resource-picker.js +566 -0
  48. package/dist/components/ui/resource-picker/types.cjs +50 -0
  49. package/dist/components/ui/resource-picker/types.d.ts +209 -0
  50. package/dist/components/ui/resource-picker/types.js +16 -0
  51. package/dist/index.cjs +24 -7
  52. package/dist/index.d.ts +4 -0
  53. package/dist/index.js +3 -1
  54. package/dist/styles.css +75 -29
  55. package/package.json +1 -1
  56. package/dist/components/ui/folder-picker/components/folder-picker-empty-state.d.ts +0 -26
package/dist/styles.css CHANGED
@@ -1120,6 +1120,10 @@
1120
1120
  width: calc(var(--spacing) * 1.5);
1121
1121
  height: calc(var(--spacing) * 1.5);
1122
1122
  }
1123
+ .size-2 {
1124
+ width: calc(var(--spacing) * 2);
1125
+ height: calc(var(--spacing) * 2);
1126
+ }
1123
1127
  .size-2\.5 {
1124
1128
  width: calc(var(--spacing) * 2.5);
1125
1129
  height: calc(var(--spacing) * 2.5);
@@ -1152,10 +1156,6 @@
1152
1156
  width: calc(var(--spacing) * 8);
1153
1157
  height: calc(var(--spacing) * 8);
1154
1158
  }
1155
- .size-9 {
1156
- width: calc(var(--spacing) * 9);
1157
- height: calc(var(--spacing) * 9);
1158
- }
1159
1159
  .size-10 {
1160
1160
  width: calc(var(--spacing) * 10);
1161
1161
  height: calc(var(--spacing) * 10);
@@ -1838,6 +1838,9 @@
1838
1838
  .max-w-\[6rem\] {
1839
1839
  max-width: 6rem;
1840
1840
  }
1841
+ .max-w-\[45\%\] {
1842
+ max-width: 45%;
1843
+ }
1841
1844
  .max-w-\[80\%\] {
1842
1845
  max-width: 80%;
1843
1846
  }
@@ -1847,9 +1850,6 @@
1847
1850
  .max-w-\[120px\] {
1848
1851
  max-width: 120px;
1849
1852
  }
1850
- .max-w-\[180px\] {
1851
- max-width: 180px;
1852
- }
1853
1853
  .max-w-\[200px\] {
1854
1854
  max-width: 200px;
1855
1855
  }
@@ -1949,9 +1949,15 @@
1949
1949
  .min-w-32 {
1950
1950
  min-width: calc(var(--spacing) * 32);
1951
1951
  }
1952
+ .min-w-36 {
1953
+ min-width: calc(var(--spacing) * 36);
1954
+ }
1952
1955
  .min-w-40 {
1953
1956
  min-width: calc(var(--spacing) * 40);
1954
1957
  }
1958
+ .min-w-44 {
1959
+ min-width: calc(var(--spacing) * 44);
1960
+ }
1955
1961
  .min-w-72 {
1956
1962
  min-width: calc(var(--spacing) * 72);
1957
1963
  }
@@ -3861,6 +3867,9 @@
3861
3867
  .bg-slate-950 {
3862
3868
  background-color: var(--color-slate-950);
3863
3869
  }
3870
+ .bg-success {
3871
+ background-color: var(--success);
3872
+ }
3864
3873
  .bg-success-background {
3865
3874
  background-color: var(--success-background);
3866
3875
  }
@@ -4005,6 +4014,9 @@
4005
4014
  .bg-violet-950 {
4006
4015
  background-color: var(--color-violet-950);
4007
4016
  }
4017
+ .bg-warning {
4018
+ background-color: var(--warning);
4019
+ }
4008
4020
  .bg-warning-background {
4009
4021
  background-color: var(--warning-background);
4010
4022
  }
@@ -5626,13 +5638,6 @@
5626
5638
  }
5627
5639
  }
5628
5640
  }
5629
- .group-hover\:text-primary {
5630
- &:is(:where(.group):hover *) {
5631
- @media (hover: hover) {
5632
- color: var(--primary);
5633
- }
5634
- }
5635
- }
5636
5641
  .group-hover\:opacity-100 {
5637
5642
  &:is(:where(.group):hover *) {
5638
5643
  @media (hover: hover) {
@@ -5661,6 +5666,13 @@
5661
5666
  }
5662
5667
  }
5663
5668
  }
5669
+ .group-hover\/input-group\:opacity-100 {
5670
+ &:is(:where(.group\/input-group):hover *) {
5671
+ @media (hover: hover) {
5672
+ opacity: 100%;
5673
+ }
5674
+ }
5675
+ }
5664
5676
  .group-hover\/menu-item\:opacity-100 {
5665
5677
  &:is(:where(.group\/menu-item):hover *) {
5666
5678
  @media (hover: hover) {
@@ -5675,6 +5687,13 @@
5675
5687
  }
5676
5688
  }
5677
5689
  }
5690
+ .group-hover\/row\:opacity-100 {
5691
+ &:is(:where(.group\/row):hover *) {
5692
+ @media (hover: hover) {
5693
+ opacity: 100%;
5694
+ }
5695
+ }
5696
+ }
5678
5697
  .group-hover\/section\:opacity-100 {
5679
5698
  &:is(:where(.group\/section):hover *) {
5680
5699
  @media (hover: hover) {
@@ -5697,6 +5716,11 @@
5697
5716
  opacity: 50%;
5698
5717
  }
5699
5718
  }
5719
+ .group-has-\[\[data-slot\=input-group-control\]\:focus-visible\]\/input-group\:opacity-100 {
5720
+ &:is(:where(.group\/input-group):has(*:is([data-slot=input-group-control]:focus-visible)) *) {
5721
+ opacity: 100%;
5722
+ }
5723
+ }
5700
5724
  .group-has-\[\[data-slot\=message-actions\]\]\/message\:-translate-y-10 {
5701
5725
  &:is(:where(.group\/message):has(*:is([data-slot=message-actions])) *) {
5702
5726
  --tw-translate-y: calc(var(--spacing) * -10);
@@ -5885,6 +5909,11 @@
5885
5909
  opacity: 100%;
5886
5910
  }
5887
5911
  }
5912
+ .group-data-\[selected\=true\]\/row\:opacity-100 {
5913
+ &:is(:where(.group\/row)[data-selected="true"] *) {
5914
+ opacity: 100%;
5915
+ }
5916
+ }
5888
5917
  .group-data-\[separator\=active\]\:bg-primary\! {
5889
5918
  &:is(:where(.group)[data-separator="active"] *) {
5890
5919
  background-color: var(--primary) !important;
@@ -7132,6 +7161,11 @@
7132
7161
  z-index: 10;
7133
7162
  }
7134
7163
  }
7164
+ .focus-visible\:bg-surface-hover {
7165
+ &:focus-visible {
7166
+ background-color: var(--surface-hover);
7167
+ }
7168
+ }
7135
7169
  .focus-visible\:opacity-100 {
7136
7170
  &:focus-visible {
7137
7171
  opacity: 100%;
@@ -8065,6 +8099,11 @@
8065
8099
  background-color: var(--accent);
8066
8100
  }
8067
8101
  }
8102
+ .data-\[selected\=true\]\:bg-brand-subtle {
8103
+ &[data-selected="true"] {
8104
+ background-color: var(--brand-subtle);
8105
+ }
8106
+ }
8068
8107
  .data-\[selected\=true\]\:bg-surface-overlay {
8069
8108
  &[data-selected="true"] {
8070
8109
  background-color: var(--surface-overlay);
@@ -8611,11 +8650,6 @@
8611
8650
  grid-template-columns: repeat(3, minmax(0, 1fr));
8612
8651
  }
8613
8652
  }
8614
- .sm\:grid-cols-6 {
8615
- @media (width >= 40rem) {
8616
- grid-template-columns: repeat(6, minmax(0, 1fr));
8617
- }
8618
- }
8619
8653
  .sm\:flex-row {
8620
8654
  @media (width >= 40rem) {
8621
8655
  flex-direction: row;
@@ -8738,11 +8772,6 @@
8738
8772
  grid-template-columns: repeat(5, minmax(0, 1fr));
8739
8773
  }
8740
8774
  }
8741
- .md\:grid-cols-8 {
8742
- @media (width >= 48rem) {
8743
- grid-template-columns: repeat(8, minmax(0, 1fr));
8744
- }
8745
- }
8746
8775
  .md\:grid-cols-\[1\.1fr_1fr\] {
8747
8776
  @media (width >= 48rem) {
8748
8777
  grid-template-columns: 1.1fr 1fr;
@@ -8865,11 +8894,6 @@
8865
8894
  grid-template-columns: repeat(6, minmax(0, 1fr));
8866
8895
  }
8867
8896
  }
8868
- .lg\:grid-cols-12 {
8869
- @media (width >= 64rem) {
8870
- grid-template-columns: repeat(12, minmax(0, 1fr));
8871
- }
8872
- }
8873
8897
  .lg\:grid-cols-\[2fr_3fr_3fr\] {
8874
8898
  @media (width >= 64rem) {
8875
8899
  grid-template-columns: 2fr 3fr 3fr;
@@ -9138,6 +9162,11 @@
9138
9162
  font-weight: var(--font-weight-normal);
9139
9163
  }
9140
9164
  }
9165
+ .future\:text-brand {
9166
+ :is(.future-dark, .future-light) & {
9167
+ color: var(--brand);
9168
+ }
9169
+ }
9141
9170
  .future\:text-foreground {
9142
9171
  :is(.future-dark, .future-light) & {
9143
9172
  color: var(--foreground);
@@ -9197,6 +9226,14 @@
9197
9226
  }
9198
9227
  }
9199
9228
  }
9229
+ .future\:ring-warning\/40 {
9230
+ :is(.future-dark, .future-light) & {
9231
+ --tw-ring-color: var(--warning);
9232
+ @supports (color: color-mix(in lab, red, red)) {
9233
+ --tw-ring-color: color-mix(in oklab, var(--warning) 40%, transparent);
9234
+ }
9235
+ }
9236
+ }
9200
9237
  .future\:inset-ring-gradient-agent-start\/60 {
9201
9238
  :is(.future-dark, .future-light) & {
9202
9239
  --tw-inset-ring-color: var(--color-gradient-agent-start);
@@ -9290,6 +9327,15 @@
9290
9327
  }
9291
9328
  }
9292
9329
  }
9330
+ .future\:hover\:text-brand {
9331
+ :is(.future-dark, .future-light) & {
9332
+ &:hover {
9333
+ @media (hover: hover) {
9334
+ color: var(--brand);
9335
+ }
9336
+ }
9337
+ }
9338
+ }
9293
9339
  .future\:hover\:text-foreground {
9294
9340
  :is(.future-dark, .future-light) & {
9295
9341
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.87.0",
3
+ "version": "2.88.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,26 +0,0 @@
1
- export interface FolderPickerEmptyStateProps {
2
- /** A load that failed. Takes precedence over every other state. */
3
- error?: string | null;
4
- /** The level on screen has never resolved, so its contents are unknown. */
5
- loading?: boolean;
6
- /** The active search text, trimmed. Empty when the list is unfiltered. */
7
- query?: string;
8
- emptyText?: string;
9
- noMatchText?: (query: string) => string;
10
- loadingText?: string;
11
- /** Requests the failed level again. Without it, the error offers no action. */
12
- onRetry?: () => void;
13
- retryLabel?: string;
14
- }
15
- /**
16
- * What the list shows when it has no rows.
17
- *
18
- * The four cases say different things and must not collapse into one message:
19
- * a level still loading is not an empty folder, an empty folder is not a failed
20
- * search, and neither is an error. Ordered by precedence, so a folder that
21
- * fails to load reports the failure rather than claiming to be empty.
22
- *
23
- * Always renders one of the four messages, falling back to the empty-folder
24
- * text, so the caller renders it only when the list has no rows.
25
- */
26
- export declare function FolderPickerEmptyState({ error, loading, query, emptyText, noMatchText, loadingText, onRetry, retryLabel, }: FolderPickerEmptyStateProps): import("react/jsx-runtime").JSX.Element;