@nextui-org/theme 0.0.0-dev-v2-20230405030905 → 0.0.0-dev-v2-20230405200614
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-HGNLDFUE.mjs → chunk-6YCEBN5V.mjs} +7 -1
- package/dist/components/index.js +7 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/input.d.ts +14 -2
- package/dist/components/input.js +7 -1
- package/dist/components/input.mjs +1 -1
- package/dist/index.js +7 -1
- package/dist/index.mjs +3 -3
- package/dist/plugin.mjs +2 -2
- package/package.json +1 -1
- package/dist/{chunk-ACXKYFFZ.mjs → chunk-BMY6CGCY.mjs} +3 -3
|
@@ -189,7 +189,7 @@ var input = tv({
|
|
|
189
189
|
},
|
|
190
190
|
isInvalid: {
|
|
191
191
|
true: {
|
|
192
|
-
label: "text-danger",
|
|
192
|
+
label: "!text-danger",
|
|
193
193
|
input: "placeholder:text-danger text-danger"
|
|
194
194
|
}
|
|
195
195
|
},
|
|
@@ -198,6 +198,12 @@ var input = tv({
|
|
|
198
198
|
label: "after:content-['*'] after:text-danger after:ml-0.5"
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
|
+
isMultiline: {
|
|
202
|
+
true: {
|
|
203
|
+
inputWrapper: "!h-auto",
|
|
204
|
+
input: "resize-none"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
201
207
|
disableAnimation: {
|
|
202
208
|
true: {
|
|
203
209
|
inputWrapper: "transition-none",
|
package/dist/components/index.js
CHANGED
|
@@ -3858,7 +3858,7 @@ var input = (0, import_tailwind_variants25.tv)({
|
|
|
3858
3858
|
},
|
|
3859
3859
|
isInvalid: {
|
|
3860
3860
|
true: {
|
|
3861
|
-
label: "text-danger",
|
|
3861
|
+
label: "!text-danger",
|
|
3862
3862
|
input: "placeholder:text-danger text-danger"
|
|
3863
3863
|
}
|
|
3864
3864
|
},
|
|
@@ -3867,6 +3867,12 @@ var input = (0, import_tailwind_variants25.tv)({
|
|
|
3867
3867
|
label: "after:content-['*'] after:text-danger after:ml-0.5"
|
|
3868
3868
|
}
|
|
3869
3869
|
},
|
|
3870
|
+
isMultiline: {
|
|
3871
|
+
true: {
|
|
3872
|
+
inputWrapper: "!h-auto",
|
|
3873
|
+
input: "resize-none"
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3870
3876
|
disableAnimation: {
|
|
3871
3877
|
true: {
|
|
3872
3878
|
inputWrapper: "transition-none",
|
|
@@ -7,7 +7,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```js
|
|
10
|
-
* const {base, label, inputWrapper, input, clearButton, description,
|
|
10
|
+
* const {base, label, inputWrapper, input, clearButton, description, errorMessage} = input({...})
|
|
11
11
|
*
|
|
12
12
|
* <div className={base())}>
|
|
13
13
|
* <label className={label()}>Label</label>
|
|
@@ -16,7 +16,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
16
16
|
* <button className={clearButton()}>Clear</button>
|
|
17
17
|
* </div>
|
|
18
18
|
* <span className={description()}>Description</span>
|
|
19
|
-
* <span className={
|
|
19
|
+
* <span className={errorMessage()}>Invalid input</span>
|
|
20
20
|
* </div>
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -159,6 +159,12 @@ declare const input: tailwind_variants.TVReturnType<{
|
|
|
159
159
|
label: string;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
+
isMultiline: {
|
|
163
|
+
true: {
|
|
164
|
+
inputWrapper: string;
|
|
165
|
+
input: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
162
168
|
disableAnimation: {
|
|
163
169
|
true: {
|
|
164
170
|
inputWrapper: string;
|
|
@@ -318,6 +324,12 @@ declare const input: tailwind_variants.TVReturnType<{
|
|
|
318
324
|
label: string;
|
|
319
325
|
};
|
|
320
326
|
};
|
|
327
|
+
isMultiline: {
|
|
328
|
+
true: {
|
|
329
|
+
inputWrapper: string;
|
|
330
|
+
input: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
321
333
|
disableAnimation: {
|
|
322
334
|
true: {
|
|
323
335
|
inputWrapper: string;
|
package/dist/components/input.js
CHANGED
|
@@ -221,7 +221,7 @@ var input = (0, import_tailwind_variants.tv)({
|
|
|
221
221
|
},
|
|
222
222
|
isInvalid: {
|
|
223
223
|
true: {
|
|
224
|
-
label: "text-danger",
|
|
224
|
+
label: "!text-danger",
|
|
225
225
|
input: "placeholder:text-danger text-danger"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
@@ -230,6 +230,12 @@ var input = (0, import_tailwind_variants.tv)({
|
|
|
230
230
|
label: "after:content-['*'] after:text-danger after:ml-0.5"
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
|
+
isMultiline: {
|
|
234
|
+
true: {
|
|
235
|
+
inputWrapper: "!h-auto",
|
|
236
|
+
input: "resize-none"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
233
239
|
disableAnimation: {
|
|
234
240
|
true: {
|
|
235
241
|
inputWrapper: "transition-none",
|
package/dist/index.js
CHANGED
|
@@ -3881,7 +3881,7 @@ var input = (0, import_tailwind_variants25.tv)({
|
|
|
3881
3881
|
},
|
|
3882
3882
|
isInvalid: {
|
|
3883
3883
|
true: {
|
|
3884
|
-
label: "text-danger",
|
|
3884
|
+
label: "!text-danger",
|
|
3885
3885
|
input: "placeholder:text-danger text-danger"
|
|
3886
3886
|
}
|
|
3887
3887
|
},
|
|
@@ -3890,6 +3890,12 @@ var input = (0, import_tailwind_variants25.tv)({
|
|
|
3890
3890
|
label: "after:content-['*'] after:text-danger after:ml-0.5"
|
|
3891
3891
|
}
|
|
3892
3892
|
},
|
|
3893
|
+
isMultiline: {
|
|
3894
|
+
true: {
|
|
3895
|
+
inputWrapper: "!h-auto",
|
|
3896
|
+
input: "resize-none"
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3893
3899
|
disableAnimation: {
|
|
3894
3900
|
true: {
|
|
3895
3901
|
inputWrapper: "transition-none",
|
package/dist/index.mjs
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-OIVGIOVG.mjs";
|
|
44
44
|
import {
|
|
45
45
|
input
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6YCEBN5V.mjs";
|
|
47
47
|
import {
|
|
48
48
|
link
|
|
49
49
|
} from "./chunk-5OE5CWK6.mjs";
|
|
@@ -81,9 +81,8 @@ import {
|
|
|
81
81
|
} from "./chunk-LGGZKBOO.mjs";
|
|
82
82
|
import {
|
|
83
83
|
nextui
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-BMY6CGCY.mjs";
|
|
85
85
|
import "./chunk-XLATS5QU.mjs";
|
|
86
|
-
import "./chunk-7QLHM6OE.mjs";
|
|
87
86
|
import {
|
|
88
87
|
absoluteFullClasses,
|
|
89
88
|
baseStyles,
|
|
@@ -100,6 +99,7 @@ import {
|
|
|
100
99
|
} from "./chunk-Y52EXP4A.mjs";
|
|
101
100
|
import "./chunk-37PIXVP4.mjs";
|
|
102
101
|
import "./chunk-M63AFAHO.mjs";
|
|
102
|
+
import "./chunk-7QLHM6OE.mjs";
|
|
103
103
|
import {
|
|
104
104
|
commonColors
|
|
105
105
|
} from "./chunk-CRCBVLUP.mjs";
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BMY6CGCY.mjs";
|
|
4
4
|
import "./chunk-XLATS5QU.mjs";
|
|
5
|
-
import "./chunk-7QLHM6OE.mjs";
|
|
6
5
|
import "./chunk-IJCHUO4J.mjs";
|
|
7
6
|
import "./chunk-WQEDQHKX.mjs";
|
|
8
7
|
import "./chunk-7MQD7UA2.mjs";
|
|
9
8
|
import "./chunk-Y52EXP4A.mjs";
|
|
10
9
|
import "./chunk-37PIXVP4.mjs";
|
|
11
10
|
import "./chunk-M63AFAHO.mjs";
|
|
11
|
+
import "./chunk-7QLHM6OE.mjs";
|
|
12
12
|
import "./chunk-CRCBVLUP.mjs";
|
|
13
13
|
import "./chunk-DCEG5LGX.mjs";
|
|
14
14
|
import "./chunk-L2OL7R23.mjs";
|
package/package.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
utilities
|
|
3
3
|
} from "./chunk-XLATS5QU.mjs";
|
|
4
|
-
import {
|
|
5
|
-
animations
|
|
6
|
-
} from "./chunk-7QLHM6OE.mjs";
|
|
7
4
|
import {
|
|
8
5
|
baseStyles
|
|
9
6
|
} from "./chunk-IJCHUO4J.mjs";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
import {
|
|
14
11
|
removeDefaultKeys
|
|
15
12
|
} from "./chunk-37PIXVP4.mjs";
|
|
13
|
+
import {
|
|
14
|
+
animations
|
|
15
|
+
} from "./chunk-7QLHM6OE.mjs";
|
|
16
16
|
import {
|
|
17
17
|
commonColors
|
|
18
18
|
} from "./chunk-CRCBVLUP.mjs";
|