@zimyo/ui 1.6.1 → 1.6.2

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/index.d.ts CHANGED
@@ -24,7 +24,7 @@ interface Option {
24
24
  [key: string]: any;
25
25
  }
26
26
  type SelectSize = "xs" | "sm" | "md" | "lg";
27
- type SelectProps<OptionType extends Option> = {
27
+ interface SelectProps<OptionType extends Option> extends Props<OptionType, boolean, GroupBase<OptionType>> {
28
28
  label?: string;
29
29
  error?: string;
30
30
  isClearable?: boolean;
@@ -37,7 +37,7 @@ type SelectProps<OptionType extends Option> = {
37
37
  searchByID?: boolean;
38
38
  value?: any;
39
39
  floatingLabel?: boolean;
40
- } & Props<OptionType, boolean, GroupBase<OptionType>>;
40
+ }
41
41
  declare function Select<OptionType extends Option>({ label, error, className, size, required, valueKey, labelKey, isMulti, value, options, onChange, searchByID, floatingLabel, ...props }: SelectProps<OptionType>): react_jsx_runtime.JSX.Element;
42
42
 
43
43
  interface AccordionProps extends Omit<AccordionProps$1, 'sx' | 'onChange' | 'expanded'> {
@@ -179,7 +179,7 @@ interface BadgeProps extends VariantProps<typeof badgeVariants> {
179
179
  declare const badgeVariants: (props?: ({
180
180
  variant?: "text" | "outlined" | "contained" | null | undefined;
181
181
  size?: "sm" | "md" | "lg" | null | undefined;
182
- type?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
182
+ type?: "default" | "success" | "error" | "info" | "warning" | null | undefined;
183
183
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
184
184
  declare const Badge: ({ label, icon, iconPosition, dot, dotPosition, variant, size, type, color, className, }: BadgeProps) => react_jsx_runtime.JSX.Element;
185
185