@clasing/ui 2.0.3 → 2.0.5
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-CJxUpkWv.js → badge-DgjaD6g5.js} +24 -24
- package/dist/{badge-DknEN5GE.cjs → badge-DuEEk3J_.cjs} +1 -1
- package/dist/{button-C5IBh3Tr.js → button-D8hlW1CJ.js} +123 -123
- package/dist/button-U1793OQ4.cjs +1 -0
- package/dist/{card-D0D_gMHR.cjs → card-BJMc0row.cjs} +1 -1
- package/dist/{card-9-UcGdV0.js → card-DPaMJS2f.js} +1 -1
- package/dist/{chip-D12iiF8O.js → chip-C5OWe3FG.js} +21 -21
- package/dist/chip-CXa6E8Cf.cjs +1 -0
- package/dist/command-B7wbtmbM.cjs +1 -0
- package/dist/command-RWDkdfba.js +176 -0
- package/dist/components/accordion.cjs.js +1 -1
- package/dist/components/accordion.es.js +23 -23
- package/dist/components/alert-dialog.cjs.js +1 -1
- package/dist/components/alert-dialog.es.js +14 -14
- package/dist/components/alert.cjs.js +1 -1
- package/dist/components/alert.es.js +35 -35
- package/dist/components/avatar.cjs.js +1 -1
- package/dist/components/avatar.es.js +9 -9
- package/dist/components/badge.cjs.js +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/blocks/interactive-card.cjs.js +1 -1
- package/dist/components/blocks/interactive-card.es.js +37 -37
- package/dist/components/blocks/selectable-chips.cjs.js +1 -1
- package/dist/components/blocks/selectable-chips.es.js +10 -10
- package/dist/components/breadcrumb.cjs.js +1 -1
- package/dist/components/breadcrumb.es.js +10 -10
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs.js +1 -1
- package/dist/components/calendar.es.js +8 -8
- package/dist/components/card.cjs.js +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/chart.cjs.js +3 -3
- package/dist/components/chart.es.js +24 -24
- package/dist/components/checkbox.cjs.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/chip.cjs.js +1 -1
- package/dist/components/chip.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 +39 -39
- package/dist/components/dialog.cjs.js +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/drawer.cjs.js +1 -1
- package/dist/components/drawer.es.js +30 -30
- package/dist/components/dropdown-menu.cjs.js +1 -1
- package/dist/components/dropdown-menu.es.js +15 -15
- package/dist/components/form.cjs.js +1 -1
- package/dist/components/form.es.js +3 -3
- package/dist/components/icon-component.cjs.js +1 -1
- package/dist/components/icon-component.es.js +1 -1
- package/dist/components/input-otp.cjs.js +1 -1
- package/dist/components/input-otp.es.js +4 -4
- package/dist/components/input.cjs.js +1 -1
- 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 +42 -42
- package/dist/components/multi-select.cjs.js +1 -1
- package/dist/components/multi-select.es.js +8 -8
- package/dist/components/navigation-menu.cjs.js +1 -1
- package/dist/components/navigation-menu.es.js +7 -7
- package/dist/components/phone-input.cjs.js +1 -1
- package/dist/components/phone-input.d.ts +0 -5
- package/dist/components/phone-input.es.js +112 -154
- package/dist/components/resizable.cjs.js +1 -1
- package/dist/components/resizable.es.js +1 -1
- package/dist/components/select.cjs.js +1 -1
- package/dist/components/select.es.js +30 -27
- package/dist/components/sheet.cjs.js +1 -1
- package/dist/components/sheet.es.js +2 -2
- package/dist/components/table.cjs.js +1 -1
- package/dist/components/table.es.js +28 -28
- package/dist/components/textarea.cjs.js +1 -1
- package/dist/components/textarea.d.ts +1 -1
- package/dist/components/textarea.es.js +19 -19
- package/dist/components/toggle-group.cjs.js +1 -1
- package/dist/components/toggle-group.es.js +1 -1
- package/dist/components/toggle.cjs.js +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-DIua9sAl.js → dialog-BSEMFrzb.js} +37 -37
- package/dist/{dialog-C15HjAtO.cjs → dialog-aYmcf_6q.cjs} +1 -1
- package/dist/icon-component-4lyl8wE_.cjs +1 -0
- package/dist/{icon-component-CxQsODCa.js → icon-component-Db_44zX2.js} +2 -2
- package/dist/{input-Bs18T-Y3.js → input-CUpmfQgR.js} +29 -29
- package/dist/input-belq5zLm.cjs +1 -0
- package/dist/label-CKObiJEl.js +22 -0
- package/dist/{label-U5GnYvFO.cjs → label-RxaHfl3U.cjs} +1 -1
- package/dist/{toggle-nsKZaKsW.js → toggle-DkQSX3ux.js} +13 -13
- package/dist/toggle-v18XjPC4.cjs +1 -0
- package/dist/{tooltip-Bxh10S4Q.js → tooltip-DgWl3klK.js} +1 -1
- package/dist/tooltip-__VfWmJD.cjs +1 -0
- package/dist/ui.css +692 -688
- package/package.json +357 -357
- package/dist/button-BnSM-lrr.cjs +0 -1
- package/dist/chip-DePZ5IYA.cjs +0 -1
- package/dist/command-C4Y6Ixrp.cjs +0 -1
- package/dist/command-pED95x7-.js +0 -176
- package/dist/icon-component-D5YssRbR.cjs +0 -1
- package/dist/input-wSGCWBH-.cjs +0 -1
- package/dist/label-_kG7WBoJ.js +0 -22
- package/dist/toggle-B9JMLYVf.cjs +0 -1
- package/dist/tooltip-BRSR0-4n.cjs +0 -1
|
@@ -1,206 +1,164 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
-
import { C as N, d as v, f as I, b as S, c as w, e as P } from "../command-
|
|
3
|
-
import { I as R } from "../input-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
const _ = f.forwardRef(
|
|
2
|
+
import { C as N, d as v, f as I, b as S, c as w, e as P } from "../command-RWDkdfba.js";
|
|
3
|
+
import { I as R } from "../input-CUpmfQgR.js";
|
|
4
|
+
import { P as O, c as E, b as T } from "../popover-CHAUhJda.js";
|
|
5
|
+
import { S as V } from "../scroll-area-DwBiu3Jn.js";
|
|
6
|
+
import { c } from "../index-CRiPKpXj.js";
|
|
7
|
+
import * as p from "react";
|
|
8
|
+
import * as h from "react-phone-number-input";
|
|
9
|
+
import k from "react-phone-number-input/flags";
|
|
10
|
+
import A from "react-phone-number-input/locale/en";
|
|
11
|
+
import F from "react-phone-number-input/locale/es";
|
|
12
|
+
import _ from "react-phone-number-input/locale/fr";
|
|
13
|
+
import { I as b } from "../icon-component-Db_44zX2.js";
|
|
14
|
+
const $ = p.forwardRef(
|
|
16
15
|
({
|
|
17
|
-
className:
|
|
16
|
+
className: o,
|
|
18
17
|
onChange: n,
|
|
19
|
-
value:
|
|
18
|
+
value: t,
|
|
20
19
|
size: s = "md",
|
|
21
|
-
rounded:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
inputComponent: y,
|
|
48
|
-
smartCaret: !1,
|
|
49
|
-
labels: p === "es" ? A : p === "fr" ? T : k,
|
|
50
|
-
value: l || void 0,
|
|
51
|
-
onChange: (i) => n?.(i || ""),
|
|
52
|
-
countrySelectProps: {
|
|
53
|
-
size: s,
|
|
54
|
-
rounded: o,
|
|
55
|
-
error: r,
|
|
56
|
-
touched: u
|
|
57
|
-
},
|
|
58
|
-
numberInputProps: {
|
|
59
|
-
size: s,
|
|
60
|
-
rounded: o,
|
|
61
|
-
error: r,
|
|
62
|
-
touched: u
|
|
63
|
-
},
|
|
64
|
-
...a
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
r && u ? /* @__PURE__ */ e.jsx(
|
|
68
|
-
"span",
|
|
69
|
-
{
|
|
70
|
-
id: a.id && `${a.id}-error-text`,
|
|
71
|
-
"aria-invalid": !0,
|
|
72
|
-
className: "text-destructive text-label-md -mt-1",
|
|
73
|
-
children: r
|
|
74
|
-
}
|
|
75
|
-
) : c ? /* @__PURE__ */ e.jsx(
|
|
76
|
-
"span",
|
|
77
|
-
{
|
|
78
|
-
id: a.id && `${a.id}-helper-text`,
|
|
79
|
-
className: m("text-label-md -mt-1", {
|
|
80
|
-
"text-muted-foreground": !r && !u,
|
|
81
|
-
"text-destructive": r && u,
|
|
82
|
-
"text-muted-foreground opacity-50": a.disabled
|
|
83
|
-
}),
|
|
84
|
-
children: c
|
|
85
|
-
}
|
|
86
|
-
) : null
|
|
87
|
-
] })
|
|
20
|
+
rounded: r = "default",
|
|
21
|
+
locale: a = "en",
|
|
22
|
+
...d
|
|
23
|
+
}, i) => /* @__PURE__ */ e.jsx(
|
|
24
|
+
h.default,
|
|
25
|
+
{
|
|
26
|
+
ref: i,
|
|
27
|
+
className: c("flex", o),
|
|
28
|
+
flagComponent: f,
|
|
29
|
+
countrySelectComponent: q,
|
|
30
|
+
inputComponent: C,
|
|
31
|
+
smartCaret: !1,
|
|
32
|
+
labels: a === "es" ? F : a === "fr" ? _ : A,
|
|
33
|
+
value: t || void 0,
|
|
34
|
+
onChange: (m) => n?.(m || ""),
|
|
35
|
+
countrySelectProps: {
|
|
36
|
+
size: s,
|
|
37
|
+
rounded: r
|
|
38
|
+
},
|
|
39
|
+
numberInputProps: {
|
|
40
|
+
size: s,
|
|
41
|
+
rounded: r
|
|
42
|
+
},
|
|
43
|
+
...d
|
|
44
|
+
}
|
|
45
|
+
)
|
|
88
46
|
);
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
const { "data-country":
|
|
47
|
+
$.displayName = "PhoneInput";
|
|
48
|
+
const C = p.forwardRef(({ className: o, rounded: n = "default", error: t, touched: s, size: r, ...a }, d) => {
|
|
49
|
+
const { "data-country": i, ...m } = a;
|
|
92
50
|
return /* @__PURE__ */ e.jsx(
|
|
93
51
|
R,
|
|
94
52
|
{
|
|
95
|
-
size:
|
|
96
|
-
className:
|
|
53
|
+
size: r,
|
|
54
|
+
className: c(
|
|
97
55
|
"w-full",
|
|
98
56
|
{
|
|
99
|
-
"border-destructive":
|
|
100
|
-
"border-blue-800": s && !
|
|
57
|
+
"border-destructive": t && s,
|
|
58
|
+
"border-blue-800": s && !t,
|
|
101
59
|
"rounded-s-none rounded-e-lg": n !== "full",
|
|
102
60
|
"rounded-s-none rounded-e-full": n === "full",
|
|
103
|
-
"rounded-e-sm":
|
|
104
|
-
"rounded-e-md":
|
|
105
|
-
"rounded-e-lg":
|
|
61
|
+
"rounded-e-sm": r === "sm",
|
|
62
|
+
"rounded-e-md": r === "md",
|
|
63
|
+
"rounded-e-lg": r === "lg"
|
|
106
64
|
},
|
|
107
|
-
|
|
65
|
+
o
|
|
108
66
|
),
|
|
109
|
-
...
|
|
110
|
-
ref:
|
|
67
|
+
...m,
|
|
68
|
+
ref: d
|
|
111
69
|
}
|
|
112
70
|
);
|
|
113
71
|
});
|
|
114
|
-
|
|
72
|
+
C.displayName = "InputComponent";
|
|
115
73
|
const q = ({
|
|
116
|
-
disabled:
|
|
74
|
+
disabled: o,
|
|
117
75
|
value: n,
|
|
118
|
-
options:
|
|
76
|
+
options: t,
|
|
119
77
|
onChange: s,
|
|
120
|
-
size:
|
|
121
|
-
rounded:
|
|
122
|
-
error:
|
|
123
|
-
touched:
|
|
78
|
+
size: r = "md",
|
|
79
|
+
rounded: a = "default",
|
|
80
|
+
error: d,
|
|
81
|
+
touched: i
|
|
124
82
|
}) => {
|
|
125
|
-
const
|
|
83
|
+
const m = p.useRef(null), [j, x] = p.useState(""), [y, g] = p.useState(!1);
|
|
126
84
|
return /* @__PURE__ */ e.jsxs(
|
|
127
|
-
|
|
85
|
+
O,
|
|
128
86
|
{
|
|
129
|
-
open:
|
|
87
|
+
open: y,
|
|
130
88
|
modal: !0,
|
|
131
|
-
onOpenChange: (
|
|
132
|
-
|
|
89
|
+
onOpenChange: (l) => {
|
|
90
|
+
g(l), l && x("");
|
|
133
91
|
},
|
|
134
92
|
children: [
|
|
135
93
|
/* @__PURE__ */ e.jsx(E, { asChild: !0, children: /* @__PURE__ */ e.jsxs(
|
|
136
94
|
"button",
|
|
137
95
|
{
|
|
138
96
|
type: "button",
|
|
139
|
-
className:
|
|
140
|
-
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 flex w-fit min-w-0 items-center justify-center border border-r-0 bg-transparent
|
|
141
|
-
|
|
97
|
+
className: c(
|
|
98
|
+
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 file:paragraph-sm md:paragraph-sm paragraph-md flex w-fit min-w-0 items-center justify-center border border-r-0 bg-transparent transition-[color,box-shadow] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-semibold focus-visible:z-1 focus-visible:ring-[3px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
99
|
+
a === "default" ? "rounded-e-none" : "rounded-s-full rounded-e-none",
|
|
142
100
|
{
|
|
143
|
-
"outline-destructive":
|
|
144
|
-
"outline-blue-800":
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
101
|
+
"outline-destructive": d && i,
|
|
102
|
+
"outline-blue-800": i && !d,
|
|
103
|
+
"label-md h-8 rounded-s-sm px-2 py-1": r === "sm",
|
|
104
|
+
"label-lg h-12 rounded-s-md px-3 py-1": r === "md",
|
|
105
|
+
"label-xl h-16 rounded-s-lg px-4 py-2": r === "lg"
|
|
148
106
|
}
|
|
149
107
|
),
|
|
150
|
-
disabled:
|
|
108
|
+
disabled: o,
|
|
151
109
|
children: [
|
|
152
110
|
/* @__PURE__ */ e.jsx(
|
|
153
|
-
|
|
111
|
+
f,
|
|
154
112
|
{
|
|
155
113
|
country: n,
|
|
156
114
|
countryName: n,
|
|
157
|
-
disabled:
|
|
115
|
+
disabled: o
|
|
158
116
|
}
|
|
159
117
|
),
|
|
160
118
|
/* @__PURE__ */ e.jsx(
|
|
161
|
-
|
|
119
|
+
b,
|
|
162
120
|
{
|
|
163
121
|
iconName: "IconChevronDown",
|
|
164
|
-
className:
|
|
122
|
+
className: c(
|
|
165
123
|
"-mr-2 size-4 opacity-50",
|
|
166
|
-
|
|
124
|
+
o ? "hidden" : "opacity-100"
|
|
167
125
|
)
|
|
168
126
|
}
|
|
169
127
|
)
|
|
170
128
|
]
|
|
171
129
|
}
|
|
172
130
|
) }),
|
|
173
|
-
/* @__PURE__ */ e.jsx(
|
|
131
|
+
/* @__PURE__ */ e.jsx(T, { className: "w-[300px] p-0", children: /* @__PURE__ */ e.jsxs(N, { children: [
|
|
174
132
|
/* @__PURE__ */ e.jsx(
|
|
175
133
|
v,
|
|
176
134
|
{
|
|
177
|
-
value:
|
|
178
|
-
onValueChange: (
|
|
179
|
-
x(
|
|
180
|
-
if (
|
|
181
|
-
const
|
|
135
|
+
value: j,
|
|
136
|
+
onValueChange: (l) => {
|
|
137
|
+
x(l), setTimeout(() => {
|
|
138
|
+
if (m.current) {
|
|
139
|
+
const u = m.current.querySelector(
|
|
182
140
|
"[data-radix-scroll-area-viewport]"
|
|
183
141
|
);
|
|
184
|
-
|
|
142
|
+
u && (u.scrollTop = 0);
|
|
185
143
|
}
|
|
186
144
|
}, 0);
|
|
187
145
|
},
|
|
188
146
|
placeholder: "Search country..."
|
|
189
147
|
}
|
|
190
148
|
),
|
|
191
|
-
/* @__PURE__ */ e.jsx(I, { children: /* @__PURE__ */ e.jsxs(
|
|
149
|
+
/* @__PURE__ */ e.jsx(I, { children: /* @__PURE__ */ e.jsxs(V, { ref: m, className: "h-72", children: [
|
|
192
150
|
/* @__PURE__ */ e.jsx(S, { children: "No country found." }),
|
|
193
|
-
/* @__PURE__ */ e.jsx(w, { children:
|
|
194
|
-
({ value:
|
|
151
|
+
/* @__PURE__ */ e.jsx(w, { children: t.map(
|
|
152
|
+
({ value: l, label: u }) => l ? /* @__PURE__ */ e.jsx(
|
|
195
153
|
D,
|
|
196
154
|
{
|
|
197
|
-
country:
|
|
198
|
-
countryName:
|
|
155
|
+
country: l,
|
|
156
|
+
countryName: u,
|
|
199
157
|
selectedCountry: n,
|
|
200
158
|
onChange: s,
|
|
201
|
-
onSelectComplete: () =>
|
|
159
|
+
onSelectComplete: () => g(!1)
|
|
202
160
|
},
|
|
203
|
-
|
|
161
|
+
l
|
|
204
162
|
) : null
|
|
205
163
|
) })
|
|
206
164
|
] }) })
|
|
@@ -209,44 +167,44 @@ const q = ({
|
|
|
209
167
|
}
|
|
210
168
|
);
|
|
211
169
|
}, D = ({
|
|
212
|
-
country:
|
|
170
|
+
country: o,
|
|
213
171
|
countryName: n,
|
|
214
|
-
selectedCountry:
|
|
172
|
+
selectedCountry: t,
|
|
215
173
|
onChange: s,
|
|
216
|
-
onSelectComplete:
|
|
174
|
+
onSelectComplete: r
|
|
217
175
|
}) => {
|
|
218
|
-
const
|
|
219
|
-
s(
|
|
176
|
+
const a = () => {
|
|
177
|
+
s(o), r();
|
|
220
178
|
};
|
|
221
|
-
return /* @__PURE__ */ e.jsxs(P, { className: "gap-2", onSelect:
|
|
222
|
-
/* @__PURE__ */ e.jsx(
|
|
223
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1
|
|
224
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-foreground/50
|
|
179
|
+
return /* @__PURE__ */ e.jsxs(P, { className: "gap-2", onSelect: a, children: [
|
|
180
|
+
/* @__PURE__ */ e.jsx(f, { country: o, countryName: n }),
|
|
181
|
+
/* @__PURE__ */ e.jsx("span", { className: "paragraph-sm flex-1", children: n }),
|
|
182
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-foreground/50 paragraph-sm", children: `+${h.getCountryCallingCode(o)}` }),
|
|
225
183
|
/* @__PURE__ */ e.jsx(
|
|
226
|
-
|
|
184
|
+
b,
|
|
227
185
|
{
|
|
228
186
|
iconName: "IconCheck",
|
|
229
|
-
className: `ml-auto size-4 ${
|
|
187
|
+
className: `ml-auto size-4 ${o === t ? "opacity-100" : "opacity-0"}`
|
|
230
188
|
}
|
|
231
189
|
)
|
|
232
190
|
] });
|
|
233
|
-
},
|
|
234
|
-
country:
|
|
191
|
+
}, f = ({
|
|
192
|
+
country: o,
|
|
235
193
|
countryName: n,
|
|
236
|
-
disabled:
|
|
194
|
+
disabled: t
|
|
237
195
|
}) => {
|
|
238
|
-
const s =
|
|
196
|
+
const s = k[o];
|
|
239
197
|
return /* @__PURE__ */ e.jsx(
|
|
240
198
|
"span",
|
|
241
199
|
{
|
|
242
|
-
className:
|
|
200
|
+
className: c(
|
|
243
201
|
"bg-foreground/20 flex h-4 w-6 overflow-hidden rounded-[4px] [&_svg:not([class*='size-'])]:size-full",
|
|
244
|
-
{ "opacity-50":
|
|
202
|
+
{ "opacity-50": t }
|
|
245
203
|
),
|
|
246
204
|
children: s && /* @__PURE__ */ e.jsx(s, { title: n })
|
|
247
205
|
}
|
|
248
206
|
);
|
|
249
207
|
};
|
|
250
208
|
export {
|
|
251
|
-
|
|
209
|
+
$ as PhoneInput
|
|
252
210
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),o=require("react-resizable-panels"),l=require("../index-DoxiiusW.cjs"),s=require("../icon-component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),o=require("react-resizable-panels"),l=require("../index-DoxiiusW.cjs"),s=require("../icon-component-4lyl8wE_.cjs");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const i=c(o);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(i.PanelGroup,{"data-slot":"resizable-panel-group",className:l.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t})}function d({...e}){return r.jsxRuntimeExports.jsx(i.Panel,{"data-slot":"resizable-panel",...e})}function f({withHandle:e,className:t,...a}){return r.jsxRuntimeExports.jsx(i.PanelResizeHandle,{"data-slot":"resizable-handle",className:l.cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...a,children:e&&r.jsxRuntimeExports.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:r.jsxRuntimeExports.jsx(s.IconComponent,{iconName:"IconGripVertical",className:"size-2.5"})})})}exports.ResizableHandle=f;exports.ResizablePanel=d;exports.ResizablePanelGroup=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as a } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as t from "react-resizable-panels";
|
|
3
3
|
import { c as i } from "../index-CRiPKpXj.js";
|
|
4
|
-
import { I as n } from "../icon-component-
|
|
4
|
+
import { I as n } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
function d({
|
|
6
6
|
className: e,
|
|
7
7
|
...r
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../jsx-runtime-BuHQgaKs.cjs"),d=require("@radix-ui/react-select"),r=require("../index-DoxiiusW.cjs"),l=require("../icon-component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../jsx-runtime-BuHQgaKs.cjs"),d=require("@radix-ui/react-select"),r=require("../index-DoxiiusW.cjs"),l=require("../icon-component-4lyl8wE_.cjs");function u(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(s,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return s.default=e,Object.freeze(s)}const n=u(d);function p({...e}){return t.jsxRuntimeExports.jsx(n.Root,{"data-slot":"select",...e})}function x({...e}){return t.jsxRuntimeExports.jsx(n.Group,{"data-slot":"select-group",...e})}function m({...e}){return t.jsxRuntimeExports.jsx(n.Value,{"data-slot":"select-value",...e})}function g({className:e,size:s="md",children:o,...a}){return t.jsxRuntimeExports.jsxs(n.Trigger,{"data-slot":"select-trigger","data-size":s,className:r.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s==="xs"&&'label-sm h-7 px-2 py-1 [&_svg:not([class*="size-"])]:size-3.5',s==="sm"&&"label-md h-8 px-2 py-1",s==="md"&&"label-lg h-12 px-3 py-1",s==="lg"&&"label-xl h-16 px-4 py-2",e),...a,children:[o,t.jsxRuntimeExports.jsx(n.Icon,{asChild:!0,children:t.jsxRuntimeExports.jsx(l.IconComponent,{iconName:"IconChevronDown",className:"size-4 opacity-50"})})]})}function f({className:e,children:s,position:o="popper",...a}){return t.jsxRuntimeExports.jsx(n.Portal,{children:t.jsxRuntimeExports.jsxs(n.Content,{"data-slot":"select-content",className:r.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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[t.jsxRuntimeExports.jsx(i,{}),t.jsxRuntimeExports.jsx(n.Viewport,{className:r.cn("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:s}),t.jsxRuntimeExports.jsx(c,{})]})})}function j({className:e,...s}){return t.jsxRuntimeExports.jsx(n.Label,{"data-slot":"select-label",className:r.cn("text-muted-foreground paragraph-xs px-2 py-1.5",e),...s})}function b({className:e,children:s,...o}){return t.jsxRuntimeExports.jsxs(n.Item,{"data-slot":"select-item",className:r.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...o,children:[t.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:t.jsxRuntimeExports.jsx(n.ItemIndicator,{children:t.jsxRuntimeExports.jsx(l.IconComponent,{iconName:"IconCheck",className:"size-4"})})}),t.jsxRuntimeExports.jsx(n.ItemText,{children:s})]})}function v({className:e,...s}){return t.jsxRuntimeExports.jsx(n.Separator,{"data-slot":"select-separator",className:r.cn("bg-border pointer-events-none -mx-1 my-1 h-px",e),...s})}function i({className:e,...s}){return t.jsxRuntimeExports.jsx(n.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:r.cn("flex cursor-default items-center justify-center py-1",e),...s,children:t.jsxRuntimeExports.jsx(l.IconComponent,{iconName:"IconChevronUp",className:"size-4"})})}function c({className:e,...s}){return t.jsxRuntimeExports.jsx(n.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:r.cn("flex cursor-default items-center justify-center py-1",e),...s,children:t.jsxRuntimeExports.jsx(l.IconComponent,{iconName:"IconChevronDown",className:"size-4"})})}exports.Select=p;exports.SelectContent=f;exports.SelectGroup=x;exports.SelectItem=b;exports.SelectLabel=j;exports.SelectScrollDownButton=c;exports.SelectScrollUpButton=i;exports.SelectSeparator=v;exports.SelectTrigger=g;exports.SelectValue=m;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as s from "@radix-ui/react-select";
|
|
3
|
-
import { c as
|
|
4
|
-
import { I as n } from "../icon-component-
|
|
3
|
+
import { c as r } from "../index-CRiPKpXj.js";
|
|
4
|
+
import { I as n } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
function m({
|
|
6
6
|
...t
|
|
7
7
|
}) {
|
|
@@ -20,7 +20,7 @@ function f({
|
|
|
20
20
|
function g({
|
|
21
21
|
className: t,
|
|
22
22
|
size: a = "md",
|
|
23
|
-
children:
|
|
23
|
+
children: o,
|
|
24
24
|
...l
|
|
25
25
|
}) {
|
|
26
26
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -28,17 +28,17 @@ function g({
|
|
|
28
28
|
{
|
|
29
29
|
"data-slot": "select-trigger",
|
|
30
30
|
"data-size": a,
|
|
31
|
-
className:
|
|
31
|
+
className: r(
|
|
32
32
|
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
33
|
-
a === "xs" && '
|
|
34
|
-
a === "sm" && "
|
|
35
|
-
a === "md" && "
|
|
36
|
-
a === "lg" && "
|
|
33
|
+
a === "xs" && 'label-sm h-7 px-2 py-1 [&_svg:not([class*="size-"])]:size-3.5',
|
|
34
|
+
a === "sm" && "label-md h-8 px-2 py-1",
|
|
35
|
+
a === "md" && "label-lg h-12 px-3 py-1",
|
|
36
|
+
a === "lg" && "label-xl h-16 px-4 py-2",
|
|
37
37
|
t
|
|
38
38
|
),
|
|
39
39
|
...l,
|
|
40
40
|
children: [
|
|
41
|
-
|
|
41
|
+
o,
|
|
42
42
|
/* @__PURE__ */ e.jsx(s.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(
|
|
43
43
|
n,
|
|
44
44
|
{
|
|
@@ -50,31 +50,31 @@ function g({
|
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function h({
|
|
54
54
|
className: t,
|
|
55
55
|
children: a,
|
|
56
|
-
position:
|
|
56
|
+
position: o = "popper",
|
|
57
57
|
...l
|
|
58
58
|
}) {
|
|
59
59
|
return /* @__PURE__ */ e.jsx(s.Portal, { children: /* @__PURE__ */ e.jsxs(
|
|
60
60
|
s.Content,
|
|
61
61
|
{
|
|
62
62
|
"data-slot": "select-content",
|
|
63
|
-
className:
|
|
63
|
+
className: r(
|
|
64
64
|
"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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
65
|
-
|
|
65
|
+
o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
66
66
|
t
|
|
67
67
|
),
|
|
68
|
-
position:
|
|
68
|
+
position: o,
|
|
69
69
|
...l,
|
|
70
70
|
children: [
|
|
71
71
|
/* @__PURE__ */ e.jsx(i, {}),
|
|
72
72
|
/* @__PURE__ */ e.jsx(
|
|
73
73
|
s.Viewport,
|
|
74
74
|
{
|
|
75
|
-
className:
|
|
75
|
+
className: r(
|
|
76
76
|
"p-1",
|
|
77
|
-
|
|
77
|
+
o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
78
78
|
),
|
|
79
79
|
children: a
|
|
80
80
|
}
|
|
@@ -84,7 +84,7 @@ function v({
|
|
|
84
84
|
}
|
|
85
85
|
) });
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function v({
|
|
88
88
|
className: t,
|
|
89
89
|
...a
|
|
90
90
|
}) {
|
|
@@ -92,7 +92,10 @@ function h({
|
|
|
92
92
|
s.Label,
|
|
93
93
|
{
|
|
94
94
|
"data-slot": "select-label",
|
|
95
|
-
className:
|
|
95
|
+
className: r(
|
|
96
|
+
"text-muted-foreground paragraph-xs px-2 py-1.5",
|
|
97
|
+
t
|
|
98
|
+
),
|
|
96
99
|
...a
|
|
97
100
|
}
|
|
98
101
|
);
|
|
@@ -100,17 +103,17 @@ function h({
|
|
|
100
103
|
function b({
|
|
101
104
|
className: t,
|
|
102
105
|
children: a,
|
|
103
|
-
...
|
|
106
|
+
...o
|
|
104
107
|
}) {
|
|
105
108
|
return /* @__PURE__ */ e.jsxs(
|
|
106
109
|
s.Item,
|
|
107
110
|
{
|
|
108
111
|
"data-slot": "select-item",
|
|
109
|
-
className:
|
|
110
|
-
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2
|
|
112
|
+
className: r(
|
|
113
|
+
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
111
114
|
t
|
|
112
115
|
),
|
|
113
|
-
...
|
|
116
|
+
...o,
|
|
114
117
|
children: [
|
|
115
118
|
/* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(s.ItemIndicator, { children: /* @__PURE__ */ e.jsx(n, { iconName: "IconCheck", className: "size-4" }) }) }),
|
|
116
119
|
/* @__PURE__ */ e.jsx(s.ItemText, { children: a })
|
|
@@ -126,7 +129,7 @@ function j({
|
|
|
126
129
|
s.Separator,
|
|
127
130
|
{
|
|
128
131
|
"data-slot": "select-separator",
|
|
129
|
-
className:
|
|
132
|
+
className: r("bg-border pointer-events-none -mx-1 my-1 h-px", t),
|
|
130
133
|
...a
|
|
131
134
|
}
|
|
132
135
|
);
|
|
@@ -139,7 +142,7 @@ function i({
|
|
|
139
142
|
s.ScrollUpButton,
|
|
140
143
|
{
|
|
141
144
|
"data-slot": "select-scroll-up-button",
|
|
142
|
-
className:
|
|
145
|
+
className: r(
|
|
143
146
|
"flex cursor-default items-center justify-center py-1",
|
|
144
147
|
t
|
|
145
148
|
),
|
|
@@ -156,7 +159,7 @@ function c({
|
|
|
156
159
|
s.ScrollDownButton,
|
|
157
160
|
{
|
|
158
161
|
"data-slot": "select-scroll-down-button",
|
|
159
|
-
className:
|
|
162
|
+
className: r(
|
|
160
163
|
"flex cursor-default items-center justify-center py-1",
|
|
161
164
|
t
|
|
162
165
|
),
|
|
@@ -167,10 +170,10 @@ function c({
|
|
|
167
170
|
}
|
|
168
171
|
export {
|
|
169
172
|
m as Select,
|
|
170
|
-
|
|
173
|
+
h as SelectContent,
|
|
171
174
|
x as SelectGroup,
|
|
172
175
|
b as SelectItem,
|
|
173
|
-
|
|
176
|
+
v as SelectLabel,
|
|
174
177
|
c as SelectScrollDownButton,
|
|
175
178
|
i as SelectScrollUpButton,
|
|
176
179
|
j as SelectSeparator,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-dialog"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-dialog"),n=require("../index-DoxiiusW.cjs"),l=require("../icon-component-4lyl8wE_.cjs");function d(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const a=d(i);function c({...t}){return o.jsxRuntimeExports.jsx(a.Root,{"data-slot":"sheet",...t})}function u({...t}){return o.jsxRuntimeExports.jsx(a.Trigger,{"data-slot":"sheet-trigger",...t})}function x({...t}){return o.jsxRuntimeExports.jsx(a.Close,{"data-slot":"sheet-close",...t})}function m({...t}){return o.jsxRuntimeExports.jsx(a.Portal,{"data-slot":"sheet-portal",...t})}function p({className:t,...e}){return o.jsxRuntimeExports.jsx(a.Overlay,{"data-slot":"sheet-overlay",className:n.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",t),...e})}function f({className:t,children:e,side:s="right",...r}){return o.jsxRuntimeExports.jsxs(m,{children:[o.jsxRuntimeExports.jsx(p,{}),o.jsxRuntimeExports.jsxs(a.Content,{"data-slot":"sheet-content",className:n.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",s==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",s==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",s==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",s==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...r,children:[e,o.jsxRuntimeExports.jsxs(a.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[o.jsxRuntimeExports.jsx(l.IconComponent,{iconName:"IconX",className:"size-4"}),o.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function h({className:t,...e}){return o.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-header",className:n.cn("flex flex-col gap-1.5 p-4",t),...e})}function g({className:t,...e}){return o.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-footer",className:n.cn("mt-auto flex flex-col gap-2 p-4",t),...e})}function j({className:t,...e}){return o.jsxRuntimeExports.jsx(a.Title,{"data-slot":"sheet-title",className:n.cn("text-foreground font-semibold",t),...e})}function b({className:t,...e}){return o.jsxRuntimeExports.jsx(a.Description,{"data-slot":"sheet-description",className:n.cn("text-muted-foreground paragraph-sm",t),...e})}exports.Sheet=c;exports.SheetClose=x;exports.SheetContent=f;exports.SheetDescription=b;exports.SheetFooter=g;exports.SheetHeader=h;exports.SheetTitle=j;exports.SheetTrigger=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as a from "@radix-ui/react-dialog";
|
|
3
3
|
import { c as s } from "../index-CRiPKpXj.js";
|
|
4
|
-
import { I as i } from "../icon-component-
|
|
4
|
+
import { I as i } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
function m({ ...t }) {
|
|
6
6
|
return /* @__PURE__ */ e.jsx(a.Root, { "data-slot": "sheet", ...t });
|
|
7
7
|
}
|
|
@@ -109,7 +109,7 @@ function y({
|
|
|
109
109
|
a.Description,
|
|
110
110
|
{
|
|
111
111
|
"data-slot": "sheet-description",
|
|
112
|
-
className: s("text-muted-foreground
|
|
112
|
+
className: s("text-muted-foreground paragraph-sm", t),
|
|
113
113
|
...o
|
|
114
114
|
}
|
|
115
115
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../jsx-runtime-BuHQgaKs.cjs"),o=require("../index-DoxiiusW.cjs");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../jsx-runtime-BuHQgaKs.cjs"),o=require("../index-DoxiiusW.cjs");function r({className:e,...t}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:a.jsxRuntimeExports.jsx("table",{"data-slot":"table",className:o.cn("paragraph-sm w-full caption-bottom",e),...t})})}function l({className:e,...t}){return a.jsxRuntimeExports.jsx("thead",{"data-slot":"table-header",className:o.cn("[&_tr]:border-b",e),...t})}function s({className:e,...t}){return a.jsxRuntimeExports.jsx("tbody",{"data-slot":"table-body",className:o.cn("[&_tr:last-child]:border-0",e),...t})}function n({className:e,...t}){return a.jsxRuntimeExports.jsx("tfoot",{"data-slot":"table-footer",className:o.cn("bg-muted/50 border-t font-semibold [&>tr]:last:border-b-0",e),...t})}function b({className:e,...t}){return a.jsxRuntimeExports.jsx("tr",{"data-slot":"table-row",className:o.cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function c({className:e,...t}){return a.jsxRuntimeExports.jsx("th",{"data-slot":"table-head",className:o.cn("text-foreground h-10 px-2 text-left align-middle font-semibold whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function d({className:e,...t}){return a.jsxRuntimeExports.jsx("td",{"data-slot":"table-cell",className:o.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function i({className:e,...t}){return a.jsxRuntimeExports.jsx("caption",{"data-slot":"table-caption",className:o.cn("text-muted-foreground paragraph-sm mt-4",e),...t})}exports.Table=r;exports.TableBody=s;exports.TableCaption=i;exports.TableCell=d;exports.TableFooter=n;exports.TableHead=c;exports.TableHeader=l;exports.TableRow=b;
|