@rocketui/vue 0.0.77 → 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.
@@ -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 = 'primary' | 'secondary' | 'text' | 'outline' | 'ghost' | 'link' | 'danger';
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<"error" | "info" | "success" | "warning">;
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<"error" | "info" | "success" | "warning">;
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: "error" | "info" | "success" | "warning";
249
+ type: "success" | "warning" | "info" | "error";
248
250
  title: string;
249
251
  variant: "outline" | "ghost" | "solid";
250
252
  block: boolean;
@@ -316,8 +318,12 @@ export declare const RAvatar: DefineComponent<{
316
318
  }>;
317
319
 
318
320
  export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
321
+ class: {
322
+ type: PropType<string>;
323
+ default: string;
324
+ };
319
325
  variant: {
320
- type: PropType<"primary" | "error" | "success" | "warning" | "neutral">;
326
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
321
327
  default: string;
322
328
  };
323
329
  hover: {
@@ -341,8 +347,12 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
341
347
  default: boolean;
342
348
  };
343
349
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
350
+ class: {
351
+ type: PropType<string>;
352
+ default: string;
353
+ };
344
354
  variant: {
345
- type: PropType<"primary" | "error" | "success" | "warning" | "neutral">;
355
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
346
356
  default: string;
347
357
  };
348
358
  hover: {
@@ -368,7 +378,8 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<{
368
378
  }>> & {
369
379
  onClick?: ((...args: any[]) => any) | undefined;
370
380
  }, {
371
- variant: "primary" | "error" | "success" | "warning" | "neutral";
381
+ class: string;
382
+ variant: "primary" | "success" | "warning" | "error" | "neutral";
372
383
  hover: boolean;
373
384
  placement: "bottom" | "left" | "right";
374
385
  animation: boolean;
@@ -416,11 +427,10 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
416
427
  default: string;
417
428
  };
418
429
  color: {
419
- type: PropType<string>;
430
+ type: PropType<ButtonColor>;
420
431
  };
421
- backgroundColor: {
432
+ to: {
422
433
  type: PropType<string>;
423
- default: string;
424
434
  };
425
435
  variant: {
426
436
  type: PropType<ButtonType>;
@@ -442,7 +452,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
442
452
  type: PropType<string>;
443
453
  default: string;
444
454
  };
445
- onlyIcon: {
455
+ icon: {
446
456
  type: PropType<boolean>;
447
457
  default: boolean;
448
458
  };
@@ -460,11 +470,10 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
460
470
  default: string;
461
471
  };
462
472
  color: {
463
- type: PropType<string>;
473
+ type: PropType<ButtonColor>;
464
474
  };
465
- backgroundColor: {
475
+ to: {
466
476
  type: PropType<string>;
467
- default: string;
468
477
  };
469
478
  variant: {
470
479
  type: PropType<ButtonType>;
@@ -486,7 +495,7 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
486
495
  type: PropType<string>;
487
496
  default: string;
488
497
  };
489
- onlyIcon: {
498
+ icon: {
490
499
  type: PropType<boolean>;
491
500
  default: boolean;
492
501
  };
@@ -499,13 +508,12 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<{
499
508
  }, {
500
509
  height: string;
501
510
  size: ButtonSize;
502
- backgroundColor: string;
503
511
  variant: ButtonType;
504
512
  loading: boolean;
505
513
  disabled: boolean;
506
514
  prependIcon: string;
507
515
  appendIcon: string;
508
- onlyIcon: boolean;
516
+ icon: boolean;
509
517
  block: boolean;
510
518
  }>, {
511
519
  "custom-icon"?(_: {}): any;
@@ -589,12 +597,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
589
597
  type: PropType<string | number>;
590
598
  default: string;
591
599
  };
592
- ghost: {
593
- type: PropType<boolean>;
594
- default: boolean;
595
- };
596
600
  variant: {
597
- type: PropType<"primary" | "secondary" | "error" | "info" | "success" | "warning">;
601
+ type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
598
602
  required: true;
599
603
  default: string;
600
604
  };
@@ -610,6 +614,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
610
614
  type: PropType<string>;
611
615
  default: string;
612
616
  };
617
+ ghost: {
618
+ type: PropType<boolean>;
619
+ default: boolean;
620
+ };
613
621
  closable: {
614
622
  type: PropType<boolean>;
615
623
  default: boolean;
@@ -619,12 +627,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
619
627
  type: PropType<string | number>;
620
628
  default: string;
621
629
  };
622
- ghost: {
623
- type: PropType<boolean>;
624
- default: boolean;
625
- };
626
630
  variant: {
627
- type: PropType<"primary" | "secondary" | "error" | "info" | "success" | "warning">;
631
+ type: PropType<"primary" | "secondary" | "success" | "warning" | "info" | "error">;
628
632
  required: true;
629
633
  default: string;
630
634
  };
@@ -640,6 +644,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
640
644
  type: PropType<string>;
641
645
  default: string;
642
646
  };
647
+ ghost: {
648
+ type: PropType<boolean>;
649
+ default: boolean;
650
+ };
643
651
  closable: {
644
652
  type: PropType<boolean>;
645
653
  default: boolean;
@@ -649,11 +657,11 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<{
649
657
  "onClick:close"?: ((...args: any[]) => any) | undefined;
650
658
  }, {
651
659
  label: string | number;
652
- ghost: boolean;
653
- variant: "primary" | "secondary" | "error" | "info" | "success" | "warning";
660
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "error";
654
661
  disabled: boolean;
655
662
  prependIcon: string;
656
663
  appendIcon: string;
664
+ ghost: boolean;
657
665
  closable: boolean;
658
666
  }>, {
659
667
  prepend?(_: {}): any;
@@ -1010,6 +1018,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
1010
1018
  class: {
1011
1019
  type: PropType<string>;
1012
1020
  };
1021
+ icon: {
1022
+ type: PropType<string>;
1023
+ };
1013
1024
  block: {
1014
1025
  type: PropType<boolean>;
1015
1026
  default: boolean;
@@ -1026,9 +1037,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
1026
1037
  type: PropType<string>;
1027
1038
  default: string;
1028
1039
  };
1029
- icon: {
1030
- type: PropType<string>;
1031
- };
1032
1040
  overlayClass: {
1033
1041
  type: PropType<string>;
1034
1042
  };
@@ -1049,6 +1057,9 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
1049
1057
  class: {
1050
1058
  type: PropType<string>;
1051
1059
  };
1060
+ icon: {
1061
+ type: PropType<string>;
1062
+ };
1052
1063
  block: {
1053
1064
  type: PropType<boolean>;
1054
1065
  default: boolean;
@@ -1065,9 +1076,6 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<{
1065
1076
  type: PropType<string>;
1066
1077
  default: string;
1067
1078
  };
1068
- icon: {
1069
- type: PropType<string>;
1070
- };
1071
1079
  overlayClass: {
1072
1080
  type: PropType<string>;
1073
1081
  };
@@ -1229,7 +1237,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
1229
1237
  default: string;
1230
1238
  };
1231
1239
  variant: {
1232
- type: PropType<"error" | "info" | "success" | "warning">;
1240
+ type: PropType<"success" | "warning" | "info" | "error">;
1233
1241
  };
1234
1242
  modelValue: {
1235
1243
  type: PropType<boolean>;
@@ -1258,7 +1266,7 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<{
1258
1266
  default: string;
1259
1267
  };
1260
1268
  variant: {
1261
- type: PropType<"error" | "info" | "success" | "warning">;
1269
+ type: PropType<"success" | "warning" | "info" | "error">;
1262
1270
  };
1263
1271
  modelValue: {
1264
1272
  type: PropType<boolean>;