@abdellatifui/react 3.2.169 → 3.2.175

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';
@@ -153,22 +154,24 @@ export declare interface ArrayViewerProps {
153
154
  }
154
155
 
155
156
  export declare interface AutocompeleteProps extends InputProps_2 {
156
- onChange?: void;
157
- options?: object;
157
+ onChange?: (params: any, value: string) => void;
158
+ options?: any[];
158
159
  defaultValue?: string;
159
160
  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>;
161
+ onClick?: () => void;
162
+ onLoad?: () => void;
163
+ search?: boolean;
164
+ className?: string;
165
+ placeholder?: string;
166
+ autoScroll?: boolean;
167
+ type?: 'auto-complete' | 'select';
168
+ ref?: default_2.RefObject<HTMLInputElement>;
168
169
  }
169
170
 
170
171
  export declare const AutoComplete: default_2.MemoExoticComponent<(props: AutocompeleteProps) => JSX.Element>;
171
172
 
173
+ export declare type AutocompleteProps = AutocompeleteProps;
174
+
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