rsuite 5.20.0-beta.6 → 5.21.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/Animation/styles/animation.less +0 -0
- package/Animation/styles/index.less +0 -0
- package/Animation/styles/mixin.less +0 -0
- package/AutoComplete/styles/index.less +0 -0
- package/Avatar/styles/mixin.less +0 -0
- package/Badge/styles/index.less +0 -0
- package/Breadcrumb/styles/index.less +0 -0
- package/Button/styles/mixin.less +0 -0
- package/CHANGELOG.md +10 -0
- package/Cascader/styles/index.less +0 -0
- package/CheckPicker/styles/index.less +0 -0
- package/CheckTreePicker/styles/index.less +0 -25
- package/Checkbox/styles/index.less +0 -0
- package/Checkbox/styles/mixin.less +0 -0
- package/CheckboxGroup/styles/index.less +0 -0
- package/CloseButton/styles/index.less +0 -0
- package/Container/styles/index.less +0 -0
- package/Content/styles/index.less +0 -0
- package/Divider/styles/index.less +0 -0
- package/Drawer/styles/mixin.less +0 -0
- package/FlexboxGrid/styles/index.less +0 -0
- package/Footer/styles/index.less +0 -0
- package/Form/styles/index.less +0 -0
- package/FormControlLabel/styles/index.less +0 -0
- package/FormErrorMessage/styles/animation.less +0 -0
- package/FormErrorMessage/styles/index.less +0 -0
- package/FormGroup/styles/index.less +0 -0
- package/FormHelpText/styles/index.less +0 -0
- package/Grid/styles/grid-framework.less +0 -0
- package/Grid/styles/mixin.less +0 -0
- package/Header/styles/index.less +0 -0
- package/Input/styles/index.less +0 -0
- package/InputNumber/styles/index.less +0 -0
- package/InputNumber/styles/mixin.less +0 -0
- package/InputPicker/styles/index.less +0 -0
- package/LICENSE +0 -0
- package/List/styles/index.less +0 -0
- package/Loader/styles/index.less +0 -0
- package/Loader/styles/mixin.less +0 -0
- package/Message/styles/index.less +0 -0
- package/Message/styles/mixin.less +0 -0
- package/Modal/styles/animation.less +0 -0
- package/Notification/styles/index.less +0 -0
- package/Notification/styles/mixin.less +0 -0
- package/Pagination/styles/index.less +0 -0
- package/Pagination/styles/mixin.less +0 -0
- package/Pagination/styles/pagination-group.less +0 -0
- package/Panel/styles/index.less +0 -0
- package/Picker/styles/index.less +0 -10
- package/Picker/styles/mixin.less +0 -5
- package/Placeholder/styles/index.less +0 -0
- package/Popover/styles/index.less +0 -0
- package/Popover/styles/mixins.less +0 -0
- package/Progress/styles/animation.less +0 -0
- package/Progress/styles/index.less +0 -0
- package/README.md +4 -2
- package/Radio/styles/mixin.less +0 -0
- package/RadioGroup/styles/index.less +0 -0
- package/Rate/styles/index.less +0 -0
- package/Ripple/styles/index.less +0 -0
- package/Ripple/styles/mixins.less +0 -0
- package/Row/styles/index.less +0 -0
- package/SelectPicker/styles/index.less +0 -0
- package/Sidebar/styles/index.less +0 -0
- package/Sidenav/styles/mixin.less +0 -0
- package/Steps/styles/index.less +0 -0
- package/Table/styles/mixin.less +0 -0
- package/Tag/styles/index.less +0 -0
- package/TagInput/styles/index.less +0 -0
- package/TagPicker/styles/index.less +0 -0
- package/Timeline/styles/index.less +0 -0
- package/Timeline/styles/mixin.less +0 -0
- package/Tooltip/styles/mixins.less +0 -0
- package/TreePicker/styles/index.less +0 -19
- package/TreePicker/styles/mixin.less +0 -0
- package/Uploader/styles/mixin.less +0 -0
- package/cjs/@types/global.d.ts +0 -0
- package/cjs/Affix/index.js +0 -0
- package/cjs/Animation/Bounce.js +0 -0
- package/cjs/Animation/Fade.js +0 -0
- package/cjs/Animation/Slide.js +0 -0
- package/cjs/Animation/index.js +0 -0
- package/cjs/Animation/utils.js +0 -0
- package/cjs/AutoComplete/index.js +0 -0
- package/cjs/Avatar/index.js +0 -0
- package/cjs/Badge/index.js +0 -0
- package/cjs/Breadcrumb/index.js +0 -0
- package/cjs/Button/index.js +0 -0
- package/cjs/ButtonToolbar/ButtonToolbar.js +0 -0
- package/cjs/ButtonToolbar/index.js +0 -0
- package/cjs/Carousel/index.js +0 -0
- package/cjs/Cascader/index.js +0 -0
- package/cjs/CheckPicker/index.js +0 -0
- package/cjs/CheckTreePicker/CheckTreePicker.js +1 -3
- package/cjs/CheckTreePicker/index.js +0 -0
- package/cjs/Checkbox/index.js +0 -0
- package/cjs/CloseButton/CloseButton.js +0 -0
- package/cjs/CloseButton/index.js +0 -0
- package/cjs/Col/index.js +0 -0
- package/cjs/Container/index.js +0 -0
- package/cjs/Content/Content.js +0 -0
- package/cjs/Content/index.js +0 -0
- package/cjs/CustomProvider/CustomProvider.d.ts +1 -108
- package/cjs/CustomProvider/CustomProvider.js +2 -5
- package/cjs/CustomProvider/FormattedDate.js +0 -0
- package/cjs/CustomProvider/index.d.ts +2 -2
- package/cjs/CustomProvider/index.js +0 -1
- package/cjs/DatePicker/index.js +0 -0
- package/cjs/DateRangePicker/DateRangePicker.js +5 -5
- package/cjs/DateRangePicker/disabledDateUtils.js +0 -0
- package/cjs/Disclosure/index.js +0 -0
- package/cjs/Divider/index.js +0 -0
- package/cjs/Drawer/index.js +0 -0
- package/cjs/Dropdown/DropdownState.js +0 -0
- package/cjs/Dropdown/index.js +0 -0
- package/cjs/FlexboxGrid/index.js +0 -0
- package/cjs/Footer/Footer.js +0 -0
- package/cjs/Footer/index.js +0 -0
- package/cjs/FormControl/index.js +0 -0
- package/cjs/FormControlLabel/FormControlLabel.js +0 -0
- package/cjs/FormControlLabel/index.js +0 -0
- package/cjs/FormErrorMessage/FormErrorMessage.js +0 -0
- package/cjs/FormErrorMessage/index.js +0 -0
- package/cjs/FormGroup/index.js +0 -0
- package/cjs/FormHelpText/index.js +0 -0
- package/cjs/Grid/Grid.js +0 -0
- package/cjs/Grid/index.js +0 -0
- package/cjs/Header/Header.js +0 -0
- package/cjs/Header/index.js +0 -0
- package/cjs/IconButton/index.js +0 -0
- package/cjs/Input/index.js +0 -0
- package/cjs/InputGroup/InputGroupButton.js +0 -0
- package/cjs/InputGroup/index.js +0 -0
- package/cjs/InputNumber/index.js +0 -0
- package/cjs/InputPicker/index.js +0 -0
- package/cjs/List/index.js +0 -0
- package/cjs/Loader/index.js +0 -0
- package/cjs/Menu/MenuContext.js +0 -0
- package/cjs/Menu/index.js +0 -0
- package/cjs/Message/index.js +0 -0
- package/cjs/Modal/ModalBody.js +18 -17
- package/cjs/Modal/ModalFooter.js +0 -0
- package/cjs/Modal/index.js +0 -0
- package/cjs/MultiCascader/index.js +0 -0
- package/cjs/Nav/index.js +0 -0
- package/cjs/Navbar/NavbarBody.js +0 -0
- package/cjs/Navbar/NavbarBrand.js +0 -0
- package/cjs/Navbar/NavbarHeader.js +0 -0
- package/cjs/Notification/index.js +0 -0
- package/cjs/Overlay/index.js +0 -0
- package/cjs/Pagination/index.js +0 -0
- package/cjs/Panel/index.js +0 -0
- package/cjs/PanelGroup/index.js +0 -0
- package/cjs/Picker/DropdownMenu.js +1 -3
- package/cjs/Picker/PickerToggleTrigger.js +11 -10
- package/cjs/Placeholder/Placeholder.js +0 -0
- package/cjs/Placeholder/index.js +0 -0
- package/cjs/Plaintext/index.js +0 -0
- package/cjs/Popover/index.js +0 -0
- package/cjs/Progress/Progress.js +0 -0
- package/cjs/Progress/index.js +0 -0
- package/cjs/Radio/index.js +0 -0
- package/cjs/RadioGroup/index.js +0 -0
- package/cjs/RangeSlider/index.js +0 -0
- package/cjs/Rate/index.js +0 -0
- package/cjs/Ripple/index.js +0 -0
- package/cjs/Row/Row.js +0 -0
- package/cjs/Row/index.js +0 -0
- package/cjs/SafeAnchor/index.js +0 -0
- package/cjs/Schema/Schema.js +0 -0
- package/cjs/Schema/index.js +0 -0
- package/cjs/Sidebar/index.js +0 -0
- package/cjs/Sidenav/SidenavBody.js +0 -0
- package/cjs/Sidenav/SidenavHeader.js +0 -0
- package/cjs/Sidenav/index.js +0 -0
- package/cjs/Slider/index.js +0 -0
- package/cjs/Steps/index.js +0 -0
- package/cjs/Table/index.js +0 -0
- package/cjs/Tag/Tag.js +0 -0
- package/cjs/Tag/index.js +0 -0
- package/cjs/TagGroup/TagGroup.js +0 -0
- package/cjs/TagGroup/index.js +0 -0
- package/cjs/Timeline/index.js +0 -0
- package/cjs/Toggle/index.js +0 -0
- package/cjs/Tooltip/index.js +0 -0
- package/cjs/Tree/index.js +0 -0
- package/cjs/TreePicker/TreePicker.js +1 -3
- package/cjs/TreePicker/index.js +0 -0
- package/cjs/Whisper/Whisper.js +11 -10
- package/cjs/Whisper/index.js +0 -0
- package/cjs/locales/ar_EG.js +0 -0
- package/cjs/locales/da_DK.js +0 -0
- package/cjs/locales/de_DE.js +0 -0
- package/cjs/locales/default.js +0 -0
- package/cjs/locales/en_GB.js +0 -0
- package/cjs/locales/en_US.js +0 -0
- package/cjs/locales/es_AR.js +0 -0
- package/cjs/locales/es_ES.js +0 -0
- package/cjs/locales/fi_FI.js +0 -0
- package/cjs/locales/it_IT.js +0 -0
- package/cjs/locales/ko_KR.js +0 -0
- package/cjs/locales/pt_BR.js +0 -0
- package/cjs/locales/ru_RU.js +0 -0
- package/cjs/locales/sv_SE.js +0 -0
- package/cjs/locales/zh_CN.js +0 -0
- package/cjs/locales/zh_TW.js +0 -0
- package/cjs/utils/clone.js +0 -0
- package/cjs/utils/events.js +0 -0
- package/cjs/utils/getDOMNode.js +0 -0
- package/cjs/utils/getSafeRegExpString.js +0 -0
- package/cjs/utils/guid.js +0 -0
- package/cjs/utils/htmlPropsUtils.js +0 -0
- package/cjs/utils/isOneOf.js +0 -0
- package/cjs/utils/prefix.js +0 -0
- package/cjs/utils/shallowEqual.js +0 -0
- package/cjs/utils/shallowEqualArray.js +0 -0
- package/cjs/utils/statusIcons.js +0 -0
- package/cjs/utils/stringToObject.js +0 -0
- package/cjs/utils/tplTransform.js +0 -0
- package/cjs/utils/useClassNames.js +0 -0
- package/cjs/utils/useEnsuredRef.js +0 -0
- package/cjs/utils/useEventCallback.js +0 -0
- package/cjs/utils/useToggleCaret.js +0 -0
- package/cjs/utils/useUpdateEffect.js +0 -0
- package/cjs/utils/useUpdatedRef.js +0 -0
- package/cjs/utils/useWillUnmount.js +0 -0
- package/dist/rsuite-rtl.css +0 -67
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +0 -67
- package/dist/rsuite.js +178 -178
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/@types/global.d.ts +0 -0
- package/esm/Affix/index.js +0 -0
- package/esm/Animation/Bounce.js +0 -0
- package/esm/Animation/Fade.js +0 -0
- package/esm/Animation/Slide.js +0 -0
- package/esm/Animation/index.js +0 -0
- package/esm/Animation/utils.js +0 -0
- package/esm/AutoComplete/index.js +0 -0
- package/esm/Avatar/index.js +0 -0
- package/esm/Badge/index.js +0 -0
- package/esm/Breadcrumb/index.js +0 -0
- package/esm/Button/index.js +0 -0
- package/esm/ButtonToolbar/ButtonToolbar.js +0 -0
- package/esm/ButtonToolbar/index.js +0 -0
- package/esm/Carousel/index.js +0 -0
- package/esm/Cascader/index.js +0 -0
- package/esm/CheckPicker/index.js +0 -0
- package/esm/CheckTreePicker/CheckTreePicker.js +1 -3
- package/esm/CheckTreePicker/index.js +0 -0
- package/esm/Checkbox/index.js +0 -0
- package/esm/CloseButton/CloseButton.js +0 -0
- package/esm/CloseButton/index.js +0 -0
- package/esm/Col/index.js +0 -0
- package/esm/Container/index.js +0 -0
- package/esm/Content/Content.js +0 -0
- package/esm/Content/index.js +0 -0
- package/esm/CustomProvider/CustomProvider.d.ts +1 -108
- package/esm/CustomProvider/CustomProvider.js +2 -4
- package/esm/CustomProvider/FormattedDate.js +0 -0
- package/esm/CustomProvider/index.d.ts +2 -2
- package/esm/CustomProvider/index.js +2 -2
- package/esm/DatePicker/index.js +0 -0
- package/esm/DateRangePicker/DateRangePicker.js +5 -5
- package/esm/DateRangePicker/disabledDateUtils.js +0 -0
- package/esm/Disclosure/index.js +0 -0
- package/esm/Divider/index.js +0 -0
- package/esm/Drawer/index.js +0 -0
- package/esm/Dropdown/DropdownState.js +0 -0
- package/esm/Dropdown/index.js +0 -0
- package/esm/FlexboxGrid/index.js +0 -0
- package/esm/Footer/Footer.js +0 -0
- package/esm/Footer/index.js +0 -0
- package/esm/FormControl/index.js +0 -0
- package/esm/FormControlLabel/FormControlLabel.js +0 -0
- package/esm/FormControlLabel/index.js +0 -0
- package/esm/FormErrorMessage/FormErrorMessage.js +0 -0
- package/esm/FormErrorMessage/index.js +0 -0
- package/esm/FormGroup/index.js +0 -0
- package/esm/FormHelpText/index.js +0 -0
- package/esm/Grid/Grid.js +0 -0
- package/esm/Grid/index.js +0 -0
- package/esm/Header/Header.js +0 -0
- package/esm/Header/index.js +0 -0
- package/esm/IconButton/index.js +0 -0
- package/esm/Input/index.js +0 -0
- package/esm/InputGroup/InputGroupButton.js +0 -0
- package/esm/InputGroup/index.js +0 -0
- package/esm/InputNumber/index.js +0 -0
- package/esm/InputPicker/index.js +0 -0
- package/esm/List/index.js +0 -0
- package/esm/Loader/index.js +0 -0
- package/esm/Menu/MenuContext.js +0 -0
- package/esm/Menu/index.js +0 -0
- package/esm/Message/index.js +0 -0
- package/esm/Modal/ModalBody.js +16 -17
- package/esm/Modal/ModalFooter.js +0 -0
- package/esm/Modal/index.js +0 -0
- package/esm/MultiCascader/index.js +0 -0
- package/esm/Nav/index.js +0 -0
- package/esm/Navbar/NavbarBody.js +0 -0
- package/esm/Navbar/NavbarBrand.js +0 -0
- package/esm/Navbar/NavbarHeader.js +0 -0
- package/esm/Notification/index.js +0 -0
- package/esm/Overlay/index.js +0 -0
- package/esm/Pagination/index.js +0 -0
- package/esm/Panel/index.js +0 -0
- package/esm/PanelGroup/index.js +0 -0
- package/esm/Picker/DropdownMenu.js +1 -3
- package/esm/Picker/PickerToggleTrigger.js +10 -11
- package/esm/Placeholder/Placeholder.js +0 -0
- package/esm/Placeholder/index.js +0 -0
- package/esm/Plaintext/index.js +0 -0
- package/esm/Popover/index.js +0 -0
- package/esm/Progress/Progress.js +0 -0
- package/esm/Progress/index.js +0 -0
- package/esm/Radio/index.js +0 -0
- package/esm/RadioGroup/index.js +0 -0
- package/esm/RangeSlider/index.js +0 -0
- package/esm/Rate/index.js +0 -0
- package/esm/Ripple/index.js +0 -0
- package/esm/Row/Row.js +0 -0
- package/esm/Row/index.js +0 -0
- package/esm/SafeAnchor/index.js +0 -0
- package/esm/Schema/Schema.js +0 -0
- package/esm/Schema/index.js +0 -0
- package/esm/Sidebar/index.js +0 -0
- package/esm/Sidenav/SidenavBody.js +0 -0
- package/esm/Sidenav/SidenavHeader.js +0 -0
- package/esm/Sidenav/index.js +0 -0
- package/esm/Slider/index.js +0 -0
- package/esm/Steps/index.js +0 -0
- package/esm/Table/index.js +0 -0
- package/esm/Tag/Tag.js +0 -0
- package/esm/Tag/index.js +0 -0
- package/esm/TagGroup/TagGroup.js +0 -0
- package/esm/TagGroup/index.js +0 -0
- package/esm/Timeline/index.js +0 -0
- package/esm/Toggle/index.js +0 -0
- package/esm/Tooltip/index.js +0 -0
- package/esm/Tree/index.js +0 -0
- package/esm/TreePicker/TreePicker.js +1 -3
- package/esm/TreePicker/index.js +0 -0
- package/esm/Whisper/Whisper.js +10 -11
- package/esm/Whisper/index.js +0 -0
- package/esm/locales/ar_EG.js +0 -0
- package/esm/locales/da_DK.js +0 -0
- package/esm/locales/de_DE.js +0 -0
- package/esm/locales/default.js +0 -0
- package/esm/locales/en_GB.js +0 -0
- package/esm/locales/en_US.js +0 -0
- package/esm/locales/es_AR.js +0 -0
- package/esm/locales/es_ES.js +0 -0
- package/esm/locales/fi_FI.js +0 -0
- package/esm/locales/it_IT.js +0 -0
- package/esm/locales/ko_KR.js +0 -0
- package/esm/locales/pt_BR.js +0 -0
- package/esm/locales/ru_RU.js +0 -0
- package/esm/locales/sv_SE.js +0 -0
- package/esm/locales/zh_CN.js +0 -0
- package/esm/locales/zh_TW.js +0 -0
- package/esm/utils/clone.js +0 -0
- package/esm/utils/events.js +0 -0
- package/esm/utils/getDOMNode.js +0 -0
- package/esm/utils/getSafeRegExpString.js +0 -0
- package/esm/utils/guid.js +0 -0
- package/esm/utils/htmlPropsUtils.js +0 -0
- package/esm/utils/isOneOf.js +0 -0
- package/esm/utils/prefix.js +0 -0
- package/esm/utils/shallowEqual.js +0 -0
- package/esm/utils/shallowEqualArray.js +0 -0
- package/esm/utils/statusIcons.js +0 -0
- package/esm/utils/stringToObject.js +0 -0
- package/esm/utils/tplTransform.js +0 -0
- package/esm/utils/useClassNames.js +0 -0
- package/esm/utils/useEnsuredRef.js +0 -0
- package/esm/utils/useEventCallback.js +0 -0
- package/esm/utils/useToggleCaret.js +0 -0
- package/esm/utils/useUpdateEffect.js +0 -0
- package/esm/utils/useUpdatedRef.js +0 -0
- package/esm/utils/useWillUnmount.js +0 -0
- package/package.json +1 -1
- package/styles/color-modes.less +0 -0
- package/styles/colors/light.less +0 -0
- package/styles/common.less +0 -0
- package/styles/mixins/color-modes.less +0 -0
- package/styles/mixins/hacks.less +0 -0
- package/styles/mixins/listbox.less +0 -5
- package/styles/mixins/menu.less +0 -0
- package/styles/normalize.less +0 -0
- package/styles/scaffolding.less +0 -0
- package/styles/typography.less +0 -0
- package/toaster/styles/animation.less +0 -0
- package/toaster/styles/index.less +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Avatar/styles/mixin.less
CHANGED
|
File without changes
|
package/Badge/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
package/Button/styles/mixin.less
CHANGED
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# [5.21.0](https://github.com/rsuite/rsuite/compare/v5.20.0...v5.21.0) (2022-10-27)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **DateRangePicker:** fix end time will change with the start time ([#2841](https://github.com/rsuite/rsuite/issues/2841)) ([7fb38dd](https://github.com/rsuite/rsuite/commit/7fb38dd6aaf84e018d4f3e06882fb92dfa20e5bd))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- support React 18 ([#2595](https://github.com/rsuite/rsuite/issues/2595)) ([a071214](https://github.com/rsuite/rsuite/commit/a071214e4cffb2f9607887e776a52af42aed58cb)), closes [#2646](https://github.com/rsuite/rsuite/issues/2646) [#2661](https://github.com/rsuite/rsuite/issues/2661) [#2681](https://github.com/rsuite/rsuite/issues/2681) [#2776](https://github.com/rsuite/rsuite/issues/2776) [#2806](https://github.com/rsuite/rsuite/issues/2806) [#2826](https://github.com/rsuite/rsuite/issues/2826) [#2825](https://github.com/rsuite/rsuite/issues/2825)
|
|
10
|
+
|
|
1
11
|
# [5.20.0](https://github.com/rsuite/rsuite/compare/v5.19.1...v5.20.0) (2022-10-21)
|
|
2
12
|
|
|
3
13
|
### Bug Fixes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,15 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
&.rs-check-tree-virtualized {
|
|
16
16
|
overflow: hidden;
|
|
17
|
-
|
|
18
|
-
/* stylelint-disable-next-line */ // **This class name provide by Virtualized.
|
|
19
|
-
.ReactVirtualized__Grid.ReactVirtualized__List {
|
|
20
|
-
padding: 0 @picker-menu-padding @picker-menu-padding 0;
|
|
21
|
-
|
|
22
|
-
&:focus {
|
|
23
|
-
outline: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
17
|
}
|
|
27
18
|
|
|
28
19
|
.rs-check-item .rs-checkbox-checker {
|
|
@@ -178,10 +169,6 @@
|
|
|
178
169
|
.rs-check-tree {
|
|
179
170
|
padding: 0 @picker-menu-padding @picker-menu-padding 0;
|
|
180
171
|
|
|
181
|
-
&.rs-check-tree-virtualized {
|
|
182
|
-
padding: 0;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
172
|
&-node > .rs-check-tree-node-label .rs-check-tree-node-text-wrapper {
|
|
186
173
|
.ellipsis();
|
|
187
174
|
|
|
@@ -198,16 +185,4 @@
|
|
|
198
185
|
padding-right: inherit;
|
|
199
186
|
}
|
|
200
187
|
|
|
201
|
-
/* stylelint-disable-next-line */
|
|
202
|
-
.rs-check-tree {
|
|
203
|
-
/* stylelint-disable-next-line */
|
|
204
|
-
&-node > &-node-label .rs-check-item .rs-checkbox-checker > label::before {
|
|
205
|
-
/* stylelint-disable-next-line */
|
|
206
|
-
[dir='rtl'] .ReactVirtualized__Grid__innerScrollContainer & {
|
|
207
|
-
padding-right: inherit;
|
|
208
|
-
right: 46px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
188
|
/* rtl:end:ignore */
|
|
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
|
|
File without changes
|
package/Footer/styles/index.less
CHANGED
|
File without changes
|
package/Form/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
|
package/Grid/styles/mixin.less
CHANGED
|
File without changes
|
package/Header/styles/index.less
CHANGED
|
File without changes
|
package/Input/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/List/styles/index.less
CHANGED
|
File without changes
|
package/Loader/styles/index.less
CHANGED
|
File without changes
|
package/Loader/styles/mixin.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
|
package/Panel/styles/index.less
CHANGED
|
File without changes
|
package/Picker/styles/index.less
CHANGED
|
@@ -337,11 +337,6 @@
|
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
/* stylelint-disable-next-line */ // This class name provide by Virtualized.
|
|
341
|
-
.ReactVirtualized__Grid.ReactVirtualized__List:focus {
|
|
342
|
-
outline: none;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
340
|
&.rs-picker-inline {
|
|
346
341
|
position: relative;
|
|
347
342
|
box-shadow: none;
|
|
@@ -402,11 +397,6 @@
|
|
|
402
397
|
});
|
|
403
398
|
}
|
|
404
399
|
|
|
405
|
-
/* stylelint-disable-next-line */ // This class name provide by Virtualized.
|
|
406
|
-
.ReactVirtualized__Grid & {
|
|
407
|
-
.ellipsis-basic();
|
|
408
|
-
}
|
|
409
|
-
|
|
410
400
|
.rs-checkbox-disabled& {
|
|
411
401
|
cursor: not-allowed;
|
|
412
402
|
}
|
package/Picker/styles/mixin.less
CHANGED
|
@@ -71,11 +71,6 @@
|
|
|
71
71
|
transition: @picker-item-transition;
|
|
72
72
|
text-decoration: none;
|
|
73
73
|
width: 100%;
|
|
74
|
-
|
|
75
|
-
/* stylelint-disable-next-line */ // This class name provide by Virtualized.
|
|
76
|
-
.ReactVirtualized__Grid & {
|
|
77
|
-
.ellipsis-basic();
|
|
78
|
-
}
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
.picker-item-hover() {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/README.md
CHANGED
|
@@ -59,11 +59,13 @@ yarn add rsuite
|
|
|
59
59
|
|
|
60
60
|
Here's a simple example
|
|
61
61
|
|
|
62
|
-
```
|
|
62
|
+
```jsx
|
|
63
63
|
import { Button } from 'rsuite';
|
|
64
64
|
import 'rsuite/styles/index.less'; // or 'rsuite/dist/rsuite.min.css'
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
function App() {
|
|
67
|
+
return <Button appearance="primary">Hello World</Button>;
|
|
68
|
+
}
|
|
67
69
|
```
|
|
68
70
|
|
|
69
71
|
[**Live preview on CodeSandbox**][live-preview-on-codesandbox]
|
package/Radio/styles/mixin.less
CHANGED
|
File without changes
|
|
File without changes
|
package/Rate/styles/index.less
CHANGED
|
File without changes
|
package/Ripple/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
package/Row/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Steps/styles/index.less
CHANGED
|
File without changes
|
package/Table/styles/mixin.less
CHANGED
|
File without changes
|
package/Tag/styles/index.less
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -15,15 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
&.rs-tree-virtualized {
|
|
17
17
|
overflow: hidden;
|
|
18
|
-
|
|
19
|
-
/* stylelint-disable-next-line */ // This class name provide by Virtualized.
|
|
20
|
-
.ReactVirtualized__Grid.ReactVirtualized__List {
|
|
21
|
-
padding: 0 @picker-menu-padding @picker-menu-padding 0;
|
|
22
|
-
|
|
23
|
-
&:focus {
|
|
24
|
-
outline: none;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
18
|
}
|
|
28
19
|
}
|
|
29
20
|
|
|
@@ -242,14 +233,4 @@
|
|
|
242
233
|
padding-right: inherit;
|
|
243
234
|
}
|
|
244
235
|
|
|
245
|
-
/* stylelint-disable */
|
|
246
|
-
[dir='rtl']
|
|
247
|
-
.ReactVirtualized__Grid__innerScrollContainer
|
|
248
|
-
.rs-tree-node
|
|
249
|
-
> .rs-tree-node-label::before {
|
|
250
|
-
display: none;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/* stylelint-enable */
|
|
254
|
-
|
|
255
236
|
/* rtl:end:ignore */
|
|
File without changes
|
|
File without changes
|
package/cjs/@types/global.d.ts
CHANGED
|
File without changes
|
package/cjs/Affix/index.js
CHANGED
|
File without changes
|
package/cjs/Animation/Bounce.js
CHANGED
|
File without changes
|
package/cjs/Animation/Fade.js
CHANGED
|
File without changes
|
package/cjs/Animation/Slide.js
CHANGED
|
File without changes
|
package/cjs/Animation/index.js
CHANGED
|
File without changes
|
package/cjs/Animation/utils.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Avatar/index.js
CHANGED
|
File without changes
|
package/cjs/Badge/index.js
CHANGED
|
File without changes
|
package/cjs/Breadcrumb/index.js
CHANGED
|
File without changes
|
package/cjs/Button/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/Carousel/index.js
CHANGED
|
File without changes
|
package/cjs/Cascader/index.js
CHANGED
|
File without changes
|
package/cjs/CheckPicker/index.js
CHANGED
|
File without changes
|
|
@@ -693,11 +693,9 @@ var CheckTreePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
|
|
|
693
693
|
height: 'auto'
|
|
694
694
|
}
|
|
695
695
|
}, function (_ref5) {
|
|
696
|
-
var height = _ref5.height
|
|
697
|
-
width = _ref5.width;
|
|
696
|
+
var height = _ref5.height;
|
|
698
697
|
return /*#__PURE__*/_react.default.createElement(_Windowing.List, (0, _extends2.default)({
|
|
699
698
|
ref: listRef,
|
|
700
|
-
width: width,
|
|
701
699
|
height: height,
|
|
702
700
|
itemSize: itemSize,
|
|
703
701
|
itemCount: formattedNodes.length,
|
|
File without changes
|
package/cjs/Checkbox/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/CloseButton/index.js
CHANGED
|
File without changes
|
package/cjs/Col/index.js
CHANGED
|
File without changes
|
package/cjs/Container/index.js
CHANGED
|
File without changes
|
package/cjs/Content/Content.js
CHANGED
|
File without changes
|
package/cjs/Content/index.js
CHANGED
|
File without changes
|
|
@@ -156,113 +156,6 @@ declare const CustomContext: React.Context<CustomProviderProps<{
|
|
|
156
156
|
off: string;
|
|
157
157
|
} | undefined;
|
|
158
158
|
}>>;
|
|
159
|
-
declare const Consumer: React.Consumer<CustomProviderProps<{
|
|
160
|
-
common?: {
|
|
161
|
-
loading: string;
|
|
162
|
-
emptyMessage: string;
|
|
163
|
-
} | undefined;
|
|
164
|
-
Plaintext?: {
|
|
165
|
-
unfilled: string;
|
|
166
|
-
notSelected: string;
|
|
167
|
-
notUploaded: string;
|
|
168
|
-
} | undefined;
|
|
169
|
-
Pagination?: {
|
|
170
|
-
more: string;
|
|
171
|
-
prev: string;
|
|
172
|
-
next: string;
|
|
173
|
-
first: string;
|
|
174
|
-
last: string;
|
|
175
|
-
limit: string;
|
|
176
|
-
total: string;
|
|
177
|
-
skip: string;
|
|
178
|
-
} | undefined;
|
|
179
|
-
Calendar?: {
|
|
180
|
-
sunday: string;
|
|
181
|
-
monday: string;
|
|
182
|
-
tuesday: string;
|
|
183
|
-
wednesday: string;
|
|
184
|
-
thursday: string;
|
|
185
|
-
friday: string;
|
|
186
|
-
saturday: string;
|
|
187
|
-
ok: string;
|
|
188
|
-
today: string;
|
|
189
|
-
yesterday: string;
|
|
190
|
-
hours: string;
|
|
191
|
-
minutes: string;
|
|
192
|
-
seconds: string;
|
|
193
|
-
formattedMonthPattern: string;
|
|
194
|
-
formattedDayPattern: string;
|
|
195
|
-
dateLocale: any;
|
|
196
|
-
} | undefined;
|
|
197
|
-
DatePicker?: {
|
|
198
|
-
sunday: string;
|
|
199
|
-
monday: string;
|
|
200
|
-
tuesday: string;
|
|
201
|
-
wednesday: string;
|
|
202
|
-
thursday: string;
|
|
203
|
-
friday: string;
|
|
204
|
-
saturday: string;
|
|
205
|
-
ok: string;
|
|
206
|
-
today: string;
|
|
207
|
-
yesterday: string;
|
|
208
|
-
hours: string;
|
|
209
|
-
minutes: string;
|
|
210
|
-
seconds: string;
|
|
211
|
-
formattedMonthPattern: string;
|
|
212
|
-
formattedDayPattern: string;
|
|
213
|
-
dateLocale: any;
|
|
214
|
-
} | undefined;
|
|
215
|
-
DateRangePicker?: {
|
|
216
|
-
last7Days: string;
|
|
217
|
-
sunday: string;
|
|
218
|
-
monday: string;
|
|
219
|
-
tuesday: string;
|
|
220
|
-
wednesday: string;
|
|
221
|
-
thursday: string;
|
|
222
|
-
friday: string;
|
|
223
|
-
saturday: string;
|
|
224
|
-
ok: string;
|
|
225
|
-
today: string;
|
|
226
|
-
yesterday: string;
|
|
227
|
-
hours: string;
|
|
228
|
-
minutes: string;
|
|
229
|
-
seconds: string;
|
|
230
|
-
formattedMonthPattern: string;
|
|
231
|
-
formattedDayPattern: string;
|
|
232
|
-
dateLocale: any;
|
|
233
|
-
} | undefined;
|
|
234
|
-
Picker?: {
|
|
235
|
-
noResultsText: string;
|
|
236
|
-
placeholder: string;
|
|
237
|
-
searchPlaceholder: string;
|
|
238
|
-
checkAll: string;
|
|
239
|
-
} | undefined;
|
|
240
|
-
InputPicker?: {
|
|
241
|
-
newItem: string;
|
|
242
|
-
/**
|
|
243
|
-
* A Map of toast containers
|
|
244
|
-
*/
|
|
245
|
-
createOption: string;
|
|
246
|
-
} | undefined;
|
|
247
|
-
Uploader?: {
|
|
248
|
-
inited: string;
|
|
249
|
-
progress: string;
|
|
250
|
-
error: string;
|
|
251
|
-
complete: string;
|
|
252
|
-
emptyFile: string;
|
|
253
|
-
upload: string;
|
|
254
|
-
} | undefined;
|
|
255
|
-
CloseButton?: {
|
|
256
|
-
closeLabel: string;
|
|
257
|
-
} | undefined;
|
|
258
|
-
Breadcrumb?: {
|
|
259
|
-
expandText: string;
|
|
260
|
-
} | undefined;
|
|
261
|
-
Toggle?: {
|
|
262
|
-
on: string;
|
|
263
|
-
off: string;
|
|
264
|
-
} | undefined;
|
|
265
|
-
}>>;
|
|
266
159
|
declare const CustomProvider: (props: Omit<CustomProviderProps, 'toasters'>) => JSX.Element;
|
|
267
|
-
export { CustomContext
|
|
160
|
+
export { CustomContext };
|
|
268
161
|
export default CustomProvider;
|
|
@@ -5,7 +5,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
5
5
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
6
|
|
|
7
7
|
exports.__esModule = true;
|
|
8
|
-
exports.default = exports.
|
|
8
|
+
exports.default = exports.CustomContext = void 0;
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
|
@@ -24,9 +24,6 @@ var _utils = require("../utils");
|
|
|
24
24
|
var CustomContext = /*#__PURE__*/_react.default.createContext({});
|
|
25
25
|
|
|
26
26
|
exports.CustomContext = CustomContext;
|
|
27
|
-
var Consumer = CustomContext.Consumer,
|
|
28
|
-
Provider = CustomContext.Provider;
|
|
29
|
-
exports.CustomConsumer = Consumer;
|
|
30
27
|
var themes = ['light', 'dark', 'high-contrast'];
|
|
31
28
|
|
|
32
29
|
var CustomProvider = function CustomProvider(props) {
|
|
@@ -64,7 +61,7 @@ var CustomProvider = function CustomProvider(props) {
|
|
|
64
61
|
});
|
|
65
62
|
}
|
|
66
63
|
}, [classPrefix, theme]);
|
|
67
|
-
return /*#__PURE__*/_react.default.createElement(Provider, {
|
|
64
|
+
return /*#__PURE__*/_react.default.createElement(CustomContext.Provider, {
|
|
68
65
|
value: value
|
|
69
66
|
}, children, /*#__PURE__*/_react.default.createElement(Portal, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
70
67
|
className: "rs-toast-provider"
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import CustomProvider, { CustomContext
|
|
1
|
+
import CustomProvider, { CustomContext } from './CustomProvider';
|
|
2
2
|
import FormattedDate from './FormattedDate';
|
|
3
|
-
export { CustomContext,
|
|
3
|
+
export { CustomContext, FormattedDate };
|
|
4
4
|
export type { CustomProviderProps } from './CustomProvider';
|
|
5
5
|
export default CustomProvider;
|
|
@@ -10,7 +10,6 @@ exports.default = void 0;
|
|
|
10
10
|
var _CustomProvider = _interopRequireWildcard(require("./CustomProvider"));
|
|
11
11
|
|
|
12
12
|
exports.CustomContext = _CustomProvider.CustomContext;
|
|
13
|
-
exports.CustomConsumer = _CustomProvider.CustomConsumer;
|
|
14
13
|
|
|
15
14
|
var _FormattedDate = _interopRequireDefault(require("./FormattedDate"));
|
|
16
15
|
|
package/cjs/DatePicker/index.js
CHANGED
|
File without changes
|
|
@@ -166,17 +166,17 @@ var DateRangePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
|
|
|
166
166
|
* If params `value` is not passed, it defaults to [new Date(), addMonth(new Date(), 1)].
|
|
167
167
|
*/
|
|
168
168
|
|
|
169
|
-
var updateCalendarDateRange = (0, _react.useCallback)(function (
|
|
170
|
-
var nextValue =
|
|
169
|
+
var updateCalendarDateRange = (0, _react.useCallback)(function (selectedDate, calendarKey) {
|
|
170
|
+
var nextValue = selectedDate;
|
|
171
171
|
var shouldRenderTime = _utils.DateUtils.shouldRenderTime,
|
|
172
172
|
getHours = _utils.DateUtils.getHours,
|
|
173
173
|
getMinutes = _utils.DateUtils.getMinutes,
|
|
174
174
|
getSeconds = _utils.DateUtils.getSeconds,
|
|
175
175
|
set = _utils.DateUtils.set;
|
|
176
176
|
|
|
177
|
-
if (shouldRenderTime(formatStr) && calendarKey === undefined && (
|
|
178
|
-
var calendarEndDate = (calendarDate === null || calendarDate === void 0 ? void 0 : calendarDate[1]) || defaultCalendarValue[1];
|
|
179
|
-
var _startDate =
|
|
177
|
+
if (shouldRenderTime(formatStr) && calendarKey === undefined && (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.length) === 1) {
|
|
178
|
+
var calendarEndDate = (calendarDate === null || calendarDate === void 0 ? void 0 : calendarDate[1]) || (defaultCalendarValue === null || defaultCalendarValue === void 0 ? void 0 : defaultCalendarValue[1]);
|
|
179
|
+
var _startDate = selectedDate[0]; // When updating the start date, the time of the end date should keep the time set by the user by default.
|
|
180
180
|
|
|
181
181
|
var _endDate = set((0, _dateUtils.addMonths)(_startDate, 1), {
|
|
182
182
|
hours: getHours(calendarEndDate),
|
|
File without changes
|
package/cjs/Disclosure/index.js
CHANGED
|
File without changes
|
package/cjs/Divider/index.js
CHANGED
|
File without changes
|
package/cjs/Drawer/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Dropdown/index.js
CHANGED
|
File without changes
|
package/cjs/FlexboxGrid/index.js
CHANGED
|
File without changes
|
package/cjs/Footer/Footer.js
CHANGED
|
File without changes
|
package/cjs/Footer/index.js
CHANGED
|
File without changes
|
package/cjs/FormControl/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/FormGroup/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Grid/Grid.js
CHANGED
|
File without changes
|