veloce-vue 0.20.0 → 0.21.0
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/components/Accordion.vue.d.ts +19 -1
- package/components/Button.vue.d.ts +10 -1
- package/components/Checkbox.vue.d.ts +1 -1
- package/components/Chip.vue.d.ts +1 -1
- package/components/Fieldset.vue.d.ts +1 -1
- package/components/Input.vue.d.ts +2 -2
- package/components/JsonRenderer.vue.d.ts +14 -0
- package/components/Message.vue.d.ts +92 -2
- package/components/MiniEditor.vue.d.ts +12 -0
- package/components/Separator.vue.d.ts +3 -3
- package/components/Skeleton.vue.d.ts +1 -1
- package/components/icon/icons.d.ts +3 -0
- package/components/typography/Blockquote.vue.d.ts +151 -0
- package/components/typography/Code.vue.d.ts +160 -0
- package/components/typography/H1.vue.d.ts +151 -0
- package/components/typography/H2.vue.d.ts +151 -0
- package/components/typography/H3.vue.d.ts +151 -0
- package/components/typography/H4.vue.d.ts +151 -0
- package/components/typography/H5.vue.d.ts +151 -0
- package/components/typography/H6.vue.d.ts +151 -0
- package/components/typography/Label.vue.d.ts +160 -0
- package/components/typography/List.vue.d.ts +123 -0
- package/components/typography/P.vue.d.ts +151 -0
- package/components/typography/Span.vue.d.ts +151 -0
- package/exports/composables.d.ts +1 -0
- package/exports/toast.d.ts +4 -0
- package/exports/types.d.ts +54 -1
- package/exports/typography.d.ts +12 -0
- package/exports/ui.d.ts +2 -0
- package/exports/utils.d.ts +3 -0
- package/icons.js +1 -1
- package/{index-Cqxg4hfC.js → index-BLYh_r9b.js} +216 -167
- package/package.json +1 -1
- package/ui.js +4089 -3096
- package/veloce.css +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Margin, Padding, Size } from '../../exports/types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: () => "ul" | "ol";
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
spacing: {
|
|
9
|
+
type: () => Size;
|
|
10
|
+
default: Size;
|
|
11
|
+
};
|
|
12
|
+
items: {
|
|
13
|
+
type: () => string[] | undefined;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
margin: {
|
|
17
|
+
type: () => Margin;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
marginLeft: {
|
|
21
|
+
type: () => Margin;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
marginRight: {
|
|
25
|
+
type: () => Margin;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
marginTop: {
|
|
29
|
+
type: () => Margin;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
marginBottom: {
|
|
33
|
+
type: () => Margin;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
padding: {
|
|
37
|
+
type: () => Padding;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
paddingLeft: {
|
|
41
|
+
type: () => Padding;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
paddingRight: {
|
|
45
|
+
type: () => Padding;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
paddingTop: {
|
|
49
|
+
type: () => Padding;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
paddingBottom: {
|
|
53
|
+
type: () => Padding;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
+
type: {
|
|
58
|
+
type: () => "ul" | "ol";
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
spacing: {
|
|
62
|
+
type: () => Size;
|
|
63
|
+
default: Size;
|
|
64
|
+
};
|
|
65
|
+
items: {
|
|
66
|
+
type: () => string[] | undefined;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
margin: {
|
|
70
|
+
type: () => Margin;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
marginLeft: {
|
|
74
|
+
type: () => Margin;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
marginRight: {
|
|
78
|
+
type: () => Margin;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
marginTop: {
|
|
82
|
+
type: () => Margin;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
marginBottom: {
|
|
86
|
+
type: () => Margin;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
padding: {
|
|
90
|
+
type: () => Padding;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
paddingLeft: {
|
|
94
|
+
type: () => Padding;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
paddingRight: {
|
|
98
|
+
type: () => Padding;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
paddingTop: {
|
|
102
|
+
type: () => Padding;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
paddingBottom: {
|
|
106
|
+
type: () => Padding;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{}>, {
|
|
110
|
+
type: "ol" | "ul";
|
|
111
|
+
margin: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
112
|
+
marginLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
113
|
+
marginRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
114
|
+
marginTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
115
|
+
marginBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
116
|
+
padding: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
117
|
+
paddingLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
118
|
+
paddingRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
119
|
+
paddingTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
120
|
+
paddingBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
121
|
+
spacing: Size;
|
|
122
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
export default _default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { TextColor, FontWeight, Margin, Padding, FontSize, LineHeight, LetterSpacing } from '../../exports/types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
text: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
fontSize: {
|
|
9
|
+
type: () => FontSize;
|
|
10
|
+
default: FontSize;
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
type: () => TextColor;
|
|
14
|
+
default: TextColor;
|
|
15
|
+
};
|
|
16
|
+
fontWeight: {
|
|
17
|
+
type: () => FontWeight;
|
|
18
|
+
default: FontWeight;
|
|
19
|
+
};
|
|
20
|
+
lineHeight: {
|
|
21
|
+
type: () => LineHeight;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
letterSpacing: {
|
|
25
|
+
type: () => LetterSpacing;
|
|
26
|
+
default: LetterSpacing;
|
|
27
|
+
};
|
|
28
|
+
margin: {
|
|
29
|
+
type: () => Margin;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
marginLeft: {
|
|
33
|
+
type: () => Margin;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
marginRight: {
|
|
37
|
+
type: () => Margin;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
marginTop: {
|
|
41
|
+
type: () => Margin;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
marginBottom: {
|
|
45
|
+
type: () => Margin;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
padding: {
|
|
49
|
+
type: () => Padding;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
paddingLeft: {
|
|
53
|
+
type: () => Padding;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
paddingRight: {
|
|
57
|
+
type: () => Padding;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
paddingTop: {
|
|
61
|
+
type: () => Padding;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
paddingBottom: {
|
|
65
|
+
type: () => Padding;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
69
|
+
text: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
fontSize: {
|
|
74
|
+
type: () => FontSize;
|
|
75
|
+
default: FontSize;
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
type: () => TextColor;
|
|
79
|
+
default: TextColor;
|
|
80
|
+
};
|
|
81
|
+
fontWeight: {
|
|
82
|
+
type: () => FontWeight;
|
|
83
|
+
default: FontWeight;
|
|
84
|
+
};
|
|
85
|
+
lineHeight: {
|
|
86
|
+
type: () => LineHeight;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
letterSpacing: {
|
|
90
|
+
type: () => LetterSpacing;
|
|
91
|
+
default: LetterSpacing;
|
|
92
|
+
};
|
|
93
|
+
margin: {
|
|
94
|
+
type: () => Margin;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
marginLeft: {
|
|
98
|
+
type: () => Margin;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
marginRight: {
|
|
102
|
+
type: () => Margin;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
marginTop: {
|
|
106
|
+
type: () => Margin;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
marginBottom: {
|
|
110
|
+
type: () => Margin;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
padding: {
|
|
114
|
+
type: () => Padding;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
paddingLeft: {
|
|
118
|
+
type: () => Padding;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
paddingRight: {
|
|
122
|
+
type: () => Padding;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
paddingTop: {
|
|
126
|
+
type: () => Padding;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
paddingBottom: {
|
|
130
|
+
type: () => Padding;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
}>> & Readonly<{}>, {
|
|
134
|
+
text: string;
|
|
135
|
+
fontSize: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
136
|
+
color: TextColor;
|
|
137
|
+
fontWeight: FontWeight;
|
|
138
|
+
lineHeight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
139
|
+
letterSpacing: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
140
|
+
margin: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
141
|
+
marginLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
142
|
+
marginRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
143
|
+
marginTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
144
|
+
marginBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
145
|
+
padding: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
146
|
+
paddingLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
147
|
+
paddingRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
148
|
+
paddingTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
149
|
+
paddingBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
150
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLParagraphElement>;
|
|
151
|
+
export default _default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { TextColor, FontWeight, Margin, Padding, FontSize, LineHeight, LetterSpacing } from '../../exports/types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
text: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
fontSize: {
|
|
9
|
+
type: () => FontSize;
|
|
10
|
+
default: FontSize;
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
type: () => TextColor;
|
|
14
|
+
default: TextColor;
|
|
15
|
+
};
|
|
16
|
+
fontWeight: {
|
|
17
|
+
type: () => FontWeight;
|
|
18
|
+
default: FontWeight;
|
|
19
|
+
};
|
|
20
|
+
lineHeight: {
|
|
21
|
+
type: () => LineHeight;
|
|
22
|
+
default: LineHeight;
|
|
23
|
+
};
|
|
24
|
+
letterSpacing: {
|
|
25
|
+
type: () => LetterSpacing;
|
|
26
|
+
default: LetterSpacing;
|
|
27
|
+
};
|
|
28
|
+
margin: {
|
|
29
|
+
type: () => Margin;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
marginLeft: {
|
|
33
|
+
type: () => Margin;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
marginRight: {
|
|
37
|
+
type: () => Margin;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
marginTop: {
|
|
41
|
+
type: () => Margin;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
marginBottom: {
|
|
45
|
+
type: () => Margin;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
padding: {
|
|
49
|
+
type: () => Padding;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
paddingLeft: {
|
|
53
|
+
type: () => Padding;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
paddingRight: {
|
|
57
|
+
type: () => Padding;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
paddingTop: {
|
|
61
|
+
type: () => Padding;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
paddingBottom: {
|
|
65
|
+
type: () => Padding;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
69
|
+
text: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
fontSize: {
|
|
74
|
+
type: () => FontSize;
|
|
75
|
+
default: FontSize;
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
type: () => TextColor;
|
|
79
|
+
default: TextColor;
|
|
80
|
+
};
|
|
81
|
+
fontWeight: {
|
|
82
|
+
type: () => FontWeight;
|
|
83
|
+
default: FontWeight;
|
|
84
|
+
};
|
|
85
|
+
lineHeight: {
|
|
86
|
+
type: () => LineHeight;
|
|
87
|
+
default: LineHeight;
|
|
88
|
+
};
|
|
89
|
+
letterSpacing: {
|
|
90
|
+
type: () => LetterSpacing;
|
|
91
|
+
default: LetterSpacing;
|
|
92
|
+
};
|
|
93
|
+
margin: {
|
|
94
|
+
type: () => Margin;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
marginLeft: {
|
|
98
|
+
type: () => Margin;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
marginRight: {
|
|
102
|
+
type: () => Margin;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
marginTop: {
|
|
106
|
+
type: () => Margin;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
marginBottom: {
|
|
110
|
+
type: () => Margin;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
padding: {
|
|
114
|
+
type: () => Padding;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
paddingLeft: {
|
|
118
|
+
type: () => Padding;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
paddingRight: {
|
|
122
|
+
type: () => Padding;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
paddingTop: {
|
|
126
|
+
type: () => Padding;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
paddingBottom: {
|
|
130
|
+
type: () => Padding;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
}>> & Readonly<{}>, {
|
|
134
|
+
text: string;
|
|
135
|
+
fontSize: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
136
|
+
color: TextColor;
|
|
137
|
+
fontWeight: FontWeight;
|
|
138
|
+
lineHeight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
139
|
+
letterSpacing: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
140
|
+
margin: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
141
|
+
marginLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
142
|
+
marginRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
143
|
+
marginTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
144
|
+
marginBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
145
|
+
padding: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
146
|
+
paddingLeft: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
147
|
+
paddingRight: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
148
|
+
paddingTop: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
149
|
+
paddingBottom: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
150
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
151
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useColorMode } from '../composables/useColorMode';
|
package/exports/types.d.ts
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { Icons } from './icons';
|
|
2
|
+
type Sizes = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
2
3
|
export type Size = "sm" | "md" | "lg" | "xl";
|
|
3
4
|
export type Variant = "outlined" | "link" | "ghost" | "solid" | "soft";
|
|
4
5
|
export type Severity = "primary" | "secondary" | "success" | "info" | "warning" | "error" | "neutral";
|
|
5
|
-
export type FontWeight = "normal" | "medium" | "semibold" | "bold";
|
|
6
6
|
export type Position = "left" | "right" | "top" | "bottom";
|
|
7
7
|
export type Direction = "horizontal" | "vertical";
|
|
8
|
+
export type Margin = Sizes;
|
|
9
|
+
export type Padding = Sizes;
|
|
10
|
+
export type FontSize = Sizes;
|
|
11
|
+
export type FontWeight = "light" | "normal" | "medium" | "semibold" | "bold" | "black";
|
|
12
|
+
export type TextColor = Severity | "default" | "muted";
|
|
13
|
+
export type LineHeight = Sizes;
|
|
14
|
+
export type LetterSpacing = Sizes;
|
|
8
15
|
export type AccordionItem = {
|
|
9
16
|
title: string;
|
|
10
17
|
content: string;
|
|
@@ -12,3 +19,49 @@ export type AccordionItem = {
|
|
|
12
19
|
icon?: Icons;
|
|
13
20
|
active?: boolean;
|
|
14
21
|
};
|
|
22
|
+
type CommonTypographyProps = {
|
|
23
|
+
fontSize?: FontSize;
|
|
24
|
+
color?: TextColor;
|
|
25
|
+
fontWeight?: FontWeight;
|
|
26
|
+
lineHeight?: LineHeight;
|
|
27
|
+
letterSpacing?: LetterSpacing;
|
|
28
|
+
margin?: Margin;
|
|
29
|
+
marginLeft?: Margin;
|
|
30
|
+
marginRight?: Margin;
|
|
31
|
+
marginTop?: Margin;
|
|
32
|
+
marginBottom?: Margin;
|
|
33
|
+
padding?: Padding;
|
|
34
|
+
paddingLeft?: Padding;
|
|
35
|
+
paddingRight?: Padding;
|
|
36
|
+
paddingTop?: Padding;
|
|
37
|
+
paddingBottom?: Padding;
|
|
38
|
+
text?: string;
|
|
39
|
+
};
|
|
40
|
+
type JsonRendererItemBase<TProps = CommonTypographyProps> = {
|
|
41
|
+
props?: TProps;
|
|
42
|
+
id?: string;
|
|
43
|
+
};
|
|
44
|
+
export type JsonRendererItem = ({
|
|
45
|
+
component: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "blockquote";
|
|
46
|
+
} & JsonRendererItemBase<CommonTypographyProps>) | ({
|
|
47
|
+
component: "code";
|
|
48
|
+
} & JsonRendererItemBase<CommonTypographyProps & {
|
|
49
|
+
block?: boolean;
|
|
50
|
+
}>) | ({
|
|
51
|
+
component: "label";
|
|
52
|
+
} & JsonRendererItemBase<CommonTypographyProps & {
|
|
53
|
+
required?: boolean;
|
|
54
|
+
}>) | ({
|
|
55
|
+
component: "list";
|
|
56
|
+
} & JsonRendererItemBase<Omit<CommonTypographyProps, "fontSize" | "color" | "fontWeight" | "lineHeight" | "letterSpacing" | "text"> & {
|
|
57
|
+
type?: "ul" | "ol";
|
|
58
|
+
spacing?: Size;
|
|
59
|
+
items?: string[];
|
|
60
|
+
}>) | ({
|
|
61
|
+
component: "message";
|
|
62
|
+
} & JsonRendererItemBase<Omit<CommonTypographyProps, "fontSize" | "color" | "fontWeight" | "lineHeight" | "letterSpacing"> & {
|
|
63
|
+
severity?: Severity;
|
|
64
|
+
variant?: Variant;
|
|
65
|
+
icon?: Icons;
|
|
66
|
+
}>);
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as Blockquote } from '../components/typography/Blockquote.vue';
|
|
2
|
+
export { default as Code } from '../components/typography/Code.vue';
|
|
3
|
+
export { default as H1 } from '../components/typography/H1.vue';
|
|
4
|
+
export { default as H2 } from '../components/typography/H2.vue';
|
|
5
|
+
export { default as H3 } from '../components/typography/H3.vue';
|
|
6
|
+
export { default as H4 } from '../components/typography/H4.vue';
|
|
7
|
+
export { default as H5 } from '../components/typography/H5.vue';
|
|
8
|
+
export { default as H6 } from '../components/typography/H6.vue';
|
|
9
|
+
export { default as Label } from '../components/typography/Label.vue';
|
|
10
|
+
export { default as List } from '../components/typography/List.vue';
|
|
11
|
+
export { default as P } from '../components/typography/P.vue';
|
|
12
|
+
export { default as Span } from '../components/typography/Span.vue';
|
package/exports/ui.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { default as Chip } from '../components/Chip.vue';
|
|
|
6
6
|
export { default as Drawer } from '../components/Drawer.vue';
|
|
7
7
|
export { default as Fieldset } from '../components/Fieldset.vue';
|
|
8
8
|
export { default as Input } from '../components/Input.vue';
|
|
9
|
+
export { default as JsonRenderer } from '../components/JsonRenderer.vue';
|
|
9
10
|
export { default as Layout } from '../components/Layout.vue';
|
|
10
11
|
export { default as Message } from '../components/Message.vue';
|
|
11
12
|
export { default as Modal } from '../components/Modal.vue';
|
|
@@ -18,3 +19,4 @@ export { default as Separator } from '../components/Separator.vue';
|
|
|
18
19
|
export { default as Skeleton } from '../components/Skeleton.vue';
|
|
19
20
|
export { default as Switch } from '../components/Switch.vue';
|
|
20
21
|
export { default as Tooltip } from '../components/Tooltip.vue';
|
|
22
|
+
export { default as MiniEditor } from '../components/MiniEditor.vue';
|
package/exports/utils.d.ts
CHANGED
package/icons.js
CHANGED