@rocketui/vue 0.0.79 → 0.0.80
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/dist/rocket-ui-vue.d.ts +36 -37
- package/dist/rocket-ui-vue.js +107 -111
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -2
- package/package.json +2 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -128,9 +128,11 @@ declare interface BreadcrumbItem {
|
|
|
128
128
|
onlyIcon?: boolean;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
declare type ButtonColor = 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
|
|
132
|
+
|
|
131
133
|
declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
132
134
|
|
|
133
|
-
declare type ButtonType = '
|
|
135
|
+
declare type ButtonType = 'default' | 'text' | 'outline';
|
|
134
136
|
|
|
135
137
|
declare function handleSelect(): void;
|
|
136
138
|
|
|
@@ -189,7 +191,7 @@ export declare const RAccordion: __VLS_WithTemplateSlots<DefineComponent<{
|
|
|
189
191
|
|
|
190
192
|
export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<{
|
|
191
193
|
type: {
|
|
192
|
-
type: PropType<"
|
|
194
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
193
195
|
required: true;
|
|
194
196
|
default: string;
|
|
195
197
|
};
|
|
@@ -216,7 +218,7 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<{
|
|
|
216
218
|
};
|
|
217
219
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
218
220
|
type: {
|
|
219
|
-
type: PropType<"
|
|
221
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
220
222
|
required: true;
|
|
221
223
|
default: string;
|
|
222
224
|
};
|
|
@@ -244,7 +246,7 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<{
|
|
|
244
246
|
}>> & {
|
|
245
247
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
246
248
|
}, {
|
|
247
|
-
type: "
|
|
249
|
+
type: "success" | "warning" | "info" | "error";
|
|
248
250
|
title: string;
|
|
249
251
|
variant: "outline" | "ghost" | "solid";
|
|
250
252
|
block: boolean;
|
|
@@ -321,7 +323,7 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
|
|
|
321
323
|
default: string;
|
|
322
324
|
};
|
|
323
325
|
variant: {
|
|
324
|
-
type: PropType<"primary" | "
|
|
326
|
+
type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
|
|
325
327
|
default: string;
|
|
326
328
|
};
|
|
327
329
|
hover: {
|
|
@@ -350,7 +352,7 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
|
|
|
350
352
|
default: string;
|
|
351
353
|
};
|
|
352
354
|
variant: {
|
|
353
|
-
type: PropType<"primary" | "
|
|
355
|
+
type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
|
|
354
356
|
default: string;
|
|
355
357
|
};
|
|
356
358
|
hover: {
|
|
@@ -377,7 +379,7 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
|
|
|
377
379
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
378
380
|
}, {
|
|
379
381
|
class: string;
|
|
380
|
-
variant: "primary" | "
|
|
382
|
+
variant: "primary" | "success" | "warning" | "error" | "neutral";
|
|
381
383
|
hover: boolean;
|
|
382
384
|
placement: "bottom" | "left" | "right";
|
|
383
385
|
animation: boolean;
|
|
@@ -425,11 +427,10 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
425
427
|
default: string;
|
|
426
428
|
};
|
|
427
429
|
color: {
|
|
428
|
-
type: PropType<
|
|
430
|
+
type: PropType<ButtonColor>;
|
|
429
431
|
};
|
|
430
|
-
|
|
432
|
+
to: {
|
|
431
433
|
type: PropType<string>;
|
|
432
|
-
default: string;
|
|
433
434
|
};
|
|
434
435
|
variant: {
|
|
435
436
|
type: PropType<ButtonType>;
|
|
@@ -451,7 +452,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
451
452
|
type: PropType<string>;
|
|
452
453
|
default: string;
|
|
453
454
|
};
|
|
454
|
-
|
|
455
|
+
icon: {
|
|
455
456
|
type: PropType<boolean>;
|
|
456
457
|
default: boolean;
|
|
457
458
|
};
|
|
@@ -469,11 +470,10 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
469
470
|
default: string;
|
|
470
471
|
};
|
|
471
472
|
color: {
|
|
472
|
-
type: PropType<
|
|
473
|
+
type: PropType<ButtonColor>;
|
|
473
474
|
};
|
|
474
|
-
|
|
475
|
+
to: {
|
|
475
476
|
type: PropType<string>;
|
|
476
|
-
default: string;
|
|
477
477
|
};
|
|
478
478
|
variant: {
|
|
479
479
|
type: PropType<ButtonType>;
|
|
@@ -495,7 +495,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
495
495
|
type: PropType<string>;
|
|
496
496
|
default: string;
|
|
497
497
|
};
|
|
498
|
-
|
|
498
|
+
icon: {
|
|
499
499
|
type: PropType<boolean>;
|
|
500
500
|
default: boolean;
|
|
501
501
|
};
|
|
@@ -508,13 +508,12 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
508
508
|
}, {
|
|
509
509
|
height: string;
|
|
510
510
|
size: ButtonSize;
|
|
511
|
-
backgroundColor: string;
|
|
512
511
|
variant: ButtonType;
|
|
513
512
|
loading: boolean;
|
|
514
513
|
disabled: boolean;
|
|
515
514
|
prependIcon: string;
|
|
516
515
|
appendIcon: string;
|
|
517
|
-
|
|
516
|
+
icon: boolean;
|
|
518
517
|
block: boolean;
|
|
519
518
|
}>, {
|
|
520
519
|
"custom-icon"?(_: {}): any;
|
|
@@ -598,12 +597,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
598
597
|
type: PropType<string | number>;
|
|
599
598
|
default: string;
|
|
600
599
|
};
|
|
601
|
-
ghost: {
|
|
602
|
-
type: PropType<boolean>;
|
|
603
|
-
default: boolean;
|
|
604
|
-
};
|
|
605
600
|
variant: {
|
|
606
|
-
type: PropType<"primary" | "secondary" | "
|
|
601
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
|
|
607
602
|
required: true;
|
|
608
603
|
default: string;
|
|
609
604
|
};
|
|
@@ -619,6 +614,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
619
614
|
type: PropType<string>;
|
|
620
615
|
default: string;
|
|
621
616
|
};
|
|
617
|
+
ghost: {
|
|
618
|
+
type: PropType<boolean>;
|
|
619
|
+
default: boolean;
|
|
620
|
+
};
|
|
622
621
|
closable: {
|
|
623
622
|
type: PropType<boolean>;
|
|
624
623
|
default: boolean;
|
|
@@ -628,12 +627,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
628
627
|
type: PropType<string | number>;
|
|
629
628
|
default: string;
|
|
630
629
|
};
|
|
631
|
-
ghost: {
|
|
632
|
-
type: PropType<boolean>;
|
|
633
|
-
default: boolean;
|
|
634
|
-
};
|
|
635
630
|
variant: {
|
|
636
|
-
type: PropType<"primary" | "secondary" | "
|
|
631
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
|
|
637
632
|
required: true;
|
|
638
633
|
default: string;
|
|
639
634
|
};
|
|
@@ -649,6 +644,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
649
644
|
type: PropType<string>;
|
|
650
645
|
default: string;
|
|
651
646
|
};
|
|
647
|
+
ghost: {
|
|
648
|
+
type: PropType<boolean>;
|
|
649
|
+
default: boolean;
|
|
650
|
+
};
|
|
652
651
|
closable: {
|
|
653
652
|
type: PropType<boolean>;
|
|
654
653
|
default: boolean;
|
|
@@ -658,11 +657,11 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
658
657
|
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
659
658
|
}, {
|
|
660
659
|
label: string | number;
|
|
661
|
-
|
|
662
|
-
variant: "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
660
|
+
variant: "primary" | "secondary" | "success" | "warning" | "info" | "error";
|
|
663
661
|
disabled: boolean;
|
|
664
662
|
prependIcon: string;
|
|
665
663
|
appendIcon: string;
|
|
664
|
+
ghost: boolean;
|
|
666
665
|
closable: boolean;
|
|
667
666
|
}>, {
|
|
668
667
|
prepend?(_: {}): any;
|
|
@@ -1019,6 +1018,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1019
1018
|
class: {
|
|
1020
1019
|
type: PropType<string>;
|
|
1021
1020
|
};
|
|
1021
|
+
icon: {
|
|
1022
|
+
type: PropType<string>;
|
|
1023
|
+
};
|
|
1022
1024
|
block: {
|
|
1023
1025
|
type: PropType<boolean>;
|
|
1024
1026
|
default: boolean;
|
|
@@ -1035,9 +1037,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1035
1037
|
type: PropType<string>;
|
|
1036
1038
|
default: string;
|
|
1037
1039
|
};
|
|
1038
|
-
icon: {
|
|
1039
|
-
type: PropType<string>;
|
|
1040
|
-
};
|
|
1041
1040
|
overlayClass: {
|
|
1042
1041
|
type: PropType<string>;
|
|
1043
1042
|
};
|
|
@@ -1058,6 +1057,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1058
1057
|
class: {
|
|
1059
1058
|
type: PropType<string>;
|
|
1060
1059
|
};
|
|
1060
|
+
icon: {
|
|
1061
|
+
type: PropType<string>;
|
|
1062
|
+
};
|
|
1061
1063
|
block: {
|
|
1062
1064
|
type: PropType<boolean>;
|
|
1063
1065
|
default: boolean;
|
|
@@ -1074,9 +1076,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1074
1076
|
type: PropType<string>;
|
|
1075
1077
|
default: string;
|
|
1076
1078
|
};
|
|
1077
|
-
icon: {
|
|
1078
|
-
type: PropType<string>;
|
|
1079
|
-
};
|
|
1080
1079
|
overlayClass: {
|
|
1081
1080
|
type: PropType<string>;
|
|
1082
1081
|
};
|
|
@@ -1238,7 +1237,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
|
|
|
1238
1237
|
default: string;
|
|
1239
1238
|
};
|
|
1240
1239
|
variant: {
|
|
1241
|
-
type: PropType<"
|
|
1240
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
1242
1241
|
};
|
|
1243
1242
|
modelValue: {
|
|
1244
1243
|
type: PropType<boolean>;
|
|
@@ -1267,7 +1266,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
|
|
|
1267
1266
|
default: string;
|
|
1268
1267
|
};
|
|
1269
1268
|
variant: {
|
|
1270
|
-
type: PropType<"
|
|
1269
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
1271
1270
|
};
|
|
1272
1271
|
modelValue: {
|
|
1273
1272
|
type: PropType<boolean>;
|