@use-stall/ui 0.1.2 → 0.1.4
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 +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +261 -150
- package/dist/index.mjs +244 -136
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -148,11 +148,14 @@ __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,
|
|
154
155
|
InputOTPSeparator: () => InputOTPSeparator,
|
|
155
156
|
InputOTPSlot: () => InputOTPSlot,
|
|
157
|
+
Kbd: () => Kbd,
|
|
158
|
+
KbdKey: () => KbdKey,
|
|
156
159
|
Label: () => Label2,
|
|
157
160
|
MultiSelect: () => MultiSelect,
|
|
158
161
|
PhoneNumberInput: () => PhoneNumberInput,
|
|
@@ -2464,24 +2467,100 @@ FormMessage.displayName = "FormMessage";
|
|
|
2464
2467
|
|
|
2465
2468
|
// src/components/image-card.tsx
|
|
2466
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"));
|
|
2467
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");
|
|
2468
2517
|
var ImageCard = import_react2.default.memo(
|
|
2469
|
-
({
|
|
2470
|
-
|
|
2471
|
-
|
|
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",
|
|
2472
2528
|
{
|
|
2473
|
-
onError: (e) => {
|
|
2474
|
-
const target = e?.currentTarget;
|
|
2475
|
-
if (target) {
|
|
2476
|
-
target.src = onErrorImage || "";
|
|
2477
|
-
}
|
|
2478
|
-
},
|
|
2479
|
-
src,
|
|
2480
|
-
alt,
|
|
2481
2529
|
className: cn(
|
|
2482
|
-
`h-
|
|
2483
|
-
|
|
2530
|
+
`h-9 w-9 rounded-lg shadow-sm drop-shadow-sm border border-border
|
|
2531
|
+
overflow-hidden bg-background shrink-0 relative`,
|
|
2484
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
|
+
}
|
|
2485
2564
|
)
|
|
2486
2565
|
}
|
|
2487
2566
|
);
|
|
@@ -2492,8 +2571,8 @@ var ImageCard = import_react2.default.memo(
|
|
|
2492
2571
|
var React20 = __toESM(require("react"));
|
|
2493
2572
|
var import_input_otp = require("input-otp");
|
|
2494
2573
|
var import_lucide_react10 = require("lucide-react");
|
|
2495
|
-
var
|
|
2496
|
-
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)(
|
|
2497
2576
|
import_input_otp.OTPInput,
|
|
2498
2577
|
{
|
|
2499
2578
|
ref,
|
|
@@ -2506,12 +2585,12 @@ var InputOTP = React20.forwardRef(({ className, containerClassName, ...props },
|
|
|
2506
2585
|
}
|
|
2507
2586
|
));
|
|
2508
2587
|
InputOTP.displayName = "InputOTP";
|
|
2509
|
-
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 }));
|
|
2510
2589
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2511
2590
|
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2512
2591
|
const inputOTPContext = React20.useContext(import_input_otp.OTPInputContext);
|
|
2513
2592
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2514
|
-
return /* @__PURE__ */ (0,
|
|
2593
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
2515
2594
|
"div",
|
|
2516
2595
|
{
|
|
2517
2596
|
ref,
|
|
@@ -2523,35 +2602,64 @@ var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2523
2602
|
...props,
|
|
2524
2603
|
children: [
|
|
2525
2604
|
char,
|
|
2526
|
-
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" }) })
|
|
2527
2606
|
]
|
|
2528
2607
|
}
|
|
2529
2608
|
);
|
|
2530
2609
|
});
|
|
2531
2610
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2532
|
-
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, {}) }));
|
|
2533
2612
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2534
2613
|
|
|
2614
|
+
// src/components/kbd.tsx
|
|
2615
|
+
var import_react3 = require("react");
|
|
2616
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2617
|
+
var DefaultKbdSeparator = ({
|
|
2618
|
+
className,
|
|
2619
|
+
children = "+",
|
|
2620
|
+
...props
|
|
2621
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn("text-muted-foreground/50", className), ...props, children });
|
|
2622
|
+
var Kbd = ({
|
|
2623
|
+
className,
|
|
2624
|
+
separator = /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DefaultKbdSeparator, {}),
|
|
2625
|
+
children,
|
|
2626
|
+
...props
|
|
2627
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2628
|
+
"span",
|
|
2629
|
+
{
|
|
2630
|
+
className: cn(
|
|
2631
|
+
"inline-flex select-none items-center gap-1 rounded border bg-muted px-1.5 align-middle font-medium font-mono text-[10px] text-muted-foreground leading-loose",
|
|
2632
|
+
className
|
|
2633
|
+
),
|
|
2634
|
+
...props,
|
|
2635
|
+
children: Array.isArray(children) ? children.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react3.Fragment, { children: [
|
|
2636
|
+
child,
|
|
2637
|
+
index < children.length - 1 && separator
|
|
2638
|
+
] }, index)) : children
|
|
2639
|
+
}
|
|
2640
|
+
);
|
|
2641
|
+
var KbdKey = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("kbd", { ...props });
|
|
2642
|
+
|
|
2535
2643
|
// src/components/modal-container.tsx
|
|
2536
|
-
var
|
|
2644
|
+
var import_react4 = __toESM(require("react"));
|
|
2537
2645
|
var import_framer_motion = require("framer-motion");
|
|
2538
|
-
var
|
|
2539
|
-
var ModalContainer =
|
|
2540
|
-
return /* @__PURE__ */ (0,
|
|
2646
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
2647
|
+
var ModalContainer = import_react4.default.memo((props) => {
|
|
2648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2541
2649
|
import_framer_motion.motion.div,
|
|
2542
2650
|
{
|
|
2543
2651
|
initial: { y: 10, opacity: 0 },
|
|
2544
2652
|
exit: { y: 10, opacity: 0 },
|
|
2545
2653
|
animate: { y: 0, opacity: 1 },
|
|
2546
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",
|
|
2547
|
-
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 }) })
|
|
2548
2656
|
}
|
|
2549
2657
|
);
|
|
2550
2658
|
});
|
|
2551
2659
|
|
|
2552
2660
|
// src/components/multi-select.tsx
|
|
2553
2661
|
var React22 = __toESM(require("react"));
|
|
2554
|
-
var
|
|
2662
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2555
2663
|
var MultiSelect = ({
|
|
2556
2664
|
options: options2 = [],
|
|
2557
2665
|
value = [],
|
|
@@ -2575,7 +2683,7 @@ var MultiSelect = ({
|
|
|
2575
2683
|
},
|
|
2576
2684
|
[onValueChange]
|
|
2577
2685
|
);
|
|
2578
|
-
return /* @__PURE__ */ (0,
|
|
2686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2579
2687
|
Combobox,
|
|
2580
2688
|
{
|
|
2581
2689
|
required,
|
|
@@ -2585,15 +2693,15 @@ var MultiSelect = ({
|
|
|
2585
2693
|
onValueChange: handleValueChange,
|
|
2586
2694
|
disabled: maxCount === options2.length,
|
|
2587
2695
|
children: [
|
|
2588
|
-
/* @__PURE__ */ (0,
|
|
2696
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2589
2697
|
ComboboxChips,
|
|
2590
2698
|
{
|
|
2591
2699
|
className: cn(
|
|
2592
2700
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2593
2701
|
className
|
|
2594
2702
|
),
|
|
2595
|
-
children: /* @__PURE__ */ (0,
|
|
2596
|
-
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)(
|
|
2597
2705
|
ComboboxChip,
|
|
2598
2706
|
{
|
|
2599
2707
|
"aria-label": item.value,
|
|
@@ -2602,7 +2710,7 @@ var MultiSelect = ({
|
|
|
2602
2710
|
},
|
|
2603
2711
|
item.value
|
|
2604
2712
|
)),
|
|
2605
|
-
/* @__PURE__ */ (0,
|
|
2713
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2606
2714
|
ComboboxInput,
|
|
2607
2715
|
{
|
|
2608
2716
|
placeholder: value2.length > 0 ? void 0 : placeholder || "Select an item...",
|
|
@@ -2616,14 +2724,14 @@ var MultiSelect = ({
|
|
|
2616
2724
|
] }) })
|
|
2617
2725
|
}
|
|
2618
2726
|
),
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2620
|
-
/* @__PURE__ */ (0,
|
|
2621
|
-
/* @__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)(
|
|
2622
2730
|
"div",
|
|
2623
2731
|
{
|
|
2624
2732
|
style: { borderRadius: "30% 70% 70% 30% / 30% 38% 62% 70%" },
|
|
2625
2733
|
className: "mt-8 size-24 center-flex bg-accent/50 rounded-blob",
|
|
2626
|
-
children: /* @__PURE__ */ (0,
|
|
2734
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2627
2735
|
"img",
|
|
2628
2736
|
{
|
|
2629
2737
|
src: "/images/no-direction.png",
|
|
@@ -2633,10 +2741,10 @@ var MultiSelect = ({
|
|
|
2633
2741
|
)
|
|
2634
2742
|
}
|
|
2635
2743
|
),
|
|
2636
|
-
/* @__PURE__ */ (0,
|
|
2637
|
-
/* @__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" })
|
|
2638
2746
|
] }),
|
|
2639
|
-
/* @__PURE__ */ (0,
|
|
2747
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ComboboxList, { children: (item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2640
2748
|
ComboboxItem,
|
|
2641
2749
|
{
|
|
2642
2750
|
value: item,
|
|
@@ -2654,11 +2762,11 @@ MultiSelect.displayName = "MultiSelect";
|
|
|
2654
2762
|
|
|
2655
2763
|
// src/components/password-input.tsx
|
|
2656
2764
|
var import_lucide_react11 = require("lucide-react");
|
|
2657
|
-
var
|
|
2658
|
-
var
|
|
2659
|
-
var PasswordInput =
|
|
2765
|
+
var import_react5 = __toESM(require("react"));
|
|
2766
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2767
|
+
var PasswordInput = import_react5.default.forwardRef(
|
|
2660
2768
|
({ className, onSubmit, showStrength, ...props }, ref) => {
|
|
2661
|
-
const [isVisible, setIsVisible] =
|
|
2769
|
+
const [isVisible, setIsVisible] = import_react5.default.useState(false);
|
|
2662
2770
|
const toggleVisibility = () => setIsVisible((prevState) => !prevState);
|
|
2663
2771
|
const checkStrength = (pass) => {
|
|
2664
2772
|
const requirements = [
|
|
@@ -2673,7 +2781,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2673
2781
|
}));
|
|
2674
2782
|
};
|
|
2675
2783
|
const strength = checkStrength(props.value?.toString() || "");
|
|
2676
|
-
const strengthScore =
|
|
2784
|
+
const strengthScore = import_react5.default.useMemo(() => {
|
|
2677
2785
|
return strength.filter((req) => req.met).length;
|
|
2678
2786
|
}, [strength]);
|
|
2679
2787
|
const getStrengthColor = (score) => {
|
|
@@ -2696,9 +2804,9 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2696
2804
|
}
|
|
2697
2805
|
onSubmit?.(event);
|
|
2698
2806
|
};
|
|
2699
|
-
return /* @__PURE__ */ (0,
|
|
2700
|
-
/* @__PURE__ */ (0,
|
|
2701
|
-
/* @__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)(
|
|
2702
2810
|
Input,
|
|
2703
2811
|
{
|
|
2704
2812
|
className: cn("pe-9", className),
|
|
@@ -2709,7 +2817,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2709
2817
|
onSubmit: handleSubmit
|
|
2710
2818
|
}
|
|
2711
2819
|
),
|
|
2712
|
-
showStrength && /* @__PURE__ */ (0,
|
|
2820
|
+
showStrength && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2713
2821
|
"input",
|
|
2714
2822
|
{
|
|
2715
2823
|
title: "password",
|
|
@@ -2719,7 +2827,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2719
2827
|
value: showStrength ? strengthScore >= 4 ? props?.value : "" : props.value
|
|
2720
2828
|
}
|
|
2721
2829
|
),
|
|
2722
|
-
/* @__PURE__ */ (0,
|
|
2830
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2723
2831
|
"button",
|
|
2724
2832
|
{
|
|
2725
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",
|
|
@@ -2728,12 +2836,12 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2728
2836
|
"aria-label": isVisible ? "Hide password" : "Show password",
|
|
2729
2837
|
"aria-pressed": isVisible,
|
|
2730
2838
|
"aria-controls": "password",
|
|
2731
|
-
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" })
|
|
2732
2840
|
}
|
|
2733
2841
|
)
|
|
2734
2842
|
] }),
|
|
2735
|
-
showStrength && /* @__PURE__ */ (0,
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
2843
|
+
showStrength && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_react5.default.Fragment, { children: [
|
|
2844
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2737
2845
|
"div",
|
|
2738
2846
|
{
|
|
2739
2847
|
className: "my-3 h-1 w-full overflow-hidden rounded-full bg-border",
|
|
@@ -2742,7 +2850,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2742
2850
|
"aria-valuemin": 0,
|
|
2743
2851
|
"aria-valuemax": 4,
|
|
2744
2852
|
"aria-label": "Password strength",
|
|
2745
|
-
children: /* @__PURE__ */ (0,
|
|
2853
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2746
2854
|
"div",
|
|
2747
2855
|
{
|
|
2748
2856
|
className: `h-full ${getStrengthColor(
|
|
@@ -2753,7 +2861,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2753
2861
|
)
|
|
2754
2862
|
}
|
|
2755
2863
|
),
|
|
2756
|
-
/* @__PURE__ */ (0,
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2757
2865
|
"p",
|
|
2758
2866
|
{
|
|
2759
2867
|
id: "password-strength",
|
|
@@ -2764,15 +2872,15 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2764
2872
|
]
|
|
2765
2873
|
}
|
|
2766
2874
|
),
|
|
2767
|
-
/* @__PURE__ */ (0,
|
|
2768
|
-
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)(
|
|
2769
2877
|
import_lucide_react11.Check,
|
|
2770
2878
|
{
|
|
2771
2879
|
size: 16,
|
|
2772
2880
|
className: "text-emerald-500",
|
|
2773
2881
|
"aria-hidden": "true"
|
|
2774
2882
|
}
|
|
2775
|
-
) : /* @__PURE__ */ (0,
|
|
2883
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2776
2884
|
import_lucide_react11.X,
|
|
2777
2885
|
{
|
|
2778
2886
|
size: 16,
|
|
@@ -2780,13 +2888,13 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2780
2888
|
"aria-hidden": "true"
|
|
2781
2889
|
}
|
|
2782
2890
|
),
|
|
2783
|
-
/* @__PURE__ */ (0,
|
|
2891
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2784
2892
|
"span",
|
|
2785
2893
|
{
|
|
2786
2894
|
className: `text-xs ${req.met ? "text-emerald-600" : "text-muted-foreground"}`,
|
|
2787
2895
|
children: [
|
|
2788
2896
|
req.text,
|
|
2789
|
-
/* @__PURE__ */ (0,
|
|
2897
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: req.met ? " - Requirement met" : " - Requirement not met" })
|
|
2790
2898
|
]
|
|
2791
2899
|
}
|
|
2792
2900
|
)
|
|
@@ -2796,20 +2904,20 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2796
2904
|
}
|
|
2797
2905
|
);
|
|
2798
2906
|
PasswordInput.displayName = "PasswordInput";
|
|
2799
|
-
var password_input_default =
|
|
2907
|
+
var password_input_default = import_react5.default.memo(PasswordInput);
|
|
2800
2908
|
|
|
2801
2909
|
// src/components/phone-number-input.tsx
|
|
2802
2910
|
var import_lucide_react12 = require("lucide-react");
|
|
2803
|
-
var
|
|
2911
|
+
var import_react6 = require("react");
|
|
2804
2912
|
var RPNInput = __toESM(require("react-phone-number-input"));
|
|
2805
2913
|
var import_flags = __toESM(require("react-phone-number-input/flags"));
|
|
2806
2914
|
var import_react_phone_number_input = require("react-phone-number-input");
|
|
2807
|
-
var
|
|
2915
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2808
2916
|
function PhoneNumberInput({
|
|
2809
2917
|
className = "",
|
|
2810
2918
|
...props
|
|
2811
2919
|
}) {
|
|
2812
|
-
const [error, setError] = (0,
|
|
2920
|
+
const [error, setError] = (0, import_react6.useState)(null);
|
|
2813
2921
|
const handleChange = (newValue) => {
|
|
2814
2922
|
if (newValue && !(0, import_react_phone_number_input.isValidPhoneNumber)(newValue)) {
|
|
2815
2923
|
setError("Invalid phone number");
|
|
@@ -2818,7 +2926,7 @@ function PhoneNumberInput({
|
|
|
2818
2926
|
}
|
|
2819
2927
|
props.onChange(newValue ?? "");
|
|
2820
2928
|
};
|
|
2821
|
-
return /* @__PURE__ */ (0,
|
|
2929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: cn(className), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2822
2930
|
RPNInput.default,
|
|
2823
2931
|
{
|
|
2824
2932
|
className: cn("flex rounded-md", error && "border border-red-500/70"),
|
|
@@ -2834,9 +2942,9 @@ function PhoneNumberInput({
|
|
|
2834
2942
|
}
|
|
2835
2943
|
) });
|
|
2836
2944
|
}
|
|
2837
|
-
var PhoneInput = (0,
|
|
2945
|
+
var PhoneInput = (0, import_react6.forwardRef)(
|
|
2838
2946
|
({ className, ...props }, ref) => {
|
|
2839
|
-
return /* @__PURE__ */ (0,
|
|
2947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2840
2948
|
Input,
|
|
2841
2949
|
{
|
|
2842
2950
|
className: cn(
|
|
@@ -2859,7 +2967,7 @@ var CountrySelect = ({
|
|
|
2859
2967
|
const handleSelect = (event) => {
|
|
2860
2968
|
onChange(event.target.value);
|
|
2861
2969
|
};
|
|
2862
|
-
return /* @__PURE__ */ (0,
|
|
2970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2863
2971
|
"div",
|
|
2864
2972
|
{
|
|
2865
2973
|
className: cn(`relative inline-flex items-center self-stretch rounded-s-10 border border-input
|
|
@@ -2867,11 +2975,11 @@ var CountrySelect = ({
|
|
|
2867
2975
|
focus-within:border-ring focus-within:outline-none focus-within:ring-[3px] focus-within:ring-ring/20
|
|
2868
2976
|
hover:text-foreground has-disabled:pointer-events-none has-disabled:opacity-50`),
|
|
2869
2977
|
children: [
|
|
2870
|
-
/* @__PURE__ */ (0,
|
|
2871
|
-
/* @__PURE__ */ (0,
|
|
2872
|
-
/* @__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" }) })
|
|
2873
2981
|
] }),
|
|
2874
|
-
/* @__PURE__ */ (0,
|
|
2982
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2875
2983
|
"select",
|
|
2876
2984
|
{
|
|
2877
2985
|
disabled,
|
|
@@ -2880,8 +2988,8 @@ var CountrySelect = ({
|
|
|
2880
2988
|
className: "absolute inset-0 text-sm opacity-0",
|
|
2881
2989
|
"aria-label": "Select country",
|
|
2882
2990
|
children: [
|
|
2883
|
-
/* @__PURE__ */ (0,
|
|
2884
|
-
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: [
|
|
2885
2993
|
option.label,
|
|
2886
2994
|
" ",
|
|
2887
2995
|
option.value && `+${RPNInput.getCountryCallingCode(option.value)}`
|
|
@@ -2895,15 +3003,15 @@ var CountrySelect = ({
|
|
|
2895
3003
|
};
|
|
2896
3004
|
var FlagComponent = ({ country, countryName }) => {
|
|
2897
3005
|
const Flag = import_flags.default[country];
|
|
2898
|
-
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" }) });
|
|
2899
3007
|
};
|
|
2900
3008
|
|
|
2901
3009
|
// src/components/price-input.tsx
|
|
2902
|
-
var
|
|
2903
|
-
var
|
|
2904
|
-
var PriceInput =
|
|
3010
|
+
var import_react7 = __toESM(require("react"));
|
|
3011
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
3012
|
+
var PriceInput = import_react7.default.forwardRef(
|
|
2905
3013
|
({ currency, ...props }, ref) => {
|
|
2906
|
-
return /* @__PURE__ */ (0,
|
|
3014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2907
3015
|
"div",
|
|
2908
3016
|
{
|
|
2909
3017
|
className: cn(
|
|
@@ -2911,8 +3019,8 @@ var PriceInput = import_react6.default.forwardRef(
|
|
|
2911
3019
|
props.containerClassname
|
|
2912
3020
|
),
|
|
2913
3021
|
children: [
|
|
2914
|
-
!props.hide_currency_symbol && /* @__PURE__ */ (0,
|
|
2915
|
-
/* @__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)(
|
|
2916
3024
|
Input,
|
|
2917
3025
|
{
|
|
2918
3026
|
ref,
|
|
@@ -2922,7 +3030,7 @@ var PriceInput = import_react6.default.forwardRef(
|
|
|
2922
3030
|
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2923
3031
|
}
|
|
2924
3032
|
),
|
|
2925
|
-
!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 }) })
|
|
2926
3034
|
]
|
|
2927
3035
|
}
|
|
2928
3036
|
);
|
|
@@ -2933,8 +3041,8 @@ PriceInput.displayName = "PriceInput";
|
|
|
2933
3041
|
// src/components/progress.tsx
|
|
2934
3042
|
var React26 = __toESM(require("react"));
|
|
2935
3043
|
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
2936
|
-
var
|
|
2937
|
-
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)(
|
|
2938
3046
|
ProgressPrimitive.Root,
|
|
2939
3047
|
{
|
|
2940
3048
|
ref,
|
|
@@ -2943,7 +3051,7 @@ var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2943
3051
|
className
|
|
2944
3052
|
),
|
|
2945
3053
|
...props,
|
|
2946
|
-
children: /* @__PURE__ */ (0,
|
|
3054
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2947
3055
|
ProgressPrimitive.Indicator,
|
|
2948
3056
|
{
|
|
2949
3057
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2958,11 +3066,11 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
2958
3066
|
var React27 = __toESM(require("react"));
|
|
2959
3067
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
2960
3068
|
var import_lucide_react13 = require("lucide-react");
|
|
2961
|
-
var
|
|
3069
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2962
3070
|
var Select = SelectPrimitive.Root;
|
|
2963
3071
|
var SelectGroup = SelectPrimitive.Group;
|
|
2964
3072
|
var SelectValue = SelectPrimitive.Value;
|
|
2965
|
-
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)(
|
|
2966
3074
|
SelectPrimitive.Trigger,
|
|
2967
3075
|
{
|
|
2968
3076
|
ref,
|
|
@@ -2973,12 +3081,12 @@ var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref)
|
|
|
2973
3081
|
...props,
|
|
2974
3082
|
children: [
|
|
2975
3083
|
children,
|
|
2976
|
-
/* @__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" }) })
|
|
2977
3085
|
]
|
|
2978
3086
|
}
|
|
2979
3087
|
));
|
|
2980
3088
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2981
|
-
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3089
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2982
3090
|
SelectPrimitive.ScrollUpButton,
|
|
2983
3091
|
{
|
|
2984
3092
|
ref,
|
|
@@ -2987,11 +3095,11 @@ var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) =>
|
|
|
2987
3095
|
className
|
|
2988
3096
|
),
|
|
2989
3097
|
...props,
|
|
2990
|
-
children: /* @__PURE__ */ (0,
|
|
3098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.ChevronUp, { className: "h-4 w-4" })
|
|
2991
3099
|
}
|
|
2992
3100
|
));
|
|
2993
3101
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2994
|
-
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3102
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2995
3103
|
SelectPrimitive.ScrollDownButton,
|
|
2996
3104
|
{
|
|
2997
3105
|
ref,
|
|
@@ -3000,11 +3108,11 @@ var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) =
|
|
|
3000
3108
|
className
|
|
3001
3109
|
),
|
|
3002
3110
|
...props,
|
|
3003
|
-
children: /* @__PURE__ */ (0,
|
|
3111
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react13.ChevronDown, { className: "h-4 w-4" })
|
|
3004
3112
|
}
|
|
3005
3113
|
));
|
|
3006
3114
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
3007
|
-
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)(
|
|
3008
3116
|
SelectPrimitive.Content,
|
|
3009
3117
|
{
|
|
3010
3118
|
ref,
|
|
@@ -3016,8 +3124,8 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
3016
3124
|
position,
|
|
3017
3125
|
...props,
|
|
3018
3126
|
children: [
|
|
3019
|
-
/* @__PURE__ */ (0,
|
|
3020
|
-
/* @__PURE__ */ (0,
|
|
3127
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollUpButton, {}),
|
|
3128
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3021
3129
|
SelectPrimitive.Viewport,
|
|
3022
3130
|
{
|
|
3023
3131
|
className: cn(
|
|
@@ -3027,12 +3135,12 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
3027
3135
|
children
|
|
3028
3136
|
}
|
|
3029
3137
|
),
|
|
3030
|
-
/* @__PURE__ */ (0,
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollDownButton, {})
|
|
3031
3139
|
]
|
|
3032
3140
|
}
|
|
3033
3141
|
) }));
|
|
3034
3142
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
3035
|
-
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3143
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3036
3144
|
SelectPrimitive.Label,
|
|
3037
3145
|
{
|
|
3038
3146
|
ref,
|
|
@@ -3041,7 +3149,7 @@ var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3041
3149
|
}
|
|
3042
3150
|
));
|
|
3043
3151
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
3044
|
-
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)(
|
|
3045
3153
|
SelectPrimitive.Item,
|
|
3046
3154
|
{
|
|
3047
3155
|
ref,
|
|
@@ -3051,13 +3159,13 @@ var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
3051
3159
|
),
|
|
3052
3160
|
...props,
|
|
3053
3161
|
children: [
|
|
3054
|
-
/* @__PURE__ */ (0,
|
|
3055
|
-
/* @__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 })
|
|
3056
3164
|
]
|
|
3057
3165
|
}
|
|
3058
3166
|
));
|
|
3059
3167
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
3060
|
-
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3168
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3061
3169
|
SelectPrimitive.Separator,
|
|
3062
3170
|
{
|
|
3063
3171
|
ref,
|
|
@@ -3070,9 +3178,9 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
3070
3178
|
// src/components/separator.tsx
|
|
3071
3179
|
var React28 = __toESM(require("react"));
|
|
3072
3180
|
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
3073
|
-
var
|
|
3181
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3074
3182
|
var Separator3 = React28.forwardRef(
|
|
3075
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3183
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
3076
3184
|
SeparatorPrimitive.Root,
|
|
3077
3185
|
{
|
|
3078
3186
|
ref,
|
|
@@ -3094,12 +3202,12 @@ var React29 = __toESM(require("react"));
|
|
|
3094
3202
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
3095
3203
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
3096
3204
|
var import_lucide_react14 = require("lucide-react");
|
|
3097
|
-
var
|
|
3205
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
3098
3206
|
var Sheet = SheetPrimitive.Root;
|
|
3099
3207
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
3100
3208
|
var SheetClose = SheetPrimitive.Close;
|
|
3101
3209
|
var SheetPortal = SheetPrimitive.Portal;
|
|
3102
|
-
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3210
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3103
3211
|
SheetPrimitive.Overlay,
|
|
3104
3212
|
{
|
|
3105
3213
|
className: cn(
|
|
@@ -3127,9 +3235,9 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
|
|
|
3127
3235
|
}
|
|
3128
3236
|
}
|
|
3129
3237
|
);
|
|
3130
|
-
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3131
|
-
/* @__PURE__ */ (0,
|
|
3132
|
-
/* @__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)(
|
|
3133
3241
|
SheetPrimitive.Content,
|
|
3134
3242
|
{
|
|
3135
3243
|
ref,
|
|
@@ -3137,9 +3245,9 @@ var SheetContent = React29.forwardRef(({ side = "right", className, children, ..
|
|
|
3137
3245
|
...props,
|
|
3138
3246
|
children: [
|
|
3139
3247
|
children,
|
|
3140
|
-
/* @__PURE__ */ (0,
|
|
3141
|
-
/* @__PURE__ */ (0,
|
|
3142
|
-
/* @__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" })
|
|
3143
3251
|
] })
|
|
3144
3252
|
]
|
|
3145
3253
|
}
|
|
@@ -3149,7 +3257,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
3149
3257
|
var SheetHeader = ({
|
|
3150
3258
|
className,
|
|
3151
3259
|
...props
|
|
3152
|
-
}) => /* @__PURE__ */ (0,
|
|
3260
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3153
3261
|
"div",
|
|
3154
3262
|
{
|
|
3155
3263
|
className: cn(
|
|
@@ -3163,7 +3271,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
3163
3271
|
var SheetFooter = ({
|
|
3164
3272
|
className,
|
|
3165
3273
|
...props
|
|
3166
|
-
}) => /* @__PURE__ */ (0,
|
|
3274
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3167
3275
|
"div",
|
|
3168
3276
|
{
|
|
3169
3277
|
className: cn(
|
|
@@ -3174,7 +3282,7 @@ var SheetFooter = ({
|
|
|
3174
3282
|
}
|
|
3175
3283
|
);
|
|
3176
3284
|
SheetFooter.displayName = "SheetFooter";
|
|
3177
|
-
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3285
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3178
3286
|
SheetPrimitive.Title,
|
|
3179
3287
|
{
|
|
3180
3288
|
ref,
|
|
@@ -3183,7 +3291,7 @@ var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3183
3291
|
}
|
|
3184
3292
|
));
|
|
3185
3293
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
3186
|
-
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3294
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3187
3295
|
SheetPrimitive.Description,
|
|
3188
3296
|
{
|
|
3189
3297
|
ref,
|
|
@@ -3194,12 +3302,12 @@ var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3194
3302
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
3195
3303
|
|
|
3196
3304
|
// src/components/skeleton.tsx
|
|
3197
|
-
var
|
|
3305
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
3198
3306
|
function Skeleton({
|
|
3199
3307
|
className,
|
|
3200
3308
|
...props
|
|
3201
3309
|
}) {
|
|
3202
|
-
return /* @__PURE__ */ (0,
|
|
3310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
3203
3311
|
"div",
|
|
3204
3312
|
{
|
|
3205
3313
|
className: cn("animate-pulse rounded-lg bg-muted", className),
|
|
@@ -3212,7 +3320,7 @@ function Skeleton({
|
|
|
3212
3320
|
var import_merge_props3 = require("@base-ui-components/react/merge-props");
|
|
3213
3321
|
var import_use_render3 = require("@base-ui-components/react/use-render");
|
|
3214
3322
|
var import_class_variance_authority5 = require("class-variance-authority");
|
|
3215
|
-
var
|
|
3323
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
3216
3324
|
var statusIndicatorVariants = (0, import_class_variance_authority5.cva)(
|
|
3217
3325
|
"relative inline-flex size-2.5 shrink-0",
|
|
3218
3326
|
{
|
|
@@ -3243,8 +3351,8 @@ function StatusIndicator({
|
|
|
3243
3351
|
return (0, import_use_render3.useRender)({
|
|
3244
3352
|
defaultTagName: "span",
|
|
3245
3353
|
props: (0, import_merge_props3.mergeProps)(defaultProps, props),
|
|
3246
|
-
render: render || /* @__PURE__ */ (0,
|
|
3247
|
-
/* @__PURE__ */ (0,
|
|
3354
|
+
render: render || /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { ...defaultProps, children: [
|
|
3355
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
3248
3356
|
"span",
|
|
3249
3357
|
{
|
|
3250
3358
|
className: cn(
|
|
@@ -3253,16 +3361,16 @@ function StatusIndicator({
|
|
|
3253
3361
|
)
|
|
3254
3362
|
}
|
|
3255
3363
|
),
|
|
3256
|
-
/* @__PURE__ */ (0,
|
|
3364
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "relative inline-flex rounded-full size-2.5" })
|
|
3257
3365
|
] })
|
|
3258
3366
|
});
|
|
3259
3367
|
}
|
|
3260
3368
|
|
|
3261
3369
|
// src/components/switch.tsx
|
|
3262
3370
|
var import_switch = require("@base-ui-components/react/switch");
|
|
3263
|
-
var
|
|
3371
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3264
3372
|
function Switch({ className, ...props }) {
|
|
3265
|
-
return /* @__PURE__ */ (0,
|
|
3373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3266
3374
|
import_switch.Switch.Root,
|
|
3267
3375
|
{
|
|
3268
3376
|
className: cn(
|
|
@@ -3271,7 +3379,7 @@ function Switch({ className, ...props }) {
|
|
|
3271
3379
|
),
|
|
3272
3380
|
"data-slot": "switch",
|
|
3273
3381
|
...props,
|
|
3274
|
-
children: /* @__PURE__ */ (0,
|
|
3382
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3275
3383
|
import_switch.Switch.Thumb,
|
|
3276
3384
|
{
|
|
3277
3385
|
className: cn(
|
|
@@ -3285,14 +3393,14 @@ function Switch({ className, ...props }) {
|
|
|
3285
3393
|
}
|
|
3286
3394
|
|
|
3287
3395
|
// src/components/table.tsx
|
|
3288
|
-
var
|
|
3396
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3289
3397
|
function Table({ className, ...props }) {
|
|
3290
|
-
return /* @__PURE__ */ (0,
|
|
3398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3291
3399
|
"div",
|
|
3292
3400
|
{
|
|
3293
3401
|
className: "relative w-full overflow-x-auto",
|
|
3294
3402
|
"data-slot": "table-container",
|
|
3295
|
-
children: /* @__PURE__ */ (0,
|
|
3403
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3296
3404
|
"table",
|
|
3297
3405
|
{
|
|
3298
3406
|
className: cn(
|
|
@@ -3307,7 +3415,7 @@ function Table({ className, ...props }) {
|
|
|
3307
3415
|
);
|
|
3308
3416
|
}
|
|
3309
3417
|
function TableHeader({ className, ...props }) {
|
|
3310
|
-
return /* @__PURE__ */ (0,
|
|
3418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3311
3419
|
"thead",
|
|
3312
3420
|
{
|
|
3313
3421
|
className: cn(
|
|
@@ -3320,7 +3428,7 @@ function TableHeader({ className, ...props }) {
|
|
|
3320
3428
|
);
|
|
3321
3429
|
}
|
|
3322
3430
|
function TableBody({ className, ...props }) {
|
|
3323
|
-
return /* @__PURE__ */ (0,
|
|
3431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3324
3432
|
"tbody",
|
|
3325
3433
|
{
|
|
3326
3434
|
className: cn(
|
|
@@ -3333,7 +3441,7 @@ function TableBody({ className, ...props }) {
|
|
|
3333
3441
|
);
|
|
3334
3442
|
}
|
|
3335
3443
|
function TableFooter({ className, ...props }) {
|
|
3336
|
-
return /* @__PURE__ */ (0,
|
|
3444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3337
3445
|
"tfoot",
|
|
3338
3446
|
{
|
|
3339
3447
|
className: cn(
|
|
@@ -3346,7 +3454,7 @@ function TableFooter({ className, ...props }) {
|
|
|
3346
3454
|
);
|
|
3347
3455
|
}
|
|
3348
3456
|
function TableRow({ className, ...props }) {
|
|
3349
|
-
return /* @__PURE__ */ (0,
|
|
3457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3350
3458
|
"tr",
|
|
3351
3459
|
{
|
|
3352
3460
|
className: cn(
|
|
@@ -3359,7 +3467,7 @@ function TableRow({ className, ...props }) {
|
|
|
3359
3467
|
);
|
|
3360
3468
|
}
|
|
3361
3469
|
function TableHead({ className, ...props }) {
|
|
3362
|
-
return /* @__PURE__ */ (0,
|
|
3470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3363
3471
|
"th",
|
|
3364
3472
|
{
|
|
3365
3473
|
className: cn(
|
|
@@ -3372,7 +3480,7 @@ function TableHead({ className, ...props }) {
|
|
|
3372
3480
|
);
|
|
3373
3481
|
}
|
|
3374
3482
|
function TableCell({ className, ...props }) {
|
|
3375
|
-
return /* @__PURE__ */ (0,
|
|
3483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3376
3484
|
"td",
|
|
3377
3485
|
{
|
|
3378
3486
|
className: cn(
|
|
@@ -3388,7 +3496,7 @@ function TableCaption({
|
|
|
3388
3496
|
className,
|
|
3389
3497
|
...props
|
|
3390
3498
|
}) {
|
|
3391
|
-
return /* @__PURE__ */ (0,
|
|
3499
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3392
3500
|
"caption",
|
|
3393
3501
|
{
|
|
3394
3502
|
className: cn(
|
|
@@ -3404,9 +3512,9 @@ function TableCaption({
|
|
|
3404
3512
|
// src/components/tabs.tsx
|
|
3405
3513
|
var React30 = __toESM(require("react"));
|
|
3406
3514
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
3407
|
-
var
|
|
3515
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
3408
3516
|
var Tabs = TabsPrimitive.Root;
|
|
3409
|
-
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3517
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3410
3518
|
TabsPrimitive.List,
|
|
3411
3519
|
{
|
|
3412
3520
|
ref,
|
|
@@ -3418,7 +3526,7 @@ var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3418
3526
|
}
|
|
3419
3527
|
));
|
|
3420
3528
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3421
|
-
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3529
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3422
3530
|
TabsPrimitive.Trigger,
|
|
3423
3531
|
{
|
|
3424
3532
|
ref,
|
|
@@ -3430,7 +3538,7 @@ var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3430
3538
|
}
|
|
3431
3539
|
));
|
|
3432
3540
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3433
|
-
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
3541
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3434
3542
|
TabsPrimitive.Content,
|
|
3435
3543
|
{
|
|
3436
3544
|
ref,
|
|
@@ -3445,15 +3553,15 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
3445
3553
|
|
|
3446
3554
|
// src/components/tags-input.tsx
|
|
3447
3555
|
var import_emblor = require("emblor");
|
|
3448
|
-
var
|
|
3449
|
-
var
|
|
3556
|
+
var import_react8 = require("react");
|
|
3557
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3450
3558
|
|
|
3451
3559
|
// src/components/textarea.tsx
|
|
3452
3560
|
var React31 = __toESM(require("react"));
|
|
3453
|
-
var
|
|
3561
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3454
3562
|
var Textarea = React31.forwardRef(
|
|
3455
3563
|
({ className, ...props }, ref) => {
|
|
3456
|
-
return /* @__PURE__ */ (0,
|
|
3564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3457
3565
|
"textarea",
|
|
3458
3566
|
{
|
|
3459
3567
|
className: cn(
|
|
@@ -3470,7 +3578,7 @@ Textarea.displayName = "Textarea";
|
|
|
3470
3578
|
|
|
3471
3579
|
// src/components/timeline.tsx
|
|
3472
3580
|
var React32 = __toESM(require("react"));
|
|
3473
|
-
var
|
|
3581
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
3474
3582
|
var TimelineContext = React32.createContext(null);
|
|
3475
3583
|
function useTimeline() {
|
|
3476
3584
|
const context = React32.useContext(TimelineContext);
|
|
@@ -3480,7 +3588,7 @@ function useTimeline() {
|
|
|
3480
3588
|
return context;
|
|
3481
3589
|
}
|
|
3482
3590
|
var Timeline = React32.forwardRef(
|
|
3483
|
-
({ 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)(
|
|
3484
3592
|
"ol",
|
|
3485
3593
|
{
|
|
3486
3594
|
ref,
|
|
@@ -3498,7 +3606,7 @@ var Timeline = React32.forwardRef(
|
|
|
3498
3606
|
Timeline.displayName = "Timeline";
|
|
3499
3607
|
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3500
3608
|
const { orientation } = useTimeline();
|
|
3501
|
-
return /* @__PURE__ */ (0,
|
|
3609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3502
3610
|
"li",
|
|
3503
3611
|
{
|
|
3504
3612
|
ref,
|
|
@@ -3515,7 +3623,7 @@ var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3515
3623
|
TimelineItem.displayName = "TimelineItem";
|
|
3516
3624
|
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3517
3625
|
const { orientation } = useTimeline();
|
|
3518
|
-
return /* @__PURE__ */ (0,
|
|
3626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3519
3627
|
"div",
|
|
3520
3628
|
{
|
|
3521
3629
|
ref,
|
|
@@ -3532,7 +3640,7 @@ var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3532
3640
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3533
3641
|
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3534
3642
|
const { orientation } = useTimeline();
|
|
3535
|
-
return /* @__PURE__ */ (0,
|
|
3643
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3536
3644
|
"div",
|
|
3537
3645
|
{
|
|
3538
3646
|
ref,
|
|
@@ -3551,7 +3659,7 @@ var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props
|
|
|
3551
3659
|
TimelineDot.displayName = "TimelineDot";
|
|
3552
3660
|
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3553
3661
|
const { orientation } = useTimeline();
|
|
3554
|
-
return /* @__PURE__ */ (0,
|
|
3662
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3555
3663
|
"div",
|
|
3556
3664
|
{
|
|
3557
3665
|
ref,
|
|
@@ -3569,7 +3677,7 @@ var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3569
3677
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3570
3678
|
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3571
3679
|
const { orientation } = useTimeline();
|
|
3572
|
-
return /* @__PURE__ */ (0,
|
|
3680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3573
3681
|
"div",
|
|
3574
3682
|
{
|
|
3575
3683
|
ref,
|
|
@@ -3587,12 +3695,12 @@ var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3587
3695
|
TimelineContent.displayName = "TimelineContent";
|
|
3588
3696
|
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3589
3697
|
const { orientation } = useTimeline();
|
|
3590
|
-
return /* @__PURE__ */ (0,
|
|
3698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, "data-orientation": orientation, ...props });
|
|
3591
3699
|
});
|
|
3592
3700
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3593
3701
|
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3594
3702
|
const { orientation } = useTimeline();
|
|
3595
|
-
return /* @__PURE__ */ (0,
|
|
3703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3596
3704
|
"div",
|
|
3597
3705
|
{
|
|
3598
3706
|
ref,
|
|
@@ -3607,11 +3715,11 @@ TimelineDescription.displayName = "TimelineDescription";
|
|
|
3607
3715
|
// src/components/tooltip.tsx
|
|
3608
3716
|
var React33 = __toESM(require("react"));
|
|
3609
3717
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
3610
|
-
var
|
|
3718
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
3611
3719
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3612
3720
|
var Tooltip = TooltipPrimitive.Root;
|
|
3613
3721
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3614
|
-
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)(
|
|
3615
3723
|
TooltipPrimitive.Content,
|
|
3616
3724
|
{
|
|
3617
3725
|
ref,
|
|
@@ -3744,11 +3852,14 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3744
3852
|
FormMessage,
|
|
3745
3853
|
Icon,
|
|
3746
3854
|
ImageCard,
|
|
3855
|
+
ImageZoom,
|
|
3747
3856
|
Input,
|
|
3748
3857
|
InputOTP,
|
|
3749
3858
|
InputOTPGroup,
|
|
3750
3859
|
InputOTPSeparator,
|
|
3751
3860
|
InputOTPSlot,
|
|
3861
|
+
Kbd,
|
|
3862
|
+
KbdKey,
|
|
3752
3863
|
Label,
|
|
3753
3864
|
MultiSelect,
|
|
3754
3865
|
PhoneNumberInput,
|