@saasmakers/ui 0.1.29 → 0.1.31
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 +54 -68
- package/app/types/index.d.ts +2 -1
- package/package.json +1 -1
package/app/types/bases.d.ts
CHANGED
|
@@ -1,71 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
title?: string
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type BaseDividerBorderStyle = 'dashed' | 'dotted' | 'solid'
|
|
37
|
-
|
|
38
|
-
type BaseDividerSize = 'base' | 'sm'
|
|
39
|
-
|
|
40
|
-
interface BaseText {
|
|
41
|
-
background?: BaseTextBackground
|
|
42
|
-
bold?: boolean
|
|
43
|
-
hasMargin?: boolean
|
|
44
|
-
maxCharacters?: number
|
|
45
|
-
noWrap?: boolean
|
|
46
|
-
reverse?: boolean
|
|
47
|
-
size?: BaseSize
|
|
48
|
-
skeleton?: boolean
|
|
49
|
-
text?: BaseTextText
|
|
50
|
-
to?: RouteLocationRaw
|
|
51
|
-
truncate?: boolean
|
|
52
|
-
underline?: boolean
|
|
53
|
-
uppercase?: boolean
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
type BaseTextBackground = '' | 'gray' | 'white'
|
|
57
|
-
|
|
58
|
-
type BaseTextText = string | { base: string, sm: string }
|
|
1
|
+
export type BaseColor
|
|
2
|
+
= | 'black'
|
|
3
|
+
| 'gray'
|
|
4
|
+
| 'green'
|
|
5
|
+
| 'indigo'
|
|
6
|
+
| 'orange'
|
|
7
|
+
| 'red'
|
|
8
|
+
| 'white'
|
|
9
|
+
|
|
10
|
+
export type BaseSize
|
|
11
|
+
= | '2xl'
|
|
12
|
+
| '2xs'
|
|
13
|
+
| '3xl'
|
|
14
|
+
| '3xs'
|
|
15
|
+
| '4xl'
|
|
16
|
+
| 'base'
|
|
17
|
+
| 'lg'
|
|
18
|
+
| 'sm'
|
|
19
|
+
| 'xl'
|
|
20
|
+
| 'xs'
|
|
21
|
+
|
|
22
|
+
export type BaseStatus
|
|
23
|
+
= | 'error'
|
|
24
|
+
| 'info'
|
|
25
|
+
| 'success'
|
|
26
|
+
| 'warning'
|
|
27
|
+
|
|
28
|
+
export interface BaseDivider {
|
|
29
|
+
borderStyle?: BaseDividerBorderStyle
|
|
30
|
+
margin?: number
|
|
31
|
+
size?: BaseDividerSize
|
|
32
|
+
title?: string
|
|
59
33
|
}
|
|
60
34
|
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
35
|
+
export type BaseDividerBorderStyle = 'dashed' | 'dotted' | 'solid'
|
|
36
|
+
|
|
37
|
+
export type BaseDividerSize = 'base' | 'sm'
|
|
38
|
+
|
|
39
|
+
export interface BaseText {
|
|
40
|
+
background?: BaseTextBackground
|
|
41
|
+
bold?: boolean
|
|
42
|
+
hasMargin?: boolean
|
|
43
|
+
maxCharacters?: number
|
|
44
|
+
noWrap?: boolean
|
|
45
|
+
reverse?: boolean
|
|
46
|
+
size?: BaseSize
|
|
47
|
+
skeleton?: boolean
|
|
48
|
+
text?: BaseTextText
|
|
49
|
+
to?: RouteLocationRaw
|
|
50
|
+
truncate?: boolean
|
|
51
|
+
underline?: boolean
|
|
52
|
+
uppercase?: boolean
|
|
71
53
|
}
|
|
54
|
+
|
|
55
|
+
export type BaseTextBackground = '' | 'gray' | 'white'
|
|
56
|
+
|
|
57
|
+
export type BaseTextText = string | { base: string, sm: string }
|
package/app/types/index.d.ts
CHANGED