@annatarhe/lake-ui 0.0.8 → 0.0.10

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
@@ -8,6 +8,24 @@ export declare function InputField(props: Props): JSX_2.Element;
8
8
 
9
9
  export declare function Modal(props: Props_2): JSX.Element | null;
10
10
 
11
+ export declare function MultiSelect(props: MultiSelectProps): JSX_2.Element;
12
+
13
+ declare interface MultiSelectProps {
14
+ options: Option_2[] | string[];
15
+ disabled?: boolean;
16
+ value?: string[] | string;
17
+ onChange: (value?: string[] | string) => void;
18
+ label: string;
19
+ placeholder?: string;
20
+ maxValues?: number;
21
+ searchable?: boolean;
22
+ clearable?: boolean;
23
+ onBlur?: () => void;
24
+ name?: string;
25
+ ref: default_2.RefCallback<HTMLDivElement | null>;
26
+ error?: string;
27
+ }
28
+
11
29
  export declare function NavbarContainer(props: Props_3): JSX_2.Element;
12
30
 
13
31
  export declare function NumberField(props: NumberFieldProps): JSX_2.Element;
@@ -22,6 +40,12 @@ declare interface NumberFieldProps extends default_2.InputHTMLAttributes<HTMLInp
22
40
  ref?: default_2.Ref<HTMLInputElement>;
23
41
  }
24
42
 
43
+ declare interface Option_2 {
44
+ value: string;
45
+ label: string;
46
+ labelElement?: default_2.ReactNode;
47
+ }
48
+
25
49
  declare type Props = React.InputHTMLAttributes<HTMLInputElement>;
26
50
 
27
51
  declare type Props_2 = {