@use-stall/ui 0.1.2 → 0.1.3
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +164 -131
- package/dist/index.mjs +149 -118
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2312,26 +2312,55 @@ InputOTPSlot.displayName = "InputOTPSlot";
|
|
|
2312
2312
|
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx24("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx24(Dot, {}) }));
|
|
2313
2313
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2314
2314
|
|
|
2315
|
+
// src/components/kbd.tsx
|
|
2316
|
+
import { Fragment } from "react";
|
|
2317
|
+
import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2318
|
+
var DefaultKbdSeparator = ({
|
|
2319
|
+
className,
|
|
2320
|
+
children = "+",
|
|
2321
|
+
...props
|
|
2322
|
+
}) => /* @__PURE__ */ jsx25("span", { className: cn("text-muted-foreground/50", className), ...props, children });
|
|
2323
|
+
var Kbd = ({
|
|
2324
|
+
className,
|
|
2325
|
+
separator = /* @__PURE__ */ jsx25(DefaultKbdSeparator, {}),
|
|
2326
|
+
children,
|
|
2327
|
+
...props
|
|
2328
|
+
}) => /* @__PURE__ */ jsx25(
|
|
2329
|
+
"span",
|
|
2330
|
+
{
|
|
2331
|
+
className: cn(
|
|
2332
|
+
"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",
|
|
2333
|
+
className
|
|
2334
|
+
),
|
|
2335
|
+
...props,
|
|
2336
|
+
children: Array.isArray(children) ? children.map((child, index) => /* @__PURE__ */ jsxs16(Fragment, { children: [
|
|
2337
|
+
child,
|
|
2338
|
+
index < children.length - 1 && separator
|
|
2339
|
+
] }, index)) : children
|
|
2340
|
+
}
|
|
2341
|
+
);
|
|
2342
|
+
var KbdKey = ({ ...props }) => /* @__PURE__ */ jsx25("kbd", { ...props });
|
|
2343
|
+
|
|
2315
2344
|
// src/components/modal-container.tsx
|
|
2316
2345
|
import React21 from "react";
|
|
2317
2346
|
import { motion } from "framer-motion";
|
|
2318
|
-
import { jsx as
|
|
2347
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
2319
2348
|
var ModalContainer = React21.memo((props) => {
|
|
2320
|
-
return /* @__PURE__ */
|
|
2349
|
+
return /* @__PURE__ */ jsx26(
|
|
2321
2350
|
motion.div,
|
|
2322
2351
|
{
|
|
2323
2352
|
initial: { y: 10, opacity: 0 },
|
|
2324
2353
|
exit: { y: 10, opacity: 0 },
|
|
2325
2354
|
animate: { y: 0, opacity: 1 },
|
|
2326
2355
|
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",
|
|
2327
|
-
children: /* @__PURE__ */
|
|
2356
|
+
children: /* @__PURE__ */ jsx26("div", { className: "w-full h-full overflow-hidden overflow-y-auto flex justify-center", children: /* @__PURE__ */ jsx26("div", { className: "w-full max-w-[700px] h-fit shrink-0 overflow-hidden flex flex-col p-4", children: props.children }) })
|
|
2328
2357
|
}
|
|
2329
2358
|
);
|
|
2330
2359
|
});
|
|
2331
2360
|
|
|
2332
2361
|
// src/components/multi-select.tsx
|
|
2333
2362
|
import * as React22 from "react";
|
|
2334
|
-
import { jsx as
|
|
2363
|
+
import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2335
2364
|
var MultiSelect = ({
|
|
2336
2365
|
options: options2 = [],
|
|
2337
2366
|
value = [],
|
|
@@ -2355,7 +2384,7 @@ var MultiSelect = ({
|
|
|
2355
2384
|
},
|
|
2356
2385
|
[onValueChange]
|
|
2357
2386
|
);
|
|
2358
|
-
return /* @__PURE__ */
|
|
2387
|
+
return /* @__PURE__ */ jsxs17(
|
|
2359
2388
|
Combobox,
|
|
2360
2389
|
{
|
|
2361
2390
|
required,
|
|
@@ -2365,15 +2394,15 @@ var MultiSelect = ({
|
|
|
2365
2394
|
onValueChange: handleValueChange,
|
|
2366
2395
|
disabled: maxCount === options2.length,
|
|
2367
2396
|
children: [
|
|
2368
|
-
/* @__PURE__ */
|
|
2397
|
+
/* @__PURE__ */ jsx27(
|
|
2369
2398
|
ComboboxChips,
|
|
2370
2399
|
{
|
|
2371
2400
|
className: cn(
|
|
2372
2401
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2373
2402
|
className
|
|
2374
2403
|
),
|
|
2375
|
-
children: /* @__PURE__ */
|
|
2376
|
-
value2?.map((item) => /* @__PURE__ */
|
|
2404
|
+
children: /* @__PURE__ */ jsx27(ComboboxValue, { children: (value2) => /* @__PURE__ */ jsxs17(React22.Fragment, { children: [
|
|
2405
|
+
value2?.map((item) => /* @__PURE__ */ jsx27(
|
|
2377
2406
|
ComboboxChip,
|
|
2378
2407
|
{
|
|
2379
2408
|
"aria-label": item.value,
|
|
@@ -2382,7 +2411,7 @@ var MultiSelect = ({
|
|
|
2382
2411
|
},
|
|
2383
2412
|
item.value
|
|
2384
2413
|
)),
|
|
2385
|
-
/* @__PURE__ */
|
|
2414
|
+
/* @__PURE__ */ jsx27(
|
|
2386
2415
|
ComboboxInput,
|
|
2387
2416
|
{
|
|
2388
2417
|
placeholder: value2.length > 0 ? void 0 : placeholder || "Select an item...",
|
|
@@ -2396,14 +2425,14 @@ var MultiSelect = ({
|
|
|
2396
2425
|
] }) })
|
|
2397
2426
|
}
|
|
2398
2427
|
),
|
|
2399
|
-
/* @__PURE__ */
|
|
2400
|
-
/* @__PURE__ */
|
|
2401
|
-
/* @__PURE__ */
|
|
2428
|
+
/* @__PURE__ */ jsxs17(ComboboxPopup, { className: "rounded-xl", children: [
|
|
2429
|
+
/* @__PURE__ */ jsxs17(ComboboxEmpty, { className: "w-full center-flex flex-col", children: [
|
|
2430
|
+
/* @__PURE__ */ jsx27(
|
|
2402
2431
|
"div",
|
|
2403
2432
|
{
|
|
2404
2433
|
style: { borderRadius: "30% 70% 70% 30% / 30% 38% 62% 70%" },
|
|
2405
2434
|
className: "mt-8 size-24 center-flex bg-accent/50 rounded-blob",
|
|
2406
|
-
children: /* @__PURE__ */
|
|
2435
|
+
children: /* @__PURE__ */ jsx27(
|
|
2407
2436
|
"img",
|
|
2408
2437
|
{
|
|
2409
2438
|
src: "/images/no-direction.png",
|
|
@@ -2413,10 +2442,10 @@ var MultiSelect = ({
|
|
|
2413
2442
|
)
|
|
2414
2443
|
}
|
|
2415
2444
|
),
|
|
2416
|
-
/* @__PURE__ */
|
|
2417
|
-
/* @__PURE__ */
|
|
2445
|
+
/* @__PURE__ */ jsx27("h1", { className: "mt-4 text-sm text-foreground font-semibold", children: "Nothing Found" }),
|
|
2446
|
+
/* @__PURE__ */ jsx27("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" })
|
|
2418
2447
|
] }),
|
|
2419
|
-
/* @__PURE__ */
|
|
2448
|
+
/* @__PURE__ */ jsx27(ComboboxList, { children: (item) => /* @__PURE__ */ jsx27(
|
|
2420
2449
|
ComboboxItem,
|
|
2421
2450
|
{
|
|
2422
2451
|
value: item,
|
|
@@ -2435,7 +2464,7 @@ MultiSelect.displayName = "MultiSelect";
|
|
|
2435
2464
|
// src/components/password-input.tsx
|
|
2436
2465
|
import { Check as Check5, Eye, EyeOff, X } from "lucide-react";
|
|
2437
2466
|
import React23 from "react";
|
|
2438
|
-
import { jsx as
|
|
2467
|
+
import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2439
2468
|
var PasswordInput = React23.forwardRef(
|
|
2440
2469
|
({ className, onSubmit, showStrength, ...props }, ref) => {
|
|
2441
2470
|
const [isVisible, setIsVisible] = React23.useState(false);
|
|
@@ -2476,9 +2505,9 @@ var PasswordInput = React23.forwardRef(
|
|
|
2476
2505
|
}
|
|
2477
2506
|
onSubmit?.(event);
|
|
2478
2507
|
};
|
|
2479
|
-
return /* @__PURE__ */
|
|
2480
|
-
/* @__PURE__ */
|
|
2481
|
-
/* @__PURE__ */
|
|
2508
|
+
return /* @__PURE__ */ jsxs18("div", { className: "relative w-full", children: [
|
|
2509
|
+
/* @__PURE__ */ jsxs18("div", { className: "relative w-full", children: [
|
|
2510
|
+
/* @__PURE__ */ jsx28(
|
|
2482
2511
|
Input,
|
|
2483
2512
|
{
|
|
2484
2513
|
className: cn("pe-9", className),
|
|
@@ -2489,7 +2518,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2489
2518
|
onSubmit: handleSubmit
|
|
2490
2519
|
}
|
|
2491
2520
|
),
|
|
2492
|
-
showStrength && /* @__PURE__ */
|
|
2521
|
+
showStrength && /* @__PURE__ */ jsx28(
|
|
2493
2522
|
"input",
|
|
2494
2523
|
{
|
|
2495
2524
|
title: "password",
|
|
@@ -2499,7 +2528,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2499
2528
|
value: showStrength ? strengthScore >= 4 ? props?.value : "" : props.value
|
|
2500
2529
|
}
|
|
2501
2530
|
),
|
|
2502
|
-
/* @__PURE__ */
|
|
2531
|
+
/* @__PURE__ */ jsx28(
|
|
2503
2532
|
"button",
|
|
2504
2533
|
{
|
|
2505
2534
|
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",
|
|
@@ -2508,12 +2537,12 @@ var PasswordInput = React23.forwardRef(
|
|
|
2508
2537
|
"aria-label": isVisible ? "Hide password" : "Show password",
|
|
2509
2538
|
"aria-pressed": isVisible,
|
|
2510
2539
|
"aria-controls": "password",
|
|
2511
|
-
children: isVisible ? /* @__PURE__ */
|
|
2540
|
+
children: isVisible ? /* @__PURE__ */ jsx28(EyeOff, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) : /* @__PURE__ */ jsx28(Eye, { size: 16, strokeWidth: 2, "aria-hidden": "true" })
|
|
2512
2541
|
}
|
|
2513
2542
|
)
|
|
2514
2543
|
] }),
|
|
2515
|
-
showStrength && /* @__PURE__ */
|
|
2516
|
-
/* @__PURE__ */
|
|
2544
|
+
showStrength && /* @__PURE__ */ jsxs18(React23.Fragment, { children: [
|
|
2545
|
+
/* @__PURE__ */ jsx28(
|
|
2517
2546
|
"div",
|
|
2518
2547
|
{
|
|
2519
2548
|
className: "my-3 h-1 w-full overflow-hidden rounded-full bg-border",
|
|
@@ -2522,7 +2551,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2522
2551
|
"aria-valuemin": 0,
|
|
2523
2552
|
"aria-valuemax": 4,
|
|
2524
2553
|
"aria-label": "Password strength",
|
|
2525
|
-
children: /* @__PURE__ */
|
|
2554
|
+
children: /* @__PURE__ */ jsx28(
|
|
2526
2555
|
"div",
|
|
2527
2556
|
{
|
|
2528
2557
|
className: `h-full ${getStrengthColor(
|
|
@@ -2533,7 +2562,7 @@ var PasswordInput = React23.forwardRef(
|
|
|
2533
2562
|
)
|
|
2534
2563
|
}
|
|
2535
2564
|
),
|
|
2536
|
-
/* @__PURE__ */
|
|
2565
|
+
/* @__PURE__ */ jsxs18(
|
|
2537
2566
|
"p",
|
|
2538
2567
|
{
|
|
2539
2568
|
id: "password-strength",
|
|
@@ -2544,15 +2573,15 @@ var PasswordInput = React23.forwardRef(
|
|
|
2544
2573
|
]
|
|
2545
2574
|
}
|
|
2546
2575
|
),
|
|
2547
|
-
/* @__PURE__ */
|
|
2548
|
-
req.met ? /* @__PURE__ */
|
|
2576
|
+
/* @__PURE__ */ jsx28("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: [
|
|
2577
|
+
req.met ? /* @__PURE__ */ jsx28(
|
|
2549
2578
|
Check5,
|
|
2550
2579
|
{
|
|
2551
2580
|
size: 16,
|
|
2552
2581
|
className: "text-emerald-500",
|
|
2553
2582
|
"aria-hidden": "true"
|
|
2554
2583
|
}
|
|
2555
|
-
) : /* @__PURE__ */
|
|
2584
|
+
) : /* @__PURE__ */ jsx28(
|
|
2556
2585
|
X,
|
|
2557
2586
|
{
|
|
2558
2587
|
size: 16,
|
|
@@ -2560,13 +2589,13 @@ var PasswordInput = React23.forwardRef(
|
|
|
2560
2589
|
"aria-hidden": "true"
|
|
2561
2590
|
}
|
|
2562
2591
|
),
|
|
2563
|
-
/* @__PURE__ */
|
|
2592
|
+
/* @__PURE__ */ jsxs18(
|
|
2564
2593
|
"span",
|
|
2565
2594
|
{
|
|
2566
2595
|
className: `text-xs ${req.met ? "text-emerald-600" : "text-muted-foreground"}`,
|
|
2567
2596
|
children: [
|
|
2568
2597
|
req.text,
|
|
2569
|
-
/* @__PURE__ */
|
|
2598
|
+
/* @__PURE__ */ jsx28("span", { className: "sr-only", children: req.met ? " - Requirement met" : " - Requirement not met" })
|
|
2570
2599
|
]
|
|
2571
2600
|
}
|
|
2572
2601
|
)
|
|
@@ -2584,7 +2613,7 @@ import { forwardRef as forwardRef16, useState as useState3 } from "react";
|
|
|
2584
2613
|
import * as RPNInput from "react-phone-number-input";
|
|
2585
2614
|
import flags from "react-phone-number-input/flags";
|
|
2586
2615
|
import { isValidPhoneNumber } from "react-phone-number-input";
|
|
2587
|
-
import { jsx as
|
|
2616
|
+
import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2588
2617
|
function PhoneNumberInput({
|
|
2589
2618
|
className = "",
|
|
2590
2619
|
...props
|
|
@@ -2598,7 +2627,7 @@ function PhoneNumberInput({
|
|
|
2598
2627
|
}
|
|
2599
2628
|
props.onChange(newValue ?? "");
|
|
2600
2629
|
};
|
|
2601
|
-
return /* @__PURE__ */
|
|
2630
|
+
return /* @__PURE__ */ jsx29("div", { className: cn(className), children: /* @__PURE__ */ jsx29(
|
|
2602
2631
|
RPNInput.default,
|
|
2603
2632
|
{
|
|
2604
2633
|
className: cn("flex rounded-md", error && "border border-red-500/70"),
|
|
@@ -2616,7 +2645,7 @@ function PhoneNumberInput({
|
|
|
2616
2645
|
}
|
|
2617
2646
|
var PhoneInput = forwardRef16(
|
|
2618
2647
|
({ className, ...props }, ref) => {
|
|
2619
|
-
return /* @__PURE__ */
|
|
2648
|
+
return /* @__PURE__ */ jsx29(
|
|
2620
2649
|
Input,
|
|
2621
2650
|
{
|
|
2622
2651
|
className: cn(
|
|
@@ -2639,7 +2668,7 @@ var CountrySelect = ({
|
|
|
2639
2668
|
const handleSelect = (event) => {
|
|
2640
2669
|
onChange(event.target.value);
|
|
2641
2670
|
};
|
|
2642
|
-
return /* @__PURE__ */
|
|
2671
|
+
return /* @__PURE__ */ jsxs19(
|
|
2643
2672
|
"div",
|
|
2644
2673
|
{
|
|
2645
2674
|
className: cn(`relative inline-flex items-center self-stretch rounded-s-10 border border-input
|
|
@@ -2647,11 +2676,11 @@ var CountrySelect = ({
|
|
|
2647
2676
|
focus-within:border-ring focus-within:outline-none focus-within:ring-[3px] focus-within:ring-ring/20
|
|
2648
2677
|
hover:text-foreground has-disabled:pointer-events-none has-disabled:opacity-50`),
|
|
2649
2678
|
children: [
|
|
2650
|
-
/* @__PURE__ */
|
|
2651
|
-
/* @__PURE__ */
|
|
2652
|
-
/* @__PURE__ */
|
|
2679
|
+
/* @__PURE__ */ jsxs19("div", { className: "inline-flex items-center gap-1", "aria-hidden": "true", children: [
|
|
2680
|
+
/* @__PURE__ */ jsx29(FlagComponent, { country: value, countryName: value, "aria-hidden": "true" }),
|
|
2681
|
+
/* @__PURE__ */ jsx29("span", { className: "text-muted-foreground/80", children: /* @__PURE__ */ jsx29(ChevronDown2, { size: 16, strokeWidth: 2, "aria-hidden": "true" }) })
|
|
2653
2682
|
] }),
|
|
2654
|
-
/* @__PURE__ */
|
|
2683
|
+
/* @__PURE__ */ jsxs19(
|
|
2655
2684
|
"select",
|
|
2656
2685
|
{
|
|
2657
2686
|
disabled,
|
|
@@ -2660,8 +2689,8 @@ var CountrySelect = ({
|
|
|
2660
2689
|
className: "absolute inset-0 text-sm opacity-0",
|
|
2661
2690
|
"aria-label": "Select country",
|
|
2662
2691
|
children: [
|
|
2663
|
-
/* @__PURE__ */
|
|
2664
|
-
options2.filter((x) => x.value).map((option, i) => /* @__PURE__ */
|
|
2692
|
+
/* @__PURE__ */ jsx29("option", { value: "", children: "Select a country" }, "default"),
|
|
2693
|
+
options2.filter((x) => x.value).map((option, i) => /* @__PURE__ */ jsxs19("option", { value: option.value, children: [
|
|
2665
2694
|
option.label,
|
|
2666
2695
|
" ",
|
|
2667
2696
|
option.value && `+${RPNInput.getCountryCallingCode(option.value)}`
|
|
@@ -2675,15 +2704,15 @@ var CountrySelect = ({
|
|
|
2675
2704
|
};
|
|
2676
2705
|
var FlagComponent = ({ country, countryName }) => {
|
|
2677
2706
|
const Flag = flags[country];
|
|
2678
|
-
return /* @__PURE__ */
|
|
2707
|
+
return /* @__PURE__ */ jsx29("span", { className: "w-5 overflow-hidden rounded-sm", children: Flag ? /* @__PURE__ */ jsx29(Flag, { title: countryName }) : /* @__PURE__ */ jsx29(Phone, { size: 16, "aria-hidden": "true" }) });
|
|
2679
2708
|
};
|
|
2680
2709
|
|
|
2681
2710
|
// src/components/price-input.tsx
|
|
2682
2711
|
import React25 from "react";
|
|
2683
|
-
import { jsx as
|
|
2712
|
+
import { jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2684
2713
|
var PriceInput = React25.forwardRef(
|
|
2685
2714
|
({ currency, ...props }, ref) => {
|
|
2686
|
-
return /* @__PURE__ */
|
|
2715
|
+
return /* @__PURE__ */ jsxs20(
|
|
2687
2716
|
"div",
|
|
2688
2717
|
{
|
|
2689
2718
|
className: cn(
|
|
@@ -2691,8 +2720,8 @@ var PriceInput = React25.forwardRef(
|
|
|
2691
2720
|
props.containerClassname
|
|
2692
2721
|
),
|
|
2693
2722
|
children: [
|
|
2694
|
-
!props.hide_currency_symbol && /* @__PURE__ */
|
|
2695
|
-
/* @__PURE__ */
|
|
2723
|
+
!props.hide_currency_symbol && /* @__PURE__ */ jsx30("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx30("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2724
|
+
/* @__PURE__ */ jsx30(
|
|
2696
2725
|
Input,
|
|
2697
2726
|
{
|
|
2698
2727
|
ref,
|
|
@@ -2702,7 +2731,7 @@ var PriceInput = React25.forwardRef(
|
|
|
2702
2731
|
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2703
2732
|
}
|
|
2704
2733
|
),
|
|
2705
|
-
!props.hide_currency_code && /* @__PURE__ */
|
|
2734
|
+
!props.hide_currency_code && /* @__PURE__ */ jsx30("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ jsx30("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2706
2735
|
]
|
|
2707
2736
|
}
|
|
2708
2737
|
);
|
|
@@ -2713,8 +2742,8 @@ PriceInput.displayName = "PriceInput";
|
|
|
2713
2742
|
// src/components/progress.tsx
|
|
2714
2743
|
import * as React26 from "react";
|
|
2715
2744
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2716
|
-
import { jsx as
|
|
2717
|
-
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */
|
|
2745
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2746
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
2718
2747
|
ProgressPrimitive.Root,
|
|
2719
2748
|
{
|
|
2720
2749
|
ref,
|
|
@@ -2723,7 +2752,7 @@ var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2723
2752
|
className
|
|
2724
2753
|
),
|
|
2725
2754
|
...props,
|
|
2726
|
-
children: /* @__PURE__ */
|
|
2755
|
+
children: /* @__PURE__ */ jsx31(
|
|
2727
2756
|
ProgressPrimitive.Indicator,
|
|
2728
2757
|
{
|
|
2729
2758
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2738,11 +2767,11 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
|
2738
2767
|
import * as React27 from "react";
|
|
2739
2768
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2740
2769
|
import { Check as Check6, ChevronDown as ChevronDown3, ChevronUp } from "lucide-react";
|
|
2741
|
-
import { jsx as
|
|
2770
|
+
import { jsx as jsx32, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2742
2771
|
var Select = SelectPrimitive.Root;
|
|
2743
2772
|
var SelectGroup = SelectPrimitive.Group;
|
|
2744
2773
|
var SelectValue = SelectPrimitive.Value;
|
|
2745
|
-
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
2774
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs21(
|
|
2746
2775
|
SelectPrimitive.Trigger,
|
|
2747
2776
|
{
|
|
2748
2777
|
ref,
|
|
@@ -2753,12 +2782,12 @@ var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref)
|
|
|
2753
2782
|
...props,
|
|
2754
2783
|
children: [
|
|
2755
2784
|
children,
|
|
2756
|
-
/* @__PURE__ */
|
|
2785
|
+
/* @__PURE__ */ jsx32(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx32(ChevronDown3, { className: "h-4 w-4 opacity-50" }) })
|
|
2757
2786
|
]
|
|
2758
2787
|
}
|
|
2759
2788
|
));
|
|
2760
2789
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2761
|
-
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2790
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2762
2791
|
SelectPrimitive.ScrollUpButton,
|
|
2763
2792
|
{
|
|
2764
2793
|
ref,
|
|
@@ -2767,11 +2796,11 @@ var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) =>
|
|
|
2767
2796
|
className
|
|
2768
2797
|
),
|
|
2769
2798
|
...props,
|
|
2770
|
-
children: /* @__PURE__ */
|
|
2799
|
+
children: /* @__PURE__ */ jsx32(ChevronUp, { className: "h-4 w-4" })
|
|
2771
2800
|
}
|
|
2772
2801
|
));
|
|
2773
2802
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2774
|
-
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2803
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2775
2804
|
SelectPrimitive.ScrollDownButton,
|
|
2776
2805
|
{
|
|
2777
2806
|
ref,
|
|
@@ -2780,11 +2809,11 @@ var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) =
|
|
|
2780
2809
|
className
|
|
2781
2810
|
),
|
|
2782
2811
|
...props,
|
|
2783
|
-
children: /* @__PURE__ */
|
|
2812
|
+
children: /* @__PURE__ */ jsx32(ChevronDown3, { className: "h-4 w-4" })
|
|
2784
2813
|
}
|
|
2785
2814
|
));
|
|
2786
2815
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
2787
|
-
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */
|
|
2816
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx32(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs21(
|
|
2788
2817
|
SelectPrimitive.Content,
|
|
2789
2818
|
{
|
|
2790
2819
|
ref,
|
|
@@ -2796,8 +2825,8 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
2796
2825
|
position,
|
|
2797
2826
|
...props,
|
|
2798
2827
|
children: [
|
|
2799
|
-
/* @__PURE__ */
|
|
2800
|
-
/* @__PURE__ */
|
|
2828
|
+
/* @__PURE__ */ jsx32(SelectScrollUpButton, {}),
|
|
2829
|
+
/* @__PURE__ */ jsx32(
|
|
2801
2830
|
SelectPrimitive.Viewport,
|
|
2802
2831
|
{
|
|
2803
2832
|
className: cn(
|
|
@@ -2807,12 +2836,12 @@ var SelectContent = React27.forwardRef(({ className, children, position = "poppe
|
|
|
2807
2836
|
children
|
|
2808
2837
|
}
|
|
2809
2838
|
),
|
|
2810
|
-
/* @__PURE__ */
|
|
2839
|
+
/* @__PURE__ */ jsx32(SelectScrollDownButton, {})
|
|
2811
2840
|
]
|
|
2812
2841
|
}
|
|
2813
2842
|
) }));
|
|
2814
2843
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2815
|
-
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2844
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2816
2845
|
SelectPrimitive.Label,
|
|
2817
2846
|
{
|
|
2818
2847
|
ref,
|
|
@@ -2821,7 +2850,7 @@ var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2821
2850
|
}
|
|
2822
2851
|
));
|
|
2823
2852
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
2824
|
-
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
2853
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs21(
|
|
2825
2854
|
SelectPrimitive.Item,
|
|
2826
2855
|
{
|
|
2827
2856
|
ref,
|
|
@@ -2831,13 +2860,13 @@ var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2831
2860
|
),
|
|
2832
2861
|
...props,
|
|
2833
2862
|
children: [
|
|
2834
|
-
/* @__PURE__ */
|
|
2835
|
-
/* @__PURE__ */
|
|
2863
|
+
/* @__PURE__ */ jsx32("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx32(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx32(Check6, { className: "h-4 w-4" }) }) }),
|
|
2864
|
+
/* @__PURE__ */ jsx32(SelectPrimitive.ItemText, { children })
|
|
2836
2865
|
]
|
|
2837
2866
|
}
|
|
2838
2867
|
));
|
|
2839
2868
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2840
|
-
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2869
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2841
2870
|
SelectPrimitive.Separator,
|
|
2842
2871
|
{
|
|
2843
2872
|
ref,
|
|
@@ -2850,9 +2879,9 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
2850
2879
|
// src/components/separator.tsx
|
|
2851
2880
|
import * as React28 from "react";
|
|
2852
2881
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2853
|
-
import { jsx as
|
|
2882
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
2854
2883
|
var Separator3 = React28.forwardRef(
|
|
2855
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */
|
|
2884
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2856
2885
|
SeparatorPrimitive.Root,
|
|
2857
2886
|
{
|
|
2858
2887
|
ref,
|
|
@@ -2874,12 +2903,12 @@ import * as React29 from "react";
|
|
|
2874
2903
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2875
2904
|
import { cva as cva4 } from "class-variance-authority";
|
|
2876
2905
|
import { X as X2 } from "lucide-react";
|
|
2877
|
-
import { jsx as
|
|
2906
|
+
import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2878
2907
|
var Sheet = SheetPrimitive.Root;
|
|
2879
2908
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2880
2909
|
var SheetClose = SheetPrimitive.Close;
|
|
2881
2910
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2882
|
-
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2911
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
|
|
2883
2912
|
SheetPrimitive.Overlay,
|
|
2884
2913
|
{
|
|
2885
2914
|
className: cn(
|
|
@@ -2907,9 +2936,9 @@ var sheetVariants = cva4(
|
|
|
2907
2936
|
}
|
|
2908
2937
|
}
|
|
2909
2938
|
);
|
|
2910
|
-
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */
|
|
2911
|
-
/* @__PURE__ */
|
|
2912
|
-
/* @__PURE__ */
|
|
2939
|
+
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs22(SheetPortal, { children: [
|
|
2940
|
+
/* @__PURE__ */ jsx34(SheetOverlay, {}),
|
|
2941
|
+
/* @__PURE__ */ jsxs22(
|
|
2913
2942
|
SheetPrimitive.Content,
|
|
2914
2943
|
{
|
|
2915
2944
|
ref,
|
|
@@ -2917,9 +2946,9 @@ var SheetContent = React29.forwardRef(({ side = "right", className, children, ..
|
|
|
2917
2946
|
...props,
|
|
2918
2947
|
children: [
|
|
2919
2948
|
children,
|
|
2920
|
-
/* @__PURE__ */
|
|
2921
|
-
/* @__PURE__ */
|
|
2922
|
-
/* @__PURE__ */
|
|
2949
|
+
/* @__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__ */ jsx34(X2, { className: "h-4 w-4" }),
|
|
2951
|
+
/* @__PURE__ */ jsx34("span", { className: "sr-only", children: "Close" })
|
|
2923
2952
|
] })
|
|
2924
2953
|
]
|
|
2925
2954
|
}
|
|
@@ -2929,7 +2958,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
2929
2958
|
var SheetHeader = ({
|
|
2930
2959
|
className,
|
|
2931
2960
|
...props
|
|
2932
|
-
}) => /* @__PURE__ */
|
|
2961
|
+
}) => /* @__PURE__ */ jsx34(
|
|
2933
2962
|
"div",
|
|
2934
2963
|
{
|
|
2935
2964
|
className: cn(
|
|
@@ -2943,7 +2972,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
2943
2972
|
var SheetFooter = ({
|
|
2944
2973
|
className,
|
|
2945
2974
|
...props
|
|
2946
|
-
}) => /* @__PURE__ */
|
|
2975
|
+
}) => /* @__PURE__ */ jsx34(
|
|
2947
2976
|
"div",
|
|
2948
2977
|
{
|
|
2949
2978
|
className: cn(
|
|
@@ -2954,7 +2983,7 @@ var SheetFooter = ({
|
|
|
2954
2983
|
}
|
|
2955
2984
|
);
|
|
2956
2985
|
SheetFooter.displayName = "SheetFooter";
|
|
2957
|
-
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2986
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
|
|
2958
2987
|
SheetPrimitive.Title,
|
|
2959
2988
|
{
|
|
2960
2989
|
ref,
|
|
@@ -2963,7 +2992,7 @@ var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2963
2992
|
}
|
|
2964
2993
|
));
|
|
2965
2994
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2966
|
-
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2995
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
|
|
2967
2996
|
SheetPrimitive.Description,
|
|
2968
2997
|
{
|
|
2969
2998
|
ref,
|
|
@@ -2974,12 +3003,12 @@ var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2974
3003
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
2975
3004
|
|
|
2976
3005
|
// src/components/skeleton.tsx
|
|
2977
|
-
import { jsx as
|
|
3006
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2978
3007
|
function Skeleton({
|
|
2979
3008
|
className,
|
|
2980
3009
|
...props
|
|
2981
3010
|
}) {
|
|
2982
|
-
return /* @__PURE__ */
|
|
3011
|
+
return /* @__PURE__ */ jsx35(
|
|
2983
3012
|
"div",
|
|
2984
3013
|
{
|
|
2985
3014
|
className: cn("animate-pulse rounded-lg bg-muted", className),
|
|
@@ -2992,7 +3021,7 @@ function Skeleton({
|
|
|
2992
3021
|
import { mergeProps as mergeProps3 } from "@base-ui-components/react/merge-props";
|
|
2993
3022
|
import { useRender as useRender3 } from "@base-ui-components/react/use-render";
|
|
2994
3023
|
import { cva as cva5 } from "class-variance-authority";
|
|
2995
|
-
import { jsx as
|
|
3024
|
+
import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2996
3025
|
var statusIndicatorVariants = cva5(
|
|
2997
3026
|
"relative inline-flex size-2.5 shrink-0",
|
|
2998
3027
|
{
|
|
@@ -3023,8 +3052,8 @@ function StatusIndicator({
|
|
|
3023
3052
|
return useRender3({
|
|
3024
3053
|
defaultTagName: "span",
|
|
3025
3054
|
props: mergeProps3(defaultProps, props),
|
|
3026
|
-
render: render || /* @__PURE__ */
|
|
3027
|
-
/* @__PURE__ */
|
|
3055
|
+
render: render || /* @__PURE__ */ jsxs23("span", { ...defaultProps, children: [
|
|
3056
|
+
/* @__PURE__ */ jsx36(
|
|
3028
3057
|
"span",
|
|
3029
3058
|
{
|
|
3030
3059
|
className: cn(
|
|
@@ -3033,16 +3062,16 @@ function StatusIndicator({
|
|
|
3033
3062
|
)
|
|
3034
3063
|
}
|
|
3035
3064
|
),
|
|
3036
|
-
/* @__PURE__ */
|
|
3065
|
+
/* @__PURE__ */ jsx36("span", { className: "relative inline-flex rounded-full size-2.5" })
|
|
3037
3066
|
] })
|
|
3038
3067
|
});
|
|
3039
3068
|
}
|
|
3040
3069
|
|
|
3041
3070
|
// src/components/switch.tsx
|
|
3042
3071
|
import { Switch as SwitchPrimitive } from "@base-ui-components/react/switch";
|
|
3043
|
-
import { jsx as
|
|
3072
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
3044
3073
|
function Switch({ className, ...props }) {
|
|
3045
|
-
return /* @__PURE__ */
|
|
3074
|
+
return /* @__PURE__ */ jsx37(
|
|
3046
3075
|
SwitchPrimitive.Root,
|
|
3047
3076
|
{
|
|
3048
3077
|
className: cn(
|
|
@@ -3051,7 +3080,7 @@ function Switch({ className, ...props }) {
|
|
|
3051
3080
|
),
|
|
3052
3081
|
"data-slot": "switch",
|
|
3053
3082
|
...props,
|
|
3054
|
-
children: /* @__PURE__ */
|
|
3083
|
+
children: /* @__PURE__ */ jsx37(
|
|
3055
3084
|
SwitchPrimitive.Thumb,
|
|
3056
3085
|
{
|
|
3057
3086
|
className: cn(
|
|
@@ -3065,14 +3094,14 @@ function Switch({ className, ...props }) {
|
|
|
3065
3094
|
}
|
|
3066
3095
|
|
|
3067
3096
|
// src/components/table.tsx
|
|
3068
|
-
import { jsx as
|
|
3097
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3069
3098
|
function Table({ className, ...props }) {
|
|
3070
|
-
return /* @__PURE__ */
|
|
3099
|
+
return /* @__PURE__ */ jsx38(
|
|
3071
3100
|
"div",
|
|
3072
3101
|
{
|
|
3073
3102
|
className: "relative w-full overflow-x-auto",
|
|
3074
3103
|
"data-slot": "table-container",
|
|
3075
|
-
children: /* @__PURE__ */
|
|
3104
|
+
children: /* @__PURE__ */ jsx38(
|
|
3076
3105
|
"table",
|
|
3077
3106
|
{
|
|
3078
3107
|
className: cn(
|
|
@@ -3087,7 +3116,7 @@ function Table({ className, ...props }) {
|
|
|
3087
3116
|
);
|
|
3088
3117
|
}
|
|
3089
3118
|
function TableHeader({ className, ...props }) {
|
|
3090
|
-
return /* @__PURE__ */
|
|
3119
|
+
return /* @__PURE__ */ jsx38(
|
|
3091
3120
|
"thead",
|
|
3092
3121
|
{
|
|
3093
3122
|
className: cn(
|
|
@@ -3100,7 +3129,7 @@ function TableHeader({ className, ...props }) {
|
|
|
3100
3129
|
);
|
|
3101
3130
|
}
|
|
3102
3131
|
function TableBody({ className, ...props }) {
|
|
3103
|
-
return /* @__PURE__ */
|
|
3132
|
+
return /* @__PURE__ */ jsx38(
|
|
3104
3133
|
"tbody",
|
|
3105
3134
|
{
|
|
3106
3135
|
className: cn(
|
|
@@ -3113,7 +3142,7 @@ function TableBody({ className, ...props }) {
|
|
|
3113
3142
|
);
|
|
3114
3143
|
}
|
|
3115
3144
|
function TableFooter({ className, ...props }) {
|
|
3116
|
-
return /* @__PURE__ */
|
|
3145
|
+
return /* @__PURE__ */ jsx38(
|
|
3117
3146
|
"tfoot",
|
|
3118
3147
|
{
|
|
3119
3148
|
className: cn(
|
|
@@ -3126,7 +3155,7 @@ function TableFooter({ className, ...props }) {
|
|
|
3126
3155
|
);
|
|
3127
3156
|
}
|
|
3128
3157
|
function TableRow({ className, ...props }) {
|
|
3129
|
-
return /* @__PURE__ */
|
|
3158
|
+
return /* @__PURE__ */ jsx38(
|
|
3130
3159
|
"tr",
|
|
3131
3160
|
{
|
|
3132
3161
|
className: cn(
|
|
@@ -3139,7 +3168,7 @@ function TableRow({ className, ...props }) {
|
|
|
3139
3168
|
);
|
|
3140
3169
|
}
|
|
3141
3170
|
function TableHead({ className, ...props }) {
|
|
3142
|
-
return /* @__PURE__ */
|
|
3171
|
+
return /* @__PURE__ */ jsx38(
|
|
3143
3172
|
"th",
|
|
3144
3173
|
{
|
|
3145
3174
|
className: cn(
|
|
@@ -3152,7 +3181,7 @@ function TableHead({ className, ...props }) {
|
|
|
3152
3181
|
);
|
|
3153
3182
|
}
|
|
3154
3183
|
function TableCell({ className, ...props }) {
|
|
3155
|
-
return /* @__PURE__ */
|
|
3184
|
+
return /* @__PURE__ */ jsx38(
|
|
3156
3185
|
"td",
|
|
3157
3186
|
{
|
|
3158
3187
|
className: cn(
|
|
@@ -3168,7 +3197,7 @@ function TableCaption({
|
|
|
3168
3197
|
className,
|
|
3169
3198
|
...props
|
|
3170
3199
|
}) {
|
|
3171
|
-
return /* @__PURE__ */
|
|
3200
|
+
return /* @__PURE__ */ jsx38(
|
|
3172
3201
|
"caption",
|
|
3173
3202
|
{
|
|
3174
3203
|
className: cn(
|
|
@@ -3184,9 +3213,9 @@ function TableCaption({
|
|
|
3184
3213
|
// src/components/tabs.tsx
|
|
3185
3214
|
import * as React30 from "react";
|
|
3186
3215
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3187
|
-
import { jsx as
|
|
3216
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
3188
3217
|
var Tabs = TabsPrimitive.Root;
|
|
3189
|
-
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3218
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
|
|
3190
3219
|
TabsPrimitive.List,
|
|
3191
3220
|
{
|
|
3192
3221
|
ref,
|
|
@@ -3198,7 +3227,7 @@ var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3198
3227
|
}
|
|
3199
3228
|
));
|
|
3200
3229
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3201
|
-
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3230
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
|
|
3202
3231
|
TabsPrimitive.Trigger,
|
|
3203
3232
|
{
|
|
3204
3233
|
ref,
|
|
@@ -3210,7 +3239,7 @@ var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3210
3239
|
}
|
|
3211
3240
|
));
|
|
3212
3241
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3213
|
-
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
3242
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
|
|
3214
3243
|
TabsPrimitive.Content,
|
|
3215
3244
|
{
|
|
3216
3245
|
ref,
|
|
@@ -3226,14 +3255,14 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
3226
3255
|
// src/components/tags-input.tsx
|
|
3227
3256
|
import { TagInput } from "emblor";
|
|
3228
3257
|
import { useId as useId3, useState as useState4 } from "react";
|
|
3229
|
-
import { jsx as
|
|
3258
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3230
3259
|
|
|
3231
3260
|
// src/components/textarea.tsx
|
|
3232
3261
|
import * as React31 from "react";
|
|
3233
|
-
import { jsx as
|
|
3262
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
3234
3263
|
var Textarea = React31.forwardRef(
|
|
3235
3264
|
({ className, ...props }, ref) => {
|
|
3236
|
-
return /* @__PURE__ */
|
|
3265
|
+
return /* @__PURE__ */ jsx41(
|
|
3237
3266
|
"textarea",
|
|
3238
3267
|
{
|
|
3239
3268
|
className: cn(
|
|
@@ -3250,7 +3279,7 @@ Textarea.displayName = "Textarea";
|
|
|
3250
3279
|
|
|
3251
3280
|
// src/components/timeline.tsx
|
|
3252
3281
|
import * as React32 from "react";
|
|
3253
|
-
import { jsx as
|
|
3282
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
3254
3283
|
var TimelineContext = React32.createContext(null);
|
|
3255
3284
|
function useTimeline() {
|
|
3256
3285
|
const context = React32.useContext(TimelineContext);
|
|
@@ -3260,7 +3289,7 @@ function useTimeline() {
|
|
|
3260
3289
|
return context;
|
|
3261
3290
|
}
|
|
3262
3291
|
var Timeline = React32.forwardRef(
|
|
3263
|
-
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */
|
|
3292
|
+
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx42(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ jsx42(
|
|
3264
3293
|
"ol",
|
|
3265
3294
|
{
|
|
3266
3295
|
ref,
|
|
@@ -3278,7 +3307,7 @@ var Timeline = React32.forwardRef(
|
|
|
3278
3307
|
Timeline.displayName = "Timeline";
|
|
3279
3308
|
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3280
3309
|
const { orientation } = useTimeline();
|
|
3281
|
-
return /* @__PURE__ */
|
|
3310
|
+
return /* @__PURE__ */ jsx42(
|
|
3282
3311
|
"li",
|
|
3283
3312
|
{
|
|
3284
3313
|
ref,
|
|
@@ -3295,7 +3324,7 @@ var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3295
3324
|
TimelineItem.displayName = "TimelineItem";
|
|
3296
3325
|
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3297
3326
|
const { orientation } = useTimeline();
|
|
3298
|
-
return /* @__PURE__ */
|
|
3327
|
+
return /* @__PURE__ */ jsx42(
|
|
3299
3328
|
"div",
|
|
3300
3329
|
{
|
|
3301
3330
|
ref,
|
|
@@ -3312,7 +3341,7 @@ var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3312
3341
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3313
3342
|
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3314
3343
|
const { orientation } = useTimeline();
|
|
3315
|
-
return /* @__PURE__ */
|
|
3344
|
+
return /* @__PURE__ */ jsx42(
|
|
3316
3345
|
"div",
|
|
3317
3346
|
{
|
|
3318
3347
|
ref,
|
|
@@ -3331,7 +3360,7 @@ var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props
|
|
|
3331
3360
|
TimelineDot.displayName = "TimelineDot";
|
|
3332
3361
|
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3333
3362
|
const { orientation } = useTimeline();
|
|
3334
|
-
return /* @__PURE__ */
|
|
3363
|
+
return /* @__PURE__ */ jsx42(
|
|
3335
3364
|
"div",
|
|
3336
3365
|
{
|
|
3337
3366
|
ref,
|
|
@@ -3349,7 +3378,7 @@ var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3349
3378
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3350
3379
|
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3351
3380
|
const { orientation } = useTimeline();
|
|
3352
|
-
return /* @__PURE__ */
|
|
3381
|
+
return /* @__PURE__ */ jsx42(
|
|
3353
3382
|
"div",
|
|
3354
3383
|
{
|
|
3355
3384
|
ref,
|
|
@@ -3367,12 +3396,12 @@ var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
|
3367
3396
|
TimelineContent.displayName = "TimelineContent";
|
|
3368
3397
|
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3369
3398
|
const { orientation } = useTimeline();
|
|
3370
|
-
return /* @__PURE__ */
|
|
3399
|
+
return /* @__PURE__ */ jsx42("div", { ref, "data-orientation": orientation, ...props });
|
|
3371
3400
|
});
|
|
3372
3401
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3373
3402
|
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3374
3403
|
const { orientation } = useTimeline();
|
|
3375
|
-
return /* @__PURE__ */
|
|
3404
|
+
return /* @__PURE__ */ jsx42(
|
|
3376
3405
|
"div",
|
|
3377
3406
|
{
|
|
3378
3407
|
ref,
|
|
@@ -3387,11 +3416,11 @@ TimelineDescription.displayName = "TimelineDescription";
|
|
|
3387
3416
|
// src/components/tooltip.tsx
|
|
3388
3417
|
import * as React33 from "react";
|
|
3389
3418
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3390
|
-
import { jsx as
|
|
3419
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
3391
3420
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3392
3421
|
var Tooltip = TooltipPrimitive.Root;
|
|
3393
3422
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3394
|
-
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
3423
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx43(
|
|
3395
3424
|
TooltipPrimitive.Content,
|
|
3396
3425
|
{
|
|
3397
3426
|
ref,
|
|
@@ -3528,6 +3557,8 @@ export {
|
|
|
3528
3557
|
InputOTPGroup,
|
|
3529
3558
|
InputOTPSeparator,
|
|
3530
3559
|
InputOTPSlot,
|
|
3560
|
+
Kbd,
|
|
3561
|
+
KbdKey,
|
|
3531
3562
|
Label2 as Label,
|
|
3532
3563
|
MultiSelect,
|
|
3533
3564
|
PhoneNumberInput,
|