@deepnoid/ui 0.1.223 → 1.0.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/.turbo/turbo-build.log +266 -251
- package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
- package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
- package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
- package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
- package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
- package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
- package/dist/chunk-63JRWMWN.mjs +215 -0
- package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
- package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
- package/dist/chunk-A6UUVHC6.mjs +38 -0
- package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
- package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
- package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
- package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
- package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
- package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
- package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
- package/dist/chunk-E4VJDQD5.mjs +142 -0
- package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
- package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
- package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
- package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
- package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
- package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
- package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
- package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
- package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
- package/dist/chunk-MV2WCFK7.mjs +1 -0
- package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
- package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
- package/dist/chunk-OK34FKBQ.mjs +224 -0
- package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
- package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
- package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
- package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
- package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
- package/dist/chunk-RFHWRBAB.mjs +105 -0
- package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
- package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
- package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
- package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
- package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
- package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
- package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
- package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
- package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
- package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
- package/dist/chunk-Z4NO7SMY.mjs +460 -0
- package/dist/components/accordion/accordion.js +366 -4
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +366 -4
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +366 -4
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +472 -44
- package/dist/components/avatar/avatar.mjs +3 -3
- package/dist/components/avatar/index.js +472 -44
- package/dist/components/avatar/index.mjs +3 -3
- package/dist/components/backdrop/backdrop.js +366 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +366 -4
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +951 -74
- package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
- package/dist/components/breadcrumb/index.js +951 -74
- package/dist/components/breadcrumb/index.mjs +10 -9
- package/dist/components/button/button-group.js +366 -4
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.d.mts +82 -119
- package/dist/components/button/button.d.ts +82 -119
- package/dist/components/button/button.js +966 -355
- package/dist/components/button/button.mjs +6 -5
- package/dist/components/button/button.style.d.mts +89 -0
- package/dist/components/button/button.style.d.ts +89 -0
- package/dist/components/button/button.style.js +1172 -0
- package/dist/components/button/button.style.mjs +9 -0
- package/dist/components/button/icon-button.d.mts +45 -46
- package/dist/components/button/icon-button.d.ts +45 -46
- package/dist/components/button/icon-button.js +1125 -527
- package/dist/components/button/icon-button.mjs +6 -5
- package/dist/components/button/index.js +1154 -830
- package/dist/components/button/index.mjs +9 -8
- package/dist/components/button/text-button.d.mts +59 -39
- package/dist/components/button/text-button.d.ts +59 -39
- package/dist/components/button/text-button.js +831 -21
- package/dist/components/button/text-button.mjs +3 -2
- package/dist/components/charts/areaChart.js +366 -4
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +366 -4
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +366 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +366 -4
- package/dist/components/charts/index.mjs +6 -6
- package/dist/components/charts/radarChart.js +366 -4
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/charts/simpleBarChart.js +366 -4
- package/dist/components/charts/simpleBarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +376 -42
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +376 -42
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.d.mts +32 -0
- package/dist/components/chip/chip.d.ts +32 -0
- package/dist/components/chip/chip.js +496 -57
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +496 -57
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/drawer/drawer.js +366 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +366 -4
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +1014 -402
- package/dist/components/fileUpload/fileUpload.mjs +12 -11
- package/dist/components/fileUpload/index.js +1014 -402
- package/dist/components/fileUpload/index.mjs +12 -11
- package/dist/components/icon/Icon.d.mts +23 -10
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.js +120 -53
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +120 -53
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +5 -2
- package/dist/components/icon/template.d.ts +5 -2
- package/dist/components/icon/template.js +106 -40
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +511 -82
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +511 -82
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +486 -57
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/list.js +366 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +486 -57
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
- package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
- package/dist/components/modal/GlobalModalProvider.js +1028 -416
- package/dist/components/modal/GlobalModalProvider.mjs +12 -11
- package/dist/components/modal/index.d.mts +2 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +1028 -416
- package/dist/components/modal/index.mjs +13 -12
- package/dist/components/modal/modal.d.mts +101 -29
- package/dist/components/modal/modal.d.ts +101 -29
- package/dist/components/modal/modal.js +1028 -416
- package/dist/components/modal/modal.mjs +11 -10
- package/dist/components/modal/useGlobalModal.d.mts +2 -0
- package/dist/components/modal/useGlobalModal.d.ts +2 -0
- package/dist/components/modal/useGlobalModal.mjs +13 -12
- package/dist/components/pagination/index.js +598 -212
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +598 -212
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/picker/datePicker.js +1029 -705
- package/dist/components/picker/datePicker.mjs +12 -11
- package/dist/components/picker/day.js +366 -4
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +1027 -703
- package/dist/components/picker/index.mjs +15 -14
- package/dist/components/picker/timePicker/Panel.js +831 -21
- package/dist/components/picker/timePicker/Panel.mjs +10 -9
- package/dist/components/picker/timePicker/index.js +976 -99
- package/dist/components/picker/timePicker/index.mjs +12 -11
- package/dist/components/progress/index.js +381 -18
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.d.mts +21 -18
- package/dist/components/progress/progress.d.ts +21 -18
- package/dist/components/progress/progress.js +381 -18
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +389 -41
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +33 -48
- package/dist/components/radio/radio.d.ts +33 -48
- package/dist/components/radio/radio.js +389 -41
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +819 -221
- package/dist/components/select/index.mjs +10 -9
- package/dist/components/select/select.js +819 -221
- package/dist/components/select/select.mjs +10 -9
- package/dist/components/slider/index.d.mts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +955 -0
- package/dist/components/slider/index.mjs +11 -0
- package/dist/components/slider/slider.d.mts +158 -0
- package/dist/components/slider/slider.d.ts +158 -0
- package/dist/components/slider/slider.js +949 -0
- package/dist/components/slider/slider.mjs +10 -0
- package/dist/components/starRating/index.js +486 -57
- package/dist/components/starRating/index.mjs +4 -4
- package/dist/components/starRating/starRating.js +486 -57
- package/dist/components/starRating/starRating.mjs +4 -4
- package/dist/components/switch/index.js +22 -25
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +0 -18
- package/dist/components/switch/switch.d.ts +0 -18
- package/dist/components/switch/switch.js +22 -25
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/table/definition-table.js +366 -4
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +366 -4
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +679 -291
- package/dist/components/table/index.mjs +10 -10
- package/dist/components/table/table-body.js +679 -291
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +679 -291
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +8 -29
- package/dist/components/table/table.d.ts +8 -29
- package/dist/components/table/table.js +679 -291
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.js +366 -4
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +366 -4
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.js +67 -38
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.d.mts +21 -0
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/textarea/textarea.js +67 -38
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/components/timePicker/calendar.js +486 -57
- package/dist/components/timePicker/calendar.mjs +3 -3
- package/dist/components/toast/index.js +486 -57
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +486 -57
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +486 -57
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.js +366 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +366 -4
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +486 -57
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.js +486 -57
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1705 -1281
- package/dist/index.mjs +76 -70
- package/dist/utils/tailwind-variants.js +366 -4
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AID2NLT.mjs +0 -37
- package/dist/chunk-BBRO35V3.mjs +0 -385
- package/dist/chunk-EVJ46M3U.mjs +0 -141
- package/dist/chunk-SKX5QPUD.mjs +0 -482
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DPWUIAVC.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/radio/radio.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -25,10 +25,7 @@ var Radio = forwardRef((originalProps, ref) => {
|
|
|
25
25
|
),
|
|
26
26
|
children: [
|
|
27
27
|
/* @__PURE__ */ jsx("div", { className: "hidden", children: /* @__PURE__ */ jsx("input", { ...inputProps, type: "radio", ref }) }),
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */ jsx("span", { className: slots.outerDot({ class: classNames == null ? void 0 : classNames.outerDot }) }),
|
|
30
|
-
/* @__PURE__ */ jsx("span", { className: slots.innerDot({ class: classNames == null ? void 0 : classNames.innerDot }) })
|
|
31
|
-
] }),
|
|
28
|
+
/* @__PURE__ */ jsx("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ jsx("span", { className: slots.innerDot({ class: classNames == null ? void 0 : classNames.innerDot }) }) }),
|
|
32
29
|
/* @__PURE__ */ jsx("div", { className: slots.labelWrapper({ class: classNames == null ? void 0 : classNames.labelWrapper }), children: children && /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children }) })
|
|
33
30
|
]
|
|
34
31
|
}
|
|
@@ -48,25 +45,18 @@ var radioStyle = tv({
|
|
|
48
45
|
"cursor-pointer",
|
|
49
46
|
"tap-highlight-transparent"
|
|
50
47
|
],
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"-
|
|
57
|
-
"-translate-y-1/2",
|
|
58
|
-
"z-[1]",
|
|
48
|
+
wrapper: [
|
|
49
|
+
"relative",
|
|
50
|
+
"flex",
|
|
51
|
+
"items-center",
|
|
52
|
+
"justify-center",
|
|
53
|
+
"flex-shrink-0",
|
|
59
54
|
"rounded-full",
|
|
60
55
|
"border",
|
|
61
|
-
"border-
|
|
62
|
-
"bg-
|
|
56
|
+
"border-neutral-light",
|
|
57
|
+
"bg-body-background"
|
|
63
58
|
],
|
|
64
59
|
innerDot: [
|
|
65
|
-
"absolute",
|
|
66
|
-
"top-1/2",
|
|
67
|
-
"left-1/2",
|
|
68
|
-
"-translate-x-1/2",
|
|
69
|
-
"-translate-y-1/2",
|
|
70
60
|
"z-[2]",
|
|
71
61
|
"rounded-full",
|
|
72
62
|
"bg-primary-main",
|
|
@@ -81,7 +71,7 @@ var radioStyle = tv({
|
|
|
81
71
|
variants: {
|
|
82
72
|
color: {
|
|
83
73
|
primary: {
|
|
84
|
-
|
|
74
|
+
wrapper: [
|
|
85
75
|
"group-has-[:checked]/radio:border-primary-main",
|
|
86
76
|
"group-hover/radio:border-primary-light",
|
|
87
77
|
"group-hover/radio:bg-primary-soft"
|
|
@@ -89,7 +79,7 @@ var radioStyle = tv({
|
|
|
89
79
|
innerDot: ["bg-primary-main"]
|
|
90
80
|
},
|
|
91
81
|
secondary: {
|
|
92
|
-
|
|
82
|
+
wrapper: [
|
|
93
83
|
"group-has-[:checked]/radio:border-secondary-main",
|
|
94
84
|
"group-hover/radio:border-secondary-light",
|
|
95
85
|
"group-hover/radio:bg-secondary-soft"
|
|
@@ -97,7 +87,7 @@ var radioStyle = tv({
|
|
|
97
87
|
innerDot: ["bg-secondary-main"]
|
|
98
88
|
},
|
|
99
89
|
neutral: {
|
|
100
|
-
|
|
90
|
+
wrapper: [
|
|
101
91
|
"group-has-[:checked]/radio:border-neutral-main",
|
|
102
92
|
"group-hover/radio:border-neutral-light",
|
|
103
93
|
"group-hover/radio:bg-neutral-soft"
|
|
@@ -107,37 +97,33 @@ var radioStyle = tv({
|
|
|
107
97
|
},
|
|
108
98
|
size: {
|
|
109
99
|
sm: {
|
|
110
|
-
base: ["gap-
|
|
111
|
-
|
|
112
|
-
outerDot: ["w-[12px]", "h-[12px]", "border-sm"],
|
|
100
|
+
base: ["gap-lg"],
|
|
101
|
+
wrapper: ["w-[12px]", "h-[12px]", "border-sm"],
|
|
113
102
|
innerDot: ["w-[6px]", "h-[6px]"],
|
|
114
103
|
label: ["text-sm"]
|
|
115
104
|
},
|
|
116
105
|
md: {
|
|
117
|
-
base: ["gap-
|
|
118
|
-
|
|
119
|
-
outerDot: ["w-[14px]", "h-[14px]", "border-md"],
|
|
106
|
+
base: ["gap-lg"],
|
|
107
|
+
wrapper: ["w-[16px]", "h-[16px]", "border-md"],
|
|
120
108
|
innerDot: ["w-[8px]", "h-[8px]"],
|
|
121
109
|
label: ["text-md"]
|
|
122
110
|
},
|
|
123
111
|
lg: {
|
|
124
|
-
base: ["gap-
|
|
125
|
-
|
|
126
|
-
outerDot: ["w-[18px]", "h-[18px]", "border-lg"],
|
|
112
|
+
base: ["gap-xl"],
|
|
113
|
+
wrapper: ["w-[18px]", "h-[18px]", "border-lg"],
|
|
127
114
|
innerDot: ["w-[10px]", "h-[10px]"],
|
|
128
115
|
label: ["text-lg"]
|
|
129
116
|
},
|
|
130
117
|
xl: {
|
|
131
|
-
base: ["gap-
|
|
132
|
-
|
|
133
|
-
outerDot: ["w-[22px]", "h-[22px]", "border-xl"],
|
|
118
|
+
base: ["gap-xl"],
|
|
119
|
+
wrapper: ["w-[22px]", "h-[22px]", "border-xl"],
|
|
134
120
|
innerDot: ["w-[12px]", "h-[12px]"],
|
|
135
121
|
label: ["text-xl"]
|
|
136
122
|
}
|
|
137
123
|
},
|
|
138
124
|
isInvalid: {
|
|
139
125
|
true: {
|
|
140
|
-
|
|
126
|
+
wrapper: [
|
|
141
127
|
"border-danger-main",
|
|
142
128
|
"bg-danger-soft",
|
|
143
129
|
"group-has-[:checked]/radio:border-danger-main",
|
|
@@ -151,7 +137,7 @@ var radioStyle = tv({
|
|
|
151
137
|
disabled: {
|
|
152
138
|
true: {
|
|
153
139
|
base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
|
|
154
|
-
|
|
140
|
+
wrapper: [
|
|
155
141
|
"cursor-not-allowed",
|
|
156
142
|
"border-neutral-light",
|
|
157
143
|
"bg-neutral-soft",
|
|
@@ -167,7 +153,7 @@ var radioStyle = tv({
|
|
|
167
153
|
readOnly: {
|
|
168
154
|
true: {
|
|
169
155
|
base: ["cursor-not-allowed", "pointer-events-none"],
|
|
170
|
-
|
|
156
|
+
wrapper: ["cursor-not-allowed", "border-neutral-light", "bg-neutral-soft"],
|
|
171
157
|
label: ["text-neutral-light", "group-has-[:checked]/radio:text-body-foreground"]
|
|
172
158
|
}
|
|
173
159
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DPWUIAVC.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/progress/progress.tsx
|
|
13
13
|
import { useMemo } from "react";
|
|
@@ -39,7 +39,7 @@ var Progress = (originalProps) => {
|
|
|
39
39
|
var progress_default = Progress;
|
|
40
40
|
var progressStyle = tv({
|
|
41
41
|
slots: {
|
|
42
|
-
base: ["flex flex-col gap-2 w-full"],
|
|
42
|
+
base: ["flex", "flex-col", "gap-2", "w-full"],
|
|
43
43
|
track: ["z-0", "relative", "bg-neutral-soft", "overflow-hidden", "rtl:rotate-180"],
|
|
44
44
|
indicator: ["h-full"],
|
|
45
45
|
value: ""
|
|
@@ -47,54 +47,55 @@ var progressStyle = tv({
|
|
|
47
47
|
variants: {
|
|
48
48
|
color: {
|
|
49
49
|
primary: {
|
|
50
|
-
indicator: ["bg-gradient-to-r from-primary-light via-primary-light to-primary-main"]
|
|
50
|
+
indicator: ["bg-gradient-to-r", "from-primary-light", "via-primary-light", "to-primary-main"]
|
|
51
51
|
},
|
|
52
52
|
secondary: {
|
|
53
|
-
indicator: ["bg-gradient-to-r from-secondary-light via-secondary-light to-secondary-main"]
|
|
53
|
+
indicator: ["bg-gradient-to-r", "from-secondary-light", "via-secondary-light", "to-secondary-main"]
|
|
54
54
|
},
|
|
55
55
|
neutral: {
|
|
56
|
-
indicator: ["bg-gradient-to-r from-neutral-light via-neutral-light to-neutral-main"]
|
|
56
|
+
indicator: ["bg-gradient-to-r", "from-neutral-light", "via-neutral-light", "to-neutral-main"]
|
|
57
57
|
},
|
|
58
58
|
info: {
|
|
59
|
-
indicator: ["bg-gradient-to-r from-info-light via-info-light to-info-main"]
|
|
59
|
+
indicator: ["bg-gradient-to-r", "from-info-light", "via-info-light", "to-info-main"]
|
|
60
60
|
},
|
|
61
61
|
success: {
|
|
62
|
-
indicator: ["bg-gradient-to-r from-success-light via-success-light to-success-main"]
|
|
62
|
+
indicator: ["bg-gradient-to-r", "from-success-light", "via-success-light", "to-success-main"]
|
|
63
63
|
},
|
|
64
64
|
warning: {
|
|
65
|
-
indicator: ["bg-gradient-to-r from-warning-light via-warning-light to-warning-main"]
|
|
65
|
+
indicator: ["bg-gradient-to-r", "from-warning-light", "via-warning-light", "to-warning-main"]
|
|
66
66
|
},
|
|
67
67
|
danger: {
|
|
68
|
-
indicator: ["bg-gradient-to-r from-danger-light via-danger-light to-danger-main"]
|
|
68
|
+
indicator: ["bg-gradient-to-r", "from-danger-light", "via-danger-light", "to-danger-main"]
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
size: {
|
|
72
72
|
sm: {
|
|
73
73
|
track: ["h-[4px]", "rounded-sm"],
|
|
74
|
-
indicator: "rounded-sm"
|
|
74
|
+
indicator: ["rounded-sm"]
|
|
75
75
|
},
|
|
76
76
|
md: {
|
|
77
77
|
track: ["h-[6px]", "rounded-md"],
|
|
78
|
-
indicator: "rounded-md"
|
|
78
|
+
indicator: ["rounded-md"]
|
|
79
79
|
},
|
|
80
80
|
lg: {
|
|
81
81
|
track: ["h-[8px]", "rounded-lg"],
|
|
82
|
-
indicator: "rounded-lg"
|
|
82
|
+
indicator: ["rounded-lg"]
|
|
83
83
|
},
|
|
84
84
|
xl: {
|
|
85
85
|
track: ["h-[10px]", "rounded-xl"],
|
|
86
|
-
indicator: "rounded-xl"
|
|
86
|
+
indicator: ["rounded-xl"]
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
disabled: {
|
|
90
90
|
true: {
|
|
91
|
-
base: "opacity-disabled cursor-not-allowed"
|
|
91
|
+
base: ["opacity-disabled", "cursor-not-allowed"],
|
|
92
|
+
indicator: ["bg-neutral-light"]
|
|
92
93
|
}
|
|
93
94
|
},
|
|
94
95
|
disableAnimation: {
|
|
95
96
|
true: {},
|
|
96
97
|
false: {
|
|
97
|
-
indicator: "transition-transform !duration-500"
|
|
98
|
+
indicator: ["transition-transform", "!duration-500"]
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
101
|
isIndeterminate: {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JUKILR6X.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef, useMemo } from "react";
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
buttonBaseStyle
|
|
4
|
+
} from "./chunk-Z4NO7SMY.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -7,7 +10,7 @@ import {
|
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
11
|
import {
|
|
9
12
|
tv
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DPWUIAVC.mjs";
|
|
11
14
|
|
|
12
15
|
// src/components/button/text-button.tsx
|
|
13
16
|
import {
|
|
@@ -65,10 +68,11 @@ var TextButton = forwardRef((originalProps, ref) => {
|
|
|
65
68
|
TextButton.displayName = "TextButton";
|
|
66
69
|
var text_button_default = TextButton;
|
|
67
70
|
var textButtonStyle = tv({
|
|
71
|
+
extend: buttonBaseStyle,
|
|
68
72
|
slots: {
|
|
69
|
-
base: ["
|
|
73
|
+
base: ["!bg-transparent", "!border-transparent", "active:text-primary-strong", "font-bold"],
|
|
70
74
|
content: [],
|
|
71
|
-
underline: ["underline", "decoration-skip-ink"
|
|
75
|
+
underline: ["underline", "decoration-skip-ink"]
|
|
72
76
|
},
|
|
73
77
|
variants: {
|
|
74
78
|
variant: {
|
|
@@ -87,35 +91,30 @@ var textButtonStyle = tv({
|
|
|
87
91
|
size: {
|
|
88
92
|
sm: {
|
|
89
93
|
base: ["text-sm"],
|
|
90
|
-
underline: ["decoration-[
|
|
94
|
+
underline: ["decoration-[0.6px]", "underline-offset-[2.4px]"]
|
|
91
95
|
},
|
|
92
96
|
md: {
|
|
93
97
|
base: ["text-md"],
|
|
94
|
-
underline: ["decoration-[
|
|
98
|
+
underline: ["decoration-[0.7px]", "underline-offset-[2.8px]"]
|
|
95
99
|
},
|
|
96
100
|
lg: {
|
|
97
101
|
base: ["text-lg"],
|
|
98
|
-
underline: ["decoration-[
|
|
102
|
+
underline: ["decoration-[0.8px]", "underline-offset-[3.2px]"]
|
|
99
103
|
},
|
|
100
104
|
xl: {
|
|
101
105
|
base: ["text-xl"],
|
|
102
|
-
underline: ["decoration-[
|
|
106
|
+
underline: ["decoration-[0.9px]", "underline-offset-[3.6px]"]
|
|
103
107
|
}
|
|
104
108
|
},
|
|
105
109
|
disabled: {
|
|
106
110
|
true: {
|
|
107
|
-
base: ["!text-neutral-light", "pointer-events-none"]
|
|
108
|
-
}
|
|
111
|
+
base: ["!bg-transparent", "!border-transparent", "!text-neutral-light", "pointer-events-none"]
|
|
112
|
+
},
|
|
113
|
+
false: {}
|
|
109
114
|
},
|
|
110
115
|
isInGroup: {
|
|
111
|
-
true: {
|
|
112
|
-
|
|
113
|
-
"[&:not(:first-child):not(:last-child)]:rounded-none",
|
|
114
|
-
"first:rounded-r-none",
|
|
115
|
-
"last:rounded-l-none",
|
|
116
|
-
"[&:not(:first-child)]:border-l-0"
|
|
117
|
-
]
|
|
118
|
-
}
|
|
116
|
+
true: {},
|
|
117
|
+
false: {}
|
|
119
118
|
}
|
|
120
119
|
},
|
|
121
120
|
compoundVariants: [
|
|
@@ -134,7 +133,7 @@ var textButtonStyle = tv({
|
|
|
134
133
|
{
|
|
135
134
|
color: "neutral",
|
|
136
135
|
class: {
|
|
137
|
-
base: ["text-
|
|
136
|
+
base: ["text-body-foreground", "hover:text-neutral-dark", "active:text-neutral-strong"]
|
|
138
137
|
}
|
|
139
138
|
},
|
|
140
139
|
{
|