@saasmakers/ui 0.1.16 → 0.1.17

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
3
  "type": "module",
4
- "version": "0.1.16",
4
+ "version": "0.1.17",
5
5
  "private": false,
6
6
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
7
7
  "license": "MIT",
@@ -40,11 +40,12 @@
40
40
  "@unocss/nuxt": "66.5.4",
41
41
  "@unocss/reset": "66.5.10",
42
42
  "floating-vue": "5.2.2",
43
- "motion-v": "1.7.4"
43
+ "motion-v": "1.7.4",
44
+ "vue": "3.5.22",
45
+ "vue-router": "4.6.3"
44
46
  },
45
47
  "devDependencies": {
46
48
  "nuxt": "4.2.1",
47
- "typescript": "5.9.3",
48
- "vue": "3.5.22"
49
+ "typescript": "5.9.3"
49
50
  }
50
51
  }
package/types/bases.d.ts CHANGED
@@ -25,6 +25,26 @@ declare global {
25
25
  | 'info'
26
26
  | 'success'
27
27
  | 'warning'
28
+
29
+ interface BaseText {
30
+ background?: BaseTextBackground
31
+ bold?: boolean
32
+ hasMargin?: boolean
33
+ maxCharacters?: number
34
+ noWrap?: boolean
35
+ reverse?: boolean
36
+ size?: BaseSize
37
+ skeleton?: boolean
38
+ text?: BaseTextText
39
+ to?: RawLocation
40
+ truncate?: boolean
41
+ underline?: boolean
42
+ uppercase?: boolean
43
+ }
44
+
45
+ type BaseTextBackground = 'gray' | 'white'
46
+
47
+ type BaseTextText = string | { base: string, sm: string }
28
48
  }
29
49
 
30
50
  export { }
package/types/index.d.ts CHANGED
@@ -1,3 +1,8 @@
1
1
  import './bases'
2
2
 
3
+ declare global {
4
+ // Packages
5
+ type RawLocation = import('@intlify/vue-router-bridge').RawLocation
6
+ }
7
+
3
8
  export {}