@rocketui/vue 0.2.12 → 0.2.14

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.
@@ -683,7 +683,34 @@ declare interface BadgeProps {
683
683
  * <Badge animation />
684
684
  */
685
685
  animation?: boolean;
686
+ /**
687
+ * Class of the Badge
688
+ * @type { string | string[] }
689
+ * @example
690
+ * <Badge class="text-red-500" />
691
+ */
686
692
  class?: string | string[];
693
+ /**
694
+ * Content of the Badge
695
+ * @type { string }
696
+ * @example
697
+ * <Badge content="99+" />
698
+ */
699
+ content?: string;
700
+ /**
701
+ * Class of the content of the Badge
702
+ * @type { string | string[] }
703
+ * @example
704
+ * <Badge contentClass="text-red-500" />
705
+ */
706
+ contentClass?: string | string[];
707
+ /**
708
+ * Wrapper class of the Badge
709
+ * @type { string | string[] }
710
+ * @example
711
+ * <Badge wrapperClass="text-red-500" />
712
+ */
713
+ wrapperClass?: string | string[];
687
714
  }
688
715
 
689
716
  declare interface BreadcrumbItem {
@@ -1262,14 +1289,6 @@ declare interface ItemProps {
1262
1289
  * <RItem :value="1" />
1263
1290
  */
1264
1291
  value: any;
1265
- /**
1266
- * Whether the item is disabled
1267
- * @default false
1268
- * @type boolean
1269
- * @example
1270
- * <RItem :disabled="true" />
1271
- */
1272
- disabled?: boolean;
1273
1292
  /**
1274
1293
  * The class to apply to the selected item
1275
1294
  * @default ''
@@ -2017,6 +2036,8 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2017
2036
  outside: boolean;
2018
2037
  animation: boolean;
2019
2038
  class: string;
2039
+ contentClass: string;
2040
+ wrapperClass: string;
2020
2041
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2021
2042
  click: (...args: any[]) => void;
2022
2043
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
@@ -2028,6 +2049,8 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2028
2049
  outside: boolean;
2029
2050
  animation: boolean;
2030
2051
  class: string;
2052
+ contentClass: string;
2053
+ wrapperClass: string;
2031
2054
  }>>> & {
2032
2055
  onClick?: ((...args: any[]) => any) | undefined;
2033
2056
  }, {
@@ -2035,9 +2058,12 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2035
2058
  variant: "primary" | "success" | "warning" | "error" | "neutral";
2036
2059
  hover: boolean;
2037
2060
  placement: "bottom" | "left" | "right";
2061
+ content: string;
2038
2062
  overlap: boolean;
2039
2063
  outside: boolean;
2040
2064
  animation: boolean;
2065
+ contentClass: string | string[];
2066
+ wrapperClass: string | string[];
2041
2067
  }, {}>, {
2042
2068
  default?(_: {}): any;
2043
2069
  }>;
@@ -2293,7 +2319,6 @@ export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Wit
2293
2319
  selectedClass: string;
2294
2320
  value: null;
2295
2321
  }>>>, {
2296
- disabled: boolean;
2297
2322
  value: any;
2298
2323
  selectedClass: string | string[];
2299
2324
  }, {}>, {
@@ -2303,7 +2328,6 @@ export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Wit
2303
2328
  select: typeof handleSelect;
2304
2329
  selectedClass: (string | string[]) & (false | (string | string[])[]);
2305
2330
  toggle: typeof handleToggle;
2306
- value: any;
2307
2331
  }): any;
2308
2332
  }>;
2309
2333
 
@@ -2328,10 +2352,10 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2328
2352
  }, {
2329
2353
  disabled: boolean;
2330
2354
  modelValue: string[] | number[];
2331
- as: string;
2332
2355
  selectedClass: string | string[];
2333
2356
  mandatory: boolean;
2334
2357
  max: number;
2358
+ as: string;
2335
2359
  }, {}>, {
2336
2360
  default?(_: {
2337
2361
  isSelected: typeof isSelected;