pixel-react 1.15.1 → 1.15.2
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/lib/components/AppHeader/AppHeader.js +1 -1
- package/lib/components/Input/Input.js +61 -16
- package/lib/components/Input/Input.js.map +1 -1
- package/lib/components/Input/types.d.ts +27 -5
- package/lib/index.cjs +62 -17
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +27 -5
- package/lib/styles.css +1 -1
- package/lib/styles.css.map +1 -1
- package/lib/validations/regex.d.ts +2 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -859,11 +859,33 @@ interface InputProps {
|
|
|
859
859
|
disableAfterMaxValueReached?: boolean;
|
|
860
860
|
helperTextWidth?: string | number;
|
|
861
861
|
fixedLabel?: boolean;
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
862
|
+
iconProps?: {
|
|
863
|
+
/**
|
|
864
|
+
* Flag to determine if icon should be shown
|
|
865
|
+
*/
|
|
866
|
+
isShowIcon?: boolean;
|
|
867
|
+
/**
|
|
868
|
+
* Function triggered when icon is clicked
|
|
869
|
+
*/
|
|
870
|
+
onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
871
|
+
/**
|
|
872
|
+
* Name of the icon to display
|
|
873
|
+
*/
|
|
874
|
+
iconName?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Tooltip title shown when hovering over icon
|
|
877
|
+
*/
|
|
878
|
+
iconToolTipTitle?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Flag to disable the icon
|
|
881
|
+
*/
|
|
882
|
+
isIconDisable?: boolean;
|
|
883
|
+
iconColor?: string;
|
|
884
|
+
/**
|
|
885
|
+
* Show clear icon if true
|
|
886
|
+
*/
|
|
887
|
+
isClearIcon?: boolean;
|
|
888
|
+
};
|
|
867
889
|
}
|
|
868
890
|
|
|
869
891
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|