rsuite 5.79.0-canary-2025032417 → 5.79.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.
- package/Accordion/styles/index.css +0 -0
- package/Accordion/styles/index.less +0 -0
- package/Animation/styles/animation.less +0 -0
- package/Animation/styles/bounce.less +0 -0
- package/Animation/styles/collapse.less +0 -0
- package/Animation/styles/fade.less +0 -0
- package/Animation/styles/index.css +0 -0
- package/Animation/styles/index.less +0 -0
- package/Animation/styles/mixin.less +0 -0
- package/Animation/styles/slide.less +0 -0
- package/Animation/styles/variables.less +0 -0
- package/CHANGELOG.md +33 -0
- package/CascadeTree/styles/search.less +0 -0
- package/Cascader/styles/index.css +0 -0
- package/Cascader/styles/index.less +0 -0
- package/Container/stories/styles.less +0 -0
- package/Container/styles/index.css +0 -0
- package/Container/styles/index.less +0 -0
- package/Content/styles/index.css +0 -0
- package/Content/styles/index.less +0 -0
- package/DateInput/styles/index.css +0 -0
- package/DateInput/styles/index.less +0 -0
- package/DatePicker/styles/mixin.less +0 -0
- package/DateRangeInput/styles/index.css +0 -0
- package/DateRangeInput/styles/index.less +0 -0
- package/Drawer/styles/mixin.less +0 -0
- package/Footer/styles/index.css +0 -0
- package/Footer/styles/index.less +0 -0
- package/Header/styles/index.css +0 -0
- package/Header/styles/index.less +0 -0
- package/HeadingGroup/styles/index.css +0 -0
- package/HeadingGroup/styles/index.less +0 -0
- package/InputNumber/styles/mixin.less +0 -0
- package/InputPicker/styles/mixin.less +0 -0
- package/LICENSE +0 -0
- package/Modal/styles/animation.less +0 -0
- package/Pagination/styles/mixin.less +0 -0
- package/Placeholder/styles/mixin.less +0 -0
- package/Progress/styles/animation.less +0 -0
- package/README.md +3 -3
- package/RadioTileGroup/styles/index.css +0 -0
- package/RadioTileGroup/styles/index.less +0 -0
- package/RangeSlider/styles/index.css +0 -0
- package/RangeSlider/styles/index.less +0 -0
- package/Table/styles/mixin.less +0 -0
- package/Tabs/styles/index.css +0 -0
- package/Tabs/styles/index.less +0 -0
- package/TimePicker/styles/index.css +0 -0
- package/TimePicker/styles/index.less +0 -0
- package/TimeRangePicker/styles/index.css +0 -0
- package/TimeRangePicker/styles/index.less +0 -0
- package/Timeline/styles/mixin.less +0 -0
- package/TreePicker/styles/index.css +0 -0
- package/TreePicker/styles/index.less +0 -0
- package/Uploader/styles/mixin.less +0 -0
- package/VisuallyHidden/styles/index.css +0 -0
- package/VisuallyHidden/styles/index.less +0 -0
- package/cjs/AutoComplete/utils.js +0 -0
- package/cjs/Avatar/AvatarIcon.js +0 -0
- package/cjs/Avatar/useImage.js +0 -0
- package/cjs/Calendar/CalendarProvider.js +0 -0
- package/cjs/Calendar/Grid/index.js +0 -0
- package/cjs/Calendar/MonthDropdown/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/TimeColumn.js +0 -0
- package/cjs/Calendar/TimeDropdown/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/getClockTime.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/getTimeLimits.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.js +0 -0
- package/cjs/Calendar/hooks/index.js +0 -0
- package/cjs/Calendar/hooks/useCalendar.js +0 -0
- package/cjs/Calendar/hooks/useCalendarDate.js +0 -0
- package/cjs/Calendar/hooks/useCalendarState.js +0 -0
- package/cjs/Calendar/types.js +0 -0
- package/cjs/Calendar/utils/getAriaLabel.js +0 -0
- package/cjs/Calendar/utils/index.js +0 -0
- package/cjs/Calendar/utils/isEveryDateInMonth.js +0 -0
- package/cjs/CascadeTree/hooks/index.js +0 -0
- package/cjs/CascadeTree/hooks/usePaths.js +0 -0
- package/cjs/CheckTree/hooks/useTreeCheckState.js +0 -0
- package/cjs/CheckTree/hooks/useTreeNodeProps.js +0 -0
- package/cjs/CheckTree/hooks/useTreeValue.js +0 -0
- package/cjs/CheckTree/utils.js +0 -0
- package/cjs/CustomProvider/FormattedDate.js +0 -0
- package/cjs/CustomProvider/FormattedNumber.js +0 -0
- package/cjs/DOMHelper/isElement.js +0 -0
- package/cjs/DateInput/hooks/useFieldCursor.js +0 -0
- package/cjs/DateInput/hooks/useIsFocused.js +0 -0
- package/cjs/DateInput/hooks/useSelectedState.js +0 -0
- package/cjs/DatePicker/hooks/useCustomizedInput.js +0 -0
- package/cjs/DatePicker/hooks/useMonthView.js +0 -0
- package/cjs/DateRangeInput/utils.js +0 -0
- package/cjs/DateRangePicker/DateRangePickerProvider.js +0 -0
- package/cjs/DateRangePicker/disabledDateUtils.js +0 -0
- package/cjs/DateRangePicker/hooks/index.js +0 -0
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +0 -0
- package/cjs/DateRangePicker/hooks/useDateRangePicker.js +0 -0
- package/cjs/DateRangePicker/utils.js +0 -0
- package/cjs/Dropdown/DropdownState.js +0 -0
- package/cjs/Form/hooks/useFormRef.js +0 -0
- package/cjs/Form/hooks/useFormValue.js +0 -0
- package/cjs/FormControl/hooks/useRegisterModel.js +0 -0
- package/cjs/Highlight/utils/highlightText.js +0 -0
- package/cjs/Image/hooks/useImage.js +0 -0
- package/cjs/InlineEdit/useEditState.js +0 -0
- package/cjs/InlineEdit/useFocusEvent.js +0 -0
- package/cjs/InputPicker/InputPickerContext.js +0 -0
- package/cjs/InputPicker/utils.js +0 -0
- package/cjs/List/List.js +6 -2
- package/cjs/List/ListContext.js +0 -0
- package/cjs/List/helper/AutoScroller.js +0 -0
- package/cjs/List/helper/useManager.js +0 -0
- package/cjs/List/helper/useSortHelper.d.ts +7 -5
- package/cjs/List/helper/useSortHelper.js +109 -16
- package/cjs/List/helper/utils.js +15 -7
- package/cjs/MaskedInput/adjustCaretPosition.js +0 -0
- package/cjs/MaskedInput/createTextMaskInputElement.js +0 -0
- package/cjs/MaskedInput/types.js +0 -0
- package/cjs/MaskedInput/utilities.js +0 -0
- package/cjs/Modal/ModalContext.js +0 -0
- package/cjs/MultiCascadeTree/hooks/index.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useColumnData.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useFlattenData.js +0 -0
- package/cjs/Nav/NavContext.js +0 -0
- package/cjs/Panel/hooks/useExpanded.js +0 -0
- package/cjs/RangeSlider/RangeSlider.js +5 -2
- package/cjs/Rate/utils.js +0 -0
- package/cjs/Sidenav/Node.js +0 -0
- package/cjs/Slider/Handle.d.ts +1 -0
- package/cjs/Slider/Handle.js +8 -5
- package/cjs/Slider/Slider.d.ts +2 -0
- package/cjs/Slider/Slider.js +3 -1
- package/cjs/Slider/useDrag.d.ts +1 -0
- package/cjs/Slider/useDrag.js +6 -2
- package/cjs/Slider/utils.js +0 -0
- package/cjs/Table/TableCell.js +0 -0
- package/cjs/Table/TableColumn.js +0 -0
- package/cjs/Table/TableColumnGroup.js +0 -0
- package/cjs/Table/TableHeaderCell.js +0 -0
- package/cjs/Tree/hooks/useExpandTree.js +0 -0
- package/cjs/Tree/hooks/useForceUpdate.js +0 -0
- package/cjs/Tree/hooks/useTreeDrag.js +0 -0
- package/cjs/Tree/hooks/useTreeNodeProps.js +0 -0
- package/cjs/Tree/hooks/useTreeWithChildren.js +0 -0
- package/cjs/Tree/hooks/useVirtualizedTreeData.js +0 -0
- package/cjs/Tree/utils/flattenTree.js +0 -0
- package/cjs/Tree/utils/focusableTree.js +0 -0
- package/cjs/Tree/utils/formatNodeRefKey.js +0 -0
- package/cjs/Tree/utils/getExpandItemValues.js +0 -0
- package/cjs/Tree/utils/getNodeParentKeys.js +0 -0
- package/cjs/Tree/utils/getTreeActiveNode.js +0 -0
- package/cjs/Tree/utils/hasVisibleChildren.js +0 -0
- package/cjs/Tree/utils/indentTreeNode.js +0 -0
- package/cjs/Tree/utils/index.js +0 -0
- package/cjs/Tree/utils/isExpand.js +0 -0
- package/cjs/Tree/utils/isSearching.js +0 -0
- package/cjs/Tree/utils/treeKeyboardInteractions.js +0 -0
- package/cjs/Uploader/UploadTrigger.d.ts +1 -1
- package/cjs/Uploader/UploadTrigger.js +13 -9
- package/cjs/Uploader/Uploader.d.ts +1 -1
- package/cjs/Uploader/Uploader.js +1 -1
- package/cjs/Uploader/utils/previewFile.js +0 -0
- package/cjs/global.d.ts +0 -0
- package/cjs/internals/CloseButton/index.js +0 -0
- package/cjs/internals/Disclosure/DisclosureButton.js +0 -0
- package/cjs/internals/Disclosure/DisclosureContent.js +0 -0
- package/cjs/internals/Disclosure/DisclosureContext.js +0 -0
- package/cjs/internals/Disclosure/index.js +0 -0
- package/cjs/internals/Disclosure/useDisclosureContext.js +0 -0
- package/cjs/internals/Menu/MenuContext.js +0 -0
- package/cjs/internals/Menu/index.js +0 -0
- package/cjs/internals/Overlay/ModalManager.js +0 -0
- package/cjs/internals/Picker/PickerLabel.js +0 -0
- package/cjs/internals/Picker/hooks/useSearch.js +0 -0
- package/cjs/internals/Picker/hooks/useToggleKeyDownEvent.js +0 -0
- package/cjs/internals/Picker/utils.js +0 -0
- package/cjs/internals/Plaintext/index.js +0 -0
- package/cjs/internals/Ripple/index.js +0 -0
- package/cjs/internals/ScrollView/hooks/useScrollState.js +0 -0
- package/cjs/internals/ScrollView/index.js +0 -0
- package/cjs/internals/SearchBox/index.js +0 -0
- package/cjs/internals/Tree/TreeProvider.js +0 -0
- package/cjs/internals/Tree/index.js +0 -0
- package/cjs/internals/Tree/types.js +0 -0
- package/cjs/internals/Tree/utils/filterNodesOfTree.js +0 -0
- package/cjs/internals/Tree/utils/findNodeOfTree.js +0 -0
- package/cjs/internals/Tree/utils/getParentMap.js +0 -0
- package/cjs/internals/Tree/utils/index.js +0 -0
- package/cjs/internals/Windowing/index.js +0 -0
- package/cjs/internals/constants/statusIcons.js +0 -0
- package/cjs/internals/hooks/useClickOutside.js +0 -0
- package/cjs/internals/hooks/useControlled.js +0 -0
- package/cjs/internals/hooks/useEventCallback.js +0 -0
- package/cjs/internals/hooks/useEventListener.js +0 -0
- package/cjs/internals/hooks/useFocusVirtualListItem.js +0 -0
- package/cjs/internals/hooks/useIsMounted.js +0 -0
- package/cjs/internals/hooks/useIsomorphicLayoutEffect.js +0 -0
- package/cjs/internals/hooks/useMap.js +0 -0
- package/cjs/internals/hooks/useMount.js +0 -0
- package/cjs/internals/hooks/useUpdatedRef.js +0 -0
- package/cjs/internals/index.js +0 -0
- package/cjs/internals/utils/attachParent.js +0 -0
- package/cjs/internals/utils/composeFunctions.js +0 -0
- package/cjs/internals/utils/createChainedFunction.js +0 -0
- package/cjs/internals/utils/date/extractTimeFormat.js +0 -0
- package/cjs/internals/utils/date/formatCheck.js +0 -0
- package/cjs/internals/utils/date/getWeekKeys.js +0 -0
- package/cjs/internals/utils/date/omitHideDisabledProps.js +0 -0
- package/cjs/internals/utils/date/reverseDateRangeOmitTime.js +0 -0
- package/cjs/internals/utils/date/types.js +0 -0
- package/cjs/internals/utils/date/useDateMode.js +0 -0
- package/cjs/internals/utils/getDataGroupBy.js +0 -0
- package/cjs/internals/utils/guid.js +0 -0
- package/cjs/internals/utils/isOneOf.js +0 -0
- package/cjs/internals/utils/shallowEqual.js +0 -0
- package/cjs/internals/utils/warnOnce.js +0 -0
- package/cjs/toaster/ToastContext.js +0 -0
- package/cjs/useBreakpointValue/useBreakpointValue.js +0 -0
- package/cjs/useToaster/useToaster.d.ts +1 -1
- package/cjs/useToaster/useToaster.js +1 -1
- package/dist/rsuite.js +237 -237
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/AutoComplete/utils.js +0 -0
- package/esm/Avatar/AvatarIcon.js +0 -0
- package/esm/Avatar/useImage.js +0 -0
- package/esm/Calendar/CalendarProvider.js +0 -0
- package/esm/Calendar/Grid/index.js +0 -0
- package/esm/Calendar/MonthDropdown/index.js +0 -0
- package/esm/Calendar/TimeDropdown/TimeColumn.js +0 -0
- package/esm/Calendar/TimeDropdown/index.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/getClockTime.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/getTimeLimits.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/index.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.js +0 -0
- package/esm/Calendar/hooks/index.js +0 -0
- package/esm/Calendar/hooks/useCalendar.js +0 -0
- package/esm/Calendar/hooks/useCalendarDate.js +0 -0
- package/esm/Calendar/hooks/useCalendarState.js +0 -0
- package/esm/Calendar/types.js +0 -0
- package/esm/Calendar/utils/getAriaLabel.js +0 -0
- package/esm/Calendar/utils/index.js +0 -0
- package/esm/Calendar/utils/isEveryDateInMonth.js +0 -0
- package/esm/CascadeTree/hooks/index.js +0 -0
- package/esm/CascadeTree/hooks/usePaths.js +0 -0
- package/esm/CheckTree/hooks/useTreeCheckState.js +0 -0
- package/esm/CheckTree/hooks/useTreeNodeProps.js +0 -0
- package/esm/CheckTree/hooks/useTreeValue.js +0 -0
- package/esm/CheckTree/utils.js +0 -0
- package/esm/CustomProvider/FormattedDate.js +0 -0
- package/esm/CustomProvider/FormattedNumber.js +0 -0
- package/esm/DOMHelper/isElement.js +0 -0
- package/esm/DateInput/hooks/useFieldCursor.js +0 -0
- package/esm/DateInput/hooks/useIsFocused.js +0 -0
- package/esm/DateInput/hooks/useSelectedState.js +0 -0
- package/esm/DatePicker/hooks/useCustomizedInput.js +0 -0
- package/esm/DatePicker/hooks/useMonthView.js +0 -0
- package/esm/DateRangeInput/utils.js +0 -0
- package/esm/DateRangePicker/DateRangePickerProvider.js +0 -0
- package/esm/DateRangePicker/disabledDateUtils.js +0 -0
- package/esm/DateRangePicker/hooks/index.js +0 -0
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +0 -0
- package/esm/DateRangePicker/hooks/useDateRangePicker.js +0 -0
- package/esm/DateRangePicker/utils.js +0 -0
- package/esm/Dropdown/DropdownState.js +0 -0
- package/esm/Form/hooks/useFormRef.js +0 -0
- package/esm/Form/hooks/useFormValue.js +0 -0
- package/esm/FormControl/hooks/useRegisterModel.js +0 -0
- package/esm/Highlight/utils/highlightText.js +0 -0
- package/esm/Image/hooks/useImage.js +0 -0
- package/esm/InlineEdit/useEditState.js +0 -0
- package/esm/InlineEdit/useFocusEvent.js +0 -0
- package/esm/InputPicker/InputPickerContext.js +0 -0
- package/esm/InputPicker/utils.js +0 -0
- package/esm/List/List.js +6 -2
- package/esm/List/ListContext.js +0 -0
- package/esm/List/helper/AutoScroller.js +0 -0
- package/esm/List/helper/useManager.js +0 -0
- package/esm/List/helper/useSortHelper.d.ts +7 -5
- package/esm/List/helper/useSortHelper.js +109 -16
- package/esm/List/helper/utils.js +15 -7
- package/esm/MaskedInput/adjustCaretPosition.js +0 -0
- package/esm/MaskedInput/createTextMaskInputElement.js +0 -0
- package/esm/MaskedInput/types.js +0 -0
- package/esm/MaskedInput/utilities.js +0 -0
- package/esm/Modal/ModalContext.js +0 -0
- package/esm/MultiCascadeTree/hooks/index.js +0 -0
- package/esm/MultiCascadeTree/hooks/useColumnData.js +0 -0
- package/esm/MultiCascadeTree/hooks/useFlattenData.js +0 -0
- package/esm/Nav/NavContext.js +0 -0
- package/esm/Panel/hooks/useExpanded.js +0 -0
- package/esm/RangeSlider/RangeSlider.js +5 -2
- package/esm/Rate/utils.js +0 -0
- package/esm/Sidenav/Node.js +0 -0
- package/esm/Slider/Handle.d.ts +1 -0
- package/esm/Slider/Handle.js +8 -5
- package/esm/Slider/Slider.d.ts +2 -0
- package/esm/Slider/Slider.js +3 -1
- package/esm/Slider/useDrag.d.ts +1 -0
- package/esm/Slider/useDrag.js +6 -2
- package/esm/Slider/utils.js +0 -0
- package/esm/Table/TableCell.js +0 -0
- package/esm/Table/TableColumn.js +0 -0
- package/esm/Table/TableColumnGroup.js +0 -0
- package/esm/Table/TableHeaderCell.js +0 -0
- package/esm/Tree/hooks/useExpandTree.js +0 -0
- package/esm/Tree/hooks/useForceUpdate.js +0 -0
- package/esm/Tree/hooks/useTreeDrag.js +0 -0
- package/esm/Tree/hooks/useTreeNodeProps.js +0 -0
- package/esm/Tree/hooks/useTreeWithChildren.js +0 -0
- package/esm/Tree/hooks/useVirtualizedTreeData.js +0 -0
- package/esm/Tree/utils/flattenTree.js +0 -0
- package/esm/Tree/utils/focusableTree.js +0 -0
- package/esm/Tree/utils/formatNodeRefKey.js +0 -0
- package/esm/Tree/utils/getExpandItemValues.js +0 -0
- package/esm/Tree/utils/getNodeParentKeys.js +0 -0
- package/esm/Tree/utils/getTreeActiveNode.js +0 -0
- package/esm/Tree/utils/hasVisibleChildren.js +0 -0
- package/esm/Tree/utils/indentTreeNode.js +0 -0
- package/esm/Tree/utils/index.js +0 -0
- package/esm/Tree/utils/isExpand.js +0 -0
- package/esm/Tree/utils/isSearching.js +0 -0
- package/esm/Tree/utils/treeKeyboardInteractions.js +0 -0
- package/esm/Uploader/UploadTrigger.d.ts +1 -1
- package/esm/Uploader/UploadTrigger.js +13 -9
- package/esm/Uploader/Uploader.d.ts +1 -1
- package/esm/Uploader/Uploader.js +1 -1
- package/esm/Uploader/utils/previewFile.js +0 -0
- package/esm/global.d.ts +0 -0
- package/esm/internals/CloseButton/index.js +0 -0
- package/esm/internals/Disclosure/DisclosureButton.js +0 -0
- package/esm/internals/Disclosure/DisclosureContent.js +0 -0
- package/esm/internals/Disclosure/DisclosureContext.js +0 -0
- package/esm/internals/Disclosure/index.js +0 -0
- package/esm/internals/Disclosure/useDisclosureContext.js +0 -0
- package/esm/internals/Menu/MenuContext.js +0 -0
- package/esm/internals/Menu/index.js +0 -0
- package/esm/internals/Overlay/ModalManager.js +0 -0
- package/esm/internals/Picker/PickerLabel.js +0 -0
- package/esm/internals/Picker/hooks/useSearch.js +0 -0
- package/esm/internals/Picker/hooks/useToggleKeyDownEvent.js +0 -0
- package/esm/internals/Picker/utils.js +0 -0
- package/esm/internals/Plaintext/index.js +0 -0
- package/esm/internals/Ripple/index.js +0 -0
- package/esm/internals/ScrollView/hooks/useScrollState.js +0 -0
- package/esm/internals/ScrollView/index.js +0 -0
- package/esm/internals/SearchBox/index.js +0 -0
- package/esm/internals/Tree/TreeProvider.js +0 -0
- package/esm/internals/Tree/index.js +0 -0
- package/esm/internals/Tree/types.js +0 -0
- package/esm/internals/Tree/utils/filterNodesOfTree.js +0 -0
- package/esm/internals/Tree/utils/findNodeOfTree.js +0 -0
- package/esm/internals/Tree/utils/getParentMap.js +0 -0
- package/esm/internals/Tree/utils/index.js +0 -0
- package/esm/internals/Windowing/index.js +0 -0
- package/esm/internals/constants/statusIcons.js +0 -0
- package/esm/internals/hooks/useClickOutside.js +0 -0
- package/esm/internals/hooks/useControlled.js +0 -0
- package/esm/internals/hooks/useEventCallback.js +0 -0
- package/esm/internals/hooks/useEventListener.js +0 -0
- package/esm/internals/hooks/useFocusVirtualListItem.js +0 -0
- package/esm/internals/hooks/useIsMounted.js +0 -0
- package/esm/internals/hooks/useIsomorphicLayoutEffect.js +0 -0
- package/esm/internals/hooks/useMap.js +0 -0
- package/esm/internals/hooks/useMount.js +0 -0
- package/esm/internals/hooks/useUpdatedRef.js +0 -0
- package/esm/internals/index.js +0 -0
- package/esm/internals/utils/attachParent.js +0 -0
- package/esm/internals/utils/composeFunctions.js +0 -0
- package/esm/internals/utils/createChainedFunction.js +0 -0
- package/esm/internals/utils/date/extractTimeFormat.js +0 -0
- package/esm/internals/utils/date/formatCheck.js +0 -0
- package/esm/internals/utils/date/getWeekKeys.js +0 -0
- package/esm/internals/utils/date/omitHideDisabledProps.js +0 -0
- package/esm/internals/utils/date/reverseDateRangeOmitTime.js +0 -0
- package/esm/internals/utils/date/types.js +0 -0
- package/esm/internals/utils/date/useDateMode.js +0 -0
- package/esm/internals/utils/getDataGroupBy.js +0 -0
- package/esm/internals/utils/guid.js +0 -0
- package/esm/internals/utils/isOneOf.js +0 -0
- package/esm/internals/utils/shallowEqual.js +0 -0
- package/esm/internals/utils/warnOnce.js +0 -0
- package/esm/toaster/ToastContext.js +0 -0
- package/esm/useBreakpointValue/useBreakpointValue.js +0 -0
- package/esm/useToaster/useToaster.d.ts +1 -1
- package/esm/useToaster/useToaster.js +1 -1
- package/internals/CloseButton/styles/index.less +0 -0
- package/internals/Ripple/styles/mixins.less +0 -0
- package/internals/SearchBox/styles/index.less +0 -0
- package/package.json +1 -1
- package/styles/colors/dark.less +0 -0
- package/styles/colors/high-contrast.less +0 -0
- package/styles/colors/light.less +0 -0
- package/styles/mixins/color-modes.less +0 -0
- package/styles/mixins/menu.less +0 -0
- package/styles/plugins/palette.js +0 -0
- package/toaster/styles/animation.less +0 -0
- package/useToaster/styles/index.css +0 -0
- package/useToaster/styles/index.less +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [5.79.1](https://github.com/rsuite/rsuite/compare/v5.79.0...v5.79.1) (2025-04-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **List:** fix sorting issue on mobile devices ([#4215](https://github.com/rsuite/rsuite/issues/4215)) ([5b74d8b](https://github.com/rsuite/rsuite/commit/5b74d8b6e09e3d662e63f0c437a28585f2535a94))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# [5.79.0](https://github.com/rsuite/rsuite/compare/v5.78.1...v5.79.0) (2025-03-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **Form:** support explicit type of array type when use rule of formControl ([#4165](https://github.com/rsuite/rsuite/issues/4165)) ([55df308](https://github.com/rsuite/rsuite/commit/55df3080ebcb57ab5e3a8482e381220499600831))
|
|
16
|
+
* **useToaster:** fix the incorrect [@see](https://github.com/see) link in the useToaster comment ([#4200](https://github.com/rsuite/rsuite/issues/4200)) ([cd8087a](https://github.com/rsuite/rsuite/commit/cd8087a4529fad814378104a4f19c2734bcd55f2))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **Slider,RangeSlider:** add support for `keepTooltipOpen` prop ([#4186](https://github.com/rsuite/rsuite/issues/4186)) ([a1bdea4](https://github.com/rsuite/rsuite/commit/a1bdea4fad33feca63636631aa1cac7989c0eb87))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [5.78.1](https://github.com/rsuite/rsuite/compare/v5.78.0...v5.78.1) (2025-03-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **Uploader:** refine children prop type and improve class handling ([#4175](https://github.com/rsuite/rsuite/issues/4175)) ([58d3eea](https://github.com/rsuite/rsuite/commit/58d3eea86e186590586a14068773a8418fb5f3f9))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
1
34
|
# [5.78.0](https://github.com/rsuite/rsuite/compare/v5.77.1...v5.78.0) (2025-02-21)
|
|
2
35
|
|
|
3
36
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Content/styles/index.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Drawer/styles/mixin.less
CHANGED
|
File without changes
|
package/Footer/styles/index.css
CHANGED
|
File without changes
|
package/Footer/styles/index.less
CHANGED
|
File without changes
|
package/Header/styles/index.css
CHANGED
|
File without changes
|
package/Header/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
English | [中文版][readm-cn]
|
|
8
8
|
|
|
9
9
|
[![npm][npm-svg]][npm-home]
|
|
10
|
-
[![GitHub Actions][
|
|
10
|
+
[![GitHub Actions][nodejs-ci-svg]][nodejs-ci]
|
|
11
11
|
[![npm bundle size][npm-bundle-size-img]][npm-bundle-size]
|
|
12
12
|
[![codecov][codecov-img]][codecov]
|
|
13
13
|
[![Discord][discord-svg]][discord-invite]
|
|
@@ -142,8 +142,8 @@ React Suite is [MIT licensed][license].
|
|
|
142
142
|
[npm-home]: https://www.npmjs.com/package/rsuite
|
|
143
143
|
[npm-bundle-size-img]: https://badgen.net/bundlephobia/minzip/rsuite?icon=npm
|
|
144
144
|
[npm-bundle-size]: https://bundlephobia.com/package/rsuite
|
|
145
|
-
[
|
|
146
|
-
[
|
|
145
|
+
[nodejs-ci-svg]: https://github.com/rsuite/rsuite/workflows/Node.js%20CI/badge.svg
|
|
146
|
+
[nodejs-ci]: https://github.com/rsuite/rsuite/actions/workflows/nodejs-ci.yml?query=branch%3Amain+workflow%3A%22Node.js+CI%22
|
|
147
147
|
[discord-svg]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg
|
|
148
148
|
[discord-invite]: https://discord.gg/R8mnjwh
|
|
149
149
|
[release-notes]: https://github.com/rsuite/rsuite/releases
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Table/styles/mixin.less
CHANGED
|
File without changes
|
package/Tabs/styles/index.css
CHANGED
|
File without changes
|
package/Tabs/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/Avatar/AvatarIcon.js
CHANGED
|
File without changes
|
package/cjs/Avatar/useImage.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/Calendar/types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/CheckTree/utils.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/InputPicker/utils.js
CHANGED
|
File without changes
|
package/cjs/List/List.js
CHANGED
|
@@ -65,7 +65,9 @@ var List = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
65
65
|
register = _useSortHelper.register,
|
|
66
66
|
sorting = _useSortHelper.sorting,
|
|
67
67
|
handleEnd = _useSortHelper.handleEnd,
|
|
68
|
-
handleStart = _useSortHelper.handleStart
|
|
68
|
+
handleStart = _useSortHelper.handleStart,
|
|
69
|
+
handleTouchStart = _useSortHelper.handleTouchStart,
|
|
70
|
+
handleTouchEnd = _useSortHelper.handleTouchEnd;
|
|
69
71
|
var classes = merge(className, withClassPrefix({
|
|
70
72
|
bordered: bordered,
|
|
71
73
|
sortable: sortable,
|
|
@@ -86,7 +88,9 @@ var List = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
86
88
|
ref: (0, _utils.mergeRefs)(containerRef, ref),
|
|
87
89
|
className: classes,
|
|
88
90
|
onMouseDown: sortable ? handleStart : undefined,
|
|
89
|
-
onMouseUp: sortable ? handleEnd : undefined
|
|
91
|
+
onMouseUp: sortable ? handleEnd : undefined,
|
|
92
|
+
onTouchStart: sortable ? handleTouchStart : undefined,
|
|
93
|
+
onTouchEnd: sortable ? handleTouchEnd : undefined
|
|
90
94
|
}), /*#__PURE__*/_react.default.createElement(_ListContext.default.Provider, {
|
|
91
95
|
value: contextValue
|
|
92
96
|
}, children));
|
package/cjs/List/ListContext.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
1
|
+
import { MouseEventHandler, TouchEventHandler } from 'react';
|
|
2
2
|
import { Collection, ManagedItem } from './useManager';
|
|
3
3
|
export interface MovedItemInfo {
|
|
4
4
|
collection: Collection;
|
|
@@ -10,14 +10,16 @@ export type SortConfig = {
|
|
|
10
10
|
autoScroll?: boolean;
|
|
11
11
|
pressDelay?: number;
|
|
12
12
|
transitionDuration?: number;
|
|
13
|
-
onSortStart?(payload?: MovedItemInfo, event?: MouseEvent): void;
|
|
14
|
-
onSortMove?(payload?: MovedItemInfo, event?: MouseEvent): void;
|
|
15
|
-
onSortEnd?(payload?: MovedItemInfo, event?: MouseEvent): void;
|
|
16
|
-
onSort?(payload?: MovedItemInfo, event?: MouseEvent): void;
|
|
13
|
+
onSortStart?(payload?: MovedItemInfo, event?: MouseEvent | TouchEvent): void;
|
|
14
|
+
onSortMove?(payload?: MovedItemInfo, event?: MouseEvent | TouchEvent): void;
|
|
15
|
+
onSortEnd?(payload?: MovedItemInfo, event?: MouseEvent | TouchEvent): void;
|
|
16
|
+
onSort?(payload?: MovedItemInfo, event?: MouseEvent | TouchEvent): void;
|
|
17
17
|
};
|
|
18
18
|
declare const useSortHelper: (config: SortConfig) => {
|
|
19
19
|
handleStart: MouseEventHandler<Element>;
|
|
20
20
|
handleEnd: MouseEventHandler<Element>;
|
|
21
|
+
handleTouchStart: TouchEventHandler<Element>;
|
|
22
|
+
handleTouchEnd: TouchEventHandler<Element>;
|
|
21
23
|
containerRef: import("react").RefObject<HTMLDivElement>;
|
|
22
24
|
sorting: boolean;
|
|
23
25
|
register: (item: ManagedItem) => {
|
|
@@ -37,7 +37,7 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
37
37
|
/**
|
|
38
38
|
* start dragging
|
|
39
39
|
* */
|
|
40
|
-
var handlePress = (0, _react.useCallback)(function (
|
|
40
|
+
var handlePress = (0, _react.useCallback)(function (event, _targetNode, curManagedItem) {
|
|
41
41
|
var _curManagedItem$info$, _curManagedItem$info$2, _activeNodeHelper;
|
|
42
42
|
if (!isMounted()) return;
|
|
43
43
|
// data
|
|
@@ -51,6 +51,13 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
51
51
|
};
|
|
52
52
|
var animatedNodesOffset = []; // all list item offset
|
|
53
53
|
|
|
54
|
+
// Get initial position from event
|
|
55
|
+
var isTouchEvent = 'touches' in event;
|
|
56
|
+
var initialPosition = {
|
|
57
|
+
pageX: isTouchEvent ? event.touches[0].pageX : event.pageX,
|
|
58
|
+
pageY: isTouchEvent ? event.touches[0].pageY : event.pageY
|
|
59
|
+
};
|
|
60
|
+
|
|
54
61
|
// init scroller
|
|
55
62
|
var scrollContainer = (0, _utils.getScrollingParent)(containerElement) || containerElement;
|
|
56
63
|
var initScroll = {
|
|
@@ -92,17 +99,31 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
92
99
|
y: 0
|
|
93
100
|
});
|
|
94
101
|
};
|
|
95
|
-
|
|
102
|
+
|
|
103
|
+
// Common handler for both mouse and touch move events
|
|
104
|
+
var handleSortMove = function handleSortMove(moveEvent) {
|
|
105
|
+
// Prevent default to stop page scrolling during touch drag
|
|
106
|
+
if ('touches' in moveEvent) {
|
|
107
|
+
moveEvent.preventDefault();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Get current position from event
|
|
111
|
+
var isTouchMoveEvent = 'touches' in moveEvent;
|
|
112
|
+
var currentPosition = {
|
|
113
|
+
pageX: isTouchMoveEvent ? moveEvent.touches[0].pageX : moveEvent.pageX,
|
|
114
|
+
pageY: isTouchMoveEvent ? moveEvent.touches[0].pageY : moveEvent.pageY
|
|
115
|
+
};
|
|
116
|
+
|
|
96
117
|
// Update helper position
|
|
97
118
|
var offset = {
|
|
98
|
-
x:
|
|
99
|
-
y:
|
|
119
|
+
x: currentPosition.pageX,
|
|
120
|
+
y: currentPosition.pageY
|
|
100
121
|
};
|
|
101
122
|
var containerScrollDelta = getContainerScrollDelta();
|
|
102
123
|
var containerBoundingRect = scrollContainer.getBoundingClientRect();
|
|
103
124
|
activeNodeHolderTranslate = {
|
|
104
|
-
x: offset.x -
|
|
105
|
-
y: offset.y -
|
|
125
|
+
x: offset.x - initialPosition.pageX,
|
|
126
|
+
y: offset.y - initialPosition.pageY
|
|
106
127
|
};
|
|
107
128
|
if (activeNodeHelper) {
|
|
108
129
|
(0, _utils.setTranslate3d)(activeNodeHelper, activeNodeHolderTranslate);
|
|
@@ -202,14 +223,22 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
202
223
|
node: activeNode,
|
|
203
224
|
oldIndex: activeNodeOldIndex,
|
|
204
225
|
newIndex: activeNodeNextIndex
|
|
205
|
-
},
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
var
|
|
226
|
+
}, moveEvent);
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
// Common handler for both mouse and touch end events
|
|
230
|
+
var handleSortEnd = function handleSortEnd(endEvent) {
|
|
231
|
+
var _sortTouchMoveListene, _sortTouchEndListener;
|
|
210
232
|
// Remove the event listeners
|
|
211
233
|
sortMouseMoveListener.off();
|
|
212
234
|
sortMouseEndListener.off();
|
|
235
|
+
(_sortTouchMoveListene = sortTouchMoveListener) === null || _sortTouchMoveListene === void 0 || _sortTouchMoveListene.off();
|
|
236
|
+
(_sortTouchEndListener = sortTouchEndListener) === null || _sortTouchEndListener === void 0 || _sortTouchEndListener.off();
|
|
237
|
+
|
|
238
|
+
// Enable page scrolling again
|
|
239
|
+
if (document.body.style.overflow === 'hidden') {
|
|
240
|
+
document.body.style.overflow = '';
|
|
241
|
+
}
|
|
213
242
|
var holderTranslate = getHolderTranslate();
|
|
214
243
|
var containerScrollDelta = getContainerScrollDelta();
|
|
215
244
|
if (activeNodeHelper) {
|
|
@@ -256,12 +285,33 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
256
285
|
newIndex: activeNodeNextIndex,
|
|
257
286
|
oldIndex: activeNodeOldIndex
|
|
258
287
|
};
|
|
259
|
-
onSortEnd === null || onSortEnd === void 0 || onSortEnd(callbackPayload,
|
|
260
|
-
onSort === null || onSort === void 0 || onSort(callbackPayload,
|
|
288
|
+
onSortEnd === null || onSortEnd === void 0 || onSortEnd(callbackPayload, endEvent);
|
|
289
|
+
onSort === null || onSort === void 0 || onSort(callbackPayload, endEvent);
|
|
261
290
|
}, transitionDuration);
|
|
262
|
-
}
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
// Set up mouse event listeners
|
|
294
|
+
var sortMouseMoveListener = (0, _on.default)(window, 'mousemove', handleSortMove, {
|
|
295
|
+
passive: false
|
|
296
|
+
});
|
|
297
|
+
var sortMouseEndListener = (0, _on.default)(window, 'mouseup', handleSortEnd, {
|
|
263
298
|
passive: false
|
|
264
299
|
});
|
|
300
|
+
|
|
301
|
+
// Set up touch event listeners
|
|
302
|
+
var sortTouchMoveListener;
|
|
303
|
+
var sortTouchEndListener;
|
|
304
|
+
if (isTouchEvent) {
|
|
305
|
+
// Disable page scrolling during touch drag
|
|
306
|
+
document.body.style.overflow = 'hidden';
|
|
307
|
+
sortTouchMoveListener = (0, _on.default)(window, 'touchmove', handleSortMove, {
|
|
308
|
+
passive: false
|
|
309
|
+
} // Important: passive: false allows preventDefault() to work
|
|
310
|
+
);
|
|
311
|
+
sortTouchEndListener = (0, _on.default)(window, 'touchend', handleSortEnd, {
|
|
312
|
+
passive: false
|
|
313
|
+
});
|
|
314
|
+
}
|
|
265
315
|
setSorting(true);
|
|
266
316
|
// start callback
|
|
267
317
|
onSortStart === null || onSortStart === void 0 || onSortStart({
|
|
@@ -269,7 +319,7 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
269
319
|
node: activeNode,
|
|
270
320
|
oldIndex: activeNodeOldIndex,
|
|
271
321
|
newIndex: activeNodeNextIndex
|
|
272
|
-
},
|
|
322
|
+
}, event);
|
|
273
323
|
}, [autoScroll, getOrderedItems, isMounted, onSort, onSortEnd, onSortMove, onSortStart, transitionDuration]);
|
|
274
324
|
|
|
275
325
|
/**
|
|
@@ -297,15 +347,58 @@ var useSortHelper = function useSortHelper(config) {
|
|
|
297
347
|
}
|
|
298
348
|
}, [getManagedItem, handlePress, pressDelay, sorting]);
|
|
299
349
|
|
|
350
|
+
/**
|
|
351
|
+
* Handle touch start for mobile devices
|
|
352
|
+
*/
|
|
353
|
+
var handleTouchStart = (0, _react.useCallback)(function (touchStartEvent) {
|
|
354
|
+
var triggeredNode = touchStartEvent.target;
|
|
355
|
+
var targetNode = (0, _utils.closestNode)(triggeredNode, function (el) {
|
|
356
|
+
return Boolean(getManagedItem(el));
|
|
357
|
+
});
|
|
358
|
+
var curManagedItem = getManagedItem(targetNode);
|
|
359
|
+
if (
|
|
360
|
+
// is list item
|
|
361
|
+
Boolean(curManagedItem) && !curManagedItem.info.disabled &&
|
|
362
|
+
// is not sorting
|
|
363
|
+
!sorting &&
|
|
364
|
+
// is valid node
|
|
365
|
+
targetNode instanceof HTMLElement &&
|
|
366
|
+
// excludes interactive elements
|
|
367
|
+
!targetNode.contains((0, _utils.closestNode)(triggeredNode, _utils.isContainInteractiveElement))) {
|
|
368
|
+
// Prevent scrolling while sorting
|
|
369
|
+
touchStartEvent.preventDefault();
|
|
370
|
+
pressTimer.current = setTimeout(handlePress, pressDelay, touchStartEvent, targetNode, curManagedItem);
|
|
371
|
+
}
|
|
372
|
+
}, [getManagedItem, handlePress, pressDelay, sorting]);
|
|
373
|
+
|
|
300
374
|
/**
|
|
301
375
|
* Clear timer after drag
|
|
302
376
|
* */
|
|
303
377
|
var handleEnd = (0, _react.useCallback)(function () {
|
|
304
|
-
|
|
378
|
+
clearTimeout(pressTimer.current);
|
|
379
|
+
|
|
380
|
+
// Ensure page scrolling is re-enabled
|
|
381
|
+
if (document.body.style.overflow === 'hidden') {
|
|
382
|
+
document.body.style.overflow = '';
|
|
383
|
+
}
|
|
384
|
+
}, []);
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Clear timer after touch end
|
|
388
|
+
*/
|
|
389
|
+
var handleTouchEnd = (0, _react.useCallback)(function () {
|
|
390
|
+
clearTimeout(pressTimer.current);
|
|
391
|
+
|
|
392
|
+
// Ensure page scrolling is re-enabled
|
|
393
|
+
if (document.body.style.overflow === 'hidden') {
|
|
394
|
+
document.body.style.overflow = '';
|
|
395
|
+
}
|
|
305
396
|
}, []);
|
|
306
397
|
return {
|
|
307
398
|
handleStart: handleStart,
|
|
308
399
|
handleEnd: handleEnd,
|
|
400
|
+
handleTouchStart: handleTouchStart,
|
|
401
|
+
handleTouchEnd: handleTouchEnd,
|
|
309
402
|
containerRef: containerRef,
|
|
310
403
|
sorting: sorting,
|
|
311
404
|
register: listItemRegister
|
package/cjs/List/helper/utils.js
CHANGED
|
@@ -72,12 +72,20 @@ function getEdgeOffset(node, parent, offset) {
|
|
|
72
72
|
return getEdgeOffset(node.parentNode, parent, nodeOffset);
|
|
73
73
|
}
|
|
74
74
|
function getScrollingParent(el) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
return
|
|
80
|
-
|
|
75
|
+
if (!el || typeof window === 'undefined' || !window.getComputedStyle) {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
try {
|
|
79
|
+
return closestNode(el, function (el) {
|
|
80
|
+
var computedStyle = window.getComputedStyle(el);
|
|
81
|
+
var overflowRegex = /(auto|scroll)/;
|
|
82
|
+
var properties = ['overflow', 'overflowX', 'overflowY'];
|
|
83
|
+
return properties.some(function (property) {
|
|
84
|
+
return overflowRegex.test(computedStyle[property]);
|
|
85
|
+
});
|
|
81
86
|
});
|
|
82
|
-
})
|
|
87
|
+
} catch (error) {
|
|
88
|
+
// In test environments, errors may occur, so return null
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
83
91
|
}
|
|
File without changes
|
|
File without changes
|
package/cjs/MaskedInput/types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|