@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b

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 (145) hide show
  1. package/dist/components/forms/field-renderer.cjs +120 -69
  2. package/dist/components/forms/field-renderer.js +120 -69
  3. package/dist/components/forms/form-designer.cjs +2352 -1488
  4. package/dist/components/forms/form-designer.js +2353 -1489
  5. package/dist/components/forms/form-examples.cjs +10 -10
  6. package/dist/components/forms/form-examples.js +10 -10
  7. package/dist/components/forms/form-state-viewer.cjs +988 -433
  8. package/dist/components/forms/form-state-viewer.js +988 -433
  9. package/dist/components/forms/metadata-form.cjs +446 -170
  10. package/dist/components/forms/metadata-form.js +446 -170
  11. package/dist/components/forms/schema-viewer.cjs +173 -80
  12. package/dist/components/forms/schema-viewer.js +173 -80
  13. package/dist/components/ui/accordion.cjs +131 -27
  14. package/dist/components/ui/accordion.js +131 -27
  15. package/dist/components/ui/alert-dialog.cjs +273 -45
  16. package/dist/components/ui/alert-dialog.js +273 -45
  17. package/dist/components/ui/alert.cjs +106 -17
  18. package/dist/components/ui/alert.js +106 -17
  19. package/dist/components/ui/avatar.cjs +100 -15
  20. package/dist/components/ui/avatar.js +100 -15
  21. package/dist/components/ui/badge.cjs +36 -6
  22. package/dist/components/ui/badge.js +36 -6
  23. package/dist/components/ui/breadcrumb.cjs +258 -52
  24. package/dist/components/ui/breadcrumb.js +258 -52
  25. package/dist/components/ui/button-group.cjs +119 -19
  26. package/dist/components/ui/button-group.js +119 -19
  27. package/dist/components/ui/button.cjs +48 -8
  28. package/dist/components/ui/button.js +48 -8
  29. package/dist/components/ui/calendar.cjs +88 -30
  30. package/dist/components/ui/calendar.js +88 -30
  31. package/dist/components/ui/card.cjs +199 -30
  32. package/dist/components/ui/card.js +199 -30
  33. package/dist/components/ui/checkbox.cjs +42 -8
  34. package/dist/components/ui/checkbox.js +42 -8
  35. package/dist/components/ui/combobox.cjs +150 -53
  36. package/dist/components/ui/combobox.js +150 -53
  37. package/dist/components/ui/command.cjs +291 -53
  38. package/dist/components/ui/command.js +291 -53
  39. package/dist/components/ui/context-menu.cjs +370 -72
  40. package/dist/components/ui/context-menu.js +370 -72
  41. package/dist/components/ui/data-table.cjs +76 -39
  42. package/dist/components/ui/data-table.js +76 -39
  43. package/dist/components/ui/date-picker.cjs +179 -68
  44. package/dist/components/ui/date-picker.js +179 -68
  45. package/dist/components/ui/datetime-picker.cjs +225 -104
  46. package/dist/components/ui/datetime-picker.js +225 -104
  47. package/dist/components/ui/dialog.cjs +290 -78
  48. package/dist/components/ui/dialog.js +290 -78
  49. package/dist/components/ui/drawer.cjs +220 -39
  50. package/dist/components/ui/drawer.js +220 -39
  51. package/dist/components/ui/dropdown-menu.cjs +376 -73
  52. package/dist/components/ui/dropdown-menu.js +376 -73
  53. package/dist/components/ui/editable-cell.cjs +106 -42
  54. package/dist/components/ui/editable-cell.js +106 -42
  55. package/dist/components/ui/empty-state.cjs +106 -33
  56. package/dist/components/ui/empty-state.js +106 -33
  57. package/dist/components/ui/file-upload.cjs +405 -187
  58. package/dist/components/ui/file-upload.d.ts +3 -1
  59. package/dist/components/ui/file-upload.js +405 -187
  60. package/dist/components/ui/hover-card.cjs +46 -7
  61. package/dist/components/ui/hover-card.js +46 -7
  62. package/dist/components/ui/index.cjs +4 -4
  63. package/dist/components/ui/input.cjs +39 -6
  64. package/dist/components/ui/input.js +39 -6
  65. package/dist/components/ui/label.cjs +34 -5
  66. package/dist/components/ui/label.js +34 -5
  67. package/dist/components/ui/layout/column.cjs +209 -41
  68. package/dist/components/ui/layout/column.js +209 -41
  69. package/dist/components/ui/layout/grid.cjs +275 -60
  70. package/dist/components/ui/layout/grid.js +275 -60
  71. package/dist/components/ui/layout/row.cjs +209 -41
  72. package/dist/components/ui/layout/row.js +209 -41
  73. package/dist/components/ui/menubar.cjs +540 -106
  74. package/dist/components/ui/menubar.js +540 -106
  75. package/dist/components/ui/multi-select.cjs +289 -135
  76. package/dist/components/ui/multi-select.js +289 -135
  77. package/dist/components/ui/navigation-menu.cjs +244 -47
  78. package/dist/components/ui/navigation-menu.js +244 -47
  79. package/dist/components/ui/pagination.cjs +301 -65
  80. package/dist/components/ui/pagination.js +301 -65
  81. package/dist/components/ui/popover.cjs +48 -9
  82. package/dist/components/ui/popover.js +48 -9
  83. package/dist/components/ui/progress.cjs +48 -8
  84. package/dist/components/ui/progress.js +48 -8
  85. package/dist/components/ui/radio-group.cjs +74 -12
  86. package/dist/components/ui/radio-group.js +74 -12
  87. package/dist/components/ui/resizable.cjs +75 -10
  88. package/dist/components/ui/resizable.js +75 -10
  89. package/dist/components/ui/scroll-area.cjs +113 -21
  90. package/dist/components/ui/scroll-area.js +113 -21
  91. package/dist/components/ui/search.cjs +280 -98
  92. package/dist/components/ui/search.js +280 -98
  93. package/dist/components/ui/select.cjs +334 -68
  94. package/dist/components/ui/select.js +334 -68
  95. package/dist/components/ui/separator.cjs +48 -7
  96. package/dist/components/ui/separator.js +48 -7
  97. package/dist/components/ui/sheet.cjs +236 -50
  98. package/dist/components/ui/sheet.js +236 -50
  99. package/dist/components/ui/skeleton.cjs +31 -5
  100. package/dist/components/ui/skeleton.js +31 -5
  101. package/dist/components/ui/slider.cjs +71 -21
  102. package/dist/components/ui/slider.js +71 -21
  103. package/dist/components/ui/sonner.cjs +43 -15
  104. package/dist/components/ui/sonner.js +43 -15
  105. package/dist/components/ui/spinner.cjs +83 -21
  106. package/dist/components/ui/spinner.js +83 -21
  107. package/dist/components/ui/stats-card.cjs +169 -60
  108. package/dist/components/ui/stats-card.js +169 -60
  109. package/dist/components/ui/stepper.cjs +126 -57
  110. package/dist/components/ui/stepper.js +126 -57
  111. package/dist/components/ui/switch.cjs +42 -8
  112. package/dist/components/ui/switch.js +42 -8
  113. package/dist/components/ui/table.cjs +267 -42
  114. package/dist/components/ui/table.js +267 -42
  115. package/dist/components/ui/tabs.cjs +100 -15
  116. package/dist/components/ui/tabs.js +100 -15
  117. package/dist/components/ui/textarea.cjs +34 -5
  118. package/dist/components/ui/textarea.js +34 -5
  119. package/dist/components/ui/toggle-group.cjs +112 -19
  120. package/dist/components/ui/toggle-group.js +112 -19
  121. package/dist/components/ui/toggle.cjs +43 -6
  122. package/dist/components/ui/toggle.js +43 -6
  123. package/dist/components/ui/tooltip.cjs +40 -6
  124. package/dist/components/ui/tooltip.js +40 -6
  125. package/dist/examples/admin-layout-example.cjs +879 -347
  126. package/dist/examples/admin-layout-example.js +879 -347
  127. package/dist/examples/app-shell-example.cjs +14 -14
  128. package/dist/examples/app-shell-example.js +14 -14
  129. package/dist/examples/dashboard-example.cjs +495 -334
  130. package/dist/examples/dashboard-example.js +495 -334
  131. package/dist/examples/data-management-example.cjs +501 -303
  132. package/dist/examples/data-management-example.js +502 -304
  133. package/dist/examples/flow-editor-layout-example.cjs +435 -231
  134. package/dist/examples/flow-editor-layout-example.js +436 -232
  135. package/dist/examples/flow-start-example.cjs +508 -251
  136. package/dist/examples/flow-start-example.js +509 -252
  137. package/dist/examples/form-builder-example.cjs +1006 -602
  138. package/dist/examples/form-builder-example.js +1007 -603
  139. package/dist/examples/new-project-example.cjs +806 -474
  140. package/dist/examples/new-project-example.js +807 -475
  141. package/dist/examples/settings-example.cjs +792 -704
  142. package/dist/examples/settings-example.js +792 -704
  143. package/dist/examples/vscode-example.cjs +731 -236
  144. package/dist/examples/vscode-example.js +731 -236
  145. package/package.json +4 -1
