master-components-react-ts 2.4.6 → 2.4.8

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 { ActionDropdownProps } from './ActionDropdown.types';
2
2
  declare const ActionDropdown: {
3
- ({ title, data, onSelect }: ActionDropdownProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ title, data, closeOnScroll, onSelect }: ActionDropdownProps): import("react/jsx-runtime").JSX.Element;
4
4
  propKeys: readonly ["title", "data", "onSelect"];
5
5
  displayName: string;
6
6
  description: string;
@@ -7,5 +7,6 @@ export type ActionDataType = {
7
7
  export interface ActionDropdownProps {
8
8
  title?: string;
9
9
  data: ActionDataType[];
10
+ closeOnScroll?: boolean;
10
11
  onSelect?: (object: ActionDataType) => void;
11
12
  }
@@ -7,10 +7,10 @@ export type RangeValue = {
7
7
  start: DateOrString;
8
8
  end: DateOrString;
9
9
  };
10
- export type PickerValue = SingleValue | RangeValue;
10
+ export type PickerValue = SingleValue | RangeValue | DateOrString[];
11
11
  /**DatePicker Component Props */
12
12
  export interface DatePickerProps extends FormInputProps {
13
- defaultValue?: PickerValue;
13
+ defaultValue?: PickerValue | [];
14
14
  valueFormat?: string;
15
15
  onChange?: (value: PickerValue) => void;
16
16
  onBlur?: () => void;
@@ -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
  };