@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
@@ -33,69 +33,275 @@ __webpack_require__.d(__webpack_exports__, {
33
33
  BreadcrumbList: ()=>BreadcrumbList
34
34
  });
35
35
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
36
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
36
37
  const react_slot_namespaceObject = require("@radix-ui/react-slot");
37
38
  const external_lucide_react_namespaceObject = require("lucide-react");
38
39
  const external_react_namespaceObject = require("react");
39
40
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
40
- const Breadcrumb = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("nav", {
41
- ref: ref,
42
- "aria-label": "breadcrumb",
43
- ...props
44
- }));
41
+ const Breadcrumb = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
42
+ const $ = (0, compiler_runtime_namespaceObject.c)(5);
43
+ let props;
44
+ if ($[0] !== t0) {
45
+ ({ ...props } = t0);
46
+ $[0] = t0;
47
+ $[1] = props;
48
+ } else props = $[1];
49
+ let t1;
50
+ if ($[2] !== props || $[3] !== ref) {
51
+ t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("nav", {
52
+ ref: ref,
53
+ "aria-label": "breadcrumb",
54
+ ...props
55
+ });
56
+ $[2] = props;
57
+ $[3] = ref;
58
+ $[4] = t1;
59
+ } else t1 = $[4];
60
+ return t1;
61
+ });
45
62
  Breadcrumb.displayName = 'Breadcrumb';
46
- const BreadcrumbList = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("ol", {
47
- ref: ref,
48
- className: (0, index_cjs_namespaceObject.cn)('flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5', className),
49
- ...props
50
- }));
63
+ const BreadcrumbList = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
64
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
65
+ let className;
66
+ let props;
67
+ if ($[0] !== t0) {
68
+ ({ className, ...props } = t0);
69
+ $[0] = t0;
70
+ $[1] = className;
71
+ $[2] = props;
72
+ } else {
73
+ className = $[1];
74
+ props = $[2];
75
+ }
76
+ let t1;
77
+ if ($[3] !== className) {
78
+ t1 = (0, index_cjs_namespaceObject.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", className);
79
+ $[3] = className;
80
+ $[4] = t1;
81
+ } else t1 = $[4];
82
+ let t2;
83
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
84
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("ol", {
85
+ ref: ref,
86
+ className: t1,
87
+ ...props
88
+ });
89
+ $[5] = props;
90
+ $[6] = ref;
91
+ $[7] = t1;
92
+ $[8] = t2;
93
+ } else t2 = $[8];
94
+ return t2;
95
+ });
51
96
  BreadcrumbList.displayName = 'BreadcrumbList';
52
- const BreadcrumbItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
53
- ref: ref,
54
- className: (0, index_cjs_namespaceObject.cn)('inline-flex items-center gap-1.5', className),
55
- ...props
56
- }));
97
+ const BreadcrumbItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
98
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
99
+ let className;
100
+ let props;
101
+ if ($[0] !== t0) {
102
+ ({ className, ...props } = t0);
103
+ $[0] = t0;
104
+ $[1] = className;
105
+ $[2] = props;
106
+ } else {
107
+ className = $[1];
108
+ props = $[2];
109
+ }
110
+ let t1;
111
+ if ($[3] !== className) {
112
+ t1 = (0, index_cjs_namespaceObject.cn)("inline-flex items-center gap-1.5", className);
113
+ $[3] = className;
114
+ $[4] = t1;
115
+ } else t1 = $[4];
116
+ let t2;
117
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
118
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
119
+ ref: ref,
120
+ className: t1,
121
+ ...props
122
+ });
123
+ $[5] = props;
124
+ $[6] = ref;
125
+ $[7] = t1;
126
+ $[8] = t2;
127
+ } else t2 = $[8];
128
+ return t2;
129
+ });
57
130
  BreadcrumbItem.displayName = 'BreadcrumbItem';
