@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.
- package/app/types/bases.d.ts +3 -3
- package/app/types/global.d.ts +1 -3
- package/package.json +1 -1
package/app/types/bases.d.ts
CHANGED
|
@@ -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?:
|
|
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?:
|
|
76
|
+
to?: RouteLocationNamedI18n
|
|
77
77
|
truncate?: boolean
|
|
78
78
|
underline?: boolean
|
|
79
79
|
uppercase?: boolean
|
package/app/types/global.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ import type * as Bases from './bases'
|
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
// Packages
|
|
5
|
-
type
|
|
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
|