@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
- `border-input-accent-invalid dark:border-input-accent-invalid-dark
172
- focus-within:border-input-accent-invalid focus-within:dark:border-input-accent-invalid-dark
173
- focus-within:ring-input-accent-invalid/20 focus-within:dark:ring-input-accent-invalid-dark/20`,
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
@@ -26,6 +26,7 @@ interface Props {
26
26
  classLabelBox?: string;
27
27
  classInputBox?: string;
28
28
  classInputBoxWrap?: string;
29
+ classInputBoxWrapInvalid?: string;
29
30
  classDescBox?: string;
30
31
  classBelowBox?: string;
31
32
  classValidationBox?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",