master-components-react-ts 2.1.15 → 2.2.1

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,3 +1,7 @@
1
1
  import { ActionDropdownProps } from './ActionDropdown.types';
2
- declare const ActionDropdown: ({ title, data, onSelect }: ActionDropdownProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ActionDropdown: {
3
+ ({ title, data, onSelect }: ActionDropdownProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["title", "data", "onSelect"];
5
+ displayName: string;
6
+ };
3
7
  export default ActionDropdown;
@@ -1,3 +1,7 @@
1
1
  import { CheckboxProps } from './Checkbox.types';
2
- declare const Checkbox: ({ checked, change, type, disabled, required, multipleChecked, activeStyle, checkBoxStyle, theme, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Checkbox: {
3
+ ({ checked, change, type, disabled, required, multipleChecked, activeStyle, checkBoxStyle, theme, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["checked", "change", "type", "disabled", "required", "multipleChecked", "activeStyle", "checkBoxStyle", "theme"];
5
+ displayName: string;
6
+ };
3
7
  export default Checkbox;
@@ -1,3 +1,7 @@
1
1
  import { DatePickerProps } from './DatePicker.types';
2
- declare const DatePicker: ({ defaultValue, valueFormat, onChange, onBlur, onFocus, customYears, fixedDropdown, disabledDatesFrom, disabledDatesTill, disabledDatesRange, datepickerStyle, datepickerLabelStyle, requiredStyle, datepickerHelperTextStyle, selectedStyle, endDateStyle, startDateStyle, inRangeStyle, otherMonthStyle, todayStyle, weekDayStyle, quickPickStyle, monthStyle, quickPick, mode, pickerType, disabled, ...rest }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const DatePicker: {
3
+ ({ defaultValue, valueFormat, onChange, onBlur, onFocus, customYears, fixedDropdown, disabledDatesFrom, disabledDatesTill, disabledDatesRange, datepickerStyle, datepickerLabelStyle, requiredStyle, datepickerHelperTextStyle, selectedStyle, endDateStyle, startDateStyle, inRangeStyle, otherMonthStyle, todayStyle, weekDayStyle, quickPickStyle, monthStyle, quickPick, mode, pickerType, disabled, ...rest }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["defaultValue", "valueFormat", "onChange", "onBlur", "onFocus", "customYears", "fixedDropdown", "disabledDatesFrom", "disabledDatesTill", "disabledDatesRange", "datepickerStyle", "datepickerLabelStyle", "requiredStyle", "datepickerHelperTextStyle", "selectedStyle", "endDateStyle", "startDateStyle", "inRangeStyle", "otherMonthStyle", "todayStyle", "weekDayStyle", "quickPickStyle", "monthStyle", "quickPick", "mode", "pickerType", "disabled"];
5
+ displayName: string;
6
+ };
3
7
  export default DatePicker;
@@ -1,3 +1,7 @@
1
1
  import { DropdownProps } from './DropDown.types';
2
- declare const Dropdown: ({ data, withFilter, withClose, disableAll, withMultiselect, selectedOptionID, withInput, dropdownType, onSelect, onFocus, onBlur, onValueChange, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, ...rest }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Dropdown: {
3
+ ({ data, withFilter, withClose, disableAll, withMultiselect, selectedOptionID, withInput, dropdownType, onSelect, onFocus, onBlur, onValueChange, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, ...rest }: DropdownProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["data", "withFilter", "withClose", "disableAll", "withMultiselect", "selectedOptionID", "withInput", "dropdownType", "onSelect", "onFocus", "onBlur", "onValueChange", "customInputSlot", "dropdownWrapperStyle", "dropdownInputWrapperStyle", "dropdownInputSlotStyle", "dropdownInputSlotItemStyle", "dropdownInputSlotItemLabelStyle", "dropdownInputSlotItemCloseStyle", "dropdownInputSlotItemMoreStyle", "dropdownItemStyle", "dropdownItemLabelStyle", "itemCheckboxStyle", "dropdownItemLabelTextStyle", "dropdownListStyle"];
5
+ displayName: string;
6
+ };
3
7
  export default Dropdown;
@@ -1,3 +1,7 @@
1
1
  import { FormInputProps } from './FormInput.types';
2
- declare const FormInput: ({ 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;
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;
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
+ displayName: string;
6
+ };
3
7
  export default FormInput;
@@ -1,3 +1,7 @@
1
1
  import { InlineLoadingProps } from './InlineLoading.types';
2
- declare const InlineLoading: ({ loading, success, error, msg }: InlineLoadingProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const InlineLoading: {
3
+ ({ loading, success, error, msg }: InlineLoadingProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["loading", "success", "error", "msg"];
5
+ displayName: string;
6
+ };
3
7
  export default InlineLoading;
@@ -2,5 +2,6 @@ import { ButtonProps } from './MainButton.types';
2
2
  declare const MainButton: {
3
3
  ({ label, size, leftSlot, rightSlot, buttonSlot, type, colorType, buttonType, withFocus, customFocus, disabled, loading, spaceBetween, buttonStyle, mainButtonContentStyle, mainButtonLabelStyle, leftSlotStyle, rightSlotStyle, onClick, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
4
4
  propKeys: readonly ["label", "size", "leftSlot", "rightSlot", "buttonSlot", "type", "colorType", "buttonType", "withFocus", "customFocus", "disabled", "loading", "spaceBetween", "buttonStyle", "mainButtonContentStyle", "mainButtonLabelStyle", "leftSlotStyle", "rightSlotStyle", "onClick"];
5
+ displayName: string;
5
6
  };
6
7
  export default MainButton;
@@ -3,7 +3,10 @@ import { NotificationToastProps } from './NotificationToast.types';
3
3
  export declare const ToastContext: import('react').Context<{
4
4
  showToast: (props: NotificationToastProps) => void;
5
5
  } | null>;
6
- declare const ToastProvider: ({ children }: {
7
- children: ReactNode;
8
- }) => import("react/jsx-runtime").JSX.Element;
6
+ declare const ToastProvider: {
7
+ ({ children }: {
8
+ children: ReactNode;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ propKeys: readonly ["children"];
11
+ };
9
12
  export default ToastProvider;
@@ -1,3 +1,7 @@
1
1
  import { NotificationToastProps } from './NotificationToast.types';
2
- declare const createNotificationToast: () => ((props: NotificationToastProps) => void);
2
+ declare const createNotificationToast: {
3
+ (): ((props: NotificationToastProps) => void);
4
+ propKeys: readonly ["title", "colorType", "filled", "withClose", "withUndo", "withInfoIcon", "description", "customAction", "timeout", "children", "onUndo", "onClose"];
5
+ displayName: string;
6
+ };
3
7
  export default createNotificationToast;
@@ -1,3 +1,7 @@
1
1
  import { PopupProps } from './Popup.types';
2
- declare const Popup: ({ visible, template, options, children, onClickOutside, onClose, widthType, modalOverlayStyle, popupContainerStyle, templateWrapperStyle, popupHeaderStyle, popupTitleStyle, closeButtonStyle, }: PopupProps) => false | import("react/jsx-runtime").JSX.Element | undefined;
2
+ declare const Popup: {
3
+ ({ visible, template, options, children, onClickOutside, onClose, widthType, modalOverlayStyle, popupContainerStyle, templateWrapperStyle, popupHeaderStyle, popupTitleStyle, closeButtonStyle, }: PopupProps): false | import("react/jsx-runtime").JSX.Element | undefined;
4
+ propKeys: readonly ["visible", "template", "options", "children", "onClickOutside", "onClose", "widthType", "modalOverlayStyle", "popupContainerStyle", "templateWrapperStyle", "popupHeaderStyle", "popupTitleStyle", "closeButtonStyle"];
5
+ displayName: string;
6
+ };
3
7
  export default Popup;
@@ -1,3 +1,7 @@
1
1
  import { RadioProps } from './Radio.types';
2
- declare const Radio: ({ checked, change, disabled, required, withUncheckState, radioType }: RadioProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Radio: {
3
+ ({ checked, change, disabled, required, withUncheckState, radioType }: RadioProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["checked", "change", "disabled", "required", "withUncheckState", "radioType"];
5
+ displayName: string;
6
+ };
3
7
  export default Radio;
@@ -1,3 +1,7 @@
1
1
  import { SkeletonProps } from './Skeleton.types';
2
- declare const Skeleton: ({ type, customStyle, children }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Skeleton: {
3
+ ({ type, customStyle, children }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["type", "customStyle", "children"];
5
+ displayName: string;
6
+ };
3
7
  export default Skeleton;
@@ -0,0 +1,7 @@
1
+ import { SliderProps } from './Slider.types';
2
+ declare const Slider: {
3
+ ({ minValue, maxValue, min, max, label, showLabels, withPercent, debounceTime, onChange, theme, sliderContainerStyle, sliderStyle, sliderProgressStyle, thumbValuesStyle, thumbValueStyle, thumbStyle, }: SliderProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["minValue", "maxValue", "min", "max", "label", "showLabels", "withPercent", "debounceTime", "onChange", "theme", "sliderContainerStyle", "sliderStyle", "sliderProgressStyle", "thumbValuesStyle", "thumbValueStyle", "thumbStyle"];
5
+ displayName: string;
6
+ };
7
+ export default Slider;
@@ -0,0 +1,20 @@
1
+ import { CSSProperties } from 'react';
2
+ /** Slider Component Props */
3
+ export interface SliderProps {
4
+ minValue?: number;
5
+ maxValue?: number;
6
+ min?: number;
7
+ max?: number;
8
+ label?: 'top' | 'bottom';
9
+ showLabels?: boolean;
10
+ withPercent?: boolean;
11
+ debounceTime?: number;
12
+ onChange?: (value: number | string[] | number[]) => void;
13
+ theme?: 'light' | 'dark';
14
+ sliderContainerStyle?: CSSProperties;
15
+ sliderStyle?: CSSProperties;
16
+ sliderProgressStyle?: CSSProperties;
17
+ thumbValuesStyle?: CSSProperties;
18
+ thumbValueStyle?: CSSProperties;
19
+ thumbStyle?: CSSProperties;
20
+ }
@@ -1,3 +1,7 @@
1
1
  import { TabsProps } from './Tabs.types';
2
- declare const Tabs: ({ tabsData, type, vertical, onItemClick, tabContainerStyle, singleTabStyle, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Tabs: {
3
+ ({ tabsData, type, vertical, onItemClick, tabContainerStyle, singleTabStyle, }: TabsProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["tabsData", "type", "vertical", "onItemClick", "tabContainerStyle", "singleTabStyle"];
5
+ displayName: string;
6
+ };
3
7
  export default Tabs;
@@ -1,3 +1,7 @@
1
1
  import { TextareaProps } from './Textarea.types';
2
- declare const Textarea: ({ 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;
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"];
5
+ displayName: string;
6
+ };
3
7
  export default Textarea;
@@ -1,3 +1,7 @@
1
1
  import { TimePickerProps } from './TimePicker.types';
2
- declare const TimePicker: ({ value, defaultTimeType, defaultAmPm, withConfirm, mode, onChange, onFocus, onBlur, ...rest }: TimePickerProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const TimePicker: {
3
+ ({ value, defaultTimeType, defaultAmPm, withConfirm, mode, onChange, onFocus, onBlur, ...rest }: TimePickerProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["value", "defaultTimeType", "defaultAmPm", "withConfirm", "mode", "onChange", "onFocus", "onBlur"];
5
+ displayName: string;
6
+ };
3
7
  export default TimePicker;
@@ -1,3 +1,7 @@
1
1
  import { ToggleProps } from './Toggle.types';
2
- declare const Toggle: ({ checked, change, disabled, size, toggleType, required }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Toggle: {
3
+ ({ checked, change, disabled, size, toggleType, required }: ToggleProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["checked", "change", "disabled", "required", "size", "toggleType"];
5
+ displayName: string;
6
+ };
3
7
  export default Toggle;
@@ -1,3 +1,7 @@
1
1
  import { TooltipProps } from './Tooltip.types';
2
- declare const Tooltip: ({ children, tooltipSlot, delay, placement, trigger, title, text, customText, tooltipContentStyle, tooltipTitlestyle, tooltipTextStyle, tooltipContainerStyle, pointerPosition, withPointer, theme, topCustomOffset, bottomCustomOffset, leftCustomOffset, rightCustomOffset, forceClose, onClick, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Tooltip: {
3
+ ({ children, tooltipSlot, delay, placement, trigger, title, text, customText, tooltipContentStyle, tooltipTitlestyle, tooltipTextStyle, tooltipContainerStyle, pointerPosition, withPointer, theme, topCustomOffset, bottomCustomOffset, leftCustomOffset, rightCustomOffset, forceClose, onClick, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["children", "tooltipSlot", "delay", "placement", "trigger", "title", "text", "customText", "tooltipContentStyle", "tooltipTitlestyle", "tooltipTextStyle", "tooltipContainerStyle", "pointerPosition", "withPointer", "theme", "topCustomOffset", "bottomCustomOffset", "leftCustomOffset", "rightCustomOffset", "forceClose", "onClick"];
5
+ displayName: string;
6
+ };
3
7
  export default Tooltip;