@sytechui/theme 2.6.1 → 2.6.2
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-LYTXO6TG.mjs → chunk-22RNS2JQ.mjs} +4 -336
- package/dist/{chunk-JV5J6JHS.mjs → chunk-27EH4573.mjs} +1 -1
- package/dist/{chunk-4CEUCYJO.mjs → chunk-3PBT3W4C.mjs} +1 -1
- package/dist/{chunk-EOYBTX52.mjs → chunk-4XFAHRMJ.mjs} +1 -1
- package/dist/chunk-63TVI5PY.mjs +29 -0
- package/dist/{chunk-FNHXMO5W.mjs → chunk-6Q4A5IGD.mjs} +1 -1
- package/dist/{chunk-QP5CGENQ.mjs → chunk-7CAOOET2.mjs} +1 -1
- package/dist/{chunk-2BUT7L7P.mjs → chunk-7MY46DKJ.mjs} +1 -1
- package/dist/{chunk-K3TTKHSU.mjs → chunk-CR7SUL27.mjs} +1 -1
- package/dist/{chunk-GQMW4NEU.mjs → chunk-GXDNTAQH.mjs} +1 -1
- package/dist/{chunk-BHGZZQCH.mjs → chunk-GYRKKQKN.mjs} +1 -1
- package/dist/{chunk-FZM5ZZP2.mjs → chunk-HRULT2QB.mjs} +1 -1
- package/dist/{chunk-KCPJHUUJ.mjs → chunk-K6X3VPO4.mjs} +1 -1
- package/dist/{chunk-DBDK3IF7.mjs → chunk-LD2JADOO.mjs} +1 -1
- package/dist/{chunk-FLCPUBBE.mjs → chunk-M5F7VFZT.mjs} +1 -1
- package/dist/{chunk-SRSOCM2C.mjs → chunk-OBSH26UE.mjs} +1 -1
- package/dist/{chunk-ZLTZIM6X.mjs → chunk-P2SWF4YK.mjs} +1 -1
- package/dist/{chunk-7QDYFNL6.mjs → chunk-QU72GCNK.mjs} +1 -1
- package/dist/{chunk-FBI452W6.mjs → chunk-RAC3PSZO.mjs} +1 -1
- package/dist/chunk-T754O54S.mjs +96 -0
- package/dist/{chunk-VK7USAMR.mjs → chunk-TYJNRAT2.mjs} +1 -1
- package/dist/{chunk-TOGBVQYA.mjs → chunk-YISEC5JS.mjs} +3 -3
- package/dist/components/accordion.mjs +26 -25
- package/dist/components/alert.d.mts +215 -110
- package/dist/components/alert.d.ts +215 -110
- package/dist/components/alert.js +65 -380
- package/dist/components/alert.mjs +10 -46
- package/dist/components/autocomplete.mjs +6 -6
- package/dist/components/avatar.mjs +26 -25
- package/dist/components/badge.mjs +26 -25
- package/dist/components/bottom-bar.mjs +26 -25
- package/dist/components/breadcrumbs.mjs +26 -25
- package/dist/components/button.mjs +26 -25
- package/dist/components/calendar.mjs +26 -25
- package/dist/components/card.mjs +26 -25
- package/dist/components/checkbox.mjs +26 -25
- package/dist/components/chip.mjs +26 -25
- package/dist/components/code.mjs +26 -25
- package/dist/components/date-input.mjs +6 -6
- package/dist/components/date-picker.mjs +6 -6
- package/dist/components/divider.d.mts +40 -1
- package/dist/components/divider.d.ts +40 -1
- package/dist/components/divider.js +12 -3
- package/dist/components/divider.mjs +10 -8
- package/dist/components/drawer.mjs +6 -6
- package/dist/components/drip.mjs +6 -6
- package/dist/components/drop-zone.mjs +26 -25
- package/dist/components/dropdown.mjs +26 -25
- package/dist/components/form.mjs +6 -6
- package/dist/components/image.mjs +6 -6
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +73 -305
- package/dist/components/index.mjs +34 -28
- package/dist/components/input-otp.mjs +26 -25
- package/dist/components/input.mjs +26 -25
- package/dist/components/kbd.mjs +6 -6
- package/dist/components/link.mjs +26 -25
- package/dist/components/listbox.mjs +26 -25
- package/dist/components/menu.mjs +26 -25
- package/dist/components/modal.mjs +26 -25
- package/dist/components/navbar.mjs +26 -25
- package/dist/components/number-input.mjs +26 -25
- package/dist/components/pagination.mjs +26 -25
- package/dist/components/popover.mjs +26 -25
- package/dist/components/progress.mjs +6 -6
- package/dist/components/radio.mjs +26 -25
- package/dist/components/scroll-area.mjs +6 -6
- package/dist/components/scroll-shadow.mjs +6 -6
- package/dist/components/select.mjs +26 -25
- package/dist/components/shimmer-text.mjs +6 -6
- package/dist/components/skeleton.mjs +6 -6
- package/dist/components/slider.mjs +26 -25
- package/dist/components/snippet.mjs +26 -25
- package/dist/components/spacer.mjs +6 -6
- package/dist/components/spinner.mjs +6 -6
- package/dist/components/stepper.mjs +26 -25
- package/dist/components/table.mjs +26 -25
- package/dist/components/tabs.mjs +26 -25
- package/dist/components/toast.mjs +26 -25
- package/dist/components/toggle.mjs +26 -25
- package/dist/components/user.mjs +26 -25
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +73 -305
- package/dist/index.mjs +37 -31
- package/dist/plugin.mjs +5 -5
- package/dist/utilities/index.mjs +3 -3
- package/dist/utils/cn.mjs +5 -5
- package/dist/utils/index.mjs +26 -25
- package/dist/utils/merge-classes.mjs +26 -25
- package/dist/utils/tv.mjs +5 -5
- package/dist/utils/tw-merge-config.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-7ZVSC6V6.mjs +0 -21
- package/dist/{chunk-2WQ76NXU.mjs → chunk-UJC5GXOO.mjs} +6 -6
package/dist/components/user.mjs
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
user
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-22RNS2JQ.mjs";
|
|
4
|
+
import "../chunk-CR7SUL27.mjs";
|
|
5
|
+
import "../chunk-LD2JADOO.mjs";
|
|
6
|
+
import "../chunk-27EH4573.mjs";
|
|
7
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
8
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
9
|
+
import "../chunk-7CAOOET2.mjs";
|
|
10
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
11
|
+
import "../chunk-HRULT2QB.mjs";
|
|
12
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
13
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
14
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
15
|
+
import "../chunk-63TVI5PY.mjs";
|
|
16
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
17
|
+
import "../chunk-OBSH26UE.mjs";
|
|
18
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
19
|
+
import "../chunk-T754O54S.mjs";
|
|
20
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
21
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
19
22
|
import "../chunk-GQT3YUX3.mjs";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-7QDYFNL6.mjs";
|
|
24
|
-
import "../chunk-TOGBVQYA.mjs";
|
|
23
|
+
import "../chunk-P2SWF4YK.mjs";
|
|
24
|
+
import "../chunk-QU72GCNK.mjs";
|
|
25
|
+
import "../chunk-YISEC5JS.mjs";
|
|
25
26
|
import "../chunk-JGY6VQQQ.mjs";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
28
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
29
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
28
30
|
import "../chunk-GSRZWDGA.mjs";
|
|
29
31
|
import "../chunk-AWXUGVFR.mjs";
|
|
30
32
|
import "../chunk-MPVWW3DX.mjs";
|
|
31
33
|
import "../chunk-WH6SPIFG.mjs";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
34
|
+
import "../chunk-D2XMP2NC.mjs";
|
|
34
35
|
import "../chunk-WQEDQHKX.mjs";
|
|
35
36
|
import "../chunk-CPSLANMP.mjs";
|
|
36
37
|
import "../chunk-FFKHVGFX.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -27,7 +27,7 @@ export { ModalSlots, ModalVariantProps, modal } from './components/modal.mjs';
|
|
|
27
27
|
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.mjs';
|
|
28
28
|
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
29
29
|
export { SpacerVariantProps, spacer } from './components/spacer.mjs';
|
|
30
|
-
export { DividerVariantProps, divider } from './components/divider.mjs';
|
|
30
|
+
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.mjs';
|
|
31
31
|
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.mjs';
|
|
32
32
|
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.mjs';
|
|
33
33
|
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.mjs';
|
|
@@ -42,7 +42,7 @@ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './com
|
|
|
42
42
|
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.mjs';
|
|
43
43
|
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.mjs';
|
|
44
44
|
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.mjs';
|
|
45
|
-
export { AlertSlots, AlertVariantProps, alert } from './components/alert.mjs';
|
|
45
|
+
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.mjs';
|
|
46
46
|
export { DrawerVariants, drawer } from './components/drawer.mjs';
|
|
47
47
|
export { FormVariantProps, form } from './components/form.mjs';
|
|
48
48
|
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export { ModalSlots, ModalVariantProps, modal } from './components/modal.js';
|
|
|
27
27
|
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.js';
|
|
28
28
|
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.js';
|
|
29
29
|
export { SpacerVariantProps, spacer } from './components/spacer.js';
|
|
30
|
-
export { DividerVariantProps, divider } from './components/divider.js';
|
|
30
|
+
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.js';
|
|
31
31
|
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.js';
|
|
32
32
|
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js';
|
|
33
33
|
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js';
|
|
@@ -42,7 +42,7 @@ export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './com
|
|
|
42
42
|
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.js';
|
|
43
43
|
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.js';
|
|
44
44
|
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.js';
|
|
45
|
-
export { AlertSlots, AlertVariantProps, alert } from './components/alert.js';
|
|
45
|
+
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.js';
|
|
46
46
|
export { DrawerVariants, drawer } from './components/drawer.js';
|
|
47
47
|
export { FormVariantProps, form } from './components/form.js';
|
|
48
48
|
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.js';
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
accordion: () => accordion,
|
|
36
36
|
accordionItem: () => accordionItem,
|
|
37
37
|
alert: () => alert,
|
|
38
|
+
alertVariants: () => alertVariants,
|
|
38
39
|
autocomplete: () => autocomplete,
|
|
39
40
|
avatar: () => avatar,
|
|
40
41
|
avatarGroup: () => avatarGroup,
|
|
@@ -80,6 +81,7 @@ __export(index_exports, {
|
|
|
80
81
|
input: () => input,
|
|
81
82
|
inputOtp: () => inputOtp,
|
|
82
83
|
kbd: () => kbd,
|
|
84
|
+
labeledDivider: () => labeledDivider,
|
|
83
85
|
lightLayout: () => lightLayout,
|
|
84
86
|
link: () => link,
|
|
85
87
|
linkAnchorClasses: () => linkAnchorClasses,
|
|
@@ -7902,13 +7904,20 @@ var divider = tv({
|
|
|
7902
7904
|
variants: {
|
|
7903
7905
|
orientation: {
|
|
7904
7906
|
horizontal: "w-full h-divider",
|
|
7905
|
-
vertical: "h-
|
|
7907
|
+
vertical: "h-auto min-h-2 self-stretch w-divider"
|
|
7906
7908
|
}
|
|
7907
7909
|
},
|
|
7908
7910
|
defaultVariants: {
|
|
7909
7911
|
orientation: "horizontal"
|
|
7910
7912
|
}
|
|
7911
7913
|
});
|
|
7914
|
+
var labeledDivider = tv({
|
|
7915
|
+
slots: {
|
|
7916
|
+
base: "flex w-full items-center gap-3",
|
|
7917
|
+
line: "h-divider flex-1 bg-divider",
|
|
7918
|
+
label: "shrink-0 text-small text-default-500"
|
|
7919
|
+
}
|
|
7920
|
+
});
|
|
7912
7921
|
|
|
7913
7922
|
// src/components/kbd.ts
|
|
7914
7923
|
var kbd = tv({
|
|
@@ -11455,33 +11464,66 @@ var dateRangePicker = tv({
|
|
|
11455
11464
|
});
|
|
11456
11465
|
|
|
11457
11466
|
// src/components/alert.ts
|
|
11458
|
-
var
|
|
11467
|
+
var accentColor = [
|
|
11468
|
+
"text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_70%,oklch(0.2103_0.0059_285.89)_30%)]",
|
|
11469
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11470
|
+
];
|
|
11471
|
+
var successColor = [
|
|
11472
|
+
"text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.2103_0.0059_285.89)_60%)]",
|
|
11473
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11474
|
+
];
|
|
11475
|
+
var warningColor = [
|
|
11476
|
+
"text-[color:color-mix(in_oklab,oklch(0.7819_0.1585_72.33)_80%,oklch(0.2103_0.0059_285.89)_70%)]",
|
|
11477
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.8203_0.1388_76.34)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11478
|
+
];
|
|
11479
|
+
var dangerColor = [
|
|
11480
|
+
"text-[color:color-mix(in_oklab,oklch(0.6532_0.2328_25.74)_70%,oklch(0.2103_0.0059_285.89)_40%)]",
|
|
11481
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.594_0.1967_24.63)_80%,oklch(0.9911_0_0)_30%)]"
|
|
11482
|
+
];
|
|
11483
|
+
var alertVariants = tv({
|
|
11459
11484
|
slots: {
|
|
11460
|
-
base:
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11485
|
+
base: [
|
|
11486
|
+
"flex w-full flex-row items-start justify-start gap-1 px-4 py-3",
|
|
11487
|
+
"rounded-[24px] bg-[oklch(100%_0_0)] text-[oklch(0.2103_0.0059_285.89)]",
|
|
11488
|
+
"dark:bg-[oklch(0.2103_0.0059_285.89)] dark:text-[oklch(0.9911_0_0)]",
|
|
11489
|
+
"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)]",
|
|
11490
|
+
"dark:shadow-none"
|
|
11491
|
+
],
|
|
11492
|
+
content: "flex h-full grow flex-col items-start",
|
|
11493
|
+
indicator: [
|
|
11494
|
+
"flex size-6 shrink-0 items-center justify-center p-1 select-none",
|
|
11495
|
+
"[&_[data-slot=alert-default-icon]]:box-content",
|
|
11496
|
+
"[&_[data-slot=alert-default-icon]]:size-4"
|
|
11497
|
+
],
|
|
11498
|
+
title: "text-small leading-6 font-medium",
|
|
11499
|
+
description: "text-small text-[oklch(0.5517_0.0138_285.94)] dark:text-[oklch(70.5%_0.015_286.067)]"
|
|
11467
11500
|
},
|
|
11468
11501
|
variants: {
|
|
11469
|
-
|
|
11470
|
-
default: {
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
warning: {},
|
|
11475
|
-
danger: {}
|
|
11476
|
-
},
|
|
11477
|
-
variant: {
|
|
11478
|
-
solid: {},
|
|
11479
|
-
flat: {},
|
|
11480
|
-
faded: {
|
|
11481
|
-
base: "border-small"
|
|
11502
|
+
status: {
|
|
11503
|
+
default: {
|
|
11504
|
+
base: "border-default-300",
|
|
11505
|
+
indicator: "text-inherit",
|
|
11506
|
+
title: "text-inherit"
|
|
11482
11507
|
},
|
|
11483
|
-
|
|
11484
|
-
base: "border-
|
|
11508
|
+
accent: {
|
|
11509
|
+
base: "border-primary-300",
|
|
11510
|
+
indicator: accentColor,
|
|
11511
|
+
title: accentColor
|
|
11512
|
+
},
|
|
11513
|
+
success: {
|
|
11514
|
+
base: "border-success-300",
|
|
11515
|
+
indicator: successColor,
|
|
11516
|
+
title: successColor
|
|
11517
|
+
},
|
|
11518
|
+
warning: {
|
|
11519
|
+
base: "border-warning-300",
|
|
11520
|
+
indicator: warningColor,
|
|
11521
|
+
title: warningColor
|
|
11522
|
+
},
|
|
11523
|
+
danger: {
|
|
11524
|
+
base: "border-danger-300",
|
|
11525
|
+
indicator: dangerColor,
|
|
11526
|
+
title: dangerColor
|
|
11485
11527
|
}
|
|
11486
11528
|
},
|
|
11487
11529
|
radius: {
|
|
@@ -11495,295 +11537,19 @@ var alert = tv({
|
|
|
11495
11537
|
base: "rounded-medium"
|
|
11496
11538
|
},
|
|
11497
11539
|
lg: {
|
|
11498
|
-
base: "rounded-
|
|
11540
|
+
base: "rounded-[24px]"
|
|
11499
11541
|
},
|
|
11500
11542
|
full: {
|
|
11501
11543
|
base: "rounded-full"
|
|
11502
11544
|
}
|
|
11503
|
-
},
|
|
11504
|
-
hideIcon: {
|
|
11505
|
-
true: {
|
|
11506
|
-
iconWrapper: "hidden"
|
|
11507
|
-
}
|
|
11508
|
-
},
|
|
11509
|
-
hideIconWrapper: {
|
|
11510
|
-
true: {
|
|
11511
|
-
base: "gap-x-0",
|
|
11512
|
-
iconWrapper: "!bg-transparent !shadow-none !border-none"
|
|
11513
|
-
}
|
|
11514
|
-
},
|
|
11515
|
-
hasContent: {
|
|
11516
|
-
false: {
|
|
11517
|
-
base: "items-center",
|
|
11518
|
-
mainWrapper: "justify-center items-center"
|
|
11519
|
-
}
|
|
11520
11545
|
}
|
|
11521
11546
|
},
|
|
11522
11547
|
defaultVariants: {
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
hideIcon: false,
|
|
11527
|
-
hideIconWrapper: false
|
|
11528
|
-
},
|
|
11529
|
-
compoundVariants: [
|
|
11530
|
-
// solid / color
|
|
11531
|
-
{
|
|
11532
|
-
variant: "solid",
|
|
11533
|
-
color: "default",
|
|
11534
|
-
class: {
|
|
11535
|
-
base: colorVariants.solid.default,
|
|
11536
|
-
closeButton: "data-[hover]:bg-default-100",
|
|
11537
|
-
alertIcon: "text-default-foreground"
|
|
11538
|
-
}
|
|
11539
|
-
},
|
|
11540
|
-
{
|
|
11541
|
-
variant: "solid",
|
|
11542
|
-
color: "primary",
|
|
11543
|
-
class: {
|
|
11544
|
-
base: colorVariants.solid.primary
|
|
11545
|
-
}
|
|
11546
|
-
},
|
|
11547
|
-
{
|
|
11548
|
-
variant: "solid",
|
|
11549
|
-
color: "secondary",
|
|
11550
|
-
class: {
|
|
11551
|
-
base: colorVariants.solid.secondary
|
|
11552
|
-
}
|
|
11553
|
-
},
|
|
11554
|
-
{
|
|
11555
|
-
variant: "solid",
|
|
11556
|
-
color: "success",
|
|
11557
|
-
class: {
|
|
11558
|
-
base: colorVariants.solid.success
|
|
11559
|
-
}
|
|
11560
|
-
},
|
|
11561
|
-
{
|
|
11562
|
-
variant: "solid",
|
|
11563
|
-
color: "warning",
|
|
11564
|
-
class: {
|
|
11565
|
-
base: colorVariants.solid.warning
|
|
11566
|
-
}
|
|
11567
|
-
},
|
|
11568
|
-
{
|
|
11569
|
-
variant: "solid",
|
|
11570
|
-
color: "danger",
|
|
11571
|
-
class: {
|
|
11572
|
-
base: colorVariants.solid.danger
|
|
11573
|
-
}
|
|
11574
|
-
},
|
|
11575
|
-
// flat & faded / color
|
|
11576
|
-
{
|
|
11577
|
-
variant: ["flat", "faded"],
|
|
11578
|
-
color: "default",
|
|
11579
|
-
class: {
|
|
11580
|
-
base: [
|
|
11581
|
-
colorVariants.flat.default,
|
|
11582
|
-
"bg-default-100 dark:bg-default-50/50",
|
|
11583
|
-
"text-default-foreground"
|
|
11584
|
-
],
|
|
11585
|
-
description: "text-default-600",
|
|
11586
|
-
closeButton: "text-default-400",
|
|
11587
|
-
iconWrapper: "bg-default-50 dark:bg-default-100 border-default-200"
|
|
11588
|
-
}
|
|
11589
|
-
},
|
|
11590
|
-
{
|
|
11591
|
-
variant: ["flat", "faded"],
|
|
11592
|
-
color: "primary",
|
|
11593
|
-
class: {
|
|
11594
|
-
base: [colorVariants.flat.primary, "bg-primary-50 dark:bg-primary-50/50"],
|
|
11595
|
-
closeButton: "text-primary-500 data-[hover]:bg-primary-200",
|
|
11596
|
-
iconWrapper: "bg-primary-50 dark:bg-primary-100 border-primary-100"
|
|
11597
|
-
}
|
|
11598
|
-
},
|
|
11599
|
-
{
|
|
11600
|
-
variant: ["flat", "faded"],
|
|
11601
|
-
color: "secondary",
|
|
11602
|
-
class: {
|
|
11603
|
-
base: [colorVariants.flat.secondary, "bg-secondary-50 dark:bg-secondary-50/50"],
|
|
11604
|
-
closeButton: "text-secondary-500 data-[hover]:bg-secondary-200",
|
|
11605
|
-
iconWrapper: "bg-secondary-50 dark:bg-secondary-100 border-secondary-100"
|
|
11606
|
-
}
|
|
11607
|
-
},
|
|
11608
|
-
{
|
|
11609
|
-
variant: ["flat", "faded"],
|
|
11610
|
-
color: "success",
|
|
11611
|
-
class: {
|
|
11612
|
-
base: [colorVariants.flat.success, "bg-success-50 dark:bg-success-50/50"],
|
|
11613
|
-
closeButton: "text-success-500 data-[hover]:bg-success-200",
|
|
11614
|
-
iconWrapper: "bg-success-50 dark:bg-success-100 border-success-100"
|
|
11615
|
-
}
|
|
11616
|
-
},
|
|
11617
|
-
{
|
|
11618
|
-
variant: ["flat", "faded"],
|
|
11619
|
-
color: "warning",
|
|
11620
|
-
class: {
|
|
11621
|
-
base: [colorVariants.flat.warning, "bg-warning-50 dark:bg-warning-50/50"],
|
|
11622
|
-
closeButton: "text-warning-500 data-[hover]:bg-warning-200",
|
|
11623
|
-
iconWrapper: "bg-warning-50 dark:bg-warning-100 border-warning-100"
|
|
11624
|
-
}
|
|
11625
|
-
},
|
|
11626
|
-
{
|
|
11627
|
-
variant: ["flat", "faded"],
|
|
11628
|
-
color: "danger",
|
|
11629
|
-
class: {
|
|
11630
|
-
base: [colorVariants.flat.danger, "bg-danger-50 dark:bg-danger-50/50"],
|
|
11631
|
-
closeButton: "text-danger-500 data-[hover]:bg-danger-200",
|
|
11632
|
-
iconWrapper: "bg-danger-50 dark:bg-danger-100 border-danger-100"
|
|
11633
|
-
}
|
|
11634
|
-
},
|
|
11635
|
-
// faded / color
|
|
11636
|
-
{
|
|
11637
|
-
variant: "faded",
|
|
11638
|
-
color: "default",
|
|
11639
|
-
class: {
|
|
11640
|
-
base: "border-default-300 dark:border-default-200"
|
|
11641
|
-
}
|
|
11642
|
-
},
|
|
11643
|
-
{
|
|
11644
|
-
variant: "faded",
|
|
11645
|
-
color: "primary",
|
|
11646
|
-
class: {
|
|
11647
|
-
base: "border-primary-200 dark:border-primary-100"
|
|
11648
|
-
}
|
|
11649
|
-
},
|
|
11650
|
-
{
|
|
11651
|
-
variant: "faded",
|
|
11652
|
-
color: "secondary",
|
|
11653
|
-
class: {
|
|
11654
|
-
base: "border-secondary-200"
|
|
11655
|
-
}
|
|
11656
|
-
},
|
|
11657
|
-
{
|
|
11658
|
-
variant: "faded",
|
|
11659
|
-
color: "success",
|
|
11660
|
-
class: {
|
|
11661
|
-
base: "border-success-300 dark:border-success-100"
|
|
11662
|
-
}
|
|
11663
|
-
},
|
|
11664
|
-
{
|
|
11665
|
-
variant: "faded",
|
|
11666
|
-
color: "warning",
|
|
11667
|
-
class: {
|
|
11668
|
-
base: "border-warning-300 dark:border-warning-100"
|
|
11669
|
-
}
|
|
11670
|
-
},
|
|
11671
|
-
{
|
|
11672
|
-
variant: "faded",
|
|
11673
|
-
color: "danger",
|
|
11674
|
-
class: {
|
|
11675
|
-
base: "border-danger-200 dark:border-danger-100"
|
|
11676
|
-
}
|
|
11677
|
-
},
|
|
11678
|
-
// bordered / color
|
|
11679
|
-
{
|
|
11680
|
-
variant: "bordered",
|
|
11681
|
-
color: "default",
|
|
11682
|
-
class: {
|
|
11683
|
-
base: [colorVariants.bordered.default],
|
|
11684
|
-
description: "text-default-600",
|
|
11685
|
-
closeButton: "text-default-400"
|
|
11686
|
-
}
|
|
11687
|
-
},
|
|
11688
|
-
{
|
|
11689
|
-
variant: "bordered",
|
|
11690
|
-
color: "primary",
|
|
11691
|
-
class: {
|
|
11692
|
-
base: [colorVariants.bordered.primary],
|
|
11693
|
-
closeButton: "data-[hover]:bg-primary-50"
|
|
11694
|
-
}
|
|
11695
|
-
},
|
|
11696
|
-
{
|
|
11697
|
-
variant: "bordered",
|
|
11698
|
-
color: "secondary",
|
|
11699
|
-
class: {
|
|
11700
|
-
base: [colorVariants.bordered.secondary],
|
|
11701
|
-
closeButton: "data-[hover]:bg-secondary-50"
|
|
11702
|
-
}
|
|
11703
|
-
},
|
|
11704
|
-
{
|
|
11705
|
-
variant: "bordered",
|
|
11706
|
-
color: "success",
|
|
11707
|
-
class: {
|
|
11708
|
-
base: [colorVariants.bordered.success],
|
|
11709
|
-
closeButton: "data-[hover]:bg-success-50"
|
|
11710
|
-
}
|
|
11711
|
-
},
|
|
11712
|
-
{
|
|
11713
|
-
variant: "bordered",
|
|
11714
|
-
color: "warning",
|
|
11715
|
-
class: {
|
|
11716
|
-
base: [colorVariants.bordered.warning],
|
|
11717
|
-
closeButton: "data-[hover]:bg-warning-100"
|
|
11718
|
-
}
|
|
11719
|
-
},
|
|
11720
|
-
{
|
|
11721
|
-
variant: "bordered",
|
|
11722
|
-
color: "danger",
|
|
11723
|
-
class: {
|
|
11724
|
-
base: [colorVariants.bordered.danger],
|
|
11725
|
-
closeButton: "data-[hover]:bg-danger-50"
|
|
11726
|
-
}
|
|
11727
|
-
},
|
|
11728
|
-
// flat & bordered & faded
|
|
11729
|
-
{
|
|
11730
|
-
variant: ["flat", "bordered", "faded"],
|
|
11731
|
-
class: {
|
|
11732
|
-
iconWrapper: "shadow-small"
|
|
11733
|
-
}
|
|
11734
|
-
},
|
|
11735
|
-
// flat & faded
|
|
11736
|
-
{
|
|
11737
|
-
variant: ["flat", "faded"],
|
|
11738
|
-
class: {
|
|
11739
|
-
iconWrapper: "shadow-small border-1"
|
|
11740
|
-
}
|
|
11741
|
-
},
|
|
11742
|
-
// bordered & color
|
|
11743
|
-
{
|
|
11744
|
-
variant: "bordered",
|
|
11745
|
-
color: "default",
|
|
11746
|
-
class: {
|
|
11747
|
-
iconWrapper: "bg-default-200 dark:bg-default-100"
|
|
11748
|
-
}
|
|
11749
|
-
},
|
|
11750
|
-
{
|
|
11751
|
-
variant: "bordered",
|
|
11752
|
-
color: "primary",
|
|
11753
|
-
class: {
|
|
11754
|
-
iconWrapper: "bg-primary-100 dark:bg-primary-50"
|
|
11755
|
-
}
|
|
11756
|
-
},
|
|
11757
|
-
{
|
|
11758
|
-
variant: "bordered",
|
|
11759
|
-
color: "secondary",
|
|
11760
|
-
class: {
|
|
11761
|
-
iconWrapper: "bg-secondary-100 dark:bg-secondary-50"
|
|
11762
|
-
}
|
|
11763
|
-
},
|
|
11764
|
-
{
|
|
11765
|
-
variant: "bordered",
|
|
11766
|
-
color: "success",
|
|
11767
|
-
class: {
|
|
11768
|
-
iconWrapper: "bg-success-100 dark:bg-success-50"
|
|
11769
|
-
}
|
|
11770
|
-
},
|
|
11771
|
-
{
|
|
11772
|
-
variant: "bordered",
|
|
11773
|
-
color: "warning",
|
|
11774
|
-
class: {
|
|
11775
|
-
iconWrapper: "bg-warning-100 dark:bg-warning-50"
|
|
11776
|
-
}
|
|
11777
|
-
},
|
|
11778
|
-
{
|
|
11779
|
-
variant: "bordered",
|
|
11780
|
-
color: "danger",
|
|
11781
|
-
class: {
|
|
11782
|
-
iconWrapper: "bg-danger-100 dark:bg-danger-50"
|
|
11783
|
-
}
|
|
11784
|
-
}
|
|
11785
|
-
]
|
|
11548
|
+
radius: "lg",
|
|
11549
|
+
status: "default"
|
|
11550
|
+
}
|
|
11786
11551
|
});
|
|
11552
|
+
var alert = alertVariants;
|
|
11787
11553
|
|
|
11788
11554
|
// src/components/drawer.ts
|
|
11789
11555
|
var drawer = tv({
|
|
@@ -13905,6 +13671,7 @@ var heroui = (config = {}) => {
|
|
|
13905
13671
|
accordion,
|
|
13906
13672
|
accordionItem,
|
|
13907
13673
|
alert,
|
|
13674
|
+
alertVariants,
|
|
13908
13675
|
autocomplete,
|
|
13909
13676
|
avatar,
|
|
13910
13677
|
avatarGroup,
|
|
@@ -13950,6 +13717,7 @@ var heroui = (config = {}) => {
|
|
|
13950
13717
|
input,
|
|
13951
13718
|
inputOtp,
|
|
13952
13719
|
kbd,
|
|
13720
|
+
labeledDivider,
|
|
13953
13721
|
lightLayout,
|
|
13954
13722
|
link,
|
|
13955
13723
|
linkAnchorClasses,
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
accordion,
|
|
3
3
|
accordionItem,
|
|
4
|
-
alert,
|
|
5
4
|
avatar,
|
|
6
5
|
avatarGroup,
|
|
7
6
|
badge,
|
|
@@ -46,73 +45,78 @@ import {
|
|
|
46
45
|
toastRegion,
|
|
47
46
|
toggle,
|
|
48
47
|
user
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-22RNS2JQ.mjs";
|
|
50
49
|
import {
|
|
51
50
|
scrollShadow
|
|
52
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CR7SUL27.mjs";
|
|
53
52
|
import {
|
|
54
53
|
shimmerText
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LD2JADOO.mjs";
|
|
56
55
|
import {
|
|
57
56
|
skeleton
|
|
58
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-27EH4573.mjs";
|
|
59
58
|
import {
|
|
60
59
|
spacer
|
|
61
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6Q4A5IGD.mjs";
|
|
62
61
|
import {
|
|
63
62
|
spinner
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7MY46DKJ.mjs";
|
|
65
64
|
import {
|
|
66
65
|
circularProgress,
|
|
67
66
|
progress
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7CAOOET2.mjs";
|
|
69
68
|
import {
|
|
70
69
|
scrollArea
|
|
71
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-GYRKKQKN.mjs";
|
|
72
71
|
import {
|
|
73
72
|
image
|
|
74
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HRULT2QB.mjs";
|
|
75
74
|
import {
|
|
76
75
|
kbd
|
|
77
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-3PBT3W4C.mjs";
|
|
78
77
|
import {
|
|
79
78
|
dateInput
|
|
80
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-TYJNRAT2.mjs";
|
|
81
80
|
import {
|
|
82
81
|
datePicker,
|
|
83
82
|
dateRangePicker
|
|
84
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-M5F7VFZT.mjs";
|
|
85
84
|
import {
|
|
86
|
-
divider
|
|
87
|
-
|
|
85
|
+
divider,
|
|
86
|
+
labeledDivider
|
|
87
|
+
} from "./chunk-63TVI5PY.mjs";
|
|
88
88
|
import {
|
|
89
89
|
drawer
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4XFAHRMJ.mjs";
|
|
91
91
|
import {
|
|
92
92
|
drip
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-OBSH26UE.mjs";
|
|
94
94
|
import {
|
|
95
95
|
form
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-K6X3VPO4.mjs";
|
|
97
97
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
alert,
|
|
99
|
+
alertVariants
|
|
100
|
+
} from "./chunk-T754O54S.mjs";
|
|
100
101
|
import {
|
|
101
102
|
autocomplete
|
|
102
|
-
} from "./chunk-
|
|
103
|
-
import {
|
|
104
|
-
cn
|
|
105
|
-
} from "./chunk-ZLTZIM6X.mjs";
|
|
103
|
+
} from "./chunk-GXDNTAQH.mjs";
|
|
106
104
|
import {
|
|
107
105
|
tv
|
|
108
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-RAC3PSZO.mjs";
|
|
107
|
+
import {
|
|
108
|
+
colorVariants
|
|
109
|
+
} from "./chunk-GQT3YUX3.mjs";
|
|
110
|
+
import {
|
|
111
|
+
cn
|
|
112
|
+
} from "./chunk-P2SWF4YK.mjs";
|
|
109
113
|
import {
|
|
110
114
|
COMMON_UNITS,
|
|
111
115
|
twMergeConfig
|
|
112
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-QU72GCNK.mjs";
|
|
113
117
|
import {
|
|
114
118
|
heroui
|
|
115
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-YISEC5JS.mjs";
|
|
116
120
|
import {
|
|
117
121
|
absoluteFullClasses,
|
|
118
122
|
baseStyles,
|
|
@@ -124,14 +128,14 @@ import {
|
|
|
124
128
|
ringClasses,
|
|
125
129
|
translateCenterClasses
|
|
126
130
|
} from "./chunk-JGY6VQQQ.mjs";
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-UJC5GXOO.mjs";
|
|
132
|
+
import "./chunk-FJOYYPB2.mjs";
|
|
133
|
+
import "./chunk-RUIUXVZ4.mjs";
|
|
129
134
|
import "./chunk-GSRZWDGA.mjs";
|
|
130
135
|
import "./chunk-AWXUGVFR.mjs";
|
|
131
136
|
import "./chunk-MPVWW3DX.mjs";
|
|
132
137
|
import "./chunk-WH6SPIFG.mjs";
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-RUIUXVZ4.mjs";
|
|
138
|
+
import "./chunk-D2XMP2NC.mjs";
|
|
135
139
|
import "./chunk-WQEDQHKX.mjs";
|
|
136
140
|
import {
|
|
137
141
|
colors
|
|
@@ -165,6 +169,7 @@ export {
|
|
|
165
169
|
accordion,
|
|
166
170
|
accordionItem,
|
|
167
171
|
alert,
|
|
172
|
+
alertVariants,
|
|
168
173
|
autocomplete,
|
|
169
174
|
avatar,
|
|
170
175
|
avatarGroup,
|
|
@@ -210,6 +215,7 @@ export {
|
|
|
210
215
|
input,
|
|
211
216
|
inputOtp,
|
|
212
217
|
kbd,
|
|
218
|
+
labeledDivider,
|
|
213
219
|
lightLayout,
|
|
214
220
|
link,
|
|
215
221
|
linkAnchorClasses,
|