@rocketui/vue 0.0.79 → 0.0.81
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 +34 -41
- package/dist/rocket-ui-vue.js +110 -115
- 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,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
425
427
|
default: string;
|
|
426
428
|
};
|
|
427
429
|
color: {
|
|
428
|
-
type: PropType<
|
|
429
|
-
};
|
|
430
|
-
backgroundColor: {
|
|
431
|
-
type: PropType<string>;
|
|
432
|
-
default: string;
|
|
430
|
+
type: PropType<ButtonColor>;
|
|
433
431
|
};
|
|
434
432
|
variant: {
|
|
435
433
|
type: PropType<ButtonType>;
|
|
@@ -451,7 +449,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
451
449
|
type: PropType<string>;
|
|
452
450
|
default: string;
|
|
453
451
|
};
|
|
454
|
-
|
|
452
|
+
icon: {
|
|
455
453
|
type: PropType<boolean>;
|
|
456
454
|
default: boolean;
|
|
457
455
|
};
|
|
@@ -469,11 +467,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
469
467
|
default: string;
|
|
470
468
|
};
|
|
471
469
|
color: {
|
|
472
|
-
type: PropType<
|
|
473
|
-
};
|
|
474
|
-
backgroundColor: {
|
|
475
|
-
type: PropType<string>;
|
|
476
|
-
default: string;
|
|
470
|
+
type: PropType<ButtonColor>;
|
|
477
471
|
};
|
|
478
472
|
variant: {
|
|
479
473
|
type: PropType<ButtonType>;
|
|
@@ -495,7 +489,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
495
489
|
type: PropType<string>;
|
|
496
490
|
default: string;
|
|
497
491
|
};
|
|
498
|
-
|
|
492
|
+
icon: {
|
|
499
493
|
type: PropType<boolean>;
|
|
500
494
|
default: boolean;
|
|
501
495
|
};
|
|
@@ -508,13 +502,12 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
|
|
|
508
502
|
}, {
|
|
509
503
|
height: string;
|
|
510
504
|
size: ButtonSize;
|
|
511
|
-
backgroundColor: string;
|
|
512
505
|
variant: ButtonType;
|
|
513
506
|
loading: boolean;
|
|
514
507
|
disabled: boolean;
|
|
515
508
|
prependIcon: string;
|
|
516
509
|
appendIcon: string;
|
|
517
|
-
|
|
510
|
+
icon: boolean;
|
|
518
511
|
block: boolean;
|
|
519
512
|
}>, {
|
|
520
513
|
"custom-icon"?(_: {}): any;
|
|
@@ -598,12 +591,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
598
591
|
type: PropType<string | number>;
|
|
599
592
|
default: string;
|
|
600
593
|
};
|
|
601
|
-
ghost: {
|
|
602
|
-
type: PropType<boolean>;
|
|
603
|
-
default: boolean;
|
|
604
|
-
};
|
|
605
594
|
variant: {
|
|
606
|
-
type: PropType<"primary" | "secondary" | "
|
|
595
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
|
|
607
596
|
required: true;
|
|
608
597
|
default: string;
|
|
609
598
|
};
|
|
@@ -619,6 +608,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
619
608
|
type: PropType<string>;
|
|
620
609
|
default: string;
|
|
621
610
|
};
|
|
611
|
+
ghost: {
|
|
612
|
+
type: PropType<boolean>;
|
|
613
|
+
default: boolean;
|
|
614
|
+
};
|
|
622
615
|
closable: {
|
|
623
616
|
type: PropType<boolean>;
|
|
624
617
|
default: boolean;
|
|
@@ -628,12 +621,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
628
621
|
type: PropType<string | number>;
|
|
629
622
|
default: string;
|
|
630
623
|
};
|
|
631
|
-
ghost: {
|
|
632
|
-
type: PropType<boolean>;
|
|
633
|
-
default: boolean;
|
|
634
|
-
};
|
|
635
624
|
variant: {
|
|
636
|
-
type: PropType<"primary" | "secondary" | "
|
|
625
|
+
type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
|
|
637
626
|
required: true;
|
|
638
627
|
default: string;
|
|
639
628
|
};
|
|
@@ -649,6 +638,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
649
638
|
type: PropType<string>;
|
|
650
639
|
default: string;
|
|
651
640
|
};
|
|
641
|
+
ghost: {
|
|
642
|
+
type: PropType<boolean>;
|
|
643
|
+
default: boolean;
|
|
644
|
+
};
|
|
652
645
|
closable: {
|
|
653
646
|
type: PropType<boolean>;
|
|
654
647
|
default: boolean;
|
|
@@ -658,11 +651,11 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
|
|
|
658
651
|
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
659
652
|
}, {
|
|
660
653
|
label: string | number;
|
|
661
|
-
|
|
662
|
-
variant: "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
654
|
+
variant: "primary" | "secondary" | "success" | "warning" | "info" | "error";
|
|
663
655
|
disabled: boolean;
|
|
664
656
|
prependIcon: string;
|
|
665
657
|
appendIcon: string;
|
|
658
|
+
ghost: boolean;
|
|
666
659
|
closable: boolean;
|
|
667
660
|
}>, {
|
|
668
661
|
prepend?(_: {}): any;
|
|
@@ -1019,6 +1012,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1019
1012
|
class: {
|
|
1020
1013
|
type: PropType<string>;
|
|
1021
1014
|
};
|
|
1015
|
+
icon: {
|
|
1016
|
+
type: PropType<string>;
|
|
1017
|
+
};
|
|
1022
1018
|
block: {
|
|
1023
1019
|
type: PropType<boolean>;
|
|
1024
1020
|
default: boolean;
|
|
@@ -1035,9 +1031,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1035
1031
|
type: PropType<string>;
|
|
1036
1032
|
default: string;
|
|
1037
1033
|
};
|
|
1038
|
-
icon: {
|
|
1039
|
-
type: PropType<string>;
|
|
1040
|
-
};
|
|
1041
1034
|
overlayClass: {
|
|
1042
1035
|
type: PropType<string>;
|
|
1043
1036
|
};
|
|
@@ -1058,6 +1051,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1058
1051
|
class: {
|
|
1059
1052
|
type: PropType<string>;
|
|
1060
1053
|
};
|
|
1054
|
+
icon: {
|
|
1055
|
+
type: PropType<string>;
|
|
1056
|
+
};
|
|
1061
1057
|
block: {
|
|
1062
1058
|
type: PropType<boolean>;
|
|
1063
1059
|
default: boolean;
|
|
@@ -1074,9 +1070,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
|
|
|
1074
1070
|
type: PropType<string>;
|
|
1075
1071
|
default: string;
|
|
1076
1072
|
};
|
|
1077
|
-
icon: {
|
|
1078
|
-
type: PropType<string>;
|
|
1079
|
-
};
|
|
1080
1073
|
overlayClass: {
|
|
1081
1074
|
type: PropType<string>;
|
|
1082
1075
|
};
|
|
@@ -1238,7 +1231,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
|
|
|
1238
1231
|
default: string;
|
|
1239
1232
|
};
|
|
1240
1233
|
variant: {
|
|
1241
|
-
type: PropType<"
|
|
1234
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
1242
1235
|
};
|
|
1243
1236
|
modelValue: {
|
|
1244
1237
|
type: PropType<boolean>;
|
|
@@ -1267,7 +1260,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
|
|
|
1267
1260
|
default: string;
|
|
1268
1261
|
};
|
|
1269
1262
|
variant: {
|
|
1270
|
-
type: PropType<"
|
|
1263
|
+
type: PropType<"success" | "warning" | "info" | "error">;
|
|
1271
1264
|
};
|
|
1272
1265
|
modelValue: {
|
|
1273
1266
|
type: PropType<boolean>;
|