@deepnoid/ui 0.1.158 → 0.1.160
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 +187 -187
- package/dist/{chunk-3X376ACN.mjs → chunk-2B3HDC26.mjs} +1 -1
- package/dist/{chunk-S7Y7XUBL.mjs → chunk-45Y7ANPK.mjs} +1 -1
- package/dist/{chunk-Q364C3FI.mjs → chunk-4LUASWAN.mjs} +1 -1
- package/dist/{chunk-U2MHQYVG.mjs → chunk-553TGKS6.mjs} +1 -1
- package/dist/{chunk-Z7CLJYRF.mjs → chunk-5G6CCE55.mjs} +1 -1
- package/dist/{chunk-YBVJFHH6.mjs → chunk-5KC3IFNR.mjs} +1 -1
- package/dist/{chunk-ITWKPTSD.mjs → chunk-5VTYO3RF.mjs} +1 -1
- package/dist/{chunk-3QE57PU3.mjs → chunk-6574ITBF.mjs} +1 -1
- package/dist/{chunk-PXAJEOZS.mjs → chunk-6DOAZ27E.mjs} +2 -2
- package/dist/{chunk-JKYLYL3A.mjs → chunk-AKAGWXXP.mjs} +1 -1
- package/dist/{chunk-D4IFXO36.mjs → chunk-ARNMOGRH.mjs} +1 -1
- package/dist/{chunk-QHETCLHO.mjs → chunk-BM3MR3JR.mjs} +2 -2
- package/dist/{chunk-EKLA6ZR4.mjs → chunk-CPFFP7L6.mjs} +1 -1
- package/dist/{chunk-YQYO5RLZ.mjs → chunk-DO56H4BN.mjs} +1 -1
- package/dist/{chunk-JZMJ5UMR.mjs → chunk-DS5CGU2X.mjs} +1 -1
- package/dist/{chunk-I3ADJOUT.mjs → chunk-DU7L4GA7.mjs} +1 -1
- package/dist/{chunk-NBJHZ4X2.mjs → chunk-DW3BX4M2.mjs} +1 -1
- package/dist/{chunk-KLBA5J2H.mjs → chunk-EQLBG32V.mjs} +1 -1
- package/dist/{chunk-CSG6FDBX.mjs → chunk-HKLVFMYQ.mjs} +2 -2
- package/dist/{chunk-AF4I7ZQS.mjs → chunk-IH3BJRTV.mjs} +1 -1
- package/dist/{chunk-L5FRTUM6.mjs → chunk-INRA6IED.mjs} +1 -1
- package/dist/{chunk-2CLPU5LR.mjs → chunk-KH63CD55.mjs} +1 -1
- package/dist/{chunk-3IILPVRA.mjs → chunk-NGRGAY42.mjs} +1 -1
- package/dist/{chunk-7YMXOYES.mjs → chunk-NJFJJIWK.mjs} +6 -6
- package/dist/{chunk-H6JGLPPF.mjs → chunk-OEIEALIP.mjs} +1 -1
- package/dist/{chunk-V64PCWVW.mjs → chunk-OOX5X2MN.mjs} +4 -4
- package/dist/{chunk-QW7T3V5O.mjs → chunk-PRNE3U26.mjs} +1 -1
- package/dist/{chunk-HKHVSCER.mjs → chunk-PX4RCHOE.mjs} +2 -2
- package/dist/{chunk-46EIW6MN.mjs → chunk-SCQCMQDP.mjs} +3 -3
- package/dist/{chunk-CDXBML6O.mjs → chunk-U4DJHAM5.mjs} +7 -0
- package/dist/{chunk-6SKEFJQW.mjs → chunk-U7SYKG2C.mjs} +1 -1
- package/dist/{chunk-SFGFRMWL.mjs → chunk-VNRGOOSY.mjs} +57 -62
- package/dist/{chunk-ITFEV25U.mjs → chunk-VO332GRO.mjs} +1 -1
- package/dist/{chunk-IRJP6BF3.mjs → chunk-WLTBJF4I.mjs} +2 -2
- package/dist/{chunk-XHCPYYMC.mjs → chunk-WSBUOY2M.mjs} +1 -1
- package/dist/{chunk-4DESGO3D.mjs → chunk-XZYQFBCT.mjs} +1 -1
- package/dist/{chunk-5PJMKFMX.mjs → chunk-YQGN2DER.mjs} +1 -1
- package/dist/components/accordion/accordion.js +7 -0
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +7 -0
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +7 -0
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +7 -0
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +7 -0
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/backdrop/backdrop.js +7 -0
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +7 -0
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +7 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.js +7 -0
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button-group.js +7 -0
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.js +7 -0
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.js +7 -0
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.js +7 -0
- package/dist/components/button/index.mjs +5 -5
- package/dist/components/button/text-button.js +7 -0
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.js +7 -0
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +7 -0
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +7 -0
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +7 -0
- package/dist/components/charts/index.mjs +5 -5
- package/dist/components/charts/radarChart.js +7 -0
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +7 -0
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +7 -0
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.js +7 -0
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.js +7 -0
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/drawer/drawer.js +7 -0
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +7 -0
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +63 -61
- package/dist/components/fileUpload/fileUpload.mjs +8 -8
- package/dist/components/fileUpload/index.js +63 -61
- package/dist/components/fileUpload/index.mjs +8 -8
- package/dist/components/input/index.js +63 -61
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.d.mts +6 -3
- package/dist/components/input/input.d.ts +6 -3
- package/dist/components/input/input.js +63 -61
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.js +7 -0
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.js +7 -0
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +7 -0
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.js +7 -0
- package/dist/components/modal/index.mjs +7 -7
- package/dist/components/modal/modal.js +7 -0
- package/dist/components/modal/modal.mjs +7 -7
- package/dist/components/pagination/index.js +63 -61
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.js +63 -61
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/picker/datePicker.js +63 -61
- package/dist/components/picker/datePicker.mjs +8 -8
- package/dist/components/picker/day.js +7 -0
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +63 -61
- package/dist/components/picker/index.mjs +10 -10
- package/dist/components/picker/timePicker.js +7 -0
- package/dist/components/picker/timePicker.mjs +3 -3
- package/dist/components/progress/index.js +7 -0
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.js +7 -0
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +7 -0
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.js +7 -0
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.js +7 -0
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.js +7 -0
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/starRating/index.js +7 -0
- package/dist/components/starRating/index.mjs +2 -2
- package/dist/components/starRating/starRating.js +7 -0
- package/dist/components/starRating/starRating.mjs +2 -2
- package/dist/components/table/definition-table.js +7 -0
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +7 -0
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +63 -61
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.js +63 -61
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +63 -61
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +63 -61
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/tabs/index.js +7 -0
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +7 -0
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/timePicker/calendar.js +7 -0
- package/dist/components/timePicker/calendar.mjs +1 -1
- package/dist/components/toast/index.js +7 -0
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.js +7 -0
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.js +7 -0
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.js +7 -0
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +7 -0
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +7 -0
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.js +7 -0
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.js +63 -61
- package/dist/index.mjs +37 -37
- package/dist/utils/tailwind-variants.js +7 -0
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
text_button_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4LUASWAN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-R7KUEH3N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/breadcrumb/breadcrumb.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
select_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5G6CCE55.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-R7KUEH3N.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
14
14
|
import {
|
|
15
15
|
clsx
|
|
16
16
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6574ITBF.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
avatar_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VO332GRO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/list/listItem.tsx
|
|
16
16
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
day_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XZYQFBCT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
formatDateToString,
|
|
7
7
|
formatStringToDate
|
|
8
8
|
} from "./chunk-FWFEKWWD.mjs";
|
|
9
9
|
import {
|
|
10
10
|
input_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VNRGOOSY.mjs";
|
|
12
12
|
import {
|
|
13
13
|
text_button_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4LUASWAN.mjs";
|
|
15
15
|
import {
|
|
16
16
|
button_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DO56H4BN.mjs";
|
|
18
18
|
import {
|
|
19
19
|
icon_button_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AKAGWXXP.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Icon_default
|
|
23
23
|
} from "./chunk-R7KUEH3N.mjs";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-E3G5QXSH.mjs";
|
|
27
27
|
import {
|
|
28
28
|
tv
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
30
30
|
|
|
31
31
|
// src/components/picker/datePicker.tsx
|
|
32
32
|
import {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
progress_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KH63CD55.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VNRGOOSY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DO56H4BN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
icon_button_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AKAGWXXP.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/fileUpload/fileUpload.tsx
|
|
16
16
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
pagination_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WLTBJF4I.mjs";
|
|
5
5
|
import {
|
|
6
6
|
scrollArea_default
|
|
7
7
|
} from "./chunk-EWS3FESG.mjs";
|
|
8
8
|
import {
|
|
9
9
|
checkbox_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OEIEALIP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
backdrop_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IH3BJRTV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DO56H4BN.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-R7KUEH3N.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/modal/modal.tsx
|
|
19
19
|
import { forwardRef, useMemo, useEffect } from "react";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
11
11
|
import {
|
|
12
12
|
clsx
|
|
13
13
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -35,7 +35,7 @@ var Input = forwardRef((originalProps, ref) => {
|
|
|
35
35
|
),
|
|
36
36
|
size: originalProps.size
|
|
37
37
|
}),
|
|
38
|
-
[slots, classNames, originalProps.size]
|
|
38
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
39
39
|
);
|
|
40
40
|
const renderStartContent = () => {
|
|
41
41
|
if (isValidElement(startContent)) {
|
|
@@ -158,31 +158,22 @@ var inputStyle = tv(
|
|
|
158
158
|
"placeholder:text-neutral-main",
|
|
159
159
|
"outline-none",
|
|
160
160
|
"focus:ring-0",
|
|
161
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
162
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
163
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
164
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
161
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
162
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
163
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
164
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
165
|
+
"read-only:!text-body-foreground",
|
|
166
|
+
"read-only:placeholder:!text-body-foreground"
|
|
168
167
|
],
|
|
169
168
|
content: [
|
|
170
169
|
"flex",
|
|
171
170
|
"items-center",
|
|
172
171
|
"select-none",
|
|
173
172
|
"text-neutral-main",
|
|
174
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
175
|
-
"
|
|
176
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
177
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
178
|
-
],
|
|
179
|
-
helperMessage: [
|
|
180
|
-
"text-neutral-main",
|
|
181
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
182
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
183
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
184
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
173
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
174
|
+
"read-only:!text-body-foreground"
|
|
185
175
|
],
|
|
176
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
186
177
|
errorMessage: ["text-danger-main"],
|
|
187
178
|
readonlyWrapper: [
|
|
188
179
|
"pointer-events-none",
|
|
@@ -191,7 +182,7 @@ var inputStyle = tv(
|
|
|
191
182
|
"[&>input]:text-body-foreground",
|
|
192
183
|
"[&>input]:placeholder:text-body-foreground"
|
|
193
184
|
],
|
|
194
|
-
readonly: []
|
|
185
|
+
readonly: ["text-body-foreground"]
|
|
195
186
|
},
|
|
196
187
|
variants: {
|
|
197
188
|
variant: {
|
|
@@ -202,8 +193,8 @@ var inputStyle = tv(
|
|
|
202
193
|
outline: {
|
|
203
194
|
inputWrapper: [
|
|
204
195
|
"border-neutral-light",
|
|
205
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
206
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
196
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
197
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
207
198
|
"group-has-[p.error]/input:border-danger-main"
|
|
208
199
|
],
|
|
209
200
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -212,8 +203,8 @@ var inputStyle = tv(
|
|
|
212
203
|
inputWrapper: [
|
|
213
204
|
"bg-transparent",
|
|
214
205
|
"rounded-none",
|
|
215
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
216
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
206
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
207
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
217
208
|
"group-has-[p.error]/input:border-danger-main"
|
|
218
209
|
],
|
|
219
210
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -221,22 +212,13 @@ var inputStyle = tv(
|
|
|
221
212
|
},
|
|
222
213
|
color: {
|
|
223
214
|
primary: {
|
|
224
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
225
|
-
helperMessage: [
|
|
226
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
227
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
228
|
-
],
|
|
215
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
216
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
229
217
|
readonly: ["text-primary-main"]
|
|
230
218
|
},
|
|
231
219
|
secondary: {
|
|
232
|
-
content: [
|
|
233
|
-
|
|
234
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
235
|
-
],
|
|
236
|
-
helperMessage: [
|
|
237
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
238
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
239
|
-
],
|
|
220
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
221
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
240
222
|
readonly: ["text-secondary-main"]
|
|
241
223
|
}
|
|
242
224
|
},
|
|
@@ -287,14 +269,9 @@ var inputStyle = tv(
|
|
|
287
269
|
},
|
|
288
270
|
disabled: {
|
|
289
271
|
true: {
|
|
290
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
291
|
-
input: [
|
|
292
|
-
|
|
293
|
-
"placeholder:!text-neutral-light",
|
|
294
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
295
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
296
|
-
],
|
|
297
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
272
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
273
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
274
|
+
content: ["!text-neutral-light"],
|
|
298
275
|
helperMessage: ["!text-neutral-light"],
|
|
299
276
|
errorMessage: ["!text-danger-light"]
|
|
300
277
|
}
|
|
@@ -302,11 +279,9 @@ var inputStyle = tv(
|
|
|
302
279
|
readonly: {
|
|
303
280
|
true: {
|
|
304
281
|
readonlyWrapper: ["pointer-events-none"],
|
|
305
|
-
input: [
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
],
|
|
309
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
282
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
283
|
+
content: ["!text-body-foreground"],
|
|
284
|
+
helperMessage: ["!text-body-foreground"]
|
|
310
285
|
}
|
|
311
286
|
}
|
|
312
287
|
},
|
|
@@ -367,17 +342,6 @@ var inputStyle = tv(
|
|
|
367
342
|
inputWrapper: ["border-b-xl"]
|
|
368
343
|
}
|
|
369
344
|
},
|
|
370
|
-
{
|
|
371
|
-
disabled: true,
|
|
372
|
-
variant: ["outline", "underline"],
|
|
373
|
-
class: {
|
|
374
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
375
|
-
content: [
|
|
376
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
377
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
378
|
-
]
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
345
|
{
|
|
382
346
|
readonly: true,
|
|
383
347
|
color: "primary",
|
|
@@ -393,6 +357,37 @@ var inputStyle = tv(
|
|
|
393
357
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
394
358
|
content: ["!text-secondary-main"]
|
|
395
359
|
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
disabled: true,
|
|
363
|
+
class: {
|
|
364
|
+
input: [
|
|
365
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
366
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
367
|
+
],
|
|
368
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
369
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
370
|
+
errorMessage: ["!text-danger-light"]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
disabled: true,
|
|
375
|
+
variant: ["outline", "underline"],
|
|
376
|
+
class: {
|
|
377
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
disabled: false,
|
|
382
|
+
class: {
|
|
383
|
+
input: [
|
|
384
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
385
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
386
|
+
],
|
|
387
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
388
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
389
|
+
errorMessage: ["!text-danger-main"]
|
|
390
|
+
}
|
|
396
391
|
}
|
|
397
392
|
],
|
|
398
393
|
defaultVariants: {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-F3HENRVM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VNRGOOSY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-R7KUEH3N.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U4DJHAM5.mjs";
|
|
17
17
|
import {
|
|
18
18
|
clsx
|
|
19
19
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
accordion_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-CPFFP7L6.mjs";
|
|
5
5
|
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-U4DJHAM5.mjs";
|
|
7
7
|
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
9
9
|
accordion_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
accordionItem_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-DU7L4GA7.mjs";
|
|
5
5
|
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-U4DJHAM5.mjs";
|
|
7
7
|
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
9
9
|
accordionItem_default as default
|