@tak-ps/vue-tabler 3.45.0 → 3.46.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.46.0
14
+
15
+ - :rocket: Add `size` prop for delete icon size
16
+
17
+ ### v3.45.1
18
+
19
+ - :bug: Placeholder should be first option on input if present
20
+
13
21
  ### v3.45.0
14
22
 
15
23
  - :rocket: Add loading to delete button
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  </template>
8
8
  <template v-else>
9
- <IconTrash @click.stop.prevent='modal = true' size='32' class='cursor-pointer'/>
9
+ <IconTrash @click.stop.prevent='modal = true' :size='size' class='cursor-pointer'/>
10
10
  </template>
11
11
 
12
12
  <TablerModal v-if='modal'>
@@ -44,6 +44,10 @@ export default {
44
44
  type: String,
45
45
  default: 'Delete'
46
46
  },
47
+ size: {
48
+ type: Number,
49
+ default: 32
50
+ },
47
51
  displaytype: {
48
52
  type: String,
49
53
  default: 'button' // Or icon
@@ -12,7 +12,7 @@
12
12
  "is-invalid": errorstr
13
13
  }'
14
14
  class="form-control"
15
- :placeholder='label||placeholder||""'
15
+ :placeholder='placeholder||label||""'
16
16
  />
17
17
  </template>
18
18
  <template v-else>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.45.0",
4
+ "version": "3.46.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",