hplx-react-elements-dev 1.0.27 → 1.0.29
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { InputFieldProps } from "../types";
|
|
3
|
-
declare const InputField: ({ label, start_icon, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, inputProps, isborderRequired, }: InputFieldProps) => JSX.Element;
|
|
3
|
+
declare const InputField: ({ label, start_icon, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, inputProps, isborderRequired, suffixDropdown, isSuffixEditable, suffixPlaceholder, handleSuffixClick, handleSuffixValChange, }: InputFieldProps) => JSX.Element;
|
|
4
4
|
export default InputField;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -12,6 +12,11 @@ export interface InputFieldProps {
|
|
|
12
12
|
errorMsg?: string;
|
|
13
13
|
isborderRequired?: boolean;
|
|
14
14
|
inputProps: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
15
|
+
suffixPlaceholder?: string;
|
|
16
|
+
suffixDropdown?: any;
|
|
17
|
+
handleSuffixClick?: (value: any) => void;
|
|
18
|
+
isSuffixEditable?: boolean;
|
|
19
|
+
handleSuffixValChange?: (value: any) => void;
|
|
15
20
|
}
|
|
16
21
|
export interface InputFieldSplitProps {
|
|
17
22
|
label?: string;
|
|
@@ -290,6 +295,10 @@ export interface AddSuggestionProps {
|
|
|
290
295
|
height?: string;
|
|
291
296
|
prefix?: ReactNode;
|
|
292
297
|
suffixButton?: ReactNode;
|
|
298
|
+
suffixDropdown?: any;
|
|
299
|
+
suffixPlaceholder?: string;
|
|
300
|
+
handleSuffixClick?: (value: any) => void;
|
|
301
|
+
isSuffixEditable?: boolean;
|
|
293
302
|
suffix?: ReactNode;
|
|
294
303
|
start_icon?: string;
|
|
295
304
|
end_icon?: string;
|
|
@@ -303,5 +312,7 @@ export interface AddSuggestionProps {
|
|
|
303
312
|
options?: Array<DropdownItemsProps>;
|
|
304
313
|
suggestionValue?: string;
|
|
305
314
|
handleSuggestionValChange?: (value: any) => void;
|
|
315
|
+
handleSuffixValChange?: (value: any) => void;
|
|
316
|
+
isborderRequired?: boolean;
|
|
306
317
|
}
|
|
307
318
|
export {};
|