58
- const BreadcrumbLink = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ asChild, className, ...props }, ref)=>{
59
- const Comp = asChild ? react_slot_namespaceObject.Slot : 'a';
60
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Comp, {
61
- ref: ref,
62
- className: (0, index_cjs_namespaceObject.cn)('transition-colors hover:text-foreground', className),
63
- ...props
64
- });
131
+ const BreadcrumbLink = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
132
+ const $ = (0, compiler_runtime_namespaceObject.c)(11);
133
+ let asChild;
134
+ let className;
135
+ let props;
136
+ if ($[0] !== t0) {
137
+ ({ asChild, className, ...props } = t0);
138
+ $[0] = t0;
139
+ $[1] = asChild;
140
+ $[2] = className;
141
+ $[3] = props;
142
+ } else {
143
+ asChild = $[1];
144
+ className = $[2];
145
+ props = $[3];
146
+ }
147
+ const Comp = asChild ? react_slot_namespaceObject.Slot : "a";
148
+ let t1;
149
+ if ($[4] !== className) {
150
+ t1 = (0, index_cjs_namespaceObject.cn)("transition-colors hover:text-foreground", className);
151
+ $[4] = className;
152
+ $[5] = t1;
153
+ } else t1 = $[5];
154
+ let t2;
155
+ if ($[6] !== Comp || $[7] !== props || $[8] !== ref || $[9] !== t1) {
156
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Comp, {
157
+ ref: ref,
158
+ className: t1,
159
+ ...props
160
+ });
161
+ $[6] = Comp;
162
+ $[7] = props;
163
+ $[8] = ref;
164
+ $[9] = t1;
165
+ $[10] = t2;
166
+ } else t2 = $[10];
167
+ return t2;
65
168
  });
66
169
  BreadcrumbLink.displayName = 'BreadcrumbLink';
67
- const BreadcrumbPage = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
68
- ref: ref,
69
- role: "link",
70
- "aria-disabled": "true",
71
- "aria-current": "page",
72
- className: (0, index_cjs_namespaceObject.cn)('font-normal text-foreground', className),
73
- ...props
74
- }));
170
+ const BreadcrumbPage = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
171
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
172
+ let className;
173
+ let props;
174
+ if ($[0] !== t0) {
175
+ ({ className, ...props } = t0);
176
+ $[0] = t0;
177
+ $[1] = className;
178
+ $[2] = props;
179
+ } else {
180
+ className = $[1];
181
+ props = $[2];
182
+ }
183
+ let t1;
184
+ if ($[3] !== className) {
185
+ t1 = (0, index_cjs_namespaceObject.cn)("font-normal text-foreground", className);
186
+ $[3] = className;
187
+ $[4] = t1;
188
+ } else t1 = $[4];
189
+ let t2;
190
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
191
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
192
+ ref: ref,
193
+ role: "link",
194
+ "aria-disabled": "true",
195
+ "aria-current": "page",
196
+ className: t1,
197
+ ...props
198
+ });
199
+ $[5] = props;
200
+ $[6] = ref;
201
+ $[7] = t1;
202
+ $[8] = t2;
203
+ } else t2 = $[8];
204
+ return t2;
205
+ });
75
206
  BreadcrumbPage.displayName = 'BreadcrumbPage';
76
- const BreadcrumbSeparator = ({ children, className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
77
- role: "presentation",
78
- "aria-hidden": "true",
79
- className: (0, index_cjs_namespaceObject.cn)('[&>svg]:w-3.5 [&>svg]:h-3.5', className),
80
- ...props,
81
- children: children ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {})
82
- });
207
+ const BreadcrumbSeparator = (t0)=>{
208
+ const $ = (0, compiler_runtime_namespaceObject.c)(12);
209
+ let children;
210
+ let className;
211
+ let props;
212
+ if ($[0] !== t0) {
213
+ ({ children, className, ...props } = t0);
214
+ $[0] = t0;
215
+ $[1] = children;
216
+ $[2] = className;
217
+ $[3] = props;
218
+ } else {
219
+ children = $[1];
220
+ className = $[2];
221
+ props = $[3];
222
+ }
223
+ let t1;
224
+ if ($[4] !== className) {
225
+ t1 = (0, index_cjs_namespaceObject.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5", className);
226
+ $[4] = className;
227
+ $[5] = t1;
228
+ } else t1 = $[5];
229
+ let t2;
230
+ if ($[6] !== children) {
231
+ t2 = children ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {});
232
+ $[6] = children;
233
+ $[7] = t2;
234
+ } else t2 = $[7];
235
+ let t3;
236
+ if ($[8] !== props || $[9] !== t1 || $[10] !== t2) {
237
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("li", {
238
+ role: "presentation",
239
+ "aria-hidden": "true",
240
+ className: t1,
241
+ ...props,
242
+ children: t2
243
+ });
244
+ $[8] = props;
245
+ $[9] = t1;
246
+ $[10] = t2;
247
+ $[11] = t3;
248
+ } else t3 = $[11];
249
+ return t3;
250
+ };
83
251
  BreadcrumbSeparator.displayName = 'BreadcrumbSeparator';
