@oncehub/ui-react 2.0.3-beta.1 → 2.0.4-beta.1

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.
@@ -9,5 +9,3 @@ export * from './select';
9
9
  export * from './single-line-input';
10
10
  export * from './colors.service';
11
11
  export * from './phone';
12
- export * from './progress-bar';
13
- export * from './radio';
@@ -1,15 +1,13 @@
1
1
  import { default as React, FC } from 'react';
2
- interface Props {
3
- children: any;
4
- setQuery: (query: any) => void;
5
- }
6
- export declare const AutoCompleteOptions: FC<Props>;
2
+ export declare const AutoCompleteOptions: FC<{
3
+ children: React.ReactNode;
4
+ }>;
7
5
  type ComboboxOptionProps = {
8
6
  children: React.ReactNode;
9
7
  value: any;
10
- className: any;
11
- disable: boolean;
8
+ className?: any;
9
+ disable?: boolean;
12
10
  };
13
- export type ComboboxRef = HTMLLIElement;
14
- export declare const AutoCompleteOption: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLLIElement>>;
11
+ export type ComboboxRef = HTMLDivElement;
12
+ export declare const AutoCompleteOption: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLDivElement>>;
15
13
  export {};
@@ -4,7 +4,7 @@ interface Props {
4
4
  children: any;
5
5
  selected: IOption | null;
6
6
  onSelect: (obj: IOption) => void;
7
- setQuery: (query: any) => void;
7
+ setQuery?: (query: string) => void;
8
8
  disable?: boolean;
9
9
  clearSearch?: boolean;
10
10
  themeColor?: string;