master-components-react-ts 2.5.12 → 2.5.14

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,6 +1,6 @@
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;
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
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"];
5
5
  displayName: string;
6
6
  description: string;
@@ -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, focus, inputState, inputSlot, onChange, onFocus, onBlur, onEnter, onFocusChange, formInputWrapperStyle, inputWrapperStyle, formInputStyle, helperTextStyle, labelStyle, inputSlotStyle, }: FormInputProps): import("react/jsx-runtime").JSX.Element;
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,6 +1,6 @@
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;
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
4
  propKeys: readonly ["placeholder", "label", "cols", "rows", "value", "inputState", "maxLength", "withFocus", "withActive", "withResize", "withClose", "onChange", "onFocus", "onBlur", "disabled", "required", "textareaContainerStyle", "textareaLabelStyle", "requiredStyle", "labelSlot", "textareaFooterStyle"];
5
5
  displayName: string;
6
6
  description: string;
@@ -11,6 +11,7 @@ export interface TextareaProps {
11
11
  rows?: number;
12
12
  value?: string;
13
13
  maxLength?: number;
14
+ withMaxLength?: boolean;
14
15
  withResize?: boolean;
15
16
  withFocus?: boolean;
16
17
  withActive?: boolean;