@marianmeres/stuic 2.1.23 → 2.1.24
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.
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
classLabelBox?: string;
|
|
32
32
|
classInputBox?: string;
|
|
33
33
|
classInputBoxWrap?: string;
|
|
34
|
+
classInputBoxWrapInvalid?: string;
|
|
34
35
|
classDescBox?: string;
|
|
35
36
|
classBelowBox?: string;
|
|
36
37
|
classValidationBox?: string;
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
classLabelBox,
|
|
61
62
|
classInputBox,
|
|
62
63
|
classInputBoxWrap,
|
|
64
|
+
classInputBoxWrapInvalid,
|
|
63
65
|
classDescBox,
|
|
64
66
|
classBelowBox,
|
|
65
67
|
classValidationBox,
|
|
@@ -168,9 +170,12 @@
|
|
|
168
170
|
focus-within:ring-input-accent/20 focus-within:dark:ring-input-accent-dark/20
|
|
169
171
|
focus-within:ring-4`,
|
|
170
172
|
invalid &&
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
twMerge(
|
|
174
|
+
`border-input-accent-invalid dark:border-input-accent-invalid-dark
|
|
175
|
+
focus-within:border-input-accent-invalid focus-within:dark:border-input-accent-invalid-dark
|
|
176
|
+
focus-within:ring-input-accent-invalid/20 focus-within:dark:ring-input-accent-invalid-dark/20`,
|
|
177
|
+
classInputBoxWrapInvalid
|
|
178
|
+
),
|
|
174
179
|
disabled && "cursor-not-allowed opacity-50",
|
|
175
180
|
_preset.inputBox.size[size],
|
|
176
181
|
classInputBoxWrap
|