@tak-ps/vue-tabler 3.69.0 → 3.70.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,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.70.0
14
+
15
+ - :rocket: Add Menu DisplayType option to TablerDelete
16
+
13
17
  ### v3.69.0
14
18
 
15
19
  - :rocket: Move to dropdown for label descriptions
@@ -8,6 +8,18 @@
8
8
  <span v-text='label' />
9
9
  </div>
10
10
  </template>
11
+ <template v-else-if='displaytype === "menu"'>
12
+ <div
13
+ class='cursor-pointer col-12 d-flex align-items-center px-2 py-2'
14
+ @click.stop.prevent='modal = true'
15
+ >
16
+ <IconTrash
17
+ :size='32'
18
+ stroke='1'
19
+ />
20
+ <span class='mx-2' v-text='label'/>
21
+ </div>
22
+ </template>
11
23
  <template v-else>
12
24
  <TablerIconButton
13
25
  title='Delete'
@@ -17,7 +29,7 @@
17
29
  :size='size'
18
30
  :stroke='1'
19
31
  />
20
- </tablericonbutton>
32
+ </TablerIconButton>
21
33
  </template>
22
34
 
23
35
  <TablerModal v-if='modal'>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.69.0",
4
+ "version": "3.70.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",