rsuite 5.79.0-canary-2025032417 → 5.79.0
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 +24 -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/ListContext.js +0 -0
- package/cjs/List/helper/AutoScroller.js +0 -0
- package/cjs/List/helper/useManager.js +0 -0
- package/cjs/List/helper/utils.js +0 -0
- 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/ListContext.js +0 -0
- package/esm/List/helper/AutoScroller.js +0 -0
- package/esm/List/helper/useManager.js +0 -0
- package/esm/List/helper/utils.js +0 -0
- 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
|
package/esm/Avatar/AvatarIcon.js
CHANGED
|
File without changes
|
package/esm/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/esm/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/esm/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/esm/InputPicker/utils.js
CHANGED
|
File without changes
|
package/esm/List/ListContext.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/List/helper/utils.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/MaskedInput/types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/Nav/NavContext.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
4
|
-
var _excluded = ["aria-label", "aria-labelledby", "aria-valuetext", "as", "barClassName", "className", "classPrefix", "constraint", "defaultValue", "disabled", "graduated", "progress", "vertical", "readOnly", "min", "max", "step", "value", "handleClassName", "handleStyle", "handleTitle", "tooltip", "getAriaValueText", "renderTooltip", "renderMark", "onChange", "onChangeCommitted"];
|
|
4
|
+
var _excluded = ["aria-label", "aria-labelledby", "aria-valuetext", "as", "barClassName", "className", "classPrefix", "constraint", "defaultValue", "disabled", "graduated", "progress", "keepTooltipOpen", "vertical", "readOnly", "min", "max", "step", "value", "handleClassName", "handleStyle", "handleTitle", "tooltip", "getAriaValueText", "renderTooltip", "renderMark", "onChange", "onChangeCommitted"];
|
|
5
5
|
import React, { useMemo, useRef, useCallback } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import getWidth from 'dom-lib/getWidth';
|
|
@@ -40,6 +40,8 @@ var RangeSlider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
40
40
|
graduated = propsWithDefaults.graduated,
|
|
41
41
|
_propsWithDefaults$pr = propsWithDefaults.progress,
|
|
42
42
|
progress = _propsWithDefaults$pr === void 0 ? true : _propsWithDefaults$pr,
|
|
43
|
+
_propsWithDefaults$ke = propsWithDefaults.keepTooltipOpen,
|
|
44
|
+
keepTooltipOpen = _propsWithDefaults$ke === void 0 ? false : _propsWithDefaults$ke,
|
|
43
45
|
vertical = propsWithDefaults.vertical,
|
|
44
46
|
readOnly = propsWithDefaults.readOnly,
|
|
45
47
|
_propsWithDefaults$mi = propsWithDefaults.min,
|
|
@@ -295,7 +297,8 @@ var RangeSlider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
295
297
|
'aria-valuemax': max,
|
|
296
298
|
'aria-valuemin': min,
|
|
297
299
|
'aria-label': ariaLabel,
|
|
298
|
-
'aria-labelledby': ariaLabelledby
|
|
300
|
+
'aria-labelledby': ariaLabelledby,
|
|
301
|
+
keepTooltipOpen: keepTooltipOpen
|
|
299
302
|
};
|
|
300
303
|
return /*#__PURE__*/React.createElement(Component, _extends({}, rest, {
|
|
301
304
|
ref: ref,
|
package/esm/Rate/utils.js
CHANGED
|
File without changes
|
package/esm/Sidenav/Node.js
CHANGED
|
File without changes
|
package/esm/Slider/Handle.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface HandleProps extends WithAsProps, React.HTMLAttributes<HTMLDivEl
|
|
|
13
13
|
onDragEnd?: (event: React.MouseEvent, dataset?: DOMStringMap) => void;
|
|
14
14
|
'data-range'?: number[];
|
|
15
15
|
'data-key'?: string;
|
|
16
|
+
keepTooltipOpen?: boolean;
|
|
16
17
|
}
|
|
17
18
|
declare const Handle: RsRefForwardingComponent<'div', HandleProps>;
|
|
18
19
|
export default Handle;
|
package/esm/Slider/Handle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
4
|
-
var _excluded = ["as", "classPrefix", "className", "disabled", "style", "children", "position", "vertical", "tooltip", "rtl", "value", "role", "tabIndex", "renderTooltip", "onDragStart", "onDragMove", "onDragEnd", "onKeyDown", "data-range", "data-key"];
|
|
4
|
+
var _excluded = ["as", "classPrefix", "className", "disabled", "style", "children", "position", "vertical", "tooltip", "rtl", "value", "role", "tabIndex", "renderTooltip", "onDragStart", "onDragMove", "onDragEnd", "onKeyDown", "data-range", "data-key", "keepTooltipOpen"];
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import Tooltip from "../Tooltip/index.js";
|
|
@@ -33,7 +33,9 @@ var Handle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
33
33
|
onKeyDown = props.onKeyDown,
|
|
34
34
|
dataRange = props['data-range'],
|
|
35
35
|
dateKey = props['data-key'],
|
|
36
|
+
keepTooltipOpen = props.keepTooltipOpen,
|
|
36
37
|
rest = _objectWithoutPropertiesLoose(props, _excluded);
|
|
38
|
+
var actualTooltip = tooltip || keepTooltipOpen;
|
|
37
39
|
var horizontalKey = rtl ? 'right' : 'left';
|
|
38
40
|
var direction = vertical ? 'bottom' : horizontalKey;
|
|
39
41
|
var styles = _extends({}, style, (_extends2 = {}, _extends2[direction] = position + "%", _extends2));
|
|
@@ -41,11 +43,12 @@ var Handle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
41
43
|
merge = _useClassNames.merge,
|
|
42
44
|
prefix = _useClassNames.prefix;
|
|
43
45
|
var _useDrag = useDrag({
|
|
44
|
-
tooltip:
|
|
46
|
+
tooltip: actualTooltip,
|
|
45
47
|
disabled: disabled,
|
|
46
48
|
onDragStart: onDragStart,
|
|
47
49
|
onDragMove: onDragMove,
|
|
48
|
-
onDragEnd: onDragEnd
|
|
50
|
+
onDragEnd: onDragEnd,
|
|
51
|
+
keepTooltipOpen: keepTooltipOpen
|
|
49
52
|
}),
|
|
50
53
|
active = _useDrag.active,
|
|
51
54
|
onMoveStart = _useDrag.onMoveStart,
|
|
@@ -53,7 +56,7 @@ var Handle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
53
56
|
rootRef = _useDrag.rootRef,
|
|
54
57
|
tooltipRef = _useDrag.tooltipRef;
|
|
55
58
|
var handleClasses = merge(className, prefix('handle'), {
|
|
56
|
-
active: active
|
|
59
|
+
active: active || keepTooltipOpen
|
|
57
60
|
});
|
|
58
61
|
return /*#__PURE__*/React.createElement(Component, {
|
|
59
62
|
role: role,
|
|
@@ -68,7 +71,7 @@ var Handle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
68
71
|
"data-range": dataRange,
|
|
69
72
|
"data-key": dateKey,
|
|
70
73
|
"data-testid": "slider-handle"
|
|
71
|
-
},
|
|
74
|
+
}, actualTooltip && /*#__PURE__*/React.createElement(Tooltip, {
|
|
72
75
|
"aria-hidden": "true",
|
|
73
76
|
ref: tooltipRef,
|
|
74
77
|
className: merge(prefix('tooltip'), 'placement-top')
|
package/esm/Slider/Slider.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export interface SliderProps<T = number> extends WithAsProps, FormControlBasePro
|
|
|
52
52
|
getAriaValueText?: (value: number, eventKey?: 'start' | 'end') => string;
|
|
53
53
|
/** Callback function that is fired when the mouseup is triggered. */
|
|
54
54
|
onChangeCommitted?: (value: T, event: React.MouseEvent) => void;
|
|
55
|
+
/** If true, tooltip will always be visible even without hover */
|
|
56
|
+
keepTooltipOpen?: boolean;
|
|
55
57
|
}
|
|
56
58
|
export declare const sliderPropTypes: {
|
|
57
59
|
min: PropTypes.Requireable<number>;
|
package/esm/Slider/Slider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
4
|
-
var _excluded = ["aria-label", "aria-labelledby", "aria-valuetext", "as", "graduated", "className", "barClassName", "progress", "vertical", "disabled", "readOnly", "plaintext", "classPrefix", "min", "handleClassName", "handleStyle", "handleTitle", "tooltip", "step", "defaultValue", "value", "max", "placeholder", "getAriaValueText", "renderTooltip", "renderMark", "onChange", "onChangeCommitted"];
|
|
4
|
+
var _excluded = ["aria-label", "aria-labelledby", "aria-valuetext", "as", "graduated", "className", "barClassName", "progress", "vertical", "disabled", "readOnly", "plaintext", "classPrefix", "min", "handleClassName", "handleStyle", "handleTitle", "tooltip", "step", "defaultValue", "value", "max", "placeholder", "getAriaValueText", "renderTooltip", "renderMark", "onChange", "onChangeCommitted", "keepTooltipOpen"];
|
|
5
5
|
import React, { useCallback, useMemo, useRef } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import getWidth from 'dom-lib/getWidth';
|
|
@@ -83,6 +83,7 @@ var Slider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
83
83
|
renderMark = propsWithDefaults.renderMark,
|
|
84
84
|
onChange = propsWithDefaults.onChange,
|
|
85
85
|
onChangeCommitted = propsWithDefaults.onChangeCommitted,
|
|
86
|
+
keepTooltipOpen = propsWithDefaults.keepTooltipOpen,
|
|
86
87
|
rest = _objectWithoutPropertiesLoose(propsWithDefaults, _excluded);
|
|
87
88
|
var barRef = useRef(null);
|
|
88
89
|
var _useClassNames = useClassNames(classPrefix),
|
|
@@ -242,6 +243,7 @@ var Slider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
242
243
|
tooltip: tooltip,
|
|
243
244
|
rtl: rtl,
|
|
244
245
|
value: value,
|
|
246
|
+
keepTooltipOpen: keepTooltipOpen,
|
|
245
247
|
renderTooltip: renderTooltip,
|
|
246
248
|
onDragMove: handleChangeValue,
|
|
247
249
|
onKeyDown: handleKeyDown,
|
package/esm/Slider/useDrag.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ interface DragProps {
|
|
|
5
5
|
onDragStart?: (event: React.MouseEvent) => void;
|
|
6
6
|
onDragMove?: (event: React.DragEvent, dataset?: DOMStringMap) => void;
|
|
7
7
|
onDragEnd?: (event: React.MouseEvent, dataset?: DOMStringMap) => void;
|
|
8
|
+
keepTooltipOpen?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const useDrag: (props: DragProps) => {
|
|
10
11
|
active: boolean;
|
package/esm/Slider/useDrag.js
CHANGED
|
@@ -11,7 +11,8 @@ var useDrag = function useDrag(props) {
|
|
|
11
11
|
disabled = props.disabled,
|
|
12
12
|
onDragMove = props.onDragMove,
|
|
13
13
|
onDragEnd = props.onDragEnd,
|
|
14
|
-
onDragStart = props.onDragStart
|
|
14
|
+
onDragStart = props.onDragStart,
|
|
15
|
+
keepTooltipOpen = props.keepTooltipOpen;
|
|
15
16
|
var _useState = useState(false),
|
|
16
17
|
active = _useState[0],
|
|
17
18
|
setActive = _useState[1];
|
|
@@ -67,10 +68,13 @@ var useDrag = function useDrag(props) {
|
|
|
67
68
|
setTooltipPosition();
|
|
68
69
|
});
|
|
69
70
|
useEffect(function () {
|
|
71
|
+
if (keepTooltipOpen) {
|
|
72
|
+
onMouseEnter();
|
|
73
|
+
}
|
|
70
74
|
return function () {
|
|
71
75
|
releaseMoves();
|
|
72
76
|
};
|
|
73
|
-
}, [releaseMoves]);
|
|
77
|
+
}, [releaseMoves, keepTooltipOpen]);
|
|
74
78
|
return {
|
|
75
79
|
active: active,
|
|
76
80
|
rootRef: rootRef,
|
package/esm/Slider/utils.js
CHANGED
|
File without changes
|
package/esm/Table/TableCell.js
CHANGED
|
File without changes
|
package/esm/Table/TableColumn.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
|
package/esm/Tree/utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ export interface UploadTriggerProps extends ButtonProps {
|
|
|
11
11
|
accept?: string;
|
|
12
12
|
classPrefix?: string;
|
|
13
13
|
className?: string;
|
|
14
|
-
children?: React.
|
|
14
|
+
children?: React.ReactElement;
|
|
15
15
|
locale?: UploaderLocale;
|
|
16
16
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
17
17
|
onDragEnter?: React.DragEventHandler<HTMLInputElement>;
|
|
@@ -8,6 +8,7 @@ import Button from "../Button/index.js";
|
|
|
8
8
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
9
9
|
import { isIE11 } from "../internals/utils/index.js";
|
|
10
10
|
var UploadTrigger = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
11
|
+
var _children$props;
|
|
11
12
|
var _props$as = props.as,
|
|
12
13
|
Component = _props$as === void 0 ? Button : _props$as,
|
|
13
14
|
name = props.name,
|
|
@@ -96,18 +97,21 @@ var UploadTrigger = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
96
97
|
clearInput: handleClearInput
|
|
97
98
|
};
|
|
98
99
|
});
|
|
100
|
+
|
|
101
|
+
// Prepare button props with event handlers conditionally applied
|
|
99
102
|
var buttonProps = _extends({}, rest, {
|
|
100
103
|
disabled: disabled,
|
|
101
104
|
className: prefix('btn')
|
|
105
|
+
}, !disabled && !readOnly && {
|
|
106
|
+
onClick: handleClick,
|
|
107
|
+
onDragEnter: handleDragEnter,
|
|
108
|
+
onDragLeave: handleDragLeave,
|
|
109
|
+
onDragOver: handleDragOver,
|
|
110
|
+
onDrop: handleDrop
|
|
102
111
|
});
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
buttonProps.onDragLeave = handleDragLeave;
|
|
107
|
-
buttonProps.onDragOver = handleDragOver;
|
|
108
|
-
buttonProps.onDrop = handleDrop;
|
|
109
|
-
}
|
|
110
|
-
var trigger = children ? (/*#__PURE__*/React.cloneElement(React.Children.only(children), buttonProps)) : /*#__PURE__*/React.createElement(Component, buttonProps, locale === null || locale === void 0 ? void 0 : locale.upload);
|
|
112
|
+
var trigger = children ? (/*#__PURE__*/React.cloneElement(React.Children.only(children), _extends({}, buttonProps, {
|
|
113
|
+
className: merge((_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.className, prefix('btn'))
|
|
114
|
+
}))) : /*#__PURE__*/React.createElement(Component, buttonProps, locale === null || locale === void 0 ? void 0 : locale.upload);
|
|
111
115
|
return /*#__PURE__*/React.createElement("div", {
|
|
112
116
|
ref: rootRef,
|
|
113
117
|
className: classes
|
|
@@ -133,7 +137,7 @@ UploadTrigger.propTypes = {
|
|
|
133
137
|
onChange: PropTypes.func,
|
|
134
138
|
classPrefix: PropTypes.string,
|
|
135
139
|
className: PropTypes.string,
|
|
136
|
-
children: PropTypes.
|
|
140
|
+
children: PropTypes.element,
|
|
137
141
|
draggable: PropTypes.bool,
|
|
138
142
|
onDragEnter: PropTypes.func,
|
|
139
143
|
onDragLeave: PropTypes.func,
|
|
@@ -29,7 +29,7 @@ export interface UploaderProps extends WithAsProps, Omit<UploadTriggerProps, 'on
|
|
|
29
29
|
/** Automatically upload files after selecting them */
|
|
30
30
|
autoUpload?: boolean;
|
|
31
31
|
/** Primary content */
|
|
32
|
-
children?: React.
|
|
32
|
+
children?: React.ReactElement;
|
|
33
33
|
/** List of uploaded files */
|
|
34
34
|
defaultFileList?: FileType[];
|
|
35
35
|
/** List of uploaded files (Controlled) */
|
package/esm/Uploader/Uploader.js
CHANGED
|
@@ -414,7 +414,7 @@ Uploader.propTypes = {
|
|
|
414
414
|
action: PropTypes.string.isRequired,
|
|
415
415
|
accept: PropTypes.string,
|
|
416
416
|
autoUpload: PropTypes.bool,
|
|
417
|
-
children: PropTypes.
|
|
417
|
+
children: PropTypes.element,
|
|
418
418
|
className: PropTypes.string,
|
|
419
419
|
classPrefix: PropTypes.string,
|
|
420
420
|
defaultFileList: PropTypes.array,
|
|
File without changes
|
package/esm/global.d.ts
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
|
|
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/esm/internals/index.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
|