rsuite 6.0.0-canary-2025032014 → 6.0.0-canary-20250403
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/AutoComplete/styles/index.css +112 -55
- package/AutoComplete/styles/index.less +1 -1
- package/Avatar/styles/index.css +0 -0
- package/Avatar/styles/index.less +0 -0
- package/AvatarGroup/styles/index.css +0 -0
- package/AvatarGroup/styles/index.less +0 -0
- package/Badge/styles/index.css +0 -0
- package/Badge/styles/index.less +0 -0
- package/Badge/styles/variables.less +0 -0
- package/Box/styles/index.css +12 -0
- package/Box/styles/index.less +0 -0
- package/Breadcrumb/styles/index.css +0 -0
- package/Breadcrumb/styles/index.less +0 -0
- package/Button/styles/index.css +0 -0
- package/Button/styles/index.less +0 -0
- package/Button/styles/mixin.less +0 -0
- package/Button/styles/variables.less +0 -0
- package/ButtonGroup/styles/index.css +0 -0
- package/ButtonGroup/styles/index.less +0 -0
- package/ButtonToolbar/styles/index.css +0 -0
- package/ButtonToolbar/styles/index.less +0 -0
- package/CHANGELOG.md +24 -0
- package/Calendar/styles/index.css +11 -9
- package/Calendar/styles/index.less +3 -1
- package/Card/styles/index.css +0 -0
- package/Card/styles/index.less +0 -0
- package/CardGroup/styles/index.css +0 -0
- package/CardGroup/styles/index.less +0 -0
- package/Carousel/styles/index.css +0 -0
- package/Carousel/styles/index.less +0 -0
- package/CascadeTree/styles/index.css +0 -0
- package/CascadeTree/styles/index.less +0 -0
- package/Cascader/styles/index.css +112 -55
- package/Center/styles/index.css +0 -0
- package/Center/styles/index.less +0 -0
- package/CheckPicker/styles/index.css +112 -55
- package/CheckPicker/styles/index.less +1 -1
- package/CheckTree/styles/index.css +113 -56
- package/CheckTree/styles/index.less +1 -1
- package/CheckTreePicker/styles/index.css +113 -56
- package/CheckTreePicker/styles/index.less +0 -0
- package/Checkbox/styles/index.css +0 -0
- package/Checkbox/styles/index.less +0 -0
- package/Checkbox/styles/mixin.less +0 -0
- package/CheckboxGroup/styles/index.css +0 -0
- package/CheckboxGroup/styles/index.less +0 -0
- package/Col/styles/index.css +0 -0
- package/Col/styles/index.less +0 -0
- package/DatePicker/styles/index.css +122 -67
- package/DatePicker/styles/index.less +5 -11
- package/DateRangePicker/styles/index.css +132 -71
- package/DateRangePicker/styles/index.less +10 -4
- package/Divider/styles/index.css +0 -0
- package/Divider/styles/index.less +0 -0
- package/Drawer/styles/index.css +0 -0
- package/Drawer/styles/index.less +0 -0
- package/Dropdown/styles/index.css +0 -0
- package/Dropdown/styles/index.less +0 -0
- package/Dropdown/styles/mixin.less +0 -0
- package/FlexboxGrid/styles/index.css +0 -0
- package/FlexboxGrid/styles/index.less +0 -0
- package/Form/styles/index.css +0 -0
- package/Form/styles/index.less +0 -0
- package/FormControl/styles/index.css +0 -0
- package/FormControl/styles/index.less +0 -0
- package/FormControlLabel/styles/index.css +0 -0
- package/FormControlLabel/styles/index.less +0 -0
- package/FormErrorMessage/styles/animation.less +0 -0
- package/FormErrorMessage/styles/index.css +0 -0
- package/FormErrorMessage/styles/index.less +0 -0
- package/FormGroup/styles/index.css +0 -0
- package/FormGroup/styles/index.less +0 -0
- package/FormHelpText/styles/index.css +0 -0
- package/FormHelpText/styles/index.less +0 -0
- package/FormStack/styles/index.css +0 -0
- package/FormStack/styles/index.less +0 -0
- package/Grid/styles/columns.less +1 -2
- package/Grid/styles/grid-framework.less +1 -0
- package/Grid/styles/index.css +9 -4
- package/Grid/styles/index.less +0 -0
- package/Grid/styles/mixin.less +0 -0
- package/Grid/styles/row.less +2 -2
- package/Grid/styles/variables.less +0 -0
- package/Heading/styles/index.css +0 -0
- package/Heading/styles/index.less +0 -0
- package/Heading/styles/variables.less +0 -0
- package/Highlight/styles/index.css +0 -0
- package/Highlight/styles/index.less +0 -0
- package/IconButton/styles/index.css +0 -0
- package/IconButton/styles/index.less +0 -0
- package/Image/styles/index.css +0 -0
- package/Image/styles/index.less +0 -0
- package/InlineEdit/styles/index.css +0 -0
- package/InlineEdit/styles/index.less +0 -0
- package/Input/styles/index.css +0 -0
- package/Input/styles/index.less +0 -0
- package/Input/styles/mixin.less +0 -0
- package/Input/styles/variables.less +0 -0
- package/InputGroup/styles/index.css +1 -1
- package/InputGroup/styles/index.less +1 -1
- package/InputNumber/styles/index.css +1 -1
- package/InputNumber/styles/index.less +0 -0
- package/InputPicker/styles/index.css +121 -63
- package/InputPicker/styles/index.less +4 -4
- package/Kbd/styles/index.css +0 -0
- package/Kbd/styles/index.less +0 -0
- package/Kbd/styles/mixin.less +0 -0
- package/Kbd/styles/variables.less +0 -0
- package/Link/package.json +7 -0
- package/Link/styles/index.css +32 -0
- package/Link/styles/index.less +39 -0
- package/List/styles/index.css +0 -0
- package/List/styles/index.less +0 -0
- package/Loader/styles/index.css +0 -0
- package/Loader/styles/index.less +0 -0
- package/Loader/styles/mixin.less +0 -0
- package/Loader/styles/variables.less +0 -0
- package/Menu/styles/index.css +0 -0
- package/Menu/styles/index.less +0 -0
- package/Message/styles/index.css +9 -0
- package/Message/styles/index.less +11 -0
- package/Modal/styles/index.css +0 -0
- package/Modal/styles/index.less +0 -0
- package/MultiCascadeTree/styles/index.css +112 -55
- package/MultiCascadeTree/styles/index.less +0 -0
- package/MultiCascader/styles/index.css +112 -55
- package/MultiCascader/styles/index.less +0 -0
- package/Nav/styles/index.css +1 -0
- package/Nav/styles/index.less +1 -0
- package/Navbar/styles/index.css +0 -0
- package/Navbar/styles/index.less +0 -0
- package/Notification/styles/index.css +0 -0
- package/Notification/styles/index.less +0 -0
- package/Pagination/styles/index.css +112 -55
- package/Pagination/styles/index.less +0 -0
- package/Pagination/styles/pagination-group.less +0 -0
- package/Panel/styles/index.css +0 -0
- package/Panel/styles/index.less +0 -0
- package/PanelGroup/styles/index.css +0 -0
- package/PanelGroup/styles/index.less +0 -0
- package/Placeholder/styles/index.css +0 -0
- package/Placeholder/styles/index.less +0 -0
- package/Popover/styles/index.css +0 -0
- package/Popover/styles/index.less +0 -0
- package/Popover/styles/mixins.less +0 -0
- package/Progress/styles/index.css +0 -0
- package/Progress/styles/index.less +0 -0
- package/README.md +3 -3
- package/Radio/styles/index.css +0 -0
- package/Radio/styles/index.less +0 -0
- package/Radio/styles/mixin.less +0 -0
- package/RadioGroup/styles/index.css +1 -0
- package/RadioGroup/styles/index.less +1 -0
- package/RadioTile/styles/index.css +0 -0
- package/RadioTile/styles/index.less +0 -0
- package/RangeSlider/styles/index.css +76 -43
- package/Rate/styles/index.css +0 -0
- package/Rate/styles/index.less +0 -0
- package/Row/styles/index.css +0 -0
- package/Row/styles/index.less +0 -0
- package/SelectPicker/styles/index.css +112 -55
- package/SelectPicker/styles/index.less +1 -1
- package/Sidebar/styles/index.css +0 -0
- package/Sidebar/styles/index.less +0 -0
- package/Sidenav/styles/index.css +0 -0
- package/Sidenav/styles/index.less +0 -0
- package/Sidenav/styles/mixin.less +0 -0
- package/Slider/styles/index.css +76 -43
- package/Slider/styles/index.less +95 -48
- package/Stack/styles/index.css +0 -0
- package/Stack/styles/index.less +0 -0
- package/Stat/styles/index.css +0 -0
- package/Stat/styles/index.less +0 -0
- package/StatGroup/styles/index.css +0 -0
- package/StatGroup/styles/index.less +0 -0
- package/Steps/styles/index.css +0 -0
- package/Steps/styles/index.less +0 -0
- package/Table/styles/index.css +0 -0
- package/Table/styles/index.less +0 -0
- package/Tabs/styles/index.css +1 -0
- package/Tag/styles/index.css +0 -0
- package/Tag/styles/index.less +0 -0
- package/TagGroup/styles/index.css +0 -0
- package/TagGroup/styles/index.less +0 -0
- package/TagInput/styles/index.css +152 -84
- package/TagInput/styles/index.less +1 -1
- package/TagPicker/styles/index.css +151 -83
- package/TagPicker/styles/index.less +52 -41
- package/Text/styles/index.css +0 -0
- package/Text/styles/index.less +0 -0
- package/Text/styles/variables.less +0 -0
- package/TimePicker/styles/index.css +122 -67
- package/TimeRangePicker/styles/index.css +132 -71
- package/Timeline/stories/styles.less +0 -0
- package/Timeline/styles/index.css +0 -0
- package/Timeline/styles/index.less +0 -0
- package/Toggle/styles/index.css +146 -87
- package/Toggle/styles/index.less +66 -38
- package/Tooltip/styles/index.css +0 -0
- package/Tooltip/styles/index.less +0 -0
- package/Tooltip/styles/mixins.less +0 -0
- package/Tree/styles/indent-line.less +0 -0
- package/Tree/styles/index.css +113 -56
- package/Tree/styles/index.less +1 -1
- package/Tree/styles/toggle.less +0 -0
- package/TreePicker/styles/index.css +113 -56
- package/Uploader/styles/index.css +0 -0
- package/Uploader/styles/index.less +0 -0
- package/cjs/Accordion/Accordion.js +0 -0
- package/cjs/Accordion/AccordionPanel.js +0 -0
- package/cjs/Accordion/index.js +0 -0
- package/cjs/Affix/Affix.js +0 -0
- package/cjs/Affix/index.js +0 -0
- package/cjs/Animation/Bounce.js +0 -0
- package/cjs/Animation/Collapse.js +0 -0
- package/cjs/Animation/Fade.js +0 -0
- package/cjs/Animation/Slide.js +0 -0
- package/cjs/Animation/Transition.js +0 -0
- package/cjs/Animation/index.js +0 -0
- package/cjs/Animation/utils.js +0 -0
- package/cjs/AutoComplete/AutoComplete.d.ts +1 -1
- package/cjs/AutoComplete/AutoComplete.js +13 -11
- package/cjs/AutoComplete/Combobox.js +0 -0
- package/cjs/AutoComplete/index.js +0 -0
- package/cjs/Avatar/Avatar.d.ts +3 -4
- package/cjs/Avatar/Avatar.js +0 -0
- package/cjs/Avatar/index.js +0 -0
- package/cjs/AvatarGroup/AvatarGroup.js +0 -0
- package/cjs/AvatarGroup/index.js +0 -0
- package/cjs/Badge/Badge.js +0 -0
- package/cjs/Badge/index.js +0 -0
- package/cjs/Box/index.js +0 -0
- package/cjs/Breadcrumb/Breadcrumb.js +2 -2
- package/cjs/Breadcrumb/BreadcrumbItem.js +1 -1
- package/cjs/Breadcrumb/index.js +0 -0
- package/cjs/Button/Button.js +9 -10
- package/cjs/Button/index.js +0 -0
- package/cjs/ButtonGroup/ButtonGroup.js +0 -0
- package/cjs/ButtonGroup/ButtonGroupContext.js +0 -0
- package/cjs/ButtonGroup/index.js +0 -0
- package/cjs/ButtonToolbar/ButtonToolbar.js +0 -0
- package/cjs/ButtonToolbar/index.js +0 -0
- package/cjs/Calendar/Calendar.js +0 -0
- package/cjs/Calendar/CalendarBody.js +0 -0
- package/cjs/Calendar/CalendarContainer.js +0 -0
- package/cjs/Calendar/CalendarHeader.js +0 -0
- package/cjs/Calendar/Grid/Grid.js +0 -0
- package/cjs/Calendar/Grid/GridCell.js +0 -0
- package/cjs/Calendar/Grid/GridHeaderRow.js +0 -0
- package/cjs/Calendar/Grid/GridRow.js +0 -0
- package/cjs/Calendar/MonthDropdown/MonthDropdown.js +0 -0
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +0 -0
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +0 -0
- package/cjs/Calendar/index.js +0 -0
- package/cjs/Card/Card.js +0 -0
- package/cjs/Card/CardBody.js +0 -0
- package/cjs/Card/CardFooter.js +0 -0
- package/cjs/Card/CardHeader.js +0 -0
- package/cjs/Card/index.js +0 -0
- package/cjs/CardGroup/CardGroup.js +0 -0
- package/cjs/CardGroup/index.js +0 -0
- package/cjs/Carousel/Carousel.js +2 -2
- package/cjs/Carousel/index.js +0 -0
- package/cjs/CascadeTree/CascadeTree.js +0 -0
- package/cjs/CascadeTree/SearchView.js +0 -0
- package/cjs/CascadeTree/TreeView.js +0 -0
- package/cjs/CascadeTree/hooks/useSearch.js +0 -0
- package/cjs/CascadeTree/hooks/useSelect.js +0 -0
- package/cjs/CascadeTree/index.js +0 -0
- package/cjs/CascadeTree/types.js +0 -0
- package/cjs/CascadeTree/utils.js +0 -0
- package/cjs/Cascader/Cascader.js +42 -45
- package/cjs/Cascader/index.js +0 -0
- package/cjs/Cascader/useActive.d.ts +6 -4
- package/cjs/Cascader/useActive.js +10 -8
- package/cjs/Center/Center.js +0 -0
- package/cjs/Center/index.js +0 -0
- package/cjs/CheckPicker/CheckPicker.js +38 -41
- package/cjs/CheckPicker/index.js +0 -0
- package/cjs/CheckTree/CheckTree.js +0 -0
- package/cjs/CheckTree/CheckTreeNode.js +0 -0
- package/cjs/CheckTree/CheckTreeView.js +0 -0
- package/cjs/CheckTree/index.js +0 -0
- package/cjs/CheckTreePicker/CheckTreePicker.js +20 -22
- package/cjs/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/cjs/CheckTreePicker/index.js +0 -0
- package/cjs/Checkbox/Checkbox.js +0 -0
- package/cjs/Checkbox/index.js +0 -0
- package/cjs/CheckboxGroup/CheckboxGroup.js +0 -0
- package/cjs/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/cjs/CheckboxGroup/index.js +0 -0
- package/cjs/Col/index.js +0 -0
- package/cjs/Container/Container.js +0 -0
- package/cjs/Container/index.js +0 -0
- package/cjs/Content/Content.js +0 -0
- package/cjs/Content/index.js +0 -0
- package/cjs/CustomProvider/CustomProvider.d.ts +1 -4
- package/cjs/CustomProvider/CustomProvider.js +0 -0
- package/cjs/CustomProvider/index.js +0 -0
- package/cjs/CustomProvider/types.d.ts +4 -2
- package/cjs/CustomProvider/types.js +0 -0
- package/cjs/CustomProvider/useCustom.js +0 -0
- package/cjs/DOMHelper/index.js +0 -0
- package/cjs/DateInput/DateField.js +0 -0
- package/cjs/DateInput/DateInput.js +0 -0
- package/cjs/DateInput/hooks/useDateInputState.js +0 -0
- package/cjs/DateInput/hooks/useKeyboardInputEvent.js +0 -0
- package/cjs/DateInput/index.js +0 -0
- package/cjs/DateInput/utils.js +0 -0
- package/cjs/DatePicker/DatePicker.d.ts +1 -1
- package/cjs/DatePicker/DatePicker.js +28 -25
- package/cjs/DatePicker/PredefinedRanges.js +0 -0
- package/cjs/DatePicker/Toolbar.js +0 -0
- package/cjs/DatePicker/hooks/useFocus.js +0 -0
- package/cjs/DatePicker/index.js +0 -0
- package/cjs/DatePicker/types.js +0 -0
- package/cjs/DatePicker/utils.d.ts +3 -3
- package/cjs/DatePicker/utils.js +3 -3
- package/cjs/DateRangeInput/DateRangeInput.js +0 -0
- package/cjs/DateRangeInput/index.js +0 -0
- package/cjs/DateRangePicker/Calendar.js +0 -0
- package/cjs/DateRangePicker/DateRangePicker.js +39 -33
- package/cjs/DateRangePicker/Header.js +0 -0
- package/cjs/DateRangePicker/hooks/useDateDisabled.js +0 -0
- package/cjs/DateRangePicker/index.js +0 -0
- package/cjs/DateRangePicker/types.js +0 -0
- package/cjs/Divider/Divider.js +0 -0
- package/cjs/Divider/index.js +0 -0
- package/cjs/Drawer/Drawer.js +0 -0
- package/cjs/Drawer/DrawerActions.js +0 -0
- package/cjs/Drawer/DrawerBody.js +0 -0
- package/cjs/Drawer/DrawerFooter.js +0 -0
- package/cjs/Drawer/DrawerHeader.js +0 -0
- package/cjs/Drawer/DrawerTitle.js +0 -0
- package/cjs/Drawer/index.js +0 -0
- package/cjs/Dropdown/Dropdown.js +0 -0
- package/cjs/Dropdown/DropdownContext.js +0 -0
- package/cjs/Dropdown/DropdownItem.js +0 -0
- package/cjs/Dropdown/DropdownMenu.js +0 -0
- package/cjs/Dropdown/DropdownSeparator.js +0 -0
- package/cjs/Dropdown/DropdownToggle.js +0 -0
- package/cjs/Dropdown/index.js +0 -0
- package/cjs/Dropdown/types.js +0 -0
- package/cjs/FlexboxGrid/FlexboxGrid.js +0 -0
- package/cjs/FlexboxGrid/FlexboxGridItem.js +0 -0
- package/cjs/FlexboxGrid/index.js +0 -0
- package/cjs/Footer/Footer.js +0 -0
- package/cjs/Footer/index.js +0 -0
- package/cjs/Form/Form.js +0 -0
- package/cjs/Form/FormContext.js +0 -0
- package/cjs/Form/hooks/useFormValidate.js +0 -0
- package/cjs/Form/hooks/useSchemaModel.js +2 -54
- package/cjs/Form/index.js +0 -0
- package/cjs/Form/utils/constructFlatSchema.d.ts +4 -0
- package/cjs/Form/utils/constructFlatSchema.js +41 -0
- package/cjs/FormControl/FormControl.js +0 -0
- package/cjs/FormControl/hooks/useField.js +0 -0
- package/cjs/FormControl/index.js +0 -0
- package/cjs/FormControl/utils.js +0 -0
- package/cjs/FormControlLabel/FormControlLabel.js +0 -0
- package/cjs/FormControlLabel/index.js +0 -0
- package/cjs/FormErrorMessage/FormErrorMessage.js +0 -0
- package/cjs/FormErrorMessage/index.js +0 -0
- package/cjs/FormGroup/FormGroup.js +0 -0
- package/cjs/FormGroup/index.js +0 -0
- package/cjs/FormHelpText/FormHelpText.js +0 -0
- package/cjs/FormHelpText/index.js +0 -0
- package/cjs/FormStack/FormStack.js +0 -0
- package/cjs/FormStack/index.js +0 -0
- package/cjs/Grid/Col.js +0 -0
- package/cjs/Grid/Grid.js +0 -0
- package/cjs/Grid/Row.d.ts +2 -2
- package/cjs/Grid/Row.js +2 -20
- package/cjs/Grid/index.js +0 -0
- package/cjs/Grid/types.d.ts +1 -0
- package/cjs/Grid/types.js +0 -0
- package/cjs/Grid/utils/styles.d.ts +6 -0
- package/cjs/Grid/utils/styles.js +43 -0
- package/cjs/Header/Header.js +0 -0
- package/cjs/Header/index.js +0 -0
- package/cjs/Heading/Heading.js +0 -0
- package/cjs/Heading/index.js +0 -0
- package/cjs/HeadingGroup/HeadingGroup.js +0 -0
- package/cjs/HeadingGroup/index.js +0 -0
- package/cjs/Highlight/Highlight.js +0 -0
- package/cjs/Highlight/index.js +0 -0
- package/cjs/IconButton/IconButton.js +0 -0
- package/cjs/IconButton/index.js +0 -0
- package/cjs/Image/Image.js +0 -0
- package/cjs/Image/ImageWrapper.js +0 -0
- package/cjs/Image/index.js +0 -0
- package/cjs/InlineEdit/EditableControls.js +0 -0
- package/cjs/InlineEdit/InlineEdit.js +0 -0
- package/cjs/InlineEdit/index.js +0 -0
- package/cjs/InlineEdit/renderChildren.js +0 -0
- package/cjs/Input/Input.js +0 -0
- package/cjs/Input/index.js +0 -0
- package/cjs/InputGroup/InputGroup.js +0 -0
- package/cjs/InputGroup/InputGroupAddon.js +0 -0
- package/cjs/InputGroup/InputGroupButton.js +0 -0
- package/cjs/InputGroup/index.js +0 -0
- package/cjs/InputNumber/InputNumber.js +0 -0
- package/cjs/InputNumber/index.js +0 -0
- package/cjs/InputPicker/InputAutosize.js +0 -0
- package/cjs/InputPicker/InputPicker.js +27 -28
- package/cjs/InputPicker/InputSearch.js +0 -0
- package/cjs/InputPicker/TagList.js +0 -0
- package/cjs/InputPicker/TextBox.js +0 -0
- package/cjs/InputPicker/hooks/useData.js +0 -0
- package/cjs/InputPicker/hooks/useInput.js +0 -0
- package/cjs/InputPicker/hooks/useMaxWidth.js +0 -0
- package/cjs/InputPicker/index.js +0 -0
- package/cjs/Kbd/Kbd.js +0 -0
- package/cjs/Kbd/index.js +0 -0
- package/cjs/Link/ExternalLinkIcon.d.ts +3 -0
- package/cjs/Link/ExternalLinkIcon.js +23 -0
- package/cjs/Link/Link.d.ts +14 -0
- package/cjs/Link/Link.js +52 -0
- package/cjs/Link/index.d.ts +4 -0
- package/cjs/Link/index.js +11 -0
- package/cjs/List/List.js +6 -2
- package/cjs/List/ListItem.js +0 -0
- package/cjs/List/helper/useSortHelper.d.ts +7 -5
- package/cjs/List/helper/useSortHelper.js +109 -16
- package/cjs/List/helper/utils.js +14 -6
- package/cjs/List/index.js +0 -0
- package/cjs/Loader/Loader.js +0 -0
- package/cjs/Loader/index.js +0 -0
- package/cjs/MaskedInput/MaskedInput.js +0 -0
- package/cjs/MaskedInput/TextMask.js +0 -0
- package/cjs/MaskedInput/conformToMask.js +0 -0
- package/cjs/MaskedInput/index.js +0 -0
- package/cjs/Menu/Menu.js +0 -0
- package/cjs/Menu/MenuContext.js +0 -0
- package/cjs/Menu/MenuItem.js +0 -0
- package/cjs/Menu/MenuSeparator.js +0 -0
- package/cjs/Menu/index.js +0 -0
- package/cjs/Message/Message.js +0 -0
- package/cjs/Message/index.js +0 -0
- package/cjs/Modal/Modal.js +0 -0
- package/cjs/Modal/ModalBody.js +0 -0
- package/cjs/Modal/ModalDialog.js +0 -0
- package/cjs/Modal/ModalFooter.js +0 -0
- package/cjs/Modal/ModalHeader.js +0 -0
- package/cjs/Modal/ModalTitle.js +0 -0
- package/cjs/Modal/index.js +0 -0
- package/cjs/Modal/utils.js +0 -0
- package/cjs/MultiCascadeTree/MultiCascadeTree.js +0 -0
- package/cjs/MultiCascadeTree/SearchView.js +0 -0
- package/cjs/MultiCascadeTree/TreeView.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSelect.js +0 -0
- package/cjs/MultiCascadeTree/index.js +0 -0
- package/cjs/MultiCascadeTree/types.js +0 -0
- package/cjs/MultiCascadeTree/utils.js +0 -0
- package/cjs/MultiCascader/MultiCascader.js +40 -43
- package/cjs/MultiCascader/index.js +0 -0
- package/cjs/Nav/AdaptiveNavItem.js +0 -0
- package/cjs/Nav/Nav.js +0 -0
- package/cjs/Nav/NavDropdown.js +0 -0
- package/cjs/Nav/NavDropdownItem.js +0 -0
- package/cjs/Nav/NavDropdownMenu.js +0 -0
- package/cjs/Nav/NavDropdownToggle.js +0 -0
- package/cjs/Nav/NavItem.js +1 -1
- package/cjs/Nav/NavMegaMenu.js +0 -0
- package/cjs/Nav/NavMenu.js +0 -0
- package/cjs/Nav/index.js +0 -0
- package/cjs/Navbar/Navbar.js +0 -0
- package/cjs/Navbar/NavbarBrand.js +0 -0
- package/cjs/Navbar/NavbarContent.js +0 -0
- package/cjs/Navbar/NavbarContext.js +0 -0
- package/cjs/Navbar/NavbarDrawer.js +0 -0
- package/cjs/Navbar/NavbarDropdown.js +0 -0
- package/cjs/Navbar/NavbarDropdownItem.js +0 -0
- package/cjs/Navbar/NavbarDropdownMenu.js +0 -0
- package/cjs/Navbar/NavbarDropdownToggle.js +0 -0
- package/cjs/Navbar/NavbarItem.js +1 -1
- package/cjs/Navbar/NavbarMegaMenu.js +1 -1
- package/cjs/Navbar/NavbarToggle.js +0 -0
- package/cjs/Navbar/index.js +0 -0
- package/cjs/Notification/Notification.js +0 -0
- package/cjs/Notification/index.js +0 -0
- package/cjs/Pagination/LimitPicker.js +0 -0
- package/cjs/Pagination/Pagination.js +0 -0
- package/cjs/Pagination/PaginationButton.js +0 -0
- package/cjs/Pagination/PaginationGroup.js +0 -0
- package/cjs/Pagination/index.js +0 -0
- package/cjs/Panel/AccordionButton.js +0 -0
- package/cjs/Panel/Panel.js +0 -0
- package/cjs/Panel/PanelBody.js +0 -0
- package/cjs/Panel/PanelHeader.js +0 -0
- package/cjs/Panel/index.js +0 -0
- package/cjs/PanelGroup/PanelGroup.js +0 -0
- package/cjs/PanelGroup/index.js +0 -0
- package/cjs/Placeholder/Placeholder.js +0 -0
- package/cjs/Placeholder/PlaceholderGraph.js +0 -0
- package/cjs/Placeholder/PlaceholderGrid.js +0 -0
- package/cjs/Placeholder/PlaceholderParagraph.js +0 -0
- package/cjs/Placeholder/index.js +0 -0
- package/cjs/Popover/Popover.js +0 -0
- package/cjs/Popover/index.js +0 -0
- package/cjs/Progress/Progress.js +0 -0
- package/cjs/Progress/ProgressCircle.js +0 -0
- package/cjs/Progress/ProgressLine.js +0 -0
- package/cjs/Progress/index.js +0 -0
- package/cjs/Radio/Radio.js +0 -0
- package/cjs/Radio/index.js +0 -0
- package/cjs/RadioGroup/RadioGroup.js +0 -0
- package/cjs/RadioGroup/index.js +0 -0
- package/cjs/RadioTile/RadioTile.js +0 -0
- package/cjs/RadioTile/index.js +0 -0
- package/cjs/RadioTileGroup/RadioTileGroup.js +0 -0
- package/cjs/RadioTileGroup/index.js +0 -0
- package/cjs/RangeSlider/RangeSlider.js +18 -3
- package/cjs/RangeSlider/index.js +0 -0
- package/cjs/Rate/Character.js +0 -0
- package/cjs/Rate/Rate.js +0 -0
- package/cjs/Rate/index.js +0 -0
- package/cjs/Row/index.js +0 -0
- package/cjs/Schema/Schema.js +0 -0
- package/cjs/Schema/index.js +0 -0
- package/cjs/SelectPicker/SelectPicker.js +45 -46
- package/cjs/SelectPicker/index.js +0 -0
- package/cjs/Sidebar/Sidebar.js +0 -0
- package/cjs/Sidebar/index.js +0 -0
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +0 -0
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +0 -0
- package/cjs/Sidenav/Sidenav.js +0 -0
- package/cjs/Sidenav/SidenavBody.js +0 -0
- package/cjs/Sidenav/SidenavDropdown.js +0 -0
- package/cjs/Sidenav/SidenavDropdownCollapse.js +0 -0
- package/cjs/Sidenav/SidenavDropdownItem.js +0 -0
- package/cjs/Sidenav/SidenavDropdownMenu.js +0 -0
- package/cjs/Sidenav/SidenavDropdownToggle.js +0 -0
- package/cjs/Sidenav/SidenavFooter.js +0 -0
- package/cjs/Sidenav/SidenavGroupLabel.js +0 -0
- package/cjs/Sidenav/SidenavHeader.js +0 -0
- package/cjs/Sidenav/SidenavItem.js +1 -1
- package/cjs/Sidenav/SidenavToggle.js +0 -0
- package/cjs/Sidenav/index.js +0 -0
- package/cjs/Slider/Graduated.d.ts +4 -0
- package/cjs/Slider/Graduated.js +43 -20
- package/cjs/Slider/Handle.d.ts +1 -1
- package/cjs/Slider/Handle.js +12 -12
- package/cjs/Slider/Input.js +0 -0
- package/cjs/Slider/Mark.js +0 -0
- package/cjs/Slider/ProgressBar.js +0 -0
- package/cjs/Slider/Slider.d.ts +16 -1
- package/cjs/Slider/Slider.js +7 -2
- package/cjs/Slider/index.js +0 -0
- package/cjs/Slider/useDrag.d.ts +1 -0
- package/cjs/Slider/useDrag.js +8 -3
- package/cjs/Stack/HStack.js +0 -0
- package/cjs/Stack/Stack.js +0 -0
- package/cjs/Stack/StackItem.js +0 -0
- package/cjs/Stack/VStack.js +0 -0
- package/cjs/Stack/index.js +0 -0
- package/cjs/Stat/Stat.js +0 -0
- package/cjs/Stat/StatHelpText.js +0 -0
- package/cjs/Stat/StatLabel.js +0 -0
- package/cjs/Stat/StatTrend.js +0 -0
- package/cjs/Stat/StatValue.js +0 -0
- package/cjs/Stat/StatValueUnit.js +0 -0
- package/cjs/Stat/index.js +0 -0
- package/cjs/StatGroup/StatGroup.js +0 -0
- package/cjs/StatGroup/index.js +0 -0
- package/cjs/Steps/StepItem.js +0 -0
- package/cjs/Steps/Steps.js +2 -2
- package/cjs/Steps/index.js +0 -0
- package/cjs/Table/Table.js +0 -0
- package/cjs/Table/index.js +0 -0
- package/cjs/Tabs/Tab.js +0 -0
- package/cjs/Tabs/TabPanel.js +0 -0
- package/cjs/Tabs/Tabs.js +2 -2
- package/cjs/Tabs/index.js +0 -0
- package/cjs/Tag/Tag.js +0 -0
- package/cjs/Tag/index.js +0 -0
- package/cjs/TagGroup/TagGroup.js +0 -0
- package/cjs/TagGroup/index.js +0 -0
- package/cjs/TagInput/TagInput.js +0 -0
- package/cjs/TagInput/index.js +0 -0
- package/cjs/TagPicker/TagPicker.js +0 -0
- package/cjs/TagPicker/index.js +0 -0
- package/cjs/Text/Text.js +0 -0
- package/cjs/Text/index.js +0 -0
- package/cjs/TimePicker/TimePicker.js +0 -0
- package/cjs/TimePicker/index.js +0 -0
- package/cjs/TimeRangePicker/TimeRangePicker.js +0 -0
- package/cjs/TimeRangePicker/index.js +0 -0
- package/cjs/Timeline/Timeline.js +2 -2
- package/cjs/Timeline/TimelineItem.js +0 -0
- package/cjs/Timeline/index.js +0 -0
- package/cjs/Toggle/Toggle.d.ts +9 -1
- package/cjs/Toggle/Toggle.js +12 -9
- package/cjs/Toggle/index.js +0 -0
- package/cjs/Tooltip/Tooltip.js +0 -0
- package/cjs/Tooltip/index.js +0 -0
- package/cjs/Tree/IndentLine.js +0 -0
- package/cjs/Tree/Tree.js +0 -0
- package/cjs/Tree/TreeNode.js +0 -0
- package/cjs/Tree/TreeNodeToggle.js +0 -0
- package/cjs/Tree/TreeView.js +0 -0
- package/cjs/Tree/hooks/useFlattenTree.js +0 -0
- package/cjs/Tree/hooks/useFocusTree.js +0 -0
- package/cjs/Tree/hooks/useTreeNodeRefs.js +0 -0
- package/cjs/Tree/hooks/useTreeSearch.js +0 -0
- package/cjs/Tree/index.js +0 -0
- package/cjs/Tree/types.js +0 -0
- package/cjs/TreePicker/TreePicker.js +18 -19
- package/cjs/TreePicker/hooks/useFocusState.js +0 -0
- package/cjs/TreePicker/index.js +0 -0
- package/cjs/Uploader/UploadFileItem.js +0 -0
- package/cjs/Uploader/UploadTrigger.js +0 -0
- package/cjs/Uploader/Uploader.js +0 -0
- package/cjs/Uploader/index.js +0 -0
- package/cjs/Uploader/utils/ajaxUpload.js +0 -0
- package/cjs/VisuallyHidden/VisuallyHidden.js +0 -0
- package/cjs/VisuallyHidden/index.js +0 -0
- package/cjs/Whisper/Whisper.js +0 -0
- package/cjs/Whisper/index.js +0 -0
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +6 -6
- package/cjs/internals/Box/Box.d.ts +4 -0
- package/cjs/internals/Box/Box.js +1 -1
- package/cjs/internals/Box/index.js +0 -0
- package/cjs/internals/Box/utils.js +5 -1
- package/cjs/internals/CloseButton/CloseButton.js +0 -0
- package/cjs/internals/Disclosure/Disclosure.js +0 -0
- package/cjs/internals/Menu/Menu.js +0 -0
- package/cjs/internals/Menu/MenuItem.js +0 -0
- package/cjs/internals/Menu/Menubar.js +0 -0
- package/cjs/internals/Menu/useMenu.js +0 -0
- package/cjs/internals/Menu/useRenderMenuItem.js +0 -0
- package/cjs/internals/Overlay/Modal.d.ts +1 -1
- package/cjs/internals/Overlay/Modal.js +0 -0
- package/cjs/internals/Overlay/Overlay.js +0 -0
- package/cjs/internals/Overlay/OverlayProvider.js +0 -0
- package/cjs/internals/Overlay/OverlayTrigger.d.ts +4 -3
- package/cjs/internals/Overlay/OverlayTrigger.js +8 -3
- package/cjs/internals/Overlay/Position.js +0 -0
- package/cjs/internals/Overlay/index.js +0 -0
- package/cjs/internals/Overlay/positionUtils.js +0 -0
- package/cjs/internals/Overlay/types.js +0 -0
- package/cjs/internals/Picker/ListCheckItem.js +0 -0
- package/cjs/internals/Picker/ListItem.js +0 -0
- package/cjs/internals/Picker/ListItemGroup.js +0 -0
- package/cjs/internals/Picker/Listbox.js +7 -9
- package/cjs/internals/Picker/PickerDrawer.d.ts +8 -0
- package/cjs/internals/Picker/PickerDrawer.js +31 -0
- package/cjs/internals/Picker/PickerIndicator.js +0 -0
- package/cjs/internals/Picker/PickerPopup.js +5 -3
- package/cjs/internals/Picker/PickerToggle.d.ts +1 -0
- package/cjs/internals/Picker/PickerToggle.js +10 -3
- package/cjs/internals/Picker/PickerToggleTrigger.d.ts +51 -11
- package/cjs/internals/Picker/PickerToggleTrigger.js +59 -13
- package/cjs/internals/Picker/SelectedElement.js +0 -0
- package/cjs/internals/Picker/ToggleButton.js +0 -0
- package/cjs/internals/Picker/hooks/index.d.ts +0 -1
- package/cjs/internals/Picker/hooks/index.js +2 -4
- package/cjs/internals/Picker/hooks/useCombobox.d.ts +1 -0
- package/cjs/internals/Picker/hooks/useCombobox.js +3 -1
- package/cjs/internals/Picker/hooks/useFocusItemValue.js +0 -0
- package/cjs/internals/Picker/hooks/usePickerRef.js +0 -0
- package/cjs/internals/Picker/index.d.ts +1 -2
- package/cjs/internals/Picker/index.js +10 -12
- package/cjs/internals/Picker/types.js +0 -0
- package/cjs/internals/Plaintext/Plaintext.js +0 -0
- package/cjs/internals/Ripple/Ripple.js +0 -0
- package/{esm → cjs/internals}/SafeAnchor/SafeAnchor.d.ts +2 -2
- package/cjs/{SafeAnchor → internals/SafeAnchor}/SafeAnchor.js +3 -3
- package/cjs/{SafeAnchor → internals/SafeAnchor}/index.js +0 -0
- package/cjs/internals/ScrollView/ScrollView.js +0 -0
- package/cjs/internals/SearchBox/SearchBox.js +0 -0
- package/cjs/internals/StyledBox/StyledBox.js +0 -0
- package/cjs/internals/StyledBox/index.js +0 -0
- package/cjs/internals/Tree/TreeView.js +3 -4
- package/cjs/internals/Tree/utils/getPathTowardsItem.js +0 -0
- package/cjs/internals/Windowing/AutoSizer.js +0 -0
- package/cjs/internals/Windowing/List.js +0 -0
- package/cjs/internals/constants/index.js +0 -0
- package/cjs/internals/hooks/index.js +0 -0
- package/cjs/internals/hooks/useElementResize.js +0 -0
- package/cjs/internals/hooks/useEnsuredRef.js +0 -0
- package/cjs/internals/hooks/useFocus.js +0 -0
- package/cjs/internals/hooks/useInternalId.js +0 -0
- package/cjs/internals/hooks/usePortal.js +0 -0
- package/cjs/internals/hooks/useRootClose.js +4 -4
- package/cjs/internals/hooks/useStyles.js +0 -0
- package/cjs/internals/hooks/useTimeout.js +0 -0
- package/cjs/internals/hooks/useToggleCaret.js +0 -0
- package/cjs/internals/hooks/useUniqueId.js +0 -0
- package/cjs/internals/hooks/useUpdateEffect.js +0 -0
- package/cjs/internals/hooks/useWillUnmount.js +0 -0
- package/cjs/internals/symbols.js +0 -0
- package/cjs/internals/types/animation.js +0 -0
- package/cjs/internals/types/colours.js +0 -0
- package/cjs/internals/types/date.js +0 -0
- package/cjs/internals/types/dom.js +0 -0
- package/cjs/internals/types/form.js +0 -0
- package/cjs/internals/types/html.js +0 -0
- package/cjs/internals/types/index.js +0 -0
- package/cjs/internals/types/picker.js +0 -0
- package/cjs/internals/types/placement.js +0 -0
- package/cjs/internals/types/shared.js +0 -0
- package/cjs/internals/types/sizes.js +0 -0
- package/cjs/internals/types/utils.js +0 -0
- package/cjs/internals/utils/BrowserDetection.js +0 -0
- package/cjs/internals/utils/colours.js +0 -0
- package/cjs/internals/utils/date/copyTime.js +0 -0
- package/cjs/internals/utils/date/disableTime.js +0 -0
- package/cjs/internals/utils/date/getWeekStartDates.js +0 -0
- package/cjs/internals/utils/date/index.js +0 -0
- package/cjs/internals/utils/{dom.d.ts → html/dom.d.ts} +1 -0
- package/cjs/internals/utils/{dom.js → html/dom.js} +8 -0
- package/cjs/internals/utils/html/index.d.ts +4 -0
- package/cjs/internals/utils/html/index.js +28 -0
- package/cjs/internals/utils/{safeSetSelection.js → html/safeSetSelection.js} +1 -1
- package/cjs/internals/utils/index.d.ts +3 -15
- package/cjs/internals/utils/index.js +20 -49
- package/cjs/internals/utils/placement.js +0 -0
- package/cjs/internals/utils/{ReactChildren.d.ts → react/ReactChildren.d.ts} +2 -8
- package/cjs/internals/utils/{ReactChildren.js → react/ReactChildren.js} +5 -25
- package/cjs/internals/utils/react/ReactIs.d.ts +7 -0
- package/cjs/internals/utils/react/ReactIs.js +26 -0
- package/{esm/internals/utils → cjs/internals/utils/react}/createComponent.d.ts +2 -2
- package/cjs/internals/utils/{createComponent.js → react/createComponent.js} +3 -3
- package/cjs/internals/utils/{deprecateComponent.js → react/deprecateComponent.js} +1 -1
- package/cjs/internals/utils/{forwardRef.d.ts → react/forwardRef.d.ts} +1 -1
- package/cjs/internals/utils/{forwardRef.js → react/forwardRef.js} +0 -0
- package/cjs/internals/utils/{getDOMNode.js → react/getDOMNode.js} +0 -0
- package/cjs/internals/utils/react/index.d.ts +7 -0
- package/cjs/internals/utils/react/index.js +46 -0
- package/cjs/internals/utils/sizes.js +0 -0
- package/cjs/internals/utils/{getSafeRegExpString.js → string/getSafeRegExpString.js} +0 -0
- package/cjs/internals/utils/{getStringLength.d.ts → string/getStringLength.d.ts} +0 -1
- package/cjs/internals/utils/{getStringLength.js → string/getStringLength.js} +1 -3
- package/cjs/internals/utils/string/index.d.ts +4 -0
- package/cjs/internals/utils/string/index.js +28 -0
- package/cjs/internals/utils/style-sheet/css.js +0 -0
- package/cjs/internals/utils/style-sheet/index.js +0 -0
- package/cjs/internals/utils/style-sheet/prefix.js +0 -0
- package/cjs/internals/utils/style-sheet/responsive.js +0 -0
- package/cjs/internals/utils/style-sheet/styles.js +0 -0
- package/cjs/locales/ar_EG.js +0 -0
- package/cjs/locales/ca_ES.js +0 -0
- package/cjs/locales/cs_CZ.js +0 -0
- package/cjs/locales/da_DK.js +0 -0
- package/cjs/locales/de_DE.js +0 -0
- package/cjs/locales/en_GB.js +2 -2
- package/cjs/locales/en_US.js +2 -2
- package/cjs/locales/es_AR.js +0 -0
- package/cjs/locales/es_ES.js +0 -0
- package/cjs/locales/fa_IR.js +0 -0
- package/cjs/locales/fi_FI.js +0 -0
- package/cjs/locales/fr_FR.js +0 -0
- package/cjs/locales/hu_HU.js +0 -0
- package/cjs/locales/index.js +0 -0
- package/cjs/locales/it_IT.js +0 -0
- package/cjs/locales/ja_JP.js +0 -0
- package/cjs/locales/kk_KZ.js +0 -0
- package/cjs/locales/ko_KR.js +0 -0
- package/cjs/locales/ne_NP.js +0 -0
- package/cjs/locales/nl_NL.js +0 -0
- package/cjs/locales/pl_PL.js +2 -3
- package/cjs/locales/pt_BR.js +0 -0
- package/cjs/locales/ru_RU.js +0 -0
- package/cjs/locales/sv_SE.js +0 -0
- package/cjs/locales/tr_TR.js +0 -0
- package/cjs/locales/zh_CN.js +0 -0
- package/cjs/locales/zh_TW.js +0 -0
- package/cjs/toaster/ToastContainer.js +0 -0
- package/cjs/toaster/hooks/useDelayedClosure.js +0 -0
- package/cjs/toaster/index.js +0 -0
- package/cjs/toaster/render.js +0 -0
- package/cjs/toaster/toaster.js +0 -0
- package/cjs/useBreakpointValue/index.js +0 -0
- package/cjs/useBreakpointValue/useBreakpointValue.d.ts +5 -1
- package/cjs/useBreakpointValue/useBreakpointValue.js +8 -3
- package/cjs/useMediaQuery/breakpoints.d.ts +24 -0
- package/cjs/useMediaQuery/breakpoints.js +248 -0
- package/cjs/useMediaQuery/index.d.ts +1 -1
- package/cjs/useMediaQuery/index.js +0 -0
- package/cjs/useMediaQuery/types.d.ts +45 -0
- package/cjs/useMediaQuery/types.js +4 -0
- package/cjs/useMediaQuery/useMediaQuery.d.ts +4 -13
- package/cjs/useMediaQuery/useMediaQuery.js +30 -12
- package/cjs/useToaster/index.js +0 -0
- package/cjs/useToaster/useToaster.d.ts +1 -1
- package/cjs/useToaster/useToaster.js +1 -1
- package/dist/rsuite-no-reset-rtl.css +477 -233
- 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 +477 -233
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +477 -233
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +477 -233
- package/dist/rsuite.js +316 -206
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Accordion/Accordion.js +0 -0
- package/esm/Accordion/AccordionPanel.js +0 -0
- package/esm/Accordion/index.js +0 -0
- package/esm/Affix/Affix.js +0 -0
- package/esm/Affix/index.js +0 -0
- package/esm/Animation/Bounce.js +0 -0
- package/esm/Animation/Collapse.js +0 -0
- package/esm/Animation/Fade.js +0 -0
- package/esm/Animation/Slide.js +0 -0
- package/esm/Animation/Transition.js +0 -0
- package/esm/Animation/index.js +0 -0
- package/esm/Animation/utils.js +0 -0
- package/esm/AutoComplete/AutoComplete.d.ts +1 -1
- package/esm/AutoComplete/AutoComplete.js +13 -11
- package/esm/AutoComplete/Combobox.js +0 -0
- package/esm/AutoComplete/index.js +0 -0
- package/esm/Avatar/Avatar.d.ts +3 -4
- package/esm/Avatar/Avatar.js +0 -0
- package/esm/Avatar/index.js +0 -0
- package/esm/AvatarGroup/AvatarGroup.js +0 -0
- package/esm/AvatarGroup/index.js +0 -0
- package/esm/Badge/Badge.js +0 -0
- package/esm/Badge/index.js +0 -0
- package/esm/Box/index.js +0 -0
- package/esm/Breadcrumb/Breadcrumb.js +3 -3
- package/esm/Breadcrumb/BreadcrumbItem.js +1 -1
- package/esm/Breadcrumb/index.js +0 -0
- package/esm/Button/Button.js +10 -11
- package/esm/Button/index.js +0 -0
- package/esm/ButtonGroup/ButtonGroup.js +0 -0
- package/esm/ButtonGroup/ButtonGroupContext.js +0 -0
- package/esm/ButtonGroup/index.js +0 -0
- package/esm/ButtonToolbar/ButtonToolbar.js +0 -0
- package/esm/ButtonToolbar/index.js +0 -0
- package/esm/Calendar/Calendar.js +0 -0
- package/esm/Calendar/CalendarBody.js +0 -0
- package/esm/Calendar/CalendarContainer.js +0 -0
- package/esm/Calendar/CalendarHeader.js +0 -0
- package/esm/Calendar/Grid/Grid.js +0 -0
- package/esm/Calendar/Grid/GridCell.js +0 -0
- package/esm/Calendar/Grid/GridHeaderRow.js +0 -0
- package/esm/Calendar/Grid/GridRow.js +0 -0
- package/esm/Calendar/MonthDropdown/MonthDropdown.js +0 -0
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +0 -0
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +0 -0
- package/esm/Calendar/index.js +0 -0
- package/esm/Card/Card.js +0 -0
- package/esm/Card/CardBody.js +0 -0
- package/esm/Card/CardFooter.js +0 -0
- package/esm/Card/CardHeader.js +0 -0
- package/esm/Card/index.js +0 -0
- package/esm/CardGroup/CardGroup.js +0 -0
- package/esm/CardGroup/index.js +0 -0
- package/esm/Carousel/Carousel.js +3 -3
- package/esm/Carousel/index.js +0 -0
- package/esm/CascadeTree/CascadeTree.js +0 -0
- package/esm/CascadeTree/SearchView.js +0 -0
- package/esm/CascadeTree/TreeView.js +0 -0
- package/esm/CascadeTree/hooks/useSearch.js +0 -0
- package/esm/CascadeTree/hooks/useSelect.js +0 -0
- package/esm/CascadeTree/index.js +0 -0
- package/esm/CascadeTree/types.js +0 -0
- package/esm/CascadeTree/utils.js +0 -0
- package/esm/Cascader/Cascader.js +43 -46
- package/esm/Cascader/index.js +0 -0
- package/esm/Cascader/useActive.d.ts +6 -4
- package/esm/Cascader/useActive.js +10 -8
- package/esm/Center/Center.js +0 -0
- package/esm/Center/index.js +0 -0
- package/esm/CheckPicker/CheckPicker.js +39 -42
- package/esm/CheckPicker/index.js +0 -0
- package/esm/CheckTree/CheckTree.js +0 -0
- package/esm/CheckTree/CheckTreeNode.js +0 -0
- package/esm/CheckTree/CheckTreeView.js +0 -0
- package/esm/CheckTree/index.js +0 -0
- package/esm/CheckTreePicker/CheckTreePicker.js +21 -23
- package/esm/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/esm/CheckTreePicker/index.js +0 -0
- package/esm/Checkbox/Checkbox.js +0 -0
- package/esm/Checkbox/index.js +0 -0
- package/esm/CheckboxGroup/CheckboxGroup.js +0 -0
- package/esm/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/esm/CheckboxGroup/index.js +0 -0
- package/esm/Col/index.js +0 -0
- package/esm/Container/Container.js +0 -0
- package/esm/Container/index.js +0 -0
- package/esm/Content/Content.js +0 -0
- package/esm/Content/index.js +0 -0
- package/esm/CustomProvider/CustomProvider.d.ts +1 -4
- package/esm/CustomProvider/CustomProvider.js +0 -0
- package/esm/CustomProvider/index.js +0 -0
- package/esm/CustomProvider/types.d.ts +4 -2
- package/esm/CustomProvider/types.js +0 -0
- package/esm/CustomProvider/useCustom.js +0 -0
- package/esm/DOMHelper/index.js +0 -0
- package/esm/DateInput/DateField.js +0 -0
- package/esm/DateInput/DateInput.js +0 -0
- package/esm/DateInput/hooks/useDateInputState.js +0 -0
- package/esm/DateInput/hooks/useKeyboardInputEvent.js +0 -0
- package/esm/DateInput/index.js +0 -0
- package/esm/DateInput/utils.js +0 -0
- package/esm/DatePicker/DatePicker.d.ts +1 -1
- package/esm/DatePicker/DatePicker.js +29 -26
- package/esm/DatePicker/PredefinedRanges.js +0 -0
- package/esm/DatePicker/Toolbar.js +0 -0
- package/esm/DatePicker/hooks/useFocus.js +0 -0
- package/esm/DatePicker/index.js +0 -0
- package/esm/DatePicker/types.js +0 -0
- package/esm/DatePicker/utils.d.ts +3 -3
- package/esm/DatePicker/utils.js +4 -4
- package/esm/DateRangeInput/DateRangeInput.js +0 -0
- package/esm/DateRangeInput/index.js +0 -0
- package/esm/DateRangePicker/Calendar.js +0 -0
- package/esm/DateRangePicker/DateRangePicker.js +35 -29
- package/esm/DateRangePicker/Header.js +0 -0
- package/esm/DateRangePicker/hooks/useDateDisabled.js +0 -0
- package/esm/DateRangePicker/index.js +0 -0
- package/esm/DateRangePicker/types.js +0 -0
- package/esm/Divider/Divider.js +0 -0
- package/esm/Divider/index.js +0 -0
- package/esm/Drawer/Drawer.js +0 -0
- package/esm/Drawer/DrawerActions.js +0 -0
- package/esm/Drawer/DrawerBody.js +0 -0
- package/esm/Drawer/DrawerFooter.js +0 -0
- package/esm/Drawer/DrawerHeader.js +0 -0
- package/esm/Drawer/DrawerTitle.js +0 -0
- package/esm/Drawer/index.js +0 -0
- package/esm/Dropdown/Dropdown.js +0 -0
- package/esm/Dropdown/DropdownContext.js +0 -0
- package/esm/Dropdown/DropdownItem.js +0 -0
- package/esm/Dropdown/DropdownMenu.js +0 -0
- package/esm/Dropdown/DropdownSeparator.js +0 -0
- package/esm/Dropdown/DropdownToggle.js +0 -0
- package/esm/Dropdown/index.js +0 -0
- package/esm/Dropdown/types.js +0 -0
- package/esm/FlexboxGrid/FlexboxGrid.js +0 -0
- package/esm/FlexboxGrid/FlexboxGridItem.js +0 -0
- package/esm/FlexboxGrid/index.js +0 -0
- package/esm/Footer/Footer.js +0 -0
- package/esm/Footer/index.js +0 -0
- package/esm/Form/Form.js +0 -0
- package/esm/Form/FormContext.js +0 -0
- package/esm/Form/hooks/useFormValidate.js +0 -0
- package/esm/Form/hooks/useSchemaModel.js +3 -55
- package/esm/Form/index.js +0 -0
- package/esm/Form/utils/constructFlatSchema.d.ts +4 -0
- package/esm/Form/utils/constructFlatSchema.js +37 -0
- package/esm/FormControl/FormControl.js +0 -0
- package/esm/FormControl/hooks/useField.js +0 -0
- package/esm/FormControl/index.js +0 -0
- package/esm/FormControl/utils.js +0 -0
- package/esm/FormControlLabel/FormControlLabel.js +0 -0
- package/esm/FormControlLabel/index.js +0 -0
- package/esm/FormErrorMessage/FormErrorMessage.js +0 -0
- package/esm/FormErrorMessage/index.js +0 -0
- package/esm/FormGroup/FormGroup.js +0 -0
- package/esm/FormGroup/index.js +0 -0
- package/esm/FormHelpText/FormHelpText.js +0 -0
- package/esm/FormHelpText/index.js +0 -0
- package/esm/FormStack/FormStack.js +0 -0
- package/esm/FormStack/index.js +0 -0
- package/esm/Grid/Col.js +0 -0
- package/esm/Grid/Grid.js +0 -0
- package/esm/Grid/Row.d.ts +2 -2
- package/esm/Grid/Row.js +2 -20
- package/esm/Grid/index.js +0 -0
- package/esm/Grid/types.d.ts +1 -0
- package/esm/Grid/types.js +0 -0
- package/esm/Grid/utils/styles.d.ts +6 -0
- package/esm/Grid/utils/styles.js +37 -0
- package/esm/Header/Header.js +0 -0
- package/esm/Header/index.js +0 -0
- package/esm/Heading/Heading.js +0 -0
- package/esm/Heading/index.js +0 -0
- package/esm/HeadingGroup/HeadingGroup.js +0 -0
- package/esm/HeadingGroup/index.js +0 -0
- package/esm/Highlight/Highlight.js +0 -0
- package/esm/Highlight/index.js +0 -0
- package/esm/IconButton/IconButton.js +0 -0
- package/esm/IconButton/index.js +0 -0
- package/esm/Image/Image.js +0 -0
- package/esm/Image/ImageWrapper.js +0 -0
- package/esm/Image/index.js +0 -0
- package/esm/InlineEdit/EditableControls.js +0 -0
- package/esm/InlineEdit/InlineEdit.js +0 -0
- package/esm/InlineEdit/index.js +0 -0
- package/esm/InlineEdit/renderChildren.js +0 -0
- package/esm/Input/Input.js +0 -0
- package/esm/Input/index.js +0 -0
- package/esm/InputGroup/InputGroup.js +0 -0
- package/esm/InputGroup/InputGroupAddon.js +0 -0
- package/esm/InputGroup/InputGroupButton.js +0 -0
- package/esm/InputGroup/index.js +0 -0
- package/esm/InputNumber/InputNumber.js +0 -0
- package/esm/InputNumber/index.js +0 -0
- package/esm/InputPicker/InputAutosize.js +0 -0
- package/esm/InputPicker/InputPicker.js +28 -29
- package/esm/InputPicker/InputSearch.js +0 -0
- package/esm/InputPicker/TagList.js +0 -0
- package/esm/InputPicker/TextBox.js +0 -0
- package/esm/InputPicker/hooks/useData.js +0 -0
- package/esm/InputPicker/hooks/useInput.js +0 -0
- package/esm/InputPicker/hooks/useMaxWidth.js +0 -0
- package/esm/InputPicker/index.js +0 -0
- package/esm/Kbd/Kbd.js +0 -0
- package/esm/Kbd/index.js +0 -0
- package/esm/Link/ExternalLinkIcon.d.ts +3 -0
- package/esm/Link/ExternalLinkIcon.js +18 -0
- package/esm/Link/Link.d.ts +14 -0
- package/esm/Link/Link.js +47 -0
- package/esm/Link/index.d.ts +4 -0
- package/esm/Link/index.js +8 -0
- package/esm/List/List.js +6 -2
- package/esm/List/ListItem.js +0 -0
- package/esm/List/helper/useSortHelper.d.ts +7 -5
- package/esm/List/helper/useSortHelper.js +109 -16
- package/esm/List/helper/utils.js +14 -6
- package/esm/List/index.js +0 -0
- package/esm/Loader/Loader.js +0 -0
- package/esm/Loader/index.js +0 -0
- package/esm/MaskedInput/MaskedInput.js +0 -0
- package/esm/MaskedInput/TextMask.js +0 -0
- package/esm/MaskedInput/conformToMask.js +0 -0
- package/esm/MaskedInput/index.js +0 -0
- package/esm/Menu/Menu.js +0 -0
- package/esm/Menu/MenuContext.js +0 -0
- package/esm/Menu/MenuItem.js +0 -0
- package/esm/Menu/MenuSeparator.js +0 -0
- package/esm/Menu/index.js +0 -0
- package/esm/Message/Message.js +0 -0
- package/esm/Message/index.js +0 -0
- package/esm/Modal/Modal.js +0 -0
- package/esm/Modal/ModalBody.js +0 -0
- package/esm/Modal/ModalDialog.js +0 -0
- package/esm/Modal/ModalFooter.js +0 -0
- package/esm/Modal/ModalHeader.js +0 -0
- package/esm/Modal/ModalTitle.js +0 -0
- package/esm/Modal/index.js +0 -0
- package/esm/Modal/utils.js +0 -0
- package/esm/MultiCascadeTree/MultiCascadeTree.js +0 -0
- package/esm/MultiCascadeTree/SearchView.js +0 -0
- package/esm/MultiCascadeTree/TreeView.js +0 -0
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSelect.js +0 -0
- package/esm/MultiCascadeTree/index.js +0 -0
- package/esm/MultiCascadeTree/types.js +0 -0
- package/esm/MultiCascadeTree/utils.js +0 -0
- package/esm/MultiCascader/MultiCascader.js +41 -44
- package/esm/MultiCascader/index.js +0 -0
- package/esm/Nav/AdaptiveNavItem.js +0 -0
- package/esm/Nav/Nav.js +0 -0
- package/esm/Nav/NavDropdown.js +0 -0
- package/esm/Nav/NavDropdownItem.js +0 -0
- package/esm/Nav/NavDropdownMenu.js +0 -0
- package/esm/Nav/NavDropdownToggle.js +0 -0
- package/esm/Nav/NavItem.js +1 -1
- package/esm/Nav/NavMegaMenu.js +0 -0
- package/esm/Nav/NavMenu.js +0 -0
- package/esm/Nav/index.js +0 -0
- package/esm/Navbar/Navbar.js +0 -0
- package/esm/Navbar/NavbarBrand.js +0 -0
- package/esm/Navbar/NavbarContent.js +0 -0
- package/esm/Navbar/NavbarContext.js +0 -0
- package/esm/Navbar/NavbarDrawer.js +0 -0
- package/esm/Navbar/NavbarDropdown.js +0 -0
- package/esm/Navbar/NavbarDropdownItem.js +0 -0
- package/esm/Navbar/NavbarDropdownMenu.js +0 -0
- package/esm/Navbar/NavbarDropdownToggle.js +0 -0
- package/esm/Navbar/NavbarItem.js +1 -1
- package/esm/Navbar/NavbarMegaMenu.js +1 -1
- package/esm/Navbar/NavbarToggle.js +0 -0
- package/esm/Navbar/index.js +0 -0
- package/esm/Notification/Notification.js +0 -0
- package/esm/Notification/index.js +0 -0
- package/esm/Pagination/LimitPicker.js +0 -0
- package/esm/Pagination/Pagination.js +0 -0
- package/esm/Pagination/PaginationButton.js +0 -0
- package/esm/Pagination/PaginationGroup.js +0 -0
- package/esm/Pagination/index.js +0 -0
- package/esm/Panel/AccordionButton.js +0 -0
- package/esm/Panel/Panel.js +0 -0
- package/esm/Panel/PanelBody.js +0 -0
- package/esm/Panel/PanelHeader.js +0 -0
- package/esm/Panel/index.js +0 -0
- package/esm/PanelGroup/PanelGroup.js +0 -0
- package/esm/PanelGroup/index.js +0 -0
- package/esm/Placeholder/Placeholder.js +0 -0
- package/esm/Placeholder/PlaceholderGraph.js +0 -0
- package/esm/Placeholder/PlaceholderGrid.js +0 -0
- package/esm/Placeholder/PlaceholderParagraph.js +0 -0
- package/esm/Placeholder/index.js +0 -0
- package/esm/Popover/Popover.js +0 -0
- package/esm/Popover/index.js +0 -0
- package/esm/Progress/Progress.js +0 -0
- package/esm/Progress/ProgressCircle.js +0 -0
- package/esm/Progress/ProgressLine.js +0 -0
- package/esm/Progress/index.js +0 -0
- package/esm/Radio/Radio.js +0 -0
- package/esm/Radio/index.js +0 -0
- package/esm/RadioGroup/RadioGroup.js +0 -0
- package/esm/RadioGroup/index.js +0 -0
- package/esm/RadioTile/RadioTile.js +0 -0
- package/esm/RadioTile/index.js +0 -0
- package/esm/RadioTileGroup/RadioTileGroup.js +0 -0
- package/esm/RadioTileGroup/index.js +0 -0
- package/esm/RangeSlider/RangeSlider.js +18 -3
- package/esm/RangeSlider/index.js +0 -0
- package/esm/Rate/Character.js +0 -0
- package/esm/Rate/Rate.js +0 -0
- package/esm/Rate/index.js +0 -0
- package/esm/Row/index.js +0 -0
- package/esm/Schema/Schema.js +0 -0
- package/esm/Schema/index.js +0 -0
- package/esm/SelectPicker/SelectPicker.js +46 -47
- package/esm/SelectPicker/index.js +0 -0
- package/esm/Sidebar/Sidebar.js +0 -0
- package/esm/Sidebar/index.js +0 -0
- package/esm/Sidenav/ExpandedSidenavDropdown.js +0 -0
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +0 -0
- package/esm/Sidenav/Sidenav.js +0 -0
- package/esm/Sidenav/SidenavBody.js +0 -0
- package/esm/Sidenav/SidenavDropdown.js +0 -0
- package/esm/Sidenav/SidenavDropdownCollapse.js +0 -0
- package/esm/Sidenav/SidenavDropdownItem.js +0 -0
- package/esm/Sidenav/SidenavDropdownMenu.js +0 -0
- package/esm/Sidenav/SidenavDropdownToggle.js +0 -0
- package/esm/Sidenav/SidenavFooter.js +0 -0
- package/esm/Sidenav/SidenavGroupLabel.js +0 -0
- package/esm/Sidenav/SidenavHeader.js +0 -0
- package/esm/Sidenav/SidenavItem.js +1 -1
- package/esm/Sidenav/SidenavToggle.js +0 -0
- package/esm/Sidenav/index.js +0 -0
- package/esm/Slider/Graduated.d.ts +4 -0
- package/esm/Slider/Graduated.js +43 -20
- package/esm/Slider/Handle.d.ts +1 -1
- package/esm/Slider/Handle.js +12 -12
- package/esm/Slider/Input.js +0 -0
- package/esm/Slider/Mark.js +0 -0
- package/esm/Slider/ProgressBar.js +0 -0
- package/esm/Slider/Slider.d.ts +16 -1
- package/esm/Slider/Slider.js +7 -2
- package/esm/Slider/index.js +0 -0
- package/esm/Slider/useDrag.d.ts +1 -0
- package/esm/Slider/useDrag.js +8 -3
- package/esm/Stack/HStack.js +0 -0
- package/esm/Stack/Stack.js +0 -0
- package/esm/Stack/StackItem.js +0 -0
- package/esm/Stack/VStack.js +0 -0
- package/esm/Stack/index.js +0 -0
- package/esm/Stat/Stat.js +0 -0
- package/esm/Stat/StatHelpText.js +0 -0
- package/esm/Stat/StatLabel.js +0 -0
- package/esm/Stat/StatTrend.js +0 -0
- package/esm/Stat/StatValue.js +0 -0
- package/esm/Stat/StatValueUnit.js +0 -0
- package/esm/Stat/index.js +0 -0
- package/esm/StatGroup/StatGroup.js +0 -0
- package/esm/StatGroup/index.js +0 -0
- package/esm/Steps/StepItem.js +0 -0
- package/esm/Steps/Steps.js +3 -3
- package/esm/Steps/index.js +0 -0
- package/esm/Table/Table.js +0 -0
- package/esm/Table/index.js +0 -0
- package/esm/Tabs/Tab.js +0 -0
- package/esm/Tabs/TabPanel.js +0 -0
- package/esm/Tabs/Tabs.js +3 -3
- package/esm/Tabs/index.js +0 -0
- package/esm/Tag/Tag.js +0 -0
- package/esm/Tag/index.js +0 -0
- package/esm/TagGroup/TagGroup.js +0 -0
- package/esm/TagGroup/index.js +0 -0
- package/esm/TagInput/TagInput.js +0 -0
- package/esm/TagInput/index.js +0 -0
- package/esm/TagPicker/TagPicker.js +0 -0
- package/esm/TagPicker/index.js +0 -0
- package/esm/Text/Text.js +0 -0
- package/esm/Text/index.js +0 -0
- package/esm/TimePicker/TimePicker.js +0 -0
- package/esm/TimePicker/index.js +0 -0
- package/esm/TimeRangePicker/TimeRangePicker.js +0 -0
- package/esm/TimeRangePicker/index.js +0 -0
- package/esm/Timeline/Timeline.js +3 -3
- package/esm/Timeline/TimelineItem.js +0 -0
- package/esm/Timeline/index.js +0 -0
- package/esm/Toggle/Toggle.d.ts +9 -1
- package/esm/Toggle/Toggle.js +12 -9
- package/esm/Toggle/index.js +0 -0
- package/esm/Tooltip/Tooltip.js +0 -0
- package/esm/Tooltip/index.js +0 -0
- package/esm/Tree/IndentLine.js +0 -0
- package/esm/Tree/Tree.js +0 -0
- package/esm/Tree/TreeNode.js +0 -0
- package/esm/Tree/TreeNodeToggle.js +0 -0
- package/esm/Tree/TreeView.js +0 -0
- package/esm/Tree/hooks/useFlattenTree.js +0 -0
- package/esm/Tree/hooks/useFocusTree.js +0 -0
- package/esm/Tree/hooks/useTreeNodeRefs.js +0 -0
- package/esm/Tree/hooks/useTreeSearch.js +0 -0
- package/esm/Tree/index.js +0 -0
- package/esm/Tree/types.js +0 -0
- package/esm/TreePicker/TreePicker.js +19 -20
- package/esm/TreePicker/hooks/useFocusState.js +0 -0
- package/esm/TreePicker/index.js +0 -0
- package/esm/Uploader/UploadFileItem.js +0 -0
- package/esm/Uploader/UploadTrigger.js +0 -0
- package/esm/Uploader/Uploader.js +0 -0
- package/esm/Uploader/index.js +0 -0
- package/esm/Uploader/utils/ajaxUpload.js +0 -0
- package/esm/VisuallyHidden/VisuallyHidden.js +0 -0
- package/esm/VisuallyHidden/index.js +0 -0
- package/esm/Whisper/Whisper.js +0 -0
- package/esm/Whisper/index.js +0 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/Box/Box.d.ts +4 -0
- package/esm/internals/Box/Box.js +1 -1
- package/esm/internals/Box/index.js +0 -0
- package/esm/internals/Box/utils.js +5 -1
- package/esm/internals/CloseButton/CloseButton.js +0 -0
- package/esm/internals/Disclosure/Disclosure.js +0 -0
- package/esm/internals/Menu/Menu.js +0 -0
- package/esm/internals/Menu/MenuItem.js +0 -0
- package/esm/internals/Menu/Menubar.js +0 -0
- package/esm/internals/Menu/useMenu.js +0 -0
- package/esm/internals/Menu/useRenderMenuItem.js +0 -0
- package/esm/internals/Overlay/Modal.d.ts +1 -1
- package/esm/internals/Overlay/Modal.js +0 -0
- package/esm/internals/Overlay/Overlay.js +0 -0
- package/esm/internals/Overlay/OverlayProvider.js +0 -0
- package/esm/internals/Overlay/OverlayTrigger.d.ts +4 -3
- package/esm/internals/Overlay/OverlayTrigger.js +8 -2
- package/esm/internals/Overlay/Position.js +0 -0
- package/esm/internals/Overlay/index.js +0 -0
- package/esm/internals/Overlay/positionUtils.js +0 -0
- package/esm/internals/Overlay/types.js +0 -0
- package/esm/internals/Picker/ListCheckItem.js +0 -0
- package/esm/internals/Picker/ListItem.js +0 -0
- package/esm/internals/Picker/ListItemGroup.js +0 -0
- package/esm/internals/Picker/Listbox.js +8 -10
- package/esm/internals/Picker/PickerDrawer.d.ts +8 -0
- package/esm/internals/Picker/PickerDrawer.js +26 -0
- package/esm/internals/Picker/PickerIndicator.js +0 -0
- package/esm/internals/Picker/PickerPopup.js +5 -3
- package/esm/internals/Picker/PickerToggle.d.ts +1 -0
- package/esm/internals/Picker/PickerToggle.js +10 -3
- package/esm/internals/Picker/PickerToggleTrigger.d.ts +51 -11
- package/esm/internals/Picker/PickerToggleTrigger.js +59 -12
- package/esm/internals/Picker/SelectedElement.js +0 -0
- package/esm/internals/Picker/ToggleButton.js +0 -0
- package/esm/internals/Picker/hooks/index.d.ts +0 -1
- package/esm/internals/Picker/hooks/index.js +1 -2
- package/esm/internals/Picker/hooks/useCombobox.d.ts +1 -0
- package/esm/internals/Picker/hooks/useCombobox.js +3 -1
- package/esm/internals/Picker/hooks/useFocusItemValue.js +0 -0
- package/esm/internals/Picker/hooks/usePickerRef.js +0 -0
- package/esm/internals/Picker/index.d.ts +1 -2
- package/esm/internals/Picker/index.js +1 -2
- package/esm/internals/Picker/types.js +0 -0
- package/esm/internals/Plaintext/Plaintext.js +0 -0
- package/esm/internals/Ripple/Ripple.js +0 -0
- package/{cjs → esm/internals}/SafeAnchor/SafeAnchor.d.ts +2 -2
- package/esm/{SafeAnchor → internals/SafeAnchor}/SafeAnchor.js +3 -3
- package/esm/{SafeAnchor → internals/SafeAnchor}/index.js +0 -0
- package/esm/internals/ScrollView/ScrollView.js +0 -0
- package/esm/internals/SearchBox/SearchBox.js +0 -0
- package/esm/internals/StyledBox/StyledBox.js +0 -0
- package/esm/internals/StyledBox/index.js +0 -0
- package/esm/internals/Tree/TreeView.js +4 -5
- package/esm/internals/Tree/utils/getPathTowardsItem.js +0 -0
- package/esm/internals/Windowing/AutoSizer.js +0 -0
- package/esm/internals/Windowing/List.js +0 -0
- package/esm/internals/constants/index.js +0 -0
- package/esm/internals/hooks/index.js +0 -0
- package/esm/internals/hooks/useElementResize.js +0 -0
- package/esm/internals/hooks/useEnsuredRef.js +0 -0
- package/esm/internals/hooks/useFocus.js +0 -0
- package/esm/internals/hooks/useInternalId.js +0 -0
- package/esm/internals/hooks/usePortal.js +0 -0
- package/esm/internals/hooks/useRootClose.js +1 -1
- package/esm/internals/hooks/useStyles.js +0 -0
- package/esm/internals/hooks/useTimeout.js +0 -0
- package/esm/internals/hooks/useToggleCaret.js +0 -0
- package/esm/internals/hooks/useUniqueId.js +0 -0
- package/esm/internals/hooks/useUpdateEffect.js +0 -0
- package/esm/internals/hooks/useWillUnmount.js +0 -0
- package/esm/internals/symbols.js +0 -0
- package/esm/internals/types/animation.js +0 -0
- package/esm/internals/types/colours.js +0 -0
- package/esm/internals/types/date.js +0 -0
- package/esm/internals/types/dom.js +0 -0
- package/esm/internals/types/form.js +0 -0
- package/esm/internals/types/html.js +0 -0
- package/esm/internals/types/index.js +0 -0
- package/esm/internals/types/picker.js +0 -0
- package/esm/internals/types/placement.js +0 -0
- package/esm/internals/types/shared.js +0 -0
- package/esm/internals/types/sizes.js +0 -0
- package/esm/internals/types/utils.js +0 -0
- package/esm/internals/utils/BrowserDetection.js +0 -0
- package/esm/internals/utils/colours.js +0 -0
- package/esm/internals/utils/date/copyTime.js +0 -0
- package/esm/internals/utils/date/disableTime.js +0 -0
- package/esm/internals/utils/date/getWeekStartDates.js +0 -0
- package/esm/internals/utils/date/index.js +0 -0
- package/esm/internals/utils/{dom.d.ts → html/dom.d.ts} +1 -0
- package/esm/internals/utils/{dom.js → html/dom.js} +7 -0
- package/esm/internals/utils/html/index.d.ts +4 -0
- package/esm/internals/utils/html/index.js +5 -0
- package/esm/internals/utils/{safeSetSelection.js → html/safeSetSelection.js} +1 -1
- package/esm/internals/utils/index.d.ts +3 -15
- package/esm/internals/utils/index.js +3 -14
- package/esm/internals/utils/placement.js +0 -0
- package/esm/internals/utils/{ReactChildren.d.ts → react/ReactChildren.d.ts} +2 -8
- package/esm/internals/utils/{ReactChildren.js → react/ReactChildren.js} +3 -21
- package/esm/internals/utils/react/ReactIs.d.ts +7 -0
- package/esm/internals/utils/react/ReactIs.js +22 -0
- package/{cjs/internals/utils → esm/internals/utils/react}/createComponent.d.ts +2 -2
- package/esm/internals/utils/{createComponent.js → react/createComponent.js} +3 -3
- package/esm/internals/utils/{deprecateComponent.js → react/deprecateComponent.js} +1 -1
- package/esm/internals/utils/{forwardRef.d.ts → react/forwardRef.d.ts} +1 -1
- package/esm/internals/utils/{forwardRef.js → react/forwardRef.js} +0 -0
- package/esm/internals/utils/{getDOMNode.js → react/getDOMNode.js} +0 -0
- package/esm/internals/utils/react/index.d.ts +7 -0
- package/esm/internals/utils/react/index.js +8 -0
- package/esm/internals/utils/sizes.js +0 -0
- package/esm/internals/utils/{getSafeRegExpString.js → string/getSafeRegExpString.js} +0 -0
- package/esm/internals/utils/{getStringLength.d.ts → string/getStringLength.d.ts} +0 -1
- package/esm/internals/utils/{getStringLength.js → string/getStringLength.js} +1 -2
- package/esm/internals/utils/string/index.d.ts +4 -0
- package/esm/internals/utils/string/index.js +5 -0
- package/esm/internals/utils/style-sheet/css.js +0 -0
- package/esm/internals/utils/style-sheet/index.js +0 -0
- package/esm/internals/utils/style-sheet/prefix.js +0 -0
- package/esm/internals/utils/style-sheet/responsive.js +0 -0
- package/esm/internals/utils/style-sheet/styles.js +0 -0
- package/esm/locales/ar_EG.js +0 -0
- package/esm/locales/ca_ES.js +0 -0
- package/esm/locales/cs_CZ.js +0 -0
- package/esm/locales/da_DK.js +0 -0
- package/esm/locales/de_DE.js +0 -0
- package/esm/locales/en_GB.js +2 -2
- package/esm/locales/en_US.js +2 -2
- package/esm/locales/es_AR.js +0 -0
- package/esm/locales/es_ES.js +0 -0
- package/esm/locales/fa_IR.js +0 -0
- package/esm/locales/fi_FI.js +0 -0
- package/esm/locales/fr_FR.js +0 -0
- package/esm/locales/hu_HU.js +0 -0
- package/esm/locales/index.js +0 -0
- package/esm/locales/it_IT.js +0 -0
- package/esm/locales/ja_JP.js +0 -0
- package/esm/locales/kk_KZ.js +0 -0
- package/esm/locales/ko_KR.js +0 -0
- package/esm/locales/ne_NP.js +0 -0
- package/esm/locales/nl_NL.js +0 -0
- package/esm/locales/pl_PL.js +1 -1
- package/esm/locales/pt_BR.js +0 -0
- package/esm/locales/ru_RU.js +0 -0
- package/esm/locales/sv_SE.js +0 -0
- package/esm/locales/tr_TR.js +0 -0
- package/esm/locales/zh_CN.js +0 -0
- package/esm/locales/zh_TW.js +0 -0
- package/esm/toaster/ToastContainer.js +0 -0
- package/esm/toaster/hooks/useDelayedClosure.js +0 -0
- package/esm/toaster/index.js +0 -0
- package/esm/toaster/render.js +0 -0
- package/esm/toaster/toaster.js +0 -0
- package/esm/useBreakpointValue/index.js +0 -0
- package/esm/useBreakpointValue/useBreakpointValue.d.ts +5 -1
- package/esm/useBreakpointValue/useBreakpointValue.js +8 -3
- package/esm/useMediaQuery/breakpoints.d.ts +24 -0
- package/esm/useMediaQuery/breakpoints.js +244 -0
- package/esm/useMediaQuery/index.d.ts +1 -1
- package/esm/useMediaQuery/index.js +0 -0
- package/esm/useMediaQuery/types.d.ts +45 -0
- package/esm/useMediaQuery/types.js +2 -0
- package/esm/useMediaQuery/useMediaQuery.d.ts +4 -13
- package/esm/useMediaQuery/useMediaQuery.js +29 -11
- package/esm/useToaster/index.js +0 -0
- package/esm/useToaster/useToaster.d.ts +1 -1
- package/esm/useToaster/useToaster.js +1 -1
- package/internals/Box/styles/index.less +4 -0
- package/internals/Picker/styles/index.less +105 -23
- package/internals/Picker/styles/mixin.less +6 -6
- package/internals/Ripple/styles/index.less +0 -0
- package/internals/ScrollView/styles/index.less +0 -0
- package/package.json +2 -2
- package/styles/color-modes/dark.less +1 -1
- package/styles/color-modes/high-contrast.less +0 -0
- package/styles/color-modes/light.less +1 -1
- package/styles/common.less +0 -0
- package/styles/index.less +1 -0
- package/styles/mixins/combobox.less +0 -0
- package/styles/mixins/hacks.less +0 -0
- package/styles/mixins/listbox.less +0 -0
- package/styles/mixins/utilities.less +0 -0
- package/styles/normalize.less +0 -0
- package/styles/root.less +2 -0
- package/styles/scaffolding.less +0 -0
- package/styles/typography.less +0 -0
- package/styles/variables.less +0 -24
- package/toaster/styles/index.css +0 -0
- package/toaster/styles/index.less +0 -0
- package/SafeAnchor/package.json +0 -7
- package/cjs/Form/hooks/useFormClassNames.d.ts +0 -5
- package/cjs/Form/hooks/useFormClassNames.js +0 -29
- package/cjs/internals/Picker/hooks/usePickerClassName.d.ts +0 -19
- package/cjs/internals/Picker/hooks/usePickerClassName.js +0 -45
- package/esm/Form/hooks/useFormClassNames.d.ts +0 -5
- package/esm/Form/hooks/useFormClassNames.js +0 -25
- package/esm/internals/Picker/hooks/usePickerClassName.d.ts +0 -19
- package/esm/internals/Picker/hooks/usePickerClassName.js +0 -40
- /package/cjs/{SafeAnchor → internals/SafeAnchor}/index.d.ts +0 -0
- /package/cjs/internals/utils/{events.d.ts → html/events.d.ts} +0 -0
- /package/cjs/internals/utils/{events.js → html/events.js} +0 -0
- /package/cjs/internals/utils/{htmlPropsUtils.d.ts → html/htmlPropsUtils.d.ts} +0 -0
- /package/cjs/internals/utils/{htmlPropsUtils.js → html/htmlPropsUtils.js} +0 -0
- /package/cjs/internals/utils/{safeSetSelection.d.ts → html/safeSetSelection.d.ts} +0 -0
- /package/cjs/internals/utils/{deprecateComponent.d.ts → react/deprecateComponent.d.ts} +0 -0
- /package/cjs/internals/utils/{getDOMNode.d.ts → react/getDOMNode.d.ts} +0 -0
- /package/cjs/internals/utils/{mergeRefs.d.ts → react/mergeRefs.d.ts} +0 -0
- /package/cjs/internals/utils/{mergeRefs.js → react/mergeRefs.js} +0 -0
- /package/cjs/internals/utils/{getSafeRegExpString.d.ts → string/getSafeRegExpString.d.ts} +0 -0
- /package/cjs/internals/utils/{stringifyReactNode.d.ts → string/stringifyReactNode.d.ts} +0 -0
- /package/cjs/internals/utils/{stringifyReactNode.js → string/stringifyReactNode.js} +0 -0
- /package/cjs/internals/utils/{tplTransform.d.ts → string/tplTransform.d.ts} +0 -0
- /package/cjs/internals/utils/{tplTransform.js → string/tplTransform.js} +0 -0
- /package/esm/{SafeAnchor → internals/SafeAnchor}/index.d.ts +0 -0
- /package/esm/internals/utils/{events.d.ts → html/events.d.ts} +0 -0
- /package/esm/internals/utils/{events.js → html/events.js} +0 -0
- /package/esm/internals/utils/{htmlPropsUtils.d.ts → html/htmlPropsUtils.d.ts} +0 -0
- /package/esm/internals/utils/{htmlPropsUtils.js → html/htmlPropsUtils.js} +0 -0
- /package/esm/internals/utils/{safeSetSelection.d.ts → html/safeSetSelection.d.ts} +0 -0
- /package/esm/internals/utils/{deprecateComponent.d.ts → react/deprecateComponent.d.ts} +0 -0
- /package/esm/internals/utils/{getDOMNode.d.ts → react/getDOMNode.d.ts} +0 -0
- /package/esm/internals/utils/{mergeRefs.d.ts → react/mergeRefs.d.ts} +0 -0
- /package/esm/internals/utils/{mergeRefs.js → react/mergeRefs.js} +0 -0
- /package/esm/internals/utils/{getSafeRegExpString.d.ts → string/getSafeRegExpString.d.ts} +0 -0
- /package/esm/internals/utils/{stringifyReactNode.d.ts → string/stringifyReactNode.d.ts} +0 -0
- /package/esm/internals/utils/{stringifyReactNode.js → string/stringifyReactNode.js} +0 -0
- /package/esm/internals/utils/{tplTransform.d.ts → string/tplTransform.d.ts} +0 -0
- /package/esm/internals/utils/{tplTransform.js → string/tplTransform.js} +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
import pick from 'lodash/pick';
|
|
5
|
-
import omit from 'lodash/omit';
|
|
6
5
|
import isNil from 'lodash/isNil';
|
|
7
6
|
import isFunction from 'lodash/isFunction';
|
|
8
7
|
import useTreeWithChildren from "../Tree/hooks/useTreeWithChildren.js";
|
|
@@ -10,11 +9,10 @@ import useFlattenTree from "../Tree/hooks/useFlattenTree.js";
|
|
|
10
9
|
import useFocusState from "./hooks/useFocusState.js";
|
|
11
10
|
import useExpandTree from "../Tree/hooks/useExpandTree.js";
|
|
12
11
|
import TreeView from "../Tree/TreeView.js";
|
|
13
|
-
import Box from "../internals/Box/index.js";
|
|
14
12
|
import { useStyles, useControlled, useEventCallback } from "../internals/hooks/index.js";
|
|
15
13
|
import { forwardRef, createChainedFunction, mergeRefs } from "../internals/utils/index.js";
|
|
16
14
|
import { getActiveItem, getTreeActiveNode } from "../Tree/utils/index.js";
|
|
17
|
-
import { PickerToggle, PickerPopup, PickerToggleTrigger,
|
|
15
|
+
import { PickerToggle, PickerPopup, PickerToggleTrigger, usePickerRef, onMenuKeyDown, triggerPropKeys, useToggleKeyDownEvent } from "../internals/Picker/index.js";
|
|
18
16
|
import { TreeProvider, useTreeImperativeHandle } from "../internals/Tree/TreeProvider.js";
|
|
19
17
|
import { useCustom } from "../CustomProvider/index.js";
|
|
20
18
|
/**
|
|
@@ -40,6 +38,8 @@ const TreePicker = forwardRef((props, ref) => {
|
|
|
40
38
|
defaultExpandItemValues = [],
|
|
41
39
|
expandItemValues: controlledExpandItemValues,
|
|
42
40
|
id,
|
|
41
|
+
block,
|
|
42
|
+
className,
|
|
43
43
|
locale,
|
|
44
44
|
labelKey = 'label',
|
|
45
45
|
placeholder,
|
|
@@ -246,27 +246,26 @@ const TreePicker = forwardRef((props, ref) => {
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
classPrefix,
|
|
252
|
-
appearance,
|
|
253
|
-
hasValue: hasValidValue,
|
|
254
|
-
name: 'tree',
|
|
255
|
-
cleanable
|
|
256
|
-
});
|
|
257
|
-
return /*#__PURE__*/React.createElement(PickerToggleTrigger, _extends({
|
|
249
|
+
return /*#__PURE__*/React.createElement(PickerToggleTrigger, {
|
|
250
|
+
as: as,
|
|
258
251
|
id: id,
|
|
252
|
+
name: "tree",
|
|
253
|
+
block: block,
|
|
254
|
+
disabled: disabled,
|
|
255
|
+
appearance: appearance,
|
|
259
256
|
popupType: "tree",
|
|
260
|
-
|
|
257
|
+
triggerProps: {
|
|
258
|
+
...pick(props, triggerPropKeys),
|
|
259
|
+
...triggerProps
|
|
260
|
+
},
|
|
261
261
|
ref: trigger,
|
|
262
262
|
placement: placement,
|
|
263
|
-
speaker: renderTreeView
|
|
264
|
-
|
|
265
|
-
as: as,
|
|
266
|
-
className: classes,
|
|
263
|
+
speaker: renderTreeView,
|
|
264
|
+
rootRef: root,
|
|
267
265
|
style: style,
|
|
268
|
-
|
|
269
|
-
|
|
266
|
+
classPrefix: classPrefix,
|
|
267
|
+
className: className
|
|
268
|
+
}, /*#__PURE__*/React.createElement(PickerToggle, _extends({
|
|
270
269
|
ref: target,
|
|
271
270
|
appearance: appearance,
|
|
272
271
|
onKeyDown: onPickerKeydown,
|
|
@@ -279,7 +278,7 @@ const TreePicker = forwardRef((props, ref) => {
|
|
|
279
278
|
placement: placement,
|
|
280
279
|
inputValue: value,
|
|
281
280
|
focusItemValue: focusItemValue
|
|
282
|
-
}), selectedElement || (locale === null || locale === void 0 ? void 0 : locale.placeholder)))
|
|
281
|
+
}, rest), selectedElement || (locale === null || locale === void 0 ? void 0 : locale.placeholder)));
|
|
283
282
|
});
|
|
284
283
|
TreePicker.displayName = 'TreePicker';
|
|
285
284
|
export default TreePicker;
|
|
File without changes
|
package/esm/TreePicker/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/Uploader/Uploader.js
CHANGED
|
File without changes
|
package/esm/Uploader/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/Whisper/Whisper.js
CHANGED
|
File without changes
|
package/esm/Whisper/index.js
CHANGED
|
File without changes
|
package/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './Text';
|
|
|
2
2
|
export * from './Heading';
|
|
3
3
|
export * from './HeadingGroup';
|
|
4
4
|
export * from './Highlight';
|
|
5
|
-
export * from './SafeAnchor';
|
|
6
5
|
export * from './Kbd';
|
|
7
6
|
export * from './Button';
|
|
8
7
|
export * from './IconButton';
|
|
@@ -32,6 +31,7 @@ export * from './Sidenav';
|
|
|
32
31
|
export * from './Breadcrumb';
|
|
33
32
|
export * from './Pagination';
|
|
34
33
|
export * from './Steps';
|
|
34
|
+
export * from './Link';
|
|
35
35
|
export * from './Form';
|
|
36
36
|
export * from './FormStack';
|
|
37
37
|
export * from './FormGroup';
|
package/esm/index.js
CHANGED
|
@@ -5,7 +5,6 @@ export * from "./Text/index.js";
|
|
|
5
5
|
export * from "./Heading/index.js";
|
|
6
6
|
export * from "./HeadingGroup/index.js";
|
|
7
7
|
export * from "./Highlight/index.js";
|
|
8
|
-
export * from "./SafeAnchor/index.js";
|
|
9
8
|
export * from "./Kbd/index.js";
|
|
10
9
|
|
|
11
10
|
// Buttons
|
|
@@ -50,6 +49,7 @@ export * from "./Sidenav/index.js";
|
|
|
50
49
|
export * from "./Breadcrumb/index.js";
|
|
51
50
|
export * from "./Pagination/index.js";
|
|
52
51
|
export * from "./Steps/index.js";
|
|
52
|
+
export * from "./Link/index.js";
|
|
53
53
|
|
|
54
54
|
// Form
|
|
55
55
|
// --------------------------------------------------------
|
|
@@ -26,6 +26,10 @@ export interface BoxProps extends WithAsProps {
|
|
|
26
26
|
/** Box size */
|
|
27
27
|
w?: CSS['width'];
|
|
28
28
|
h?: CSS['height'];
|
|
29
|
+
minw?: CSS['minWidth'];
|
|
30
|
+
maxw?: CSS['maxWidth'];
|
|
31
|
+
minh?: CSS['minHeight'];
|
|
32
|
+
maxh?: CSS['maxHeight'];
|
|
29
33
|
/** Box Color */
|
|
30
34
|
c?: ColorScheme | CSS['color'];
|
|
31
35
|
/** Box Border */
|
package/esm/internals/Box/Box.js
CHANGED
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import isEmpty from 'lodash/isEmpty';
|
|
5
5
|
import { mergeStyles } from "../utils/index.js";
|
|
6
|
-
import { forwardRef } from "../utils/forwardRef.js";
|
|
6
|
+
import { forwardRef } from "../utils/react/forwardRef.js";
|
|
7
7
|
import { getBoxCSSVariables, extractBoxProps, omitBoxProps } from "./utils.js";
|
|
8
8
|
/**
|
|
9
9
|
* Box component is the base component for all components,
|
|
File without changes
|
|
@@ -26,7 +26,11 @@ const marginStyleMap = {
|
|
|
26
26
|
// Mapping for size properties to their CSS style equivalents
|
|
27
27
|
const sizeStyleMap = {
|
|
28
28
|
w: 'width',
|
|
29
|
-
h: 'height'
|
|
29
|
+
h: 'height',
|
|
30
|
+
minw: 'minWidth',
|
|
31
|
+
maxw: 'maxWidth',
|
|
32
|
+
minh: 'minHeight',
|
|
33
|
+
maxh: 'maxHeight'
|
|
30
34
|
};
|
|
31
35
|
|
|
32
36
|
// Derive box property keys from style mappings
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,7 +36,7 @@ export interface BaseModalProps extends Omit<BoxProps, 'children'>, AnimationEve
|
|
|
36
36
|
/** Called when Modal is displayed */
|
|
37
37
|
onOpen?: () => void;
|
|
38
38
|
/** Called when Modal is closed */
|
|
39
|
-
onClose?: (event
|
|
39
|
+
onClose?: (event?: React.SyntheticEvent) => void;
|
|
40
40
|
container?: HTMLElement | (() => HTMLElement);
|
|
41
41
|
containerClassName?: string;
|
|
42
42
|
backdropTransitionTimeout?: number;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -20,7 +20,7 @@ export interface OverlayTriggerProps extends Omit<StandardProps, 'children'>, An
|
|
|
20
20
|
containerPadding?: number;
|
|
21
21
|
/** display element */
|
|
22
22
|
speaker: React.ReactElement | ((props: PositionChildProps & Pick<React.HTMLAttributes<HTMLElement>, 'id' | 'onMouseEnter' | 'onMouseLeave'> & {
|
|
23
|
-
onClose
|
|
23
|
+
onClose?: (delay?: number) => NodeJS.Timeout | void;
|
|
24
24
|
}, ref: React.RefCallback<HTMLElement>) => React.ReactElement);
|
|
25
25
|
/** Prevent floating element overflow */
|
|
26
26
|
preventOverflow?: boolean;
|
|
@@ -42,6 +42,9 @@ export interface OverlayTriggerProps extends Omit<StandardProps, 'children'>, An
|
|
|
42
42
|
readOnly?: boolean;
|
|
43
43
|
/** Set the `id` on `<Overlay>` and `aria-describedby` on `<OverlayTrigger>` */
|
|
44
44
|
controlId?: string;
|
|
45
|
+
/** Whether speaker to follow the cursor */
|
|
46
|
+
followCursor?: boolean;
|
|
47
|
+
overlayAs?: React.ElementType;
|
|
45
48
|
/** Lose Focus callback function */
|
|
46
49
|
onBlur?: React.FocusEventHandler;
|
|
47
50
|
/** Click on the callback function */
|
|
@@ -60,8 +63,6 @@ export interface OverlayTriggerProps extends Omit<StandardProps, 'children'>, An
|
|
|
60
63
|
onOpen?: () => void;
|
|
61
64
|
/** Callback fired when close component */
|
|
62
65
|
onClose?: (cause?: OverlayCloseCause) => void;
|
|
63
|
-
/** Whether speaker to follow the cursor */
|
|
64
|
-
followCursor?: boolean;
|
|
65
66
|
}
|
|
66
67
|
/**
|
|
67
68
|
* The reason that triggers closing of an overlay
|
|
@@ -9,7 +9,7 @@ import Overlay from "./Overlay.js";
|
|
|
9
9
|
import { useOverlay } from "./OverlayProvider.js";
|
|
10
10
|
import { usePortal, useControlled } from "../hooks/index.js";
|
|
11
11
|
import { createChainedFunction, isOneOf } from "../utils/index.js";
|
|
12
|
-
import { isFragment } from "../utils/
|
|
12
|
+
import { isFragment } from "../utils/index.js";
|
|
13
13
|
function mergeEvents(events, props) {
|
|
14
14
|
if (events === void 0) {
|
|
15
15
|
events = {};
|
|
@@ -79,6 +79,7 @@ const OverlayTrigger = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
79
79
|
placement = 'bottomStart',
|
|
80
80
|
speaker,
|
|
81
81
|
rootClose = true,
|
|
82
|
+
overlayAs: OverlayComponent,
|
|
82
83
|
onClick,
|
|
83
84
|
onMouseOver,
|
|
84
85
|
onMouseMove,
|
|
@@ -364,7 +365,12 @@ const OverlayTrigger = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
364
365
|
...mergeEvents(triggerEvents, childElement.props)
|
|
365
366
|
});
|
|
366
367
|
}, [children, controlId, triggerEvents]);
|
|
367
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, triggerElement, /*#__PURE__*/React.createElement(
|
|
368
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, triggerElement, OverlayComponent ? /*#__PURE__*/React.createElement(OverlayComponent, {
|
|
369
|
+
open: open,
|
|
370
|
+
onClose: handleClose,
|
|
371
|
+
placement: "bottom",
|
|
372
|
+
speaker: speaker
|
|
373
|
+
}) : /*#__PURE__*/React.createElement(Portal, null, renderOverlay()));
|
|
368
374
|
});
|
|
369
375
|
OverlayTrigger.displayName = 'OverlayTrigger';
|
|
370
376
|
export default OverlayTrigger;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -17,7 +17,7 @@ import Highlight from "../../Highlight/index.js";
|
|
|
17
17
|
import { List, AutoSizer, VariableSizeList } from "../Windowing/index.js";
|
|
18
18
|
import { RSUITE_PICKER_GROUP_KEY } from "../symbols.js";
|
|
19
19
|
import { useStyles, useMount, useEventCallback } from "../hooks/index.js";
|
|
20
|
-
import { shallowEqual, mergeRefs } from "../utils/index.js";
|
|
20
|
+
import { shallowEqual, mergeRefs, mergeStyles, getCssValue } from "../utils/index.js";
|
|
21
21
|
import { KEY_GROUP_TITLE } from "../utils/getDataGroupBy.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -57,13 +57,12 @@ const Listbox = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
57
57
|
...rest
|
|
58
58
|
} = props;
|
|
59
59
|
const {
|
|
60
|
-
withPrefix,
|
|
61
60
|
prefix,
|
|
62
61
|
merge,
|
|
63
62
|
rootPrefix
|
|
64
63
|
} = useStyles(classPrefix);
|
|
65
64
|
const groupable = typeof groupBy !== 'undefined';
|
|
66
|
-
const classes = merge(className,
|
|
65
|
+
const classes = merge(className, rootPrefix('picker-listbox'), prefix('items', {
|
|
67
66
|
grouped: groupable
|
|
68
67
|
}));
|
|
69
68
|
const {
|
|
@@ -185,19 +184,18 @@ const Listbox = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
185
184
|
const itemIndex = findIndex(filteredItems, item => item[valueKey] === (activeItemValues === null || activeItemValues === void 0 ? void 0 : activeItemValues[0]));
|
|
186
185
|
(_listRef$current = listRef.current) === null || _listRef$current === void 0 || (_listRef$current$scro = _listRef$current.scrollToItem) === null || _listRef$current$scro === void 0 || _listRef$current$scro.call(_listRef$current, itemIndex);
|
|
187
186
|
});
|
|
187
|
+
const styles = mergeStyles(style, {
|
|
188
|
+
'--rs-picker-listbox-max-height': getCssValue(maxHeight)
|
|
189
|
+
});
|
|
188
190
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
189
191
|
role: "listbox",
|
|
190
192
|
id: `${id}-${popupType}`,
|
|
191
193
|
"aria-labelledby": labelId,
|
|
192
|
-
"aria-multiselectable": multiple
|
|
193
|
-
}, rest, {
|
|
194
|
+
"aria-multiselectable": multiple,
|
|
194
195
|
className: classes,
|
|
195
196
|
ref: mergeRefs(menuBodyContainerRef, ref),
|
|
196
|
-
style:
|
|
197
|
-
|
|
198
|
-
maxHeight
|
|
199
|
-
}
|
|
200
|
-
}), virtualized ? /*#__PURE__*/React.createElement(AutoSizer, {
|
|
197
|
+
style: styles
|
|
198
|
+
}, rest), virtualized ? /*#__PURE__*/React.createElement(AutoSizer, {
|
|
201
199
|
defaultHeight: maxHeight,
|
|
202
200
|
style: {
|
|
203
201
|
width: 'auto',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawerProps } from '../../Drawer';
|
|
3
|
+
import type { OverlayTriggerProps } from '../Overlay/OverlayTrigger';
|
|
4
|
+
export interface PickerDrawerProps extends DrawerProps {
|
|
5
|
+
speaker: OverlayTriggerProps['speaker'];
|
|
6
|
+
}
|
|
7
|
+
export declare const PickerDrawer: React.ForwardRefExoticComponent<PickerDrawerProps & React.RefAttributes<any>>;
|
|
8
|
+
export default PickerDrawer;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Drawer from "../../Drawer/index.js";
|
|
5
|
+
const speakerRef = () => {
|
|
6
|
+
// This is just a no-op callback to satisfy the type requirements
|
|
7
|
+
};
|
|
8
|
+
export const PickerDrawer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
9
|
+
const {
|
|
10
|
+
placement = 'bottom',
|
|
11
|
+
speaker,
|
|
12
|
+
onClose,
|
|
13
|
+
open,
|
|
14
|
+
...rest
|
|
15
|
+
} = props;
|
|
16
|
+
return /*#__PURE__*/React.createElement(Drawer, _extends({
|
|
17
|
+
placement: placement,
|
|
18
|
+
onClose: onClose,
|
|
19
|
+
open: open,
|
|
20
|
+
ref: ref
|
|
21
|
+
}, rest), typeof speaker === 'function' ? speaker({
|
|
22
|
+
placement
|
|
23
|
+
}, speakerRef) : speaker);
|
|
24
|
+
});
|
|
25
|
+
PickerDrawer.displayName = 'PickerDrawer';
|
|
26
|
+
export default PickerDrawer;
|
|
File without changes
|
|
@@ -11,7 +11,8 @@ import { useCombobox } from "./index.js";
|
|
|
11
11
|
const resizePlacement = ['topStart', 'topEnd', 'leftEnd', 'rightEnd', 'auto', 'autoVerticalStart', 'autoVerticalEnd', 'autoHorizontalEnd'];
|
|
12
12
|
const PickerPopup = forwardRef((props, ref) => {
|
|
13
13
|
const {
|
|
14
|
-
placement
|
|
14
|
+
placement,
|
|
15
|
+
breakpoint
|
|
15
16
|
} = useCombobox();
|
|
16
17
|
const {
|
|
17
18
|
as: Component = 'div',
|
|
@@ -38,7 +39,7 @@ const PickerPopup = forwardRef((props, ref) => {
|
|
|
38
39
|
// Get the width of the button and set it to the menu to make them consistent
|
|
39
40
|
const width = getWidth(getDOMNode(toggle.root));
|
|
40
41
|
if (overlayRef.current) {
|
|
41
|
-
addStyle(overlayRef.current, 'min-width', `${width}px`);
|
|
42
|
+
addStyle(overlayRef.current, '--rs-picker-min-width', `${width}px`);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
}, [autoWidth, target, overlayRef]);
|
|
@@ -50,7 +51,8 @@ const PickerPopup = forwardRef((props, ref) => {
|
|
|
50
51
|
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
51
52
|
"data-testid": "picker-popup",
|
|
52
53
|
ref: mergeRefs(overlayRef, ref),
|
|
53
|
-
className: classes
|
|
54
|
+
className: classes,
|
|
55
|
+
"data-breakpoint": breakpoint
|
|
54
56
|
}, rest));
|
|
55
57
|
});
|
|
56
58
|
PickerPopup.displayName = 'PickerPopup';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
+
import _omit from "lodash/omit";
|
|
3
4
|
import React, { useRef, useMemo } from 'react';
|
|
4
5
|
import ToggleButton from "./ToggleButton.js";
|
|
5
6
|
import PickerIndicator from "./PickerIndicator.js";
|
|
@@ -9,6 +10,7 @@ import Stack from "../../Stack/index.js";
|
|
|
9
10
|
import useCombobox from "./hooks/useCombobox.js";
|
|
10
11
|
import { useStyles, useEventCallback, useToggleCaret } from "../hooks/index.js";
|
|
11
12
|
import { forwardRef, mergeRefs } from "../utils/index.js";
|
|
13
|
+
import { triggerPropKeys } from "./PickerToggleTrigger.js";
|
|
12
14
|
const PickerToggle = forwardRef((props, ref) => {
|
|
13
15
|
const {
|
|
14
16
|
active,
|
|
@@ -23,6 +25,7 @@ const PickerToggle = forwardRef((props, ref) => {
|
|
|
23
25
|
hasValue,
|
|
24
26
|
loading = false,
|
|
25
27
|
cleanable,
|
|
28
|
+
countable,
|
|
26
29
|
tabIndex = 0,
|
|
27
30
|
inputValue: inputValueProp,
|
|
28
31
|
focusItemValue,
|
|
@@ -82,13 +85,17 @@ const PickerToggle = forwardRef((props, ref) => {
|
|
|
82
85
|
"aria-controls": id ? `${id}-${popupType}` : undefined,
|
|
83
86
|
"aria-labelledby": labelId,
|
|
84
87
|
"aria-describedby": id ? `${id}-describe` : undefined,
|
|
85
|
-
"aria-activedescendant": active && focusItemValue ? `${id}-opt-${focusItemValue}` : undefined
|
|
86
|
-
|
|
88
|
+
"aria-activedescendant": active && focusItemValue ? `${id}-opt-${focusItemValue}` : undefined,
|
|
89
|
+
"data-has-value": hasValue,
|
|
90
|
+
"data-cleanable": cleanable,
|
|
91
|
+
"data-countable": countable,
|
|
92
|
+
"data-size": size,
|
|
93
|
+
"data-readonly": readOnly,
|
|
87
94
|
ref: mergeRefs(combobox, ref),
|
|
88
95
|
disabled: disabled,
|
|
89
96
|
tabIndex: disabled ? undefined : tabIndex,
|
|
90
97
|
className: classes
|
|
91
|
-
}), /*#__PURE__*/React.createElement(Stack, {
|
|
98
|
+
}, _omit(rest, triggerPropKeys)), /*#__PURE__*/React.createElement(Stack, {
|
|
92
99
|
className: prefix('stack')
|
|
93
100
|
}, label && /*#__PURE__*/React.createElement(Stack.Item, null, /*#__PURE__*/React.createElement(PickerLabel, {
|
|
94
101
|
as: "span",
|
|
@@ -1,30 +1,70 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OverlayTriggerProps, OverlayTriggerType } from '../Overlay/OverlayTrigger';
|
|
3
|
-
import type { Placement, AnimationEventProps } from '../types';
|
|
4
|
-
export interface PickerToggleTriggerProps
|
|
3
|
+
import type { Placement, Size, AnimationEventProps } from '../types';
|
|
4
|
+
export interface PickerToggleTriggerProps
|
|
5
|
+
/**
|
|
6
|
+
* Interface representing the properties for the PickerToggleTrigger component.
|
|
7
|
+
* Extends AnimationEventProps and OverlayTriggerProps with specific pick/omit logic.
|
|
8
|
+
*/
|
|
9
|
+
extends Omit<AnimationEventProps, 'onEntering' | 'onExiting'>, Pick<OverlayTriggerProps, 'onClose' | 'onOpen' | 'speaker'> {
|
|
10
|
+
/** Appearance style for the component, default or subtle */
|
|
11
|
+
appearance?: 'default' | 'subtle';
|
|
12
|
+
/** Element type to render as */
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
/** If true, the component will occupy the full width of its container */
|
|
15
|
+
block?: boolean;
|
|
16
|
+
/** The child element to be rendered */
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
/** Custom class name */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Custom class prefix */
|
|
21
|
+
classPrefix?: string;
|
|
22
|
+
/** Disable the component */
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/** Unique identifier */
|
|
5
25
|
id?: string;
|
|
26
|
+
/** If true, multiple selection is allowed */
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
/** Name attribute for the component */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** Controls the open state of the picker */
|
|
31
|
+
open?: boolean;
|
|
32
|
+
/** Additional properties for the picker */
|
|
33
|
+
triggerProps: any;
|
|
34
|
+
/** Placement of the component */
|
|
35
|
+
placement?: Placement;
|
|
6
36
|
/**
|
|
7
|
-
* Identifies the combobox
|
|
37
|
+
* Identifies the combobox as having a popout, and indicates the type.
|
|
8
38
|
*
|
|
9
39
|
* @see MDN https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-haspopup
|
|
10
40
|
*/
|
|
11
41
|
popupType?: 'listbox' | 'tree' | 'grid' | 'dialog' | 'menu';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
42
|
+
/** Reference to the root element */
|
|
43
|
+
rootRef?: React.Ref<any>;
|
|
44
|
+
/** Custom styles */
|
|
45
|
+
style?: React.CSSProperties;
|
|
46
|
+
/** Trigger type for the overlay */
|
|
16
47
|
trigger?: OverlayTriggerType | OverlayTriggerType[];
|
|
17
|
-
|
|
48
|
+
/** Size of the component */
|
|
49
|
+
size?: Size;
|
|
50
|
+
/** Whether the component should be responsive */
|
|
51
|
+
responsive?: boolean;
|
|
52
|
+
/** Handler for keydown events */
|
|
53
|
+
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
54
|
+
/** Handler for click events */
|
|
55
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
18
56
|
}
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
57
|
+
export declare const overlayPropKeys: string[];
|
|
58
|
+
export declare const pickerCommonPropKeys: string[];
|
|
59
|
+
export declare const triggerPropKeys: string[];
|
|
21
60
|
export interface ComboboxContextProps {
|
|
22
61
|
id?: string;
|
|
23
62
|
multiple?: boolean;
|
|
24
63
|
hasLabel?: boolean;
|
|
25
64
|
placement?: Placement;
|
|
65
|
+
breakpoint?: string;
|
|
26
66
|
popupType?: 'listbox' | 'tree' | 'grid' | 'dialog' | 'menu';
|
|
27
67
|
}
|
|
28
68
|
export declare const ComboboxContext: React.Context<ComboboxContextProps>;
|
|
29
|
-
declare const PickerToggleTrigger: React.ForwardRefExoticComponent<PickerToggleTriggerProps & React.RefAttributes<any>>;
|
|
69
|
+
export declare const PickerToggleTrigger: React.ForwardRefExoticComponent<PickerToggleTriggerProps & React.RefAttributes<any>>;
|
|
30
70
|
export default PickerToggleTrigger;
|