@marianmeres/stuic 2.1.23 → 2.1.25
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.
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
class={twMerge(
|
|
174
174
|
"validation-box",
|
|
175
175
|
_classCommon,
|
|
176
|
-
"text-
|
|
176
|
+
"text-sm text-input-accent-invalid dark:text-input-accent-invalid-dark tracking-tight",
|
|
177
177
|
classValidationBox
|
|
178
178
|
)}
|
|
179
179
|
>
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
classLabelBox,
|
|
85
85
|
classInputBox,
|
|
86
86
|
classInputBoxWrap,
|
|
87
|
+
classInputBoxWrapInvalid,
|
|
87
88
|
classDescBox,
|
|
88
89
|
classBelowBox,
|
|
89
90
|
style,
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
{classLabelBox}
|
|
117
118
|
{classInputBox}
|
|
118
119
|
{classInputBoxWrap}
|
|
120
|
+
{classInputBoxWrapInvalid}
|
|
119
121
|
{classDescBox}
|
|
120
122
|
{classBelowBox}
|
|
121
123
|
{validation}
|
|
@@ -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
|
|
@@ -190,7 +195,7 @@
|
|
|
190
195
|
class={twMerge(
|
|
191
196
|
"validation-box",
|
|
192
197
|
_classCommon,
|
|
193
|
-
"my-1 text-
|
|
198
|
+
"my-1 text-sm px-2 text-input-accent-invalid dark:text-input-accent-invalid-dark",
|
|
194
199
|
classValidationBox
|
|
195
200
|
)}
|
|
196
201
|
>
|