crm-project-ui 0.1.32 → 0.1.34
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.
- package/dist/index.cjs +548 -436
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +482 -100
- package/dist/index.d.cts +72 -52
- package/dist/index.d.ts +72 -52
- package/dist/index.js +712 -600
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
require('./chunk-X6EUC44O.cjs');
|
|
3
3
|
|
|
4
4
|
// src/components/ui/accordion/index.tsx
|
|
5
5
|
var _lucidereact = require('lucide-react');
|
|
6
|
-
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var
|
|
6
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React14 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var React15 = _interopRequireWildcard(_react); var React16 = _interopRequireWildcard(_react); var React17 = _interopRequireWildcard(_react); var React18 = _interopRequireWildcard(_react); var React19 = _interopRequireWildcard(_react); var React20 = _interopRequireWildcard(_react); var React21 = _interopRequireWildcard(_react); var React22 = _interopRequireWildcard(_react); var React23 = _interopRequireWildcard(_react); var React24 = _interopRequireWildcard(_react); var React25 = _interopRequireWildcard(_react); var React26 = _interopRequireWildcard(_react); var React27 = _interopRequireWildcard(_react); var React28 = _interopRequireWildcard(_react); var React31 = _interopRequireWildcard(_react); var React29 = _interopRequireWildcard(_react); var React30 = _interopRequireWildcard(_react); var React32 = _interopRequireWildcard(_react); var React33 = _interopRequireWildcard(_react); var React34 = _interopRequireWildcard(_react); var React35 = _interopRequireWildcard(_react); var React36 = _interopRequireWildcard(_react); var React37 = _interopRequireWildcard(_react); var React38 = _interopRequireWildcard(_react);
|
|
7
7
|
|
|
8
8
|
// src/lib/utils.ts
|
|
9
9
|
var _clsx = require('clsx');
|
|
@@ -135,59 +135,193 @@ AlertDescription.displayName = "AlertDescription";
|
|
|
135
135
|
|
|
136
136
|
// src/components/ui/alert-dialog/index.tsx
|
|
137
137
|
|
|
138
|
+
var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var AlertDialogPrimitive = _interopRequireWildcard(_reactalertdialog);
|
|
138
139
|
|
|
139
|
-
// src/components/ui/button/
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
var _reactslot = require('@radix-ui/react-slot');
|
|
140
|
+
// src/components/ui/button/variance.ts
|
|
143
141
|
|
|
144
142
|
var buttonVariants = _classvarianceauthority.cva.call(void 0,
|
|
145
|
-
|
|
143
|
+
[
|
|
144
|
+
"rounded-sm",
|
|
145
|
+
"duration-300",
|
|
146
|
+
"justify-center",
|
|
147
|
+
"transition-all",
|
|
148
|
+
"items-center",
|
|
149
|
+
"gap-2",
|
|
150
|
+
"disabled:cursor-not-allowed",
|
|
151
|
+
"h-fit"
|
|
152
|
+
],
|
|
146
153
|
{
|
|
147
154
|
variants: {
|
|
148
155
|
variant: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
primary: [
|
|
157
|
+
"font-medium",
|
|
158
|
+
"text-slate-50",
|
|
159
|
+
"bg-blue-500",
|
|
160
|
+
"lg:hover:brightness-110",
|
|
161
|
+
"flex",
|
|
162
|
+
"font-normal",
|
|
163
|
+
"py-2",
|
|
164
|
+
"px-6",
|
|
165
|
+
"w-full"
|
|
166
|
+
],
|
|
167
|
+
secondary: [
|
|
168
|
+
"font-medium",
|
|
169
|
+
"text-slate-50",
|
|
170
|
+
"bg-neutral-700",
|
|
171
|
+
"lg:hover:brightness-110",
|
|
172
|
+
"flex",
|
|
173
|
+
"font-normal",
|
|
174
|
+
"py-2",
|
|
175
|
+
"px-6",
|
|
176
|
+
"w-full"
|
|
177
|
+
],
|
|
178
|
+
outlineWhite: [
|
|
179
|
+
"font-medium",
|
|
180
|
+
"border",
|
|
181
|
+
"border-neutral-50",
|
|
182
|
+
"bg-transparent",
|
|
183
|
+
"text-neutral-50",
|
|
184
|
+
"lg:hover:text-neutral-700",
|
|
185
|
+
"lg:hover:bg-neutral-50",
|
|
186
|
+
"flex",
|
|
187
|
+
"font-normal",
|
|
188
|
+
"py-2",
|
|
189
|
+
"px-4",
|
|
190
|
+
"w-full"
|
|
191
|
+
],
|
|
192
|
+
outlineBlue: [
|
|
193
|
+
"font-medium",
|
|
194
|
+
"border",
|
|
195
|
+
"border-blue-500",
|
|
196
|
+
"bg-transparent",
|
|
197
|
+
"text-blue-500",
|
|
198
|
+
"lg:hover:text-blue-50",
|
|
199
|
+
"lg:hover:bg-blue-500",
|
|
200
|
+
"flex",
|
|
201
|
+
"font-normal",
|
|
202
|
+
"py-2",
|
|
203
|
+
"px-4",
|
|
204
|
+
"w-full"
|
|
205
|
+
],
|
|
206
|
+
outlineDark: [
|
|
207
|
+
"font-medium",
|
|
208
|
+
"border",
|
|
209
|
+
"border-neutral-400",
|
|
210
|
+
"lg:hover:bg-neutral-50",
|
|
211
|
+
"text-neutral-500",
|
|
212
|
+
"flex",
|
|
213
|
+
"font-normal",
|
|
214
|
+
"py-2",
|
|
215
|
+
"px-4",
|
|
216
|
+
"w-full"
|
|
217
|
+
],
|
|
218
|
+
ghostWhite: [
|
|
219
|
+
"font-medium",
|
|
220
|
+
"bg-transparent",
|
|
221
|
+
"text-slate-50",
|
|
222
|
+
"lg:hover:text-slate-700",
|
|
223
|
+
"lg:hover:bg-slate-50",
|
|
224
|
+
"flex",
|
|
225
|
+
"font-normal",
|
|
226
|
+
"py-2",
|
|
227
|
+
"px-6",
|
|
228
|
+
"w-full"
|
|
229
|
+
],
|
|
230
|
+
ghostDark: [
|
|
231
|
+
"font-medium",
|
|
232
|
+
"bg-transparent",
|
|
233
|
+
"text-neutral-700",
|
|
234
|
+
"border",
|
|
235
|
+
"border-neutral-700",
|
|
236
|
+
"lg:hover:bg-neutral-50",
|
|
237
|
+
"flex",
|
|
238
|
+
"font-normal",
|
|
239
|
+
"py-2",
|
|
240
|
+
"px-6",
|
|
241
|
+
"w-full"
|
|
242
|
+
],
|
|
243
|
+
ghost: [
|
|
244
|
+
"font-medium",
|
|
245
|
+
"bg-transparent",
|
|
246
|
+
"text-neutral-700",
|
|
247
|
+
"border",
|
|
248
|
+
"border-neutral-700",
|
|
249
|
+
"flex",
|
|
250
|
+
"font-normal",
|
|
251
|
+
"lg:hover:bg-neutral-50",
|
|
252
|
+
"py-2",
|
|
253
|
+
"px-6",
|
|
254
|
+
"w-full"
|
|
255
|
+
],
|
|
256
|
+
link: [
|
|
257
|
+
"text-neutral-700",
|
|
258
|
+
"bg-transparent",
|
|
259
|
+
"lg:hover:underline",
|
|
260
|
+
"py-0",
|
|
261
|
+
"px-0",
|
|
262
|
+
"font-light",
|
|
263
|
+
"inline"
|
|
264
|
+
],
|
|
265
|
+
onlyIconLight: [
|
|
266
|
+
"rounded-sm",
|
|
267
|
+
"p-1.5",
|
|
268
|
+
"duration-default",
|
|
269
|
+
"text-neutral-400",
|
|
270
|
+
"lg:hover:bg-neutral-100"
|
|
271
|
+
],
|
|
272
|
+
onlyIconDark: [
|
|
273
|
+
"rounded-sm",
|
|
274
|
+
"p-1.5",
|
|
275
|
+
"duration-default",
|
|
276
|
+
"lg:hover:bg-neutral-600"
|
|
277
|
+
],
|
|
278
|
+
onlyIconPrimary: [
|
|
279
|
+
"rounded-sm",
|
|
280
|
+
"p-1.5",
|
|
281
|
+
"duration-default",
|
|
282
|
+
"text-neutral-50",
|
|
283
|
+
"bg-blue-500",
|
|
284
|
+
"lg:hover:brightness-125"
|
|
285
|
+
]
|
|
155
286
|
},
|
|
156
287
|
size: {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
288
|
+
small: ["text-sm"],
|
|
289
|
+
medium: ["text-base"],
|
|
290
|
+
large: ["text-lg"]
|
|
291
|
+
},
|
|
292
|
+
container: {
|
|
293
|
+
fluid: ["lg:w-full"],
|
|
294
|
+
fixed: ["lg:w-fit"]
|
|
295
|
+
},
|
|
296
|
+
isLoading: {
|
|
297
|
+
true: [""],
|
|
298
|
+
false: [""]
|
|
299
|
+
},
|
|
300
|
+
isDisabled: {
|
|
301
|
+
true: ["opacity-70", "cursor-not-allowed", "pointer-events-none"],
|
|
302
|
+
false: []
|
|
161
303
|
}
|
|
162
304
|
},
|
|
163
|
-
|
|
164
|
-
variant: "default",
|
|
165
|
-
size: "default"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
var Button = React3.forwardRef(
|
|
170
|
-
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
171
|
-
const Comp = asChild ? _reactslot.Slot : "button";
|
|
172
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
Comp,
|
|
305
|
+
compoundVariants: [
|
|
174
306
|
{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
...props
|
|
307
|
+
variant: "link",
|
|
308
|
+
container: "fixed"
|
|
178
309
|
}
|
|
179
|
-
|
|
310
|
+
],
|
|
311
|
+
defaultVariants: {
|
|
312
|
+
variant: "primary",
|
|
313
|
+
size: "medium",
|
|
314
|
+
container: "fixed"
|
|
315
|
+
}
|
|
180
316
|
}
|
|
181
317
|
);
|
|
182
|
-
Button.displayName = "Button";
|
|
183
318
|
|
|
184
319
|
// src/components/ui/alert-dialog/index.tsx
|
|
185
|
-
var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var AlertDialogPrimitive = _interopRequireWildcard(_reactalertdialog);
|
|
186
320
|
|
|
187
321
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
188
322
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
189
323
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
190
|
-
var AlertDialogOverlay =
|
|
324
|
+
var AlertDialogOverlay = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
325
|
AlertDialogPrimitive.Overlay,
|
|
192
326
|
{
|
|
193
327
|
className: cn(
|
|
@@ -199,7 +333,7 @@ var AlertDialogOverlay = React4.forwardRef(({ className, ...props }, ref) => /*
|
|
|
199
333
|
}
|
|
200
334
|
));
|
|
201
335
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
202
|
-
var AlertDialogContent =
|
|
336
|
+
var AlertDialogContent = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogPortal, { children: [
|
|
203
337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogOverlay, {}),
|
|
204
338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
205
339
|
AlertDialogPrimitive.Content,
|
|
@@ -242,7 +376,7 @@ var AlertDialogFooter = ({
|
|
|
242
376
|
}
|
|
243
377
|
);
|
|
244
378
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
245
|
-
var AlertDialogTitle =
|
|
379
|
+
var AlertDialogTitle = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
246
380
|
AlertDialogPrimitive.Title,
|
|
247
381
|
{
|
|
248
382
|
className: cn("text-lg font-semibold", className),
|
|
@@ -251,7 +385,7 @@ var AlertDialogTitle = React4.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
251
385
|
}
|
|
252
386
|
));
|
|
253
387
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
254
|
-
var AlertDialogDescription =
|
|
388
|
+
var AlertDialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
255
389
|
AlertDialogPrimitive.Description,
|
|
256
390
|
{
|
|
257
391
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -260,7 +394,7 @@ var AlertDialogDescription = React4.forwardRef(({ className, ...props }, ref) =>
|
|
|
260
394
|
}
|
|
261
395
|
));
|
|
262
396
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
263
|
-
var AlertDialogAction =
|
|
397
|
+
var AlertDialogAction = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
398
|
AlertDialogPrimitive.Action,
|
|
265
399
|
{
|
|
266
400
|
className: cn(buttonVariants(), className),
|
|
@@ -269,11 +403,11 @@ var AlertDialogAction = React4.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
269
403
|
}
|
|
270
404
|
));
|
|
271
405
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
272
|
-
var AlertDialogCancel =
|
|
406
|
+
var AlertDialogCancel = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
273
407
|
AlertDialogPrimitive.Cancel,
|
|
274
408
|
{
|
|
275
409
|
className: cn(
|
|
276
|
-
buttonVariants({ variant: "
|
|
410
|
+
buttonVariants({ variant: "primary" }),
|
|
277
411
|
"mt-2 sm:mt-0",
|
|
278
412
|
className
|
|
279
413
|
),
|
|
@@ -287,7 +421,7 @@ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
|
287
421
|
|
|
288
422
|
var _reactavatar = require('@radix-ui/react-avatar'); var AvatarPrimitive = _interopRequireWildcard(_reactavatar);
|
|
289
423
|
|
|
290
|
-
var Avatar =
|
|
424
|
+
var Avatar = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
425
|
AvatarPrimitive.Root,
|
|
292
426
|
{
|
|
293
427
|
className: cn(
|
|
@@ -299,7 +433,7 @@ var Avatar = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
299
433
|
}
|
|
300
434
|
));
|
|
301
435
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
302
|
-
var AvatarImage =
|
|
436
|
+
var AvatarImage = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
437
|
AvatarPrimitive.Image,
|
|
304
438
|
{
|
|
305
439
|
className: cn("aspect-square h-full w-full", className),
|
|
@@ -308,7 +442,7 @@ var AvatarImage = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
308
442
|
}
|
|
309
443
|
));
|
|
310
444
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
311
|
-
var AvatarFallback =
|
|
445
|
+
var AvatarFallback = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
446
|
AvatarPrimitive.Fallback,
|
|
313
447
|
{
|
|
314
448
|
className: cn(
|
|
@@ -347,11 +481,11 @@ function Badge({ className, variant, ...props }) {
|
|
|
347
481
|
// src/components/ui/breadcrumb/index.tsx
|
|
348
482
|
|
|
349
483
|
|
|
484
|
+
var _reactslot = require('@radix-ui/react-slot');
|
|
350
485
|
|
|
351
|
-
|
|
352
|
-
var Breadcrumb = React6.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "breadcrumb", ref, ...props }));
|
|
486
|
+
var Breadcrumb = React5.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "breadcrumb", ref, ...props }));
|
|
353
487
|
Breadcrumb.displayName = "Breadcrumb";
|
|
354
|
-
var BreadcrumbList =
|
|
488
|
+
var BreadcrumbList = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
489
|
"ol",
|
|
356
490
|
{
|
|
357
491
|
className: cn(
|
|
@@ -363,7 +497,7 @@ var BreadcrumbList = React6.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
363
497
|
}
|
|
364
498
|
));
|
|
365
499
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
366
|
-
var BreadcrumbItem =
|
|
500
|
+
var BreadcrumbItem = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
501
|
"li",
|
|
368
502
|
{
|
|
369
503
|
className: cn("inline-flex items-center gap-1.5", className),
|
|
@@ -372,7 +506,7 @@ var BreadcrumbItem = React6.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
372
506
|
}
|
|
373
507
|
));
|
|
374
508
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
375
|
-
var BreadcrumbLink =
|
|
509
|
+
var BreadcrumbLink = React5.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
376
510
|
const Comp = asChild ? _reactslot.Slot : "a";
|
|
377
511
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
378
512
|
Comp,
|
|
@@ -384,7 +518,7 @@ var BreadcrumbLink = React6.forwardRef(({ asChild, className, ...props }, ref) =
|
|
|
384
518
|
);
|
|
385
519
|
});
|
|
386
520
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
387
|
-
var BreadcrumbPage =
|
|
521
|
+
var BreadcrumbPage = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
522
|
"span",
|
|
389
523
|
{
|
|
390
524
|
"aria-current": "page",
|
|
@@ -429,6 +563,142 @@ var BreadcrumbEllipsis = ({
|
|
|
429
563
|
);
|
|
430
564
|
BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
431
565
|
|
|
566
|
+
// src/components/ui/button/index.tsx
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
// src/utils/get-button-element-type.ts
|
|
571
|
+
var getButtonElementType = ({
|
|
572
|
+
as = "button",
|
|
573
|
+
href,
|
|
574
|
+
target
|
|
575
|
+
}) => {
|
|
576
|
+
if (!href) return as;
|
|
577
|
+
const isExternal = /^https?:\/\//.test(href);
|
|
578
|
+
if (isExternal || target === "_blank") {
|
|
579
|
+
return "a";
|
|
580
|
+
}
|
|
581
|
+
return "button";
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
// src/components/ui/spin/index.tsx
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
// src/components/ui/spin/variance.ts
|
|
588
|
+
|
|
589
|
+
var spinVariants = _classvarianceauthority.cva.call(void 0, ["flex", "items-center", "justify-center"], {
|
|
590
|
+
variants: {
|
|
591
|
+
variant: {
|
|
592
|
+
light: ["dark"],
|
|
593
|
+
dark: ["light"]
|
|
594
|
+
},
|
|
595
|
+
size: {
|
|
596
|
+
small: ["h-4", "w-4"],
|
|
597
|
+
medium: ["h-5", "w-5"],
|
|
598
|
+
large: ["h-6", "w-6"]
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
defaultVariants: {
|
|
602
|
+
size: "small"
|
|
603
|
+
}
|
|
604
|
+
});
|
|
605
|
+
var spinIconVariants = _classvarianceauthority.cva.call(void 0, ["inline", " w-full", "animate-spin"], {
|
|
606
|
+
variants: {
|
|
607
|
+
variant: {
|
|
608
|
+
light: ["fill-slate-500", "text-slate-500/20"],
|
|
609
|
+
dark: ["fill-slate-100", "text-slate-100/30"]
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
defaultVariants: {
|
|
613
|
+
variant: "light"
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
|
|
617
|
+
// src/components/ui/spin/index.tsx
|
|
618
|
+
|
|
619
|
+
var Spin = React6.forwardRef(
|
|
620
|
+
({ size, variant, className }, ref) => {
|
|
621
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
+
"div",
|
|
623
|
+
{
|
|
624
|
+
className: spinVariants({
|
|
625
|
+
variant,
|
|
626
|
+
size,
|
|
627
|
+
className
|
|
628
|
+
}),
|
|
629
|
+
"data-cid": "spin",
|
|
630
|
+
ref,
|
|
631
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
632
|
+
"svg",
|
|
633
|
+
{
|
|
634
|
+
className: spinIconVariants({ variant }),
|
|
635
|
+
fill: "none",
|
|
636
|
+
viewBox: "0 0 100 101",
|
|
637
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
638
|
+
children: [
|
|
639
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
640
|
+
"path",
|
|
641
|
+
{
|
|
642
|
+
d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 50.5908Z",
|
|
643
|
+
fill: "currentColor"
|
|
644
|
+
}
|
|
645
|
+
),
|
|
646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
647
|
+
"path",
|
|
648
|
+
{
|
|
649
|
+
d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
|
|
650
|
+
fill: "currentFill"
|
|
651
|
+
}
|
|
652
|
+
)
|
|
653
|
+
]
|
|
654
|
+
}
|
|
655
|
+
)
|
|
656
|
+
}
|
|
657
|
+
);
|
|
658
|
+
}
|
|
659
|
+
);
|
|
660
|
+
Spin.displayName = "Spin";
|
|
661
|
+
|
|
662
|
+
// src/components/ui/button/index.tsx
|
|
663
|
+
|
|
664
|
+
var Button = React7.forwardRef(
|
|
665
|
+
({
|
|
666
|
+
variant = "primary",
|
|
667
|
+
size,
|
|
668
|
+
container,
|
|
669
|
+
className,
|
|
670
|
+
children,
|
|
671
|
+
isLoading,
|
|
672
|
+
disabled,
|
|
673
|
+
icon = null,
|
|
674
|
+
...props
|
|
675
|
+
}, ref) => {
|
|
676
|
+
const spinShouldBeDark = _optionalChain([variant, 'optionalAccess', _ => _.includes, 'call', _2 => _2("dark")]) || _optionalChain([variant, 'optionalAccess', _3 => _3.includes, 'call', _4 => _4("primary")]) || _optionalChain([variant, 'optionalAccess', _5 => _5.includes, 'call', _6 => _6("tertiary")]);
|
|
677
|
+
const spin = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Spin, { variant: spinShouldBeDark ? "dark" : "light" });
|
|
678
|
+
return _react.createElement.call(void 0,
|
|
679
|
+
getButtonElementType(props),
|
|
680
|
+
{
|
|
681
|
+
ref,
|
|
682
|
+
className: buttonVariants({
|
|
683
|
+
variant,
|
|
684
|
+
size,
|
|
685
|
+
container,
|
|
686
|
+
isDisabled: disabled,
|
|
687
|
+
className,
|
|
688
|
+
isLoading
|
|
689
|
+
}),
|
|
690
|
+
disabled: isLoading || disabled,
|
|
691
|
+
...props
|
|
692
|
+
},
|
|
693
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
694
|
+
isLoading ? spin : icon,
|
|
695
|
+
children
|
|
696
|
+
] })
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
);
|
|
700
|
+
Button.displayName = "Button";
|
|
701
|
+
|
|
432
702
|
// src/components/ui/calendar/index.tsx
|
|
433
703
|
|
|
434
704
|
|
|
@@ -456,7 +726,7 @@ function Calendar({
|
|
|
456
726
|
_reactdaypicker.DayPicker,
|
|
457
727
|
{
|
|
458
728
|
className: cn(
|
|
459
|
-
"bg-background group/calendar p-3 [--cell-size:--spacing(8)]
|
|
729
|
+
"bg-background group/calendar p-3 [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",
|
|
460
730
|
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
461
731
|
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
462
732
|
className
|
|
@@ -594,9 +864,9 @@ function CalendarDayButton({
|
|
|
594
864
|
...props
|
|
595
865
|
}) {
|
|
596
866
|
const defaultClassNames = _reactdaypicker.getDefaultClassNames.call(void 0, );
|
|
597
|
-
const ref =
|
|
598
|
-
|
|
599
|
-
if (modifiers.focused) _optionalChain([ref, 'access',
|
|
867
|
+
const ref = React8.useRef(null);
|
|
868
|
+
React8.useEffect(() => {
|
|
869
|
+
if (modifiers.focused) _optionalChain([ref, 'access', _7 => _7.current, 'optionalAccess', _8 => _8.focus, 'call', _9 => _9()]);
|
|
600
870
|
}, [modifiers.focused]);
|
|
601
871
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
602
872
|
Button,
|
|
@@ -612,7 +882,6 @@ function CalendarDayButton({
|
|
|
612
882
|
"data-range-middle": modifiers.range_middle,
|
|
613
883
|
"data-range-start": modifiers.range_start,
|
|
614
884
|
ref,
|
|
615
|
-
size: "icon",
|
|
616
885
|
variant: "ghost",
|
|
617
886
|
...props
|
|
618
887
|
}
|
|
@@ -622,7 +891,7 @@ function CalendarDayButton({
|
|
|
622
891
|
// src/components/ui/card/index.tsx
|
|
623
892
|
|
|
624
893
|
|
|
625
|
-
var Card =
|
|
894
|
+
var Card = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
895
|
"div",
|
|
627
896
|
{
|
|
628
897
|
className: cn(
|
|
@@ -634,7 +903,7 @@ var Card = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _
|
|
|
634
903
|
}
|
|
635
904
|
));
|
|
636
905
|
Card.displayName = "Card";
|
|
637
|
-
var CardHeader =
|
|
906
|
+
var CardHeader = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
638
907
|
"div",
|
|
639
908
|
{
|
|
640
909
|
className: cn("flex flex-col space-y-1.5 p-6", className),
|
|
@@ -643,7 +912,7 @@ var CardHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
643
912
|
}
|
|
644
913
|
));
|
|
645
914
|
CardHeader.displayName = "CardHeader";
|
|
646
|
-
var CardTitle =
|
|
915
|
+
var CardTitle = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
647
916
|
"div",
|
|
648
917
|
{
|
|
649
918
|
className: cn("leading-none font-semibold tracking-tight", className),
|
|
@@ -652,7 +921,7 @@ var CardTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
652
921
|
}
|
|
653
922
|
));
|
|
654
923
|
CardTitle.displayName = "CardTitle";
|
|
655
|
-
var CardDescription =
|
|
924
|
+
var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
656
925
|
"div",
|
|
657
926
|
{
|
|
658
927
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -661,9 +930,9 @@ var CardDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
661
930
|
}
|
|
662
931
|
));
|
|
663
932
|
CardDescription.displayName = "CardDescription";
|
|
664
|
-
var CardContent =
|
|
933
|
+
var CardContent = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cn("p-6 pt-0", className), ref, ...props }));
|
|
665
934
|
CardContent.displayName = "CardContent";
|
|
666
|
-
var CardFooter =
|
|
935
|
+
var CardFooter = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
667
936
|
"div",
|
|
668
937
|
{
|
|
669
938
|
className: cn("flex items-center p-6 pt-0", className),
|
|
@@ -673,193 +942,6 @@ var CardFooter = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
673
942
|
));
|
|
674
943
|
CardFooter.displayName = "CardFooter";
|
|
675
944
|
|
|
676
|
-
// src/components/ui/carousel/index.tsx
|
|
677
|
-
var _emblacarouselreact = require('embla-carousel-react'); var _emblacarouselreact2 = _interopRequireDefault(_emblacarouselreact);
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
var CarouselContext = React9.createContext(null);
|
|
682
|
-
function useCarousel() {
|
|
683
|
-
const context = React9.useContext(CarouselContext);
|
|
684
|
-
if (!context) {
|
|
685
|
-
throw new Error("useCarousel must be used within a <Carousel />");
|
|
686
|
-
}
|
|
687
|
-
return context;
|
|
688
|
-
}
|
|
689
|
-
var Carousel = React9.forwardRef(
|
|
690
|
-
({
|
|
691
|
-
orientation = "horizontal",
|
|
692
|
-
opts,
|
|
693
|
-
setApi,
|
|
694
|
-
plugins,
|
|
695
|
-
className,
|
|
696
|
-
children,
|
|
697
|
-
...props
|
|
698
|
-
}, ref) => {
|
|
699
|
-
const [carouselRef, api] = _emblacarouselreact2.default.call(void 0,
|
|
700
|
-
{
|
|
701
|
-
...opts,
|
|
702
|
-
axis: orientation === "horizontal" ? "x" : "y"
|
|
703
|
-
},
|
|
704
|
-
plugins
|
|
705
|
-
);
|
|
706
|
-
const [canScrollPrev, setCanScrollPrev] = React9.useState(false);
|
|
707
|
-
const [canScrollNext, setCanScrollNext] = React9.useState(false);
|
|
708
|
-
const onSelect = React9.useCallback((api2) => {
|
|
709
|
-
if (!api2) {
|
|
710
|
-
return;
|
|
711
|
-
}
|
|
712
|
-
setCanScrollPrev(api2.canScrollPrev());
|
|
713
|
-
setCanScrollNext(api2.canScrollNext());
|
|
714
|
-
}, []);
|
|
715
|
-
const scrollPrev = React9.useCallback(() => {
|
|
716
|
-
_optionalChain([api, 'optionalAccess', _4 => _4.scrollPrev, 'call', _5 => _5()]);
|
|
717
|
-
}, [api]);
|
|
718
|
-
const scrollNext = React9.useCallback(() => {
|
|
719
|
-
_optionalChain([api, 'optionalAccess', _6 => _6.scrollNext, 'call', _7 => _7()]);
|
|
720
|
-
}, [api]);
|
|
721
|
-
const handleKeyDown = React9.useCallback(
|
|
722
|
-
(event) => {
|
|
723
|
-
if (event.key === "ArrowLeft") {
|
|
724
|
-
event.preventDefault();
|
|
725
|
-
scrollPrev();
|
|
726
|
-
} else if (event.key === "ArrowRight") {
|
|
727
|
-
event.preventDefault();
|
|
728
|
-
scrollNext();
|
|
729
|
-
}
|
|
730
|
-
},
|
|
731
|
-
[scrollPrev, scrollNext]
|
|
732
|
-
);
|
|
733
|
-
React9.useEffect(() => {
|
|
734
|
-
if (!api || !setApi) {
|
|
735
|
-
return;
|
|
736
|
-
}
|
|
737
|
-
setApi(api);
|
|
738
|
-
}, [api, setApi]);
|
|
739
|
-
React9.useEffect(() => {
|
|
740
|
-
if (!api) {
|
|
741
|
-
return;
|
|
742
|
-
}
|
|
743
|
-
onSelect(api);
|
|
744
|
-
api.on("reInit", onSelect);
|
|
745
|
-
api.on("select", onSelect);
|
|
746
|
-
return () => {
|
|
747
|
-
_optionalChain([api, 'optionalAccess', _8 => _8.off, 'call', _9 => _9("select", onSelect)]);
|
|
748
|
-
};
|
|
749
|
-
}, [api, onSelect]);
|
|
750
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
751
|
-
CarouselContext.Provider,
|
|
752
|
-
{
|
|
753
|
-
value: {
|
|
754
|
-
carouselRef,
|
|
755
|
-
api,
|
|
756
|
-
opts,
|
|
757
|
-
orientation: orientation || (_optionalChain([opts, 'optionalAccess', _10 => _10.axis]) === "y" ? "vertical" : "horizontal"),
|
|
758
|
-
scrollPrev,
|
|
759
|
-
scrollNext,
|
|
760
|
-
canScrollPrev,
|
|
761
|
-
canScrollNext
|
|
762
|
-
},
|
|
763
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
764
|
-
"div",
|
|
765
|
-
{
|
|
766
|
-
"aria-roledescription": "carousel",
|
|
767
|
-
className: cn("relative", className),
|
|
768
|
-
onKeyDownCapture: handleKeyDown,
|
|
769
|
-
ref,
|
|
770
|
-
role: "region",
|
|
771
|
-
...props,
|
|
772
|
-
children
|
|
773
|
-
}
|
|
774
|
-
)
|
|
775
|
-
}
|
|
776
|
-
);
|
|
777
|
-
}
|
|
778
|
-
);
|
|
779
|
-
Carousel.displayName = "Carousel";
|
|
780
|
-
var CarouselContent = React9.forwardRef(({ className, ...props }, ref) => {
|
|
781
|
-
const { carouselRef, orientation } = useCarousel();
|
|
782
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden", ref: carouselRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
783
|
-
"div",
|
|
784
|
-
{
|
|
785
|
-
className: cn(
|
|
786
|
-
"flex",
|
|
787
|
-
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
788
|
-
className
|
|
789
|
-
),
|
|
790
|
-
ref,
|
|
791
|
-
...props
|
|
792
|
-
}
|
|
793
|
-
) });
|
|
794
|
-
});
|
|
795
|
-
CarouselContent.displayName = "CarouselContent";
|
|
796
|
-
var CarouselItem = React9.forwardRef(({ className, ...props }, ref) => {
|
|
797
|
-
const { orientation } = useCarousel();
|
|
798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
799
|
-
"div",
|
|
800
|
-
{
|
|
801
|
-
className: cn(
|
|
802
|
-
"min-w-0 shrink-0 grow-0 basis-full",
|
|
803
|
-
orientation === "horizontal" ? "pl-4" : "pt-4",
|
|
804
|
-
className
|
|
805
|
-
),
|
|
806
|
-
"aria-roledescription": "slide",
|
|
807
|
-
ref,
|
|
808
|
-
role: "group",
|
|
809
|
-
...props
|
|
810
|
-
}
|
|
811
|
-
);
|
|
812
|
-
});
|
|
813
|
-
CarouselItem.displayName = "CarouselItem";
|
|
814
|
-
var CarouselPrevious = React9.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
815
|
-
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
816
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
817
|
-
Button,
|
|
818
|
-
{
|
|
819
|
-
className: cn(
|
|
820
|
-
"absolute h-8 w-8 rounded-full",
|
|
821
|
-
orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
822
|
-
className
|
|
823
|
-
),
|
|
824
|
-
disabled: !canScrollPrev,
|
|
825
|
-
onClick: scrollPrev,
|
|
826
|
-
ref,
|
|
827
|
-
size,
|
|
828
|
-
variant,
|
|
829
|
-
...props,
|
|
830
|
-
children: [
|
|
831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowLeft, { className: "h-4 w-4" }),
|
|
832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Previous slide" })
|
|
833
|
-
]
|
|
834
|
-
}
|
|
835
|
-
);
|
|
836
|
-
});
|
|
837
|
-
CarouselPrevious.displayName = "CarouselPrevious";
|
|
838
|
-
var CarouselNext = React9.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
839
|
-
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
840
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
841
|
-
Button,
|
|
842
|
-
{
|
|
843
|
-
className: cn(
|
|
844
|
-
"absolute h-8 w-8 rounded-full",
|
|
845
|
-
orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
846
|
-
className
|
|
847
|
-
),
|
|
848
|
-
disabled: !canScrollNext,
|
|
849
|
-
onClick: scrollNext,
|
|
850
|
-
ref,
|
|
851
|
-
size,
|
|
852
|
-
variant,
|
|
853
|
-
...props,
|
|
854
|
-
children: [
|
|
855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowRight, { className: "h-4 w-4" }),
|
|
856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Next slide" })
|
|
857
|
-
]
|
|
858
|
-
}
|
|
859
|
-
);
|
|
860
|
-
});
|
|
861
|
-
CarouselNext.displayName = "CarouselNext";
|
|
862
|
-
|
|
863
945
|
// src/components/ui/checkbox/index.tsx
|
|
864
946
|
|
|
865
947
|
|
|
@@ -1118,11 +1200,11 @@ function FieldError({
|
|
|
1118
1200
|
if (!errors) {
|
|
1119
1201
|
return null;
|
|
1120
1202
|
}
|
|
1121
|
-
if (_optionalChain([errors, 'optionalAccess',
|
|
1203
|
+
if (_optionalChain([errors, 'optionalAccess', _10 => _10.length]) === 1 && _optionalChain([errors, 'access', _11 => _11[0], 'optionalAccess', _12 => _12.message])) {
|
|
1122
1204
|
return errors[0].message;
|
|
1123
1205
|
}
|
|
1124
1206
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map(
|
|
1125
|
-
(error, index) => _optionalChain([error, 'optionalAccess',
|
|
1207
|
+
(error, index) => _optionalChain([error, 'optionalAccess', _13 => _13.message]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: error.message }, index)
|
|
1126
1208
|
) });
|
|
1127
1209
|
}, [children, errors]);
|
|
1128
1210
|
if (!content) {
|
|
@@ -1792,7 +1874,7 @@ var FormDescription = React18.forwardRef(({ className, ...props }, ref) => {
|
|
|
1792
1874
|
FormDescription.displayName = "FormDescription";
|
|
1793
1875
|
var FormMessage = React18.forwardRef(({ className, children, ...props }, ref) => {
|
|
1794
1876
|
const { error, formMessageId } = useFormField();
|
|
1795
|
-
const body = error ? String(_nullishCoalesce(_optionalChain([error, 'optionalAccess',
|
|
1877
|
+
const body = error ? String(_nullishCoalesce(_optionalChain([error, 'optionalAccess', _14 => _14.message]), () => ( ""))) : children;
|
|
1796
1878
|
if (!body) {
|
|
1797
1879
|
return null;
|
|
1798
1880
|
}
|
|
@@ -2133,102 +2215,6 @@ var NavigationMenuIndicator = React22.forwardRef(({ className, ...props }, ref)
|
|
|
2133
2215
|
));
|
|
2134
2216
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
2135
2217
|
|
|
2136
|
-
// src/components/ui/pagination/index.tsx
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
var Pagination = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2141
|
-
"nav",
|
|
2142
|
-
{
|
|
2143
|
-
"aria-label": "pagination",
|
|
2144
|
-
className: cn("mx-auto flex w-full justify-center", className),
|
|
2145
|
-
role: "navigation",
|
|
2146
|
-
...props
|
|
2147
|
-
}
|
|
2148
|
-
);
|
|
2149
|
-
Pagination.displayName = "Pagination";
|
|
2150
|
-
var PaginationContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2151
|
-
"ul",
|
|
2152
|
-
{
|
|
2153
|
-
className: cn("flex flex-row items-center gap-1", className),
|
|
2154
|
-
ref,
|
|
2155
|
-
...props
|
|
2156
|
-
}
|
|
2157
|
-
));
|
|
2158
|
-
PaginationContent.displayName = "PaginationContent";
|
|
2159
|
-
var PaginationItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: cn("", className), ref, ...props }));
|
|
2160
|
-
PaginationItem.displayName = "PaginationItem";
|
|
2161
|
-
var PaginationLink = ({
|
|
2162
|
-
className,
|
|
2163
|
-
isActive,
|
|
2164
|
-
size = "icon",
|
|
2165
|
-
...props
|
|
2166
|
-
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2167
|
-
"a",
|
|
2168
|
-
{
|
|
2169
|
-
className: cn(
|
|
2170
|
-
buttonVariants({
|
|
2171
|
-
variant: isActive ? "outline" : "ghost",
|
|
2172
|
-
size
|
|
2173
|
-
}),
|
|
2174
|
-
className
|
|
2175
|
-
),
|
|
2176
|
-
"aria-current": isActive ? "page" : void 0,
|
|
2177
|
-
...props
|
|
2178
|
-
}
|
|
2179
|
-
);
|
|
2180
|
-
PaginationLink.displayName = "PaginationLink";
|
|
2181
|
-
var PaginationPrevious = ({
|
|
2182
|
-
className,
|
|
2183
|
-
...props
|
|
2184
|
-
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2185
|
-
PaginationLink,
|
|
2186
|
-
{
|
|
2187
|
-
"aria-label": "Go to previous page",
|
|
2188
|
-
className: cn("gap-1 pl-2.5", className),
|
|
2189
|
-
size: "default",
|
|
2190
|
-
...props,
|
|
2191
|
-
children: [
|
|
2192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
2193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Previous" })
|
|
2194
|
-
]
|
|
2195
|
-
}
|
|
2196
|
-
);
|
|
2197
|
-
PaginationPrevious.displayName = "PaginationPrevious";
|
|
2198
|
-
var PaginationNext = ({
|
|
2199
|
-
className,
|
|
2200
|
-
...props
|
|
2201
|
-
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2202
|
-
PaginationLink,
|
|
2203
|
-
{
|
|
2204
|
-
"aria-label": "Go to next page",
|
|
2205
|
-
className: cn("gap-1 pr-2.5", className),
|
|
2206
|
-
size: "default",
|
|
2207
|
-
...props,
|
|
2208
|
-
children: [
|
|
2209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Next" }),
|
|
2210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
2211
|
-
]
|
|
2212
|
-
}
|
|
2213
|
-
);
|
|
2214
|
-
PaginationNext.displayName = "PaginationNext";
|
|
2215
|
-
var PaginationEllipsis = ({
|
|
2216
|
-
className,
|
|
2217
|
-
...props
|
|
2218
|
-
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2219
|
-
"span",
|
|
2220
|
-
{
|
|
2221
|
-
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
2222
|
-
"aria-hidden": true,
|
|
2223
|
-
...props,
|
|
2224
|
-
children: [
|
|
2225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.MoreHorizontal, { className: "h-4 w-4" }),
|
|
2226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "More pages" })
|
|
2227
|
-
]
|
|
2228
|
-
}
|
|
2229
|
-
);
|
|
2230
|
-
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
2231
|
-
|
|
2232
2218
|
// src/components/ui/popover/index.tsx
|
|
2233
2219
|
|
|
2234
2220
|
var _reactpopover = require('@radix-ui/react-popover'); var PopoverPrimitive = _interopRequireWildcard(_reactpopover);
|
|
@@ -2236,7 +2222,7 @@ var _reactpopover = require('@radix-ui/react-popover'); var PopoverPrimitive = _
|
|
|
2236
2222
|
var Popover = PopoverPrimitive.Root;
|
|
2237
2223
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
2238
2224
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
2239
|
-
var PopoverContent =
|
|
2225
|
+
var PopoverContent = React23.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2240
2226
|
PopoverPrimitive.Content,
|
|
2241
2227
|
{
|
|
2242
2228
|
className: cn(
|
|
@@ -2255,7 +2241,7 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
|
2255
2241
|
|
|
2256
2242
|
var _reactprogress = require('@radix-ui/react-progress'); var ProgressPrimitive = _interopRequireWildcard(_reactprogress);
|
|
2257
2243
|
|
|
2258
|
-
var Progress =
|
|
2244
|
+
var Progress = React24.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2259
2245
|
ProgressPrimitive.Root,
|
|
2260
2246
|
{
|
|
2261
2247
|
className: cn(
|
|
@@ -2280,7 +2266,7 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
2280
2266
|
|
|
2281
2267
|
var _reactradiogroup = require('@radix-ui/react-radio-group'); var RadioGroupPrimitive = _interopRequireWildcard(_reactradiogroup);
|
|
2282
2268
|
|
|
2283
|
-
var RadioGroup4 =
|
|
2269
|
+
var RadioGroup4 = React25.forwardRef(({ className, ...props }, ref) => {
|
|
2284
2270
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2285
2271
|
RadioGroupPrimitive.Root,
|
|
2286
2272
|
{
|
|
@@ -2291,7 +2277,7 @@ var RadioGroup4 = React26.forwardRef(({ className, ...props }, ref) => {
|
|
|
2291
2277
|
);
|
|
2292
2278
|
});
|
|
2293
2279
|
RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
|
|
2294
|
-
var RadioGroupItem =
|
|
2280
|
+
var RadioGroupItem = React25.forwardRef(({ className, ...props }, ref) => {
|
|
2295
2281
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2296
2282
|
RadioGroupPrimitive.Item,
|
|
2297
2283
|
{
|
|
@@ -2311,7 +2297,7 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
|
2311
2297
|
|
|
2312
2298
|
var _reactscrollarea = require('@radix-ui/react-scroll-area'); var ScrollAreaPrimitive = _interopRequireWildcard(_reactscrollarea);
|
|
2313
2299
|
|
|
2314
|
-
var ScrollArea =
|
|
2300
|
+
var ScrollArea = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2315
2301
|
ScrollAreaPrimitive.Root,
|
|
2316
2302
|
{
|
|
2317
2303
|
className: cn("relative overflow-hidden", className),
|
|
@@ -2325,7 +2311,7 @@ var ScrollArea = React27.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2325
2311
|
}
|
|
2326
2312
|
));
|
|
2327
2313
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
2328
|
-
var ScrollBar =
|
|
2314
|
+
var ScrollBar = React26.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2329
2315
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
2330
2316
|
{
|
|
2331
2317
|
className: cn(
|
|
@@ -2350,7 +2336,7 @@ var _reactselect = require('@radix-ui/react-select'); var SelectPrimitive = _int
|
|
|
2350
2336
|
var Select = SelectPrimitive.Root;
|
|
2351
2337
|
var SelectGroup = SelectPrimitive.Group;
|
|
2352
2338
|
var SelectValue = SelectPrimitive.Value;
|
|
2353
|
-
var SelectTrigger =
|
|
2339
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2354
2340
|
SelectPrimitive.Trigger,
|
|
2355
2341
|
{
|
|
2356
2342
|
className: cn(
|
|
@@ -2366,7 +2352,7 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
|
|
|
2366
2352
|
}
|
|
2367
2353
|
));
|
|
2368
2354
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2369
|
-
var SelectScrollUpButton =
|
|
2355
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2370
2356
|
SelectPrimitive.ScrollUpButton,
|
|
2371
2357
|
{
|
|
2372
2358
|
className: cn(
|
|
@@ -2379,7 +2365,7 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
|
|
|
2379
2365
|
}
|
|
2380
2366
|
));
|
|
2381
2367
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2382
|
-
var SelectScrollDownButton =
|
|
2368
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2383
2369
|
SelectPrimitive.ScrollDownButton,
|
|
2384
2370
|
{
|
|
2385
2371
|
className: cn(
|
|
@@ -2392,7 +2378,7 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
|
|
|
2392
2378
|
}
|
|
2393
2379
|
));
|
|
2394
2380
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
2395
|
-
var SelectContent =
|
|
2381
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2396
2382
|
SelectPrimitive.Content,
|
|
2397
2383
|
{
|
|
2398
2384
|
className: cn(
|
|
@@ -2420,7 +2406,7 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
|
|
|
2420
2406
|
}
|
|
2421
2407
|
) }));
|
|
2422
2408
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2423
|
-
var SelectLabel =
|
|
2409
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2424
2410
|
SelectPrimitive.Label,
|
|
2425
2411
|
{
|
|
2426
2412
|
className: cn("px-2 py-1.5 text-sm font-semibold", className),
|
|
@@ -2429,7 +2415,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2429
2415
|
}
|
|
2430
2416
|
));
|
|
2431
2417
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
2432
|
-
var SelectItem =
|
|
2418
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2433
2419
|
SelectPrimitive.Item,
|
|
2434
2420
|
{
|
|
2435
2421
|
className: cn(
|
|
@@ -2445,7 +2431,7 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2445
2431
|
}
|
|
2446
2432
|
));
|
|
2447
2433
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2448
|
-
var SelectSeparator =
|
|
2434
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2449
2435
|
SelectPrimitive.Separator,
|
|
2450
2436
|
{
|
|
2451
2437
|
className: cn("bg-muted -mx-1 my-1 h-px", className),
|
|
@@ -2465,7 +2451,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
2465
2451
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2466
2452
|
var SheetClose = SheetPrimitive.Close;
|
|
2467
2453
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2468
|
-
var SheetOverlay =
|
|
2454
|
+
var SheetOverlay = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2469
2455
|
SheetPrimitive.Overlay,
|
|
2470
2456
|
{
|
|
2471
2457
|
className: cn(
|
|
@@ -2493,7 +2479,7 @@ var sheetVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
2493
2479
|
}
|
|
2494
2480
|
}
|
|
2495
2481
|
);
|
|
2496
|
-
var SheetContent =
|
|
2482
|
+
var SheetContent = React28.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPortal, { children: [
|
|
2497
2483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetOverlay, {}),
|
|
2498
2484
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2499
2485
|
SheetPrimitive.Content,
|
|
@@ -2540,7 +2526,7 @@ var SheetFooter = ({
|
|
|
2540
2526
|
}
|
|
2541
2527
|
);
|
|
2542
2528
|
SheetFooter.displayName = "SheetFooter";
|
|
2543
|
-
var SheetTitle =
|
|
2529
|
+
var SheetTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2544
2530
|
SheetPrimitive.Title,
|
|
2545
2531
|
{
|
|
2546
2532
|
className: cn("text-foreground text-lg font-semibold", className),
|
|
@@ -2549,7 +2535,7 @@ var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2549
2535
|
}
|
|
2550
2536
|
));
|
|
2551
2537
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2552
|
-
var SheetDescription =
|
|
2538
|
+
var SheetDescription = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2553
2539
|
SheetPrimitive.Description,
|
|
2554
2540
|
{
|
|
2555
2541
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -2586,7 +2572,7 @@ var _reacttooltip = require('@radix-ui/react-tooltip'); var TooltipPrimitive = _
|
|
|
2586
2572
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
2587
2573
|
var Tooltip = TooltipPrimitive.Root;
|
|
2588
2574
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
2589
|
-
var TooltipContent =
|
|
2575
|
+
var TooltipContent = React29.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2590
2576
|
TooltipPrimitive.Content,
|
|
2591
2577
|
{
|
|
2592
2578
|
className: cn(
|
|
@@ -2604,8 +2590,8 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
2604
2590
|
|
|
2605
2591
|
var MOBILE_BREAKPOINT = 768;
|
|
2606
2592
|
function useIsMobile() {
|
|
2607
|
-
const [isMobile, setIsMobile] =
|
|
2608
|
-
|
|
2593
|
+
const [isMobile, setIsMobile] = React30.useState(void 0);
|
|
2594
|
+
React30.useEffect(() => {
|
|
2609
2595
|
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
2610
2596
|
const onChange = () => {
|
|
2611
2597
|
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
@@ -2626,15 +2612,15 @@ var SIDEBAR_WIDTH = "16rem";
|
|
|
2626
2612
|
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
2627
2613
|
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
2628
2614
|
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
2629
|
-
var SidebarContext =
|
|
2615
|
+
var SidebarContext = React31.createContext(null);
|
|
2630
2616
|
function useSidebar() {
|
|
2631
|
-
const context =
|
|
2617
|
+
const context = React31.useContext(SidebarContext);
|
|
2632
2618
|
if (!context) {
|
|
2633
2619
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
2634
2620
|
}
|
|
2635
2621
|
return context;
|
|
2636
2622
|
}
|
|
2637
|
-
var SidebarProvider =
|
|
2623
|
+
var SidebarProvider = React31.forwardRef(
|
|
2638
2624
|
({
|
|
2639
2625
|
defaultOpen = true,
|
|
2640
2626
|
open: openProp,
|
|
@@ -2645,10 +2631,10 @@ var SidebarProvider = React32.forwardRef(
|
|
|
2645
2631
|
...props
|
|
2646
2632
|
}, ref) => {
|
|
2647
2633
|
const isMobile = useIsMobile();
|
|
2648
|
-
const [openMobile, setOpenMobile] =
|
|
2649
|
-
const [_open, _setOpen] =
|
|
2634
|
+
const [openMobile, setOpenMobile] = React31.useState(false);
|
|
2635
|
+
const [_open, _setOpen] = React31.useState(defaultOpen);
|
|
2650
2636
|
const open = _nullishCoalesce(openProp, () => ( _open));
|
|
2651
|
-
const setOpen =
|
|
2637
|
+
const setOpen = React31.useCallback(
|
|
2652
2638
|
(value) => {
|
|
2653
2639
|
const openState = typeof value === "function" ? value(open) : value;
|
|
2654
2640
|
if (setOpenProp) {
|
|
@@ -2660,10 +2646,10 @@ var SidebarProvider = React32.forwardRef(
|
|
|
2660
2646
|
},
|
|
2661
2647
|
[setOpenProp, open]
|
|
2662
2648
|
);
|
|
2663
|
-
const toggleSidebar =
|
|
2649
|
+
const toggleSidebar = React31.useCallback(() => {
|
|
2664
2650
|
return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
|
|
2665
2651
|
}, [isMobile, setOpen, setOpenMobile]);
|
|
2666
|
-
|
|
2652
|
+
React31.useEffect(() => {
|
|
2667
2653
|
const handleKeyDown = (event) => {
|
|
2668
2654
|
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
2669
2655
|
event.preventDefault();
|
|
@@ -2674,7 +2660,7 @@ var SidebarProvider = React32.forwardRef(
|
|
|
2674
2660
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
2675
2661
|
}, [toggleSidebar]);
|
|
2676
2662
|
const state = open ? "expanded" : "collapsed";
|
|
2677
|
-
const contextValue =
|
|
2663
|
+
const contextValue = React31.useMemo(
|
|
2678
2664
|
() => ({
|
|
2679
2665
|
state,
|
|
2680
2666
|
open,
|
|
@@ -2690,7 +2676,7 @@ var SidebarProvider = React32.forwardRef(
|
|
|
2690
2676
|
"div",
|
|
2691
2677
|
{
|
|
2692
2678
|
className: cn(
|
|
2693
|
-
"group/sidebar-wrapper has-
|
|
2679
|
+
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
2694
2680
|
className
|
|
2695
2681
|
),
|
|
2696
2682
|
style: {
|
|
@@ -2706,7 +2692,7 @@ var SidebarProvider = React32.forwardRef(
|
|
|
2706
2692
|
}
|
|
2707
2693
|
);
|
|
2708
2694
|
SidebarProvider.displayName = "SidebarProvider";
|
|
2709
|
-
var Sidebar =
|
|
2695
|
+
var Sidebar = React31.forwardRef(
|
|
2710
2696
|
({
|
|
2711
2697
|
side = "left",
|
|
2712
2698
|
variant = "sidebar",
|
|
@@ -2768,7 +2754,7 @@ var Sidebar = React32.forwardRef(
|
|
|
2768
2754
|
"relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear",
|
|
2769
2755
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
2770
2756
|
"group-data-[side=right]:rotate-180",
|
|
2771
|
-
variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)
|
|
2757
|
+
variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon]"
|
|
2772
2758
|
)
|
|
2773
2759
|
}
|
|
2774
2760
|
),
|
|
@@ -2779,7 +2765,7 @@ var Sidebar = React32.forwardRef(
|
|
|
2779
2765
|
"fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
2780
2766
|
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
2781
2767
|
// Adjust the padding for floating and inset variants.
|
|
2782
|
-
variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)
|
|
2768
|
+
variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
2783
2769
|
className
|
|
2784
2770
|
),
|
|
2785
2771
|
...props,
|
|
@@ -2799,20 +2785,19 @@ var Sidebar = React32.forwardRef(
|
|
|
2799
2785
|
}
|
|
2800
2786
|
);
|
|
2801
2787
|
Sidebar.displayName = "Sidebar";
|
|
2802
|
-
var SidebarTrigger =
|
|
2788
|
+
var SidebarTrigger = React31.forwardRef(({ className, onClick, ...props }, ref) => {
|
|
2803
2789
|
const { toggleSidebar } = useSidebar();
|
|
2804
2790
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2805
2791
|
Button,
|
|
2806
2792
|
{
|
|
2807
2793
|
onClick: (event) => {
|
|
2808
|
-
_optionalChain([onClick, 'optionalCall',
|
|
2794
|
+
_optionalChain([onClick, 'optionalCall', _15 => _15(event)]);
|
|
2809
2795
|
toggleSidebar();
|
|
2810
2796
|
},
|
|
2811
2797
|
className: cn("h-7 w-7", className),
|
|
2812
2798
|
"data-sidebar": "trigger",
|
|
2813
2799
|
ref,
|
|
2814
|
-
|
|
2815
|
-
variant: "ghost",
|
|
2800
|
+
variant: "ghostWhite",
|
|
2816
2801
|
...props,
|
|
2817
2802
|
children: [
|
|
2818
2803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PanelLeft, {}),
|
|
@@ -2822,14 +2807,14 @@ var SidebarTrigger = React32.forwardRef(({ className, onClick, ...props }, ref)
|
|
|
2822
2807
|
);
|
|
2823
2808
|
});
|
|
2824
2809
|
SidebarTrigger.displayName = "SidebarTrigger";
|
|
2825
|
-
var SidebarRail =
|
|
2810
|
+
var SidebarRail = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2826
2811
|
const { toggleSidebar } = useSidebar();
|
|
2827
2812
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2828
2813
|
"button",
|
|
2829
2814
|
{
|
|
2830
2815
|
className: cn(
|
|
2831
2816
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
2832
|
-
"
|
|
2817
|
+
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
2833
2818
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
2834
2819
|
"group-data-[collapsible=offcanvas]:hover:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
|
|
2835
2820
|
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
@@ -2847,7 +2832,7 @@ var SidebarRail = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2847
2832
|
);
|
|
2848
2833
|
});
|
|
2849
2834
|
SidebarRail.displayName = "SidebarRail";
|
|
2850
|
-
var SidebarInset =
|
|
2835
|
+
var SidebarInset = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2851
2836
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2852
2837
|
"main",
|
|
2853
2838
|
{
|
|
@@ -2862,7 +2847,7 @@ var SidebarInset = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2862
2847
|
);
|
|
2863
2848
|
});
|
|
2864
2849
|
SidebarInset.displayName = "SidebarInset";
|
|
2865
|
-
var SidebarInput =
|
|
2850
|
+
var SidebarInput = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2866
2851
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2867
2852
|
Input,
|
|
2868
2853
|
{
|
|
@@ -2877,7 +2862,7 @@ var SidebarInput = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2877
2862
|
);
|
|
2878
2863
|
});
|
|
2879
2864
|
SidebarInput.displayName = "SidebarInput";
|
|
2880
|
-
var SidebarHeader =
|
|
2865
|
+
var SidebarHeader = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2881
2866
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2882
2867
|
"div",
|
|
2883
2868
|
{
|
|
@@ -2889,7 +2874,7 @@ var SidebarHeader = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2889
2874
|
);
|
|
2890
2875
|
});
|
|
2891
2876
|
SidebarHeader.displayName = "SidebarHeader";
|
|
2892
|
-
var SidebarFooter =
|
|
2877
|
+
var SidebarFooter = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2893
2878
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2894
2879
|
"div",
|
|
2895
2880
|
{
|
|
@@ -2901,7 +2886,7 @@ var SidebarFooter = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2901
2886
|
);
|
|
2902
2887
|
});
|
|
2903
2888
|
SidebarFooter.displayName = "SidebarFooter";
|
|
2904
|
-
var SidebarSeparator =
|
|
2889
|
+
var SidebarSeparator = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2905
2890
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2906
2891
|
Separator,
|
|
2907
2892
|
{
|
|
@@ -2913,7 +2898,7 @@ var SidebarSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2913
2898
|
);
|
|
2914
2899
|
});
|
|
2915
2900
|
SidebarSeparator.displayName = "SidebarSeparator";
|
|
2916
|
-
var SidebarContent =
|
|
2901
|
+
var SidebarContent = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2917
2902
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2918
2903
|
"div",
|
|
2919
2904
|
{
|
|
@@ -2928,7 +2913,7 @@ var SidebarContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2928
2913
|
);
|
|
2929
2914
|
});
|
|
2930
2915
|
SidebarContent.displayName = "SidebarContent";
|
|
2931
|
-
var SidebarGroup =
|
|
2916
|
+
var SidebarGroup = React31.forwardRef(({ className, ...props }, ref) => {
|
|
2932
2917
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2933
2918
|
"div",
|
|
2934
2919
|
{
|
|
@@ -2940,7 +2925,7 @@ var SidebarGroup = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
2940
2925
|
);
|
|
2941
2926
|
});
|
|
2942
2927
|
SidebarGroup.displayName = "SidebarGroup";
|
|
2943
|
-
var SidebarGroupLabel =
|
|
2928
|
+
var SidebarGroupLabel = React31.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
2944
2929
|
const Comp = asChild ? _reactslot.Slot : "div";
|
|
2945
2930
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2946
2931
|
Comp,
|
|
@@ -2957,7 +2942,7 @@ var SidebarGroupLabel = React32.forwardRef(({ className, asChild = false, ...pro
|
|
|
2957
2942
|
);
|
|
2958
2943
|
});
|
|
2959
2944
|
SidebarGroupLabel.displayName = "SidebarGroupLabel";
|
|
2960
|
-
var SidebarGroupAction =
|
|
2945
|
+
var SidebarGroupAction = React31.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
2961
2946
|
const Comp = asChild ? _reactslot.Slot : "button";
|
|
2962
2947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2963
2948
|
Comp,
|
|
@@ -2976,7 +2961,7 @@ var SidebarGroupAction = React32.forwardRef(({ className, asChild = false, ...pr
|
|
|
2976
2961
|
);
|
|
2977
2962
|
});
|
|
2978
2963
|
SidebarGroupAction.displayName = "SidebarGroupAction";
|
|
2979
|
-
var SidebarGroupContent =
|
|
2964
|
+
var SidebarGroupContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2980
2965
|
"div",
|
|
2981
2966
|
{
|
|
2982
2967
|
className: cn("w-full text-sm", className),
|
|
@@ -2986,7 +2971,7 @@ var SidebarGroupContent = React32.forwardRef(({ className, ...props }, ref) => /
|
|
|
2986
2971
|
}
|
|
2987
2972
|
));
|
|
2988
2973
|
SidebarGroupContent.displayName = "SidebarGroupContent";
|
|
2989
|
-
var SidebarMenu =
|
|
2974
|
+
var SidebarMenu = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2990
2975
|
"ul",
|
|
2991
2976
|
{
|
|
2992
2977
|
className: cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
@@ -2996,7 +2981,7 @@ var SidebarMenu = React32.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2996
2981
|
}
|
|
2997
2982
|
));
|
|
2998
2983
|
SidebarMenu.displayName = "SidebarMenu";
|
|
2999
|
-
var SidebarMenuItem =
|
|
2984
|
+
var SidebarMenuItem = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3000
2985
|
"li",
|
|
3001
2986
|
{
|
|
3002
2987
|
className: cn("group/menu-item relative", className),
|
|
@@ -3026,7 +3011,7 @@ var sidebarMenuButtonVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
3026
3011
|
}
|
|
3027
3012
|
}
|
|
3028
3013
|
);
|
|
3029
|
-
var SidebarMenuButton =
|
|
3014
|
+
var SidebarMenuButton = React31.forwardRef(
|
|
3030
3015
|
({
|
|
3031
3016
|
asChild = false,
|
|
3032
3017
|
isActive = false,
|
|
@@ -3072,7 +3057,7 @@ var SidebarMenuButton = React32.forwardRef(
|
|
|
3072
3057
|
}
|
|
3073
3058
|
);
|
|
3074
3059
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
3075
|
-
var SidebarMenuAction =
|
|
3060
|
+
var SidebarMenuAction = React31.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
|
|
3076
3061
|
const Comp = asChild ? _reactslot.Slot : "button";
|
|
3077
3062
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3078
3063
|
Comp,
|
|
@@ -3095,7 +3080,7 @@ var SidebarMenuAction = React32.forwardRef(({ className, asChild = false, showOn
|
|
|
3095
3080
|
);
|
|
3096
3081
|
});
|
|
3097
3082
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
3098
|
-
var SidebarMenuBadge =
|
|
3083
|
+
var SidebarMenuBadge = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3099
3084
|
"div",
|
|
3100
3085
|
{
|
|
3101
3086
|
className: cn(
|
|
@@ -3113,8 +3098,8 @@ var SidebarMenuBadge = React32.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3113
3098
|
}
|
|
3114
3099
|
));
|
|
3115
3100
|
SidebarMenuBadge.displayName = "SidebarMenuBadge";
|
|
3116
|
-
var SidebarMenuSkeleton =
|
|
3117
|
-
const width =
|
|
3101
|
+
var SidebarMenuSkeleton = React31.forwardRef(({ className, showIcon = false, ...props }, ref) => {
|
|
3102
|
+
const width = React31.useMemo(() => {
|
|
3118
3103
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3119
3104
|
}, []);
|
|
3120
3105
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -3147,7 +3132,7 @@ var SidebarMenuSkeleton = React32.forwardRef(({ className, showIcon = false, ...
|
|
|
3147
3132
|
);
|
|
3148
3133
|
});
|
|
3149
3134
|
SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
|
|
3150
|
-
var SidebarMenuSub =
|
|
3135
|
+
var SidebarMenuSub = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3151
3136
|
"ul",
|
|
3152
3137
|
{
|
|
3153
3138
|
className: cn(
|
|
@@ -3161,9 +3146,9 @@ var SidebarMenuSub = React32.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
3161
3146
|
}
|
|
3162
3147
|
));
|
|
3163
3148
|
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
3164
|
-
var SidebarMenuSubItem =
|
|
3149
|
+
var SidebarMenuSubItem = React31.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { ref, ...props }));
|
|
3165
3150
|
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
3166
|
-
var SidebarMenuSubButton =
|
|
3151
|
+
var SidebarMenuSubButton = React31.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
|
|
3167
3152
|
const Comp = asChild ? _reactslot.Slot : "a";
|
|
3168
3153
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3169
3154
|
Comp,
|
|
@@ -3190,7 +3175,7 @@ SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
|
3190
3175
|
|
|
3191
3176
|
var _reactslider = require('@radix-ui/react-slider'); var SliderPrimitive = _interopRequireWildcard(_reactslider);
|
|
3192
3177
|
|
|
3193
|
-
var Slider =
|
|
3178
|
+
var Slider = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3194
3179
|
SliderPrimitive.Root,
|
|
3195
3180
|
{
|
|
3196
3181
|
className: cn(
|
|
@@ -3226,7 +3211,7 @@ function Spinner({ className, ...props }) {
|
|
|
3226
3211
|
|
|
3227
3212
|
var _reactswitch = require('@radix-ui/react-switch'); var SwitchPrimitives = _interopRequireWildcard(_reactswitch);
|
|
3228
3213
|
|
|
3229
|
-
var Switch =
|
|
3214
|
+
var Switch = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3230
3215
|
SwitchPrimitives.Root,
|
|
3231
3216
|
{
|
|
3232
3217
|
className: cn(
|
|
@@ -3252,7 +3237,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
3252
3237
|
var _reacttabs = require('@radix-ui/react-tabs'); var TabsPrimitive = _interopRequireWildcard(_reacttabs);
|
|
3253
3238
|
|
|
3254
3239
|
var Tabs = TabsPrimitive.Root;
|
|
3255
|
-
var TabsList =
|
|
3240
|
+
var TabsList = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3256
3241
|
TabsPrimitive.List,
|
|
3257
3242
|
{
|
|
3258
3243
|
className: cn(
|
|
@@ -3264,7 +3249,7 @@ var TabsList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3264
3249
|
}
|
|
3265
3250
|
));
|
|
3266
3251
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3267
|
-
var TabsTrigger =
|
|
3252
|
+
var TabsTrigger = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3268
3253
|
TabsPrimitive.Trigger,
|
|
3269
3254
|
{
|
|
3270
3255
|
className: cn(
|
|
@@ -3276,7 +3261,7 @@ var TabsTrigger = React35.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3276
3261
|
}
|
|
3277
3262
|
));
|
|
3278
3263
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3279
|
-
var TabsContent =
|
|
3264
|
+
var TabsContent = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3280
3265
|
TabsPrimitive.Content,
|
|
3281
3266
|
{
|
|
3282
3267
|
className: cn(
|
|
@@ -3292,7 +3277,7 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
3292
3277
|
// src/components/ui/textarea/index.tsx
|
|
3293
3278
|
|
|
3294
3279
|
|
|
3295
|
-
var Textarea =
|
|
3280
|
+
var Textarea = React35.forwardRef(({ className, ...props }, ref) => {
|
|
3296
3281
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3297
3282
|
"textarea",
|
|
3298
3283
|
{
|
|
@@ -3339,7 +3324,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
3339
3324
|
}
|
|
3340
3325
|
}
|
|
3341
3326
|
);
|
|
3342
|
-
var Toggle =
|
|
3327
|
+
var Toggle = React36.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3343
3328
|
TogglePrimitive.Root,
|
|
3344
3329
|
{
|
|
3345
3330
|
className: cn(toggleVariants({ variant, size, className })),
|
|
@@ -3353,11 +3338,11 @@ Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
|
3353
3338
|
|
|
3354
3339
|
var _reacttogglegroup = require('@radix-ui/react-toggle-group'); var ToggleGroupPrimitive = _interopRequireWildcard(_reacttogglegroup);
|
|
3355
3340
|
|
|
3356
|
-
var ToggleGroupContext =
|
|
3341
|
+
var ToggleGroupContext = React37.createContext({
|
|
3357
3342
|
size: "default",
|
|
3358
3343
|
variant: "default"
|
|
3359
3344
|
});
|
|
3360
|
-
var ToggleGroup =
|
|
3345
|
+
var ToggleGroup = React37.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3361
3346
|
ToggleGroupPrimitive.Root,
|
|
3362
3347
|
{
|
|
3363
3348
|
className: cn("flex items-center justify-center gap-1", className),
|
|
@@ -3367,8 +3352,8 @@ var ToggleGroup = React38.forwardRef(({ className, variant, size, children, ...p
|
|
|
3367
3352
|
}
|
|
3368
3353
|
));
|
|
3369
3354
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
3370
|
-
var ToggleGroupItem =
|
|
3371
|
-
const context =
|
|
3355
|
+
var ToggleGroupItem = React37.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
3356
|
+
const context = React37.useContext(ToggleGroupContext);
|
|
3372
3357
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3373
3358
|
ToggleGroupPrimitive.Item,
|
|
3374
3359
|
{
|
|
@@ -3390,7 +3375,7 @@ ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
|
3390
3375
|
// src/components/ui/table/index.tsx
|
|
3391
3376
|
|
|
3392
3377
|
|
|
3393
|
-
var Table =
|
|
3378
|
+
var Table = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3394
3379
|
"table",
|
|
3395
3380
|
{
|
|
3396
3381
|
className: cn("w-full caption-bottom text-sm", className),
|
|
@@ -3399,9 +3384,9 @@ var Table = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
3399
3384
|
}
|
|
3400
3385
|
) }));
|
|
3401
3386
|
Table.displayName = "Table";
|
|
3402
|
-
var TableHeader =
|
|
3387
|
+
var TableHeader = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { className: cn("[&_tr]:border-b", className), ref, ...props }));
|
|
3403
3388
|
TableHeader.displayName = "TableHeader";
|
|
3404
|
-
var TableBody =
|
|
3389
|
+
var TableBody = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3405
3390
|
"tbody",
|
|
3406
3391
|
{
|
|
3407
3392
|
className: cn("[&_tr:last-child]:border-0", className),
|
|
@@ -3410,7 +3395,7 @@ var TableBody = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3410
3395
|
}
|
|
3411
3396
|
));
|
|
3412
3397
|
TableBody.displayName = "TableBody";
|
|
3413
|
-
var TableFooter =
|
|
3398
|
+
var TableFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3414
3399
|
"tfoot",
|
|
3415
3400
|
{
|
|
3416
3401
|
className: cn(
|
|
@@ -3422,7 +3407,7 @@ var TableFooter = React39.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3422
3407
|
}
|
|
3423
3408
|
));
|
|
3424
3409
|
TableFooter.displayName = "TableFooter";
|
|
3425
|
-
var TableRow =
|
|
3410
|
+
var TableRow = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3426
3411
|
"tr",
|
|
3427
3412
|
{
|
|
3428
3413
|
className: cn(
|
|
@@ -3434,7 +3419,7 @@ var TableRow = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3434
3419
|
}
|
|
3435
3420
|
));
|
|
3436
3421
|
TableRow.displayName = "TableRow";
|
|
3437
|
-
var TableHead =
|
|
3422
|
+
var TableHead = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3438
3423
|
"th",
|
|
3439
3424
|
{
|
|
3440
3425
|
className: cn(
|
|
@@ -3446,7 +3431,7 @@ var TableHead = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3446
3431
|
}
|
|
3447
3432
|
));
|
|
3448
3433
|
TableHead.displayName = "TableHead";
|
|
3449
|
-
var TableCell =
|
|
3434
|
+
var TableCell = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3450
3435
|
"td",
|
|
3451
3436
|
{
|
|
3452
3437
|
className: cn(
|
|
@@ -3458,7 +3443,7 @@ var TableCell = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3458
3443
|
}
|
|
3459
3444
|
));
|
|
3460
3445
|
TableCell.displayName = "TableCell";
|
|
3461
|
-
var TableCaption =
|
|
3446
|
+
var TableCaption = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3462
3447
|
"caption",
|
|
3463
3448
|
{
|
|
3464
3449
|
className: cn("text-muted-foreground mt-4 text-sm", className),
|
|
@@ -3468,6 +3453,142 @@ var TableCaption = React39.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
3468
3453
|
));
|
|
3469
3454
|
TableCaption.displayName = "TableCaption";
|
|
3470
3455
|
|
|
3456
|
+
// src/components/shared/circle-button/index.tsx
|
|
3457
|
+
|
|
3458
|
+
var CircleButton = ({ label, href }) => {
|
|
3459
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { "data-cid": "circle-button", href: href || "#", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { className: "cta", type: "button", children: [
|
|
3460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label }),
|
|
3461
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { height: "10px", viewBox: "0 0 13 10", width: "15px", children: [
|
|
3462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M1,5 L11,5" }),
|
|
3463
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "polyline", { points: "8 1 12 5 8 9" })
|
|
3464
|
+
] })
|
|
3465
|
+
] }) });
|
|
3466
|
+
};
|
|
3467
|
+
|
|
3468
|
+
// src/components/shared/hamburger-button/index.tsx
|
|
3469
|
+
|
|
3470
|
+
var HamburgerButton = ({
|
|
3471
|
+
isOpen,
|
|
3472
|
+
onClick,
|
|
3473
|
+
variant
|
|
3474
|
+
}) => {
|
|
3475
|
+
const genericHamburgerLine = `h-[2px] w-6 my-[2px] rounded-full transition ease transform duration-default ${variant === "secondary" ? "bg-neutral-50" : "bg-neutral-700"}`;
|
|
3476
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3477
|
+
"button",
|
|
3478
|
+
{
|
|
3479
|
+
"aria-label": "Hamburger Button",
|
|
3480
|
+
className: "duration-default group flex flex-col items-center justify-center rounded-sm p-2",
|
|
3481
|
+
id: "hamburger-button",
|
|
3482
|
+
onClick,
|
|
3483
|
+
children: [
|
|
3484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3485
|
+
"div",
|
|
3486
|
+
{
|
|
3487
|
+
className: `${genericHamburgerLine} ${isOpen ? "translate-y-1.5 rotate-45" : ""}`
|
|
3488
|
+
}
|
|
3489
|
+
),
|
|
3490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${genericHamburgerLine} ${isOpen ? "opacity-0" : ""}` }),
|
|
3491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3492
|
+
"div",
|
|
3493
|
+
{
|
|
3494
|
+
className: `${genericHamburgerLine} ${isOpen ? "-translate-y-1.5 -rotate-45" : ""}`
|
|
3495
|
+
}
|
|
3496
|
+
)
|
|
3497
|
+
]
|
|
3498
|
+
}
|
|
3499
|
+
);
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
// src/components/shared/modal/index.tsx
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
// src/components/icons/x-mark.tsx
|
|
3506
|
+
|
|
3507
|
+
var XMark = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3508
|
+
"svg",
|
|
3509
|
+
{
|
|
3510
|
+
fill: "none",
|
|
3511
|
+
stroke: "currentColor",
|
|
3512
|
+
strokeWidth: "1.5",
|
|
3513
|
+
viewBox: "0 0 24 24",
|
|
3514
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3515
|
+
...props,
|
|
3516
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3517
|
+
"path",
|
|
3518
|
+
{
|
|
3519
|
+
d: "M6 18L18 6M6 6l12 12",
|
|
3520
|
+
strokeLinecap: "round",
|
|
3521
|
+
strokeLinejoin: "round"
|
|
3522
|
+
}
|
|
3523
|
+
)
|
|
3524
|
+
}
|
|
3525
|
+
);
|
|
3526
|
+
|
|
3527
|
+
// src/components/shared/modal/index.tsx
|
|
3528
|
+
var _react2 = require('@headlessui/react');
|
|
3529
|
+
|
|
3530
|
+
var Modal = ({
|
|
3531
|
+
isOpen,
|
|
3532
|
+
setIsOpen,
|
|
3533
|
+
dismissible = true,
|
|
3534
|
+
children,
|
|
3535
|
+
className,
|
|
3536
|
+
fullScreen,
|
|
3537
|
+
onClose
|
|
3538
|
+
}) => {
|
|
3539
|
+
const handleCloseModal = () => {
|
|
3540
|
+
if (onClose) onClose();
|
|
3541
|
+
if (dismissible) setIsOpen(false);
|
|
3542
|
+
};
|
|
3543
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.Transition, { as: _react.Fragment, show: isOpen, appear: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.Dialog, { as: "div", className: "relative z-50", onClose: handleCloseModal, children: [
|
|
3544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3545
|
+
_react2.Transition.Child,
|
|
3546
|
+
{
|
|
3547
|
+
as: _react.Fragment,
|
|
3548
|
+
enter: "ease-out duration-default",
|
|
3549
|
+
enterFrom: "opacity-0",
|
|
3550
|
+
enterTo: "opacity-100",
|
|
3551
|
+
leave: "ease-in duration-default",
|
|
3552
|
+
leaveFrom: "opacity-100",
|
|
3553
|
+
leaveTo: "opacity-0",
|
|
3554
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "fixed inset-0 bg-slate-900/70" })
|
|
3555
|
+
}
|
|
3556
|
+
),
|
|
3557
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "fixed inset-0 overflow-y-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3558
|
+
"div",
|
|
3559
|
+
{
|
|
3560
|
+
className: `flex min-h-full items-center justify-center text-center ${!fullScreen ? "p-4 lg:py-12" : ""} ${className}`,
|
|
3561
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3562
|
+
_react2.Transition.Child,
|
|
3563
|
+
{
|
|
3564
|
+
as: _react.Fragment,
|
|
3565
|
+
enter: "ease-out duration-default",
|
|
3566
|
+
enterFrom: "opacity-0 scale-95",
|
|
3567
|
+
enterTo: "opacity-100 scale-100",
|
|
3568
|
+
leave: "ease-in duration-default",
|
|
3569
|
+
leaveFrom: "opacity-100 scale-100",
|
|
3570
|
+
leaveTo: "opacity-0 scale-95",
|
|
3571
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.Dialog.Panel, { className: "relative w-full shadow-xl transition-all md:w-auto", children: [
|
|
3572
|
+
dismissible && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute top-3 right-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3573
|
+
"button",
|
|
3574
|
+
{
|
|
3575
|
+
"aria-label": "close-modal",
|
|
3576
|
+
className: "w-7 cursor-pointer rounded-sm p-1 text-slate-600 duration-300 lg:hover:bg-slate-200 lg:hover:text-slate-500",
|
|
3577
|
+
onClick: handleCloseModal,
|
|
3578
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, XMark, { className: "w-full" })
|
|
3579
|
+
}
|
|
3580
|
+
) }),
|
|
3581
|
+
_react.cloneElement.call(void 0, children, {
|
|
3582
|
+
className: `${children.props.className} ${fullScreen ? `min-h-screen w-screen` : ""}`
|
|
3583
|
+
})
|
|
3584
|
+
] })
|
|
3585
|
+
}
|
|
3586
|
+
)
|
|
3587
|
+
}
|
|
3588
|
+
) })
|
|
3589
|
+
] }) });
|
|
3590
|
+
};
|
|
3591
|
+
|
|
3471
3592
|
// src/hooks/use-auto-focus.ts
|
|
3472
3593
|
|
|
3473
3594
|
var _usehooksts = require('usehooks-ts');
|
|
@@ -3475,7 +3596,7 @@ function useAutoFocus({ ref, enabled = true }) {
|
|
|
3475
3596
|
const isMounted = _usehooksts.useIsMounted.call(void 0, );
|
|
3476
3597
|
_react.useLayoutEffect.call(void 0, () => {
|
|
3477
3598
|
if (!enabled || isMounted()) return;
|
|
3478
|
-
_optionalChain([ref, 'access',
|
|
3599
|
+
_optionalChain([ref, 'access', _16 => _16.current, 'optionalAccess', _17 => _17.focus, 'call', _18 => _18()]);
|
|
3479
3600
|
}, [ref, enabled, isMounted]);
|
|
3480
3601
|
}
|
|
3481
3602
|
|
|
@@ -3751,14 +3872,5 @@ function useUid(prefix) {
|
|
|
3751
3872
|
|
|
3752
3873
|
|
|
3753
3874
|
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
exports.Accordion = Accordion; exports.AccordionContent = AccordionContent; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.Alert = Alert; exports.AlertDescription = AlertDescription; exports.AlertDialog = AlertDialog; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertTitle = AlertTitle; exports.Avatar = Avatar; exports.AvatarFallback = AvatarFallback; exports.AvatarImage = AvatarImage; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.Button = Button; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardContent = CardContent; exports.CardDescription = CardDescription; exports.CardFooter = CardFooter; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselNext = CarouselNext; exports.CarouselPrevious = CarouselPrevious; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleContent = CollapsibleContent2; exports.CollapsibleTrigger = CollapsibleTrigger2; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandInput = CommandInput; exports.CommandItem = CommandItem; exports.CommandList = CommandList; exports.CommandSeparator = CommandSeparator; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuTrigger = ContextMenuTrigger; exports.Dialog = Dialog; exports.DialogClose = DialogClose; exports.DialogContent = DialogContent; exports.DialogDescription = DialogDescription; exports.DialogFooter = DialogFooter; exports.DialogHeader = DialogHeader; exports.DialogOverlay = DialogOverlay; exports.DialogPortal = DialogPortal; exports.DialogTitle = DialogTitle; exports.DialogTrigger = DialogTrigger; exports.Drawer = Drawer; exports.DrawerClose = DrawerClose; exports.DrawerContent = DrawerContent; exports.DrawerDescription = DrawerDescription; exports.DrawerFooter = DrawerFooter; exports.DrawerHeader = DrawerHeader; exports.DrawerOverlay = DrawerOverlay; exports.DrawerPortal = DrawerPortal; exports.DrawerTitle = DrawerTitle; exports.DrawerTrigger = DrawerTrigger; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldDescription = FieldDescription; exports.FieldError = FieldError; exports.FieldGroup = FieldGroup; exports.FieldLabel = FieldLabel; exports.FieldLegend = FieldLegend; exports.FieldSeparator = FieldSeparator; exports.FieldSet = FieldSet; exports.FieldTitle = FieldTitle; exports.Form = Form; exports.FormControl = FormControl; exports.FormDescription = FormDescription; exports.FormField = FormField; exports.FormItem = FormItem; exports.FormLabel = FormLabel; exports.FormMessage = FormMessage; exports.HoverCard = HoverCard; exports.HoverCardContent = HoverCardContent; exports.HoverCardTrigger = HoverCardTrigger; exports.Input = Input; exports.Label = Label; exports.Menubar = Menubar; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarContent = MenubarContent; exports.MenubarGroup = MenubarGroup; exports.MenubarItem = MenubarItem; exports.MenubarLabel = MenubarLabel; exports.MenubarMenu = MenubarMenu; exports.MenubarPortal = MenubarPortal; exports.MenubarRadioGroup = MenubarRadioGroup; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.MenubarSub = MenubarSub; exports.MenubarSubContent = MenubarSubContent; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarTrigger = MenubarTrigger; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.NavigationMenuItem = NavigationMenuItem; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuViewport = NavigationMenuViewport; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationNext = PaginationNext; exports.PaginationPrevious = PaginationPrevious; exports.Popover = Popover; exports.PopoverAnchor = PopoverAnchor; exports.PopoverContent = PopoverContent; exports.PopoverTrigger = PopoverTrigger; exports.Progress = Progress; exports.RadioGroup = RadioGroup4; exports.RadioGroupItem = RadioGroupItem; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectContent = SelectContent; exports.SelectGroup = SelectGroup; exports.SelectItem = SelectItem; exports.SelectLabel = SelectLabel; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectSeparator = SelectSeparator; exports.SelectTrigger = SelectTrigger; exports.SelectValue = SelectValue; exports.Separator = Separator; exports.Sheet = Sheet; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetDescription = SheetDescription; exports.SheetFooter = SheetFooter; exports.SheetHeader = SheetHeader; exports.SheetOverlay = SheetOverlay; exports.SheetPortal = SheetPortal; exports.SheetTitle = SheetTitle; exports.SheetTrigger = SheetTrigger; exports.Sidebar = Sidebar; exports.SidebarContent = SidebarContent; exports.SidebarFooter = SidebarFooter; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarHeader = SidebarHeader; exports.SidebarInput = SidebarInput; exports.SidebarInset = SidebarInset; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarProvider = SidebarProvider; exports.SidebarRail = SidebarRail; exports.SidebarSeparator = SidebarSeparator; exports.SidebarTrigger = SidebarTrigger; exports.Skeleton = Skeleton; exports.Slider = Slider; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableBody = TableBody; exports.TableCaption = TableCaption; exports.TableCell = TableCell; exports.TableFooter = TableFooter; exports.TableHead = TableHead; exports.TableHeader = TableHeader; exports.TableRow = TableRow; exports.Tabs = Tabs; exports.TabsContent = TabsContent; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.Textarea = Textarea; exports.Toaster = Toaster; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.Tooltip = Tooltip; exports.TooltipContent = TooltipContent; exports.TooltipProvider = TooltipProvider; exports.TooltipTrigger = TooltipTrigger; exports.badgeVariants = badgeVariants; exports.buttonVariants = buttonVariants; exports.cn = cn; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.toggleVariants = toggleVariants; exports.useAutoFocus = useAutoFocus; exports.useFormField = useFormField; exports.useIsMobile = useIsMobile; exports.useShortcuts = useShortcuts; exports.useSidebar = useSidebar; exports.useUid = useUid;
|
|
3875
|
+
exports.Accordion = Accordion; exports.AccordionContent = AccordionContent; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.Alert = Alert; exports.AlertDescription = AlertDescription; exports.AlertDialog = AlertDialog; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertTitle = AlertTitle; exports.Avatar = Avatar; exports.AvatarFallback = AvatarFallback; exports.AvatarImage = AvatarImage; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.Button = Button; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardContent = CardContent; exports.CardDescription = CardDescription; exports.CardFooter = CardFooter; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.Checkbox = Checkbox; exports.CircleButton = CircleButton; exports.Collapsible = Collapsible; exports.CollapsibleContent = CollapsibleContent2; exports.CollapsibleTrigger = CollapsibleTrigger2; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandInput = CommandInput; exports.CommandItem = CommandItem; exports.CommandList = CommandList; exports.CommandSeparator = CommandSeparator; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuTrigger = ContextMenuTrigger; exports.Dialog = Dialog; exports.DialogClose = DialogClose; exports.DialogContent = DialogContent; exports.DialogDescription = DialogDescription; exports.DialogFooter = DialogFooter; exports.DialogHeader = DialogHeader; exports.DialogOverlay = DialogOverlay; exports.DialogPortal = DialogPortal; exports.DialogTitle = DialogTitle; exports.DialogTrigger = DialogTrigger; exports.Drawer = Drawer; exports.DrawerClose = DrawerClose; exports.DrawerContent = DrawerContent; exports.DrawerDescription = DrawerDescription; exports.DrawerFooter = DrawerFooter; exports.DrawerHeader = DrawerHeader; exports.DrawerOverlay = DrawerOverlay; exports.DrawerPortal = DrawerPortal; exports.DrawerTitle = DrawerTitle; exports.DrawerTrigger = DrawerTrigger; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldDescription = FieldDescription; exports.FieldError = FieldError; exports.FieldGroup = FieldGroup; exports.FieldLabel = FieldLabel; exports.FieldLegend = FieldLegend; exports.FieldSeparator = FieldSeparator; exports.FieldSet = FieldSet; exports.FieldTitle = FieldTitle; exports.Form = Form; exports.FormControl = FormControl; exports.FormDescription = FormDescription; exports.FormField = FormField; exports.FormItem = FormItem; exports.FormLabel = FormLabel; exports.FormMessage = FormMessage; exports.HamburgerButton = HamburgerButton; exports.HoverCard = HoverCard; exports.HoverCardContent = HoverCardContent; exports.HoverCardTrigger = HoverCardTrigger; exports.Input = Input; exports.Label = Label; exports.Menubar = Menubar; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarContent = MenubarContent; exports.MenubarGroup = MenubarGroup; exports.MenubarItem = MenubarItem; exports.MenubarLabel = MenubarLabel; exports.MenubarMenu = MenubarMenu; exports.MenubarPortal = MenubarPortal; exports.MenubarRadioGroup = MenubarRadioGroup; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.MenubarSub = MenubarSub; exports.MenubarSubContent = MenubarSubContent; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarTrigger = MenubarTrigger; exports.Modal = Modal; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.NavigationMenuItem = NavigationMenuItem; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuViewport = NavigationMenuViewport; exports.Popover = Popover; exports.PopoverAnchor = PopoverAnchor; exports.PopoverContent = PopoverContent; exports.PopoverTrigger = PopoverTrigger; exports.Progress = Progress; exports.RadioGroup = RadioGroup4; exports.RadioGroupItem = RadioGroupItem; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectContent = SelectContent; exports.SelectGroup = SelectGroup; exports.SelectItem = SelectItem; exports.SelectLabel = SelectLabel; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectSeparator = SelectSeparator; exports.SelectTrigger = SelectTrigger; exports.SelectValue = SelectValue; exports.Separator = Separator; exports.Sheet = Sheet; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetDescription = SheetDescription; exports.SheetFooter = SheetFooter; exports.SheetHeader = SheetHeader; exports.SheetOverlay = SheetOverlay; exports.SheetPortal = SheetPortal; exports.SheetTitle = SheetTitle; exports.SheetTrigger = SheetTrigger; exports.Sidebar = Sidebar; exports.SidebarContent = SidebarContent; exports.SidebarFooter = SidebarFooter; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarHeader = SidebarHeader; exports.SidebarInput = SidebarInput; exports.SidebarInset = SidebarInset; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarProvider = SidebarProvider; exports.SidebarRail = SidebarRail; exports.SidebarSeparator = SidebarSeparator; exports.SidebarTrigger = SidebarTrigger; exports.Skeleton = Skeleton; exports.Slider = Slider; exports.Spin = Spin; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableBody = TableBody; exports.TableCaption = TableCaption; exports.TableCell = TableCell; exports.TableFooter = TableFooter; exports.TableHead = TableHead; exports.TableHeader = TableHeader; exports.TableRow = TableRow; exports.Tabs = Tabs; exports.TabsContent = TabsContent; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.Textarea = Textarea; exports.Toaster = Toaster; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.Tooltip = Tooltip; exports.TooltipContent = TooltipContent; exports.TooltipProvider = TooltipProvider; exports.TooltipTrigger = TooltipTrigger; exports.badgeVariants = badgeVariants; exports.cn = cn; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.toggleVariants = toggleVariants; exports.useAutoFocus = useAutoFocus; exports.useFormField = useFormField; exports.useIsMobile = useIsMobile; exports.useShortcuts = useShortcuts; exports.useSidebar = useSidebar; exports.useUid = useUid;
|
|
3764
3876
|
//# sourceMappingURL=index.cjs.map
|