@@ -36,6 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
36
36
  SelectValue: ()=>SelectValue
37
37
  });
38
38
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
39
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
39
40
  const react_select_namespaceObject = require("@radix-ui/react-select");
40
41
  const external_lucide_react_namespaceObject = require("lucide-react");
41
42
  const external_react_namespaceObject = require("react");
@@ -43,86 +44,351 @@ const index_cjs_namespaceObject = require("../../lib/index.cjs");
43
44
  const Select = react_select_namespaceObject.Root;
44
45
  const SelectGroup = react_select_namespaceObject.Group;
45
46
  const SelectValue = react_select_namespaceObject.Value;
46
- const SelectTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Trigger, {
47
- ref: ref,
48
- className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&>span]:line-clamp-1', className),
49
- ...props,
50
- children: [
51
- children,
52
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Icon, {
53
- asChild: true,
54
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
55
- className: "h-4 w-4 opacity-50"
56
- })
47
+ const SelectTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
48
+ const $ = (0, compiler_runtime_namespaceObject.c)(12);
49
+ let children;
50
+ let className;
51
+ let props;
52
+ if ($[0] !== t0) {
53
+ ({ className, children, ...props } = t0);
54
+ $[0] = t0;
55
+ $[1] = children;
56
+ $[2] = className;
57
+ $[3] = props;
58
+ } else {
59
+ children = $[1];
60
+ className = $[2];
61
+ props = $[3];
62
+ }
63
+ let t1;
64
+ if ($[4] !== className) {
65
+ t1 = (0, index_cjs_namespaceObject.cn)("flex h-9 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&>span]:line-clamp-1", className);
66
+ $[4] = className;
67
+ $[5] = t1;
68
+ } else t1 = $[5];
69
+ let t2;
70
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
71
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Icon, {
72
+ asChild: true,
73
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
74
+ className: "h-4 w-4 opacity-50"
57
75
  })
