@tak-ps/vue-tabler 4.29.1 → 4.29.3
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/CHANGELOG.md +8 -0
- package/components/input/Input.vue +26 -0
- package/components/internal/Label.vue +9 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -341,6 +341,32 @@ input:autofill {
|
|
|
341
341
|
background-color: var(--tabler-input-bg, var(--tblr-bg-forms, var(--tblr-bg-surface, var(--tblr-body-bg))));
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
/*
|
|
345
|
+
* Tabler's input-group-flat strips the seam borders from the .form-control but
|
|
346
|
+
* not from the .input-group-text spans (icon, clear button, end adornment), so
|
|
347
|
+
* their inner borders survive as dividers - and get repainted blue by
|
|
348
|
+
* `.input-group-flat:focus-within .input-group-text` on focus. Drop every
|
|
349
|
+
* inner-facing span border, keeping only the group's outer outline.
|
|
350
|
+
*/
|
|
351
|
+
.input-group :deep(.input-group-text:not(:last-child)) {
|
|
352
|
+
border-right: 0;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.input-group :deep(.input-group-text:not(:first-child)) {
|
|
356
|
+
border-left: 0;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/*
|
|
360
|
+
* The .form-control also carries the standard 1px input drop shadow
|
|
361
|
+
* (--tblr-shadow-input) which the spans lack, leaving a faint horizontal line
|
|
362
|
+
* that starts only where the input does. A flat group should be flat - remove
|
|
363
|
+
* it inside the group entirely.
|
|
364
|
+
*/
|
|
365
|
+
.input-group :deep(.form-control),
|
|
366
|
+
.input-group :deep(.input-group-text) {
|
|
367
|
+
box-shadow: none;
|
|
368
|
+
}
|
|
369
|
+
|
|
344
370
|
.tabler-input-with-end {
|
|
345
371
|
padding-right: 3rem;
|
|
346
372
|
}
|
|
@@ -13,17 +13,16 @@
|
|
|
13
13
|
/>
|
|
14
14
|
</template>
|
|
15
15
|
<template #dropdown>
|
|
16
|
-
<div
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
<div
|
|
17
|
+
class='py-1'
|
|
18
|
+
style='min-width: 300px;'
|
|
19
|
+
>
|
|
20
|
+
<div class='px-3 pt-2 pb-1 fw-bold'>
|
|
21
|
+
{{props.label}}
|
|
22
22
|
</div>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/>
|
|
23
|
+
</div>
|
|
24
|
+
<div class='px-3 pb-2'>
|
|
25
|
+
{{props.description}}
|
|
27
26
|
</div>
|
|
28
27
|
</template>
|
|
29
28
|
</dropdown>
|