@eqtylab/equality 3.1.0 → 3.2.0
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/index.cjs +120 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +120 -68
- package/dist/index.js.map +1 -1
- package/dist/input.module.module.css.module.css +44 -0
- package/package.json +1 -1
|
@@ -62,6 +62,11 @@
|
|
|
62
62
|
outline-style: none;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
.input-container {
|
|
66
|
+
display: flex;
|
|
67
|
+
width: 100%;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
}
|
|
65
70
|
.input-wrapper {
|
|
66
71
|
border-style: var(--tw-border-style);
|
|
67
72
|
border-width: 1px;
|
|
@@ -155,6 +160,40 @@
|
|
|
155
160
|
align-items: center;
|
|
156
161
|
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
157
162
|
}
|
|
163
|
+
.input-wrapper--error {
|
|
164
|
+
border-color: var(--color-brand-red, color(display-p3 0.8114 0.4167 0.3761));
|
|
165
|
+
}
|
|
166
|
+
.input-help-text,
|
|
167
|
+
.input-error-text {
|
|
168
|
+
padding-top: calc(0.25rem * 2);
|
|
169
|
+
font-size: 0.75rem;
|
|
170
|
+
line-height: var(--tw-leading, calc(1 / 0.75));
|
|
171
|
+
}
|
|
172
|
+
.input-help-text {
|
|
173
|
+
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
174
|
+
}
|
|
175
|
+
.input-error-text {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: calc(0.25rem * 1);
|
|
179
|
+
color: var(--color-brand-red, color(display-p3 0.8114 0.4167 0.3761));
|
|
180
|
+
}
|
|
181
|
+
.input-error-list {
|
|
182
|
+
:where(& > :not(:last-child)) {
|
|
183
|
+
--tw-space-y-reverse: 0;
|
|
184
|
+
margin-block-start: calc(calc(0.25rem * 1) * var(--tw-space-y-reverse));
|
|
185
|
+
margin-block-end: calc(calc(0.25rem * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
186
|
+
}
|
|
187
|
+
padding-top: calc(0.25rem * 2);
|
|
188
|
+
}
|
|
189
|
+
.input-error-list .input-error-text {
|
|
190
|
+
padding-top: calc(0.25rem * 0);
|
|
191
|
+
}
|
|
192
|
+
.input-error-icon {
|
|
193
|
+
width: calc(0.25rem * 3);
|
|
194
|
+
height: calc(0.25rem * 3);
|
|
195
|
+
flex-shrink: 0;
|
|
196
|
+
}
|
|
158
197
|
@property --tw-border-style {
|
|
159
198
|
syntax: "*";
|
|
160
199
|
inherits: false;
|
|
@@ -229,3 +268,8 @@
|
|
|
229
268
|
inherits: false;
|
|
230
269
|
initial-value: 0 0 #0000;
|
|
231
270
|
}
|
|
271
|
+
@property --tw-space-y-reverse {
|
|
272
|
+
syntax: "*";
|
|
273
|
+
inherits: false;
|
|
274
|
+
initial-value: 0;
|
|
275
|
+
}
|
package/package.json
CHANGED