@rocketui/vue 0.0.9 → 0.0.10

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.
@@ -1,114 +0,0 @@
1
- import { type CSSProperties } from 'vue';
2
- export interface IProps {
3
- /**
4
- * Name of the icon
5
- * @type string
6
- * @default ''
7
- * @example
8
- * <Icon name="icon" />
9
- */
10
- name: string;
11
- /**
12
- * Kind of the icon
13
- * @type 'filled' | 'outlined' | 'round' | 'sharp' | 'two-tone'
14
- * @default 'round'
15
- * @example
16
- * <Icon kind="filled" />
17
- */
18
- kind?: string | 'filled' | 'outlined' | 'round' | 'sharp' | 'two-tone';
19
- /**
20
- * Font size of the icon
21
- * @type number
22
- * @default 24
23
- * @example
24
- * <Icon fontSize="24" />
25
- */
26
- fontSize?: CSSProperties['fontSize'];
27
- /**
28
- * Color of the icon
29
- * @type string
30
- * @default ''
31
- * @example
32
- * <Icon color="red" />
33
- */
34
- color?: CSSProperties['color'];
35
- /**
36
- * Font weight of the icon
37
- * @type string
38
- * @default 'normal'
39
- * @example
40
- * <Icon fontWeight="bold" />
41
- */
42
- fontWeight?: CSSProperties['fontWeight'];
43
- }
44
- declare const _sfc_main: import("vue").DefineComponent<{
45
- name: {
46
- type: StringConstructor;
47
- required: true;
48
- default: string;
49
- };
50
- kind: {
51
- type: StringConstructor;
52
- required: false;
53
- default: string;
54
- };
55
- fontSize: {
56
- type: any;
57
- required: false;
58
- default: number;
59
- };
60
- color: {
61
- type: any;
62
- required: false;
63
- default: string;
64
- };
65
- fontWeight: {
66
- type: any;
67
- required: false;
68
- default: string;
69
- };
70
- }, {
71
- props: any;
72
- styles: import("vue").ComputedRef<{
73
- fontSize: string;
74
- fontWeight: import("csstype").FontWeightProperty;
75
- color: string;
76
- display: string;
77
- alignItems: string;
78
- justifyContent: string;
79
- }>;
80
- classes: import("vue").ComputedRef<string>;
81
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
82
- name: {
83
- type: StringConstructor;
84
- required: true;
85
- default: string;
86
- };
87
- kind: {
88
- type: StringConstructor;
89
- required: false;
90
- default: string;
91
- };
92
- fontSize: {
93
- type: any;
94
- required: false;
95
- default: number;
96
- };
97
- color: {
98
- type: any;
99
- required: false;
100
- default: string;
101
- };
102
- fontWeight: {
103
- type: any;
104
- required: false;
105
- default: string;
106
- };
107
- }>>, {
108
- name: string;
109
- kind: string;
110
- fontSize: any;
111
- color: any;
112
- fontWeight: any;
113
- }>;
114
- export default _sfc_main;
@@ -1,67 +0,0 @@
1
- import type { HTMLAttributes, LabelHTMLAttributes } from 'vue';
2
- export interface LabelProps {
3
- /**
4
- * id of the label
5
- * @type HTMLAttributes['id']
6
- * @default ''
7
- * @example
8
- * <Label id="label" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * for of the label
14
- * @type LabelHTMLAttributes['for']
15
- * @default ''
16
- * @example
17
- * <Label for="label" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
19
- */
20
- for: LabelHTMLAttributes['for'];
21
- /**
22
- * text of the label
23
- * @type string | number
24
- * @default ''
25
- * @example
26
- * <Label text="Label" />
27
- */
28
- text: string | number;
29
- }
30
- declare const _sfc_main: import("vue").DefineComponent<{
31
- id: {
32
- type: any;
33
- required: true;
34
- default: string;
35
- };
36
- for: {
37
- type: any;
38
- required: true;
39
- default: string;
40
- };
41
- text: {
42
- type: (StringConstructor | NumberConstructor)[];
43
- required: true;
44
- default: string;
45
- };
46
- }, {
47
- props: any;
48
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
- id: {
50
- type: any;
51
- required: true;
52
- default: string;
53
- };
54
- for: {
55
- type: any;
56
- required: true;
57
- default: string;
58
- };
59
- text: {
60
- type: (StringConstructor | NumberConstructor)[];
61
- required: true;
62
- default: string;
63
- };
64
- }>>, {
65
- text: string | number;
66
- }>;
67
- export default _sfc_main;
@@ -1,419 +0,0 @@
1
- export interface IProps {
2
- /**
3
- * Text of the snackbar
4
- * @type string
5
- * @default ''
6
- * @example
7
- * <Snackbar text="Snackbar" />
8
- */
9
- text: string;
10
- /**
11
- * Action text of the snackbar
12
- * @type string
13
- * @default ''
14
- * @example
15
- * <Snackbar actionText="Action" />
16
- */
17
- actionText?: string;
18
- /**
19
- * Show action of the snackbar
20
- * @type boolean
21
- * @default false
22
- * @example
23
- * <Snackbar showAction />
24
- */
25
- showAction?: boolean;
26
- /**
27
- * Show close of the snackbar
28
- * @type boolean
29
- * @default false
30
- * @example
31
- * <Snackbar showClose />
32
- */
33
- showClose?: boolean;
34
- /**
35
- * Left of the snackbar
36
- * @type boolean
37
- * @default false
38
- * @example
39
- * <Snackbar left />
40
- */
41
- left?: boolean;
42
- /**
43
- * Show of the snackbar
44
- * @type boolean
45
- * @default false
46
- * @example
47
- * <Snackbar show />
48
- */
49
- show?: boolean;
50
- /**
51
- * Timeout of the snackbar
52
- * @type number
53
- * @default 0
54
- * @example
55
- * <Snackbar timeout="1000" />
56
- */
57
- timeout?: number;
58
- }
59
- declare const _sfc_main: import("vue").DefineComponent<{
60
- text: {
61
- type: StringConstructor;
62
- required: true;
63
- default: string;
64
- };
65
- actionText: {
66
- type: StringConstructor;
67
- required: false;
68
- default: string;
69
- };
70
- showAction: {
71
- type: BooleanConstructor;
72
- required: false;
73
- default: boolean;
74
- };
75
- showClose: {
76
- type: BooleanConstructor;
77
- required: false;
78
- default: boolean;
79
- };
80
- left: {
81
- type: BooleanConstructor;
82
- required: false;
83
- default: boolean;
84
- };
85
- show: {
86
- type: BooleanConstructor;
87
- required: false;
88
- default: boolean;
89
- };
90
- timeout: {
91
- type: NumberConstructor;
92
- required: false;
93
- default: number;
94
- };
95
- }, {
96
- props: any;
97
- shown: import("vue").Ref<boolean>;
98
- emit: (event: "click:close" | "click:action", ...args: any[]) => void;
99
- onClickAction: () => void;
100
- onClose: () => void;
101
- Button: import("vue").DefineComponent<{
102
- variant: {
103
- type: StringConstructor;
104
- required: true;
105
- default: string;
106
- };
107
- loading: {
108
- type: BooleanConstructor;
109
- required: false;
110
- default: boolean;
111
- };
112
- disabled: {
113
- type: BooleanConstructor;
114
- required: false;
115
- default: boolean;
116
- };
117
- prependIcon: {
118
- type: StringConstructor;
119
- required: false;
120
- default: string;
121
- };
122
- appendIcon: {
123
- type: StringConstructor;
124
- required: false;
125
- default: string;
126
- };
127
- onlyIcon: {
128
- type: BooleanConstructor;
129
- required: false;
130
- default: boolean;
131
- };
132
- size: {
133
- type: StringConstructor;
134
- required: false;
135
- default: string;
136
- };
137
- height: {
138
- type: StringConstructor;
139
- required: false;
140
- default: string;
141
- };
142
- block: {
143
- type: BooleanConstructor;
144
- required: false;
145
- default: boolean;
146
- };
147
- backgroundColor: {
148
- type: any;
149
- required: false;
150
- default: string;
151
- };
152
- }, {
153
- props: any;
154
- classes: import("vue").ComputedRef<{
155
- [x: string]: boolean;
156
- button: boolean;
157
- "button--loading": boolean;
158
- "button--only-icon": boolean;
159
- "button--block": boolean;
160
- }>;
161
- iconSize: import("vue").ComputedRef<16 | 20>;
162
- style: import("vue").ComputedRef<{
163
- backgroundColor: string;
164
- height: string;
165
- }>;
166
- Icon: import("vue").DefineComponent<{
167
- name: {
168
- type: StringConstructor;
169
- required: true;
170
- default: string;
171
- };
172
- kind: {
173
- type: StringConstructor;
174
- required: false;
175
- default: string;
176
- };
177
- fontSize: {
178
- type: any;
179
- required: false;
180
- default: number;
181
- };
182
- color: {
183
- type: any;
184
- required: false;
185
- default: string;
186
- };
187
- fontWeight: {
188
- type: any;
189
- required: false;
190
- default: string;
191
- };
192
- }, {
193
- props: any;
194
- styles: import("vue").ComputedRef<{
195
- fontSize: string;
196
- fontWeight: import("csstype").FontWeightProperty;
197
- color: string;
198
- display: string;
199
- alignItems: string;
200
- justifyContent: string;
201
- }>;
202
- classes: import("vue").ComputedRef<string>;
203
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
204
- name: {
205
- type: StringConstructor;
206
- required: true;
207
- default: string;
208
- };
209
- kind: {
210
- type: StringConstructor;
211
- required: false;
212
- default: string;
213
- };
214
- fontSize: {
215
- type: any;
216
- required: false;
217
- default: number;
218
- };
219
- color: {
220
- type: any;
221
- required: false;
222
- default: string;
223
- };
224
- fontWeight: {
225
- type: any;
226
- required: false;
227
- default: string;
228
- };
229
- }>>, {
230
- name: string;
231
- kind: string;
232
- fontSize: any;
233
- color: any;
234
- fontWeight: any;
235
- }>;
236
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
237
- variant: {
238
- type: StringConstructor;
239
- required: true;
240
- default: string;
241
- };
242
- loading: {
243
- type: BooleanConstructor;
244
- required: false;
245
- default: boolean;
246
- };
247
- disabled: {
248
- type: BooleanConstructor;
249
- required: false;
250
- default: boolean;
251
- };
252
- prependIcon: {
253
- type: StringConstructor;
254
- required: false;
255
- default: string;
256
- };
257
- appendIcon: {
258
- type: StringConstructor;
259
- required: false;
260
- default: string;
261
- };
262
- onlyIcon: {
263
- type: BooleanConstructor;
264
- required: false;
265
- default: boolean;
266
- };
267
- size: {
268
- type: StringConstructor;
269
- required: false;
270
- default: string;
271
- };
272
- height: {
273
- type: StringConstructor;
274
- required: false;
275
- default: string;
276
- };
277
- block: {
278
- type: BooleanConstructor;
279
- required: false;
280
- default: boolean;
281
- };
282
- backgroundColor: {
283
- type: any;
284
- required: false;
285
- default: string;
286
- };
287
- }>> & {
288
- onClick?: (...args: any[]) => any;
289
- }, {
290
- size: string;
291
- variant: string;
292
- backgroundColor: any;
293
- loading: boolean;
294
- disabled: boolean;
295
- prependIcon: string;
296
- appendIcon: string;
297
- onlyIcon: boolean;
298
- height: string;
299
- block: boolean;
300
- }>;
301
- Icon: import("vue").DefineComponent<{
302
- name: {
303
- type: StringConstructor;
304
- required: true;
305
- default: string;
306
- };
307
- kind: {
308
- type: StringConstructor;
309
- required: false;
310
- default: string;
311
- };
312
- fontSize: {
313
- type: any;
314
- required: false;
315
- default: number;
316
- };
317
- color: {
318
- type: any;
319
- required: false;
320
- default: string;
321
- };
322
- fontWeight: {
323
- type: any;
324
- required: false;
325
- default: string;
326
- };
327
- }, {
328
- props: any;
329
- styles: import("vue").ComputedRef<{
330
- fontSize: string;
331
- fontWeight: import("csstype").FontWeightProperty;
332
- color: string;
333
- display: string;
334
- alignItems: string;
335
- justifyContent: string;
336
- }>;
337
- classes: import("vue").ComputedRef<string>;
338
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
339
- name: {
340
- type: StringConstructor;
341
- required: true;
342
- default: string;
343
- };
344
- kind: {
345
- type: StringConstructor;
346
- required: false;
347
- default: string;
348
- };
349
- fontSize: {
350
- type: any;
351
- required: false;
352
- default: number;
353
- };
354
- color: {
355
- type: any;
356
- required: false;
357
- default: string;
358
- };
359
- fontWeight: {
360
- type: any;
361
- required: false;
362
- default: string;
363
- };
364
- }>>, {
365
- name: string;
366
- kind: string;
367
- fontSize: any;
368
- color: any;
369
- fontWeight: any;
370
- }>;
371
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click:close" | "click:action")[], "click:close" | "click:action", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
372
- text: {
373
- type: StringConstructor;
374
- required: true;
375
- default: string;
376
- };
377
- actionText: {
378
- type: StringConstructor;
379
- required: false;
380
- default: string;
381
- };
382
- showAction: {
383
- type: BooleanConstructor;
384
- required: false;
385
- default: boolean;
386
- };
387
- showClose: {
388
- type: BooleanConstructor;
389
- required: false;
390
- default: boolean;
391
- };
392
- left: {
393
- type: BooleanConstructor;
394
- required: false;
395
- default: boolean;
396
- };
397
- show: {
398
- type: BooleanConstructor;
399
- required: false;
400
- default: boolean;
401
- };
402
- timeout: {
403
- type: NumberConstructor;
404
- required: false;
405
- default: number;
406
- };
407
- }>> & {
408
- "onClick:close"?: (...args: any[]) => any;
409
- "onClick:action"?: (...args: any[]) => any;
410
- }, {
411
- text: string;
412
- left: boolean;
413
- actionText: string;
414
- showAction: boolean;
415
- showClose: boolean;
416
- show: boolean;
417
- timeout: number;
418
- }>;
419
- export default _sfc_main;