@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-xs text-input-accent-invalid dark:text-input-accent-invalid-dark tracking-tight",
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
- `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
@@ -190,7 +195,7 @@
190
195
  class={twMerge(
191
196
  "validation-box",
192
197
  _classCommon,
193
- "my-1 text-xs px-2 text-input-accent-invalid dark:text-input-accent-invalid-dark",
198
+ "my-1 text-sm px-2 text-input-accent-invalid dark:text-input-accent-invalid-dark",
194
199
  classValidationBox
195
200
  )}
196
201
  >
@@ -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.25",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",