58
- ]
59
- }));
76
+ });
77
+ $[6] = t2;
78
+ } else t2 = $[6];
79
+ let t3;
80
+ if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1) {
81
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Trigger, {
82
+ ref: ref,
83
+ className: t1,
84
+ ...props,
85
+ children: [
86
+ children,
87
+ t2
88
+ ]
89
+ });
90
+ $[7] = children;
91
+ $[8] = props;
92
+ $[9] = ref;
93
+ $[10] = t1;
94
+ $[11] = t3;
95
+ } else t3 = $[11];
96
+ return t3;
97
+ });
60
98
  SelectTrigger.displayName = react_select_namespaceObject.Trigger.displayName;
61
- const SelectScrollUpButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollUpButton, {
62
- ref: ref,
63
- className: (0, index_cjs_namespaceObject.cn)('flex cursor-default items-center justify-center py-1', className),
64
- ...props,
65
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronUp, {
99
+ const SelectScrollUpButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
100
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
101
+ let className;
102
+ let props;
103
+ if ($[0] !== t0) {
104
+ ({ className, ...props } = t0);
105
+ $[0] = t0;
106
+ $[1] = className;
107
+ $[2] = props;
108
+ } else {
109
+ className = $[1];
110
+ props = $[2];
111
+ }
112
+ let t1;
113
+ if ($[3] !== className) {
114
+ t1 = (0, index_cjs_namespaceObject.cn)("flex cursor-default items-center justify-center py-1", className);
115
+ $[3] = className;
116
+ $[4] = t1;
117
+ } else t1 = $[4];
118
+ let t2;
119
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
120
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronUp, {
66
121
  className: "h-4 w-4"
67
- })
68
- }));
122
+ });
123
+ $[5] = t2;
124
+ } else t2 = $[5];
125
+ let t3;
126
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
127
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollUpButton, {
128
+ ref: ref,
129
+ className: t1,
130
+ ...props,
131
+ children: t2
132
+ });
133
+ $[6] = props;
134
+ $[7] = ref;
135
+ $[8] = t1;
136
+ $[9] = t3;
137
+ } else t3 = $[9];
138
+ return t3;
139
+ });
69
140
  SelectScrollUpButton.displayName = react_select_namespaceObject.ScrollUpButton.displayName;
