@databrainhq/plugin 0.9.3 → 0.9.4

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.
@@ -14,9 +14,8 @@ export declare type FloatingDropDownProps = {
14
14
  closeControl?: {
15
15
  close: boolean;
16
16
  };
17
- labelDesign?: string;
18
17
  };
19
- export declare const FloatingDropDown: ({ label, labelVariant, selectedOption, onChange, className, options, isDisabled, children, icon, isSearchEnabled, closeControl, labelDesign, }: FloatingDropDownProps) => JSX.Element;
18
+ export declare const FloatingDropDown: ({ label, labelVariant, selectedOption, onChange, className, options, isDisabled, children, icon, isSearchEnabled, closeControl, }: FloatingDropDownProps) => JSX.Element;
20
19
  export declare type MultiFloatingDropDownProps = Omit<FloatingDropDownProps, 'selectedOption' | 'onChange'> & {
21
20
  selectedOptions: FloatingDropDownOption[];
22
21
  onChange: (options: FloatingDropDownOption[]) => void;
@@ -11,5 +11,5 @@ interface Props extends React.HTMLProps<HTMLInputElement> {
11
11
  inputClass?: string;
12
12
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
13
13
  }
14
- export declare const InputField: ({ type, register, error, icon, label, isDisabled, labelClass, inputClass, className, labelVariant, id, defaultValue, ...rest }: Props) => JSX.Element;
14
+ export declare const InputField: ({ type, register, error, icon, label, isDisabled, labelClass, inputClass, className, labelVariant, id, ...rest }: Props) => JSX.Element;
15
15
  export {};
@@ -17,13 +17,13 @@ declare type SelectInput = {
17
17
  containerClass?: string;
18
18
  isSearchEnabled?: boolean;
19
19
  textSize?: string;
20
- labelDesign?: string;
20
+ labelVariant?: 'floating' | 'static';
21
21
  };
22
22
  declare type HookSelectInput = Omit<SelectInput, 'value'> & {
23
23
  control: Control;
24
24
  name: string;
25
25
  };
26
- export declare const Select: ({ label, options, onChange, value, defaultValue, children, placeHolder, className, containerClass, isSearchEnabled, textSize, labelDesign, }: SelectInput) => JSX.Element;
26
+ export declare const Select: ({ label, options, onChange, value, defaultValue, children, placeHolder, className, containerClass, isSearchEnabled, textSize, labelVariant, }: SelectInput) => JSX.Element;
27
27
  export declare const HookSelect: ({ control, name, ...rest }: HookSelectInput) => JSX.Element;
28
28
  export declare const SelectWithSubValue: ({ label, options, onChange, value, defaultValue, }: any) => JSX.Element;
29
29
  export declare const DropDown: ({ control, name, options, label, defaultValue, }: HookSelectInput) => JSX.Element;
@@ -39,6 +39,7 @@ declare type MultiSelectProps = {
39
39
  children?: React.ReactNode;
40
40
  placeHolder?: string;
41
41
  onClick?: any;
42
+ labelVariant?: 'floating' | 'static';
42
43
  isSearchEnabled?: boolean;
43
44
  };
44
45
  export declare const MultiSelect: React.FC<MultiSelectProps>;