84
- const BreadcrumbEllipsis = ({ className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
85
- role: "presentation",
86
- "aria-hidden": "true",
87
- className: (0, index_cjs_namespaceObject.cn)('flex h-9 w-9 items-center justify-center', className),
88
- ...props,
89
- children: [
90
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.MoreHorizontal, {
91
- className: "h-4 w-4"
92
- }),
93
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
94
- className: "sr-only",
95
- children: "More"
96
- })
97
- ]
98
- });
252
+ const BreadcrumbEllipsis = (t0)=>{
253
+ const $ = (0, compiler_runtime_namespaceObject.c)(10);
254
+ let className;
255
+ let props;
256
+ if ($[0] !== t0) {
257
+ ({ className, ...props } = t0);
258
+ $[0] = t0;
259
+ $[1] = className;
260
+ $[2] = props;
261
+ } else {
262
+ className = $[1];
263
+ props = $[2];
264
+ }
265
+ let t1;
266
+ if ($[3] !== className) {
267
+ t1 = (0, index_cjs_namespaceObject.cn)("flex h-9 w-9 items-center justify-center", className);
268
+ $[3] = className;
269
+ $[4] = t1;
270
+ } else t1 = $[4];
271
+ let t2;
272
+ let t3;
273
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
274
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.MoreHorizontal, {
275
+ className: "h-4 w-4"
276
+ });
277
+ t3 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
278
+ className: "sr-only",
279
+ children: "More"
280
+ });
281
+ $[5] = t2;
282
+ $[6] = t3;
283
+ } else {
284
+ t2 = $[5];
285
+ t3 = $[6];
286
+ }
287
+ let t4;
288
+ if ($[7] !== props || $[8] !== t1) {
289
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
290
+ role: "presentation",
291
+ "aria-hidden": "true",
292
+ className: t1,
293
+ ...props,
294
+ children: [
295
+ t2,
296
+ t3
297
+ ]
298
+ });
299
+ $[7] = props;
300
+ $[8] = t1;
301
+ $[9] = t4;
302
+ } else t4 = $[9];
303
+ return t4;
304
+ };
99
305
  BreadcrumbEllipsis.displayName = 'BreadcrumbElipssis';
100
306
  exports.Breadcrumb = __webpack_exports__.Breadcrumb;
101
307
  exports.BreadcrumbEllipsis = __webpack_exports__.BreadcrumbEllipsis;
@@ -1,66 +1,272 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { Slot } from "@radix-ui/react-slot";
3
4
  import { ChevronRight, MoreHorizontal } from "lucide-react";
4
5
  import { forwardRef } from "react";
5
6
  import { cn } from "../../lib/index.js";
6
- const Breadcrumb = /*#__PURE__*/ forwardRef(({ ...props }, ref)=>/*#__PURE__*/ jsx("nav", {
7
- ref: ref,
8
- "aria-label": "breadcrumb",
9
- ...props
10
- }));
7
+ const Breadcrumb = /*#__PURE__*/ forwardRef((t0, ref)=>{
8
+ const $ = c(5);
9
+ let props;
10
+ if ($[0] !== t0) {
11
+ ({ ...props } = t0);
12
+ $[0] = t0;
13
+ $[1] = props;
14
+ } else props = $[1];
15
+ let t1;
16
+ if ($[2] !== props || $[3] !== ref) {
17
+ t1 = /*#__PURE__*/ jsx("nav", {
18
+ ref: ref,
19
+ "aria-label": "breadcrumb",
20
+ ...props
21
+ });
22
+ $[2] = props;
23
+ $[3] = ref;
24
+ $[4] = t1;
25
+ } else t1 = $[4];
26
+ return t1;
27
+ });
11
28
  Breadcrumb.displayName = 'Breadcrumb';
12
- const BreadcrumbList = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("ol", {
13
- ref: ref,
14
- className: cn('flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5', className),
15
- ...props
16
- }));
29
+ const BreadcrumbList = /*#__PURE__*/ forwardRef((t0, ref)=>{
30
+ const $ = c(9);
31
+ let className;
32
+ let props;
33
+ if ($[0] !== t0) {
34
+ ({ className, ...props } = t0);
35
+ $[0] = t0;
36
+ $[1] = className;
37
+ $[2] = props;
38
+ } else {
39
+ className = $[1];
40
+ props = $[2];
41
+ }
42
+ let t1;
43
+ if ($[3] !== className) {
44
+ t1 = cn("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", className);
45
+ $[3] = className;
46
+ $[4] = t1;
47
+ } else t1 = $[4];
48
+ let t2;
49
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
50
+ t2 = /*#__PURE__*/ jsx("ol", {
51
+ ref: ref,
52
+ className: t1,
53
+ ...props
54
+ });
55
+ $[5] = props;
56
+ $[6] = ref;
57
+ $[7] = t1;
58
+ $[8] = t2;
59
+ } else t2 = $[8];
60
+ return t2;
61
+ });
17
62
  BreadcrumbList.displayName = 'BreadcrumbList';
