@tak-ps/vue-tabler 3.49.0 → 3.51.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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
## Version History
|
|
12
12
|
|
|
13
|
+
### v3.51.0
|
|
14
|
+
|
|
15
|
+
- :bug: Fix broken required (`*`) on input forms ow that we don't use `form-label` due to it's margins
|
|
16
|
+
|
|
17
|
+
### v3.50.0
|
|
18
|
+
|
|
19
|
+
- :rocket: Show label conditionally to avoid 4px margin on top of input
|
|
20
|
+
|
|
13
21
|
### v3.49.0
|
|
14
22
|
|
|
15
23
|
- :rocket: Add ability to specify a search icon for TablerInput
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class='row'>
|
|
3
|
-
<TablerLabel
|
|
3
|
+
<TablerLabel
|
|
4
|
+
v-if='label'
|
|
5
|
+
:label='label'
|
|
6
|
+
:description='description'
|
|
7
|
+
:required='required'
|
|
8
|
+
><slot/></TablerLabel>
|
|
4
9
|
<div class='col-12'>
|
|
5
10
|
<template v-if='!rows || rows <= 1'>
|
|
6
11
|
<div class='input-icon'>
|
|
@@ -8,11 +8,10 @@
|
|
|
8
8
|
<div
|
|
9
9
|
v-if='label'
|
|
10
10
|
class="px-2"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
></div>
|
|
11
|
+
>
|
|
12
|
+
<span v-text='label'/>
|
|
13
|
+
<span v-if='required' class='text-red mx-1'>*</span>
|
|
14
|
+
</div>
|
|
16
15
|
</div>
|
|
17
16
|
<div class='ms-auto align-self-center'>
|
|
18
17
|
<slot/>
|