@framingui/ui 0.6.10 → 0.6.11
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/README.md +38 -17
- package/dist/index.d.mts +28 -20
- package/dist/index.mjs +252 -228
- package/dist/src/framingui-provider.d.ts +9 -0
- package/dist/src/framingui-provider.d.ts.map +1 -0
- package/dist/src/framingui-provider.js +21 -0
- package/dist/src/framingui-provider.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -81,76 +81,8 @@ function extractTokenName(token) {
|
|
|
81
81
|
return match ? match[1] : "";
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
// src/
|
|
85
|
-
import
|
|
86
|
-
import { cva } from "class-variance-authority";
|
|
87
|
-
import { jsx } from "react/jsx-runtime";
|
|
88
|
-
var headingVariants = cva("font-semibold tracking-tight", {
|
|
89
|
-
variants: {
|
|
90
|
-
level: {
|
|
91
|
-
1: "text-4xl lg:text-5xl",
|
|
92
|
-
2: "text-3xl lg:text-4xl",
|
|
93
|
-
3: "text-2xl lg:text-3xl",
|
|
94
|
-
4: "text-xl lg:text-2xl",
|
|
95
|
-
5: "text-lg lg:text-xl",
|
|
96
|
-
6: "text-base lg:text-lg"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
defaultVariants: {
|
|
100
|
-
level: 1
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
var Heading = React.forwardRef(
|
|
104
|
-
({ className, level = 1, ...props }, ref) => {
|
|
105
|
-
const Comp = `h${level}`;
|
|
106
|
-
return /* @__PURE__ */ jsx(
|
|
107
|
-
Comp,
|
|
108
|
-
{
|
|
109
|
-
className: cn(headingVariants({ level, className }), "text-[var(--heading-foreground)]"),
|
|
110
|
-
ref,
|
|
111
|
-
...props
|
|
112
|
-
}
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
);
|
|
116
|
-
Heading.displayName = "Heading";
|
|
117
|
-
|
|
118
|
-
// src/primitives/text.tsx
|
|
119
|
-
import * as React2 from "react";
|
|
120
|
-
import { cva as cva2 } from "class-variance-authority";
|
|
121
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
122
|
-
var textVariants = cva2("", {
|
|
123
|
-
variants: {
|
|
124
|
-
variant: {
|
|
125
|
-
body: "text-[var(--text-body-color)]",
|
|
126
|
-
caption: "text-[var(--text-caption-color)]",
|
|
127
|
-
label: "text-[var(--text-label-color)]",
|
|
128
|
-
code: "font-mono text-[var(--text-code-color)]"
|
|
129
|
-
},
|
|
130
|
-
size: {
|
|
131
|
-
sm: "text-sm",
|
|
132
|
-
default: "text-base",
|
|
133
|
-
lg: "text-lg"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
defaultVariants: {
|
|
137
|
-
variant: "body",
|
|
138
|
-
size: "default"
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
var Text = React2.forwardRef(
|
|
142
|
-
({ className, variant, size, as: Comp = "span", ...props }, ref) => {
|
|
143
|
-
return /* @__PURE__ */ jsx2(
|
|
144
|
-
Comp,
|
|
145
|
-
{
|
|
146
|
-
className: cn(textVariants({ variant, size, className })),
|
|
147
|
-
ref,
|
|
148
|
-
...props
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
);
|
|
153
|
-
Text.displayName = "Text";
|
|
84
|
+
// src/framingui-provider.tsx
|
|
85
|
+
import { useEffect } from "react";
|
|
154
86
|
|
|
155
87
|
// src/lib/theme-loader.ts
|
|
156
88
|
function oklchToCSS(color) {
|
|
@@ -295,8 +227,99 @@ function setThemeId(themeId) {
|
|
|
295
227
|
document.documentElement.setAttribute("data-theme", themeId);
|
|
296
228
|
}
|
|
297
229
|
|
|
230
|
+
// src/framingui-provider.tsx
|
|
231
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
232
|
+
function FramingUIProvider({ children, theme, themeId }) {
|
|
233
|
+
const resolvedThemeId = theme?.id ?? themeId ?? null;
|
|
234
|
+
useEffect(() => {
|
|
235
|
+
if (process.env.NODE_ENV !== "production" && theme && themeId && theme.id !== themeId) {
|
|
236
|
+
console.warn(
|
|
237
|
+
`[FramingUIProvider] theme.id "${theme.id}" does not match themeId "${themeId}". Using "${theme.id}" because the theme object is authoritative.`
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
if (theme) {
|
|
241
|
+
injectThemeCSS(theme);
|
|
242
|
+
}
|
|
243
|
+
if (resolvedThemeId && getCurrentThemeId() !== resolvedThemeId) {
|
|
244
|
+
setThemeId(resolvedThemeId);
|
|
245
|
+
}
|
|
246
|
+
}, [resolvedThemeId, theme, themeId]);
|
|
247
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// src/primitives/heading.tsx
|
|
251
|
+
import * as React from "react";
|
|
252
|
+
import { cva } from "class-variance-authority";
|
|
253
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
254
|
+
var headingVariants = cva("font-semibold tracking-tight", {
|
|
255
|
+
variants: {
|
|
256
|
+
level: {
|
|
257
|
+
1: "text-4xl lg:text-5xl",
|
|
258
|
+
2: "text-3xl lg:text-4xl",
|
|
259
|
+
3: "text-2xl lg:text-3xl",
|
|
260
|
+
4: "text-xl lg:text-2xl",
|
|
261
|
+
5: "text-lg lg:text-xl",
|
|
262
|
+
6: "text-base lg:text-lg"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
defaultVariants: {
|
|
266
|
+
level: 1
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
var Heading = React.forwardRef(
|
|
270
|
+
({ className, level = 1, ...props }, ref) => {
|
|
271
|
+
const Comp = `h${level}`;
|
|
272
|
+
return /* @__PURE__ */ jsx2(
|
|
273
|
+
Comp,
|
|
274
|
+
{
|
|
275
|
+
className: cn(headingVariants({ level, className }), "text-[var(--heading-foreground)]"),
|
|
276
|
+
ref,
|
|
277
|
+
...props
|
|
278
|
+
}
|
|
279
|
+
);
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
Heading.displayName = "Heading";
|
|
283
|
+
|
|
284
|
+
// src/primitives/text.tsx
|
|
285
|
+
import * as React2 from "react";
|
|
286
|
+
import { cva as cva2 } from "class-variance-authority";
|
|
287
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
288
|
+
var textVariants = cva2("", {
|
|
289
|
+
variants: {
|
|
290
|
+
variant: {
|
|
291
|
+
body: "text-[var(--text-body-color)]",
|
|
292
|
+
caption: "text-[var(--text-caption-color)]",
|
|
293
|
+
label: "text-[var(--text-label-color)]",
|
|
294
|
+
code: "font-mono text-[var(--text-code-color)]"
|
|
295
|
+
},
|
|
296
|
+
size: {
|
|
297
|
+
sm: "text-sm",
|
|
298
|
+
default: "text-base",
|
|
299
|
+
lg: "text-lg"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
defaultVariants: {
|
|
303
|
+
variant: "body",
|
|
304
|
+
size: "default"
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
var Text = React2.forwardRef(
|
|
308
|
+
({ className, variant, size, as: Comp = "span", ...props }, ref) => {
|
|
309
|
+
return /* @__PURE__ */ jsx3(
|
|
310
|
+
Comp,
|
|
311
|
+
{
|
|
312
|
+
className: cn(textVariants({ variant, size, className })),
|
|
313
|
+
ref,
|
|
314
|
+
...props
|
|
315
|
+
}
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
Text.displayName = "Text";
|
|
320
|
+
|
|
298
321
|
// src/lib/motion.ts
|
|
299
|
-
import { useEffect, useState } from "react";
|
|
322
|
+
import { useEffect as useEffect2, useState } from "react";
|
|
300
323
|
var motionTokens = {
|
|
301
324
|
duration: {
|
|
302
325
|
instant: 0,
|
|
@@ -368,7 +391,7 @@ var scaleVariants = {
|
|
|
368
391
|
};
|
|
369
392
|
function useMotionSafe() {
|
|
370
393
|
const [motionSafe, setMotionSafe] = useState(true);
|
|
371
|
-
|
|
394
|
+
useEffect2(() => {
|
|
372
395
|
const mediaQuery = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
373
396
|
setMotionSafe(!mediaQuery.matches);
|
|
374
397
|
const handleChange = (e) => {
|
|
@@ -388,7 +411,7 @@ function getMotionTransition(transition, motionSafe) {
|
|
|
388
411
|
|
|
389
412
|
// src/components/badge.tsx
|
|
390
413
|
import { cva as cva3 } from "class-variance-authority";
|
|
391
|
-
import { jsx as
|
|
414
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
392
415
|
var badgeVariants = cva3(
|
|
393
416
|
"inline-flex items-center rounded-[var(--radius-full)] border px-[var(--spacing-3)] py-[var(--spacing-1)] text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-[var(--border-ring)] focus:ring-offset-2",
|
|
394
417
|
{
|
|
@@ -406,14 +429,14 @@ var badgeVariants = cva3(
|
|
|
406
429
|
}
|
|
407
430
|
);
|
|
408
431
|
function Badge({ className, variant, ...props }) {
|
|
409
|
-
return /* @__PURE__ */
|
|
432
|
+
return /* @__PURE__ */ jsx4("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
410
433
|
}
|
|
411
434
|
|
|
412
435
|
// src/components/avatar.tsx
|
|
413
436
|
import * as React3 from "react";
|
|
414
437
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
415
|
-
import { jsx as
|
|
416
|
-
var Avatar = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
438
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
439
|
+
var Avatar = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx5(
|
|
417
440
|
AvatarPrimitive.Root,
|
|
418
441
|
{
|
|
419
442
|
ref,
|
|
@@ -426,7 +449,7 @@ var Avatar = React3.forwardRef(({ className, children, ...props }, ref) => /* @_
|
|
|
426
449
|
}
|
|
427
450
|
));
|
|
428
451
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
429
|
-
var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
452
|
+
var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx5(
|
|
430
453
|
AvatarPrimitive.Image,
|
|
431
454
|
{
|
|
432
455
|
ref,
|
|
@@ -435,7 +458,7 @@ var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
435
458
|
}
|
|
436
459
|
));
|
|
437
460
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
438
|
-
var AvatarFallback = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
461
|
+
var AvatarFallback = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx5(
|
|
439
462
|
AvatarPrimitive.Fallback,
|
|
440
463
|
{
|
|
441
464
|
ref,
|
|
@@ -452,8 +475,8 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
|
452
475
|
import * as React4 from "react";
|
|
453
476
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
454
477
|
import { Check } from "lucide-react";
|
|
455
|
-
import { jsx as
|
|
456
|
-
var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
478
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
479
|
+
var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx6(
|
|
457
480
|
CheckboxPrimitive.Root,
|
|
458
481
|
{
|
|
459
482
|
ref,
|
|
@@ -462,7 +485,7 @@ var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
462
485
|
className
|
|
463
486
|
),
|
|
464
487
|
...props,
|
|
465
|
-
children: /* @__PURE__ */
|
|
488
|
+
children: /* @__PURE__ */ jsx6(CheckboxPrimitive.Indicator, { className: cn("flex items-center justify-center text-current"), children: /* @__PURE__ */ jsx6(Check, { className: "h-4 w-4" }) })
|
|
466
489
|
}
|
|
467
490
|
));
|
|
468
491
|
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
@@ -471,9 +494,9 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
471
494
|
import * as React5 from "react";
|
|
472
495
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
473
496
|
import { Circle } from "lucide-react";
|
|
474
|
-
import { jsx as
|
|
497
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
475
498
|
var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
476
|
-
return /* @__PURE__ */
|
|
499
|
+
return /* @__PURE__ */ jsx7(
|
|
477
500
|
RadioGroupPrimitive.Root,
|
|
478
501
|
{
|
|
479
502
|
className: cn("grid gap-[var(--spacing-2)]", className),
|
|
@@ -484,7 +507,7 @@ var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
|
484
507
|
});
|
|
485
508
|
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
486
509
|
var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
|
|
487
|
-
return /* @__PURE__ */
|
|
510
|
+
return /* @__PURE__ */ jsx7(
|
|
488
511
|
RadioGroupPrimitive.Item,
|
|
489
512
|
{
|
|
490
513
|
ref,
|
|
@@ -493,7 +516,7 @@ var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
|
|
|
493
516
|
className
|
|
494
517
|
),
|
|
495
518
|
...props,
|
|
496
|
-
children: /* @__PURE__ */
|
|
519
|
+
children: /* @__PURE__ */ jsx7(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx7(Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
497
520
|
}
|
|
498
521
|
);
|
|
499
522
|
});
|
|
@@ -502,8 +525,8 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
|
502
525
|
// src/components/switch.tsx
|
|
503
526
|
import * as React6 from "react";
|
|
504
527
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
505
|
-
import { jsx as
|
|
506
|
-
var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
528
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
529
|
+
var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx8(
|
|
507
530
|
SwitchPrimitives.Root,
|
|
508
531
|
{
|
|
509
532
|
className: cn(
|
|
@@ -512,7 +535,7 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
512
535
|
),
|
|
513
536
|
...props,
|
|
514
537
|
ref,
|
|
515
|
-
children: /* @__PURE__ */
|
|
538
|
+
children: /* @__PURE__ */ jsx8(
|
|
516
539
|
SwitchPrimitives.Thumb,
|
|
517
540
|
{
|
|
518
541
|
className: cn(
|
|
@@ -526,10 +549,10 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
|
526
549
|
|
|
527
550
|
// src/components/textarea.tsx
|
|
528
551
|
import * as React7 from "react";
|
|
529
|
-
import { jsx as
|
|
552
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
530
553
|
var Textarea = React7.forwardRef(
|
|
531
554
|
({ className, ...props }, ref) => {
|
|
532
|
-
return /* @__PURE__ */
|
|
555
|
+
return /* @__PURE__ */ jsx9(
|
|
533
556
|
"textarea",
|
|
534
557
|
{
|
|
535
558
|
className: cn(
|
|
@@ -545,9 +568,9 @@ var Textarea = React7.forwardRef(
|
|
|
545
568
|
Textarea.displayName = "Textarea";
|
|
546
569
|
|
|
547
570
|
// src/components/skeleton.tsx
|
|
548
|
-
import { jsx as
|
|
571
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
549
572
|
function Skeleton({ className, ...props }) {
|
|
550
|
-
return /* @__PURE__ */
|
|
573
|
+
return /* @__PURE__ */ jsx10(
|
|
551
574
|
"div",
|
|
552
575
|
{
|
|
553
576
|
className: cn("animate-pulse rounded-[var(--radius-md)] bg-[var(--bg-muted)]", className),
|
|
@@ -559,7 +582,7 @@ function Skeleton({ className, ...props }) {
|
|
|
559
582
|
// src/components/scroll-area.tsx
|
|
560
583
|
import * as React8 from "react";
|
|
561
584
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
562
|
-
import { jsx as
|
|
585
|
+
import { jsx as jsx11, jsxs } from "react/jsx-runtime";
|
|
563
586
|
var ScrollArea = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
564
587
|
ScrollAreaPrimitive.Root,
|
|
565
588
|
{
|
|
@@ -567,14 +590,14 @@ var ScrollArea = React8.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
567
590
|
className: cn("relative overflow-hidden", className),
|
|
568
591
|
...props,
|
|
569
592
|
children: [
|
|
570
|
-
/* @__PURE__ */
|
|
571
|
-
/* @__PURE__ */
|
|
572
|
-
/* @__PURE__ */
|
|
593
|
+
/* @__PURE__ */ jsx11(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
594
|
+
/* @__PURE__ */ jsx11(ScrollBar, {}),
|
|
595
|
+
/* @__PURE__ */ jsx11(ScrollAreaPrimitive.Corner, {})
|
|
573
596
|
]
|
|
574
597
|
}
|
|
575
598
|
));
|
|
576
599
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
577
|
-
var ScrollBar = React8.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */
|
|
600
|
+
var ScrollBar = React8.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx11(
|
|
578
601
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
579
602
|
{
|
|
580
603
|
ref,
|
|
@@ -586,7 +609,7 @@ var ScrollBar = React8.forwardRef(({ className, orientation = "vertical", ...pro
|
|
|
586
609
|
className
|
|
587
610
|
),
|
|
588
611
|
...props,
|
|
589
|
-
children: /* @__PURE__ */
|
|
612
|
+
children: /* @__PURE__ */ jsx11(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-[var(--radius-full)] bg-[var(--border-default)]" })
|
|
590
613
|
}
|
|
591
614
|
));
|
|
592
615
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
@@ -595,7 +618,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
|
595
618
|
import * as React9 from "react";
|
|
596
619
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
597
620
|
import { Check as Check2, ChevronDown, ChevronUp } from "lucide-react";
|
|
598
|
-
import { jsx as
|
|
621
|
+
import { jsx as jsx12, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
599
622
|
var Select = SelectPrimitive.Root;
|
|
600
623
|
var SelectGroup = SelectPrimitive.Group;
|
|
601
624
|
var SelectValue = SelectPrimitive.Value;
|
|
@@ -610,32 +633,32 @@ var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) =
|
|
|
610
633
|
...props,
|
|
611
634
|
children: [
|
|
612
635
|
children,
|
|
613
|
-
/* @__PURE__ */
|
|
636
|
+
/* @__PURE__ */ jsx12(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx12(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
614
637
|
]
|
|
615
638
|
}
|
|
616
639
|
));
|
|
617
640
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
618
|
-
var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
641
|
+
var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
|
|
619
642
|
SelectPrimitive.ScrollUpButton,
|
|
620
643
|
{
|
|
621
644
|
ref,
|
|
622
645
|
className: cn("flex cursor-default items-center justify-center py-1", className),
|
|
623
646
|
...props,
|
|
624
|
-
children: /* @__PURE__ */
|
|
647
|
+
children: /* @__PURE__ */ jsx12(ChevronUp, { className: "h-4 w-4" })
|
|
625
648
|
}
|
|
626
649
|
));
|
|
627
650
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
628
|
-
var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
651
|
+
var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
|
|
629
652
|
SelectPrimitive.ScrollDownButton,
|
|
630
653
|
{
|
|
631
654
|
ref,
|
|
632
655
|
className: cn("flex cursor-default items-center justify-center py-1", className),
|
|
633
656
|
...props,
|
|
634
|
-
children: /* @__PURE__ */
|
|
657
|
+
children: /* @__PURE__ */ jsx12(ChevronDown, { className: "h-4 w-4" })
|
|
635
658
|
}
|
|
636
659
|
));
|
|
637
660
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
638
|
-
var SelectContent = React9.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */
|
|
661
|
+
var SelectContent = React9.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx12(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs2(
|
|
639
662
|
SelectPrimitive.Content,
|
|
640
663
|
{
|
|
641
664
|
ref,
|
|
@@ -647,8 +670,8 @@ var SelectContent = React9.forwardRef(({ className, children, position = "popper
|
|
|
647
670
|
position,
|
|
648
671
|
...props,
|
|
649
672
|
children: [
|
|
650
|
-
/* @__PURE__ */
|
|
651
|
-
/* @__PURE__ */
|
|
673
|
+
/* @__PURE__ */ jsx12(SelectScrollUpButton, {}),
|
|
674
|
+
/* @__PURE__ */ jsx12(
|
|
652
675
|
SelectPrimitive.Viewport,
|
|
653
676
|
{
|
|
654
677
|
className: cn(
|
|
@@ -658,12 +681,12 @@ var SelectContent = React9.forwardRef(({ className, children, position = "popper
|
|
|
658
681
|
children
|
|
659
682
|
}
|
|
660
683
|
),
|
|
661
|
-
/* @__PURE__ */
|
|
684
|
+
/* @__PURE__ */ jsx12(SelectScrollDownButton, {})
|
|
662
685
|
]
|
|
663
686
|
}
|
|
664
687
|
) }));
|
|
665
688
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
666
|
-
var SelectLabel = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
689
|
+
var SelectLabel = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
|
|
667
690
|
SelectPrimitive.Label,
|
|
668
691
|
{
|
|
669
692
|
ref,
|
|
@@ -685,13 +708,13 @@ var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
685
708
|
),
|
|
686
709
|
...props,
|
|
687
710
|
children: [
|
|
688
|
-
/* @__PURE__ */
|
|
689
|
-
/* @__PURE__ */
|
|
711
|
+
/* @__PURE__ */ jsx12("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx12(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx12(Check2, { className: "h-4 w-4" }) }) }),
|
|
712
|
+
/* @__PURE__ */ jsx12(SelectPrimitive.ItemText, { children })
|
|
690
713
|
]
|
|
691
714
|
}
|
|
692
715
|
));
|
|
693
716
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
694
|
-
var SelectSeparator = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
717
|
+
var SelectSeparator = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
|
|
695
718
|
SelectPrimitive.Separator,
|
|
696
719
|
{
|
|
697
720
|
ref,
|
|
@@ -705,12 +728,12 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
705
728
|
import * as React10 from "react";
|
|
706
729
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
707
730
|
import { X } from "lucide-react";
|
|
708
|
-
import { jsx as
|
|
731
|
+
import { jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
709
732
|
var Dialog = DialogPrimitive.Root;
|
|
710
733
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
711
734
|
var DialogPortal = DialogPrimitive.Portal;
|
|
712
735
|
var DialogClose = DialogPrimitive.Close;
|
|
713
|
-
var DialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
736
|
+
var DialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
|
|
714
737
|
DialogPrimitive.Overlay,
|
|
715
738
|
{
|
|
716
739
|
ref,
|
|
@@ -723,7 +746,7 @@ var DialogOverlay = React10.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
723
746
|
));
|
|
724
747
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
725
748
|
var DialogContent = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs3(DialogPortal, { children: [
|
|
726
|
-
/* @__PURE__ */
|
|
749
|
+
/* @__PURE__ */ jsx13(DialogOverlay, {}),
|
|
727
750
|
/* @__PURE__ */ jsxs3(
|
|
728
751
|
DialogPrimitive.Content,
|
|
729
752
|
{
|
|
@@ -736,17 +759,17 @@ var DialogContent = React10.forwardRef(({ className, children, ...props }, ref)
|
|
|
736
759
|
children: [
|
|
737
760
|
children,
|
|
738
761
|
/* @__PURE__ */ jsxs3(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500", children: [
|
|
739
|
-
/* @__PURE__ */
|
|
740
|
-
/* @__PURE__ */
|
|
762
|
+
/* @__PURE__ */ jsx13(X, { className: "h-4 w-4" }),
|
|
763
|
+
/* @__PURE__ */ jsx13("span", { className: "sr-only", children: "Close" })
|
|
741
764
|
] })
|
|
742
765
|
]
|
|
743
766
|
}
|
|
744
767
|
)
|
|
745
768
|
] }));
|
|
746
769
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
747
|
-
var DialogHeader = ({ className, ...props }) => /* @__PURE__ */
|
|
770
|
+
var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx13("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|
|
748
771
|
DialogHeader.displayName = "DialogHeader";
|
|
749
|
-
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */
|
|
772
|
+
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx13(
|
|
750
773
|
"div",
|
|
751
774
|
{
|
|
752
775
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
|
|
@@ -754,7 +777,7 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx12(
|
|
|
754
777
|
}
|
|
755
778
|
);
|
|
756
779
|
DialogFooter.displayName = "DialogFooter";
|
|
757
|
-
var DialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
780
|
+
var DialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
|
|
758
781
|
DialogPrimitive.Title,
|
|
759
782
|
{
|
|
760
783
|
ref,
|
|
@@ -763,7 +786,7 @@ var DialogTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
763
786
|
}
|
|
764
787
|
));
|
|
765
788
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
766
|
-
var DialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
789
|
+
var DialogDescription = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
|
|
767
790
|
DialogPrimitive.Description,
|
|
768
791
|
{
|
|
769
792
|
ref,
|
|
@@ -777,7 +800,7 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
777
800
|
import * as React11 from "react";
|
|
778
801
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
779
802
|
import { Check as Check3, ChevronRight, Circle as Circle2 } from "lucide-react";
|
|
780
|
-
import { jsx as
|
|
803
|
+
import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
781
804
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
782
805
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
783
806
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
@@ -796,12 +819,12 @@ var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, .
|
|
|
796
819
|
...props,
|
|
797
820
|
children: [
|
|
798
821
|
children,
|
|
799
|
-
/* @__PURE__ */
|
|
822
|
+
/* @__PURE__ */ jsx14(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
800
823
|
]
|
|
801
824
|
}
|
|
802
825
|
));
|
|
803
826
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
804
|
-
var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
827
|
+
var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
805
828
|
DropdownMenuPrimitive.SubContent,
|
|
806
829
|
{
|
|
807
830
|
ref,
|
|
@@ -813,7 +836,7 @@ var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) =
|
|
|
813
836
|
}
|
|
814
837
|
));
|
|
815
838
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
816
|
-
var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
839
|
+
var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx14(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx14(
|
|
817
840
|
DropdownMenuPrimitive.Content,
|
|
818
841
|
{
|
|
819
842
|
ref,
|
|
@@ -826,7 +849,7 @@ var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
826
849
|
}
|
|
827
850
|
) }));
|
|
828
851
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
829
|
-
var DropdownMenuItem = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
852
|
+
var DropdownMenuItem = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
830
853
|
DropdownMenuPrimitive.Item,
|
|
831
854
|
{
|
|
832
855
|
ref,
|
|
@@ -850,7 +873,7 @@ var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checke
|
|
|
850
873
|
checked,
|
|
851
874
|
...props,
|
|
852
875
|
children: [
|
|
853
|
-
/* @__PURE__ */
|
|
876
|
+
/* @__PURE__ */ jsx14("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(Check3, { className: "h-4 w-4" }) }) }),
|
|
854
877
|
children
|
|
855
878
|
]
|
|
856
879
|
}
|
|
@@ -866,13 +889,13 @@ var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props
|
|
|
866
889
|
),
|
|
867
890
|
...props,
|
|
868
891
|
children: [
|
|
869
|
-
/* @__PURE__ */
|
|
892
|
+
/* @__PURE__ */ jsx14("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
|
|
870
893
|
children
|
|
871
894
|
]
|
|
872
895
|
}
|
|
873
896
|
));
|
|
874
897
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
875
|
-
var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
898
|
+
var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
876
899
|
DropdownMenuPrimitive.Label,
|
|
877
900
|
{
|
|
878
901
|
ref,
|
|
@@ -885,7 +908,7 @@ var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref)
|
|
|
885
908
|
}
|
|
886
909
|
));
|
|
887
910
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
888
|
-
var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
911
|
+
var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
889
912
|
DropdownMenuPrimitive.Separator,
|
|
890
913
|
{
|
|
891
914
|
ref,
|
|
@@ -895,22 +918,22 @@ var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) =>
|
|
|
895
918
|
));
|
|
896
919
|
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
897
920
|
var DropdownMenuShortcut = ({ className, ...props }) => {
|
|
898
|
-
return /* @__PURE__ */
|
|
921
|
+
return /* @__PURE__ */ jsx14("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props });
|
|
899
922
|
};
|
|
900
923
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
901
924
|
|
|
902
925
|
// src/components/table.tsx
|
|
903
926
|
import * as React12 from "react";
|
|
904
|
-
import { jsx as
|
|
927
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
905
928
|
var Table = React12.forwardRef(
|
|
906
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
929
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx15("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx15("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })
|
|
907
930
|
);
|
|
908
931
|
Table.displayName = "Table";
|
|
909
|
-
var TableHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
932
|
+
var TableHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
910
933
|
TableHeader.displayName = "TableHeader";
|
|
911
|
-
var TableBody = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
934
|
+
var TableBody = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props }));
|
|
912
935
|
TableBody.displayName = "TableBody";
|
|
913
|
-
var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
936
|
+
var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
914
937
|
"tfoot",
|
|
915
938
|
{
|
|
916
939
|
ref,
|
|
@@ -920,7 +943,7 @@ var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
920
943
|
));
|
|
921
944
|
TableFooter.displayName = "TableFooter";
|
|
922
945
|
var TableRow = React12.forwardRef(
|
|
923
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
946
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
924
947
|
"tr",
|
|
925
948
|
{
|
|
926
949
|
ref,
|
|
@@ -933,7 +956,7 @@ var TableRow = React12.forwardRef(
|
|
|
933
956
|
)
|
|
934
957
|
);
|
|
935
958
|
TableRow.displayName = "TableRow";
|
|
936
|
-
var TableHead = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
959
|
+
var TableHead = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
937
960
|
"th",
|
|
938
961
|
{
|
|
939
962
|
ref,
|
|
@@ -945,7 +968,7 @@ var TableHead = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
945
968
|
}
|
|
946
969
|
));
|
|
947
970
|
TableHead.displayName = "TableHead";
|
|
948
|
-
var TableCell = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
971
|
+
var TableCell = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
949
972
|
"td",
|
|
950
973
|
{
|
|
951
974
|
ref,
|
|
@@ -954,7 +977,7 @@ var TableCell = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
954
977
|
}
|
|
955
978
|
));
|
|
956
979
|
TableCell.displayName = "TableCell";
|
|
957
|
-
var TableCaption = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
980
|
+
var TableCaption = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
|
|
958
981
|
"caption",
|
|
959
982
|
{
|
|
960
983
|
ref,
|
|
@@ -967,9 +990,9 @@ TableCaption.displayName = "TableCaption";
|
|
|
967
990
|
// src/components/tabs.tsx
|
|
968
991
|
import * as React13 from "react";
|
|
969
992
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
970
|
-
import { jsx as
|
|
993
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
971
994
|
var Tabs = TabsPrimitive.Root;
|
|
972
|
-
var TabsList = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
995
|
+
var TabsList = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
|
|
973
996
|
TabsPrimitive.List,
|
|
974
997
|
{
|
|
975
998
|
ref,
|
|
@@ -981,7 +1004,7 @@ var TabsList = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
981
1004
|
}
|
|
982
1005
|
));
|
|
983
1006
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
984
|
-
var TabsTrigger = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1007
|
+
var TabsTrigger = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
|
|
985
1008
|
TabsPrimitive.Trigger,
|
|
986
1009
|
{
|
|
987
1010
|
ref,
|
|
@@ -993,7 +1016,7 @@ var TabsTrigger = React13.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
993
1016
|
}
|
|
994
1017
|
));
|
|
995
1018
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
996
|
-
var TabsContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1019
|
+
var TabsContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
|
|
997
1020
|
TabsPrimitive.Content,
|
|
998
1021
|
{
|
|
999
1022
|
ref,
|
|
@@ -1011,9 +1034,9 @@ import * as React14 from "react";
|
|
|
1011
1034
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
1012
1035
|
import { cva as cva4 } from "class-variance-authority";
|
|
1013
1036
|
import { X as X2 } from "lucide-react";
|
|
1014
|
-
import { jsx as
|
|
1037
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1015
1038
|
var ToastProvider = ToastPrimitives.Provider;
|
|
1016
|
-
var ToastViewport = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1039
|
+
var ToastViewport = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
1017
1040
|
ToastPrimitives.Viewport,
|
|
1018
1041
|
{
|
|
1019
1042
|
ref,
|
|
@@ -1040,7 +1063,7 @@ var toastVariants = cva4(
|
|
|
1040
1063
|
}
|
|
1041
1064
|
);
|
|
1042
1065
|
var Toast = React14.forwardRef(({ className, variant, ...props }, ref) => {
|
|
1043
|
-
return /* @__PURE__ */
|
|
1066
|
+
return /* @__PURE__ */ jsx17(
|
|
1044
1067
|
ToastPrimitives.Root,
|
|
1045
1068
|
{
|
|
1046
1069
|
ref,
|
|
@@ -1050,7 +1073,7 @@ var Toast = React14.forwardRef(({ className, variant, ...props }, ref) => {
|
|
|
1050
1073
|
);
|
|
1051
1074
|
});
|
|
1052
1075
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
1053
|
-
var ToastAction = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1076
|
+
var ToastAction = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
1054
1077
|
ToastPrimitives.Action,
|
|
1055
1078
|
{
|
|
1056
1079
|
ref,
|
|
@@ -1062,7 +1085,7 @@ var ToastAction = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1062
1085
|
}
|
|
1063
1086
|
));
|
|
1064
1087
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
1065
|
-
var ToastClose = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1088
|
+
var ToastClose = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
1066
1089
|
ToastPrimitives.Close,
|
|
1067
1090
|
{
|
|
1068
1091
|
ref,
|
|
@@ -1072,13 +1095,13 @@ var ToastClose = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1072
1095
|
),
|
|
1073
1096
|
"toast-close": "",
|
|
1074
1097
|
...props,
|
|
1075
|
-
children: /* @__PURE__ */
|
|
1098
|
+
children: /* @__PURE__ */ jsx17(X2, { className: "h-4 w-4" })
|
|
1076
1099
|
}
|
|
1077
1100
|
));
|
|
1078
1101
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
1079
|
-
var ToastTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1102
|
+
var ToastTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(ToastPrimitives.Title, { ref, className: cn("text-sm font-semibold", className), ...props }));
|
|
1080
1103
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
1081
|
-
var ToastDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1104
|
+
var ToastDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
1082
1105
|
ToastPrimitives.Description,
|
|
1083
1106
|
{
|
|
1084
1107
|
ref,
|
|
@@ -1091,11 +1114,11 @@ ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
|
1091
1114
|
// src/components/tooltip.tsx
|
|
1092
1115
|
import * as React15 from "react";
|
|
1093
1116
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
1094
|
-
import { jsx as
|
|
1117
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1095
1118
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
1096
1119
|
var Tooltip = TooltipPrimitive.Root;
|
|
1097
1120
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
1098
|
-
var TooltipContent = React15.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1121
|
+
var TooltipContent = React15.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1099
1122
|
TooltipPrimitive.Content,
|
|
1100
1123
|
{
|
|
1101
1124
|
ref,
|
|
@@ -1112,10 +1135,10 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
1112
1135
|
// src/components/popover.tsx
|
|
1113
1136
|
import * as React16 from "react";
|
|
1114
1137
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
1115
|
-
import { jsx as
|
|
1138
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1116
1139
|
var Popover = PopoverPrimitive.Root;
|
|
1117
1140
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1118
|
-
var PopoverContent = React16.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1141
|
+
var PopoverContent = React16.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx19(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx19(
|
|
1119
1142
|
PopoverPrimitive.Content,
|
|
1120
1143
|
{
|
|
1121
1144
|
ref,
|
|
@@ -1135,12 +1158,12 @@ import * as React17 from "react";
|
|
|
1135
1158
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
1136
1159
|
import { cva as cva5 } from "class-variance-authority";
|
|
1137
1160
|
import { X as X3 } from "lucide-react";
|
|
1138
|
-
import { jsx as
|
|
1161
|
+
import { jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1139
1162
|
var Sheet = SheetPrimitive.Root;
|
|
1140
1163
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
1141
1164
|
var SheetClose = SheetPrimitive.Close;
|
|
1142
1165
|
var SheetPortal = SheetPrimitive.Portal;
|
|
1143
|
-
var SheetOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1166
|
+
var SheetOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1144
1167
|
SheetPrimitive.Overlay,
|
|
1145
1168
|
{
|
|
1146
1169
|
className: cn(
|
|
@@ -1169,17 +1192,17 @@ var sheetVariants = cva5(
|
|
|
1169
1192
|
}
|
|
1170
1193
|
);
|
|
1171
1194
|
var SheetContent = React17.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs5(SheetPortal, { children: [
|
|
1172
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ jsx20(SheetOverlay, {}),
|
|
1173
1196
|
/* @__PURE__ */ jsxs5(SheetPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children: [
|
|
1174
1197
|
children,
|
|
1175
1198
|
/* @__PURE__ */ jsxs5(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--radius-sm)] opacity-70 ring-offset-[var(--bg-background)] transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--border-ring)] focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-[var(--bg-secondary)]", children: [
|
|
1176
|
-
/* @__PURE__ */
|
|
1177
|
-
/* @__PURE__ */
|
|
1199
|
+
/* @__PURE__ */ jsx20(X3, { className: "h-4 w-4" }),
|
|
1200
|
+
/* @__PURE__ */ jsx20("span", { className: "sr-only", children: "Close" })
|
|
1178
1201
|
] })
|
|
1179
1202
|
] })
|
|
1180
1203
|
] }));
|
|
1181
1204
|
SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
1182
|
-
var SheetHeader = ({ className, ...props }) => /* @__PURE__ */
|
|
1205
|
+
var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx20(
|
|
1183
1206
|
"div",
|
|
1184
1207
|
{
|
|
1185
1208
|
className: cn("flex flex-col space-y-[var(--spacing-2)] text-center sm:text-left", className),
|
|
@@ -1187,7 +1210,7 @@ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx19(
|
|
|
1187
1210
|
}
|
|
1188
1211
|
);
|
|
1189
1212
|
SheetHeader.displayName = "SheetHeader";
|
|
1190
|
-
var SheetFooter = ({ className, ...props }) => /* @__PURE__ */
|
|
1213
|
+
var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx20(
|
|
1191
1214
|
"div",
|
|
1192
1215
|
{
|
|
1193
1216
|
className: cn(
|
|
@@ -1198,7 +1221,7 @@ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx19(
|
|
|
1198
1221
|
}
|
|
1199
1222
|
);
|
|
1200
1223
|
SheetFooter.displayName = "SheetFooter";
|
|
1201
|
-
var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1224
|
+
var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1202
1225
|
SheetPrimitive.Title,
|
|
1203
1226
|
{
|
|
1204
1227
|
ref,
|
|
@@ -1207,7 +1230,7 @@ var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1207
1230
|
}
|
|
1208
1231
|
));
|
|
1209
1232
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
1210
|
-
var SheetDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1233
|
+
var SheetDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1211
1234
|
SheetPrimitive.Description,
|
|
1212
1235
|
{
|
|
1213
1236
|
ref,
|
|
@@ -1220,11 +1243,11 @@ SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
|
1220
1243
|
// src/components/alert-dialog.tsx
|
|
1221
1244
|
import * as React18 from "react";
|
|
1222
1245
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
1223
|
-
import { jsx as
|
|
1246
|
+
import { jsx as jsx21, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1224
1247
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
1225
1248
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
1226
1249
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
1227
|
-
var AlertDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1250
|
+
var AlertDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1228
1251
|
AlertDialogPrimitive.Overlay,
|
|
1229
1252
|
{
|
|
1230
1253
|
className: cn(
|
|
@@ -1237,8 +1260,8 @@ var AlertDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1237
1260
|
));
|
|
1238
1261
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
1239
1262
|
var AlertDialogContent = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs6(AlertDialogPortal, { children: [
|
|
1240
|
-
/* @__PURE__ */
|
|
1241
|
-
/* @__PURE__ */
|
|
1263
|
+
/* @__PURE__ */ jsx21(AlertDialogOverlay, {}),
|
|
1264
|
+
/* @__PURE__ */ jsx21(
|
|
1242
1265
|
AlertDialogPrimitive.Content,
|
|
1243
1266
|
{
|
|
1244
1267
|
ref,
|
|
@@ -1251,9 +1274,9 @@ var AlertDialogContent = React18.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1251
1274
|
)
|
|
1252
1275
|
] }));
|
|
1253
1276
|
AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
|
|
1254
|
-
var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */
|
|
1277
|
+
var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx21("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|
|
1255
1278
|
AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
1256
|
-
var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */
|
|
1279
|
+
var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx21(
|
|
1257
1280
|
"div",
|
|
1258
1281
|
{
|
|
1259
1282
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
|
|
@@ -1261,7 +1284,7 @@ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx20(
|
|
|
1261
1284
|
}
|
|
1262
1285
|
);
|
|
1263
1286
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
1264
|
-
var AlertDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1287
|
+
var AlertDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1265
1288
|
AlertDialogPrimitive.Title,
|
|
1266
1289
|
{
|
|
1267
1290
|
ref,
|
|
@@ -1270,7 +1293,7 @@ var AlertDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1270
1293
|
}
|
|
1271
1294
|
));
|
|
1272
1295
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
1273
|
-
var AlertDialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1296
|
+
var AlertDialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1274
1297
|
AlertDialogPrimitive.Description,
|
|
1275
1298
|
{
|
|
1276
1299
|
ref,
|
|
@@ -1279,9 +1302,9 @@ var AlertDialogDescription = React18.forwardRef(({ className, ...props }, ref) =
|
|
|
1279
1302
|
}
|
|
1280
1303
|
));
|
|
1281
1304
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
1282
|
-
var AlertDialogAction = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1305
|
+
var AlertDialogAction = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
|
|
1283
1306
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
1284
|
-
var AlertDialogCancel = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1307
|
+
var AlertDialogCancel = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1285
1308
|
AlertDialogPrimitive.Cancel,
|
|
1286
1309
|
{
|
|
1287
1310
|
ref,
|
|
@@ -1294,8 +1317,8 @@ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
|
1294
1317
|
// src/components/progress.tsx
|
|
1295
1318
|
import * as React19 from "react";
|
|
1296
1319
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
1297
|
-
import { jsx as
|
|
1298
|
-
var Progress = React19.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */
|
|
1320
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
1321
|
+
var Progress = React19.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx22(
|
|
1299
1322
|
ProgressPrimitive.Root,
|
|
1300
1323
|
{
|
|
1301
1324
|
ref,
|
|
@@ -1308,7 +1331,7 @@ var Progress = React19.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
1308
1331
|
className
|
|
1309
1332
|
),
|
|
1310
1333
|
...props,
|
|
1311
|
-
children: /* @__PURE__ */
|
|
1334
|
+
children: /* @__PURE__ */ jsx22(
|
|
1312
1335
|
ProgressPrimitive.Indicator,
|
|
1313
1336
|
{
|
|
1314
1337
|
className: "h-full w-full flex-1 bg-[var(--bg-primary)] transition-all",
|
|
@@ -1322,7 +1345,7 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
1322
1345
|
// src/components/sidebar.tsx
|
|
1323
1346
|
import * as React20 from "react";
|
|
1324
1347
|
import { cva as cva6 } from "class-variance-authority";
|
|
1325
|
-
import { jsx as
|
|
1348
|
+
import { jsx as jsx23, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1326
1349
|
var sidebarVariants = cva6(
|
|
1327
1350
|
"flex flex-col border-r border-[var(--border-default)] bg-[var(--bg-background)] transition-all duration-300",
|
|
1328
1351
|
{
|
|
@@ -1398,7 +1421,7 @@ var sidebarFooterVariants = cva6("border-t border-[var(--border-default)] p-[var
|
|
|
1398
1421
|
});
|
|
1399
1422
|
var Sidebar = React20.forwardRef(
|
|
1400
1423
|
({ className, variant, size, collapsed, ...props }, ref) => {
|
|
1401
|
-
return /* @__PURE__ */
|
|
1424
|
+
return /* @__PURE__ */ jsx23(
|
|
1402
1425
|
"div",
|
|
1403
1426
|
{
|
|
1404
1427
|
ref,
|
|
@@ -1413,13 +1436,13 @@ var Sidebar = React20.forwardRef(
|
|
|
1413
1436
|
Sidebar.displayName = "Sidebar";
|
|
1414
1437
|
var SidebarHeader = React20.forwardRef(
|
|
1415
1438
|
({ className, size, ...props }, ref) => {
|
|
1416
|
-
return /* @__PURE__ */
|
|
1439
|
+
return /* @__PURE__ */ jsx23("div", { ref, className: cn(sidebarHeaderVariants({ size, className })), ...props });
|
|
1417
1440
|
}
|
|
1418
1441
|
);
|
|
1419
1442
|
SidebarHeader.displayName = "SidebarHeader";
|
|
1420
1443
|
var SidebarContent = React20.forwardRef(
|
|
1421
1444
|
({ className, spacing, ...props }, ref) => {
|
|
1422
|
-
return /* @__PURE__ */
|
|
1445
|
+
return /* @__PURE__ */ jsx23("div", { ref, className: cn(sidebarContentVariants({ spacing, className })), ...props });
|
|
1423
1446
|
}
|
|
1424
1447
|
);
|
|
1425
1448
|
SidebarContent.displayName = "SidebarContent";
|
|
@@ -1432,9 +1455,9 @@ var SidebarItem = React20.forwardRef(
|
|
|
1432
1455
|
className: cn(sidebarItemVariants({ variant: active ? "active" : variant, className })),
|
|
1433
1456
|
...props,
|
|
1434
1457
|
children: [
|
|
1435
|
-
icon && /* @__PURE__ */
|
|
1436
|
-
/* @__PURE__ */
|
|
1437
|
-
badge && /* @__PURE__ */
|
|
1458
|
+
icon && /* @__PURE__ */ jsx23("span", { className: "flex-shrink-0", children: icon }),
|
|
1459
|
+
/* @__PURE__ */ jsx23("span", { className: "flex-1 truncate text-left", children }),
|
|
1460
|
+
badge && /* @__PURE__ */ jsx23("span", { className: "flex-shrink-0", children: badge })
|
|
1438
1461
|
]
|
|
1439
1462
|
}
|
|
1440
1463
|
);
|
|
@@ -1450,7 +1473,7 @@ var SidebarSection = React20.forwardRef(
|
|
|
1450
1473
|
}
|
|
1451
1474
|
}, [collapsed]);
|
|
1452
1475
|
return /* @__PURE__ */ jsxs7("div", { ref, className: cn(sidebarSectionVariants({ className })), ...props, children: [
|
|
1453
|
-
title && /* @__PURE__ */
|
|
1476
|
+
title && /* @__PURE__ */ jsx23(
|
|
1454
1477
|
"button",
|
|
1455
1478
|
{
|
|
1456
1479
|
className: cn(
|
|
@@ -1461,7 +1484,7 @@ var SidebarSection = React20.forwardRef(
|
|
|
1461
1484
|
"aria-expanded": !isCollapsed,
|
|
1462
1485
|
children: /* @__PURE__ */ jsxs7("span", { className: "flex items-center justify-between", children: [
|
|
1463
1486
|
title,
|
|
1464
|
-
/* @__PURE__ */
|
|
1487
|
+
/* @__PURE__ */ jsx23(
|
|
1465
1488
|
"span",
|
|
1466
1489
|
{
|
|
1467
1490
|
className: cn("transition-transform", isCollapsed ? "rotate-0" : "rotate-90"),
|
|
@@ -1472,20 +1495,20 @@ var SidebarSection = React20.forwardRef(
|
|
|
1472
1495
|
] })
|
|
1473
1496
|
}
|
|
1474
1497
|
),
|
|
1475
|
-
!isCollapsed && /* @__PURE__ */
|
|
1498
|
+
!isCollapsed && /* @__PURE__ */ jsx23("div", { className: "space-y-[var(--spacing-1)]", children })
|
|
1476
1499
|
] });
|
|
1477
1500
|
}
|
|
1478
1501
|
);
|
|
1479
1502
|
SidebarSection.displayName = "SidebarSection";
|
|
1480
1503
|
var SidebarSectionTitle = React20.forwardRef(
|
|
1481
1504
|
({ className, ...props }, ref) => {
|
|
1482
|
-
return /* @__PURE__ */
|
|
1505
|
+
return /* @__PURE__ */ jsx23("div", { ref, className: cn(sidebarSectionTitleVariants({ className })), ...props });
|
|
1483
1506
|
}
|
|
1484
1507
|
);
|
|
1485
1508
|
SidebarSectionTitle.displayName = "SidebarSectionTitle";
|
|
1486
1509
|
var SidebarFooter = React20.forwardRef(
|
|
1487
1510
|
({ className, ...props }, ref) => {
|
|
1488
|
-
return /* @__PURE__ */
|
|
1511
|
+
return /* @__PURE__ */ jsx23("div", { ref, className: cn(sidebarFooterVariants({ className })), ...props });
|
|
1489
1512
|
}
|
|
1490
1513
|
);
|
|
1491
1514
|
SidebarFooter.displayName = "SidebarFooter";
|
|
@@ -1494,7 +1517,7 @@ SidebarFooter.displayName = "SidebarFooter";
|
|
|
1494
1517
|
import * as React21 from "react";
|
|
1495
1518
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
1496
1519
|
import { cva as cva7 } from "class-variance-authority";
|
|
1497
|
-
import { jsx as
|
|
1520
|
+
import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1498
1521
|
var NavigationMenu = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
|
|
1499
1522
|
NavigationMenuPrimitive.Root,
|
|
1500
1523
|
{
|
|
@@ -1503,12 +1526,12 @@ var NavigationMenu = React21.forwardRef(({ className, children, ...props }, ref)
|
|
|
1503
1526
|
...props,
|
|
1504
1527
|
children: [
|
|
1505
1528
|
children,
|
|
1506
|
-
/* @__PURE__ */
|
|
1529
|
+
/* @__PURE__ */ jsx24(NavigationMenuViewport, {})
|
|
1507
1530
|
]
|
|
1508
1531
|
}
|
|
1509
1532
|
));
|
|
1510
1533
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1511
|
-
var NavigationMenuList = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1534
|
+
var NavigationMenuList = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
|
|
1512
1535
|
NavigationMenuPrimitive.List,
|
|
1513
1536
|
{
|
|
1514
1537
|
ref,
|
|
@@ -1533,7 +1556,7 @@ var NavigationMenuTrigger = React21.forwardRef(({ className, children, ...props
|
|
|
1533
1556
|
children: [
|
|
1534
1557
|
children,
|
|
1535
1558
|
" ",
|
|
1536
|
-
/* @__PURE__ */
|
|
1559
|
+
/* @__PURE__ */ jsx24(
|
|
1537
1560
|
"svg",
|
|
1538
1561
|
{
|
|
1539
1562
|
width: "12",
|
|
@@ -1543,7 +1566,7 @@ var NavigationMenuTrigger = React21.forwardRef(({ className, children, ...props
|
|
|
1543
1566
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1544
1567
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
|
|
1545
1568
|
"aria-hidden": "true",
|
|
1546
|
-
children: /* @__PURE__ */
|
|
1569
|
+
children: /* @__PURE__ */ jsx24(
|
|
1547
1570
|
"path",
|
|
1548
1571
|
{
|
|
1549
1572
|
d: "M2.5 4.5L6 8L9.5 4.5",
|
|
@@ -1559,7 +1582,7 @@ var NavigationMenuTrigger = React21.forwardRef(({ className, children, ...props
|
|
|
1559
1582
|
}
|
|
1560
1583
|
));
|
|
1561
1584
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
1562
|
-
var NavigationMenuContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1585
|
+
var NavigationMenuContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
|
|
1563
1586
|
NavigationMenuPrimitive.Content,
|
|
1564
1587
|
{
|
|
1565
1588
|
ref,
|
|
@@ -1572,7 +1595,7 @@ var NavigationMenuContent = React21.forwardRef(({ className, ...props }, ref) =>
|
|
|
1572
1595
|
));
|
|
1573
1596
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
1574
1597
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
1575
|
-
var NavigationMenuViewport = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1598
|
+
var NavigationMenuViewport = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx24(
|
|
1576
1599
|
NavigationMenuPrimitive.Viewport,
|
|
1577
1600
|
{
|
|
1578
1601
|
className: cn(
|
|
@@ -1584,7 +1607,7 @@ var NavigationMenuViewport = React21.forwardRef(({ className, ...props }, ref) =
|
|
|
1584
1607
|
}
|
|
1585
1608
|
) }));
|
|
1586
1609
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
1587
|
-
var NavigationMenuIndicator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1610
|
+
var NavigationMenuIndicator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
|
|
1588
1611
|
NavigationMenuPrimitive.Indicator,
|
|
1589
1612
|
{
|
|
1590
1613
|
ref,
|
|
@@ -1593,7 +1616,7 @@ var NavigationMenuIndicator = React21.forwardRef(({ className, ...props }, ref)
|
|
|
1593
1616
|
className
|
|
1594
1617
|
),
|
|
1595
1618
|
...props,
|
|
1596
|
-
children: /* @__PURE__ */
|
|
1619
|
+
children: /* @__PURE__ */ jsx24("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-[var(--border-default)] shadow-md" })
|
|
1597
1620
|
}
|
|
1598
1621
|
));
|
|
1599
1622
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
@@ -1601,7 +1624,7 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
|
|
|
1601
1624
|
// src/components/breadcrumb.tsx
|
|
1602
1625
|
import * as React22 from "react";
|
|
1603
1626
|
import { cva as cva8 } from "class-variance-authority";
|
|
1604
|
-
import { jsx as
|
|
1627
|
+
import { jsx as jsx25, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1605
1628
|
var breadcrumbVariants = cva8("flex items-center gap-[var(--spacing-2)]", {
|
|
1606
1629
|
variants: {
|
|
1607
1630
|
size: {
|
|
@@ -1645,7 +1668,7 @@ var breadcrumbEllipsisVariants = cva8(
|
|
|
1645
1668
|
);
|
|
1646
1669
|
var Breadcrumb = React22.forwardRef(
|
|
1647
1670
|
({ className, size, separator: _separator = "/", ...props }, ref) => {
|
|
1648
|
-
return /* @__PURE__ */
|
|
1671
|
+
return /* @__PURE__ */ jsx25(
|
|
1649
1672
|
"nav",
|
|
1650
1673
|
{
|
|
1651
1674
|
ref,
|
|
@@ -1658,17 +1681,17 @@ var Breadcrumb = React22.forwardRef(
|
|
|
1658
1681
|
);
|
|
1659
1682
|
Breadcrumb.displayName = "Breadcrumb";
|
|
1660
1683
|
var BreadcrumbList = React22.forwardRef(
|
|
1661
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1684
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx25("ol", { ref, className: cn(breadcrumbListVariants({ className })), ...props })
|
|
1662
1685
|
);
|
|
1663
1686
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
1664
1687
|
var BreadcrumbItem = React22.forwardRef(
|
|
1665
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1688
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx25("li", { ref, className: cn(breadcrumbItemVariants({ className })), ...props })
|
|
1666
1689
|
);
|
|
1667
1690
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
1668
1691
|
var BreadcrumbLink = React22.forwardRef(
|
|
1669
1692
|
({ className, active, asChild = false, ...props }, ref) => {
|
|
1670
1693
|
const Comp = asChild ? React22.Fragment : "a";
|
|
1671
|
-
return /* @__PURE__ */
|
|
1694
|
+
return /* @__PURE__ */ jsx25(
|
|
1672
1695
|
Comp,
|
|
1673
1696
|
{
|
|
1674
1697
|
ref: asChild ? void 0 : ref,
|
|
@@ -1682,7 +1705,7 @@ var BreadcrumbLink = React22.forwardRef(
|
|
|
1682
1705
|
);
|
|
1683
1706
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
1684
1707
|
var BreadcrumbPage = React22.forwardRef(
|
|
1685
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1708
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
|
|
1686
1709
|
"span",
|
|
1687
1710
|
{
|
|
1688
1711
|
ref,
|
|
@@ -1700,7 +1723,7 @@ var BreadcrumbPage = React22.forwardRef(
|
|
|
1700
1723
|
);
|
|
1701
1724
|
BreadcrumbPage.displayName = "BreadcrumbPage";
|
|
1702
1725
|
var BreadcrumbSeparator = React22.forwardRef(
|
|
1703
|
-
({ children, className, ...props }, ref) => /* @__PURE__ */
|
|
1726
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx25(
|
|
1704
1727
|
"li",
|
|
1705
1728
|
{
|
|
1706
1729
|
ref,
|
|
@@ -1722,7 +1745,7 @@ var BreadcrumbEllipsis = React22.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1722
1745
|
className: cn(breadcrumbEllipsisVariants({ className })),
|
|
1723
1746
|
...props,
|
|
1724
1747
|
children: [
|
|
1725
|
-
/* @__PURE__ */
|
|
1748
|
+
/* @__PURE__ */ jsx25(
|
|
1726
1749
|
"svg",
|
|
1727
1750
|
{
|
|
1728
1751
|
width: "15",
|
|
@@ -1731,7 +1754,7 @@ var BreadcrumbEllipsis = React22.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1731
1754
|
fill: "none",
|
|
1732
1755
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1733
1756
|
"aria-hidden": "true",
|
|
1734
|
-
children: /* @__PURE__ */
|
|
1757
|
+
children: /* @__PURE__ */ jsx25(
|
|
1735
1758
|
"path",
|
|
1736
1759
|
{
|
|
1737
1760
|
d: "M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",
|
|
@@ -1742,7 +1765,7 @@ var BreadcrumbEllipsis = React22.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1742
1765
|
)
|
|
1743
1766
|
}
|
|
1744
1767
|
),
|
|
1745
|
-
/* @__PURE__ */
|
|
1768
|
+
/* @__PURE__ */ jsx25("span", { className: "sr-only", children: "More" })
|
|
1746
1769
|
]
|
|
1747
1770
|
}
|
|
1748
1771
|
));
|
|
@@ -1751,8 +1774,8 @@ BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
|
|
|
1751
1774
|
// src/components/command.tsx
|
|
1752
1775
|
import * as React23 from "react";
|
|
1753
1776
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1754
|
-
import { jsx as
|
|
1755
|
-
var Command = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1777
|
+
import { jsx as jsx26, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1778
|
+
var Command = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
|
|
1756
1779
|
CommandPrimitive,
|
|
1757
1780
|
{
|
|
1758
1781
|
ref,
|
|
@@ -1768,14 +1791,14 @@ var CommandDialog = ({
|
|
|
1768
1791
|
children,
|
|
1769
1792
|
...props
|
|
1770
1793
|
}) => {
|
|
1771
|
-
return /* @__PURE__ */
|
|
1794
|
+
return /* @__PURE__ */ jsx26(
|
|
1772
1795
|
CommandPrimitive.Dialog,
|
|
1773
1796
|
{
|
|
1774
1797
|
...props,
|
|
1775
1798
|
className: cn(
|
|
1776
1799
|
"fixed inset-0 z-50 bg-[var(--bg-background)]/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
1777
1800
|
),
|
|
1778
|
-
children: /* @__PURE__ */
|
|
1801
|
+
children: /* @__PURE__ */ jsx26("div", { className: "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-[var(--border-default)] bg-[var(--bg-background)] p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", children: /* @__PURE__ */ jsx26(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-[var(--text-muted-foreground)] [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) })
|
|
1779
1802
|
}
|
|
1780
1803
|
);
|
|
1781
1804
|
};
|
|
@@ -1785,7 +1808,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1785
1808
|
className: "flex items-center border-b border-[var(--border-default)] px-3",
|
|
1786
1809
|
"cmdk-input-wrapper": "",
|
|
1787
1810
|
children: [
|
|
1788
|
-
/* @__PURE__ */
|
|
1811
|
+
/* @__PURE__ */ jsx26(
|
|
1789
1812
|
"svg",
|
|
1790
1813
|
{
|
|
1791
1814
|
width: "15",
|
|
@@ -1794,7 +1817,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1794
1817
|
fill: "none",
|
|
1795
1818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1796
1819
|
className: "mr-2 h-4 w-4 shrink-0 opacity-50",
|
|
1797
|
-
children: /* @__PURE__ */
|
|
1820
|
+
children: /* @__PURE__ */ jsx26(
|
|
1798
1821
|
"path",
|
|
1799
1822
|
{
|
|
1800
1823
|
d: "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",
|
|
@@ -1805,7 +1828,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1805
1828
|
)
|
|
1806
1829
|
}
|
|
1807
1830
|
),
|
|
1808
|
-
/* @__PURE__ */
|
|
1831
|
+
/* @__PURE__ */ jsx26(
|
|
1809
1832
|
CommandPrimitive.Input,
|
|
1810
1833
|
{
|
|
1811
1834
|
ref,
|
|
@@ -1820,7 +1843,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1820
1843
|
}
|
|
1821
1844
|
));
|
|
1822
1845
|
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
|
1823
|
-
var CommandList = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1846
|
+
var CommandList = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
|
|
1824
1847
|
CommandPrimitive.List,
|
|
1825
1848
|
{
|
|
1826
1849
|
ref,
|
|
@@ -1829,7 +1852,7 @@ var CommandList = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1829
1852
|
}
|
|
1830
1853
|
));
|
|
1831
1854
|
CommandList.displayName = CommandPrimitive.List.displayName;
|
|
1832
|
-
var CommandEmpty = React23.forwardRef((props, ref) => /* @__PURE__ */
|
|
1855
|
+
var CommandEmpty = React23.forwardRef((props, ref) => /* @__PURE__ */ jsx26(
|
|
1833
1856
|
CommandPrimitive.Empty,
|
|
1834
1857
|
{
|
|
1835
1858
|
ref,
|
|
@@ -1838,7 +1861,7 @@ var CommandEmpty = React23.forwardRef((props, ref) => /* @__PURE__ */ jsx25(
|
|
|
1838
1861
|
}
|
|
1839
1862
|
));
|
|
1840
1863
|
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
|
1841
|
-
var CommandGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1864
|
+
var CommandGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
|
|
1842
1865
|
CommandPrimitive.Group,
|
|
1843
1866
|
{
|
|
1844
1867
|
ref,
|
|
@@ -1850,7 +1873,7 @@ var CommandGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1850
1873
|
}
|
|
1851
1874
|
));
|
|
1852
1875
|
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
|
1853
|
-
var CommandSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1876
|
+
var CommandSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
|
|
1854
1877
|
CommandPrimitive.Separator,
|
|
1855
1878
|
{
|
|
1856
1879
|
ref,
|
|
@@ -1859,7 +1882,7 @@ var CommandSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1859
1882
|
}
|
|
1860
1883
|
));
|
|
1861
1884
|
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
|
1862
|
-
var CommandItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1885
|
+
var CommandItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
|
|
1863
1886
|
CommandPrimitive.Item,
|
|
1864
1887
|
{
|
|
1865
1888
|
ref,
|
|
@@ -1872,7 +1895,7 @@ var CommandItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1872
1895
|
));
|
|
1873
1896
|
CommandItem.displayName = CommandPrimitive.Item.displayName;
|
|
1874
1897
|
var CommandShortcut = ({ className, ...props }) => {
|
|
1875
|
-
return /* @__PURE__ */
|
|
1898
|
+
return /* @__PURE__ */ jsx26(
|
|
1876
1899
|
"span",
|
|
1877
1900
|
{
|
|
1878
1901
|
className: cn(
|
|
@@ -1887,9 +1910,9 @@ CommandShortcut.displayName = "CommandShortcut";
|
|
|
1887
1910
|
|
|
1888
1911
|
// src/components/calendar.tsx
|
|
1889
1912
|
import { DayPicker } from "react-day-picker";
|
|
1890
|
-
import { jsx as
|
|
1913
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
1891
1914
|
function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
1892
|
-
return /* @__PURE__ */
|
|
1915
|
+
return /* @__PURE__ */ jsx27(
|
|
1893
1916
|
DayPicker,
|
|
1894
1917
|
{
|
|
1895
1918
|
showOutsideDays,
|
|
@@ -1933,7 +1956,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
1933
1956
|
components: {
|
|
1934
1957
|
Chevron: ({ orientation }) => {
|
|
1935
1958
|
if (orientation === "left") {
|
|
1936
|
-
return /* @__PURE__ */
|
|
1959
|
+
return /* @__PURE__ */ jsx27(
|
|
1937
1960
|
"svg",
|
|
1938
1961
|
{
|
|
1939
1962
|
width: "15",
|
|
@@ -1942,7 +1965,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
1942
1965
|
fill: "none",
|
|
1943
1966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1944
1967
|
className: "h-4 w-4",
|
|
1945
|
-
children: /* @__PURE__ */
|
|
1968
|
+
children: /* @__PURE__ */ jsx27(
|
|
1946
1969
|
"path",
|
|
1947
1970
|
{
|
|
1948
1971
|
d: "M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",
|
|
@@ -1954,7 +1977,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
1954
1977
|
}
|
|
1955
1978
|
);
|
|
1956
1979
|
}
|
|
1957
|
-
return /* @__PURE__ */
|
|
1980
|
+
return /* @__PURE__ */ jsx27(
|
|
1958
1981
|
"svg",
|
|
1959
1982
|
{
|
|
1960
1983
|
width: "15",
|
|
@@ -1963,7 +1986,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
1963
1986
|
fill: "none",
|
|
1964
1987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1965
1988
|
className: "h-4 w-4",
|
|
1966
|
-
children: /* @__PURE__ */
|
|
1989
|
+
children: /* @__PURE__ */ jsx27(
|
|
1967
1990
|
"path",
|
|
1968
1991
|
{
|
|
1969
1992
|
d: "M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",
|
|
@@ -2047,6 +2070,7 @@ export {
|
|
|
2047
2070
|
DropdownMenuSubContent,
|
|
2048
2071
|
DropdownMenuSubTrigger,
|
|
2049
2072
|
DropdownMenuTrigger,
|
|
2073
|
+
FramingUIProvider,
|
|
2050
2074
|
Heading,
|
|
2051
2075
|
Input,
|
|
2052
2076
|
Label,
|