18
- const BreadcrumbItem = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("li", {
19
- ref: ref,
20
- className: cn('inline-flex items-center gap-1.5', className),
21
- ...props
22
- }));
63
+ const BreadcrumbItem = /*#__PURE__*/ forwardRef((t0, ref)=>{
64
+ const $ = c(9);
65
+ let className;
66
+ let props;
67
+ if ($[0] !== t0) {
68
+ ({ className, ...props } = t0);
69
+ $[0] = t0;
70
+ $[1] = className;
71
+ $[2] = props;
72
+ } else {
73
+ className = $[1];
74
+ props = $[2];
75
+ }
76
+ let t1;
77
+ if ($[3] !== className) {
78
+ t1 = cn("inline-flex items-center gap-1.5", className);
79
+ $[3] = className;
80
+ $[4] = t1;
81
+ } else t1 = $[4];
82
+ let t2;
83
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
84
+ t2 = /*#__PURE__*/ jsx("li", {
85
+ ref: ref,
86
+ className: t1,
87
+ ...props
88
+ });
89
+ $[5] = props;
90
+ $[6] = ref;
91
+ $[7] = t1;
92
+ $[8] = t2;
93
+ } else t2 = $[8];
94
+ return t2;
95
+ });
23
96
  BreadcrumbItem.displayName = 'BreadcrumbItem';
24
- const BreadcrumbLink = /*#__PURE__*/ forwardRef(({ asChild, className, ...props }, ref)=>{
25
- const Comp = asChild ? Slot : 'a';
26
- return /*#__PURE__*/ jsx(Comp, {
27
- ref: ref,
28
- className: cn('transition-colors hover:text-foreground', className),
29
- ...props
30
- });
97
+ const BreadcrumbLink = /*#__PURE__*/ forwardRef((t0, ref)=>{
98
+ const $ = c(11);
99
+ let asChild;
100
+ let className;
101
+ let props;
102
+ if ($[0] !== t0) {
103
+ ({ asChild, className, ...props } = t0);
104
+ $[0] = t0;
105
+ $[1] = asChild;
106
+ $[2] = className;
107
+ $[3] = props;
108
+ } else {
109
+ asChild = $[1];
110
+ className = $[2];
111
+ props = $[3];
112
+ }
113
+ const Comp = asChild ? Slot : "a";
114
+ let t1;
115
+ if ($[4] !== className) {
116
+ t1 = cn("transition-colors hover:text-foreground", className);
117
+ $[4] = className;
118
+ $[5] = t1;
119
+ } else t1 = $[5];
120
+ let t2;
121
+ if ($[6] !== Comp || $[7] !== props || $[8] !== ref || $[9] !== t1) {
122
+ t2 = /*#__PURE__*/ jsx(Comp, {
123
+ ref: ref,
124
+ className: t1,
125
+ ...props
126
+ });
127
+ $[6] = Comp;
128
+ $[7] = props;
129
+ $[8] = ref;
130
+ $[9] = t1;
131
+ $[10] = t2;
132
+ } else t2 = $[10];
133
+ return t2;
31
134
  });
32
135
  BreadcrumbLink.displayName = 'BreadcrumbLink';
33
- const BreadcrumbPage = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("span", {
34
- ref: ref,
35
- role: "link",
36
- "aria-disabled": "true",
37
- "aria-current": "page",
38
- className: cn('font-normal text-foreground', className),
39
- ...props
40
- }));
136
+ const BreadcrumbPage = /*#__PURE__*/ forwardRef((t0, ref)=>{
137
+ const $ = c(9);
138
+ let className;
139
+ let props;
140
+ if ($[0] !== t0) {
141
+ ({ className, ...props } = t0);
142
+ $[0] = t0;
143
+ $[1] = className;
144
+ $[2] = props;
145
+ } else {
146
+ className = $[1];
147
+ props = $[2];
148
+ }
149
+ let t1;
150
+ if ($[3] !== className) {
151
+ t1 = cn("font-normal text-foreground", className);
152
+ $[3] = className;
153
+ $[4] = t1;
154
+ } else t1 = $[4];
155
+ let t2;
156
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
157
+ t2 = /*#__PURE__*/ jsx("span", {
158
+ ref: ref,
159
+ role: "link",
160
+ "aria-disabled": "true",
161
+ "aria-current": "page",
162
+ className: t1,
163
+ ...props
164
+ });
165
+ $[5] = props;
166
+ $[6] = ref;
167
+ $[7] = t1;
168
+ $[8] = t2;
169
+ } else t2 = $[8];
170
+ return t2;
171
+ });
41
172
  BreadcrumbPage.displayName = 'BreadcrumbPage';
