master-components-react-ts 2.3.5 → 2.3.9

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,7 +1,7 @@
1
1
  import { DatePickerProps } from './DatePicker.types';
2
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"];
3
+ ({ defaultValue, valueFormat, onChange, onBlur, onFocus, customYears, fixedDropdown, disabledDatesFrom, disabledDatesTill, disabledDatesRange, datepickerStyle, datepickerLabelStyle, closeOnScroll, 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", "closeOnScroll", "disabledDatesFrom", "disabledDatesTill", "disabledDatesRange", "datepickerStyle", "datepickerLabelStyle", "requiredStyle", "datepickerHelperTextStyle", "selectedStyle", "endDateStyle", "startDateStyle", "inRangeStyle", "otherMonthStyle", "todayStyle", "weekDayStyle", "quickPickStyle", "monthStyle", "quickPick", "mode", "pickerType", "disabled"];
5
5
  displayName: string;
6
6
  description: string;
7
7
  };
@@ -17,6 +17,7 @@ export interface DatePickerProps extends FormInputProps {
17
17
  onFocus?: () => void;
18
18
  customYears?: SingleValue[];
19
19
  fixedDropdown?: boolean;
20
+ closeOnScroll?: boolean;
20
21
  disabledDatesFrom?: SingleValue;
21
22
  disabledDatesTill?: SingleValue;
22
23
  disabledDatesRange?: [SingleValue, SingleValue];
@@ -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, onSelect, onFocus, onBlur, onValueChange, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, treeProps, ...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"];
3
+ ({ data, withFilter, withClose, disableAll, withMultiselect, selectedOptionID, withInput, withTree, withSelectAll, dropdownType, closeOnScroll, onSelect, onFocus, onBlur, onValueChange, customInputSlot, dropdownWrapperStyle, dropdownInputWrapperStyle, dropdownInputSlotStyle, dropdownInputSlotItemStyle, dropdownInputSlotItemLabelStyle, dropdownInputSlotItemCloseStyle, dropdownInputSlotItemMoreStyle, dropdownItemStyle, dropdownItemLabelStyle, itemCheckboxStyle, dropdownItemLabelTextStyle, dropdownListStyle, treeProps, ...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"];
5
5
  displayName: string;
6
6
  description: string;
7
7
  };
@@ -19,6 +19,7 @@ export interface DropdownProps extends FormInputProps {
19
19
  dropdownType?: 'country' | 'currency';
20
20
  withTree?: boolean;
21
21
  withSelectAll?: boolean;
22
+ closeOnScroll?: boolean;
22
23
  customInputSlot?: React.ReactNode;
23
24
  dropdownWrapperStyle?: React.CSSProperties;
24
25
  dropdownInputWrapperStyle?: React.CSSProperties;
@@ -1,7 +1,7 @@
1
1
  import { TimePickerProps } from './TimePicker.types';
2
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"];
3
+ ({ value, defaultTimeType, defaultAmPm, withConfirm, mode, closeOnScroll, onChange, onFocus, onBlur, ...rest }: TimePickerProps): import("react/jsx-runtime").JSX.Element;
4
+ propKeys: readonly ["value", "defaultTimeType", "defaultAmPm", "withConfirm", "mode", "onChange", "onFocus", "onBlur", "closeOnScroll"];
5
5
  displayName: string;
6
6
  description: string;
7
7
  };
@@ -4,6 +4,7 @@ export interface TimePickerProps extends FormInputProps {
4
4
  defaultTimeType?: '12' | '24';
5
5
  defaultAmPm?: 'AM' | 'PM';
6
6
  mode?: 'single' | 'range';
7
+ closeOnScroll?: boolean;
7
8
  onChange?: (value: string) => void;
8
9
  onFocus?: () => void;
9
10
  onBlur?: () => void;