@deepnoid/ui 0.1.30 → 0.1.31
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 +136 -136
- package/dist/chunk-62X5AX5B.mjs +297 -0
- package/dist/{chunk-VCVQMPC7.mjs → chunk-AIIMJZ7L.mjs} +69 -39
- package/dist/{chunk-NKH3OF6I.mjs → chunk-BCMVEGJG.mjs} +1 -1
- package/dist/{chunk-QM4ZSQYX.mjs → chunk-CVQM3T2X.mjs} +1 -1
- package/dist/{chunk-GLMM253Q.mjs → chunk-EBRCE7XY.mjs} +2 -2
- package/dist/{chunk-272FMLIL.mjs → chunk-IEJRE6LT.mjs} +7 -4
- package/dist/{chunk-CEZQCD6Z.mjs → chunk-LWRK5TPZ.mjs} +12 -11
- package/dist/components/fileUpload/fileUpload.js +62 -39
- package/dist/components/fileUpload/fileUpload.mjs +2 -2
- package/dist/components/fileUpload/index.js +62 -39
- package/dist/components/fileUpload/index.mjs +2 -2
- package/dist/components/input/index.js +62 -39
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.d.mts +21 -14
- package/dist/components/input/input.d.ts +21 -14
- package/dist/components/input/input.js +62 -39
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +62 -39
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +62 -39
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/select/index.js +7 -4
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/select/select.d.mts +9 -0
- package/dist/components/select/select.d.ts +9 -0
- package/dist/components/select/select.js +7 -4
- package/dist/components/select/select.mjs +1 -1
- package/dist/components/table/index.js +74 -50
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table-body.js +12 -11
- package/dist/components/table/table-body.mjs +1 -1
- package/dist/components/table/table.d.mts +2 -1
- package/dist/components/table/table.d.ts +2 -1
- package/dist/components/table/table.js +74 -50
- package/dist/components/table/table.mjs +4 -4
- package/dist/components/textarea/index.js +255 -138
- package/dist/components/textarea/index.mjs +2 -1
- package/dist/components/textarea/textarea.d.mts +157 -150
- package/dist/components/textarea/textarea.d.ts +157 -150
- package/dist/components/textarea/textarea.js +255 -138
- package/dist/components/textarea/textarea.mjs +2 -1
- package/dist/index.js +296 -192
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/dist/chunk-BKE6QF6W.mjs +0 -209
|
@@ -107,7 +107,7 @@ __export(input_exports, {
|
|
|
107
107
|
module.exports = __toCommonJS(input_exports);
|
|
108
108
|
|
|
109
109
|
// src/components/input/input.tsx
|
|
110
|
-
var import_react =
|
|
110
|
+
var import_react = require("react");
|
|
111
111
|
|
|
112
112
|
// src/components/icon/template.tsx
|
|
113
113
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -4376,19 +4376,22 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4376
4376
|
const slots = (0, import_react.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
|
|
4377
4377
|
const getContentProps = (0, import_react.useCallback)(
|
|
4378
4378
|
() => ({
|
|
4379
|
-
className:
|
|
4379
|
+
className: clsx(
|
|
4380
|
+
slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
4381
|
+
inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
|
|
4382
|
+
),
|
|
4380
4383
|
size: originalProps.size
|
|
4381
4384
|
}),
|
|
4382
4385
|
[slots, classNames, originalProps.size]
|
|
4383
4386
|
);
|
|
4384
4387
|
const renderStartContent = () => {
|
|
4385
|
-
if (import_react.
|
|
4388
|
+
if ((0, import_react.isValidElement)(startContent)) {
|
|
4386
4389
|
const existingProps = startContent.props;
|
|
4387
4390
|
const mergedProps = {
|
|
4388
4391
|
...getContentProps(),
|
|
4389
4392
|
className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
|
|
4390
4393
|
};
|
|
4391
|
-
return import_react.
|
|
4394
|
+
return (0, import_react.cloneElement)(startContent, mergedProps);
|
|
4392
4395
|
} else {
|
|
4393
4396
|
const contentProps = getContentProps();
|
|
4394
4397
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...contentProps, children: startContent });
|
|
@@ -4407,13 +4410,13 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4407
4410
|
}
|
|
4408
4411
|
);
|
|
4409
4412
|
const renderContentWithIcon = () => {
|
|
4410
|
-
if (import_react.
|
|
4413
|
+
if ((0, import_react.isValidElement)(endContent)) {
|
|
4411
4414
|
const existingProps = endContent.props;
|
|
4412
4415
|
const mergedProps = {
|
|
4413
4416
|
...getContentProps(),
|
|
4414
4417
|
className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
|
|
4415
4418
|
};
|
|
4416
|
-
return import_react.
|
|
4419
|
+
return (0, import_react.cloneElement)(endContent, mergedProps);
|
|
4417
4420
|
} else if (errorMessage) {
|
|
4418
4421
|
const iconProps = { ...getContentProps(), className: getContentProps().className };
|
|
4419
4422
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
|
|
@@ -4448,20 +4451,17 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4448
4451
|
{
|
|
4449
4452
|
className: clsx(
|
|
4450
4453
|
slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper }),
|
|
4451
|
-
inputProps.readOnly ? slots.
|
|
4454
|
+
inputProps.readOnly ? slots.readonlyWrapper({ class: classNames == null ? void 0 : classNames.readonlyWrapper }) : ""
|
|
4452
4455
|
),
|
|
4453
4456
|
children: [
|
|
4454
4457
|
startContent && renderStartContent(),
|
|
4455
4458
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4456
4459
|
"input",
|
|
4457
4460
|
{
|
|
4458
|
-
...inputProps,
|
|
4459
4461
|
ref: ref || inputRef,
|
|
4462
|
+
...inputProps,
|
|
4460
4463
|
readOnly: props.readOnly,
|
|
4461
|
-
className: clsx(
|
|
4462
|
-
slots.input({ class: classNames == null ? void 0 : classNames.input }),
|
|
4463
|
-
inputProps.readOnly ? "!text-body-foreground placeholder:!text-body-foreground" : ""
|
|
4464
|
-
),
|
|
4464
|
+
className: clsx(slots.input({ class: classNames == null ? void 0 : classNames.input })),
|
|
4465
4465
|
size: 0
|
|
4466
4466
|
}
|
|
4467
4467
|
),
|
|
@@ -4469,7 +4469,16 @@ var Input = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
4469
4469
|
]
|
|
4470
4470
|
}
|
|
4471
4471
|
),
|
|
4472
|
-
helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4472
|
+
helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4473
|
+
"p",
|
|
4474
|
+
{
|
|
4475
|
+
className: clsx(
|
|
4476
|
+
slots.helperMessage({ class: classNames == null ? void 0 : classNames.helperMessage }),
|
|
4477
|
+
inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
|
|
4478
|
+
),
|
|
4479
|
+
children: helperMessage
|
|
4480
|
+
}
|
|
4481
|
+
),
|
|
4473
4482
|
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })), children: errorMessage })
|
|
4474
4483
|
] })
|
|
4475
4484
|
]
|
|
@@ -4481,12 +4490,12 @@ var input_default = Input;
|
|
|
4481
4490
|
var inputStyle = tv(
|
|
4482
4491
|
{
|
|
4483
4492
|
slots: {
|
|
4484
|
-
base: ["group/input", "flex select-none"],
|
|
4493
|
+
base: ["group/input", "flex", "select-none"],
|
|
4485
4494
|
vertical: ["flex-col"],
|
|
4486
4495
|
horizon: ["flex-row", "gap-0"],
|
|
4487
4496
|
label: ["flex", "items-center", "font-bold", "text-body-foreground", "min-w-[80px]"],
|
|
4488
4497
|
innerWrapper: ["flex", "flex-col"],
|
|
4489
|
-
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input
|
|
4498
|
+
inputWrapper: ["flex", "items-center", "duration-200", "group-has-[p.error]/input:!bg-danger-soft"],
|
|
4490
4499
|
input: [
|
|
4491
4500
|
"w-full",
|
|
4492
4501
|
"h-full",
|
|
@@ -4495,8 +4504,8 @@ var inputStyle = tv(
|
|
|
4495
4504
|
"placeholder:text-neutral-main",
|
|
4496
4505
|
"outline-none",
|
|
4497
4506
|
"focus:ring-0",
|
|
4498
|
-
"group-has-[:hover]/input
|
|
4499
|
-
"group-has-[:hover]/input:placeholder
|
|
4507
|
+
"group-has-[:hover]/input:!text-neutral-dark",
|
|
4508
|
+
"group-has-[:hover]/input:placeholder:!text-neutral-dark",
|
|
4500
4509
|
"group-has-[:focus]/input:text-neutral-dark",
|
|
4501
4510
|
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
4502
4511
|
"group-has-[p.error]/input:text-danger-main",
|
|
@@ -4512,13 +4521,22 @@ var inputStyle = tv(
|
|
|
4512
4521
|
],
|
|
4513
4522
|
helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
4514
4523
|
errorMessage: ["text-danger-main"],
|
|
4515
|
-
|
|
4524
|
+
readonlyWrapper: [
|
|
4525
|
+
"pointer-events-none",
|
|
4526
|
+
"!text-body-foreground",
|
|
4527
|
+
"placeholder:!text-body-foreground",
|
|
4528
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
4529
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main",
|
|
4530
|
+
"[&>input]:!text-body-foreground",
|
|
4531
|
+
"[&>input]:placeholder:!text-body-foreground"
|
|
4532
|
+
],
|
|
4533
|
+
readonly: []
|
|
4516
4534
|
},
|
|
4517
4535
|
variants: {
|
|
4518
4536
|
variant: {
|
|
4519
4537
|
solid: {
|
|
4520
4538
|
inputWrapper: ["border-transparent", "bg-trans-soft"],
|
|
4521
|
-
|
|
4539
|
+
readonlyWrapper: ["!bg-trans-light"]
|
|
4522
4540
|
},
|
|
4523
4541
|
outline: {
|
|
4524
4542
|
inputWrapper: [
|
|
@@ -4527,7 +4545,7 @@ var inputStyle = tv(
|
|
|
4527
4545
|
"group-has-[:focus]/input:bg-body-background",
|
|
4528
4546
|
"group-has-[p.error]/input:border-danger-main"
|
|
4529
4547
|
],
|
|
4530
|
-
|
|
4548
|
+
readonlyWrapper: ["!bg-trans-soft"]
|
|
4531
4549
|
},
|
|
4532
4550
|
underline: {
|
|
4533
4551
|
inputWrapper: [
|
|
@@ -4537,30 +4555,31 @@ var inputStyle = tv(
|
|
|
4537
4555
|
"group-has-[:focus]/input:bg-body-background",
|
|
4538
4556
|
"group-has-[p.error]/input:border-danger-main"
|
|
4539
4557
|
],
|
|
4540
|
-
|
|
4558
|
+
readonlyWrapper: ["!bg-trans-soft"]
|
|
4541
4559
|
}
|
|
4542
4560
|
},
|
|
4543
4561
|
color: {
|
|
4544
4562
|
primary: {
|
|
4545
4563
|
content: [
|
|
4546
|
-
"group-has-[:focus]/input
|
|
4547
|
-
"
|
|
4564
|
+
"group-has-[:focus]/input:!text-primary-main",
|
|
4565
|
+
"group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
|
|
4548
4566
|
],
|
|
4549
4567
|
helperMessage: [
|
|
4550
|
-
"group-has-[:focus]/input
|
|
4551
|
-
"group-has-[:focus:hover]/input
|
|
4552
|
-
"group-has-[:focus]/input:hover
|
|
4553
|
-
]
|
|
4568
|
+
"group-has-[:focus]/input:!text-primary-main",
|
|
4569
|
+
"group-has-[:focus:hover]/input:!text-primary-main",
|
|
4570
|
+
"group-has-[:focus]/input:hover:!text-primary-main"
|
|
4571
|
+
],
|
|
4572
|
+
readonly: ["!text-primary-main"]
|
|
4554
4573
|
},
|
|
4555
4574
|
secondary: {
|
|
4556
4575
|
content: [
|
|
4557
|
-
"group-has-[:focus]/input
|
|
4558
|
-
"
|
|
4576
|
+
"group-has-[:focus]/input:!text-secondary-main",
|
|
4577
|
+
"group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
|
|
4559
4578
|
],
|
|
4560
4579
|
helperMessage: [
|
|
4561
|
-
"group-has-[:focus]/input
|
|
4562
|
-
"group-has-[:focus:hover]/input
|
|
4563
|
-
"group-has-[:focus]/input:hover
|
|
4580
|
+
"group-has-[:focus]/input:!text-secondary-main",
|
|
4581
|
+
"group-has-[:focus:hover]/input:!text-secondary-main",
|
|
4582
|
+
"group-has-[:focus]/input:hover:!text-secondary-main"
|
|
4564
4583
|
]
|
|
4565
4584
|
}
|
|
4566
4585
|
},
|
|
@@ -4611,14 +4630,14 @@ var inputStyle = tv(
|
|
|
4611
4630
|
},
|
|
4612
4631
|
disabled: {
|
|
4613
4632
|
true: {
|
|
4614
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "
|
|
4633
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
|
|
4615
4634
|
input: [
|
|
4616
|
-
"text-neutral-light",
|
|
4617
|
-
"placeholder
|
|
4618
|
-
"group-has-[p.error]/input
|
|
4619
|
-
"group-has-[p.error]/input:placeholder
|
|
4635
|
+
"!text-neutral-light",
|
|
4636
|
+
"placeholder:!text-neutral-light",
|
|
4637
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
4638
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
4620
4639
|
],
|
|
4621
|
-
content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
4640
|
+
content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
4622
4641
|
helperMessage: ["!text-neutral-light"],
|
|
4623
4642
|
errorMessage: ["!text-danger-light"]
|
|
4624
4643
|
}
|
|
@@ -4685,7 +4704,11 @@ var inputStyle = tv(
|
|
|
4685
4704
|
disabled: true,
|
|
4686
4705
|
variant: ["outline", "underline"],
|
|
4687
4706
|
class: {
|
|
4688
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input
|
|
4707
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
4708
|
+
content: [
|
|
4709
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
4710
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
4711
|
+
]
|
|
4689
4712
|
}
|
|
4690
4713
|
}
|
|
4691
4714
|
],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ComponentProps, ReactElement } from 'react';
|
|
4
5
|
import { Size, SlotsToClasses } from '../../utils/types.mjs';
|
|
5
6
|
|
|
6
7
|
interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
@@ -18,27 +19,28 @@ interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
|
18
19
|
classNames?: SlotsToClasses<InputSlots>;
|
|
19
20
|
}
|
|
20
21
|
type InputProps = Props & InputVariantProps;
|
|
21
|
-
declare const Input:
|
|
22
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
22
23
|
|
|
23
24
|
declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
24
25
|
variant: {
|
|
25
26
|
solid: {
|
|
26
27
|
inputWrapper: string[];
|
|
27
|
-
|
|
28
|
+
readonlyWrapper: string[];
|
|
28
29
|
};
|
|
29
30
|
outline: {
|
|
30
31
|
inputWrapper: string[];
|
|
31
|
-
|
|
32
|
+
readonlyWrapper: string[];
|
|
32
33
|
};
|
|
33
34
|
underline: {
|
|
34
35
|
inputWrapper: string[];
|
|
35
|
-
|
|
36
|
+
readonlyWrapper: string[];
|
|
36
37
|
};
|
|
37
38
|
};
|
|
38
39
|
color: {
|
|
39
40
|
primary: {
|
|
40
41
|
content: string[];
|
|
41
42
|
helperMessage: string[];
|
|
43
|
+
readonly: string[];
|
|
42
44
|
};
|
|
43
45
|
secondary: {
|
|
44
46
|
content: string[];
|
|
@@ -110,26 +112,28 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
110
112
|
content: string[];
|
|
111
113
|
helperMessage: string[];
|
|
112
114
|
errorMessage: string[];
|
|
113
|
-
|
|
115
|
+
readonlyWrapper: string[];
|
|
116
|
+
readonly: never[];
|
|
114
117
|
}, undefined, {
|
|
115
118
|
variant: {
|
|
116
119
|
solid: {
|
|
117
120
|
inputWrapper: string[];
|
|
118
|
-
|
|
121
|
+
readonlyWrapper: string[];
|
|
119
122
|
};
|
|
120
123
|
outline: {
|
|
121
124
|
inputWrapper: string[];
|
|
122
|
-
|
|
125
|
+
readonlyWrapper: string[];
|
|
123
126
|
};
|
|
124
127
|
underline: {
|
|
125
128
|
inputWrapper: string[];
|
|
126
|
-
|
|
129
|
+
readonlyWrapper: string[];
|
|
127
130
|
};
|
|
128
131
|
};
|
|
129
132
|
color: {
|
|
130
133
|
primary: {
|
|
131
134
|
content: string[];
|
|
132
135
|
helperMessage: string[];
|
|
136
|
+
readonly: string[];
|
|
133
137
|
};
|
|
134
138
|
secondary: {
|
|
135
139
|
content: string[];
|
|
@@ -201,26 +205,28 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
201
205
|
content: string[];
|
|
202
206
|
helperMessage: string[];
|
|
203
207
|
errorMessage: string[];
|
|
204
|
-
|
|
208
|
+
readonlyWrapper: string[];
|
|
209
|
+
readonly: never[];
|
|
205
210
|
}, tailwind_variants.TVReturnType<{
|
|
206
211
|
variant: {
|
|
207
212
|
solid: {
|
|
208
213
|
inputWrapper: string[];
|
|
209
|
-
|
|
214
|
+
readonlyWrapper: string[];
|
|
210
215
|
};
|
|
211
216
|
outline: {
|
|
212
217
|
inputWrapper: string[];
|
|
213
|
-
|
|
218
|
+
readonlyWrapper: string[];
|
|
214
219
|
};
|
|
215
220
|
underline: {
|
|
216
221
|
inputWrapper: string[];
|
|
217
|
-
|
|
222
|
+
readonlyWrapper: string[];
|
|
218
223
|
};
|
|
219
224
|
};
|
|
220
225
|
color: {
|
|
221
226
|
primary: {
|
|
222
227
|
content: string[];
|
|
223
228
|
helperMessage: string[];
|
|
229
|
+
readonly: string[];
|
|
224
230
|
};
|
|
225
231
|
secondary: {
|
|
226
232
|
content: string[];
|
|
@@ -292,7 +298,8 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
292
298
|
content: string[];
|
|
293
299
|
helperMessage: string[];
|
|
294
300
|
errorMessage: string[];
|
|
295
|
-
|
|
301
|
+
readonlyWrapper: string[];
|
|
302
|
+
readonly: never[];
|
|
296
303
|
}, undefined, unknown, unknown, undefined>>;
|
|
297
304
|
type InputVariantProps = VariantProps<typeof inputStyle>;
|
|
298
305
|
type InputSlots = keyof ReturnType<typeof inputStyle>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ComponentProps, ReactElement } from 'react';
|
|
4
5
|
import { Size, SlotsToClasses } from '../../utils/types.js';
|
|
5
6
|
|
|
6
7
|
interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
@@ -18,27 +19,28 @@ interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
|
18
19
|
classNames?: SlotsToClasses<InputSlots>;
|
|
19
20
|
}
|
|
20
21
|
type InputProps = Props & InputVariantProps;
|
|
21
|
-
declare const Input:
|
|
22
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
22
23
|
|
|
23
24
|
declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
24
25
|
variant: {
|
|
25
26
|
solid: {
|
|
26
27
|
inputWrapper: string[];
|
|
27
|
-
|
|
28
|
+
readonlyWrapper: string[];
|
|
28
29
|
};
|
|
29
30
|
outline: {
|
|
30
31
|
inputWrapper: string[];
|
|
31
|
-
|
|
32
|
+
readonlyWrapper: string[];
|
|
32
33
|
};
|
|
33
34
|
underline: {
|
|
34
35
|
inputWrapper: string[];
|
|
35
|
-
|
|
36
|
+
readonlyWrapper: string[];
|
|
36
37
|
};
|
|
37
38
|
};
|
|
38
39
|
color: {
|
|
39
40
|
primary: {
|
|
40
41
|
content: string[];
|
|
41
42
|
helperMessage: string[];
|
|
43
|
+
readonly: string[];
|
|
42
44
|
};
|
|
43
45
|
secondary: {
|
|
44
46
|
content: string[];
|
|
@@ -110,26 +112,28 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
110
112
|
content: string[];
|
|
111
113
|
helperMessage: string[];
|
|
112
114
|
errorMessage: string[];
|
|
113
|
-
|
|
115
|
+
readonlyWrapper: string[];
|
|
116
|
+
readonly: never[];
|
|
114
117
|
}, undefined, {
|
|
115
118
|
variant: {
|
|
116
119
|
solid: {
|
|
117
120
|
inputWrapper: string[];
|
|
118
|
-
|
|
121
|
+
readonlyWrapper: string[];
|
|
119
122
|
};
|
|
120
123
|
outline: {
|
|
121
124
|
inputWrapper: string[];
|
|
122
|
-
|
|
125
|
+
readonlyWrapper: string[];
|
|
123
126
|
};
|
|
124
127
|
underline: {
|
|
125
128
|
inputWrapper: string[];
|
|
126
|
-
|
|
129
|
+
readonlyWrapper: string[];
|
|
127
130
|
};
|
|
128
131
|
};
|
|
129
132
|
color: {
|
|
130
133
|
primary: {
|
|
131
134
|
content: string[];
|
|
132
135
|
helperMessage: string[];
|
|
136
|
+
readonly: string[];
|
|
133
137
|
};
|
|
134
138
|
secondary: {
|
|
135
139
|
content: string[];
|
|
@@ -201,26 +205,28 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
201
205
|
content: string[];
|
|
202
206
|
helperMessage: string[];
|
|
203
207
|
errorMessage: string[];
|
|
204
|
-
|
|
208
|
+
readonlyWrapper: string[];
|
|
209
|
+
readonly: never[];
|
|
205
210
|
}, tailwind_variants.TVReturnType<{
|
|
206
211
|
variant: {
|
|
207
212
|
solid: {
|
|
208
213
|
inputWrapper: string[];
|
|
209
|
-
|
|
214
|
+
readonlyWrapper: string[];
|
|
210
215
|
};
|
|
211
216
|
outline: {
|
|
212
217
|
inputWrapper: string[];
|
|
213
|
-
|
|
218
|
+
readonlyWrapper: string[];
|
|
214
219
|
};
|
|
215
220
|
underline: {
|
|
216
221
|
inputWrapper: string[];
|
|
217
|
-
|
|
222
|
+
readonlyWrapper: string[];
|
|
218
223
|
};
|
|
219
224
|
};
|
|
220
225
|
color: {
|
|
221
226
|
primary: {
|
|
222
227
|
content: string[];
|
|
223
228
|
helperMessage: string[];
|
|
229
|
+
readonly: string[];
|
|
224
230
|
};
|
|
225
231
|
secondary: {
|
|
226
232
|
content: string[];
|
|
@@ -292,7 +298,8 @@ declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
|
292
298
|
content: string[];
|
|
293
299
|
helperMessage: string[];
|
|
294
300
|
errorMessage: string[];
|
|
295
|
-
|
|
301
|
+
readonlyWrapper: string[];
|
|
302
|
+
readonly: never[];
|
|
296
303
|
}, undefined, unknown, unknown, undefined>>;
|
|
297
304
|
type InputVariantProps = VariantProps<typeof inputStyle>;
|
|
298
305
|
type InputSlots = keyof ReturnType<typeof inputStyle>;
|