@tak-ps/vue-tabler 3.63.0 → 3.64.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.64.0
14
+
15
+ - :tada: Map TablerIconButton Enter actions to Click
16
+
13
17
  ### v3.63.0
14
18
 
15
19
  - :rocket: Include Icon Slot
@@ -1,16 +1,22 @@
1
1
  <template>
2
2
  <div
3
+ :ref='iconid'
3
4
  v-tooltip='title'
4
5
  tabindex='0'
5
6
  role='button'
6
7
  class='cursor-pointer rounded'
8
+ @keyup.enter='icon.click()'
7
9
  >
8
10
  <slot />
9
11
  </div>
10
12
  </template>
11
13
 
12
14
  <script setup>
13
- import { defineProps } from 'vue'
15
+ import { useId, defineProps, useTemplateRef } from 'vue'
16
+
17
+ const iconid = useId();
18
+
19
+ const icon = useTemplateRef(iconid);
14
20
 
15
21
  defineProps({
16
22
  title: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.63.0",
4
+ "version": "3.64.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",