42
- const BreadcrumbSeparator = ({ children, className, ...props })=>/*#__PURE__*/ jsx("li", {
43
- role: "presentation",
44
- "aria-hidden": "true",
45
- className: cn('[&>svg]:w-3.5 [&>svg]:h-3.5', className),
46
- ...props,
47
- children: children ?? /*#__PURE__*/ jsx(ChevronRight, {})
48
- });
173
+ const BreadcrumbSeparator = (t0)=>{
174
+ const $ = c(12);
175
+ let children;
176
+ let className;
177
+ let props;
178
+ if ($[0] !== t0) {
179
+ ({ children, className, ...props } = t0);
180
+ $[0] = t0;
181
+ $[1] = children;
182
+ $[2] = className;
183
+ $[3] = props;
184
+ } else {
185
+ children = $[1];
186
+ className = $[2];
187
+ props = $[3];
188
+ }
189
+ let t1;
190
+ if ($[4] !== className) {
191
+ t1 = cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className);
192
+ $[4] = className;
193
+ $[5] = t1;
194
+ } else t1 = $[5];
195
+ let t2;
196
+ if ($[6] !== children) {
197
+ t2 = children ?? /*#__PURE__*/ jsx(ChevronRight, {});
198
+ $[6] = children;
199
+ $[7] = t2;
200
+ } else t2 = $[7];
201
+ let t3;
202
+ if ($[8] !== props || $[9] !== t1 || $[10] !== t2) {
203
+ t3 = /*#__PURE__*/ jsx("li", {
204
+ role: "presentation",
205
+ "aria-hidden": "true",
206
+ className: t1,
207
+ ...props,
208
+ children: t2
209
+ });
210
+ $[8] = props;
211
+ $[9] = t1;
212
+ $[10] = t2;
213
+ $[11] = t3;
214
+ } else t3 = $[11];
215
+ return t3;
216
+ };
49
217
  BreadcrumbSeparator.displayName = 'BreadcrumbSeparator';
50
- const BreadcrumbEllipsis = ({ className, ...props })=>/*#__PURE__*/ jsxs("span", {
51
- role: "presentation",
52
- "aria-hidden": "true",
53
- className: cn('flex h-9 w-9 items-center justify-center', className),
54
- ...props,
55
- children: [
56
- /*#__PURE__*/ jsx(MoreHorizontal, {
57
- className: "h-4 w-4"
58
- }),
59
- /*#__PURE__*/ jsx("span", {
60
- className: "sr-only",
61
- children: "More"
62
- })
63
- ]
64
- });
218
+ const BreadcrumbEllipsis = (t0)=>{
219
+ const $ = c(10);
220
+ let className;
221
+ let props;
222
+ if ($[0] !== t0) {
223
+ ({ className, ...props } = t0);
224
+ $[0] = t0;
225
+ $[1] = className;
226
+ $[2] = props;
227
+ } else {
228
+ className = $[1];
229
+ props = $[2];
230
+ }
231
+ let t1;
232
+ if ($[3] !== className) {
233
+ t1 = cn("flex h-9 w-9 items-center justify-center", className);
234
+ $[3] = className;
235
+ $[4] = t1;
236
+ } else t1 = $[4];
237
+ let t2;
238
+ let t3;
239
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
240
+ t2 = /*#__PURE__*/ jsx(MoreHorizontal, {
241
+ className: "h-4 w-4"
242
+ });
243
+ t3 = /*#__PURE__*/ jsx("span", {
244
+ className: "sr-only",
245
+ children: "More"
246
+ });
247
+ $[5] = t2;
248
+ $[6] = t3;
249
+ } else {
250
+ t2 = $[5];
251
+ t3 = $[6];
252
+ }
253
+ let t4;
254
+ if ($[7] !== props || $[8] !== t1) {
255
+ t4 = /*#__PURE__*/ jsxs("span", {
256
+ role: "presentation",
257
+ "aria-hidden": "true",
258
+ className: t1,
259
+ ...props,
260
+ children: [
261
+ t2,
262
+ t3
263
+ ]
264
+ });
265
+ $[7] = props;
266
+ $[8] = t1;
267
+ $[9] = t4;
268
+ } else t4 = $[9];
269
+ return t4;
270
+ };
65
271
  BreadcrumbEllipsis.displayName = 'BreadcrumbElipssis';
66
272
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };