@instockng/storefront-ui 1.0.75 → 1.0.77
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/components/ProductAddOns.d.ts +3 -1
- package/dist/components/ProductAddOns.d.ts.map +1 -1
- package/dist/components/RecommendedProducts.d.ts.map +1 -1
- package/dist/components/VariantPickerModal.d.ts +28 -0
- package/dist/components/VariantPickerModal.d.ts.map +1 -0
- package/dist/contexts/CartContext.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +104 -102
- package/dist/index10.mjs +162 -121
- package/dist/index100.mjs +20 -69
- package/dist/index101.mjs +55 -34
- package/dist/index102.mjs +32 -42
- package/dist/index103.mjs +2 -2
- package/dist/index104.mjs +2 -28
- package/dist/index105.mjs +2 -18
- package/dist/index106.mjs +26 -213
- package/dist/index107.mjs +13 -175
- package/dist/index108.mjs +210 -17
- package/dist/index109.mjs +174 -17
- package/dist/index11.mjs +116 -88
- package/dist/index110.mjs +14 -25
- package/dist/index111.mjs +17 -150
- package/dist/index112.mjs +26 -13
- package/dist/index113.mjs +149 -24
- package/dist/index114.mjs +13 -77
- package/dist/index115.mjs +20 -27
- package/dist/index116.mjs +76 -137
- package/dist/index117.mjs +33 -50
- package/dist/index118.mjs +141 -19
- package/dist/index119.mjs +50 -22
- package/dist/index12.mjs +86 -90
- package/dist/index120.mjs +14 -14
- package/dist/index121.mjs +20 -18
- package/dist/index122.mjs +16 -14
- package/dist/index123.mjs +17 -14
- package/dist/index124.mjs +12 -12
- package/dist/index125.mjs +15 -58
- package/dist/index126.mjs +14 -11
- package/dist/index127.mjs +56 -30
- package/dist/index128.mjs +9 -15
- package/dist/index129.mjs +31 -26
- package/dist/index13.mjs +83 -185
- package/dist/index130.mjs +13 -16
- package/dist/index131.mjs +26 -11
- package/dist/index132.mjs +18 -12
- package/dist/index133.mjs +12 -40
- package/dist/index134.mjs +14 -16
- package/dist/index135.mjs +42 -263
- package/dist/index136.mjs +15 -62
- package/dist/index137.mjs +267 -7
- package/dist/index138.mjs +70 -2
- package/dist/index139.mjs +8 -2
- package/dist/index14.mjs +196 -94
- package/dist/index140.mjs +2 -33
- package/dist/index141.mjs +2 -2
- package/dist/index142.mjs +33 -2
- package/dist/index143.mjs +2 -21
- package/dist/index144.mjs +19 -54
- package/dist/index145.mjs +55 -28
- package/dist/index146.mjs +27 -5
- package/dist/index147.mjs +6 -51
- package/dist/index148.mjs +51 -5
- package/dist/index149.mjs +6 -12
- package/dist/index15.mjs +82 -713
- package/dist/index150.mjs +12 -7
- package/dist/index151.mjs +6 -27
- package/dist/index152.mjs +28 -2
- package/dist/index153.mjs +2 -70
- package/dist/index154.mjs +67 -164
- package/dist/index155.mjs +167 -2
- package/dist/index159.mjs +1 -1
- package/dist/index16.mjs +722 -53
- package/dist/index160.mjs +1 -1
- package/dist/index161.mjs +1 -1
- package/dist/index162.mjs +1 -1
- package/dist/index163.mjs +1 -1
- package/dist/index165.mjs +3 -3
- package/dist/index166.mjs +1 -1
- package/dist/index168.mjs +3 -3
- package/dist/index169.mjs +1 -1
- package/dist/index17.mjs +58 -60
- package/dist/index174.mjs +2 -2
- package/dist/index176.mjs +1 -1
- package/dist/index178.mjs +2 -2
- package/dist/index179.mjs +5 -5
- package/dist/index18.mjs +60 -22
- package/dist/index182.mjs +1 -1
- package/dist/index185.mjs +1 -1
- package/dist/index188.mjs +3 -3
- package/dist/index189.mjs +1 -1
- package/dist/index19.mjs +22 -107
- package/dist/index193.mjs +2 -2
- package/dist/index195.mjs +2 -2
- package/dist/index199.mjs +1 -1
- package/dist/index2.mjs +2 -2
- package/dist/index20.mjs +105 -38
- package/dist/index201.mjs +1 -1
- package/dist/index21.mjs +37 -37
- package/dist/index210.mjs +2 -2
- package/dist/index212.mjs +1 -1
- package/dist/index213.mjs +1 -1
- package/dist/index214.mjs +2 -31
- package/dist/index215.mjs +30 -10
- package/dist/index216.mjs +10 -3
- package/dist/index217.mjs +3 -3
- package/dist/index218.mjs +4 -13
- package/dist/index219.mjs +13 -7
- package/dist/index22.mjs +42 -71
- package/dist/index220.mjs +7 -12
- package/dist/index221.mjs +11 -4
- package/dist/index222.mjs +5 -33
- package/dist/index223.mjs +33 -31
- package/dist/index224.mjs +29 -26
- package/dist/index225.mjs +26 -59
- package/dist/index226.mjs +61 -2
- package/dist/index227.mjs +2 -108
- package/dist/index228.mjs +2 -2
- package/dist/index229.mjs +2 -2
- package/dist/index23.mjs +67 -28
- package/dist/index230.mjs +2 -37
- package/dist/index231.mjs +108 -2
- package/dist/index232.mjs +2 -2
- package/dist/index233.mjs +2 -2
- package/dist/index234.mjs +2 -2
- package/dist/index236.mjs +2 -2
- package/dist/index237.mjs +2 -244
- package/dist/index238.mjs +37 -2
- package/dist/index239.mjs +2 -33
- package/dist/index24.mjs +29 -6
- package/dist/index240.mjs +2 -65
- package/dist/index241.mjs +243 -24
- package/dist/index242.mjs +2 -2
- package/dist/index243.mjs +33 -2
- package/dist/index244.mjs +65 -2
- package/dist/index245.mjs +25 -2
- package/dist/index246.mjs +2 -2
- package/dist/index247.mjs +2 -2
- package/dist/index248.mjs +2 -2
- package/dist/index249.mjs +2 -2
- package/dist/index25.mjs +8 -21
- package/dist/index250.mjs +2 -2
- package/dist/index251.mjs +2 -2
- package/dist/index253.mjs +2 -2
- package/dist/index254.mjs +2 -2
- package/dist/index255.mjs +4 -2
- package/dist/index256.mjs +2 -4
- package/dist/index258.mjs +3 -2
- package/dist/index259.mjs +2 -18
- package/dist/index26.mjs +19 -34
- package/dist/index260.mjs +2 -47
- package/dist/index261.mjs +17 -2
- package/dist/index262.mjs +13 -2
- package/dist/index263.mjs +6 -2
- package/dist/index264.mjs +30 -2
- package/dist/index265.mjs +2 -91
- package/dist/index266.mjs +2 -3
- package/dist/index267.mjs +18 -2
- package/dist/index268.mjs +47 -2
- package/dist/index269.mjs +2 -17
- package/dist/index27.mjs +34 -37
- package/dist/index270.mjs +2 -13
- package/dist/index271.mjs +2 -6
- package/dist/index272.mjs +2 -30
- package/dist/index273.mjs +91 -2
- package/dist/index274.mjs +2 -2
- package/dist/index276.mjs +2 -2
- package/dist/index277.mjs +5 -0
- package/dist/index28.mjs +28 -103
- package/dist/index29.mjs +104 -20
- package/dist/index3.mjs +90 -90
- package/dist/index30.mjs +29 -9
- package/dist/index31.mjs +9 -9
- package/dist/index32.mjs +11 -116
- package/dist/index33.mjs +116 -25
- package/dist/index34.mjs +25 -81
- package/dist/index35.mjs +81 -112
- package/dist/index36.mjs +109 -8
- package/dist/index37.mjs +9 -33
- package/dist/index38.mjs +27 -20
- package/dist/index39.mjs +26 -9
- package/dist/index4.mjs +1 -1
- package/dist/index40.mjs +10 -122
- package/dist/index41.mjs +114 -380
- package/dist/index42.mjs +384 -20
- package/dist/index43.mjs +24 -31
- package/dist/index44.mjs +32 -7
- package/dist/index45.mjs +6 -1432
- package/dist/index46.mjs +1432 -69
- package/dist/index47.mjs +70 -2
- package/dist/index48.mjs +2 -60
- package/dist/index49.mjs +57 -48
- package/dist/index5.mjs +1 -1
- package/dist/index50.mjs +51 -33
- package/dist/index51.mjs +33 -15
- package/dist/index52.mjs +12 -2260
- package/dist/index53.mjs +2263 -36
- package/dist/index54.mjs +36 -44
- package/dist/index55.mjs +44 -99
- package/dist/index56.mjs +99 -81
- package/dist/index57.mjs +75 -13
- package/dist/index58.mjs +15 -125
- package/dist/index59.mjs +93 -89
- package/dist/index6.mjs +1 -1
- package/dist/index60.mjs +102 -56
- package/dist/index61.mjs +55 -89
- package/dist/index62.mjs +82 -76
- package/dist/index63.mjs +100 -13
- package/dist/index64.mjs +17 -92
- package/dist/index65.mjs +70 -56
- package/dist/index66.mjs +62 -44
- package/dist/index67.mjs +47 -46
- package/dist/index68.mjs +48 -121
- package/dist/index69.mjs +133 -22
- package/dist/index7.mjs +6 -6
- package/dist/index70.mjs +4 -152
- package/dist/index71.mjs +21 -20
- package/dist/index72.mjs +2 -5
- package/dist/index73.mjs +23 -2
- package/dist/index74.mjs +149 -71
- package/dist/index75.mjs +74 -14
- package/dist/index76.mjs +14 -62
- package/dist/index77.mjs +63 -2
- package/dist/index78.mjs +234 -5
- package/dist/index79.mjs +5 -1133
- package/dist/index8.mjs +4 -4
- package/dist/index80.mjs +131 -17
- package/dist/index81.mjs +67 -54
- package/dist/index82.mjs +84 -30
- package/dist/index83.mjs +29 -2
- package/dist/index84.mjs +9 -235
- package/dist/index85.mjs +74 -5
- package/dist/index86.mjs +3 -133
- package/dist/index87.mjs +2 -68
- package/dist/index88.mjs +79 -83
- package/dist/index89.mjs +52 -27
- package/dist/index9.mjs +3 -3
- package/dist/index90.mjs +5 -8
- package/dist/index91.mjs +4 -74
- package/dist/index92.mjs +178 -3
- package/dist/index93.mjs +53 -2
- package/dist/index94.mjs +68 -82
- package/dist/index95.mjs +33 -53
- package/dist/index96.mjs +42 -5
- package/dist/index97.mjs +2 -5
- package/dist/index98.mjs +5 -178
- package/dist/index99.mjs +1134 -53
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ProductAddOns.stories.tsx +10 -3
- package/src/components/ProductAddOns.tsx +167 -112
- package/src/components/RecommendedProducts.tsx +130 -88
- package/src/components/VariantPickerModal.tsx +154 -0
- package/src/contexts/CartContext.tsx +8 -1
- package/src/index.ts +3 -0
package/dist/index160.mjs
CHANGED
package/dist/index161.mjs
CHANGED
package/dist/index162.mjs
CHANGED
package/dist/index163.mjs
CHANGED
package/dist/index165.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as e } from "./
|
|
3
|
-
import "./
|
|
2
|
+
import { __exports as e } from "./index227.mjs";
|
|
3
|
+
import "./index98.mjs";
|
|
4
4
|
import n from "react";
|
|
5
|
-
import { __exports as o } from "./
|
|
5
|
+
import { __exports as o } from "./index103.mjs";
|
|
6
6
|
var a;
|
|
7
7
|
function c() {
|
|
8
8
|
return a ? e : (a = 1, function(t) {
|
package/dist/index166.mjs
CHANGED
package/dist/index168.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as e } from "./
|
|
3
|
-
import { __require as f } from "./
|
|
4
|
-
import { __require as _ } from "./
|
|
2
|
+
import { __exports as e } from "./index230.mjs";
|
|
3
|
+
import { __require as f } from "./index231.mjs";
|
|
4
|
+
import { __require as _ } from "./index114.mjs";
|
|
5
5
|
var i;
|
|
6
6
|
function R() {
|
|
7
7
|
return i ? e : (i = 1, function(r) {
|
package/dist/index169.mjs
CHANGED
package/dist/index17.mjs
CHANGED
|
@@ -1,65 +1,63 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { jsxs as c, jsx as u } from "react/jsx-runtime";
|
|
3
|
+
import { Root as v } from "./index50.mjs";
|
|
4
|
+
import { cva as g } from "./index51.mjs";
|
|
5
|
+
import { Loader2 as l } from "lucide-react";
|
|
6
|
+
import { cn as p } from "./index23.mjs";
|
|
7
|
+
const b = g(
|
|
8
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
7
9
|
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
13
|
+
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
14
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
15
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
16
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
17
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
21
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
22
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
23
|
+
icon: "size-9",
|
|
24
|
+
"icon-sm": "size-8",
|
|
25
|
+
"icon-lg": "size-10"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
variant: "default",
|
|
30
|
+
size: "default"
|
|
31
|
+
}
|
|
14
32
|
}
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
className: o("text-sm text-muted-foreground", a),
|
|
43
|
-
...e
|
|
44
|
-
}
|
|
45
|
-
));
|
|
46
|
-
l.displayName = "CardDescription";
|
|
47
|
-
const m = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: o("p-6 pt-0", a), ...e }));
|
|
48
|
-
m.displayName = "CardContent";
|
|
49
|
-
const n = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
ref: r,
|
|
53
|
-
className: o("flex items-center p-6 pt-0", a),
|
|
54
|
-
...e
|
|
55
|
-
}
|
|
56
|
-
));
|
|
57
|
-
n.displayName = "CardFooter";
|
|
33
|
+
);
|
|
34
|
+
function z({
|
|
35
|
+
className: r,
|
|
36
|
+
variant: t,
|
|
37
|
+
size: i,
|
|
38
|
+
asChild: n = !1,
|
|
39
|
+
loading: e = !1,
|
|
40
|
+
children: o,
|
|
41
|
+
disabled: s,
|
|
42
|
+
type: a,
|
|
43
|
+
...d
|
|
44
|
+
}) {
|
|
45
|
+
return /* @__PURE__ */ c(
|
|
46
|
+
n ? v : "button",
|
|
47
|
+
{
|
|
48
|
+
"data-slot": "button",
|
|
49
|
+
className: p(b({ variant: t, size: i, className: r })),
|
|
50
|
+
disabled: s || e,
|
|
51
|
+
type: a ?? "button",
|
|
52
|
+
...d,
|
|
53
|
+
children: [
|
|
54
|
+
e && /* @__PURE__ */ u(l, { className: "size-4 animate-spin" }),
|
|
55
|
+
o
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
58
60
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
l as CardDescription,
|
|
62
|
-
n as CardFooter,
|
|
63
|
-
i as CardHeader,
|
|
64
|
-
c as CardTitle
|
|
61
|
+
z as Button,
|
|
62
|
+
b as buttonVariants
|
|
65
63
|
};
|
package/dist/index174.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as u } from "./
|
|
3
|
-
import { __require as d } from "./
|
|
2
|
+
import { __exports as u } from "./index237.mjs";
|
|
3
|
+
import { __require as d } from "./index238.mjs";
|
|
4
4
|
var a;
|
|
5
5
|
function h() {
|
|
6
6
|
return a ? u : (a = 1, function(c) {
|
package/dist/index176.mjs
CHANGED
package/dist/index178.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as n } from "./
|
|
3
|
-
import { __require as d } from "./
|
|
2
|
+
import { __exports as n } from "./index240.mjs";
|
|
3
|
+
import { __require as d } from "./index241.mjs";
|
|
4
4
|
var o;
|
|
5
5
|
function p() {
|
|
6
6
|
return o ? n : (o = 1, function(i) {
|
package/dist/index179.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as A } from "./
|
|
3
|
-
import { __require as T } from "./
|
|
2
|
+
import { __exports as A } from "./index242.mjs";
|
|
3
|
+
import { __require as T } from "./index241.mjs";
|
|
4
4
|
import { __require as L } from "./index182.mjs";
|
|
5
|
-
import { __require as N } from "./
|
|
5
|
+
import { __require as N } from "./index243.mjs";
|
|
6
6
|
import { __require as U } from "./index174.mjs";
|
|
7
|
-
import { __require as j } from "./
|
|
8
|
-
import { __require as v } from "./
|
|
7
|
+
import { __require as j } from "./index244.mjs";
|
|
8
|
+
import { __require as v } from "./index245.mjs";
|
|
9
9
|
var S;
|
|
10
10
|
function W() {
|
|
11
11
|
return S ? A : (S = 1, function(R) {
|
package/dist/index18.mjs
CHANGED
|
@@ -1,27 +1,65 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
"
|
|
2
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { cn as o } from "./index23.mjs";
|
|
5
|
+
const s = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
6
|
+
"div",
|
|
7
7
|
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
defaultVariants: {
|
|
17
|
-
variant: "default"
|
|
18
|
-
}
|
|
8
|
+
ref: r,
|
|
9
|
+
className: o(
|
|
10
|
+
"rounded-lg border bg-card text-card-foreground",
|
|
11
|
+
a
|
|
12
|
+
),
|
|
13
|
+
...e
|
|
19
14
|
}
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
));
|
|
16
|
+
s.displayName = "Card";
|
|
17
|
+
const i = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
ref: r,
|
|
21
|
+
className: o("flex flex-col space-y-1.5 p-6", a),
|
|
22
|
+
...e
|
|
23
|
+
}
|
|
24
|
+
));
|
|
25
|
+
i.displayName = "CardHeader";
|
|
26
|
+
const c = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
ref: r,
|
|
30
|
+
className: o(
|
|
31
|
+
"text-2xl font-semibold leading-none tracking-tight",
|
|
32
|
+
a
|
|
33
|
+
),
|
|
34
|
+
...e
|
|
35
|
+
}
|
|
36
|
+
));
|
|
37
|
+
c.displayName = "CardTitle";
|
|
38
|
+
const l = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
ref: r,
|
|
42
|
+
className: o("text-sm text-muted-foreground", a),
|
|
43
|
+
...e
|
|
44
|
+
}
|
|
45
|
+
));
|
|
46
|
+
l.displayName = "CardDescription";
|
|
47
|
+
const m = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: o("p-6 pt-0", a), ...e }));
|
|
48
|
+
m.displayName = "CardContent";
|
|
49
|
+
const n = t.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
ref: r,
|
|
53
|
+
className: o("flex items-center p-6 pt-0", a),
|
|
54
|
+
...e
|
|
55
|
+
}
|
|
56
|
+
));
|
|
57
|
+
n.displayName = "CardFooter";
|
|
24
58
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
59
|
+
s as Card,
|
|
60
|
+
m as CardContent,
|
|
61
|
+
l as CardDescription,
|
|
62
|
+
n as CardFooter,
|
|
63
|
+
i as CardHeader,
|
|
64
|
+
c as CardTitle
|
|
27
65
|
};
|
package/dist/index182.mjs
CHANGED
package/dist/index185.mjs
CHANGED
package/dist/index188.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __module as t } from "./
|
|
3
|
-
import { __require as _ } from "./
|
|
4
|
-
import { __require as d } from "./
|
|
2
|
+
import { __module as t } from "./index248.mjs";
|
|
3
|
+
import { __require as _ } from "./index107.mjs";
|
|
4
|
+
import { __require as d } from "./index121.mjs";
|
|
5
5
|
var u;
|
|
6
6
|
function S() {
|
|
7
7
|
return u ? t.exports : (u = 1, function(s, e) {
|
package/dist/index189.mjs
CHANGED
package/dist/index19.mjs
CHANGED
|
@@ -1,112 +1,27 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
showCloseButton: n = !0
|
|
19
|
-
}) {
|
|
20
|
-
const v = j(null), [s, m] = u(!1), [p, d] = u(e);
|
|
21
|
-
if (f(() => {
|
|
22
|
-
if (e)
|
|
23
|
-
d(!0), requestAnimationFrame(() => {
|
|
24
|
-
requestAnimationFrame(() => {
|
|
25
|
-
m(!0);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
else {
|
|
29
|
-
m(!1);
|
|
30
|
-
const t = setTimeout(() => {
|
|
31
|
-
d(!1);
|
|
32
|
-
}, 200);
|
|
33
|
-
return () => clearTimeout(t);
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { cva as n } from "./index51.mjs";
|
|
4
|
+
import { cn as a } from "./index23.mjs";
|
|
5
|
+
const i = n(
|
|
6
|
+
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
11
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
12
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
13
|
+
outline: "text-foreground"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
variant: "default"
|
|
34
18
|
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (e)
|
|
40
|
-
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
41
|
-
}, [e, a]), z(e), !p) return null;
|
|
42
|
-
const w = {
|
|
43
|
-
sm: "max-w-md",
|
|
44
|
-
md: "max-w-lg",
|
|
45
|
-
lg: "max-w-2xl",
|
|
46
|
-
xl: "max-w-4xl",
|
|
47
|
-
full: "max-w-full mx-4"
|
|
48
|
-
}, k = (t) => {
|
|
49
|
-
g && t.target === t.currentTarget && a();
|
|
50
|
-
}, N = /* @__PURE__ */ r(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: o(
|
|
54
|
-
"fixed inset-0 z-50 flex items-center justify-center sm:p-4 bg-black/50 backdrop-blur-sm transition-opacity duration-200",
|
|
55
|
-
s ? "opacity-100" : "opacity-0"
|
|
56
|
-
),
|
|
57
|
-
onClick: k,
|
|
58
|
-
children: /* @__PURE__ */ c(
|
|
59
|
-
"div",
|
|
60
|
-
{
|
|
61
|
-
ref: v,
|
|
62
|
-
className: o(
|
|
63
|
-
"relative w-full bg-white rounded-xl shadow-xl flex flex-col h-[100vh] sm:h-auto sm:max-h-[90vh] transition-all duration-200",
|
|
64
|
-
s ? "opacity-100 scale-100" : "opacity-0 scale-95",
|
|
65
|
-
w[b],
|
|
66
|
-
y
|
|
67
|
-
),
|
|
68
|
-
role: "dialog",
|
|
69
|
-
"aria-modal": "true",
|
|
70
|
-
"aria-labelledby": l ? "modal-title" : void 0,
|
|
71
|
-
children: [
|
|
72
|
-
(l || n) && /* @__PURE__ */ c("div", { className: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0", children: [
|
|
73
|
-
l && /* @__PURE__ */ r(
|
|
74
|
-
"h2",
|
|
75
|
-
{
|
|
76
|
-
id: "modal-title",
|
|
77
|
-
className: "text-md font-semibold text-gray-900",
|
|
78
|
-
children: l
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
n && /* @__PURE__ */ r(
|
|
82
|
-
"button",
|
|
83
|
-
{
|
|
84
|
-
type: "button",
|
|
85
|
-
onClick: a,
|
|
86
|
-
className: "ml-auto p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-lg transition-colors",
|
|
87
|
-
"aria-label": "Close modal",
|
|
88
|
-
children: /* @__PURE__ */ r(R, { size: 20 })
|
|
89
|
-
}
|
|
90
|
-
)
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ r(
|
|
93
|
-
"div",
|
|
94
|
-
{
|
|
95
|
-
className: o(
|
|
96
|
-
"flex-1 overflow-y-auto p-4 min-h-0",
|
|
97
|
-
h
|
|
98
|
-
),
|
|
99
|
-
children: x
|
|
100
|
-
}
|
|
101
|
-
),
|
|
102
|
-
i && /* @__PURE__ */ r("div", { className: "p-4 border-t border-gray-200 bg-gray-50 flex-shrink-0 rounded-b-xl", children: i })
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
)
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
return A(N, document.body);
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
function f({ className: r, variant: e, ...t }) {
|
|
22
|
+
return /* @__PURE__ */ o("div", { className: a(i({ variant: e }), r), ...t });
|
|
109
23
|
}
|
|
110
24
|
export {
|
|
111
|
-
|
|
25
|
+
f as Badge,
|
|
26
|
+
i as badgeVariants
|
|
112
27
|
};
|
package/dist/index193.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as r } from "./
|
|
3
|
-
import { __require as o } from "./
|
|
2
|
+
import { __exports as r } from "./index251.mjs";
|
|
3
|
+
import { __require as o } from "./index121.mjs";
|
|
4
4
|
var i;
|
|
5
5
|
function _() {
|
|
6
6
|
return i ? r : (i = 1, function(t) {
|
package/dist/index195.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __exports as e } from "./
|
|
3
|
-
import { __require as f } from "./
|
|
2
|
+
import { __exports as e } from "./index250.mjs";
|
|
3
|
+
import { __require as f } from "./index121.mjs";
|
|
4
4
|
var n;
|
|
5
5
|
function p() {
|
|
6
6
|
return n ? e : (n = 1, function(r) {
|
package/dist/index199.mjs
CHANGED
package/dist/index2.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import { ApiClientProvider as m } from "./
|
|
3
|
+
import { ApiClientProvider as m } from "./index24.mjs";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { useGetBrand as d } from "./
|
|
5
|
+
import { useGetBrand as d } from "./index37.mjs";
|
|
6
6
|
import { CartProvider as f } from "./index3.mjs";
|
|
7
7
|
import { MetaPixelProvider as p } from "./index4.mjs";
|
|
8
8
|
import { TikTokPixelProvider as P } from "./index5.mjs";
|