@abdellatifui/react 3.2.168 → 3.2.174

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/nextgen.d.ts CHANGED
@@ -15,6 +15,7 @@ import { JSX } from 'react/jsx-runtime';
15
15
  import { MapProps } from 'react-map-gl/maplibre';
16
16
  import { MutableRefObject } from 'react';
17
17
  import * as React_2 from 'react';
18
+ import { ReactElement } from 'react';
18
19
  import { ReactNode } from 'react';
19
20
  import { RefAttributes } from 'react';
20
21
  import { SetStateAction } from 'react';
@@ -152,23 +153,25 @@ export declare interface ArrayViewerProps {
152
153
  header: string;
153
154
  }
154
155
 
155
- export declare interface AutocompeleteProps extends InputProps_2 {
156
- onChange?: void;
157
- options?: object;
156
+ export declare type AutocompeleteProps = AutocompleteProps;
157
+
158
+ export declare const AutoComplete: default_2.MemoExoticComponent<(props: AutocompleteProps) => JSX.Element>;
159
+
160
+ export declare interface AutocompleteProps extends InputProps_2 {
161
+ onChange?: (params: any, value: string) => void;
162
+ options?: any[];
158
163
  defaultValue?: string;
159
164
  value?: string;
160
- onClick: void;
161
- onLoad: void;
162
- search: boolean;
163
- className: string;
164
- placeholder: string;
165
- autoScroll: boolean;
166
- type: string;
167
- ref: default_2.RefObject<HTMLInputElement>;
165
+ onClick?: () => void;
166
+ onLoad?: () => void;
167
+ search?: boolean;
168
+ className?: string;
169
+ placeholder?: string;
170
+ autoScroll?: boolean;
171
+ type?: 'auto-complete' | 'select';
172
+ ref?: default_2.RefObject<HTMLInputElement>;
168
173
  }
169
174
 
170
- export declare const AutoComplete: default_2.MemoExoticComponent<(props: AutocompeleteProps) => JSX.Element>;
171
-
172
175
  export declare const BadgeLegend: (props: BadgeLegendProps) => JSX.Element;
173
176
 
174
177
  export declare interface BadgeLegendProps {
@@ -602,6 +605,7 @@ declare interface InputProps_2 extends InputProps_3 {
602
605
  placement: 'top' | 'bottom';
603
606
  onEnterKey: void;
604
607
  autoFocus: boolean;
608
+ icon: ReactElement;
605
609
  inputProps?: HTMLInputElement;
606
610
  }
607
611