70
- const SelectScrollDownButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollDownButton, {
71
- ref: ref,
72
- className: (0, index_cjs_namespaceObject.cn)('flex cursor-default items-center justify-center py-1', className),
73
- ...props,
74
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
141
+ const SelectScrollDownButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
142
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
143
+ let className;
144
+ let props;
145
+ if ($[0] !== t0) {
146
+ ({ className, ...props } = t0);
147
+ $[0] = t0;
148
+ $[1] = className;
149
+ $[2] = props;
150
+ } else {
151
+ className = $[1];
152
+ props = $[2];
153
+ }
154
+ let t1;
155
+ if ($[3] !== className) {
156
+ t1 = (0, index_cjs_namespaceObject.cn)("flex cursor-default items-center justify-center py-1", className);
157
+ $[3] = className;
158
+ $[4] = t1;
159
+ } else t1 = $[4];
160
+ let t2;
161
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
162
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
75
163
  className: "h-4 w-4"
76
- })
77
- }));
78
- SelectScrollDownButton.displayName = react_select_namespaceObject.ScrollDownButton.displayName;
79
- const SelectContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, position = 'popper', ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Portal, {
80
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Content, {
164
+ });
165
+ $[5] = t2;
166
+ } else t2 = $[5];
167
+ let t3;
168
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
169
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ScrollDownButton, {
81
170
  ref: ref,
82
- className: (0, index_cjs_namespaceObject.cn)('relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]', 'popper' === position && 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1', className),
83
- position: position,
171
+ className: t1,
84
172
  ...props,
85
- children: [
86
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollUpButton, {}),
87
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Viewport, {
88
- className: (0, index_cjs_namespaceObject.cn)('p-1', 'popper' === position && 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'),
89
- children: children
90
- }),
91
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollDownButton, {})
92
- ]
93
- })
94
- }));
173
+ children: t2
174
+ });
175
+ $[6] = props;
176
+ $[7] = ref;
177
+ $[8] = t1;
178
+ $[9] = t3;
179
+ } else t3 = $[9];
180
+ return t3;
181
+ });
182
+ SelectScrollDownButton.displayName = react_select_namespaceObject.ScrollDownButton.displayName;
183
+ const SelectContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
184
+ const $ = (0, compiler_runtime_namespaceObject.c)(21);
185
+ let children;
186
+ let className;
187
+ let props;
188
+ let t1;
189
+ if ($[0] !== t0) {
190
+ ({ className, children, position: t1, ...props } = t0);
191
+ $[0] = t0;
192
+ $[1] = children;
193
+ $[2] = className;
194
+ $[3] = props;
195
+ $[4] = t1;
196
+ } else {
197
+ children = $[1];
198
+ className = $[2];
199
+ props = $[3];
200
+ t1 = $[4];
201
+ }
202
+ const position = void 0 === t1 ? "popper" : t1;
203
+ const t2 = "popper" === position && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1";
204
+ let t3;
205
+ if ($[5] !== className || $[6] !== t2) {
206
+ t3 = (0, index_cjs_namespaceObject.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]", t2, className);
207
+ $[5] = className;
208
+ $[6] = t2;
209
+ $[7] = t3;
210
+ } else t3 = $[7];
211
+ let t4;
212
+ if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
213
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollUpButton, {});
214
+ $[8] = t4;
215
+ } else t4 = $[8];
216
+ const t5 = "popper" === position && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]";
217
+ let t6;
218
+ if ($[9] !== t5) {
219
+ t6 = (0, index_cjs_namespaceObject.cn)("p-1", t5);
220
+ $[9] = t5;
221
+ $[10] = t6;
222
+ } else t6 = $[10];
223
+ let t7;
224
+ if ($[11] !== children || $[12] !== t6) {
225
+ t7 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Viewport, {
226
+ className: t6,
227
+ children: children
228
+ });
229
+ $[11] = children;
230
+ $[12] = t6;
231
+ $[13] = t7;
232
+ } else t7 = $[13];
233
+ let t8;
234
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
235
+ t8 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SelectScrollDownButton, {});
236
+ $[14] = t8;
237
+ } else t8 = $[14];
238
+ let t9;
239
+ if ($[15] !== position || $[16] !== props || $[17] !== ref || $[18] !== t3 || $[19] !== t7) {
240
+ t9 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Portal, {
241
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Content, {
242
+ ref: ref,
243
+ className: t3,
244
+ position: position,
245
+ ...props,
246
+ children: [
247
+ t4,
248
+ t7,
249
+ t8
250
+ ]
251
+ })
252
+ });
253
+ $[15] = position;
254
+ $[16] = props;
255
+ $[17] = ref;
256
+ $[18] = t3;
257
+ $[19] = t7;
258
+ $[20] = t9;
259
+ } else t9 = $[20];
260
+ return t9;
261
+ });
95
262
  SelectContent.displayName = react_select_namespaceObject.Content.displayName;
