@rocketui/vue 0.0.99 → 0.0.101

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.
@@ -612,12 +612,12 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
612
612
  };
613
613
  };
614
614
 
615
- declare type Accordion = {
615
+ declare interface Accordion {
616
616
  title: string;
617
617
  content: string;
618
618
  open?: boolean;
619
619
  disabled?: boolean;
620
- };
620
+ }
621
621
 
622
622
  declare interface AccordionProps {
623
623
  /**
@@ -683,7 +683,7 @@ declare interface BadgeProps {
683
683
  * <Badge animation />
684
684
  */
685
685
  animation?: boolean;
686
- class?: string;
686
+ class?: string | string[];
687
687
  }
688
688
 
689
689
  declare interface BreadcrumbItem {
@@ -1174,7 +1174,7 @@ declare interface IProps_7 {
1174
1174
  * @example
1175
1175
  * <Tooltip triggerClass="trigger" />
1176
1176
  */
1177
- triggerClass?: string;
1177
+ triggerClass?: string | string[];
1178
1178
  /**
1179
1179
  * Tooltip class of the tooltip
1180
1180
  * @type string
@@ -1182,7 +1182,7 @@ declare interface IProps_7 {
1182
1182
  * @example
1183
1183
  * <Tooltip tooltipClass="tooltip" />
1184
1184
  */
1185
- tooltipClass?: string;
1185
+ tooltipClass?: string | string[];
1186
1186
  type?: Theme | string;
1187
1187
  }
1188
1188
 
@@ -1205,7 +1205,7 @@ declare interface ItemGroupProps {
1205
1205
  * @example
1206
1206
  * <RItemGroup selectedClass="bg-blue-500 text-white" />
1207
1207
  */
1208
- selectedClass?: string;
1208
+ selectedClass?: string | string[];
1209
1209
  /**
1210
1210
  * Whether the item group is disabled
1211
1211
  * @default false
@@ -1277,7 +1277,7 @@ declare interface ItemProps {
1277
1277
  * @example
1278
1278
  * <RItem selectedClass="bg-blue-500 text-white" />
1279
1279
  */
1280
- selectedClass?: string;
1280
+ selectedClass?: string | string[];
1281
1281
  }
1282
1282
 
1283
1283
  declare interface LabelProps {
@@ -1381,7 +1381,7 @@ declare interface ModalProps {
1381
1381
  * @example
1382
1382
  * <Modal class="my-class" />
1383
1383
  */
1384
- class?: string;
1384
+ class?: string | string[];
1385
1385
  /**
1386
1386
  * Class of the overlay
1387
1387
  * @type string
@@ -1389,7 +1389,7 @@ declare interface ModalProps {
1389
1389
  * @example
1390
1390
  * <Modal overlayClass="my-class" />
1391
1391
  */
1392
- overlayClass?: string;
1392
+ overlayClass?: string | string[];
1393
1393
  /**
1394
1394
  * Style of the Modal
1395
1395
  * @type string
@@ -2003,7 +2003,7 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2003
2003
  }>>> & {
2004
2004
  onClick?: ((...args: any[]) => any) | undefined;
2005
2005
  }, {
2006
- class: string;
2006
+ class: string | string[];
2007
2007
  variant: "primary" | "success" | "warning" | "error" | "neutral";
2008
2008
  hover: boolean;
2009
2009
  placement: "bottom" | "left" | "right";
@@ -2097,8 +2097,8 @@ export declare const RCheckbox: DefineComponent<__VLS_WithDefaults_5<__VLS_TypeP
2097
2097
  }, {
2098
2098
  label: string;
2099
2099
  disabled: boolean | "true" | "false";
2100
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
2101
2100
  id: string | undefined;
2101
+ modelValue: any[] | Set<any> | (boolean | "true" | "false");
2102
2102
  errorMsg: string;
2103
2103
  indeterminate: boolean;
2104
2104
  hint: string;
@@ -2186,9 +2186,9 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2186
2186
  disabled: boolean;
2187
2187
  prependIcon: string;
2188
2188
  appendIcon: string;
2189
- modelValue: string | number | Option_2 | Option_2[];
2190
2189
  options: Option_2[];
2191
2190
  id: string;
2191
+ modelValue: string | number | Option_2 | Option_2[];
2192
2192
  placeholder: string;
2193
2193
  taggable: boolean;
2194
2194
  multiple: boolean;
@@ -2248,13 +2248,13 @@ export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Wit
2248
2248
  }>>>, {
2249
2249
  disabled: boolean;
2250
2250
  value: any;
2251
- selectedClass: string;
2251
+ selectedClass: string | string[];
2252
2252
  }, {}>, {
2253
2253
  default?(_: {
2254
2254
  disabled: boolean;
2255
2255
  isSelected: boolean;
2256
2256
  select: typeof handleSelect;
2257
- selectedClass: string & string[];
2257
+ selectedClass: (string | string[]) & (false | (string | string[])[]);
2258
2258
  toggle: typeof handleToggle;
2259
2259
  value: any;
2260
2260
  }): any;
@@ -2282,7 +2282,7 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2282
2282
  disabled: boolean;
2283
2283
  modelValue: string[] | number[];
2284
2284
  as: string;
2285
- selectedClass: string;
2285
+ selectedClass: string | string[];
2286
2286
  mandatory: boolean;
2287
2287
  max: number;
2288
2288
  }, {}>, {
@@ -2396,9 +2396,9 @@ export declare const RSidebar: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_W
2396
2396
  declare interface RSidebarProps {
2397
2397
  modelValue: boolean;
2398
2398
  showTrigger?: boolean;
2399
- class?: string;
2400
- triggerClass?: string;
2401
- wrapperClass?: string;
2399
+ class?: string | string[];
2400
+ triggerClass?: string | string[];
2401
+ wrapperClass?: string | string[];
2402
2402
  }
2403
2403
 
2404
2404
  export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<IProps_3>, {
@@ -2421,8 +2421,8 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
2421
2421
  onAction?: ((...args: any[]) => any) | undefined;
2422
2422
  }, {
2423
2423
  text: string;
2424
- modelValue: boolean;
2425
2424
  left: boolean;
2425
+ modelValue: boolean;
2426
2426
  closable: boolean;
2427
2427
  timeout: number;
2428
2428
  }, {}>, {
@@ -2455,8 +2455,8 @@ export declare const RSwitch: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePr
2455
2455
  size: "small" | "medium" | "large";
2456
2456
  label: string;
2457
2457
  disabled: boolean | "true" | "false";
2458
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
2459
2458
  id: string | undefined;
2459
+ modelValue: any[] | Set<any> | (boolean | "true" | "false");
2460
2460
  errorMsg: string;
2461
2461
  hint: string;
2462
2462
  }, {}>;
@@ -2553,8 +2553,8 @@ export declare const RTextArea: DefineComponent<__VLS_WithDefaults_16<__VLS_Type
2553
2553
  }, {
2554
2554
  label: string;
2555
2555
  disabled: boolean | "true" | "false";
2556
- modelValue: any;
2557
2556
  id: string | undefined;
2557
+ modelValue: any;
2558
2558
  placeholder: string;
2559
2559
  errorMsg: string;
2560
2560
  hint: string;
@@ -2611,8 +2611,8 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2611
2611
  disabled: boolean;
2612
2612
  prependIcon: string;
2613
2613
  appendIcon: string;
2614
- modelValue: any;
2615
2614
  id: string | undefined;
2615
+ modelValue: any;
2616
2616
  placeholder: string;
2617
2617
  errorMsg: string;
2618
2618
  hideDetails: boolean;
@@ -2671,7 +2671,6 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2671
2671
  type: string;
2672
2672
  text: string;
2673
2673
  disabled: boolean;
2674
- triggerClass: string;
2675
2674
  placement: Placements;
2676
2675
  padding: number;
2677
2676
  dark: boolean;
@@ -2685,7 +2684,8 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2685
2684
  outsideClick: boolean;
2686
2685
  triggerContent: string;
2687
2686
  resizable: boolean;
2688
- tooltipClass: string;
2687
+ triggerClass: string | string[];
2688
+ tooltipClass: string | string[];
2689
2689
  }, {}>, {
2690
2690
  default?(_: {
2691
2691
  activators: {
@@ -2855,7 +2855,7 @@ declare interface SelectProps {
2855
2855
  autocomplete?: 'on' | 'off';
2856
2856
  }
2857
2857
 
2858
- declare type Tab = {
2858
+ declare interface Tab {
2859
2859
  id: string | number;
2860
2860
  variant?: TabItemVariant;
2861
2861
  label?: string;
@@ -2863,7 +2863,7 @@ declare type Tab = {
2863
2863
  appendIcon?: string;
2864
2864
  disabled?: boolean;
2865
2865
  active?: boolean;
2866
- };
2866
+ }
2867
2867
 
2868
2868
  declare type TabItemVariant = 'default' | 'text' | 'icon';
2869
2869