master-components-react-ts 2.5.13 → 2.5.15
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/components/Dropdown/DropDown.d.ts +2 -2
- package/dist/components/Dropdown/DropDown.types.d.ts +1 -0
- package/dist/components/FormInput/FormInput.d.ts +1 -1
- package/dist/components/FormInput/FormInput.types.d.ts +1 -2
- package/dist/components/Textarea/Textarea.d.ts +2 -2
- package/dist/components/Textarea/Textarea.types.d.ts +1 -0
- package/dist/components/TreeNode/TreeNode.types.d.ts +2 -0
- package/dist/index.js +1391 -1373
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownProps } from './DropDown.types';
|
|
2
2
|
declare const Dropdown: {
|
|
3
|
-
({ data, withFilter, withClose, disableAll, withMultiselect, selectedOptionID, withInput, withTree, withSelectAll, dropdownType, closeOnScroll, onSelect, onFocus, onBlur, onValueChange, onApply, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, treeProps, withApply, applyButtonProps, ...rest }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
propKeys: readonly ["data", "withFilter", "withClose", "disableAll", "withMultiselect", "selectedOptionID", "withInput", "dropdownType", "closeOnScroll", "onSelect", "onFocus", "onBlur", "onValueChange", "customInputSlot", "dropdownWrapperStyle", "dropdownInputWrapperStyle", "dropdownInputSlotStyle", "dropdownInputSlotItemStyle", "dropdownInputSlotItemLabelStyle", "dropdownInputSlotItemCloseStyle", "dropdownInputSlotItemMoreStyle", "dropdownItemStyle", "dropdownItemLabelStyle", "itemCheckboxStyle", "dropdownItemLabelTextStyle", "dropdownListStyle"];
|
|
3
|
+
({ data, withFilter, withClose, disableAll, withMultiselect, selectedOptionID, withInput, withTree, withSelectAll, dropdownType, closeOnScroll, customSelectedSlot, onSelect, onFocus, onBlur, onValueChange, onApply, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, treeProps, withApply, applyButtonProps, ...rest }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["data", "withFilter", "withClose", "disableAll", "withMultiselect", "selectedOptionID", "withInput", "dropdownType", "closeOnScroll", "customSelectedSlot", "onSelect", "onFocus", "onBlur", "onValueChange", "customInputSlot", "dropdownWrapperStyle", "dropdownInputWrapperStyle", "dropdownInputSlotStyle", "dropdownInputSlotItemStyle", "dropdownInputSlotItemLabelStyle", "dropdownInputSlotItemCloseStyle", "dropdownInputSlotItemMoreStyle", "dropdownItemStyle", "dropdownItemLabelStyle", "itemCheckboxStyle", "dropdownItemLabelTextStyle", "dropdownListStyle"];
|
|
5
5
|
displayName: string;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
@@ -22,6 +22,7 @@ export interface DropdownProps extends FormInputProps {
|
|
|
22
22
|
withSelectAll?: boolean;
|
|
23
23
|
closeOnScroll?: boolean;
|
|
24
24
|
customInputSlot?: React.ReactNode;
|
|
25
|
+
customSelectedSlot?: React.ReactNode | ((value: any) => React.ReactNode);
|
|
25
26
|
dropdownWrapperStyle?: React.CSSProperties;
|
|
26
27
|
dropdownInputWrapperStyle?: React.CSSProperties;
|
|
27
28
|
dropdownInputSlotStyle?: React.CSSProperties;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormInputProps } from './FormInput.types';
|
|
2
2
|
declare const FormInput: {
|
|
3
|
-
({ label, placeholder, helperText, required, disabled, readOnly, withFocus, withActive, searchComponent, size, toggleFocus, rightSlot, leftSlot, helperSlot, type, value, maxLength, forDropdown, customFocus,
|
|
3
|
+
({ label, placeholder, helperText, required, disabled, readOnly, withFocus, withActive, searchComponent, size, toggleFocus, rightSlot, leftSlot, helperSlot, type, value, maxLength, forDropdown, customFocus, inputState, inputSlot, onChange, onFocus, onBlur, onEnter, onFocusChange, formInputWrapperStyle, inputWrapperStyle, formInputStyle, helperTextStyle, labelStyle, inputSlotStyle, }: FormInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
propKeys: readonly ["label", "placeholder", "helperText", "required", "disabled", "readOnly", "withFocus", "withActive", "searchComponent", "size", "toggleFocus", "rightSlot", "leftSlot", "helperSlot", "type", "value", "maxLength", "forDropdown", "customFocus", "focus", "inputState", "inputSlot", "onChange", "onFocus", "onBlur", "onEnter", "onFocusChange", "formInputWrapperStyle", "inputWrapperStyle", "formInputStyle", "helperTextStyle", "labelStyle", "inputSlotStyle"];
|
|
5
5
|
displayName: string;
|
|
6
6
|
description: string;
|
|
@@ -21,12 +21,11 @@ export interface FormInputProps {
|
|
|
21
21
|
rightSlot?: React.ReactNode;
|
|
22
22
|
leftSlot?: React.ReactNode;
|
|
23
23
|
helperSlot?: React.ReactNode;
|
|
24
|
-
focus?: boolean;
|
|
25
24
|
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local' | 'month' | 'week';
|
|
26
25
|
maxLength?: number;
|
|
27
26
|
customFocus?: boolean | null;
|
|
28
27
|
forDropdown?: boolean;
|
|
29
|
-
inputSlot?: React.ReactNode;
|
|
28
|
+
inputSlot?: React.ReactNode | ((value: any) => React.ReactNode);
|
|
30
29
|
onChange?: (value: string) => void;
|
|
31
30
|
onFocus?: () => void;
|
|
32
31
|
onBlur?: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextareaProps } from './Textarea.types';
|
|
2
2
|
declare const Textarea: {
|
|
3
|
-
({ placeholder, label, cols, rows, value, inputState, maxLength, withFocus, withActive, withResize, withClose, onChange, onFocus, onBlur, disabled, required, textareaContainerStyle, textareaLabelStyle, requiredStyle, labelSlot, textareaFooterStyle, }: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
propKeys: readonly ["placeholder", "label", "cols", "rows", "value", "inputState", "maxLength", "withFocus", "withActive", "withResize", "withClose", "onChange", "onFocus", "onBlur", "disabled", "required", "textareaContainerStyle", "textareaLabelStyle", "requiredStyle", "labelSlot", "textareaFooterStyle"];
|
|
3
|
+
({ placeholder, label, cols, rows, value, inputState, maxLength, withMaxLength, withFocus, withActive, withResize, withClose, onChange, onFocus, onBlur, disabled, required, textareaContainerStyle, textareaLabelStyle, requiredStyle, labelSlot, textareaFooterStyle, }: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
propKeys: readonly ["placeholder", "label", "cols", "rows", "value", "inputState", "maxLength", "withMaxLength", "withFocus", "withActive", "withResize", "withClose", "onChange", "onFocus", "onBlur", "disabled", "required", "textareaContainerStyle", "textareaLabelStyle", "requiredStyle", "labelSlot", "textareaFooterStyle"];
|
|
5
5
|
displayName: string;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
@@ -28,6 +28,7 @@ export interface TreeNodeProps {
|
|
|
28
28
|
treeNodeStyle?: CSSProperties;
|
|
29
29
|
labelRowStyle?: CSSProperties;
|
|
30
30
|
collapseToggleStyle?: CSSProperties;
|
|
31
|
+
checkIndividualItems?: boolean;
|
|
31
32
|
}
|
|
32
33
|
export interface TreeNodeItemProps {
|
|
33
34
|
node: TreeNodeDataType;
|
|
@@ -46,4 +47,5 @@ export interface TreeNodeItemProps {
|
|
|
46
47
|
treeNodeStyle?: CSSProperties;
|
|
47
48
|
labelRowStyle?: CSSProperties;
|
|
48
49
|
collapseToggleStyle?: CSSProperties;
|
|
50
|
+
checkIndividualItems?: boolean;
|
|
49
51
|
}
|