96
- const SelectLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Label, {
97
- ref: ref,
98
- className: (0, index_cjs_namespaceObject.cn)('py-1.5 pl-8 pr-2 text-sm font-semibold', className),
99
- ...props
100
- }));
263
+ const SelectLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
264
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
265
+ let className;
266
+ let props;
267
+ if ($[0] !== t0) {
268
+ ({ className, ...props } = t0);
269
+ $[0] = t0;
270
+ $[1] = className;
271
+ $[2] = props;
272
+ } else {
273
+ className = $[1];
274
+ props = $[2];
275
+ }
276
+ let t1;
277
+ if ($[3] !== className) {
278
+ t1 = (0, index_cjs_namespaceObject.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold", className);
279
+ $[3] = className;
280
+ $[4] = t1;
281
+ } else t1 = $[4];
282
+ let t2;
283
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
284
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Label, {
285
+ ref: ref,
286
+ className: t1,
287
+ ...props
288
+ });
289
+ $[5] = props;
290
+ $[6] = ref;
291
+ $[7] = t1;
292
+ $[8] = t2;
293
+ } else t2 = $[8];
294
+ return t2;
295
+ });
101
296
  SelectLabel.displayName = react_select_namespaceObject.Label.displayName;
102
- const SelectItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Item, {
103
- ref: ref,
104
- className: (0, index_cjs_namespaceObject.cn)('relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className),
105
- ...props,
106
- children: [
107
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
108
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
109
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemIndicator, {
110
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
111
- className: "h-4 w-4"
112
- })
297
+ const SelectItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
298
+ const $ = (0, compiler_runtime_namespaceObject.c)(14);
299
+ let children;
300
+ let className;
301
+ let props;
302
+ if ($[0] !== t0) {
303
+ ({ className, children, ...props } = t0);
304
+ $[0] = t0;
305
+ $[1] = children;
306
+ $[2] = className;
307
+ $[3] = props;
308
+ } else {
309
+ children = $[1];
310
+ className = $[2];
311
+ props = $[3];
312
+ }
313
+ let t1;
314
+ if ($[4] !== className) {
315
+ t1 = (0, index_cjs_namespaceObject.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className);
316
+ $[4] = className;
317
+ $[5] = t1;
318
+ } else t1 = $[5];
319
+ let t2;
320
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
321
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
322
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
323
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemIndicator, {
324
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
325
+ className: "h-4 w-4"
113
326
  })
114
- }),
115
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemText, {
116
- children: children
117
327
  })
