@tak-ps/vue-tabler 3.54.0 → 3.54.1

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.54.1
14
+
15
+ - :rocket: Use props instead for IconButton
16
+
13
17
  ### v3.54.0
14
18
 
15
19
  - :tada: Sketch out new `IconButton` component
@@ -1,23 +1,22 @@
1
1
  <template>
2
- <component
3
- :is='icon'
4
- :title='title'
2
+ <div
3
+ :title='title'
4
+ tabindex='0'
5
+ role='button'
6
+ v-tooltip='title'
7
+ class='cursor-pointer hover-button rounded'
8
+ >
9
+ <slot
5
10
  :size='size'
6
11
  :stroke='stroke'
7
- tabindex='0'
8
- v-tooltip='title'
9
- class='cursor-pointer hover-button rounded'
10
12
  />
13
+ </div>
11
14
  </template>
12
15
 
13
16
  <script>
14
17
  export default {
15
18
  name: 'TablerIconButton',
16
19
  props: {
17
- icon: {
18
- type: Object,
19
- required: true
20
- },
21
20
  title: {
22
21
  type: String,
23
22
  required: true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.54.0",
4
+ "version": "3.54.1",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",