@use-stall/ui 0.1.3 → 0.1.5
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.d.mts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +221 -143
- package/dist/index.mjs +199 -122
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -148,6 +148,7 @@ __export(index_exports, {
|
|
|
148
148
|
FormMessage: () => FormMessage,
|
|
149
149
|
Icon: () => ButtonIcon,
|
|
150
150
|
ImageCard: () => ImageCard,
|
|
151
|
+
ImageZoom: () => ImageZoom,
|
|
151
152
|
Input: () => Input,
|
|
152
153
|
InputOTP: () => InputOTP,
|
|
153
154
|
InputOTPGroup: () => InputOTPGroup,
|
|
@@ -2466,24 +2467,100 @@ FormMessage.displayName = "FormMessage";
|
|
|
2466
2467
|
|
|
2467
2468
|
// src/components/image-card.tsx
|
|
2468
2469
|
var import_react2 = __toESM(require("react"));
|
|
2470
|
+
|
|
2471
|
+
// src/components/image-zoom.tsx
|
|
2472
|
+
var import_react_medium_image_zoom = __toESM(require("react-medium-image-zoom"));
|
|
2469
2473
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2474
|
+
var ImageZoom = ({
|
|
2475
|
+
className,
|
|
2476
|
+
backdropClassName,
|
|
2477
|
+
...props
|
|
2478
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2479
|
+
"div",
|
|
2480
|
+
{
|
|
2481
|
+
className: cn(
|
|
2482
|
+
"relative",
|
|
2483
|
+
"**:data-rmiz-ghost:pointer-events-none **:data-rmiz-ghost:absolute",
|
|
2484
|
+
"**:data-rmiz-btn-zoom:m-0 **:data-rmiz-btn-zoom:size-10 **:data-rmiz-btn-zoom:touch-manipulation **:data-rmiz-btn-zoom:appearance-none **:data-rmiz-btn-zoom:rounded-[50%] **:data-rmiz-btn-zoom:border-none **:data-rmiz-btn-zoom:bg-foreground/70 **:data-rmiz-btn-zoom:p-2 **:data-rmiz-btn-zoom:text-background **:data-rmiz-btn-zoom:outline-offset-2",
|
|
2485
|
+
"**:data-rmiz-btn-unzoom:m-0 **:data-rmiz-btn-unzoom:size-10 **:data-rmiz-btn-unzoom:touch-manipulation **:data-rmiz-btn-unzoom:appearance-none **:data-rmiz-btn-unzoom:rounded-[50%] **:data-rmiz-btn-unzoom:border-none **:data-rmiz-btn-unzoom:bg-foreground/70 **:data-rmiz-btn-unzoom:p-2 **:data-rmiz-btn-unzoom:text-background **:data-rmiz-btn-unzoom:outline-offset-2",
|
|
2486
|
+
"[&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:pointer-events-none [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:absolute [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:size-px [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:overflow-hidden [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:whitespace-nowrap [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:[clip-path:inset(50%)] [&_[data-rmiz-btn-zoom]:not(:focus):not(:active)]:[clip:rect(0_0_0_0)]",
|
|
2487
|
+
"**:data-rmiz-btn-zoom:absolute **:data-rmiz-btn-zoom:top-2.5 **:data-rmiz-btn-zoom:right-2.5 **:data-rmiz-btn-zoom:bottom-auto **:data-rmiz-btn-zoom:left-auto **:data-rmiz-btn-zoom:cursor-zoom-in",
|
|
2488
|
+
"**:data-rmiz-btn-unzoom:absolute **:data-rmiz-btn-unzoom:top-5 **:data-rmiz-btn-unzoom:right-5 **:data-rmiz-btn-unzoom:bottom-auto **:data-rmiz-btn-unzoom:left-auto **:data-rmiz-btn-unzoom:z-1 **:data-rmiz-btn-unzoom:cursor-zoom-out",
|
|
2489
|
+
'[&_[data-rmiz-content="found"]_img]:cursor-zoom-in',
|
|
2490
|
+
'[&_[data-rmiz-content="found"]_svg]:cursor-zoom-in',
|
|
2491
|
+
'[&_[data-rmiz-content="found"]_[role="img"]]:cursor-zoom-in',
|
|
2492
|
+
'[&_[data-rmiz-content="found"]_[data-zoom]]:cursor-zoom-in',
|
|
2493
|
+
className
|
|
2494
|
+
),
|
|
2495
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2496
|
+
import_react_medium_image_zoom.default,
|
|
2497
|
+
{
|
|
2498
|
+
classDialog: cn(
|
|
2499
|
+
"backdrop:hidden",
|
|
2500
|
+
"[[open]]:fixed [[open]]:m-0 [[open]]:h-dvh [[open]]:max-h-none [[open]]:w-dvw [[open]]:max-w-none [[open]]:overflow-hidden [[open]]:border-0 [[open]]:bg-transparent [[open]]:p-0",
|
|
2501
|
+
"**:data-rmiz-modal-overlay:absolute **:data-rmiz-modal-overlay:inset-0 **:data-rmiz-modal-overlay:transition-all",
|
|
2502
|
+
'**:data-[rmiz-modal-overlay="hidden"]:bg-transparent',
|
|
2503
|
+
'**:data-[rmiz-modal-overlay="visible"]:bg-background/80 **:data-[rmiz-modal-overlay="visible"]:backdrop-blur-md',
|
|
2504
|
+
"**:data-rmiz-modal-content:relative **:data-rmiz-modal-content:size-full",
|
|
2505
|
+
"**:data-rmiz-modal-img:absolute **:data-rmiz-modal-img:origin-top-left **:data-rmiz-modal-img:cursor-zoom-out **:data-rmiz-modal-img:transition-transform",
|
|
2506
|
+
"motion-reduce:**:data-rmiz-modal-img:transition-none motion-reduce:**:data-rmiz-modal-overlay:transition-none",
|
|
2507
|
+
backdropClassName
|
|
2508
|
+
),
|
|
2509
|
+
...props
|
|
2510
|
+
}
|
|
2511
|
+
)
|
|
2512
|
+
}
|
|
2513
|
+
);
|
|
2514
|
+
|
|
2515
|
+
// src/components/image-card.tsx
|
|
2516
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2470
2517
|
var ImageCard = import_react2.default.memo(
|
|
2471
|
-
({
|
|
2472
|
-
|
|
2473
|
-
|
|
2518
|
+
({
|
|
2519
|
+
src = "",
|
|
2520
|
+
alt = "",
|
|
2521
|
+
onErrorImage = "/images/default_prod.png",
|
|
2522
|
+
className,
|
|
2523
|
+
imageClassName,
|
|
2524
|
+
disableZoom = false
|
|
2525
|
+
}) => {
|
|
2526
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2527
|
+
"div",
|
|
2474
2528
|
{
|
|
2475
|
-
onError: (e) => {
|
|
2476
|
-
const target = e?.currentTarget;
|
|
2477
|
-
if (target) {
|
|
2478
|
-
target.src = onErrorImage || "";
|
|
2479
|
-
}
|
|
2480
|
-
},
|
|
2481
|
-
src,
|
|
2482
|
-
alt,
|
|
2483
2529
|
className: cn(
|
|
2484
|
-
`h-
|
|
2485
|
-
|
|
2530
|
+
`h-9 w-9 rounded-lg shadow-sm drop-shadow-sm border border-border
|
|
2531
|
+
overflow-hidden bg-background shrink-0 relative`,
|
|
2486
2532
|
className
|
|
2533
|
+
),
|
|
2534
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2535
|
+
ImageZoom,
|
|
2536
|
+
{
|
|
2537
|
+
isDisabled: disableZoom,
|
|
2538
|
+
className: cn(
|
|
2539
|
+
`h-full w-full rounded-[inherit] overflow-hidden
|
|
2540
|
+
[&_div]:h-full [&_div]:w-full`,
|
|
2541
|
+
{
|
|
2542
|
+
"**:cursor-pointer!": disableZoom
|
|
2543
|
+
}
|
|
2544
|
+
),
|
|
2545
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2546
|
+
"img",
|
|
2547
|
+
{
|
|
2548
|
+
onError: (e) => {
|
|
2549
|
+
const target = e?.currentTarget;
|
|
2550
|
+
if (target) {
|
|
2551
|
+
target.src = onErrorImage;
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2554
|
+
src,
|
|
2555
|
+
alt,
|
|
2556
|
+
className: cn(
|
|
2557
|
+
`h-full w-full bg-main-background object-cover! object-center! rounded-lg
|
|
2558
|
+
border-[3px] border-white dark:border-zinc-800`,
|
|
2559
|
+
imageClassName
|
|
2560
|
+
)
|
|
2561
|
+
}
|
|
2562
|
+
)
|
|
2563
|
+
}
|
|
2487
2564
|
)
|
|
2488
2565
|
}
|
|
2489
2566
|
);
|
|
@@ -2494,8 +2571,8 @@ var ImageCard = import_react2.default.memo(
|
|
|
2494
2571
|
var React20 = __toESM(require("react"));
|
|
2495
2572
|
var import_input_otp = require("input-otp");
|
|
2496
2573
|
var import_lucide_react10 = require("lucide-react");
|
|
2497
|
-
var
|
|
2498
|
-
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0,
|
|
2574
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2575
|
+
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2499
2576
|
import_input_otp.OTPInput,
|
|
2500
2577
|
{
|
|
2501
2578
|
ref,
|
|
@@ -2508,12 +2585,12 @@ var InputOTP = React20.forwardRef(({ className, containerClassName, ...props },
|
|
|
2508
2585
|
}
|
|
2509
2586
|
));
|
|
2510
2587
|
InputOTP.displayName = "InputOTP";
|
|
2511
|
-
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
2588
|
+
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
2512
2589
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2513
2590
|
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2514
2591
|
const inputOTPContext = React20.useContext(import_input_otp.OTPInputContext);
|
|
2515
2592
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2516
|
-
return /* @__PURE__ */ (0,
|
|
2593
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
2517
2594
|
"div",
|
|
2518
2595
|
{
|
|
2519
2596
|
ref,
|
|
@@ -2525,29 +2602,29 @@ var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2525
2602
|
...props,
|
|
2526
2603
|
children: [
|
|
2527
2604
|
char,
|
|
2528
|
-
hasFakeCaret && /* @__PURE__ */ (0,
|
|
2605
|
+
hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
2529
2606
|
]
|
|
2530
2607
|
}
|
|
2531
2608
|
);
|
|
2532
2609
|
});
|
|
2533
2610
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2534
|
-
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0,
|
|
2611
|
+
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react10.Dot, {}) }));
|
|
2535
2612
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2536
2613
|
|
|
2537
2614
|
// src/components/kbd.tsx
|
|
2538
2615
|
var import_react3 = require("react");
|
|
2539
|
-
var
|
|
2616
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2540
2617
|
var DefaultKbdSeparator = ({
|
|
2541
2618
|
className,
|
|
2542
2619
|
children = "+",
|
|
2543
2620
|
...props
|
|
2544
|
-
}) => /* @__PURE__ */ (0,
|
|
2621
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn("text-muted-foreground/50", className), ...props, children });
|
|
2545
2622
|
var Kbd = ({
|
|
2546
2623
|
className,
|
|
2547
|
-
separator = /* @__PURE__ */ (0,
|
|
2624
|
+
separator = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DefaultKbdSeparator, {}),
|
|
2548
2625
|
children,
|
|
2549
2626
|
...props
|
|
2550
|
-
}) => /* @__PURE__ */ (0,
|
|
2627
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2551
2628
|
"span",
|
|
2552
2629
|
{
|
|
2553
2630
|
className: cn(
|
|
@@ -2555,34 +2632,34 @@ var Kbd = ({
|
|
|
2555
2632
|
className
|
|
2556
2633
|
),
|
|
2557
2634
|
...props,
|
|
2558
|
-
children: Array.isArray(children) ? children.map((child, index) => /* @__PURE__ */ (0,
|
|
2635
|
+
children: Array.isArray(children) ? children.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react3.Fragment, { children: [
|
|
2559
2636
|
child,
|
|
2560
2637
|
index < children.length - 1 && separator
|
|
2561
2638
|
] }, index)) : children
|
|
2562
2639
|
}
|
|
2563
2640
|
);
|
|
2564
|
-
var KbdKey = ({ ...props }) => /* @__PURE__ */ (0,
|
|
2641
|
+
var KbdKey = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("kbd", { ...props });
|
|
2565
2642
|
|
|
2566
2643
|
// src/components/modal-container.tsx
|
|
2567
2644
|
var import_react4 = __toESM(require("react"));
|
|
2568
2645
|
var import_framer_motion = require("framer-motion");
|
|
2569
|
-
var
|
|
2646
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
2570
2647
|
var ModalContainer = import_react4.default.memo((props) => {
|
|
2571
|
-
return /* @__PURE__ */ (0,
|
|
2648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2572
2649
|
import_framer_motion.motion.div,
|
|
2573
2650
|
{
|
|
2574
2651
|
initial: { y: 10, opacity: 0 },
|
|
2575
2652
|
exit: { y: 10, opacity: 0 },
|
|
2576
2653
|
animate: { y: 0, opacity: 1 },
|
|
2577
2654
|
className: "fixed inset-0 md:inset-2 md:rounded-xl md:border-4 border-white dark:border-zinc-700\n shadow-3xl bg-main-background overflow-hidden z-10",
|
|
2578
|
-
children: /* @__PURE__ */ (0,
|
|
2655
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-full h-full overflow-hidden overflow-y-auto flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-full max-w-[700px] h-fit shrink-0 overflow-hidden flex flex-col p-4", children: props.children }) })
|
|
2579
2656
|
}
|
|
2580
2657
|
);
|
|
2581
2658
|
});
|
|
2582
2659
|
|
|
2583
2660
|
// src/components/multi-select.tsx
|
|
2584
2661
|
var React22 = __toESM(require("react"));
|
|
2585
|
-
var
|
|
2662
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2586
2663
|
var MultiSelect = ({
|
|
2587
2664
|
options: options2 = [],
|
|
2588
2665
|
value = [],
|
|
@@ -2606,7 +2683,7 @@ var MultiSelect = ({
|
|
|
2606
2683
|
},
|
|
2607
2684
|
[onValueChange]
|
|
2608
2685
|
);
|
|
2609
|
-
return /* @__PURE__ */ (0,
|
|
2686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2610
2687
|
Combobox,
|
|
2611
2688
|
{
|
|
2612
2689
|
required,
|
|
@@ -2616,15 +2693,15 @@ var MultiSelect = ({
|
|
|
2616
2693
|
onValueChange: handleValueChange,
|
|
2617
2694
|
disabled: maxCount === options2.length,
|
|
2618
2695
|
children: [
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2696
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2620
2697
|
ComboboxChips,
|
|
2621
2698
|
{
|
|
2622
2699
|
className: cn(
|
|
2623
2700
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2624
2701
|
className
|
|
2625
2702
|
),
|
|
2626
|
-
children: /* @__PURE__ */ (0,
|
|
2627
|
-
value2?.map((item) => /* @__PURE__ */ (0,
|
|
2703
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ComboboxValue, { children: (value2) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(React22.Fragment, { children: [
|
|
2704
|
+
value2?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2628
2705
|
ComboboxChip,
|
|
2629
2706
|
{
|
|
2630
2707
|
"aria-label": item.value,
|
|
@@ -2633,7 +2710,7 @@ var MultiSelect = ({
|
|
|
2633
2710
|
},
|
|
2634
2711
|
item.value
|
|
2635
2712
|
)),
|
|
2636
|
-
/* @__PURE__ */ (0,
|
|
2713
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2637
2714
|
ComboboxInput,
|
|
2638
2715
|
{
|
|
2639
2716
|
placeholder: value2.length > 0 ? void 0 : placeholder || "Select an item...",
|
|
@@ -2647,14 +2724,14 @@ var MultiSelect = ({
|
|
|
2647
2724
|
] }) })
|
|
2648
2725
|
}
|
|
2649
2726
|
),
|
|
2650
|
-
/* @__PURE__ */ (0,
|
|
2651
|
-
/* @__PURE__ */ (0,
|
|
2652
|
-
/* @__PURE__ */ (0,
|
|
2727
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(ComboboxPopup, { className: "rounded-xl", children: [
|
|
2728
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(ComboboxEmpty, { className: "w-full center-flex flex-col", children: [
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2653
2730
|
"div",
|
|
2654
2731
|
{
|
|
2655
2732
|
style: { borderRadius: "30% 70% 70% 30% / 30% 38% 62% 70%" },
|
|
2656
2733
|
className: "mt-8 size-24 center-flex bg-accent/50 rounded-blob",
|
|
2657
|
-
children: /* @__PURE__ */ (0,
|
|
2734
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2658
2735
|
"img",
|
|
2659
2736
|
{
|
|
2660
2737
|
src: "/images/no-direction.png",
|
|
@@ -2664,10 +2741,10 @@ var MultiSelect = ({
|
|
|
2664
2741
|
)
|
|
2665
2742
|
}
|
|
2666
2743
|
),
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2668
|
-
/* @__PURE__ */ (0,
|
|
2744
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h1", { className: "mt-4 text-sm text-foreground font-semibold", children: "Nothing Found" }),
|
|
2745
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "mt-1 mb-8 text-sm text-center text-muted-foreground max-w-62", children: "We couldn't find anything matching your search" })
|
|
2669
2746
|
] }),
|
|
2670
|
-
/* @__PURE__ */ (0,
|
|
2747
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ComboboxList, { children: (item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2671
2748
|
ComboboxItem,
|
|
2672
2749
|
{
|
|
2673
2750
|
value: item,
|
|
@@ -2686,7 +2763,7 @@ MultiSelect.displayName = "MultiSelect";
|
|
|
2686
2763
|
// src/components/password-input.tsx
|
|
2687
2764
|
var import_lucide_react11 = require("lucide-react");
|
|
2688
2765
|
var import_react5 = __toESM(require("react"));
|
|
2689
|
-
var
|
|
2766
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2690
2767
|
var PasswordInput = import_react5.default.forwardRef(
|
|
2691
2768
|
({ className, onSubmit, showStrength, ...props }, ref) => {
|
|
2692
2769
|
const [isVisible, setIsVisible] = import_react5.default.useState(false);
|
|
@@ -2727,9 +2804,9 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2727
2804
|
}
|
|
2728
2805
|
onSubmit?.(event);
|
|
2729
2806
|
};
|
|
2730
|
-
return /* @__PURE__ */ (0,
|
|
2731
|
-
/* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "relative w-full", children: [
|
|
2808
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "relative w-full", children: [
|
|
2809
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2733
2810
|
Input,
|
|
2734
2811
|
{
|
|
2735
2812
|
className: cn("pe-9", className),
|
|
@@ -2740,7 +2817,7 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2740
2817
|
onSubmit: handleSubmit
|
|
2741
2818
|
}
|
|
2742
2819
|
),
|
|
2743
|
-
showStrength && /* @__PURE__ */ (0,
|
|
2820
|
+
showStrength && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2744
2821
|
"input",
|
|
2745
2822
|
{
|
|
2746
2823
|
title: "password",
|
|
@@ -2750,7 +2827,7 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2750
2827
|
value: showStrength ? strengthScore >= 4 ? props?.value : "" : props.value
|
|
2751
2828
|
}
|
|
2752
2829
|
),
|
|
2753
|
-
/* @__PURE__ */ (0,
|
|
2830
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2754
2831
|
"button",
|
|
2755
2832
|
{
|
|
2756
2833
|
className: "absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-10 text-muted-foreground/80 outline-offset-2 transition-colors hover:text-foreground focus:z-10 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-ring/70 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -2759,12 +2836,12 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2759
2836
|
"aria-label": isVisible ? "Hide password" : "Show password",
|
|
2760
2837
|
"aria-pressed": isVisible,
|
|
2761
2838
|
"aria-controls": "password",
|
|
2762
|
-
children: isVisible ? /* @__PURE__ */ (0,
|
|
2839
|
+
children: isVisible ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react11.EyeOff, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react11.Eye, { size: 16, strokeWidth: 2, "aria-hidden": "true" })
|
|
2763
2840
|
}
|
|
2764
2841
|
)
|
|
2765
2842
|
] }),
|
|
2766
|
-
showStrength && /* @__PURE__ */ (0,
|
|
2767
|
-
/* @__PURE__ */ (0,
|
|
2843
|
+
showStrength && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react5.default.Fragment, { children: [
|
|
2844
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2768
2845
|
"div",
|
|
2769
2846
|
{
|
|
2770
2847
|
className: "my-3 h-1 w-full overflow-hidden rounded-full bg-border",
|
|
@@ -2773,7 +2850,7 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2773
2850
|
"aria-valuemin": 0,
|
|
2774
2851
|
"aria-valuemax": 4,
|
|
2775
2852
|
"aria-label": "Password strength",
|
|
2776
|
-
children: /* @__PURE__ */ (0,
|
|
2853
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2777
2854
|
"div",
|
|
2778
2855
|
{
|
|
2779
2856
|
className: `h-full ${getStrengthColor(
|
|
@@ -2784,7 +2861,7 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2784
2861
|
)
|
|
2785
2862
|
}
|
|
2786
2863
|
),
|
|
2787
|
-
/* @__PURE__ */ (0,
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2788
2865
|
"p",
|
|
2789
2866
|
{
|
|
2790
2867
|
id: "password-strength",
|
|
@@ -2795,15 +2872,15 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2795
2872
|
]
|
|
2796
2873
|
}
|
|
2797
2874
|
),
|
|
2798
|
-
/* @__PURE__ */ (0,
|
|
2799
|
-
req.met ? /* @__PURE__ */ (0,
|
|
2875
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("ul", { className: "space-y-1.5", "aria-label": "Password requirements", children: strength.map((req, index) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("li", { className: "flex items-center gap-2", children: [
|
|
2876
|
+
req.met ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2800
2877
|
import_lucide_react11.Check,
|
|
2801
2878
|
{
|
|
2802
2879
|
size: 16,
|
|
2803
2880
|
className: "text-emerald-500",
|
|
2804
2881
|
"aria-hidden": "true"
|
|
2805
2882
|
}
|
|
2806
|
-
) : /* @__PURE__ */ (0,
|
|
2883
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2807
2884
|
import_lucide_react11.X,
|
|
2808
2885
|
{
|
|
2809
2886
|
size: 16,
|
|
@@ -2811,13 +2888,13 @@ var PasswordInput = import_react5.default.forwardRef(
|
|
|
2811
2888
|
"aria-hidden": "true"
|
|
2812
2889
|
}
|
|
2813
2890
|
),
|
|
2814
|
-
/* @__PURE__ */ (0,
|
|
2891
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2815
2892
|
"span",
|
|
2816
2893
|
{
|
|
2817
2894
|
className: `text-xs ${req.met ? "text-emerald-600" : "text-muted-foreground"}`,
|
|
2818
2895
|
children: [
|
|
2819
2896
|
req.text,
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
2897
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: req.met ? " - Requirement met" : " - Requirement not met" })
|
|
2821
2898
|
]
|
|
2822
2899
|
}
|
|
2823
2900
|
)
|
|
@@ -2835,7 +2912,7 @@ var import_react6 = require("react");
|
|
|
2835
2912
|
var RPNInput = __toESM(require("react-phone-number-input"));
|
|
2836
2913
|
var import_flags = __toESM(require("react-phone-number-input/flags"));
|
|
2837
2914
|
var import_react_phone_number_input = require("react-phone-number-input");
|
|
2838
|
-
var
|
|
2915
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2839
2916
|
function PhoneNumberInput({
|
|
2840
2917
|
className = "",
|
|
2841
2918
|
...props
|
|
@@ -2849,7 +2926,7 @@ function PhoneNumberInput({
|
|
|
2849
2926
|
}
|
|
2850
2927
|
props.onChange(newValue ?? "");
|
|
2851
2928
|
};
|
|
2852
|
-
return /* @__PURE__ */ (0,
|
|
2929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: cn(className), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2853
2930
|
RPNInput.default,
|
|
2854
2931
|
{
|
|
2855
2932
|
className: cn("flex rounded-md", error && "border border-red-500/70"),
|
|
@@ -2867,7 +2944,7 @@ function PhoneNumberInput({
|
|
|
2867
2944
|
}
|
|
2868
2945
|
var PhoneInput = (0, import_react6.forwardRef)(
|
|
2869
2946
|
({ className, ...props }, ref) => {
|
|
2870
|
-
return /* @__PURE__ */ (0,
|
|
2947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2871
2948
|
Input,
|
|
2872
2949
|
{
|
|
2873
2950
|
className: cn(
|
|
@@ -2890,7 +2967,7 @@ var CountrySelect = ({
|
|
|
2890
2967
|
const handleSelect = (event) => {
|
|
2891
2968
|
onChange(event.target.value);
|
|
2892
2969
|
};
|
|
2893
|
-
return /* @__PURE__ */ (0,
|
|
2970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2894
2971
|
"div",
|
|
2895
2972
|
{
|
|
2896
2973
|
className: cn(`relative inline-flex items-center self-stretch rounded-s-10 border border-input
|
|
@@ -2898,11 +2975,11 @@ var CountrySelect = ({
|
|
|
2898
2975
|
focus-within:border-ring focus-within:outline-none focus-within:ring-[3px] focus-within:ring-ring/20
|
|
2899
2976
|
hover:text-foreground has-disabled:pointer-events-none has-disabled:opacity-50`),
|
|
2900
2977
|
children: [
|
|
2901
|
-
/* @__PURE__ */ (0,
|
|
2902
|
-
/* @__PURE__ */ (0,
|
|
2903
|
-
/* @__PURE__ */ (0,
|
|
2978
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "inline-flex items-center gap-1", "aria-hidden": "true", children: [
|
|
2979
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(FlagComponent, { country: value, countryName: value, "aria-hidden": "true" }),
|
|
2980
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-muted-foreground/80", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.ChevronDown, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) })
|
|
2904
2981
|
] }),
|
|
2905
|
-
/* @__PURE__ */ (0,
|
|
2982
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2906
2983
|
"select",
|
|
2907
2984
|
{
|
|
2908
2985
|
disabled,
|
|
@@ -2911,8 +2988,8 @@ var CountrySelect = ({
|
|
|
2911
2988
|
className: "absolute inset-0 text-sm opacity-0",
|
|
2912
2989
|
"aria-label": "Select country",
|
|
2913
2990
|
children: [
|
|
2914
|
-
/* @__PURE__ */ (0,
|
|
2915
|
-
options2.filter((x) => x.value).map((option, i) => /* @__PURE__ */ (0,
|
|
2991
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("option", { value: "", children: "Select a country" }, "default"),
|
|
2992
|
+
options2.filter((x) => x.value).map((option, i) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("option", { value: option.value, children: [
|
|
2916
2993
|
option.label,
|
|
2917
2994
|
" ",
|
|
2918
2995
|
option.value && `+${RPNInput.getCountryCallingCode(option.value)}`
|
|
@@ -2926,15 +3003,15 @@ var CountrySelect = ({
|
|
|
2926
3003
|
};
|
|
2927
3004
|
var FlagComponent = ({ country, countryName }) => {
|
|
2928
3005
|
const Flag = import_flags.default[country];
|
|
2929
|
-
return /* @__PURE__ */ (0,
|
|
3006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "w-5 overflow-hidden rounded-sm", children: Flag ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Flag, { title: countryName }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.Phone, { size: 16, "aria-hidden": "true" }) });
|
|
2930
3007
|
};
|
|
2931
3008
|
|
|
2932
3009
|
// src/components/price-input.tsx
|
|
2933
3010
|
var import_react7 = __toESM(require("react"));
|
|
2934
|
-
var
|
|
3011
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2935
3012
|
var PriceInput = import_react7.default.forwardRef(
|
|
2936
3013
|
({ currency, ...props }, ref) => {
|
|
2937
|
-
return /* @__PURE__ */ (0,
|
|
3014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2938
3015
|
"div",
|
|
2939
3016
|
{
|
|
2940
3017
|
className: cn(
|
|
@@ -2942,8 +3019,8 @@ var PriceInput = import_react7.default.forwardRef(
|
|
|
2942
3019
|
props.containerClassname
|
|
2943
3020
|
),
|
|
2944
3021
|
children: [
|
|
2945
|
-
!props.hide_currency_symbol && /* @__PURE__ */ (0,
|
|
2946
|
-
/* @__PURE__ */ (0,
|
|
3022
|
+
!props.hide_currency_symbol && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
3023
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2947
3024
|
Input,
|
|
2948
3025
|
{
|
|
2949
3026
|
ref,
|
|
@@ -2953,7 +3030,7 @@ var PriceInput = import_react7.default.forwardRef(
|
|
|
2953
3030
|
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2954
3031
|
}
|
|
2955
3032
|
),
|
|
2956
|
-
!props.hide_currency_code && /* @__PURE__ */ (0,
|
|
3033
|
+
!props.hide_currency_code && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2957
3034
|
]
|
|
2958
3035
|
}
|
|
2959
3036
|
);
|
|
@@ -2964,8 +3041,8 @@ PriceInput.displayName = "PriceInput";
|
|
|
2964
3041
|
// src/components/progress.tsx
|
|
2965
3042
|
var React26 = __toESM(require("react"));
|
|
2966
3043
|
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
2967
|
-
var
|
|
2968
|
-
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3044
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3045
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2969
3046
|
ProgressPrimitive.Root,
|
|
2970
3047
|
{
|
|
2971
3048
|
ref,
|
|
@@ -2974,7 +3051,7 @@ var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2974
3051
|
className
|
|
2975
3052
|
),
|
|
2976
3053
|
...props,
|
|
2977
|
-
children: /* @__PURE__ */ (0,
|
|
3054
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2978
3055
|
ProgressPrimitive.Indicator,
|
|
2979
3056
|
{
|
|
2980
3057
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2989,11 +3066,11 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
2989
3066
|
var React27 = __toESM(require("react"));
|
|
2990
3067
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
2991
3068
|
var import_lucide_react13 = require("lucide-react");
|
|
2992
|
-
var
|
|
3069
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2993
3070
|
var Select = SelectPrimitive.Root;
|
|
2994
3071
|
var SelectGroup = SelectPrimitive.Group;
|
|
2995
3072
|
var SelectValue = SelectPrimitive.Value;
|
|
2996
|
-
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3073
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
2997
3074
|
SelectPrimitive.Trigger,
|
|
2998
3075
|
{
|
|
2999
3076
|
ref,
|
|
@@ -3004,12 +3081,12 @@ var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref)
|
|
|
3004
3081
|
...props,
|
|
3005
3082
|
children: [
|
|
3006
3083
|
children,
|
|
3007
|
-
/* @__PURE__ */ (0,
|
|
3084
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
3008
3085
|
]
|
|
3009
3086
|
}
|
|
3010
3087
|
));
|
|
3011
3088
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
3012
|
-
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3089
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3013
3090
|
SelectPrimitive.ScrollUpButton,
|
|
3014
3091
|
{
|
|
3015
3092
|
ref,
|
|
@@ -3018,11 +3095,11 @@ var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) =>
|
|
|
3018
3095
|
className
|
|
3019
3096
|
),
|
|
3020
3097
|
...props,
|
|
3021
|
-
children: /* @__PURE__ */ (0,
|
|
3098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.ChevronUp, { className: "h-4 w-4" })
|
|
3022
3099
|
}
|
|
3023
3100
|
));
|
|
3024
3101
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
3025
|
-
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3102
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3026
3103
|
SelectPrimitive.ScrollDownButton,
|
|
3027
3104
|
{
|
|
3028
3105
|
ref,
|
|
@@ -3031,11 +3108,11 @@ var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) =
|
|
|
3031
3108
|
className
|
|
3032
3109
|
),
|
|
3033
3110
|
...props,
|
|
3034
|
-
children: /* @__PURE__ */ (0,
|
|
3111
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.ChevronDown, { className: "h-4 w-4" })
|
|
3035
3112
|
}
|
|
3036
3113
|
));
|
|
3037
3114
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
3038
|
-
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0,
|
|
3115
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3039
3116
|
SelectPrimitive.Content,
|
|
3040
3117
|
{
|
|
3041
3118
|
ref,
|
|
@@ -3047,8 +3124,8 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
3047
3124
|
position,
|
|
3048
3125
|
...props,
|
|
3049
3126
|
children: [
|
|
3050
|
-
/* @__PURE__ */ (0,
|
|
3051
|
-
/* @__PURE__ */ (0,
|
|
3127
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollUpButton, {}),
|
|
3128
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3052
3129
|
SelectPrimitive.Viewport,
|
|
3053
3130
|
{
|
|
3054
3131
|
className: cn(
|
|
@@ -3058,12 +3135,12 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
3058
3135
|
children
|
|
3059
3136
|
}
|
|
3060
3137
|
),
|
|
3061
|
-
/* @__PURE__ */ (0,
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollDownButton, {})
|
|
3062
3139
|
]
|
|
3063
3140
|
}
|
|
3064
3141
|
) }));
|
|
3065
3142
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
3066
|
-
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3143
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3067
3144
|
SelectPrimitive.Label,
|
|
3068
3145
|
{
|
|
3069
3146
|
ref,
|
|
@@ -3072,7 +3149,7 @@ var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3072
3149
|
}
|
|
3073
3150
|
));
|
|
3074
3151
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
3075
|
-
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3152
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3076
3153
|
SelectPrimitive.Item,
|
|
3077
3154
|
{
|
|
3078
3155
|
ref,
|
|
@@ -3082,13 +3159,13 @@ var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
3082
3159
|
),
|
|
3083
3160
|
...props,
|
|
3084
3161
|
children: [
|
|
3085
|
-
/* @__PURE__ */ (0,
|
|
3086
|
-
/* @__PURE__ */ (0,
|
|
3162
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.Check, { className: "h-4 w-4" }) }) }),
|
|
3163
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemText, { children })
|
|
3087
3164
|
]
|
|
3088
3165
|
}
|
|
3089
3166
|
));
|
|
3090
3167
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
3091
|
-
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3168
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3092
3169
|
SelectPrimitive.Separator,
|
|
3093
3170
|
{
|
|
3094
3171
|
ref,
|
|
@@ -3101,9 +3178,9 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
3101
3178
|
// src/components/separator.tsx
|
|
3102
3179
|
var React28 = __toESM(require("react"));
|
|
3103
3180
|
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
3104
|
-
var
|
|
3181
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3105
3182
|
var Separator3 = React28.forwardRef(
|
|
3106
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3183
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
3107
3184
|
SeparatorPrimitive.Root,
|
|
3108
3185
|
{
|
|
3109
3186
|
ref,
|
|
@@ -3125,12 +3202,12 @@ var React29 = __toESM(require("react"));
|
|
|
3125
3202
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
3126
3203
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
3127
3204
|
var import_lucide_react14 = require("lucide-react");
|
|
3128
|
-
var
|
|
3205
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
3129
3206
|
var Sheet = SheetPrimitive.Root;
|
|
3130
3207
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
3131
3208
|
var SheetClose = SheetPrimitive.Close;
|
|
3132
3209
|
var SheetPortal = SheetPrimitive.Portal;
|
|
3133
|
-
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3210
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3134
3211
|
SheetPrimitive.Overlay,
|
|
3135
3212
|
{
|
|
3136
3213
|
className: cn(
|
|
@@ -3158,9 +3235,9 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
|
|
|
3158
3235
|
}
|
|
3159
3236
|
}
|
|
3160
3237
|
);
|
|
3161
|
-
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3162
|
-
/* @__PURE__ */ (0,
|
|
3163
|
-
/* @__PURE__ */ (0,
|
|
3238
|
+
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(SheetPortal, { children: [
|
|
3239
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SheetOverlay, {}),
|
|
3240
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
3164
3241
|
SheetPrimitive.Content,
|
|
3165
3242
|
{
|
|
3166
3243
|
ref,
|
|
@@ -3168,9 +3245,9 @@ var SheetContent = React29.forwardRef(({ side = "right", className, children, ..
|
|
|
3168
3245
|
...props,
|
|
3169
3246
|
children: [
|
|
3170
3247
|
children,
|
|
3171
|
-
/* @__PURE__ */ (0,
|
|
3172
|
-
/* @__PURE__ */ (0,
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3248
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
3249
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react14.X, { className: "h-4 w-4" }),
|
|
3250
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "sr-only", children: "Close" })
|
|
3174
3251
|
] })
|
|
3175
3252
|
]
|
|
3176
3253
|
}
|
|
@@ -3180,7 +3257,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
3180
3257
|
var SheetHeader = ({
|
|
3181
3258
|
className,
|
|
3182
3259
|
...props
|
|
3183
|
-
}) => /* @__PURE__ */ (0,
|
|
3260
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3184
3261
|
"div",
|
|
3185
3262
|
{
|
|
3186
3263
|
className: cn(
|
|
@@ -3194,7 +3271,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
3194
3271
|
var SheetFooter = ({
|
|
3195
3272
|
className,
|
|
3196
3273
|
...props
|
|
3197
|
-
}) => /* @__PURE__ */ (0,
|
|
3274
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3198
3275
|
"div",
|
|
3199
3276
|
{
|
|
3200
3277
|
className: cn(
|
|
@@ -3205,7 +3282,7 @@ var SheetFooter = ({
|
|
|
3205
3282
|
}
|
|
3206
3283
|
);
|
|
3207
3284
|
SheetFooter.displayName = "SheetFooter";
|
|
3208
|
-
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3285
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3209
3286
|
SheetPrimitive.Title,
|
|
3210
3287
|
{
|
|
3211
3288
|
ref,
|
|
@@ -3214,7 +3291,7 @@ var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3214
3291
|
}
|
|
3215
3292
|
));
|
|
3216
3293
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
3217
|
-
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3294
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3218
3295
|
SheetPrimitive.Description,
|
|
3219
3296
|
{
|
|
3220
3297
|
ref,
|
|
@@ -3225,12 +3302,12 @@ var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3225
3302
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
3226
3303
|
|
|
3227
3304
|
// src/components/skeleton.tsx
|
|
3228
|
-
var
|
|
3305
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
3229
3306
|
function Skeleton({
|
|
3230
3307
|
className,
|
|
3231
3308
|
...props
|
|
3232
3309
|
}) {
|
|
3233
|
-
return /* @__PURE__ */ (0,
|
|
3310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
3234
3311
|
"div",
|
|
3235
3312
|
{
|
|
3236
3313
|
className: cn("animate-pulse rounded-lg bg-muted", className),
|
|
@@ -3243,7 +3320,7 @@ function Skeleton({
|
|
|
3243
3320
|
var import_merge_props3 = require("@base-ui-components/react/merge-props");
|
|
3244
3321
|
var import_use_render3 = require("@base-ui-components/react/use-render");
|
|
3245
3322
|
var import_class_variance_authority5 = require("class-variance-authority");
|
|
3246
|
-
var
|
|
3323
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
3247
3324
|
var statusIndicatorVariants = (0, import_class_variance_authority5.cva)(
|
|
3248
3325
|
"relative inline-flex size-2.5 shrink-0",
|
|
3249
3326
|
{
|
|
@@ -3274,8 +3351,8 @@ function StatusIndicator({
|
|
|
3274
3351
|
return (0, import_use_render3.useRender)({
|
|
3275
3352
|
defaultTagName: "span",
|
|
3276
3353
|
props: (0, import_merge_props3.mergeProps)(defaultProps, props),
|
|
3277
|
-
render: render || /* @__PURE__ */ (0,
|
|
3278
|
-
/* @__PURE__ */ (0,
|
|
3354
|
+
render: render || /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { ...defaultProps, children: [
|
|
3355
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
3279
3356
|
"span",
|
|
3280
3357
|
{
|
|
3281
3358
|
className: cn(
|
|
@@ -3284,16 +3361,16 @@ function StatusIndicator({
|
|
|
3284
3361
|
)
|
|
3285
3362
|
}
|
|
3286
3363
|
),
|
|
3287
|
-
/* @__PURE__ */ (0,
|
|
3364
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "relative inline-flex rounded-full size-2.5" })
|
|
3288
3365
|
] })
|
|
3289
3366
|
});
|
|
3290
3367
|
}
|
|
3291
3368
|
|
|
3292
3369
|
// src/components/switch.tsx
|
|
3293
3370
|
var import_switch = require("@base-ui-components/react/switch");
|
|
3294
|
-
var
|
|
3371
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3295
3372
|
function Switch({ className, ...props }) {
|
|
3296
|
-
return /* @__PURE__ */ (0,
|
|
3373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3297
3374
|
import_switch.Switch.Root,
|
|
3298
3375
|
{
|
|
3299
3376
|
className: cn(
|
|
@@ -3302,7 +3379,7 @@ function Switch({ className, ...props }) {
|
|
|
3302
3379
|
),
|
|
3303
3380
|
"data-slot": "switch",
|
|
3304
3381
|
...props,
|
|
3305
|
-
children: /* @__PURE__ */ (0,
|
|
3382
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3306
3383
|
import_switch.Switch.Thumb,
|
|
3307
3384
|
{
|
|
3308
3385
|
className: cn(
|
|
@@ -3316,14 +3393,14 @@ function Switch({ className, ...props }) {
|
|
|
3316
3393
|
}
|
|
3317
3394
|
|
|
3318
3395
|
// src/components/table.tsx
|
|
3319
|
-
var
|
|
3396
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3320
3397
|
function Table({ className, ...props }) {
|
|
3321
|
-
return /* @__PURE__ */ (0,
|
|
3398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3322
3399
|
"div",
|
|
3323
3400
|
{
|
|
3324
3401
|
className: "relative w-full overflow-x-auto",
|
|
3325
3402
|
"data-slot": "table-container",
|
|
3326
|
-
children: /* @__PURE__ */ (0,
|
|
3403
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3327
3404
|
"table",
|
|
3328
3405
|
{
|
|
3329
3406
|
className: cn(
|
|
@@ -3338,7 +3415,7 @@ function Table({ className, ...props }) {
|
|
|
3338
3415
|
);
|
|
3339
3416
|
}
|
|
3340
3417
|
function TableHeader({ className, ...props }) {
|
|
3341
|
-
return /* @__PURE__ */ (0,
|
|
3418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3342
3419
|
"thead",
|
|
3343
3420
|
{
|
|
3344
3421
|
className: cn(
|
|
@@ -3351,7 +3428,7 @@ function TableHeader({ className, ...props }) {
|
|
|
3351
3428
|
);
|
|
3352
3429
|
}
|
|
3353
3430
|
function TableBody({ className, ...props }) {
|
|
3354
|
-
return /* @__PURE__ */ (0,
|
|
3431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3355
3432
|
"tbody",
|
|
3356
3433
|
{
|
|
3357
3434
|
className: cn(
|
|
@@ -3364,7 +3441,7 @@ function TableBody({ className, ...props }) {
|
|
|
3364
3441
|
);
|
|
3365
3442
|
}
|
|
3366
3443
|
function TableFooter({ className, ...props }) {
|
|
3367
|
-
return /* @__PURE__ */ (0,
|
|
3444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3368
3445
|
"tfoot",
|
|
3369
3446
|
{
|
|
3370
3447
|
className: cn(
|
|
@@ -3377,7 +3454,7 @@ function TableFooter({ className, ...props }) {
|
|
|
3377
3454
|
);
|
|
3378
3455
|
}
|
|
3379
3456
|
function TableRow({ className, ...props }) {
|
|
3380
|
-
return /* @__PURE__ */ (0,
|
|
3457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3381
3458
|
"tr",
|
|
3382
3459
|
{
|
|
3383
3460
|
className: cn(
|
|
@@ -3390,7 +3467,7 @@ function TableRow({ className, ...props }) {
|
|
|
3390
3467
|
);
|
|
3391
3468
|
}
|
|
3392
3469
|
function TableHead({ className, ...props }) {
|
|
3393
|
-
return /* @__PURE__ */ (0,
|
|
3470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3394
3471
|
"th",
|
|
3395
3472
|
{
|
|
3396
3473
|
className: cn(
|
|
@@ -3403,7 +3480,7 @@ function TableHead({ className, ...props }) {
|
|
|
3403
3480
|
);
|
|
3404
3481
|
}
|
|
3405
3482
|
function TableCell({ className, ...props }) {
|
|
3406
|
-
return /* @__PURE__ */ (0,
|
|
3483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3407
3484
|
"td",
|
|
3408
3485
|
{
|
|
3409
3486
|
className: cn(
|
|
@@ -3419,7 +3496,7 @@ function TableCaption({
|
|
|
3419
3496
|
className,
|
|
3420
3497
|
...props
|
|
3421
3498
|
}) {
|
|
3422
|
-
return /* @__PURE__ */ (0,
|
|
3499
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3423
3500
|
"caption",
|
|
3424
3501
|
{
|
|
3425
3502
|
className: cn(
|
|
@@ -3435,9 +3512,9 @@ function TableCaption({
|
|
|
3435
3512
|
// src/components/tabs.tsx
|
|
3436
3513
|
var React30 = __toESM(require("react"));
|
|
3437
3514
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
3438
|
-
var
|
|
3515
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
3439
3516
|
var Tabs = TabsPrimitive.Root;
|
|
3440
|
-
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3517
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3441
3518
|
TabsPrimitive.List,
|
|
3442
3519
|
{
|
|
3443
3520
|
ref,
|
|
@@ -3449,7 +3526,7 @@ var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3449
3526
|
}
|
|
3450
3527
|
));
|
|
3451
3528
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3452
|
-
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3529
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3453
3530
|
TabsPrimitive.Trigger,
|
|
3454
3531
|
{
|
|
3455
3532
|
ref,
|
|
@@ -3461,7 +3538,7 @@ var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3461
3538
|
}
|
|
3462
3539
|
));
|
|
3463
3540
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3464
|
-
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3541
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3465
3542
|
TabsPrimitive.Content,
|
|
3466
3543
|
{
|
|
3467
3544
|
ref,
|
|
@@ -3477,14 +3554,14 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
3477
3554
|
// src/components/tags-input.tsx
|
|
3478
3555
|
var import_emblor = require("emblor");
|
|
3479
3556
|
var import_react8 = require("react");
|
|
3480
|
-
var
|
|
3557
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3481
3558
|
|
|
3482
3559
|
// src/components/textarea.tsx
|
|
3483
3560
|
var React31 = __toESM(require("react"));
|
|
3484
|
-
var
|
|
3561
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3485
3562
|
var Textarea = React31.forwardRef(
|
|
3486
3563
|
({ className, ...props }, ref) => {
|
|
3487
|
-
return /* @__PURE__ */ (0,
|
|
3564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3488
3565
|
"textarea",
|
|
3489
3566
|
{
|
|
3490
3567
|
className: cn(
|
|
@@ -3501,7 +3578,7 @@ Textarea.displayName = "Textarea";
|
|
|
3501
3578
|
|
|
3502
3579
|
// src/components/timeline.tsx
|
|
3503
3580
|
var React32 = __toESM(require("react"));
|
|
3504
|
-
var
|
|
3581
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
3505
3582
|
var TimelineContext = React32.createContext(null);
|
|
3506
3583
|
function useTimeline() {
|
|
3507
3584
|
const context = React32.useContext(TimelineContext);
|
|
@@ -3511,7 +3588,7 @@ function useTimeline() {
|
|
|
3511
3588
|
return context;
|
|
3512
3589
|
}
|
|
3513
3590
|
var Timeline = React32.forwardRef(
|
|
3514
|
-
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0,
|
|
3591
|
+
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3515
3592
|
"ol",
|
|
3516
3593
|
{
|
|
3517
3594
|
ref,
|
|
@@ -3529,7 +3606,7 @@ var Timeline = React32.forwardRef(
|
|
|
3529
3606
|
Timeline.displayName = "Timeline";
|
|
3530
3607
|
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3531
3608
|
const { orientation } = useTimeline();
|
|
3532
|
-
return /* @__PURE__ */ (0,
|
|
3609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3533
3610
|
"li",
|
|
3534
3611
|
{
|
|
3535
3612
|
ref,
|
|
@@ -3546,7 +3623,7 @@ var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3546
3623
|
TimelineItem.displayName = "TimelineItem";
|
|
3547
3624
|
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3548
3625
|
const { orientation } = useTimeline();
|
|
3549
|
-
return /* @__PURE__ */ (0,
|
|
3626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3550
3627
|
"div",
|
|
3551
3628
|
{
|
|
3552
3629
|
ref,
|
|
@@ -3563,7 +3640,7 @@ var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3563
3640
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3564
3641
|
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3565
3642
|
const { orientation } = useTimeline();
|
|
3566
|
-
return /* @__PURE__ */ (0,
|
|
3643
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3567
3644
|
"div",
|
|
3568
3645
|
{
|
|
3569
3646
|
ref,
|
|
@@ -3582,7 +3659,7 @@ var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props
|
|
|
3582
3659
|
TimelineDot.displayName = "TimelineDot";
|
|
3583
3660
|
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3584
3661
|
const { orientation } = useTimeline();
|
|
3585
|
-
return /* @__PURE__ */ (0,
|
|
3662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3586
3663
|
"div",
|
|
3587
3664
|
{
|
|
3588
3665
|
ref,
|
|
@@ -3600,7 +3677,7 @@ var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3600
3677
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3601
3678
|
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3602
3679
|
const { orientation } = useTimeline();
|
|
3603
|
-
return /* @__PURE__ */ (0,
|
|
3680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3604
3681
|
"div",
|
|
3605
3682
|
{
|
|
3606
3683
|
ref,
|
|
@@ -3618,12 +3695,12 @@ var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3618
3695
|
TimelineContent.displayName = "TimelineContent";
|
|
3619
3696
|
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3620
3697
|
const { orientation } = useTimeline();
|
|
3621
|
-
return /* @__PURE__ */ (0,
|
|
3698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, "data-orientation": orientation, ...props });
|
|
3622
3699
|
});
|
|
3623
3700
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3624
3701
|
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3625
3702
|
const { orientation } = useTimeline();
|
|
3626
|
-
return /* @__PURE__ */ (0,
|
|
3703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3627
3704
|
"div",
|
|
3628
3705
|
{
|
|
3629
3706
|
ref,
|
|
@@ -3638,11 +3715,11 @@ TimelineDescription.displayName = "TimelineDescription";
|
|
|
3638
3715
|
// src/components/tooltip.tsx
|
|
3639
3716
|
var React33 = __toESM(require("react"));
|
|
3640
3717
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
3641
|
-
var
|
|
3718
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
3642
3719
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3643
3720
|
var Tooltip = TooltipPrimitive.Root;
|
|
3644
3721
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3645
|
-
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3722
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3646
3723
|
TooltipPrimitive.Content,
|
|
3647
3724
|
{
|
|
3648
3725
|
ref,
|
|
@@ -3775,6 +3852,7 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3775
3852
|
FormMessage,
|
|
3776
3853
|
Icon,
|
|
3777
3854
|
ImageCard,
|
|
3855
|
+
ImageZoom,
|
|
3778
3856
|
Input,
|
|
3779
3857
|
InputOTP,
|
|
3780
3858
|
InputOTPGroup,
|