@zimyo/ui 1.6.1 → 1.6.3

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.
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  interface ModalProps {
4
4
  open: boolean;
5
5
  onClose: () => void;
6
- title?: string;
6
+ title?: string | any;
7
7
  description?: string;
8
8
  children?: React.ReactNode;
9
9
  actions?: React.ReactNode;
@@ -7,7 +7,7 @@ interface Option {
7
7
  [key: string]: any;
8
8
  }
9
9
  type SelectSize = "xs" | "sm" | "md" | "lg";
10
- type SelectProps<OptionType extends Option> = {
10
+ interface SelectProps<OptionType extends Option> extends Props<OptionType, boolean, GroupBase<OptionType>> {
11
11
  label?: string;
12
12
  error?: string;
13
13
  isClearable?: boolean;
@@ -20,8 +20,9 @@ type SelectProps<OptionType extends Option> = {
20
20
  searchByID?: boolean;
21
21
  value?: any;
22
22
  floatingLabel?: boolean;
23
- } & Props<OptionType, boolean, GroupBase<OptionType>>;
24
- 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;
23
+ maxChipVisible?: number;
24
+ }
25
+ declare function Select<OptionType extends Option>({ label, error, className, size, required, valueKey, labelKey, isMulti, value, options, onChange, searchByID, floatingLabel, maxChipVisible, ...props }: SelectProps<OptionType>): react_jsx_runtime.JSX.Element;
25
26
 
26
27
  export { Select, Select as default };
27
28
  export type { SelectProps };