@saasmakers/ui 0.1.25 → 0.1.27
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
CHANGED
|
@@ -1,57 +1,61 @@
|
|
|
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
|
-
|
|
1
|
+
declare global {
|
|
2
|
+
type BaseColor
|
|
3
|
+
= | 'black'
|
|
4
|
+
| 'gray'
|
|
5
|
+
| 'green'
|
|
6
|
+
| 'indigo'
|
|
7
|
+
| 'orange'
|
|
8
|
+
| 'red'
|
|
9
|
+
| 'white'
|
|
10
|
+
|
|
11
|
+
type BaseSize
|
|
12
|
+
= | '2xl'
|
|
13
|
+
| '2xs'
|
|
14
|
+
| '3xl'
|
|
15
|
+
| '3xs'
|
|
16
|
+
| '4xl'
|
|
17
|
+
| 'base'
|
|
18
|
+
| 'lg'
|
|
19
|
+
| 'sm'
|
|
20
|
+
| 'xl'
|
|
21
|
+
| 'xs'
|
|
22
|
+
|
|
23
|
+
type BaseStatus
|
|
24
|
+
= | 'error'
|
|
25
|
+
| 'info'
|
|
26
|
+
| 'success'
|
|
27
|
+
| 'warning'
|
|
28
|
+
|
|
29
|
+
interface BaseDivider {
|
|
30
|
+
borderStyle?: BaseDividerBorderStyle
|
|
31
|
+
margin?: number
|
|
32
|
+
size?: BaseDividerSize
|
|
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 }
|
|
33
59
|
}
|
|
34
60
|
|
|
35
|
-
export
|
|
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
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export type BaseTextBackground = '' | 'gray' | 'white'
|
|
56
|
-
|
|
57
|
-
export type BaseTextText = string | { base: string, sm: string }
|
|
61
|
+
export {}
|
package/app/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
File without changes
|