rsuite 5.74.2 → 5.75.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/CHANGELOG.md +16 -0
- package/Card/package.json +7 -0
- package/Card/styles/index.css +105 -0
- package/Card/styles/index.less +62 -0
- package/CardBody/package.json +7 -0
- package/CardFooter/package.json +7 -0
- package/CardGroup/package.json +7 -0
- package/CardGroup/styles/index.css +7 -0
- package/CardGroup/styles/index.less +8 -0
- package/CardHeader/package.json +7 -0
- package/List/styles/index.css +10 -12
- package/List/styles/index.less +12 -4
- package/Stat/package.json +7 -0
- package/Stat/styles/index.css +1749 -0
- package/Stat/styles/index.less +106 -0
- package/StatGroup/package.json +7 -0
- package/StatGroup/styles/index.css +7 -0
- package/StatGroup/styles/index.less +8 -0
- package/StatHelpText/package.json +7 -0
- package/StatLabel/package.json +7 -0
- package/StatTrend/package.json +7 -0
- package/StatValue/package.json +7 -0
- package/StatValueUnit/package.json +7 -0
- package/cjs/Affix/Affix.js +2 -2
- package/cjs/Animation/Transition.js +7 -7
- package/cjs/AutoComplete/AutoComplete.js +7 -7
- package/cjs/Avatar/useImage.js +1 -1
- package/cjs/Breadcrumb/Breadcrumb.js +1 -1
- package/cjs/Calendar/Calendar.js +3 -3
- package/cjs/Calendar/CalendarContainer.js +1 -1
- package/cjs/Calendar/Grid/GridRow.js +3 -3
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +1 -1
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +3 -3
- package/cjs/Calendar/hooks/useCalendarState.js +6 -6
- package/cjs/Card/Card.d.ts +33 -0
- package/cjs/Card/Card.js +63 -0
- package/cjs/Card/CardBody.d.ts +4 -0
- package/cjs/Card/CardBody.js +11 -0
- package/cjs/Card/CardFooter.d.ts +4 -0
- package/cjs/Card/CardFooter.js +11 -0
- package/cjs/Card/CardHeader.d.ts +4 -0
- package/cjs/Card/CardHeader.js +11 -0
- package/cjs/Card/index.d.ts +6 -0
- package/cjs/Card/index.js +8 -0
- package/cjs/CardGroup/CardGroup.d.ts +13 -0
- package/cjs/CardGroup/CardGroup.js +47 -0
- package/cjs/CardGroup/index.d.ts +3 -0
- package/cjs/CardGroup/index.js +8 -0
- package/cjs/Carousel/Carousel.js +4 -4
- package/cjs/CascadeTree/CascadeTree.js +1 -1
- package/cjs/CascadeTree/TreeView.js +1 -1
- package/cjs/CascadeTree/hooks/useSearch.js +4 -4
- package/cjs/CascadeTree/hooks/useSelect.js +2 -2
- package/cjs/Cascader/Cascader.js +13 -13
- package/cjs/Cascader/useActive.js +4 -4
- package/cjs/CheckPicker/CheckPicker.js +5 -5
- package/cjs/CheckTree/CheckTree.js +1 -1
- package/cjs/CheckTree/CheckTreeNode.js +3 -3
- package/cjs/CheckTree/CheckTreeView.js +7 -7
- package/cjs/CheckTree/utils.js +3 -3
- package/cjs/CheckTreePicker/CheckTreePicker.js +2 -2
- package/cjs/CheckTreePicker/hooks/useFocusState.js +3 -3
- package/cjs/Checkbox/Checkbox.js +2 -2
- package/cjs/CheckboxGroup/CheckboxGroup.js +1 -1
- package/cjs/CustomProvider/FormattedNumber.d.ts +7 -0
- package/cjs/CustomProvider/FormattedNumber.js +19 -0
- package/cjs/CustomProvider/index.d.ts +1 -0
- package/cjs/CustomProvider/index.js +3 -1
- package/cjs/CustomProvider/types.d.ts +8 -0
- package/cjs/CustomProvider/useCustom.d.ts +1 -0
- package/cjs/CustomProvider/useCustom.js +3 -1
- package/cjs/DateInput/DateField.js +2 -2
- package/cjs/DateInput/DateInput.js +2 -2
- package/cjs/DateInput/hooks/useDateInputState.js +2 -2
- package/cjs/DateInput/hooks/useIsFocused.js +2 -2
- package/cjs/DateInput/hooks/useKeyboardInputEvent.js +5 -5
- package/cjs/DatePicker/DatePicker.js +14 -14
- package/cjs/DatePicker/PredefinedRanges.js +1 -1
- package/cjs/DatePicker/hooks/useFocus.js +1 -1
- package/cjs/DatePicker/hooks/useMonthView.js +1 -1
- package/cjs/DateRangeInput/DateRangeInput.js +4 -4
- package/cjs/DateRangePicker/DateRangePicker.js +8 -8
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +5 -5
- package/cjs/Dropdown/Dropdown.js +3 -3
- package/cjs/Dropdown/DropdownItem.js +2 -2
- package/cjs/Dropdown/DropdownMenu.js +1 -1
- package/cjs/Form/Form.js +8 -8
- package/cjs/Form/hooks/useFormValidate.js +19 -19
- package/cjs/FormControl/FormControl.js +5 -5
- package/cjs/FormControl/hooks/useField.js +1 -1
- package/cjs/FormControl/hooks/useRegisterModel.js +2 -2
- package/cjs/InlineEdit/renderChildren.js +1 -1
- package/cjs/InlineEdit/useEditState.js +7 -7
- package/cjs/InlineEdit/useFocusEvent.js +5 -5
- package/cjs/Input/Input.js +3 -3
- package/cjs/InputGroup/InputGroup.js +2 -2
- package/cjs/InputNumber/InputNumber.js +3 -3
- package/cjs/InputPicker/InputAutosize.js +1 -1
- package/cjs/InputPicker/InputPicker.js +13 -13
- package/cjs/InputPicker/InputSearch.js +1 -1
- package/cjs/InputPicker/hooks/useData.js +1 -1
- package/cjs/InputPicker/hooks/useInput.js +2 -2
- package/cjs/List/List.d.ts +19 -1
- package/cjs/List/List.js +11 -7
- package/cjs/List/ListItem.d.ts +1 -1
- package/cjs/List/helper/useSortHelper.js +10 -10
- package/cjs/MaskedInput/TextMask.js +3 -3
- package/cjs/Message/Message.js +1 -1
- package/cjs/Modal/Modal.js +6 -6
- package/cjs/Modal/utils.js +2 -2
- package/cjs/MultiCascadeTree/SearchView.js +1 -1
- package/cjs/MultiCascadeTree/TreeView.js +1 -1
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +5 -5
- package/cjs/MultiCascadeTree/hooks/useSearch.js +1 -1
- package/cjs/MultiCascadeTree/hooks/useSelect.js +1 -1
- package/cjs/MultiCascadeTree/utils.js +9 -9
- package/cjs/MultiCascader/MultiCascader.js +5 -5
- package/cjs/Nav/Nav.js +2 -2
- package/cjs/Nav/NavDropdown.js +3 -3
- package/cjs/Nav/NavDropdownItem.js +2 -2
- package/cjs/Nav/NavDropdownMenu.js +1 -1
- package/cjs/Nav/NavItem.js +3 -3
- package/cjs/Navbar/NavbarDropdown.js +3 -3
- package/cjs/Navbar/NavbarDropdownItem.js +4 -4
- package/cjs/Navbar/NavbarItem.js +3 -3
- package/cjs/Notification/Notification.js +1 -1
- package/cjs/Pagination/PaginationButton.js +1 -1
- package/cjs/Pagination/PaginationGroup.js +3 -3
- package/cjs/Panel/Panel.js +2 -2
- package/cjs/PanelGroup/PanelGroup.js +1 -1
- package/cjs/Placeholder/PlaceholderGrid.js +2 -2
- package/cjs/Placeholder/PlaceholderParagraph.js +1 -1
- package/cjs/Radio/Radio.js +2 -2
- package/cjs/RadioGroup/RadioGroup.js +1 -1
- package/cjs/RadioTile/RadioTile.js +2 -2
- package/cjs/RadioTileGroup/RadioTileGroup.js +1 -1
- package/cjs/RangeSlider/RangeSlider.js +5 -5
- package/cjs/Rate/Character.js +2 -2
- package/cjs/Rate/Rate.js +3 -3
- package/cjs/SafeAnchor/SafeAnchor.js +1 -1
- package/cjs/SelectPicker/SelectPicker.js +7 -7
- package/cjs/Sidebar/Sidebar.js +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +4 -4
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +3 -3
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
- package/cjs/Sidenav/Sidenav.js +1 -1
- package/cjs/Sidenav/SidenavDropdown.js +4 -4
- package/cjs/Sidenav/SidenavDropdownItem.js +2 -2
- package/cjs/Sidenav/SidenavDropdownMenu.js +1 -1
- package/cjs/Sidenav/SidenavItem.js +4 -4
- package/cjs/Sidenav/SidenavToggle.js +1 -1
- package/cjs/Slider/Graduated.js +1 -1
- package/cjs/Slider/Slider.js +3 -3
- package/cjs/Slider/useDrag.js +6 -6
- package/cjs/Stack/HStack.d.ts +6 -3
- package/cjs/Stack/HStack.js +1 -0
- package/cjs/Stack/Stack.d.ts +6 -2
- package/cjs/Stack/Stack.js +1 -1
- package/cjs/Stack/VStack.d.ts +6 -3
- package/cjs/Stack/VStack.js +1 -0
- package/cjs/Stat/Stat.d.ts +26 -0
- package/cjs/Stat/Stat.js +57 -0
- package/cjs/Stat/StatHelpText.d.ts +4 -0
- package/cjs/Stat/StatHelpText.js +11 -0
- package/cjs/Stat/StatLabel.d.ts +14 -0
- package/cjs/Stat/StatLabel.js +53 -0
- package/cjs/Stat/StatTrend.d.ts +7 -0
- package/cjs/Stat/StatTrend.js +68 -0
- package/cjs/Stat/StatValue.d.ts +7 -0
- package/cjs/Stat/StatValue.js +41 -0
- package/cjs/Stat/StatValueUnit.d.ts +4 -0
- package/cjs/Stat/StatValueUnit.js +11 -0
- package/cjs/Stat/index.d.ts +3 -0
- package/cjs/Stat/index.js +8 -0
- package/cjs/StatGroup/StatGroup.d.ts +13 -0
- package/cjs/StatGroup/StatGroup.js +47 -0
- package/cjs/StatGroup/index.d.ts +3 -0
- package/cjs/StatGroup/index.js +8 -0
- package/cjs/Tabs/Tabs.js +1 -1
- package/cjs/Timeline/Timeline.js +1 -1
- package/cjs/Toggle/Toggle.js +1 -1
- package/cjs/Tree/Tree.js +1 -1
- package/cjs/Tree/TreeNode.js +9 -9
- package/cjs/Tree/TreeView.js +7 -7
- package/cjs/Tree/hooks/useExpandTree.js +1 -1
- package/cjs/Tree/hooks/useFlattenTree.js +1 -1
- package/cjs/Tree/hooks/useFocusTree.js +6 -6
- package/cjs/Tree/hooks/useTreeDrag.js +17 -17
- package/cjs/Tree/hooks/useTreeSearch.js +1 -1
- package/cjs/Tree/utils/flattenTree.js +6 -6
- package/cjs/Tree/utils/focusableTree.js +6 -6
- package/cjs/Tree/utils/getNodeParentKeys.js +4 -4
- package/cjs/Tree/utils/treeKeyboardInteractions.js +2 -2
- package/cjs/TreePicker/TreePicker.js +5 -5
- package/cjs/TreePicker/hooks/useFocusState.js +4 -4
- package/cjs/Uploader/UploadFileItem.js +5 -5
- package/cjs/Uploader/UploadTrigger.js +11 -11
- package/cjs/Uploader/Uploader.js +16 -16
- package/cjs/Uploader/utils/ajaxUpload.js +5 -5
- package/cjs/index.d.ts +8 -0
- package/cjs/index.js +10 -2
- package/cjs/internals/Disclosure/Disclosure.js +3 -3
- package/cjs/internals/Disclosure/DisclosureButton.js +2 -2
- package/cjs/internals/Menu/Menu.js +3 -3
- package/cjs/internals/Menu/MenuItem.js +1 -1
- package/cjs/internals/Menu/Menubar.js +2 -2
- package/cjs/internals/Overlay/Modal.js +7 -7
- package/cjs/internals/Overlay/Overlay.js +1 -1
- package/cjs/internals/Overlay/OverlayTrigger.js +3 -3
- package/cjs/internals/Overlay/Position.js +5 -5
- package/cjs/internals/Picker/ListCheckItem.js +3 -3
- package/cjs/internals/Picker/ListItem.js +1 -1
- package/cjs/internals/Picker/Listbox.js +4 -4
- package/cjs/internals/Picker/PickerToggle.js +2 -2
- package/cjs/internals/Picker/SelectedElement.js +1 -1
- package/cjs/internals/Picker/hooks/useFocusItemValue.js +2 -2
- package/cjs/internals/Picker/hooks/usePickerRef.js +4 -4
- package/cjs/internals/Picker/hooks/useSearch.js +1 -1
- package/cjs/internals/Picker/hooks/useToggleKeyDownEvent.js +9 -9
- package/cjs/internals/Picker/utils.js +8 -8
- package/cjs/internals/Ripple/Ripple.js +2 -2
- package/cjs/internals/ScrollView/hooks/useScrollState.js +1 -1
- package/cjs/internals/Tree/utils/filterNodesOfTree.js +3 -3
- package/cjs/internals/Tree/utils/findNodeOfTree.js +3 -3
- package/cjs/internals/Tree/utils/getParentMap.js +3 -3
- package/cjs/internals/Windowing/AutoSizer.js +1 -1
- package/cjs/internals/Windowing/List.js +4 -4
- package/cjs/internals/hooks/useClickOutside.js +1 -1
- package/cjs/internals/hooks/useElementResize.js +1 -1
- package/cjs/internals/hooks/useEventListener.js +1 -1
- package/cjs/internals/hooks/useFocus.js +2 -2
- package/cjs/internals/hooks/useMount.js +1 -1
- package/cjs/internals/hooks/useRootClose.js +4 -4
- package/cjs/internals/hooks/useTimeout.js +1 -1
- package/cjs/internals/utils/stringifyReactNode.js +5 -5
- package/cjs/toaster/ToastContainer.d.ts +1 -0
- package/cjs/toaster/ToastContainer.js +19 -14
- package/cjs/toaster/hooks/useDelayedClosure.js +2 -2
- package/cjs/toaster/toaster.js +7 -7
- package/cjs/useToaster/useToaster.js +1 -1
- package/dist/rsuite-no-reset-rtl.css +240 -36
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +240 -36
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +240 -36
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +240 -36
- package/dist/rsuite.js +384 -175
- package/dist/rsuite.js.map +1 -1
- 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/Affix/Affix.js +2 -2
- package/esm/Animation/Transition.js +7 -7
- package/esm/AutoComplete/AutoComplete.js +7 -7
- package/esm/Avatar/useImage.js +1 -1
- package/esm/Breadcrumb/Breadcrumb.js +1 -1
- package/esm/Calendar/Calendar.js +3 -3
- package/esm/Calendar/CalendarContainer.js +1 -1
- package/esm/Calendar/Grid/GridRow.js +3 -3
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +1 -1
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +3 -3
- package/esm/Calendar/hooks/useCalendarState.js +6 -6
- package/esm/Card/Card.d.ts +33 -0
- package/esm/Card/Card.js +58 -0
- package/esm/Card/CardBody.d.ts +4 -0
- package/esm/Card/CardBody.js +7 -0
- package/esm/Card/CardFooter.d.ts +4 -0
- package/esm/Card/CardFooter.js +7 -0
- package/esm/Card/CardHeader.d.ts +4 -0
- package/esm/Card/CardHeader.js +7 -0
- package/esm/Card/index.d.ts +6 -0
- package/esm/Card/index.js +3 -0
- package/esm/CardGroup/CardGroup.d.ts +13 -0
- package/esm/CardGroup/CardGroup.js +42 -0
- package/esm/CardGroup/index.d.ts +3 -0
- package/esm/CardGroup/index.js +3 -0
- package/esm/Carousel/Carousel.js +4 -4
- package/esm/CascadeTree/CascadeTree.js +1 -1
- package/esm/CascadeTree/TreeView.js +1 -1
- package/esm/CascadeTree/hooks/useSearch.js +4 -4
- package/esm/CascadeTree/hooks/useSelect.js +2 -2
- package/esm/Cascader/Cascader.js +13 -13
- package/esm/Cascader/useActive.js +4 -4
- package/esm/CheckPicker/CheckPicker.js +5 -5
- package/esm/CheckTree/CheckTree.js +1 -1
- package/esm/CheckTree/CheckTreeNode.js +3 -3
- package/esm/CheckTree/CheckTreeView.js +7 -7
- package/esm/CheckTree/utils.js +3 -3
- package/esm/CheckTreePicker/CheckTreePicker.js +2 -2
- package/esm/CheckTreePicker/hooks/useFocusState.js +3 -3
- package/esm/Checkbox/Checkbox.js +2 -2
- package/esm/CheckboxGroup/CheckboxGroup.js +1 -1
- package/esm/CustomProvider/FormattedNumber.d.ts +7 -0
- package/esm/CustomProvider/FormattedNumber.js +13 -0
- package/esm/CustomProvider/index.d.ts +1 -0
- package/esm/CustomProvider/index.js +1 -0
- package/esm/CustomProvider/types.d.ts +8 -0
- package/esm/CustomProvider/useCustom.d.ts +1 -0
- package/esm/CustomProvider/useCustom.js +3 -1
- package/esm/DateInput/DateField.js +2 -2
- package/esm/DateInput/DateInput.js +2 -2
- package/esm/DateInput/hooks/useDateInputState.js +2 -2
- package/esm/DateInput/hooks/useIsFocused.js +2 -2
- package/esm/DateInput/hooks/useKeyboardInputEvent.js +5 -5
- package/esm/DatePicker/DatePicker.js +14 -14
- package/esm/DatePicker/PredefinedRanges.js +1 -1
- package/esm/DatePicker/hooks/useFocus.js +1 -1
- package/esm/DatePicker/hooks/useMonthView.js +1 -1
- package/esm/DateRangeInput/DateRangeInput.js +4 -4
- package/esm/DateRangePicker/DateRangePicker.js +8 -8
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +5 -5
- package/esm/Dropdown/Dropdown.js +3 -3
- package/esm/Dropdown/DropdownItem.js +2 -2
- package/esm/Dropdown/DropdownMenu.js +1 -1
- package/esm/Form/Form.js +8 -8
- package/esm/Form/hooks/useFormValidate.js +19 -19
- package/esm/FormControl/FormControl.js +5 -5
- package/esm/FormControl/hooks/useField.js +1 -1
- package/esm/FormControl/hooks/useRegisterModel.js +2 -2
- package/esm/InlineEdit/renderChildren.js +1 -1
- package/esm/InlineEdit/useEditState.js +7 -7
- package/esm/InlineEdit/useFocusEvent.js +5 -5
- package/esm/Input/Input.js +3 -3
- package/esm/InputGroup/InputGroup.js +2 -2
- package/esm/InputNumber/InputNumber.js +3 -3
- package/esm/InputPicker/InputAutosize.js +1 -1
- package/esm/InputPicker/InputPicker.js +13 -13
- package/esm/InputPicker/InputSearch.js +1 -1
- package/esm/InputPicker/hooks/useData.js +1 -1
- package/esm/InputPicker/hooks/useInput.js +2 -2
- package/esm/List/List.d.ts +19 -1
- package/esm/List/List.js +11 -7
- package/esm/List/ListItem.d.ts +1 -1
- package/esm/List/helper/useSortHelper.js +10 -10
- package/esm/MaskedInput/TextMask.js +3 -3
- package/esm/Message/Message.js +1 -1
- package/esm/Modal/Modal.js +6 -6
- package/esm/Modal/utils.js +2 -2
- package/esm/MultiCascadeTree/SearchView.js +1 -1
- package/esm/MultiCascadeTree/TreeView.js +1 -1
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +5 -5
- package/esm/MultiCascadeTree/hooks/useSearch.js +1 -1
- package/esm/MultiCascadeTree/hooks/useSelect.js +1 -1
- package/esm/MultiCascadeTree/utils.js +13 -10
- package/esm/MultiCascader/MultiCascader.js +5 -5
- package/esm/Nav/Nav.js +2 -2
- package/esm/Nav/NavDropdown.js +3 -3
- package/esm/Nav/NavDropdownItem.js +2 -2
- package/esm/Nav/NavDropdownMenu.js +1 -1
- package/esm/Nav/NavItem.js +3 -3
- package/esm/Navbar/NavbarDropdown.js +3 -3
- package/esm/Navbar/NavbarDropdownItem.js +4 -4
- package/esm/Navbar/NavbarItem.js +3 -3
- package/esm/Notification/Notification.js +1 -1
- package/esm/Pagination/PaginationButton.js +1 -1
- package/esm/Pagination/PaginationGroup.js +3 -3
- package/esm/Panel/Panel.js +2 -2
- package/esm/PanelGroup/PanelGroup.js +1 -1
- package/esm/Placeholder/PlaceholderGrid.js +2 -2
- package/esm/Placeholder/PlaceholderParagraph.js +1 -1
- package/esm/Radio/Radio.js +2 -2
- package/esm/RadioGroup/RadioGroup.js +1 -1
- package/esm/RadioTile/RadioTile.js +2 -2
- package/esm/RadioTileGroup/RadioTileGroup.js +1 -1
- package/esm/RangeSlider/RangeSlider.js +5 -5
- package/esm/Rate/Character.js +2 -2
- package/esm/Rate/Rate.js +3 -3
- package/esm/SafeAnchor/SafeAnchor.js +1 -1
- package/esm/SelectPicker/SelectPicker.js +7 -7
- package/esm/Sidebar/Sidebar.js +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdown.js +4 -4
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +3 -3
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
- package/esm/Sidenav/Sidenav.js +1 -1
- package/esm/Sidenav/SidenavDropdown.js +4 -4
- package/esm/Sidenav/SidenavDropdownItem.js +2 -2
- package/esm/Sidenav/SidenavDropdownMenu.js +1 -1
- package/esm/Sidenav/SidenavItem.js +4 -4
- package/esm/Sidenav/SidenavToggle.js +1 -1
- package/esm/Slider/Graduated.js +1 -1
- package/esm/Slider/Slider.js +3 -3
- package/esm/Slider/useDrag.js +6 -6
- package/esm/Stack/HStack.d.ts +6 -3
- package/esm/Stack/HStack.js +1 -0
- package/esm/Stack/Stack.d.ts +6 -2
- package/esm/Stack/Stack.js +1 -1
- package/esm/Stack/VStack.d.ts +6 -3
- package/esm/Stack/VStack.js +1 -0
- package/esm/Stat/Stat.d.ts +26 -0
- package/esm/Stat/Stat.js +52 -0
- package/esm/Stat/StatHelpText.d.ts +4 -0
- package/esm/Stat/StatHelpText.js +7 -0
- package/esm/Stat/StatLabel.d.ts +14 -0
- package/esm/Stat/StatLabel.js +48 -0
- package/esm/Stat/StatTrend.d.ts +7 -0
- package/esm/Stat/StatTrend.js +63 -0
- package/esm/Stat/StatValue.d.ts +7 -0
- package/esm/Stat/StatValue.js +36 -0
- package/esm/Stat/StatValueUnit.d.ts +4 -0
- package/esm/Stat/StatValueUnit.js +7 -0
- package/esm/Stat/index.d.ts +3 -0
- package/esm/Stat/index.js +3 -0
- package/esm/StatGroup/StatGroup.d.ts +13 -0
- package/esm/StatGroup/StatGroup.js +42 -0
- package/esm/StatGroup/index.d.ts +3 -0
- package/esm/StatGroup/index.js +3 -0
- package/esm/Tabs/Tabs.js +1 -1
- package/esm/Timeline/Timeline.js +1 -1
- package/esm/Toggle/Toggle.js +1 -1
- package/esm/Tree/Tree.js +1 -1
- package/esm/Tree/TreeNode.js +9 -9
- package/esm/Tree/TreeView.js +7 -7
- package/esm/Tree/hooks/useExpandTree.js +1 -1
- package/esm/Tree/hooks/useFlattenTree.js +1 -1
- package/esm/Tree/hooks/useFocusTree.js +6 -6
- package/esm/Tree/hooks/useTreeDrag.js +17 -17
- package/esm/Tree/hooks/useTreeSearch.js +1 -1
- package/esm/Tree/utils/flattenTree.js +6 -6
- package/esm/Tree/utils/focusableTree.js +6 -6
- package/esm/Tree/utils/getNodeParentKeys.js +4 -4
- package/esm/Tree/utils/treeKeyboardInteractions.js +2 -2
- package/esm/TreePicker/TreePicker.js +5 -5
- package/esm/TreePicker/hooks/useFocusState.js +4 -4
- package/esm/Uploader/UploadFileItem.js +5 -5
- package/esm/Uploader/UploadTrigger.js +11 -11
- package/esm/Uploader/Uploader.js +16 -16
- package/esm/Uploader/utils/ajaxUpload.js +5 -5
- package/esm/index.d.ts +8 -0
- package/esm/index.js +4 -0
- package/esm/internals/Disclosure/Disclosure.js +3 -3
- package/esm/internals/Disclosure/DisclosureButton.js +2 -2
- package/esm/internals/Menu/Menu.js +3 -3
- package/esm/internals/Menu/MenuItem.js +1 -1
- package/esm/internals/Menu/Menubar.js +2 -2
- package/esm/internals/Overlay/Modal.js +7 -7
- package/esm/internals/Overlay/Overlay.js +1 -1
- package/esm/internals/Overlay/OverlayTrigger.js +3 -3
- package/esm/internals/Overlay/Position.js +5 -5
- package/esm/internals/Picker/ListCheckItem.js +3 -3
- package/esm/internals/Picker/ListItem.js +1 -1
- package/esm/internals/Picker/Listbox.js +4 -4
- package/esm/internals/Picker/PickerToggle.js +2 -2
- package/esm/internals/Picker/SelectedElement.js +1 -1
- package/esm/internals/Picker/hooks/useFocusItemValue.js +2 -2
- package/esm/internals/Picker/hooks/usePickerRef.js +4 -4
- package/esm/internals/Picker/hooks/useSearch.js +1 -1
- package/esm/internals/Picker/hooks/useToggleKeyDownEvent.js +9 -9
- package/esm/internals/Picker/utils.js +8 -8
- package/esm/internals/Ripple/Ripple.js +2 -2
- package/esm/internals/ScrollView/hooks/useScrollState.js +1 -1
- package/esm/internals/Tree/utils/filterNodesOfTree.js +3 -3
- package/esm/internals/Tree/utils/findNodeOfTree.js +3 -3
- package/esm/internals/Tree/utils/getParentMap.js +3 -3
- package/esm/internals/Windowing/AutoSizer.js +1 -1
- package/esm/internals/Windowing/List.js +4 -4
- package/esm/internals/hooks/useClickOutside.js +1 -1
- package/esm/internals/hooks/useElementResize.js +1 -1
- package/esm/internals/hooks/useEventListener.js +1 -1
- package/esm/internals/hooks/useFocus.js +2 -2
- package/esm/internals/hooks/useMount.js +1 -1
- package/esm/internals/hooks/useRootClose.js +4 -4
- package/esm/internals/hooks/useTimeout.js +1 -1
- package/esm/internals/utils/stringifyReactNode.js +5 -5
- package/esm/toaster/ToastContainer.d.ts +1 -0
- package/esm/toaster/ToastContainer.js +19 -14
- package/esm/toaster/hooks/useDelayedClosure.js +2 -2
- package/esm/toaster/toaster.js +7 -7
- package/esm/useToaster/useToaster.js +1 -1
- package/package.json +1 -1
- package/styles/color-modes/dark.less +6 -0
- package/styles/color-modes/high-contrast.less +6 -0
- package/styles/color-modes/light.less +6 -0
- package/styles/index.less +4 -0
- package/toaster/styles/index.css +24 -24
- package/toaster/styles/index.less +29 -29
- package/useToaster/styles/index.css +24 -24
package/dist/rsuite-rtl.css
CHANGED
|
@@ -337,6 +337,7 @@
|
|
|
337
337
|
--rs-badge-text: var(--rs-gray-0);
|
|
338
338
|
--rs-close-button-hover-color: var(--rs-color-red);
|
|
339
339
|
--rs-tag-bg: var(--rs-gray-50);
|
|
340
|
+
--rs-card-bg: var(--rs-gray-0);
|
|
340
341
|
--rs-carousel-bg: var(--rs-gray-600);
|
|
341
342
|
--rs-carousel-indicator: rgb(from var(--rs-gray-0) r g b / 40%);
|
|
342
343
|
--rs-carousel-indicator-hover: var(--rs-gray-0);
|
|
@@ -376,6 +377,7 @@
|
|
|
376
377
|
--rs-popover-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
|
|
377
378
|
--rs-tree-indent-line-color: rgba(0, 0, 0, 0.1);
|
|
378
379
|
--rs-scroll-view-shadow-color: rgba(9, 9, 9, 0.2);
|
|
380
|
+
--rs-stat-body-bg: var(--rs-gray-0);
|
|
379
381
|
}
|
|
380
382
|
@supports not (color: rgb(from white r g b)) {
|
|
381
383
|
:root,
|
|
@@ -721,6 +723,7 @@
|
|
|
721
723
|
--rs-badge-text: var(--rs-gray-0);
|
|
722
724
|
--rs-close-button-hover-color: var(--rs-color-red);
|
|
723
725
|
--rs-tag-bg: var(--rs-gray-600);
|
|
726
|
+
--rs-card-bg: var(--rs-gray-900);
|
|
724
727
|
--rs-carousel-bg: var(--rs-gray-600);
|
|
725
728
|
--rs-carousel-indicator: rgb(from var(--rs-gray-0) r g b / 40%);
|
|
726
729
|
--rs-carousel-indicator-hover: var(--rs-gray-0);
|
|
@@ -758,6 +761,7 @@
|
|
|
758
761
|
--rs-popover-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
759
762
|
--rs-tree-indent-line-color: rgba(255, 255, 255, 0.1);
|
|
760
763
|
--rs-scroll-view-shadow-color: rgba(0, 0, 0, 0.99);
|
|
764
|
+
--rs-stat-body-bg: var(--rs-gray-900);
|
|
761
765
|
}
|
|
762
766
|
@supports not (color: rgb(from white r g b)) {
|
|
763
767
|
.rs-theme-dark {
|
|
@@ -1104,6 +1108,7 @@
|
|
|
1104
1108
|
--rs-badge-text: var(--rs-gray-0);
|
|
1105
1109
|
--rs-close-button-hover-color: var(--rs-color-red);
|
|
1106
1110
|
--rs-tag-bg: var(--rs-gray-600);
|
|
1111
|
+
--rs-card-bg: var(--rs-gray-900);
|
|
1107
1112
|
--rs-carousel-bg: var(--rs-gray-600);
|
|
1108
1113
|
--rs-carousel-indicator: rgb(from var(--rs-gray-0) r g b / 40%);
|
|
1109
1114
|
--rs-carousel-indicator-hover: var(--rs-gray-0);
|
|
@@ -1145,6 +1150,7 @@
|
|
|
1145
1150
|
--rs-popover-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
1146
1151
|
--rs-tree-indent-line-color: rgba(255, 255, 255, 0.1);
|
|
1147
1152
|
--rs-scroll-view-shadow-color: rgba(0, 0, 0, 0.99);
|
|
1153
|
+
--rs-stat-body-bg: var(--rs-gray-900);
|
|
1148
1154
|
}
|
|
1149
1155
|
@supports not (color: rgb(from white r g b)) {
|
|
1150
1156
|
.rs-theme-high-contrast {
|
|
@@ -3873,6 +3879,77 @@ tbody.rs-anim-collapse.rs-anim-in {
|
|
|
3873
3879
|
transform: translateY(0);
|
|
3874
3880
|
}
|
|
3875
3881
|
}
|
|
3882
|
+
.rs-card {
|
|
3883
|
+
--rs-card-width: 100%;
|
|
3884
|
+
--rs-card-padding: 16px;
|
|
3885
|
+
display: -webkit-box;
|
|
3886
|
+
display: -ms-flexbox;
|
|
3887
|
+
display: flex;
|
|
3888
|
+
-webkit-box-orient: vertical;
|
|
3889
|
+
-webkit-box-direction: normal;
|
|
3890
|
+
-ms-flex-direction: column;
|
|
3891
|
+
flex-direction: column;
|
|
3892
|
+
border-radius: 6px;
|
|
3893
|
+
overflow: hidden;
|
|
3894
|
+
-webkit-box-sizing: border-box;
|
|
3895
|
+
box-sizing: border-box;
|
|
3896
|
+
position: relative;
|
|
3897
|
+
width: var(--rs-card-width);
|
|
3898
|
+
}
|
|
3899
|
+
.rs-card-bordered {
|
|
3900
|
+
border: 1px solid #e5e5ea;
|
|
3901
|
+
border: 1px solid var(--rs-border-primary);
|
|
3902
|
+
background-color: #fff;
|
|
3903
|
+
background-color: var(--rs-card-bg);
|
|
3904
|
+
}
|
|
3905
|
+
.rs-card-shaded {
|
|
3906
|
+
-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3907
|
+
-webkit-box-shadow: var(--rs-panel-shadow);
|
|
3908
|
+
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3909
|
+
box-shadow: var(--rs-panel-shadow);
|
|
3910
|
+
}
|
|
3911
|
+
.rs-card-shaded-hover:hover {
|
|
3912
|
+
-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3913
|
+
-webkit-box-shadow: var(--rs-panel-shadow);
|
|
3914
|
+
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3915
|
+
box-shadow: var(--rs-panel-shadow);
|
|
3916
|
+
cursor: pointer;
|
|
3917
|
+
}
|
|
3918
|
+
.rs-card-sm {
|
|
3919
|
+
--rs-card-padding: 8px;
|
|
3920
|
+
}
|
|
3921
|
+
.rs-card-md {
|
|
3922
|
+
--rs-card-padding: 16px;
|
|
3923
|
+
}
|
|
3924
|
+
.rs-card-lg {
|
|
3925
|
+
--rs-card-padding: 24px;
|
|
3926
|
+
}
|
|
3927
|
+
.rs-card-row {
|
|
3928
|
+
-webkit-box-orient: horizontal;
|
|
3929
|
+
-webkit-box-direction: normal;
|
|
3930
|
+
-ms-flex-direction: row;
|
|
3931
|
+
flex-direction: row;
|
|
3932
|
+
}
|
|
3933
|
+
.rs-card-header {
|
|
3934
|
+
padding: var(--rs-card-padding) var(--rs-card-padding) 0 var(--rs-card-padding);
|
|
3935
|
+
}
|
|
3936
|
+
.rs-card-body {
|
|
3937
|
+
padding: var(--rs-card-padding);
|
|
3938
|
+
}
|
|
3939
|
+
.rs-card-footer {
|
|
3940
|
+
display: -webkit-box;
|
|
3941
|
+
display: -ms-flexbox;
|
|
3942
|
+
display: flex;
|
|
3943
|
+
gap: 8px;
|
|
3944
|
+
padding: 0 var(--rs-card-padding) var(--rs-card-padding) var(--rs-card-padding);
|
|
3945
|
+
}
|
|
3946
|
+
.rs-card-group {
|
|
3947
|
+
--rs-columns: 4;
|
|
3948
|
+
--rs-spacing: 20px;
|
|
3949
|
+
display: grid;
|
|
3950
|
+
grid-template-columns: repeat(var(--rs-columns), 1fr);
|
|
3951
|
+
grid-gap: var(--rs-spacing);
|
|
3952
|
+
}
|
|
3876
3953
|
.rs-carousel {
|
|
3877
3954
|
position: relative;
|
|
3878
3955
|
height: 400px;
|
|
@@ -9419,19 +9496,13 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9419
9496
|
}
|
|
9420
9497
|
.rs-list {
|
|
9421
9498
|
position: relative;
|
|
9422
|
-
-webkit-box-shadow: 0 1px 0 #e5e5ea, 0 -1px 0 #e5e5ea;
|
|
9423
|
-
-webkit-box-shadow: 0 1px 0 var(--rs-list-border), 0 -1px 0 var(--rs-list-border);
|
|
9424
|
-
box-shadow: 0 1px 0 #e5e5ea, 0 -1px 0 #e5e5ea;
|
|
9425
|
-
box-shadow: 0 1px 0 var(--rs-list-border), 0 -1px 0 var(--rs-list-border);
|
|
9426
9499
|
overflow-x: hidden;
|
|
9427
9500
|
overflow-y: auto;
|
|
9428
9501
|
}
|
|
9429
9502
|
.rs-list-bordered {
|
|
9430
9503
|
border-radius: 6px;
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
box-shadow: 0 0 0 1px #e5e5ea;
|
|
9434
|
-
box-shadow: 0 0 0 1px var(--rs-list-border);
|
|
9504
|
+
border: 1px solid #e5e5ea;
|
|
9505
|
+
border: 1px solid var(--rs-list-border);
|
|
9435
9506
|
}
|
|
9436
9507
|
.rs-list-hover .rs-list-item:hover {
|
|
9437
9508
|
background-color: #f2faff;
|
|
@@ -9465,14 +9536,14 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9465
9536
|
padding-top: 8px;
|
|
9466
9537
|
padding-bottom: 8px;
|
|
9467
9538
|
}
|
|
9539
|
+
.rs-list-item-xs {
|
|
9540
|
+
padding-top: 2px;
|
|
9541
|
+
padding-bottom: 2px;
|
|
9542
|
+
}
|
|
9468
9543
|
/* stylelint-disable-next-line */
|
|
9469
9544
|
.rs-list-item {
|
|
9470
9545
|
background-color: #fff;
|
|
9471
9546
|
background-color: var(--rs-list-bg);
|
|
9472
|
-
-webkit-box-shadow: 0 -1px 0 #e5e5ea, 0 1px 0 #e5e5ea;
|
|
9473
|
-
-webkit-box-shadow: 0 -1px 0 var(--rs-list-border), 0 1px 0 var(--rs-list-border);
|
|
9474
|
-
box-shadow: 0 -1px 0 #e5e5ea, 0 1px 0 #e5e5ea;
|
|
9475
|
-
box-shadow: 0 -1px 0 var(--rs-list-border), 0 1px 0 var(--rs-list-border);
|
|
9476
9547
|
}
|
|
9477
9548
|
.rs-list-item-helper {
|
|
9478
9549
|
position: absolute;
|
|
@@ -9510,6 +9581,10 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9510
9581
|
border: 1px #3498ff dashed;
|
|
9511
9582
|
border: 1px var(--rs-list-placeholder-border) dashed;
|
|
9512
9583
|
}
|
|
9584
|
+
.rs-list-divider .rs-list-item + .rs-list-item {
|
|
9585
|
+
border-top: 1px solid #e5e5ea;
|
|
9586
|
+
border-top: 1px solid var(--rs-list-border);
|
|
9587
|
+
}
|
|
9513
9588
|
.rs-loader {
|
|
9514
9589
|
display: inline-block;
|
|
9515
9590
|
}
|
|
@@ -13871,6 +13946,135 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
13871
13946
|
bottom: unset;
|
|
13872
13947
|
top: -8px;
|
|
13873
13948
|
}
|
|
13949
|
+
.rs-stat {
|
|
13950
|
+
display: -webkit-box;
|
|
13951
|
+
display: -ms-flexbox;
|
|
13952
|
+
display: flex;
|
|
13953
|
+
gap: 10px;
|
|
13954
|
+
-webkit-box-align: center;
|
|
13955
|
+
-ms-flex-align: center;
|
|
13956
|
+
align-items: center;
|
|
13957
|
+
}
|
|
13958
|
+
.rs-stat-icon {
|
|
13959
|
+
width: 50px;
|
|
13960
|
+
height: 50px;
|
|
13961
|
+
display: -webkit-box;
|
|
13962
|
+
display: -ms-flexbox;
|
|
13963
|
+
display: flex;
|
|
13964
|
+
-webkit-box-align: center;
|
|
13965
|
+
-ms-flex-align: center;
|
|
13966
|
+
align-items: center;
|
|
13967
|
+
-webkit-box-pack: center;
|
|
13968
|
+
-ms-flex-pack: center;
|
|
13969
|
+
justify-content: center;
|
|
13970
|
+
border-radius: 6px;
|
|
13971
|
+
}
|
|
13972
|
+
.rs-stat-body {
|
|
13973
|
+
display: -webkit-box;
|
|
13974
|
+
display: -ms-flexbox;
|
|
13975
|
+
display: flex;
|
|
13976
|
+
-webkit-box-orient: vertical;
|
|
13977
|
+
-webkit-box-direction: normal;
|
|
13978
|
+
-ms-flex-direction: column;
|
|
13979
|
+
flex-direction: column;
|
|
13980
|
+
gap: 8px;
|
|
13981
|
+
width: 100%;
|
|
13982
|
+
margin: 0;
|
|
13983
|
+
}
|
|
13984
|
+
.rs-stat-bordered {
|
|
13985
|
+
border: 1px solid #e5e5ea;
|
|
13986
|
+
border: 1px solid var(--rs-border-primary);
|
|
13987
|
+
background-color: #fff;
|
|
13988
|
+
background-color: var(--rs-stat-body-bg);
|
|
13989
|
+
border-radius: 6px;
|
|
13990
|
+
padding: 16px;
|
|
13991
|
+
}
|
|
13992
|
+
.rs-stat-label {
|
|
13993
|
+
font-weight: 100;
|
|
13994
|
+
display: -webkit-inline-box;
|
|
13995
|
+
display: -ms-inline-flexbox;
|
|
13996
|
+
display: inline-flex;
|
|
13997
|
+
-webkit-box-align: center;
|
|
13998
|
+
-ms-flex-align: center;
|
|
13999
|
+
align-items: center;
|
|
14000
|
+
color: #717273;
|
|
14001
|
+
color: var(--rs-text-secondary);
|
|
14002
|
+
gap: 6px;
|
|
14003
|
+
}
|
|
14004
|
+
.rs-stat-label-uppercase {
|
|
14005
|
+
text-transform: uppercase;
|
|
14006
|
+
}
|
|
14007
|
+
.rs-stat-value {
|
|
14008
|
+
display: -webkit-box;
|
|
14009
|
+
display: -ms-flexbox;
|
|
14010
|
+
display: flex;
|
|
14011
|
+
gap: 4px;
|
|
14012
|
+
-webkit-box-align: baseline;
|
|
14013
|
+
-ms-flex-align: baseline;
|
|
14014
|
+
align-items: baseline;
|
|
14015
|
+
font-size: 24px;
|
|
14016
|
+
font-weight: 600;
|
|
14017
|
+
line-height: 1;
|
|
14018
|
+
margin: 0;
|
|
14019
|
+
}
|
|
14020
|
+
.rs-stat-value-unit {
|
|
14021
|
+
font-size: 12px;
|
|
14022
|
+
font-weight: 400;
|
|
14023
|
+
}
|
|
14024
|
+
.rs-stat-trend {
|
|
14025
|
+
display: -webkit-inline-box;
|
|
14026
|
+
display: -ms-inline-flexbox;
|
|
14027
|
+
display: inline-flex;
|
|
14028
|
+
-webkit-box-align: center;
|
|
14029
|
+
-ms-flex-align: center;
|
|
14030
|
+
align-items: center;
|
|
14031
|
+
gap: 2px;
|
|
14032
|
+
border-radius: 4px;
|
|
14033
|
+
font-weight: 600;
|
|
14034
|
+
font-size: 12px;
|
|
14035
|
+
line-height: 1;
|
|
14036
|
+
}
|
|
14037
|
+
.rs-stat-trend-up {
|
|
14038
|
+
color: #007d0c;
|
|
14039
|
+
color: var(--rs-green-900);
|
|
14040
|
+
}
|
|
14041
|
+
.rs-stat-trend-down {
|
|
14042
|
+
color: #8f1300;
|
|
14043
|
+
color: var(--rs-red-900);
|
|
14044
|
+
}
|
|
14045
|
+
.rs-stat-trend-default {
|
|
14046
|
+
padding: 2px 6px;
|
|
14047
|
+
}
|
|
14048
|
+
.rs-stat-trend-default.rs-stat-trend-up {
|
|
14049
|
+
background-color: #c8f0c7;
|
|
14050
|
+
background-color: var(--rs-green-100);
|
|
14051
|
+
}
|
|
14052
|
+
.rs-stat-trend-default.rs-stat-trend-down {
|
|
14053
|
+
background-color: #fccfcf;
|
|
14054
|
+
background-color: var(--rs-red-100);
|
|
14055
|
+
}
|
|
14056
|
+
.rs-stat-trend-subtle.rs-stat-trend-up {
|
|
14057
|
+
color: #37ab3c;
|
|
14058
|
+
color: var(--rs-green-600);
|
|
14059
|
+
}
|
|
14060
|
+
.rs-stat-trend-subtle.rs-stat-trend-down {
|
|
14061
|
+
color: #eb3626;
|
|
14062
|
+
color: var(--rs-red-600);
|
|
14063
|
+
}
|
|
14064
|
+
.rs-stat-help-text {
|
|
14065
|
+
color: #717273;
|
|
14066
|
+
color: var(--rs-text-secondary);
|
|
14067
|
+
}
|
|
14068
|
+
.rs-stat .rs-progress-line {
|
|
14069
|
+
padding: 0;
|
|
14070
|
+
}
|
|
14071
|
+
.rs-stat-group {
|
|
14072
|
+
--rs-columns: 4;
|
|
14073
|
+
--rs-spacing: 6px;
|
|
14074
|
+
display: grid;
|
|
14075
|
+
grid-template-columns: repeat(var(--rs-columns), 1fr);
|
|
14076
|
+
grid-gap: var(--rs-spacing);
|
|
14077
|
+
}
|
|
13874
14078
|
.rs-steps {
|
|
13875
14079
|
min-height: 30px;
|
|
13876
14080
|
}
|
|
@@ -16672,29 +16876,6 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
16672
16876
|
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
16673
16877
|
box-shadow: var(--rs-shadow-overlay);
|
|
16674
16878
|
}
|
|
16675
|
-
.rs-toast-container .rs-toast-fade-entered,
|
|
16676
|
-
.rs-toast-container .rs-toast-fade-exiting {
|
|
16677
|
-
-webkit-animation-fill-mode: forwards;
|
|
16678
|
-
animation-fill-mode: forwards;
|
|
16679
|
-
}
|
|
16680
|
-
.rs-toast-container .rs-toast-fade-entered {
|
|
16681
|
-
-webkit-animation-duration: 0.4s;
|
|
16682
|
-
animation-duration: 0.4s;
|
|
16683
|
-
-webkit-animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16684
|
-
animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16685
|
-
}
|
|
16686
|
-
.rs-toast-container .rs-toast-fade-exited,
|
|
16687
|
-
.rs-toast-container .rs-toast-fade-entering {
|
|
16688
|
-
opacity: 0;
|
|
16689
|
-
}
|
|
16690
|
-
.rs-toast-container .rs-toast-fade-exited {
|
|
16691
|
-
-webkit-transform-origin: 100% 0;
|
|
16692
|
-
transform-origin: 100% 0;
|
|
16693
|
-
-webkit-transform: scaleY(0.8);
|
|
16694
|
-
transform: scaleY(0.8);
|
|
16695
|
-
max-height: 0;
|
|
16696
|
-
overflow: hidden;
|
|
16697
|
-
}
|
|
16698
16879
|
.rs-toast-container-top-center,
|
|
16699
16880
|
.rs-toast-container-bottom-center {
|
|
16700
16881
|
-webkit-box-align: center;
|
|
@@ -16742,7 +16923,30 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
16742
16923
|
.rs-toast-container-bottom-end {
|
|
16743
16924
|
bottom: 24px;
|
|
16744
16925
|
}
|
|
16745
|
-
.rs-toast-
|
|
16926
|
+
.rs-toast-fade-entered,
|
|
16927
|
+
.rs-toast-fade-exiting {
|
|
16928
|
+
-webkit-animation-fill-mode: forwards;
|
|
16929
|
+
animation-fill-mode: forwards;
|
|
16930
|
+
}
|
|
16931
|
+
.rs-toast-fade-entered {
|
|
16932
|
+
-webkit-animation-duration: 0.4s;
|
|
16933
|
+
animation-duration: 0.4s;
|
|
16934
|
+
-webkit-animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16935
|
+
animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16936
|
+
}
|
|
16937
|
+
.rs-toast-fade-exited,
|
|
16938
|
+
.rs-toast-fade-entering {
|
|
16939
|
+
opacity: 0;
|
|
16940
|
+
}
|
|
16941
|
+
.rs-toast-fade-exited {
|
|
16942
|
+
-webkit-transform-origin: 100% 0;
|
|
16943
|
+
transform-origin: 100% 0;
|
|
16944
|
+
-webkit-transform: scaleY(0.8);
|
|
16945
|
+
transform: scaleY(0.8);
|
|
16946
|
+
max-height: 0;
|
|
16947
|
+
overflow: hidden;
|
|
16948
|
+
}
|
|
16949
|
+
.rs-toast-fade-exiting {
|
|
16746
16950
|
-webkit-animation-duration: 0.3s;
|
|
16747
16951
|
animation-duration: 0.3s;
|
|
16748
16952
|
-webkit-animation-timing-function: cubic-bezier(0.64, 0.65, 0.57, 1.13);
|