@a-vision-software/vue-input-components 1.3.13 → 1.3.14
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/package.json
CHANGED
|
@@ -234,6 +234,34 @@ defineExpose({
|
|
|
234
234
|
grid-template-columns: 1fr;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
+
|
|
238
|
+
&.text-input--has-error {
|
|
239
|
+
border-color: var(--danger-color);
|
|
240
|
+
|
|
241
|
+
.text-input__icon {
|
|
242
|
+
color: var(--danger-color);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&:hover .error-indicator::after {
|
|
246
|
+
content: attr(data-error);
|
|
247
|
+
display: block;
|
|
248
|
+
position: absolute;
|
|
249
|
+
bottom: 0.25rem;
|
|
250
|
+
right: 0;
|
|
251
|
+
padding: 0.25rem 0.75rem;
|
|
252
|
+
color: white;
|
|
253
|
+
background-color: var(--danger-color);
|
|
254
|
+
line-height: var(--line-height);
|
|
255
|
+
min-width: 200px;
|
|
256
|
+
border-radius: 0.25rem;
|
|
257
|
+
z-index: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
input,
|
|
261
|
+
textarea {
|
|
262
|
+
color: var(--danger-color);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
237
265
|
}
|
|
238
266
|
|
|
239
267
|
.text-input.label-top {
|
|
@@ -289,31 +317,10 @@ defineExpose({
|
|
|
289
317
|
border-color: var(--text-input-active-color);
|
|
290
318
|
box-shadow: 0 0 2px var(--text-input-active-color) inset;
|
|
291
319
|
}
|
|
292
|
-
|
|
293
|
-
&.text-input--has-error {
|
|
294
|
-
border-color: var(--danger-color);
|
|
295
|
-
|
|
296
|
-
.text-input__icon {
|
|
297
|
-
color: var(--danger-color);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&:hover .error-indicator::after {
|
|
301
|
-
content: attr(data-error);
|
|
302
|
-
display: block;
|
|
303
|
-
position: absolute;
|
|
304
|
-
bottom: 0.25rem;
|
|
305
|
-
right: 0;
|
|
306
|
-
padding: 0.25rem 0.75rem;
|
|
307
|
-
color: white;
|
|
308
|
-
background-color: var(--danger-color);
|
|
309
|
-
line-height: var(--line-height);
|
|
310
|
-
min-width: 200px;
|
|
311
|
-
border-radius: 0.25rem;
|
|
312
|
-
z-index: 1;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
320
|
}
|
|
316
321
|
|
|
322
|
+
.text-input {}
|
|
323
|
+
|
|
317
324
|
.text-input--disabled {
|
|
318
325
|
opacity: 0.6;
|
|
319
326
|
cursor: not-allowed;
|