hplx-react-elements-dev 1.0.99 → 1.1.0
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/esm/index.js +305 -236
- package/dist/esm/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/esm/types.d.ts
CHANGED
|
@@ -437,6 +437,7 @@ export interface DoubleInputProps {
|
|
|
437
437
|
hint_text_icon?: string;
|
|
438
438
|
hint_text?: string;
|
|
439
439
|
}
|
|
440
|
+
export type fromEventType = "" | "dropdown" | "edit" | "delete" | "shuffle";
|
|
440
441
|
export interface InputTagProps {
|
|
441
442
|
className?: string;
|
|
442
443
|
tagList?: Array<string>;
|
|
@@ -445,7 +446,7 @@ export interface InputTagProps {
|
|
|
445
446
|
onDropdownClick?: (value: any, index?: number, searchString?: string) => void;
|
|
446
447
|
options?: Array<DropdownItemsProps>;
|
|
447
448
|
inputProps?: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
448
|
-
handleValChange?: (value: any) => void;
|
|
449
|
+
handleValChange?: (value: any, _currentInputValue?: string, fromEvent?: fromEventType) => void;
|
|
449
450
|
allowDuplicates?: boolean;
|
|
450
451
|
getInputValue?: (value: string) => void;
|
|
451
452
|
}
|