@sytechui/theme 2.4.26 → 2.5.0
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/animations/index.d.mts +18 -0
- package/dist/animations/index.d.ts +18 -0
- package/dist/animations/index.js +18 -0
- package/dist/animations/index.mjs +1 -1
- package/dist/{chunk-HO2ILFC5.mjs → chunk-3INHRVXM.mjs} +1 -1
- package/dist/chunk-3L7WFLSH.mjs +127 -0
- package/dist/{chunk-UCUZEPMT.mjs → chunk-4V3RQUZU.mjs} +1 -1
- package/dist/{chunk-Q7SJBJ2C.mjs → chunk-5PWGYVAP.mjs} +1 -1
- package/dist/{chunk-A3QMPIR3.mjs → chunk-E34EWEJV.mjs} +1 -1
- package/dist/{chunk-EJLBCE3V.mjs → chunk-EJDFNA7Y.mjs} +1 -1
- package/dist/{chunk-QPJMPRZG.mjs → chunk-FQECQOZE.mjs} +1 -1
- package/dist/{chunk-6FGGVHAY.mjs → chunk-FUKRIH5Z.mjs} +1 -1
- package/dist/{chunk-KXPLHLA6.mjs → chunk-HYWP3BX7.mjs} +18 -0
- package/dist/{chunk-HJWFZEER.mjs → chunk-IAAKK6MJ.mjs} +7 -7
- package/dist/{chunk-T3FWPDDU.mjs → chunk-IB36XVBI.mjs} +181 -2
- package/dist/{chunk-JC3ABGTC.mjs → chunk-JNXXF3DG.mjs} +1 -1
- package/dist/{chunk-JLA3YAT4.mjs → chunk-JS2FQJMX.mjs} +1 -1
- package/dist/{chunk-6GMZ2XIO.mjs → chunk-NKYWOWNW.mjs} +1 -1
- package/dist/{chunk-PGQDBCOS.mjs → chunk-NPGKX3MZ.mjs} +1 -1
- package/dist/{chunk-GMH4QQZS.mjs → chunk-Q5TYW2HJ.mjs} +2 -2
- package/dist/{chunk-NPGM3ZLN.mjs → chunk-QQVGHMSD.mjs} +1 -1
- package/dist/{chunk-B3WML4XC.mjs → chunk-SGV526OS.mjs} +1 -1
- package/dist/{chunk-KKENQYAQ.mjs → chunk-SSU66MWA.mjs} +1 -1
- package/dist/{chunk-B5YWUSAH.mjs → chunk-TRZPE5UW.mjs} +1 -1
- package/dist/{chunk-JFTCRIQA.mjs → chunk-VDS6DP26.mjs} +1 -1
- package/dist/{chunk-DKJNATV2.mjs → chunk-YW4DIYUX.mjs} +1 -1
- package/dist/{chunk-T7YZ5PRR.mjs → chunk-Z65VJL4Y.mjs} +1 -1
- package/dist/colors/common.mjs +3 -3
- package/dist/colors/index.mjs +5 -5
- package/dist/colors/semantic.mjs +4 -4
- package/dist/colors.mjs +5 -5
- package/dist/components/accordion.mjs +31 -31
- package/dist/components/alert.mjs +31 -31
- package/dist/components/autocomplete.mjs +6 -6
- package/dist/components/avatar.mjs +31 -31
- package/dist/components/badge.mjs +31 -31
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.js +422 -0
- package/dist/components/bottom-bar.mjs +51 -0
- package/dist/components/breadcrumbs.mjs +31 -31
- package/dist/components/button.mjs +31 -31
- package/dist/components/calendar.mjs +31 -31
- package/dist/components/card.mjs +31 -31
- package/dist/components/checkbox.mjs +31 -31
- package/dist/components/chip.mjs +31 -31
- package/dist/components/code.mjs +31 -31
- package/dist/components/date-input.mjs +6 -6
- package/dist/components/date-picker.mjs +6 -6
- package/dist/components/divider.mjs +6 -6
- package/dist/components/drawer.d.mts +33 -12
- package/dist/components/drawer.d.ts +33 -12
- package/dist/components/drawer.js +71 -6
- package/dist/components/drawer.mjs +6 -6
- package/dist/components/drip.mjs +6 -6
- package/dist/components/drop-zone.mjs +31 -31
- package/dist/components/dropdown.mjs +31 -31
- package/dist/components/form.mjs +6 -6
- package/dist/components/image.mjs +6 -6
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +256 -6
- package/dist/components/index.mjs +43 -41
- package/dist/components/input-otp.mjs +31 -31
- package/dist/components/input.mjs +31 -31
- package/dist/components/kbd.mjs +6 -6
- package/dist/components/link.mjs +31 -31
- package/dist/components/listbox.mjs +31 -31
- package/dist/components/menu.mjs +31 -31
- package/dist/components/modal.mjs +31 -31
- package/dist/components/navbar.mjs +31 -31
- package/dist/components/number-input.mjs +31 -31
- package/dist/components/pagination.mjs +31 -31
- package/dist/components/popover.mjs +31 -31
- package/dist/components/progress.mjs +6 -6
- package/dist/components/radio.mjs +31 -31
- package/dist/components/scroll-area.mjs +6 -6
- package/dist/components/scroll-shadow.mjs +6 -6
- package/dist/components/select.mjs +31 -31
- package/dist/components/skeleton.mjs +6 -6
- package/dist/components/slider.mjs +31 -31
- package/dist/components/snippet.mjs +31 -31
- package/dist/components/spacer.mjs +6 -6
- package/dist/components/spinner.mjs +6 -6
- package/dist/components/table.mjs +31 -31
- package/dist/components/tabs.mjs +31 -31
- package/dist/components/toast.mjs +31 -31
- package/dist/components/toggle.mjs +31 -31
- package/dist/components/user.mjs +31 -31
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +268 -6
- package/dist/index.mjs +49 -47
- package/dist/plugin.js +18 -0
- package/dist/plugin.mjs +11 -11
- package/dist/utilities/index.mjs +3 -3
- package/dist/utils/cn.mjs +5 -5
- package/dist/utils/index.mjs +31 -31
- package/dist/utils/merge-classes.mjs +31 -31
- package/dist/utils/tv.mjs +5 -5
- package/dist/utils/tw-merge-config.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-U5MU6YGM.mjs +0 -62
- package/dist/{chunk-NTTT6BHX.mjs → chunk-6TOTQSJE.mjs} +6 -6
- package/dist/{chunk-7V3PIXOO.mjs → chunk-6US6AURX.mjs} +6 -6
|
@@ -235,7 +235,9 @@ var tv = (options, config) => {
|
|
|
235
235
|
// src/components/drawer.ts
|
|
236
236
|
var drawer = tv({
|
|
237
237
|
slots: {
|
|
238
|
-
base: ["absolute", "m-0", "sm:m-0", "overflow-y-auto"]
|
|
238
|
+
base: ["absolute", "m-0", "sm:m-0", "overflow-y-auto"],
|
|
239
|
+
swipeHandle: ["absolute", "z-10", "flex", "touch-none", "select-none"],
|
|
240
|
+
swipeHandleBar: "rounded-full bg-default-300 pointer-events-none"
|
|
239
241
|
},
|
|
240
242
|
variants: {
|
|
241
243
|
size: {
|
|
@@ -272,19 +274,82 @@ var drawer = tv({
|
|
|
272
274
|
},
|
|
273
275
|
placement: {
|
|
274
276
|
top: {
|
|
275
|
-
base:
|
|
277
|
+
base: [
|
|
278
|
+
"inset-x-0 top-0 max-w-[none] rounded-t-none",
|
|
279
|
+
"[--drawer-translate-x:0] [--drawer-translate-y:-100%]"
|
|
280
|
+
]
|
|
276
281
|
},
|
|
277
282
|
right: {
|
|
278
|
-
base:
|
|
283
|
+
base: [
|
|
284
|
+
"inset-y-0 right-0 max-h-[none] rounded-r-none",
|
|
285
|
+
"[--drawer-translate-x:100%] [--drawer-translate-y:0]"
|
|
286
|
+
]
|
|
279
287
|
},
|
|
280
288
|
bottom: {
|
|
281
|
-
base:
|
|
289
|
+
base: [
|
|
290
|
+
"inset-x-0 bottom-0 max-w-[none] rounded-b-none",
|
|
291
|
+
"[--drawer-translate-x:0] [--drawer-translate-y:100%]"
|
|
292
|
+
]
|
|
282
293
|
},
|
|
283
294
|
left: {
|
|
284
|
-
base:
|
|
295
|
+
base: [
|
|
296
|
+
"inset-y-0 left-0 max-h-[none] rounded-l-none",
|
|
297
|
+
"[--drawer-translate-x:-100%] [--drawer-translate-y:0]"
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
nativeMotion: {
|
|
302
|
+
true: {
|
|
303
|
+
base: [
|
|
304
|
+
"[will-change:translate,transform]",
|
|
305
|
+
"[backface-visibility:hidden]",
|
|
306
|
+
"data-[open=true]:animate-drawer-enter",
|
|
307
|
+
"[&:not([data-open])]:animate-drawer-exit",
|
|
308
|
+
"data-[disable-animation=true]:!animate-none"
|
|
309
|
+
]
|
|
285
310
|
}
|
|
286
311
|
}
|
|
287
|
-
}
|
|
312
|
+
},
|
|
313
|
+
compoundVariants: [
|
|
314
|
+
{
|
|
315
|
+
placement: ["top", "bottom"],
|
|
316
|
+
class: {
|
|
317
|
+
swipeHandle: "left-1/2 h-8 w-16 -translate-x-1/2 justify-center",
|
|
318
|
+
swipeHandleBar: "h-1 w-9"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
placement: "top",
|
|
323
|
+
class: {
|
|
324
|
+
swipeHandle: "bottom-0 items-end pb-2 cursor-row-resize"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
placement: "bottom",
|
|
329
|
+
class: {
|
|
330
|
+
swipeHandle: "top-0 items-start pt-2 cursor-row-resize"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
placement: ["left", "right"],
|
|
335
|
+
class: {
|
|
336
|
+
swipeHandle: "top-1/2 h-16 w-8 -translate-y-1/2 items-center",
|
|
337
|
+
swipeHandleBar: "h-9 w-1"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
placement: "left",
|
|
342
|
+
class: {
|
|
343
|
+
swipeHandle: "right-0 justify-end pr-2 cursor-col-resize"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
placement: "right",
|
|
348
|
+
class: {
|
|
349
|
+
swipeHandle: "left-0 justify-start pl-2 cursor-col-resize"
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
]
|
|
288
353
|
});
|
|
289
354
|
// Annotate the CommonJS export names for ESM import in node:
|
|
290
355
|
0 && (module.exports = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
drawer
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-3L7WFLSH.mjs";
|
|
4
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
5
|
+
import "../chunk-3INHRVXM.mjs";
|
|
6
|
+
import "../chunk-6US6AURX.mjs";
|
|
7
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
8
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
7
9
|
import "../chunk-WH6SPIFG.mjs";
|
|
8
10
|
import "../chunk-RUIUXVZ4.mjs";
|
|
9
11
|
import "../chunk-GSRZWDGA.mjs";
|
|
10
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
11
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
12
12
|
export {
|
|
13
13
|
drawer
|
|
14
14
|
};
|
package/dist/components/drip.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
drip
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-E34EWEJV.mjs";
|
|
4
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
5
|
+
import "../chunk-3INHRVXM.mjs";
|
|
6
|
+
import "../chunk-6US6AURX.mjs";
|
|
7
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
8
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
7
9
|
import "../chunk-WH6SPIFG.mjs";
|
|
8
10
|
import "../chunk-RUIUXVZ4.mjs";
|
|
9
11
|
import "../chunk-GSRZWDGA.mjs";
|
|
10
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
11
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
12
12
|
export {
|
|
13
13
|
drip
|
|
14
14
|
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dropZone
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-IB36XVBI.mjs";
|
|
4
|
+
import "../chunk-Z65VJL4Y.mjs";
|
|
5
|
+
import "../chunk-VDS6DP26.mjs";
|
|
6
|
+
import "../chunk-TRZPE5UW.mjs";
|
|
7
|
+
import "../chunk-NKYWOWNW.mjs";
|
|
8
|
+
import "../chunk-4V3RQUZU.mjs";
|
|
9
|
+
import "../chunk-SGV526OS.mjs";
|
|
10
|
+
import "../chunk-FQECQOZE.mjs";
|
|
11
|
+
import "../chunk-QQVGHMSD.mjs";
|
|
12
|
+
import "../chunk-SSU66MWA.mjs";
|
|
13
|
+
import "../chunk-3L7WFLSH.mjs";
|
|
14
|
+
import "../chunk-E34EWEJV.mjs";
|
|
15
|
+
import "../chunk-EJDFNA7Y.mjs";
|
|
16
|
+
import "../chunk-5PWGYVAP.mjs";
|
|
17
|
+
import "../chunk-JS2FQJMX.mjs";
|
|
4
18
|
import "../chunk-GQT3YUX3.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-B3WML4XC.mjs";
|
|
11
|
-
import "../chunk-T7YZ5PRR.mjs";
|
|
12
|
-
import "../chunk-QPJMPRZG.mjs";
|
|
13
|
-
import "../chunk-A3QMPIR3.mjs";
|
|
14
|
-
import "../chunk-EJLBCE3V.mjs";
|
|
15
|
-
import "../chunk-Q7SJBJ2C.mjs";
|
|
16
|
-
import "../chunk-JLA3YAT4.mjs";
|
|
17
|
-
import "../chunk-NPGM3ZLN.mjs";
|
|
18
|
-
import "../chunk-KKENQYAQ.mjs";
|
|
19
|
-
import "../chunk-U5MU6YGM.mjs";
|
|
20
|
-
import "../chunk-6FGGVHAY.mjs";
|
|
21
|
-
import "../chunk-PGQDBCOS.mjs";
|
|
22
|
-
import "../chunk-HO2ILFC5.mjs";
|
|
23
|
-
import "../chunk-HJWFZEER.mjs";
|
|
19
|
+
import "../chunk-FUKRIH5Z.mjs";
|
|
20
|
+
import "../chunk-YW4DIYUX.mjs";
|
|
21
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
22
|
+
import "../chunk-3INHRVXM.mjs";
|
|
23
|
+
import "../chunk-IAAKK6MJ.mjs";
|
|
24
24
|
import "../chunk-JGY6VQQQ.mjs";
|
|
25
25
|
import "../chunk-D2XMP2NC.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-HYWP3BX7.mjs";
|
|
27
|
+
import "../chunk-6US6AURX.mjs";
|
|
28
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
29
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
27
30
|
import "../chunk-WH6SPIFG.mjs";
|
|
28
31
|
import "../chunk-RUIUXVZ4.mjs";
|
|
29
32
|
import "../chunk-GSRZWDGA.mjs";
|
|
30
33
|
import "../chunk-WQEDQHKX.mjs";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-Q5TYW2HJ.mjs";
|
|
35
|
+
import "../chunk-JNXXF3DG.mjs";
|
|
33
36
|
import "../chunk-5ICJA2GK.mjs";
|
|
34
37
|
import "../chunk-M63AFAHO.mjs";
|
|
35
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-HUBDRSA4.mjs";
|
|
39
|
+
import "../chunk-WBQAMGXK.mjs";
|
|
40
|
+
import "../chunk-6TOTQSJE.mjs";
|
|
41
|
+
import "../chunk-3LKKH4AR.mjs";
|
|
42
|
+
import "../chunk-OR5PUD24.mjs";
|
|
36
43
|
import "../chunk-DCEG5LGX.mjs";
|
|
37
44
|
import "../chunk-L2OL7R23.mjs";
|
|
38
45
|
import "../chunk-YZYGFPNK.mjs";
|
|
39
46
|
import "../chunk-JUEOCLA3.mjs";
|
|
40
|
-
import "../chunk-3LKKH4AR.mjs";
|
|
41
47
|
import "../chunk-GHZ36ATJ.mjs";
|
|
42
48
|
import "../chunk-T3GWIVAM.mjs";
|
|
43
|
-
import "../chunk-OR5PUD24.mjs";
|
|
44
|
-
import "../chunk-HUBDRSA4.mjs";
|
|
45
|
-
import "../chunk-WBQAMGXK.mjs";
|
|
46
|
-
import "../chunk-KXPLHLA6.mjs";
|
|
47
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
48
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
49
49
|
export {
|
|
50
50
|
dropZone
|
|
51
51
|
};
|
|
@@ -3,52 +3,52 @@ import {
|
|
|
3
3
|
dropdownItem,
|
|
4
4
|
dropdownMenu,
|
|
5
5
|
dropdownSection
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-IB36XVBI.mjs";
|
|
7
|
+
import "../chunk-Z65VJL4Y.mjs";
|
|
8
|
+
import "../chunk-VDS6DP26.mjs";
|
|
9
|
+
import "../chunk-TRZPE5UW.mjs";
|
|
10
|
+
import "../chunk-NKYWOWNW.mjs";
|
|
11
|
+
import "../chunk-4V3RQUZU.mjs";
|
|
12
|
+
import "../chunk-SGV526OS.mjs";
|
|
13
|
+
import "../chunk-FQECQOZE.mjs";
|
|
14
|
+
import "../chunk-QQVGHMSD.mjs";
|
|
15
|
+
import "../chunk-SSU66MWA.mjs";
|
|
16
|
+
import "../chunk-3L7WFLSH.mjs";
|
|
17
|
+
import "../chunk-E34EWEJV.mjs";
|
|
18
|
+
import "../chunk-EJDFNA7Y.mjs";
|
|
19
|
+
import "../chunk-5PWGYVAP.mjs";
|
|
20
|
+
import "../chunk-JS2FQJMX.mjs";
|
|
7
21
|
import "../chunk-GQT3YUX3.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-B3WML4XC.mjs";
|
|
14
|
-
import "../chunk-T7YZ5PRR.mjs";
|
|
15
|
-
import "../chunk-QPJMPRZG.mjs";
|
|
16
|
-
import "../chunk-A3QMPIR3.mjs";
|
|
17
|
-
import "../chunk-EJLBCE3V.mjs";
|
|
18
|
-
import "../chunk-Q7SJBJ2C.mjs";
|
|
19
|
-
import "../chunk-JLA3YAT4.mjs";
|
|
20
|
-
import "../chunk-NPGM3ZLN.mjs";
|
|
21
|
-
import "../chunk-KKENQYAQ.mjs";
|
|
22
|
-
import "../chunk-U5MU6YGM.mjs";
|
|
23
|
-
import "../chunk-6FGGVHAY.mjs";
|
|
24
|
-
import "../chunk-PGQDBCOS.mjs";
|
|
25
|
-
import "../chunk-HO2ILFC5.mjs";
|
|
26
|
-
import "../chunk-HJWFZEER.mjs";
|
|
22
|
+
import "../chunk-FUKRIH5Z.mjs";
|
|
23
|
+
import "../chunk-YW4DIYUX.mjs";
|
|
24
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
25
|
+
import "../chunk-3INHRVXM.mjs";
|
|
26
|
+
import "../chunk-IAAKK6MJ.mjs";
|
|
27
27
|
import "../chunk-JGY6VQQQ.mjs";
|
|
28
28
|
import "../chunk-D2XMP2NC.mjs";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-HYWP3BX7.mjs";
|
|
30
|
+
import "../chunk-6US6AURX.mjs";
|
|
31
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
32
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
30
33
|
import "../chunk-WH6SPIFG.mjs";
|
|
31
34
|
import "../chunk-RUIUXVZ4.mjs";
|
|
32
35
|
import "../chunk-GSRZWDGA.mjs";
|
|
33
36
|
import "../chunk-WQEDQHKX.mjs";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-Q5TYW2HJ.mjs";
|
|
38
|
+
import "../chunk-JNXXF3DG.mjs";
|
|
36
39
|
import "../chunk-5ICJA2GK.mjs";
|
|
37
40
|
import "../chunk-M63AFAHO.mjs";
|
|
38
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-HUBDRSA4.mjs";
|
|
42
|
+
import "../chunk-WBQAMGXK.mjs";
|
|
43
|
+
import "../chunk-6TOTQSJE.mjs";
|
|
44
|
+
import "../chunk-3LKKH4AR.mjs";
|
|
45
|
+
import "../chunk-OR5PUD24.mjs";
|
|
39
46
|
import "../chunk-DCEG5LGX.mjs";
|
|
40
47
|
import "../chunk-L2OL7R23.mjs";
|
|
41
48
|
import "../chunk-YZYGFPNK.mjs";
|
|
42
49
|
import "../chunk-JUEOCLA3.mjs";
|
|
43
|
-
import "../chunk-3LKKH4AR.mjs";
|
|
44
50
|
import "../chunk-GHZ36ATJ.mjs";
|
|
45
51
|
import "../chunk-T3GWIVAM.mjs";
|
|
46
|
-
import "../chunk-OR5PUD24.mjs";
|
|
47
|
-
import "../chunk-HUBDRSA4.mjs";
|
|
48
|
-
import "../chunk-WBQAMGXK.mjs";
|
|
49
|
-
import "../chunk-KXPLHLA6.mjs";
|
|
50
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
51
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
52
52
|
export {
|
|
53
53
|
dropdown,
|
|
54
54
|
dropdownItem,
|
package/dist/components/form.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EJDFNA7Y.mjs";
|
|
4
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
5
|
+
import "../chunk-3INHRVXM.mjs";
|
|
6
|
+
import "../chunk-6US6AURX.mjs";
|
|
7
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
8
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
7
9
|
import "../chunk-WH6SPIFG.mjs";
|
|
8
10
|
import "../chunk-RUIUXVZ4.mjs";
|
|
9
11
|
import "../chunk-GSRZWDGA.mjs";
|
|
10
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
11
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
12
12
|
export {
|
|
13
13
|
form
|
|
14
14
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
image
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-5PWGYVAP.mjs";
|
|
4
|
+
import "../chunk-NPGKX3MZ.mjs";
|
|
5
|
+
import "../chunk-3INHRVXM.mjs";
|
|
6
|
+
import "../chunk-6US6AURX.mjs";
|
|
7
|
+
import "../chunk-AWXUGVFR.mjs";
|
|
8
|
+
import "../chunk-MPVWW3DX.mjs";
|
|
7
9
|
import "../chunk-WH6SPIFG.mjs";
|
|
8
10
|
import "../chunk-RUIUXVZ4.mjs";
|
|
9
11
|
import "../chunk-GSRZWDGA.mjs";
|
|
10
|
-
import "../chunk-AWXUGVFR.mjs";
|
|
11
|
-
import "../chunk-MPVWW3DX.mjs";
|
|
12
12
|
export {
|
|
13
13
|
image
|
|
14
14
|
};
|
|
@@ -10,6 +10,7 @@ export { PopoverSlots, PopoverVariantProps, popover } from './popover.mjs';
|
|
|
10
10
|
export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.mjs';
|
|
11
11
|
export { ChipSlots, ChipVariantProps, chip } from './chip.mjs';
|
|
12
12
|
export { BadgeSlots, BadgeVariantProps, badge } from './badge.mjs';
|
|
13
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './bottom-bar.mjs';
|
|
13
14
|
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.mjs';
|
|
14
15
|
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.mjs';
|
|
15
16
|
export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.mjs';
|
|
@@ -10,6 +10,7 @@ export { PopoverSlots, PopoverVariantProps, popover } from './popover.js';
|
|
|
10
10
|
export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.js';
|
|
11
11
|
export { ChipSlots, ChipVariantProps, chip } from './chip.js';
|
|
12
12
|
export { BadgeSlots, BadgeVariantProps, badge } from './badge.js';
|
|
13
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './bottom-bar.js';
|
|
13
14
|
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.js';
|
|
14
15
|
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.js';
|
|
15
16
|
export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.js';
|
package/dist/components/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(components_exports, {
|
|
|
27
27
|
avatar: () => avatar,
|
|
28
28
|
avatarGroup: () => avatarGroup,
|
|
29
29
|
badge: () => badge,
|
|
30
|
+
bottomBar: () => bottomBar,
|
|
30
31
|
breadcrumbItem: () => breadcrumbItem,
|
|
31
32
|
breadcrumbs: () => breadcrumbs,
|
|
32
33
|
button: () => button,
|
|
@@ -296,6 +297,12 @@ var tv = (options, config) => {
|
|
|
296
297
|
};
|
|
297
298
|
|
|
298
299
|
// src/utils/classes.ts
|
|
300
|
+
var focusVisibleClasses = [
|
|
301
|
+
"focus-visible:z-10",
|
|
302
|
+
"focus-visible:outline-2",
|
|
303
|
+
"focus-visible:outline-focus",
|
|
304
|
+
"focus-visible:outline-offset-2"
|
|
305
|
+
];
|
|
299
306
|
var dataFocusVisibleClasses = [
|
|
300
307
|
"outline-solid outline-transparent",
|
|
301
308
|
"data-[focus-visible=true]:z-10",
|
|
@@ -2980,6 +2987,183 @@ var badge = tv({
|
|
|
2980
2987
|
]
|
|
2981
2988
|
});
|
|
2982
2989
|
|
|
2990
|
+
// src/components/bottom-bar.ts
|
|
2991
|
+
var bottomBar = tv({
|
|
2992
|
+
slots: {
|
|
2993
|
+
base: ["z-50", "flex", "w-full", "pointer-events-none", "justify-center", "px-3"],
|
|
2994
|
+
list: [
|
|
2995
|
+
"relative",
|
|
2996
|
+
"flex",
|
|
2997
|
+
"w-full",
|
|
2998
|
+
"max-w-md",
|
|
2999
|
+
"items-center",
|
|
3000
|
+
"justify-around",
|
|
3001
|
+
"overflow-visible",
|
|
3002
|
+
"pointer-events-auto",
|
|
3003
|
+
"rounded-full",
|
|
3004
|
+
"border",
|
|
3005
|
+
"border-divider/60",
|
|
3006
|
+
"bg-content1/95",
|
|
3007
|
+
"shadow-large",
|
|
3008
|
+
"supports-[backdrop-filter]:bg-content1/65",
|
|
3009
|
+
"supports-[backdrop-filter]:backdrop-blur-2xl",
|
|
3010
|
+
"supports-[backdrop-filter]:backdrop-saturate-150"
|
|
3011
|
+
],
|
|
3012
|
+
item: ["relative", "flex", "min-w-0", "flex-1", "list-none", "justify-center"],
|
|
3013
|
+
link: [
|
|
3014
|
+
"group",
|
|
3015
|
+
"relative",
|
|
3016
|
+
"isolate",
|
|
3017
|
+
"flex",
|
|
3018
|
+
"min-h-14",
|
|
3019
|
+
"w-full",
|
|
3020
|
+
"min-w-0",
|
|
3021
|
+
"flex-col",
|
|
3022
|
+
"items-center",
|
|
3023
|
+
"justify-center",
|
|
3024
|
+
"gap-0.5",
|
|
3025
|
+
"px-2",
|
|
3026
|
+
"text-tiny",
|
|
3027
|
+
"font-medium",
|
|
3028
|
+
"text-default-500",
|
|
3029
|
+
"tap-highlight-transparent",
|
|
3030
|
+
"data-[selected=true]:font-semibold",
|
|
3031
|
+
"data-[disabled=true]:pointer-events-none",
|
|
3032
|
+
"data-[disabled=true]:opacity-disabled",
|
|
3033
|
+
"data-[prominent=true]:-translate-y-3",
|
|
3034
|
+
"data-[prominent=true]:mx-1",
|
|
3035
|
+
"data-[prominent=true]:min-h-16",
|
|
3036
|
+
"data-[prominent=true]:max-w-16",
|
|
3037
|
+
"data-[prominent=true]:rounded-full",
|
|
3038
|
+
"data-[prominent=true]:border",
|
|
3039
|
+
"data-[prominent=true]:border-divider/60",
|
|
3040
|
+
"data-[prominent=true]:bg-content1/95",
|
|
3041
|
+
"data-[prominent=true]:shadow-medium",
|
|
3042
|
+
"supports-[backdrop-filter]:data-[prominent=true]:bg-content1/70",
|
|
3043
|
+
...focusVisibleClasses
|
|
3044
|
+
],
|
|
3045
|
+
selectionIndicator: [
|
|
3046
|
+
"absolute",
|
|
3047
|
+
"z-0",
|
|
3048
|
+
"pointer-events-none",
|
|
3049
|
+
"list-none",
|
|
3050
|
+
"rounded-full",
|
|
3051
|
+
"bg-default-100/80",
|
|
3052
|
+
"will-change-[left,top,width,height]",
|
|
3053
|
+
"invisible",
|
|
3054
|
+
"data-[initialized=true]:visible"
|
|
3055
|
+
],
|
|
3056
|
+
icon: [
|
|
3057
|
+
"relative",
|
|
3058
|
+
"z-10",
|
|
3059
|
+
"flex",
|
|
3060
|
+
"size-6",
|
|
3061
|
+
"shrink-0",
|
|
3062
|
+
"items-center",
|
|
3063
|
+
"justify-center",
|
|
3064
|
+
"text-current",
|
|
3065
|
+
"[&>svg]:size-full"
|
|
3066
|
+
],
|
|
3067
|
+
label: ["relative", "z-10", "max-w-full", "truncate", "text-current"]
|
|
3068
|
+
},
|
|
3069
|
+
variants: {
|
|
3070
|
+
position: {
|
|
3071
|
+
fixed: {
|
|
3072
|
+
base: ["fixed", "inset-x-0", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
3073
|
+
},
|
|
3074
|
+
sticky: {
|
|
3075
|
+
base: ["sticky", "bottom-0", "pb-[calc(0.75rem+env(safe-area-inset-bottom))]"]
|
|
3076
|
+
},
|
|
3077
|
+
static: {
|
|
3078
|
+
base: ["relative", "py-3"]
|
|
3079
|
+
}
|
|
3080
|
+
},
|
|
3081
|
+
color: {
|
|
3082
|
+
default: {
|
|
3083
|
+
link: "data-[selected=true]:text-foreground",
|
|
3084
|
+
selectionIndicator: ["border-foreground/30", "bg-default-200/80", "after:bg-foreground"]
|
|
3085
|
+
},
|
|
3086
|
+
primary: {
|
|
3087
|
+
link: "data-[selected=true]:text-primary",
|
|
3088
|
+
selectionIndicator: ["border-primary/40", "bg-primary/15", "after:bg-primary"]
|
|
3089
|
+
},
|
|
3090
|
+
secondary: {
|
|
3091
|
+
link: "data-[selected=true]:text-secondary",
|
|
3092
|
+
selectionIndicator: ["border-secondary/40", "bg-secondary/15", "after:bg-secondary"]
|
|
3093
|
+
},
|
|
3094
|
+
success: {
|
|
3095
|
+
link: "data-[selected=true]:text-success",
|
|
3096
|
+
selectionIndicator: ["border-success/40", "bg-success/15", "after:bg-success"]
|
|
3097
|
+
},
|
|
3098
|
+
warning: {
|
|
3099
|
+
link: "data-[selected=true]:text-warning",
|
|
3100
|
+
selectionIndicator: ["border-warning/40", "bg-warning/15", "after:bg-warning"]
|
|
3101
|
+
},
|
|
3102
|
+
danger: {
|
|
3103
|
+
link: "data-[selected=true]:text-danger",
|
|
3104
|
+
selectionIndicator: ["border-danger/40", "bg-danger/15", "after:bg-danger"]
|
|
3105
|
+
}
|
|
3106
|
+
},
|
|
3107
|
+
variant: {
|
|
3108
|
+
solid: {},
|
|
3109
|
+
underlined: {
|
|
3110
|
+
selectionIndicator: [
|
|
3111
|
+
"bg-transparent",
|
|
3112
|
+
"after:absolute",
|
|
3113
|
+
"after:bottom-0",
|
|
3114
|
+
"after:left-[10%]",
|
|
3115
|
+
"after:h-0.5",
|
|
3116
|
+
"after:w-4/5",
|
|
3117
|
+
"after:rounded-full",
|
|
3118
|
+
"after:content-['']"
|
|
3119
|
+
]
|
|
3120
|
+
},
|
|
3121
|
+
ghost: {
|
|
3122
|
+
selectionIndicator: ["border", "bg-transparent"]
|
|
3123
|
+
}
|
|
3124
|
+
},
|
|
3125
|
+
hideLabels: {
|
|
3126
|
+
always: {
|
|
3127
|
+
label: "sr-only"
|
|
3128
|
+
},
|
|
3129
|
+
selected: {
|
|
3130
|
+
label: [
|
|
3131
|
+
"max-h-0",
|
|
3132
|
+
"opacity-0",
|
|
3133
|
+
"group-data-[selected=true]:max-h-5",
|
|
3134
|
+
"group-data-[selected=true]:opacity-100"
|
|
3135
|
+
]
|
|
3136
|
+
},
|
|
3137
|
+
never: {}
|
|
3138
|
+
},
|
|
3139
|
+
disableAnimation: {
|
|
3140
|
+
true: {
|
|
3141
|
+
link: "transition-none",
|
|
3142
|
+
selectionIndicator: "transition-none",
|
|
3143
|
+
icon: "transition-none",
|
|
3144
|
+
label: "transition-none"
|
|
3145
|
+
},
|
|
3146
|
+
false: {
|
|
3147
|
+
link: "transition-[color,transform,opacity] duration-250 ease-out",
|
|
3148
|
+
selectionIndicator: [
|
|
3149
|
+
"data-[animated=true]:transition-[left,top,width,height]",
|
|
3150
|
+
"data-[animated=true]:duration-250",
|
|
3151
|
+
"data-[animated=true]:ease-out"
|
|
3152
|
+
],
|
|
3153
|
+
icon: "transition-transform duration-250 ease-out group-data-[selected=true]:scale-105",
|
|
3154
|
+
label: "transition-[color,max-height,opacity] duration-250 ease-out"
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
},
|
|
3158
|
+
defaultVariants: {
|
|
3159
|
+
position: "fixed",
|
|
3160
|
+
color: "primary",
|
|
3161
|
+
variant: "solid",
|
|
3162
|
+
hideLabels: "never",
|
|
3163
|
+
disableAnimation: false
|
|
3164
|
+
}
|
|
3165
|
+
});
|
|
3166
|
+
|
|
2983
3167
|
// src/components/checkbox.ts
|
|
2984
3168
|
var checkbox = tv({
|
|
2985
3169
|
slots: {
|
|
@@ -10916,7 +11100,9 @@ var alert = tv({
|
|
|
10916
11100
|
// src/components/drawer.ts
|
|
10917
11101
|
var drawer = tv({
|
|
10918
11102
|
slots: {
|
|
10919
|
-
base: ["absolute", "m-0", "sm:m-0", "overflow-y-auto"]
|
|
11103
|
+
base: ["absolute", "m-0", "sm:m-0", "overflow-y-auto"],
|
|
11104
|
+
swipeHandle: ["absolute", "z-10", "flex", "touch-none", "select-none"],
|
|
11105
|
+
swipeHandleBar: "rounded-full bg-default-300 pointer-events-none"
|
|
10920
11106
|
},
|
|
10921
11107
|
variants: {
|
|
10922
11108
|
size: {
|
|
@@ -10953,19 +11139,82 @@ var drawer = tv({
|
|
|
10953
11139
|
},
|
|
10954
11140
|
placement: {
|
|
10955
11141
|
top: {
|
|
10956
|
-
base:
|
|
11142
|
+
base: [
|
|
11143
|
+
"inset-x-0 top-0 max-w-[none] rounded-t-none",
|
|
11144
|
+
"[--drawer-translate-x:0] [--drawer-translate-y:-100%]"
|
|
11145
|
+
]
|
|
10957
11146
|
},
|
|
10958
11147
|
right: {
|
|
10959
|
-
base:
|
|
11148
|
+
base: [
|
|
11149
|
+
"inset-y-0 right-0 max-h-[none] rounded-r-none",
|
|
11150
|
+
"[--drawer-translate-x:100%] [--drawer-translate-y:0]"
|
|
11151
|
+
]
|
|
10960
11152
|
},
|
|
10961
11153
|
bottom: {
|
|
10962
|
-
base:
|
|
11154
|
+
base: [
|
|
11155
|
+
"inset-x-0 bottom-0 max-w-[none] rounded-b-none",
|
|
11156
|
+
"[--drawer-translate-x:0] [--drawer-translate-y:100%]"
|
|
11157
|
+
]
|
|
10963
11158
|
},
|
|
10964
11159
|
left: {
|
|
10965
|
-
base:
|
|
11160
|
+
base: [
|
|
11161
|
+
"inset-y-0 left-0 max-h-[none] rounded-l-none",
|
|
11162
|
+
"[--drawer-translate-x:-100%] [--drawer-translate-y:0]"
|
|
11163
|
+
]
|
|
11164
|
+
}
|
|
11165
|
+
},
|
|
11166
|
+
nativeMotion: {
|
|
11167
|
+
true: {
|
|
11168
|
+
base: [
|
|
11169
|
+
"[will-change:translate,transform]",
|
|
11170
|
+
"[backface-visibility:hidden]",
|
|
11171
|
+
"data-[open=true]:animate-drawer-enter",
|
|
11172
|
+
"[&:not([data-open])]:animate-drawer-exit",
|
|
11173
|
+
"data-[disable-animation=true]:!animate-none"
|
|
11174
|
+
]
|
|
10966
11175
|
}
|
|
10967
11176
|
}
|
|
10968
|
-
}
|
|
11177
|
+
},
|
|
11178
|
+
compoundVariants: [
|
|
11179
|
+
{
|
|
11180
|
+
placement: ["top", "bottom"],
|
|
11181
|
+
class: {
|
|
11182
|
+
swipeHandle: "left-1/2 h-8 w-16 -translate-x-1/2 justify-center",
|
|
11183
|
+
swipeHandleBar: "h-1 w-9"
|
|
11184
|
+
}
|
|
11185
|
+
},
|
|
11186
|
+
{
|
|
11187
|
+
placement: "top",
|
|
11188
|
+
class: {
|
|
11189
|
+
swipeHandle: "bottom-0 items-end pb-2 cursor-row-resize"
|
|
11190
|
+
}
|
|
11191
|
+
},
|
|
11192
|
+
{
|
|
11193
|
+
placement: "bottom",
|
|
11194
|
+
class: {
|
|
11195
|
+
swipeHandle: "top-0 items-start pt-2 cursor-row-resize"
|
|
11196
|
+
}
|
|
11197
|
+
},
|
|
11198
|
+
{
|
|
11199
|
+
placement: ["left", "right"],
|
|
11200
|
+
class: {
|
|
11201
|
+
swipeHandle: "top-1/2 h-16 w-8 -translate-y-1/2 items-center",
|
|
11202
|
+
swipeHandleBar: "h-9 w-1"
|
|
11203
|
+
}
|
|
11204
|
+
},
|
|
11205
|
+
{
|
|
11206
|
+
placement: "left",
|
|
11207
|
+
class: {
|
|
11208
|
+
swipeHandle: "right-0 justify-end pr-2 cursor-col-resize"
|
|
11209
|
+
}
|
|
11210
|
+
},
|
|
11211
|
+
{
|
|
11212
|
+
placement: "right",
|
|
11213
|
+
class: {
|
|
11214
|
+
swipeHandle: "left-0 justify-start pl-2 cursor-col-resize"
|
|
11215
|
+
}
|
|
11216
|
+
}
|
|
11217
|
+
]
|
|
10969
11218
|
});
|
|
10970
11219
|
|
|
10971
11220
|
// src/components/form.ts
|
|
@@ -12251,6 +12500,7 @@ var toast = tv({
|
|
|
12251
12500
|
avatar,
|
|
12252
12501
|
avatarGroup,
|
|
12253
12502
|
badge,
|
|
12503
|
+
bottomBar,
|
|
12254
12504
|
breadcrumbItem,
|
|
12255
12505
|
breadcrumbs,
|
|
12256
12506
|
button,
|