@saasmakers/ui 0.1.82 → 0.1.83

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.
@@ -1,14 +1,8 @@
1
+ import type { Directive } from 'vue'
1
2
  import type { LayerIconIcon as LayerIconIconType, LayerIconValue as LayerIconValueType } from '../composables/useLayerIcons'
2
3
  import type * as Bases from './bases'
3
4
  import type * as Fields from './fields'
4
5
 
5
- declare module '@vue/runtime-core' {
6
- interface ComponentCustomProperties {
7
- vHotkey?: Record<string, (event?: KeyboardEvent | MouseEvent) => void>
8
- vTooltip?: Record<string, unknown> | string
9
- }
10
- }
11
-
12
6
  declare global {
13
7
  // Project
14
8
  type LayerIconIcon = LayerIconIconType
@@ -113,4 +107,10 @@ declare global {
113
107
  }
114
108
  }
115
109
 
110
+ declare module 'vue' {
111
+ interface GlobalDirectives {
112
+ vTooltip: Directive<HTMLElement, string | { content: string, html?: boolean }>
113
+ }
114
+ }
115
+
116
116
  export * from './bases'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
3
  "type": "module",
4
- "version": "0.1.82",
4
+ "version": "0.1.83",
5
5
  "private": false,
6
6
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
7
7
  "license": "MIT",