rsuite 6.0.0-canary-20250424 → 6.0.0-canary-20250620
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 +645 -325
- package/Animation/styles/index.css +153 -141
- package/AutoComplete/styles/index.css +2408 -2061
- package/Avatar/styles/index.css +227 -76
- package/AvatarGroup/styles/index.css +280 -107
- package/Badge/styles/index.css +335 -174
- package/Box/styles/index.css +132 -94
- package/Breadcrumb/styles/index.css +225 -71
- package/Button/styles/index.css +1199 -1016
- package/ButtonGroup/styles/index.css +221 -54
- package/ButtonToolbar/styles/index.css +274 -98
- package/CHANGELOG.md +66 -0
- package/Calendar/styles/index.css +1866 -1737
- package/Card/styles/index.css +242 -92
- package/CardGroup/styles/index.css +185 -6
- package/Carousel/styles/index.css +369 -213
- package/CascadeTree/styles/index.css +376 -237
- package/Cascader/styles/index.css +2494 -2146
- package/Center/styles/index.css +185 -6
- package/CheckPicker/styles/index.css +2555 -2193
- package/CheckTree/styles/index.css +2640 -2276
- package/CheckTreePicker/styles/index.css +2652 -2286
- package/Checkbox/styles/index.css +409 -251
- package/CheckboxGroup/styles/index.css +189 -25
- package/Container/styles/index.css +186 -20
- package/Content/styles/index.css +181 -15
- package/DateInput/styles/index.css +317 -164
- package/DatePicker/styles/index.css +3108 -2800
- package/DateRangeInput/styles/index.css +317 -164
- package/DateRangePicker/styles/index.css +3200 -2884
- package/Divider/styles/index.css +251 -96
- package/Drawer/styles/index.css +461 -312
- package/Dropdown/styles/index.css +1497 -1329
- package/FlexboxGrid/styles/index.css +498 -284
- package/Footer/styles/index.css +181 -23
- package/Form/styles/index.css +178 -12
- package/FormControl/styles/index.css +210 -44
- package/FormControlLabel/styles/index.css +190 -31
- package/FormErrorMessage/styles/index.css +332 -208
- package/FormGroup/styles/index.css +216 -48
- package/FormHelpText/styles/index.css +203 -44
- package/FormStack/styles/index.css +191 -26
- package/Grid/styles/index.css +2042 -1743
- package/Header/styles/index.css +181 -23
- package/Heading/styles/index.css +238 -73
- package/HeadingGroup/styles/index.css +181 -2
- package/Highlight/styles/index.css +190 -5
- package/IconButton/styles/index.css +1343 -1163
- package/Image/styles/index.css +216 -22
- package/InlineEdit/styles/index.css +378 -84
- package/Input/styles/index.css +317 -164
- package/InputGroup/styles/index.css +446 -1219
- package/InputNumber/styles/index.css +1565 -1366
- package/InputPicker/styles/index.css +2497 -2156
- package/Kbd/styles/index.css +258 -107
- package/Link/styles/index.css +203 -23
- package/List/styles/index.css +311 -158
- package/Loader/styles/index.css +354 -206
- package/Menu/styles/index.css +325 -186
- package/Message/styles/index.css +494 -408
- package/Modal/styles/index.css +394 -224
- package/MultiCascadeTree/styles/index.css +2694 -2331
- package/MultiCascader/styles/index.css +2710 -2346
- package/Nav/styles/index.css +1801 -1636
- package/Navbar/styles/index.css +1751 -1564
- package/Notification/styles/index.css +369 -221
- package/NumberInput/styles/index.css +1565 -1366
- package/Pagination/styles/index.css +2625 -2390
- package/Panel/styles/index.css +624 -305
- package/PanelGroup/styles/index.css +212 -55
- package/PasswordInput/styles/index.css +559 -164
- package/PasswordStrengthMeter/styles/index.css +224 -32
- package/PinInput/styles/index.css +381 -207
- package/Placeholder/styles/index.css +364 -200
- package/Popover/styles/index.css +468 -298
- package/Progress/styles/index.css +517 -236
- package/ProgressCircle/package.json +3 -3
- package/ProgressCircle/styles/index.css +248 -0
- package/README.md +1 -1
- package/Radio/styles/index.css +406 -242
- package/RadioGroup/styles/index.css +277 -124
- package/RadioTile/styles/index.css +286 -133
- package/RadioTileGroup/styles/index.css +0 -0
- package/RangeSlider/styles/index.css +599 -458
- package/Rate/styles/index.css +318 -179
- package/SelectPicker/styles/index.css +2430 -2088
- package/Sidebar/styles/index.css +188 -28
- package/Sidenav/styles/index.css +764 -591
- package/Slider/styles/index.css +599 -458
- package/Stack/styles/index.css +268 -93
- package/Stat/styles/index.css +1620 -1454
- package/StatGroup/styles/index.css +185 -6
- package/Steps/styles/index.css +384 -234
- package/Table/styles/index.css +626 -497
- package/Tabs/styles/index.css +1815 -1649
- package/Tag/styles/index.css +1487 -139
- package/TagGroup/styles/index.css +185 -19
- package/TagInput/styles/index.css +2831 -2469
- package/TagPicker/styles/index.css +2827 -2466
- package/Text/styles/index.css +398 -224
- package/Textarea/styles/index.css +184 -5
- package/TimePicker/styles/index.css +3108 -2800
- package/TimeRangePicker/styles/index.css +3200 -2884
- package/Timeline/styles/index.css +305 -148
- package/Toggle/styles/index.css +606 -429
- package/Tooltip/styles/index.css +347 -214
- package/Tree/styles/index.css +2538 -2197
- package/TreePicker/styles/index.css +2548 -2206
- package/Uploader/styles/index.css +1680 -1612
- package/VisuallyHidden/styles/index.css +11 -11
- package/cjs/Affix/Affix.js +1 -2
- package/cjs/Animation/Bounce.js +4 -5
- package/cjs/Animation/Collapse.js +1 -2
- package/cjs/Animation/Fade.js +5 -6
- package/cjs/Animation/Slide.js +5 -6
- package/cjs/AutoComplete/AutoComplete.js +1 -2
- package/cjs/Avatar/Avatar.js +1 -2
- package/cjs/AvatarGroup/AvatarGroup.js +1 -2
- package/cjs/Badge/Badge.js +1 -2
- package/cjs/Breadcrumb/Breadcrumb.js +1 -2
- package/cjs/Button/Button.js +1 -2
- package/cjs/ButtonGroup/ButtonGroup.js +1 -2
- package/cjs/Calendar/CalendarContainer.js +1 -2
- package/cjs/Calendar/CalendarHeader.js +1 -2
- package/cjs/Calendar/Grid/GridRow.js +1 -2
- package/cjs/Calendar/MonthDropdown/MonthDropdown.js +17 -22
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +1 -2
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +1 -2
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.js +1 -2
- package/cjs/Calendar/hooks/useCalendarDate.js +3 -6
- package/cjs/Carousel/Carousel.js +1 -2
- package/cjs/CascadeTree/CascadeTree.js +1 -2
- package/cjs/CascadeTree/TreeView.js +1 -2
- package/cjs/CascadeTree/hooks/usePaths.js +7 -8
- package/cjs/Cascader/Cascader.js +1 -2
- package/cjs/CheckPicker/CheckPicker.js +1 -2
- package/cjs/CheckTree/CheckTree.js +1 -2
- package/cjs/CheckTree/CheckTreeNode.js +1 -2
- package/cjs/CheckTree/CheckTreeView.js +17 -22
- package/cjs/CheckTree/hooks/useTreeNodeProps.js +1 -2
- package/cjs/CheckTree/hooks/useTreeValue.js +4 -5
- package/cjs/CheckTreePicker/CheckTreePicker.d.ts +4 -0
- package/cjs/CheckTreePicker/CheckTreePicker.js +29 -2
- package/cjs/Checkbox/Checkbox.js +1 -2
- package/cjs/CheckboxGroup/CheckboxGroup.js +1 -2
- package/cjs/Container/Container.js +1 -2
- package/cjs/CustomProvider/CustomProvider.js +14 -4
- package/cjs/DOMHelper/index.js +1 -2
- package/cjs/DateInput/DateInput.js +5 -2
- package/cjs/DateInput/hooks/useDateInputState.js +6 -7
- package/cjs/DateInput/hooks/useIsFocused.js +4 -5
- package/cjs/DateInput/hooks/useKeyboardInputEvent.js +7 -8
- package/cjs/DateInput/test/types/TestKeyPressProps.d.ts +6 -0
- package/cjs/DateInput/test/types/TestKeyPressProps.js +4 -0
- package/cjs/DatePicker/DatePicker.js +3 -10
- package/cjs/DatePicker/PredefinedRanges.js +1 -2
- package/cjs/DatePicker/Toolbar.js +6 -7
- package/cjs/DatePicker/utils.js +14 -24
- package/cjs/DateRangeInput/DateRangeInput.js +6 -6
- package/cjs/DateRangePicker/Calendar.d.ts +2 -1
- package/cjs/DateRangePicker/Calendar.js +8 -3
- package/cjs/DateRangePicker/DateRangePicker.d.ts +3 -1
- package/cjs/DateRangePicker/DateRangePicker.js +9 -20
- package/cjs/DateRangePicker/DateRangePickerProvider.js +1 -2
- package/cjs/DateRangePicker/disabledDateUtils.js +5 -18
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +7 -8
- package/cjs/DateRangePicker/utils.js +5 -6
- package/cjs/Dropdown/Dropdown.js +9 -12
- package/cjs/Dropdown/DropdownItem.js +6 -8
- package/cjs/Dropdown/DropdownMenu.js +36 -43
- package/cjs/Dropdown/DropdownState.js +1 -4
- package/cjs/Form/Form.js +1 -2
- package/cjs/Form/FormContext.d.ts +1 -1
- package/cjs/Form/FormContext.js +1 -2
- package/cjs/Form/hooks/useFormValidate.js +8 -13
- package/cjs/Form/hooks/useSchemaModel.js +6 -9
- package/cjs/FormControl/FormControl.d.ts +2 -2
- package/cjs/FormControl/FormControl.js +53 -84
- package/cjs/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/cjs/FormGroup/FormGroup.d.ts +0 -18
- package/cjs/FormGroup/FormGroup.js +4 -33
- package/cjs/FormGroup/FormGroupContext.d.ts +4 -0
- package/cjs/FormGroup/FormGroupContext.js +8 -0
- package/cjs/FormGroup/index.d.ts +1 -1
- package/cjs/FormGroup/index.js +4 -4
- package/cjs/FormGroup/useFormGroup.d.ts +18 -0
- package/cjs/FormGroup/useFormGroup.js +35 -0
- package/cjs/Grid/Col.js +1 -2
- package/cjs/Grid/utils/styles.js +1 -4
- package/cjs/InlineEdit/useEditState.js +1 -1
- package/cjs/InlineEdit/useFocusEvent.js +6 -7
- package/cjs/Input/Input.js +2 -3
- package/cjs/InputGroup/InputGroup.d.ts +0 -5
- package/cjs/InputGroup/InputGroup.js +4 -5
- package/cjs/InputGroup/InputGroupContext.d.ts +6 -0
- package/cjs/InputGroup/InputGroupContext.js +8 -0
- package/cjs/InputGroup/index.d.ts +1 -0
- package/cjs/InputGroup/index.js +3 -1
- package/cjs/InputPicker/InputAutosize.js +1 -2
- package/cjs/InputPicker/InputPicker.js +1 -2
- package/cjs/List/List.js +1 -2
- package/cjs/List/ListItem.js +1 -2
- package/cjs/List/helper/AutoScroller.js +7 -8
- package/cjs/List/helper/useSortHelper.js +1 -1
- package/cjs/List/helper/utils.js +4 -7
- package/cjs/MaskedInput/TextMask.js +1 -2
- package/cjs/MaskedInput/adjustCaretPosition.js +11 -12
- package/cjs/MaskedInput/conformToMask.js +1 -10
- package/cjs/MaskedInput/createTextMaskInputElement.js +9 -10
- package/cjs/MaskedInput/utilities.js +1 -7
- package/cjs/Menu/Menu.js +1 -2
- package/cjs/Menu/MenuItem.js +6 -8
- package/cjs/Message/Message.js +1 -2
- package/cjs/Modal/Modal.js +1 -2
- package/cjs/Modal/ModalBody.js +1 -2
- package/cjs/Modal/ModalHeader.js +1 -2
- package/cjs/Modal/ModalTitle.js +1 -2
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +1 -4
- package/cjs/MultiCascadeTree/utils.js +1 -4
- package/cjs/MultiCascader/MultiCascader.js +1 -2
- package/cjs/Nav/AdaptiveNavItem.js +3 -4
- package/cjs/Nav/Nav.js +3 -4
- package/cjs/Nav/NavDropdown.js +9 -12
- package/cjs/Nav/NavDropdownItem.js +6 -8
- package/cjs/Nav/NavDropdownMenu.js +36 -43
- package/cjs/Nav/NavItem.js +1 -2
- package/cjs/Nav/NavMegaMenu.js +1 -2
- package/cjs/Nav/NavMenu.js +3 -4
- package/cjs/Navbar/Navbar.js +1 -2
- package/cjs/Navbar/NavbarDrawer.js +1 -2
- package/cjs/Navbar/NavbarDropdown.js +8 -11
- package/cjs/Navbar/NavbarDropdownItem.js +1 -2
- package/cjs/Navbar/NavbarDropdownMenu.js +12 -16
- package/cjs/Navbar/NavbarItem.js +1 -2
- package/cjs/Navbar/NavbarMegaMenu.js +1 -2
- package/cjs/Navbar/NavbarToggle.js +1 -2
- package/cjs/Notification/Notification.js +1 -2
- package/cjs/NumberInput/utils/number.js +1 -4
- package/cjs/Pagination/LimitPicker.js +1 -2
- package/cjs/Pagination/PaginationButton.js +1 -2
- package/cjs/Panel/Panel.js +1 -2
- package/cjs/Panel/PanelHeader.js +1 -2
- package/cjs/PanelGroup/PanelGroup.js +1 -2
- package/cjs/PanelGroup/index.js +1 -2
- package/cjs/Placeholder/PlaceholderGrid.js +1 -2
- package/cjs/Placeholder/PlaceholderParagraph.js +1 -2
- package/cjs/Popover/Popover.js +1 -2
- package/cjs/Progress/Progress.d.ts +1 -1
- package/cjs/Progress/Progress.js +1 -1
- package/cjs/Progress/ProgressInfo.d.ts +17 -0
- package/cjs/Progress/ProgressInfo.js +29 -0
- package/cjs/Progress/ProgressLine.d.ts +20 -6
- package/cjs/Progress/ProgressLine.js +48 -37
- package/cjs/Progress/ProgressSections.d.ts +15 -0
- package/cjs/Progress/ProgressSections.js +43 -0
- package/cjs/Progress/ProgressStroke.d.ts +24 -0
- package/cjs/Progress/ProgressStroke.js +51 -0
- package/cjs/Progress/index.d.ts +3 -3
- package/cjs/Progress/index.js +1 -1
- package/cjs/Progress/types.d.ts +11 -0
- package/cjs/Progress/types.js +4 -0
- package/cjs/{Progress → ProgressCircle}/ProgressCircle.d.ts +20 -14
- package/cjs/ProgressCircle/ProgressCircle.js +113 -0
- package/cjs/ProgressCircle/ProgressCircleSections.d.ts +23 -0
- package/cjs/ProgressCircle/ProgressCircleSections.js +52 -0
- package/cjs/ProgressCircle/hooks/useProgressCirclePath.d.ts +28 -0
- package/cjs/ProgressCircle/hooks/useProgressCirclePath.js +66 -0
- package/cjs/ProgressCircle/index.d.ts +4 -0
- package/cjs/ProgressCircle/index.js +11 -0
- package/cjs/Radio/Radio.js +1 -2
- package/cjs/RadioGroup/RadioGroup.js +1 -2
- package/cjs/RadioTile/RadioTile.js +1 -2
- package/cjs/RadioTileGroup/RadioTileGroup.js +1 -2
- package/cjs/RangeSlider/RangeSlider.js +1 -3
- package/cjs/Rate/Character.js +1 -2
- package/cjs/Rate/useRatingStates.js +6 -7
- package/cjs/SelectPicker/SelectPicker.js +1 -2
- package/cjs/Sidebar/Sidebar.js +1 -2
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +12 -17
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +3 -4
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +9 -12
- package/cjs/Sidenav/Sidenav.d.ts +0 -15
- package/cjs/Sidenav/Sidenav.js +4 -5
- package/cjs/Sidenav/SidenavContext.d.ts +16 -0
- package/cjs/Sidenav/SidenavContext.js +8 -0
- package/cjs/Sidenav/SidenavDropdown.js +15 -19
- package/cjs/Sidenav/SidenavDropdownItem.js +8 -10
- package/cjs/Sidenav/SidenavDropdownMenu.js +38 -45
- package/cjs/Sidenav/SidenavItem.js +8 -10
- package/cjs/Sidenav/SidenavToggle.js +3 -4
- package/cjs/Slider/ProgressBar.d.ts +0 -1
- package/cjs/Slider/ProgressBar.js +1 -3
- package/cjs/Slider/Slider.js +14 -6
- package/cjs/Stack/Stack.js +4 -2
- package/cjs/Stack/VStack.js +1 -3
- package/cjs/Tag/Tag.js +1 -2
- package/cjs/TagInput/TagInput.js +1 -2
- package/cjs/TagPicker/TagPicker.js +1 -2
- package/cjs/TimePicker/TimePicker.js +1 -2
- package/cjs/Toggle/Toggle.js +1 -2
- package/cjs/Tooltip/Tooltip.js +1 -2
- package/cjs/Tree/Tree.js +1 -2
- package/cjs/Tree/TreeNode.js +1 -2
- package/cjs/Tree/TreeView.js +17 -22
- package/cjs/Tree/hooks/useFlattenTree.js +2 -8
- package/cjs/Tree/hooks/useTreeNodeProps.js +1 -2
- package/cjs/Tree/hooks/useVirtualizedTreeData.js +1 -7
- package/cjs/Tree/utils/flattenTree.js +2 -8
- package/cjs/Tree/utils/getExpandItemValues.js +6 -7
- package/cjs/Tree/utils/indentTreeNode.js +1 -4
- package/cjs/TreePicker/TreePicker.js +1 -2
- package/cjs/Uploader/UploadFileItem.js +2 -6
- package/cjs/Uploader/UploadTrigger.js +1 -2
- package/cjs/Uploader/Uploader.js +2 -6
- package/cjs/global.d.ts +0 -6
- package/cjs/index.d.ts +3 -0
- package/cjs/index.js +18 -0
- package/cjs/internals/Disclosure/Disclosure.js +1 -2
- package/cjs/internals/InputBase/InputBase.js +2 -3
- package/cjs/internals/Menu/Menu.js +13 -18
- package/cjs/internals/Menu/MenuItem.js +1 -2
- package/cjs/internals/Menu/Menubar.js +6 -8
- package/cjs/internals/Menu/useRenderMenuItem.js +1 -2
- package/cjs/internals/Overlay/Modal.js +1 -2
- package/cjs/internals/Overlay/Overlay.js +1 -2
- package/cjs/internals/Overlay/OverlayProvider.js +1 -2
- package/cjs/internals/Overlay/OverlayTrigger.js +3 -11
- package/cjs/internals/Overlay/Position.js +4 -8
- package/cjs/internals/Overlay/types.d.ts +1 -1
- package/cjs/internals/Overlay/utils/position.d.ts +24 -0
- package/cjs/internals/Overlay/{positionUtils.js → utils/position.js} +136 -50
- package/cjs/internals/Picker/Listbox.js +18 -23
- package/cjs/internals/Picker/PickerIndicator.js +9 -10
- package/cjs/internals/Picker/PickerLabel.js +6 -7
- package/cjs/internals/Picker/PickerPopup.js +1 -2
- package/cjs/internals/Picker/PickerToggle.js +1 -2
- package/cjs/internals/Picker/PickerToggleTrigger.js +1 -2
- package/cjs/internals/Picker/utils.js +1 -4
- package/cjs/internals/Provider/CustomContext.d.ts +20 -1
- package/cjs/internals/Provider/types.d.ts +6 -3
- package/cjs/internals/Ripple/Ripple.js +1 -2
- package/cjs/internals/SafeAnchor/SafeAnchor.js +1 -2
- package/cjs/internals/Tree/TreeProvider.js +4 -5
- package/cjs/internals/Tree/utils/filterNodesOfTree.js +1 -4
- package/cjs/internals/Tree/utils/findNodeOfTree.js +1 -4
- package/cjs/internals/Windowing/AutoSizer.js +1 -2
- package/cjs/internals/Windowing/List.js +1 -2
- package/cjs/internals/Windowing/index.js +1 -2
- package/cjs/internals/hooks/useClickOutside.js +5 -6
- package/cjs/internals/hooks/useEventCallback.js +1 -4
- package/cjs/internals/hooks/useEventListener.js +1 -4
- package/cjs/internals/hooks/usePortal.js +9 -15
- package/cjs/internals/hooks/useRootClose.js +6 -7
- package/cjs/internals/hooks/useStyles.js +5 -8
- package/cjs/internals/hooks/useTimeout.js +1 -7
- package/cjs/internals/hooks/useToggleCaret.d.ts +1 -1
- package/cjs/internals/intl/FormattedDate.js +4 -5
- package/cjs/internals/intl/FormattedNumber.js +5 -7
- package/cjs/internals/types/placement.d.ts +5 -0
- package/cjs/internals/utils/colours.js +1 -4
- package/cjs/internals/utils/composeFunctions.js +1 -4
- package/cjs/internals/utils/createChainedFunction.js +2 -8
- package/cjs/internals/utils/date/copyTime.js +4 -5
- package/cjs/internals/utils/getDataGroupBy.js +5 -8
- package/cjs/internals/utils/html/htmlPropsUtils.js +1 -4
- package/cjs/internals/utils/placement.js +1 -4
- package/cjs/internals/utils/react/createComponent.js +6 -7
- package/cjs/internals/utils/string/tplTransform.js +1 -4
- package/cjs/internals/utils/style-sheet/css.js +3 -12
- package/cjs/internals/utils/style-sheet/styles.js +2 -8
- package/cjs/locales/ar_EG.d.ts +6 -0
- package/cjs/locales/ar_EG.js +6 -0
- package/cjs/locales/ca_ES.d.ts +6 -0
- package/cjs/locales/ca_ES.js +6 -0
- package/cjs/locales/cs_CZ.d.ts +6 -0
- package/cjs/locales/cs_CZ.js +6 -0
- package/cjs/locales/da_DK.d.ts +6 -0
- package/cjs/locales/da_DK.js +6 -0
- package/cjs/locales/de_DE.d.ts +6 -0
- package/cjs/locales/de_DE.js +6 -0
- package/cjs/locales/en_GB.d.ts +6 -0
- package/cjs/locales/en_GB.js +6 -0
- package/cjs/locales/en_US.d.ts +6 -0
- package/cjs/locales/en_US.js +6 -0
- package/cjs/locales/es_AR.d.ts +6 -0
- package/cjs/locales/es_AR.js +6 -0
- package/cjs/locales/es_ES.d.ts +6 -0
- package/cjs/locales/es_ES.js +7 -1
- package/cjs/locales/fa_IR.d.ts +6 -0
- package/cjs/locales/fa_IR.js +6 -0
- package/cjs/locales/fi_FI.d.ts +6 -0
- package/cjs/locales/fi_FI.js +6 -0
- package/cjs/locales/fr_FR.d.ts +6 -0
- package/cjs/locales/fr_FR.js +6 -0
- package/cjs/locales/gu_IN.d.ts +157 -0
- package/cjs/locales/gu_IN.js +97 -0
- package/cjs/locales/hu_HU.d.ts +6 -0
- package/cjs/locales/hu_HU.js +6 -0
- package/cjs/locales/index.d.ts +3 -0
- package/cjs/locales/index.js +8 -2
- package/cjs/locales/it_IT.d.ts +6 -0
- package/cjs/locales/it_IT.js +6 -0
- package/cjs/locales/ja_JP.d.ts +6 -0
- package/cjs/locales/ja_JP.js +6 -0
- package/cjs/locales/kk_KZ.d.ts +6 -0
- package/cjs/locales/kk_KZ.js +6 -0
- package/cjs/locales/ko_KR.d.ts +6 -0
- package/cjs/locales/ko_KR.js +6 -0
- package/cjs/locales/ne_NP.d.ts +6 -0
- package/cjs/locales/ne_NP.js +6 -0
- package/cjs/locales/nl_NL.d.ts +6 -0
- package/cjs/locales/nl_NL.js +8 -2
- package/cjs/locales/pl_PL.d.ts +6 -0
- package/cjs/locales/pl_PL.js +6 -0
- package/cjs/locales/pt_BR.d.ts +6 -0
- package/cjs/locales/pt_BR.js +6 -0
- package/cjs/locales/ru_RU.d.ts +6 -0
- package/cjs/locales/ru_RU.js +6 -0
- package/cjs/locales/sv_SE.d.ts +6 -0
- package/cjs/locales/sv_SE.js +6 -0
- package/cjs/locales/th_TH.d.ts +169 -0
- package/cjs/locales/th_TH.js +100 -0
- package/cjs/locales/tr_TR.d.ts +6 -0
- package/cjs/locales/tr_TR.js +6 -0
- package/cjs/locales/uk_UA.d.ts +157 -0
- package/cjs/locales/uk_UA.js +97 -0
- package/cjs/locales/zh_CN.d.ts +6 -0
- package/cjs/locales/zh_CN.js +6 -0
- package/cjs/locales/zh_TW.d.ts +6 -0
- package/cjs/locales/zh_TW.js +6 -0
- package/cjs/toaster/ToastContainer.js +3 -4
- package/cjs/toaster/toaster.js +2 -6
- package/cjs/useDialog/Dialog.d.ts +15 -0
- package/cjs/useDialog/Dialog.js +109 -0
- package/cjs/useDialog/DialogContainer.d.ts +11 -0
- package/cjs/useDialog/DialogContainer.js +57 -0
- package/cjs/useDialog/index.d.ts +3 -0
- package/cjs/useDialog/index.js +15 -0
- package/cjs/useDialog/types.d.ts +33 -0
- package/cjs/useDialog/types.js +4 -0
- package/cjs/useDialog/useDialog.d.ts +15 -0
- package/cjs/useDialog/useDialog.js +126 -0
- package/cjs/{FormControl → useFormControl}/hooks/useField.d.ts +3 -3
- package/cjs/{FormControl → useFormControl}/hooks/useField.js +5 -6
- package/cjs/useFormControl/hooks/useRegisterModel.d.ts +2 -0
- package/cjs/{FormControl → useFormControl}/hooks/useRegisterModel.js +2 -3
- package/cjs/useFormControl/index.d.ts +4 -0
- package/cjs/useFormControl/index.js +11 -0
- package/cjs/useFormControl/useFormControl.d.ts +38 -0
- package/cjs/useFormControl/useFormControl.js +135 -0
- package/cjs/{FormControl/utils.js → useFormControl/utils/nameToPath.js} +0 -0
- package/cjs/useMediaQuery/breakpoints.js +4 -10
- package/cjs/useMediaQuery/useMediaQuery.js +1 -4
- package/cjs/useToaster/useToaster.d.ts +1 -1
- package/cjs/useToaster/useToaster.js +9 -9
- package/dist/rsuite-no-reset.css +14370 -13982
- package/dist/rsuite-no-reset.min.css +1 -2
- package/dist/rsuite.css +14599 -14187
- package/dist/rsuite.js +436 -260
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -2
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Animation/Bounce.js +4 -5
- package/esm/Animation/Fade.js +5 -6
- package/esm/Animation/Slide.js +5 -6
- package/esm/Calendar/MonthDropdown/MonthDropdown.js +16 -20
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.js +1 -2
- package/esm/Calendar/hooks/useCalendarDate.js +3 -6
- package/esm/CascadeTree/hooks/usePaths.js +7 -8
- package/esm/CheckTree/CheckTreeView.js +16 -20
- package/esm/CheckTree/hooks/useTreeValue.js +4 -5
- package/esm/CheckTreePicker/CheckTreePicker.d.ts +4 -0
- package/esm/CheckTreePicker/CheckTreePicker.js +28 -0
- package/esm/CustomProvider/CustomProvider.js +13 -2
- package/esm/DateInput/DateInput.js +4 -0
- package/esm/DateInput/hooks/useDateInputState.js +6 -7
- package/esm/DateInput/hooks/useIsFocused.js +4 -5
- package/esm/DateInput/hooks/useKeyboardInputEvent.js +7 -8
- package/esm/DateInput/test/types/TestKeyPressProps.d.ts +6 -0
- package/esm/DateInput/test/types/TestKeyPressProps.js +2 -0
- package/esm/DatePicker/DatePicker.js +2 -8
- package/esm/DatePicker/Toolbar.js +6 -7
- package/esm/DatePicker/utils.js +14 -24
- package/esm/DateRangeInput/DateRangeInput.js +5 -4
- package/esm/DateRangePicker/Calendar.d.ts +2 -1
- package/esm/DateRangePicker/Calendar.js +7 -1
- package/esm/DateRangePicker/DateRangePicker.d.ts +3 -1
- package/esm/DateRangePicker/DateRangePicker.js +8 -18
- package/esm/DateRangePicker/disabledDateUtils.js +4 -16
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +7 -8
- package/esm/DateRangePicker/utils.js +5 -6
- package/esm/Dropdown/Dropdown.js +8 -10
- package/esm/Dropdown/DropdownItem.js +5 -6
- package/esm/Dropdown/DropdownMenu.js +35 -41
- package/esm/Dropdown/DropdownState.js +1 -4
- package/esm/Form/FormContext.d.ts +1 -1
- package/esm/Form/hooks/useFormValidate.js +4 -9
- package/esm/Form/hooks/useSchemaModel.js +6 -9
- package/esm/FormControl/FormControl.d.ts +2 -2
- package/esm/FormControl/FormControl.js +53 -83
- package/esm/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/esm/FormGroup/FormGroup.d.ts +0 -18
- package/esm/FormGroup/FormGroup.js +1 -28
- package/esm/FormGroup/FormGroupContext.d.ts +4 -0
- package/esm/FormGroup/FormGroupContext.js +3 -0
- package/esm/FormGroup/index.d.ts +1 -1
- package/esm/FormGroup/index.js +1 -1
- package/esm/FormGroup/useFormGroup.d.ts +18 -0
- package/esm/FormGroup/useFormGroup.js +30 -0
- package/esm/Grid/utils/styles.js +1 -4
- package/esm/InlineEdit/useEditState.js +1 -1
- package/esm/InlineEdit/useFocusEvent.js +6 -7
- package/esm/Input/Input.js +1 -1
- package/esm/InputGroup/InputGroup.d.ts +0 -5
- package/esm/InputGroup/InputGroup.js +1 -1
- package/esm/InputGroup/InputGroupContext.d.ts +6 -0
- package/esm/InputGroup/InputGroupContext.js +3 -0
- package/esm/InputGroup/index.d.ts +1 -0
- package/esm/InputGroup/index.js +1 -0
- package/esm/List/helper/AutoScroller.js +7 -8
- package/esm/List/helper/useSortHelper.js +1 -1
- package/esm/List/helper/utils.js +4 -7
- package/esm/MaskedInput/adjustCaretPosition.js +11 -12
- package/esm/MaskedInput/conformToMask.js +1 -10
- package/esm/MaskedInput/createTextMaskInputElement.js +9 -10
- package/esm/MaskedInput/utilities.js +1 -7
- package/esm/Menu/MenuItem.js +5 -6
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +1 -4
- package/esm/MultiCascadeTree/utils.js +1 -4
- package/esm/Nav/AdaptiveNavItem.js +1 -1
- package/esm/Nav/Nav.js +1 -1
- package/esm/Nav/NavDropdown.js +8 -10
- package/esm/Nav/NavDropdownItem.js +5 -6
- package/esm/Nav/NavDropdownMenu.js +35 -41
- package/esm/Nav/NavMenu.js +1 -1
- package/esm/Navbar/NavbarDropdown.js +7 -9
- package/esm/Navbar/NavbarDropdownMenu.js +11 -14
- package/esm/NumberInput/utils/number.js +1 -4
- package/esm/Progress/Progress.d.ts +1 -1
- package/esm/Progress/Progress.js +1 -1
- package/esm/Progress/ProgressInfo.d.ts +17 -0
- package/esm/Progress/ProgressInfo.js +24 -0
- package/esm/Progress/ProgressLine.d.ts +20 -6
- package/esm/Progress/ProgressLine.js +49 -38
- package/esm/Progress/ProgressSections.d.ts +15 -0
- package/esm/Progress/ProgressSections.js +38 -0
- package/esm/Progress/ProgressStroke.d.ts +24 -0
- package/esm/Progress/ProgressStroke.js +46 -0
- package/esm/Progress/index.d.ts +3 -3
- package/esm/Progress/index.js +1 -1
- package/esm/Progress/types.d.ts +11 -0
- package/esm/Progress/types.js +2 -0
- package/esm/{Progress → ProgressCircle}/ProgressCircle.d.ts +20 -14
- package/esm/ProgressCircle/ProgressCircle.js +107 -0
- package/esm/ProgressCircle/ProgressCircleSections.d.ts +23 -0
- package/esm/ProgressCircle/ProgressCircleSections.js +47 -0
- package/esm/ProgressCircle/hooks/useProgressCirclePath.d.ts +28 -0
- package/esm/ProgressCircle/hooks/useProgressCirclePath.js +62 -0
- package/esm/ProgressCircle/index.d.ts +4 -0
- package/esm/ProgressCircle/index.js +8 -0
- package/esm/RangeSlider/RangeSlider.js +0 -1
- package/esm/Rate/useRatingStates.js +6 -7
- package/esm/Sidenav/ExpandedSidenavDropdown.js +10 -14
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +7 -9
- package/esm/Sidenav/Sidenav.d.ts +0 -15
- package/esm/Sidenav/Sidenav.js +1 -1
- package/esm/Sidenav/SidenavContext.d.ts +16 -0
- package/esm/Sidenav/SidenavContext.js +3 -0
- package/esm/Sidenav/SidenavDropdown.js +13 -16
- package/esm/Sidenav/SidenavDropdownItem.js +6 -7
- package/esm/Sidenav/SidenavDropdownMenu.js +36 -42
- package/esm/Sidenav/SidenavItem.js +6 -7
- package/esm/Sidenav/SidenavToggle.js +1 -1
- package/esm/Slider/ProgressBar.d.ts +0 -1
- package/esm/Slider/ProgressBar.js +1 -3
- package/esm/Slider/Slider.js +13 -4
- package/esm/Stack/Stack.js +4 -2
- package/esm/Stack/VStack.js +1 -3
- package/esm/Tree/TreeView.js +16 -20
- package/esm/Tree/hooks/useFlattenTree.js +2 -8
- package/esm/Tree/hooks/useVirtualizedTreeData.js +1 -7
- package/esm/Tree/utils/flattenTree.js +2 -8
- package/esm/Tree/utils/getExpandItemValues.js +6 -7
- package/esm/Tree/utils/indentTreeNode.js +1 -4
- package/esm/Uploader/UploadFileItem.js +1 -4
- package/esm/Uploader/Uploader.js +1 -4
- package/esm/global.d.ts +0 -6
- package/esm/index.d.ts +3 -0
- package/esm/index.js +3 -0
- package/esm/internals/InputBase/InputBase.js +1 -1
- package/esm/internals/Menu/Menu.js +12 -16
- package/esm/internals/Menu/Menubar.js +5 -6
- package/esm/internals/Overlay/OverlayTrigger.js +2 -9
- package/esm/internals/Overlay/Position.js +3 -6
- package/esm/internals/Overlay/types.d.ts +1 -1
- package/esm/internals/Overlay/utils/position.d.ts +24 -0
- package/esm/internals/Overlay/{positionUtils.js → utils/position.js} +134 -48
- package/esm/internals/Picker/Listbox.js +17 -21
- package/esm/internals/Picker/PickerIndicator.js +9 -10
- package/esm/internals/Picker/PickerLabel.js +6 -7
- package/esm/internals/Picker/utils.js +1 -4
- package/esm/internals/Provider/CustomContext.d.ts +20 -1
- package/esm/internals/Provider/types.d.ts +6 -3
- package/esm/internals/Tree/TreeProvider.js +4 -5
- package/esm/internals/Tree/utils/filterNodesOfTree.js +1 -4
- package/esm/internals/Tree/utils/findNodeOfTree.js +1 -4
- package/esm/internals/hooks/useClickOutside.js +5 -6
- package/esm/internals/hooks/useEventCallback.js +1 -4
- package/esm/internals/hooks/useEventListener.js +1 -4
- package/esm/internals/hooks/usePortal.js +8 -13
- package/esm/internals/hooks/useRootClose.js +6 -7
- package/esm/internals/hooks/useStyles.js +5 -8
- package/esm/internals/hooks/useTimeout.js +1 -7
- package/esm/internals/hooks/useToggleCaret.d.ts +1 -1
- package/esm/internals/intl/FormattedDate.js +4 -5
- package/esm/internals/intl/FormattedNumber.js +4 -5
- package/esm/internals/types/placement.d.ts +5 -0
- package/esm/internals/utils/colours.js +1 -4
- package/esm/internals/utils/composeFunctions.js +1 -4
- package/esm/internals/utils/createChainedFunction.js +2 -8
- package/esm/internals/utils/date/copyTime.js +4 -5
- package/esm/internals/utils/getDataGroupBy.js +5 -8
- package/esm/internals/utils/html/htmlPropsUtils.js +1 -4
- package/esm/internals/utils/placement.js +1 -4
- package/esm/internals/utils/react/createComponent.js +6 -7
- package/esm/internals/utils/string/tplTransform.js +1 -4
- package/esm/internals/utils/style-sheet/css.js +3 -12
- package/esm/internals/utils/style-sheet/styles.js +2 -8
- package/esm/locales/ar_EG.d.ts +6 -0
- package/esm/locales/ar_EG.js +6 -0
- package/esm/locales/ca_ES.d.ts +6 -0
- package/esm/locales/ca_ES.js +6 -0
- package/esm/locales/cs_CZ.d.ts +6 -0
- package/esm/locales/cs_CZ.js +6 -0
- package/esm/locales/da_DK.d.ts +6 -0
- package/esm/locales/da_DK.js +6 -0
- package/esm/locales/de_DE.d.ts +6 -0
- package/esm/locales/de_DE.js +6 -0
- package/esm/locales/en_GB.d.ts +6 -0
- package/esm/locales/en_GB.js +6 -0
- package/esm/locales/en_US.d.ts +6 -0
- package/esm/locales/en_US.js +6 -0
- package/esm/locales/es_AR.d.ts +6 -0
- package/esm/locales/es_AR.js +6 -0
- package/esm/locales/es_ES.d.ts +6 -0
- package/esm/locales/es_ES.js +7 -1
- package/esm/locales/fa_IR.d.ts +6 -0
- package/esm/locales/fa_IR.js +6 -0
- package/esm/locales/fi_FI.d.ts +6 -0
- package/esm/locales/fi_FI.js +6 -0
- package/esm/locales/fr_FR.d.ts +6 -0
- package/esm/locales/fr_FR.js +6 -0
- package/esm/locales/gu_IN.d.ts +157 -0
- package/esm/locales/gu_IN.js +93 -0
- package/esm/locales/hu_HU.d.ts +6 -0
- package/esm/locales/hu_HU.js +6 -0
- package/esm/locales/index.d.ts +3 -0
- package/esm/locales/index.js +4 -1
- package/esm/locales/it_IT.d.ts +6 -0
- package/esm/locales/it_IT.js +6 -0
- package/esm/locales/ja_JP.d.ts +6 -0
- package/esm/locales/ja_JP.js +6 -0
- package/esm/locales/kk_KZ.d.ts +6 -0
- package/esm/locales/kk_KZ.js +6 -0
- package/esm/locales/ko_KR.d.ts +6 -0
- package/esm/locales/ko_KR.js +6 -0
- package/esm/locales/ne_NP.d.ts +6 -0
- package/esm/locales/ne_NP.js +6 -0
- package/esm/locales/nl_NL.d.ts +6 -0
- package/esm/locales/nl_NL.js +8 -2
- package/esm/locales/pl_PL.d.ts +6 -0
- package/esm/locales/pl_PL.js +6 -0
- package/esm/locales/pt_BR.d.ts +6 -0
- package/esm/locales/pt_BR.js +6 -0
- package/esm/locales/ru_RU.d.ts +6 -0
- package/esm/locales/ru_RU.js +6 -0
- package/esm/locales/sv_SE.d.ts +6 -0
- package/esm/locales/sv_SE.js +6 -0
- package/esm/locales/th_TH.d.ts +169 -0
- package/esm/locales/th_TH.js +96 -0
- package/esm/locales/tr_TR.d.ts +6 -0
- package/esm/locales/tr_TR.js +6 -0
- package/esm/locales/uk_UA.d.ts +157 -0
- package/esm/locales/uk_UA.js +93 -0
- package/esm/locales/zh_CN.d.ts +6 -0
- package/esm/locales/zh_CN.js +6 -0
- package/esm/locales/zh_TW.d.ts +6 -0
- package/esm/locales/zh_TW.js +6 -0
- package/esm/toaster/ToastContainer.js +2 -2
- package/esm/toaster/toaster.js +1 -4
- package/esm/useDialog/Dialog.d.ts +15 -0
- package/esm/useDialog/Dialog.js +103 -0
- package/esm/useDialog/DialogContainer.d.ts +11 -0
- package/esm/useDialog/DialogContainer.js +52 -0
- package/esm/useDialog/index.d.ts +3 -0
- package/esm/useDialog/index.js +4 -0
- package/esm/useDialog/types.d.ts +33 -0
- package/esm/useDialog/types.js +2 -0
- package/esm/useDialog/useDialog.d.ts +15 -0
- package/esm/useDialog/useDialog.js +120 -0
- package/esm/{FormControl → useFormControl}/hooks/useField.d.ts +3 -3
- package/esm/{FormControl → useFormControl}/hooks/useField.js +4 -5
- package/esm/useFormControl/hooks/useRegisterModel.d.ts +2 -0
- package/esm/{FormControl → useFormControl}/hooks/useRegisterModel.js +2 -3
- package/esm/useFormControl/index.d.ts +4 -0
- package/esm/useFormControl/index.js +8 -0
- package/esm/useFormControl/useFormControl.d.ts +38 -0
- package/esm/useFormControl/useFormControl.js +130 -0
- package/esm/{FormControl/utils.js → useFormControl/utils/nameToPath.js} +0 -0
- package/esm/useMediaQuery/breakpoints.js +4 -10
- package/esm/useMediaQuery/useMediaQuery.js +1 -4
- package/esm/useToaster/useToaster.d.ts +1 -1
- package/esm/useToaster/useToaster.js +11 -10
- package/locales/gu_IN/package.json +7 -0
- package/locales/th_TH/package.json +7 -0
- package/locales/uk_UA/package.json +7 -0
- package/package.json +5 -6
- package/toaster/styles/index.css +107 -121
- package/useDialog/package.json +7 -0
- package/useFormControl/package.json +7 -0
- package/useToaster/styles/index.css +107 -121
- package/Accordion/styles/index.less +0 -2
- package/Animation/styles/animation.less +0 -95
- package/Animation/styles/bounce.less +0 -34
- package/Animation/styles/collapse.less +0 -23
- package/Animation/styles/fade.less +0 -10
- package/Animation/styles/index.less +0 -8
- package/Animation/styles/mixin.less +0 -15
- package/Animation/styles/slide.less +0 -24
- package/Animation/styles/variables.less +0 -4
- package/AutoComplete/styles/index.less +0 -37
- package/Avatar/styles/index.less +0 -48
- package/AvatarGroup/styles/index.less +0 -25
- package/Badge/styles/index.less +0 -101
- package/Badge/styles/variables.less +0 -19
- package/Box/styles/index.less +0 -1
- package/Breadcrumb/styles/index.less +0 -49
- package/Button/styles/index.less +0 -364
- package/Button/styles/mixin.less +0 -62
- package/Button/styles/variables.less +0 -30
- package/ButtonGroup/styles/index.less +0 -91
- package/ButtonToolbar/styles/index.less +0 -17
- package/Calendar/styles/index.less +0 -678
- package/Card/styles/index.less +0 -63
- package/CardGroup/styles/index.less +0 -8
- package/Carousel/styles/index.less +0 -192
- package/CascadeTree/styles/index.less +0 -88
- package/CascadeTree/styles/search.less +0 -35
- package/Cascader/styles/index.less +0 -5
- package/Center/styles/index.less +0 -9
- package/CheckPicker/styles/index.less +0 -21
- package/CheckTree/styles/index.less +0 -120
- package/CheckTreePicker/styles/index.less +0 -17
- package/Checkbox/styles/index.less +0 -153
- package/Checkbox/styles/mixin.less +0 -37
- package/CheckboxGroup/styles/index.less +0 -14
- package/Col/styles/index.less +0 -2
- package/Container/stories/styles.less +0 -23
- package/Container/styles/index.less +0 -16
- package/Content/styles/index.less +0 -6
- package/DateInput/styles/index.less +0 -1
- package/DatePicker/styles/index.less +0 -167
- package/DatePicker/styles/mixin.less +0 -8
- package/DateRangeInput/styles/index.less +0 -1
- package/DateRangePicker/styles/index.less +0 -145
- package/Divider/styles/index.less +0 -85
- package/Drawer/styles/index.less +0 -255
- package/Drawer/styles/mixin.less +0 -23
- package/Dropdown/styles/index.less +0 -341
- package/Dropdown/styles/mixin.less +0 -4
- package/FlexboxGrid/styles/index.less +0 -79
- package/Footer/styles/index.less +0 -5
- package/Form/styles/index.less +0 -1
- package/FormControl/styles/index.less +0 -79
- package/FormControlLabel/styles/index.less +0 -7
- package/FormErrorMessage/styles/animation.less +0 -43
- package/FormErrorMessage/styles/index.less +0 -179
- package/FormGroup/styles/index.less +0 -75
- package/FormHelpText/styles/index.less +0 -21
- package/FormStack/styles/index.less +0 -15
- package/Grid/styles/columns.less +0 -21
- package/Grid/styles/grid-framework.less +0 -92
- package/Grid/styles/index.less +0 -107
- package/Grid/styles/mixin.less +0 -12
- package/Grid/styles/row.less +0 -42
- package/Grid/styles/variables.less +0 -5
- package/Header/styles/index.less +0 -5
- package/Heading/styles/index.less +0 -42
- package/Heading/styles/variables.less +0 -19
- package/HeadingGroup/styles/index.less +0 -3
- package/Highlight/styles/index.less +0 -6
- package/IconButton/styles/index.less +0 -90
- package/Image/styles/index.less +0 -34
- package/InlineEdit/styles/index.less +0 -50
- package/Input/styles/index.less +0 -23
- package/Input/styles/mixin.less +0 -38
- package/Input/styles/variables.less +0 -22
- package/InputGroup/styles/index.less +0 -237
- package/InputNumber/styles/index.less +0 -1
- package/InputPicker/styles/index.less +0 -64
- package/InputPicker/styles/mixin.less +0 -7
- package/Kbd/styles/index.less +0 -20
- package/Kbd/styles/mixin.less +0 -24
- package/Kbd/styles/variables.less +0 -13
- package/Link/styles/index.less +0 -39
- package/List/styles/index.less +0 -113
- package/Loader/styles/index.less +0 -114
- package/Loader/styles/mixin.less +0 -33
- package/Loader/styles/variables.less +0 -16
- package/Menu/styles/index.less +0 -108
- package/Message/styles/index.less +0 -188
- package/Modal/styles/animation.less +0 -15
- package/Modal/styles/index.less +0 -189
- package/MultiCascadeTree/styles/index.less +0 -46
- package/MultiCascader/styles/index.less +0 -15
- package/Nav/styles/index.less +0 -366
- package/Navbar/styles/index.less +0 -236
- package/Notification/styles/index.less +0 -114
- package/NumberInput/styles/index.less +0 -74
- package/NumberInput/styles/mixin.less +0 -11
- package/Pagination/styles/index.less +0 -101
- package/Pagination/styles/mixin.less +0 -14
- package/Pagination/styles/pagination-group.less +0 -31
- package/Panel/styles/index.less +0 -121
- package/PanelGroup/styles/index.less +0 -34
- package/PasswordInput/styles/index.less +0 -1
- package/PasswordStrengthMeter/styles/index.less +0 -39
- package/PinInput/styles/index.less +0 -66
- package/Placeholder/styles/index.less +0 -148
- package/Placeholder/styles/mixin.less +0 -7
- package/Popover/styles/index.less +0 -202
- package/Popover/styles/mixins.less +0 -60
- package/Progress/styles/animation.less +0 -34
- package/Progress/styles/index.less +0 -187
- package/ProgressLine/package.json +0 -7
- package/Radio/styles/index.less +0 -144
- package/Radio/styles/mixin.less +0 -5
- package/RadioGroup/styles/index.less +0 -87
- package/RadioTile/styles/index.less +0 -79
- package/RadioTileGroup/styles/index.less +0 -1
- package/RangeSlider/styles/index.less +0 -4
- package/Rate/styles/index.less +0 -139
- package/Row/styles/index.less +0 -2
- package/SelectPicker/styles/index.less +0 -47
- package/Sidebar/styles/index.less +0 -15
- package/Sidenav/styles/index.less +0 -655
- package/Sidenav/styles/mixin.less +0 -23
- package/Slider/styles/index.less +0 -296
- package/Stack/styles/index.less +0 -83
- package/Stat/styles/index.less +0 -113
- package/StatGroup/styles/index.less +0 -8
- package/Steps/styles/index.less +0 -222
- package/Table/styles/index.less +0 -433
- package/Table/styles/mixin.less +0 -8
- package/Tabs/styles/index.less +0 -24
- package/Tag/styles/index.less +0 -55
- package/TagGroup/styles/index.less +0 -14
- package/TagInput/styles/index.less +0 -5
- package/TagPicker/styles/index.less +0 -136
- package/Text/styles/index.less +0 -122
- package/Text/styles/variables.less +0 -9
- package/Textarea/styles/index.less +0 -7
- package/TimePicker/styles/index.less +0 -1
- package/TimeRangePicker/styles/index.less +0 -1
- package/Timeline/stories/styles.less +0 -29
- package/Timeline/styles/index.less +0 -174
- package/Timeline/styles/mixin.less +0 -13
- package/Toggle/styles/index.less +0 -278
- package/Tooltip/styles/index.less +0 -161
- package/Tooltip/styles/mixins.less +0 -60
- package/Tree/styles/indent-line.less +0 -8
- package/Tree/styles/index.less +0 -186
- package/Tree/styles/toggle.less +0 -32
- package/TreePicker/styles/index.less +0 -16
- package/Uploader/styles/index.less +0 -468
- package/Uploader/styles/mixin.less +0 -11
- package/VisuallyHidden/styles/index.less +0 -11
- package/cjs/FormControl/hooks/useRegisterModel.d.ts +0 -3
- package/cjs/Progress/ProgressCircle.js +0 -132
- package/cjs/internals/Overlay/positionUtils.d.ts +0 -15
- package/dist/rsuite-no-reset-rtl.css +0 -15243
- package/dist/rsuite-no-reset-rtl.min.css +0 -2
- package/dist/rsuite-no-reset-rtl.min.css.map +0 -1
- package/dist/rsuite-no-reset.min.css.map +0 -1
- package/dist/rsuite-rtl.css +0 -15494
- package/dist/rsuite-rtl.min.css +0 -2
- package/dist/rsuite-rtl.min.css.map +0 -1
- package/dist/rsuite.min.css.map +0 -1
- package/esm/FormControl/hooks/useRegisterModel.d.ts +0 -3
- package/esm/Progress/ProgressCircle.js +0 -125
- package/esm/internals/Overlay/positionUtils.d.ts +0 -15
- package/internals/Box/styles/index.less +0 -82
- package/internals/Burger/styles/index.less +0 -67
- package/internals/CloseButton/styles/index.less +0 -15
- package/internals/Picker/styles/index.less +0 -477
- package/internals/Picker/styles/mixin.less +0 -131
- package/internals/Ripple/styles/index.less +0 -36
- package/internals/Ripple/styles/mixins.less +0 -6
- package/internals/ScrollView/styles/index.less +0 -69
- package/internals/SearchBox/styles/index.less +0 -11
- package/styles/color-modes/dark.less +0 -441
- package/styles/color-modes/high-contrast.less +0 -452
- package/styles/color-modes/light.less +0 -464
- package/styles/colors/dark.less +0 -105
- package/styles/colors/high-contrast.less +0 -105
- package/styles/colors/light.less +0 -105
- package/styles/common.less +0 -13
- package/styles/index.less +0 -106
- package/styles/mixins/color-modes.less +0 -16
- package/styles/mixins/combobox.less +0 -6
- package/styles/mixins/hacks.less +0 -32
- package/styles/mixins/listbox.less +0 -68
- package/styles/mixins/menu.less +0 -12
- package/styles/mixins/utilities.less +0 -183
- package/styles/normalize.less +0 -247
- package/styles/plugins/palette.js +0 -1407
- package/styles/root.less +0 -83
- package/styles/scaffolding.less +0 -54
- package/styles/typography.less +0 -123
- package/styles/variables.less +0 -638
- package/toaster/styles/animation.less +0 -54
- package/toaster/styles/index.less +0 -100
- package/useToaster/styles/index.less +0 -1
- /package/cjs/{FormControl/utils.d.ts → useFormControl/utils/nameToPath.d.ts} +0 -0
- /package/esm/{FormControl/utils.d.ts → useFormControl/utils/nameToPath.d.ts} +0 -0
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@import '../../styles/common';
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// PanelGroup
|
|
5
|
-
// --------------------------------------------------
|
|
6
|
-
|
|
7
|
-
.rs-panel-group {
|
|
8
|
-
// The first panel and the last panel in a panel group need set border-radius.
|
|
9
|
-
border-radius: var(--rs-radius-md);
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
|
|
12
|
-
&-bordered {
|
|
13
|
-
border: 1px solid var(--rs-border-primary);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Panel in Panel group haven't border.
|
|
17
|
-
> .rs-panel {
|
|
18
|
-
border: none;
|
|
19
|
-
|
|
20
|
-
// Draw a split line for panel
|
|
21
|
-
& + .rs-panel {
|
|
22
|
-
position: relative;
|
|
23
|
-
|
|
24
|
-
&::before {
|
|
25
|
-
content: '';
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0;
|
|
28
|
-
border-top: 1px solid var(--rs-border-primary);
|
|
29
|
-
inset-inline-start: 20px;
|
|
30
|
-
inset-inline-end: 20px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '../../Input/styles/index.less';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.rs-password-strength-meter {
|
|
2
|
-
--rs-password-strength-meter-color-low: var(--rs-color-red);
|
|
3
|
-
--rs-password-strength-meter-color-medium: var(--rs-color-orange);
|
|
4
|
-
--rs-password-strength-meter-color-high: var(--rs-color-green);
|
|
5
|
-
--rs-password-strength-meter-bg: var(--rs-gray-200);
|
|
6
|
-
|
|
7
|
-
margin-top: calc(var(--rs-spacing) * 2);
|
|
8
|
-
width: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-end;
|
|
12
|
-
|
|
13
|
-
&-bar {
|
|
14
|
-
display: flex;
|
|
15
|
-
gap: var(--rs-spacing);
|
|
16
|
-
margin-bottom: var(--rs-spacing);
|
|
17
|
-
width: 100%;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-segment {
|
|
21
|
-
flex: 1;
|
|
22
|
-
height: 6px;
|
|
23
|
-
border-radius: 2px;
|
|
24
|
-
background: var(--rs-password-strength-meter-bg);
|
|
25
|
-
transition: background 0.3s;
|
|
26
|
-
|
|
27
|
-
&:where([data-active='true']) {
|
|
28
|
-
background: var(--rs-password-strength-meter-color-medium);
|
|
29
|
-
|
|
30
|
-
&:first-child {
|
|
31
|
-
background: var(--rs-password-strength-meter-color-low);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:last-child {
|
|
35
|
-
background: var(--rs-password-strength-meter-color-high);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@import '../../Input/styles/index.less';
|
|
2
|
-
@import '../../styles/common';
|
|
3
|
-
|
|
4
|
-
.rs-pin-input {
|
|
5
|
-
--rs-pin-input-size-lg: 42px;
|
|
6
|
-
--rs-pin-input-size-md: 36px;
|
|
7
|
-
--rs-pin-input-size-sm: 30px;
|
|
8
|
-
--rs-pin-input-size-xs: 24px;
|
|
9
|
-
|
|
10
|
-
--rs-pin-input-size: var(--rs-pin-input-size-md);
|
|
11
|
-
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
align-items: center;
|
|
15
|
-
|
|
16
|
-
// Individual segment styling
|
|
17
|
-
&-segment {
|
|
18
|
-
text-align: center;
|
|
19
|
-
width: var(--rs-pin-input-size);
|
|
20
|
-
caret-color: transparent;
|
|
21
|
-
|
|
22
|
-
// Size variants
|
|
23
|
-
&.rs-input-lg {
|
|
24
|
-
--rs-pin-input-size: var(--rs-pin-input-size-lg);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.rs-input-md {
|
|
28
|
-
--rs-pin-input-size: var(--rs-pin-input-size-md);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.rs-input-sm {
|
|
32
|
-
--rs-pin-input-size: var(--rs-pin-input-size-sm);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.rs-input-xs {
|
|
36
|
-
--rs-pin-input-size: var(--rs-pin-input-size-xs);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Masked input styling
|
|
41
|
-
&-masked {
|
|
42
|
-
font-family: monospace;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Attached segments
|
|
46
|
-
&-attached {
|
|
47
|
-
.rs-pin-input-segment {
|
|
48
|
-
&:not(:first-child) {
|
|
49
|
-
margin-left: -1px;
|
|
50
|
-
border-top-left-radius: 0;
|
|
51
|
-
border-bottom-left-radius: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:not(:last-child) {
|
|
55
|
-
border-top-right-radius: 0;
|
|
56
|
-
border-bottom-right-radius: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Focus state for attached inputs
|
|
60
|
-
&:focus {
|
|
61
|
-
z-index: 1;
|
|
62
|
-
position: relative;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
@import '../../styles/common.less';
|
|
2
|
-
@import './mixin.less';
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
// Placeholder
|
|
6
|
-
// --------------------------------------------------
|
|
7
|
-
|
|
8
|
-
.rs-placeholder {
|
|
9
|
-
--rs-placeholder-row-height: 0.625rem;
|
|
10
|
-
--rs-placeholder-row-spacing: calc(var(--rs-spacing) * 4);
|
|
11
|
-
--rs-placeholder-paragraph-graph-width: 3.875rem;
|
|
12
|
-
--rs-placeholder-graph-width: 100%;
|
|
13
|
-
--rs-placeholder-graph-height: 12.5rem;
|
|
14
|
-
--rs-placeholder-bg-color: var(--rs-placeholder);
|
|
15
|
-
--rs-placeholder-bg-size: auto;
|
|
16
|
-
--rs-placeholder-img-color: var(--rs-bg-card);
|
|
17
|
-
|
|
18
|
-
display: flex;
|
|
19
|
-
|
|
20
|
-
&-paragraph {
|
|
21
|
-
justify-content: flex-start;
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
gap: var(--rs-placeholder-row-spacing);
|
|
24
|
-
|
|
25
|
-
&-graph {
|
|
26
|
-
flex: 0 0 auto;
|
|
27
|
-
width: var(--rs-placeholder-paragraph-graph-width);
|
|
28
|
-
height: var(--rs-placeholder-paragraph-graph-width);
|
|
29
|
-
border-radius: var(--rs-radius-xs);
|
|
30
|
-
background: var(--rs-placeholder-bg-color);
|
|
31
|
-
background-size: var(--rs-placeholder-bg-size);
|
|
32
|
-
|
|
33
|
-
&-circle {
|
|
34
|
-
border-radius: var(--rs-radius-full);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-image {
|
|
38
|
-
width: 80px;
|
|
39
|
-
height: var(--rs-placeholder-paragraph-graph-width);
|
|
40
|
-
position: relative;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
|
|
43
|
-
&::after {
|
|
44
|
-
content: '';
|
|
45
|
-
width: 0;
|
|
46
|
-
height: 0;
|
|
47
|
-
inset-inline-start: 10px;
|
|
48
|
-
bottom: 10px;
|
|
49
|
-
position: absolute;
|
|
50
|
-
border-bottom: 36px solid var(--rs-placeholder-img-color);
|
|
51
|
-
border-left: 20px solid transparent;
|
|
52
|
-
border-right: 30px solid transparent;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&::before {
|
|
56
|
-
content: '';
|
|
57
|
-
width: 0;
|
|
58
|
-
height: 0;
|
|
59
|
-
inset-inline-start: 40px;
|
|
60
|
-
bottom: 10px;
|
|
61
|
-
position: absolute;
|
|
62
|
-
border-bottom: 22px solid var(--rs-placeholder-img-color);
|
|
63
|
-
border-left: 16px solid transparent;
|
|
64
|
-
border-right: 16px solid transparent;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-image &-inner {
|
|
69
|
-
width: 12px;
|
|
70
|
-
height: 12px;
|
|
71
|
-
inset-inline-end: 18px;
|
|
72
|
-
top: 10px;
|
|
73
|
-
border-radius: var(--rs-radius-full);
|
|
74
|
-
background: var(--rs-placeholder-img-color);
|
|
75
|
-
position: absolute;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-group {
|
|
80
|
-
width: 100%;
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
gap: var(--rs-placeholder-row-spacing);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.rs-placeholder-row {
|
|
87
|
-
@widths: 100% 50% 80% 65% 90% 70% 85% 60% 75%;
|
|
88
|
-
.generate-row-width(@widths, length(@widths));
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&-row {
|
|
93
|
-
background: var(--rs-placeholder-bg-color);
|
|
94
|
-
background-size: var(--rs-placeholder-bg-size);
|
|
95
|
-
width: 100%;
|
|
96
|
-
height: var(--rs-placeholder-row-height);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-grid {
|
|
100
|
-
&-col {
|
|
101
|
-
flex: 1;
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: column;
|
|
104
|
-
align-items: flex-end;
|
|
105
|
-
gap: var(--rs-placeholder-row-spacing);
|
|
106
|
-
|
|
107
|
-
&:first-child {
|
|
108
|
-
align-items: flex-start; //first col align left
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.rs-placeholder-row {
|
|
112
|
-
width: 30%;
|
|
113
|
-
@widths: 50% 25% 35%;
|
|
114
|
-
.generate-row-width(@widths, length(@widths));
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&-graph {
|
|
120
|
-
display: inline-block;
|
|
121
|
-
width: var(--rs-placeholder-graph-width);
|
|
122
|
-
height: var(--rs-placeholder-graph-height);
|
|
123
|
-
background: var(--rs-placeholder-bg-color);
|
|
124
|
-
background-size: var(--rs-placeholder-bg-size);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&&-active {
|
|
128
|
-
animation: placeholder-active 1.5s ease infinite;
|
|
129
|
-
|
|
130
|
-
--rs-placeholder-bg-color: linear-gradient(
|
|
131
|
-
-45deg,
|
|
132
|
-
var(--rs-placeholder) 25%,
|
|
133
|
-
var(--rs-placeholder-active) 37%,
|
|
134
|
-
var(--rs-placeholder) 63%
|
|
135
|
-
);
|
|
136
|
-
--rs-placeholder-bg-size: 400% 100%;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@keyframes placeholder-active {
|
|
140
|
-
0% {
|
|
141
|
-
background-position: 100% 50%;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
100% {
|
|
145
|
-
background-position: 0 50%;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
@import '../../styles/common.less';
|
|
2
|
-
@import '../../Heading/styles/index.less';
|
|
3
|
-
@import './mixins.less';
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
// Popovers
|
|
7
|
-
// --------------------------------------------------
|
|
8
|
-
.rs-popover {
|
|
9
|
-
--rs-popover-font-size: var(--rs-font-size-xs);
|
|
10
|
-
--rs-popover-line-height: var(--rs-text-line-height-xs);
|
|
11
|
-
--rs-popover-title-font-size: var(--rs-font-size-sm);
|
|
12
|
-
--rs-popover-title-line-height: var(--rs-text-line-height-sm);
|
|
13
|
-
--rs-popover-border-radius: var(--rs-radius-sm);
|
|
14
|
-
--rs-popover-position-x: var(--rs-position-x);
|
|
15
|
-
--rs-popover-position-y: var(--rs-position-y);
|
|
16
|
-
--rs-popover-opacity: var(--rs-opacity, 0);
|
|
17
|
-
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: var(--rs-popover-position-y);
|
|
20
|
-
left: var(--rs-popover-position-x) /* rtl:ignore */;
|
|
21
|
-
z-index: @zindex-popover;
|
|
22
|
-
display: block;
|
|
23
|
-
padding: 12px;
|
|
24
|
-
font-size: var(--rs-popover-font-size);
|
|
25
|
-
background-color: var(--rs-bg-overlay);
|
|
26
|
-
background-clip: padding-box;
|
|
27
|
-
border-radius: var(--rs-popover-border-radius);
|
|
28
|
-
opacity: var(--rs-popover-opacity);
|
|
29
|
-
|
|
30
|
-
.drop-shadow(var(--rs-popover-shadow));
|
|
31
|
-
|
|
32
|
-
&.rs-anim-fade {
|
|
33
|
-
transition:
|
|
34
|
-
opacity 0.1s linear,
|
|
35
|
-
transform 0.1s ease-out;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.rs-anim-in {
|
|
39
|
-
--rs-popover-opacity: 1;
|
|
40
|
-
|
|
41
|
-
transition:
|
|
42
|
-
opacity 0.15s linear,
|
|
43
|
-
transform 0.15s ease-in;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.high-contrast-mode({
|
|
47
|
-
border: 1px solid var(--rs-border-primary);
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
// Arrow is outer, Arrow:after is inner
|
|
51
|
-
> .rs-popover-arrow {
|
|
52
|
-
border-width: @popover-arrow-outer-width;
|
|
53
|
-
|
|
54
|
-
&,
|
|
55
|
-
&::before,
|
|
56
|
-
&::after {
|
|
57
|
-
position: absolute;
|
|
58
|
-
display: block;
|
|
59
|
-
width: 0;
|
|
60
|
-
height: 0;
|
|
61
|
-
border-color: transparent;
|
|
62
|
-
border-style: solid;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&::before,
|
|
66
|
-
&::after {
|
|
67
|
-
border-width: @popover-arrow-width;
|
|
68
|
-
content: '';
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&::before {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.high-contrast-mode({
|
|
76
|
-
&::before {
|
|
77
|
-
display: block;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Popover Title
|
|
83
|
-
&-title {
|
|
84
|
-
margin: 0; // reset heading margin
|
|
85
|
-
font-size: var(--rs-popover-title-font-size);
|
|
86
|
-
line-height: var(--rs-popover-title-line-height);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Popover Content
|
|
90
|
-
&-content {
|
|
91
|
-
font-size: var(--rs-popover-font-size);
|
|
92
|
-
line-height: var(--rs-popover-line-height);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&-title ~ &-content {
|
|
96
|
-
margin-top: 8px;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.rs-popover {
|
|
101
|
-
// Vertical placement styles (top/bottom)
|
|
102
|
-
&:where([data-placement*='top']) {
|
|
103
|
-
margin-top: -(@popover-arrow-width + 2px);
|
|
104
|
-
.set-translate-transition(0, -@popover-translate-distance);
|
|
105
|
-
|
|
106
|
-
> .rs-popover-arrow {
|
|
107
|
-
margin-inline-start: -@popover-arrow-outer-width;
|
|
108
|
-
bottom: -@popover-arrow-outer-width;
|
|
109
|
-
|
|
110
|
-
.with-popover-arrow(bottom);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:where([data-placement*='bottom']) {
|
|
115
|
-
margin-top: (@popover-arrow-width + 2px);
|
|
116
|
-
.set-translate-transition(0, @popover-translate-distance);
|
|
117
|
-
|
|
118
|
-
> .rs-popover-arrow {
|
|
119
|
-
margin-left: -@popover-arrow-outer-width;
|
|
120
|
-
top: -@popover-arrow-outer-width;
|
|
121
|
-
|
|
122
|
-
.with-popover-arrow(top);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Arrow positioning for different placements
|
|
127
|
-
// Vertical centered arrow
|
|
128
|
-
&:where([data-placement='bottom'], [data-placement='top']) {
|
|
129
|
-
> .rs-popover-arrow {
|
|
130
|
-
left: 50%;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&:where([data-placement='bottom-end'], [data-placement='top-end']) {
|
|
135
|
-
> .rs-popover-arrow {
|
|
136
|
-
right: @popover-arrow-gap;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&:where([data-placement='left'], [data-placement='right']) {
|
|
141
|
-
> .rs-popover-arrow {
|
|
142
|
-
top: 50%;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&:where([data-placement='left-end'], [data-placement='right-end']) {
|
|
147
|
-
> .rs-popover-arrow {
|
|
148
|
-
bottom: @popover-arrow-gap;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/* rtl:begin:ignore */
|
|
154
|
-
.rs-popover {
|
|
155
|
-
&:where([data-placement*='right']) {
|
|
156
|
-
margin-left: (@popover-arrow-width + 2px);
|
|
157
|
-
.set-translate-transition(@popover-translate-distance, 0);
|
|
158
|
-
|
|
159
|
-
> .rs-popover-arrow {
|
|
160
|
-
left: -@popover-arrow-outer-width;
|
|
161
|
-
margin-top: -@popover-arrow-outer-width;
|
|
162
|
-
|
|
163
|
-
.with-popover-arrow(left);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&:where([data-placement*='left']) {
|
|
168
|
-
margin-left: -(@popover-arrow-width + 2px);
|
|
169
|
-
.set-translate-transition(-@popover-translate-distance, 0);
|
|
170
|
-
|
|
171
|
-
> .rs-popover-arrow {
|
|
172
|
-
right: -@popover-arrow-outer-width;
|
|
173
|
-
margin-top: -@popover-arrow-outer-width;
|
|
174
|
-
|
|
175
|
-
.with-popover-arrow(right);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
/* rtl:end:ignore */
|
|
180
|
-
|
|
181
|
-
// Adjust full popover arrow postion
|
|
182
|
-
.rs-popover-full {
|
|
183
|
-
// Reset content padding when [full]
|
|
184
|
-
padding: 0;
|
|
185
|
-
|
|
186
|
-
// Reset content margin-top when [full]
|
|
187
|
-
.rs-popover-content {
|
|
188
|
-
margin-top: 0;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&:where([data-placement='top-start'], [data-placement='bottom-start']) {
|
|
192
|
-
> .rs-popover-arrow {
|
|
193
|
-
margin-inline-start: @popover-arrow-outer-width;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&:where([data-placement='right-start'], [data-placement='left-start']) {
|
|
198
|
-
> .rs-popover-arrow {
|
|
199
|
-
margin-top: @popover-arrow-outer-width;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
@import '../../styles/variables';
|
|
2
|
-
@import '../../styles/mixins/hacks';
|
|
3
|
-
@import '../../styles/mixins/color-modes';
|
|
4
|
-
|
|
5
|
-
// Draw a triangle towards given direction
|
|
6
|
-
// .popover-arrow(@direction, @size, @color)
|
|
7
|
-
//
|
|
8
|
-
// @direction: top | right | bottom | left
|
|
9
|
-
// @size: Size (height) of the triangle
|
|
10
|
-
// @color: Filling color of the triangle
|
|
11
|
-
|
|
12
|
-
.popover-arrow(top, @size, @color) {
|
|
13
|
-
top: -@size;
|
|
14
|
-
margin-left: -@size;
|
|
15
|
-
border-width: 0 @size @size;
|
|
16
|
-
border-bottom-color: @color;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.popover-arrow(bottom, @size, @color) {
|
|
20
|
-
bottom: -@size;
|
|
21
|
-
margin-left: -@size;
|
|
22
|
-
border-width: @size @size 0;
|
|
23
|
-
border-top-color: @color;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* rtl:begin:ignore */
|
|
27
|
-
.popover-arrow(right, @size, @color) {
|
|
28
|
-
right: -@size;
|
|
29
|
-
margin-top: -@size;
|
|
30
|
-
border-width: @size 0 @size @size;
|
|
31
|
-
border-left-color: @color;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.popover-arrow(left, @size, @color) {
|
|
35
|
-
left: -@size;
|
|
36
|
-
margin-top: -@size;
|
|
37
|
-
border-width: @size @size @size 0;
|
|
38
|
-
border-right-color: @color;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* rtl:end:ignore */
|
|
42
|
-
|
|
43
|
-
// Append Popover's arrow to Popover
|
|
44
|
-
// @direction: The arrow's pointing direction. It's usually opposite of popover's placement
|
|
45
|
-
// e.g. popover[placement="top"] has an arrow[direction="bottom"]
|
|
46
|
-
// @size: The arrow's size (height)
|
|
47
|
-
// @bg: The arrow's background color, usually equal to popover's background
|
|
48
|
-
// @border: The arrow's border color, usually equal to popover's border (which only take effect
|
|
49
|
-
// in high-contrast theme)
|
|
50
|
-
.with-popover-arrow(@direction, @size: @popover-arrow-width, @bg: var(--rs-bg-overlay), @border: var(--rs-border-primary)) {
|
|
51
|
-
&::after {
|
|
52
|
-
.popover-arrow(@direction, @size, @bg);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.high-contrast-mode({
|
|
56
|
-
&::before {
|
|
57
|
-
.popover-arrow(@direction, @size + 1px, @border);
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
@keyframes progress-active {
|
|
3
|
-
0% {
|
|
4
|
-
opacity: 0.1;
|
|
5
|
-
width: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
20% {
|
|
9
|
-
opacity: 0.5;
|
|
10
|
-
width: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
100% {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@keyframes progress-active-vertical {
|
|
20
|
-
0% {
|
|
21
|
-
opacity: 0.1;
|
|
22
|
-
height: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
20% {
|
|
26
|
-
opacity: 0.5;
|
|
27
|
-
height: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
100% {
|
|
31
|
-
opacity: 0;
|
|
32
|
-
height: 100%;
|
|
33
|
-
}
|
|
34
|
-
}
|