@sytechui/theme 2.6.1 → 2.6.3
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/{chunk-JV5J6JHS.mjs → chunk-47BB6GL3.mjs} +1 -1
- package/dist/{chunk-BHGZZQCH.mjs → chunk-4N2PLITL.mjs} +1 -1
- package/dist/{chunk-4CEUCYJO.mjs → chunk-5DJU5KUL.mjs} +1 -1
- package/dist/{chunk-ZLTZIM6X.mjs → chunk-7ARJ2TQM.mjs} +1 -1
- package/dist/chunk-7FAFG773.mjs +69 -0
- package/dist/{chunk-JGY6VQQQ.mjs → chunk-7K2CWEHT.mjs} +8 -1
- package/dist/{chunk-FZM5ZZP2.mjs → chunk-AGSAOCCR.mjs} +1 -1
- package/dist/{chunk-SRSOCM2C.mjs → chunk-AL5UNXQI.mjs} +1 -1
- package/dist/{chunk-7QDYFNL6.mjs → chunk-ECD4ABCS.mjs} +1 -1
- package/dist/{chunk-K3TTKHSU.mjs → chunk-EZ47UJPD.mjs} +1 -1
- package/dist/{chunk-GQMW4NEU.mjs → chunk-I5YZBAB3.mjs} +1 -1
- package/dist/{chunk-FBI452W6.mjs → chunk-KKEJLP4U.mjs} +1 -1
- package/dist/{chunk-EOYBTX52.mjs → chunk-MTBQ5EO5.mjs} +1 -1
- package/dist/{chunk-TOGBVQYA.mjs → chunk-NJBUOBAS.mjs} +7 -3
- package/dist/{chunk-QP5CGENQ.mjs → chunk-OSP4OLTO.mjs} +1 -1
- package/dist/{chunk-FLCPUBBE.mjs → chunk-P5HLCB43.mjs} +1 -1
- package/dist/chunk-PY74IHS4.mjs +96 -0
- package/dist/{chunk-2WQ76NXU.mjs → chunk-ROFEKAS6.mjs} +1 -1
- package/dist/{chunk-KCPJHUUJ.mjs → chunk-USGOG5QI.mjs} +1 -1
- package/dist/{chunk-DBDK3IF7.mjs → chunk-W37Q6YFS.mjs} +1 -1
- package/dist/{chunk-FNHXMO5W.mjs → chunk-WH4ODSEM.mjs} +1 -1
- package/dist/{chunk-2BUT7L7P.mjs → chunk-XBJNS5SU.mjs} +1 -1
- package/dist/chunk-XKMMJKKB.mjs +29 -0
- package/dist/{chunk-LYTXO6TG.mjs → chunk-Z4ZQGUPY.mjs} +258 -398
- package/dist/{chunk-VK7USAMR.mjs → chunk-ZWG2GMCI.mjs} +1 -1
- package/dist/components/accordion.js +21 -0
- package/dist/components/accordion.mjs +25 -24
- package/dist/components/alert.d.mts +215 -110
- package/dist/components/alert.d.ts +215 -110
- package/dist/components/alert.js +86 -380
- package/dist/components/alert.mjs +9 -45
- package/dist/components/autocomplete.js +21 -0
- package/dist/components/autocomplete.mjs +5 -5
- package/dist/components/avatar.js +21 -0
- package/dist/components/avatar.mjs +25 -24
- package/dist/components/badge.js +21 -0
- package/dist/components/badge.mjs +25 -24
- package/dist/components/bottom-bar.js +21 -0
- package/dist/components/bottom-bar.mjs +25 -24
- package/dist/components/breadcrumbs.js +21 -0
- package/dist/components/breadcrumbs.mjs +25 -24
- package/dist/components/button.js +21 -0
- package/dist/components/button.mjs +25 -24
- package/dist/components/calendar.js +21 -0
- package/dist/components/calendar.mjs +25 -24
- package/dist/components/card.js +21 -0
- package/dist/components/card.mjs +25 -24
- package/dist/components/checkbox.js +28 -4
- package/dist/components/checkbox.mjs +25 -24
- package/dist/components/chip.js +21 -0
- package/dist/components/chip.mjs +25 -24
- package/dist/components/code.js +21 -0
- package/dist/components/code.mjs +25 -24
- package/dist/components/date-input.js +21 -0
- package/dist/components/date-input.mjs +5 -5
- package/dist/components/date-picker.js +21 -0
- package/dist/components/date-picker.mjs +5 -5
- package/dist/components/divider.d.mts +40 -1
- package/dist/components/divider.d.ts +40 -1
- package/dist/components/divider.js +33 -3
- package/dist/components/divider.mjs +9 -7
- package/dist/components/drawer.js +21 -0
- package/dist/components/drawer.mjs +5 -5
- package/dist/components/drip.js +21 -0
- package/dist/components/drip.mjs +5 -5
- package/dist/components/drop-zone.js +21 -0
- package/dist/components/drop-zone.mjs +25 -24
- package/dist/components/dropdown.js +21 -0
- package/dist/components/dropdown.mjs +25 -24
- package/dist/components/form.js +21 -0
- package/dist/components/form.mjs +5 -5
- package/dist/components/image.js +21 -0
- package/dist/components/image.mjs +5 -5
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +349 -368
- package/dist/components/index.mjs +32 -26
- package/dist/components/input-otp.js +21 -0
- package/dist/components/input-otp.mjs +25 -24
- package/dist/components/input.js +21 -0
- package/dist/components/input.mjs +25 -24
- package/dist/components/kbd.js +21 -0
- package/dist/components/kbd.mjs +5 -5
- package/dist/components/link.js +21 -0
- package/dist/components/link.mjs +25 -24
- package/dist/components/listbox.js +21 -0
- package/dist/components/listbox.mjs +25 -24
- package/dist/components/menu.js +21 -0
- package/dist/components/menu.mjs +25 -24
- package/dist/components/modal.js +21 -0
- package/dist/components/modal.mjs +25 -24
- package/dist/components/navbar.js +21 -0
- package/dist/components/navbar.mjs +25 -24
- package/dist/components/number-input.js +21 -0
- package/dist/components/number-input.mjs +25 -24
- package/dist/components/pagination.js +21 -0
- package/dist/components/pagination.mjs +25 -24
- package/dist/components/popover.js +21 -0
- package/dist/components/popover.mjs +25 -24
- package/dist/components/progress.js +21 -0
- package/dist/components/progress.mjs +5 -5
- package/dist/components/radio.js +21 -0
- package/dist/components/radio.mjs +25 -24
- package/dist/components/scroll-area.js +21 -0
- package/dist/components/scroll-area.mjs +5 -5
- package/dist/components/scroll-shadow.js +21 -0
- package/dist/components/scroll-shadow.mjs +5 -5
- package/dist/components/select.js +21 -0
- package/dist/components/select.mjs +25 -24
- package/dist/components/shimmer-text.js +21 -0
- package/dist/components/shimmer-text.mjs +5 -5
- package/dist/components/skeleton.js +21 -0
- package/dist/components/skeleton.mjs +5 -5
- package/dist/components/slider.js +21 -0
- package/dist/components/slider.mjs +25 -24
- package/dist/components/snippet.js +21 -0
- package/dist/components/snippet.mjs +25 -24
- package/dist/components/spacer.js +21 -0
- package/dist/components/spacer.mjs +5 -5
- package/dist/components/spinner.js +21 -0
- package/dist/components/spinner.mjs +5 -5
- package/dist/components/stepper.js +21 -0
- package/dist/components/stepper.mjs +25 -24
- package/dist/components/table.d.mts +93 -12
- package/dist/components/table.d.ts +93 -12
- package/dist/components/table.js +195 -44
- package/dist/components/table.mjs +25 -24
- package/dist/components/tabs.d.mts +81 -15
- package/dist/components/tabs.d.ts +81 -15
- package/dist/components/tabs.js +95 -15
- package/dist/components/tabs.mjs +25 -24
- package/dist/components/toast.js +21 -0
- package/dist/components/toast.mjs +25 -24
- package/dist/components/toggle.js +21 -0
- package/dist/components/toggle.mjs +25 -24
- package/dist/components/user.js +21 -0
- package/dist/components/user.mjs +25 -24
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +376 -370
- package/dist/index.mjs +32 -26
- package/dist/plugin.js +48 -2
- package/dist/plugin.mjs +4 -4
- package/dist/utilities/index.d.mts +18 -0
- package/dist/utilities/index.d.ts +18 -0
- package/dist/utilities/index.js +21 -0
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/scrollbar-hide.d.mts +39 -4
- package/dist/utilities/scrollbar-hide.d.ts +39 -4
- package/dist/utilities/scrollbar-hide.js +44 -1
- package/dist/utilities/scrollbar-hide.mjs +4 -2
- package/dist/utils/classes.d.mts +7 -0
- package/dist/utils/classes.d.ts +7 -0
- package/dist/utils/classes.js +8 -1
- package/dist/utils/classes.mjs +1 -1
- package/dist/utils/cn.js +21 -0
- package/dist/utils/cn.mjs +4 -4
- package/dist/utils/index.js +29 -1
- package/dist/utils/index.mjs +25 -24
- package/dist/utils/merge-classes.js +21 -0
- package/dist/utils/merge-classes.mjs +25 -24
- package/dist/utils/tv.js +21 -0
- package/dist/utils/tv.mjs +4 -4
- package/dist/utils/tw-merge-config.js +21 -0
- package/dist/utils/tw-merge-config.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-7ZVSC6V6.mjs +0 -21
- package/dist/chunk-WH6SPIFG.mjs +0 -30
package/dist/components/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(components_exports, {
|
|
|
23
23
|
accordion: () => accordion,
|
|
24
24
|
accordionItem: () => accordionItem,
|
|
25
25
|
alert: () => alert,
|
|
26
|
+
alertVariants: () => alertVariants,
|
|
26
27
|
autocomplete: () => autocomplete,
|
|
27
28
|
avatar: () => avatar,
|
|
28
29
|
avatarGroup: () => avatarGroup,
|
|
@@ -55,6 +56,7 @@ __export(components_exports, {
|
|
|
55
56
|
input: () => input,
|
|
56
57
|
inputOtp: () => inputOtp,
|
|
57
58
|
kbd: () => kbd,
|
|
59
|
+
labeledDivider: () => labeledDivider,
|
|
58
60
|
link: () => link,
|
|
59
61
|
linkAnchorClasses: () => linkAnchorClasses,
|
|
60
62
|
listbox: () => menu,
|
|
@@ -180,6 +182,19 @@ var custom_default = {
|
|
|
180
182
|
|
|
181
183
|
// src/utilities/scrollbar-hide.ts
|
|
182
184
|
var scrollbar_hide_default = {
|
|
185
|
+
/**
|
|
186
|
+
* Theme-aware scrollbar
|
|
187
|
+
*/
|
|
188
|
+
".scrollbar": {
|
|
189
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
190
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
191
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
192
|
+
},
|
|
193
|
+
".scrollbar-thin": {
|
|
194
|
+
"scrollbar-width": "thin",
|
|
195
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
196
|
+
"scrollbar-gutter": "auto"
|
|
197
|
+
},
|
|
183
198
|
/**
|
|
184
199
|
* Scroll Hide
|
|
185
200
|
*/
|
|
@@ -198,10 +213,18 @@ var scrollbar_hide_default = {
|
|
|
198
213
|
"-ms-overflow-style": "auto",
|
|
199
214
|
/* Firefox */
|
|
200
215
|
"scrollbar-width": "auto",
|
|
216
|
+
"scrollbar-color": "auto",
|
|
217
|
+
"scrollbar-gutter": "auto",
|
|
201
218
|
/* Safari and Chrome */
|
|
202
219
|
"&::-webkit-scrollbar": {
|
|
203
220
|
display: "block"
|
|
204
221
|
}
|
|
222
|
+
},
|
|
223
|
+
".scrollbar-none": {
|
|
224
|
+
"-ms-overflow-style": "none",
|
|
225
|
+
"scrollbar-width": "none",
|
|
226
|
+
"scrollbar-color": "auto",
|
|
227
|
+
"scrollbar-gutter": "auto"
|
|
205
228
|
}
|
|
206
229
|
};
|
|
207
230
|
|
|
@@ -3783,14 +3806,15 @@ var checkbox = tv({
|
|
|
3783
3806
|
"justify-center",
|
|
3784
3807
|
"shrink-0",
|
|
3785
3808
|
"overflow-hidden",
|
|
3809
|
+
"shadow-small",
|
|
3786
3810
|
// before
|
|
3787
3811
|
"before:content-['']",
|
|
3788
3812
|
"before:absolute",
|
|
3789
3813
|
"before:inset-0",
|
|
3814
|
+
"before:border-small",
|
|
3790
3815
|
"before:border-solid",
|
|
3791
|
-
"before:border-
|
|
3792
|
-
"before:
|
|
3793
|
-
"before:border-default",
|
|
3816
|
+
"before:border-default-200",
|
|
3817
|
+
"before:bg-white",
|
|
3794
3818
|
// after
|
|
3795
3819
|
"after:content-['']",
|
|
3796
3820
|
"after:absolute",
|
|
@@ -3800,8 +3824,10 @@ var checkbox = tv({
|
|
|
3800
3824
|
"after:origin-center",
|
|
3801
3825
|
"group-data-[selected=true]:after:scale-100",
|
|
3802
3826
|
"group-data-[selected=true]:after:opacity-100",
|
|
3827
|
+
"group-data-[selected=true]:before:border-transparent",
|
|
3803
3828
|
// hover
|
|
3804
|
-
"group-data-[hover=true]:before:
|
|
3829
|
+
"group-data-[hover=true]:before:border-default-400",
|
|
3830
|
+
"group-data-[selected=true]:group-data-[hover=true]:before:border-transparent",
|
|
3805
3831
|
// focus ring
|
|
3806
3832
|
...groupDataFocusVisibleClasses
|
|
3807
3833
|
],
|
|
@@ -7561,15 +7587,36 @@ var table = tv({
|
|
|
7561
7587
|
"justify-between",
|
|
7562
7588
|
"gap-4",
|
|
7563
7589
|
"shadow-small",
|
|
7564
|
-
"bg-content1"
|
|
7565
|
-
"overflow-auto"
|
|
7590
|
+
"bg-content1"
|
|
7566
7591
|
],
|
|
7592
|
+
scrollContainer: ["scrollbar", "overflow-x-auto"],
|
|
7593
|
+
resizableContainer: ["relative", "scrollbar", "overflow-auto"],
|
|
7567
7594
|
table: "min-w-full h-auto",
|
|
7568
|
-
thead:
|
|
7569
|
-
|
|
7570
|
-
|
|
7595
|
+
thead: [
|
|
7596
|
+
// VirtualizerItem wraps each column, so round via the header row rather than the column.
|
|
7597
|
+
"[&>[role=row]>[role=presentation]:first-child>[role=columnheader]]:rounded-s-lg",
|
|
7598
|
+
"[&>[role=row]>[role=presentation]:last-child>[role=columnheader]]:rounded-e-lg",
|
|
7599
|
+
"[&>[role=row]>[role=presentation]:last-child>[role=columnheader]]:before:hidden",
|
|
7600
|
+
"[&>[role=row]>[role=presentation]:last-child>[role=columnheader]>[data-slot=table-column-resizer]]:hidden",
|
|
7601
|
+
"[&>tr>th:last-child>[data-slot=table-column-resizer]]:hidden"
|
|
7602
|
+
],
|
|
7603
|
+
tbody: [
|
|
7604
|
+
"[&:is(tbody)]:after:block",
|
|
7605
|
+
// A virtualized body is a div. Clip it instead of relying on first/last table cells.
|
|
7606
|
+
"[&:not(tbody)]:relative",
|
|
7607
|
+
"[&:not(tbody)]:h-full",
|
|
7608
|
+
"[&:not(tbody)]:overflow-hidden",
|
|
7609
|
+
"[&:not(tbody)]:rounded-lg"
|
|
7610
|
+
],
|
|
7611
|
+
tr: [
|
|
7612
|
+
"group/tr",
|
|
7613
|
+
"outline-solid outline-transparent",
|
|
7614
|
+
"[&:not(tr)]:h-full",
|
|
7615
|
+
...dataFocusVisibleClasses
|
|
7616
|
+
],
|
|
7571
7617
|
th: [
|
|
7572
7618
|
"group/th",
|
|
7619
|
+
"relative",
|
|
7573
7620
|
"px-3",
|
|
7574
7621
|
"h-10",
|
|
7575
7622
|
"text-start",
|
|
@@ -7579,21 +7626,62 @@ var table = tv({
|
|
|
7579
7626
|
"text-foreground-500",
|
|
7580
7627
|
"text-tiny",
|
|
7581
7628
|
"font-semibold",
|
|
7582
|
-
"
|
|
7583
|
-
"
|
|
7629
|
+
"[&:not(th)]:flex [&:not(th)]:items-center",
|
|
7630
|
+
"[&:is(th):first-child]:rounded-s-lg",
|
|
7631
|
+
"[&:is(th):last-child]:rounded-e-lg",
|
|
7632
|
+
"[&:is(th):last-child]:before:hidden",
|
|
7633
|
+
"before:pointer-events-none",
|
|
7634
|
+
"before:absolute",
|
|
7635
|
+
"before:end-0",
|
|
7636
|
+
"before:top-1/2",
|
|
7637
|
+
"before:h-4",
|
|
7638
|
+
"before:w-px",
|
|
7639
|
+
"before:-translate-y-1/2",
|
|
7640
|
+
"before:rounded-small",
|
|
7641
|
+
"before:bg-default-300",
|
|
7642
|
+
"before:content-['']",
|
|
7584
7643
|
"outline-solid outline-transparent",
|
|
7585
|
-
"data-[
|
|
7586
|
-
"data-[hover=true]:text-foreground-400",
|
|
7644
|
+
"data-[allows-sorting]:cursor-pointer",
|
|
7587
7645
|
...dataFocusVisibleClasses
|
|
7588
7646
|
],
|
|
7647
|
+
columnResizer: [
|
|
7648
|
+
"absolute",
|
|
7649
|
+
"end-0",
|
|
7650
|
+
"top-1/2",
|
|
7651
|
+
"h-4",
|
|
7652
|
+
"w-px",
|
|
7653
|
+
"-translate-y-1/2",
|
|
7654
|
+
"translate-x-1/2",
|
|
7655
|
+
"rounded-small",
|
|
7656
|
+
"bg-default-300",
|
|
7657
|
+
"bg-clip-content",
|
|
7658
|
+
"box-content",
|
|
7659
|
+
"cursor-col-resize",
|
|
7660
|
+
"touch-none",
|
|
7661
|
+
"border-none",
|
|
7662
|
+
"outline-none",
|
|
7663
|
+
"px-2",
|
|
7664
|
+
"data-[hovered=true]:h-full",
|
|
7665
|
+
"data-[hovered=true]:w-0.5",
|
|
7666
|
+
"data-[hovered=true]:bg-primary",
|
|
7667
|
+
"data-[resizing=true]:h-full",
|
|
7668
|
+
"data-[resizing=true]:w-0.5",
|
|
7669
|
+
"data-[resizing=true]:bg-primary",
|
|
7670
|
+
"data-[focus-visible=true]:h-full",
|
|
7671
|
+
"data-[focus-visible=true]:w-0.5",
|
|
7672
|
+
"data-[focus-visible=true]:bg-focus"
|
|
7673
|
+
],
|
|
7589
7674
|
td: [
|
|
7590
7675
|
"py-2",
|
|
7591
7676
|
"px-3",
|
|
7592
7677
|
"relative",
|
|
7678
|
+
"isolate",
|
|
7679
|
+
"z-0",
|
|
7593
7680
|
"align-middle",
|
|
7594
7681
|
"whitespace-normal",
|
|
7595
7682
|
"text-small",
|
|
7596
7683
|
"font-normal",
|
|
7684
|
+
"[&:not(td)]:h-full",
|
|
7597
7685
|
"outline-solid outline-transparent",
|
|
7598
7686
|
"[&>*]:z-1",
|
|
7599
7687
|
"[&>*]:relative",
|
|
@@ -7602,10 +7690,12 @@ var table = tv({
|
|
|
7602
7690
|
"before:pointer-events-none",
|
|
7603
7691
|
"before:content-['']",
|
|
7604
7692
|
"before:absolute",
|
|
7605
|
-
"before
|
|
7693
|
+
"before:-z-10",
|
|
7606
7694
|
"before:inset-0",
|
|
7607
7695
|
"before:opacity-0",
|
|
7608
7696
|
"data-[selected=true]:before:opacity-100",
|
|
7697
|
+
"data-[selected]:before:opacity-100",
|
|
7698
|
+
"group-aria-[selected=true]/tr:before:opacity-100",
|
|
7609
7699
|
// disabled
|
|
7610
7700
|
"group-data-[disabled=true]/tr:text-foreground-300",
|
|
7611
7701
|
"group-data-[disabled=true]/tr:cursor-not-allowed"
|
|
@@ -7622,28 +7712,28 @@ var table = tv({
|
|
|
7622
7712
|
"group-data-[hover=true]/th:opacity-100",
|
|
7623
7713
|
"data-[direction=ascending]:rotate-180"
|
|
7624
7714
|
],
|
|
7625
|
-
emptyWrapper: "
|
|
7715
|
+
emptyWrapper: "flex h-40 w-full items-center justify-center text-center align-middle text-foreground-400",
|
|
7626
7716
|
loadingWrapper: "absolute inset-0 flex items-center justify-center"
|
|
7627
7717
|
},
|
|
7628
7718
|
variants: {
|
|
7629
7719
|
color: {
|
|
7630
7720
|
default: {
|
|
7631
|
-
td: "before:bg-default
|
|
7721
|
+
td: "before:bg-default-300"
|
|
7632
7722
|
},
|
|
7633
7723
|
primary: {
|
|
7634
|
-
td: "before:bg-primary/20
|
|
7724
|
+
td: "before:bg-primary/20"
|
|
7635
7725
|
},
|
|
7636
7726
|
secondary: {
|
|
7637
|
-
td: "before:bg-secondary/20
|
|
7727
|
+
td: "before:bg-secondary/20"
|
|
7638
7728
|
},
|
|
7639
7729
|
success: {
|
|
7640
|
-
td: "before:bg-success/20
|
|
7730
|
+
td: "before:bg-success/20"
|
|
7641
7731
|
},
|
|
7642
7732
|
warning: {
|
|
7643
|
-
td: "before:bg-warning/20
|
|
7733
|
+
td: "before:bg-warning/20"
|
|
7644
7734
|
},
|
|
7645
7735
|
danger: {
|
|
7646
|
-
td: "before:bg-danger/20
|
|
7736
|
+
td: "before:bg-danger/20"
|
|
7647
7737
|
}
|
|
7648
7738
|
},
|
|
7649
7739
|
layout: {
|
|
@@ -7654,6 +7744,14 @@ var table = tv({
|
|
|
7654
7744
|
table: "table-fixed"
|
|
7655
7745
|
}
|
|
7656
7746
|
},
|
|
7747
|
+
overflowMode: {
|
|
7748
|
+
wrap: {
|
|
7749
|
+
td: "whitespace-normal break-words"
|
|
7750
|
+
},
|
|
7751
|
+
truncate: {
|
|
7752
|
+
td: "truncate"
|
|
7753
|
+
}
|
|
7754
|
+
},
|
|
7657
7755
|
shadow: {
|
|
7658
7756
|
none: {
|
|
7659
7757
|
wrapper: "shadow-none"
|
|
@@ -7676,9 +7774,9 @@ var table = tv({
|
|
|
7676
7774
|
isStriped: {
|
|
7677
7775
|
true: {
|
|
7678
7776
|
td: [
|
|
7679
|
-
"group-
|
|
7680
|
-
"group-
|
|
7681
|
-
"group-
|
|
7777
|
+
"group-even/tr:before:bg-default-100/50",
|
|
7778
|
+
"group-even/tr:before:opacity-100",
|
|
7779
|
+
"group-even/tr:before:-z-10"
|
|
7682
7780
|
]
|
|
7683
7781
|
}
|
|
7684
7782
|
},
|
|
@@ -7688,17 +7786,40 @@ var table = tv({
|
|
|
7688
7786
|
},
|
|
7689
7787
|
false: {}
|
|
7690
7788
|
},
|
|
7691
|
-
|
|
7789
|
+
isBordered: {
|
|
7692
7790
|
true: {
|
|
7693
|
-
|
|
7791
|
+
// Inner grid lines only: no border after the last column or under the last row.
|
|
7792
|
+
// The end border is cleared from the row because a virtualized cell is wrapped in a
|
|
7793
|
+
// VirtualizerItem, so `:last-child` on the cell itself matches every column.
|
|
7794
|
+
td: ["border-b", "border-divider", "group-last/tr:border-b-0"]
|
|
7795
|
+
}
|
|
7796
|
+
},
|
|
7797
|
+
isGlass: {
|
|
7798
|
+
true: {}
|
|
7799
|
+
},
|
|
7800
|
+
isSticky: {
|
|
7801
|
+
true: {
|
|
7802
|
+
thead: [
|
|
7803
|
+
"sticky top-0 z-20",
|
|
7804
|
+
// A virtualized rowgroup is 0-height (its children are all absolutely
|
|
7805
|
+
// positioned by VirtualizerItem). Stretch it to fill the sticky wrapper
|
|
7806
|
+
// so it has real area to paint on — same role a native <thead> already has.
|
|
7807
|
+
"[&:not(thead)]:absolute",
|
|
7808
|
+
"[&:not(thead)]:inset-0"
|
|
7809
|
+
]
|
|
7810
|
+
}
|
|
7811
|
+
},
|
|
7812
|
+
isFooterSticky: {
|
|
7813
|
+
true: {
|
|
7814
|
+
tfoot: "sticky bottom-0 z-20 rounded-lg bg-default-100"
|
|
7694
7815
|
}
|
|
7695
7816
|
},
|
|
7696
7817
|
isSelectable: {
|
|
7697
7818
|
true: {
|
|
7698
7819
|
tr: "cursor-default",
|
|
7699
7820
|
td: [
|
|
7700
|
-
"group-aria-[selected=false]/tr:group-data-[
|
|
7701
|
-
"group-aria-[selected=false]/tr:group-data-[
|
|
7821
|
+
"group-aria-[selected=false]/tr:group-data-[hovered]/tr:before:bg-default-100",
|
|
7822
|
+
"group-aria-[selected=false]/tr:group-data-[hovered]/tr:before:opacity-70"
|
|
7702
7823
|
]
|
|
7703
7824
|
}
|
|
7704
7825
|
},
|
|
@@ -7706,13 +7827,13 @@ var table = tv({
|
|
|
7706
7827
|
true: {
|
|
7707
7828
|
td: [
|
|
7708
7829
|
// first
|
|
7709
|
-
"group-
|
|
7710
|
-
"group-
|
|
7830
|
+
"group-first/tr:first:before:rounded-ss-lg",
|
|
7831
|
+
"group-first/tr:last:before:rounded-se-lg",
|
|
7711
7832
|
// middle
|
|
7712
|
-
"group-
|
|
7833
|
+
"group-[&:not(:first-child):not(:last-child)]/tr:before:rounded-none",
|
|
7713
7834
|
// last
|
|
7714
|
-
"group-
|
|
7715
|
-
"group-
|
|
7835
|
+
"group-last/tr:first:before:rounded-es-lg",
|
|
7836
|
+
"group-last/tr:last:before:rounded-ee-lg"
|
|
7716
7837
|
]
|
|
7717
7838
|
},
|
|
7718
7839
|
false: {
|
|
@@ -7722,19 +7843,25 @@ var table = tv({
|
|
|
7722
7843
|
radius: {
|
|
7723
7844
|
none: {
|
|
7724
7845
|
wrapper: "rounded-none",
|
|
7846
|
+
tfoot: "rounded-none",
|
|
7847
|
+
thead: [
|
|
7848
|
+
"[&>[role=row]>[role=presentation]:first-child>[role=columnheader]]:rounded-s-none",
|
|
7849
|
+
"[&>[role=row]>[role=presentation]:last-child>[role=columnheader]]:rounded-e-none"
|
|
7850
|
+
],
|
|
7851
|
+
tbody: "[&:not(tbody)]:rounded-none",
|
|
7725
7852
|
th: [
|
|
7726
|
-
"first:rounded-s-none",
|
|
7727
|
-
"first:before:rounded-s-none",
|
|
7728
|
-
"last:rounded-e-none",
|
|
7729
|
-
"last:before:rounded-e-none"
|
|
7853
|
+
"[&:is(th):first-child]:rounded-s-none",
|
|
7854
|
+
"[&:is(th):first-child]:before:rounded-s-none",
|
|
7855
|
+
"[&:is(th):last-child]:rounded-e-none",
|
|
7856
|
+
"[&:is(th):last-child]:before:rounded-e-none"
|
|
7730
7857
|
],
|
|
7731
7858
|
td: [
|
|
7732
7859
|
"first:before:rounded-s-none",
|
|
7733
7860
|
"last:before:rounded-e-none",
|
|
7734
|
-
"group-
|
|
7735
|
-
"group-
|
|
7736
|
-
"group-
|
|
7737
|
-
"group-
|
|
7861
|
+
"group-first/tr:first:before:rounded-ss-none",
|
|
7862
|
+
"group-first/tr:last:before:rounded-se-none",
|
|
7863
|
+
"group-last/tr:first:before:rounded-es-none",
|
|
7864
|
+
"group-last/tr:last:before:rounded-ee-none"
|
|
7738
7865
|
]
|
|
7739
7866
|
},
|
|
7740
7867
|
sm: {
|
|
@@ -7775,52 +7902,81 @@ var table = tv({
|
|
|
7775
7902
|
radius: "lg",
|
|
7776
7903
|
color: "default",
|
|
7777
7904
|
isCompact: false,
|
|
7905
|
+
isGlass: true,
|
|
7778
7906
|
hideHeader: false,
|
|
7779
7907
|
isStriped: false,
|
|
7780
7908
|
fullWidth: true,
|
|
7781
|
-
align: "start"
|
|
7909
|
+
align: "start",
|
|
7910
|
+
overflowMode: "wrap"
|
|
7782
7911
|
},
|
|
7783
7912
|
compoundVariants: [
|
|
7913
|
+
{
|
|
7914
|
+
isGlass: true,
|
|
7915
|
+
isSticky: true,
|
|
7916
|
+
class: {
|
|
7917
|
+
// The single glass surface lives on the thead slot (rowgroup) — see the
|
|
7918
|
+
// isSticky variant above for why that works in both native and virtualized DOM.
|
|
7919
|
+
thead: "bg-default-100/80 backdrop-blur-sm",
|
|
7920
|
+
th: [
|
|
7921
|
+
// Cells stay transparent so the row group is the only thing painting glass —
|
|
7922
|
+
// per-cell backdrop-filter would clamp its sampling to each cell's own box,
|
|
7923
|
+
// producing a visible seam at every column boundary.
|
|
7924
|
+
"bg-transparent",
|
|
7925
|
+
// Native-only: a horizontally-pinned column header is sticky *within* the row
|
|
7926
|
+
// group, so it can scroll away from the row group's own (also-scrolling)
|
|
7927
|
+
// background box. It needs its own glass to stay opaque as content passes under it.
|
|
7928
|
+
"data-[pinned]:bg-default-100/80",
|
|
7929
|
+
"data-[pinned]:backdrop-blur-sm"
|
|
7930
|
+
]
|
|
7931
|
+
}
|
|
7932
|
+
},
|
|
7933
|
+
{
|
|
7934
|
+
isFooterSticky: true,
|
|
7935
|
+
isGlass: true,
|
|
7936
|
+
class: {
|
|
7937
|
+
tfoot: "bg-default-100/80 backdrop-blur-sm"
|
|
7938
|
+
}
|
|
7939
|
+
},
|
|
7784
7940
|
{
|
|
7785
7941
|
isStriped: true,
|
|
7786
7942
|
color: "default",
|
|
7787
7943
|
class: {
|
|
7788
|
-
td: "group-
|
|
7944
|
+
td: "group-even/tr:data-[selected=true]:before:bg-default/60"
|
|
7789
7945
|
}
|
|
7790
7946
|
},
|
|
7791
7947
|
{
|
|
7792
7948
|
isStriped: true,
|
|
7793
7949
|
color: "primary",
|
|
7794
7950
|
class: {
|
|
7795
|
-
td: "group-
|
|
7951
|
+
td: "group-even/tr:data-[selected=true]:before:bg-primary/20"
|
|
7796
7952
|
}
|
|
7797
7953
|
},
|
|
7798
7954
|
{
|
|
7799
7955
|
isStriped: true,
|
|
7800
7956
|
color: "secondary",
|
|
7801
7957
|
class: {
|
|
7802
|
-
td: "group-
|
|
7958
|
+
td: "group-even/tr:data-[selected=true]:before:bg-secondary/20"
|
|
7803
7959
|
}
|
|
7804
7960
|
},
|
|
7805
7961
|
{
|
|
7806
7962
|
isStriped: true,
|
|
7807
7963
|
color: "success",
|
|
7808
7964
|
class: {
|
|
7809
|
-
td: "group-
|
|
7965
|
+
td: "group-even/tr:data-[selected=true]:before:bg-success/20"
|
|
7810
7966
|
}
|
|
7811
7967
|
},
|
|
7812
7968
|
{
|
|
7813
7969
|
isStriped: true,
|
|
7814
7970
|
color: "warning",
|
|
7815
7971
|
class: {
|
|
7816
|
-
td: "group-
|
|
7972
|
+
td: "group-even/tr:data-[selected=true]:before:bg-warning/20"
|
|
7817
7973
|
}
|
|
7818
7974
|
},
|
|
7819
7975
|
{
|
|
7820
7976
|
isStriped: true,
|
|
7821
7977
|
color: "danger",
|
|
7822
7978
|
class: {
|
|
7823
|
-
td: "group-
|
|
7979
|
+
td: "group-even/tr:data-[selected=true]:before:bg-danger/20"
|
|
7824
7980
|
}
|
|
7825
7981
|
}
|
|
7826
7982
|
]
|
|
@@ -7846,13 +8002,20 @@ var divider = tv({
|
|
|
7846
8002
|
variants: {
|
|
7847
8003
|
orientation: {
|
|
7848
8004
|
horizontal: "w-full h-divider",
|
|
7849
|
-
vertical: "h-
|
|
8005
|
+
vertical: "h-auto min-h-2 self-stretch w-divider"
|
|
7850
8006
|
}
|
|
7851
8007
|
},
|
|
7852
8008
|
defaultVariants: {
|
|
7853
8009
|
orientation: "horizontal"
|
|
7854
8010
|
}
|
|
7855
8011
|
});
|
|
8012
|
+
var labeledDivider = tv({
|
|
8013
|
+
slots: {
|
|
8014
|
+
base: "flex w-full items-center gap-3",
|
|
8015
|
+
line: "h-divider flex-1 bg-divider",
|
|
8016
|
+
label: "shrink-0 text-small text-default-500"
|
|
8017
|
+
}
|
|
8018
|
+
});
|
|
7856
8019
|
|
|
7857
8020
|
// src/components/kbd.ts
|
|
7858
8021
|
var kbd = tv({
|
|
@@ -7883,18 +8046,58 @@ var kbd = tv({
|
|
|
7883
8046
|
// src/components/tabs.ts
|
|
7884
8047
|
var tabs = tv({
|
|
7885
8048
|
slots: {
|
|
7886
|
-
base: "inline-flex",
|
|
8049
|
+
base: "group relative inline-flex max-w-full bg-default-100",
|
|
8050
|
+
scroller: "max-w-full",
|
|
7887
8051
|
tabList: [
|
|
7888
8052
|
"relative",
|
|
7889
|
-
"flex",
|
|
8053
|
+
"inline-flex",
|
|
7890
8054
|
"p-1",
|
|
7891
8055
|
"h-fit",
|
|
7892
8056
|
"gap-2",
|
|
7893
8057
|
"items-center",
|
|
7894
8058
|
"flex-nowrap",
|
|
7895
|
-
"
|
|
7896
|
-
"
|
|
7897
|
-
|
|
8059
|
+
"w-max",
|
|
8060
|
+
"min-w-full"
|
|
8061
|
+
],
|
|
8062
|
+
scrollPrev: [
|
|
8063
|
+
"absolute",
|
|
8064
|
+
"z-20",
|
|
8065
|
+
"hidden",
|
|
8066
|
+
"size-4",
|
|
8067
|
+
"items-center",
|
|
8068
|
+
"justify-center",
|
|
8069
|
+
"rounded-full",
|
|
8070
|
+
"bg-transparent",
|
|
8071
|
+
"outline-none",
|
|
8072
|
+
"text-foreground",
|
|
8073
|
+
"transition-opacity",
|
|
8074
|
+
"hover:opacity-70",
|
|
8075
|
+
"focus-visible:outline-2",
|
|
8076
|
+
"focus-visible:outline-focus",
|
|
8077
|
+
"group-has-[[data-left-scroll=true]]:flex",
|
|
8078
|
+
"group-has-[[data-left-right-scroll=true]]:flex",
|
|
8079
|
+
"group-has-[[data-top-scroll=true]]:flex",
|
|
8080
|
+
"group-has-[[data-top-bottom-scroll=true]]:flex"
|
|
8081
|
+
],
|
|
8082
|
+
scrollNext: [
|
|
8083
|
+
"absolute",
|
|
8084
|
+
"z-20",
|
|
8085
|
+
"hidden",
|
|
8086
|
+
"size-4",
|
|
8087
|
+
"items-center",
|
|
8088
|
+
"justify-center",
|
|
8089
|
+
"rounded-full",
|
|
8090
|
+
"bg-transparent",
|
|
8091
|
+
"outline-none",
|
|
8092
|
+
"text-foreground",
|
|
8093
|
+
"transition-opacity",
|
|
8094
|
+
"hover:opacity-70",
|
|
8095
|
+
"focus-visible:outline-2",
|
|
8096
|
+
"focus-visible:outline-focus",
|
|
8097
|
+
"group-has-[[data-right-scroll=true]]:flex",
|
|
8098
|
+
"group-has-[[data-left-right-scroll=true]]:flex",
|
|
8099
|
+
"group-has-[[data-bottom-scroll=true]]:flex",
|
|
8100
|
+
"group-has-[[data-top-bottom-scroll=true]]:flex"
|
|
7898
8101
|
],
|
|
7899
8102
|
tab: [
|
|
7900
8103
|
"z-0",
|
|
@@ -7950,14 +8153,14 @@ var tabs = tv({
|
|
|
7950
8153
|
variant: {
|
|
7951
8154
|
solid: {},
|
|
7952
8155
|
light: {
|
|
7953
|
-
|
|
8156
|
+
base: "bg-transparent dark:bg-transparent"
|
|
7954
8157
|
},
|
|
7955
8158
|
underlined: {
|
|
7956
|
-
|
|
8159
|
+
base: "bg-transparent dark:bg-transparent",
|
|
7957
8160
|
cursor: "h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"
|
|
7958
8161
|
},
|
|
7959
8162
|
bordered: {
|
|
7960
|
-
|
|
8163
|
+
base: "bg-transparent dark:bg-transparent border-medium border-default-200 shadow-xs"
|
|
7961
8164
|
}
|
|
7962
8165
|
},
|
|
7963
8166
|
color: {
|
|
@@ -7970,16 +8173,19 @@ var tabs = tv({
|
|
|
7970
8173
|
},
|
|
7971
8174
|
size: {
|
|
7972
8175
|
sm: {
|
|
8176
|
+
base: "rounded-medium",
|
|
7973
8177
|
tabList: "rounded-medium",
|
|
7974
8178
|
tab: "h-7 text-tiny rounded-small",
|
|
7975
8179
|
cursor: "rounded-small"
|
|
7976
8180
|
},
|
|
7977
8181
|
md: {
|
|
8182
|
+
base: "rounded-medium",
|
|
7978
8183
|
tabList: "rounded-medium",
|
|
7979
8184
|
tab: "h-8 text-small rounded-small",
|
|
7980
8185
|
cursor: "rounded-small"
|
|
7981
8186
|
},
|
|
7982
8187
|
lg: {
|
|
8188
|
+
base: "rounded-large",
|
|
7983
8189
|
tabList: "rounded-large",
|
|
7984
8190
|
tab: "h-9 text-medium rounded-medium",
|
|
7985
8191
|
cursor: "rounded-medium"
|
|
@@ -7987,26 +8193,31 @@ var tabs = tv({
|
|
|
7987
8193
|
},
|
|
7988
8194
|
radius: {
|
|
7989
8195
|
none: {
|
|
8196
|
+
base: "rounded-none",
|
|
7990
8197
|
tabList: "rounded-none",
|
|
7991
8198
|
tab: "rounded-none",
|
|
7992
8199
|
cursor: "rounded-none"
|
|
7993
8200
|
},
|
|
7994
8201
|
sm: {
|
|
8202
|
+
base: "rounded-medium",
|
|
7995
8203
|
tabList: "rounded-medium",
|
|
7996
8204
|
tab: "rounded-small",
|
|
7997
8205
|
cursor: "rounded-small"
|
|
7998
8206
|
},
|
|
7999
8207
|
md: {
|
|
8208
|
+
base: "rounded-medium",
|
|
8000
8209
|
tabList: "rounded-medium",
|
|
8001
8210
|
tab: "rounded-small",
|
|
8002
8211
|
cursor: "rounded-small"
|
|
8003
8212
|
},
|
|
8004
8213
|
lg: {
|
|
8214
|
+
base: "rounded-large",
|
|
8005
8215
|
tabList: "rounded-large",
|
|
8006
8216
|
tab: "rounded-medium",
|
|
8007
8217
|
cursor: "rounded-medium"
|
|
8008
8218
|
},
|
|
8009
8219
|
full: {
|
|
8220
|
+
base: "rounded-full",
|
|
8010
8221
|
tabList: "rounded-full",
|
|
8011
8222
|
tab: "rounded-full",
|
|
8012
8223
|
cursor: "rounded-full"
|
|
@@ -8015,7 +8226,7 @@ var tabs = tv({
|
|
|
8015
8226
|
fullWidth: {
|
|
8016
8227
|
true: {
|
|
8017
8228
|
base: "w-full",
|
|
8018
|
-
|
|
8229
|
+
scroller: "w-full"
|
|
8019
8230
|
}
|
|
8020
8231
|
},
|
|
8021
8232
|
isDisabled: {
|
|
@@ -8030,19 +8241,30 @@ var tabs = tv({
|
|
|
8030
8241
|
}
|
|
8031
8242
|
},
|
|
8032
8243
|
placement: {
|
|
8033
|
-
top: {
|
|
8244
|
+
top: {
|
|
8245
|
+
scrollPrev: "top-1/2 left-1 -translate-y-1/2",
|
|
8246
|
+
scrollNext: "top-1/2 right-1 -translate-y-1/2"
|
|
8247
|
+
},
|
|
8034
8248
|
start: {
|
|
8035
|
-
|
|
8249
|
+
scroller: "h-full",
|
|
8250
|
+
tabList: "min-w-0 flex-col",
|
|
8036
8251
|
panel: "py-0 px-3",
|
|
8037
|
-
tabWrapper: "flex"
|
|
8252
|
+
tabWrapper: "flex",
|
|
8253
|
+
scrollPrev: "top-1 left-1/2 -translate-x-1/2",
|
|
8254
|
+
scrollNext: "bottom-1 left-1/2 -translate-x-1/2"
|
|
8038
8255
|
},
|
|
8039
8256
|
end: {
|
|
8040
|
-
|
|
8257
|
+
scroller: "h-full",
|
|
8258
|
+
tabList: "min-w-0 flex-col",
|
|
8041
8259
|
panel: "py-0 px-3",
|
|
8042
|
-
tabWrapper: "flex flex-row-reverse"
|
|
8260
|
+
tabWrapper: "flex flex-row-reverse",
|
|
8261
|
+
scrollPrev: "top-1 left-1/2 -translate-x-1/2",
|
|
8262
|
+
scrollNext: "bottom-1 left-1/2 -translate-x-1/2"
|
|
8043
8263
|
},
|
|
8044
8264
|
bottom: {
|
|
8045
|
-
tabWrapper: "flex flex-col-reverse"
|
|
8265
|
+
tabWrapper: "flex flex-col-reverse",
|
|
8266
|
+
scrollPrev: "top-1/2 left-1 -translate-y-1/2",
|
|
8267
|
+
scrollNext: "top-1/2 right-1 -translate-y-1/2"
|
|
8046
8268
|
}
|
|
8047
8269
|
}
|
|
8048
8270
|
},
|
|
@@ -11399,33 +11621,66 @@ var dateRangePicker = tv({
|
|
|
11399
11621
|
});
|
|
11400
11622
|
|
|
11401
11623
|
// src/components/alert.ts
|
|
11402
|
-
var
|
|
11624
|
+
var accentColor = [
|
|
11625
|
+
"text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_70%,oklch(0.2103_0.0059_285.89)_30%)]",
|
|
11626
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11627
|
+
];
|
|
11628
|
+
var successColor = [
|
|
11629
|
+
"text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.2103_0.0059_285.89)_60%)]",
|
|
11630
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11631
|
+
];
|
|
11632
|
+
var warningColor = [
|
|
11633
|
+
"text-[color:color-mix(in_oklab,oklch(0.7819_0.1585_72.33)_80%,oklch(0.2103_0.0059_285.89)_70%)]",
|
|
11634
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.8203_0.1388_76.34)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11635
|
+
];
|
|
11636
|
+
var dangerColor = [
|
|
11637
|
+
"text-[color:color-mix(in_oklab,oklch(0.6532_0.2328_25.74)_70%,oklch(0.2103_0.0059_285.89)_40%)]",
|
|
11638
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.594_0.1967_24.63)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11639
|
+
];
|
|
11640
|
+
var alertVariants = tv({
|
|
11403
11641
|
slots: {
|
|
11404
|
-
base:
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11642
|
+
base: [
|
|
11643
|
+
"flex w-full flex-row items-start justify-start gap-1 px-4 py-3",
|
|
11644
|
+
"rounded-[24px] bg-[oklch(100%_0_0)] text-[oklch(0.2103_0.0059_285.89)]",
|
|
11645
|
+
"dark:bg-[oklch(0.2103_0.0059_285.89)] dark:text-[oklch(0.9911_0_0)]",
|
|
11646
|
+
"shadow-[0_2px_4px_0_rgba(0,0,0,0.04),0_1px_2px_0_rgba(0,0,0,0.06),0_0_1px_0_rgba(0,0,0,0.06)]",
|
|
11647
|
+
"dark:shadow-none"
|
|
11648
|
+
],
|
|
11649
|
+
content: "flex h-full grow flex-col items-start",
|
|
11650
|
+
indicator: [
|
|
11651
|
+
"flex size-6 shrink-0 items-center justify-center p-1 select-none",
|
|
11652
|
+
"[&_[data-slot=alert-default-icon]]:box-content",
|
|
11653
|
+
"[&_[data-slot=alert-default-icon]]:size-4"
|
|
11654
|
+
],
|
|
11655
|
+
title: "text-small leading-6 font-medium",
|
|
11656
|
+
description: "text-small text-[oklch(0.5517_0.0138_285.94)] dark:text-[oklch(70.5%_0.015_286.067)]"
|
|
11411
11657
|
},
|
|
11412
11658
|
variants: {
|
|
11413
|
-
|
|
11414
|
-
default: {
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
warning: {},
|
|
11419
|
-
danger: {}
|
|
11420
|
-
},
|
|
11421
|
-
variant: {
|
|
11422
|
-
solid: {},
|
|
11423
|
-
flat: {},
|
|
11424
|
-
faded: {
|
|
11425
|
-
base: "border-small"
|
|
11659
|
+
status: {
|
|
11660
|
+
default: {
|
|
11661
|
+
base: "border-default-300",
|
|
11662
|
+
indicator: "text-inherit",
|
|
11663
|
+
title: "text-inherit"
|
|
11426
11664
|
},
|
|
11427
|
-
|
|
11428
|
-
base: "border-
|
|
11665
|
+
accent: {
|
|
11666
|
+
base: "border-primary-300",
|
|
11667
|
+
indicator: accentColor,
|
|
11668
|
+
title: accentColor
|
|
11669
|
+
},
|
|
11670
|
+
success: {
|
|
11671
|
+
base: "border-success-300",
|
|
11672
|
+
indicator: successColor,
|
|
11673
|
+
title: successColor
|
|
11674
|
+
},
|
|
11675
|
+
warning: {
|
|
11676
|
+
base: "border-warning-300",
|
|
11677
|
+
indicator: warningColor,
|
|
11678
|
+
title: warningColor
|
|
11679
|
+
},
|
|
11680
|
+
danger: {
|
|
11681
|
+
base: "border-danger-300",
|
|
11682
|
+
indicator: dangerColor,
|
|
11683
|
+
title: dangerColor
|
|
11429
11684
|
}
|
|
11430
11685
|
},
|
|
11431
11686
|
radius: {
|
|
@@ -11439,295 +11694,19 @@ var alert = tv({
|
|
|
11439
11694
|
base: "rounded-medium"
|
|
11440
11695
|
},
|
|
11441
11696
|
lg: {
|
|
11442
|
-
base: "rounded-
|
|
11697
|
+
base: "rounded-[24px]"
|
|
11443
11698
|
},
|
|
11444
11699
|
full: {
|
|
11445
11700
|
base: "rounded-full"
|
|
11446
11701
|
}
|
|
11447
|
-
},
|
|
11448
|
-
hideIcon: {
|
|
11449
|
-
true: {
|
|
11450
|
-
iconWrapper: "hidden"
|
|
11451
|
-
}
|
|
11452
|
-
},
|
|
11453
|
-
hideIconWrapper: {
|
|
11454
|
-
true: {
|
|
11455
|
-
base: "gap-x-0",
|
|
11456
|
-
iconWrapper: "!bg-transparent !shadow-none !border-none"
|
|
11457
|
-
}
|
|
11458
|
-
},
|
|
11459
|
-
hasContent: {
|
|
11460
|
-
false: {
|
|
11461
|
-
base: "items-center",
|
|
11462
|
-
mainWrapper: "justify-center items-center"
|
|
11463
|
-
}
|
|
11464
11702
|
}
|
|
11465
11703
|
},
|
|
11466
11704
|
defaultVariants: {
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
hideIcon: false,
|
|
11471
|
-
hideIconWrapper: false
|
|
11472
|
-
},
|
|
11473
|
-
compoundVariants: [
|
|
11474
|
-
// solid / color
|
|
11475
|
-
{
|
|
11476
|
-
variant: "solid",
|
|
11477
|
-
color: "default",
|
|
11478
|
-
class: {
|
|
11479
|
-
base: colorVariants.solid.default,
|
|
11480
|
-
closeButton: "data-[hover]:bg-default-100",
|
|
11481
|
-
alertIcon: "text-default-foreground"
|
|
11482
|
-
}
|
|
11483
|
-
},
|
|
11484
|
-
{
|
|
11485
|
-
variant: "solid",
|
|
11486
|
-
color: "primary",
|
|
11487
|
-
class: {
|
|
11488
|
-
base: colorVariants.solid.primary
|
|
11489
|
-
}
|
|
11490
|
-
},
|
|
11491
|
-
{
|
|
11492
|
-
variant: "solid",
|
|
11493
|
-
color: "secondary",
|
|
11494
|
-
class: {
|
|
11495
|
-
base: colorVariants.solid.secondary
|
|
11496
|
-
}
|
|
11497
|
-
},
|
|
11498
|
-
{
|
|
11499
|
-
variant: "solid",
|
|
11500
|
-
color: "success",
|
|
11501
|
-
class: {
|
|
11502
|
-
base: colorVariants.solid.success
|
|
11503
|
-
}
|
|
11504
|
-
},
|
|
11505
|
-
{
|
|
11506
|
-
variant: "solid",
|
|
11507
|
-
color: "warning",
|
|
11508
|
-
class: {
|
|
11509
|
-
base: colorVariants.solid.warning
|
|
11510
|
-
}
|
|
11511
|
-
},
|
|
11512
|
-
{
|
|
11513
|
-
variant: "solid",
|
|
11514
|
-
color: "danger",
|
|
11515
|
-
class: {
|
|
11516
|
-
base: colorVariants.solid.danger
|
|
11517
|
-
}
|
|
11518
|
-
},
|
|
11519
|
-
// flat & faded / color
|
|
11520
|
-
{
|
|
11521
|
-
variant: ["flat", "faded"],
|
|
11522
|
-
color: "default",
|
|
11523
|
-
class: {
|
|
11524
|
-
base: [
|
|
11525
|
-
colorVariants.flat.default,
|
|
11526
|
-
"bg-default-100 dark:bg-default-50/50",
|
|
11527
|
-
"text-default-foreground"
|
|
11528
|
-
],
|
|
11529
|
-
description: "text-default-600",
|
|
11530
|
-
closeButton: "text-default-400",
|
|
11531
|
-
iconWrapper: "bg-default-50 dark:bg-default-100 border-default-200"
|
|
11532
|
-
}
|
|
11533
|
-
},
|
|
11534
|
-
{
|
|
11535
|
-
variant: ["flat", "faded"],
|
|
11536
|
-
color: "primary",
|
|
11537
|
-
class: {
|
|
11538
|
-
base: [colorVariants.flat.primary, "bg-primary-50 dark:bg-primary-50/50"],
|
|
11539
|
-
closeButton: "text-primary-500 data-[hover]:bg-primary-200",
|
|
11540
|
-
iconWrapper: "bg-primary-50 dark:bg-primary-100 border-primary-100"
|
|
11541
|
-
}
|
|
11542
|
-
},
|
|
11543
|
-
{
|
|
11544
|
-
variant: ["flat", "faded"],
|
|
11545
|
-
color: "secondary",
|
|
11546
|
-
class: {
|
|
11547
|
-
base: [colorVariants.flat.secondary, "bg-secondary-50 dark:bg-secondary-50/50"],
|
|
11548
|
-
closeButton: "text-secondary-500 data-[hover]:bg-secondary-200",
|
|
11549
|
-
iconWrapper: "bg-secondary-50 dark:bg-secondary-100 border-secondary-100"
|
|
11550
|
-
}
|
|
11551
|
-
},
|
|
11552
|
-
{
|
|
11553
|
-
variant: ["flat", "faded"],
|
|
11554
|
-
color: "success",
|
|
11555
|
-
class: {
|
|
11556
|
-
base: [colorVariants.flat.success, "bg-success-50 dark:bg-success-50/50"],
|
|
11557
|
-
closeButton: "text-success-500 data-[hover]:bg-success-200",
|
|
11558
|
-
iconWrapper: "bg-success-50 dark:bg-success-100 border-success-100"
|
|
11559
|
-
}
|
|
11560
|
-
},
|
|
11561
|
-
{
|
|
11562
|
-
variant: ["flat", "faded"],
|
|
11563
|
-
color: "warning",
|
|
11564
|
-
class: {
|
|
11565
|
-
base: [colorVariants.flat.warning, "bg-warning-50 dark:bg-warning-50/50"],
|
|
11566
|
-
closeButton: "text-warning-500 data-[hover]:bg-warning-200",
|
|
11567
|
-
iconWrapper: "bg-warning-50 dark:bg-warning-100 border-warning-100"
|
|
11568
|
-
}
|
|
11569
|
-
},
|
|
11570
|
-
{
|
|
11571
|
-
variant: ["flat", "faded"],
|
|
11572
|
-
color: "danger",
|
|
11573
|
-
class: {
|
|
11574
|
-
base: [colorVariants.flat.danger, "bg-danger-50 dark:bg-danger-50/50"],
|
|
11575
|
-
closeButton: "text-danger-500 data-[hover]:bg-danger-200",
|
|
11576
|
-
iconWrapper: "bg-danger-50 dark:bg-danger-100 border-danger-100"
|
|
11577
|
-
}
|
|
11578
|
-
},
|
|
11579
|
-
// faded / color
|
|
11580
|
-
{
|
|
11581
|
-
variant: "faded",
|
|
11582
|
-
color: "default",
|
|
11583
|
-
class: {
|
|
11584
|
-
base: "border-default-300 dark:border-default-200"
|
|
11585
|
-
}
|
|
11586
|
-
},
|
|
11587
|
-
{
|
|
11588
|
-
variant: "faded",
|
|
11589
|
-
color: "primary",
|
|
11590
|
-
class: {
|
|
11591
|
-
base: "border-primary-200 dark:border-primary-100"
|
|
11592
|
-
}
|
|
11593
|
-
},
|
|
11594
|
-
{
|
|
11595
|
-
variant: "faded",
|
|
11596
|
-
color: "secondary",
|
|
11597
|
-
class: {
|
|
11598
|
-
base: "border-secondary-200"
|
|
11599
|
-
}
|
|
11600
|
-
},
|
|
11601
|
-
{
|
|
11602
|
-
variant: "faded",
|
|
11603
|
-
color: "success",
|
|
11604
|
-
class: {
|
|
11605
|
-
base: "border-success-300 dark:border-success-100"
|
|
11606
|
-
}
|
|
11607
|
-
},
|
|
11608
|
-
{
|
|
11609
|
-
variant: "faded",
|
|
11610
|
-
color: "warning",
|
|
11611
|
-
class: {
|
|
11612
|
-
base: "border-warning-300 dark:border-warning-100"
|
|
11613
|
-
}
|
|
11614
|
-
},
|
|
11615
|
-
{
|
|
11616
|
-
variant: "faded",
|
|
11617
|
-
color: "danger",
|
|
11618
|
-
class: {
|
|
11619
|
-
base: "border-danger-200 dark:border-danger-100"
|
|
11620
|
-
}
|
|
11621
|
-
},
|
|
11622
|
-
// bordered / color
|
|
11623
|
-
{
|
|
11624
|
-
variant: "bordered",
|
|
11625
|
-
color: "default",
|
|
11626
|
-
class: {
|
|
11627
|
-
base: [colorVariants.bordered.default],
|
|
11628
|
-
description: "text-default-600",
|
|
11629
|
-
closeButton: "text-default-400"
|
|
11630
|
-
}
|
|
11631
|
-
},
|
|
11632
|
-
{
|
|
11633
|
-
variant: "bordered",
|
|
11634
|
-
color: "primary",
|
|
11635
|
-
class: {
|
|
11636
|
-
base: [colorVariants.bordered.primary],
|
|
11637
|
-
closeButton: "data-[hover]:bg-primary-50"
|
|
11638
|
-
}
|
|
11639
|
-
},
|
|
11640
|
-
{
|
|
11641
|
-
variant: "bordered",
|
|
11642
|
-
color: "secondary",
|
|
11643
|
-
class: {
|
|
11644
|
-
base: [colorVariants.bordered.secondary],
|
|
11645
|
-
closeButton: "data-[hover]:bg-secondary-50"
|
|
11646
|
-
}
|
|
11647
|
-
},
|
|
11648
|
-
{
|
|
11649
|
-
variant: "bordered",
|
|
11650
|
-
color: "success",
|
|
11651
|
-
class: {
|
|
11652
|
-
base: [colorVariants.bordered.success],
|
|
11653
|
-
closeButton: "data-[hover]:bg-success-50"
|
|
11654
|
-
}
|
|
11655
|
-
},
|
|
11656
|
-
{
|
|
11657
|
-
variant: "bordered",
|
|
11658
|
-
color: "warning",
|
|
11659
|
-
class: {
|
|
11660
|
-
base: [colorVariants.bordered.warning],
|
|
11661
|
-
closeButton: "data-[hover]:bg-warning-100"
|
|
11662
|
-
}
|
|
11663
|
-
},
|
|
11664
|
-
{
|
|
11665
|
-
variant: "bordered",
|
|
11666
|
-
color: "danger",
|
|
11667
|
-
class: {
|
|
11668
|
-
base: [colorVariants.bordered.danger],
|
|
11669
|
-
closeButton: "data-[hover]:bg-danger-50"
|
|
11670
|
-
}
|
|
11671
|
-
},
|
|
11672
|
-
// flat & bordered & faded
|
|
11673
|
-
{
|
|
11674
|
-
variant: ["flat", "bordered", "faded"],
|
|
11675
|
-
class: {
|
|
11676
|
-
iconWrapper: "shadow-small"
|
|
11677
|
-
}
|
|
11678
|
-
},
|
|
11679
|
-
// flat & faded
|
|
11680
|
-
{
|
|
11681
|
-
variant: ["flat", "faded"],
|
|
11682
|
-
class: {
|
|
11683
|
-
iconWrapper: "shadow-small border-1"
|
|
11684
|
-
}
|
|
11685
|
-
},
|
|
11686
|
-
// bordered & color
|
|
11687
|
-
{
|
|
11688
|
-
variant: "bordered",
|
|
11689
|
-
color: "default",
|
|
11690
|
-
class: {
|
|
11691
|
-
iconWrapper: "bg-default-200 dark:bg-default-100"
|
|
11692
|
-
}
|
|
11693
|
-
},
|
|
11694
|
-
{
|
|
11695
|
-
variant: "bordered",
|
|
11696
|
-
color: "primary",
|
|
11697
|
-
class: {
|
|
11698
|
-
iconWrapper: "bg-primary-100 dark:bg-primary-50"
|
|
11699
|
-
}
|
|
11700
|
-
},
|
|
11701
|
-
{
|
|
11702
|
-
variant: "bordered",
|
|
11703
|
-
color: "secondary",
|
|
11704
|
-
class: {
|
|
11705
|
-
iconWrapper: "bg-secondary-100 dark:bg-secondary-50"
|
|
11706
|
-
}
|
|
11707
|
-
},
|
|
11708
|
-
{
|
|
11709
|
-
variant: "bordered",
|
|
11710
|
-
color: "success",
|
|
11711
|
-
class: {
|
|
11712
|
-
iconWrapper: "bg-success-100 dark:bg-success-50"
|
|
11713
|
-
}
|
|
11714
|
-
},
|
|
11715
|
-
{
|
|
11716
|
-
variant: "bordered",
|
|
11717
|
-
color: "warning",
|
|
11718
|
-
class: {
|
|
11719
|
-
iconWrapper: "bg-warning-100 dark:bg-warning-50"
|
|
11720
|
-
}
|
|
11721
|
-
},
|
|
11722
|
-
{
|
|
11723
|
-
variant: "bordered",
|
|
11724
|
-
color: "danger",
|
|
11725
|
-
class: {
|
|
11726
|
-
iconWrapper: "bg-danger-100 dark:bg-danger-50"
|
|
11727
|
-
}
|
|
11728
|
-
}
|
|
11729
|
-
]
|
|
11705
|
+
radius: "lg",
|
|
11706
|
+
status: "default"
|
|
11707
|
+
}
|
|
11730
11708
|
});
|
|
11709
|
+
var alert = alertVariants;
|
|
11731
11710
|
|
|
11732
11711
|
// src/components/drawer.ts
|
|
11733
11712
|
var drawer = tv({
|
|
@@ -13128,6 +13107,7 @@ var toast = tv({
|
|
|
13128
13107
|
accordion,
|
|
13129
13108
|
accordionItem,
|
|
13130
13109
|
alert,
|
|
13110
|
+
alertVariants,
|
|
13131
13111
|
autocomplete,
|
|
13132
13112
|
avatar,
|
|
13133
13113
|
avatarGroup,
|
|
@@ -13160,6 +13140,7 @@ var toast = tv({
|
|
|
13160
13140
|
input,
|
|
13161
13141
|
inputOtp,
|
|
13162
13142
|
kbd,
|
|
13143
|
+
labeledDivider,
|
|
13163
13144
|
link,
|
|
13164
13145
|
linkAnchorClasses,
|
|
13165
13146
|
listbox,
|