@use-stall/ui 0.1.3 → 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 +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +221 -143
- package/dist/index.mjs +199 -122
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -2244,24 +2244,100 @@ FormMessage.displayName = "FormMessage";
|
|
|
2244
2244
|
|
|
2245
2245
|
// src/components/image-card.tsx
|
|
2246
2246
|
import React19 from "react";
|
|
2247
|
+
|
|
2248
|
+
// src/components/image-zoom.tsx
|
|
2249
|
+
import Zoom from "react-medium-image-zoom";
|
|
2247
2250
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2251
|
+
var ImageZoom = ({
|
|
2252
|
+
className,
|
|
2253
|
+
backdropClassName,
|
|
2254
|
+
...props
|
|
2255
|
+
}) => /* @__PURE__ */ jsx23(
|
|
2256
|
+
"div",
|
|
2257
|
+
{
|
|
2258
|
+
className: cn(
|
|
2259
|
+
"relative",
|
|
2260
|
+
"**:data-rmiz-ghost:pointer-events-none **:data-rmiz-ghost:absolute",
|
|
2261
|
+
"**: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",
|
|
2262
|
+
"**: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",
|
|
2263
|
+
"[&_[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)]",
|
|
2264
|
+
"**: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",
|
|
2265
|
+
"**: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",
|
|
2266
|
+
'[&_[data-rmiz-content="found"]_img]:cursor-zoom-in',
|
|
2267
|
+
'[&_[data-rmiz-content="found"]_svg]:cursor-zoom-in',
|
|
2268
|
+
'[&_[data-rmiz-content="found"]_[role="img"]]:cursor-zoom-in',
|
|
2269
|
+
'[&_[data-rmiz-content="found"]_[data-zoom]]:cursor-zoom-in',
|
|
2270
|
+
className
|
|
2271
|
+
),
|
|
2272
|
+
children: /* @__PURE__ */ jsx23(
|
|
2273
|
+
Zoom,
|
|
2274
|
+
{
|
|
2275
|
+
classDialog: cn(
|
|
2276
|
+
"backdrop:hidden",
|
|
2277
|
+
"[[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",
|
|
2278
|
+
"**:data-rmiz-modal-overlay:absolute **:data-rmiz-modal-overlay:inset-0 **:data-rmiz-modal-overlay:transition-all",
|
|
2279
|
+
'**:data-[rmiz-modal-overlay="hidden"]:bg-transparent',
|
|
2280
|
+
'**:data-[rmiz-modal-overlay="visible"]:bg-background/80 **:data-[rmiz-modal-overlay="visible"]:backdrop-blur-md',
|
|
2281
|
+
"**:data-rmiz-modal-content:relative **:data-rmiz-modal-content:size-full",
|
|
2282
|
+
"**: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",
|
|
2283
|
+
"motion-reduce:**:data-rmiz-modal-img:transition-none motion-reduce:**:data-rmiz-modal-overlay:transition-none",
|
|
2284
|
+
backdropClassName
|
|
2285
|
+
),
|
|
2286
|
+
...props
|
|
2287
|
+
}
|
|
2288
|
+
)
|
|
2289
|
+
}
|
|
2290
|
+
);
|
|
2291
|
+
|
|
2292
|
+
// src/components/image-card.tsx
|
|
2293
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2248
2294
|
var ImageCard = React19.memo(
|
|
2249
|
-
({
|
|
2250
|
-
|
|
2251
|
-
|
|
2295
|
+
({
|
|
2296
|
+
src = "",
|
|
2297
|
+
alt = "",
|
|
2298
|
+
onErrorImage = "/images/default_prod.png",
|
|
2299
|
+
className,
|
|
2300
|
+
imageClassName,
|
|
2301
|
+
disableZoom = false
|
|
2302
|
+
}) => {
|
|
2303
|
+
return /* @__PURE__ */ jsx24(
|
|
2304
|
+
"div",
|
|
2252
2305
|
{
|
|
2253
|
-
onError: (e) => {
|
|
2254
|
-
const target = e?.currentTarget;
|
|
2255
|
-
if (target) {
|
|
2256
|
-
target.src = onErrorImage || "";
|
|
2257
|
-
}
|
|
2258
|
-
},
|
|
2259
|
-
src,
|
|
2260
|
-
alt,
|
|
2261
2306
|
className: cn(
|
|
2262
|
-
`h-
|
|
2263
|
-
|
|
2307
|
+
`h-9 w-9 rounded-lg shadow-sm drop-shadow-sm border border-border
|
|
2308
|
+
overflow-hidden bg-background shrink-0 relative`,
|
|
2264
2309
|
className
|
|
2310
|
+
),
|
|
2311
|
+
children: /* @__PURE__ */ jsx24(
|
|
2312
|
+
ImageZoom,
|
|
2313
|
+
{
|
|
2314
|
+
isDisabled: disableZoom,
|
|
2315
|
+
className: cn(
|
|
2316
|
+
`h-full w-full rounded-[inherit] overflow-hidden
|
|
2317
|
+
[&_div]:h-full [&_div]:w-full`,
|
|
2318
|
+
{
|
|
2319
|
+
"**:cursor-pointer!": disableZoom
|
|
2320
|
+
}
|
|
2321
|
+
),
|
|
2322
|
+
children: /* @__PURE__ */ jsx24(
|
|
2323
|
+
"img",
|
|
2324
|
+
{
|
|
2325
|
+
onError: (e) => {
|
|
2326
|
+
const target = e?.currentTarget;
|
|
2327
|
+
if (target) {
|
|
2328
|
+
target.src = onErrorImage;
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
src,
|
|
2332
|
+
alt,
|
|
2333
|
+
className: cn(
|
|
2334
|
+
`h-full w-full bg-main-background object-cover! object-center! rounded-lg
|
|
2335
|
+
border-[3px] border-white dark:border-zinc-800`,
|
|
2336
|
+
imageClassName
|
|
2337
|
+
)
|
|
2338
|
+
}
|
|
2339
|
+
)
|
|
2340
|
+
}
|
|
2265
2341
|
)
|
|
2266
2342
|
}
|
|
2267
2343
|
);
|
|
@@ -2272,8 +2348,8 @@ var ImageCard = React19.memo(
|
|
|
2272
2348
|
import * as React20 from "react";
|
|
2273
2349
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
2274
2350
|
import { Dot } from "lucide-react";
|
|
2275
|
-
import { jsx as
|
|
2276
|
-
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */
|
|
2351
|
+
import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2352
|
+
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx25(
|
|
2277
2353
|
OTPInput,
|
|
2278
2354
|
{
|
|
2279
2355
|
ref,
|
|
@@ -2286,7 +2362,7 @@ var InputOTP = React20.forwardRef(({ className, containerClassName, ...props },
|
|
|
2286
2362
|
}
|
|
2287
2363
|
));
|
|
2288
2364
|
InputOTP.displayName = "InputOTP";
|
|
2289
|
-
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2365
|
+
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
2290
2366
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2291
2367
|
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2292
2368
|
const inputOTPContext = React20.useContext(OTPInputContext);
|
|
@@ -2303,29 +2379,29 @@ var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2303
2379
|
...props,
|
|
2304
2380
|
children: [
|
|
2305
2381
|
char,
|
|
2306
|
-
hasFakeCaret && /* @__PURE__ */
|
|
2382
|
+
hasFakeCaret && /* @__PURE__ */ jsx25("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx25("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
2307
2383
|
]
|
|
2308
2384
|
}
|
|
2309
2385
|
);
|
|
2310
2386
|
});
|
|
2311
2387
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2312
|
-
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */
|
|
2388
|
+
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx25(Dot, {}) }));
|
|
2313
2389
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2314
2390
|
|
|
2315
2391
|
// src/components/kbd.tsx
|
|
2316
2392
|
import { Fragment } from "react";
|
|
2317
|
-
import { jsx as
|
|
2393
|
+
import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2318
2394
|
var DefaultKbdSeparator = ({
|
|
2319
2395
|
className,
|
|
2320
2396
|
children = "+",
|
|
2321
2397
|
...props
|
|
2322
|
-
}) => /* @__PURE__ */
|
|
2398
|
+
}) => /* @__PURE__ */ jsx26("span", { className: cn("text-muted-foreground/50", className), ...props, children });
|
|
2323
2399
|
var Kbd = ({
|
|
2324
2400
|
className,
|
|
2325
|
-
separator = /* @__PURE__ */
|
|
2401
|
+
separator = /* @__PURE__ */ jsx26(DefaultKbdSeparator, {}),
|
|
2326
2402
|
children,
|
|
2327
2403
|
...props
|
|
2328
|
-
}) => /* @__PURE__ */
|
|
2404
|
+
}) => /* @__PURE__ */ jsx26(
|
|
2329
2405
|
"span",
|
|
2330
2406
|
{
|
|
2331
2407
|
className: cn(
|
|
@@ -2339,28 +2415,28 @@ var Kbd = ({
|
|
|
2339
2415
|
] }, index)) : children
|
|
2340
2416
|
}
|
|
2341
2417
|
);
|
|
2342
|
-
var KbdKey = ({ ...props }) => /* @__PURE__ */
|
|
2418
|
+
var KbdKey = ({ ...props }) => /* @__PURE__ */ jsx26("kbd", { ...props });
|
|
2343
2419
|
|
|
2344
2420
|
// src/components/modal-container.tsx
|
|
2345
2421
|
import React21 from "react";
|
|
2346
2422
|
import { motion } from "framer-motion";
|
|
2347
|
-
import { jsx as
|
|
2423
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
2348
2424
|
var ModalContainer = React21.memo((props) => {
|
|
2349
|
-
return /* @__PURE__ */
|
|
2425
|
+
return /* @__PURE__ */ jsx27(
|
|
2350
2426
|
motion.div,
|
|
2351
2427
|
{
|
|
2352
2428
|
initial: { y: 10, opacity: 0 },
|
|
2353
2429
|
exit: { y: 10, opacity: 0 },
|
|
2354
2430
|
animate: { y: 0, opacity: 1 },
|
|
2355
2431
|
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",
|
|
2356
|
-
children: /* @__PURE__ */
|
|
2432
|
+
children: /* @__PURE__ */ jsx27("div", { className: "w-full h-full overflow-hidden overflow-y-auto flex justify-center", children: /* @__PURE__ */ jsx27("div", { className: "w-full max-w-[700px] h-fit shrink-0 overflow-hidden flex flex-col p-4", children: props.children }) })
|
|
2357
2433
|
}
|
|
2358
2434
|
);
|
|
2359
2435
|
});
|
|
2360
2436
|
|
|
2361
2437
|
// src/components/multi-select.tsx
|
|
2362
2438
|
import * as React22 from "react";
|
|
2363
|
-
import { jsx as
|
|
2439
|
+
import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2364
2440
|
var MultiSelect = ({
|
|
2365
2441
|
options: options2 = [],
|
|
2366
2442
|
value = [],
|
|
@@ -2394,15 +2470,15 @@ var MultiSelect = ({
|
|
|
2394
2470
|
onValueChange: handleValueChange,
|
|
2395
2471
|
disabled: maxCount === options2.length,
|
|
2396
2472
|
children: [
|
|
2397
|
-
/* @__PURE__ */
|
|
2473
|
+
/* @__PURE__ */ jsx28(
|
|
2398
2474
|
ComboboxChips,
|
|
2399
2475
|
{
|
|
2400
2476
|
className: cn(
|
|
2401
2477
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2402
2478
|
className
|
|
2403
2479
|
),
|
|
2404
|
-
children: /* @__PURE__ */
|
|
2405
|
-
value2?.map((item) => /* @__PURE__ */
|
|
2480
|
+
children: /* @__PURE__ */ jsx28(ComboboxValue, { children: (value2) => /* @__PURE__ */ jsxs17(React22.Fragment, { children: [
|
|
2481
|
+
value2?.map((item) => /* @__PURE__ */ jsx28(
|
|
2406
2482
|
ComboboxChip,
|
|
2407
2483
|
{
|
|
2408
2484
|
"aria-label": item.value,
|
|
@@ -2411,7 +2487,7 @@ var MultiSelect = ({
|
|
|
2411
2487
|
},
|
|
2412
2488
|
item.value
|
|
2413
2489
|
)),
|
|
2414
|
-
/* @__PURE__ */
|
|
2490
|
+
/* @__PURE__ */ jsx28(
|
|
2415
2491
|
ComboboxInput,
|
|
2416
2492
|
{
|
|
2417
2493
|
placeholder: value2.length > 0 ? void 0 : placeholder || "Select an item...",
|
|
@@ -2427,12 +2503,12 @@ var MultiSelect = ({
|
|
|
2427
2503
|
),
|
|
2428
2504
|
/* @__PURE__ */ jsxs17(ComboboxPopup, { className: "rounded-xl", children: [
|
|
2429
2505
|
/* @__PURE__ */ jsxs17(ComboboxEmpty, { className: "w-full center-flex flex-col", children: [
|
|
2430
|
-
/* @__PURE__ */
|
|
2506
|
+
/* @__PURE__ */ jsx28(
|
|
2431
2507
|
"div",
|
|
2432
2508
|
{
|
|
2433
2509
|
style: { borderRadius: "30% 70% 70% 30% / 30% 38% 62% 70%" },
|
|
2434
2510
|
className: "mt-8 size-24 center-flex bg-accent/50 rounded-blob",
|
|
2435
|
-
children: /* @__PURE__ */
|
|
2511
|
+
children: /* @__PURE__ */ jsx28(
|
|
2436
2512
|
"img",
|
|
2437
2513
|
{
|
|
2438
2514
|
src: "/images/no-direction.png",
|
|
@@ -2442,10 +2518,10 @@ var MultiSelect = ({
|
|
|
2442
2518
|
)
|
|
2443
2519
|
}
|
|
2444
2520
|
),
|
|
2445
|
-
/* @__PURE__ */
|
|
2446
|
-
/* @__PURE__ */
|
|
2521
|
+
/* @__PURE__ */ jsx28("h1", { className: "mt-4 text-sm text-foreground font-semibold", children: "Nothing Found" }),
|
|
2522
|
+
/* @__PURE__ */ jsx28("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" })
|
|
2447
2523
|
] }),
|
|
2448
|
-
/* @__PURE__ */
|
|
2524
|
+
/* @__PURE__ */ jsx28(ComboboxList, { children: (item) => /* @__PURE__ */ jsx28(
|
|
2449
2525
|
ComboboxItem,
|
|
2450
2526
|
{
|
|
2451
2527
|
value: item,
|
|
@@ -2464,7 +2540,7 @@ MultiSelect.displayName = "MultiSelect";
|
|
|
2464
2540
|
// src/components/password-input.tsx
|
|
2465
2541
|
import { Check as Check5, Eye, EyeOff, X } from "lucide-react";
|
|
2466
2542
|
import React23 from "react";
|
|
2467
|
-
import { jsx as
|
|
2543
|
+
import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2468
2544
|
var PasswordInput = React23.forwardRef(
|
|
2469
2545
|
({ className, onSubmit, showStrength, ...props }, ref) => {
|
|
2470
2546
|
const [isVisible, setIsVisible] = React23.useState(false);
|
|
@@ -2507,7 +2583,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2507
2583
|
};
|
|
2508
2584
|
return /* @__PURE__ */ jsxs18("div", { className: "relative w-full", children: [
|
|
2509
2585
|
/* @__PURE__ */ jsxs18("div", { className: "relative w-full", children: [
|
|
2510
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ jsx29(
|
|
2511
2587
|
Input,
|
|
2512
2588
|
{
|
|
2513
2589
|
className: cn("pe-9", className),
|
|
@@ -2518,7 +2594,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2518
2594
|
onSubmit: handleSubmit
|
|
2519
2595
|
}
|
|
2520
2596
|
),
|
|
2521
|
-
showStrength && /* @__PURE__ */
|
|
2597
|
+
showStrength && /* @__PURE__ */ jsx29(
|
|
2522
2598
|
"input",
|
|
2523
2599
|
{
|
|
2524
2600
|
title: "password",
|
|
@@ -2528,7 +2604,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2528
2604
|
value: showStrength ? strengthScore >= 4 ? props?.value : "" : props.value
|
|
2529
2605
|
}
|
|
2530
2606
|
),
|
|
2531
|
-
/* @__PURE__ */
|
|
2607
|
+
/* @__PURE__ */ jsx29(
|
|
2532
2608
|
"button",
|
|
2533
2609
|
{
|
|
2534
2610
|
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",
|
|
@@ -2537,12 +2613,12 @@ var PasswordInput = React23.forwardRef(
|
|
|
2537
2613
|
"aria-label": isVisible ? "Hide password" : "Show password",
|
|
2538
2614
|
"aria-pressed": isVisible,
|
|
2539
2615
|
"aria-controls": "password",
|
|
2540
|
-
children: isVisible ? /* @__PURE__ */
|
|
2616
|
+
children: isVisible ? /* @__PURE__ */ jsx29(EyeOff, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) : /* @__PURE__ */ jsx29(Eye, { size: 16, strokeWidth: 2, "aria-hidden": "true" })
|
|
2541
2617
|
}
|
|
2542
2618
|
)
|
|
2543
2619
|
] }),
|
|
2544
2620
|
showStrength && /* @__PURE__ */ jsxs18(React23.Fragment, { children: [
|
|
2545
|
-
/* @__PURE__ */
|
|
2621
|
+
/* @__PURE__ */ jsx29(
|
|
2546
2622
|
"div",
|
|
2547
2623
|
{
|
|
2548
2624
|
className: "my-3 h-1 w-full overflow-hidden rounded-full bg-border",
|
|
@@ -2551,7 +2627,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2551
2627
|
"aria-valuemin": 0,
|
|
2552
2628
|
"aria-valuemax": 4,
|
|
2553
2629
|
"aria-label": "Password strength",
|
|
2554
|
-
children: /* @__PURE__ */
|
|
2630
|
+
children: /* @__PURE__ */ jsx29(
|
|
2555
2631
|
"div",
|
|
2556
2632
|
{
|
|
2557
2633
|
className: `h-full ${getStrengthColor(
|
|
@@ -2573,15 +2649,15 @@ var PasswordInput = React23.forwardRef(
|
|
|
2573
2649
|
]
|
|
2574
2650
|
}
|
|
2575
2651
|
),
|
|
2576
|
-
/* @__PURE__ */
|
|
2577
|
-
req.met ? /* @__PURE__ */
|
|
2652
|
+
/* @__PURE__ */ jsx29("ul", { className: "space-y-1.5", "aria-label": "Password requirements", children: strength.map((req, index) => /* @__PURE__ */ jsxs18("li", { className: "flex items-center gap-2", children: [
|
|
2653
|
+
req.met ? /* @__PURE__ */ jsx29(
|
|
2578
2654
|
Check5,
|
|
2579
2655
|
{
|
|
2580
2656
|
size: 16,
|
|
2581
2657
|
className: "text-emerald-500",
|
|
2582
2658
|
"aria-hidden": "true"
|
|
2583
2659
|
}
|
|
2584
|
-
) : /* @__PURE__ */
|
|
2660
|
+
) : /* @__PURE__ */ jsx29(
|
|
2585
2661
|
X,
|
|
2586
2662
|
{
|
|
2587
2663
|
size: 16,
|
|
@@ -2595,7 +2671,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2595
2671
|
className: `text-xs ${req.met ? "text-emerald-600" : "text-muted-foreground"}`,
|
|
2596
2672
|
children: [
|
|
2597
2673
|
req.text,
|
|
2598
|
-
/* @__PURE__ */
|
|
2674
|
+
/* @__PURE__ */ jsx29("span", { className: "sr-only", children: req.met ? " - Requirement met" : " - Requirement not met" })
|
|
2599
2675
|
]
|
|
2600
2676
|
}
|
|
2601
2677
|
)
|
|
@@ -2613,7 +2689,7 @@ import { forwardRef as forwardRef16, useState as useState3 } from "react";
|
|
|
2613
2689
|
import * as RPNInput from "react-phone-number-input";
|
|
2614
2690
|
import flags from "react-phone-number-input/flags";
|
|
2615
2691
|
import { isValidPhoneNumber } from "react-phone-number-input";
|
|
2616
|
-
import { jsx as
|
|
2692
|
+
import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2617
2693
|
function PhoneNumberInput({
|
|
2618
2694
|
className = "",
|
|
2619
2695
|
...props
|
|
@@ -2627,7 +2703,7 @@ function PhoneNumberInput({
|
|
|
2627
2703
|
}
|
|
2628
2704
|
props.onChange(newValue ?? "");
|
|
2629
2705
|
};
|
|
2630
|
-
return /* @__PURE__ */
|
|
2706
|
+
return /* @__PURE__ */ jsx30("div", { className: cn(className), children: /* @__PURE__ */ jsx30(
|
|
2631
2707
|
RPNInput.default,
|
|
2632
2708
|
{
|
|
2633
2709
|
className: cn("flex rounded-md", error && "border border-red-500/70"),
|
|
@@ -2645,7 +2721,7 @@ function PhoneNumberInput({
|
|
|
2645
2721
|
}
|
|
2646
2722
|
var PhoneInput = forwardRef16(
|
|
2647
2723
|
({ className, ...props }, ref) => {
|
|
2648
|
-
return /* @__PURE__ */
|
|
2724
|
+
return /* @__PURE__ */ jsx30(
|
|
2649
2725
|
Input,
|
|
2650
2726
|
{
|
|
2651
2727
|
className: cn(
|
|
@@ -2677,8 +2753,8 @@ var CountrySelect = ({
|
|
|
2677
2753
|
hover:text-foreground has-disabled:pointer-events-none has-disabled:opacity-50`),
|
|
2678
2754
|
children: [
|
|
2679
2755
|
/* @__PURE__ */ jsxs19("div", { className: "inline-flex items-center gap-1", "aria-hidden": "true", children: [
|
|
2680
|
-
/* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2756
|
+
/* @__PURE__ */ jsx30(FlagComponent, { country: value, countryName: value, "aria-hidden": "true" }),
|
|
2757
|
+
/* @__PURE__ */ jsx30("span", { className: "text-muted-foreground/80", children: /* @__PURE__ */ jsx30(ChevronDown2, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) })
|
|
2682
2758
|
] }),
|
|
2683
2759
|
/* @__PURE__ */ jsxs19(
|
|
2684
2760
|
"select",
|
|
@@ -2689,7 +2765,7 @@ var CountrySelect = ({
|
|
|
2689
2765
|
className: "absolute inset-0 text-sm opacity-0",
|
|
2690
2766
|
"aria-label": "Select country",
|
|
2691
2767
|
children: [
|
|
2692
|
-
/* @__PURE__ */
|
|
2768
|
+
/* @__PURE__ */ jsx30("option", { value: "", children: "Select a country" }, "default"),
|
|
2693
2769
|
options2.filter((x) => x.value).map((option, i) => /* @__PURE__ */ jsxs19("option", { value: option.value, children: [
|
|
2694
2770
|
option.label,
|
|
2695
2771
|
" ",
|
|
@@ -2704,12 +2780,12 @@ var CountrySelect = ({
|
|
|
2704
2780
|
};
|
|
2705
2781
|
var FlagComponent = ({ country, countryName }) => {
|
|
2706
2782
|
const Flag = flags[country];
|
|
2707
|
-
return /* @__PURE__ */
|
|
2783
|
+
return /* @__PURE__ */ jsx30("span", { className: "w-5 overflow-hidden rounded-sm", children: Flag ? /* @__PURE__ */ jsx30(Flag, { title: countryName }) : /* @__PURE__ */ jsx30(Phone, { size: 16, "aria-hidden": "true" }) });
|
|
2708
2784
|
};
|
|
2709
2785
|
|
|
2710
2786
|
// src/components/price-input.tsx
|
|
2711
2787
|
import React25 from "react";
|
|
2712
|
-
import { jsx as
|
|
2788
|
+
import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2713
2789
|
var PriceInput = React25.forwardRef(
|
|
2714
2790
|
({ currency, ...props }, ref) => {
|
|
2715
2791
|
return /* @__PURE__ */ jsxs20(
|
|
@@ -2720,8 +2796,8 @@ var PriceInput = React25.forwardRef(
|
|
|
2720
2796
|
props.containerClassname
|
|
2721
2797
|
),
|
|
2722
2798
|
children: [
|
|
2723
|
-
!props.hide_currency_symbol && /* @__PURE__ */
|
|
2724
|
-
/* @__PURE__ */
|
|
2799
|
+
!props.hide_currency_symbol && /* @__PURE__ */ jsx31("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx31("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2800
|
+
/* @__PURE__ */ jsx31(
|
|
2725
2801
|
Input,
|
|
2726
2802
|
{
|
|
2727
2803
|
ref,
|
|
@@ -2731,7 +2807,7 @@ var PriceInput = React25.forwardRef(
|
|
|
2731
2807
|
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2732
2808
|
}
|
|
2733
2809
|
),
|
|
2734
|
-
!props.hide_currency_code && /* @__PURE__ */
|
|
2810
|
+
!props.hide_currency_code && /* @__PURE__ */ jsx31("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ jsx31("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2735
2811
|
]
|
|
2736
2812
|
}
|
|
2737
2813
|
);
|
|
@@ -2742,8 +2818,8 @@ PriceInput.displayName = "PriceInput";
|
|
|
2742
2818
|
// src/components/progress.tsx
|
|
2743
2819
|
import * as React26 from "react";
|
|
2744
2820
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2745
|
-
import { jsx as
|
|
2746
|
-
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */
|
|
2821
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
2822
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2747
2823
|
ProgressPrimitive.Root,
|
|
2748
2824
|
{
|
|
2749
2825
|
ref,
|
|
@@ -2752,7 +2828,7 @@ var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2752
2828
|
className
|
|
2753
2829
|
),
|
|
2754
2830
|
...props,
|
|
2755
|
-
children: /* @__PURE__ */
|
|
2831
|
+
children: /* @__PURE__ */ jsx32(
|
|
2756
2832
|
ProgressPrimitive.Indicator,
|
|
2757
2833
|
{
|
|
2758
2834
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2767,7 +2843,7 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
2767
2843
|
import * as React27 from "react";
|
|
2768
2844
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2769
2845
|
import { Check as Check6, ChevronDown as ChevronDown3, ChevronUp } from "lucide-react";
|
|
2770
|
-
import { jsx as
|
|
2846
|
+
import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2771
2847
|
var Select = SelectPrimitive.Root;
|
|
2772
2848
|
var SelectGroup = SelectPrimitive.Group;
|
|
2773
2849
|
var SelectValue = SelectPrimitive.Value;
|
|
@@ -2782,12 +2858,12 @@ var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref)
|
|
|
2782
2858
|
...props,
|
|
2783
2859
|
children: [
|
|
2784
2860
|
children,
|
|
2785
|
-
/* @__PURE__ */
|
|
2861
|
+
/* @__PURE__ */ jsx33(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx33(ChevronDown3, { className: "h-4 w-4 opacity-50" }) })
|
|
2786
2862
|
]
|
|
2787
2863
|
}
|
|
2788
2864
|
));
|
|
2789
2865
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2790
|
-
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2866
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2791
2867
|
SelectPrimitive.ScrollUpButton,
|
|
2792
2868
|
{
|
|
2793
2869
|
ref,
|
|
@@ -2796,11 +2872,11 @@ var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) =>
|
|
|
2796
2872
|
className
|
|
2797
2873
|
),
|
|
2798
2874
|
...props,
|
|
2799
|
-
children: /* @__PURE__ */
|
|
2875
|
+
children: /* @__PURE__ */ jsx33(ChevronUp, { className: "h-4 w-4" })
|
|
2800
2876
|
}
|
|
2801
2877
|
));
|
|
2802
2878
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2803
|
-
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2879
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2804
2880
|
SelectPrimitive.ScrollDownButton,
|
|
2805
2881
|
{
|
|
2806
2882
|
ref,
|
|
@@ -2809,11 +2885,11 @@ var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) =
|
|
|
2809
2885
|
className
|
|
2810
2886
|
),
|
|
2811
2887
|
...props,
|
|
2812
|
-
children: /* @__PURE__ */
|
|
2888
|
+
children: /* @__PURE__ */ jsx33(ChevronDown3, { className: "h-4 w-4" })
|
|
2813
2889
|
}
|
|
2814
2890
|
));
|
|
2815
2891
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
2816
|
-
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */
|
|
2892
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx33(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs21(
|
|
2817
2893
|
SelectPrimitive.Content,
|
|
2818
2894
|
{
|
|
2819
2895
|
ref,
|
|
@@ -2825,8 +2901,8 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
2825
2901
|
position,
|
|
2826
2902
|
...props,
|
|
2827
2903
|
children: [
|
|
2828
|
-
/* @__PURE__ */
|
|
2829
|
-
/* @__PURE__ */
|
|
2904
|
+
/* @__PURE__ */ jsx33(SelectScrollUpButton, {}),
|
|
2905
|
+
/* @__PURE__ */ jsx33(
|
|
2830
2906
|
SelectPrimitive.Viewport,
|
|
2831
2907
|
{
|
|
2832
2908
|
className: cn(
|
|
@@ -2836,12 +2912,12 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
2836
2912
|
children
|
|
2837
2913
|
}
|
|
2838
2914
|
),
|
|
2839
|
-
/* @__PURE__ */
|
|
2915
|
+
/* @__PURE__ */ jsx33(SelectScrollDownButton, {})
|
|
2840
2916
|
]
|
|
2841
2917
|
}
|
|
2842
2918
|
) }));
|
|
2843
2919
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2844
|
-
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2920
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2845
2921
|
SelectPrimitive.Label,
|
|
2846
2922
|
{
|
|
2847
2923
|
ref,
|
|
@@ -2860,13 +2936,13 @@ var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2860
2936
|
),
|
|
2861
2937
|
...props,
|
|
2862
2938
|
children: [
|
|
2863
|
-
/* @__PURE__ */
|
|
2864
|
-
/* @__PURE__ */
|
|
2939
|
+
/* @__PURE__ */ jsx33("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx33(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx33(Check6, { className: "h-4 w-4" }) }) }),
|
|
2940
|
+
/* @__PURE__ */ jsx33(SelectPrimitive.ItemText, { children })
|
|
2865
2941
|
]
|
|
2866
2942
|
}
|
|
2867
2943
|
));
|
|
2868
2944
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2869
|
-
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2945
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2870
2946
|
SelectPrimitive.Separator,
|
|
2871
2947
|
{
|
|
2872
2948
|
ref,
|
|
@@ -2879,9 +2955,9 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
2879
2955
|
// src/components/separator.tsx
|
|
2880
2956
|
import * as React28 from "react";
|
|
2881
2957
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2882
|
-
import { jsx as
|
|
2958
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2883
2959
|
var Separator3 = React28.forwardRef(
|
|
2884
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */
|
|
2960
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx34(
|
|
2885
2961
|
SeparatorPrimitive.Root,
|
|
2886
2962
|
{
|
|
2887
2963
|
ref,
|
|
@@ -2903,12 +2979,12 @@ import * as React29 from "react";
|
|
|
2903
2979
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2904
2980
|
import { cva as cva4 } from "class-variance-authority";
|
|
2905
2981
|
import { X as X2 } from "lucide-react";
|
|
2906
|
-
import { jsx as
|
|
2982
|
+
import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2907
2983
|
var Sheet = SheetPrimitive.Root;
|
|
2908
2984
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2909
2985
|
var SheetClose = SheetPrimitive.Close;
|
|
2910
2986
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2911
|
-
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2987
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
|
|
2912
2988
|
SheetPrimitive.Overlay,
|
|
2913
2989
|
{
|
|
2914
2990
|
className: cn(
|
|
@@ -2937,7 +3013,7 @@ var sheetVariants = cva4(
|
|
|
2937
3013
|
}
|
|
2938
3014
|
);
|
|
2939
3015
|
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs22(SheetPortal, { children: [
|
|
2940
|
-
/* @__PURE__ */
|
|
3016
|
+
/* @__PURE__ */ jsx35(SheetOverlay, {}),
|
|
2941
3017
|
/* @__PURE__ */ jsxs22(
|
|
2942
3018
|
SheetPrimitive.Content,
|
|
2943
3019
|
{
|
|
@@ -2947,8 +3023,8 @@ var SheetContent = React29.forwardRef(({ side = "right", className, children, ..
|
|
|
2947
3023
|
children: [
|
|
2948
3024
|
children,
|
|
2949
3025
|
/* @__PURE__ */ jsxs22(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: [
|
|
2950
|
-
/* @__PURE__ */
|
|
2951
|
-
/* @__PURE__ */
|
|
3026
|
+
/* @__PURE__ */ jsx35(X2, { className: "h-4 w-4" }),
|
|
3027
|
+
/* @__PURE__ */ jsx35("span", { className: "sr-only", children: "Close" })
|
|
2952
3028
|
] })
|
|
2953
3029
|
]
|
|
2954
3030
|
}
|
|
@@ -2958,7 +3034,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
2958
3034
|
var SheetHeader = ({
|
|
2959
3035
|
className,
|
|
2960
3036
|
...props
|
|
2961
|
-
}) => /* @__PURE__ */
|
|
3037
|
+
}) => /* @__PURE__ */ jsx35(
|
|
2962
3038
|
"div",
|
|
2963
3039
|
{
|
|
2964
3040
|
className: cn(
|
|
@@ -2972,7 +3048,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
2972
3048
|
var SheetFooter = ({
|
|
2973
3049
|
className,
|
|
2974
3050
|
...props
|
|
2975
|
-
}) => /* @__PURE__ */
|
|
3051
|
+
}) => /* @__PURE__ */ jsx35(
|
|
2976
3052
|
"div",
|
|
2977
3053
|
{
|
|
2978
3054
|
className: cn(
|
|
@@ -2983,7 +3059,7 @@ var SheetFooter = ({
|
|
|
2983
3059
|
}
|
|
2984
3060
|
);
|
|
2985
3061
|
SheetFooter.displayName = "SheetFooter";
|
|
2986
|
-
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3062
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
|
|
2987
3063
|
SheetPrimitive.Title,
|
|
2988
3064
|
{
|
|
2989
3065
|
ref,
|
|
@@ -2992,7 +3068,7 @@ var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2992
3068
|
}
|
|
2993
3069
|
));
|
|
2994
3070
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2995
|
-
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3071
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
|
|
2996
3072
|
SheetPrimitive.Description,
|
|
2997
3073
|
{
|
|
2998
3074
|
ref,
|
|
@@ -3003,12 +3079,12 @@ var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3003
3079
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
3004
3080
|
|
|
3005
3081
|
// src/components/skeleton.tsx
|
|
3006
|
-
import { jsx as
|
|
3082
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
3007
3083
|
function Skeleton({
|
|
3008
3084
|
className,
|
|
3009
3085
|
...props
|
|
3010
3086
|
}) {
|
|
3011
|
-
return /* @__PURE__ */
|
|
3087
|
+
return /* @__PURE__ */ jsx36(
|
|
3012
3088
|
"div",
|
|
3013
3089
|
{
|
|
3014
3090
|
className: cn("animate-pulse rounded-lg bg-muted", className),
|
|
@@ -3021,7 +3097,7 @@ function Skeleton({
|
|
|
3021
3097
|
import { mergeProps as mergeProps3 } from "@base-ui-components/react/merge-props";
|
|
3022
3098
|
import { useRender as useRender3 } from "@base-ui-components/react/use-render";
|
|
3023
3099
|
import { cva as cva5 } from "class-variance-authority";
|
|
3024
|
-
import { jsx as
|
|
3100
|
+
import { jsx as jsx37, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3025
3101
|
var statusIndicatorVariants = cva5(
|
|
3026
3102
|
"relative inline-flex size-2.5 shrink-0",
|
|
3027
3103
|
{
|
|
@@ -3053,7 +3129,7 @@ function StatusIndicator({
|
|
|
3053
3129
|
defaultTagName: "span",
|
|
3054
3130
|
props: mergeProps3(defaultProps, props),
|
|
3055
3131
|
render: render || /* @__PURE__ */ jsxs23("span", { ...defaultProps, children: [
|
|
3056
|
-
/* @__PURE__ */
|
|
3132
|
+
/* @__PURE__ */ jsx37(
|
|
3057
3133
|
"span",
|
|
3058
3134
|
{
|
|
3059
3135
|
className: cn(
|
|
@@ -3062,16 +3138,16 @@ function StatusIndicator({
|
|
|
3062
3138
|
)
|
|
3063
3139
|
}
|
|
3064
3140
|
),
|
|
3065
|
-
/* @__PURE__ */
|
|
3141
|
+
/* @__PURE__ */ jsx37("span", { className: "relative inline-flex rounded-full size-2.5" })
|
|
3066
3142
|
] })
|
|
3067
3143
|
});
|
|
3068
3144
|
}
|
|
3069
3145
|
|
|
3070
3146
|
// src/components/switch.tsx
|
|
3071
3147
|
import { Switch as SwitchPrimitive } from "@base-ui-components/react/switch";
|
|
3072
|
-
import { jsx as
|
|
3148
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3073
3149
|
function Switch({ className, ...props }) {
|
|
3074
|
-
return /* @__PURE__ */
|
|
3150
|
+
return /* @__PURE__ */ jsx38(
|
|
3075
3151
|
SwitchPrimitive.Root,
|
|
3076
3152
|
{
|
|
3077
3153
|
className: cn(
|
|
@@ -3080,7 +3156,7 @@ function Switch({ className, ...props }) {
|
|
|
3080
3156
|
),
|
|
3081
3157
|
"data-slot": "switch",
|
|
3082
3158
|
...props,
|
|
3083
|
-
children: /* @__PURE__ */
|
|
3159
|
+
children: /* @__PURE__ */ jsx38(
|
|
3084
3160
|
SwitchPrimitive.Thumb,
|
|
3085
3161
|
{
|
|
3086
3162
|
className: cn(
|
|
@@ -3094,14 +3170,14 @@ function Switch({ className, ...props }) {
|
|
|
3094
3170
|
}
|
|
3095
3171
|
|
|
3096
3172
|
// src/components/table.tsx
|
|
3097
|
-
import { jsx as
|
|
3173
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
3098
3174
|
function Table({ className, ...props }) {
|
|
3099
|
-
return /* @__PURE__ */
|
|
3175
|
+
return /* @__PURE__ */ jsx39(
|
|
3100
3176
|
"div",
|
|
3101
3177
|
{
|
|
3102
3178
|
className: "relative w-full overflow-x-auto",
|
|
3103
3179
|
"data-slot": "table-container",
|
|
3104
|
-
children: /* @__PURE__ */
|
|
3180
|
+
children: /* @__PURE__ */ jsx39(
|
|
3105
3181
|
"table",
|
|
3106
3182
|
{
|
|
3107
3183
|
className: cn(
|
|
@@ -3116,7 +3192,7 @@ function Table({ className, ...props }) {
|
|
|
3116
3192
|
);
|
|
3117
3193
|
}
|
|
3118
3194
|
function TableHeader({ className, ...props }) {
|
|
3119
|
-
return /* @__PURE__ */
|
|
3195
|
+
return /* @__PURE__ */ jsx39(
|
|
3120
3196
|
"thead",
|
|
3121
3197
|
{
|
|
3122
3198
|
className: cn(
|
|
@@ -3129,7 +3205,7 @@ function TableHeader({ className, ...props }) {
|
|
|
3129
3205
|
);
|
|
3130
3206
|
}
|
|
3131
3207
|
function TableBody({ className, ...props }) {
|
|
3132
|
-
return /* @__PURE__ */
|
|
3208
|
+
return /* @__PURE__ */ jsx39(
|
|
3133
3209
|
"tbody",
|
|
3134
3210
|
{
|
|
3135
3211
|
className: cn(
|
|
@@ -3142,7 +3218,7 @@ function TableBody({ className, ...props }) {
|
|
|
3142
3218
|
);
|
|
3143
3219
|
}
|
|
3144
3220
|
function TableFooter({ className, ...props }) {
|
|
3145
|
-
return /* @__PURE__ */
|
|
3221
|
+
return /* @__PURE__ */ jsx39(
|
|
3146
3222
|
"tfoot",
|
|
3147
3223
|
{
|
|
3148
3224
|
className: cn(
|
|
@@ -3155,7 +3231,7 @@ function TableFooter({ className, ...props }) {
|
|
|
3155
3231
|
);
|
|
3156
3232
|
}
|
|
3157
3233
|
function TableRow({ className, ...props }) {
|
|
3158
|
-
return /* @__PURE__ */
|
|
3234
|
+
return /* @__PURE__ */ jsx39(
|
|
3159
3235
|
"tr",
|
|
3160
3236
|
{
|
|
3161
3237
|
className: cn(
|
|
@@ -3168,7 +3244,7 @@ function TableRow({ className, ...props }) {
|
|
|
3168
3244
|
);
|
|
3169
3245
|
}
|
|
3170
3246
|
function TableHead({ className, ...props }) {
|
|
3171
|
-
return /* @__PURE__ */
|
|
3247
|
+
return /* @__PURE__ */ jsx39(
|
|
3172
3248
|
"th",
|
|
3173
3249
|
{
|
|
3174
3250
|
className: cn(
|
|
@@ -3181,7 +3257,7 @@ function TableHead({ className, ...props }) {
|
|
|
3181
3257
|
);
|
|
3182
3258
|
}
|
|
3183
3259
|
function TableCell({ className, ...props }) {
|
|
3184
|
-
return /* @__PURE__ */
|
|
3260
|
+
return /* @__PURE__ */ jsx39(
|
|
3185
3261
|
"td",
|
|
3186
3262
|
{
|
|
3187
3263
|
className: cn(
|
|
@@ -3197,7 +3273,7 @@ function TableCaption({
|
|
|
3197
3273
|
className,
|
|
3198
3274
|
...props
|
|
3199
3275
|
}) {
|
|
3200
|
-
return /* @__PURE__ */
|
|
3276
|
+
return /* @__PURE__ */ jsx39(
|
|
3201
3277
|
"caption",
|
|
3202
3278
|
{
|
|
3203
3279
|
className: cn(
|
|
@@ -3213,9 +3289,9 @@ function TableCaption({
|
|
|
3213
3289
|
// src/components/tabs.tsx
|
|
3214
3290
|
import * as React30 from "react";
|
|
3215
3291
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3216
|
-
import { jsx as
|
|
3292
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3217
3293
|
var Tabs = TabsPrimitive.Root;
|
|
3218
|
-
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3294
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
|
|
3219
3295
|
TabsPrimitive.List,
|
|
3220
3296
|
{
|
|
3221
3297
|
ref,
|
|
@@ -3227,7 +3303,7 @@ var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3227
3303
|
}
|
|
3228
3304
|
));
|
|
3229
3305
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3230
|
-
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3306
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
|
|
3231
3307
|
TabsPrimitive.Trigger,
|
|
3232
3308
|
{
|
|
3233
3309
|
ref,
|
|
@@ -3239,7 +3315,7 @@ var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3239
3315
|
}
|
|
3240
3316
|
));
|
|
3241
3317
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3242
|
-
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3318
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
|
|
3243
3319
|
TabsPrimitive.Content,
|
|
3244
3320
|
{
|
|
3245
3321
|
ref,
|
|
@@ -3255,14 +3331,14 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
3255
3331
|
// src/components/tags-input.tsx
|
|
3256
3332
|
import { TagInput } from "emblor";
|
|
3257
3333
|
import { useId as useId3, useState as useState4 } from "react";
|
|
3258
|
-
import { jsx as
|
|
3334
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
3259
3335
|
|
|
3260
3336
|
// src/components/textarea.tsx
|
|
3261
3337
|
import * as React31 from "react";
|
|
3262
|
-
import { jsx as
|
|
3338
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
3263
3339
|
var Textarea = React31.forwardRef(
|
|
3264
3340
|
({ className, ...props }, ref) => {
|
|
3265
|
-
return /* @__PURE__ */
|
|
3341
|
+
return /* @__PURE__ */ jsx42(
|
|
3266
3342
|
"textarea",
|
|
3267
3343
|
{
|
|
3268
3344
|
className: cn(
|
|
@@ -3279,7 +3355,7 @@ Textarea.displayName = "Textarea";
|
|
|
3279
3355
|
|
|
3280
3356
|
// src/components/timeline.tsx
|
|
3281
3357
|
import * as React32 from "react";
|
|
3282
|
-
import { jsx as
|
|
3358
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
3283
3359
|
var TimelineContext = React32.createContext(null);
|
|
3284
3360
|
function useTimeline() {
|
|
3285
3361
|
const context = React32.useContext(TimelineContext);
|
|
@@ -3289,7 +3365,7 @@ function useTimeline() {
|
|
|
3289
3365
|
return context;
|
|
3290
3366
|
}
|
|
3291
3367
|
var Timeline = React32.forwardRef(
|
|
3292
|
-
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */
|
|
3368
|
+
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx43(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ jsx43(
|
|
3293
3369
|
"ol",
|
|
3294
3370
|
{
|
|
3295
3371
|
ref,
|
|
@@ -3307,7 +3383,7 @@ var Timeline = React32.forwardRef(
|
|
|
3307
3383
|
Timeline.displayName = "Timeline";
|
|
3308
3384
|
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3309
3385
|
const { orientation } = useTimeline();
|
|
3310
|
-
return /* @__PURE__ */
|
|
3386
|
+
return /* @__PURE__ */ jsx43(
|
|
3311
3387
|
"li",
|
|
3312
3388
|
{
|
|
3313
3389
|
ref,
|
|
@@ -3324,7 +3400,7 @@ var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3324
3400
|
TimelineItem.displayName = "TimelineItem";
|
|
3325
3401
|
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3326
3402
|
const { orientation } = useTimeline();
|
|
3327
|
-
return /* @__PURE__ */
|
|
3403
|
+
return /* @__PURE__ */ jsx43(
|
|
3328
3404
|
"div",
|
|
3329
3405
|
{
|
|
3330
3406
|
ref,
|
|
@@ -3341,7 +3417,7 @@ var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3341
3417
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3342
3418
|
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3343
3419
|
const { orientation } = useTimeline();
|
|
3344
|
-
return /* @__PURE__ */
|
|
3420
|
+
return /* @__PURE__ */ jsx43(
|
|
3345
3421
|
"div",
|
|
3346
3422
|
{
|
|
3347
3423
|
ref,
|
|
@@ -3360,7 +3436,7 @@ var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props
|
|
|
3360
3436
|
TimelineDot.displayName = "TimelineDot";
|
|
3361
3437
|
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3362
3438
|
const { orientation } = useTimeline();
|
|
3363
|
-
return /* @__PURE__ */
|
|
3439
|
+
return /* @__PURE__ */ jsx43(
|
|
3364
3440
|
"div",
|
|
3365
3441
|
{
|
|
3366
3442
|
ref,
|
|
@@ -3378,7 +3454,7 @@ var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3378
3454
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3379
3455
|
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3380
3456
|
const { orientation } = useTimeline();
|
|
3381
|
-
return /* @__PURE__ */
|
|
3457
|
+
return /* @__PURE__ */ jsx43(
|
|
3382
3458
|
"div",
|
|
3383
3459
|
{
|
|
3384
3460
|
ref,
|
|
@@ -3396,12 +3472,12 @@ var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3396
3472
|
TimelineContent.displayName = "TimelineContent";
|
|
3397
3473
|
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3398
3474
|
const { orientation } = useTimeline();
|
|
3399
|
-
return /* @__PURE__ */
|
|
3475
|
+
return /* @__PURE__ */ jsx43("div", { ref, "data-orientation": orientation, ...props });
|
|
3400
3476
|
});
|
|
3401
3477
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3402
3478
|
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3403
3479
|
const { orientation } = useTimeline();
|
|
3404
|
-
return /* @__PURE__ */
|
|
3480
|
+
return /* @__PURE__ */ jsx43(
|
|
3405
3481
|
"div",
|
|
3406
3482
|
{
|
|
3407
3483
|
ref,
|
|
@@ -3416,11 +3492,11 @@ TimelineDescription.displayName = "TimelineDescription";
|
|
|
3416
3492
|
// src/components/tooltip.tsx
|
|
3417
3493
|
import * as React33 from "react";
|
|
3418
3494
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3419
|
-
import { jsx as
|
|
3495
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
3420
3496
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3421
3497
|
var Tooltip = TooltipPrimitive.Root;
|
|
3422
3498
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3423
|
-
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
3499
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
3424
3500
|
TooltipPrimitive.Content,
|
|
3425
3501
|
{
|
|
3426
3502
|
ref,
|
|
@@ -3552,6 +3628,7 @@ export {
|
|
|
3552
3628
|
FormMessage,
|
|
3553
3629
|
ButtonIcon as Icon,
|
|
3554
3630
|
ImageCard,
|
|
3631
|
+
ImageZoom,
|
|
3555
3632
|
Input,
|
|
3556
3633
|
InputOTP,
|
|
3557
3634
|
InputOTPGroup,
|