rsuite 6.0.0-canary-2025011413 → 6.0.0-canary-2025031415
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 +84 -50
- package/AutoComplete/styles/index.css +509 -1297
- package/AutoComplete/styles/index.less +6 -1
- package/Avatar/styles/index.css +28 -161
- package/Avatar/styles/index.less +25 -51
- package/AvatarGroup/styles/index.css +120 -5
- package/AvatarGroup/styles/index.less +5 -5
- package/Badge/styles/index.css +55 -56
- package/Badge/styles/index.less +32 -34
- package/Badge/styles/variables.less +19 -0
- package/Box/package.json +7 -0
- package/Box/styles/index.css +167 -0
- package/Box/styles/index.less +1 -0
- package/Breadcrumb/styles/index.css +22 -11
- package/Breadcrumb/styles/index.less +13 -3
- package/Button/styles/index.css +107 -202
- package/Button/styles/index.less +44 -35
- package/Button/styles/mixin.less +24 -87
- package/Button/styles/variables.less +30 -0
- package/ButtonGroup/styles/index.css +8 -2
- package/ButtonGroup/styles/index.less +14 -2
- package/ButtonToolbar/styles/index.css +115 -0
- package/CHANGELOG.md +41 -0
- package/Calendar/styles/index.css +162 -257
- package/Calendar/styles/index.less +52 -44
- package/Card/styles/index.css +21 -18
- package/Card/styles/index.less +8 -7
- package/CardGroup/styles/index.css +4 -4
- package/CardGroup/styles/index.less +4 -4
- package/Carousel/styles/index.css +22 -18
- package/Carousel/styles/index.less +10 -10
- package/CascadeTree/styles/index.css +27 -21
- package/CascadeTree/styles/index.less +10 -8
- package/Cascader/styles/index.css +543 -1336
- package/Center/package.json +7 -0
- package/Center/styles/index.css +8 -0
- package/Center/styles/index.less +9 -0
- package/CheckPicker/styles/index.css +562 -1430
- package/CheckPicker/styles/index.less +3 -10
- package/CheckTree/styles/index.css +604 -1488
- package/CheckTree/styles/index.less +13 -33
- package/CheckTreePicker/styles/index.css +604 -1491
- package/CheckTreePicker/styles/index.less +0 -4
- package/Checkbox/styles/index.css +53 -122
- package/Checkbox/styles/index.less +32 -51
- package/Checkbox/styles/mixin.less +3 -20
- package/CheckboxGroup/styles/index.css +9 -6
- package/CheckboxGroup/styles/index.less +7 -7
- package/Col/styles/index.css +0 -20
- package/Col/styles/index.less +2 -14
- package/DateInput/styles/index.css +64 -45
- package/DatePicker/styles/index.css +578 -1365
- package/DatePicker/styles/index.less +8 -8
- package/DateRangeInput/styles/index.css +64 -45
- package/DateRangePicker/styles/index.css +585 -1372
- package/DateRangePicker/styles/index.less +4 -4
- package/Divider/styles/index.css +57 -23
- package/Divider/styles/index.less +60 -15
- package/Drawer/styles/index.css +74 -68
- package/Drawer/styles/index.less +69 -86
- package/Dropdown/styles/index.css +182 -309
- package/Dropdown/styles/index.less +70 -84
- package/Dropdown/styles/mixin.less +0 -38
- package/FlexboxGrid/styles/index.css +26 -1
- package/FlexboxGrid/styles/index.less +3 -1
- package/Form/styles/index.css +11 -11
- package/Form/styles/index.less +12 -16
- package/FormControl/styles/index.css +15 -6
- package/FormControl/styles/index.less +17 -13
- package/FormControlLabel/styles/index.css +8 -11
- package/FormControlLabel/styles/index.less +0 -4
- package/FormErrorMessage/styles/animation.less +4 -4
- package/FormErrorMessage/styles/index.css +68 -103
- package/FormErrorMessage/styles/index.less +90 -133
- package/FormGroup/styles/index.css +33 -33
- package/FormGroup/styles/index.less +26 -27
- package/FormHelpText/styles/index.css +14 -11
- package/FormHelpText/styles/index.less +2 -3
- package/Grid/styles/columns.less +22 -0
- package/Grid/styles/grid-framework.less +66 -5
- package/Grid/styles/index.css +1179 -457
- package/Grid/styles/index.less +6 -19
- package/Grid/styles/mixin.less +5 -12
- package/Grid/styles/row.less +42 -0
- package/Grid/styles/variables.less +5 -0
- package/Heading/styles/index.css +46 -15
- package/Heading/styles/index.less +17 -16
- package/Heading/styles/variables.less +19 -0
- package/Highlight/styles/index.css +1 -1
- package/Highlight/styles/index.less +1 -1
- package/IconButton/styles/index.css +142 -205
- package/IconButton/styles/index.less +33 -5
- package/Image/styles/index.css +2 -2
- package/Image/styles/index.less +2 -2
- package/InlineEdit/styles/index.css +42 -48
- package/InlineEdit/styles/index.less +19 -17
- package/Input/styles/index.css +64 -45
- package/Input/styles/index.less +13 -14
- package/Input/styles/mixin.less +43 -0
- package/Input/styles/variables.less +22 -0
- package/InputGroup/styles/index.css +182 -536
- package/InputGroup/styles/index.less +94 -248
- package/InputNumber/styles/index.css +255 -627
- package/InputNumber/styles/index.less +20 -41
- package/InputPicker/styles/index.css +589 -1417
- package/InputPicker/styles/index.less +23 -65
- package/Kbd/package.json +7 -0
- package/Kbd/styles/index.css +108 -0
- package/Kbd/styles/index.less +20 -0
- package/Kbd/styles/mixin.less +24 -0
- package/Kbd/styles/variables.less +13 -0
- package/List/styles/index.css +19 -15
- package/List/styles/index.less +7 -7
- package/Loader/styles/index.css +64 -172
- package/Loader/styles/index.less +28 -101
- package/Loader/styles/mixin.less +4 -25
- package/Loader/styles/variables.less +16 -0
- package/Menu/package.json +7 -0
- package/Menu/styles/index.css +191 -0
- package/Menu/styles/index.less +108 -0
- package/MenuItem/package.json +7 -0
- package/MenuSeparator/package.json +7 -0
- package/Message/styles/index.css +111 -174
- package/Message/styles/index.less +72 -99
- package/Modal/styles/index.css +105 -115
- package/Modal/styles/index.less +122 -120
- package/MultiCascadeTree/styles/index.css +595 -1453
- package/MultiCascadeTree/styles/index.less +13 -4
- package/MultiCascader/styles/index.css +572 -1430
- package/MultiCascader/styles/index.less +1 -1
- package/Nav/styles/index.css +214 -329
- package/Nav/styles/index.less +31 -19
- package/Navbar/styles/index.css +206 -323
- package/Navbar/styles/index.less +23 -12
- package/Notification/styles/index.css +60 -68
- package/Notification/styles/index.less +51 -47
- package/Pagination/styles/index.css +631 -1574
- package/Pagination/styles/index.less +6 -17
- package/Pagination/styles/pagination-group.less +2 -19
- package/Panel/styles/index.css +80 -46
- package/Panel/styles/index.less +25 -18
- package/PanelGroup/styles/index.css +14 -11
- package/PanelGroup/styles/index.less +3 -3
- package/Placeholder/styles/index.css +50 -30
- package/Placeholder/styles/index.less +44 -31
- package/Popover/styles/index.css +130 -92
- package/Popover/styles/index.less +93 -79
- package/Progress/styles/index.css +37 -41
- package/Progress/styles/index.less +26 -39
- package/Radio/styles/index.css +53 -112
- package/Radio/styles/index.less +35 -49
- package/Radio/styles/mixin.less +1 -1
- package/RadioGroup/styles/index.css +36 -29
- package/RadioGroup/styles/index.less +25 -30
- package/RadioTile/styles/index.css +24 -16
- package/RadioTile/styles/index.less +13 -8
- package/RangeSlider/styles/index.css +100 -93
- package/Rate/styles/index.css +39 -49
- package/Rate/styles/index.less +13 -17
- package/Row/styles/index.css +0 -25
- package/Row/styles/index.less +2 -10
- package/SelectPicker/styles/index.css +552 -1342
- package/SelectPicker/styles/index.less +2 -2
- package/Sidenav/styles/index.css +215 -194
- package/Sidenav/styles/index.less +154 -155
- package/Sidenav/styles/mixin.less +6 -5
- package/SidenavFooter/package.json +7 -0
- package/SidenavGroupLabel/package.json +7 -0
- package/Slider/styles/index.css +100 -93
- package/Slider/styles/index.less +24 -22
- package/Stack/styles/index.css +115 -0
- package/Stack/styles/index.less +78 -0
- package/Stat/styles/index.css +227 -282
- package/Stat/styles/index.less +21 -14
- package/StatGroup/styles/index.css +4 -4
- package/StatGroup/styles/index.less +4 -4
- package/Steps/styles/index.css +81 -88
- package/Steps/styles/index.less +83 -105
- package/Table/styles/index.css +36 -30
- package/Table/styles/index.less +18 -17
- package/Tabs/styles/index.css +214 -329
- package/Tag/styles/index.css +49 -59
- package/Tag/styles/index.less +37 -60
- package/TagGroup/styles/index.css +5 -5
- package/TagGroup/styles/index.less +5 -5
- package/TagInput/styles/index.css +901 -1816
- package/TagInput/styles/index.less +1 -9
- package/TagPicker/styles/index.css +920 -1829
- package/TagPicker/styles/index.less +67 -63
- package/Text/styles/index.css +122 -41
- package/Text/styles/index.less +28 -25
- package/Text/styles/variables.less +9 -0
- package/TimePicker/styles/index.css +578 -1365
- package/TimeRangePicker/styles/index.css +585 -1372
- package/Timeline/stories/styles.less +6 -6
- package/Timeline/styles/index.css +28 -25
- package/Timeline/styles/index.less +17 -17
- package/Toggle/styles/index.css +144 -293
- package/Toggle/styles/index.less +210 -115
- package/Tooltip/styles/index.css +75 -71
- package/Tooltip/styles/index.less +93 -76
- package/Tree/styles/indent-line.less +1 -1
- package/Tree/styles/index.css +573 -1361
- package/Tree/styles/index.less +20 -16
- package/Tree/styles/toggle.less +3 -7
- package/TreePicker/styles/index.css +573 -1361
- package/Uploader/styles/index.css +197 -288
- package/Uploader/styles/index.less +36 -31
- package/cjs/Affix/Affix.js +3 -3
- package/cjs/Animation/Bounce.js +1 -1
- package/cjs/Animation/Collapse.js +1 -1
- package/cjs/Animation/Fade.js +1 -1
- package/cjs/Animation/Slide.js +1 -1
- package/cjs/AutoComplete/AutoComplete.d.ts +5 -13
- package/cjs/AutoComplete/AutoComplete.js +15 -20
- package/cjs/Avatar/Avatar.d.ts +3 -5
- package/cjs/Avatar/Avatar.js +11 -6
- package/cjs/AvatarGroup/AvatarGroup.d.ts +2 -4
- package/cjs/AvatarGroup/AvatarGroup.js +6 -8
- package/cjs/Badge/Badge.js +8 -3
- package/cjs/Box/index.d.ts +4 -0
- package/cjs/Box/index.js +11 -0
- package/cjs/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/cjs/Breadcrumb/Breadcrumb.js +11 -5
- package/cjs/Breadcrumb/BreadcrumbItem.d.ts +4 -0
- package/cjs/Breadcrumb/BreadcrumbItem.js +5 -4
- package/cjs/Button/Button.d.ts +3 -3
- package/cjs/Button/Button.js +6 -7
- package/cjs/ButtonGroup/ButtonGroup.d.ts +4 -2
- package/cjs/ButtonGroup/ButtonGroup.js +9 -5
- package/cjs/ButtonGroup/ButtonGroupContext.d.ts +3 -2
- package/cjs/ButtonToolbar/ButtonToolbar.d.ts +1 -1
- package/cjs/ButtonToolbar/ButtonToolbar.js +5 -6
- package/cjs/Calendar/Calendar.js +3 -3
- package/cjs/Calendar/CalendarBody.js +3 -3
- package/cjs/Calendar/CalendarContainer.js +3 -3
- package/cjs/Calendar/CalendarHeader.js +3 -3
- package/cjs/Calendar/Grid/Grid.js +3 -3
- package/cjs/Calendar/Grid/GridCell.js +1 -1
- package/cjs/Calendar/Grid/GridHeaderRow.js +1 -1
- package/cjs/Calendar/Grid/GridRow.js +1 -1
- package/cjs/Calendar/MonthDropdown/MonthDropdown.js +3 -3
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +3 -3
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +1 -1
- package/cjs/Card/Card.js +5 -7
- package/cjs/CardGroup/CardGroup.js +5 -8
- package/cjs/Carousel/Carousel.js +5 -4
- package/cjs/CascadeTree/CascadeTree.d.ts +2 -2
- package/cjs/CascadeTree/CascadeTree.js +3 -3
- package/cjs/CascadeTree/SearchView.d.ts +6 -6
- package/cjs/CascadeTree/SearchView.js +3 -3
- package/cjs/CascadeTree/TreeView.d.ts +6 -6
- package/cjs/CascadeTree/TreeView.js +7 -6
- package/cjs/CascadeTree/hooks/useSearch.d.ts +5 -5
- package/cjs/CascadeTree/hooks/useSearch.js +0 -0
- package/cjs/CascadeTree/hooks/useSelect.d.ts +6 -6
- package/cjs/CascadeTree/hooks/useSelect.js +0 -0
- package/cjs/CascadeTree/types.d.ts +10 -10
- package/cjs/CascadeTree/types.js +0 -0
- package/cjs/Cascader/Cascader.d.ts +6 -43
- package/cjs/Cascader/Cascader.js +7 -29
- package/cjs/Cascader/useActive.d.ts +1 -1
- package/cjs/Cascader/useActive.js +0 -0
- package/cjs/Center/Center.d.ts +6 -0
- package/cjs/Center/Center.js +34 -0
- package/cjs/Center/index.d.ts +4 -0
- package/cjs/Center/index.js +11 -0
- package/cjs/CheckPicker/CheckPicker.d.ts +7 -5
- package/cjs/CheckPicker/CheckPicker.js +16 -23
- package/cjs/CheckTree/CheckTreeNode.js +3 -3
- package/cjs/CheckTree/CheckTreeView.d.ts +1 -1
- package/cjs/CheckTree/CheckTreeView.js +3 -3
- package/cjs/CheckTreePicker/CheckTreePicker.d.ts +2 -10
- package/cjs/CheckTreePicker/CheckTreePicker.js +5 -17
- package/cjs/CheckTreePicker/hooks/useFocusState.d.ts +1 -1
- package/cjs/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/cjs/Checkbox/Checkbox.d.ts +3 -3
- package/cjs/Checkbox/Checkbox.js +3 -3
- package/cjs/CheckboxGroup/CheckboxGroup.js +3 -3
- package/cjs/Col/index.d.ts +2 -2
- package/cjs/Col/index.js +1 -1
- package/cjs/Container/Container.js +3 -3
- package/cjs/CustomProvider/CustomProvider.d.ts +27 -13
- package/cjs/CustomProvider/CustomProvider.js +4 -4
- package/cjs/CustomProvider/types.d.ts +2 -0
- package/cjs/CustomProvider/types.js +0 -0
- package/cjs/DateInput/DateField.d.ts +2 -122
- package/cjs/DateInput/DateInput.js +1 -1
- package/cjs/DateInput/hooks/useDateInputState.d.ts +1 -121
- package/cjs/DatePicker/DatePicker.js +13 -26
- package/cjs/DatePicker/PredefinedRanges.d.ts +1 -1
- package/cjs/DatePicker/PredefinedRanges.js +1 -1
- package/cjs/DatePicker/Toolbar.js +5 -5
- package/cjs/DatePicker/hooks/useFocus.d.ts +1 -1
- package/cjs/DatePicker/utils.d.ts +1 -1
- package/cjs/DateRangeInput/DateRangeInput.js +4 -4
- package/cjs/DateRangePicker/DateRangePicker.d.ts +7 -1
- package/cjs/DateRangePicker/DateRangePicker.js +17 -20
- package/cjs/DateRangePicker/Header.js +1 -1
- package/cjs/DateRangePicker/hooks/useDateDisabled.d.ts +0 -1
- package/cjs/DateRangePicker/hooks/useDateDisabled.js +3 -7
- package/cjs/DateRangePicker/types.d.ts +1 -1
- package/cjs/Divider/Divider.d.ts +27 -2
- package/cjs/Divider/Divider.js +25 -14
- package/cjs/Drawer/Drawer.js +1 -1
- package/cjs/Dropdown/Dropdown.d.ts +36 -37
- package/cjs/Dropdown/Dropdown.js +11 -13
- package/cjs/Dropdown/DropdownItem.d.ts +9 -19
- package/cjs/Dropdown/DropdownItem.js +19 -14
- package/cjs/Dropdown/DropdownMenu.d.ts +10 -11
- package/cjs/Dropdown/DropdownMenu.js +11 -11
- package/cjs/Dropdown/DropdownSeparator.js +3 -3
- package/cjs/Dropdown/DropdownToggle.js +3 -3
- package/cjs/Dropdown/types.d.ts +32 -0
- package/cjs/Dropdown/types.js +4 -0
- package/cjs/FlexboxGrid/FlexboxGrid.d.ts +16 -2
- package/cjs/FlexboxGrid/FlexboxGrid.js +11 -3
- package/cjs/FlexboxGrid/FlexboxGridItem.d.ts +9 -2
- package/cjs/FlexboxGrid/FlexboxGridItem.js +5 -4
- package/cjs/Form/hooks/useFormClassNames.js +3 -3
- package/cjs/Form/hooks/useFormRef.d.ts +1 -1
- package/cjs/Form/hooks/useFormValidate.js +0 -0
- package/cjs/FormControl/FormControl.js +3 -3
- package/cjs/FormControl/utils.d.ts +8 -0
- package/cjs/FormControl/utils.js +44 -1
- package/cjs/FormControlLabel/FormControlLabel.js +3 -3
- package/cjs/FormErrorMessage/FormErrorMessage.js +7 -9
- package/cjs/FormGroup/FormGroup.js +3 -3
- package/cjs/FormHelpText/FormHelpText.js +3 -3
- package/cjs/Grid/Col.d.ts +22 -0
- package/cjs/Grid/Col.js +114 -0
- package/cjs/Grid/Grid.d.ts +1 -1
- package/cjs/Grid/Grid.js +4 -6
- package/cjs/Grid/Row.d.ts +16 -0
- package/cjs/Grid/Row.js +62 -0
- package/cjs/Grid/index.d.ts +6 -1
- package/cjs/Grid/index.js +4 -0
- package/cjs/Grid/types.d.ts +65 -0
- package/cjs/Grid/types.js +4 -0
- package/cjs/Heading/Heading.js +3 -3
- package/cjs/Highlight/Highlight.js +3 -3
- package/cjs/IconButton/IconButton.js +3 -3
- package/cjs/Image/Image.js +3 -3
- package/cjs/InlineEdit/EditableControls.js +1 -2
- package/cjs/InlineEdit/InlineEdit.js +4 -4
- package/cjs/InlineEdit/renderChildren.d.ts +2 -1
- package/cjs/InlineEdit/renderChildren.js +3 -2
- package/cjs/InlineEdit/useFocusEvent.d.ts +2 -2
- package/cjs/Input/Input.d.ts +3 -3
- package/cjs/Input/Input.js +7 -7
- package/cjs/InputGroup/InputGroup.d.ts +3 -2
- package/cjs/InputGroup/InputGroup.js +6 -5
- package/cjs/InputGroup/InputGroupAddon.js +3 -3
- package/cjs/InputGroup/InputGroupButton.js +3 -6
- package/cjs/InputNumber/InputNumber.d.ts +3 -3
- package/cjs/InputNumber/InputNumber.js +8 -6
- package/cjs/InputPicker/InputPicker.d.ts +7 -6
- package/cjs/InputPicker/InputPicker.js +30 -28
- package/cjs/InputPicker/InputSearch.d.ts +3 -3
- package/cjs/InputPicker/InputSearch.js +3 -3
- package/cjs/InputPicker/TagList.js +1 -1
- package/cjs/InputPicker/TextBox.js +7 -6
- package/cjs/InputPicker/hooks/useData.d.ts +9 -9
- package/cjs/InputPicker/hooks/useData.js +0 -0
- package/cjs/InputPicker/hooks/useInput.d.ts +3 -3
- package/cjs/InputPicker/hooks/useInput.js +1 -1
- package/cjs/InputPicker/hooks/useMaxWidth.d.ts +2 -2
- package/cjs/InputPicker/utils.d.ts +1 -1
- package/cjs/Kbd/Kbd.d.ts +15 -0
- package/cjs/Kbd/Kbd.js +40 -0
- package/cjs/Kbd/index.d.ts +4 -0
- package/cjs/Kbd/index.js +11 -0
- package/cjs/List/List.js +3 -3
- package/cjs/List/ListItem.js +3 -3
- package/cjs/List/helper/useSortHelper.d.ts +1 -1
- package/cjs/List/helper/useSortHelper.js +1 -1
- package/cjs/Loader/Loader.d.ts +2 -2
- package/cjs/Loader/Loader.js +7 -8
- package/cjs/MaskedInput/MaskedInput.d.ts +2 -1
- package/cjs/MaskedInput/TextMask.js +1 -1
- package/cjs/Menu/Menu.d.ts +18 -0
- package/cjs/Menu/Menu.js +56 -0
- package/cjs/Menu/MenuContext.d.ts +7 -0
- package/cjs/{internals/Overlay/OverlayContext.js → Menu/MenuContext.js} +3 -3
- package/cjs/Menu/MenuItem.d.ts +25 -0
- package/cjs/Menu/MenuItem.js +84 -0
- package/cjs/Menu/MenuSeparator.d.ts +12 -0
- package/cjs/Menu/MenuSeparator.js +33 -0
- package/cjs/Menu/index.d.ts +8 -0
- package/cjs/Menu/index.js +15 -0
- package/cjs/Message/Message.js +8 -8
- package/cjs/Modal/Modal.d.ts +2 -0
- package/cjs/Modal/Modal.js +6 -4
- package/cjs/Modal/ModalBody.js +6 -7
- package/cjs/Modal/ModalDialog.d.ts +2 -2
- package/cjs/Modal/ModalDialog.js +6 -9
- package/cjs/Modal/ModalFooter.js +0 -0
- package/cjs/Modal/ModalHeader.js +3 -3
- package/cjs/Modal/ModalTitle.js +3 -3
- package/cjs/Modal/utils.d.ts +3 -3
- package/cjs/Modal/utils.js +2 -2
- package/cjs/MultiCascadeTree/MultiCascadeTree.js +3 -3
- package/cjs/MultiCascadeTree/SearchView.d.ts +4 -4
- package/cjs/MultiCascadeTree/SearchView.js +3 -3
- package/cjs/MultiCascadeTree/TreeView.d.ts +6 -6
- package/cjs/MultiCascadeTree/TreeView.js +3 -4
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSearch.d.ts +3 -3
- package/cjs/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSelect.d.ts +9 -9
- package/cjs/MultiCascadeTree/hooks/useSelect.js +1 -1
- package/cjs/MultiCascadeTree/index.d.ts +1 -1
- package/cjs/MultiCascadeTree/types.d.ts +2 -2
- package/cjs/MultiCascadeTree/types.js +0 -0
- package/cjs/MultiCascadeTree/utils.d.ts +2 -2
- package/cjs/MultiCascadeTree/utils.js +0 -0
- package/cjs/MultiCascader/MultiCascader.d.ts +8 -45
- package/cjs/MultiCascader/MultiCascader.js +7 -29
- package/cjs/Nav/AdaptiveNavItem.js +8 -8
- package/cjs/Nav/Nav.d.ts +4 -7
- package/cjs/Nav/Nav.js +6 -4
- package/cjs/Nav/NavDropdown.d.ts +3 -3
- package/cjs/Nav/NavDropdown.js +11 -13
- package/cjs/Nav/NavDropdownItem.d.ts +3 -17
- package/cjs/Nav/NavDropdownItem.js +5 -5
- package/cjs/Nav/NavDropdownMenu.d.ts +17 -10
- package/cjs/Nav/NavDropdownMenu.js +5 -5
- package/cjs/Nav/NavDropdownToggle.js +4 -4
- package/cjs/Nav/NavItem.d.ts +2 -2
- package/cjs/Nav/NavItem.js +3 -3
- package/cjs/Nav/NavMegaMenu.d.ts +5 -0
- package/cjs/Nav/NavMegaMenu.js +24 -0
- package/cjs/Nav/NavMenu.js +4 -4
- package/cjs/Nav/index.d.ts +3 -1
- package/cjs/Nav/index.js +2 -0
- package/cjs/Navbar/Navbar.d.ts +1 -5
- package/cjs/Navbar/Navbar.js +3 -3
- package/cjs/Navbar/NavbarContent.d.ts +3 -6
- package/cjs/Navbar/NavbarContent.js +3 -1
- package/cjs/Navbar/NavbarDropdown.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdown.js +7 -8
- package/cjs/Navbar/NavbarDropdownItem.d.ts +3 -17
- package/cjs/Navbar/NavbarDropdownItem.js +5 -5
- package/cjs/Navbar/NavbarDropdownMenu.d.ts +18 -10
- package/cjs/Navbar/NavbarDropdownMenu.js +7 -7
- package/cjs/Navbar/NavbarDropdownToggle.js +3 -3
- package/cjs/Navbar/NavbarItem.d.ts +2 -2
- package/cjs/Navbar/NavbarItem.js +3 -3
- package/cjs/Navbar/NavbarMegaMenu.d.ts +26 -0
- package/cjs/Navbar/NavbarMegaMenu.js +59 -0
- package/cjs/Notification/Notification.js +9 -17
- package/cjs/Pagination/LimitPicker.d.ts +2 -2
- package/cjs/Pagination/LimitPicker.js +1 -1
- package/cjs/Pagination/Pagination.d.ts +2 -2
- package/cjs/Pagination/Pagination.js +19 -18
- package/cjs/Pagination/PaginationButton.d.ts +10 -6
- package/cjs/Pagination/PaginationButton.js +30 -16
- package/cjs/Pagination/PaginationGroup.js +3 -3
- package/cjs/Panel/AccordionButton.js +3 -4
- package/cjs/Panel/Panel.js +3 -3
- package/cjs/Panel/PanelBody.js +3 -3
- package/cjs/Panel/PanelHeader.js +1 -1
- package/cjs/PanelGroup/PanelGroup.js +3 -3
- package/cjs/Placeholder/PlaceholderGraph.js +8 -9
- package/cjs/Placeholder/PlaceholderGrid.js +12 -11
- package/cjs/Placeholder/PlaceholderParagraph.js +15 -15
- package/cjs/Popover/Popover.js +9 -9
- package/cjs/Progress/ProgressCircle.js +3 -3
- package/cjs/Progress/ProgressLine.js +3 -3
- package/cjs/Radio/Radio.d.ts +3 -3
- package/cjs/Radio/Radio.js +3 -3
- package/cjs/RadioGroup/RadioGroup.js +3 -3
- package/cjs/RadioTile/RadioTile.d.ts +3 -3
- package/cjs/RadioTile/RadioTile.js +3 -4
- package/cjs/RadioTileGroup/RadioTileGroup.js +3 -4
- package/cjs/RangeSlider/RangeSlider.js +3 -3
- package/cjs/Rate/Character.js +3 -3
- package/cjs/Rate/Rate.d.ts +3 -3
- package/cjs/Rate/Rate.js +3 -3
- package/cjs/Row/index.d.ts +2 -2
- package/cjs/Row/index.js +1 -1
- package/cjs/SelectPicker/SelectPicker.d.ts +7 -17
- package/cjs/SelectPicker/SelectPicker.js +16 -23
- package/cjs/SelectPicker/index.d.ts +1 -1
- package/cjs/Sidebar/Sidebar.js +6 -7
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +9 -12
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.d.ts +2 -2
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +6 -6
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.d.ts +2 -2
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +3 -3
- package/cjs/Sidenav/Sidenav.d.ts +6 -0
- package/cjs/Sidenav/Sidenav.js +7 -3
- package/cjs/Sidenav/SidenavDropdown.d.ts +3 -3
- package/cjs/Sidenav/SidenavDropdown.js +13 -15
- package/cjs/Sidenav/SidenavDropdownCollapse.js +3 -3
- package/cjs/Sidenav/SidenavDropdownItem.d.ts +3 -17
- package/cjs/Sidenav/SidenavDropdownItem.js +5 -5
- package/cjs/Sidenav/SidenavDropdownMenu.d.ts +11 -8
- package/cjs/Sidenav/SidenavDropdownMenu.js +5 -5
- package/cjs/Sidenav/SidenavDropdownToggle.js +11 -11
- package/cjs/Sidenav/SidenavFooter.d.ts +11 -0
- package/cjs/Sidenav/SidenavFooter.js +15 -0
- package/cjs/Sidenav/SidenavGroupLabel.d.ts +11 -0
- package/cjs/Sidenav/SidenavGroupLabel.js +15 -0
- package/cjs/Sidenav/SidenavItem.d.ts +28 -9
- package/cjs/Sidenav/SidenavItem.js +21 -12
- package/cjs/Sidenav/SidenavToggle.d.ts +0 -6
- package/cjs/Sidenav/SidenavToggle.js +12 -18
- package/cjs/Sidenav/index.d.ts +3 -1
- package/cjs/Sidenav/index.js +4 -0
- package/cjs/Slider/Graduated.js +1 -1
- package/cjs/Slider/Handle.js +3 -4
- package/cjs/Slider/Input.js +2 -4
- package/cjs/Slider/Mark.js +3 -3
- package/cjs/Slider/ProgressBar.js +5 -6
- package/cjs/Slider/Slider.js +3 -3
- package/cjs/Slider/useDrag.d.ts +2 -2
- package/cjs/Slider/useDrag.js +1 -1
- package/cjs/Stack/HStack.d.ts +1 -1
- package/cjs/Stack/HStack.js +1 -6
- package/cjs/Stack/Stack.d.ts +20 -25
- package/cjs/Stack/Stack.js +19 -35
- package/cjs/Stack/StackItem.d.ts +2 -5
- package/cjs/Stack/StackItem.js +18 -17
- package/cjs/Stack/VStack.d.ts +1 -1
- package/cjs/Stack/VStack.js +1 -6
- package/cjs/Stat/Stat.js +3 -3
- package/cjs/Stat/StatLabel.js +3 -3
- package/cjs/Stat/StatTrend.js +3 -3
- package/cjs/Stat/StatValue.js +3 -3
- package/cjs/StatGroup/StatGroup.js +5 -8
- package/cjs/Steps/StepItem.js +12 -15
- package/cjs/Steps/Steps.js +3 -3
- package/cjs/Table/Table.d.ts +2 -2
- package/cjs/Tabs/TabPanel.js +3 -3
- package/cjs/Tabs/Tabs.js +5 -4
- package/cjs/Tag/Tag.js +3 -5
- package/cjs/TagPicker/TagPicker.d.ts +10 -5
- package/cjs/TagPicker/TagPicker.js +9 -4
- package/cjs/Text/Text.d.ts +2 -9
- package/cjs/Text/Text.js +17 -16
- package/cjs/TimeRangePicker/TimeRangePicker.d.ts +1 -1
- package/cjs/Timeline/Timeline.js +3 -3
- package/cjs/Timeline/TimelineItem.js +3 -3
- package/cjs/Toggle/Toggle.d.ts +4 -4
- package/cjs/Toggle/Toggle.js +4 -4
- package/cjs/Tooltip/Tooltip.js +9 -8
- package/cjs/Tree/IndentLine.js +1 -1
- package/cjs/Tree/TreeNode.js +4 -7
- package/cjs/Tree/TreeNodeToggle.js +1 -1
- package/cjs/Tree/TreeView.d.ts +2 -2
- package/cjs/Tree/TreeView.js +3 -3
- package/cjs/Tree/hooks/useFocusTree.d.ts +1 -1
- package/cjs/TreePicker/TreePicker.d.ts +2 -10
- package/cjs/TreePicker/TreePicker.js +5 -17
- package/cjs/TreePicker/hooks/useFocusState.d.ts +1 -1
- package/cjs/TreePicker/hooks/useFocusState.js +0 -0
- package/cjs/Uploader/UploadFileItem.js +3 -3
- package/cjs/Uploader/UploadTrigger.js +3 -3
- package/cjs/Uploader/Uploader.js +7 -7
- package/cjs/Uploader/utils/ajaxUpload.d.ts +1 -1
- package/cjs/Whisper/Whisper.d.ts +2 -1
- package/cjs/index.d.ts +5 -3
- package/cjs/index.js +30 -18
- package/cjs/internals/Box/Box.d.ts +43 -0
- package/cjs/internals/Box/Box.js +44 -0
- package/cjs/internals/Box/index.d.ts +3 -0
- package/cjs/internals/Box/index.js +8 -0
- package/cjs/internals/Box/utils.d.ts +18 -0
- package/cjs/internals/Box/utils.js +120 -0
- package/cjs/internals/CloseButton/CloseButton.js +3 -3
- package/cjs/internals/Menu/MenuItem.d.ts +1 -1
- package/cjs/internals/Menu/MenuItem.js +1 -1
- package/cjs/internals/Menu/Menubar.js +4 -1
- package/cjs/internals/Menu/useRenderMenuItem.d.ts +2 -0
- package/cjs/{Dropdown/useRenderDropdownItem.js → internals/Menu/useRenderMenuItem.js} +2 -2
- package/cjs/internals/Overlay/Modal.js +8 -10
- package/cjs/internals/Overlay/Overlay.d.ts +5 -6
- package/cjs/internals/Overlay/Overlay.js +25 -20
- package/cjs/internals/Overlay/OverlayProvider.d.ts +13 -0
- package/cjs/internals/Overlay/OverlayProvider.js +24 -0
- package/cjs/internals/Overlay/OverlayTrigger.d.ts +1 -10
- package/cjs/internals/Overlay/OverlayTrigger.js +6 -5
- package/cjs/internals/Overlay/Position.d.ts +6 -10
- package/cjs/internals/Overlay/Position.js +18 -18
- package/cjs/internals/Overlay/index.d.ts +2 -0
- package/cjs/internals/Overlay/index.js +13 -0
- package/cjs/internals/Overlay/positionUtils.d.ts +2 -20
- package/cjs/internals/Overlay/positionUtils.js +3 -3
- package/cjs/internals/Overlay/types.d.ts +37 -0
- package/cjs/internals/Picker/ListCheckItem.d.ts +2 -2
- package/cjs/internals/Picker/ListCheckItem.js +3 -3
- package/cjs/internals/Picker/ListItem.d.ts +2 -2
- package/cjs/internals/Picker/ListItem.js +3 -3
- package/cjs/internals/Picker/ListItemGroup.js +3 -3
- package/cjs/internals/Picker/Listbox.d.ts +5 -5
- package/cjs/internals/Picker/Listbox.js +10 -10
- package/cjs/internals/Picker/PickerIndicator.d.ts +3 -1
- package/cjs/internals/Picker/PickerIndicator.js +5 -3
- package/cjs/internals/Picker/PickerPopup.d.ts +2 -2
- package/cjs/internals/Picker/PickerPopup.js +17 -14
- package/cjs/internals/Picker/PickerToggle.d.ts +3 -3
- package/cjs/internals/Picker/PickerToggle.js +10 -5
- package/cjs/internals/Picker/PickerToggleTrigger.d.ts +3 -4
- package/cjs/internals/Picker/PickerToggleTrigger.js +15 -16
- package/cjs/internals/Picker/SelectedElement.js +5 -3
- package/cjs/internals/Picker/hooks/useCombobox.d.ts +1 -0
- package/cjs/internals/Picker/hooks/useCombobox.js +4 -2
- package/cjs/internals/Picker/hooks/usePickerClassName.d.ts +0 -2
- package/cjs/internals/Picker/hooks/usePickerClassName.js +3 -7
- package/cjs/internals/Picker/hooks/usePickerRef.d.ts +8 -8
- package/cjs/internals/Picker/hooks/usePickerRef.js +0 -0
- package/cjs/internals/Picker/index.d.ts +1 -1
- package/cjs/internals/Plaintext/Plaintext.js +3 -3
- package/cjs/internals/Ripple/Ripple.js +3 -3
- package/cjs/internals/ScrollView/ScrollView.js +3 -3
- package/cjs/internals/ScrollView/hooks/useScrollState.d.ts +2 -2
- package/cjs/internals/SearchBox/SearchBox.js +3 -3
- package/cjs/internals/StyledBox/StyledBox.d.ts +13 -0
- package/cjs/internals/StyledBox/StyledBox.js +28 -0
- package/cjs/internals/StyledBox/index.d.ts +4 -0
- package/cjs/internals/StyledBox/index.js +9 -0
- package/cjs/internals/Windowing/AutoSizer.js +1 -4
- package/cjs/internals/constants/index.d.ts +1 -1
- package/cjs/internals/constants/index.js +2 -2
- package/cjs/internals/hooks/index.d.ts +1 -1
- package/cjs/internals/hooks/index.js +3 -3
- package/cjs/internals/hooks/useElementResize.js +1 -1
- package/cjs/internals/hooks/useEnsuredRef.d.ts +1 -2
- package/cjs/internals/hooks/useEnsuredRef.js +1 -1
- package/cjs/internals/hooks/useFocus.d.ts +1 -1
- package/cjs/internals/hooks/useFocus.js +0 -0
- package/cjs/internals/hooks/useFocusVirtualListItem.d.ts +1 -1
- package/cjs/internals/hooks/useInternalId.js +1 -1
- package/cjs/internals/hooks/useRootClose.d.ts +1 -1
- package/cjs/internals/hooks/useRootClose.js +0 -0
- package/{esm/internals/hooks/useClassNames.d.ts → cjs/internals/hooks/useStyles.d.ts} +10 -5
- package/cjs/internals/hooks/{useClassNames.js → useStyles.js} +33 -18
- package/cjs/internals/hooks/useTimeout.js +1 -1
- package/cjs/internals/hooks/useUpdatedRef.d.ts +1 -1
- package/cjs/internals/types/colours.d.ts +4 -0
- package/cjs/internals/types/colours.js +4 -1
- package/cjs/internals/types/form.d.ts +9 -9
- package/cjs/internals/types/html.d.ts +19 -0
- package/cjs/internals/types/html.js +4 -0
- package/cjs/internals/types/index.d.ts +2 -0
- package/cjs/internals/types/index.js +12 -0
- package/cjs/internals/types/picker.d.ts +59 -19
- package/cjs/internals/types/placement.d.ts +1 -2
- package/cjs/internals/types/shared.d.ts +1 -4
- package/cjs/internals/types/sizes.d.ts +25 -0
- package/cjs/internals/types/sizes.js +26 -0
- package/cjs/internals/utils/colours.d.ts +10 -0
- package/cjs/internals/utils/colours.js +37 -2
- package/cjs/internals/utils/createComponent.js +3 -3
- package/cjs/internals/utils/getDOMNode.js +3 -8
- package/cjs/internals/utils/index.d.ts +5 -4
- package/cjs/internals/utils/index.js +25 -19
- package/cjs/internals/utils/placement.d.ts +21 -0
- package/cjs/internals/utils/{placementPolyfill.js → placement.js} +21 -2
- package/cjs/internals/utils/sizes.d.ts +5 -0
- package/cjs/internals/utils/sizes.js +21 -0
- package/{esm/internals/utils → cjs/internals/utils/style-sheet}/css.d.ts +2 -4
- package/cjs/internals/utils/{css.js → style-sheet/css.js} +1 -0
- package/cjs/internals/utils/style-sheet/index.d.ts +4 -0
- package/cjs/internals/utils/style-sheet/index.js +28 -0
- package/cjs/internals/utils/{prefix.js → style-sheet/prefix.js} +0 -0
- package/cjs/internals/utils/style-sheet/responsive.d.ts +2 -0
- package/cjs/internals/utils/style-sheet/responsive.js +20 -0
- package/cjs/internals/utils/style-sheet/styles.d.ts +16 -0
- package/cjs/internals/utils/style-sheet/styles.js +44 -0
- package/cjs/locales/index.d.ts +1 -0
- package/cjs/locales/index.js +4 -2
- package/cjs/locales/pl_PL.d.ts +151 -0
- package/cjs/locales/pl_PL.js +92 -0
- package/cjs/toaster/ToastContainer.d.ts +1 -1
- package/cjs/toaster/ToastContainer.js +3 -3
- package/cjs/toaster/hooks/useDelayedClosure.d.ts +1 -1
- package/cjs/toaster/hooks/useDelayedClosure.js +2 -2
- package/cjs/toaster/render.d.ts +2 -2
- package/dist/rsuite-no-reset-rtl.css +4280 -4692
- 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 +4277 -4695
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +7798 -8209
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +7794 -8211
- package/dist/rsuite.js +718 -387
- 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 +12 -27
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Affix/Affix.js +4 -4
- package/esm/Animation/Bounce.js +2 -2
- package/esm/Animation/Collapse.js +2 -2
- package/esm/Animation/Fade.js +2 -2
- package/esm/Animation/Slide.js +2 -2
- package/esm/AutoComplete/AutoComplete.d.ts +5 -13
- package/esm/AutoComplete/AutoComplete.js +16 -21
- package/esm/Avatar/Avatar.d.ts +3 -5
- package/esm/Avatar/Avatar.js +12 -7
- package/esm/AvatarGroup/AvatarGroup.d.ts +2 -4
- package/esm/AvatarGroup/AvatarGroup.js +8 -10
- package/esm/Badge/Badge.js +9 -4
- package/esm/Box/index.d.ts +4 -0
- package/esm/Box/index.js +8 -0
- package/esm/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/esm/Breadcrumb/Breadcrumb.js +12 -6
- package/esm/Breadcrumb/BreadcrumbItem.d.ts +4 -0
- package/esm/Breadcrumb/BreadcrumbItem.js +6 -5
- package/esm/Button/Button.d.ts +3 -3
- package/esm/Button/Button.js +7 -8
- package/esm/ButtonGroup/ButtonGroup.d.ts +4 -2
- package/esm/ButtonGroup/ButtonGroup.js +10 -6
- package/esm/ButtonGroup/ButtonGroupContext.d.ts +3 -2
- package/esm/ButtonToolbar/ButtonToolbar.d.ts +1 -1
- package/esm/ButtonToolbar/ButtonToolbar.js +6 -7
- package/esm/Calendar/Calendar.js +4 -4
- package/esm/Calendar/CalendarBody.js +4 -4
- package/esm/Calendar/CalendarContainer.js +4 -4
- package/esm/Calendar/CalendarHeader.js +4 -4
- package/esm/Calendar/Grid/Grid.js +4 -4
- package/esm/Calendar/Grid/GridCell.js +2 -2
- package/esm/Calendar/Grid/GridHeaderRow.js +2 -2
- package/esm/Calendar/Grid/GridRow.js +2 -2
- package/esm/Calendar/MonthDropdown/MonthDropdown.js +4 -4
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +4 -4
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +2 -2
- package/esm/Card/Card.js +7 -9
- package/esm/CardGroup/CardGroup.js +7 -10
- package/esm/Carousel/Carousel.js +6 -5
- package/esm/CascadeTree/CascadeTree.d.ts +2 -2
- package/esm/CascadeTree/CascadeTree.js +4 -4
- package/esm/CascadeTree/SearchView.d.ts +6 -6
- package/esm/CascadeTree/SearchView.js +4 -4
- package/esm/CascadeTree/TreeView.d.ts +6 -6
- package/esm/CascadeTree/TreeView.js +9 -8
- package/esm/CascadeTree/hooks/useSearch.d.ts +5 -5
- package/esm/CascadeTree/hooks/useSearch.js +0 -0
- package/esm/CascadeTree/hooks/useSelect.d.ts +6 -6
- package/esm/CascadeTree/hooks/useSelect.js +0 -0
- package/esm/CascadeTree/types.d.ts +10 -10
- package/esm/CascadeTree/types.js +0 -0
- package/esm/Cascader/Cascader.d.ts +6 -43
- package/esm/Cascader/Cascader.js +8 -30
- package/esm/Cascader/useActive.d.ts +1 -1
- package/esm/Cascader/useActive.js +0 -0
- package/esm/Center/Center.d.ts +6 -0
- package/esm/Center/Center.js +29 -0
- package/esm/Center/index.d.ts +4 -0
- package/esm/Center/index.js +8 -0
- package/esm/CheckPicker/CheckPicker.d.ts +7 -5
- package/esm/CheckPicker/CheckPicker.js +17 -24
- package/esm/CheckTree/CheckTreeNode.js +4 -4
- package/esm/CheckTree/CheckTreeView.d.ts +1 -1
- package/esm/CheckTree/CheckTreeView.js +4 -4
- package/esm/CheckTreePicker/CheckTreePicker.d.ts +2 -10
- package/esm/CheckTreePicker/CheckTreePicker.js +6 -18
- package/esm/CheckTreePicker/hooks/useFocusState.d.ts +1 -1
- package/esm/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/esm/Checkbox/Checkbox.d.ts +3 -3
- package/esm/Checkbox/Checkbox.js +4 -4
- package/esm/CheckboxGroup/CheckboxGroup.js +4 -4
- package/esm/Col/index.d.ts +2 -2
- package/esm/Col/index.js +1 -1
- package/esm/Container/Container.js +4 -4
- package/esm/CustomProvider/CustomProvider.d.ts +27 -13
- package/esm/CustomProvider/CustomProvider.js +1 -1
- package/esm/CustomProvider/types.d.ts +2 -0
- package/esm/CustomProvider/types.js +0 -0
- package/esm/DateInput/DateField.d.ts +2 -122
- package/esm/DateInput/DateInput.js +1 -1
- package/esm/DateInput/hooks/useDateInputState.d.ts +1 -121
- package/esm/DatePicker/DatePicker.js +14 -27
- package/esm/DatePicker/PredefinedRanges.d.ts +1 -1
- package/esm/DatePicker/PredefinedRanges.js +1 -1
- package/esm/DatePicker/Toolbar.js +6 -6
- package/esm/DatePicker/hooks/useFocus.d.ts +1 -1
- package/esm/DatePicker/utils.d.ts +1 -1
- package/esm/DateRangeInput/DateRangeInput.js +5 -5
- package/esm/DateRangePicker/DateRangePicker.d.ts +7 -1
- package/esm/DateRangePicker/DateRangePicker.js +18 -21
- package/esm/DateRangePicker/Header.js +2 -2
- package/esm/DateRangePicker/hooks/useDateDisabled.d.ts +0 -1
- package/esm/DateRangePicker/hooks/useDateDisabled.js +3 -7
- package/esm/DateRangePicker/types.d.ts +1 -1
- package/esm/Divider/Divider.d.ts +27 -2
- package/esm/Divider/Divider.js +27 -16
- package/esm/Drawer/Drawer.js +2 -2
- package/esm/Dropdown/Dropdown.d.ts +36 -37
- package/esm/Dropdown/Dropdown.js +13 -15
- package/esm/Dropdown/DropdownItem.d.ts +9 -19
- package/esm/Dropdown/DropdownItem.js +20 -15
- package/esm/Dropdown/DropdownMenu.d.ts +10 -11
- package/esm/Dropdown/DropdownMenu.js +12 -12
- package/esm/Dropdown/DropdownSeparator.js +4 -4
- package/esm/Dropdown/DropdownToggle.js +4 -4
- package/esm/Dropdown/types.d.ts +32 -0
- package/esm/Dropdown/types.js +2 -0
- package/esm/FlexboxGrid/FlexboxGrid.d.ts +16 -2
- package/esm/FlexboxGrid/FlexboxGrid.js +12 -4
- package/esm/FlexboxGrid/FlexboxGridItem.d.ts +9 -2
- package/esm/FlexboxGrid/FlexboxGridItem.js +6 -5
- package/esm/Form/hooks/useFormClassNames.js +4 -4
- package/esm/Form/hooks/useFormRef.d.ts +1 -1
- package/esm/Form/hooks/useFormValidate.js +0 -0
- package/esm/FormControl/FormControl.js +4 -4
- package/esm/FormControl/utils.d.ts +8 -0
- package/esm/FormControl/utils.js +44 -1
- package/esm/FormControlLabel/FormControlLabel.js +4 -4
- package/esm/FormErrorMessage/FormErrorMessage.js +9 -11
- package/esm/FormGroup/FormGroup.js +4 -4
- package/esm/FormHelpText/FormHelpText.js +4 -4
- package/esm/Grid/Col.d.ts +22 -0
- package/esm/Grid/Col.js +107 -0
- package/esm/Grid/Grid.d.ts +1 -1
- package/esm/Grid/Grid.js +5 -7
- package/esm/Grid/Row.d.ts +16 -0
- package/esm/Grid/Row.js +57 -0
- package/esm/Grid/index.d.ts +6 -1
- package/esm/Grid/index.js +3 -1
- package/esm/Grid/types.d.ts +65 -0
- package/esm/Grid/types.js +2 -0
- package/esm/Heading/Heading.js +4 -4
- package/esm/Highlight/Highlight.js +4 -4
- package/esm/IconButton/IconButton.js +4 -4
- package/esm/Image/Image.js +4 -4
- package/esm/InlineEdit/EditableControls.js +1 -2
- package/esm/InlineEdit/InlineEdit.js +5 -5
- package/esm/InlineEdit/renderChildren.d.ts +2 -1
- package/esm/InlineEdit/renderChildren.js +3 -2
- package/esm/InlineEdit/useFocusEvent.d.ts +2 -2
- package/esm/Input/Input.d.ts +3 -3
- package/esm/Input/Input.js +8 -8
- package/esm/InputGroup/InputGroup.d.ts +3 -2
- package/esm/InputGroup/InputGroup.js +7 -6
- package/esm/InputGroup/InputGroupAddon.js +4 -4
- package/esm/InputGroup/InputGroupButton.js +4 -7
- package/esm/InputNumber/InputNumber.d.ts +3 -3
- package/esm/InputNumber/InputNumber.js +9 -7
- package/esm/InputPicker/InputPicker.d.ts +7 -6
- package/esm/InputPicker/InputPicker.js +32 -30
- package/esm/InputPicker/InputSearch.d.ts +3 -3
- package/esm/InputPicker/InputSearch.js +4 -4
- package/esm/InputPicker/TagList.js +2 -2
- package/esm/InputPicker/TextBox.js +8 -7
- package/esm/InputPicker/hooks/useData.d.ts +9 -9
- package/esm/InputPicker/hooks/useData.js +0 -0
- package/esm/InputPicker/hooks/useInput.d.ts +3 -3
- package/esm/InputPicker/hooks/useInput.js +1 -1
- package/esm/InputPicker/hooks/useMaxWidth.d.ts +2 -2
- package/esm/InputPicker/utils.d.ts +1 -1
- package/esm/Kbd/Kbd.d.ts +15 -0
- package/esm/Kbd/Kbd.js +35 -0
- package/esm/Kbd/index.d.ts +4 -0
- package/esm/Kbd/index.js +8 -0
- package/esm/List/List.js +4 -4
- package/esm/List/ListItem.js +4 -4
- package/esm/List/helper/useSortHelper.d.ts +1 -1
- package/esm/List/helper/useSortHelper.js +1 -1
- package/esm/Loader/Loader.d.ts +2 -2
- package/esm/Loader/Loader.js +8 -9
- package/esm/MaskedInput/MaskedInput.d.ts +2 -1
- package/esm/MaskedInput/TextMask.js +1 -1
- package/esm/Menu/Menu.d.ts +18 -0
- package/esm/Menu/Menu.js +49 -0
- package/esm/Menu/MenuContext.d.ts +7 -0
- package/esm/Menu/MenuContext.js +5 -0
- package/esm/Menu/MenuItem.d.ts +25 -0
- package/esm/Menu/MenuItem.js +77 -0
- package/esm/Menu/MenuSeparator.d.ts +12 -0
- package/esm/Menu/MenuSeparator.js +28 -0
- package/esm/Menu/index.d.ts +8 -0
- package/esm/Menu/index.js +10 -0
- package/esm/Message/Message.js +10 -10
- package/esm/Modal/Modal.d.ts +2 -0
- package/esm/Modal/Modal.js +7 -5
- package/esm/Modal/ModalBody.js +8 -9
- package/esm/Modal/ModalDialog.d.ts +2 -2
- package/esm/Modal/ModalDialog.js +7 -10
- package/esm/Modal/ModalFooter.js +0 -0
- package/esm/Modal/ModalHeader.js +4 -4
- package/esm/Modal/ModalTitle.js +4 -4
- package/esm/Modal/utils.d.ts +3 -3
- package/esm/Modal/utils.js +2 -2
- package/esm/MultiCascadeTree/MultiCascadeTree.js +4 -4
- package/esm/MultiCascadeTree/SearchView.d.ts +4 -4
- package/esm/MultiCascadeTree/SearchView.js +4 -4
- package/esm/MultiCascadeTree/TreeView.d.ts +6 -6
- package/esm/MultiCascadeTree/TreeView.js +5 -6
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSearch.d.ts +3 -3
- package/esm/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSelect.d.ts +9 -9
- package/esm/MultiCascadeTree/hooks/useSelect.js +1 -1
- package/esm/MultiCascadeTree/index.d.ts +1 -1
- package/esm/MultiCascadeTree/types.d.ts +2 -2
- package/esm/MultiCascadeTree/types.js +0 -0
- package/esm/MultiCascadeTree/utils.d.ts +2 -2
- package/esm/MultiCascadeTree/utils.js +0 -0
- package/esm/MultiCascader/MultiCascader.d.ts +8 -45
- package/esm/MultiCascader/MultiCascader.js +8 -30
- package/esm/Nav/AdaptiveNavItem.js +8 -8
- package/esm/Nav/Nav.d.ts +4 -7
- package/esm/Nav/Nav.js +7 -5
- package/esm/Nav/NavDropdown.d.ts +3 -3
- package/esm/Nav/NavDropdown.js +13 -15
- package/esm/Nav/NavDropdownItem.d.ts +3 -17
- package/esm/Nav/NavDropdownItem.js +6 -6
- package/esm/Nav/NavDropdownMenu.d.ts +17 -10
- package/esm/Nav/NavDropdownMenu.js +6 -6
- package/esm/Nav/NavDropdownToggle.js +5 -5
- package/esm/Nav/NavItem.d.ts +2 -2
- package/esm/Nav/NavItem.js +4 -4
- package/esm/Nav/NavMegaMenu.d.ts +5 -0
- package/esm/Nav/NavMegaMenu.js +17 -0
- package/esm/Nav/NavMenu.js +4 -4
- package/esm/Nav/index.d.ts +3 -1
- package/esm/Nav/index.js +2 -1
- package/esm/Navbar/Navbar.d.ts +1 -5
- package/esm/Navbar/Navbar.js +4 -4
- package/esm/Navbar/NavbarContent.d.ts +3 -6
- package/esm/Navbar/NavbarContent.js +2 -1
- package/esm/Navbar/NavbarDropdown.d.ts +1 -1
- package/esm/Navbar/NavbarDropdown.js +9 -10
- package/esm/Navbar/NavbarDropdownItem.d.ts +3 -17
- package/esm/Navbar/NavbarDropdownItem.js +6 -6
- package/esm/Navbar/NavbarDropdownMenu.d.ts +18 -10
- package/esm/Navbar/NavbarDropdownMenu.js +7 -7
- package/esm/Navbar/NavbarDropdownToggle.js +4 -4
- package/esm/Navbar/NavbarItem.d.ts +2 -2
- package/esm/Navbar/NavbarItem.js +4 -4
- package/esm/Navbar/NavbarMegaMenu.d.ts +26 -0
- package/esm/Navbar/NavbarMegaMenu.js +52 -0
- package/esm/Notification/Notification.js +10 -18
- package/esm/Pagination/LimitPicker.d.ts +2 -2
- package/esm/Pagination/LimitPicker.js +1 -1
- package/esm/Pagination/Pagination.d.ts +2 -2
- package/esm/Pagination/Pagination.js +20 -19
- package/esm/Pagination/PaginationButton.d.ts +10 -6
- package/esm/Pagination/PaginationButton.js +30 -18
- package/esm/Pagination/PaginationGroup.js +4 -4
- package/esm/Panel/AccordionButton.js +4 -5
- package/esm/Panel/Panel.js +4 -4
- package/esm/Panel/PanelBody.js +4 -4
- package/esm/Panel/PanelHeader.js +2 -2
- package/esm/PanelGroup/PanelGroup.js +4 -4
- package/esm/Placeholder/PlaceholderGraph.js +10 -11
- package/esm/Placeholder/PlaceholderGrid.js +14 -13
- package/esm/Placeholder/PlaceholderParagraph.js +17 -17
- package/esm/Popover/Popover.js +9 -11
- package/esm/Progress/ProgressCircle.js +4 -4
- package/esm/Progress/ProgressLine.js +4 -4
- package/esm/Radio/Radio.d.ts +3 -3
- package/esm/Radio/Radio.js +4 -4
- package/esm/RadioGroup/RadioGroup.js +4 -4
- package/esm/RadioTile/RadioTile.d.ts +3 -3
- package/esm/RadioTile/RadioTile.js +4 -5
- package/esm/RadioTileGroup/RadioTileGroup.js +4 -5
- package/esm/RangeSlider/RangeSlider.js +4 -4
- package/esm/Rate/Character.js +4 -4
- package/esm/Rate/Rate.d.ts +3 -3
- package/esm/Rate/Rate.js +4 -4
- package/esm/Row/index.d.ts +2 -2
- package/esm/Row/index.js +1 -1
- package/esm/SelectPicker/SelectPicker.d.ts +7 -17
- package/esm/SelectPicker/SelectPicker.js +17 -24
- package/esm/SelectPicker/index.d.ts +1 -1
- package/esm/Sidebar/Sidebar.js +8 -9
- package/esm/Sidenav/ExpandedSidenavDropdown.js +11 -14
- package/esm/Sidenav/ExpandedSidenavDropdownItem.d.ts +2 -2
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +7 -7
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.d.ts +2 -2
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +4 -4
- package/esm/Sidenav/Sidenav.d.ts +6 -0
- package/esm/Sidenav/Sidenav.js +8 -4
- package/esm/Sidenav/SidenavDropdown.d.ts +3 -3
- package/esm/Sidenav/SidenavDropdown.js +15 -17
- package/esm/Sidenav/SidenavDropdownCollapse.js +4 -4
- package/esm/Sidenav/SidenavDropdownItem.d.ts +3 -17
- package/esm/Sidenav/SidenavDropdownItem.js +6 -6
- package/esm/Sidenav/SidenavDropdownMenu.d.ts +11 -8
- package/esm/Sidenav/SidenavDropdownMenu.js +6 -6
- package/esm/Sidenav/SidenavDropdownToggle.js +12 -12
- package/esm/Sidenav/SidenavFooter.d.ts +11 -0
- package/esm/Sidenav/SidenavFooter.js +11 -0
- package/esm/Sidenav/SidenavGroupLabel.d.ts +11 -0
- package/esm/Sidenav/SidenavGroupLabel.js +11 -0
- package/esm/Sidenav/SidenavItem.d.ts +28 -9
- package/esm/Sidenav/SidenavItem.js +23 -13
- package/esm/Sidenav/SidenavToggle.d.ts +0 -6
- package/esm/Sidenav/SidenavToggle.js +13 -19
- package/esm/Sidenav/index.d.ts +3 -1
- package/esm/Sidenav/index.js +3 -1
- package/esm/Slider/Graduated.js +2 -2
- package/esm/Slider/Handle.js +5 -6
- package/esm/Slider/Input.js +2 -4
- package/esm/Slider/Mark.js +4 -4
- package/esm/Slider/ProgressBar.js +7 -8
- package/esm/Slider/Slider.js +4 -4
- package/esm/Slider/useDrag.d.ts +2 -2
- package/esm/Slider/useDrag.js +1 -1
- package/esm/Stack/HStack.d.ts +1 -1
- package/esm/Stack/HStack.js +1 -6
- package/esm/Stack/Stack.d.ts +20 -25
- package/esm/Stack/Stack.js +21 -37
- package/esm/Stack/StackItem.d.ts +2 -5
- package/esm/Stack/StackItem.js +17 -16
- package/esm/Stack/VStack.d.ts +1 -1
- package/esm/Stack/VStack.js +1 -6
- package/esm/Stat/Stat.js +4 -4
- package/esm/Stat/StatLabel.js +4 -4
- package/esm/Stat/StatTrend.js +4 -4
- package/esm/Stat/StatValue.js +4 -4
- package/esm/StatGroup/StatGroup.js +7 -10
- package/esm/Steps/StepItem.js +14 -17
- package/esm/Steps/Steps.js +4 -4
- package/esm/Table/Table.d.ts +2 -2
- package/esm/Tabs/TabPanel.js +4 -4
- package/esm/Tabs/Tabs.js +6 -5
- package/esm/Tag/Tag.js +4 -6
- package/esm/TagPicker/TagPicker.d.ts +10 -5
- package/esm/TagPicker/TagPicker.js +9 -4
- package/esm/Text/Text.d.ts +2 -9
- package/esm/Text/Text.js +18 -17
- package/esm/TimeRangePicker/TimeRangePicker.d.ts +1 -1
- package/esm/Timeline/Timeline.js +4 -4
- package/esm/Timeline/TimelineItem.js +4 -4
- package/esm/Toggle/Toggle.d.ts +4 -4
- package/esm/Toggle/Toggle.js +5 -5
- package/esm/Tooltip/Tooltip.js +9 -10
- package/esm/Tree/IndentLine.js +2 -2
- package/esm/Tree/TreeNode.js +6 -9
- package/esm/Tree/TreeNodeToggle.js +2 -2
- package/esm/Tree/TreeView.d.ts +2 -2
- package/esm/Tree/TreeView.js +4 -4
- package/esm/Tree/hooks/useFocusTree.d.ts +1 -1
- package/esm/TreePicker/TreePicker.d.ts +2 -10
- package/esm/TreePicker/TreePicker.js +6 -18
- package/esm/TreePicker/hooks/useFocusState.d.ts +1 -1
- package/esm/TreePicker/hooks/useFocusState.js +0 -0
- package/esm/Uploader/UploadFileItem.js +4 -4
- package/esm/Uploader/UploadTrigger.js +4 -4
- package/esm/Uploader/Uploader.js +8 -8
- package/esm/Uploader/utils/ajaxUpload.d.ts +1 -1
- package/esm/Whisper/Whisper.d.ts +2 -1
- package/esm/index.d.ts +5 -3
- package/esm/index.js +5 -3
- package/esm/internals/Box/Box.d.ts +43 -0
- package/esm/internals/Box/Box.js +39 -0
- package/esm/internals/Box/index.d.ts +3 -0
- package/esm/internals/Box/index.js +3 -0
- package/esm/internals/Box/utils.d.ts +18 -0
- package/esm/internals/Box/utils.js +114 -0
- package/esm/internals/CloseButton/CloseButton.js +4 -4
- package/esm/internals/Menu/MenuItem.d.ts +1 -1
- package/esm/internals/Menu/MenuItem.js +1 -1
- package/esm/internals/Menu/Menubar.js +4 -1
- package/esm/internals/Menu/useRenderMenuItem.d.ts +2 -0
- package/esm/{Dropdown/useRenderDropdownItem.js → internals/Menu/useRenderMenuItem.js} +1 -1
- package/esm/internals/Overlay/Modal.js +9 -11
- package/esm/internals/Overlay/Overlay.d.ts +5 -6
- package/esm/internals/Overlay/Overlay.js +27 -22
- package/esm/internals/Overlay/OverlayProvider.d.ts +13 -0
- package/esm/internals/Overlay/OverlayProvider.js +16 -0
- package/esm/internals/Overlay/OverlayTrigger.d.ts +1 -10
- package/esm/internals/Overlay/OverlayTrigger.js +7 -6
- package/esm/internals/Overlay/Position.d.ts +6 -10
- package/esm/internals/Overlay/Position.js +17 -18
- package/esm/internals/Overlay/index.d.ts +2 -0
- package/esm/internals/Overlay/index.js +7 -0
- package/esm/internals/Overlay/positionUtils.d.ts +2 -20
- package/esm/internals/Overlay/positionUtils.js +3 -3
- package/esm/internals/Overlay/types.d.ts +37 -0
- package/esm/internals/Picker/ListCheckItem.d.ts +2 -2
- package/esm/internals/Picker/ListCheckItem.js +4 -4
- package/esm/internals/Picker/ListItem.d.ts +2 -2
- package/esm/internals/Picker/ListItem.js +4 -4
- package/esm/internals/Picker/ListItemGroup.js +4 -4
- package/esm/internals/Picker/Listbox.d.ts +5 -5
- package/esm/internals/Picker/Listbox.js +11 -11
- package/esm/internals/Picker/PickerIndicator.d.ts +3 -1
- package/esm/internals/Picker/PickerIndicator.js +6 -4
- package/esm/internals/Picker/PickerPopup.d.ts +2 -2
- package/esm/internals/Picker/PickerPopup.js +18 -15
- package/esm/internals/Picker/PickerToggle.d.ts +3 -3
- package/esm/internals/Picker/PickerToggle.js +11 -6
- package/esm/internals/Picker/PickerToggleTrigger.d.ts +3 -4
- package/esm/internals/Picker/PickerToggleTrigger.js +12 -15
- package/esm/internals/Picker/SelectedElement.js +5 -3
- package/esm/internals/Picker/hooks/useCombobox.d.ts +1 -0
- package/esm/internals/Picker/hooks/useCombobox.js +5 -3
- package/esm/internals/Picker/hooks/usePickerClassName.d.ts +0 -2
- package/esm/internals/Picker/hooks/usePickerClassName.js +4 -8
- package/esm/internals/Picker/hooks/usePickerRef.d.ts +8 -8
- package/esm/internals/Picker/hooks/usePickerRef.js +0 -0
- package/esm/internals/Picker/index.d.ts +1 -1
- package/esm/internals/Plaintext/Plaintext.js +4 -4
- package/esm/internals/Ripple/Ripple.js +4 -4
- package/esm/internals/ScrollView/ScrollView.js +4 -4
- package/esm/internals/ScrollView/hooks/useScrollState.d.ts +2 -2
- package/esm/internals/SearchBox/SearchBox.js +4 -4
- package/esm/internals/StyledBox/StyledBox.d.ts +13 -0
- package/esm/internals/StyledBox/StyledBox.js +23 -0
- package/esm/internals/StyledBox/index.d.ts +4 -0
- package/esm/internals/StyledBox/index.js +4 -0
- package/esm/internals/Windowing/AutoSizer.js +3 -6
- package/esm/internals/constants/index.d.ts +1 -1
- package/esm/internals/constants/index.js +1 -1
- package/esm/internals/hooks/index.d.ts +1 -1
- package/esm/internals/hooks/index.js +1 -1
- package/esm/internals/hooks/useElementResize.js +1 -1
- package/esm/internals/hooks/useEnsuredRef.d.ts +1 -2
- package/esm/internals/hooks/useEnsuredRef.js +1 -1
- package/esm/internals/hooks/useFocus.d.ts +1 -1
- package/esm/internals/hooks/useFocus.js +0 -0
- package/esm/internals/hooks/useFocusVirtualListItem.d.ts +1 -1
- package/esm/internals/hooks/useInternalId.js +1 -1
- package/esm/internals/hooks/useRootClose.d.ts +1 -1
- package/esm/internals/hooks/useRootClose.js +0 -0
- package/{cjs/internals/hooks/useClassNames.d.ts → esm/internals/hooks/useStyles.d.ts} +10 -5
- package/esm/internals/hooks/{useClassNames.js → useStyles.js} +31 -16
- package/esm/internals/hooks/useTimeout.js +1 -1
- package/esm/internals/hooks/useUpdatedRef.d.ts +1 -1
- package/esm/internals/types/colours.d.ts +4 -0
- package/esm/internals/types/colours.js +9 -1
- package/esm/internals/types/form.d.ts +9 -9
- package/esm/internals/types/html.d.ts +19 -0
- package/esm/internals/types/html.js +2 -0
- package/esm/internals/types/index.d.ts +2 -0
- package/esm/internals/types/index.js +3 -1
- package/esm/internals/types/picker.d.ts +59 -19
- package/esm/internals/types/placement.d.ts +1 -2
- package/esm/internals/types/shared.d.ts +1 -4
- package/esm/internals/types/sizes.d.ts +25 -0
- package/esm/internals/types/sizes.js +22 -0
- package/esm/internals/utils/ReactChildren.js +0 -1
- package/esm/internals/utils/colours.d.ts +10 -0
- package/esm/internals/utils/colours.js +35 -0
- package/esm/internals/utils/createComponent.js +4 -4
- package/esm/internals/utils/getDOMNode.js +3 -6
- package/esm/internals/utils/index.d.ts +5 -4
- package/esm/internals/utils/index.js +5 -4
- package/esm/internals/utils/placement.d.ts +21 -0
- package/esm/internals/utils/{placementPolyfill.js → placement.js} +20 -1
- package/esm/internals/utils/sizes.d.ts +5 -0
- package/esm/internals/utils/sizes.js +16 -0
- package/{cjs/internals/utils → esm/internals/utils/style-sheet}/css.d.ts +2 -4
- package/esm/internals/utils/{css.js → style-sheet/css.js} +1 -0
- package/esm/internals/utils/style-sheet/index.d.ts +4 -0
- package/esm/internals/utils/style-sheet/index.js +5 -0
- package/esm/internals/utils/{prefix.js → style-sheet/prefix.js} +0 -0
- package/esm/internals/utils/style-sheet/responsive.d.ts +2 -0
- package/esm/internals/utils/style-sheet/responsive.js +15 -0
- package/esm/internals/utils/style-sheet/styles.d.ts +16 -0
- package/esm/internals/utils/style-sheet/styles.js +38 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +2 -1
- package/esm/locales/pl_PL.d.ts +151 -0
- package/esm/locales/pl_PL.js +87 -0
- package/esm/toaster/ToastContainer.d.ts +1 -1
- package/esm/toaster/ToastContainer.js +4 -4
- package/esm/toaster/hooks/useDelayedClosure.d.ts +1 -1
- package/esm/toaster/hooks/useDelayedClosure.js +2 -2
- package/esm/toaster/render.d.ts +2 -2
- package/internals/Box/styles/index.less +192 -0
- package/internals/Picker/styles/index.less +117 -176
- package/internals/Picker/styles/mixin.less +10 -169
- package/internals/Ripple/styles/index.less +2 -2
- package/internals/ScrollView/styles/index.less +2 -2
- package/locales/pl_PL/package.json +7 -0
- package/package.json +5 -5
- package/styles/color-modes/dark.less +17 -18
- package/styles/color-modes/high-contrast.less +18 -17
- package/styles/color-modes/light.less +16 -31
- package/styles/common.less +3 -5
- package/styles/index.less +4 -2
- package/styles/mixins/combobox.less +3 -7
- package/styles/mixins/listbox.less +2 -1
- package/styles/mixins/utilities.less +3 -6
- package/styles/normalize.less +1 -1
- package/styles/root.less +77 -0
- package/styles/scaffolding.less +5 -3
- package/styles/typography.less +16 -16
- package/styles/variables.less +331 -503
- package/toaster/styles/index.css +8 -14
- package/toaster/styles/index.less +6 -4
- package/useToaster/styles/index.css +8 -14
- package/Avatar/styles/mixin.less +0 -42
- package/FlexboxGrid/stories/styles.less +0 -17
- package/Form/styles/mixin.less +0 -139
- package/Grid/stories/styles.less +0 -29
- package/Message/styles/mixin.less +0 -41
- package/Modal/styles/mixin.less +0 -4
- package/Notification/styles/mixin.less +0 -19
- package/TagPicker/styles/mixin.less +0 -21
- package/Toggle/styles/mixin.less +0 -123
- package/cjs/Col/Col.d.ts +0 -69
- package/cjs/Col/Col.js +0 -62
- package/cjs/Dropdown/useRenderDropdownItem.d.ts +0 -2
- package/cjs/Row/Row.d.ts +0 -10
- package/cjs/Row/Row.js +0 -61
- package/cjs/internals/Overlay/OverlayContext.d.ts +0 -6
- package/cjs/internals/utils/placementPolyfill.d.ts +0 -10
- package/esm/Col/Col.d.ts +0 -69
- package/esm/Col/Col.js +0 -57
- package/esm/Dropdown/useRenderDropdownItem.d.ts +0 -2
- package/esm/Row/Row.d.ts +0 -10
- package/esm/Row/Row.js +0 -56
- package/esm/internals/Overlay/OverlayContext.d.ts +0 -6
- package/esm/internals/Overlay/OverlayContext.js +0 -5
- package/esm/internals/utils/placementPolyfill.d.ts +0 -10
- package/styles/color-modes.less +0 -18
- /package/cjs/internals/utils/{prefix.d.ts → style-sheet/prefix.d.ts} +0 -0
- /package/esm/internals/utils/{prefix.d.ts → style-sheet/prefix.d.ts} +0 -0
package/styles/variables.less
CHANGED
|
@@ -8,111 +8,108 @@
|
|
|
8
8
|
|
|
9
9
|
// Controls
|
|
10
10
|
|
|
11
|
-
// Polyfill for IE 11
|
|
12
|
-
@enable-ie-polyfill: true;
|
|
13
|
-
|
|
14
11
|
// CSS Resets
|
|
15
|
-
@enable-css-reset:
|
|
12
|
+
@enable-css-reset: true;
|
|
16
13
|
|
|
17
14
|
// Global button ripple switch
|
|
18
|
-
@enable-ripple-effect:
|
|
15
|
+
@enable-ripple-effect: true;
|
|
19
16
|
|
|
20
17
|
// Whether include styles for dark mode
|
|
21
|
-
@enable-dark-mode:
|
|
18
|
+
@enable-dark-mode: true;
|
|
22
19
|
|
|
23
20
|
// Whether include styles for high-contrast mode
|
|
24
|
-
@enable-high-contrast:
|
|
21
|
+
@enable-high-contrast: true;
|
|
25
22
|
|
|
26
23
|
// Media queries breakpoints
|
|
27
24
|
// Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
|
28
25
|
|
|
29
26
|
// Small screen / phone
|
|
30
27
|
// @screen-sm
|
|
31
|
-
@screen-sm:
|
|
28
|
+
@screen-sm: 576px;
|
|
32
29
|
|
|
33
30
|
// Medium screen / desktop
|
|
34
31
|
// @screen-md
|
|
35
|
-
@screen-md:
|
|
32
|
+
@screen-md: 768px;
|
|
36
33
|
|
|
37
34
|
// Large screen / wide desktop
|
|
38
35
|
// @screen-lg
|
|
39
|
-
@screen-lg:
|
|
36
|
+
@screen-lg: 992px;
|
|
40
37
|
|
|
41
38
|
// Extra large devices / extra wide desktop
|
|
42
39
|
// @screen-xl
|
|
43
|
-
@screen-xl:
|
|
40
|
+
@screen-xl: 1200px;
|
|
44
41
|
|
|
45
42
|
// Extra extra large devices / ultra wide desktop
|
|
46
43
|
// @screen-xxl
|
|
47
|
-
@screen-xxl:
|
|
44
|
+
@screen-xxl: 1400px;
|
|
48
45
|
|
|
49
46
|
|
|
50
47
|
// Grid system
|
|
51
48
|
// Define your custom responsive grid.
|
|
52
49
|
|
|
53
50
|
// Number of columns in the grid.
|
|
54
|
-
@grid-columns:
|
|
51
|
+
@grid-columns: 24;
|
|
55
52
|
// Padding between columns. Gets divided in half for the left and right.
|
|
56
|
-
@grid-gutter-width:
|
|
53
|
+
@grid-gutter-width: 12px;
|
|
57
54
|
|
|
58
55
|
// Container sizes
|
|
59
56
|
// Define the maximum width of `.container` for different screen sizes.
|
|
60
57
|
|
|
61
58
|
// Small screen / phone / tablet
|
|
62
|
-
@container-phone:
|
|
63
|
-
@container-sm:
|
|
59
|
+
@container-phone: (540px + @grid-gutter-width);
|
|
60
|
+
@container-sm: @container-phone;
|
|
64
61
|
|
|
65
62
|
// Medium screen / desktop
|
|
66
|
-
@container-desktop:
|
|
67
|
-
@container-md:
|
|
63
|
+
@container-desktop: (720px + @grid-gutter-width);
|
|
64
|
+
@container-md: @container-desktop;
|
|
68
65
|
|
|
69
66
|
// Large screen / wide desktop
|
|
70
|
-
@container-large-desktop:
|
|
71
|
-
@container-lg:
|
|
67
|
+
@container-large-desktop: (960px + @grid-gutter-width);
|
|
68
|
+
@container-lg: @container-large-desktop;
|
|
72
69
|
|
|
73
70
|
// Extra large devices / ultra wide desktop
|
|
74
|
-
@container-extra-large-desktop:
|
|
75
|
-
@container-xl:
|
|
71
|
+
@container-extra-large-desktop: (1140px + @grid-gutter-width);
|
|
72
|
+
@container-xl: @container-large-desktop;
|
|
76
73
|
|
|
77
74
|
// Extra large devices / ultra wide desktop
|
|
78
|
-
@container-extra-extra-large-desktop:
|
|
79
|
-
@container-xxl:
|
|
75
|
+
@container-extra-extra-large-desktop: (1320px + @grid-gutter-width);
|
|
76
|
+
@container-xxl: @container-large-desktop;
|
|
80
77
|
|
|
81
78
|
// Color system
|
|
82
79
|
|
|
83
80
|
// Primary palette
|
|
84
|
-
@primary-color:
|
|
81
|
+
@primary-color: #3498ff;
|
|
85
82
|
|
|
86
83
|
// Secondary palette
|
|
87
|
-
@red:
|
|
88
|
-
@orange:
|
|
89
|
-
@yellow:
|
|
90
|
-
@green:
|
|
91
|
-
@cyan:
|
|
92
|
-
@blue:
|
|
93
|
-
@violet:
|
|
84
|
+
@red: #f44336;
|
|
85
|
+
@orange: #fa8900;
|
|
86
|
+
@yellow: #ffb300;
|
|
87
|
+
@green: #4caf50;
|
|
88
|
+
@cyan: #00bcd4;
|
|
89
|
+
@blue: #2196f3;
|
|
90
|
+
@violet: #673ab7;
|
|
94
91
|
|
|
95
92
|
// Dark mode
|
|
96
|
-
@primary-color-dark:
|
|
93
|
+
@primary-color-dark: #34c3ff;
|
|
97
94
|
|
|
98
|
-
@red-dark:
|
|
99
|
-
@orange-dark:
|
|
100
|
-
@yellow-dark:
|
|
101
|
-
@green-dark:
|
|
102
|
-
@cyan-dark:
|
|
103
|
-
@blue-dark:
|
|
104
|
-
@violet-dark:
|
|
95
|
+
@red-dark: #f04f43;
|
|
96
|
+
@orange-dark: #ff9800;
|
|
97
|
+
@yellow-dark: #ffc757;
|
|
98
|
+
@green-dark: #58b15b;
|
|
99
|
+
@cyan-dark: #00bcd4;
|
|
100
|
+
@blue-dark: #1499ef;
|
|
101
|
+
@violet-dark: #673ab7;
|
|
105
102
|
|
|
106
103
|
// High-contrast mode
|
|
107
104
|
@primary-color-high-contrast: #ffff00;
|
|
108
105
|
|
|
109
|
-
@red-high-contrast:
|
|
110
|
-
@orange-high-contrast:
|
|
111
|
-
@yellow-high-contrast:
|
|
112
|
-
@green-high-contrast:
|
|
113
|
-
@cyan-high-contrast:
|
|
114
|
-
@blue-high-contrast:
|
|
115
|
-
@violet-high-contrast:
|
|
106
|
+
@red-high-contrast: #bd1732;
|
|
107
|
+
@orange-high-contrast: @orange-dark;
|
|
108
|
+
@yellow-high-contrast: #ffc757;
|
|
109
|
+
@green-high-contrast: #0d822c;
|
|
110
|
+
@cyan-high-contrast: @cyan-dark;
|
|
111
|
+
@blue-high-contrast: #1499ef;
|
|
112
|
+
@violet-high-contrast: @violet-dark;
|
|
116
113
|
|
|
117
114
|
// List for looping
|
|
118
115
|
@spectrum: red, orange, yellow, green, cyan, blue, violet;
|
|
@@ -120,68 +117,50 @@
|
|
|
120
117
|
// Typography
|
|
121
118
|
// Font, line-height, and color for body text, headings, and more.
|
|
122
119
|
|
|
123
|
-
@font-family-base:
|
|
120
|
+
@font-family-base: -apple-system, BlinkMacSystemFont, Arial, Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STXihei, sans-serif;
|
|
121
|
+
@font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
124
122
|
|
|
125
123
|
@font-size-extra-large: 18px;
|
|
126
|
-
@font-size-large:
|
|
127
|
-
@font-size-base:
|
|
128
|
-
@font-size-small:
|
|
124
|
+
@font-size-large: 16px;
|
|
125
|
+
@font-size-base: 14px;
|
|
126
|
+
@font-size-small: 12px;
|
|
129
127
|
@font-size-extra-small: 12px;
|
|
130
128
|
|
|
131
|
-
@font-size-h1: 46px;
|
|
132
|
-
@font-size-h2: 36px;
|
|
133
|
-
@font-size-h3: 28px;
|
|
134
|
-
@font-size-h4: 22px;
|
|
135
|
-
@font-size-h5: 18px;
|
|
136
|
-
@font-size-h6: 16px;
|
|
137
|
-
|
|
138
|
-
@line-height-h1: 62px;
|
|
139
|
-
@line-height-h2: 50px;
|
|
140
|
-
@line-height-h3: 42px;
|
|
141
|
-
@line-height-h4: 34px;
|
|
142
|
-
@line-height-h5: 24px;
|
|
143
|
-
@line-height-h6: 22px;
|
|
144
129
|
|
|
145
130
|
// Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
|
146
|
-
@line-height-computed:
|
|
147
|
-
@line-height-large-computed:
|
|
131
|
+
@line-height-computed: 20px;
|
|
132
|
+
@line-height-large-computed: 22px;
|
|
148
133
|
|
|
149
134
|
// Unit-less `line-height` for use in components like buttons.
|
|
150
|
-
@line-height-extra-large:
|
|
151
|
-
@line-height-large:
|
|
152
|
-
@line-height-base:
|
|
153
|
-
@line-height-small:
|
|
154
|
-
@line-height-extra-small:
|
|
135
|
+
@line-height-extra-large: unit((@line-height-large-computed / @font-size-extra-large)); // ~1.222
|
|
136
|
+
@line-height-large: unit((@line-height-large-computed / @font-size-large)); // ~1.375
|
|
137
|
+
@line-height-base: unit((@line-height-computed / @font-size-base)); // ~1.4285714285714286
|
|
138
|
+
@line-height-small: unit((@line-height-computed / @font-size-small)); // ~1.6666666666666667
|
|
139
|
+
@line-height-extra-small: unit((@line-height-computed / @font-size-extra-small)); // ~1.6666666666666667
|
|
155
140
|
|
|
156
141
|
// By default, this inherits from the `<body>`.
|
|
157
|
-
@headings-font-family:
|
|
158
|
-
@headings-font-weight:
|
|
159
|
-
@headings-color:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
// Box shadows
|
|
163
|
-
@box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
|
|
142
|
+
@headings-font-family: inherit;
|
|
143
|
+
@headings-font-weight: bolder;
|
|
144
|
+
@headings-color: inherit;
|
|
164
145
|
|
|
165
146
|
|
|
166
147
|
// Spacing
|
|
167
148
|
// Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
|
168
149
|
|
|
169
|
-
@padding-y:
|
|
170
|
-
@padding-x:
|
|
171
|
-
@padding-y-lg:
|
|
172
|
-
@padding-x-lg:
|
|
173
|
-
@padding-y-sm:
|
|
174
|
-
@padding-x-sm:
|
|
175
|
-
@padding-y-xs:
|
|
176
|
-
@padding-x-xs:
|
|
150
|
+
@padding-y: 8px;
|
|
151
|
+
@padding-x: 12px;
|
|
152
|
+
@padding-y-lg: 10px;
|
|
153
|
+
@padding-x-lg: 16px;
|
|
154
|
+
@padding-y-sm: 5px;
|
|
155
|
+
@padding-x-sm: 10px;
|
|
156
|
+
@padding-y-xs: 2px;
|
|
157
|
+
@padding-x-xs: 8px;
|
|
177
158
|
|
|
178
|
-
// Border radius
|
|
179
|
-
@border-radius: 6px;
|
|
180
159
|
|
|
181
160
|
// Scaffolding
|
|
182
161
|
// Settings for some of the most global styles.
|
|
183
162
|
|
|
184
|
-
@link-hover-decoration:
|
|
163
|
+
@link-hover-decoration: underline;
|
|
185
164
|
@link-active-decoration: underline;
|
|
186
165
|
|
|
187
166
|
// Disabled cursor for form controls and buttons.
|
|
@@ -191,133 +170,102 @@
|
|
|
191
170
|
|
|
192
171
|
// Table
|
|
193
172
|
|
|
194
|
-
@table-header-padding-y:
|
|
195
|
-
@table-header-padding-x:
|
|
196
|
-
@table-header-font-size:
|
|
197
|
-
@table-header-line-height:
|
|
173
|
+
@table-header-padding-y: 10px;
|
|
174
|
+
@table-header-padding-x: 10px;
|
|
175
|
+
@table-header-font-size: @font-size-small;
|
|
176
|
+
@table-header-line-height: @line-height-small;
|
|
198
177
|
@table-header-sort-wrapper-margin-left: 5px;
|
|
199
178
|
|
|
200
|
-
@table-column-resize-spanner-width:
|
|
201
|
-
@table-column-resize-spanner-triangle-side-length:
|
|
179
|
+
@table-column-resize-spanner-width: 3px;
|
|
180
|
+
@table-column-resize-spanner-triangle-side-length: 3px;
|
|
202
181
|
|
|
203
|
-
@table-cell-padding-y:
|
|
204
|
-
@table-cell-padding-x:
|
|
205
|
-
@table-cell-hover-color:
|
|
182
|
+
@table-cell-padding-y: 13px;
|
|
183
|
+
@table-cell-padding-x: 10px;
|
|
184
|
+
@table-cell-hover-color: var(--rs-primary-500);
|
|
206
185
|
|
|
207
|
-
@table-scrollbar-timing-duration:
|
|
208
|
-
@table-scrollbar-width:
|
|
209
|
-
@table-scrollbar-handle-width:
|
|
210
|
-
@table-scrollbar-handle-gap:
|
|
186
|
+
@table-scrollbar-timing-duration: 0.1s;
|
|
187
|
+
@table-scrollbar-width: 10px;
|
|
188
|
+
@table-scrollbar-handle-width: 8px;
|
|
189
|
+
@table-scrollbar-handle-gap: (@table-scrollbar-width - @table-scrollbar-handle-width)/2;
|
|
211
190
|
|
|
212
|
-
@table-loader-backdrop-color:
|
|
213
|
-
@table-loader-transition:
|
|
191
|
+
@table-loader-backdrop-color: var(--rs-loader-backdrop);
|
|
192
|
+
@table-loader-transition: 0.2s ease-in;
|
|
214
193
|
|
|
215
194
|
// Buttons
|
|
216
195
|
|
|
217
|
-
@btn-font-weight:
|
|
218
|
-
@btn-
|
|
219
|
-
|
|
220
|
-
@btn-transition: color 0.15s ease-out, background-color 0.15s ease-out;
|
|
221
|
-
@btn-disabled-opacity: 0.3;
|
|
196
|
+
@btn-font-weight: normal;
|
|
197
|
+
@btn-transition: color 0.15s ease-out, background-color 0.15s ease-out;
|
|
198
|
+
@btn-disabled-opacity: 0.3;
|
|
222
199
|
|
|
223
200
|
|
|
224
201
|
// Ghost Button
|
|
225
|
-
@btn-ghost-border-width:
|
|
202
|
+
@btn-ghost-border-width: 1px;
|
|
226
203
|
|
|
227
204
|
// Button with icons (not IconButton)
|
|
228
|
-
@btn-icon-gap:
|
|
205
|
+
@btn-icon-gap: 5px;
|
|
229
206
|
|
|
230
207
|
// Button Loading
|
|
231
208
|
@btn-loading-spin-default-diameter: 18px;
|
|
232
|
-
@btn-loading-spin-xs-diameter:
|
|
233
|
-
@btn-loading-spin-ring-wide:
|
|
209
|
+
@btn-loading-spin-xs-diameter: 16px;
|
|
210
|
+
@btn-loading-spin-ring-wide: 3px;
|
|
234
211
|
|
|
235
212
|
// Ripple
|
|
236
213
|
|
|
237
214
|
@ripple-bg: rgba(0, 0, 0, 0.2);
|
|
238
215
|
|
|
239
|
-
// Badge
|
|
240
|
-
|
|
241
|
-
@badge-dot-size: 10px;
|
|
242
|
-
|
|
243
|
-
// Avatar
|
|
244
|
-
@avatar-size-xxl: 120px;
|
|
245
|
-
@avatar-font-size-xxl: 48px;
|
|
246
|
-
@avatar-size-xl: 90px;
|
|
247
|
-
@avatar-font-size-xl: 36px;
|
|
248
|
-
@avatar-size-lg: 60px;
|
|
249
|
-
@avatar-font-size-lg: 26px;
|
|
250
|
-
@avatar-size: 40px;
|
|
251
|
-
@avatar-font-size: 18px;
|
|
252
|
-
@avatar-size-sm: 30px;
|
|
253
|
-
@avatar-font-size-sm: 14px;
|
|
254
|
-
@avatar-size-xs: 20px;
|
|
255
|
-
@avatar-font-size-xs: 12px;
|
|
256
216
|
|
|
257
217
|
// Forms
|
|
258
218
|
|
|
259
219
|
// Form Layout
|
|
260
|
-
@form-group-margin-bottom:
|
|
261
|
-
@form-control-width:
|
|
262
|
-
@form-control-label-width:
|
|
263
|
-
@form-control-label-margin-right:
|
|
264
|
-
@form-control-label-margin-bottom:
|
|
265
|
-
@form-help-text-inline-gap:
|
|
220
|
+
@form-group-margin-bottom: 24px;
|
|
221
|
+
@form-control-width: 300px;
|
|
222
|
+
@form-control-label-width: 170px;
|
|
223
|
+
@form-control-label-margin-right: 12px;
|
|
224
|
+
@form-control-label-margin-bottom: 4px;
|
|
225
|
+
@form-help-text-inline-gap: 10px;
|
|
266
226
|
|
|
267
227
|
// Error Message
|
|
268
|
-
@form-
|
|
269
|
-
@form-
|
|
270
|
-
@form-
|
|
271
|
-
@form-
|
|
272
|
-
@form-
|
|
273
|
-
@form-
|
|
274
|
-
@form-
|
|
275
|
-
@form-
|
|
228
|
+
@form-err-msg-padding-vertical: 4px;
|
|
229
|
+
@form-err-msg-padding-horizontal: 8px;
|
|
230
|
+
@form-err-msg-height: (@form-err-msg-padding-vertical*2 + @line-height-computed);
|
|
231
|
+
@form-err-msg-font-size: @font-size-small;
|
|
232
|
+
@form-err-msg-triangle-width: 6px;
|
|
233
|
+
@form-err-msg-triangle-gap: 10px;
|
|
234
|
+
@form-err-msg-triangle-vertical: 4px;
|
|
235
|
+
@form-err-msg-translate-distance: 2px;
|
|
276
236
|
|
|
277
237
|
|
|
278
238
|
// Input
|
|
279
239
|
|
|
280
|
-
@input-padding-y:
|
|
281
|
-
@input-padding-x:
|
|
282
|
-
@input-border-width:
|
|
283
|
-
@input-transition:
|
|
284
|
-
|
|
285
|
-
// This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
|
|
286
|
-
@input-border-radius: @border-radius;
|
|
240
|
+
@input-padding-y: @padding-y;
|
|
241
|
+
@input-padding-x: @padding-x;
|
|
242
|
+
@input-border-width: 1px;
|
|
243
|
+
@input-transition: border-color ease-in-out 0.15s;
|
|
287
244
|
|
|
288
|
-
@input-height-base:
|
|
289
|
-
@input-height-large:
|
|
290
|
-
@input-height-small:
|
|
291
|
-
@input-height-extra-small:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
// Number input
|
|
295
|
-
@number-input-touchspin-font-size: 12px;
|
|
245
|
+
@input-height-base: (@line-height-computed + (@padding-y * 2));
|
|
246
|
+
@input-height-large: (@line-height-large-computed + (@padding-y-lg * 2));
|
|
247
|
+
@input-height-small: (@line-height-computed + (@padding-y-sm * 2));
|
|
248
|
+
@input-height-extra-small: (@line-height-computed + (@padding-y-xs * 2));
|
|
296
249
|
|
|
297
250
|
// Dropdowns
|
|
298
251
|
// Dropdown menu container and contents.
|
|
299
252
|
|
|
300
|
-
@dropdown-caret-width:
|
|
301
|
-
@dropdown-caret-padding:
|
|
253
|
+
@dropdown-caret-width: 10px;
|
|
254
|
+
@dropdown-caret-padding: 10px;
|
|
302
255
|
|
|
303
256
|
// Divider color for between dropdown items.
|
|
304
|
-
@dropdown-
|
|
305
|
-
@dropdown-shadow: 0 0 10px rgba(0, 0, 0, 0.06), 0 4px 4px rgba(0, 0, 0, 0.12);
|
|
306
|
-
|
|
307
|
-
@dropdown-menu-radius: @border-radius;
|
|
308
|
-
@dropdown-menu-padding-y: @dropdown-menu-radius;
|
|
309
|
-
|
|
257
|
+
@dropdown-shadow: 0 0 10px rgba(0, 0, 0, 0.06), 0 4px 4px rgba(0, 0, 0, 0.12);
|
|
310
258
|
|
|
311
|
-
@dropdown-item-padding-y:
|
|
312
|
-
@dropdown-item-padding-x:
|
|
259
|
+
@dropdown-item-padding-y: 8px;
|
|
260
|
+
@dropdown-item-padding-x: 12px;
|
|
313
261
|
|
|
314
262
|
// Dropdown item content submenu icon
|
|
315
|
-
@dropdown-item-submenu-icon-angle-spacing:
|
|
316
|
-
@dropdown-item-submenu-icon-angle-width:
|
|
317
|
-
@dropdown-item-content-submenu-icon-angle-line-height:
|
|
318
|
-
@dropdown-item-content-submenu-icon-angle-size:
|
|
319
|
-
@dropdown-toggle-padding-right:
|
|
320
|
-
@dropdown-caret-icon-padding-horizontal:
|
|
263
|
+
@dropdown-item-submenu-icon-angle-spacing: 10px;
|
|
264
|
+
@dropdown-item-submenu-icon-angle-width: 5px;
|
|
265
|
+
@dropdown-item-content-submenu-icon-angle-line-height: @line-height-base;
|
|
266
|
+
@dropdown-item-content-submenu-icon-angle-size: @font-size-base;
|
|
267
|
+
@dropdown-toggle-padding-right: (@padding-x + @dropdown-caret-width + @dropdown-caret-padding);
|
|
268
|
+
@dropdown-caret-icon-padding-horizontal: 9px;
|
|
321
269
|
|
|
322
270
|
// DropDownMenu offset value
|
|
323
271
|
@dropdown-max-height: 280px;
|
|
@@ -328,163 +276,113 @@
|
|
|
328
276
|
// Toggle
|
|
329
277
|
|
|
330
278
|
@toggle-active-scale: 1.2;
|
|
331
|
-
@toggle-transition:
|
|
332
|
-
|
|
333
|
-
@toggle-md-height:
|
|
334
|
-
@toggle-md-handle-gap:
|
|
335
|
-
@toggle-md-min-width:
|
|
336
|
-
@toggle-md-
|
|
337
|
-
@toggle-md-
|
|
338
|
-
|
|
339
|
-
@toggle-
|
|
340
|
-
@toggle-
|
|
341
|
-
|
|
342
|
-
@toggle-sm-
|
|
343
|
-
|
|
344
|
-
@toggle-
|
|
345
|
-
@toggle-
|
|
346
|
-
@toggle-
|
|
347
|
-
|
|
348
|
-
@toggle-lg-height: 30px;
|
|
349
|
-
@toggle-lg-min-width: 55px;
|
|
350
|
-
@toggle-lg-handle-gap: 4px;
|
|
351
|
-
@toggle-lg-inner-margin: @padding-x-sm;
|
|
352
|
-
@toggle-lg-inner-font-size: @font-size-base;
|
|
279
|
+
@toggle-transition: 0.15s ease-out;
|
|
280
|
+
|
|
281
|
+
@toggle-md-height: 24px;
|
|
282
|
+
@toggle-md-handle-gap: 3px;
|
|
283
|
+
@toggle-md-min-width: 44px;
|
|
284
|
+
@toggle-md-handle-diameter: (@toggle-md-height - @toggle-md-handle-gap*2);
|
|
285
|
+
@toggle-md-inner-margin: @padding-y;
|
|
286
|
+
|
|
287
|
+
@toggle-sm-height: 14px;
|
|
288
|
+
@toggle-sm-min-width: 26px;
|
|
289
|
+
@toggle-sm-handle-gap: 2px;
|
|
290
|
+
@toggle-sm-inner-margin: 6px;
|
|
291
|
+
|
|
292
|
+
@toggle-lg-height: 30px;
|
|
293
|
+
@toggle-lg-min-width: 55px;
|
|
294
|
+
@toggle-lg-handle-gap: 4px;
|
|
295
|
+
@toggle-lg-inner-margin: @padding-x-sm;
|
|
353
296
|
|
|
354
297
|
// Navs
|
|
355
298
|
|
|
356
|
-
@nav-item-transition:
|
|
299
|
+
@nav-item-transition: color 0.15s ease-out, background-color 0.15s ease-out;
|
|
357
300
|
|
|
358
301
|
// Tab
|
|
359
|
-
@nav-tab-bar-width:
|
|
302
|
+
@nav-tab-bar-width: 1px;
|
|
360
303
|
|
|
361
304
|
// Subtle
|
|
362
|
-
@nav-subtle-bar-width:
|
|
363
|
-
|
|
364
|
-
// Divider
|
|
365
|
-
@nav-divider-margin-vertical: 6px;
|
|
305
|
+
@nav-subtle-bar-width: 2px;
|
|
366
306
|
|
|
367
307
|
// Navbar
|
|
368
|
-
@navbar-item-padding-y:
|
|
369
|
-
@navbar-item-padding-x:
|
|
308
|
+
@navbar-item-padding-y: 8px;
|
|
309
|
+
@navbar-item-padding-x: 12px;
|
|
370
310
|
|
|
371
311
|
// Sidenav
|
|
372
312
|
|
|
373
|
-
@sidenav-item-caret-size:
|
|
374
|
-
@sidenav-padding-vertical:
|
|
375
|
-
@sidenav-
|
|
376
|
-
@sidenav-
|
|
377
|
-
@sidenav-
|
|
378
|
-
@sidenav-
|
|
379
|
-
@sidenav-
|
|
380
|
-
@sidenav-
|
|
381
|
-
@sidenav-
|
|
382
|
-
@sidenav-
|
|
383
|
-
@sidenav-
|
|
384
|
-
@sidenav-
|
|
385
|
-
@sidenav-
|
|
386
|
-
|
|
387
|
-
@sidenav-
|
|
388
|
-
@sidenav-
|
|
389
|
-
@sidenav-collapse-transition-config: 0.15s ease-in;
|
|
390
|
-
|
|
391
|
-
@sidenav-level-retract: 9px;
|
|
392
|
-
@sidenav-level2-retract: (@sidenav-padding-horizontal + @sidenav-icon-width + @sidenav-icon-spacing);
|
|
393
|
-
@sidenav-level3-retract: (@sidenav-level2-retract + @sidenav-level-retract); //60 px
|
|
394
|
-
@sidenav-level4-retract: (@sidenav-level2-retract + @sidenav-level-retract * 2);
|
|
395
|
-
@sidenav-level5-retract: (@sidenav-level2-retract + @sidenav-level-retract * 3);
|
|
396
|
-
@sidenav-level6-retract: (@sidenav-level2-retract + @sidenav-level-retract * 4);
|
|
313
|
+
@sidenav-item-caret-size: 14px;
|
|
314
|
+
@sidenav-padding-vertical: 8px;
|
|
315
|
+
@sidenav-padding-horizontal: 8px;
|
|
316
|
+
@sidenav-collapse-in-width: 100%;
|
|
317
|
+
@sidenav-default-width: 52px;
|
|
318
|
+
@sidenav-item-height: (@sidenav-padding-vertical * 2 + @line-height-computed);
|
|
319
|
+
@sidenav-menu-max-height: (@sidenav-item-height * 40);
|
|
320
|
+
@sidenav-menu-animation-time: 1.5s;
|
|
321
|
+
@sidenav-footer-height: @sidenav-item-height; // Footer is same height as a sidenav item
|
|
322
|
+
@sidenav-level1-item-font-size: @font-size-base;
|
|
323
|
+
@sidenav-icon-width: @sidenav-level1-item-font-size;
|
|
324
|
+
@sidenav-dropdown-toggle-caret-width: 20px;
|
|
325
|
+
@sidenav-collapse-transition-config: 0.15s ease-in;
|
|
326
|
+
|
|
327
|
+
@sidenav-level-retract: 9px;
|
|
328
|
+
@sidenav-level2-retract: (@sidenav-padding-horizontal + @sidenav-icon-width);
|
|
397
329
|
|
|
398
330
|
// Steps
|
|
399
331
|
|
|
400
|
-
@steps-icon-diameter:
|
|
401
|
-
@steps-icon-
|
|
402
|
-
@steps-icon-spacing: 10px;
|
|
403
|
-
@steps-item-spacing: 10px;
|
|
332
|
+
@steps-icon-diameter: 30px;
|
|
333
|
+
@steps-icon-spacing: 10px;
|
|
404
334
|
|
|
405
335
|
// This space place the steps-icon
|
|
406
|
-
@steps-icon-
|
|
407
|
-
@steps-
|
|
408
|
-
@steps-icon-line-height: unit(((@steps-icon-diameter - 2px) / @font-size-large));
|
|
409
|
-
@steps-title-font-size: @font-size-large;
|
|
410
|
-
@steps-title-line-height: unit((@steps-icon-diameter / @font-size-large));
|
|
411
|
-
@steps-description-margin-top: 12px;
|
|
336
|
+
@steps-icon-line-height: unit(((@steps-icon-diameter - 2px) / @font-size-large));
|
|
337
|
+
@steps-title-line-height: unit((@steps-icon-diameter / @font-size-large));
|
|
412
338
|
|
|
413
339
|
// Small
|
|
414
|
-
@small-steps-icon-diameter:
|
|
415
|
-
@small-steps-icon-
|
|
416
|
-
@small-steps-
|
|
417
|
-
@small-steps-
|
|
418
|
-
@small-steps-icon-size: @font-size-base;
|
|
419
|
-
@small-steps-description-font-size: @font-size-small;
|
|
420
|
-
@small-steps-description-line-height: @line-height-small;
|
|
421
|
-
@small-steps-description-margin-top: 12px;
|
|
340
|
+
@small-steps-icon-diameter: 24px;
|
|
341
|
+
@small-steps-icon-line-height: unit(((@small-steps-icon-diameter - 2px) / @font-size-base));
|
|
342
|
+
@small-steps-title-line-height: unit((@small-steps-icon-diameter / @font-size-base));
|
|
343
|
+
@small-steps-description-line-height: @line-height-small;
|
|
422
344
|
|
|
423
345
|
// Checkbox
|
|
424
|
-
|
|
425
|
-
@checkbox-width
|
|
426
|
-
@checkbox-
|
|
427
|
-
@checkbox-border-radius: 3px;
|
|
428
|
-
@checkbox-bg: transparent;
|
|
346
|
+
@checkbox-width-height: 16px;
|
|
347
|
+
@checkbox-sense-width: 10px;
|
|
348
|
+
@checkbox-bg: transparent;
|
|
429
349
|
|
|
430
350
|
// Radio
|
|
431
351
|
|
|
432
|
-
@radio-width-height:
|
|
433
|
-
@radio-inner-width-height:
|
|
434
|
-
@radio-sense-width:
|
|
435
|
-
@radio-
|
|
436
|
-
@radio-
|
|
437
|
-
@radio-label-padding-horizontal: 10px;
|
|
352
|
+
@radio-width-height: 16px;
|
|
353
|
+
@radio-inner-width-height: 6px;
|
|
354
|
+
@radio-sense-width: 10px;
|
|
355
|
+
@radio-bg: transparent;
|
|
356
|
+
@radio-label-padding-horizontal: 10px;
|
|
438
357
|
|
|
439
358
|
// Tooltips
|
|
440
359
|
|
|
441
|
-
@tooltip-max-width:
|
|
442
|
-
@tooltip-opacity:
|
|
443
|
-
@tooltip-
|
|
444
|
-
@tooltip-
|
|
445
|
-
@tooltip-translate-distance: 2px;
|
|
360
|
+
@tooltip-max-width: 250px;
|
|
361
|
+
@tooltip-opacity: 1;
|
|
362
|
+
@tooltip-arrow-width: 6px;
|
|
363
|
+
@tooltip-translate-distance: 2px;
|
|
446
364
|
|
|
447
365
|
// Distance between Arrow and frame.
|
|
448
|
-
@tooltip-arrow-gap-lg:
|
|
449
|
-
@tooltip-arrow-gap-sm:
|
|
366
|
+
@tooltip-arrow-gap-lg: 10px;
|
|
367
|
+
@tooltip-arrow-gap-sm: 4px;
|
|
450
368
|
|
|
451
369
|
|
|
452
370
|
// Popovers
|
|
453
371
|
|
|
454
|
-
@popover-
|
|
455
|
-
@popover-
|
|
456
|
-
@popover-
|
|
457
|
-
|
|
458
|
-
@popover-arrow-width: 6px;
|
|
459
|
-
@popover-arrow-outer-width: @popover-arrow-width;
|
|
372
|
+
@popover-translate-distance: 2px;
|
|
373
|
+
@popover-arrow-width: 6px;
|
|
374
|
+
@popover-arrow-outer-width: @popover-arrow-width;
|
|
460
375
|
// Distance between Arrow and frame.
|
|
461
|
-
@popover-arrow-gap:
|
|
376
|
+
@popover-arrow-gap: 4px;
|
|
462
377
|
|
|
463
378
|
// Modals
|
|
464
379
|
|
|
465
|
-
// Padding applied to the modal content
|
|
466
|
-
@modal-content-padding: 20px;
|
|
467
|
-
// Margin of modal header and body
|
|
468
|
-
@modal-body-margin: 20px;
|
|
469
|
-
@modal-border-radius: @border-radius;
|
|
470
|
-
|
|
471
|
-
@modal-title-font-size: @font-size-extra-large;
|
|
472
|
-
@modal-title-color: var(--rs-text-primary);
|
|
473
|
-
@modal-title-line-height: @line-height-extra-large;
|
|
474
|
-
|
|
475
|
-
@modal-close-btn-size: @font-size-small;
|
|
476
|
-
@modal-close-btn-line-height: @line-height-small;
|
|
477
|
-
@modal-close-btn-color: var(--rs-text-secondary);
|
|
478
|
-
@modal-close-btn-hover-color: var(--rs-text-primary);
|
|
479
|
-
|
|
480
380
|
// Modal sizes
|
|
481
381
|
@modal-lg: 968px;
|
|
482
382
|
@modal-md: 800px;
|
|
483
383
|
@modal-sm: 600px;
|
|
484
384
|
@modal-xs: 400px;
|
|
485
385
|
|
|
486
|
-
@modal-full-size-margin: 60px;
|
|
487
|
-
|
|
488
386
|
// Drawer
|
|
489
387
|
|
|
490
388
|
// Padding applied to the drawer content
|
|
@@ -493,9 +391,9 @@
|
|
|
493
391
|
// Margin of modal header and body
|
|
494
392
|
@drawer-body-margin: 30px;
|
|
495
393
|
|
|
496
|
-
@drawer-close-btn-size:
|
|
497
|
-
@drawer-close-btn-line-height:
|
|
498
|
-
@drawer-close-btn-color:
|
|
394
|
+
@drawer-close-btn-size: @font-size-small;
|
|
395
|
+
@drawer-close-btn-line-height: @line-height-small;
|
|
396
|
+
@drawer-close-btn-color: var(--rs-text-primary);
|
|
499
397
|
|
|
500
398
|
// Drawer sizes
|
|
501
399
|
@drawer-horizontal-lg: @modal-lg;
|
|
@@ -514,276 +412,206 @@
|
|
|
514
412
|
// Message
|
|
515
413
|
// Define alert colors, border radius, and padding.
|
|
516
414
|
|
|
517
|
-
@message-padding:
|
|
518
|
-
@message-
|
|
519
|
-
|
|
520
|
-
@message-title-size: @font-size-base;
|
|
521
|
-
@message-link-font-weight: bold;
|
|
415
|
+
@message-padding: 20px;
|
|
416
|
+
@message-title-size: @font-size-base;
|
|
417
|
+
@message-link-font-weight: bold;
|
|
522
418
|
|
|
523
|
-
@message-icon-size:
|
|
524
|
-
@message-icon-large-size:
|
|
525
|
-
@message-icon-margin-right:
|
|
419
|
+
@message-icon-size: 16px;
|
|
420
|
+
@message-icon-large-size: 24px;
|
|
421
|
+
@message-icon-margin-right: 10px;
|
|
526
422
|
|
|
527
|
-
@message-close-btn-size:
|
|
528
|
-
@message-close-btn-padding:
|
|
423
|
+
@message-close-btn-size: 12px;
|
|
424
|
+
@message-close-btn-padding: 8px 8px 0;
|
|
529
425
|
|
|
530
426
|
// toaster
|
|
531
427
|
|
|
532
|
-
@toast-ns:
|
|
533
|
-
@toast-
|
|
534
|
-
@toast-spacing: 24px;
|
|
428
|
+
@toast-ns: ~'rs-toast';
|
|
429
|
+
@toast-spacing: 24px;
|
|
535
430
|
|
|
536
431
|
// Notification
|
|
537
432
|
|
|
538
|
-
@notify-
|
|
539
|
-
@notify-
|
|
540
|
-
@notify-
|
|
541
|
-
@notify-
|
|
542
|
-
@notify-
|
|
543
|
-
@notify-
|
|
544
|
-
@notify-title-font-size: @font-size-large;
|
|
545
|
-
@notify-title-icon-size: 24px;
|
|
546
|
-
@notify-title-icon-margin: 10px;
|
|
547
|
-
@notify-title-description-gap: 8px;
|
|
433
|
+
@notify-close-btn-font-size: 12px;
|
|
434
|
+
@notify-close-btn-margin: 8px;
|
|
435
|
+
@notify-title-font-size: @font-size-large;
|
|
436
|
+
@notify-title-icon-size: 24px;
|
|
437
|
+
@notify-title-icon-margin: 10px;
|
|
438
|
+
@notify-title-description-gap: 8px;
|
|
548
439
|
|
|
549
440
|
// Loaders
|
|
550
441
|
|
|
551
|
-
@loader-default-diameter:
|
|
552
|
-
@loader-default-content-font-size: @font-size-small;
|
|
442
|
+
@loader-default-diameter: 1.125rem; // 18px
|
|
553
443
|
|
|
554
|
-
@loader-lg-diameter: 64px;
|
|
555
|
-
@loader-lg-content-font-size: @font-size-large;
|
|
556
|
-
|
|
557
|
-
@loader-md-diameter: 36px;
|
|
558
|
-
@loader-md-content-font-size: @font-size-base;
|
|
559
|
-
|
|
560
|
-
@loader-sm-diameter: 18px;
|
|
561
|
-
@loader-sm-content-font-size: @font-size-base;
|
|
562
|
-
|
|
563
|
-
@loader-xs-diameter: 16px;
|
|
564
|
-
@loader-xs-content-font-size: @font-size-small;
|
|
565
444
|
|
|
566
445
|
// spinner
|
|
567
|
-
@loader-spin-ring-width:
|
|
446
|
+
@loader-spin-ring-width: 3px;
|
|
568
447
|
|
|
569
448
|
// spin animation time
|
|
570
|
-
@loader-duration-fast:
|
|
571
|
-
@loader-duration-normal:
|
|
572
|
-
@loader-duration-slow:
|
|
573
|
-
@loader-duration-paused:
|
|
449
|
+
@loader-duration-fast: 0.4s;
|
|
450
|
+
@loader-duration-normal: 0.6s;
|
|
451
|
+
@loader-duration-slow: 0.8s;
|
|
452
|
+
@loader-duration-paused: paused;
|
|
574
453
|
|
|
575
454
|
// spacing
|
|
576
|
-
@loader-content-spin-spacing-horizontal:
|
|
577
|
-
@loader-content-spin-spacing-vertical:
|
|
455
|
+
@loader-content-spin-spacing-horizontal: 12px;
|
|
456
|
+
@loader-content-spin-spacing-vertical: 10px;
|
|
578
457
|
@loader-content-spin-spacing-horizontal-xs: 10px;
|
|
579
458
|
|
|
580
459
|
// Progress
|
|
581
460
|
|
|
582
|
-
@progress-line-padding-vertical:
|
|
583
|
-
@progress-line-padding-horizontal:
|
|
584
|
-
@progress-font-size:
|
|
585
|
-
@progress-bar-height:
|
|
586
|
-
@progress-element-gap:
|
|
587
|
-
@progress-bg-transition:
|
|
461
|
+
@progress-line-padding-vertical: 8px;
|
|
462
|
+
@progress-line-padding-horizontal: 12px;
|
|
463
|
+
@progress-font-size: @font-size-large;
|
|
464
|
+
@progress-bar-height: 10px;
|
|
465
|
+
@progress-element-gap: 12px;
|
|
466
|
+
@progress-bg-transition: 0.2s ease-in-out;
|
|
588
467
|
|
|
589
468
|
// Uploader
|
|
590
469
|
|
|
591
|
-
@uploader-file-list-margin-top:
|
|
592
|
-
@uploader-
|
|
593
|
-
@uploader-
|
|
594
|
-
@uploader-
|
|
595
|
-
@uploader-
|
|
596
|
-
@uploader-picture-side-length: 66px;
|
|
597
|
-
@uploader-picture-item-gap: 10px;
|
|
598
|
-
@uploader-picture-remove-button-radius: 24px;
|
|
470
|
+
@uploader-file-list-margin-top: 10px;
|
|
471
|
+
@uploader-base-padding: 8px;
|
|
472
|
+
@uploader-picture-side-length: 66px;
|
|
473
|
+
@uploader-picture-item-gap: 10px;
|
|
474
|
+
@uploader-picture-remove-button-radius: 24px;
|
|
599
475
|
@uploader-picture-text-preview-side-length: 50px;
|
|
600
476
|
|
|
601
477
|
// Panel
|
|
602
478
|
|
|
603
|
-
@panel-padding:
|
|
604
|
-
@panel-header-font-size:
|
|
605
|
-
@panel-
|
|
606
|
-
@panel-accodion-transition: 0.15s linear;
|
|
607
|
-
@panel-box-shadow: @box-shadow;
|
|
479
|
+
@panel-padding: 20px;
|
|
480
|
+
@panel-header-font-size: 16px;
|
|
481
|
+
@panel-accodion-transition: 0.15s linear;
|
|
608
482
|
|
|
609
483
|
// Timeline
|
|
610
484
|
|
|
611
|
-
@time-line-item-content-margin-left:
|
|
612
|
-
@time-line-dot-side-length:
|
|
613
|
-
@time-line-item-padding-left:
|
|
614
|
-
@time-line-tail-width:
|
|
615
|
-
@time-line-item-content-padding-bottom:
|
|
616
|
-
@time-line-dot-center-gap:
|
|
617
|
-
@time-line-content-side-offset:
|
|
618
|
-
@time-line-alternate-time-offset:
|
|
619
|
-
@time-line-tail-min-height:
|
|
620
|
-
|
|
621
|
-
// Tag
|
|
485
|
+
@time-line-item-content-margin-left: 12px;
|
|
486
|
+
@time-line-dot-side-length: 10px;
|
|
487
|
+
@time-line-item-padding-left: (@time-line-item-content-margin-left + @time-line-dot-side-length);
|
|
488
|
+
@time-line-tail-width: 2px;
|
|
489
|
+
@time-line-item-content-padding-bottom: 18px;
|
|
490
|
+
@time-line-dot-center-gap: ((@line-height-computed - @time-line-dot-side-length) / 2);
|
|
491
|
+
@time-line-content-side-offset: (@time-line-dot-side-length / 2 + @time-line-item-content-margin-left);
|
|
492
|
+
@time-line-alternate-time-offset: (@time-line-dot-side-length / 2 + @time-line-item-content-margin-left);
|
|
493
|
+
@time-line-tail-min-height: (@line-height-computed + @time-line-item-content-padding-bottom); // 20 + 18 = 38
|
|
622
494
|
|
|
623
|
-
@tag-gap: 10px;
|
|
624
495
|
|
|
625
496
|
// List
|
|
626
497
|
|
|
627
498
|
@list-border-width: 1px;
|
|
628
499
|
|
|
629
|
-
// Divider
|
|
630
|
-
|
|
631
|
-
@divider-horizontal-margin: 24px;
|
|
632
|
-
@divider-with-text-horizontal-margin: 30px;
|
|
633
|
-
@divider-text-space: 12px;
|
|
634
|
-
@divider-vertical-margin: 12px;
|
|
635
|
-
@divider-border-color: var(--rs-border-primary); // TODO: Deprecate, use --rs-divider-border
|
|
636
500
|
|
|
637
501
|
// Pickers
|
|
638
502
|
|
|
639
503
|
// prefixs
|
|
640
|
-
@picker-prefix:
|
|
641
|
-
@select-picker-prefix:
|
|
642
|
-
@check-picker-prefix:
|
|
643
|
-
@calendar-picker-prefix:
|
|
644
|
-
@cascader-picker-prefix:
|
|
645
|
-
@cascader-multi-picker-prefix:
|
|
646
|
-
@tree-picker-prefix:
|
|
647
|
-
@check-tree-picker-prefix:
|
|
648
|
-
@
|
|
649
|
-
@
|
|
650
|
-
@input-picker-prefix: ~'picker-input';
|
|
651
|
-
@multi-input-picker-prefix: ~'picker-tag';
|
|
504
|
+
@picker-prefix: ~'rs-picker';
|
|
505
|
+
@select-picker-prefix: ~'picker-select';
|
|
506
|
+
@check-picker-prefix: ~'picker-check';
|
|
507
|
+
@calendar-picker-prefix: ~'calendar';
|
|
508
|
+
@cascader-picker-prefix: ~'picker-cascader';
|
|
509
|
+
@cascader-multi-picker-prefix: ~'picker-multi-cascader';
|
|
510
|
+
@tree-picker-prefix: ~'tree';
|
|
511
|
+
@check-tree-picker-prefix: ~'check-tree';
|
|
512
|
+
@input-picker-prefix: ~'picker-input';
|
|
513
|
+
@multi-input-picker-prefix: ~'picker-tag';
|
|
652
514
|
// Calendar Picker Name Space
|
|
653
|
-
@clpns:
|
|
515
|
+
@clpns: ~'rs-@{calendar-picker-prefix}';
|
|
654
516
|
// Check picker name space
|
|
655
|
-
@ckpns:
|
|
517
|
+
@ckpns: ~'rs-@{check-picker-prefix}';
|
|
656
518
|
|
|
657
|
-
@picker-none-padding:
|
|
658
|
-
@picker-transition:
|
|
659
|
-
@picker-shadow: var(--rs-dropdown-shadow);
|
|
660
|
-
@picker-value-count-border-radius: 10px;
|
|
661
|
-
@picker-value-count-padding: 8px;
|
|
662
|
-
@picker-value-count-margin: 4px;
|
|
519
|
+
@picker-none-padding: 6px 12px 12px;
|
|
520
|
+
@picker-transition: @input-transition;
|
|
663
521
|
|
|
664
522
|
// Picker content width
|
|
665
|
-
@picker-content-min-width:
|
|
666
|
-
@picker-default-toggle-border-width:
|
|
667
|
-
@picker-toggle-clean-width:
|
|
668
|
-
@picker-toggle-clean-right: 30px;
|
|
523
|
+
@picker-content-min-width: 200px;
|
|
524
|
+
@picker-default-toggle-border-width: 1px;
|
|
525
|
+
@picker-toggle-clean-width: 12px;
|
|
669
526
|
|
|
670
|
-
@picker-menu-padding:
|
|
527
|
+
@picker-menu-padding: 12px;
|
|
671
528
|
|
|
672
|
-
@picker-item-content-padding-vertical:
|
|
673
|
-
@picker-item-content-padding-horizontal:
|
|
529
|
+
@picker-item-content-padding-vertical: 8px;
|
|
530
|
+
@picker-item-content-padding-horizontal: @picker-menu-padding;
|
|
674
531
|
|
|
675
532
|
// group title
|
|
676
|
-
@picker-group-children-padding-left:
|
|
677
|
-
@picker-group-select-menu-gap:
|
|
678
|
-
@picker-group-select-menu-lin-color: @dropdown-divider-bg;
|
|
533
|
+
@picker-group-children-padding-left: 26px;
|
|
534
|
+
@picker-group-select-menu-gap: 6px;
|
|
679
535
|
|
|
680
536
|
// Picker
|
|
681
537
|
@picker-select-menu-item-selected-font-weight: bold;
|
|
682
538
|
|
|
683
539
|
// Check Picker
|
|
684
540
|
|
|
685
|
-
@picker-check-checkbox-gap:
|
|
541
|
+
@picker-check-checkbox-gap: 10px;
|
|
686
542
|
@picker-children-check-item-padding-left: 14px;
|
|
687
|
-
@picker-check-item-content-padding-left:
|
|
688
|
-
|
|
689
|
-
// Tree Picker
|
|
543
|
+
@picker-check-item-content-padding-left: @picker-item-content-padding-horizontal+@checkbox-width-height+ @picker-check-checkbox-gap;
|
|
690
544
|
|
|
691
|
-
@picker-tree-padding: 12px;
|
|
692
|
-
@picker-tree-node-padding-vertical: @padding-y;
|
|
693
|
-
@picker-tree-node-padding-horizontal: @padding-x;
|
|
694
|
-
@picker-tree-node-font-size: 14px;
|
|
695
|
-
@picker-tree-node-line-height: 22px;
|
|
696
|
-
@picker-tree-node-height: (@line-height-computed + @picker-tree-node-padding-vertical * 2);
|
|
697
|
-
@picker-tree-arrow-down-width: 8px;
|
|
698
|
-
@picker-tree-arrow-down-gap: 8px;
|
|
699
545
|
|
|
700
546
|
// Calendar
|
|
701
547
|
|
|
702
|
-
@calendar-header-width:
|
|
703
|
-
@calendar-picker-padding:
|
|
704
|
-
@calendar-picker-view-padding-top:
|
|
705
|
-
@calendar-header-title-margin:
|
|
706
|
-
@calendar-meridiem-border-width:
|
|
707
|
-
@calendar-table-cell-padding:
|
|
708
|
-
@calendar-table-cell-content-font-size:
|
|
709
|
-
@calendar-table-cell-content-line-height:
|
|
710
|
-
@calendar-table-cell-content-padding:
|
|
711
|
-
@calendar-table-cell-content-today-border-width:
|
|
712
|
-
@calendar-
|
|
713
|
-
@calendar-
|
|
714
|
-
@calendar-
|
|
715
|
-
@calendar-
|
|
716
|
-
@calendar-panel-
|
|
717
|
-
@calendar-panel-compact-cell-height: 38px;
|
|
718
|
-
@calendar-panel-border-radius: 6px;
|
|
719
|
-
@calendar-panel-today-active-side-length: @line-height-computed;
|
|
720
|
-
@calendar-toolbar-border-color: @divider-border-color;
|
|
548
|
+
@calendar-header-width: 280px;
|
|
549
|
+
@calendar-picker-padding: 10px;
|
|
550
|
+
@calendar-picker-view-padding-top: 4px;
|
|
551
|
+
@calendar-header-title-margin: 4px;
|
|
552
|
+
@calendar-meridiem-border-width: 1px;
|
|
553
|
+
@calendar-table-cell-padding: 1px;
|
|
554
|
+
@calendar-table-cell-content-font-size: @font-size-base;
|
|
555
|
+
@calendar-table-cell-content-line-height: @line-height-base;
|
|
556
|
+
@calendar-table-cell-content-padding: 5px;
|
|
557
|
+
@calendar-table-cell-content-today-border-width: 1px;
|
|
558
|
+
@calendar-dropdown-top: 44px; // @calendar-picker-padding + content-height + gap
|
|
559
|
+
@calendar-in-menu-content-side-length: 30px;
|
|
560
|
+
@calendar-panel-cell-height: 100px;
|
|
561
|
+
@calendar-panel-compact-cell-height: 38px;
|
|
562
|
+
@calendar-panel-today-active-side-length: @line-height-computed;
|
|
721
563
|
|
|
722
564
|
// DatePicker
|
|
723
|
-
@datepicker-calendar-padding-y:
|
|
724
|
-
@datepicker-calendar-padding-x:
|
|
565
|
+
@datepicker-calendar-padding-y: 12px;
|
|
566
|
+
@datepicker-calendar-padding-x: 12px;
|
|
725
567
|
|
|
726
|
-
@datepicker-calendar-cell-gap-y:
|
|
727
|
-
@datepicker-calendar-cell-gap-x:
|
|
568
|
+
@datepicker-calendar-cell-gap-y: 2px;
|
|
569
|
+
@datepicker-calendar-cell-gap-x: 2px;
|
|
728
570
|
|
|
729
571
|
// DateRange Picker
|
|
730
572
|
|
|
731
|
-
@date-range-picker-header-padding-horizontal:
|
|
732
|
-
@date-range-picker-header-padding-vertical:
|
|
733
|
-
@date-range-picker-header-
|
|
734
|
-
@date-range-picker-header-line-height: @line-height-base;
|
|
573
|
+
@date-range-picker-header-padding-horizontal: 12px;
|
|
574
|
+
@date-range-picker-header-padding-vertical: 8px;
|
|
575
|
+
@date-range-picker-header-line-height: @line-height-base;
|
|
735
576
|
|
|
736
577
|
// Input Picker
|
|
737
578
|
|
|
738
|
-
@input-picker-toggle-height:
|
|
739
|
-
@input-picker-toggle-content-height:
|
|
579
|
+
@input-picker-toggle-height: (@line-height-computed + @padding-y * 2); // 20px + 8px*2 = 36px the same with md button
|
|
580
|
+
@input-picker-toggle-content-height: (@input-picker-toggle-height - (@picker-default-toggle-border-width * 2));
|
|
740
581
|
|
|
741
|
-
// TagPicker
|
|
742
|
-
|
|
743
|
-
@tag-picker-toggle-content-height: @input-height-extra-small;
|
|
744
|
-
@tag-picker-content-padding-vertical-all: (@input-picker-toggle-content-height - @tag-picker-toggle-content-height);
|
|
745
|
-
@tag-picker-content-padding-vertical: (@tag-picker-content-padding-vertical-all / 2); // (34 -24)/2
|
|
746
|
-
@tag-picker-content-padding-horizontal: 6px;
|
|
747
582
|
|
|
748
583
|
// Cascader
|
|
749
|
-
@cascader-search-panel-max-height:
|
|
750
|
-
@cascader-row-content-padding-horizontal:
|
|
584
|
+
@cascader-search-panel-max-height: 300px;
|
|
585
|
+
@cascader-row-content-padding-horizontal: @picker-item-content-padding-horizontal;
|
|
751
586
|
|
|
752
587
|
// Slider
|
|
753
588
|
|
|
754
|
-
@slider-bar-side-length:
|
|
755
|
-
@slider-handle-diameter:
|
|
756
|
-
@slider-handle-border-width:
|
|
757
|
-
@slider-
|
|
758
|
-
@slider-calibration-
|
|
759
|
-
@slider-
|
|
760
|
-
@slider-
|
|
761
|
-
@slider-handle-transition: 0.15s ease-in-out;
|
|
589
|
+
@slider-bar-side-length: 6px;
|
|
590
|
+
@slider-handle-diameter: 12px;
|
|
591
|
+
@slider-handle-border-width: 2px;
|
|
592
|
+
@slider-calibration-diameter: 8px;
|
|
593
|
+
@slider-calibration-border-width: 2px;
|
|
594
|
+
@slider-mark-margin-top: 9px;
|
|
595
|
+
@slider-handle-transition: 0.15s ease-in-out;
|
|
762
596
|
|
|
763
597
|
// Breadcrumbs
|
|
764
598
|
|
|
765
|
-
@breadcrumb-font-size:
|
|
599
|
+
@breadcrumb-font-size: @font-size-small;
|
|
766
600
|
@breadcrumb-separator-margin: 4px;
|
|
767
601
|
|
|
768
602
|
// Carousel
|
|
769
603
|
|
|
770
|
-
@carousel-animation-duration:
|
|
771
|
-
@carousel-toolbar-wrapper-margin:
|
|
772
|
-
@carousel-handler-transition:
|
|
773
|
-
@carousel-handler-margin:
|
|
774
|
-
@carousel-handler-sense-width:
|
|
775
|
-
@carousel-dot-wrapper-side-length:
|
|
776
|
-
@carousel-dot-side-length:
|
|
777
|
-
@carousel-bar-width:
|
|
778
|
-
@carousel-bar-height:
|
|
779
|
-
@carousel-bar-active-width:
|
|
780
|
-
|
|
781
|
-
// Rate
|
|
604
|
+
@carousel-animation-duration: 0.3s;
|
|
605
|
+
@carousel-toolbar-wrapper-margin: 17px; // @carousel-handler-margin + @carousel-handler-wrapper-margin = 20px
|
|
606
|
+
@carousel-handler-transition: background @carousel-animation-duration linear;
|
|
607
|
+
@carousel-handler-margin: 3px;
|
|
608
|
+
@carousel-handler-sense-width: @carousel-handler-margin;
|
|
609
|
+
@carousel-dot-wrapper-side-length: 1.2vw; // 1.2% of the screen width.
|
|
610
|
+
@carousel-dot-side-length: 10px;
|
|
611
|
+
@carousel-bar-width: 18px;
|
|
612
|
+
@carousel-bar-height: 4px;
|
|
613
|
+
@carousel-bar-active-width: 28px;
|
|
782
614
|
|
|
783
|
-
@rate-xs-font-size: 18px;
|
|
784
|
-
@rate-sm-font-size: 24px;
|
|
785
|
-
@rate-md-font-size: 30px;
|
|
786
|
-
@rate-lg-font-size: 36px;
|
|
787
615
|
|
|
788
616
|
//-- Z-index master list
|
|
789
617
|
// Keep this section at the bottom of this file for easier lookup
|
|
@@ -794,41 +622,41 @@
|
|
|
794
622
|
// Note: These variables are not generated into the Customizer.
|
|
795
623
|
//
|
|
796
624
|
|
|
797
|
-
@zindex-date-range-picker-calendar-dropdown:
|
|
625
|
+
@zindex-date-range-picker-calendar-dropdown: 1;
|
|
798
626
|
@zindex-date-range-picker-table-cell-content: 1;
|
|
799
|
-
@zindex-badge-content:
|
|
800
|
-
@zindex-message-full:
|
|
801
|
-
@zindex-dropdown:
|
|
802
|
-
@zindex-picker-toggle:
|
|
803
|
-
@zindex-picker-input:
|
|
804
|
-
@zindex-picker-popup:
|
|
805
|
-
@zindex-dropdown-a:
|
|
806
|
-
@zindex-list-helper:
|
|
807
|
-
@zindex-navbar:
|
|
808
|
-
@zindex-navbar-fixed:
|
|
809
|
-
@zindex-modal:
|
|
810
|
-
@zindex-drawer:
|
|
811
|
-
@zindex-drawer-background:
|
|
812
|
-
@zindex-popover:
|
|
813
|
-
@zindex-tooltip:
|
|
814
|
-
@zindex-notification:
|
|
627
|
+
@zindex-badge-content: 1;
|
|
628
|
+
@zindex-message-full: 3;
|
|
629
|
+
@zindex-dropdown: 5;
|
|
630
|
+
@zindex-picker-toggle: 5; // The same with zindex-dropdown
|
|
631
|
+
@zindex-picker-input: (@zindex-picker-toggle + 1); // Greater than picker toggle
|
|
632
|
+
@zindex-picker-popup: (@zindex-picker-toggle + 2); // Greater than picker toggle and input
|
|
633
|
+
@zindex-dropdown-a: 10;
|
|
634
|
+
@zindex-list-helper: 99;
|
|
635
|
+
@zindex-navbar: 1000;
|
|
636
|
+
@zindex-navbar-fixed: 1030;
|
|
637
|
+
@zindex-modal: 1050;
|
|
638
|
+
@zindex-drawer: 1050;
|
|
639
|
+
@zindex-drawer-background: @zindex-drawer;
|
|
640
|
+
@zindex-popover: 1060;
|
|
641
|
+
@zindex-tooltip: 1070;
|
|
642
|
+
@zindex-notification: 1080;
|
|
815
643
|
|
|
816
644
|
//#==== Uploader
|
|
817
|
-
@zindex-uploader-picture-preview:
|
|
645
|
+
@zindex-uploader-picture-preview: 1;
|
|
818
646
|
@zindex-uploader-picture-loading-wrapper: 2;
|
|
819
|
-
@zindex-uploader-picture-error-wrapper:
|
|
820
|
-
@zindex-uploader-picture-remove-button:
|
|
647
|
+
@zindex-uploader-picture-error-wrapper: 3;
|
|
648
|
+
@zindex-uploader-picture-remove-button: 4;
|
|
821
649
|
|
|
822
650
|
//#==== Form
|
|
823
651
|
@zindex-form-error-message: 5;
|
|
824
652
|
|
|
825
653
|
//#==== Table
|
|
826
|
-
@zindex-table-body-row-wrapper:
|
|
827
|
-
@zindex-table-header-row-wrapper:
|
|
828
|
-
@zindex-table-column-resize-spanner:
|
|
829
|
-
@zindex-table-cell-group-fixed:
|
|
830
|
-
@zindex-table-row-cell-group-shadow:
|
|
831
|
-
@zindex-table-mouse-area:
|
|
654
|
+
@zindex-table-body-row-wrapper: 0;
|
|
655
|
+
@zindex-table-header-row-wrapper: 2;
|
|
656
|
+
@zindex-table-column-resize-spanner: 3;
|
|
657
|
+
@zindex-table-cell-group-fixed: 4;
|
|
658
|
+
@zindex-table-row-cell-group-shadow: 5;
|
|
659
|
+
@zindex-table-mouse-area: 6;
|
|
832
660
|
|
|
833
661
|
//#=== Rate
|
|
834
662
|
@zindex-rate-character-before: 1;
|