@saasmakers/ui 0.1.36 → 0.1.38

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.
@@ -36,7 +36,7 @@ export type BaseDividerBorderStyle = 'dashed' | 'dotted' | 'solid'
36
36
 
37
37
  export type BaseDividerSize = 'base' | 'sm'
38
38
 
39
- interface BaseIcon {
39
+ export interface BaseIcon {
40
40
  bold?: boolean
41
41
  clickable?: boolean
42
42
  color?: BaseColor
@@ -47,7 +47,7 @@ interface BaseIcon {
47
47
  size?: BaseSize
48
48
  status?: BaseStatus
49
49
  text?: BaseTextText
50
- to?: RouteLocationRaw
50
+ to?: RouteLocationNamedI18n
51
51
  truncate?: boolean
52
52
  underline?: boolean
53
53
  uppercase?: boolean
@@ -73,7 +73,7 @@ export interface BaseText {
73
73
  size?: BaseSize
74
74
  skeleton?: boolean
75
75
  text?: BaseTextText
76
- to?: RouteLocationRaw
76
+ to?: RouteLocationNamedI18n
77
77
  truncate?: boolean
78
78
  underline?: boolean
79
79
  uppercase?: boolean
@@ -2,9 +2,7 @@ import type * as Bases from './bases'
2
2
 
3
3
  declare global {
4
4
  // Packages
5
- type LocationQuery = import('vue-router').LocationQuery
6
- type RouteLocation = import('vue-router').RouteLocation
7
- type RouteLocationRaw = import('vue-router').RouteLocationRaw
5
+ type RouteLocationNamedI18n = import('vue-router').RouteLocationNamedI18n
8
6
 
9
7
  // Bases
10
8
  type BaseColor = Bases.BaseColor
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
3
  "type": "module",
4
- "version": "0.1.36",
4
+ "version": "0.1.38",
5
5
  "private": false,
6
6
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
7
7
  "license": "MIT",