@dimasbaguspm/versaur 0.0.15 → 0.0.17
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/js/bottom-sheet-CHRSxXRE.js +501 -0
- package/dist/js/{switch-input-Bx6_2zG9.js → email-input-CVyrFzqL.js} +592 -807
- package/dist/js/enforce-subpath-import.js +5 -2
- package/dist/js/feedbacks/index.js +1 -1
- package/dist/js/{form-layout-4ASWdXn8.js → form-layout-Dhlv-FZL.js} +1 -1
- package/dist/js/forms/index.js +17 -14
- package/dist/js/{index-DOdDlCoL.js → index-C1uJQB34.js} +2 -2
- package/dist/js/index.js +40 -37
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/modal-FqewbVts.js +150 -0
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +4 -4
- package/dist/js/primitive/index.js +11 -11
- package/dist/js/{skeleton-BNZyaRjo.js → skeleton-QEyPZAuF.js} +1 -1
- package/dist/js/{tabs-BbOkYchB.js → tabs-DYcTvVao.js} +1 -1
- package/dist/js/tile-B9bt2AY6.js +1776 -0
- package/dist/types/forms/chip-multiple-input/chip-multiple-input.atoms.d.ts +10 -0
- package/dist/types/forms/chip-multiple-input/chip-multiple-input.d.ts +5 -0
- package/dist/types/forms/chip-multiple-input/index.d.ts +2 -0
- package/dist/types/forms/{chip-input → chip-multiple-input}/types.d.ts +16 -4
- package/dist/types/forms/chip-single-input/chip-single-input.atoms.d.ts +10 -0
- package/dist/types/forms/chip-single-input/chip-single-input.d.ts +5 -0
- package/dist/types/forms/chip-single-input/index.d.ts +1 -0
- package/dist/types/forms/chip-single-input/types.d.ts +67 -0
- package/dist/types/forms/date-single-picker-input/date-single-picker-input.d.ts +1 -8
- package/dist/types/forms/date-single-picker-input/index.d.ts +1 -1
- package/dist/types/forms/date-single-picker-input/types.d.ts +12 -66
- package/dist/types/forms/email-input/email-input.d.ts +8 -0
- package/dist/types/forms/email-input/index.d.ts +2 -0
- package/dist/types/forms/email-input/types.d.ts +6 -0
- package/dist/types/forms/index.d.ts +5 -1
- package/dist/types/forms/price-input/index.d.ts +2 -0
- package/dist/types/forms/price-input/price-input.d.ts +6 -0
- package/dist/types/forms/price-input/types.d.ts +15 -0
- package/dist/types/forms/price-input/use-price-input.d.ts +6 -0
- package/dist/types/forms/search-input/index.d.ts +2 -0
- package/dist/types/forms/search-input/search-input.d.ts +8 -0
- package/dist/types/forms/search-input/types.d.ts +35 -0
- package/dist/types/forms/segment-multiple-input/types.d.ts +1 -5
- package/dist/types/forms/segment-single-input/types.d.ts +1 -5
- package/dist/types/overlays/modal/types.d.ts +1 -1
- package/dist/types/primitive/anchor/types.d.ts +8 -2
- package/dist/types/primitive/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/js/bottom-sheet-Difan0U1.js +0 -340
- package/dist/js/calendar-CUjVZ7Ap.js +0 -811
- package/dist/js/menu-Bm-yPIMN.js +0 -310
- package/dist/js/tile-DLmZbkgG.js +0 -891
- package/dist/types/forms/chip-input/chip-input.atoms.d.ts +0 -10
- package/dist/types/forms/chip-input/chip-input.d.ts +0 -5
- package/dist/types/forms/chip-input/index.d.ts +0 -2
- package/dist/types/forms/date-range-picker-input/date-range-picker-input.d.ts +0 -10
- package/dist/types/forms/date-range-picker-input/index.d.ts +0 -2
- package/dist/types/forms/date-range-picker-input/types.d.ts +0 -64
- package/dist/types/forms/date-range-picker-input/use-date-range-picker.d.ts +0 -13
- package/dist/types/forms/date-single-picker-input/date-single-picker-input.atoms.d.ts +0 -13
- package/dist/types/forms/date-single-picker-input/date-single-picker-input.docked.d.ts +0 -14
- package/dist/types/forms/date-single-picker-input/date-single-picker-input.modal.d.ts +0 -15
- package/dist/types/forms/date-single-picker-input/use-date-single-picker.d.ts +0 -10
package/dist/js/tile-DLmZbkgG.js
DELETED
|
@@ -1,891 +0,0 @@
|
|
|
1
|
-
import { c as b, j as a, a as l } from "./index-DOdDlCoL.js";
|
|
2
|
-
import * as g from "react";
|
|
3
|
-
import { forwardRef as d, useState as v, useEffect as x, useCallback as y, useRef as S, createContext as T, useContext as V, useMemo as A } from "react";
|
|
4
|
-
const B = b(
|
|
5
|
-
"relative flex items-center gap-2 rounded-md p-2 text-sm transition-all duration-200",
|
|
6
|
-
{
|
|
7
|
-
variants: {
|
|
8
|
-
variant: {
|
|
9
|
-
default: "",
|
|
10
|
-
outline: "border"
|
|
11
|
-
},
|
|
12
|
-
color: {
|
|
13
|
-
// Core colors
|
|
14
|
-
primary: "",
|
|
15
|
-
secondary: "",
|
|
16
|
-
tertiary: "",
|
|
17
|
-
ghost: "",
|
|
18
|
-
neutral: "",
|
|
19
|
-
// Semantic colors
|
|
20
|
-
success: "",
|
|
21
|
-
info: "",
|
|
22
|
-
warning: "",
|
|
23
|
-
danger: ""
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
compoundVariants: [
|
|
27
|
-
// Default variant styles (soft backgrounds)
|
|
28
|
-
{
|
|
29
|
-
variant: "default",
|
|
30
|
-
color: "primary",
|
|
31
|
-
class: "bg-primary-soft text-primary border border-primary"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
variant: "default",
|
|
35
|
-
color: "secondary",
|
|
36
|
-
class: "bg-secondary-soft text-secondary border border-secondary"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
variant: "default",
|
|
40
|
-
color: "tertiary",
|
|
41
|
-
class: "bg-tertiary-soft text-tertiary border border-tertiary"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
variant: "default",
|
|
45
|
-
color: "ghost",
|
|
46
|
-
class: "bg-ghost-soft text-ghost border border-ghost"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
variant: "default",
|
|
50
|
-
color: "neutral",
|
|
51
|
-
class: "bg-border/50 text-foreground border border-border"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
variant: "default",
|
|
55
|
-
color: "success",
|
|
56
|
-
class: "bg-success-soft text-success border border-success"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
variant: "default",
|
|
60
|
-
color: "info",
|
|
61
|
-
class: "bg-info-soft text-info border border-info"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
variant: "default",
|
|
65
|
-
color: "warning",
|
|
66
|
-
class: "bg-warning-soft text-warning border border-warning"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
variant: "default",
|
|
70
|
-
color: "danger",
|
|
71
|
-
class: "bg-danger-soft text-danger border border-danger"
|
|
72
|
-
},
|
|
73
|
-
// Outline variant styles
|
|
74
|
-
{
|
|
75
|
-
variant: "outline",
|
|
76
|
-
color: "primary",
|
|
77
|
-
class: "bg-transparent text-primary border-primary"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
variant: "outline",
|
|
81
|
-
color: "secondary",
|
|
82
|
-
class: "bg-transparent text-secondary border-secondary"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
variant: "outline",
|
|
86
|
-
color: "tertiary",
|
|
87
|
-
class: "bg-transparent text-tertiary border-tertiary"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
variant: "outline",
|
|
91
|
-
color: "ghost",
|
|
92
|
-
class: "bg-transparent text-ghost border-ghost"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
variant: "outline",
|
|
96
|
-
color: "neutral",
|
|
97
|
-
class: "bg-transparent text-foreground border-border"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
variant: "outline",
|
|
101
|
-
color: "success",
|
|
102
|
-
class: "bg-transparent text-success border-success"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
variant: "outline",
|
|
106
|
-
color: "info",
|
|
107
|
-
class: "bg-transparent text-info border-info"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
variant: "outline",
|
|
111
|
-
color: "warning",
|
|
112
|
-
class: "bg-transparent text-warning border-warning"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
variant: "outline",
|
|
116
|
-
color: "danger",
|
|
117
|
-
class: "bg-transparent text-danger border-danger"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
defaultVariants: {
|
|
121
|
-
variant: "default",
|
|
122
|
-
color: "neutral"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
), R = b(
|
|
126
|
-
"flex-shrink-0 flex justify-center items-center ",
|
|
127
|
-
{
|
|
128
|
-
variants: {
|
|
129
|
-
size: {
|
|
130
|
-
sm: "w-4 h-4",
|
|
131
|
-
md: "w-5 h-5",
|
|
132
|
-
lg: "w-6 h-6"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
defaultVariants: {
|
|
136
|
-
size: "md"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
), C = d(
|
|
140
|
-
({ className: e, children: r, ...t }, s) => /* @__PURE__ */ a.jsx("div", { ref: s, className: l(R(), e), ...t, children: r })
|
|
141
|
-
), k = d(
|
|
142
|
-
({
|
|
143
|
-
variant: e = "default",
|
|
144
|
-
color: r = "neutral",
|
|
145
|
-
icon: t,
|
|
146
|
-
className: s,
|
|
147
|
-
children: o,
|
|
148
|
-
...n
|
|
149
|
-
}, u) => /* @__PURE__ */ a.jsxs(
|
|
150
|
-
"div",
|
|
151
|
-
{
|
|
152
|
-
ref: u,
|
|
153
|
-
role: "alert",
|
|
154
|
-
className: l(B({ variant: e, color: r }), s),
|
|
155
|
-
...n,
|
|
156
|
-
children: [
|
|
157
|
-
t && /* @__PURE__ */ a.jsx(C, { children: t }),
|
|
158
|
-
/* @__PURE__ */ a.jsx("div", { className: "flex-1", children: o })
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
)
|
|
162
|
-
), ne = Object.assign(k, {
|
|
163
|
-
Icon: C
|
|
164
|
-
}), I = b(
|
|
165
|
-
"inline-flex items-center justify-center font-medium text-white overflow-hidden transition-all duration-200 select-none relative",
|
|
166
|
-
{
|
|
167
|
-
variants: {
|
|
168
|
-
variant: {
|
|
169
|
-
// Core variants using Versaur color system
|
|
170
|
-
primary: "bg-primary-light text-primary",
|
|
171
|
-
secondary: "bg-secondary-light text-secondary",
|
|
172
|
-
tertiary: "bg-tertiary-light text-tertiary",
|
|
173
|
-
ghost: "bg-ghost-light text-ghost",
|
|
174
|
-
neutral: "bg-neutral-light text-foreground border border-border",
|
|
175
|
-
// Semantic variants
|
|
176
|
-
success: "bg-success-light text-success",
|
|
177
|
-
info: "bg-info-light text-info",
|
|
178
|
-
warning: "bg-warning-light text-warning",
|
|
179
|
-
danger: "bg-danger-light text-danger"
|
|
180
|
-
},
|
|
181
|
-
size: {
|
|
182
|
-
xs: "h-6 w-6 text-xs",
|
|
183
|
-
sm: "h-8 w-8 text-xs",
|
|
184
|
-
md: "h-10 w-10 text-sm",
|
|
185
|
-
lg: "h-12 w-12 text-base",
|
|
186
|
-
xl: "h-16 w-16 text-xl"
|
|
187
|
-
},
|
|
188
|
-
shape: {
|
|
189
|
-
circle: "rounded-full",
|
|
190
|
-
square: "rounded-none",
|
|
191
|
-
rounded: "rounded-md"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
defaultVariants: {
|
|
195
|
-
variant: "primary",
|
|
196
|
-
size: "md",
|
|
197
|
-
shape: "circle"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
), O = b(
|
|
201
|
-
"absolute inset-0 h-full w-full object-cover"
|
|
202
|
-
), q = d(
|
|
203
|
-
({
|
|
204
|
-
variant: e = "primary",
|
|
205
|
-
size: r = "md",
|
|
206
|
-
shape: t = "circle",
|
|
207
|
-
className: s,
|
|
208
|
-
children: o,
|
|
209
|
-
...n
|
|
210
|
-
}, u) => /* @__PURE__ */ a.jsx(
|
|
211
|
-
"div",
|
|
212
|
-
{
|
|
213
|
-
ref: u,
|
|
214
|
-
className: l(I({ variant: e, size: r, shape: t }), s),
|
|
215
|
-
...n,
|
|
216
|
-
children: o
|
|
217
|
-
}
|
|
218
|
-
)
|
|
219
|
-
), F = d(
|
|
220
|
-
({ src: e, alt: r, className: t, onError: s, ...o }, n) => {
|
|
221
|
-
const [u, i] = v(!1);
|
|
222
|
-
x(() => {
|
|
223
|
-
i(!1);
|
|
224
|
-
}, [e]);
|
|
225
|
-
const f = y(
|
|
226
|
-
(c) => {
|
|
227
|
-
i(!0), s?.(c);
|
|
228
|
-
},
|
|
229
|
-
[s]
|
|
230
|
-
);
|
|
231
|
-
return u ? null : /* @__PURE__ */ a.jsx(
|
|
232
|
-
"img",
|
|
233
|
-
{
|
|
234
|
-
ref: n,
|
|
235
|
-
src: e,
|
|
236
|
-
alt: r,
|
|
237
|
-
className: l(O(), t),
|
|
238
|
-
onError: f,
|
|
239
|
-
...o
|
|
240
|
-
}
|
|
241
|
-
);
|
|
242
|
-
}
|
|
243
|
-
), ie = Object.assign(q, {
|
|
244
|
-
/**
|
|
245
|
-
* AvatarImage sub-component for displaying images with fallback behavior
|
|
246
|
-
*/
|
|
247
|
-
Image: F
|
|
248
|
-
}), L = b(
|
|
249
|
-
"inline-flex items-center justify-center font-medium transition-all duration-200 select-none gap-1 min-h-[1.25rem]",
|
|
250
|
-
{
|
|
251
|
-
variants: {
|
|
252
|
-
variant: {
|
|
253
|
-
default: "",
|
|
254
|
-
outline: "border bg-background"
|
|
255
|
-
},
|
|
256
|
-
color: {
|
|
257
|
-
// Core colors
|
|
258
|
-
primary: "",
|
|
259
|
-
secondary: "",
|
|
260
|
-
tertiary: "",
|
|
261
|
-
ghost: "",
|
|
262
|
-
neutral: "",
|
|
263
|
-
// Semantic colors
|
|
264
|
-
success: "",
|
|
265
|
-
info: "",
|
|
266
|
-
warning: "",
|
|
267
|
-
danger: ""
|
|
268
|
-
},
|
|
269
|
-
shape: {
|
|
270
|
-
rounded: "rounded-full",
|
|
271
|
-
square: "rounded-md"
|
|
272
|
-
},
|
|
273
|
-
size: {
|
|
274
|
-
sm: "text-xs px-1 py-0.25 h-3",
|
|
275
|
-
md: "text-xs px-1.5 py-0.5 h-4",
|
|
276
|
-
lg: "text-sm px-2 py-1 h-6"
|
|
277
|
-
},
|
|
278
|
-
iconOnly: {
|
|
279
|
-
true: "",
|
|
280
|
-
false: ""
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
compoundVariants: [
|
|
284
|
-
// Default variant color combinations - using light/soft backgrounds
|
|
285
|
-
{
|
|
286
|
-
variant: "default",
|
|
287
|
-
color: "primary",
|
|
288
|
-
className: "bg-primary-light text-primary"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
variant: "default",
|
|
292
|
-
color: "secondary",
|
|
293
|
-
className: "bg-secondary-light text-secondary"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
variant: "default",
|
|
297
|
-
color: "tertiary",
|
|
298
|
-
className: "bg-tertiary-light text-tertiary"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
variant: "default",
|
|
302
|
-
color: "ghost",
|
|
303
|
-
className: "bg-ghost-light text-ghost"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
variant: "default",
|
|
307
|
-
color: "neutral",
|
|
308
|
-
className: "bg-neutral text-foreground"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
variant: "default",
|
|
312
|
-
color: "success",
|
|
313
|
-
className: "bg-success-light text-success"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
variant: "default",
|
|
317
|
-
color: "info",
|
|
318
|
-
className: "bg-info-light text-info"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
variant: "default",
|
|
322
|
-
color: "warning",
|
|
323
|
-
className: "bg-warning-light text-warning"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
variant: "default",
|
|
327
|
-
color: "danger",
|
|
328
|
-
className: "bg-danger-light text-danger"
|
|
329
|
-
},
|
|
330
|
-
// Outline variant color combinations
|
|
331
|
-
{
|
|
332
|
-
variant: "outline",
|
|
333
|
-
color: "primary",
|
|
334
|
-
className: "border-primary text-primary"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
variant: "outline",
|
|
338
|
-
color: "secondary",
|
|
339
|
-
className: "border-secondary text-secondary"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
variant: "outline",
|
|
343
|
-
color: "tertiary",
|
|
344
|
-
className: "border-tertiary text-tertiary"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
variant: "outline",
|
|
348
|
-
color: "ghost",
|
|
349
|
-
className: "border-ghost text-ghost"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
variant: "outline",
|
|
353
|
-
color: "neutral",
|
|
354
|
-
className: "border-neutral text-foreground"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
variant: "outline",
|
|
358
|
-
color: "success",
|
|
359
|
-
className: "border-success text-success"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
variant: "outline",
|
|
363
|
-
color: "info",
|
|
364
|
-
className: "border-info text-info"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
variant: "outline",
|
|
368
|
-
color: "warning",
|
|
369
|
-
className: "border-warning text-warning"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
variant: "outline",
|
|
373
|
-
color: "danger",
|
|
374
|
-
className: "border-danger text-danger"
|
|
375
|
-
},
|
|
376
|
-
// Icon-only size adjustments
|
|
377
|
-
{
|
|
378
|
-
iconOnly: !0,
|
|
379
|
-
size: "sm",
|
|
380
|
-
className: "px-1 py-1 w-5 h-5"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
iconOnly: !0,
|
|
384
|
-
size: "md",
|
|
385
|
-
className: "px-1.5 py-1.5 w-6 h-6"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
iconOnly: !0,
|
|
389
|
-
size: "lg",
|
|
390
|
-
className: "px-2 py-2 w-7 h-7"
|
|
391
|
-
}
|
|
392
|
-
],
|
|
393
|
-
defaultVariants: {
|
|
394
|
-
variant: "default",
|
|
395
|
-
color: "primary",
|
|
396
|
-
shape: "square",
|
|
397
|
-
size: "md",
|
|
398
|
-
iconOnly: !1
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
), M = d(
|
|
402
|
-
({
|
|
403
|
-
variant: e = "default",
|
|
404
|
-
shape: r = "square",
|
|
405
|
-
color: t = "primary",
|
|
406
|
-
size: s = "md",
|
|
407
|
-
iconLeft: o,
|
|
408
|
-
iconRight: n,
|
|
409
|
-
className: u,
|
|
410
|
-
children: i,
|
|
411
|
-
...f
|
|
412
|
-
}, c) => {
|
|
413
|
-
const h = !(i != null && i !== "") && !!(o || n);
|
|
414
|
-
return /* @__PURE__ */ a.jsx(
|
|
415
|
-
"span",
|
|
416
|
-
{
|
|
417
|
-
ref: c,
|
|
418
|
-
className: l(
|
|
419
|
-
L({
|
|
420
|
-
variant: e,
|
|
421
|
-
color: t,
|
|
422
|
-
shape: r,
|
|
423
|
-
size: s,
|
|
424
|
-
iconOnly: h
|
|
425
|
-
}),
|
|
426
|
-
u
|
|
427
|
-
),
|
|
428
|
-
...f,
|
|
429
|
-
children: h ? (
|
|
430
|
-
// Icon-only mode: display only the icon
|
|
431
|
-
o || n
|
|
432
|
-
) : (
|
|
433
|
-
// Normal mode: display icon(s) and text
|
|
434
|
-
/* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
435
|
-
o,
|
|
436
|
-
i,
|
|
437
|
-
n
|
|
438
|
-
] })
|
|
439
|
-
)
|
|
440
|
-
}
|
|
441
|
-
);
|
|
442
|
-
}
|
|
443
|
-
);
|
|
444
|
-
M.displayName = "Badge";
|
|
445
|
-
const E = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("title", null, "Spenicle"), /* @__PURE__ */ g.createElement("rect", { width: 32, height: 32, fill: "#e07a5f" }), /* @__PURE__ */ g.createElement("g", { transform: "translate(16, 16) scale(0.625) translate(-12, -12)" }, /* @__PURE__ */ g.createElement("path", { d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z", fill: "white" }))), P = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("title", null, "Spenicle"), /* @__PURE__ */ g.createElement("rect", { width: 32, height: 32, rx: 8, fill: "#e07a5f" }), /* @__PURE__ */ g.createElement("g", { transform: "translate(16, 16) scale(0.625) translate(-12, -12)" }, /* @__PURE__ */ g.createElement("path", { d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z", fill: "white" }))), H = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("title", null, "Spenicle"), /* @__PURE__ */ g.createElement("circle", { cx: 16, cy: 16, r: 16, fill: "#e07a5f" }), /* @__PURE__ */ g.createElement("g", { transform: "translate(16, 16) scale(0.625) translate(-12, -12)" }, /* @__PURE__ */ g.createElement("path", { d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z", fill: "white" }))), $ = b("", {
|
|
446
|
-
variants: {
|
|
447
|
-
size: {
|
|
448
|
-
xs: "h-6 w-6",
|
|
449
|
-
sm: "h-6 w-6",
|
|
450
|
-
md: "h-8 w-8",
|
|
451
|
-
lg: "h-10 w-10",
|
|
452
|
-
xl: "h-12 w-12"
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
defaultVariants: {
|
|
456
|
-
size: "md"
|
|
457
|
-
}
|
|
458
|
-
}), Y = d(
|
|
459
|
-
({ shape: e = "square", size: r, ...t }, s) => {
|
|
460
|
-
const n = {
|
|
461
|
-
square: E,
|
|
462
|
-
rounded: P,
|
|
463
|
-
circle: H
|
|
464
|
-
}[e] || E;
|
|
465
|
-
return /* @__PURE__ */ a.jsx(
|
|
466
|
-
n,
|
|
467
|
-
{
|
|
468
|
-
ref: s,
|
|
469
|
-
...t,
|
|
470
|
-
className: l("inline-block", $({ size: r }))
|
|
471
|
-
}
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
), le = d(
|
|
475
|
-
({ name: e = "spenicle", size: r = "md", shape: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
476
|
-
"span",
|
|
477
|
-
{
|
|
478
|
-
ref: o,
|
|
479
|
-
className: l("inline-flex items-center gap-2"),
|
|
480
|
-
...s,
|
|
481
|
-
children: /* @__PURE__ */ a.jsx(Y, { shape: t, size: r, "aria-hidden": "true" })
|
|
482
|
-
}
|
|
483
|
-
)
|
|
484
|
-
), _ = b(
|
|
485
|
-
[
|
|
486
|
-
"inline-flex items-center justify-center gap-2",
|
|
487
|
-
"rounded-lg",
|
|
488
|
-
"font-medium",
|
|
489
|
-
"transition-all",
|
|
490
|
-
"duration-200",
|
|
491
|
-
"focus-visible:outline-none",
|
|
492
|
-
"focus-visible:ring-2",
|
|
493
|
-
"focus-visible:ring-offset-2",
|
|
494
|
-
"disabled:opacity-50",
|
|
495
|
-
"disabled:pointer-events-none",
|
|
496
|
-
"select-none",
|
|
497
|
-
"shadow-lg",
|
|
498
|
-
"transition-transform",
|
|
499
|
-
"transition-shadow",
|
|
500
|
-
"will-change-transform,opacity,box-shadow",
|
|
501
|
-
"hover:scale-105",
|
|
502
|
-
"active:scale-95",
|
|
503
|
-
"focus-visible:shadow-xl",
|
|
504
|
-
"hover:shadow-xl",
|
|
505
|
-
"active:shadow-md"
|
|
506
|
-
].join(" "),
|
|
507
|
-
{
|
|
508
|
-
variants: {
|
|
509
|
-
variant: {
|
|
510
|
-
primary: "bg-primary text-white hover:bg-primary/90 focus-visible:ring-primary-soft focus-visible:ring-offset-white",
|
|
511
|
-
secondary: "bg-secondary text-white hover:bg-secondary/90 focus-visible:ring-secondary-soft focus-visible:ring-offset-white",
|
|
512
|
-
tertiary: "bg-tertiary text-white hover:bg-tertiary/90 focus-visible:ring-tertiary-soft focus-visible:ring-offset-white",
|
|
513
|
-
ghost: "bg-white text-foreground hover:bg-ghost-soft focus-visible:ring-ghost-soft focus-visible:ring-offset-white",
|
|
514
|
-
neutral: "bg-neutral text-foreground border border-border hover:bg-neutral/80 focus-visible:ring-foreground-soft focus-visible:ring-offset-white",
|
|
515
|
-
"primary-outline": "border border-primary text-primary bg-white hover:bg-primary hover:text-white focus-visible:ring-primary-soft focus-visible:ring-offset-white",
|
|
516
|
-
"secondary-outline": "border border-secondary text-secondary bg-white hover:bg-secondary hover:text-white focus-visible:ring-secondary-soft focus-visible:ring-offset-white",
|
|
517
|
-
"tertiary-outline": "border border-tertiary text-tertiary bg-white hover:bg-tertiary hover:text-white focus-visible:ring-tertiary-soft focus-visible:ring-offset-white",
|
|
518
|
-
"ghost-outline": "border border-ghost text-ghost bg-white hover:bg-ghost hover:text-white focus-visible:ring-ghost-soft focus-visible:ring-offset-white",
|
|
519
|
-
"neutral-outline": "border border-neutral text-foreground bg-white hover:bg-neutral hover:text-foreground focus-visible:ring-foreground-soft focus-visible:ring-offset-white",
|
|
520
|
-
"primary-ghost": "text-primary bg-white hover:bg-primary-soft focus-visible:ring-primary-soft focus-visible:ring-offset-white",
|
|
521
|
-
"secondary-ghost": "text-secondary bg-white hover:bg-secondary-soft focus-visible:ring-secondary-soft focus-visible:ring-offset-white",
|
|
522
|
-
"tertiary-ghost": "text-tertiary bg-white hover:bg-tertiary-soft focus-visible:ring-tertiary-soft focus-visible:ring-offset-white",
|
|
523
|
-
"neutral-ghost": "text-foreground bg-white hover:bg-neutral/70 focus-visible:ring-foreground-soft focus-visible:ring-offset-white",
|
|
524
|
-
success: "bg-success text-white hover:bg-success/90 focus-visible:ring-success-soft focus-visible:ring-offset-white",
|
|
525
|
-
"success-outline": "border border-success text-success bg-white hover:bg-success hover:text-white focus-visible:ring-success-soft focus-visible:ring-offset-white",
|
|
526
|
-
"success-ghost": "text-success bg-white hover:bg-success-soft focus-visible:ring-success-soft focus-visible:ring-offset-white",
|
|
527
|
-
info: "bg-info text-white hover:bg-info/90 focus-visible:ring-info-soft focus-visible:ring-offset-white",
|
|
528
|
-
"info-outline": "border border-info text-info bg-white hover:bg-info hover:text-white focus-visible:ring-info-soft focus-visible:ring-offset-white",
|
|
529
|
-
"info-ghost": "text-info bg-white hover:bg-info-soft focus-visible:ring-info-soft focus-visible:ring-offset-white",
|
|
530
|
-
warning: "bg-warning text-white hover:bg-warning/90 focus-visible:ring-warning-soft focus-visible:ring-offset-white",
|
|
531
|
-
"warning-outline": "border border-warning text-warning bg-white hover:bg-warning hover:text-white focus-visible:ring-warning-soft focus-visible:ring-offset-white",
|
|
532
|
-
"warning-ghost": "text-warning bg-white hover:bg-warning-soft focus-visible:ring-warning-soft focus-visible:ring-offset-white",
|
|
533
|
-
danger: "bg-danger text-white hover:bg-danger/90 focus-visible:ring-danger-soft focus-visible:ring-offset-white",
|
|
534
|
-
"danger-outline": "border border-danger text-danger bg-white hover:bg-danger hover:text-white focus-visible:ring-danger-soft focus-visible:ring-offset-white",
|
|
535
|
-
"danger-ghost": "text-danger bg-white hover:bg-danger-soft focus-visible:ring-danger-soft focus-visible:ring-offset-white",
|
|
536
|
-
outline: "border border-border text-foreground bg-white hover:bg-accent-soft focus-visible:ring-accent-soft focus-visible:ring-offset-white",
|
|
537
|
-
destructive: "bg-danger text-white hover:bg-danger/90 focus-visible:ring-danger-soft focus-visible:ring-offset-white"
|
|
538
|
-
},
|
|
539
|
-
size: {
|
|
540
|
-
sm: "h-12 w-12 min-w-12 min-h-12 text-base",
|
|
541
|
-
md: "h-14 w-14 min-w-14 min-h-14 text-lg",
|
|
542
|
-
lg: "h-16 w-16 min-w-16 min-h-16 text-xl"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
defaultVariants: {
|
|
546
|
-
variant: "primary",
|
|
547
|
-
size: "md"
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
);
|
|
551
|
-
function D(e, r = "1rem") {
|
|
552
|
-
const t = S(null), [s, o] = v({}), [n, u] = v("fixed bottom-4 right-4"), i = y(() => {
|
|
553
|
-
const c = t.current;
|
|
554
|
-
if (!c) return;
|
|
555
|
-
const m = c.getBoundingClientRect().height > window.innerHeight;
|
|
556
|
-
let h = {}, p = "";
|
|
557
|
-
m ? (h = {
|
|
558
|
-
position: "fixed",
|
|
559
|
-
bottom: r,
|
|
560
|
-
zIndex: 50,
|
|
561
|
-
transform: `translateY(${c.scrollTop}px)`
|
|
562
|
-
}, p = `fixed bottom-4 ${e}-4`) : (h = {
|
|
563
|
-
position: "fixed",
|
|
564
|
-
bottom: r,
|
|
565
|
-
zIndex: 50
|
|
566
|
-
}, p = `fixed bottom-4 ${e}-4`), o(h), u(p);
|
|
567
|
-
}, [e, r]);
|
|
568
|
-
return x(() => {
|
|
569
|
-
i();
|
|
570
|
-
const c = t.current;
|
|
571
|
-
return c && c.addEventListener("scroll", i), window.addEventListener("resize", i), () => {
|
|
572
|
-
c && c.removeEventListener("scroll", i), window.removeEventListener("resize", i);
|
|
573
|
-
};
|
|
574
|
-
}, [i]), x(() => {
|
|
575
|
-
t.current && i();
|
|
576
|
-
}, [e, r, i]), [y(
|
|
577
|
-
(c) => {
|
|
578
|
-
t.current = c, c && i();
|
|
579
|
-
},
|
|
580
|
-
[i]
|
|
581
|
-
), s, n];
|
|
582
|
-
}
|
|
583
|
-
const ce = d(
|
|
584
|
-
function({
|
|
585
|
-
className: r,
|
|
586
|
-
variant: t = "primary",
|
|
587
|
-
size: s = "md",
|
|
588
|
-
side: o = "right",
|
|
589
|
-
offset: n = "1rem",
|
|
590
|
-
...u
|
|
591
|
-
}, i) {
|
|
592
|
-
const [f, c, w] = D(
|
|
593
|
-
o,
|
|
594
|
-
n
|
|
595
|
-
), [m, h] = v(!1);
|
|
596
|
-
return x(() => {
|
|
597
|
-
h(!0);
|
|
598
|
-
}, []), /* @__PURE__ */ a.jsx("div", { ref: f, children: /* @__PURE__ */ a.jsx(
|
|
599
|
-
"button",
|
|
600
|
-
{
|
|
601
|
-
ref: i,
|
|
602
|
-
type: u.type || "button",
|
|
603
|
-
className: l(
|
|
604
|
-
_({ variant: t, size: s }),
|
|
605
|
-
w,
|
|
606
|
-
m && "animate-fab-in",
|
|
607
|
-
r
|
|
608
|
-
),
|
|
609
|
-
style: c,
|
|
610
|
-
...u
|
|
611
|
-
}
|
|
612
|
-
) });
|
|
613
|
-
}
|
|
614
|
-
), G = b(
|
|
615
|
-
"flex items-center gap-2 px-4 py-2 rounded-sm w-fit relative shadow-sm",
|
|
616
|
-
{
|
|
617
|
-
variants: {
|
|
618
|
-
color: {
|
|
619
|
-
success: "text-success-bold bg-success-soft border-l-4 border-success",
|
|
620
|
-
info: "text-info-bold bg-info-soft border-l-4 border-info",
|
|
621
|
-
warning: "text-warning-bold bg-warning-soft border-l-4 border-warning",
|
|
622
|
-
danger: "text-danger-bold bg-danger-soft border-l-4 border-danger"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
defaultVariants: {
|
|
626
|
-
color: "success"
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
), J = ({
|
|
630
|
-
children: e,
|
|
631
|
-
...r
|
|
632
|
-
}) => /* @__PURE__ */ a.jsx(
|
|
633
|
-
"span",
|
|
634
|
-
{
|
|
635
|
-
className: "flex-1 truncate text-sm",
|
|
636
|
-
"data-testid": "snackbar-text",
|
|
637
|
-
...r,
|
|
638
|
-
children: e
|
|
639
|
-
}
|
|
640
|
-
), K = ({
|
|
641
|
-
children: e,
|
|
642
|
-
...r
|
|
643
|
-
}) => /* @__PURE__ */ a.jsx("span", { className: "ml-2", "data-testid": "snackbar-action", ...r, children: e }), de = d(
|
|
644
|
-
({ children: e, action: r, color: t, className: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
645
|
-
"div",
|
|
646
|
-
{
|
|
647
|
-
ref: n,
|
|
648
|
-
role: "status",
|
|
649
|
-
"aria-live": "polite",
|
|
650
|
-
className: l(G({ color: t }), s),
|
|
651
|
-
...o,
|
|
652
|
-
children: [
|
|
653
|
-
/* @__PURE__ */ a.jsx(J, { children: e }),
|
|
654
|
-
r && /* @__PURE__ */ a.jsx(K, { children: r })
|
|
655
|
-
]
|
|
656
|
-
}
|
|
657
|
-
)
|
|
658
|
-
), z = T(null), Q = z.Provider;
|
|
659
|
-
function N() {
|
|
660
|
-
const e = V(z);
|
|
661
|
-
if (!e)
|
|
662
|
-
throw new Error("Table compound components must be used within <Table>");
|
|
663
|
-
return e;
|
|
664
|
-
}
|
|
665
|
-
const j = (e) => {
|
|
666
|
-
if (e < 1 || e > 12)
|
|
667
|
-
throw new Error("Column span must be between 1 and 12");
|
|
668
|
-
switch (e) {
|
|
669
|
-
case 1:
|
|
670
|
-
return "grid-cols-1";
|
|
671
|
-
case 2:
|
|
672
|
-
return "grid-cols-2";
|
|
673
|
-
case 3:
|
|
674
|
-
return "grid-cols-3";
|
|
675
|
-
case 4:
|
|
676
|
-
return "grid-cols-4";
|
|
677
|
-
case 5:
|
|
678
|
-
return "grid-cols-5";
|
|
679
|
-
case 6:
|
|
680
|
-
return "grid-cols-6";
|
|
681
|
-
case 7:
|
|
682
|
-
return "grid-cols-7";
|
|
683
|
-
case 8:
|
|
684
|
-
return "grid-cols-8";
|
|
685
|
-
case 9:
|
|
686
|
-
return "grid-cols-9";
|
|
687
|
-
case 10:
|
|
688
|
-
return "grid-cols-10";
|
|
689
|
-
case 11:
|
|
690
|
-
return "grid-cols-11";
|
|
691
|
-
case 12:
|
|
692
|
-
return "grid-cols-12";
|
|
693
|
-
default:
|
|
694
|
-
return "grid-cols-2";
|
|
695
|
-
}
|
|
696
|
-
}, U = (e) => {
|
|
697
|
-
if (e < 1 || e > 12)
|
|
698
|
-
throw new Error("Column span must be between 1 and 12");
|
|
699
|
-
switch (e) {
|
|
700
|
-
case 1:
|
|
701
|
-
return "col-span-1";
|
|
702
|
-
case 2:
|
|
703
|
-
return "col-span-2";
|
|
704
|
-
case 3:
|
|
705
|
-
return "col-span-3";
|
|
706
|
-
case 4:
|
|
707
|
-
return "col-span-4";
|
|
708
|
-
case 5:
|
|
709
|
-
return "col-span-5";
|
|
710
|
-
case 6:
|
|
711
|
-
return "col-span-6";
|
|
712
|
-
case 7:
|
|
713
|
-
return "col-span-7";
|
|
714
|
-
case 8:
|
|
715
|
-
return "col-span-8";
|
|
716
|
-
case 9:
|
|
717
|
-
return "col-span-9";
|
|
718
|
-
case 10:
|
|
719
|
-
return "col-span-10";
|
|
720
|
-
case 11:
|
|
721
|
-
return "col-span-11";
|
|
722
|
-
case 12:
|
|
723
|
-
return "col-span-12";
|
|
724
|
-
default:
|
|
725
|
-
return "col-span-2";
|
|
726
|
-
}
|
|
727
|
-
}, W = d(
|
|
728
|
-
({ children: e, className: r, ...t }, s) => {
|
|
729
|
-
const { maxColumns: o } = N();
|
|
730
|
-
return /* @__PURE__ */ a.jsx(
|
|
731
|
-
"div",
|
|
732
|
-
{
|
|
733
|
-
role: "rowgroup",
|
|
734
|
-
className: l("bg-neutral-soft", r),
|
|
735
|
-
...t,
|
|
736
|
-
ref: s,
|
|
737
|
-
children: /* @__PURE__ */ a.jsx(
|
|
738
|
-
"div",
|
|
739
|
-
{
|
|
740
|
-
role: "row",
|
|
741
|
-
className: l("grid gap-4", j(o)),
|
|
742
|
-
children: e
|
|
743
|
-
}
|
|
744
|
-
)
|
|
745
|
-
}
|
|
746
|
-
);
|
|
747
|
-
}
|
|
748
|
-
), X = d(
|
|
749
|
-
({ children: e, className: r, ...t }, s) => /* @__PURE__ */ a.jsx("div", { role: "rowgroup", ref: s, className: l(r), ...t, children: e })
|
|
750
|
-
), Z = d(
|
|
751
|
-
({ children: e, className: r, ...t }, s) => {
|
|
752
|
-
const { maxColumns: o } = N();
|
|
753
|
-
return /* @__PURE__ */ a.jsx(
|
|
754
|
-
"div",
|
|
755
|
-
{
|
|
756
|
-
role: "rowgroup",
|
|
757
|
-
className: l("bg-neutral-soft", r),
|
|
758
|
-
...t,
|
|
759
|
-
ref: s,
|
|
760
|
-
children: /* @__PURE__ */ a.jsx(
|
|
761
|
-
"div",
|
|
762
|
-
{
|
|
763
|
-
role: "row",
|
|
764
|
-
className: l("grid gap-4", j(o)),
|
|
765
|
-
children: e
|
|
766
|
-
}
|
|
767
|
-
)
|
|
768
|
-
}
|
|
769
|
-
);
|
|
770
|
-
}
|
|
771
|
-
), ee = d(
|
|
772
|
-
({ children: e, className: r, ...t }, s) => {
|
|
773
|
-
const { maxColumns: o } = N();
|
|
774
|
-
return /* @__PURE__ */ a.jsx(
|
|
775
|
-
"div",
|
|
776
|
-
{
|
|
777
|
-
role: "row",
|
|
778
|
-
className: l(
|
|
779
|
-
"grid gap-4",
|
|
780
|
-
j(o),
|
|
781
|
-
"border-b border-border last:border-0",
|
|
782
|
-
r
|
|
783
|
-
),
|
|
784
|
-
ref: s,
|
|
785
|
-
...t,
|
|
786
|
-
children: e
|
|
787
|
-
}
|
|
788
|
-
);
|
|
789
|
-
}
|
|
790
|
-
), re = d(
|
|
791
|
-
({ as: e = "td", span: r, align: t = "left", children: s, className: o, ...n }, u) => {
|
|
792
|
-
const i = e === "th" ? "columnheader" : "cell";
|
|
793
|
-
let f = "text-left";
|
|
794
|
-
return t === "center" ? f = "text-center" : t === "right" && (f = "text-right"), /* @__PURE__ */ a.jsx(
|
|
795
|
-
"div",
|
|
796
|
-
{
|
|
797
|
-
ref: u,
|
|
798
|
-
role: i,
|
|
799
|
-
className: l(
|
|
800
|
-
"px-4 py-2",
|
|
801
|
-
"[&:not(:last-child)]:border-r [&:not(:last-child)]:border-border",
|
|
802
|
-
U(r),
|
|
803
|
-
f,
|
|
804
|
-
o
|
|
805
|
-
),
|
|
806
|
-
...n,
|
|
807
|
-
children: s
|
|
808
|
-
}
|
|
809
|
-
);
|
|
810
|
-
}
|
|
811
|
-
), te = d(
|
|
812
|
-
({ children: e, className: r, maxColumns: t = 12, ...s }, o) => {
|
|
813
|
-
const n = A(
|
|
814
|
-
() => ({ maxColumns: t }),
|
|
815
|
-
[t]
|
|
816
|
-
);
|
|
817
|
-
return /* @__PURE__ */ a.jsx(Q, { value: n, children: /* @__PURE__ */ a.jsx(
|
|
818
|
-
"div",
|
|
819
|
-
{
|
|
820
|
-
ref: o,
|
|
821
|
-
role: "table",
|
|
822
|
-
className: l(
|
|
823
|
-
"w-full overflow-x-auto rounded-lg border border-border",
|
|
824
|
-
r
|
|
825
|
-
),
|
|
826
|
-
...s,
|
|
827
|
-
children: e
|
|
828
|
-
}
|
|
829
|
-
) });
|
|
830
|
-
}
|
|
831
|
-
), ge = Object.assign(te, {
|
|
832
|
-
Header: W,
|
|
833
|
-
Body: X,
|
|
834
|
-
Footer: Z,
|
|
835
|
-
Row: ee,
|
|
836
|
-
Column: re
|
|
837
|
-
}), se = b(
|
|
838
|
-
// Base classes
|
|
839
|
-
"block transition-colors duration-200",
|
|
840
|
-
{
|
|
841
|
-
variants: {
|
|
842
|
-
variant: {
|
|
843
|
-
white: "bg-white border border-border",
|
|
844
|
-
neutral: "bg-neutral border border-gray-200",
|
|
845
|
-
primary: "bg-primary-soft border border-primary",
|
|
846
|
-
secondary: "bg-secondary-soft border border-secondary",
|
|
847
|
-
tertiary: "bg-tertiary-soft border border-tertiary",
|
|
848
|
-
ghost: "bg-transparent border border-ghost",
|
|
849
|
-
success: "bg-success-soft border border-success",
|
|
850
|
-
info: "bg-info-soft border border-info",
|
|
851
|
-
warning: "bg-warning-soft border border-warning",
|
|
852
|
-
danger: "bg-danger-soft border border-danger"
|
|
853
|
-
},
|
|
854
|
-
size: {
|
|
855
|
-
xs: "p-2",
|
|
856
|
-
sm: "p-3",
|
|
857
|
-
md: "p-4",
|
|
858
|
-
lg: "p-6",
|
|
859
|
-
xl: "p-8"
|
|
860
|
-
},
|
|
861
|
-
shape: {
|
|
862
|
-
rounded: "rounded-lg",
|
|
863
|
-
square: "rounded-none"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
defaultVariants: {
|
|
867
|
-
variant: "white",
|
|
868
|
-
size: "md",
|
|
869
|
-
shape: "rounded"
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
), ue = d(
|
|
873
|
-
({ variant: e = "white", size: r = "md", shape: t = "rounded", className: s, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
874
|
-
"div",
|
|
875
|
-
{
|
|
876
|
-
ref: n,
|
|
877
|
-
className: l(se({ variant: e, size: r, shape: t }), s),
|
|
878
|
-
...o
|
|
879
|
-
}
|
|
880
|
-
)
|
|
881
|
-
);
|
|
882
|
-
export {
|
|
883
|
-
ne as A,
|
|
884
|
-
M as B,
|
|
885
|
-
de as S,
|
|
886
|
-
ge as T,
|
|
887
|
-
ie as a,
|
|
888
|
-
le as b,
|
|
889
|
-
ce as c,
|
|
890
|
-
ue as d
|
|
891
|
-
};
|