rsuite 5.74.2 → 5.76.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 +25 -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/Image/package.json +7 -0
- package/Image/styles/index.css +33 -0
- package/Image/styles/index.less +34 -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 +5 -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 +10 -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/Image/Image.d.ts +42 -0
- package/cjs/Image/Image.js +102 -0
- package/cjs/Image/ImageWrapper.d.ts +1 -0
- package/cjs/Image/ImageWrapper.js +10 -0
- package/cjs/Image/hooks/useImage.d.ts +14 -0
- package/cjs/Image/hooks/useImage.js +68 -0
- package/cjs/Image/index.d.ts +3 -0
- package/cjs/Image/index.js +8 -0
- 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 +10 -0
- package/cjs/index.js +12 -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/getDOMNode.js +2 -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 +274 -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 +274 -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 +274 -36
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +274 -36
- package/dist/rsuite.js +427 -174
- 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 +5 -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 +10 -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/Image/Image.d.ts +42 -0
- package/esm/Image/Image.js +97 -0
- package/esm/Image/ImageWrapper.d.ts +1 -0
- package/esm/Image/ImageWrapper.js +6 -0
- package/esm/Image/hooks/useImage.d.ts +14 -0
- package/esm/Image/hooks/useImage.js +63 -0
- package/esm/Image/index.d.ts +3 -0
- package/esm/Image/index.js +3 -0
- 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 +10 -0
- package/esm/index.js +5 -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/getDOMNode.js +2 -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 +5 -0
- package/toaster/styles/index.css +24 -24
- package/toaster/styles/index.less +29 -29
- package/useToaster/styles/index.css +24 -24
|
@@ -7,6 +7,7 @@ exports.toastPlacements = exports.default = void 0;
|
|
|
7
7
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _reactDom = require("react-dom");
|
|
10
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
12
|
var _kebabCase = _interopRequireDefault(require("lodash/kebabCase"));
|
|
12
13
|
var _Transition = _interopRequireDefault(require("../Animation/Transition"));
|
|
@@ -33,7 +34,8 @@ var useMessages = function useMessages() {
|
|
|
33
34
|
var _ref = options || {},
|
|
34
35
|
duration = _ref.duration,
|
|
35
36
|
_ref$mouseReset = _ref.mouseReset,
|
|
36
|
-
mouseReset = _ref$mouseReset === void 0 ? true : _ref$mouseReset
|
|
37
|
+
mouseReset = _ref$mouseReset === void 0 ? true : _ref$mouseReset,
|
|
38
|
+
container = _ref.container;
|
|
37
39
|
var key = (0, _utils.guid)();
|
|
38
40
|
setMessages(function (prevMessages) {
|
|
39
41
|
return [].concat(prevMessages, [{
|
|
@@ -41,7 +43,8 @@ var useMessages = function useMessages() {
|
|
|
41
43
|
visible: true,
|
|
42
44
|
node: message,
|
|
43
45
|
duration: duration,
|
|
44
|
-
mouseReset: mouseReset
|
|
46
|
+
mouseReset: mouseReset,
|
|
47
|
+
container: container
|
|
45
48
|
}]);
|
|
46
49
|
});
|
|
47
50
|
return key;
|
|
@@ -115,15 +118,9 @@ var ToastContainer = /*#__PURE__*/_react.default.forwardRef(function (props, ref
|
|
|
115
118
|
var elements = messages.map(function (item) {
|
|
116
119
|
var mouseReset = item.mouseReset,
|
|
117
120
|
duration = item.duration,
|
|
118
|
-
node = item.node
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
usedToaster: true,
|
|
122
|
-
mouseReset: mouseReset,
|
|
123
|
-
duration: duration
|
|
124
|
-
},
|
|
125
|
-
key: item.key
|
|
126
|
-
}, /*#__PURE__*/_react.default.createElement(_Transition.default, {
|
|
121
|
+
node = item.node,
|
|
122
|
+
container = item.container;
|
|
123
|
+
var toastWithTransition = /*#__PURE__*/_react.default.createElement(_Transition.default, {
|
|
127
124
|
in: item.visible,
|
|
128
125
|
exitedClassName: rootPrefix('toast-fade-exited'),
|
|
129
126
|
exitingClassName: rootPrefix('toast-fade-exiting'),
|
|
@@ -142,12 +139,20 @@ var ToastContainer = /*#__PURE__*/_react.default.forwardRef(function (props, ref
|
|
|
142
139
|
}),
|
|
143
140
|
className: merge(rootPrefix('toast'), (_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.className, transitionClassName)
|
|
144
141
|
}));
|
|
145
|
-
})
|
|
142
|
+
});
|
|
143
|
+
return /*#__PURE__*/_react.default.createElement(_ToastContext.default.Provider, {
|
|
144
|
+
value: {
|
|
145
|
+
usedToaster: true,
|
|
146
|
+
mouseReset: mouseReset,
|
|
147
|
+
duration: duration
|
|
148
|
+
},
|
|
149
|
+
key: item.key
|
|
150
|
+
}, container ? /*#__PURE__*/(0, _reactDom.createPortal)(toastWithTransition, typeof container === 'function' ? container() : container) : toastWithTransition);
|
|
146
151
|
});
|
|
147
152
|
return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, rest, {
|
|
148
153
|
ref: function ref(selfRef) {
|
|
149
154
|
rootRef.current = selfRef;
|
|
150
|
-
callback === null || callback === void 0
|
|
155
|
+
callback === null || callback === void 0 || callback(selfRef);
|
|
151
156
|
},
|
|
152
157
|
className: classes
|
|
153
158
|
}), elements);
|
|
@@ -161,7 +166,7 @@ ToastContainer.getInstance = function (props) {
|
|
|
161
166
|
var renderCallback = function renderCallback() {
|
|
162
167
|
resolve([containerRef, unmount]);
|
|
163
168
|
};
|
|
164
|
-
var _render = (0, _utils.render)(
|
|
169
|
+
var _render = (0, _utils.render)(/*#__PURE__*/_react.default.createElement(ToastContainer, (0, _extends2.default)({}, rest, {
|
|
165
170
|
ref: containerRef,
|
|
166
171
|
callback: renderCallback
|
|
167
172
|
})), containerElement),
|
|
@@ -34,8 +34,8 @@ function useDelayedClosure(props) {
|
|
|
34
34
|
mouseLeaveRef.current = (0, _on.default)(targetRef.current, 'mouseleave', reset);
|
|
35
35
|
return function () {
|
|
36
36
|
var _mouseEnterRef$curren, _mouseLeaveRef$curren;
|
|
37
|
-
(_mouseEnterRef$curren = mouseEnterRef.current) === null || _mouseEnterRef$curren === void 0
|
|
38
|
-
(_mouseLeaveRef$curren = mouseLeaveRef.current) === null || _mouseLeaveRef$curren === void 0
|
|
37
|
+
(_mouseEnterRef$curren = mouseEnterRef.current) === null || _mouseEnterRef$curren === void 0 || _mouseEnterRef$curren.off();
|
|
38
|
+
(_mouseLeaveRef$curren = mouseLeaveRef.current) === null || _mouseLeaveRef$curren === void 0 || _mouseLeaveRef$curren.off();
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
});
|
package/cjs/toaster/toaster.js
CHANGED
|
@@ -25,7 +25,7 @@ function createContainer(_x, _x2) {
|
|
|
25
25
|
* @param containerId
|
|
26
26
|
*/
|
|
27
27
|
function _createContainer() {
|
|
28
|
-
_createContainer = (0, _asyncToGenerator2.default)(
|
|
28
|
+
_createContainer = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(containerId, props) {
|
|
29
29
|
var _yield$ToastContainer, container;
|
|
30
30
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
31
31
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -51,10 +51,10 @@ function getContainer(containerId) {
|
|
|
51
51
|
}
|
|
52
52
|
return containers.get(containerId || defaultContainerId);
|
|
53
53
|
}
|
|
54
|
-
var
|
|
55
|
-
return
|
|
54
|
+
var _toaster = function toaster(message) {
|
|
55
|
+
return _toaster.push(message);
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
_toaster.push = function (message, options) {
|
|
58
58
|
if (options === void 0) {
|
|
59
59
|
options = {};
|
|
60
60
|
}
|
|
@@ -70,16 +70,16 @@ toaster.push = function (message, options) {
|
|
|
70
70
|
return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.push(message, restOptions);
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
_toaster.remove = function (key) {
|
|
74
74
|
containers.forEach(function (c) {
|
|
75
75
|
var _c$current;
|
|
76
76
|
return (_c$current = c.current) === null || _c$current === void 0 ? void 0 : _c$current.remove(key);
|
|
77
77
|
});
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
_toaster.clear = function () {
|
|
80
80
|
containers.forEach(function (c) {
|
|
81
81
|
var _c$current2;
|
|
82
82
|
return (_c$current2 = c.current) === null || _c$current2 === void 0 ? void 0 : _c$current2.clear();
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
|
-
var _default = exports.default =
|
|
85
|
+
var _default = exports.default = _toaster;
|
|
@@ -32,7 +32,7 @@ var useToaster = function useToaster() {
|
|
|
32
32
|
*/
|
|
33
33
|
push: function push(message, options) {
|
|
34
34
|
var _toasters$current;
|
|
35
|
-
var customToaster = toasters === null || toasters === void 0
|
|
35
|
+
var customToaster = toasters === null || toasters === void 0 || (_toasters$current = toasters.current) === null || _toasters$current === void 0 ? void 0 : _toasters$current.get((options === null || options === void 0 ? void 0 : options.placement) || 'topCenter');
|
|
36
36
|
return customToaster ? customToaster.push(message, options) : _toaster.default.push(message, options);
|
|
37
37
|
},
|
|
38
38
|
/**
|
|
@@ -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 {
|
|
@@ -3609,6 +3615,77 @@ tbody.rs-anim-collapse.rs-anim-in {
|
|
|
3609
3615
|
transform: translateY(0);
|
|
3610
3616
|
}
|
|
3611
3617
|
}
|
|
3618
|
+
.rs-card {
|
|
3619
|
+
--rs-card-width: 100%;
|
|
3620
|
+
--rs-card-padding: 16px;
|
|
3621
|
+
display: -webkit-box;
|
|
3622
|
+
display: -ms-flexbox;
|
|
3623
|
+
display: flex;
|
|
3624
|
+
-webkit-box-orient: vertical;
|
|
3625
|
+
-webkit-box-direction: normal;
|
|
3626
|
+
-ms-flex-direction: column;
|
|
3627
|
+
flex-direction: column;
|
|
3628
|
+
border-radius: 6px;
|
|
3629
|
+
overflow: hidden;
|
|
3630
|
+
-webkit-box-sizing: border-box;
|
|
3631
|
+
box-sizing: border-box;
|
|
3632
|
+
position: relative;
|
|
3633
|
+
width: var(--rs-card-width);
|
|
3634
|
+
}
|
|
3635
|
+
.rs-card-bordered {
|
|
3636
|
+
border: 1px solid #e5e5ea;
|
|
3637
|
+
border: 1px solid var(--rs-border-primary);
|
|
3638
|
+
background-color: #fff;
|
|
3639
|
+
background-color: var(--rs-card-bg);
|
|
3640
|
+
}
|
|
3641
|
+
.rs-card-shaded {
|
|
3642
|
+
-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3643
|
+
-webkit-box-shadow: var(--rs-panel-shadow);
|
|
3644
|
+
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3645
|
+
box-shadow: var(--rs-panel-shadow);
|
|
3646
|
+
}
|
|
3647
|
+
.rs-card-shaded-hover:hover {
|
|
3648
|
+
-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3649
|
+
-webkit-box-shadow: var(--rs-panel-shadow);
|
|
3650
|
+
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
3651
|
+
box-shadow: var(--rs-panel-shadow);
|
|
3652
|
+
cursor: pointer;
|
|
3653
|
+
}
|
|
3654
|
+
.rs-card-sm {
|
|
3655
|
+
--rs-card-padding: 8px;
|
|
3656
|
+
}
|
|
3657
|
+
.rs-card-md {
|
|
3658
|
+
--rs-card-padding: 16px;
|
|
3659
|
+
}
|
|
3660
|
+
.rs-card-lg {
|
|
3661
|
+
--rs-card-padding: 24px;
|
|
3662
|
+
}
|
|
3663
|
+
.rs-card-row {
|
|
3664
|
+
-webkit-box-orient: horizontal;
|
|
3665
|
+
-webkit-box-direction: normal;
|
|
3666
|
+
-ms-flex-direction: row;
|
|
3667
|
+
flex-direction: row;
|
|
3668
|
+
}
|
|
3669
|
+
.rs-card-header {
|
|
3670
|
+
padding: var(--rs-card-padding) var(--rs-card-padding) 0 var(--rs-card-padding);
|
|
3671
|
+
}
|
|
3672
|
+
.rs-card-body {
|
|
3673
|
+
padding: var(--rs-card-padding);
|
|
3674
|
+
}
|
|
3675
|
+
.rs-card-footer {
|
|
3676
|
+
display: -webkit-box;
|
|
3677
|
+
display: -ms-flexbox;
|
|
3678
|
+
display: flex;
|
|
3679
|
+
gap: 8px;
|
|
3680
|
+
padding: 0 var(--rs-card-padding) var(--rs-card-padding) var(--rs-card-padding);
|
|
3681
|
+
}
|
|
3682
|
+
.rs-card-group {
|
|
3683
|
+
--rs-columns: 4;
|
|
3684
|
+
--rs-spacing: 20px;
|
|
3685
|
+
display: grid;
|
|
3686
|
+
grid-template-columns: repeat(var(--rs-columns), 1fr);
|
|
3687
|
+
grid-gap: var(--rs-spacing);
|
|
3688
|
+
}
|
|
3612
3689
|
.rs-carousel {
|
|
3613
3690
|
position: relative;
|
|
3614
3691
|
height: 400px;
|
|
@@ -8177,6 +8254,40 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
|
8177
8254
|
.rs-btn-icon-circle {
|
|
8178
8255
|
border-radius: 50% !important;
|
|
8179
8256
|
}
|
|
8257
|
+
.rs-image {
|
|
8258
|
+
--rs-object-fit: cover;
|
|
8259
|
+
--rs-object-position: initial;
|
|
8260
|
+
-o-object-fit: var(--rs-object-fit);
|
|
8261
|
+
object-fit: var(--rs-object-fit);
|
|
8262
|
+
-o-object-position: var(--rs-object-position);
|
|
8263
|
+
object-position: var(--rs-object-position);
|
|
8264
|
+
max-width: 100%;
|
|
8265
|
+
}
|
|
8266
|
+
.rs-image-rounded {
|
|
8267
|
+
border-radius: 6px;
|
|
8268
|
+
}
|
|
8269
|
+
.rs-image-circle {
|
|
8270
|
+
border-radius: 50%;
|
|
8271
|
+
}
|
|
8272
|
+
.rs-image-bordered {
|
|
8273
|
+
border: 1px solid #e5e5ea;
|
|
8274
|
+
border: 1px solid var(--rs-border-primary);
|
|
8275
|
+
}
|
|
8276
|
+
.rs-image-zoomed {
|
|
8277
|
+
-webkit-transition: -webkit-transform 0.3s ease-in-out;
|
|
8278
|
+
transition: -webkit-transform 0.3s ease-in-out;
|
|
8279
|
+
transition: transform 0.3s ease-in-out;
|
|
8280
|
+
transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
|
|
8281
|
+
cursor: pointer;
|
|
8282
|
+
}
|
|
8283
|
+
.rs-image-zoomed:hover {
|
|
8284
|
+
-webkit-transform: matrix(1.25, 0, 0, 1.25, 0, 0);
|
|
8285
|
+
transform: matrix(1.25, 0, 0, 1.25, 0, 0);
|
|
8286
|
+
}
|
|
8287
|
+
.rs-image-wrapper {
|
|
8288
|
+
position: relative;
|
|
8289
|
+
overflow: hidden;
|
|
8290
|
+
}
|
|
8180
8291
|
.rs-input {
|
|
8181
8292
|
display: block;
|
|
8182
8293
|
width: 100%;
|
|
@@ -9155,19 +9266,13 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9155
9266
|
}
|
|
9156
9267
|
.rs-list {
|
|
9157
9268
|
position: relative;
|
|
9158
|
-
-webkit-box-shadow: 0 1px 0 #e5e5ea, 0 -1px 0 #e5e5ea;
|
|
9159
|
-
-webkit-box-shadow: 0 1px 0 var(--rs-list-border), 0 -1px 0 var(--rs-list-border);
|
|
9160
|
-
box-shadow: 0 1px 0 #e5e5ea, 0 -1px 0 #e5e5ea;
|
|
9161
|
-
box-shadow: 0 1px 0 var(--rs-list-border), 0 -1px 0 var(--rs-list-border);
|
|
9162
9269
|
overflow-x: hidden;
|
|
9163
9270
|
overflow-y: auto;
|
|
9164
9271
|
}
|
|
9165
9272
|
.rs-list-bordered {
|
|
9166
9273
|
border-radius: 6px;
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
box-shadow: 0 0 0 1px #e5e5ea;
|
|
9170
|
-
box-shadow: 0 0 0 1px var(--rs-list-border);
|
|
9274
|
+
border: 1px solid #e5e5ea;
|
|
9275
|
+
border: 1px solid var(--rs-list-border);
|
|
9171
9276
|
}
|
|
9172
9277
|
.rs-list-hover .rs-list-item:hover {
|
|
9173
9278
|
background-color: #f2faff;
|
|
@@ -9201,14 +9306,14 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9201
9306
|
padding-top: 8px;
|
|
9202
9307
|
padding-bottom: 8px;
|
|
9203
9308
|
}
|
|
9309
|
+
.rs-list-item-xs {
|
|
9310
|
+
padding-top: 2px;
|
|
9311
|
+
padding-bottom: 2px;
|
|
9312
|
+
}
|
|
9204
9313
|
/* stylelint-disable-next-line */
|
|
9205
9314
|
.rs-list-item {
|
|
9206
9315
|
background-color: #fff;
|
|
9207
9316
|
background-color: var(--rs-list-bg);
|
|
9208
|
-
-webkit-box-shadow: 0 -1px 0 #e5e5ea, 0 1px 0 #e5e5ea;
|
|
9209
|
-
-webkit-box-shadow: 0 -1px 0 var(--rs-list-border), 0 1px 0 var(--rs-list-border);
|
|
9210
|
-
box-shadow: 0 -1px 0 #e5e5ea, 0 1px 0 #e5e5ea;
|
|
9211
|
-
box-shadow: 0 -1px 0 var(--rs-list-border), 0 1px 0 var(--rs-list-border);
|
|
9212
9317
|
}
|
|
9213
9318
|
.rs-list-item-helper {
|
|
9214
9319
|
position: absolute;
|
|
@@ -9246,6 +9351,10 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
9246
9351
|
border: 1px #3498ff dashed;
|
|
9247
9352
|
border: 1px var(--rs-list-placeholder-border) dashed;
|
|
9248
9353
|
}
|
|
9354
|
+
.rs-list-divider .rs-list-item + .rs-list-item {
|
|
9355
|
+
border-top: 1px solid #e5e5ea;
|
|
9356
|
+
border-top: 1px solid var(--rs-list-border);
|
|
9357
|
+
}
|
|
9249
9358
|
.rs-loader {
|
|
9250
9359
|
display: inline-block;
|
|
9251
9360
|
}
|
|
@@ -13607,6 +13716,135 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
13607
13716
|
bottom: unset;
|
|
13608
13717
|
top: -8px;
|
|
13609
13718
|
}
|
|
13719
|
+
.rs-stat {
|
|
13720
|
+
display: -webkit-box;
|
|
13721
|
+
display: -ms-flexbox;
|
|
13722
|
+
display: flex;
|
|
13723
|
+
gap: 10px;
|
|
13724
|
+
-webkit-box-align: center;
|
|
13725
|
+
-ms-flex-align: center;
|
|
13726
|
+
align-items: center;
|
|
13727
|
+
}
|
|
13728
|
+
.rs-stat-icon {
|
|
13729
|
+
width: 50px;
|
|
13730
|
+
height: 50px;
|
|
13731
|
+
display: -webkit-box;
|
|
13732
|
+
display: -ms-flexbox;
|
|
13733
|
+
display: flex;
|
|
13734
|
+
-webkit-box-align: center;
|
|
13735
|
+
-ms-flex-align: center;
|
|
13736
|
+
align-items: center;
|
|
13737
|
+
-webkit-box-pack: center;
|
|
13738
|
+
-ms-flex-pack: center;
|
|
13739
|
+
justify-content: center;
|
|
13740
|
+
border-radius: 6px;
|
|
13741
|
+
}
|
|
13742
|
+
.rs-stat-body {
|
|
13743
|
+
display: -webkit-box;
|
|
13744
|
+
display: -ms-flexbox;
|
|
13745
|
+
display: flex;
|
|
13746
|
+
-webkit-box-orient: vertical;
|
|
13747
|
+
-webkit-box-direction: normal;
|
|
13748
|
+
-ms-flex-direction: column;
|
|
13749
|
+
flex-direction: column;
|
|
13750
|
+
gap: 8px;
|
|
13751
|
+
width: 100%;
|
|
13752
|
+
margin: 0;
|
|
13753
|
+
}
|
|
13754
|
+
.rs-stat-bordered {
|
|
13755
|
+
border: 1px solid #e5e5ea;
|
|
13756
|
+
border: 1px solid var(--rs-border-primary);
|
|
13757
|
+
background-color: #fff;
|
|
13758
|
+
background-color: var(--rs-stat-body-bg);
|
|
13759
|
+
border-radius: 6px;
|
|
13760
|
+
padding: 16px;
|
|
13761
|
+
}
|
|
13762
|
+
.rs-stat-label {
|
|
13763
|
+
font-weight: 100;
|
|
13764
|
+
display: -webkit-inline-box;
|
|
13765
|
+
display: -ms-inline-flexbox;
|
|
13766
|
+
display: inline-flex;
|
|
13767
|
+
-webkit-box-align: center;
|
|
13768
|
+
-ms-flex-align: center;
|
|
13769
|
+
align-items: center;
|
|
13770
|
+
color: #717273;
|
|
13771
|
+
color: var(--rs-text-secondary);
|
|
13772
|
+
gap: 6px;
|
|
13773
|
+
}
|
|
13774
|
+
.rs-stat-label-uppercase {
|
|
13775
|
+
text-transform: uppercase;
|
|
13776
|
+
}
|
|
13777
|
+
.rs-stat-value {
|
|
13778
|
+
display: -webkit-box;
|
|
13779
|
+
display: -ms-flexbox;
|
|
13780
|
+
display: flex;
|
|
13781
|
+
gap: 4px;
|
|
13782
|
+
-webkit-box-align: baseline;
|
|
13783
|
+
-ms-flex-align: baseline;
|
|
13784
|
+
align-items: baseline;
|
|
13785
|
+
font-size: 24px;
|
|
13786
|
+
font-weight: 600;
|
|
13787
|
+
line-height: 1;
|
|
13788
|
+
margin: 0;
|
|
13789
|
+
}
|
|
13790
|
+
.rs-stat-value-unit {
|
|
13791
|
+
font-size: 12px;
|
|
13792
|
+
font-weight: 400;
|
|
13793
|
+
}
|
|
13794
|
+
.rs-stat-trend {
|
|
13795
|
+
display: -webkit-inline-box;
|
|
13796
|
+
display: -ms-inline-flexbox;
|
|
13797
|
+
display: inline-flex;
|
|
13798
|
+
-webkit-box-align: center;
|
|
13799
|
+
-ms-flex-align: center;
|
|
13800
|
+
align-items: center;
|
|
13801
|
+
gap: 2px;
|
|
13802
|
+
border-radius: 4px;
|
|
13803
|
+
font-weight: 600;
|
|
13804
|
+
font-size: 12px;
|
|
13805
|
+
line-height: 1;
|
|
13806
|
+
}
|
|
13807
|
+
.rs-stat-trend-up {
|
|
13808
|
+
color: #007d0c;
|
|
13809
|
+
color: var(--rs-green-900);
|
|
13810
|
+
}
|
|
13811
|
+
.rs-stat-trend-down {
|
|
13812
|
+
color: #8f1300;
|
|
13813
|
+
color: var(--rs-red-900);
|
|
13814
|
+
}
|
|
13815
|
+
.rs-stat-trend-default {
|
|
13816
|
+
padding: 2px 6px;
|
|
13817
|
+
}
|
|
13818
|
+
.rs-stat-trend-default.rs-stat-trend-up {
|
|
13819
|
+
background-color: #c8f0c7;
|
|
13820
|
+
background-color: var(--rs-green-100);
|
|
13821
|
+
}
|
|
13822
|
+
.rs-stat-trend-default.rs-stat-trend-down {
|
|
13823
|
+
background-color: #fccfcf;
|
|
13824
|
+
background-color: var(--rs-red-100);
|
|
13825
|
+
}
|
|
13826
|
+
.rs-stat-trend-subtle.rs-stat-trend-up {
|
|
13827
|
+
color: #37ab3c;
|
|
13828
|
+
color: var(--rs-green-600);
|
|
13829
|
+
}
|
|
13830
|
+
.rs-stat-trend-subtle.rs-stat-trend-down {
|
|
13831
|
+
color: #eb3626;
|
|
13832
|
+
color: var(--rs-red-600);
|
|
13833
|
+
}
|
|
13834
|
+
.rs-stat-help-text {
|
|
13835
|
+
color: #717273;
|
|
13836
|
+
color: var(--rs-text-secondary);
|
|
13837
|
+
}
|
|
13838
|
+
.rs-stat .rs-progress-line {
|
|
13839
|
+
padding: 0;
|
|
13840
|
+
}
|
|
13841
|
+
.rs-stat-group {
|
|
13842
|
+
--rs-columns: 4;
|
|
13843
|
+
--rs-spacing: 6px;
|
|
13844
|
+
display: grid;
|
|
13845
|
+
grid-template-columns: repeat(var(--rs-columns), 1fr);
|
|
13846
|
+
grid-gap: var(--rs-spacing);
|
|
13847
|
+
}
|
|
13610
13848
|
.rs-steps {
|
|
13611
13849
|
min-height: 30px;
|
|
13612
13850
|
}
|
|
@@ -16408,29 +16646,6 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
16408
16646
|
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
16409
16647
|
box-shadow: var(--rs-shadow-overlay);
|
|
16410
16648
|
}
|
|
16411
|
-
.rs-toast-container .rs-toast-fade-entered,
|
|
16412
|
-
.rs-toast-container .rs-toast-fade-exiting {
|
|
16413
|
-
-webkit-animation-fill-mode: forwards;
|
|
16414
|
-
animation-fill-mode: forwards;
|
|
16415
|
-
}
|
|
16416
|
-
.rs-toast-container .rs-toast-fade-entered {
|
|
16417
|
-
-webkit-animation-duration: 0.4s;
|
|
16418
|
-
animation-duration: 0.4s;
|
|
16419
|
-
-webkit-animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16420
|
-
animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16421
|
-
}
|
|
16422
|
-
.rs-toast-container .rs-toast-fade-exited,
|
|
16423
|
-
.rs-toast-container .rs-toast-fade-entering {
|
|
16424
|
-
opacity: 0;
|
|
16425
|
-
}
|
|
16426
|
-
.rs-toast-container .rs-toast-fade-exited {
|
|
16427
|
-
-webkit-transform-origin: 100% 0;
|
|
16428
|
-
transform-origin: 100% 0;
|
|
16429
|
-
-webkit-transform: scaleY(0.8);
|
|
16430
|
-
transform: scaleY(0.8);
|
|
16431
|
-
max-height: 0;
|
|
16432
|
-
overflow: hidden;
|
|
16433
|
-
}
|
|
16434
16649
|
.rs-toast-container-top-center,
|
|
16435
16650
|
.rs-toast-container-bottom-center {
|
|
16436
16651
|
-webkit-box-align: center;
|
|
@@ -16478,7 +16693,30 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
16478
16693
|
.rs-toast-container-bottom-end {
|
|
16479
16694
|
bottom: 24px;
|
|
16480
16695
|
}
|
|
16481
|
-
.rs-toast-
|
|
16696
|
+
.rs-toast-fade-entered,
|
|
16697
|
+
.rs-toast-fade-exiting {
|
|
16698
|
+
-webkit-animation-fill-mode: forwards;
|
|
16699
|
+
animation-fill-mode: forwards;
|
|
16700
|
+
}
|
|
16701
|
+
.rs-toast-fade-entered {
|
|
16702
|
+
-webkit-animation-duration: 0.4s;
|
|
16703
|
+
animation-duration: 0.4s;
|
|
16704
|
+
-webkit-animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16705
|
+
animation-timing-function: cubic-bezier(0.99, 0.44, 0.44, 1.35);
|
|
16706
|
+
}
|
|
16707
|
+
.rs-toast-fade-exited,
|
|
16708
|
+
.rs-toast-fade-entering {
|
|
16709
|
+
opacity: 0;
|
|
16710
|
+
}
|
|
16711
|
+
.rs-toast-fade-exited {
|
|
16712
|
+
-webkit-transform-origin: 100% 0;
|
|
16713
|
+
transform-origin: 100% 0;
|
|
16714
|
+
-webkit-transform: scaleY(0.8);
|
|
16715
|
+
transform: scaleY(0.8);
|
|
16716
|
+
max-height: 0;
|
|
16717
|
+
overflow: hidden;
|
|
16718
|
+
}
|
|
16719
|
+
.rs-toast-fade-exiting {
|
|
16482
16720
|
-webkit-animation-duration: 0.3s;
|
|
16483
16721
|
animation-duration: 0.3s;
|
|
16484
16722
|
-webkit-animation-timing-function: cubic-bezier(0.64, 0.65, 0.57, 1.13);
|