hplx-react-elements-dev 1.3.127 → 1.3.129
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, labelColor, labelSize, height, start_icon, width, border, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, errorMsgClassName, inputProps, suffixInputProps, isborderRequired, suffixDropdown, isSuffixEditable, suffixPlaceholder, suffixClassName, fieldColor, handleSuffixClick, className, classNameParentDiv, showEmailSuggestions, placeholderStyle, showRequired, labelClassName, }: InputFieldProps) => JSX.Element;
|
|
3
|
+
declare const InputField: ({ label, labelColor, labelSize, height, start_icon, width, border, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, errorMsgClassName, inputProps, suffixInputProps, isborderRequired, suffixDropdown, isSuffixEditable, suffixPlaceholder, suffixClassName, fieldColor, handleSuffixClick, className, classNameParentDiv, showEmailSuggestions, placeholderStyle, showRequired, labelClassName, onEndIconClick, }: InputFieldProps) => JSX.Element;
|
|
4
4
|
export default InputField;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface InputFieldProps {
|
|
|
40
40
|
className?: string;
|
|
41
41
|
showEmailSuggestions?: boolean;
|
|
42
42
|
showRequired?: boolean;
|
|
43
|
+
onEndIconClick?: () => void;
|
|
43
44
|
}
|
|
44
45
|
export interface DatePickerProps {
|
|
45
46
|
className?: string;
|
|
@@ -305,6 +306,7 @@ export interface DropdownItemsProps {
|
|
|
305
306
|
ddRef?: any;
|
|
306
307
|
setChangeLeft?: any;
|
|
307
308
|
onRightIconClick?: (value: any) => void;
|
|
309
|
+
children?: ReactNode;
|
|
308
310
|
}
|
|
309
311
|
export type DropdownValue<IsMulti extends boolean> = IsMulti extends true ? DropdownItemsProps[] : DropdownItemsProps;
|
|
310
312
|
export interface DropdownFieldProps<IsMulti extends boolean> {
|