118
- ]
119
- }));
328
+ });
329
+ $[6] = t2;
330
+ } else t2 = $[6];
331
+ let t3;
332
+ if ($[7] !== children) {
333
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.ItemText, {
334
+ children: children
335
+ });
336
+ $[7] = children;
337
+ $[8] = t3;
338
+ } else t3 = $[8];
339
+ let t4;
340
+ if ($[9] !== props || $[10] !== ref || $[11] !== t1 || $[12] !== t3) {
341
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Item, {
342
+ ref: ref,
343
+ className: t1,
344
+ ...props,
345
+ children: [
346
+ t2,
347
+ t3
348
+ ]
349
+ });
350
+ $[9] = props;
351
+ $[10] = ref;
352
+ $[11] = t1;
353
+ $[12] = t3;
354
+ $[13] = t4;
355
+ } else t4 = $[13];
356
+ return t4;
357
+ });
120
358
  SelectItem.displayName = react_select_namespaceObject.Item.displayName;
121
- const SelectSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Separator, {
122
- ref: ref,
123
- className: (0, index_cjs_namespaceObject.cn)('-mx-1 my-1 h-px bg-muted', className),
124
- ...props
125
- }));
359
+ const SelectSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
360
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
361
+ let className;
362
+ let props;
363
+ if ($[0] !== t0) {
364
+ ({ className, ...props } = t0);
365
+ $[0] = t0;
366
+ $[1] = className;
367
+ $[2] = props;
368
+ } else {
369
+ className = $[1];
370
+ props = $[2];
371
+ }
372
+ let t1;
373
+ if ($[3] !== className) {
374
+ t1 = (0, index_cjs_namespaceObject.cn)("-mx-1 my-1 h-px bg-muted", className);
375
+ $[3] = className;
376
+ $[4] = t1;
377
+ } else t1 = $[4];
378
+ let t2;
379
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
380
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_select_namespaceObject.Separator, {
381
+ ref: ref,
382
+ className: t1,
383
+ ...props
384
+ });
385
+ $[5] = props;
386
+ $[6] = ref;
387
+ $[7] = t1;
388
+ $[8] = t2;
389
+ } else t2 = $[8];
390
+ return t2;
391
+ });
126
392
  SelectSeparator.displayName = react_select_namespaceObject.Separator.displayName;
127
393
  exports.Select = __webpack_exports__.Select;
128
394
  exports.SelectContent = __webpack_exports__.SelectContent;