hplx-react-elements-dev 1.3.133 → 1.3.135
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, endIconClasses, }: InputFieldProps) => JSX.Element;
|
|
4
4
|
export default InputField;
|
|
@@ -57,6 +57,9 @@ export interface ITableColDef<T> {
|
|
|
57
57
|
renderCell?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
|
|
58
58
|
valueFormatter?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
|
|
59
59
|
enableFilter?: boolean;
|
|
60
|
+
enabledColumnCheckbox?: boolean;
|
|
61
|
+
isCheckBoxMarked?: boolean;
|
|
62
|
+
onColumnCheckboxClick?: (isMarked: boolean) => void;
|
|
60
63
|
filterValues?: ITableDropdown[];
|
|
61
64
|
onFilterCheck?: (value: string, key: string) => void;
|
|
62
65
|
filterIconFill?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ToggleSwitchProps } from "../types";
|
|
3
|
-
declare const ToggleSwitch: ({ size, theme, disabled, text, secondaryText, id, onClick, isToggled, labelClass, toggleOuterDivClass, hideLabel, }: ToggleSwitchProps) => JSX.Element;
|
|
3
|
+
declare const ToggleSwitch: ({ size, theme, disabled, text, secondaryText, id, onClick, isToggled, labelClass, toggleOuterDivClass, toggleButtonClass, hideLabel, }: ToggleSwitchProps) => JSX.Element;
|
|
4
4
|
export default ToggleSwitch;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export interface InputFieldProps {
|
|
|
40
40
|
className?: string;
|
|
41
41
|
showEmailSuggestions?: boolean;
|
|
42
42
|
showRequired?: boolean;
|
|
43
|
+
onEndIconClick?: () => void;
|
|
44
|
+
endIconClasses?: string;
|
|
43
45
|
}
|
|
44
46
|
export interface DatePickerProps {
|
|
45
47
|
className?: string;
|
|
@@ -383,6 +385,7 @@ export interface ToggleSwitchProps {
|
|
|
383
385
|
isToggled: boolean;
|
|
384
386
|
labelClass?: string;
|
|
385
387
|
toggleOuterDivClass?: string;
|
|
388
|
+
toggleButtonClass?: string;
|
|
386
389
|
hideLabel?: boolean;
|
|
387
390
|
}
|
|
388
391
|
export interface ToggleButtonProps {
|