@clasing/ui 2.1.0 → 2.1.1
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/{badge-Ds17GJH4.js → badge-Cprh3bik.js} +24 -32
- package/dist/badge-Da_xHgvC.cjs +1 -0
- package/dist/button-B4yT3Gcz.cjs +1 -0
- package/dist/button-CUrfGF3Y.js +232 -0
- package/dist/{card-Dj2wgH-P.cjs → card-COFAc2zN.cjs} +1 -1
- package/dist/{card-BNTyYiyA.js → card-CbF9kVVs.js} +1 -1
- package/dist/chip-B7Mqq278.js +89 -0
- package/dist/chip-BG4NEZUv.cjs +1 -0
- package/dist/command-CrtCQpi_.cjs +1 -0
- package/dist/{command-CGUB58ej.js → command-ev4m9IoQ.js} +18 -24
- package/dist/components/accordion.cjs.js +1 -1
- package/dist/components/accordion.es.js +24 -30
- package/dist/components/alert-dialog.cjs.js +1 -1
- package/dist/components/alert-dialog.es.js +3 -3
- package/dist/components/alert.cjs.js +1 -1
- package/dist/components/alert.d.ts +3 -4
- package/dist/components/alert.es.js +38 -39
- package/dist/components/avatar.cjs.js +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs.js +1 -1
- package/dist/components/badge.d.ts +2 -6
- package/dist/components/badge.es.js +1 -1
- package/dist/components/blocks/interactive-card.cjs.js +1 -1
- package/dist/components/blocks/interactive-card.d.ts +2 -4
- package/dist/components/blocks/interactive-card.es.js +65 -80
- package/dist/components/blocks/selectable-chips.cjs.js +1 -1
- package/dist/components/blocks/selectable-chips.es.js +19 -16
- package/dist/components/breadcrumb.cjs.js +1 -1
- package/dist/components/breadcrumb.es.js +22 -22
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.d.ts +4 -13
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs.js +1 -1
- package/dist/components/calendar.es.js +33 -54
- package/dist/components/card.cjs.js +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/chart.cjs.js +1 -1
- package/dist/components/chart.es.js +1 -1
- package/dist/components/checkbox.cjs.js +1 -1
- package/dist/components/checkbox.es.js +6 -6
- package/dist/components/chip.cjs.js +1 -1
- package/dist/components/chip.d.ts +1 -10
- package/dist/components/chip.es.js +1 -1
- package/dist/components/collapsible.cjs.js +1 -1
- package/dist/components/collapsible.es.js +1 -1
- package/dist/components/command.cjs.js +1 -1
- package/dist/components/command.es.js +1 -1
- package/dist/components/context-menu.cjs.js +1 -1
- package/dist/components/context-menu.es.js +42 -48
- package/dist/components/dialog.cjs.js +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/divider.cjs.js +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/drawer.cjs.js +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/dropdown-menu.cjs.js +1 -1
- package/dist/components/dropdown-menu.es.js +40 -46
- package/dist/components/form.cjs.js +1 -1
- package/dist/components/form.es.js +2 -2
- package/dist/components/hover-card.cjs.js +1 -1
- package/dist/components/hover-card.es.js +1 -1
- package/dist/components/input-otp.cjs.js +1 -1
- package/dist/components/input-otp.es.js +16 -16
- package/dist/components/input.cjs.js +1 -1
- package/dist/components/input.d.ts +2 -6
- package/dist/components/input.es.js +1 -1
- package/dist/components/label.cjs.js +1 -1
- package/dist/components/label.es.js +1 -1
- package/dist/components/menubar.cjs.js +1 -1
- package/dist/components/menubar.es.js +66 -72
- package/dist/components/multi-select.cjs.js +1 -1
- package/dist/components/multi-select.es.js +77 -96
- package/dist/components/navigation-menu.cjs.js +1 -1
- package/dist/components/navigation-menu.es.js +10 -11
- package/dist/components/phone-input.cjs.js +1 -1
- package/dist/components/phone-input.es.js +77 -79
- package/dist/components/popover.cjs.js +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress.cjs.js +1 -1
- package/dist/components/progress.es.js +1 -1
- package/dist/components/resizable.cjs.js +1 -1
- package/dist/components/resizable.es.js +3 -3
- package/dist/components/scroll-area.cjs.js +1 -1
- package/dist/components/scroll-area.es.js +1 -1
- package/dist/components/select.cjs.js +1 -1
- package/dist/components/select.es.js +47 -53
- package/dist/components/sheet.cjs.js +1 -1
- package/dist/components/sheet.es.js +29 -29
- package/dist/components/skeleton.cjs.js +1 -1
- package/dist/components/skeleton.es.js +1 -1
- package/dist/components/slider.cjs.js +1 -1
- package/dist/components/slider.es.js +1 -1
- package/dist/components/sonner.cjs.js +1 -1
- package/dist/components/sonner.es.js +1 -1
- package/dist/components/switch.cjs.js +1 -1
- package/dist/components/switch.es.js +2 -2
- package/dist/components/table.cjs.js +1 -1
- package/dist/components/table.es.js +1 -1
- package/dist/components/textarea.cjs.js +1 -1
- package/dist/components/textarea.d.ts +2 -6
- package/dist/components/textarea.es.js +28 -36
- package/dist/components/toggle-group.cjs.js +1 -1
- package/dist/components/toggle-group.es.js +2 -2
- package/dist/components/toggle.cjs.js +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.es.js +1 -1
- package/dist/components/tooltip.cjs.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/{dialog-CEttcpWT.js → dialog-CXbzQHxn.js} +9 -9
- package/dist/dialog-DHZARK1o.cjs +1 -0
- package/dist/index-9HRzXEQf.cjs +6 -0
- package/dist/{index-DBpnlzOP.js → index-D5lmpham.js} +677 -664
- package/dist/{index-CwXB7YIx.js → index-DN28Pf0m.js} +1 -1
- package/dist/{index-BVmT9wZC.cjs → index-ECyCsPX0.cjs} +1 -1
- package/dist/input-C144z_Is.cjs +1 -0
- package/dist/{input-B5HLfVv0.js → input-fvzEG6zH.js} +33 -47
- package/dist/{label-eHraXPfy.cjs → label-D3iN3bzS.cjs} +1 -1
- package/dist/{label-Bp4qkqFq.js → label-DDxTPxHk.js} +1 -1
- package/dist/{popover-Dvf9oQaX.js → popover-BdDS9aoy.js} +1 -1
- package/dist/{popover-DifOajI4.cjs → popover-CeOAAwBQ.cjs} +1 -1
- package/dist/{scroll-area-CJpVshOm.cjs → scroll-area-D74XszlE.cjs} +1 -1
- package/dist/{scroll-area-Dj0Szbw6.js → scroll-area-oS6ZJIMN.js} +1 -1
- package/dist/{toggle-owj9AHVO.js → toggle-BNzrNg1r.js} +2 -2
- package/dist/{toggle-CJLDdFRo.cjs → toggle-CtoQhQby.cjs} +1 -1
- package/dist/{tooltip-C9FWg102.cjs → tooltip-BccdAn4x.cjs} +1 -1
- package/dist/{tooltip-CGSL9pFZ.js → tooltip-rv-jVOxy.js} +1 -1
- package/package.json +352 -357
- package/dist/badge-oQqEF2X5.cjs +0 -1
- package/dist/button-B-JHlR-n.cjs +0 -1
- package/dist/button-ozL8afps.js +0 -573
- package/dist/chip-CK2VBBsV.js +0 -126
- package/dist/chip-DVKpteyL.cjs +0 -1
- package/dist/command-CHisYTN-.cjs +0 -1
- package/dist/components/icon-component.cjs.js +0 -1
- package/dist/components/icon-component.d.ts +0 -12
- package/dist/components/icon-component.es.js +0 -4
- package/dist/dialog-Chh5qAxR.cjs +0 -1
- package/dist/entries/icon-component.d.ts +0 -2
- package/dist/icon-component-DGImZz3K.js +0 -49
- package/dist/icon-component-DTlgy__B.cjs +0 -1
- package/dist/index-DSjHHn1r.cjs +0 -22
- package/dist/input-BqT_fuUN.cjs +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { j as e, c as s } from "../index-
|
|
1
|
+
import { j as e, c as s } from "../index-D5lmpham.js";
|
|
2
2
|
import * as n from "@radix-ui/react-context-menu";
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
3
|
+
import { CheckIcon as i, CircleIcon as d, CaretRightIcon as c } from "@phosphor-icons/react";
|
|
4
|
+
function m({
|
|
5
5
|
...t
|
|
6
6
|
}) {
|
|
7
7
|
return /* @__PURE__ */ e.jsx(n.Root, { "data-slot": "context-menu", ...t });
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function x({
|
|
10
10
|
...t
|
|
11
11
|
}) {
|
|
12
12
|
return /* @__PURE__ */ e.jsx(n.Trigger, { "data-slot": "context-menu-trigger", ...t });
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function p({
|
|
15
15
|
...t
|
|
16
16
|
}) {
|
|
17
17
|
return /* @__PURE__ */ e.jsx(n.Group, { "data-slot": "context-menu-group", ...t });
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function f({
|
|
20
20
|
...t
|
|
21
21
|
}) {
|
|
22
22
|
return /* @__PURE__ */ e.jsx(n.Portal, { "data-slot": "context-menu-portal", ...t });
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function g({
|
|
25
25
|
...t
|
|
26
26
|
}) {
|
|
27
27
|
return /* @__PURE__ */ e.jsx(n.Sub, { "data-slot": "context-menu-sub", ...t });
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function v({
|
|
30
30
|
...t
|
|
31
31
|
}) {
|
|
32
32
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -37,7 +37,7 @@ function f({
|
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function b({
|
|
41
41
|
className: t,
|
|
42
42
|
inset: a,
|
|
43
43
|
children: o,
|
|
@@ -49,18 +49,18 @@ function g({
|
|
|
49
49
|
"data-slot": "context-menu-sub-trigger",
|
|
50
50
|
"data-inset": a,
|
|
51
51
|
className: s(
|
|
52
|
-
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground paragraph-sm flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-
|
|
52
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground paragraph-sm flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
53
53
|
t
|
|
54
54
|
),
|
|
55
55
|
...r,
|
|
56
56
|
children: [
|
|
57
57
|
o,
|
|
58
|
-
/* @__PURE__ */ e.jsx(
|
|
58
|
+
/* @__PURE__ */ e.jsx(c, { className: "ml-auto" })
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function h({
|
|
64
64
|
className: t,
|
|
65
65
|
...a
|
|
66
66
|
}) {
|
|
@@ -69,14 +69,14 @@ function v({
|
|
|
69
69
|
{
|
|
70
70
|
"data-slot": "context-menu-sub-content",
|
|
71
71
|
className: s(
|
|
72
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-
|
|
72
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
73
73
|
t
|
|
74
74
|
),
|
|
75
75
|
...a
|
|
76
76
|
}
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function j({
|
|
80
80
|
className: t,
|
|
81
81
|
collisionPadding: a = 24,
|
|
82
82
|
...o
|
|
@@ -86,14 +86,14 @@ function b({
|
|
|
86
86
|
{
|
|
87
87
|
"data-slot": "context-menu-content",
|
|
88
88
|
className: s(
|
|
89
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-
|
|
89
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
90
90
|
t
|
|
91
91
|
),
|
|
92
92
|
...o
|
|
93
93
|
}
|
|
94
94
|
) });
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function C({
|
|
97
97
|
className: t,
|
|
98
98
|
inset: a,
|
|
99
99
|
variant: o = "default",
|
|
@@ -106,14 +106,14 @@ function h({
|
|
|
106
106
|
"data-inset": a,
|
|
107
107
|
"data-variant": o,
|
|
108
108
|
className: s(
|
|
109
|
-
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]
|
|
109
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
110
110
|
t
|
|
111
111
|
),
|
|
112
112
|
...r
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function z({
|
|
117
117
|
className: t,
|
|
118
118
|
children: a,
|
|
119
119
|
checked: o,
|
|
@@ -124,19 +124,19 @@ function j({
|
|
|
124
124
|
{
|
|
125
125
|
"data-slot": "context-menu-checkbox-item",
|
|
126
126
|
className: s(
|
|
127
|
-
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-
|
|
127
|
+
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
128
128
|
t
|
|
129
129
|
),
|
|
130
130
|
checked: o,
|
|
131
131
|
...r,
|
|
132
132
|
children: [
|
|
133
|
-
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(n.ItemIndicator, { children: /* @__PURE__ */ e.jsx(i, {
|
|
133
|
+
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(n.ItemIndicator, { children: /* @__PURE__ */ e.jsx(i, { className: "size-4" }) }) }),
|
|
134
134
|
a
|
|
135
135
|
]
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function M({
|
|
140
140
|
className: t,
|
|
141
141
|
children: a,
|
|
142
142
|
...o
|
|
@@ -146,24 +146,18 @@ function C({
|
|
|
146
146
|
{
|
|
147
147
|
"data-slot": "context-menu-radio-item",
|
|
148
148
|
className: s(
|
|
149
|
-
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-
|
|
149
|
+
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
150
150
|
t
|
|
151
151
|
),
|
|
152
152
|
...o,
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(n.ItemIndicator, { children: /* @__PURE__ */ e.jsx(
|
|
155
|
-
i,
|
|
156
|
-
{
|
|
157
|
-
iconName: "IconCircleFilled",
|
|
158
|
-
className: "size-2 fill-current"
|
|
159
|
-
}
|
|
160
|
-
) }) }),
|
|
154
|
+
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(n.ItemIndicator, { children: /* @__PURE__ */ e.jsx(d, { weight: "fill", className: "size-2 fill-current" }) }) }),
|
|
161
155
|
a
|
|
162
156
|
]
|
|
163
157
|
}
|
|
164
158
|
);
|
|
165
159
|
}
|
|
166
|
-
function
|
|
160
|
+
function N({
|
|
167
161
|
className: t,
|
|
168
162
|
inset: a,
|
|
169
163
|
...o
|
|
@@ -174,14 +168,14 @@ function z({
|
|
|
174
168
|
"data-slot": "context-menu-label",
|
|
175
169
|
"data-inset": a,
|
|
176
170
|
className: s(
|
|
177
|
-
"text-foreground paragraph-sm px-2 py-1.5 font-semibold data-
|
|
171
|
+
"text-foreground paragraph-sm px-2 py-1.5 font-semibold data-inset:pl-8",
|
|
178
172
|
t
|
|
179
173
|
),
|
|
180
174
|
...o
|
|
181
175
|
}
|
|
182
176
|
);
|
|
183
177
|
}
|
|
184
|
-
function
|
|
178
|
+
function I({
|
|
185
179
|
className: t,
|
|
186
180
|
...a
|
|
187
181
|
}) {
|
|
@@ -194,7 +188,7 @@ function N({
|
|
|
194
188
|
}
|
|
195
189
|
);
|
|
196
190
|
}
|
|
197
|
-
function
|
|
191
|
+
function _({
|
|
198
192
|
className: t,
|
|
199
193
|
...a
|
|
200
194
|
}) {
|
|
@@ -211,19 +205,19 @@ function M({
|
|
|
211
205
|
);
|
|
212
206
|
}
|
|
213
207
|
export {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
208
|
+
m as ContextMenu,
|
|
209
|
+
z as ContextMenuCheckboxItem,
|
|
210
|
+
j as ContextMenuContent,
|
|
211
|
+
p as ContextMenuGroup,
|
|
212
|
+
C as ContextMenuItem,
|
|
213
|
+
N as ContextMenuLabel,
|
|
214
|
+
f as ContextMenuPortal,
|
|
215
|
+
v as ContextMenuRadioGroup,
|
|
216
|
+
M as ContextMenuRadioItem,
|
|
217
|
+
I as ContextMenuSeparator,
|
|
218
|
+
_ as ContextMenuShortcut,
|
|
219
|
+
g as ContextMenuSub,
|
|
220
|
+
h as ContextMenuSubContent,
|
|
221
|
+
b as ContextMenuSubTrigger,
|
|
222
|
+
x as ContextMenuTrigger
|
|
229
223
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../dialog-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../dialog-DHZARK1o.cjs");exports.Dialog=o.Dialog;exports.DialogClose=o.DialogClose;exports.DialogContent=o.DialogContent;exports.DialogDescription=o.DialogDescription;exports.DialogFooter=o.DialogFooter;exports.DialogHeader=o.DialogHeader;exports.DialogOverlay=o.DialogOverlay;exports.DialogPortal=o.DialogPortal;exports.DialogTitle=o.DialogTitle;exports.DialogTrigger=o.DialogTrigger;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as i, a as l, b as g, c as s, d as D, e, f as r, g as t, h as n, i as c } from "../dialog-
|
|
1
|
+
import { D as i, a as l, b as g, c as s, d as D, e, f as r, g as t, h as n, i as c } from "../dialog-CXbzQHxn.js";
|
|
2
2
|
export {
|
|
3
3
|
i as Dialog,
|
|
4
4
|
l as DialogClose,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-9HRzXEQf.cjs"),l=require("react"),i=l.forwardRef(({className:t,orientation:e="horizontal",...n},o)=>r.jsxRuntimeExports.jsx("span",{ref:o,className:r.cn("bg-neutral-050",t,{"h-px! w-full":e==="horizontal","h-full w-px!":e==="vertical"}),...n}));i.displayName="Divider";const s=i;exports.Divider=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-9HRzXEQf.cjs"),a=require("vaul");function i({...r}){return t.jsxRuntimeExports.jsx(a.Drawer.Root,{"data-slot":"drawer",...r})}function s({...r}){return t.jsxRuntimeExports.jsx(a.Drawer.Trigger,{"data-slot":"drawer-trigger",...r})}function o({...r}){return t.jsxRuntimeExports.jsx(a.Drawer.Portal,{"data-slot":"drawer-portal",...r})}function l({...r}){return t.jsxRuntimeExports.jsx(a.Drawer.Close,{"data-slot":"drawer-close",...r})}function d({className:r,...e}){return t.jsxRuntimeExports.jsx(a.Drawer.Overlay,{"data-slot":"drawer-overlay",className:t.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",r),...e})}function u({className:r,children:e,...n}){return t.jsxRuntimeExports.jsxs(o,{"data-slot":"drawer-portal",children:[t.jsxRuntimeExports.jsx(d,{}),t.jsxRuntimeExports.jsxs(a.Drawer.Content,{"data-slot":"drawer-content",className:t.cn("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",r),...n,children:[t.jsxRuntimeExports.jsx("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),e]})]})}function c({className:r,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"drawer-header",className:t.cn("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",r),...e})}function w({className:r,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"drawer-footer",className:t.cn("mt-auto flex flex-col gap-2 p-4",r),...e})}function x({className:r,...e}){return t.jsxRuntimeExports.jsx(a.Drawer.Title,{"data-slot":"drawer-title",className:t.cn("text-foreground font-semibold",r),...e})}function m({className:r,...e}){return t.jsxRuntimeExports.jsx(a.Drawer.Description,{"data-slot":"drawer-description",className:t.cn("text-muted-foreground paragraph-sm",r),...e})}exports.Drawer=i;exports.DrawerClose=l;exports.DrawerContent=u;exports.DrawerDescription=m;exports.DrawerFooter=w;exports.DrawerHeader=c;exports.DrawerOverlay=d;exports.DrawerPortal=o;exports.DrawerTitle=x;exports.DrawerTrigger=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-9HRzXEQf.cjs"),d=require("@radix-ui/react-dropdown-menu"),s=require("@phosphor-icons/react");function i(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const o=i(d);function u({...e}){return t.jsxRuntimeExports.jsx(o.Root,{"data-slot":"dropdown-menu",...e})}function p({...e}){return t.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"dropdown-menu-portal",...e})}function c({...e}){return t.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}function l({className:e,sideOffset:n=4,collisionPadding:r=24,...a}){return t.jsxRuntimeExports.jsx(o.Portal,{children:t.jsxRuntimeExports.jsx(o.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,className:t.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...a})})}function m({...e}){return t.jsxRuntimeExports.jsx(o.Group,{"data-slot":"dropdown-menu-group",...e})}function x({className:e,inset:n,variant:r="default",...a}){return t.jsxRuntimeExports.jsx(o.Item,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":r,className:t.cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a})}function f({className:e,children:n,checked:r,...a}){return t.jsxRuntimeExports.jsxs(o.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:t.cn("focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...a,children:[t.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t.jsxRuntimeExports.jsx(o.ItemIndicator,{children:t.jsxRuntimeExports.jsx(s.CheckIcon,{className:"size-4"})})}),n]})}function g({...e}){return t.jsxRuntimeExports.jsx(o.RadioGroup,{"data-slot":"dropdown-menu-radio-group",...e})}function w({className:e,children:n,...r}){return t.jsxRuntimeExports.jsxs(o.RadioItem,{"data-slot":"dropdown-menu-radio-item",className:t.cn("focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[t.jsxRuntimeExports.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t.jsxRuntimeExports.jsx(o.ItemIndicator,{children:t.jsxRuntimeExports.jsx(s.CircleIcon,{weight:"fill",className:"size-2 fill-current"})})}),n]})}function b({className:e,inset:n,...r}){return t.jsxRuntimeExports.jsx(o.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:t.cn("paragraph-sm px-2 py-1.5 font-semibold data-inset:pl-8",e),...r})}function j({className:e,...n}){return t.jsxRuntimeExports.jsx(o.Separator,{"data-slot":"dropdown-menu-separator",className:t.cn("bg-border -mx-1 my-1 h-px",e),...n})}function v({className:e,...n}){return t.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:t.cn("text-muted-foreground paragraph-xs ml-auto tracking-widest",e),...n})}function h({...e}){return t.jsxRuntimeExports.jsx(o.Sub,{"data-slot":"dropdown-menu-sub",...e})}function D({className:e,inset:n,children:r,...a}){return t.jsxRuntimeExports.jsxs(o.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:t.cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground paragraph-sm flex cursor-default items-center rounded-sm px-2 py-1.5 outline-hidden select-none data-inset:pl-8",e),...a,children:[r,t.jsxRuntimeExports.jsx(s.CaretRightIcon,{className:"ml-auto size-4"})]})}function M({className:e,...n}){return t.jsxRuntimeExports.jsx(o.SubContent,{"data-slot":"dropdown-menu-sub-content",className:t.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...n})}exports.DropdownMenu=u;exports.DropdownMenuCheckboxItem=f;exports.DropdownMenuContent=l;exports.DropdownMenuGroup=m;exports.DropdownMenuItem=x;exports.DropdownMenuLabel=b;exports.DropdownMenuPortal=p;exports.DropdownMenuRadioGroup=g;exports.DropdownMenuRadioItem=w;exports.DropdownMenuSeparator=j;exports.DropdownMenuShortcut=v;exports.DropdownMenuSub=h;exports.DropdownMenuSubContent=M;exports.DropdownMenuSubTrigger=D;exports.DropdownMenuTrigger=c;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { j as t, c as r } from "../index-
|
|
1
|
+
import { j as t, c as r } from "../index-D5lmpham.js";
|
|
2
2
|
import * as n from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
3
|
+
import { CheckIcon as s, CircleIcon as i, CaretRightIcon as u } from "@phosphor-icons/react";
|
|
4
|
+
function p({
|
|
5
5
|
...e
|
|
6
6
|
}) {
|
|
7
7
|
return /* @__PURE__ */ t.jsx(n.Root, { "data-slot": "dropdown-menu", ...e });
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function m({
|
|
10
10
|
...e
|
|
11
11
|
}) {
|
|
12
12
|
return /* @__PURE__ */ t.jsx(n.Portal, { "data-slot": "dropdown-menu-portal", ...e });
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function f({
|
|
15
15
|
...e
|
|
16
16
|
}) {
|
|
17
17
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -22,7 +22,7 @@ function p({
|
|
|
22
22
|
}
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function g({
|
|
26
26
|
className: e,
|
|
27
27
|
sideOffset: o = 4,
|
|
28
28
|
collisionPadding: a = 24,
|
|
@@ -34,19 +34,19 @@ function m({
|
|
|
34
34
|
"data-slot": "dropdown-menu-content",
|
|
35
35
|
sideOffset: o,
|
|
36
36
|
className: r(
|
|
37
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-
|
|
37
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
38
38
|
e
|
|
39
39
|
),
|
|
40
40
|
...d
|
|
41
41
|
}
|
|
42
42
|
) });
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function x({
|
|
45
45
|
...e
|
|
46
46
|
}) {
|
|
47
47
|
return /* @__PURE__ */ t.jsx(n.Group, { "data-slot": "dropdown-menu-group", ...e });
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function v({
|
|
50
50
|
className: e,
|
|
51
51
|
inset: o,
|
|
52
52
|
variant: a = "default",
|
|
@@ -59,14 +59,14 @@ function g({
|
|
|
59
59
|
"data-inset": o,
|
|
60
60
|
"data-variant": a,
|
|
61
61
|
className: r(
|
|
62
|
-
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]
|
|
62
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
63
63
|
e
|
|
64
64
|
),
|
|
65
65
|
...d
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function w({
|
|
70
70
|
className: e,
|
|
71
71
|
children: o,
|
|
72
72
|
checked: a,
|
|
@@ -77,19 +77,19 @@ function x({
|
|
|
77
77
|
{
|
|
78
78
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
79
79
|
className: r(
|
|
80
|
-
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-
|
|
80
|
+
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
81
81
|
e
|
|
82
82
|
),
|
|
83
83
|
checked: a,
|
|
84
84
|
...d,
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */ t.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(s, {
|
|
86
|
+
/* @__PURE__ */ t.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(s, { className: "size-4" }) }) }),
|
|
87
87
|
o
|
|
88
88
|
]
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function b({
|
|
93
93
|
...e
|
|
94
94
|
}) {
|
|
95
95
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -100,7 +100,7 @@ function v({
|
|
|
100
100
|
}
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function h({
|
|
104
104
|
className: e,
|
|
105
105
|
children: o,
|
|
106
106
|
...a
|
|
@@ -110,24 +110,18 @@ function b({
|
|
|
110
110
|
{
|
|
111
111
|
"data-slot": "dropdown-menu-radio-item",
|
|
112
112
|
className: r(
|
|
113
|
-
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-
|
|
113
|
+
"focus:bg-accent focus:text-accent-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
114
114
|
e
|
|
115
115
|
),
|
|
116
116
|
...a,
|
|
117
117
|
children: [
|
|
118
|
-
/* @__PURE__ */ t.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(
|
|
119
|
-
s,
|
|
120
|
-
{
|
|
121
|
-
iconName: "IconCircleFilled",
|
|
122
|
-
className: "size-2 fill-current"
|
|
123
|
-
}
|
|
124
|
-
) }) }),
|
|
118
|
+
/* @__PURE__ */ t.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(i, { weight: "fill", className: "size-2 fill-current" }) }) }),
|
|
125
119
|
o
|
|
126
120
|
]
|
|
127
121
|
}
|
|
128
122
|
);
|
|
129
123
|
}
|
|
130
|
-
function
|
|
124
|
+
function j({
|
|
131
125
|
className: e,
|
|
132
126
|
inset: o,
|
|
133
127
|
...a
|
|
@@ -138,14 +132,14 @@ function w({
|
|
|
138
132
|
"data-slot": "dropdown-menu-label",
|
|
139
133
|
"data-inset": o,
|
|
140
134
|
className: r(
|
|
141
|
-
"paragraph-sm px-2 py-1.5 font-semibold data-
|
|
135
|
+
"paragraph-sm px-2 py-1.5 font-semibold data-inset:pl-8",
|
|
142
136
|
e
|
|
143
137
|
),
|
|
144
138
|
...a
|
|
145
139
|
}
|
|
146
140
|
);
|
|
147
141
|
}
|
|
148
|
-
function
|
|
142
|
+
function z({
|
|
149
143
|
className: e,
|
|
150
144
|
...o
|
|
151
145
|
}) {
|
|
@@ -158,7 +152,7 @@ function h({
|
|
|
158
152
|
}
|
|
159
153
|
);
|
|
160
154
|
}
|
|
161
|
-
function
|
|
155
|
+
function D({
|
|
162
156
|
className: e,
|
|
163
157
|
...o
|
|
164
158
|
}) {
|
|
@@ -174,7 +168,7 @@ function j({
|
|
|
174
168
|
}
|
|
175
169
|
);
|
|
176
170
|
}
|
|
177
|
-
function
|
|
171
|
+
function M({
|
|
178
172
|
...e
|
|
179
173
|
}) {
|
|
180
174
|
return /* @__PURE__ */ t.jsx(n.Sub, { "data-slot": "dropdown-menu-sub", ...e });
|
|
@@ -191,18 +185,18 @@ function N({
|
|
|
191
185
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
192
186
|
"data-inset": o,
|
|
193
187
|
className: r(
|
|
194
|
-
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground paragraph-sm flex cursor-default items-center rounded-sm px-2 py-1.5 outline-hidden select-none data-
|
|
188
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground paragraph-sm flex cursor-default items-center rounded-sm px-2 py-1.5 outline-hidden select-none data-inset:pl-8",
|
|
195
189
|
e
|
|
196
190
|
),
|
|
197
191
|
...d,
|
|
198
192
|
children: [
|
|
199
193
|
a,
|
|
200
|
-
/* @__PURE__ */ t.jsx(
|
|
194
|
+
/* @__PURE__ */ t.jsx(u, { className: "ml-auto size-4" })
|
|
201
195
|
]
|
|
202
196
|
}
|
|
203
197
|
);
|
|
204
198
|
}
|
|
205
|
-
function
|
|
199
|
+
function I({
|
|
206
200
|
className: e,
|
|
207
201
|
...o
|
|
208
202
|
}) {
|
|
@@ -211,7 +205,7 @@ function D({
|
|
|
211
205
|
{
|
|
212
206
|
"data-slot": "dropdown-menu-sub-content",
|
|
213
207
|
className: r(
|
|
214
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-
|
|
208
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
215
209
|
e
|
|
216
210
|
),
|
|
217
211
|
...o
|
|
@@ -219,19 +213,19 @@ function D({
|
|
|
219
213
|
);
|
|
220
214
|
}
|
|
221
215
|
export {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
216
|
+
p as DropdownMenu,
|
|
217
|
+
w as DropdownMenuCheckboxItem,
|
|
218
|
+
g as DropdownMenuContent,
|
|
219
|
+
x as DropdownMenuGroup,
|
|
220
|
+
v as DropdownMenuItem,
|
|
221
|
+
j as DropdownMenuLabel,
|
|
222
|
+
m as DropdownMenuPortal,
|
|
223
|
+
b as DropdownMenuRadioGroup,
|
|
224
|
+
h as DropdownMenuRadioItem,
|
|
225
|
+
z as DropdownMenuSeparator,
|
|
226
|
+
D as DropdownMenuShortcut,
|
|
227
|
+
M as DropdownMenuSub,
|
|
228
|
+
I as DropdownMenuSubContent,
|
|
235
229
|
N as DropdownMenuSubTrigger,
|
|
236
|
-
|
|
230
|
+
f as DropdownMenuTrigger
|
|
237
231
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-9HRzXEQf.cjs"),u=require("@radix-ui/react-slot"),f=require("react"),c=require("react-hook-form"),x=require("../label-D3iN3bzS.cjs");function F(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=F(f),j=c.FormProvider,d=i.createContext({}),p=({...e})=>o.jsxRuntimeExports.jsx(d.Provider,{value:{name:e.name},children:o.jsxRuntimeExports.jsx(c.Controller,{...e})}),m=()=>{const e=i.useContext(d),t=i.useContext(l),{getFieldState:r}=c.useFormContext(),n=c.useFormState({name:e.name}),s=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...s}},l=i.createContext({});function g({className:e,...t}){const r=i.useId();return o.jsxRuntimeExports.jsx(l.Provider,{value:{id:r},children:o.jsxRuntimeExports.jsx("div",{"data-slot":"form-item",className:o.cn("grid gap-2",e),...t})})}function b({className:e,...t}){const{error:r,formItemId:n}=m();return o.jsxRuntimeExports.jsx(x.Label,{"data-slot":"form-label","data-error":!!r,className:o.cn("data-[error=true]:text-destructive",e),htmlFor:n,...t})}function I({...e}){const{error:t,formItemId:r,formDescriptionId:n,formMessageId:s}=m();return o.jsxRuntimeExports.jsx(u.Slot,{"data-slot":"form-control",id:r,"aria-describedby":t?`${n} ${s}`:`${n}`,"aria-invalid":!!t,...e})}function C({className:e,...t}){const{formDescriptionId:r}=m();return o.jsxRuntimeExports.jsx("p",{"data-slot":"form-description",id:r,className:o.cn("text-muted-foreground! label-md",e),...t})}function v({className:e,...t}){const{error:r,formMessageId:n}=m(),s=r?String(r?.message??""):t.children;return s?o.jsxRuntimeExports.jsx("p",{"data-slot":"form-message",id:n,className:o.cn("text-destructive! label-md",e),...t,children:s}):null}exports.Form=j;exports.FormControl=I;exports.FormDescription=C;exports.FormField=p;exports.FormItem=g;exports.FormLabel=b;exports.FormMessage=v;exports.useFormField=m;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as s, c as a } from "../index-
|
|
1
|
+
import { j as s, c as a } from "../index-D5lmpham.js";
|
|
2
2
|
import { Slot as f } from "@radix-ui/react-slot";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { FormProvider as u, Controller as x, useFormContext as F, useFormState as I } from "react-hook-form";
|
|
5
|
-
import { L as g } from "../label-
|
|
5
|
+
import { L as g } from "../label-DDxTPxHk.js";
|
|
6
6
|
const v = u, c = n.createContext(
|
|
7
7
|
{}
|
|
8
8
|
), h = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-9HRzXEQf.cjs"),i=require("@radix-ui/react-hover-card");function s(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const a=s(i);function c({...t}){return o.jsxRuntimeExports.jsx(a.Root,{"data-slot":"hover-card",...t})}function l({...t}){return o.jsxRuntimeExports.jsx(a.Trigger,{"data-slot":"hover-card-trigger",...t})}function u({className:t,align:r="center",sideOffset:e=4,collisionPadding:n=24,...d}){return o.jsxRuntimeExports.jsx(a.Portal,{"data-slot":"hover-card-portal",children:o.jsxRuntimeExports.jsx(a.Content,{"data-slot":"hover-card-content",align:r,sideOffset:e,className:o.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...d})})}exports.HoverCard=c;exports.HoverCardContent=u;exports.HoverCardTrigger=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),i=require("input-otp"),c=require("react"),d=require("@phosphor-icons/react");function l(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const p=l(c);function x({className:t,containerClassName:r,...n}){return e.jsxRuntimeExports.jsx(i.OTPInput,{"data-slot":"input-otp",containerClassName:e.cn("flex items-center gap-2 has-disabled:opacity-50",r),className:e.cn("disabled:cursor-not-allowed",t),...n})}function m({className:t,...r}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"input-otp-group",className:e.cn("flex items-center",t),...r})}function v({index:t,className:r,...n}){const a=p.useContext(i.OTPInputContext),{char:s,hasFakeCaret:o,isActive:u}=a?.slots[t]??{};return e.jsxRuntimeExports.jsxs("div",{"data-slot":"input-otp-slot","data-active":u,className:e.cn("data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input paragraph-sm relative flex h-9 w-9 items-center justify-center border-y border-r transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",r),...n,children:[s,o&&e.jsxRuntimeExports.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:e.jsxRuntimeExports.jsx("div",{className:"animate-caret-blink bg-foreground h-4 w-px duration-1000"})})]})}function f({...t}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"input-otp-separator",role:"separator",...t,children:e.jsxRuntimeExports.jsx(d.MinusIcon,{})})}exports.InputOTP=x;exports.InputOTPGroup=m;exports.InputOTPSeparator=f;exports.InputOTPSlot=v;
|