rsuite 5.76.2 → 6.0.0-canary-20250103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/styles/index.css +12 -45
- package/Animation/styles/animation.less +0 -0
- package/Animation/styles/index.css +49 -214
- package/Animation/styles/mixin.less +0 -0
- package/AutoComplete/styles/index.css +122 -490
- package/Avatar/styles/index.css +10 -17
- package/AvatarGroup/styles/index.css +12 -16
- package/AvatarGroup/styles/index.less +3 -0
- package/Badge/styles/index.css +90 -31
- package/Badge/styles/index.less +68 -9
- package/Breadcrumb/styles/index.css +9 -16
- package/Button/styles/index.css +20 -97
- package/Button/styles/mixin.less +1 -2
- package/ButtonGroup/styles/index.css +8 -9
- package/ButtonGroup/styles/index.less +0 -0
- package/ButtonToolbar/styles/index.css +7 -6
- package/Calendar/styles/index.css +36 -214
- package/Calendar/styles/index.less +0 -5
- package/Card/styles/index.css +12 -28
- package/Carousel/styles/index.css +21 -75
- package/Carousel/styles/index.less +0 -0
- package/CascadeTree/styles/index.css +10 -39
- package/Cascader/styles/index.css +125 -519
- package/CheckPicker/styles/index.css +129 -554
- package/CheckTree/styles/index.css +133 -579
- package/CheckTreePicker/styles/index.css +134 -585
- package/Checkbox/styles/index.css +13 -68
- package/CheckboxGroup/styles/index.css +9 -14
- package/Col/styles/index.css +7 -4
- package/Container/styles/index.css +10 -17
- package/Container/styles/index.less +0 -0
- package/Content/styles/index.css +8 -7
- package/Content/styles/index.less +0 -0
- package/DateInput/styles/index.css +7 -43
- package/DatePicker/styles/index.css +138 -621
- package/DatePicker/styles/mixin.less +0 -0
- package/DateRangeInput/styles/index.css +7 -43
- package/DateRangePicker/styles/index.css +141 -637
- package/Divider/styles/index.css +11 -21
- package/Drawer/styles/index.css +15 -46
- package/Drawer/styles/mixin.less +0 -0
- package/Dropdown/styles/index.css +37 -178
- package/FlexboxGrid/styles/index.css +41 -108
- package/FlexboxGrid/styles/index.less +0 -0
- package/Footer/styles/index.css +11 -20
- package/Footer/styles/index.less +0 -0
- package/Form/styles/index.css +7 -4
- package/Form/styles/index.less +0 -0
- package/Form/styles/mixin.less +9 -5
- package/FormControl/styles/index.css +8 -6
- package/FormControl/styles/index.less +0 -0
- package/FormControlLabel/styles/index.css +7 -5
- package/FormControlLabel/styles/index.less +0 -0
- package/FormErrorMessage/styles/animation.less +0 -0
- package/FormErrorMessage/styles/index.css +22 -89
- package/FormErrorMessage/styles/index.less +0 -0
- package/FormGroup/styles/index.css +7 -4
- package/FormHelpText/styles/index.css +8 -10
- package/FormHelpText/styles/index.less +0 -0
- package/Grid/styles/grid-framework.less +0 -0
- package/Grid/styles/index.css +7 -4
- package/Grid/styles/mixin.less +0 -0
- package/Header/styles/index.css +11 -20
- package/Header/styles/index.less +0 -0
- package/Heading/styles/index.css +7 -4
- package/IconButton/styles/index.css +22 -110
- package/IconButton/styles/index.less +0 -0
- package/Image/styles/index.css +1 -5
- package/InlineEdit/styles/index.css +9 -29
- package/Input/styles/index.css +7 -43
- package/Input/styles/index.less +0 -0
- package/InputGroup/styles/index.css +25 -193
- package/InputNumber/styles/index.css +29 -251
- package/InputNumber/styles/index.less +0 -0
- package/InputPicker/styles/index.css +123 -506
- package/List/styles/index.css +8 -14
- package/Loader/styles/index.css +19 -57
- package/Message/styles/index.css +33 -155
- package/Modal/styles/animation.less +0 -0
- package/Modal/styles/index.css +13 -32
- package/Modal/styles/mixin.less +0 -0
- package/MultiCascadeTree/styles/index.css +131 -583
- package/MultiCascader/styles/index.css +131 -583
- package/Nav/styles/index.css +46 -236
- package/Navbar/styles/index.css +41 -214
- package/Notification/styles/index.css +24 -109
- package/Notification/styles/mixin.less +0 -0
- package/Pagination/styles/index.css +139 -592
- package/Pagination/styles/mixin.less +0 -0
- package/Panel/styles/index.css +12 -43
- package/PanelGroup/styles/index.css +7 -6
- package/PanelGroup/styles/index.less +0 -0
- package/Placeholder/styles/index.css +15 -47
- package/Popover/styles/index.css +16 -124
- package/Popover/styles/mixins.less +0 -12
- package/Progress/styles/animation.less +0 -0
- package/Progress/styles/index.css +19 -89
- package/README.md +9 -5
- package/Radio/styles/index.css +12 -66
- package/Radio/styles/mixin.less +0 -0
- package/RadioGroup/styles/index.css +9 -25
- package/RadioTile/styles/index.css +7 -13
- package/RangeSlider/styles/index.css +20 -144
- package/Rate/styles/index.css +29 -40
- package/Rate/styles/index.less +6 -2
- package/Row/styles/index.css +7 -4
- package/Row/styles/index.less +0 -0
- package/SelectPicker/styles/index.css +123 -498
- package/SelectPicker/styles/index.less +1 -1
- package/Sidebar/styles/index.css +10 -20
- package/Sidebar/styles/index.less +0 -0
- package/Sidenav/styles/index.css +21 -108
- package/Sidenav/styles/mixin.less +0 -0
- package/Slider/styles/index.css +20 -144
- package/Stack/styles/index.css +7 -6
- package/Stack/styles/index.less +0 -0
- package/Stat/styles/index.css +37 -263
- package/Steps/styles/index.css +14 -46
- package/Table/styles/index.css +21 -70
- package/Table/styles/mixin.less +0 -0
- package/Tabs/styles/index.css +51 -259
- package/Tag/styles/index.css +36 -36
- package/Tag/styles/index.less +6 -3
- package/TagGroup/styles/index.css +7 -4
- package/TagInput/styles/index.css +133 -578
- package/TagPicker/styles/index.css +133 -578
- package/Text/styles/index.css +8 -23
- package/TimePicker/styles/index.css +138 -621
- package/TimeRangePicker/styles/index.css +141 -637
- package/Timeline/styles/index.css +9 -22
- package/Timeline/styles/index.less +0 -3
- package/Timeline/styles/mixin.less +0 -0
- package/Toggle/styles/index.css +13 -60
- package/Tooltip/styles/index.css +15 -113
- package/Tooltip/styles/index.less +0 -0
- package/Tooltip/styles/mixins.less +0 -12
- package/Tree/styles/index.css +2737 -59
- package/Tree/styles/index.less +1 -1
- package/TreePicker/styles/index.css +2737 -59
- package/Uploader/styles/index.css +41 -225
- package/Uploader/styles/mixin.less +0 -0
- package/cjs/Accordion/Accordion.js +4 -3
- package/cjs/Affix/Affix.d.ts +1 -1
- package/cjs/Affix/Affix.js +55 -66
- package/cjs/Affix/index.js +0 -0
- package/cjs/Animation/Bounce.js +11 -10
- package/cjs/Animation/Collapse.js +41 -49
- package/cjs/Animation/Fade.js +13 -12
- package/cjs/Animation/Slide.js +14 -14
- package/cjs/Animation/Transition.d.ts +1 -40
- package/cjs/Animation/Transition.js +97 -115
- package/cjs/Animation/index.js +1 -1
- package/cjs/Animation/utils.d.ts +0 -9
- package/cjs/Animation/utils.js +2 -13
- package/cjs/AutoComplete/AutoComplete.d.ts +2 -2
- package/cjs/AutoComplete/AutoComplete.js +87 -128
- package/cjs/AutoComplete/Combobox.js +11 -10
- package/cjs/AutoComplete/index.js +0 -0
- package/cjs/AutoComplete/utils.js +7 -6
- package/cjs/Avatar/Avatar.js +54 -76
- package/cjs/Avatar/AvatarIcon.js +12 -14
- package/cjs/Avatar/index.js +0 -0
- package/cjs/Avatar/useImage.js +19 -19
- package/cjs/AvatarGroup/AvatarGroup.js +31 -43
- package/cjs/AvatarGroup/index.js +0 -0
- package/cjs/Badge/Badge.d.ts +40 -5
- package/cjs/Badge/Badge.js +48 -49
- package/cjs/Badge/index.js +0 -0
- package/cjs/Breadcrumb/Breadcrumb.js +34 -49
- package/cjs/Breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/cjs/Breadcrumb/BreadcrumbItem.js +21 -34
- package/cjs/Breadcrumb/index.js +0 -0
- package/cjs/Button/Button.d.ts +5 -1
- package/cjs/Button/Button.js +60 -65
- package/cjs/Button/index.js +0 -0
- package/cjs/ButtonGroup/ButtonGroup.js +28 -44
- package/cjs/ButtonGroup/ButtonGroupContext.js +1 -1
- package/cjs/ButtonGroup/index.js +0 -0
- package/cjs/ButtonToolbar/ButtonToolbar.js +17 -23
- package/cjs/ButtonToolbar/index.js +0 -0
- package/cjs/Calendar/Calendar.js +46 -66
- package/cjs/Calendar/CalendarBody.js +26 -26
- package/cjs/Calendar/CalendarContainer.js +88 -95
- package/cjs/Calendar/CalendarHeader.js +50 -50
- package/cjs/Calendar/CalendarProvider.js +2 -2
- package/cjs/Calendar/Grid/Grid.js +22 -25
- package/cjs/Calendar/Grid/GridCell.js +39 -37
- package/cjs/Calendar/Grid/GridHeaderRow.js +27 -29
- package/cjs/Calendar/Grid/GridRow.js +48 -53
- package/cjs/Calendar/MonthDropdown/MonthDropdown.js +62 -63
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +36 -39
- package/cjs/Calendar/TimeDropdown/TimeColumn.js +7 -7
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +64 -64
- package/cjs/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +3 -2
- package/cjs/Calendar/TimeDropdown/utils/getClockTime.js +7 -5
- package/cjs/Calendar/TimeDropdown/utils/getTimeLimits.js +3 -3
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.js +6 -7
- package/cjs/Calendar/hooks/useCalendar.js +3 -2
- package/cjs/Calendar/hooks/useCalendarDate.d.ts +1 -1
- package/cjs/Calendar/hooks/useCalendarDate.js +11 -12
- package/cjs/Calendar/hooks/useCalendarState.js +18 -19
- package/cjs/Calendar/utils/isEveryDateInMonth.js +2 -2
- package/cjs/Card/Card.js +30 -39
- package/cjs/Card/CardBody.d.ts +1 -1
- package/cjs/Card/CardBody.js +1 -1
- package/cjs/Card/CardFooter.d.ts +1 -1
- package/cjs/Card/CardFooter.js +1 -1
- package/cjs/Card/CardHeader.d.ts +1 -1
- package/cjs/Card/CardHeader.js +1 -1
- package/cjs/CardGroup/CardGroup.js +24 -28
- package/cjs/Carousel/Carousel.js +75 -97
- package/cjs/Carousel/index.js +0 -0
- package/cjs/CascadeTree/CascadeTree.d.ts +0 -1
- package/cjs/CascadeTree/CascadeTree.js +93 -105
- package/cjs/CascadeTree/SearchView.js +49 -54
- package/cjs/CascadeTree/TreeView.js +84 -92
- package/cjs/CascadeTree/hooks/usePaths.js +18 -19
- package/cjs/CascadeTree/hooks/useSearch.js +22 -22
- package/cjs/CascadeTree/hooks/useSelect.js +26 -24
- package/cjs/CascadeTree/utils.js +10 -8
- package/cjs/Cascader/Cascader.d.ts +0 -1
- package/cjs/Cascader/Cascader.js +203 -239
- package/cjs/Cascader/index.js +0 -0
- package/cjs/Cascader/useActive.js +15 -15
- package/cjs/CheckPicker/CheckPicker.d.ts +0 -1
- package/cjs/CheckPicker/CheckPicker.js +146 -200
- package/cjs/CheckPicker/index.js +0 -0
- package/cjs/CheckTree/CheckTree.js +72 -77
- package/cjs/CheckTree/CheckTreeNode.js +53 -51
- package/cjs/CheckTree/CheckTreeView.js +178 -185
- package/cjs/CheckTree/hooks/useTreeCheckState.js +26 -25
- package/cjs/CheckTree/hooks/useTreeNodeProps.js +40 -37
- package/cjs/CheckTree/hooks/useTreeValue.js +6 -7
- package/cjs/CheckTree/utils.js +62 -65
- package/cjs/CheckTreePicker/CheckTreePicker.js +175 -190
- package/cjs/CheckTreePicker/hooks/useFocusState.js +13 -15
- package/cjs/CheckTreePicker/index.js +0 -0
- package/cjs/Checkbox/Checkbox.js +65 -102
- package/cjs/Checkbox/index.js +0 -0
- package/cjs/CheckboxGroup/CheckboxGroup.js +40 -62
- package/cjs/CheckboxGroup/CheckboxGroupContext.js +1 -1
- package/cjs/CheckboxGroup/index.js +0 -0
- package/cjs/Col/Col.js +32 -66
- package/cjs/Col/index.js +0 -0
- package/cjs/Container/Container.d.ts +1 -1
- package/cjs/Container/Container.js +22 -32
- package/cjs/Container/index.js +0 -0
- package/cjs/Content/Content.d.ts +1 -1
- package/cjs/Content/Content.js +1 -1
- package/cjs/Content/index.js +0 -0
- package/cjs/CustomProvider/CustomProvider.d.ts +19 -17
- package/cjs/CustomProvider/CustomProvider.js +48 -56
- package/cjs/CustomProvider/FormattedDate.js +8 -5
- package/cjs/CustomProvider/FormattedNumber.js +10 -9
- package/cjs/CustomProvider/index.js +1 -1
- package/cjs/CustomProvider/useCustom.js +44 -47
- package/cjs/DOMHelper/index.js +4 -4
- package/cjs/DOMHelper/isElement.js +1 -1
- package/cjs/DateInput/DateField.js +106 -105
- package/cjs/DateInput/DateInput.js +124 -139
- package/cjs/DateInput/hooks/useDateInputState.js +55 -49
- package/cjs/DateInput/hooks/useFieldCursor.js +16 -16
- package/cjs/DateInput/hooks/useIsFocused.js +9 -9
- package/cjs/DateInput/hooks/useKeyboardInputEvent.js +10 -7
- package/cjs/DateInput/hooks/useSelectedState.js +4 -6
- package/cjs/DateInput/utils.d.ts +1 -1
- package/cjs/DateInput/utils.js +76 -72
- package/cjs/DatePicker/DatePicker.js +190 -225
- package/cjs/DatePicker/PredefinedRanges.js +24 -29
- package/cjs/DatePicker/Toolbar.d.ts +1 -1
- package/cjs/DatePicker/Toolbar.js +28 -26
- package/cjs/DatePicker/hooks/useCustomizedInput.d.ts +1 -1
- package/cjs/DatePicker/hooks/useCustomizedInput.js +21 -26
- package/cjs/DatePicker/hooks/useFocus.js +45 -39
- package/cjs/DatePicker/hooks/useMonthView.js +8 -8
- package/cjs/DatePicker/utils.d.ts +0 -7
- package/cjs/DatePicker/utils.js +29 -36
- package/cjs/DateRangeInput/DateRangeInput.js +131 -152
- package/cjs/DateRangeInput/utils.js +50 -50
- package/cjs/DateRangePicker/Calendar.js +24 -29
- package/cjs/DateRangePicker/DateRangePicker.js +260 -323
- package/cjs/DateRangePicker/DateRangePickerProvider.js +5 -4
- package/cjs/DateRangePicker/Header.js +20 -23
- package/cjs/DateRangePicker/disabledDateUtils.js +17 -35
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +14 -14
- package/cjs/DateRangePicker/hooks/useDateDisabled.js +10 -6
- package/cjs/DateRangePicker/hooks/useDateRangePicker.js +3 -2
- package/cjs/DateRangePicker/index.js +2 -2
- package/cjs/DateRangePicker/utils.js +24 -20
- package/cjs/Divider/Divider.js +18 -26
- package/cjs/Divider/index.js +0 -0
- package/cjs/Drawer/Drawer.d.ts +2 -2
- package/cjs/Drawer/Drawer.js +19 -29
- package/cjs/Drawer/DrawerActions.d.ts +1 -1
- package/cjs/Drawer/DrawerActions.js +1 -1
- package/cjs/Drawer/DrawerBody.js +1 -1
- package/cjs/Drawer/DrawerFooter.js +1 -1
- package/cjs/Drawer/DrawerHeader.js +1 -1
- package/cjs/Drawer/DrawerTitle.js +1 -1
- package/cjs/Drawer/index.js +0 -0
- package/cjs/Dropdown/Dropdown.d.ts +3 -3
- package/cjs/Dropdown/Dropdown.js +74 -106
- package/cjs/Dropdown/DropdownContext.d.ts +1 -1
- package/cjs/Dropdown/DropdownContext.js +1 -1
- package/cjs/Dropdown/DropdownItem.js +54 -73
- package/cjs/Dropdown/DropdownMenu.d.ts +2 -2
- package/cjs/Dropdown/DropdownMenu.js +79 -97
- package/cjs/Dropdown/DropdownSeparator.js +11 -16
- package/cjs/Dropdown/DropdownState.js +22 -23
- package/cjs/Dropdown/DropdownToggle.d.ts +2 -2
- package/cjs/Dropdown/DropdownToggle.js +20 -34
- package/cjs/Dropdown/index.js +0 -0
- package/cjs/Dropdown/useRenderDropdownItem.js +2 -2
- package/cjs/FlexboxGrid/FlexboxGrid.js +17 -27
- package/cjs/FlexboxGrid/FlexboxGridItem.js +17 -26
- package/cjs/FlexboxGrid/index.js +0 -0
- package/cjs/Footer/Footer.d.ts +1 -1
- package/cjs/Footer/Footer.js +1 -1
- package/cjs/Footer/index.js +0 -0
- package/cjs/Form/Form.js +108 -133
- package/cjs/Form/FormContext.js +5 -5
- package/cjs/Form/hooks/useFormClassNames.js +15 -14
- package/cjs/Form/hooks/useFormRef.js +9 -8
- package/cjs/Form/hooks/useFormValidate.js +77 -77
- package/cjs/Form/hooks/useFormValue.js +22 -19
- package/cjs/Form/hooks/useSchemaModel.js +31 -33
- package/cjs/FormControl/FormControl.d.ts +3 -3
- package/cjs/FormControl/FormControl.js +83 -97
- package/cjs/FormControl/hooks/useField.js +23 -18
- package/cjs/FormControl/hooks/useRegisterModel.js +7 -6
- package/cjs/FormControl/index.js +0 -0
- package/cjs/FormControlLabel/FormControlLabel.js +21 -28
- package/cjs/FormControlLabel/index.js +0 -0
- package/cjs/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/cjs/FormErrorMessage/FormErrorMessage.js +24 -34
- package/cjs/FormErrorMessage/index.js +0 -0
- package/cjs/FormGroup/FormGroup.js +33 -40
- package/cjs/FormGroup/index.js +1 -1
- package/cjs/FormHelpText/FormHelpText.js +22 -29
- package/cjs/FormHelpText/index.js +0 -0
- package/cjs/Grid/Grid.js +18 -25
- package/cjs/Grid/index.js +0 -0
- package/cjs/Header/Header.d.ts +1 -1
- package/cjs/Header/Header.js +1 -1
- package/cjs/Header/index.js +0 -0
- package/cjs/Heading/Heading.js +17 -24
- package/cjs/HeadingGroup/HeadingGroup.d.ts +1 -1
- package/cjs/HeadingGroup/HeadingGroup.js +1 -1
- package/cjs/Highlight/Highlight.js +21 -28
- package/cjs/Highlight/utils/highlightText.js +10 -10
- package/cjs/IconButton/IconButton.js +19 -29
- package/cjs/IconButton/index.js +0 -0
- package/cjs/Image/Image.js +61 -68
- package/cjs/Image/ImageWrapper.d.ts +1 -1
- package/cjs/Image/ImageWrapper.js +1 -1
- package/cjs/Image/hooks/useImage.js +26 -29
- package/cjs/InlineEdit/EditableControls.js +6 -6
- package/cjs/InlineEdit/InlineEdit.d.ts +3 -3
- package/cjs/InlineEdit/InlineEdit.js +54 -72
- package/cjs/InlineEdit/renderChildren.js +19 -20
- package/cjs/InlineEdit/useEditState.js +23 -30
- package/cjs/InlineEdit/useFocusEvent.js +17 -15
- package/cjs/Input/Input.js +41 -60
- package/cjs/Input/index.js +0 -0
- package/cjs/InputGroup/InputGroup.js +34 -48
- package/cjs/InputGroup/InputGroupAddon.js +14 -21
- package/cjs/InputGroup/InputGroupButton.js +14 -13
- package/cjs/InputGroup/index.js +0 -0
- package/cjs/InputNumber/InputNumber.js +73 -107
- package/cjs/InputNumber/index.js +0 -0
- package/cjs/InputPicker/InputAutosize.js +49 -66
- package/cjs/InputPicker/InputPicker.js +246 -295
- package/cjs/InputPicker/InputPickerContext.js +2 -2
- package/cjs/InputPicker/InputSearch.js +21 -24
- package/cjs/InputPicker/TagList.js +15 -14
- package/cjs/InputPicker/TextBox.js +21 -21
- package/cjs/InputPicker/hooks/useData.js +14 -18
- package/cjs/InputPicker/hooks/useInput.js +15 -13
- package/cjs/InputPicker/hooks/useMaxWidth.js +2 -5
- package/cjs/InputPicker/utils.js +3 -2
- package/cjs/List/List.js +55 -79
- package/cjs/List/ListContext.js +4 -6
- package/cjs/List/ListItem.js +39 -46
- package/cjs/List/helper/AutoScroller.js +35 -35
- package/cjs/List/helper/useManager.js +14 -18
- package/cjs/List/helper/useSortHelper.js +88 -101
- package/cjs/List/helper/utils.js +11 -16
- package/cjs/List/index.js +0 -0
- package/cjs/Loader/Loader.js +27 -42
- package/cjs/Loader/index.js +0 -0
- package/cjs/MaskedInput/MaskedInput.js +8 -5
- package/cjs/MaskedInput/TextMask.js +29 -43
- package/cjs/MaskedInput/adjustCaretPosition.js +64 -82
- package/cjs/MaskedInput/conformToMask.js +52 -56
- package/cjs/MaskedInput/createTextMaskInputElement.js +62 -58
- package/cjs/MaskedInput/index.js +0 -0
- package/cjs/MaskedInput/types.js +0 -0
- package/cjs/MaskedInput/utilities.js +8 -8
- package/cjs/Message/Message.js +51 -71
- package/cjs/Message/index.js +0 -0
- package/cjs/Modal/Modal.js +91 -118
- package/cjs/Modal/ModalBody.js +28 -31
- package/cjs/Modal/ModalContext.js +1 -1
- package/cjs/Modal/ModalDialog.d.ts +0 -10
- package/cjs/Modal/ModalDialog.js +25 -40
- package/cjs/Modal/ModalFooter.d.ts +1 -1
- package/cjs/Modal/ModalFooter.js +1 -1
- package/cjs/Modal/ModalHeader.js +23 -32
- package/cjs/Modal/ModalTitle.js +16 -24
- package/cjs/Modal/utils.js +28 -30
- package/cjs/MultiCascadeTree/MultiCascadeTree.js +76 -80
- package/cjs/MultiCascadeTree/SearchView.js +53 -58
- package/cjs/MultiCascadeTree/TreeView.js +84 -99
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +68 -100
- package/cjs/MultiCascadeTree/hooks/useColumnData.js +10 -16
- package/cjs/MultiCascadeTree/hooks/useFlattenData.js +10 -10
- package/cjs/MultiCascadeTree/hooks/useSearch.js +17 -19
- package/cjs/MultiCascadeTree/hooks/useSelect.js +39 -37
- package/cjs/MultiCascadeTree/utils.js +44 -42
- package/cjs/MultiCascader/MultiCascader.js +190 -224
- package/cjs/MultiCascader/index.js +0 -0
- package/cjs/Nav/AdaptiveNavItem.js +12 -13
- package/cjs/Nav/Nav.js +52 -73
- package/cjs/Nav/NavContext.js +1 -1
- package/cjs/Nav/NavDropdown.d.ts +3 -3
- package/cjs/Nav/NavDropdown.js +63 -93
- package/cjs/Nav/NavDropdownItem.js +56 -72
- package/cjs/Nav/NavDropdownMenu.d.ts +1 -1
- package/cjs/Nav/NavDropdownMenu.js +67 -81
- package/cjs/Nav/NavDropdownToggle.d.ts +2 -2
- package/cjs/Nav/NavDropdownToggle.js +19 -30
- package/cjs/Nav/NavItem.js +34 -49
- package/cjs/Nav/NavMenu.js +18 -20
- package/cjs/Nav/index.js +0 -0
- package/cjs/Navbar/Navbar.js +17 -18
- package/cjs/Navbar/NavbarBody.d.ts +1 -1
- package/cjs/Navbar/NavbarBody.js +1 -1
- package/cjs/Navbar/NavbarBrand.d.ts +1 -1
- package/cjs/Navbar/NavbarBrand.js +1 -1
- package/cjs/Navbar/NavbarDropdown.d.ts +3 -3
- package/cjs/Navbar/NavbarDropdown.js +52 -79
- package/cjs/Navbar/NavbarDropdownItem.js +50 -72
- package/cjs/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownMenu.js +60 -76
- package/cjs/Navbar/NavbarDropdownToggle.d.ts +2 -2
- package/cjs/Navbar/NavbarDropdownToggle.js +18 -30
- package/cjs/Navbar/NavbarHeader.d.ts +1 -1
- package/cjs/Navbar/NavbarHeader.js +1 -1
- package/cjs/Navbar/NavbarItem.js +31 -45
- package/cjs/Navbar/index.js +1 -1
- package/cjs/Notification/Notification.d.ts +4 -3
- package/cjs/Notification/Notification.js +40 -56
- package/cjs/Notification/index.js +0 -0
- package/cjs/Pagination/LimitPicker.js +16 -18
- package/cjs/Pagination/Pagination.js +58 -81
- package/cjs/Pagination/PaginationButton.js +23 -24
- package/cjs/Pagination/PaginationGroup.js +44 -60
- package/cjs/Pagination/index.js +0 -0
- package/cjs/Panel/AccordionButton.js +17 -20
- package/cjs/Panel/Panel.js +56 -81
- package/cjs/Panel/PanelBody.js +35 -34
- package/cjs/Panel/PanelHeader.js +24 -25
- package/cjs/Panel/hooks/useExpanded.js +14 -13
- package/cjs/Panel/index.js +0 -0
- package/cjs/PanelGroup/PanelGroup.js +32 -47
- package/cjs/PanelGroup/index.js +1 -1
- package/cjs/Placeholder/Placeholder.js +1 -1
- package/cjs/Placeholder/PlaceholderGraph.js +24 -33
- package/cjs/Placeholder/PlaceholderGrid.js +49 -60
- package/cjs/Placeholder/PlaceholderParagraph.js +31 -48
- package/cjs/Placeholder/index.js +0 -0
- package/cjs/Popover/Popover.js +30 -44
- package/cjs/Popover/index.js +0 -0
- package/cjs/Progress/Progress.js +1 -1
- package/cjs/Progress/ProgressCircle.js +55 -76
- package/cjs/Progress/ProgressLine.js +39 -50
- package/cjs/Progress/index.js +0 -0
- package/cjs/Radio/Radio.js +56 -85
- package/cjs/Radio/index.js +0 -0
- package/cjs/RadioGroup/RadioGroup.js +40 -60
- package/cjs/RadioGroup/index.js +0 -0
- package/cjs/RadioTile/RadioTile.js +43 -62
- package/cjs/RadioTileGroup/RadioTileGroup.js +32 -47
- package/cjs/RangeSlider/RangeSlider.js +116 -141
- package/cjs/RangeSlider/index.js +0 -0
- package/cjs/Rate/Character.js +33 -46
- package/cjs/Rate/Rate.d.ts +4 -4
- package/cjs/Rate/Rate.js +72 -105
- package/cjs/Rate/index.js +0 -0
- package/cjs/Rate/utils.js +8 -8
- package/cjs/Row/Row.js +32 -40
- package/cjs/Row/index.js +0 -0
- package/cjs/SafeAnchor/SafeAnchor.js +14 -20
- package/cjs/SafeAnchor/index.js +0 -0
- package/cjs/Schema/Schema.js +1 -1
- package/cjs/Schema/index.js +0 -0
- package/cjs/SelectPicker/SelectPicker.d.ts +0 -1
- package/cjs/SelectPicker/SelectPicker.js +131 -169
- package/cjs/SelectPicker/index.js +0 -0
- package/cjs/Sidebar/Sidebar.js +28 -35
- package/cjs/Sidebar/index.js +0 -0
- package/cjs/Sidenav/ExpandedSidenavDropdown.d.ts +3 -3
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +70 -96
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +51 -74
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +48 -65
- package/cjs/Sidenav/Node.js +26 -37
- package/cjs/Sidenav/Sidenav.js +43 -65
- package/cjs/Sidenav/SidenavBody.d.ts +1 -1
- package/cjs/Sidenav/SidenavBody.js +1 -1
- package/cjs/Sidenav/SidenavDropdown.d.ts +3 -3
- package/cjs/Sidenav/SidenavDropdown.js +81 -111
- package/cjs/Sidenav/SidenavDropdownCollapse.js +22 -30
- package/cjs/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownItem.js +57 -75
- package/cjs/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownMenu.js +67 -78
- package/cjs/Sidenav/SidenavDropdownToggle.d.ts +2 -2
- package/cjs/Sidenav/SidenavDropdownToggle.js +17 -29
- package/cjs/Sidenav/SidenavHeader.d.ts +1 -1
- package/cjs/Sidenav/SidenavHeader.js +1 -1
- package/cjs/Sidenav/SidenavItem.js +64 -82
- package/cjs/Sidenav/SidenavToggle.js +20 -29
- package/cjs/Sidenav/index.js +0 -0
- package/cjs/Slider/Graduated.js +28 -37
- package/cjs/Slider/Handle.js +52 -68
- package/cjs/Slider/Input.js +10 -7
- package/cjs/Slider/Mark.js +16 -24
- package/cjs/Slider/ProgressBar.js +24 -34
- package/cjs/Slider/Slider.d.ts +0 -26
- package/cjs/Slider/Slider.js +77 -118
- package/cjs/Slider/index.js +0 -0
- package/cjs/Slider/useDrag.js +29 -29
- package/cjs/Slider/utils.js +3 -4
- package/cjs/Stack/HStack.js +8 -10
- package/cjs/Stack/Stack.js +37 -58
- package/cjs/Stack/StackItem.d.ts +0 -11
- package/cjs/Stack/StackItem.js +25 -36
- package/cjs/Stack/VStack.js +9 -12
- package/cjs/Stat/Stat.js +20 -25
- package/cjs/Stat/StatHelpText.d.ts +1 -1
- package/cjs/Stat/StatHelpText.js +1 -1
- package/cjs/Stat/StatLabel.js +16 -22
- package/cjs/Stat/StatTrend.js +20 -28
- package/cjs/Stat/StatValue.js +15 -21
- package/cjs/Stat/StatValueUnit.d.ts +1 -1
- package/cjs/Stat/StatValueUnit.js +1 -1
- package/cjs/StatGroup/StatGroup.js +24 -28
- package/cjs/Steps/StepItem.js +31 -43
- package/cjs/Steps/Steps.js +33 -45
- package/cjs/Steps/index.js +0 -0
- package/cjs/Table/Table.js +13 -13
- package/cjs/Tabs/Tab.js +1 -9
- package/cjs/Tabs/TabPanel.js +13 -14
- package/cjs/Tabs/Tabs.js +85 -101
- package/cjs/Tag/Tag.d.ts +2 -2
- package/cjs/Tag/Tag.js +39 -45
- package/cjs/Tag/index.js +0 -0
- package/cjs/TagGroup/TagGroup.d.ts +1 -1
- package/cjs/TagGroup/TagGroup.js +1 -1
- package/cjs/TagGroup/index.js +0 -0
- package/cjs/TagInput/index.js +24 -31
- package/cjs/TagPicker/index.js +19 -22
- package/cjs/Text/Text.js +32 -43
- package/cjs/TimePicker/TimePicker.js +11 -14
- package/cjs/TimeRangePicker/TimeRangePicker.js +9 -7
- package/cjs/Timeline/Timeline.js +33 -48
- package/cjs/Timeline/TimelineItem.js +18 -28
- package/cjs/Timeline/index.js +0 -0
- package/cjs/Toggle/Toggle.js +45 -70
- package/cjs/Toggle/index.js +0 -0
- package/cjs/Tooltip/Tooltip.d.ts +2 -2
- package/cjs/Tooltip/Tooltip.js +24 -33
- package/cjs/Tooltip/index.js +0 -0
- package/cjs/Tree/IndentLine.js +4 -3
- package/cjs/Tree/Tree.js +63 -66
- package/cjs/Tree/TreeNode.js +62 -61
- package/cjs/Tree/TreeNodeToggle.js +19 -16
- package/cjs/Tree/TreeView.js +175 -186
- package/cjs/Tree/hooks/useExpandTree.js +33 -38
- package/cjs/Tree/hooks/useFlattenTree.js +31 -34
- package/cjs/Tree/hooks/useFocusTree.d.ts +1 -1
- package/cjs/Tree/hooks/useFocusTree.js +77 -81
- package/cjs/Tree/hooks/useForceUpdate.js +2 -3
- package/cjs/Tree/hooks/useTreeDrag.js +86 -86
- package/cjs/Tree/hooks/useTreeNodeProps.js +52 -48
- package/cjs/Tree/hooks/useTreeNodeRefs.d.ts +1 -1
- package/cjs/Tree/hooks/useTreeNodeRefs.js +3 -3
- package/cjs/Tree/hooks/useTreeSearch.js +33 -39
- package/cjs/Tree/hooks/useTreeWithChildren.js +21 -35
- package/cjs/Tree/hooks/useVirtualizedTreeData.js +25 -22
- package/cjs/Tree/index.js +0 -0
- package/cjs/Tree/types.js +1 -1
- package/cjs/Tree/utils/flattenTree.js +16 -24
- package/cjs/Tree/utils/focusableTree.js +66 -59
- package/cjs/Tree/utils/formatNodeRefKey.js +1 -1
- package/cjs/Tree/utils/getExpandItemValues.js +7 -5
- package/cjs/Tree/utils/getNodeParentKeys.js +4 -4
- package/cjs/Tree/utils/getTreeActiveNode.js +2 -2
- package/cjs/Tree/utils/hasVisibleChildren.js +1 -3
- package/cjs/Tree/utils/indentTreeNode.js +7 -5
- package/cjs/Tree/utils/treeKeyboardInteractions.js +13 -9
- package/cjs/TreePicker/TreePicker.js +172 -182
- package/cjs/TreePicker/hooks/useFocusState.js +17 -19
- package/cjs/TreePicker/index.js +0 -0
- package/cjs/Uploader/UploadFileItem.js +70 -92
- package/cjs/Uploader/UploadTrigger.js +52 -90
- package/cjs/Uploader/Uploader.js +156 -216
- package/cjs/Uploader/index.js +0 -0
- package/cjs/Uploader/utils/ajaxUpload.js +27 -28
- package/cjs/Uploader/utils/previewFile.js +3 -3
- package/cjs/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/cjs/VisuallyHidden/VisuallyHidden.js +1 -1
- package/cjs/Whisper/Whisper.js +14 -32
- package/cjs/Whisper/index.js +0 -0
- package/cjs/index.js +1 -1
- package/cjs/internals/CloseButton/CloseButton.js +19 -18
- package/cjs/internals/Disclosure/Disclosure.js +42 -42
- package/cjs/internals/Disclosure/DisclosureButton.js +16 -13
- package/cjs/internals/Disclosure/DisclosureContent.js +9 -5
- package/cjs/internals/Disclosure/DisclosureContext.js +2 -2
- package/cjs/internals/Disclosure/useDisclosureContext.js +2 -2
- package/cjs/internals/Menu/Menu.d.ts +1 -5
- package/cjs/internals/Menu/Menu.js +80 -80
- package/cjs/internals/Menu/MenuContext.js +3 -3
- package/cjs/internals/Menu/MenuItem.d.ts +0 -7
- package/cjs/internals/Menu/MenuItem.js +22 -30
- package/cjs/internals/Menu/Menubar.js +25 -25
- package/cjs/internals/Menu/useMenu.js +75 -69
- package/cjs/internals/Overlay/Modal.d.ts +6 -20
- package/cjs/internals/Overlay/Modal.js +78 -117
- package/cjs/internals/Overlay/ModalManager.js +22 -28
- package/cjs/internals/Overlay/Overlay.d.ts +2 -23
- package/cjs/internals/Overlay/Overlay.js +57 -76
- package/cjs/internals/Overlay/OverlayContext.js +1 -1
- package/cjs/internals/Overlay/OverlayTrigger.d.ts +2 -2
- package/cjs/internals/Overlay/OverlayTrigger.js +139 -152
- package/cjs/internals/Overlay/Position.d.ts +2 -2
- package/cjs/internals/Overlay/Position.js +63 -86
- package/cjs/internals/Overlay/positionUtils.d.ts +2 -2
- package/cjs/internals/Overlay/positionUtils.js +114 -107
- package/cjs/internals/Picker/ListCheckItem.js +44 -49
- package/cjs/internals/Picker/ListItem.js +32 -35
- package/cjs/internals/Picker/ListItemGroup.js +16 -19
- package/cjs/internals/Picker/Listbox.d.ts +1 -1
- package/cjs/internals/Picker/Listbox.js +99 -119
- package/cjs/internals/Picker/PickerIndicator.js +21 -17
- package/cjs/internals/Picker/PickerLabel.js +7 -8
- package/cjs/internals/Picker/PickerPopup.js +26 -30
- package/cjs/internals/Picker/PickerToggle.d.ts +2 -2
- package/cjs/internals/Picker/PickerToggle.js +50 -57
- package/cjs/internals/Picker/PickerToggleTrigger.d.ts +2 -2
- package/cjs/internals/Picker/PickerToggleTrigger.js +21 -22
- package/cjs/internals/Picker/SelectedElement.js +19 -18
- package/cjs/internals/Picker/ToggleButton.js +1 -1
- package/cjs/internals/Picker/hooks/useCombobox.js +10 -9
- package/cjs/internals/Picker/hooks/useFocusItemValue.js +92 -98
- package/cjs/internals/Picker/hooks/usePickerClassName.d.ts +2 -2
- package/cjs/internals/Picker/hooks/usePickerClassName.js +30 -21
- package/cjs/internals/Picker/hooks/usePickerRef.js +23 -19
- package/cjs/internals/Picker/hooks/useSearch.js +19 -23
- package/cjs/internals/Picker/hooks/useToggleKeyDownEvent.js +21 -20
- package/cjs/internals/Picker/index.d.ts +0 -1
- package/cjs/internals/Picker/index.js +1 -8
- package/cjs/internals/Picker/utils.js +19 -18
- package/cjs/internals/Plaintext/Plaintext.js +18 -20
- package/cjs/internals/Ripple/Ripple.js +42 -51
- package/cjs/internals/ScrollView/ScrollView.js +31 -30
- package/cjs/internals/ScrollView/hooks/useScrollState.d.ts +1 -1
- package/cjs/internals/ScrollView/hooks/useScrollState.js +16 -18
- package/cjs/internals/SearchBox/SearchBox.js +19 -22
- package/cjs/internals/Tree/TreeProvider.d.ts +4 -1
- package/cjs/internals/Tree/TreeProvider.js +49 -37
- package/cjs/internals/Tree/TreeView.js +28 -25
- package/cjs/internals/Tree/utils/filterNodesOfTree.js +6 -6
- package/cjs/internals/Tree/utils/findNodeOfTree.js +5 -5
- package/cjs/internals/Tree/utils/getParentMap.js +10 -15
- package/cjs/internals/Tree/utils/getPathTowardsItem.js +2 -2
- package/cjs/internals/Windowing/AutoSizer.js +35 -35
- package/cjs/internals/Windowing/List.d.ts +1 -1
- package/cjs/internals/Windowing/List.js +43 -46
- package/cjs/internals/Windowing/index.js +1 -1
- package/cjs/internals/constants/index.js +12 -12
- package/cjs/internals/constants/statusIcons.js +2 -2
- package/cjs/internals/hooks/useClassNames.d.ts +1 -2
- package/cjs/internals/hooks/useClassNames.js +16 -26
- package/cjs/internals/hooks/useClickOutside.js +11 -10
- package/cjs/internals/hooks/useControlled.js +4 -6
- package/cjs/internals/hooks/useElementResize.js +4 -4
- package/cjs/internals/hooks/useEnsuredRef.js +1 -1
- package/cjs/internals/hooks/useEventCallback.js +3 -3
- package/cjs/internals/hooks/useEventListener.js +4 -4
- package/cjs/internals/hooks/useFocus.js +7 -7
- package/cjs/internals/hooks/useFocusVirtualListItem.js +5 -5
- package/cjs/internals/hooks/useInternalId.js +2 -2
- package/cjs/internals/hooks/useIsMounted.js +4 -6
- package/cjs/internals/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/cjs/internals/hooks/useMap.js +8 -12
- package/cjs/internals/hooks/useMount.js +4 -3
- package/cjs/internals/hooks/usePortal.js +21 -25
- package/cjs/internals/hooks/useRootClose.js +16 -15
- package/cjs/internals/hooks/useTimeout.js +8 -8
- package/cjs/internals/hooks/useToggleCaret.d.ts +2 -2
- package/cjs/internals/hooks/useToggleCaret.js +5 -4
- package/cjs/internals/hooks/useUniqueId.js +3 -15
- package/cjs/internals/hooks/useUpdateEffect.js +4 -4
- package/cjs/internals/hooks/useUpdatedRef.js +1 -1
- package/cjs/internals/hooks/useWillUnmount.js +2 -8
- package/cjs/internals/symbols.d.ts +1 -0
- package/cjs/internals/symbols.js +4 -3
- package/cjs/internals/types/colours.d.ts +10 -0
- package/cjs/internals/types/colours.js +15 -0
- package/cjs/internals/types/index.d.ts +29 -26
- package/cjs/internals/types/index.js +13 -1
- package/cjs/internals/types/placement.d.ts +5 -0
- package/cjs/internals/types/placement.js +4 -0
- package/cjs/internals/utils/BrowserDetection.d.ts +0 -10
- package/cjs/internals/utils/BrowserDetection.js +5 -61
- package/cjs/internals/utils/ReactChildren.js +23 -27
- package/cjs/internals/utils/colours.d.ts +21 -0
- package/cjs/internals/utils/colours.js +86 -0
- package/cjs/internals/utils/composeFunctions.js +1 -5
- package/cjs/internals/utils/createChainedFunction.js +1 -3
- package/cjs/internals/utils/createComponent.d.ts +1 -1
- package/cjs/internals/utils/createComponent.js +22 -28
- package/cjs/internals/utils/css.d.ts +16 -0
- package/cjs/internals/utils/css.js +61 -0
- package/cjs/internals/utils/date/copyTime.js +14 -13
- package/cjs/internals/utils/date/disableTime.js +13 -13
- package/cjs/internals/utils/date/extractTimeFormat.js +1 -1
- package/cjs/internals/utils/date/formatCheck.js +10 -15
- package/cjs/internals/utils/date/getWeekKeys.js +1 -1
- package/cjs/internals/utils/date/getWeekStartDates.js +14 -14
- package/cjs/internals/utils/date/index.d.ts +46 -46
- package/cjs/internals/utils/date/index.js +92 -93
- package/cjs/internals/utils/date/omitHideDisabledProps.js +2 -5
- package/cjs/internals/utils/date/reverseDateRangeOmitTime.js +1 -2
- package/cjs/internals/utils/date/types.js +2 -2
- package/cjs/internals/utils/date/useDateMode.js +8 -7
- package/cjs/internals/utils/deprecateComponent.js +3 -3
- package/cjs/internals/utils/dom.js +2 -6
- package/cjs/internals/utils/getDOMNode.js +4 -4
- package/cjs/internals/utils/getDataGroupBy.js +11 -13
- package/cjs/internals/utils/getSafeRegExpString.js +2 -1
- package/cjs/internals/utils/getStringLength.js +2 -2
- package/cjs/internals/utils/htmlPropsUtils.js +15 -15
- package/cjs/internals/utils/index.d.ts +2 -0
- package/cjs/internals/utils/index.js +14 -0
- package/cjs/internals/utils/mergeRefs.js +5 -7
- package/cjs/internals/utils/placementPolyfill.js +1 -3
- package/cjs/internals/utils/prefix.js +8 -12
- package/cjs/internals/utils/safeSetSelection.js +2 -4
- package/cjs/internals/utils/shallowEqual.js +5 -5
- package/cjs/internals/utils/stringifyReactNode.js +6 -6
- package/cjs/internals/utils/tplTransform.js +4 -10
- package/cjs/internals/utils/warnOnce.js +3 -3
- package/cjs/locales/ar_EG.js +12 -12
- package/cjs/locales/ca_ES.d.ts +4 -4
- package/cjs/locales/ca_ES.js +12 -12
- package/cjs/locales/cs_CZ.js +12 -12
- package/cjs/locales/da_DK.js +12 -12
- package/cjs/locales/de_DE.js +12 -12
- package/cjs/locales/en_GB.js +12 -12
- package/cjs/locales/en_US.js +12 -12
- package/cjs/locales/es_AR.js +12 -12
- package/cjs/locales/es_ES.js +12 -12
- package/cjs/locales/fa_IR.js +12 -12
- package/cjs/locales/fi_FI.js +12 -12
- package/cjs/locales/fr_FR.js +12 -12
- package/cjs/locales/hu_HU.js +12 -12
- package/cjs/locales/it_IT.js +12 -12
- package/cjs/locales/ja_JP.js +12 -12
- package/cjs/locales/kk_KZ.js +12 -12
- package/cjs/locales/ko_KR.js +12 -12
- package/cjs/locales/ne_NP.js +12 -12
- package/cjs/locales/nl_NL.js +12 -12
- package/cjs/locales/pt_BR.js +12 -12
- package/cjs/locales/ru_RU.js +12 -12
- package/cjs/locales/sv_SE.js +12 -12
- package/cjs/locales/tr_TR.js +12 -12
- package/cjs/locales/zh_CN.js +12 -12
- package/cjs/locales/zh_TW.js +12 -12
- package/cjs/toaster/ToastContainer.d.ts +2 -2
- package/cjs/toaster/ToastContainer.js +106 -130
- package/cjs/toaster/ToastContext.js +1 -1
- package/cjs/toaster/hooks/useDelayedClosure.js +20 -17
- package/cjs/toaster/render.d.ts +0 -1
- package/cjs/toaster/render.js +12 -30
- package/cjs/toaster/toaster.js +29 -56
- package/cjs/useBreakpointValue/useBreakpointValue.js +7 -6
- package/cjs/useMediaQuery/useMediaQuery.d.ts +1 -7
- package/cjs/useMediaQuery/useMediaQuery.js +18 -81
- package/cjs/useToaster/useToaster.js +42 -43
- package/dist/rsuite-no-reset-rtl.css +656 -3131
- 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 +656 -3131
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +669 -3154
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +669 -3154
- package/dist/rsuite.js +3345 -3618
- 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.LICENSE.txt +0 -2
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Accordion/Accordion.js +4 -3
- package/esm/Affix/Affix.d.ts +1 -1
- package/esm/Affix/Affix.js +54 -65
- package/esm/Affix/index.js +0 -0
- package/esm/Animation/Bounce.js +11 -10
- package/esm/Animation/Collapse.js +40 -48
- package/esm/Animation/Fade.js +13 -12
- package/esm/Animation/Slide.js +14 -14
- package/esm/Animation/Transition.d.ts +1 -40
- package/esm/Animation/Transition.js +97 -115
- package/esm/Animation/index.js +6 -6
- package/esm/Animation/utils.d.ts +0 -9
- package/esm/Animation/utils.js +2 -11
- package/esm/AutoComplete/AutoComplete.d.ts +2 -2
- package/esm/AutoComplete/AutoComplete.js +85 -126
- package/esm/AutoComplete/Combobox.js +11 -10
- package/esm/AutoComplete/index.js +0 -0
- package/esm/AutoComplete/utils.js +5 -5
- package/esm/Avatar/Avatar.js +50 -72
- package/esm/Avatar/AvatarIcon.js +12 -14
- package/esm/Avatar/index.js +0 -0
- package/esm/Avatar/useImage.js +19 -19
- package/esm/AvatarGroup/AvatarGroup.js +30 -42
- package/esm/AvatarGroup/index.js +0 -0
- package/esm/Badge/Badge.d.ts +40 -5
- package/esm/Badge/Badge.js +46 -49
- package/esm/Badge/index.js +0 -0
- package/esm/Breadcrumb/Breadcrumb.js +33 -48
- package/esm/Breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/esm/Breadcrumb/BreadcrumbItem.js +21 -34
- package/esm/Breadcrumb/index.js +0 -0
- package/esm/Button/Button.d.ts +5 -1
- package/esm/Button/Button.js +60 -65
- package/esm/Button/index.js +0 -0
- package/esm/ButtonGroup/ButtonGroup.js +27 -43
- package/esm/ButtonGroup/ButtonGroupContext.js +1 -1
- package/esm/ButtonGroup/index.js +0 -0
- package/esm/ButtonToolbar/ButtonToolbar.js +17 -23
- package/esm/ButtonToolbar/index.js +0 -0
- package/esm/Calendar/Calendar.js +46 -66
- package/esm/Calendar/CalendarBody.js +26 -26
- package/esm/Calendar/CalendarContainer.js +87 -94
- package/esm/Calendar/CalendarHeader.js +49 -49
- package/esm/Calendar/CalendarProvider.js +2 -2
- package/esm/Calendar/Grid/Grid.js +22 -25
- package/esm/Calendar/Grid/GridCell.js +39 -37
- package/esm/Calendar/Grid/GridHeaderRow.js +27 -29
- package/esm/Calendar/Grid/GridRow.js +47 -52
- package/esm/Calendar/MonthDropdown/MonthDropdown.js +61 -62
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +35 -38
- package/esm/Calendar/TimeDropdown/TimeColumn.js +7 -7
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +63 -63
- package/esm/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +1 -1
- package/esm/Calendar/TimeDropdown/utils/getClockTime.js +7 -5
- package/esm/Calendar/TimeDropdown/utils/getTimeLimits.js +3 -3
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.js +6 -7
- package/esm/Calendar/hooks/useCalendar.js +1 -1
- package/esm/Calendar/hooks/useCalendarDate.d.ts +1 -1
- package/esm/Calendar/hooks/useCalendarDate.js +9 -11
- package/esm/Calendar/hooks/useCalendarState.js +16 -18
- package/esm/Calendar/utils/isEveryDateInMonth.js +2 -2
- package/esm/Card/Card.js +30 -39
- package/esm/Card/CardBody.d.ts +1 -1
- package/esm/Card/CardBody.js +1 -1
- package/esm/Card/CardFooter.d.ts +1 -1
- package/esm/Card/CardFooter.js +1 -1
- package/esm/Card/CardHeader.d.ts +1 -1
- package/esm/Card/CardHeader.js +1 -1
- package/esm/CardGroup/CardGroup.js +24 -28
- package/esm/Carousel/Carousel.js +72 -94
- package/esm/Carousel/index.js +0 -0
- package/esm/CascadeTree/CascadeTree.d.ts +0 -1
- package/esm/CascadeTree/CascadeTree.js +92 -104
- package/esm/CascadeTree/SearchView.js +47 -52
- package/esm/CascadeTree/TreeView.js +83 -91
- package/esm/CascadeTree/hooks/usePaths.js +18 -19
- package/esm/CascadeTree/hooks/useSearch.js +22 -22
- package/esm/CascadeTree/hooks/useSelect.js +26 -24
- package/esm/CascadeTree/utils.js +10 -8
- package/esm/Cascader/Cascader.d.ts +0 -1
- package/esm/Cascader/Cascader.js +202 -239
- package/esm/Cascader/index.js +0 -0
- package/esm/Cascader/useActive.js +15 -15
- package/esm/CheckPicker/CheckPicker.d.ts +0 -1
- package/esm/CheckPicker/CheckPicker.js +146 -200
- package/esm/CheckPicker/index.js +0 -0
- package/esm/CheckTree/CheckTree.js +68 -73
- package/esm/CheckTree/CheckTreeNode.js +52 -50
- package/esm/CheckTree/CheckTreeView.js +174 -181
- package/esm/CheckTree/hooks/useTreeCheckState.js +26 -25
- package/esm/CheckTree/hooks/useTreeNodeProps.js +39 -36
- package/esm/CheckTree/hooks/useTreeValue.js +6 -7
- package/esm/CheckTree/utils.js +62 -65
- package/esm/CheckTreePicker/CheckTreePicker.js +170 -185
- package/esm/CheckTreePicker/hooks/useFocusState.js +13 -15
- package/esm/CheckTreePicker/index.js +0 -0
- package/esm/Checkbox/Checkbox.js +64 -101
- package/esm/Checkbox/index.js +0 -0
- package/esm/CheckboxGroup/CheckboxGroup.js +39 -61
- package/esm/CheckboxGroup/CheckboxGroupContext.js +1 -1
- package/esm/CheckboxGroup/index.js +0 -0
- package/esm/Col/Col.js +32 -66
- package/esm/Col/index.js +0 -0
- package/esm/Container/Container.d.ts +1 -1
- package/esm/Container/Container.js +21 -31
- package/esm/Container/index.js +0 -0
- package/esm/Content/Content.d.ts +1 -1
- package/esm/Content/Content.js +1 -1
- package/esm/Content/index.js +0 -0
- package/esm/CustomProvider/CustomProvider.d.ts +19 -17
- package/esm/CustomProvider/CustomProvider.js +47 -55
- package/esm/CustomProvider/FormattedDate.js +7 -4
- package/esm/CustomProvider/FormattedNumber.js +8 -7
- package/esm/CustomProvider/useCustom.js +44 -47
- package/esm/DOMHelper/index.js +4 -4
- package/esm/DOMHelper/isElement.js +1 -1
- package/esm/DateInput/DateField.js +101 -102
- package/esm/DateInput/DateInput.js +119 -134
- package/esm/DateInput/hooks/useDateInputState.js +55 -49
- package/esm/DateInput/hooks/useFieldCursor.js +16 -16
- package/esm/DateInput/hooks/useIsFocused.js +9 -9
- package/esm/DateInput/hooks/useKeyboardInputEvent.js +10 -7
- package/esm/DateInput/hooks/useSelectedState.js +4 -6
- package/esm/DateInput/utils.d.ts +1 -1
- package/esm/DateInput/utils.js +76 -71
- package/esm/DatePicker/DatePicker.js +188 -223
- package/esm/DatePicker/PredefinedRanges.js +23 -28
- package/esm/DatePicker/Toolbar.d.ts +1 -1
- package/esm/DatePicker/Toolbar.js +28 -26
- package/esm/DatePicker/hooks/useCustomizedInput.d.ts +1 -1
- package/esm/DatePicker/hooks/useCustomizedInput.js +21 -26
- package/esm/DatePicker/hooks/useFocus.js +45 -39
- package/esm/DatePicker/hooks/useMonthView.js +8 -8
- package/esm/DatePicker/utils.d.ts +0 -7
- package/esm/DatePicker/utils.js +26 -34
- package/esm/DateRangeInput/DateRangeInput.js +130 -151
- package/esm/DateRangeInput/utils.js +50 -49
- package/esm/DateRangePicker/Calendar.js +23 -28
- package/esm/DateRangePicker/DateRangePicker.js +259 -322
- package/esm/DateRangePicker/DateRangePickerProvider.js +3 -3
- package/esm/DateRangePicker/Header.js +20 -23
- package/esm/DateRangePicker/disabledDateUtils.js +16 -34
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +14 -14
- package/esm/DateRangePicker/hooks/useDateDisabled.js +10 -6
- package/esm/DateRangePicker/hooks/useDateRangePicker.js +1 -1
- package/esm/DateRangePicker/index.js +1 -1
- package/esm/DateRangePicker/utils.js +20 -19
- package/esm/Divider/Divider.js +18 -26
- package/esm/Divider/index.js +0 -0
- package/esm/Drawer/Drawer.d.ts +2 -2
- package/esm/Drawer/Drawer.js +19 -29
- package/esm/Drawer/DrawerActions.d.ts +1 -1
- package/esm/Drawer/DrawerActions.js +1 -1
- package/esm/Drawer/DrawerBody.js +1 -1
- package/esm/Drawer/DrawerFooter.js +1 -1
- package/esm/Drawer/DrawerHeader.js +1 -1
- package/esm/Drawer/DrawerTitle.js +1 -1
- package/esm/Drawer/index.js +0 -0
- package/esm/Dropdown/Dropdown.d.ts +3 -3
- package/esm/Dropdown/Dropdown.js +73 -105
- package/esm/Dropdown/DropdownContext.d.ts +1 -1
- package/esm/Dropdown/DropdownContext.js +1 -1
- package/esm/Dropdown/DropdownItem.js +53 -72
- package/esm/Dropdown/DropdownMenu.d.ts +2 -2
- package/esm/Dropdown/DropdownMenu.js +76 -94
- package/esm/Dropdown/DropdownSeparator.js +11 -16
- package/esm/Dropdown/DropdownState.js +22 -22
- package/esm/Dropdown/DropdownToggle.d.ts +2 -2
- package/esm/Dropdown/DropdownToggle.js +20 -34
- package/esm/Dropdown/index.js +0 -0
- package/esm/Dropdown/useRenderDropdownItem.js +1 -1
- package/esm/FlexboxGrid/FlexboxGrid.js +17 -27
- package/esm/FlexboxGrid/FlexboxGridItem.js +17 -26
- package/esm/FlexboxGrid/index.js +0 -0
- package/esm/Footer/Footer.d.ts +1 -1
- package/esm/Footer/Footer.js +1 -1
- package/esm/Footer/index.js +0 -0
- package/esm/Form/Form.js +105 -130
- package/esm/Form/FormContext.js +4 -4
- package/esm/Form/hooks/useFormClassNames.js +15 -14
- package/esm/Form/hooks/useFormRef.js +9 -7
- package/esm/Form/hooks/useFormValidate.js +77 -77
- package/esm/Form/hooks/useFormValue.js +22 -19
- package/esm/Form/hooks/useSchemaModel.js +31 -33
- package/esm/FormControl/FormControl.d.ts +3 -3
- package/esm/FormControl/FormControl.js +81 -95
- package/esm/FormControl/hooks/useField.js +23 -18
- package/esm/FormControl/hooks/useRegisterModel.js +7 -6
- package/esm/FormControl/index.js +0 -0
- package/esm/FormControlLabel/FormControlLabel.js +21 -28
- package/esm/FormControlLabel/index.js +0 -0
- package/esm/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/esm/FormErrorMessage/FormErrorMessage.js +24 -34
- package/esm/FormErrorMessage/index.js +0 -0
- package/esm/FormGroup/FormGroup.js +31 -39
- package/esm/FormHelpText/FormHelpText.js +22 -29
- package/esm/FormHelpText/index.js +0 -0
- package/esm/Grid/Grid.js +18 -25
- package/esm/Grid/index.js +0 -0
- package/esm/Header/Header.d.ts +1 -1
- package/esm/Header/Header.js +1 -1
- package/esm/Header/index.js +0 -0
- package/esm/Heading/Heading.js +17 -24
- package/esm/HeadingGroup/HeadingGroup.d.ts +1 -1
- package/esm/HeadingGroup/HeadingGroup.js +1 -1
- package/esm/Highlight/Highlight.js +21 -28
- package/esm/Highlight/utils/highlightText.js +10 -10
- package/esm/IconButton/IconButton.js +19 -29
- package/esm/IconButton/index.js +0 -0
- package/esm/Image/Image.js +59 -66
- package/esm/Image/ImageWrapper.d.ts +1 -1
- package/esm/Image/ImageWrapper.js +1 -1
- package/esm/Image/hooks/useImage.js +24 -28
- package/esm/InlineEdit/EditableControls.js +6 -6
- package/esm/InlineEdit/InlineEdit.d.ts +3 -3
- package/esm/InlineEdit/InlineEdit.js +52 -70
- package/esm/InlineEdit/renderChildren.js +19 -20
- package/esm/InlineEdit/useEditState.js +23 -29
- package/esm/InlineEdit/useFocusEvent.js +17 -15
- package/esm/Input/Input.js +40 -59
- package/esm/Input/index.js +0 -0
- package/esm/InputGroup/InputGroup.js +33 -47
- package/esm/InputGroup/InputGroupAddon.js +14 -21
- package/esm/InputGroup/InputGroupButton.js +14 -13
- package/esm/InputGroup/index.js +0 -0
- package/esm/InputNumber/InputNumber.js +72 -106
- package/esm/InputNumber/index.js +0 -0
- package/esm/InputPicker/InputAutosize.js +48 -65
- package/esm/InputPicker/InputPicker.js +241 -290
- package/esm/InputPicker/InputPickerContext.js +2 -2
- package/esm/InputPicker/InputSearch.js +21 -24
- package/esm/InputPicker/TagList.js +14 -13
- package/esm/InputPicker/TextBox.js +21 -21
- package/esm/InputPicker/hooks/useData.js +14 -18
- package/esm/InputPicker/hooks/useInput.js +15 -13
- package/esm/InputPicker/hooks/useMaxWidth.js +2 -5
- package/esm/InputPicker/utils.js +1 -1
- package/esm/List/List.js +53 -77
- package/esm/List/ListContext.js +4 -6
- package/esm/List/ListItem.js +38 -45
- package/esm/List/helper/AutoScroller.js +35 -35
- package/esm/List/helper/useManager.js +14 -18
- package/esm/List/helper/useSortHelper.js +87 -100
- package/esm/List/helper/utils.js +11 -16
- package/esm/List/index.js +0 -0
- package/esm/Loader/Loader.js +27 -42
- package/esm/Loader/index.js +0 -0
- package/esm/MaskedInput/MaskedInput.js +8 -5
- package/esm/MaskedInput/TextMask.js +28 -42
- package/esm/MaskedInput/adjustCaretPosition.js +64 -82
- package/esm/MaskedInput/conformToMask.js +52 -56
- package/esm/MaskedInput/createTextMaskInputElement.js +61 -57
- package/esm/MaskedInput/index.js +0 -0
- package/esm/MaskedInput/types.js +0 -0
- package/esm/MaskedInput/utilities.js +8 -8
- package/esm/Message/Message.js +49 -69
- package/esm/Message/index.js +0 -0
- package/esm/Modal/Modal.js +90 -117
- package/esm/Modal/ModalBody.js +27 -30
- package/esm/Modal/ModalContext.js +1 -1
- package/esm/Modal/ModalDialog.d.ts +0 -10
- package/esm/Modal/ModalDialog.js +24 -39
- package/esm/Modal/ModalFooter.d.ts +1 -1
- package/esm/Modal/ModalFooter.js +1 -1
- package/esm/Modal/ModalHeader.js +22 -31
- package/esm/Modal/ModalTitle.js +15 -23
- package/esm/Modal/utils.js +26 -29
- package/esm/MultiCascadeTree/MultiCascadeTree.js +76 -80
- package/esm/MultiCascadeTree/SearchView.js +51 -56
- package/esm/MultiCascadeTree/TreeView.js +84 -99
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +68 -100
- package/esm/MultiCascadeTree/hooks/useColumnData.js +10 -16
- package/esm/MultiCascadeTree/hooks/useFlattenData.js +10 -10
- package/esm/MultiCascadeTree/hooks/useSearch.js +17 -19
- package/esm/MultiCascadeTree/hooks/useSelect.js +37 -35
- package/esm/MultiCascadeTree/utils.js +40 -45
- package/esm/MultiCascader/MultiCascader.js +189 -224
- package/esm/MultiCascader/index.js +0 -0
- package/esm/Nav/AdaptiveNavItem.js +11 -12
- package/esm/Nav/Nav.js +51 -72
- package/esm/Nav/NavContext.js +1 -1
- package/esm/Nav/NavDropdown.d.ts +3 -3
- package/esm/Nav/NavDropdown.js +62 -92
- package/esm/Nav/NavDropdownItem.js +55 -71
- package/esm/Nav/NavDropdownMenu.d.ts +1 -1
- package/esm/Nav/NavDropdownMenu.js +64 -78
- package/esm/Nav/NavDropdownToggle.d.ts +2 -2
- package/esm/Nav/NavDropdownToggle.js +19 -30
- package/esm/Nav/NavItem.js +33 -48
- package/esm/Nav/NavMenu.js +17 -19
- package/esm/Nav/index.js +0 -0
- package/esm/Navbar/Navbar.js +17 -18
- package/esm/Navbar/NavbarBody.d.ts +1 -1
- package/esm/Navbar/NavbarBody.js +1 -1
- package/esm/Navbar/NavbarBrand.d.ts +1 -1
- package/esm/Navbar/NavbarBrand.js +1 -1
- package/esm/Navbar/NavbarDropdown.d.ts +3 -3
- package/esm/Navbar/NavbarDropdown.js +51 -78
- package/esm/Navbar/NavbarDropdownItem.js +49 -71
- package/esm/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownMenu.js +58 -74
- package/esm/Navbar/NavbarDropdownToggle.d.ts +2 -2
- package/esm/Navbar/NavbarDropdownToggle.js +18 -30
- package/esm/Navbar/NavbarHeader.d.ts +1 -1
- package/esm/Navbar/NavbarHeader.js +1 -1
- package/esm/Navbar/NavbarItem.js +30 -44
- package/esm/Notification/Notification.d.ts +4 -3
- package/esm/Notification/Notification.js +38 -54
- package/esm/Notification/index.js +0 -0
- package/esm/Pagination/LimitPicker.js +15 -17
- package/esm/Pagination/Pagination.js +58 -81
- package/esm/Pagination/PaginationButton.js +23 -24
- package/esm/Pagination/PaginationGroup.js +44 -60
- package/esm/Pagination/index.js +0 -0
- package/esm/Panel/AccordionButton.js +17 -20
- package/esm/Panel/Panel.js +54 -79
- package/esm/Panel/PanelBody.js +35 -34
- package/esm/Panel/PanelHeader.js +23 -24
- package/esm/Panel/hooks/useExpanded.js +14 -13
- package/esm/Panel/index.js +0 -0
- package/esm/PanelGroup/PanelGroup.js +31 -46
- package/esm/PanelGroup/index.js +0 -0
- package/esm/Placeholder/Placeholder.js +1 -1
- package/esm/Placeholder/PlaceholderGraph.js +24 -33
- package/esm/Placeholder/PlaceholderGrid.js +47 -60
- package/esm/Placeholder/PlaceholderParagraph.js +30 -47
- package/esm/Placeholder/index.js +0 -0
- package/esm/Popover/Popover.js +30 -44
- package/esm/Popover/index.js +0 -0
- package/esm/Progress/Progress.js +1 -1
- package/esm/Progress/ProgressCircle.js +54 -75
- package/esm/Progress/ProgressLine.js +39 -50
- package/esm/Progress/index.js +0 -0
- package/esm/Radio/Radio.js +55 -84
- package/esm/Radio/index.js +0 -0
- package/esm/RadioGroup/RadioGroup.js +39 -59
- package/esm/RadioGroup/index.js +0 -0
- package/esm/RadioTile/RadioTile.js +42 -61
- package/esm/RadioTileGroup/RadioTileGroup.js +31 -46
- package/esm/RangeSlider/RangeSlider.js +115 -140
- package/esm/RangeSlider/index.js +0 -0
- package/esm/Rate/Character.js +34 -47
- package/esm/Rate/Rate.d.ts +4 -4
- package/esm/Rate/Rate.js +75 -108
- package/esm/Rate/index.js +0 -0
- package/esm/Rate/utils.js +6 -8
- package/esm/Row/Row.js +32 -40
- package/esm/Row/index.js +0 -0
- package/esm/SafeAnchor/SafeAnchor.js +13 -19
- package/esm/SafeAnchor/index.js +0 -0
- package/esm/Schema/Schema.js +8 -8
- package/esm/Schema/index.js +0 -0
- package/esm/SelectPicker/SelectPicker.d.ts +0 -1
- package/esm/SelectPicker/SelectPicker.js +131 -169
- package/esm/SelectPicker/index.js +0 -0
- package/esm/Sidebar/Sidebar.js +27 -34
- package/esm/Sidebar/index.js +0 -0
- package/esm/Sidenav/ExpandedSidenavDropdown.d.ts +3 -3
- package/esm/Sidenav/ExpandedSidenavDropdown.js +69 -95
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +50 -73
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +47 -64
- package/esm/Sidenav/Node.js +25 -36
- package/esm/Sidenav/Sidenav.js +42 -64
- package/esm/Sidenav/SidenavBody.d.ts +1 -1
- package/esm/Sidenav/SidenavBody.js +1 -1
- package/esm/Sidenav/SidenavDropdown.d.ts +3 -3
- package/esm/Sidenav/SidenavDropdown.js +80 -110
- package/esm/Sidenav/SidenavDropdownCollapse.js +22 -30
- package/esm/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownItem.js +56 -74
- package/esm/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownMenu.js +63 -74
- package/esm/Sidenav/SidenavDropdownToggle.d.ts +2 -2
- package/esm/Sidenav/SidenavDropdownToggle.js +17 -29
- package/esm/Sidenav/SidenavHeader.d.ts +1 -1
- package/esm/Sidenav/SidenavHeader.js +1 -1
- package/esm/Sidenav/SidenavItem.js +63 -81
- package/esm/Sidenav/SidenavToggle.js +19 -28
- package/esm/Sidenav/index.js +0 -0
- package/esm/Slider/Graduated.js +28 -37
- package/esm/Slider/Handle.js +49 -65
- package/esm/Slider/Input.js +10 -7
- package/esm/Slider/Mark.js +16 -24
- package/esm/Slider/ProgressBar.js +24 -34
- package/esm/Slider/Slider.d.ts +0 -26
- package/esm/Slider/Slider.js +75 -116
- package/esm/Slider/index.js +0 -0
- package/esm/Slider/useDrag.js +29 -29
- package/esm/Slider/utils.js +2 -4
- package/esm/Stack/HStack.js +8 -10
- package/esm/Stack/Stack.js +38 -59
- package/esm/Stack/StackItem.d.ts +0 -11
- package/esm/Stack/StackItem.js +25 -36
- package/esm/Stack/VStack.js +9 -12
- package/esm/Stat/Stat.js +20 -25
- package/esm/Stat/StatHelpText.d.ts +1 -1
- package/esm/Stat/StatHelpText.js +1 -1
- package/esm/Stat/StatLabel.js +16 -22
- package/esm/Stat/StatTrend.js +20 -28
- package/esm/Stat/StatValue.js +15 -21
- package/esm/Stat/StatValueUnit.d.ts +1 -1
- package/esm/Stat/StatValueUnit.js +1 -1
- package/esm/StatGroup/StatGroup.js +24 -28
- package/esm/Steps/StepItem.js +31 -43
- package/esm/Steps/Steps.js +33 -45
- package/esm/Steps/index.js +0 -0
- package/esm/Table/Table.js +13 -13
- package/esm/Tabs/Tab.js +1 -9
- package/esm/Tabs/TabPanel.js +13 -14
- package/esm/Tabs/Tabs.js +85 -101
- package/esm/Tag/Tag.d.ts +2 -2
- package/esm/Tag/Tag.js +37 -45
- package/esm/Tag/index.js +0 -0
- package/esm/TagGroup/TagGroup.d.ts +1 -1
- package/esm/TagGroup/TagGroup.js +1 -1
- package/esm/TagGroup/index.js +0 -0
- package/esm/TagInput/index.js +23 -30
- package/esm/TagPicker/index.js +18 -21
- package/esm/Text/Text.js +32 -43
- package/esm/TimePicker/TimePicker.js +10 -13
- package/esm/TimeRangePicker/TimeRangePicker.js +9 -7
- package/esm/Timeline/Timeline.js +33 -48
- package/esm/Timeline/TimelineItem.js +18 -28
- package/esm/Timeline/index.js +0 -0
- package/esm/Toggle/Toggle.js +44 -69
- package/esm/Toggle/index.js +0 -0
- package/esm/Tooltip/Tooltip.d.ts +2 -2
- package/esm/Tooltip/Tooltip.js +24 -33
- package/esm/Tooltip/index.js +0 -0
- package/esm/Tree/IndentLine.js +4 -3
- package/esm/Tree/Tree.js +60 -63
- package/esm/Tree/TreeNode.js +61 -60
- package/esm/Tree/TreeNodeToggle.js +19 -16
- package/esm/Tree/TreeView.js +171 -182
- package/esm/Tree/hooks/useExpandTree.js +33 -38
- package/esm/Tree/hooks/useFlattenTree.js +31 -34
- package/esm/Tree/hooks/useFocusTree.d.ts +1 -1
- package/esm/Tree/hooks/useFocusTree.js +76 -80
- package/esm/Tree/hooks/useForceUpdate.js +2 -3
- package/esm/Tree/hooks/useTreeDrag.js +86 -86
- package/esm/Tree/hooks/useTreeNodeProps.js +51 -47
- package/esm/Tree/hooks/useTreeNodeRefs.d.ts +1 -1
- package/esm/Tree/hooks/useTreeNodeRefs.js +3 -3
- package/esm/Tree/hooks/useTreeSearch.js +33 -39
- package/esm/Tree/hooks/useTreeWithChildren.js +21 -35
- package/esm/Tree/hooks/useVirtualizedTreeData.js +25 -22
- package/esm/Tree/index.js +0 -0
- package/esm/Tree/types.js +1 -1
- package/esm/Tree/utils/flattenTree.js +16 -24
- package/esm/Tree/utils/focusableTree.js +59 -58
- package/esm/Tree/utils/formatNodeRefKey.js +1 -1
- package/esm/Tree/utils/getExpandItemValues.js +7 -5
- package/esm/Tree/utils/getNodeParentKeys.js +4 -4
- package/esm/Tree/utils/getTreeActiveNode.js +2 -2
- package/esm/Tree/utils/hasVisibleChildren.js +1 -3
- package/esm/Tree/utils/indentTreeNode.js +7 -5
- package/esm/Tree/utils/treeKeyboardInteractions.js +13 -9
- package/esm/TreePicker/TreePicker.js +168 -178
- package/esm/TreePicker/hooks/useFocusState.js +17 -19
- package/esm/TreePicker/index.js +0 -0
- package/esm/Uploader/UploadFileItem.js +68 -91
- package/esm/Uploader/UploadTrigger.js +53 -91
- package/esm/Uploader/Uploader.js +154 -214
- package/esm/Uploader/index.js +0 -0
- package/esm/Uploader/utils/ajaxUpload.js +27 -28
- package/esm/Uploader/utils/previewFile.js +3 -3
- package/esm/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/esm/VisuallyHidden/VisuallyHidden.js +1 -1
- package/esm/Whisper/Whisper.js +14 -32
- package/esm/Whisper/index.js +0 -0
- package/esm/internals/CloseButton/CloseButton.js +19 -18
- package/esm/internals/Disclosure/Disclosure.js +41 -41
- package/esm/internals/Disclosure/DisclosureButton.js +15 -12
- package/esm/internals/Disclosure/DisclosureContent.js +9 -5
- package/esm/internals/Disclosure/DisclosureContext.js +2 -2
- package/esm/internals/Disclosure/useDisclosureContext.js +2 -2
- package/esm/internals/Menu/Menu.d.ts +1 -5
- package/esm/internals/Menu/Menu.js +79 -79
- package/esm/internals/Menu/MenuContext.js +3 -3
- package/esm/internals/Menu/MenuItem.d.ts +0 -7
- package/esm/internals/Menu/MenuItem.js +21 -29
- package/esm/internals/Menu/Menubar.js +24 -24
- package/esm/internals/Menu/useMenu.js +75 -68
- package/esm/internals/Overlay/Modal.d.ts +6 -20
- package/esm/internals/Overlay/Modal.js +76 -115
- package/esm/internals/Overlay/ModalManager.js +22 -28
- package/esm/internals/Overlay/Overlay.d.ts +2 -23
- package/esm/internals/Overlay/Overlay.js +55 -74
- package/esm/internals/Overlay/OverlayContext.js +1 -1
- package/esm/internals/Overlay/OverlayTrigger.d.ts +2 -2
- package/esm/internals/Overlay/OverlayTrigger.js +138 -151
- package/esm/internals/Overlay/Position.d.ts +2 -2
- package/esm/internals/Overlay/Position.js +62 -85
- package/esm/internals/Overlay/positionUtils.d.ts +2 -2
- package/esm/internals/Overlay/positionUtils.js +113 -107
- package/esm/internals/Picker/ListCheckItem.js +43 -48
- package/esm/internals/Picker/ListItem.js +31 -34
- package/esm/internals/Picker/ListItemGroup.js +16 -19
- package/esm/internals/Picker/Listbox.d.ts +1 -1
- package/esm/internals/Picker/Listbox.js +97 -117
- package/esm/internals/Picker/PickerIndicator.js +21 -17
- package/esm/internals/Picker/PickerLabel.js +7 -8
- package/esm/internals/Picker/PickerPopup.js +25 -29
- package/esm/internals/Picker/PickerToggle.d.ts +2 -2
- package/esm/internals/Picker/PickerToggle.js +48 -55
- package/esm/internals/Picker/PickerToggleTrigger.d.ts +2 -2
- package/esm/internals/Picker/PickerToggleTrigger.js +21 -22
- package/esm/internals/Picker/SelectedElement.js +19 -18
- package/esm/internals/Picker/ToggleButton.js +1 -1
- package/esm/internals/Picker/hooks/useCombobox.js +10 -9
- package/esm/internals/Picker/hooks/useFocusItemValue.js +92 -98
- package/esm/internals/Picker/hooks/usePickerClassName.d.ts +2 -2
- package/esm/internals/Picker/hooks/usePickerClassName.js +30 -21
- package/esm/internals/Picker/hooks/usePickerRef.js +23 -19
- package/esm/internals/Picker/hooks/useSearch.js +19 -23
- package/esm/internals/Picker/hooks/useToggleKeyDownEvent.js +21 -20
- package/esm/internals/Picker/index.d.ts +0 -1
- package/esm/internals/Picker/index.js +1 -2
- package/esm/internals/Picker/utils.js +19 -18
- package/esm/internals/Plaintext/Plaintext.js +18 -20
- package/esm/internals/Ripple/Ripple.js +41 -50
- package/esm/internals/ScrollView/ScrollView.js +30 -29
- package/esm/internals/ScrollView/hooks/useScrollState.d.ts +1 -1
- package/esm/internals/ScrollView/hooks/useScrollState.js +16 -18
- package/esm/internals/SearchBox/SearchBox.js +19 -22
- package/esm/internals/Tree/TreeProvider.d.ts +4 -1
- package/esm/internals/Tree/TreeProvider.js +43 -36
- package/esm/internals/Tree/TreeView.js +27 -24
- package/esm/internals/Tree/utils/filterNodesOfTree.js +6 -6
- package/esm/internals/Tree/utils/findNodeOfTree.js +5 -5
- package/esm/internals/Tree/utils/getParentMap.js +10 -15
- package/esm/internals/Tree/utils/getPathTowardsItem.js +2 -2
- package/esm/internals/Windowing/AutoSizer.js +34 -34
- package/esm/internals/Windowing/List.d.ts +1 -1
- package/esm/internals/Windowing/List.js +41 -45
- package/esm/internals/constants/index.js +12 -12
- package/esm/internals/constants/statusIcons.js +2 -2
- package/esm/internals/hooks/useClassNames.d.ts +1 -2
- package/esm/internals/hooks/useClassNames.js +16 -26
- package/esm/internals/hooks/useClickOutside.js +11 -10
- package/esm/internals/hooks/useControlled.js +4 -6
- package/esm/internals/hooks/useElementResize.js +4 -4
- package/esm/internals/hooks/useEnsuredRef.js +1 -1
- package/esm/internals/hooks/useEventCallback.js +3 -3
- package/esm/internals/hooks/useEventListener.js +4 -4
- package/esm/internals/hooks/useFocus.js +7 -7
- package/esm/internals/hooks/useFocusVirtualListItem.js +5 -5
- package/esm/internals/hooks/useInternalId.js +2 -2
- package/esm/internals/hooks/useIsMounted.js +4 -6
- package/esm/internals/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/esm/internals/hooks/useMap.js +8 -12
- package/esm/internals/hooks/useMount.js +3 -3
- package/esm/internals/hooks/usePortal.js +20 -24
- package/esm/internals/hooks/useRootClose.js +16 -15
- package/esm/internals/hooks/useTimeout.js +8 -8
- package/esm/internals/hooks/useToggleCaret.d.ts +2 -2
- package/esm/internals/hooks/useToggleCaret.js +5 -4
- package/esm/internals/hooks/useUniqueId.js +3 -11
- package/esm/internals/hooks/useUpdateEffect.js +3 -4
- package/esm/internals/hooks/useUpdatedRef.js +1 -1
- package/esm/internals/hooks/useWillUnmount.js +2 -8
- package/esm/internals/symbols.d.ts +1 -0
- package/esm/internals/symbols.js +3 -2
- package/esm/internals/types/colours.d.ts +10 -0
- package/esm/internals/types/colours.js +11 -0
- package/esm/internals/types/index.d.ts +29 -26
- package/esm/internals/types/index.js +6 -0
- package/esm/internals/types/placement.d.ts +5 -0
- package/esm/internals/types/placement.js +2 -0
- package/esm/internals/utils/BrowserDetection.d.ts +0 -10
- package/esm/internals/utils/BrowserDetection.js +2 -60
- package/esm/internals/utils/ReactChildren.js +23 -27
- package/esm/internals/utils/colours.d.ts +21 -0
- package/esm/internals/utils/colours.js +77 -0
- package/esm/internals/utils/composeFunctions.js +1 -5
- package/esm/internals/utils/createChainedFunction.js +1 -3
- package/esm/internals/utils/createComponent.d.ts +1 -1
- package/esm/internals/utils/createComponent.js +22 -28
- package/esm/internals/utils/css.d.ts +16 -0
- package/esm/internals/utils/css.js +55 -0
- package/esm/internals/utils/date/copyTime.js +9 -7
- package/esm/internals/utils/date/disableTime.js +10 -10
- package/esm/internals/utils/date/extractTimeFormat.js +1 -1
- package/esm/internals/utils/date/formatCheck.js +5 -15
- package/esm/internals/utils/date/getWeekKeys.js +1 -1
- package/esm/internals/utils/date/getWeekStartDates.js +13 -12
- package/esm/internals/utils/date/index.d.ts +46 -46
- package/esm/internals/utils/date/index.js +46 -46
- package/esm/internals/utils/date/omitHideDisabledProps.js +1 -5
- package/esm/internals/utils/date/reverseDateRangeOmitTime.js +1 -2
- package/esm/internals/utils/date/types.js +2 -2
- package/esm/internals/utils/date/useDateMode.js +6 -6
- package/esm/internals/utils/deprecateComponent.js +3 -3
- package/esm/internals/utils/dom.js +2 -6
- package/esm/internals/utils/getDOMNode.js +3 -4
- package/esm/internals/utils/getDataGroupBy.js +11 -13
- package/esm/internals/utils/getSafeRegExpString.js +2 -1
- package/esm/internals/utils/getStringLength.js +2 -2
- package/esm/internals/utils/htmlPropsUtils.js +13 -14
- package/esm/internals/utils/index.d.ts +2 -0
- package/esm/internals/utils/index.js +2 -0
- package/esm/internals/utils/mergeRefs.js +5 -7
- package/esm/internals/utils/placementPolyfill.js +1 -3
- package/esm/internals/utils/prefix.js +6 -12
- package/esm/internals/utils/safeSetSelection.js +2 -4
- package/esm/internals/utils/shallowEqual.js +5 -5
- package/esm/internals/utils/stringifyReactNode.js +6 -6
- package/esm/internals/utils/tplTransform.js +4 -10
- package/esm/internals/utils/warnOnce.js +3 -3
- package/esm/locales/ar_EG.js +11 -10
- package/esm/locales/ca_ES.d.ts +4 -4
- package/esm/locales/ca_ES.js +11 -10
- package/esm/locales/cs_CZ.js +11 -10
- package/esm/locales/da_DK.js +11 -10
- package/esm/locales/de_DE.js +11 -10
- package/esm/locales/en_GB.js +11 -10
- package/esm/locales/en_US.js +11 -10
- package/esm/locales/es_AR.js +11 -10
- package/esm/locales/es_ES.js +11 -10
- package/esm/locales/fa_IR.js +11 -10
- package/esm/locales/fi_FI.js +11 -10
- package/esm/locales/fr_FR.js +11 -10
- package/esm/locales/hu_HU.js +11 -10
- package/esm/locales/it_IT.js +11 -10
- package/esm/locales/ja_JP.js +11 -10
- package/esm/locales/kk_KZ.js +11 -10
- package/esm/locales/ko_KR.js +11 -10
- package/esm/locales/ne_NP.js +11 -10
- package/esm/locales/nl_NL.js +11 -10
- package/esm/locales/pt_BR.js +11 -10
- package/esm/locales/ru_RU.js +11 -10
- package/esm/locales/sv_SE.js +11 -10
- package/esm/locales/tr_TR.js +11 -10
- package/esm/locales/zh_CN.js +11 -10
- package/esm/locales/zh_TW.js +11 -10
- package/esm/toaster/ToastContainer.d.ts +2 -2
- package/esm/toaster/ToastContainer.js +104 -129
- package/esm/toaster/ToastContext.js +1 -1
- package/esm/toaster/hooks/useDelayedClosure.js +20 -17
- package/esm/toaster/render.d.ts +0 -1
- package/esm/toaster/render.js +12 -26
- package/esm/toaster/toaster.js +28 -54
- package/esm/useBreakpointValue/useBreakpointValue.js +7 -6
- package/esm/useMediaQuery/useMediaQuery.d.ts +1 -7
- package/esm/useMediaQuery/useMediaQuery.js +18 -78
- package/esm/useToaster/useToaster.js +42 -43
- package/internals/Picker/styles/index.less +7 -11
- package/internals/Picker/styles/mixin.less +6 -3
- package/package.json +16 -13
- package/styles/color-modes/dark.less +1 -0
- package/styles/color-modes/high-contrast.less +1 -0
- package/styles/color-modes/light.less +1 -0
- package/styles/common.less +1 -0
- package/styles/mixins/hacks.less +0 -73
- package/styles/mixins/menu.less +0 -0
- package/styles/mixins/utilities.less +25 -3
- package/styles/scaffolding.less +1 -1
- package/styles/typography.less +11 -6
- package/styles/variables.less +28 -73
- package/toaster/styles/animation.less +0 -0
- package/toaster/styles/index.css +35 -128
- package/useToaster/styles/index.css +35 -128
- package/cjs/internals/Picker/propTypes.d.ts +0 -71
- package/cjs/internals/Picker/propTypes.js +0 -46
- package/cjs/internals/propTypes/deprecatePropType.d.ts +0 -16
- package/cjs/internals/propTypes/deprecatePropType.js +0 -49
- package/cjs/internals/propTypes/index.d.ts +0 -5
- package/cjs/internals/propTypes/index.js +0 -28
- package/cjs/internals/propTypes/oneOf.d.ts +0 -3
- package/cjs/internals/propTypes/oneOf.js +0 -18
- package/cjs/internals/utils/render.d.ts +0 -7
- package/cjs/internals/utils/render.js +0 -48
- package/esm/internals/Picker/propTypes.d.ts +0 -71
- package/esm/internals/Picker/propTypes.js +0 -41
- package/esm/internals/propTypes/deprecatePropType.d.ts +0 -16
- package/esm/internals/propTypes/deprecatePropType.js +0 -45
- package/esm/internals/propTypes/index.d.ts +0 -5
- package/esm/internals/propTypes/index.js +0 -17
- package/esm/internals/propTypes/oneOf.d.ts +0 -3
- package/esm/internals/propTypes/oneOf.js +0 -13
- package/esm/internals/utils/render.d.ts +0 -7
- package/esm/internals/utils/render.js +0 -40
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Map mixin
|
|
3
|
+
* @param {string} @size-name - The size name
|
|
4
|
+
* @param {string} @suffix - The suffix
|
|
5
|
+
*/
|
|
1
6
|
:root,
|
|
2
7
|
.rs-theme-light {
|
|
3
8
|
--rs-gray-0: #fff;
|
|
@@ -346,25 +351,19 @@
|
|
|
346
351
|
}
|
|
347
352
|
/* stylelint-disable */
|
|
348
353
|
*[class*='rs-'] {
|
|
349
|
-
|
|
350
|
-
box-sizing: border-box;
|
|
354
|
+
box-sizing: border-box;
|
|
351
355
|
}
|
|
352
356
|
*[class*='rs-']::before,
|
|
353
357
|
*[class*='rs-']::after {
|
|
354
|
-
|
|
355
|
-
box-sizing: border-box;
|
|
358
|
+
box-sizing: border-box;
|
|
356
359
|
}
|
|
357
360
|
.rs-input {
|
|
358
361
|
display: block;
|
|
359
362
|
width: 100%;
|
|
360
|
-
color: #343434;
|
|
361
363
|
color: var(--rs-text-primary);
|
|
362
|
-
background-color: #fff;
|
|
363
364
|
background-color: var(--rs-input-bg);
|
|
364
365
|
background-image: none;
|
|
365
|
-
border: 1px solid #e5e5ea;
|
|
366
366
|
border: 1px solid var(--rs-border-primary);
|
|
367
|
-
-webkit-transition: border-color ease-in-out 0.15s;
|
|
368
367
|
transition: border-color ease-in-out 0.15s;
|
|
369
368
|
border-radius: 6px;
|
|
370
369
|
/* stylelint-disable */
|
|
@@ -373,50 +372,30 @@
|
|
|
373
372
|
line-height: 1.42857143;
|
|
374
373
|
/* stylelint-enable */
|
|
375
374
|
}
|
|
376
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
377
|
-
.rs-input {
|
|
378
|
-
height: 36px;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
375
|
textarea.rs-input {
|
|
382
376
|
height: auto;
|
|
383
377
|
}
|
|
384
378
|
.rs-theme-high-contrast .rs-input {
|
|
385
|
-
-webkit-transition: none;
|
|
386
379
|
transition: none;
|
|
387
380
|
}
|
|
388
|
-
.rs-input::-webkit-input-placeholder {
|
|
389
|
-
color: #717273;
|
|
390
|
-
color: var(--rs-text-secondary);
|
|
391
|
-
}
|
|
392
381
|
.rs-input::-moz-placeholder {
|
|
393
|
-
color: #717273;
|
|
394
|
-
color: var(--rs-text-secondary);
|
|
395
|
-
}
|
|
396
|
-
.rs-input::-ms-input-placeholder {
|
|
397
|
-
color: #717273;
|
|
398
382
|
color: var(--rs-text-secondary);
|
|
399
383
|
}
|
|
400
384
|
.rs-input::placeholder {
|
|
401
|
-
color: #717273;
|
|
402
385
|
color: var(--rs-text-secondary);
|
|
403
386
|
}
|
|
404
387
|
.rs-input:focus,
|
|
405
388
|
.rs-input:hover:not(:disabled) {
|
|
406
|
-
border-color: #3498ff;
|
|
407
389
|
border-color: var(--rs-input-focus-border);
|
|
408
390
|
}
|
|
409
391
|
.rs-input:focus {
|
|
410
|
-
outline: 3px solid rgb(from #3498ff r g b / 25%);
|
|
411
392
|
outline: 3px solid var(--rs-color-focus-ring);
|
|
412
393
|
}
|
|
413
394
|
.rs-theme-high-contrast .rs-input:focus {
|
|
414
395
|
outline-offset: 2px;
|
|
415
396
|
}
|
|
416
397
|
.rs-input:disabled {
|
|
417
|
-
background-color: #f7f7fa;
|
|
418
398
|
background-color: var(--rs-input-disabled-bg);
|
|
419
|
-
color: #717273;
|
|
420
399
|
color: var(--rs-text-disabled);
|
|
421
400
|
}
|
|
422
401
|
textarea.rs-input {
|
|
@@ -430,11 +409,6 @@ textarea.rs-input {
|
|
|
430
409
|
line-height: 1.66666667;
|
|
431
410
|
/* stylelint-enable */
|
|
432
411
|
}
|
|
433
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
434
|
-
.rs-input-xs {
|
|
435
|
-
height: 24px;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
412
|
textarea.rs-input-xs {
|
|
439
413
|
height: auto;
|
|
440
414
|
}
|
|
@@ -445,11 +419,6 @@ textarea.rs-input-xs {
|
|
|
445
419
|
line-height: 1.375;
|
|
446
420
|
/* stylelint-enable */
|
|
447
421
|
}
|
|
448
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
449
|
-
.rs-input-lg {
|
|
450
|
-
height: 42px;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
422
|
textarea.rs-input-lg {
|
|
454
423
|
height: auto;
|
|
455
424
|
}
|
|
@@ -460,42 +429,26 @@ textarea.rs-input-lg {
|
|
|
460
429
|
line-height: 1.42857143;
|
|
461
430
|
/* stylelint-enable */
|
|
462
431
|
}
|
|
463
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
464
|
-
.rs-input-sm {
|
|
465
|
-
height: 30px;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
432
|
textarea.rs-input-sm {
|
|
469
433
|
height: auto;
|
|
470
434
|
}
|
|
471
435
|
.rs-btn {
|
|
472
|
-
display: -webkit-inline-box;
|
|
473
|
-
display: -ms-inline-flexbox;
|
|
474
436
|
display: inline-flex;
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
align-items: center;
|
|
478
|
-
-webkit-box-pack: center;
|
|
479
|
-
-ms-flex-pack: center;
|
|
480
|
-
justify-content: center;
|
|
437
|
+
align-items: center;
|
|
438
|
+
justify-content: center;
|
|
481
439
|
margin-bottom: 0;
|
|
482
440
|
font-weight: normal;
|
|
483
441
|
text-align: center;
|
|
484
442
|
vertical-align: middle;
|
|
485
443
|
cursor: pointer;
|
|
486
444
|
white-space: nowrap;
|
|
487
|
-
-webkit-transition: color 0.15s ease-out, background-color 0.15s ease-out;
|
|
488
445
|
transition: color 0.15s ease-out, background-color 0.15s ease-out;
|
|
489
|
-
border: none;
|
|
490
446
|
border: var(--rs-btn-default-border, none);
|
|
491
447
|
-webkit-user-select: none;
|
|
492
448
|
-moz-user-select: none;
|
|
493
|
-
-ms-user-select: none;
|
|
494
449
|
user-select: none;
|
|
495
450
|
text-decoration: none;
|
|
496
|
-
color: #343434;
|
|
497
451
|
color: var(--rs-btn-default-text);
|
|
498
|
-
background-color: #f7f7fa;
|
|
499
452
|
background-color: var(--rs-btn-default-bg);
|
|
500
453
|
border-radius: 6px;
|
|
501
454
|
font-size: 14px;
|
|
@@ -505,7 +458,6 @@ textarea.rs-input-sm {
|
|
|
505
458
|
position: relative;
|
|
506
459
|
}
|
|
507
460
|
.rs-theme-high-contrast .rs-btn {
|
|
508
|
-
-webkit-transition: none;
|
|
509
461
|
transition: none;
|
|
510
462
|
}
|
|
511
463
|
.rs-btn-ghost.rs-btn {
|
|
@@ -531,7 +483,6 @@ textarea.rs-input-sm {
|
|
|
531
483
|
}
|
|
532
484
|
.rs-btn-icon-with-text.rs-btn.rs-btn-icon-placement-left > .rs-icon {
|
|
533
485
|
left: 0;
|
|
534
|
-
border-right: none;
|
|
535
486
|
border-right: var(--rs-btn-default-border, none);
|
|
536
487
|
}
|
|
537
488
|
.rs-btn-icon-with-text.rs-btn.rs-btn-icon-placement-right {
|
|
@@ -539,43 +490,35 @@ textarea.rs-input-sm {
|
|
|
539
490
|
}
|
|
540
491
|
.rs-btn-icon-with-text.rs-btn.rs-btn-icon-placement-right > .rs-icon {
|
|
541
492
|
right: 0;
|
|
542
|
-
border-left: none;
|
|
543
493
|
border-left: var(--rs-btn-default-border, none);
|
|
544
494
|
}
|
|
545
495
|
.rs-btn:focus-visible {
|
|
546
|
-
outline: 3px solid rgb(from #3498ff r g b / 25%);
|
|
547
496
|
outline: 3px solid var(--rs-color-focus-ring);
|
|
548
497
|
}
|
|
549
498
|
.rs-theme-high-contrast .rs-btn:focus-visible {
|
|
550
499
|
outline-offset: 2px;
|
|
551
500
|
}
|
|
552
|
-
.rs-btn:hover
|
|
553
|
-
.rs-btn:focus {
|
|
501
|
+
.rs-btn:hover {
|
|
554
502
|
color: var(--rs-btn-default-hover-text);
|
|
555
|
-
background-color: #e5e5ea;
|
|
556
503
|
background-color: var(--rs-btn-default-hover-bg);
|
|
557
504
|
text-decoration: none;
|
|
558
505
|
}
|
|
559
506
|
.rs-btn:active,
|
|
560
507
|
.rs-btn.rs-btn-active {
|
|
561
|
-
color: #121212;
|
|
562
508
|
color: var(--rs-btn-default-active-text);
|
|
563
|
-
background-color: #d9d9d9;
|
|
564
509
|
background-color: var(--rs-btn-default-active-bg);
|
|
565
510
|
}
|
|
566
511
|
.rs-btn:disabled,
|
|
567
512
|
.rs-btn.rs-btn-disabled {
|
|
568
513
|
cursor: not-allowed;
|
|
569
|
-
color: #717273;
|
|
570
514
|
color: var(--rs-btn-default-disabled-text);
|
|
571
|
-
background-color: #f7f7fa;
|
|
572
515
|
background-color: var(--rs-btn-default-disabled-bg);
|
|
573
516
|
}
|
|
574
517
|
.rs-theme-high-contrast .rs-btn:disabled,
|
|
575
518
|
.rs-theme-high-contrast .rs-btn.rs-btn-disabled {
|
|
576
519
|
border-color: var(--rs-btn-default-disabled-boreder-color);
|
|
577
520
|
}
|
|
578
|
-
@media not all and (min-resolution: 0.001dpcm) {
|
|
521
|
+
@media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {
|
|
579
522
|
.rs-btn {
|
|
580
523
|
/* stylelint-disable */
|
|
581
524
|
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
@@ -591,31 +534,22 @@ textarea.rs-input-sm {
|
|
|
591
534
|
margin-left: 5px;
|
|
592
535
|
}
|
|
593
536
|
.rs-btn-primary {
|
|
594
|
-
color: #fff;
|
|
595
537
|
color: var(--rs-btn-primary-text);
|
|
596
|
-
background-color: #3498ff;
|
|
597
538
|
background-color: var(--rs-btn-primary-bg);
|
|
598
539
|
border: none;
|
|
599
540
|
}
|
|
600
|
-
.rs-btn-primary:hover
|
|
601
|
-
.rs-btn-primary:focus {
|
|
602
|
-
color: #fff;
|
|
541
|
+
.rs-btn-primary:hover {
|
|
603
542
|
color: var(--rs-btn-primary-text);
|
|
604
|
-
background-color: #2589f5;
|
|
605
543
|
background-color: var(--rs-btn-primary-hover-bg);
|
|
606
544
|
}
|
|
607
545
|
.rs-btn-primary:active,
|
|
608
546
|
.rs-btn-primary.rs-btn-active {
|
|
609
|
-
color: #fff;
|
|
610
547
|
color: var(--rs-btn-primary-text);
|
|
611
|
-
background-color: #1675e0;
|
|
612
548
|
background-color: var(--rs-btn-primary-active-bg);
|
|
613
549
|
}
|
|
614
550
|
.rs-btn-primary:disabled,
|
|
615
551
|
.rs-btn-primary.rs-btn-disabled {
|
|
616
|
-
color: #fff;
|
|
617
552
|
color: var(--rs-btn-primary-text);
|
|
618
|
-
background-color: #3498ff;
|
|
619
553
|
background-color: var(--rs-btn-primary-bg);
|
|
620
554
|
opacity: 0.3;
|
|
621
555
|
}
|
|
@@ -624,28 +558,21 @@ textarea.rs-input-sm {
|
|
|
624
558
|
border-color: var(--rs-btn-default-disabled-boreder-color);
|
|
625
559
|
}
|
|
626
560
|
.rs-btn-subtle {
|
|
627
|
-
color: #343434;
|
|
628
561
|
color: var(--rs-btn-subtle-text);
|
|
629
562
|
background-color: transparent;
|
|
630
563
|
border: none;
|
|
631
564
|
}
|
|
632
|
-
.rs-btn-subtle:hover
|
|
633
|
-
.rs-btn-subtle:focus {
|
|
634
|
-
color: #343434;
|
|
565
|
+
.rs-btn-subtle:hover {
|
|
635
566
|
color: var(--rs-btn-subtle-hover-text);
|
|
636
|
-
background-color: #e5e5ea;
|
|
637
567
|
background-color: var(--rs-btn-subtle-hover-bg);
|
|
638
568
|
}
|
|
639
569
|
.rs-btn-subtle:active,
|
|
640
570
|
.rs-btn-subtle.rs-btn-active {
|
|
641
|
-
color: #121212;
|
|
642
571
|
color: var(--rs-btn-subtle-active-text);
|
|
643
|
-
background-color: #e5e5ea;
|
|
644
572
|
background-color: var(--rs-btn-subtle-active-bg);
|
|
645
573
|
}
|
|
646
574
|
.rs-btn-subtle:disabled,
|
|
647
575
|
.rs-btn-subtle.rs-btn-disabled {
|
|
648
|
-
color: #b6b7b8;
|
|
649
576
|
color: var(--rs-btn-subtle-disabled-text);
|
|
650
577
|
background: none;
|
|
651
578
|
}
|
|
@@ -654,27 +581,22 @@ textarea.rs-input-sm {
|
|
|
654
581
|
border-color: var(--rs-btn-default-disabled-boreder-color);
|
|
655
582
|
}
|
|
656
583
|
.rs-btn-link {
|
|
657
|
-
color: #1675e0;
|
|
658
584
|
color: var(--rs-btn-link-text);
|
|
659
585
|
background-color: transparent;
|
|
660
586
|
border: none;
|
|
661
587
|
}
|
|
662
|
-
.rs-btn-link:hover
|
|
663
|
-
.rs-btn-link:focus {
|
|
664
|
-
color: #0a5dc2;
|
|
588
|
+
.rs-btn-link:hover {
|
|
665
589
|
color: var(--rs-btn-link-hover-text);
|
|
666
590
|
background-color: transparent;
|
|
667
591
|
text-decoration: underline;
|
|
668
592
|
}
|
|
669
593
|
.rs-btn-link:active,
|
|
670
594
|
.rs-btn-link.rs-btn-active {
|
|
671
|
-
color: #004299;
|
|
672
595
|
color: var(--rs-btn-link-active-text);
|
|
673
596
|
background-color: transparent;
|
|
674
597
|
}
|
|
675
598
|
.rs-btn-link:disabled,
|
|
676
599
|
.rs-btn-link.rs-btn-disabled {
|
|
677
|
-
color: #0a5dc2;
|
|
678
600
|
color: var(--rs-btn-link-hover-text);
|
|
679
601
|
background-color: transparent;
|
|
680
602
|
text-decoration: none;
|
|
@@ -685,42 +607,29 @@ textarea.rs-input-sm {
|
|
|
685
607
|
border-color: var(--rs-btn-default-disabled-boreder-color);
|
|
686
608
|
}
|
|
687
609
|
.rs-btn-ghost {
|
|
688
|
-
color: #1675e0;
|
|
689
610
|
color: var(--rs-btn-ghost-text);
|
|
690
611
|
background-color: transparent;
|
|
691
|
-
border: 1px solid #1675e0;
|
|
692
612
|
border: 1px solid var(--rs-btn-ghost-border);
|
|
693
613
|
}
|
|
694
|
-
.rs-btn-ghost:hover
|
|
695
|
-
.rs-btn-ghost:focus {
|
|
696
|
-
color: #0a5dc2;
|
|
614
|
+
.rs-btn-ghost:hover {
|
|
697
615
|
color: var(--rs-btn-ghost-hover-text);
|
|
698
616
|
background-color: transparent;
|
|
699
|
-
border-color: #0a5dc2;
|
|
700
617
|
border-color: var(--rs-btn-ghost-hover-border);
|
|
701
|
-
|
|
702
|
-
-webkit-box-shadow: 0 0 0 1px var(--rs-btn-ghost-hover-border);
|
|
703
|
-
box-shadow: 0 0 0 1px #0a5dc2;
|
|
704
|
-
box-shadow: 0 0 0 1px var(--rs-btn-ghost-hover-border);
|
|
618
|
+
box-shadow: 0 0 0 1px var(--rs-btn-ghost-hover-border);
|
|
705
619
|
}
|
|
706
620
|
.rs-btn-ghost:active,
|
|
707
621
|
.rs-btn-ghost.rs-btn-active {
|
|
708
|
-
color: #004299;
|
|
709
622
|
color: var(--rs-btn-ghost-active-text);
|
|
710
623
|
background-color: transparent;
|
|
711
|
-
border-color: #004299;
|
|
712
624
|
border-color: var(--rs-btn-ghost-active-border);
|
|
713
625
|
}
|
|
714
626
|
.rs-btn-ghost:disabled,
|
|
715
627
|
.rs-btn-ghost.rs-btn-disabled {
|
|
716
|
-
color: #1675e0;
|
|
717
628
|
color: var(--rs-btn-ghost-text);
|
|
718
629
|
background-color: transparent;
|
|
719
630
|
opacity: 0.3;
|
|
720
|
-
border-color: #1675e0;
|
|
721
631
|
border-color: var(--rs-btn-ghost-border);
|
|
722
|
-
|
|
723
|
-
box-shadow: none;
|
|
632
|
+
box-shadow: none;
|
|
724
633
|
}
|
|
725
634
|
.rs-theme-high-contrast .rs-btn-ghost:disabled,
|
|
726
635
|
.rs-theme-high-contrast .rs-btn-ghost.rs-btn-disabled {
|
|
@@ -1132,7 +1041,6 @@ textarea.rs-input-sm {
|
|
|
1132
1041
|
}
|
|
1133
1042
|
.rs-btn-icon-with-text.rs-btn-lg.rs-btn-icon-placement-left > .rs-icon {
|
|
1134
1043
|
left: 0;
|
|
1135
|
-
border-right: none;
|
|
1136
1044
|
border-right: var(--rs-btn-default-border, none);
|
|
1137
1045
|
}
|
|
1138
1046
|
.rs-btn-icon-with-text.rs-btn-lg.rs-btn-icon-placement-right {
|
|
@@ -1140,7 +1048,6 @@ textarea.rs-input-sm {
|
|
|
1140
1048
|
}
|
|
1141
1049
|
.rs-btn-icon-with-text.rs-btn-lg.rs-btn-icon-placement-right > .rs-icon {
|
|
1142
1050
|
right: 0;
|
|
1143
|
-
border-left: none;
|
|
1144
1051
|
border-left: var(--rs-btn-default-border, none);
|
|
1145
1052
|
}
|
|
1146
1053
|
.rs-btn-md {
|
|
@@ -1171,7 +1078,6 @@ textarea.rs-input-sm {
|
|
|
1171
1078
|
}
|
|
1172
1079
|
.rs-btn-icon-with-text.rs-btn-md.rs-btn-icon-placement-left > .rs-icon {
|
|
1173
1080
|
left: 0;
|
|
1174
|
-
border-right: none;
|
|
1175
1081
|
border-right: var(--rs-btn-default-border, none);
|
|
1176
1082
|
}
|
|
1177
1083
|
.rs-btn-icon-with-text.rs-btn-md.rs-btn-icon-placement-right {
|
|
@@ -1179,7 +1085,6 @@ textarea.rs-input-sm {
|
|
|
1179
1085
|
}
|
|
1180
1086
|
.rs-btn-icon-with-text.rs-btn-md.rs-btn-icon-placement-right > .rs-icon {
|
|
1181
1087
|
right: 0;
|
|
1182
|
-
border-left: none;
|
|
1183
1088
|
border-left: var(--rs-btn-default-border, none);
|
|
1184
1089
|
}
|
|
1185
1090
|
.rs-btn-sm {
|
|
@@ -1210,7 +1115,6 @@ textarea.rs-input-sm {
|
|
|
1210
1115
|
}
|
|
1211
1116
|
.rs-btn-icon-with-text.rs-btn-sm.rs-btn-icon-placement-left > .rs-icon {
|
|
1212
1117
|
left: 0;
|
|
1213
|
-
border-right: none;
|
|
1214
1118
|
border-right: var(--rs-btn-default-border, none);
|
|
1215
1119
|
}
|
|
1216
1120
|
.rs-btn-icon-with-text.rs-btn-sm.rs-btn-icon-placement-right {
|
|
@@ -1218,7 +1122,6 @@ textarea.rs-input-sm {
|
|
|
1218
1122
|
}
|
|
1219
1123
|
.rs-btn-icon-with-text.rs-btn-sm.rs-btn-icon-placement-right > .rs-icon {
|
|
1220
1124
|
right: 0;
|
|
1221
|
-
border-left: none;
|
|
1222
1125
|
border-left: var(--rs-btn-default-border, none);
|
|
1223
1126
|
}
|
|
1224
1127
|
.rs-btn-xs {
|
|
@@ -1249,7 +1152,6 @@ textarea.rs-input-sm {
|
|
|
1249
1152
|
}
|
|
1250
1153
|
.rs-btn-icon-with-text.rs-btn-xs.rs-btn-icon-placement-left > .rs-icon {
|
|
1251
1154
|
left: 0;
|
|
1252
|
-
border-right: none;
|
|
1253
1155
|
border-right: var(--rs-btn-default-border, none);
|
|
1254
1156
|
}
|
|
1255
1157
|
.rs-btn-icon-with-text.rs-btn-xs.rs-btn-icon-placement-right {
|
|
@@ -1257,7 +1159,6 @@ textarea.rs-input-sm {
|
|
|
1257
1159
|
}
|
|
1258
1160
|
.rs-btn-icon-with-text.rs-btn-xs.rs-btn-icon-placement-right > .rs-icon {
|
|
1259
1161
|
right: 0;
|
|
1260
|
-
border-left: none;
|
|
1261
1162
|
border-left: var(--rs-btn-default-border, none);
|
|
1262
1163
|
}
|
|
1263
1164
|
.rs-btn-block {
|
|
@@ -1292,79 +1193,54 @@ textarea.rs-input-sm {
|
|
|
1292
1193
|
height: 16px;
|
|
1293
1194
|
}
|
|
1294
1195
|
.rs-btn-loading > .rs-btn-spin::before {
|
|
1295
|
-
border: 3px solid rgb(from #f7f7fa r g b / 80%);
|
|
1296
1196
|
border: 3px solid var(--rs-loader-ring);
|
|
1297
1197
|
}
|
|
1298
1198
|
.rs-btn-primary.rs-btn-loading > .rs-btn-spin::before {
|
|
1299
1199
|
border-color: rgba(248, 247, 250, 0.3);
|
|
1300
1200
|
}
|
|
1301
1201
|
.rs-theme-high-contrast .rs-btn-primary.rs-btn-loading > .rs-btn-spin::before {
|
|
1302
|
-
border-color: rgb(from #f7f7fa r g b / 30%);
|
|
1303
1202
|
border-color: var(--rs-loader-ring-inverse);
|
|
1304
1203
|
}
|
|
1305
1204
|
.rs-btn-loading > .rs-btn-spin::after {
|
|
1306
1205
|
border-width: 3px;
|
|
1307
|
-
border-color: #939393 transparent transparent;
|
|
1308
1206
|
border-color: var(--rs-loader-rotor) transparent transparent;
|
|
1309
1207
|
border-style: solid;
|
|
1310
|
-
|
|
1311
|
-
animation: buttonSpin 0.6s infinite linear;
|
|
1208
|
+
animation: buttonSpin 0.6s infinite linear;
|
|
1312
1209
|
}
|
|
1313
1210
|
.rs-btn-primary.rs-btn-loading > .rs-btn-spin::after {
|
|
1314
1211
|
border-top-color: #fff;
|
|
1315
1212
|
}
|
|
1316
1213
|
.rs-theme-high-contrast .rs-btn-primary.rs-btn-loading > .rs-btn-spin::after {
|
|
1317
|
-
border-top-color: #fff;
|
|
1318
1214
|
border-top-color: var(--rs-loader-rotor-inverse);
|
|
1319
1215
|
}
|
|
1320
|
-
@-webkit-keyframes buttonSpin {
|
|
1321
|
-
from {
|
|
1322
|
-
-webkit-transform: rotate(0);
|
|
1323
|
-
transform: rotate(0);
|
|
1324
|
-
}
|
|
1325
|
-
to {
|
|
1326
|
-
-webkit-transform: rotate(360deg);
|
|
1327
|
-
transform: rotate(360deg);
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
1216
|
@keyframes buttonSpin {
|
|
1331
1217
|
from {
|
|
1332
|
-
|
|
1333
|
-
transform: rotate(0);
|
|
1218
|
+
transform: rotate(0);
|
|
1334
1219
|
}
|
|
1335
1220
|
to {
|
|
1336
|
-
|
|
1337
|
-
transform: rotate(360deg);
|
|
1221
|
+
transform: rotate(360deg);
|
|
1338
1222
|
}
|
|
1339
1223
|
}
|
|
1340
1224
|
.rs-input-group {
|
|
1341
1225
|
position: relative;
|
|
1342
|
-
display: -webkit-box;
|
|
1343
|
-
display: -ms-flexbox;
|
|
1344
1226
|
display: flex;
|
|
1345
1227
|
border-radius: 6px;
|
|
1346
|
-
-webkit-transition: border-color ease-in-out 0.15s;
|
|
1347
1228
|
transition: border-color ease-in-out 0.15s;
|
|
1348
1229
|
width: 100%;
|
|
1349
1230
|
cursor: text;
|
|
1350
|
-
color: #343434;
|
|
1351
1231
|
color: var(--rs-text-primary);
|
|
1352
|
-
border: 1px solid #e5e5ea;
|
|
1353
1232
|
border: 1px solid var(--rs-border-primary);
|
|
1354
1233
|
}
|
|
1355
1234
|
.rs-theme-high-contrast .rs-input-group {
|
|
1356
|
-
-webkit-transition: none;
|
|
1357
1235
|
transition: none;
|
|
1358
1236
|
}
|
|
1359
1237
|
.rs-input-group:not(.rs-input-group-disabled):hover,
|
|
1360
1238
|
.rs-input-group:not(.rs-input-group-disabled).rs-input-group-focus,
|
|
1361
1239
|
.rs-input-group:focus-within {
|
|
1362
|
-
border-color: #3498ff;
|
|
1363
1240
|
border-color: var(--rs-input-focus-border);
|
|
1364
1241
|
}
|
|
1365
1242
|
.rs-input-group:not(.rs-input-group-disabled).rs-input-group-focus,
|
|
1366
1243
|
.rs-input-group:focus-within {
|
|
1367
|
-
outline: 3px solid rgb(from #3498ff r g b / 25%);
|
|
1368
1244
|
outline: 3px solid var(--rs-color-focus-ring);
|
|
1369
1245
|
}
|
|
1370
1246
|
.rs-theme-high-contrast .rs-input-group:not(.rs-input-group-disabled).rs-input-group-focus,
|
|
@@ -1416,9 +1292,7 @@ textarea.rs-input-sm {
|
|
|
1416
1292
|
}
|
|
1417
1293
|
.rs-input-group > .rs-input,
|
|
1418
1294
|
.rs-input-group > .rs-form-control-wrapper {
|
|
1419
|
-
|
|
1420
|
-
-ms-flex: 1 1 auto;
|
|
1421
|
-
flex: 1 1 auto;
|
|
1295
|
+
flex: 1 1 auto;
|
|
1422
1296
|
}
|
|
1423
1297
|
.rs-input-group .rs-form-control-wrapper > .rs-input {
|
|
1424
1298
|
width: 100%;
|
|
@@ -1438,7 +1312,6 @@ textarea.rs-input-sm {
|
|
|
1438
1312
|
}
|
|
1439
1313
|
.rs-input-group.rs-input-group-inside {
|
|
1440
1314
|
width: 100%;
|
|
1441
|
-
background-color: #fff;
|
|
1442
1315
|
background-color: var(--rs-input-bg);
|
|
1443
1316
|
}
|
|
1444
1317
|
.rs-input-group.rs-input-group-inside .rs-input {
|
|
@@ -1449,13 +1322,10 @@ textarea.rs-input-sm {
|
|
|
1449
1322
|
}
|
|
1450
1323
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn,
|
|
1451
1324
|
.rs-input-group.rs-input-group-inside .rs-input-group-addon {
|
|
1452
|
-
|
|
1453
|
-
-ms-flex: 0 0 auto;
|
|
1454
|
-
flex: 0 0 auto;
|
|
1325
|
+
flex: 0 0 auto;
|
|
1455
1326
|
width: auto;
|
|
1456
1327
|
}
|
|
1457
1328
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn {
|
|
1458
|
-
color: #343434;
|
|
1459
1329
|
color: var(--rs-btn-subtle-text);
|
|
1460
1330
|
background-color: transparent;
|
|
1461
1331
|
border: none;
|
|
@@ -1464,23 +1334,17 @@ textarea.rs-input-sm {
|
|
|
1464
1334
|
padding: 7px 11px;
|
|
1465
1335
|
border-radius: 0 6px 6px 0;
|
|
1466
1336
|
}
|
|
1467
|
-
.rs-input-group.rs-input-group-inside .rs-input-group-btn:hover
|
|
1468
|
-
.rs-input-group.rs-input-group-inside .rs-input-group-btn:focus {
|
|
1469
|
-
color: #343434;
|
|
1337
|
+
.rs-input-group.rs-input-group-inside .rs-input-group-btn:hover {
|
|
1470
1338
|
color: var(--rs-btn-subtle-hover-text);
|
|
1471
|
-
background-color: #e5e5ea;
|
|
1472
1339
|
background-color: var(--rs-btn-subtle-hover-bg);
|
|
1473
1340
|
}
|
|
1474
1341
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn:active,
|
|
1475
1342
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn.rs-btn-active {
|
|
1476
|
-
color: #121212;
|
|
1477
1343
|
color: var(--rs-btn-subtle-active-text);
|
|
1478
|
-
background-color: #e5e5ea;
|
|
1479
1344
|
background-color: var(--rs-btn-subtle-active-bg);
|
|
1480
1345
|
}
|
|
1481
1346
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn:disabled,
|
|
1482
1347
|
.rs-input-group.rs-input-group-inside .rs-input-group-btn.rs-btn-disabled {
|
|
1483
|
-
color: #b6b7b8;
|
|
1484
1348
|
color: var(--rs-btn-subtle-disabled-text);
|
|
1485
1349
|
background: none;
|
|
1486
1350
|
}
|
|
@@ -1534,9 +1398,7 @@ textarea.rs-input-sm {
|
|
|
1534
1398
|
right: 1px;
|
|
1535
1399
|
}
|
|
1536
1400
|
.rs-input-group.rs-input-group-disabled {
|
|
1537
|
-
background-color: #f7f7fa;
|
|
1538
1401
|
background-color: var(--rs-input-disabled-bg);
|
|
1539
|
-
color: #717273;
|
|
1540
1402
|
color: var(--rs-text-disabled);
|
|
1541
1403
|
cursor: not-allowed;
|
|
1542
1404
|
}
|
|
@@ -1552,11 +1414,6 @@ textarea.rs-input-sm {
|
|
|
1552
1414
|
line-height: 1.375;
|
|
1553
1415
|
/* stylelint-enable */
|
|
1554
1416
|
}
|
|
1555
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1556
|
-
.rs-input-group-lg > .rs-input {
|
|
1557
|
-
height: 42px;
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
1417
|
textarea.rs-input-group-lg > .rs-input {
|
|
1561
1418
|
height: auto;
|
|
1562
1419
|
}
|
|
@@ -1583,11 +1440,6 @@ textarea.rs-input-group-lg > .rs-input {
|
|
|
1583
1440
|
line-height: 1.42857143;
|
|
1584
1441
|
/* stylelint-enable */
|
|
1585
1442
|
}
|
|
1586
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1587
|
-
.rs-input-group-md > .rs-input {
|
|
1588
|
-
height: 36px;
|
|
1589
|
-
}
|
|
1590
|
-
}
|
|
1591
1443
|
textarea.rs-input-group-md > .rs-input {
|
|
1592
1444
|
height: auto;
|
|
1593
1445
|
}
|
|
@@ -1614,11 +1466,6 @@ textarea.rs-input-group-md > .rs-input {
|
|
|
1614
1466
|
line-height: 1.42857143;
|
|
1615
1467
|
/* stylelint-enable */
|
|
1616
1468
|
}
|
|
1617
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1618
|
-
.rs-input-group-sm > .rs-input {
|
|
1619
|
-
height: 30px;
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
1469
|
textarea.rs-input-group-sm > .rs-input {
|
|
1623
1470
|
height: auto;
|
|
1624
1471
|
}
|
|
@@ -1645,11 +1492,6 @@ textarea.rs-input-group-sm > .rs-input {
|
|
|
1645
1492
|
line-height: 1.66666667;
|
|
1646
1493
|
/* stylelint-enable */
|
|
1647
1494
|
}
|
|
1648
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1649
|
-
.rs-input-group-xs > .rs-input {
|
|
1650
|
-
height: 24px;
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
1495
|
textarea.rs-input-group-xs > .rs-input {
|
|
1654
1496
|
height: auto;
|
|
1655
1497
|
}
|
|
@@ -1675,11 +1517,6 @@ textarea.rs-input-group-xs > .rs-input {
|
|
|
1675
1517
|
padding-left: 15px;
|
|
1676
1518
|
padding-right: 15px;
|
|
1677
1519
|
}
|
|
1678
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1679
|
-
.rs-input-group.rs-input-group-lg > .rs-input-group-addon {
|
|
1680
|
-
height: 42px;
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
1520
|
textarea.rs-input-group.rs-input-group-lg > .rs-input-group-addon {
|
|
1684
1521
|
height: auto;
|
|
1685
1522
|
}
|
|
@@ -1693,11 +1530,6 @@ textarea.rs-input-group.rs-input-group-lg > .rs-input-group-addon {
|
|
|
1693
1530
|
padding-left: 11px;
|
|
1694
1531
|
padding-right: 11px;
|
|
1695
1532
|
}
|
|
1696
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1697
|
-
.rs-input-group.rs-input-group-md > .rs-input-group-addon {
|
|
1698
|
-
height: 36px;
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
1533
|
textarea.rs-input-group.rs-input-group-md > .rs-input-group-addon {
|
|
1702
1534
|
height: auto;
|
|
1703
1535
|
}
|
|
@@ -1711,11 +1543,6 @@ textarea.rs-input-group.rs-input-group-md > .rs-input-group-addon {
|
|
|
1711
1543
|
padding-left: 9px;
|
|
1712
1544
|
padding-right: 9px;
|
|
1713
1545
|
}
|
|
1714
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1715
|
-
.rs-input-group.rs-input-group-sm > .rs-input-group-addon {
|
|
1716
|
-
height: 30px;
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
1546
|
textarea.rs-input-group.rs-input-group-sm > .rs-input-group-addon {
|
|
1720
1547
|
height: auto;
|
|
1721
1548
|
}
|
|
@@ -1729,11 +1556,6 @@ textarea.rs-input-group.rs-input-group-sm > .rs-input-group-addon {
|
|
|
1729
1556
|
padding-left: 7px;
|
|
1730
1557
|
padding-right: 7px;
|
|
1731
1558
|
}
|
|
1732
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1733
|
-
.rs-input-group.rs-input-group-xs > .rs-input-group-addon {
|
|
1734
|
-
height: 24px;
|
|
1735
|
-
}
|
|
1736
|
-
}
|
|
1737
1559
|
textarea.rs-input-group.rs-input-group-xs > .rs-input-group-addon {
|
|
1738
1560
|
height: auto;
|
|
1739
1561
|
}
|
|
@@ -1747,11 +1569,6 @@ textarea.rs-input-group.rs-input-group-xs > .rs-input-group-addon {
|
|
|
1747
1569
|
padding: 9px 15px;
|
|
1748
1570
|
border-radius: 0 6px 6px 0;
|
|
1749
1571
|
}
|
|
1750
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1751
|
-
.rs-input-group-inside.rs-input-group-lg > .rs-input-group-btn {
|
|
1752
|
-
height: 42px;
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
1572
|
textarea.rs-input-group-inside.rs-input-group-lg > .rs-input-group-btn {
|
|
1756
1573
|
height: auto;
|
|
1757
1574
|
}
|
|
@@ -1768,11 +1585,6 @@ textarea.rs-input-group-inside.rs-input-group-lg > .rs-input-group-btn {
|
|
|
1768
1585
|
padding: 7px 11px;
|
|
1769
1586
|
border-radius: 0 6px 6px 0;
|
|
1770
1587
|
}
|
|
1771
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1772
|
-
.rs-input-group-inside.rs-input-group-md > .rs-input-group-btn {
|
|
1773
|
-
height: 36px;
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
1588
|
textarea.rs-input-group-inside.rs-input-group-md > .rs-input-group-btn {
|
|
1777
1589
|
height: auto;
|
|
1778
1590
|
}
|
|
@@ -1790,11 +1602,6 @@ textarea.rs-input-group-inside.rs-input-group-md > .rs-input-group-btn {
|
|
|
1790
1602
|
padding: 4px 9px;
|
|
1791
1603
|
border-radius: 0 6px 6px 0;
|
|
1792
1604
|
}
|
|
1793
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1794
|
-
.rs-input-group-inside.rs-input-group-sm > .rs-input-group-btn {
|
|
1795
|
-
height: 30px;
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
1605
|
textarea.rs-input-group-inside.rs-input-group-sm > .rs-input-group-btn {
|
|
1799
1606
|
height: auto;
|
|
1800
1607
|
}
|
|
@@ -1812,11 +1619,6 @@ textarea.rs-input-group-inside.rs-input-group-sm > .rs-input-group-btn {
|
|
|
1812
1619
|
padding: 1px 7px;
|
|
1813
1620
|
border-radius: 0 6px 6px 0;
|
|
1814
1621
|
}
|
|
1815
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
1816
|
-
.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
1817
|
-
height: 24px;
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
1622
|
textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
1821
1623
|
height: auto;
|
|
1822
1624
|
}
|
|
@@ -1830,27 +1632,18 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1830
1632
|
border-radius: 0;
|
|
1831
1633
|
}
|
|
1832
1634
|
.rs-input-group-addon {
|
|
1833
|
-
|
|
1834
|
-
-ms-flex: 0 0 auto;
|
|
1835
|
-
flex: 0 0 auto;
|
|
1836
|
-
display: -webkit-box;
|
|
1837
|
-
display: -ms-flexbox;
|
|
1635
|
+
flex: 0 0 auto;
|
|
1838
1636
|
display: flex;
|
|
1839
|
-
-
|
|
1840
|
-
-ms-flex-align: center;
|
|
1841
|
-
align-items: center;
|
|
1637
|
+
align-items: center;
|
|
1842
1638
|
white-space: nowrap;
|
|
1843
1639
|
vertical-align: middle;
|
|
1844
|
-
color: #343434;
|
|
1845
1640
|
color: var(--rs-text-primary);
|
|
1846
1641
|
padding: 8px 12px;
|
|
1847
1642
|
font-size: 14px;
|
|
1848
1643
|
font-weight: normal;
|
|
1849
1644
|
line-height: 1;
|
|
1850
1645
|
text-align: center;
|
|
1851
|
-
background-color: #f7f7fa;
|
|
1852
1646
|
background-color: var(--rs-btn-default-bg);
|
|
1853
|
-
border: 1px solid #e5e5ea;
|
|
1854
1647
|
border: 1px solid var(--rs-border-primary);
|
|
1855
1648
|
border-radius: 6px;
|
|
1856
1649
|
}
|
|
@@ -1895,15 +1688,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1895
1688
|
margin-left: -1px;
|
|
1896
1689
|
}
|
|
1897
1690
|
.rs-input-number {
|
|
1898
|
-
background-color: #fff;
|
|
1899
1691
|
background-color: var(--rs-input-bg);
|
|
1900
1692
|
}
|
|
1901
1693
|
.rs-input-number-btn-group-vertical {
|
|
1902
1694
|
position: relative;
|
|
1903
1695
|
width: 20px;
|
|
1904
|
-
|
|
1905
|
-
-ms-flex: 0 0 20px;
|
|
1906
|
-
flex: 0 0 20px;
|
|
1696
|
+
flex: 0 0 20px;
|
|
1907
1697
|
display: block;
|
|
1908
1698
|
}
|
|
1909
1699
|
.rs-input-number-btn-group-vertical > .rs-btn {
|
|
@@ -1919,14 +1709,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1919
1709
|
position: relative;
|
|
1920
1710
|
border-radius: 0;
|
|
1921
1711
|
padding: 0;
|
|
1922
|
-
|
|
1923
|
-
box-shadow: none !important;
|
|
1712
|
+
box-shadow: none !important;
|
|
1924
1713
|
height: 17px;
|
|
1925
1714
|
}
|
|
1926
1715
|
.rs-input-number-touchspin-up > .rs-icon,
|
|
1927
1716
|
.rs-input-number-touchspin-down > .rs-icon {
|
|
1928
1717
|
height: 17px;
|
|
1929
|
-
color: #717273;
|
|
1930
1718
|
color: var(--rs-text-secondary);
|
|
1931
1719
|
}
|
|
1932
1720
|
.rs-input-group-lg .rs-input-number-touchspin-up,
|
|
@@ -1936,7 +1724,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1936
1724
|
.rs-input-group-lg .rs-input-number-touchspin-up > .rs-icon,
|
|
1937
1725
|
.rs-input-group-lg .rs-input-number-touchspin-down > .rs-icon {
|
|
1938
1726
|
height: 20px;
|
|
1939
|
-
color: #717273;
|
|
1940
1727
|
color: var(--rs-text-secondary);
|
|
1941
1728
|
}
|
|
1942
1729
|
.rs-input-group-sm .rs-input-number-touchspin-up,
|
|
@@ -1946,7 +1733,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1946
1733
|
.rs-input-group-sm .rs-input-number-touchspin-up > .rs-icon,
|
|
1947
1734
|
.rs-input-group-sm .rs-input-number-touchspin-down > .rs-icon {
|
|
1948
1735
|
height: 14px;
|
|
1949
|
-
color: #717273;
|
|
1950
1736
|
color: var(--rs-text-secondary);
|
|
1951
1737
|
}
|
|
1952
1738
|
.rs-input-group-xs .rs-input-number-touchspin-up,
|
|
@@ -1956,7 +1742,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1956
1742
|
.rs-input-group-xs .rs-input-number-touchspin-up > .rs-icon,
|
|
1957
1743
|
.rs-input-group-xs .rs-input-number-touchspin-down > .rs-icon {
|
|
1958
1744
|
height: 11px;
|
|
1959
|
-
color: #717273;
|
|
1960
1745
|
color: var(--rs-text-secondary);
|
|
1961
1746
|
}
|
|
1962
1747
|
.rs-input-number-touchspin-up > .rs-icon,
|
|
@@ -1966,15 +1751,9 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1966
1751
|
left: 0;
|
|
1967
1752
|
width: 100%;
|
|
1968
1753
|
font-size: 12px;
|
|
1969
|
-
display: -webkit-box;
|
|
1970
|
-
display: -ms-flexbox;
|
|
1971
1754
|
display: flex;
|
|
1972
|
-
-
|
|
1973
|
-
|
|
1974
|
-
align-items: center;
|
|
1975
|
-
-webkit-box-pack: center;
|
|
1976
|
-
-ms-flex-pack: center;
|
|
1977
|
-
justify-content: center;
|
|
1755
|
+
align-items: center;
|
|
1756
|
+
justify-content: center;
|
|
1978
1757
|
}
|
|
1979
1758
|
.rs-input-number-btn-group-vertical:last-child .rs-input-number-touchspin-up {
|
|
1980
1759
|
border-top-right-radius: 6px;
|
|
@@ -1988,7 +1767,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
1988
1767
|
}
|
|
1989
1768
|
.rs-input-number > .rs-input:disabled + .rs-input-number-btn-group-vertical .rs-input-number-touchspin-up,
|
|
1990
1769
|
.rs-input-number > .rs-input:disabled + .rs-input-number-btn-group-vertical .rs-input-number-touchspin-down {
|
|
1991
|
-
background-color: #f7f7fa;
|
|
1992
1770
|
background-color: var(--rs-input-disabled-bg);
|
|
1993
1771
|
}
|
|
1994
1772
|
.rs-input-number input[type='number'] {
|