rsuite 6.0.0-canary-20250103 → 6.0.0-canary-2025011413
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 +0 -0
- package/Accordion/styles/index.less +0 -0
- package/Animation/styles/bounce.less +0 -0
- package/Animation/styles/collapse.less +0 -0
- package/Animation/styles/fade.less +0 -0
- package/Animation/styles/index.css +0 -0
- package/Animation/styles/index.less +0 -0
- package/Animation/styles/slide.less +0 -0
- package/Animation/styles/variables.less +0 -0
- package/AutoComplete/styles/index.css +20 -0
- package/AutoComplete/styles/index.less +0 -0
- package/Avatar/styles/index.css +0 -0
- package/Avatar/styles/index.less +0 -0
- package/Avatar/styles/mixin.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/ButtonToolbar/styles/index.css +0 -0
- package/ButtonToolbar/styles/index.less +0 -0
- package/CHANGELOG.md +11 -0
- 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/CascadeTree/styles/index.css +0 -0
- package/CascadeTree/styles/index.less +0 -0
- package/CascadeTree/styles/search.less +0 -0
- package/Cascader/styles/index.css +20 -0
- package/Cascader/styles/index.less +0 -0
- package/CheckPicker/styles/index.css +20 -0
- package/CheckPicker/styles/index.less +0 -0
- package/CheckTree/styles/index.css +20 -0
- package/CheckTree/styles/index.less +0 -0
- package/CheckTreePicker/styles/index.css +20 -0
- 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/Container/stories/styles.less +0 -0
- package/DateInput/styles/index.css +0 -0
- package/DateInput/styles/index.less +0 -0
- package/DatePicker/styles/index.css +20 -0
- package/DatePicker/styles/index.less +0 -0
- package/DateRangeInput/styles/index.css +0 -0
- package/DateRangeInput/styles/index.less +0 -0
- package/DateRangePicker/styles/index.css +20 -0
- package/DateRangePicker/styles/index.less +0 -0
- 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/stories/styles.less +0 -0
- package/FormGroup/styles/index.css +0 -0
- package/FormGroup/styles/index.less +0 -0
- package/Grid/stories/styles.less +0 -0
- package/Grid/styles/index.css +0 -0
- package/Grid/styles/index.less +0 -0
- package/Heading/styles/index.css +0 -0
- package/Heading/styles/index.less +0 -0
- package/HeadingGroup/styles/index.css +0 -0
- package/HeadingGroup/styles/index.less +0 -0
- package/Highlight/styles/index.css +0 -0
- package/Highlight/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/InputGroup/styles/index.css +0 -0
- package/InputGroup/styles/index.less +0 -0
- package/InputNumber/styles/mixin.less +0 -0
- package/InputPicker/styles/index.css +20 -0
- package/InputPicker/styles/index.less +0 -0
- package/InputPicker/styles/mixin.less +0 -0
- package/LICENSE +0 -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/Message/styles/index.css +0 -0
- package/Message/styles/index.less +0 -0
- package/Message/styles/mixin.less +0 -0
- package/Modal/styles/index.css +0 -0
- package/Modal/styles/index.less +0 -0
- package/MultiCascadeTree/styles/index.css +20 -0
- package/MultiCascadeTree/styles/index.less +0 -0
- package/MultiCascader/styles/index.css +20 -0
- package/MultiCascader/styles/index.less +0 -0
- package/Nav/styles/index.css +0 -0
- package/Nav/styles/index.less +0 -0
- package/Navbar/styles/index.css +37 -26
- package/Navbar/styles/index.less +37 -18
- package/NavbarContent/package.json +7 -0
- package/NavbarDrawer/package.json +7 -0
- package/NavbarToggle/package.json +7 -0
- package/Notification/styles/index.css +0 -0
- package/Notification/styles/index.less +0 -0
- package/Pagination/styles/index.css +20 -0
- 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/Placeholder/styles/index.css +0 -0
- package/Placeholder/styles/index.less +0 -0
- package/Placeholder/styles/mixin.less +0 -0
- package/Popover/styles/index.css +0 -0
- package/Popover/styles/index.less +0 -0
- package/Progress/styles/index.css +0 -0
- package/Progress/styles/index.less +0 -0
- package/Radio/styles/index.css +0 -0
- package/Radio/styles/index.less +0 -0
- package/RadioGroup/styles/index.css +0 -0
- package/RadioGroup/styles/index.less +0 -0
- package/RadioTile/styles/index.css +0 -0
- package/RadioTile/styles/index.less +0 -0
- package/RadioTileGroup/styles/index.css +0 -0
- package/RadioTileGroup/styles/index.less +0 -0
- package/RangeSlider/styles/index.css +0 -0
- package/RangeSlider/styles/index.less +0 -0
- package/SelectPicker/styles/index.css +20 -0
- package/Slider/styles/index.css +0 -0
- package/Slider/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 +0 -0
- package/Tabs/styles/index.less +0 -0
- package/TagGroup/styles/index.css +0 -0
- package/TagGroup/styles/index.less +0 -0
- package/TagInput/styles/index.css +20 -0
- package/TagInput/styles/index.less +0 -0
- package/TagPicker/styles/index.css +20 -0
- package/TagPicker/styles/index.less +0 -0
- package/TagPicker/styles/mixin.less +0 -0
- package/Text/styles/index.css +17 -9
- package/Text/styles/index.less +6 -2
- package/TimePicker/styles/index.css +20 -0
- package/TimePicker/styles/index.less +0 -0
- package/TimeRangePicker/styles/index.css +20 -0
- package/TimeRangePicker/styles/index.less +0 -0
- package/Timeline/stories/styles.less +0 -0
- package/Toggle/styles/index.css +0 -0
- package/Toggle/styles/index.less +0 -0
- package/Toggle/styles/mixin.less +0 -0
- package/Tree/styles/indent-line.less +0 -0
- package/Tree/styles/index.css +20 -0
- package/Tree/styles/toggle.less +0 -0
- package/TreePicker/styles/index.css +20 -0
- package/TreePicker/styles/index.less +0 -0
- package/Uploader/styles/index.css +0 -0
- package/Uploader/styles/index.less +0 -0
- package/VisuallyHidden/styles/index.css +0 -0
- package/VisuallyHidden/styles/index.less +0 -0
- package/cjs/Accordion/Accordion.d.ts +3 -6
- package/cjs/Accordion/Accordion.js +7 -3
- package/cjs/Accordion/AccordionPanel.d.ts +2 -1
- package/cjs/Accordion/index.d.ts +3 -0
- package/cjs/Accordion/index.js +5 -0
- package/cjs/Affix/Affix.d.ts +2 -2
- package/cjs/Affix/Affix.js +1 -1
- package/cjs/Affix/index.d.ts +2 -2
- package/cjs/Affix/index.js +1 -0
- package/cjs/Animation/Bounce.js +0 -0
- package/cjs/Animation/Fade.js +0 -0
- package/cjs/Animation/Slide.js +0 -0
- package/cjs/Animation/index.d.ts +14 -13
- package/cjs/Animation/index.js +10 -2
- package/cjs/AutoComplete/AutoComplete.d.ts +3 -4
- package/cjs/AutoComplete/AutoComplete.js +3 -3
- package/cjs/AutoComplete/Combobox.d.ts +2 -3
- package/cjs/AutoComplete/Combobox.js +4 -2
- package/cjs/AutoComplete/index.d.ts +1 -0
- package/cjs/AutoComplete/index.js +3 -0
- package/cjs/AutoComplete/utils.js +0 -0
- package/cjs/Avatar/Avatar.d.ts +3 -3
- package/cjs/Avatar/Avatar.js +4 -3
- package/cjs/Avatar/AvatarIcon.js +0 -0
- package/cjs/Avatar/index.d.ts +1 -0
- package/cjs/Avatar/index.js +3 -0
- package/cjs/Avatar/useImage.js +0 -0
- package/cjs/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/cjs/AvatarGroup/AvatarGroup.js +1 -1
- package/cjs/AvatarGroup/index.d.ts +1 -0
- package/cjs/AvatarGroup/index.js +3 -0
- package/cjs/Badge/Badge.d.ts +2 -2
- package/cjs/Badge/Badge.js +2 -2
- package/cjs/Badge/index.d.ts +1 -0
- package/cjs/Badge/index.js +3 -0
- package/cjs/Breadcrumb/Breadcrumb.d.ts +5 -7
- package/cjs/Breadcrumb/Breadcrumb.js +6 -4
- package/cjs/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/cjs/Breadcrumb/BreadcrumbItem.js +2 -1
- package/cjs/Breadcrumb/index.d.ts +2 -0
- package/cjs/Breadcrumb/index.js +5 -0
- package/cjs/Button/Button.d.ts +5 -5
- package/cjs/Button/Button.js +1 -1
- package/cjs/Button/index.d.ts +1 -0
- package/cjs/Button/index.js +3 -0
- package/cjs/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/cjs/ButtonGroup/ButtonGroup.js +3 -2
- package/cjs/ButtonGroup/ButtonGroupContext.d.ts +2 -2
- package/cjs/ButtonGroup/index.d.ts +1 -1
- package/cjs/ButtonGroup/index.js +3 -0
- package/cjs/ButtonToolbar/ButtonToolbar.d.ts +5 -3
- package/cjs/ButtonToolbar/ButtonToolbar.js +3 -2
- package/cjs/ButtonToolbar/index.d.ts +1 -0
- package/cjs/ButtonToolbar/index.js +3 -0
- package/cjs/Calendar/Calendar.d.ts +2 -3
- package/cjs/Calendar/Calendar.js +2 -1
- package/cjs/Calendar/CalendarBody.d.ts +2 -2
- package/cjs/Calendar/CalendarBody.js +2 -1
- package/cjs/Calendar/CalendarContainer.d.ts +2 -2
- package/cjs/Calendar/CalendarContainer.js +3 -2
- package/cjs/Calendar/CalendarHeader.d.ts +2 -2
- package/cjs/Calendar/CalendarHeader.js +2 -1
- package/cjs/Calendar/CalendarProvider.js +0 -0
- package/cjs/Calendar/Grid/Grid.d.ts +2 -2
- package/cjs/Calendar/Grid/Grid.js +2 -1
- package/cjs/Calendar/Grid/GridCell.d.ts +2 -2
- package/cjs/Calendar/Grid/GridCell.js +4 -3
- package/cjs/Calendar/Grid/GridHeaderRow.d.ts +2 -2
- package/cjs/Calendar/Grid/GridHeaderRow.js +2 -1
- package/cjs/Calendar/Grid/GridRow.d.ts +2 -2
- package/cjs/Calendar/Grid/GridRow.js +3 -2
- package/cjs/Calendar/Grid/index.js +0 -0
- package/cjs/Calendar/MonthDropdown/MonthDropdown.d.ts +2 -2
- package/cjs/Calendar/MonthDropdown/MonthDropdown.js +4 -3
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.d.ts +2 -2
- package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +2 -2
- package/cjs/Calendar/MonthDropdown/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/TimeColumn.js +0 -0
- package/cjs/Calendar/TimeDropdown/TimeDropdown.d.ts +2 -2
- package/cjs/Calendar/TimeDropdown/TimeDropdown.js +9 -8
- package/cjs/Calendar/TimeDropdown/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/getClockTime.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/getTimeLimits.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/index.js +0 -0
- package/cjs/Calendar/TimeDropdown/utils/scrollToTime.js +0 -0
- package/cjs/Calendar/hooks/index.js +0 -0
- package/cjs/Calendar/hooks/useCalendar.js +0 -0
- package/cjs/Calendar/hooks/useCalendarDate.js +0 -0
- package/cjs/Calendar/hooks/useCalendarState.js +0 -0
- package/cjs/Calendar/index.d.ts +2 -3
- package/cjs/Calendar/index.js +3 -4
- package/cjs/Calendar/types.js +0 -0
- package/cjs/Calendar/utils/getAriaLabel.js +0 -0
- package/cjs/Calendar/utils/index.js +0 -0
- package/cjs/Calendar/utils/isEveryDateInMonth.js +0 -0
- package/cjs/Card/Card.d.ts +15 -10
- package/cjs/Card/Card.js +8 -5
- package/cjs/Card/CardBody.d.ts +4 -1
- package/cjs/Card/CardBody.js +0 -0
- package/cjs/Card/CardFooter.d.ts +4 -1
- package/cjs/Card/CardFooter.js +0 -0
- package/cjs/Card/CardHeader.d.ts +4 -1
- package/cjs/Card/CardHeader.js +0 -0
- package/cjs/Card/index.d.ts +4 -0
- package/cjs/Card/index.js +9 -0
- package/cjs/CardGroup/CardGroup.d.ts +2 -2
- package/cjs/CardGroup/CardGroup.js +1 -1
- package/cjs/CardGroup/index.d.ts +1 -0
- package/cjs/CardGroup/index.js +3 -0
- package/cjs/Carousel/Carousel.d.ts +2 -2
- package/cjs/Carousel/Carousel.js +1 -1
- package/cjs/Carousel/index.d.ts +1 -0
- package/cjs/Carousel/index.js +3 -0
- package/cjs/CascadeTree/CascadeTree.d.ts +2 -4
- package/cjs/CascadeTree/CascadeTree.js +6 -5
- package/cjs/CascadeTree/SearchView.js +0 -0
- package/cjs/CascadeTree/TreeView.d.ts +2 -2
- package/cjs/CascadeTree/TreeView.js +1 -1
- package/cjs/CascadeTree/hooks/index.js +0 -0
- package/cjs/CascadeTree/hooks/usePaths.js +0 -0
- package/cjs/CascadeTree/hooks/useSearch.js +0 -0
- package/cjs/CascadeTree/hooks/useSelect.js +0 -0
- package/cjs/CascadeTree/index.d.ts +1 -1
- package/cjs/CascadeTree/index.js +3 -0
- package/cjs/CascadeTree/types.js +0 -0
- package/cjs/Cascader/Cascader.d.ts +2 -4
- package/cjs/Cascader/Cascader.js +1 -2
- package/cjs/Cascader/index.d.ts +1 -0
- package/cjs/Cascader/index.js +3 -0
- package/cjs/Cascader/useActive.js +0 -0
- package/cjs/CheckPicker/CheckPicker.d.ts +5 -7
- package/cjs/CheckPicker/CheckPicker.js +3 -3
- package/cjs/CheckPicker/index.d.ts +1 -0
- package/cjs/CheckPicker/index.js +3 -0
- package/cjs/CheckTree/CheckTree.d.ts +1 -2
- package/cjs/CheckTree/CheckTree.js +3 -2
- package/cjs/CheckTree/CheckTreeNode.d.ts +2 -2
- package/cjs/CheckTree/CheckTreeNode.js +2 -2
- package/cjs/CheckTree/CheckTreeView.d.ts +3 -3
- package/cjs/CheckTree/CheckTreeView.js +15 -14
- package/cjs/CheckTree/hooks/useTreeCheckState.js +0 -0
- package/cjs/CheckTree/hooks/useTreeNodeProps.js +0 -0
- package/cjs/CheckTree/hooks/useTreeValue.js +0 -0
- package/cjs/CheckTree/index.d.ts +3 -1
- package/cjs/CheckTree/index.js +3 -0
- package/cjs/CheckTree/utils.js +0 -0
- package/cjs/CheckTreePicker/CheckTreePicker.d.ts +3 -3
- package/cjs/CheckTreePicker/CheckTreePicker.js +13 -13
- package/cjs/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/cjs/CheckTreePicker/index.d.ts +2 -1
- package/cjs/CheckTreePicker/index.js +3 -0
- package/cjs/Checkbox/Checkbox.d.ts +4 -5
- package/cjs/Checkbox/Checkbox.js +1 -1
- package/cjs/Checkbox/index.d.ts +2 -1
- package/cjs/Checkbox/index.js +3 -0
- package/cjs/CheckboxGroup/CheckboxGroup.d.ts +3 -4
- package/cjs/CheckboxGroup/CheckboxGroup.js +2 -2
- package/cjs/CheckboxGroup/CheckboxGroupContext.d.ts +1 -2
- package/cjs/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/cjs/CheckboxGroup/index.d.ts +2 -1
- package/cjs/CheckboxGroup/index.js +3 -0
- package/cjs/Col/Col.d.ts +2 -2
- package/cjs/Col/Col.js +2 -1
- package/cjs/Col/index.d.ts +1 -0
- package/cjs/Col/index.js +3 -0
- package/cjs/Container/Container.d.ts +2 -2
- package/cjs/Container/Container.js +2 -1
- package/cjs/Container/index.d.ts +1 -0
- package/cjs/Container/index.js +3 -0
- package/cjs/Content/Content.d.ts +4 -1
- package/cjs/Content/Content.js +0 -0
- package/cjs/Content/index.d.ts +1 -0
- package/cjs/Content/index.js +3 -0
- package/cjs/CustomProvider/FormattedDate.js +0 -0
- package/cjs/CustomProvider/FormattedNumber.js +0 -0
- package/cjs/CustomProvider/index.d.ts +4 -3
- package/cjs/CustomProvider/index.js +6 -2
- package/cjs/CustomProvider/types.js +0 -0
- package/cjs/DOMHelper/index.d.ts +1 -1
- package/cjs/DOMHelper/index.js +5 -3
- package/cjs/DateInput/DateInput.d.ts +2 -3
- package/cjs/DateInput/DateInput.js +6 -6
- package/cjs/DateInput/hooks/useFieldCursor.js +0 -0
- package/cjs/DateInput/hooks/useIsFocused.js +0 -0
- package/cjs/DateInput/hooks/useSelectedState.js +0 -0
- package/cjs/DateInput/index.d.ts +2 -1
- package/cjs/DateInput/index.js +7 -1
- package/cjs/DatePicker/DatePicker.d.ts +5 -5
- package/cjs/DatePicker/DatePicker.js +3 -3
- package/cjs/DatePicker/PredefinedRanges.d.ts +4 -3
- package/cjs/DatePicker/Toolbar.d.ts +0 -1
- package/cjs/DatePicker/Toolbar.js +1 -1
- package/cjs/DatePicker/hooks/useCustomizedInput.d.ts +1 -1
- package/cjs/DatePicker/hooks/useCustomizedInput.js +0 -0
- package/cjs/DatePicker/hooks/useMonthView.js +0 -0
- package/cjs/DatePicker/index.d.ts +1 -1
- package/cjs/DatePicker/index.js +3 -0
- package/cjs/DatePicker/types.d.ts +2 -8
- package/cjs/DatePicker/utils.d.ts +6 -5
- package/cjs/DateRangeInput/DateRangeInput.d.ts +1 -1
- package/cjs/DateRangeInput/index.d.ts +1 -0
- package/cjs/DateRangeInput/index.js +3 -0
- package/cjs/DateRangeInput/utils.js +0 -0
- package/cjs/DateRangePicker/Calendar.d.ts +2 -2
- package/cjs/DateRangePicker/Calendar.js +2 -1
- package/cjs/DateRangePicker/DateRangePicker.d.ts +6 -23
- package/cjs/DateRangePicker/DateRangePicker.js +5 -4
- package/cjs/DateRangePicker/DateRangePickerProvider.js +0 -0
- package/cjs/DateRangePicker/Header.js +0 -0
- package/cjs/DateRangePicker/disabledDateUtils.js +0 -0
- package/cjs/DateRangePicker/hooks/index.js +0 -0
- package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +0 -0
- package/cjs/DateRangePicker/hooks/useDateDisabled.js +0 -0
- package/cjs/DateRangePicker/hooks/useDateRangePicker.js +0 -0
- package/cjs/DateRangePicker/index.d.ts +4 -2
- package/cjs/DateRangePicker/index.js +13 -5
- package/cjs/DateRangePicker/types.d.ts +0 -7
- package/cjs/DateRangePicker/utils.js +0 -0
- package/cjs/Divider/Divider.d.ts +2 -2
- package/cjs/Divider/Divider.js +2 -1
- package/cjs/Divider/index.d.ts +1 -0
- package/cjs/Divider/index.js +3 -0
- package/cjs/Drawer/Drawer.d.ts +13 -17
- package/cjs/Drawer/Drawer.js +16 -15
- package/cjs/Drawer/DrawerActions.d.ts +3 -1
- package/cjs/Drawer/DrawerActions.js +0 -0
- package/cjs/Drawer/DrawerBody.d.ts +2 -2
- package/cjs/Drawer/DrawerBody.js +3 -1
- package/cjs/Drawer/DrawerFooter.d.ts +2 -2
- package/cjs/Drawer/DrawerFooter.js +3 -1
- package/cjs/Drawer/DrawerHeader.d.ts +2 -2
- package/cjs/Drawer/DrawerHeader.js +3 -1
- package/cjs/Drawer/DrawerTitle.d.ts +2 -2
- package/cjs/Drawer/DrawerTitle.js +3 -1
- package/cjs/Drawer/index.d.ts +11 -0
- package/cjs/Drawer/index.js +13 -0
- package/cjs/Dropdown/Dropdown.d.ts +4 -4
- package/cjs/Dropdown/Dropdown.js +12 -10
- package/cjs/Dropdown/DropdownItem.d.ts +3 -3
- package/cjs/Dropdown/DropdownItem.js +5 -5
- package/cjs/Dropdown/DropdownSeparator.d.ts +2 -2
- package/cjs/Dropdown/DropdownSeparator.js +2 -1
- package/cjs/Dropdown/DropdownToggle.d.ts +2 -3
- package/cjs/Dropdown/DropdownToggle.js +2 -1
- package/cjs/Dropdown/index.d.ts +7 -0
- package/cjs/Dropdown/index.js +11 -0
- package/cjs/FlexboxGrid/FlexboxGrid.d.ts +4 -6
- package/cjs/FlexboxGrid/FlexboxGrid.js +7 -3
- package/cjs/FlexboxGrid/FlexboxGridItem.d.ts +2 -2
- package/cjs/FlexboxGrid/FlexboxGridItem.js +2 -1
- package/cjs/FlexboxGrid/index.d.ts +2 -0
- package/cjs/FlexboxGrid/index.js +5 -0
- package/cjs/Footer/Footer.d.ts +4 -1
- package/cjs/Footer/Footer.js +0 -0
- package/cjs/Footer/index.d.ts +1 -0
- package/cjs/Footer/index.js +3 -0
- package/cjs/Form/Form.d.ts +17 -18
- package/cjs/Form/Form.js +14 -11
- package/cjs/Form/FormContext.d.ts +2 -2
- package/cjs/Form/hooks/useFormClassNames.js +0 -0
- package/cjs/Form/hooks/useFormRef.js +0 -0
- package/cjs/Form/hooks/useFormValidate.js +0 -0
- package/cjs/Form/hooks/useFormValue.js +0 -0
- package/cjs/Form/hooks/useSchemaModel.js +0 -0
- package/cjs/Form/index.d.ts +1 -6
- package/cjs/Form/index.js +4 -3
- package/cjs/FormControl/FormControl.d.ts +10 -10
- package/cjs/FormControl/FormControl.js +2 -1
- package/cjs/FormControl/hooks/useField.js +2 -1
- package/cjs/FormControl/hooks/useRegisterModel.js +0 -0
- package/cjs/FormControl/index.d.ts +2 -1
- package/cjs/FormControl/index.js +3 -0
- package/cjs/FormControl/utils.js +0 -0
- package/cjs/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/cjs/FormControlLabel/FormControlLabel.js +3 -2
- package/cjs/FormControlLabel/index.d.ts +1 -0
- package/cjs/FormControlLabel/index.js +3 -0
- package/cjs/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/cjs/FormErrorMessage/FormErrorMessage.js +1 -1
- package/cjs/FormErrorMessage/index.d.ts +1 -0
- package/cjs/FormErrorMessage/index.js +3 -0
- package/cjs/FormGroup/FormGroup.d.ts +2 -2
- package/cjs/FormGroup/FormGroup.js +2 -1
- package/cjs/FormGroup/index.d.ts +1 -0
- package/cjs/FormGroup/index.js +4 -0
- package/cjs/FormHelpText/FormHelpText.d.ts +2 -2
- package/cjs/FormHelpText/FormHelpText.js +2 -1
- package/cjs/FormHelpText/index.d.ts +1 -0
- package/cjs/FormHelpText/index.js +3 -0
- package/cjs/Grid/Grid.d.ts +2 -2
- package/cjs/Grid/Grid.js +2 -1
- package/cjs/Grid/index.d.ts +1 -0
- package/cjs/Grid/index.js +3 -0
- package/cjs/Header/Header.d.ts +4 -1
- package/cjs/Header/Header.js +0 -0
- package/cjs/Header/index.d.ts +1 -0
- package/cjs/Header/index.js +3 -0
- package/cjs/Heading/Heading.d.ts +2 -2
- package/cjs/Heading/Heading.js +2 -1
- package/cjs/Heading/index.d.ts +1 -0
- package/cjs/Heading/index.js +3 -0
- package/cjs/HeadingGroup/HeadingGroup.d.ts +4 -1
- package/cjs/HeadingGroup/HeadingGroup.js +0 -0
- package/cjs/HeadingGroup/index.d.ts +1 -0
- package/cjs/HeadingGroup/index.js +3 -0
- package/cjs/Highlight/Highlight.d.ts +2 -2
- package/cjs/Highlight/Highlight.js +1 -1
- package/cjs/Highlight/index.d.ts +1 -0
- package/cjs/Highlight/index.js +3 -0
- package/cjs/Highlight/utils/highlightText.js +0 -0
- package/cjs/IconButton/IconButton.d.ts +3 -6
- package/cjs/IconButton/IconButton.js +2 -1
- package/cjs/IconButton/index.d.ts +1 -0
- package/cjs/IconButton/index.js +3 -0
- package/cjs/Image/Image.d.ts +2 -2
- package/cjs/Image/Image.js +2 -1
- package/cjs/Image/ImageWrapper.d.ts +4 -1
- package/cjs/Image/ImageWrapper.js +0 -0
- package/cjs/Image/hooks/useImage.js +0 -0
- package/cjs/Image/index.d.ts +1 -0
- package/cjs/Image/index.js +3 -0
- package/cjs/InlineEdit/InlineEdit.d.ts +3 -3
- package/cjs/InlineEdit/InlineEdit.js +3 -3
- package/cjs/InlineEdit/index.d.ts +1 -0
- package/cjs/InlineEdit/index.js +3 -0
- package/cjs/InlineEdit/renderChildren.js +0 -0
- package/cjs/InlineEdit/useEditState.js +0 -0
- package/cjs/InlineEdit/useFocusEvent.js +0 -0
- package/cjs/Input/Input.d.ts +3 -3
- package/cjs/Input/Input.js +3 -3
- package/cjs/Input/index.d.ts +1 -0
- package/cjs/Input/index.js +3 -0
- package/cjs/InputGroup/InputGroup.d.ts +6 -9
- package/cjs/InputGroup/InputGroup.js +8 -4
- package/cjs/InputGroup/InputGroupAddon.d.ts +2 -2
- package/cjs/InputGroup/InputGroupAddon.js +2 -1
- package/cjs/InputGroup/InputGroupButton.d.ts +1 -0
- package/cjs/InputGroup/index.d.ts +5 -0
- package/cjs/InputGroup/index.js +7 -0
- package/cjs/InputNumber/InputNumber.d.ts +7 -4
- package/cjs/InputNumber/InputNumber.js +1 -1
- package/cjs/InputNumber/index.d.ts +1 -0
- package/cjs/InputNumber/index.js +3 -0
- package/cjs/InputPicker/InputPicker.d.ts +2 -2
- package/cjs/InputPicker/InputPicker.js +28 -28
- package/cjs/InputPicker/InputPickerContext.js +0 -0
- package/cjs/InputPicker/InputSearch.d.ts +4 -5
- package/cjs/InputPicker/InputSearch.js +2 -1
- package/cjs/InputPicker/TagList.js +1 -1
- package/cjs/InputPicker/TextBox.js +1 -1
- package/cjs/InputPicker/hooks/useData.js +0 -0
- package/cjs/InputPicker/hooks/useInput.d.ts +4 -11
- package/cjs/InputPicker/index.d.ts +1 -1
- package/cjs/InputPicker/index.js +3 -0
- package/cjs/InputPicker/utils.js +0 -0
- package/cjs/List/List.d.ts +4 -6
- package/cjs/List/List.js +6 -3
- package/cjs/List/ListContext.js +0 -0
- package/cjs/List/ListItem.d.ts +1 -1
- package/cjs/List/ListItem.js +3 -3
- package/cjs/List/helper/useManager.js +0 -0
- package/cjs/List/helper/useSortHelper.js +0 -0
- package/cjs/List/helper/utils.js +0 -0
- package/cjs/List/index.d.ts +2 -0
- package/cjs/List/index.js +5 -0
- package/cjs/Loader/Loader.d.ts +3 -3
- package/cjs/Loader/Loader.js +2 -1
- package/cjs/Loader/index.d.ts +1 -0
- package/cjs/Loader/index.js +3 -0
- package/cjs/MaskedInput/MaskedInput.d.ts +1 -2
- package/cjs/MaskedInput/MaskedInput.js +2 -1
- package/cjs/MaskedInput/TextMask.d.ts +1 -1
- package/cjs/MaskedInput/createTextMaskInputElement.js +0 -0
- package/cjs/MaskedInput/index.d.ts +1 -0
- package/cjs/MaskedInput/index.js +3 -0
- package/cjs/Message/Message.d.ts +3 -3
- package/cjs/Message/Message.js +2 -2
- package/cjs/Message/index.d.ts +1 -0
- package/cjs/Message/index.js +3 -0
- package/cjs/Modal/Modal.d.ts +9 -14
- package/cjs/Modal/Modal.js +10 -7
- package/cjs/Modal/ModalBody.d.ts +2 -2
- package/cjs/Modal/ModalBody.js +4 -3
- package/cjs/Modal/ModalContext.js +0 -0
- package/cjs/Modal/ModalDialog.d.ts +3 -3
- package/cjs/Modal/ModalDialog.js +5 -5
- package/cjs/Modal/ModalFooter.d.ts +3 -1
- package/cjs/Modal/ModalFooter.js +0 -0
- package/cjs/Modal/ModalHeader.d.ts +2 -2
- package/cjs/Modal/ModalHeader.js +9 -16
- package/cjs/Modal/ModalTitle.d.ts +1 -2
- package/cjs/Modal/ModalTitle.js +2 -1
- package/cjs/Modal/index.d.ts +6 -0
- package/cjs/Modal/index.js +13 -0
- package/cjs/Modal/utils.d.ts +2 -2
- package/cjs/Modal/utils.js +1 -1
- package/cjs/MultiCascadeTree/MultiCascadeTree.d.ts +1 -3
- package/cjs/MultiCascadeTree/MultiCascadeTree.js +2 -1
- package/cjs/MultiCascadeTree/SearchView.js +0 -0
- package/cjs/MultiCascadeTree/TreeView.d.ts +2 -2
- package/cjs/MultiCascadeTree/TreeView.js +1 -1
- package/cjs/MultiCascadeTree/hooks/index.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useColumnData.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useFlattenData.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/cjs/MultiCascadeTree/hooks/useSelect.js +0 -0
- package/cjs/MultiCascadeTree/index.d.ts +1 -0
- package/cjs/MultiCascadeTree/index.js +3 -0
- package/cjs/MultiCascadeTree/types.js +0 -0
- package/cjs/MultiCascadeTree/utils.js +0 -0
- package/cjs/MultiCascader/MultiCascader.d.ts +4 -4
- package/cjs/MultiCascader/MultiCascader.js +5 -5
- package/cjs/MultiCascader/index.d.ts +1 -0
- package/cjs/MultiCascader/index.js +3 -0
- package/cjs/Nav/AdaptiveNavItem.d.ts +1 -2
- package/cjs/Nav/AdaptiveNavItem.js +9 -8
- package/cjs/Nav/Nav.d.ts +18 -13
- package/cjs/Nav/Nav.js +18 -14
- package/cjs/Nav/NavContext.js +0 -0
- package/cjs/Nav/NavDropdown.d.ts +5 -19
- package/cjs/Nav/NavDropdown.js +10 -7
- package/cjs/Nav/NavDropdownItem.d.ts +3 -3
- package/cjs/Nav/NavDropdownItem.js +5 -5
- package/cjs/Nav/NavDropdownToggle.d.ts +2 -3
- package/cjs/Nav/NavDropdownToggle.js +3 -2
- package/cjs/Nav/NavItem.d.ts +3 -3
- package/cjs/Nav/NavItem.js +3 -3
- package/cjs/Nav/NavMenu.js +3 -3
- package/cjs/Nav/index.d.ts +12 -0
- package/cjs/Nav/index.js +15 -0
- package/cjs/Navbar/Navbar.d.ts +20 -17
- package/cjs/Navbar/Navbar.js +34 -13
- package/cjs/Navbar/NavbarBrand.d.ts +5 -1
- package/cjs/Navbar/NavbarBrand.js +0 -0
- package/cjs/Navbar/NavbarContent.d.ts +8 -0
- package/cjs/Navbar/NavbarContent.js +12 -0
- package/cjs/Navbar/NavbarContext.d.ts +9 -0
- package/cjs/Navbar/NavbarContext.js +8 -0
- package/cjs/Navbar/NavbarDrawer.d.ts +5 -0
- package/cjs/Navbar/NavbarDrawer.js +42 -0
- package/cjs/Navbar/NavbarDropdown.d.ts +6 -14
- package/cjs/Navbar/NavbarDropdown.js +11 -8
- package/cjs/Navbar/NavbarDropdownItem.d.ts +2 -2
- package/cjs/Navbar/NavbarDropdownItem.js +7 -7
- package/cjs/Navbar/NavbarDropdownToggle.d.ts +2 -3
- package/cjs/Navbar/NavbarDropdownToggle.js +2 -1
- package/cjs/Navbar/NavbarItem.d.ts +3 -3
- package/cjs/Navbar/NavbarItem.js +3 -3
- package/cjs/Navbar/NavbarToggle.d.ts +5 -0
- package/cjs/Navbar/NavbarToggle.js +44 -0
- package/cjs/Navbar/index.d.ts +17 -3
- package/cjs/Navbar/index.js +24 -4
- package/cjs/Notification/Notification.d.ts +3 -3
- package/cjs/Notification/Notification.js +1 -1
- package/cjs/Notification/index.d.ts +1 -0
- package/cjs/Notification/index.js +3 -0
- package/cjs/Pagination/LimitPicker.d.ts +3 -4
- package/cjs/Pagination/LimitPicker.js +5 -4
- package/cjs/Pagination/Pagination.d.ts +3 -3
- package/cjs/Pagination/Pagination.js +2 -1
- package/cjs/Pagination/PaginationButton.d.ts +2 -2
- package/cjs/Pagination/PaginationButton.js +1 -1
- package/cjs/Pagination/PaginationGroup.d.ts +1 -2
- package/cjs/Pagination/PaginationGroup.js +2 -1
- package/cjs/Pagination/index.d.ts +1 -2
- package/cjs/Pagination/index.js +3 -0
- package/cjs/Panel/AccordionButton.d.ts +1 -1
- package/cjs/Panel/Panel.d.ts +2 -2
- package/cjs/Panel/Panel.js +2 -1
- package/cjs/Panel/PanelBody.d.ts +1 -1
- package/cjs/Panel/PanelHeader.d.ts +1 -1
- package/cjs/Panel/hooks/useExpanded.js +0 -0
- package/cjs/Panel/index.d.ts +5 -0
- package/cjs/Panel/index.js +7 -0
- package/cjs/PanelGroup/PanelGroup.d.ts +1 -1
- package/cjs/PanelGroup/PanelGroup.js +2 -1
- package/cjs/PanelGroup/index.d.ts +2 -1
- package/cjs/PanelGroup/index.js +3 -0
- package/cjs/Placeholder/Placeholder.d.ts +2 -2
- package/cjs/Placeholder/PlaceholderGraph.d.ts +2 -2
- package/cjs/Placeholder/PlaceholderGraph.js +2 -1
- package/cjs/Placeholder/PlaceholderGrid.d.ts +2 -2
- package/cjs/Placeholder/PlaceholderGrid.js +2 -1
- package/cjs/Placeholder/PlaceholderParagraph.d.ts +2 -2
- package/cjs/Placeholder/PlaceholderParagraph.js +2 -1
- package/cjs/Placeholder/index.d.ts +4 -0
- package/cjs/Placeholder/index.js +9 -0
- package/cjs/Popover/Popover.d.ts +2 -2
- package/cjs/Popover/Popover.js +2 -1
- package/cjs/Popover/index.d.ts +1 -0
- package/cjs/Popover/index.js +3 -0
- package/cjs/Progress/Progress.d.ts +2 -2
- package/cjs/Progress/ProgressCircle.d.ts +2 -2
- package/cjs/Progress/ProgressCircle.js +2 -1
- package/cjs/Progress/ProgressLine.d.ts +2 -2
- package/cjs/Progress/ProgressLine.js +2 -1
- package/cjs/Progress/index.d.ts +3 -0
- package/cjs/Progress/index.js +7 -0
- package/cjs/Radio/Radio.d.ts +4 -5
- package/cjs/Radio/Radio.js +1 -1
- package/cjs/Radio/index.d.ts +2 -1
- package/cjs/Radio/index.js +3 -0
- package/cjs/RadioGroup/RadioGroup.d.ts +7 -6
- package/cjs/RadioGroup/RadioGroup.js +2 -1
- package/cjs/RadioGroup/index.d.ts +1 -0
- package/cjs/RadioGroup/index.js +3 -0
- package/cjs/RadioTile/RadioTile.d.ts +4 -3
- package/cjs/RadioTile/RadioTile.js +2 -2
- package/cjs/RadioTile/index.d.ts +2 -1
- package/cjs/RadioTile/index.js +3 -0
- package/cjs/RadioTileGroup/RadioTileGroup.d.ts +5 -6
- package/cjs/RadioTileGroup/RadioTileGroup.js +2 -1
- package/cjs/RadioTileGroup/index.d.ts +1 -0
- package/cjs/RadioTileGroup/index.js +3 -0
- package/cjs/RangeSlider/RangeSlider.d.ts +2 -8
- package/cjs/RangeSlider/RangeSlider.js +8 -7
- package/cjs/RangeSlider/index.d.ts +1 -0
- package/cjs/RangeSlider/index.js +3 -0
- package/cjs/Rate/Character.d.ts +2 -2
- package/cjs/Rate/Character.js +2 -1
- package/cjs/Rate/Rate.d.ts +4 -4
- package/cjs/Rate/Rate.js +1 -1
- package/cjs/Rate/index.d.ts +1 -0
- package/cjs/Rate/index.js +3 -0
- package/cjs/Row/Row.d.ts +2 -2
- package/cjs/Row/Row.js +1 -1
- package/cjs/Row/index.d.ts +1 -0
- package/cjs/Row/index.js +3 -0
- package/cjs/SafeAnchor/SafeAnchor.d.ts +2 -2
- package/cjs/SafeAnchor/SafeAnchor.js +2 -1
- package/cjs/SafeAnchor/index.d.ts +1 -0
- package/cjs/SafeAnchor/index.js +3 -0
- package/cjs/Schema/Schema.js +0 -0
- package/cjs/Schema/index.d.ts +2 -0
- package/cjs/Schema/index.js +11 -1
- package/cjs/SelectPicker/SelectPicker.d.ts +2 -4
- package/cjs/SelectPicker/SelectPicker.js +1 -1
- package/cjs/SelectPicker/index.d.ts +1 -0
- package/cjs/SelectPicker/index.js +3 -0
- package/cjs/Sidebar/Sidebar.d.ts +2 -2
- package/cjs/Sidebar/Sidebar.js +2 -1
- package/cjs/Sidebar/index.d.ts +1 -0
- package/cjs/Sidebar/index.js +3 -0
- package/cjs/Sidenav/ExpandedSidenavDropdown.d.ts +3 -3
- package/cjs/Sidenav/ExpandedSidenavDropdown.js +5 -5
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.d.ts +3 -3
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +5 -6
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.d.ts +3 -3
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
- package/cjs/Sidenav/Sidenav.d.ts +10 -10
- package/cjs/Sidenav/Sidenav.js +8 -6
- package/cjs/Sidenav/SidenavBody.d.ts +3 -1
- package/cjs/Sidenav/SidenavBody.js +0 -0
- package/cjs/Sidenav/SidenavDropdown.d.ts +7 -15
- package/cjs/Sidenav/SidenavDropdown.js +11 -8
- package/cjs/Sidenav/SidenavDropdownCollapse.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownItem.d.ts +3 -3
- package/cjs/Sidenav/SidenavDropdownItem.js +2 -2
- package/cjs/Sidenav/SidenavDropdownToggle.d.ts +2 -3
- package/cjs/Sidenav/SidenavDropdownToggle.js +3 -2
- package/cjs/Sidenav/SidenavHeader.d.ts +3 -1
- package/cjs/Sidenav/SidenavHeader.js +0 -0
- package/cjs/Sidenav/SidenavItem.d.ts +3 -3
- package/cjs/Sidenav/SidenavItem.js +2 -2
- package/cjs/Sidenav/SidenavToggle.d.ts +2 -2
- package/cjs/Sidenav/SidenavToggle.js +3 -2
- package/cjs/Sidenav/index.d.ts +15 -1
- package/cjs/Sidenav/index.js +19 -0
- package/cjs/Slider/Graduated.d.ts +2 -2
- package/cjs/Slider/Graduated.js +11 -10
- package/cjs/Slider/Handle.d.ts +2 -2
- package/cjs/Slider/Handle.js +3 -3
- package/cjs/Slider/Mark.d.ts +2 -2
- package/cjs/Slider/Mark.js +2 -1
- package/cjs/Slider/ProgressBar.d.ts +2 -2
- package/cjs/Slider/ProgressBar.js +2 -1
- package/cjs/Slider/Slider.d.ts +1 -1
- package/cjs/Slider/Slider.js +8 -7
- package/cjs/Slider/index.d.ts +1 -0
- package/cjs/Slider/index.js +3 -0
- package/cjs/Slider/useDrag.js +0 -0
- package/cjs/Slider/utils.js +0 -0
- package/cjs/Stack/HStack.d.ts +4 -6
- package/cjs/Stack/HStack.js +6 -3
- package/cjs/Stack/Stack.d.ts +4 -5
- package/cjs/Stack/Stack.js +5 -3
- package/cjs/Stack/VStack.d.ts +4 -6
- package/cjs/Stack/VStack.js +6 -3
- package/cjs/Stack/index.d.ts +3 -2
- package/cjs/Stack/index.js +4 -1
- package/cjs/Stat/Stat.d.ts +14 -14
- package/cjs/Stat/Stat.js +10 -7
- package/cjs/Stat/StatHelpText.d.ts +4 -1
- package/cjs/Stat/StatHelpText.js +0 -0
- package/cjs/Stat/StatLabel.d.ts +3 -3
- package/cjs/Stat/StatLabel.js +2 -1
- package/cjs/Stat/StatTrend.d.ts +3 -3
- package/cjs/Stat/StatTrend.js +2 -1
- package/cjs/Stat/StatValue.d.ts +3 -3
- package/cjs/Stat/StatValue.js +2 -1
- package/cjs/Stat/StatValueUnit.d.ts +4 -1
- package/cjs/Stat/StatValueUnit.js +0 -0
- package/cjs/Stat/index.d.ts +11 -0
- package/cjs/Stat/index.js +13 -0
- package/cjs/StatGroup/StatGroup.d.ts +2 -2
- package/cjs/StatGroup/StatGroup.js +1 -1
- package/cjs/StatGroup/index.d.ts +1 -0
- package/cjs/StatGroup/index.js +3 -0
- package/cjs/Steps/StepItem.d.ts +2 -2
- package/cjs/Steps/StepItem.js +2 -1
- package/cjs/Steps/Steps.d.ts +4 -6
- package/cjs/Steps/Steps.js +6 -3
- package/cjs/Steps/index.d.ts +2 -0
- package/cjs/Steps/index.js +5 -0
- package/cjs/Table/TableCell.js +0 -0
- package/cjs/Table/TableColumn.js +0 -0
- package/cjs/Table/TableColumnGroup.js +0 -0
- package/cjs/Table/TableHeaderCell.js +0 -0
- package/cjs/Table/index.d.ts +5 -0
- package/cjs/Table/index.js +11 -0
- package/cjs/Tabs/Tab.d.ts +1 -1
- package/cjs/Tabs/TabPanel.d.ts +3 -4
- package/cjs/Tabs/TabPanel.js +2 -1
- package/cjs/Tabs/Tabs.d.ts +4 -6
- package/cjs/Tabs/Tabs.js +6 -4
- package/cjs/Tabs/index.d.ts +3 -0
- package/cjs/Tabs/index.js +5 -0
- package/cjs/Tag/Tag.d.ts +2 -2
- package/cjs/Tag/Tag.js +1 -1
- package/cjs/Tag/index.d.ts +1 -0
- package/cjs/Tag/index.js +3 -0
- package/cjs/TagGroup/TagGroup.d.ts +3 -1
- package/cjs/TagGroup/TagGroup.js +0 -0
- package/cjs/TagGroup/index.d.ts +1 -0
- package/cjs/TagGroup/index.js +3 -0
- package/cjs/TagInput/TagInput.d.ts +10 -0
- package/cjs/TagInput/TagInput.js +59 -0
- package/cjs/TagInput/index.d.ts +3 -10
- package/cjs/TagInput/index.js +5 -52
- package/cjs/TagPicker/TagPicker.d.ts +18 -0
- package/cjs/TagPicker/TagPicker.js +45 -0
- package/cjs/TagPicker/index.d.ts +3 -18
- package/cjs/TagPicker/index.js +5 -38
- package/cjs/Text/Text.d.ts +5 -3
- package/cjs/Text/Text.js +9 -7
- package/cjs/Text/index.d.ts +1 -0
- package/cjs/Text/index.js +3 -0
- package/cjs/TimePicker/TimePicker.d.ts +3 -4
- package/cjs/TimePicker/TimePicker.js +2 -1
- package/cjs/TimePicker/index.d.ts +1 -0
- package/cjs/TimePicker/index.js +3 -0
- package/cjs/TimeRangePicker/TimeRangePicker.d.ts +5 -5
- package/cjs/TimeRangePicker/TimeRangePicker.js +2 -1
- package/cjs/TimeRangePicker/index.d.ts +1 -0
- package/cjs/TimeRangePicker/index.js +3 -0
- package/cjs/Timeline/Timeline.d.ts +6 -8
- package/cjs/Timeline/Timeline.js +7 -5
- package/cjs/Timeline/TimelineItem.d.ts +2 -2
- package/cjs/Timeline/TimelineItem.js +2 -1
- package/cjs/Timeline/index.d.ts +2 -0
- package/cjs/Timeline/index.js +5 -0
- package/cjs/Toggle/Toggle.d.ts +4 -4
- package/cjs/Toggle/Toggle.js +1 -1
- package/cjs/Toggle/index.d.ts +1 -0
- package/cjs/Toggle/index.js +3 -0
- package/cjs/Tooltip/Tooltip.d.ts +2 -2
- package/cjs/Tooltip/Tooltip.js +2 -1
- package/cjs/Tooltip/index.d.ts +1 -0
- package/cjs/Tooltip/index.js +3 -0
- package/cjs/Tree/IndentLine.js +0 -0
- package/cjs/Tree/Tree.d.ts +3 -4
- package/cjs/Tree/Tree.js +2 -1
- package/cjs/Tree/TreeNode.d.ts +2 -2
- package/cjs/Tree/TreeNode.js +1 -1
- package/cjs/Tree/TreeNodeToggle.js +0 -0
- package/cjs/Tree/TreeView.d.ts +5 -4
- package/cjs/Tree/TreeView.js +10 -9
- package/cjs/Tree/hooks/useExpandTree.js +0 -0
- package/cjs/Tree/hooks/useFlattenTree.js +10 -8
- package/cjs/Tree/hooks/useForceUpdate.js +0 -0
- package/cjs/Tree/hooks/useTreeDrag.js +0 -0
- package/cjs/Tree/hooks/useTreeNodeProps.js +0 -0
- package/cjs/Tree/hooks/useTreeWithChildren.js +0 -0
- package/cjs/Tree/hooks/useVirtualizedTreeData.js +0 -0
- package/cjs/Tree/index.d.ts +2 -0
- package/cjs/Tree/index.js +3 -0
- package/cjs/Tree/types.d.ts +1 -0
- package/cjs/Tree/utils/flattenTree.js +0 -0
- package/cjs/Tree/utils/focusableTree.js +0 -0
- package/cjs/Tree/utils/formatNodeRefKey.js +0 -0
- package/cjs/Tree/utils/getExpandItemValues.js +0 -0
- package/cjs/Tree/utils/getNodeParentKeys.js +0 -0
- package/cjs/Tree/utils/getTreeActiveNode.js +0 -0
- package/cjs/Tree/utils/hasVisibleChildren.js +0 -0
- package/cjs/Tree/utils/indentTreeNode.js +0 -0
- package/cjs/Tree/utils/index.js +0 -0
- package/cjs/Tree/utils/isExpand.js +0 -0
- package/cjs/Tree/utils/isSearching.js +0 -0
- package/cjs/Tree/utils/treeKeyboardInteractions.js +0 -0
- package/cjs/TreePicker/TreePicker.d.ts +2 -2
- package/cjs/TreePicker/TreePicker.js +1 -1
- package/cjs/TreePicker/hooks/useFocusState.js +0 -0
- package/cjs/TreePicker/index.d.ts +1 -0
- package/cjs/TreePicker/index.js +3 -0
- package/cjs/Uploader/UploadFileItem.d.ts +1 -1
- package/cjs/Uploader/UploadFileItem.js +2 -1
- package/cjs/Uploader/UploadTrigger.d.ts +1 -5
- package/cjs/Uploader/UploadTrigger.js +2 -1
- package/cjs/Uploader/Uploader.d.ts +5 -1
- package/cjs/Uploader/Uploader.js +14 -14
- package/cjs/Uploader/index.d.ts +2 -1
- package/cjs/Uploader/index.js +3 -0
- package/cjs/Uploader/utils/previewFile.js +0 -0
- package/cjs/VisuallyHidden/VisuallyHidden.d.ts +4 -1
- package/cjs/VisuallyHidden/VisuallyHidden.js +0 -0
- package/cjs/VisuallyHidden/index.d.ts +1 -0
- package/cjs/VisuallyHidden/index.js +3 -0
- package/cjs/Whisper/index.d.ts +1 -0
- package/cjs/Whisper/index.js +3 -0
- package/cjs/global.d.ts +0 -0
- package/cjs/index.d.ts +109 -203
- package/cjs/index.js +648 -214
- package/cjs/internals/CloseButton/CloseButton.d.ts +2 -2
- package/cjs/internals/CloseButton/CloseButton.js +13 -1
- package/cjs/internals/CloseButton/index.js +0 -0
- package/cjs/internals/Disclosure/DisclosureButton.js +0 -0
- package/cjs/internals/Disclosure/DisclosureContent.js +0 -0
- package/cjs/internals/Disclosure/DisclosureContext.js +0 -0
- package/cjs/internals/Disclosure/index.js +0 -0
- package/cjs/internals/Disclosure/useDisclosureContext.js +0 -0
- package/cjs/internals/Menu/MenuContext.js +0 -0
- package/cjs/internals/Menu/index.js +0 -0
- package/cjs/internals/Overlay/Modal.d.ts +2 -2
- package/cjs/internals/Overlay/Modal.js +4 -4
- package/cjs/internals/Overlay/ModalManager.js +0 -0
- package/cjs/internals/Overlay/Overlay.d.ts +2 -1
- package/cjs/internals/Overlay/Overlay.js +2 -2
- package/cjs/internals/Overlay/OverlayContext.js +0 -0
- package/cjs/internals/Overlay/Position.d.ts +2 -1
- package/cjs/internals/Overlay/Position.js +1 -1
- package/cjs/internals/Overlay/index.js +0 -0
- package/cjs/internals/Overlay/positionUtils.d.ts +2 -7
- package/cjs/internals/Overlay/types.d.ts +6 -0
- package/cjs/internals/Overlay/types.js +4 -0
- package/cjs/internals/Picker/ListCheckItem.d.ts +2 -2
- package/cjs/internals/Picker/ListCheckItem.js +4 -3
- package/cjs/internals/Picker/ListItem.d.ts +2 -2
- package/cjs/internals/Picker/ListItem.js +3 -2
- package/cjs/internals/Picker/ListItemGroup.js +0 -0
- package/cjs/internals/Picker/PickerIndicator.js +0 -0
- package/cjs/internals/Picker/PickerLabel.js +0 -0
- package/cjs/internals/Picker/PickerPopup.d.ts +2 -2
- package/cjs/internals/Picker/PickerPopup.js +2 -2
- package/cjs/internals/Picker/PickerToggle.d.ts +4 -4
- package/cjs/internals/Picker/PickerToggle.js +5 -5
- package/cjs/internals/Picker/SelectedElement.js +0 -0
- package/cjs/internals/Picker/ToggleButton.js +0 -0
- package/cjs/internals/Picker/hooks/index.js +0 -0
- package/cjs/internals/Picker/hooks/useCombobox.js +0 -0
- package/cjs/internals/Picker/hooks/usePickerRef.js +0 -0
- package/cjs/internals/Picker/hooks/useSearch.js +0 -0
- package/cjs/internals/Picker/hooks/useToggleKeyDownEvent.js +0 -0
- package/cjs/internals/Picker/index.d.ts +4 -5
- package/cjs/internals/Picker/index.js +5 -5
- package/cjs/internals/Picker/types.d.ts +1 -6
- package/cjs/internals/Picker/utils.js +0 -0
- package/cjs/internals/Plaintext/Plaintext.d.ts +2 -2
- package/cjs/internals/Plaintext/Plaintext.js +2 -1
- package/cjs/internals/Plaintext/index.js +0 -0
- package/cjs/internals/Ripple/Ripple.d.ts +1 -1
- package/cjs/internals/Ripple/Ripple.js +1 -1
- package/cjs/internals/Ripple/index.js +0 -0
- package/cjs/internals/ScrollView/ScrollView.d.ts +2 -2
- package/cjs/internals/ScrollView/ScrollView.js +1 -1
- package/cjs/internals/ScrollView/hooks/useScrollState.js +0 -0
- package/cjs/internals/ScrollView/index.js +0 -0
- package/cjs/internals/SearchBox/SearchBox.d.ts +2 -2
- package/cjs/internals/SearchBox/SearchBox.js +3 -2
- package/cjs/internals/SearchBox/index.js +0 -0
- package/cjs/internals/Tree/TreeProvider.js +0 -0
- package/cjs/internals/Tree/TreeView.d.ts +1 -1
- package/cjs/internals/Tree/TreeView.js +3 -2
- package/cjs/internals/Tree/index.js +0 -0
- package/cjs/internals/Tree/types.js +0 -0
- package/cjs/internals/Tree/utils/filterNodesOfTree.js +0 -0
- package/cjs/internals/Tree/utils/findNodeOfTree.js +0 -0
- package/cjs/internals/Tree/utils/getParentMap.js +0 -0
- package/cjs/internals/Tree/utils/index.js +0 -0
- package/cjs/internals/Windowing/List.d.ts +3 -3
- package/cjs/internals/Windowing/List.js +3 -2
- package/cjs/internals/Windowing/index.js +0 -0
- package/cjs/internals/constants/index.js +0 -0
- package/cjs/internals/constants/statusIcons.js +0 -0
- package/cjs/internals/hooks/index.js +0 -0
- package/cjs/internals/hooks/useClickOutside.js +0 -0
- package/cjs/internals/hooks/useControlled.js +0 -0
- package/cjs/internals/hooks/useElementResize.js +0 -0
- package/cjs/internals/hooks/useEnsuredRef.js +0 -0
- package/cjs/internals/hooks/useEventCallback.js +0 -0
- package/cjs/internals/hooks/useEventListener.js +0 -0
- package/cjs/internals/hooks/useFocus.js +0 -0
- package/cjs/internals/hooks/useFocusVirtualListItem.js +0 -0
- package/cjs/internals/hooks/useInternalId.js +0 -0
- package/cjs/internals/hooks/useIsMounted.js +0 -0
- package/cjs/internals/hooks/useIsomorphicLayoutEffect.js +0 -0
- package/cjs/internals/hooks/useMap.js +0 -0
- package/cjs/internals/hooks/useMount.js +0 -0
- package/cjs/internals/hooks/useRootClose.js +0 -0
- package/cjs/internals/hooks/useTimeout.js +0 -0
- package/cjs/internals/hooks/useUpdatedRef.js +0 -0
- package/cjs/internals/index.js +0 -0
- package/cjs/internals/types/animation.d.ts +14 -0
- package/cjs/internals/types/animation.js +4 -0
- package/cjs/internals/types/date.d.ts +37 -0
- package/cjs/internals/types/date.js +4 -0
- package/cjs/internals/types/dom.d.ts +14 -0
- package/cjs/internals/types/dom.js +4 -0
- package/cjs/internals/types/form.d.ts +21 -0
- package/cjs/internals/types/form.js +4 -0
- package/cjs/internals/types/index.d.ts +7 -217
- package/cjs/internals/types/index.js +42 -0
- package/cjs/internals/types/picker.d.ts +128 -0
- package/cjs/internals/types/picker.js +4 -0
- package/cjs/internals/types/shared.d.ts +35 -0
- package/cjs/internals/types/shared.js +4 -0
- package/cjs/internals/types/utils.d.ts +1 -0
- package/cjs/internals/utils/attachParent.js +0 -0
- package/cjs/internals/utils/composeFunctions.js +0 -0
- package/cjs/internals/utils/createChainedFunction.js +0 -0
- package/cjs/internals/utils/createComponent.d.ts +4 -4
- package/cjs/internals/utils/createComponent.js +2 -1
- package/cjs/internals/utils/date/extractTimeFormat.js +0 -0
- package/cjs/internals/utils/date/formatCheck.js +0 -0
- package/cjs/internals/utils/date/getWeekKeys.js +0 -0
- package/cjs/internals/utils/date/omitHideDisabledProps.js +0 -0
- package/cjs/internals/utils/date/reverseDateRangeOmitTime.js +0 -0
- package/cjs/internals/utils/date/types.js +0 -0
- package/cjs/internals/utils/date/useDateMode.js +0 -0
- package/cjs/internals/utils/deprecateComponent.js +0 -0
- package/cjs/internals/utils/dom.js +0 -0
- package/cjs/internals/utils/events.js +0 -0
- package/cjs/internals/utils/forwardRef.d.ts +10 -0
- package/cjs/internals/utils/forwardRef.js +22 -0
- package/cjs/internals/utils/getDataGroupBy.js +0 -0
- package/cjs/internals/utils/getStringLength.js +0 -0
- package/cjs/internals/utils/guid.js +0 -0
- package/cjs/internals/utils/htmlPropsUtils.js +0 -0
- package/cjs/internals/utils/index.d.ts +2 -1
- package/cjs/internals/utils/index.js +6 -3
- package/cjs/internals/utils/isOneOf.js +0 -0
- package/cjs/internals/utils/mergeRefs.js +0 -0
- package/cjs/internals/utils/placementPolyfill.js +0 -0
- package/cjs/internals/utils/prefix.js +0 -0
- package/cjs/internals/utils/safeSetSelection.js +0 -0
- package/cjs/internals/utils/shallowEqual.js +0 -0
- package/cjs/internals/utils/stringifyReactNode.js +0 -0
- package/cjs/internals/utils/tplTransform.js +0 -0
- package/cjs/internals/utils/warnOnce.js +0 -0
- package/cjs/locales/index.js +0 -0
- package/cjs/toaster/ToastContainer.d.ts +2 -2
- package/cjs/toaster/ToastContainer.js +1 -1
- package/cjs/toaster/ToastContext.js +0 -0
- package/cjs/toaster/hooks/useDelayedClosure.js +0 -0
- package/cjs/toaster/index.d.ts +1 -0
- package/cjs/toaster/index.js +3 -0
- package/cjs/useBreakpointValue/index.d.ts +1 -0
- package/cjs/useBreakpointValue/index.js +2 -0
- package/cjs/useBreakpointValue/useBreakpointValue.js +0 -0
- package/cjs/useMediaQuery/index.d.ts +1 -0
- package/cjs/useMediaQuery/index.js +3 -0
- package/cjs/useToaster/index.d.ts +1 -0
- package/cjs/useToaster/index.js +2 -0
- package/cjs/useToaster/useToaster.js +0 -0
- package/dist/rsuite-no-reset-rtl.css +74 -35
- 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 +74 -35
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +75 -40
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +75 -40
- package/dist/rsuite.js +395 -318
- 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.d.ts +3 -6
- package/esm/Accordion/Accordion.js +7 -3
- package/esm/Accordion/AccordionPanel.d.ts +2 -1
- package/esm/Accordion/index.d.ts +3 -0
- package/esm/Accordion/index.js +6 -0
- package/esm/Affix/Affix.d.ts +2 -2
- package/esm/Affix/Affix.js +2 -2
- package/esm/Affix/index.d.ts +2 -2
- package/esm/Affix/index.js +1 -0
- package/esm/Animation/Bounce.js +0 -0
- package/esm/Animation/Fade.js +0 -0
- package/esm/Animation/Slide.js +0 -0
- package/esm/Animation/index.d.ts +14 -13
- package/esm/Animation/index.js +6 -1
- package/esm/AutoComplete/AutoComplete.d.ts +3 -4
- package/esm/AutoComplete/AutoComplete.js +4 -4
- package/esm/AutoComplete/Combobox.d.ts +2 -3
- package/esm/AutoComplete/Combobox.js +4 -2
- package/esm/AutoComplete/index.d.ts +1 -0
- package/esm/AutoComplete/index.js +5 -0
- package/esm/AutoComplete/utils.js +0 -0
- package/esm/Avatar/Avatar.d.ts +3 -3
- package/esm/Avatar/Avatar.js +4 -3
- package/esm/Avatar/AvatarIcon.js +0 -0
- package/esm/Avatar/index.d.ts +1 -0
- package/esm/Avatar/index.js +5 -0
- package/esm/Avatar/useImage.js +0 -0
- package/esm/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/esm/AvatarGroup/AvatarGroup.js +2 -2
- package/esm/AvatarGroup/index.d.ts +1 -0
- package/esm/AvatarGroup/index.js +5 -0
- package/esm/Badge/Badge.d.ts +2 -2
- package/esm/Badge/Badge.js +2 -2
- package/esm/Badge/index.d.ts +1 -0
- package/esm/Badge/index.js +5 -0
- package/esm/Breadcrumb/Breadcrumb.d.ts +5 -7
- package/esm/Breadcrumb/Breadcrumb.js +7 -5
- package/esm/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/esm/Breadcrumb/BreadcrumbItem.js +2 -1
- package/esm/Breadcrumb/index.d.ts +2 -0
- package/esm/Breadcrumb/index.js +6 -0
- package/esm/Button/Button.d.ts +5 -5
- package/esm/Button/Button.js +2 -2
- package/esm/Button/index.d.ts +1 -0
- package/esm/Button/index.js +5 -0
- package/esm/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/esm/ButtonGroup/ButtonGroup.js +3 -2
- package/esm/ButtonGroup/ButtonGroupContext.d.ts +2 -2
- package/esm/ButtonGroup/index.d.ts +1 -1
- package/esm/ButtonGroup/index.js +5 -1
- package/esm/ButtonToolbar/ButtonToolbar.d.ts +5 -3
- package/esm/ButtonToolbar/ButtonToolbar.js +3 -2
- package/esm/ButtonToolbar/index.d.ts +1 -0
- package/esm/ButtonToolbar/index.js +5 -0
- package/esm/Calendar/Calendar.d.ts +2 -3
- package/esm/Calendar/Calendar.js +2 -1
- package/esm/Calendar/CalendarBody.d.ts +2 -2
- package/esm/Calendar/CalendarBody.js +2 -1
- package/esm/Calendar/CalendarContainer.d.ts +2 -2
- package/esm/Calendar/CalendarContainer.js +3 -2
- package/esm/Calendar/CalendarHeader.d.ts +2 -2
- package/esm/Calendar/CalendarHeader.js +2 -1
- package/esm/Calendar/CalendarProvider.js +0 -0
- package/esm/Calendar/Grid/Grid.d.ts +2 -2
- package/esm/Calendar/Grid/Grid.js +2 -1
- package/esm/Calendar/Grid/GridCell.d.ts +2 -2
- package/esm/Calendar/Grid/GridCell.js +2 -1
- package/esm/Calendar/Grid/GridHeaderRow.d.ts +2 -2
- package/esm/Calendar/Grid/GridHeaderRow.js +2 -1
- package/esm/Calendar/Grid/GridRow.d.ts +2 -2
- package/esm/Calendar/Grid/GridRow.js +3 -2
- package/esm/Calendar/Grid/index.js +0 -0
- package/esm/Calendar/MonthDropdown/MonthDropdown.d.ts +2 -2
- package/esm/Calendar/MonthDropdown/MonthDropdown.js +2 -1
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.d.ts +2 -2
- package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +2 -2
- package/esm/Calendar/MonthDropdown/index.js +0 -0
- package/esm/Calendar/TimeDropdown/TimeColumn.js +0 -0
- package/esm/Calendar/TimeDropdown/TimeDropdown.d.ts +2 -2
- package/esm/Calendar/TimeDropdown/TimeDropdown.js +3 -2
- package/esm/Calendar/TimeDropdown/index.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/formatWithLeadingZero.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/getClockTime.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/getTimeLimits.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/index.js +0 -0
- package/esm/Calendar/TimeDropdown/utils/scrollToTime.js +0 -0
- package/esm/Calendar/hooks/index.js +0 -0
- package/esm/Calendar/hooks/useCalendar.js +0 -0
- package/esm/Calendar/hooks/useCalendarDate.js +0 -0
- package/esm/Calendar/hooks/useCalendarState.js +0 -0
- package/esm/Calendar/index.d.ts +2 -3
- package/esm/Calendar/index.js +5 -3
- package/esm/Calendar/types.js +0 -0
- package/esm/Calendar/utils/getAriaLabel.js +0 -0
- package/esm/Calendar/utils/index.js +0 -0
- package/esm/Calendar/utils/isEveryDateInMonth.js +0 -0
- package/esm/Card/Card.d.ts +15 -10
- package/esm/Card/Card.js +8 -5
- package/esm/Card/CardBody.d.ts +4 -1
- package/esm/Card/CardBody.js +0 -0
- package/esm/Card/CardFooter.d.ts +4 -1
- package/esm/Card/CardFooter.js +0 -0
- package/esm/Card/CardHeader.d.ts +4 -1
- package/esm/Card/CardHeader.js +0 -0
- package/esm/Card/index.d.ts +4 -0
- package/esm/Card/index.js +8 -0
- package/esm/CardGroup/CardGroup.d.ts +2 -2
- package/esm/CardGroup/CardGroup.js +2 -2
- package/esm/CardGroup/index.d.ts +1 -0
- package/esm/CardGroup/index.js +5 -0
- package/esm/Carousel/Carousel.d.ts +2 -2
- package/esm/Carousel/Carousel.js +2 -2
- package/esm/Carousel/index.d.ts +1 -0
- package/esm/Carousel/index.js +5 -0
- package/esm/CascadeTree/CascadeTree.d.ts +2 -4
- package/esm/CascadeTree/CascadeTree.js +2 -1
- package/esm/CascadeTree/SearchView.js +0 -0
- package/esm/CascadeTree/TreeView.d.ts +2 -2
- package/esm/CascadeTree/TreeView.js +2 -2
- package/esm/CascadeTree/hooks/index.js +0 -0
- package/esm/CascadeTree/hooks/usePaths.js +0 -0
- package/esm/CascadeTree/hooks/useSearch.js +0 -0
- package/esm/CascadeTree/hooks/useSelect.js +0 -0
- package/esm/CascadeTree/index.d.ts +1 -1
- package/esm/CascadeTree/index.js +5 -0
- package/esm/CascadeTree/types.js +0 -0
- package/esm/Cascader/Cascader.d.ts +2 -4
- package/esm/Cascader/Cascader.js +2 -3
- package/esm/Cascader/index.d.ts +1 -0
- package/esm/Cascader/index.js +5 -0
- package/esm/Cascader/useActive.js +0 -0
- package/esm/CheckPicker/CheckPicker.d.ts +5 -7
- package/esm/CheckPicker/CheckPicker.js +4 -4
- package/esm/CheckPicker/index.d.ts +1 -0
- package/esm/CheckPicker/index.js +5 -0
- package/esm/CheckTree/CheckTree.d.ts +1 -2
- package/esm/CheckTree/CheckTree.js +3 -2
- package/esm/CheckTree/CheckTreeNode.d.ts +2 -2
- package/esm/CheckTree/CheckTreeNode.js +3 -3
- package/esm/CheckTree/CheckTreeView.d.ts +3 -3
- package/esm/CheckTree/CheckTreeView.js +2 -1
- package/esm/CheckTree/hooks/useTreeCheckState.js +0 -0
- package/esm/CheckTree/hooks/useTreeNodeProps.js +0 -0
- package/esm/CheckTree/hooks/useTreeValue.js +0 -0
- package/esm/CheckTree/index.d.ts +3 -1
- package/esm/CheckTree/index.js +5 -0
- package/esm/CheckTree/utils.js +0 -0
- package/esm/CheckTreePicker/CheckTreePicker.d.ts +3 -3
- package/esm/CheckTreePicker/CheckTreePicker.js +13 -13
- package/esm/CheckTreePicker/hooks/useFocusState.js +0 -0
- package/esm/CheckTreePicker/index.d.ts +2 -1
- package/esm/CheckTreePicker/index.js +5 -0
- package/esm/Checkbox/Checkbox.d.ts +4 -5
- package/esm/Checkbox/Checkbox.js +2 -2
- package/esm/Checkbox/index.d.ts +2 -1
- package/esm/Checkbox/index.js +5 -0
- package/esm/CheckboxGroup/CheckboxGroup.d.ts +3 -4
- package/esm/CheckboxGroup/CheckboxGroup.js +2 -2
- package/esm/CheckboxGroup/CheckboxGroupContext.d.ts +1 -2
- package/esm/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/esm/CheckboxGroup/index.d.ts +2 -1
- package/esm/CheckboxGroup/index.js +5 -0
- package/esm/Col/Col.d.ts +2 -2
- package/esm/Col/Col.js +2 -1
- package/esm/Col/index.d.ts +1 -0
- package/esm/Col/index.js +5 -0
- package/esm/Container/Container.d.ts +2 -2
- package/esm/Container/Container.js +2 -1
- package/esm/Container/index.d.ts +1 -0
- package/esm/Container/index.js +5 -0
- package/esm/Content/Content.d.ts +4 -1
- package/esm/Content/Content.js +0 -0
- package/esm/Content/index.d.ts +1 -0
- package/esm/Content/index.js +5 -0
- package/esm/CustomProvider/FormattedDate.js +0 -0
- package/esm/CustomProvider/FormattedNumber.js +0 -0
- package/esm/CustomProvider/index.d.ts +4 -3
- package/esm/CustomProvider/index.js +8 -1
- package/esm/CustomProvider/types.js +0 -0
- package/esm/DOMHelper/index.d.ts +1 -1
- package/esm/DOMHelper/index.js +1 -1
- package/esm/DateInput/DateInput.d.ts +2 -3
- package/esm/DateInput/DateInput.js +6 -6
- package/esm/DateInput/hooks/useFieldCursor.js +0 -0
- package/esm/DateInput/hooks/useIsFocused.js +0 -0
- package/esm/DateInput/hooks/useSelectedState.js +0 -0
- package/esm/DateInput/index.d.ts +2 -1
- package/esm/DateInput/index.js +9 -0
- package/esm/DatePicker/DatePicker.d.ts +5 -5
- package/esm/DatePicker/DatePicker.js +4 -4
- package/esm/DatePicker/PredefinedRanges.d.ts +4 -3
- package/esm/DatePicker/Toolbar.d.ts +0 -1
- package/esm/DatePicker/Toolbar.js +1 -1
- package/esm/DatePicker/hooks/useCustomizedInput.d.ts +1 -1
- package/esm/DatePicker/hooks/useCustomizedInput.js +0 -0
- package/esm/DatePicker/hooks/useMonthView.js +0 -0
- package/esm/DatePicker/index.d.ts +1 -1
- package/esm/DatePicker/index.js +5 -0
- package/esm/DatePicker/types.d.ts +2 -8
- package/esm/DatePicker/utils.d.ts +6 -5
- package/esm/DateRangeInput/DateRangeInput.d.ts +1 -1
- package/esm/DateRangeInput/index.d.ts +1 -0
- package/esm/DateRangeInput/index.js +5 -0
- package/esm/DateRangeInput/utils.js +0 -0
- package/esm/DateRangePicker/Calendar.d.ts +2 -2
- package/esm/DateRangePicker/Calendar.js +2 -1
- package/esm/DateRangePicker/DateRangePicker.d.ts +6 -23
- package/esm/DateRangePicker/DateRangePicker.js +6 -5
- package/esm/DateRangePicker/DateRangePickerProvider.js +0 -0
- package/esm/DateRangePicker/Header.js +0 -0
- package/esm/DateRangePicker/disabledDateUtils.js +0 -0
- package/esm/DateRangePicker/hooks/index.js +0 -0
- package/esm/DateRangePicker/hooks/useCalendarHandlers.js +0 -0
- package/esm/DateRangePicker/hooks/useDateDisabled.js +0 -0
- package/esm/DateRangePicker/hooks/useDateRangePicker.js +0 -0
- package/esm/DateRangePicker/index.d.ts +4 -2
- package/esm/DateRangePicker/index.js +8 -4
- package/esm/DateRangePicker/types.d.ts +0 -7
- package/esm/DateRangePicker/utils.js +0 -0
- package/esm/Divider/Divider.d.ts +2 -2
- package/esm/Divider/Divider.js +2 -1
- package/esm/Divider/index.d.ts +1 -0
- package/esm/Divider/index.js +5 -0
- package/esm/Drawer/Drawer.d.ts +13 -17
- package/esm/Drawer/Drawer.js +16 -15
- package/esm/Drawer/DrawerActions.d.ts +3 -1
- package/esm/Drawer/DrawerActions.js +0 -0
- package/esm/Drawer/DrawerBody.d.ts +2 -2
- package/esm/Drawer/DrawerBody.js +3 -1
- package/esm/Drawer/DrawerFooter.d.ts +2 -2
- package/esm/Drawer/DrawerFooter.js +3 -1
- package/esm/Drawer/DrawerHeader.d.ts +2 -2
- package/esm/Drawer/DrawerHeader.js +3 -1
- package/esm/Drawer/DrawerTitle.d.ts +2 -2
- package/esm/Drawer/DrawerTitle.js +3 -1
- package/esm/Drawer/index.d.ts +11 -0
- package/esm/Drawer/index.js +10 -0
- package/esm/Dropdown/Dropdown.d.ts +4 -4
- package/esm/Dropdown/Dropdown.js +12 -10
- package/esm/Dropdown/DropdownItem.d.ts +3 -3
- package/esm/Dropdown/DropdownItem.js +6 -6
- package/esm/Dropdown/DropdownSeparator.d.ts +2 -2
- package/esm/Dropdown/DropdownSeparator.js +2 -1
- package/esm/Dropdown/DropdownToggle.d.ts +2 -3
- package/esm/Dropdown/DropdownToggle.js +2 -1
- package/esm/Dropdown/index.d.ts +7 -0
- package/esm/Dropdown/index.js +9 -0
- package/esm/FlexboxGrid/FlexboxGrid.d.ts +4 -6
- package/esm/FlexboxGrid/FlexboxGrid.js +7 -3
- package/esm/FlexboxGrid/FlexboxGridItem.d.ts +2 -2
- package/esm/FlexboxGrid/FlexboxGridItem.js +2 -1
- package/esm/FlexboxGrid/index.d.ts +2 -0
- package/esm/FlexboxGrid/index.js +6 -0
- package/esm/Footer/Footer.d.ts +4 -1
- package/esm/Footer/Footer.js +0 -0
- package/esm/Footer/index.d.ts +1 -0
- package/esm/Footer/index.js +5 -0
- package/esm/Form/Form.d.ts +17 -18
- package/esm/Form/Form.js +14 -11
- package/esm/Form/FormContext.d.ts +2 -2
- package/esm/Form/hooks/useFormClassNames.js +0 -0
- package/esm/Form/hooks/useFormRef.js +0 -0
- package/esm/Form/hooks/useFormValidate.js +0 -0
- package/esm/Form/hooks/useFormValue.js +0 -0
- package/esm/Form/hooks/useSchemaModel.js +0 -0
- package/esm/Form/index.d.ts +1 -6
- package/esm/Form/index.js +5 -1
- package/esm/FormControl/FormControl.d.ts +10 -10
- package/esm/FormControl/FormControl.js +2 -1
- package/esm/FormControl/hooks/useField.js +2 -1
- package/esm/FormControl/hooks/useRegisterModel.js +0 -0
- package/esm/FormControl/index.d.ts +2 -1
- package/esm/FormControl/index.js +5 -0
- package/esm/FormControl/utils.js +0 -0
- package/esm/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/esm/FormControlLabel/FormControlLabel.js +3 -2
- package/esm/FormControlLabel/index.d.ts +1 -0
- package/esm/FormControlLabel/index.js +5 -0
- package/esm/FormErrorMessage/FormErrorMessage.d.ts +2 -2
- package/esm/FormErrorMessage/FormErrorMessage.js +2 -2
- package/esm/FormErrorMessage/index.d.ts +1 -0
- package/esm/FormErrorMessage/index.js +5 -0
- package/esm/FormGroup/FormGroup.d.ts +2 -2
- package/esm/FormGroup/FormGroup.js +2 -1
- package/esm/FormGroup/index.d.ts +1 -0
- package/esm/FormGroup/index.js +7 -0
- package/esm/FormHelpText/FormHelpText.d.ts +2 -2
- package/esm/FormHelpText/FormHelpText.js +2 -1
- package/esm/FormHelpText/index.d.ts +1 -0
- package/esm/FormHelpText/index.js +5 -0
- package/esm/Grid/Grid.d.ts +2 -2
- package/esm/Grid/Grid.js +2 -1
- package/esm/Grid/index.d.ts +1 -0
- package/esm/Grid/index.js +5 -0
- package/esm/Header/Header.d.ts +4 -1
- package/esm/Header/Header.js +0 -0
- package/esm/Header/index.d.ts +1 -0
- package/esm/Header/index.js +5 -0
- package/esm/Heading/Heading.d.ts +2 -2
- package/esm/Heading/Heading.js +2 -1
- package/esm/Heading/index.d.ts +1 -0
- package/esm/Heading/index.js +5 -0
- package/esm/HeadingGroup/HeadingGroup.d.ts +4 -1
- package/esm/HeadingGroup/HeadingGroup.js +0 -0
- package/esm/HeadingGroup/index.d.ts +1 -0
- package/esm/HeadingGroup/index.js +5 -0
- package/esm/Highlight/Highlight.d.ts +2 -2
- package/esm/Highlight/Highlight.js +2 -2
- package/esm/Highlight/index.d.ts +1 -0
- package/esm/Highlight/index.js +5 -0
- package/esm/Highlight/utils/highlightText.js +0 -0
- package/esm/IconButton/IconButton.d.ts +3 -6
- package/esm/IconButton/IconButton.js +2 -1
- package/esm/IconButton/index.d.ts +1 -0
- package/esm/IconButton/index.js +5 -0
- package/esm/Image/Image.d.ts +2 -2
- package/esm/Image/Image.js +2 -1
- package/esm/Image/ImageWrapper.d.ts +4 -1
- package/esm/Image/ImageWrapper.js +0 -0
- package/esm/Image/hooks/useImage.js +0 -0
- package/esm/Image/index.d.ts +1 -0
- package/esm/Image/index.js +5 -0
- package/esm/InlineEdit/InlineEdit.d.ts +3 -3
- package/esm/InlineEdit/InlineEdit.js +3 -3
- package/esm/InlineEdit/index.d.ts +1 -0
- package/esm/InlineEdit/index.js +5 -0
- package/esm/InlineEdit/renderChildren.js +0 -0
- package/esm/InlineEdit/useEditState.js +0 -0
- package/esm/InlineEdit/useFocusEvent.js +0 -0
- package/esm/Input/Input.d.ts +3 -3
- package/esm/Input/Input.js +3 -2
- package/esm/Input/index.d.ts +1 -0
- package/esm/Input/index.js +5 -0
- package/esm/InputGroup/InputGroup.d.ts +6 -9
- package/esm/InputGroup/InputGroup.js +8 -4
- package/esm/InputGroup/InputGroupAddon.d.ts +2 -2
- package/esm/InputGroup/InputGroupAddon.js +2 -1
- package/esm/InputGroup/InputGroupButton.d.ts +1 -0
- package/esm/InputGroup/InputGroupButton.js +0 -1
- package/esm/InputGroup/index.d.ts +5 -0
- package/esm/InputGroup/index.js +7 -0
- package/esm/InputNumber/InputNumber.d.ts +7 -4
- package/esm/InputNumber/InputNumber.js +2 -2
- package/esm/InputNumber/index.d.ts +1 -0
- package/esm/InputNumber/index.js +5 -0
- package/esm/InputPicker/InputPicker.d.ts +2 -2
- package/esm/InputPicker/InputPicker.js +7 -8
- package/esm/InputPicker/InputPickerContext.js +0 -0
- package/esm/InputPicker/InputSearch.d.ts +4 -5
- package/esm/InputPicker/InputSearch.js +2 -1
- package/esm/InputPicker/TagList.js +1 -1
- package/esm/InputPicker/TextBox.js +1 -1
- package/esm/InputPicker/hooks/useData.js +0 -0
- package/esm/InputPicker/hooks/useInput.d.ts +4 -11
- package/esm/InputPicker/index.d.ts +1 -1
- package/esm/InputPicker/index.js +5 -0
- package/esm/InputPicker/utils.js +0 -0
- package/esm/List/List.d.ts +4 -6
- package/esm/List/List.js +7 -4
- package/esm/List/ListContext.js +0 -0
- package/esm/List/ListItem.d.ts +1 -1
- package/esm/List/ListItem.js +4 -5
- package/esm/List/helper/useManager.js +0 -0
- package/esm/List/helper/useSortHelper.js +0 -0
- package/esm/List/helper/utils.js +0 -0
- package/esm/List/index.d.ts +2 -0
- package/esm/List/index.js +6 -0
- package/esm/Loader/Loader.d.ts +3 -3
- package/esm/Loader/Loader.js +2 -1
- package/esm/Loader/index.d.ts +1 -0
- package/esm/Loader/index.js +5 -0
- package/esm/MaskedInput/MaskedInput.d.ts +1 -2
- package/esm/MaskedInput/MaskedInput.js +2 -1
- package/esm/MaskedInput/TextMask.d.ts +1 -1
- package/esm/MaskedInput/createTextMaskInputElement.js +0 -0
- package/esm/MaskedInput/index.d.ts +1 -0
- package/esm/MaskedInput/index.js +5 -0
- package/esm/Message/Message.d.ts +3 -3
- package/esm/Message/Message.js +2 -2
- package/esm/Message/index.d.ts +1 -0
- package/esm/Message/index.js +5 -0
- package/esm/Modal/Modal.d.ts +9 -14
- package/esm/Modal/Modal.js +11 -8
- package/esm/Modal/ModalBody.d.ts +2 -2
- package/esm/Modal/ModalBody.js +4 -3
- package/esm/Modal/ModalContext.js +0 -0
- package/esm/Modal/ModalDialog.d.ts +3 -3
- package/esm/Modal/ModalDialog.js +5 -5
- package/esm/Modal/ModalFooter.d.ts +3 -1
- package/esm/Modal/ModalFooter.js +0 -0
- package/esm/Modal/ModalHeader.d.ts +2 -2
- package/esm/Modal/ModalHeader.js +9 -16
- package/esm/Modal/ModalTitle.d.ts +1 -2
- package/esm/Modal/ModalTitle.js +2 -1
- package/esm/Modal/index.d.ts +6 -0
- package/esm/Modal/index.js +10 -0
- package/esm/Modal/utils.d.ts +2 -2
- package/esm/Modal/utils.js +1 -1
- package/esm/MultiCascadeTree/MultiCascadeTree.d.ts +1 -3
- package/esm/MultiCascadeTree/MultiCascadeTree.js +2 -1
- package/esm/MultiCascadeTree/SearchView.js +0 -0
- package/esm/MultiCascadeTree/TreeView.d.ts +2 -2
- package/esm/MultiCascadeTree/TreeView.js +2 -2
- package/esm/MultiCascadeTree/hooks/index.js +0 -0
- package/esm/MultiCascadeTree/hooks/useCascadeValue.js +0 -0
- package/esm/MultiCascadeTree/hooks/useColumnData.js +0 -0
- package/esm/MultiCascadeTree/hooks/useFlattenData.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSearch.js +0 -0
- package/esm/MultiCascadeTree/hooks/useSelect.js +0 -0
- package/esm/MultiCascadeTree/index.d.ts +1 -0
- package/esm/MultiCascadeTree/index.js +5 -0
- package/esm/MultiCascadeTree/types.js +0 -0
- package/esm/MultiCascadeTree/utils.js +0 -0
- package/esm/MultiCascader/MultiCascader.d.ts +4 -4
- package/esm/MultiCascader/MultiCascader.js +6 -6
- package/esm/MultiCascader/index.d.ts +1 -0
- package/esm/MultiCascader/index.js +5 -0
- package/esm/Nav/AdaptiveNavItem.d.ts +1 -2
- package/esm/Nav/AdaptiveNavItem.js +8 -7
- package/esm/Nav/Nav.d.ts +18 -13
- package/esm/Nav/Nav.js +17 -13
- package/esm/Nav/NavContext.js +0 -0
- package/esm/Nav/NavDropdown.d.ts +5 -19
- package/esm/Nav/NavDropdown.js +10 -7
- package/esm/Nav/NavDropdownItem.d.ts +3 -3
- package/esm/Nav/NavDropdownItem.js +5 -5
- package/esm/Nav/NavDropdownToggle.d.ts +2 -3
- package/esm/Nav/NavDropdownToggle.js +3 -2
- package/esm/Nav/NavItem.d.ts +3 -3
- package/esm/Nav/NavItem.js +4 -4
- package/esm/Nav/NavMenu.js +3 -3
- package/esm/Nav/index.d.ts +12 -0
- package/esm/Nav/index.js +11 -0
- package/esm/Navbar/Navbar.d.ts +20 -17
- package/esm/Navbar/Navbar.js +31 -12
- package/esm/Navbar/NavbarBrand.d.ts +5 -1
- package/esm/Navbar/NavbarBrand.js +0 -0
- package/esm/Navbar/NavbarContent.d.ts +8 -0
- package/esm/Navbar/NavbarContent.js +8 -0
- package/esm/Navbar/NavbarContext.d.ts +9 -0
- package/esm/Navbar/NavbarContext.js +3 -0
- package/esm/Navbar/NavbarDrawer.d.ts +5 -0
- package/esm/Navbar/NavbarDrawer.js +35 -0
- package/esm/Navbar/NavbarDropdown.d.ts +6 -14
- package/esm/Navbar/NavbarDropdown.js +10 -7
- package/esm/Navbar/NavbarDropdownItem.d.ts +2 -2
- package/esm/Navbar/NavbarDropdownItem.js +6 -6
- package/esm/Navbar/NavbarDropdownToggle.d.ts +2 -3
- package/esm/Navbar/NavbarDropdownToggle.js +2 -1
- package/esm/Navbar/NavbarItem.d.ts +3 -3
- package/esm/Navbar/NavbarItem.js +4 -4
- package/esm/Navbar/NavbarToggle.d.ts +5 -0
- package/esm/Navbar/NavbarToggle.js +37 -0
- package/esm/Navbar/index.d.ts +17 -3
- package/esm/Navbar/index.js +16 -1
- package/esm/Notification/Notification.d.ts +3 -3
- package/esm/Notification/Notification.js +2 -2
- package/esm/Notification/index.d.ts +1 -0
- package/esm/Notification/index.js +5 -0
- package/esm/Pagination/LimitPicker.d.ts +3 -4
- package/esm/Pagination/LimitPicker.js +6 -5
- package/esm/Pagination/Pagination.d.ts +3 -3
- package/esm/Pagination/Pagination.js +2 -1
- package/esm/Pagination/PaginationButton.d.ts +2 -2
- package/esm/Pagination/PaginationButton.js +2 -2
- package/esm/Pagination/PaginationGroup.d.ts +1 -2
- package/esm/Pagination/PaginationGroup.js +3 -2
- package/esm/Pagination/index.d.ts +1 -2
- package/esm/Pagination/index.js +5 -0
- package/esm/Panel/AccordionButton.d.ts +1 -1
- package/esm/Panel/Panel.d.ts +2 -2
- package/esm/Panel/Panel.js +2 -1
- package/esm/Panel/PanelBody.d.ts +1 -1
- package/esm/Panel/PanelHeader.d.ts +1 -1
- package/esm/Panel/hooks/useExpanded.js +0 -0
- package/esm/Panel/index.d.ts +5 -0
- package/esm/Panel/index.js +7 -0
- package/esm/PanelGroup/PanelGroup.d.ts +1 -1
- package/esm/PanelGroup/PanelGroup.js +2 -1
- package/esm/PanelGroup/index.d.ts +2 -1
- package/esm/PanelGroup/index.js +5 -0
- package/esm/Placeholder/Placeholder.d.ts +2 -2
- package/esm/Placeholder/PlaceholderGraph.d.ts +2 -2
- package/esm/Placeholder/PlaceholderGraph.js +2 -1
- package/esm/Placeholder/PlaceholderGrid.d.ts +2 -2
- package/esm/Placeholder/PlaceholderGrid.js +2 -1
- package/esm/Placeholder/PlaceholderParagraph.d.ts +2 -2
- package/esm/Placeholder/PlaceholderParagraph.js +2 -1
- package/esm/Placeholder/index.d.ts +4 -0
- package/esm/Placeholder/index.js +8 -0
- package/esm/Popover/Popover.d.ts +2 -2
- package/esm/Popover/Popover.js +2 -1
- package/esm/Popover/index.d.ts +1 -0
- package/esm/Popover/index.js +5 -0
- package/esm/Progress/Progress.d.ts +2 -2
- package/esm/Progress/ProgressCircle.d.ts +2 -2
- package/esm/Progress/ProgressCircle.js +2 -1
- package/esm/Progress/ProgressLine.d.ts +2 -2
- package/esm/Progress/ProgressLine.js +2 -1
- package/esm/Progress/index.d.ts +3 -0
- package/esm/Progress/index.js +7 -0
- package/esm/Radio/Radio.d.ts +4 -5
- package/esm/Radio/Radio.js +2 -2
- package/esm/Radio/index.d.ts +2 -1
- package/esm/Radio/index.js +5 -0
- package/esm/RadioGroup/RadioGroup.d.ts +7 -6
- package/esm/RadioGroup/RadioGroup.js +2 -1
- package/esm/RadioGroup/index.d.ts +1 -0
- package/esm/RadioGroup/index.js +5 -0
- package/esm/RadioTile/RadioTile.d.ts +4 -3
- package/esm/RadioTile/RadioTile.js +2 -2
- package/esm/RadioTile/index.d.ts +2 -1
- package/esm/RadioTile/index.js +5 -0
- package/esm/RadioTileGroup/RadioTileGroup.d.ts +5 -6
- package/esm/RadioTileGroup/RadioTileGroup.js +2 -1
- package/esm/RadioTileGroup/index.d.ts +1 -0
- package/esm/RadioTileGroup/index.js +5 -0
- package/esm/RangeSlider/RangeSlider.d.ts +2 -8
- package/esm/RangeSlider/RangeSlider.js +2 -1
- package/esm/RangeSlider/index.d.ts +1 -0
- package/esm/RangeSlider/index.js +5 -0
- package/esm/Rate/Character.d.ts +2 -2
- package/esm/Rate/Character.js +2 -1
- package/esm/Rate/Rate.d.ts +4 -4
- package/esm/Rate/Rate.js +2 -2
- package/esm/Rate/index.d.ts +1 -0
- package/esm/Rate/index.js +5 -0
- package/esm/Row/Row.d.ts +2 -2
- package/esm/Row/Row.js +2 -2
- package/esm/Row/index.d.ts +1 -0
- package/esm/Row/index.js +5 -0
- package/esm/SafeAnchor/SafeAnchor.d.ts +2 -2
- package/esm/SafeAnchor/SafeAnchor.js +2 -1
- package/esm/SafeAnchor/index.d.ts +1 -0
- package/esm/SafeAnchor/index.js +5 -0
- package/esm/Schema/Schema.js +0 -0
- package/esm/Schema/index.d.ts +2 -0
- package/esm/Schema/index.js +2 -0
- package/esm/SelectPicker/SelectPicker.d.ts +2 -4
- package/esm/SelectPicker/SelectPicker.js +2 -2
- package/esm/SelectPicker/index.d.ts +1 -0
- package/esm/SelectPicker/index.js +5 -0
- package/esm/Sidebar/Sidebar.d.ts +2 -2
- package/esm/Sidebar/Sidebar.js +2 -1
- package/esm/Sidebar/index.d.ts +1 -0
- package/esm/Sidebar/index.js +5 -0
- package/esm/Sidenav/ExpandedSidenavDropdown.d.ts +3 -3
- package/esm/Sidenav/ExpandedSidenavDropdown.js +5 -5
- package/esm/Sidenav/ExpandedSidenavDropdownItem.d.ts +3 -3
- package/esm/Sidenav/ExpandedSidenavDropdownItem.js +5 -6
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.d.ts +3 -3
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
- package/esm/Sidenav/Sidenav.d.ts +10 -10
- package/esm/Sidenav/Sidenav.js +8 -6
- package/esm/Sidenav/SidenavBody.d.ts +3 -1
- package/esm/Sidenav/SidenavBody.js +0 -0
- package/esm/Sidenav/SidenavDropdown.d.ts +7 -15
- package/esm/Sidenav/SidenavDropdown.js +11 -8
- package/esm/Sidenav/SidenavDropdownCollapse.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownItem.d.ts +3 -3
- package/esm/Sidenav/SidenavDropdownItem.js +2 -2
- package/esm/Sidenav/SidenavDropdownToggle.d.ts +2 -3
- package/esm/Sidenav/SidenavDropdownToggle.js +3 -2
- package/esm/Sidenav/SidenavHeader.d.ts +3 -1
- package/esm/Sidenav/SidenavHeader.js +0 -0
- package/esm/Sidenav/SidenavItem.d.ts +3 -3
- package/esm/Sidenav/SidenavItem.js +2 -2
- package/esm/Sidenav/SidenavToggle.d.ts +2 -2
- package/esm/Sidenav/SidenavToggle.js +3 -2
- package/esm/Sidenav/index.d.ts +15 -1
- package/esm/Sidenav/index.js +13 -0
- package/esm/Slider/Graduated.d.ts +2 -2
- package/esm/Slider/Graduated.js +3 -2
- package/esm/Slider/Handle.d.ts +2 -2
- package/esm/Slider/Handle.js +3 -3
- package/esm/Slider/Mark.d.ts +2 -2
- package/esm/Slider/Mark.js +2 -1
- package/esm/Slider/ProgressBar.d.ts +2 -2
- package/esm/Slider/ProgressBar.js +2 -1
- package/esm/Slider/Slider.d.ts +1 -1
- package/esm/Slider/Slider.js +2 -1
- package/esm/Slider/index.d.ts +1 -0
- package/esm/Slider/index.js +5 -0
- package/esm/Slider/useDrag.js +0 -0
- package/esm/Slider/utils.js +0 -0
- package/esm/Stack/HStack.d.ts +4 -6
- package/esm/Stack/HStack.js +6 -3
- package/esm/Stack/Stack.d.ts +4 -5
- package/esm/Stack/Stack.js +6 -4
- package/esm/Stack/VStack.d.ts +4 -6
- package/esm/Stack/VStack.js +6 -3
- package/esm/Stack/index.d.ts +3 -2
- package/esm/Stack/index.js +7 -2
- package/esm/Stat/Stat.d.ts +14 -14
- package/esm/Stat/Stat.js +10 -7
- package/esm/Stat/StatHelpText.d.ts +4 -1
- package/esm/Stat/StatHelpText.js +0 -0
- package/esm/Stat/StatLabel.d.ts +3 -3
- package/esm/Stat/StatLabel.js +2 -1
- package/esm/Stat/StatTrend.d.ts +3 -3
- package/esm/Stat/StatTrend.js +2 -1
- package/esm/Stat/StatValue.d.ts +3 -3
- package/esm/Stat/StatValue.js +2 -1
- package/esm/Stat/StatValueUnit.d.ts +4 -1
- package/esm/Stat/StatValueUnit.js +0 -0
- package/esm/Stat/index.d.ts +11 -0
- package/esm/Stat/index.js +10 -0
- package/esm/StatGroup/StatGroup.d.ts +2 -2
- package/esm/StatGroup/StatGroup.js +2 -2
- package/esm/StatGroup/index.d.ts +1 -0
- package/esm/StatGroup/index.js +5 -0
- package/esm/Steps/StepItem.d.ts +2 -2
- package/esm/Steps/StepItem.js +2 -1
- package/esm/Steps/Steps.d.ts +4 -6
- package/esm/Steps/Steps.js +7 -4
- package/esm/Steps/index.d.ts +2 -0
- package/esm/Steps/index.js +6 -0
- package/esm/Table/TableCell.js +0 -0
- package/esm/Table/TableColumn.js +0 -0
- package/esm/Table/TableColumnGroup.js +0 -0
- package/esm/Table/TableHeaderCell.js +0 -0
- package/esm/Table/index.d.ts +5 -0
- package/esm/Table/index.js +9 -0
- package/esm/Tabs/Tab.d.ts +1 -1
- package/esm/Tabs/TabPanel.d.ts +3 -4
- package/esm/Tabs/TabPanel.js +2 -1
- package/esm/Tabs/Tabs.d.ts +4 -6
- package/esm/Tabs/Tabs.js +6 -4
- package/esm/Tabs/index.d.ts +3 -0
- package/esm/Tabs/index.js +6 -0
- package/esm/Tag/Tag.d.ts +2 -2
- package/esm/Tag/Tag.js +2 -2
- package/esm/Tag/index.d.ts +1 -0
- package/esm/Tag/index.js +5 -0
- package/esm/TagGroup/TagGroup.d.ts +3 -1
- package/esm/TagGroup/TagGroup.js +0 -0
- package/esm/TagGroup/index.d.ts +1 -0
- package/esm/TagGroup/index.js +5 -0
- package/esm/TagInput/TagInput.d.ts +10 -0
- package/esm/TagInput/TagInput.js +52 -0
- package/esm/TagInput/index.d.ts +3 -10
- package/esm/TagInput/index.js +6 -49
- package/esm/TagPicker/TagPicker.d.ts +18 -0
- package/esm/TagPicker/TagPicker.js +38 -0
- package/esm/TagPicker/index.d.ts +3 -18
- package/esm/TagPicker/index.js +6 -35
- package/esm/Text/Text.d.ts +5 -3
- package/esm/Text/Text.js +7 -7
- package/esm/Text/index.d.ts +1 -0
- package/esm/Text/index.js +5 -0
- package/esm/TimePicker/TimePicker.d.ts +3 -4
- package/esm/TimePicker/TimePicker.js +2 -1
- package/esm/TimePicker/index.d.ts +1 -0
- package/esm/TimePicker/index.js +5 -0
- package/esm/TimeRangePicker/TimeRangePicker.d.ts +5 -5
- package/esm/TimeRangePicker/TimeRangePicker.js +2 -1
- package/esm/TimeRangePicker/index.d.ts +1 -0
- package/esm/TimeRangePicker/index.js +5 -0
- package/esm/Timeline/Timeline.d.ts +6 -8
- package/esm/Timeline/Timeline.js +8 -6
- package/esm/Timeline/TimelineItem.d.ts +2 -2
- package/esm/Timeline/TimelineItem.js +2 -1
- package/esm/Timeline/index.d.ts +2 -0
- package/esm/Timeline/index.js +6 -0
- package/esm/Toggle/Toggle.d.ts +4 -4
- package/esm/Toggle/Toggle.js +2 -2
- package/esm/Toggle/index.d.ts +1 -0
- package/esm/Toggle/index.js +5 -0
- package/esm/Tooltip/Tooltip.d.ts +2 -2
- package/esm/Tooltip/Tooltip.js +2 -1
- package/esm/Tooltip/index.d.ts +1 -0
- package/esm/Tooltip/index.js +5 -0
- package/esm/Tree/IndentLine.js +0 -0
- package/esm/Tree/Tree.d.ts +3 -4
- package/esm/Tree/Tree.js +2 -1
- package/esm/Tree/TreeNode.d.ts +2 -2
- package/esm/Tree/TreeNode.js +3 -3
- package/esm/Tree/TreeNodeToggle.js +0 -0
- package/esm/Tree/TreeView.d.ts +5 -4
- package/esm/Tree/TreeView.js +2 -1
- package/esm/Tree/hooks/useExpandTree.js +0 -0
- package/esm/Tree/hooks/useFlattenTree.js +10 -8
- package/esm/Tree/hooks/useForceUpdate.js +0 -0
- package/esm/Tree/hooks/useTreeDrag.js +0 -0
- package/esm/Tree/hooks/useTreeNodeProps.js +0 -0
- package/esm/Tree/hooks/useTreeWithChildren.js +0 -0
- package/esm/Tree/hooks/useVirtualizedTreeData.js +0 -0
- package/esm/Tree/index.d.ts +2 -0
- package/esm/Tree/index.js +5 -0
- package/esm/Tree/types.d.ts +1 -0
- package/esm/Tree/utils/flattenTree.js +0 -0
- package/esm/Tree/utils/focusableTree.js +0 -0
- package/esm/Tree/utils/formatNodeRefKey.js +0 -0
- package/esm/Tree/utils/getExpandItemValues.js +0 -0
- package/esm/Tree/utils/getNodeParentKeys.js +0 -0
- package/esm/Tree/utils/getTreeActiveNode.js +0 -0
- package/esm/Tree/utils/hasVisibleChildren.js +0 -0
- package/esm/Tree/utils/indentTreeNode.js +0 -0
- package/esm/Tree/utils/index.js +0 -0
- package/esm/Tree/utils/isExpand.js +0 -0
- package/esm/Tree/utils/isSearching.js +0 -0
- package/esm/Tree/utils/treeKeyboardInteractions.js +0 -0
- package/esm/TreePicker/TreePicker.d.ts +2 -2
- package/esm/TreePicker/TreePicker.js +2 -2
- package/esm/TreePicker/hooks/useFocusState.js +0 -0
- package/esm/TreePicker/index.d.ts +1 -0
- package/esm/TreePicker/index.js +5 -0
- package/esm/Uploader/UploadFileItem.d.ts +1 -1
- package/esm/Uploader/UploadFileItem.js +2 -1
- package/esm/Uploader/UploadTrigger.d.ts +1 -5
- package/esm/Uploader/UploadTrigger.js +2 -1
- package/esm/Uploader/Uploader.d.ts +5 -1
- package/esm/Uploader/Uploader.js +15 -15
- package/esm/Uploader/index.d.ts +2 -1
- package/esm/Uploader/index.js +5 -0
- package/esm/Uploader/utils/previewFile.js +0 -0
- package/esm/VisuallyHidden/VisuallyHidden.d.ts +4 -1
- package/esm/VisuallyHidden/VisuallyHidden.js +0 -0
- package/esm/VisuallyHidden/index.d.ts +1 -0
- package/esm/VisuallyHidden/index.js +5 -0
- package/esm/Whisper/index.d.ts +1 -0
- package/esm/Whisper/index.js +5 -0
- package/esm/global.d.ts +0 -0
- package/esm/index.d.ts +109 -203
- package/esm/index.js +124 -104
- package/esm/internals/CloseButton/CloseButton.d.ts +2 -2
- package/esm/internals/CloseButton/CloseButton.js +13 -1
- package/esm/internals/CloseButton/index.js +0 -0
- package/esm/internals/Disclosure/DisclosureButton.js +0 -0
- package/esm/internals/Disclosure/DisclosureContent.js +0 -0
- package/esm/internals/Disclosure/DisclosureContext.js +0 -0
- package/esm/internals/Disclosure/index.js +0 -0
- package/esm/internals/Disclosure/useDisclosureContext.js +0 -0
- package/esm/internals/Menu/MenuContext.js +0 -0
- package/esm/internals/Menu/index.js +0 -0
- package/esm/internals/Overlay/Modal.d.ts +2 -2
- package/esm/internals/Overlay/Modal.js +4 -4
- package/esm/internals/Overlay/ModalManager.js +0 -0
- package/esm/internals/Overlay/Overlay.d.ts +2 -1
- package/esm/internals/Overlay/Overlay.js +2 -2
- package/esm/internals/Overlay/OverlayContext.js +0 -0
- package/esm/internals/Overlay/Position.d.ts +2 -1
- package/esm/internals/Overlay/Position.js +1 -1
- package/esm/internals/Overlay/index.js +0 -0
- package/esm/internals/Overlay/positionUtils.d.ts +2 -7
- package/esm/internals/Overlay/types.d.ts +6 -0
- package/esm/internals/Overlay/types.js +2 -0
- package/esm/internals/Picker/ListCheckItem.d.ts +2 -2
- package/esm/internals/Picker/ListCheckItem.js +4 -3
- package/esm/internals/Picker/ListItem.d.ts +2 -2
- package/esm/internals/Picker/ListItem.js +3 -2
- package/esm/internals/Picker/ListItemGroup.js +0 -0
- package/esm/internals/Picker/PickerIndicator.js +0 -0
- package/esm/internals/Picker/PickerLabel.js +0 -0
- package/esm/internals/Picker/PickerPopup.d.ts +2 -2
- package/esm/internals/Picker/PickerPopup.js +2 -2
- package/esm/internals/Picker/PickerToggle.d.ts +4 -4
- package/esm/internals/Picker/PickerToggle.js +5 -5
- package/esm/internals/Picker/SelectedElement.js +0 -0
- package/esm/internals/Picker/ToggleButton.js +0 -0
- package/esm/internals/Picker/hooks/index.js +0 -0
- package/esm/internals/Picker/hooks/useCombobox.js +0 -0
- package/esm/internals/Picker/hooks/usePickerRef.js +0 -0
- package/esm/internals/Picker/hooks/useSearch.js +0 -0
- package/esm/internals/Picker/hooks/useToggleKeyDownEvent.js +0 -0
- package/esm/internals/Picker/index.d.ts +4 -5
- package/esm/internals/Picker/index.js +7 -3
- package/esm/internals/Picker/types.d.ts +1 -6
- package/esm/internals/Picker/utils.js +0 -0
- package/esm/internals/Plaintext/Plaintext.d.ts +2 -2
- package/esm/internals/Plaintext/Plaintext.js +2 -1
- package/esm/internals/Plaintext/index.js +0 -0
- package/esm/internals/Ripple/Ripple.d.ts +1 -1
- package/esm/internals/Ripple/Ripple.js +2 -2
- package/esm/internals/Ripple/index.js +0 -0
- package/esm/internals/ScrollView/ScrollView.d.ts +2 -2
- package/esm/internals/ScrollView/ScrollView.js +2 -2
- package/esm/internals/ScrollView/hooks/useScrollState.js +0 -0
- package/esm/internals/ScrollView/index.js +0 -0
- package/esm/internals/SearchBox/SearchBox.d.ts +2 -2
- package/esm/internals/SearchBox/SearchBox.js +3 -2
- package/esm/internals/SearchBox/index.js +0 -0
- package/esm/internals/Tree/TreeProvider.js +0 -0
- package/esm/internals/Tree/TreeView.d.ts +1 -1
- package/esm/internals/Tree/TreeView.js +3 -2
- package/esm/internals/Tree/index.js +0 -0
- package/esm/internals/Tree/types.js +0 -0
- package/esm/internals/Tree/utils/filterNodesOfTree.js +0 -0
- package/esm/internals/Tree/utils/findNodeOfTree.js +0 -0
- package/esm/internals/Tree/utils/getParentMap.js +0 -0
- package/esm/internals/Tree/utils/index.js +0 -0
- package/esm/internals/Windowing/List.d.ts +3 -3
- package/esm/internals/Windowing/List.js +3 -2
- package/esm/internals/Windowing/index.js +0 -0
- package/esm/internals/constants/index.js +0 -0
- package/esm/internals/constants/statusIcons.js +0 -0
- package/esm/internals/hooks/index.js +0 -0
- package/esm/internals/hooks/useClickOutside.js +0 -0
- package/esm/internals/hooks/useControlled.js +0 -0
- package/esm/internals/hooks/useElementResize.js +0 -0
- package/esm/internals/hooks/useEnsuredRef.js +0 -0
- package/esm/internals/hooks/useEventCallback.js +0 -0
- package/esm/internals/hooks/useEventListener.js +0 -0
- package/esm/internals/hooks/useFocus.js +0 -0
- package/esm/internals/hooks/useFocusVirtualListItem.js +0 -0
- package/esm/internals/hooks/useInternalId.js +0 -0
- package/esm/internals/hooks/useIsMounted.js +0 -0
- package/esm/internals/hooks/useIsomorphicLayoutEffect.js +0 -0
- package/esm/internals/hooks/useMap.js +0 -0
- package/esm/internals/hooks/useMount.js +0 -0
- package/esm/internals/hooks/useRootClose.js +0 -0
- package/esm/internals/hooks/useTimeout.js +0 -0
- package/esm/internals/hooks/useUpdatedRef.js +0 -0
- package/esm/internals/index.js +0 -0
- package/esm/internals/types/animation.d.ts +14 -0
- package/esm/internals/types/animation.js +2 -0
- package/esm/internals/types/date.d.ts +37 -0
- package/esm/internals/types/date.js +2 -0
- package/esm/internals/types/dom.d.ts +14 -0
- package/esm/internals/types/dom.js +2 -0
- package/esm/internals/types/form.d.ts +21 -0
- package/esm/internals/types/form.js +2 -0
- package/esm/internals/types/index.d.ts +7 -217
- package/esm/internals/types/index.js +7 -5
- package/esm/internals/types/picker.d.ts +128 -0
- package/esm/internals/types/picker.js +2 -0
- package/esm/internals/types/shared.d.ts +35 -0
- package/esm/internals/types/shared.js +2 -0
- package/esm/internals/types/utils.d.ts +1 -0
- package/esm/internals/utils/attachParent.js +0 -0
- package/esm/internals/utils/composeFunctions.js +0 -0
- package/esm/internals/utils/createChainedFunction.js +0 -0
- package/esm/internals/utils/createComponent.d.ts +4 -4
- package/esm/internals/utils/createComponent.js +2 -1
- package/esm/internals/utils/date/extractTimeFormat.js +0 -0
- package/esm/internals/utils/date/formatCheck.js +0 -0
- package/esm/internals/utils/date/getWeekKeys.js +0 -0
- package/esm/internals/utils/date/omitHideDisabledProps.js +0 -0
- package/esm/internals/utils/date/reverseDateRangeOmitTime.js +0 -0
- package/esm/internals/utils/date/types.js +0 -0
- package/esm/internals/utils/date/useDateMode.js +0 -0
- package/esm/internals/utils/deprecateComponent.js +0 -0
- package/esm/internals/utils/dom.js +0 -0
- package/esm/internals/utils/events.js +0 -0
- package/esm/internals/utils/forwardRef.d.ts +10 -0
- package/esm/internals/utils/forwardRef.js +18 -0
- package/esm/internals/utils/getDataGroupBy.js +0 -0
- package/esm/internals/utils/getStringLength.js +0 -0
- package/esm/internals/utils/guid.js +0 -0
- package/esm/internals/utils/htmlPropsUtils.js +0 -0
- package/esm/internals/utils/index.d.ts +2 -1
- package/esm/internals/utils/index.js +2 -1
- package/esm/internals/utils/isOneOf.js +0 -0
- package/esm/internals/utils/mergeRefs.js +0 -0
- package/esm/internals/utils/placementPolyfill.js +0 -0
- package/esm/internals/utils/prefix.js +0 -0
- package/esm/internals/utils/safeSetSelection.js +0 -0
- package/esm/internals/utils/shallowEqual.js +0 -0
- package/esm/internals/utils/stringifyReactNode.js +0 -0
- package/esm/internals/utils/tplTransform.js +0 -0
- package/esm/internals/utils/warnOnce.js +0 -0
- package/esm/locales/index.js +0 -0
- package/esm/toaster/ToastContainer.d.ts +2 -2
- package/esm/toaster/ToastContainer.js +2 -2
- package/esm/toaster/ToastContext.js +0 -0
- package/esm/toaster/hooks/useDelayedClosure.js +0 -0
- package/esm/toaster/index.d.ts +1 -0
- package/esm/toaster/index.js +5 -0
- package/esm/useBreakpointValue/index.d.ts +1 -0
- package/esm/useBreakpointValue/index.js +3 -0
- package/esm/useBreakpointValue/useBreakpointValue.js +0 -0
- package/esm/useMediaQuery/index.d.ts +1 -0
- package/esm/useMediaQuery/index.js +5 -0
- package/esm/useToaster/index.d.ts +1 -0
- package/esm/useToaster/index.js +3 -0
- package/esm/useToaster/useToaster.js +0 -0
- package/internals/CloseButton/styles/index.less +0 -0
- package/internals/Picker/styles/mixin.less +5 -0
- package/internals/Ripple/styles/index.less +0 -0
- package/internals/Ripple/styles/mixins.less +0 -0
- package/internals/ScrollView/styles/index.less +0 -0
- package/internals/SearchBox/styles/index.less +0 -0
- package/package.json +1 -1
- package/styles/color-modes.less +0 -0
- package/styles/colors/dark.less +0 -0
- package/styles/colors/high-contrast.less +0 -0
- package/styles/colors/light.less +0 -0
- package/styles/index.less +0 -0
- package/styles/mixins/color-modes.less +0 -0
- package/styles/mixins/combobox.less +0 -0
- package/styles/mixins/listbox.less +0 -0
- package/styles/normalize.less +0 -0
- package/styles/plugins/palette.js +0 -0
- package/styles/typography.less +0 -5
- package/styles/variables.less +3 -4
- package/toaster/styles/index.css +0 -0
- package/toaster/styles/index.less +0 -0
- package/useToaster/styles/index.css +0 -0
- package/useToaster/styles/index.less +0 -0
- package/cjs/Navbar/NavbarBody.d.ts +0 -4
- package/cjs/Navbar/NavbarBody.js +0 -10
- package/cjs/Navbar/NavbarHeader.d.ts +0 -4
- package/cjs/Navbar/NavbarHeader.js +0 -10
- package/esm/Navbar/NavbarBody.d.ts +0 -4
- package/esm/Navbar/NavbarBody.js +0 -6
- package/esm/Navbar/NavbarHeader.d.ts +0 -4
- package/esm/Navbar/NavbarHeader.js +0 -6
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type SelectPickerProps } from '../SelectPicker';
|
|
3
2
|
import { PaginationLocale } from '../locales';
|
|
4
|
-
import { OnChangeCallback,
|
|
3
|
+
import type { OnChangeCallback, SizeType } from '../internals/types';
|
|
5
4
|
interface LimitPickerProps extends Omit<SelectPickerProps<any>, 'locale' | 'disabled' | 'data'> {
|
|
6
5
|
disabled?: boolean | ((eventKey: number | string) => boolean);
|
|
7
6
|
limitOptions: number[];
|
|
8
7
|
locale: PaginationLocale;
|
|
9
8
|
limit: number;
|
|
10
|
-
size?:
|
|
9
|
+
size?: SizeType;
|
|
11
10
|
prefix: (input: string) => string;
|
|
12
11
|
onChangeLimit: OnChangeCallback<any>;
|
|
13
12
|
}
|
|
14
|
-
declare const LimitPicker: (
|
|
13
|
+
declare const LimitPicker: import("../internals/types").InternalRefForwardingComponent<"div", LimitPickerProps, never> & Record<string, never>;
|
|
15
14
|
export default LimitPicker;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React, { useRef } from 'react';
|
|
4
4
|
import SelectPicker from "../SelectPicker/index.js";
|
|
5
|
-
import { tplTransform } from "../internals/utils/index.js";
|
|
6
|
-
const LimitPicker = props => {
|
|
5
|
+
import { forwardRef, mergeRefs, tplTransform } from "../internals/utils/index.js";
|
|
6
|
+
const LimitPicker = forwardRef((props, ref) => {
|
|
7
7
|
const {
|
|
8
|
+
as: Component = 'div',
|
|
8
9
|
disabled,
|
|
9
10
|
limitOptions,
|
|
10
11
|
locale,
|
|
@@ -22,9 +23,9 @@ const LimitPicker = props => {
|
|
|
22
23
|
label: locale.limit && tplTransform(locale.limit, item)
|
|
23
24
|
};
|
|
24
25
|
});
|
|
25
|
-
return /*#__PURE__*/React.createElement(
|
|
26
|
+
return /*#__PURE__*/React.createElement(Component, {
|
|
26
27
|
className: prefix('limit'),
|
|
27
|
-
ref: containerRef
|
|
28
|
+
ref: mergeRefs(containerRef, ref)
|
|
28
29
|
}, /*#__PURE__*/React.createElement(SelectPicker, _extends({}, rest, {
|
|
29
30
|
size: size,
|
|
30
31
|
cleanable: false,
|
|
@@ -39,5 +40,5 @@ const LimitPicker = props => {
|
|
|
39
40
|
disabled: disabledPicker,
|
|
40
41
|
container: () => containerRef.current
|
|
41
42
|
})));
|
|
42
|
-
};
|
|
43
|
+
});
|
|
43
44
|
export default LimitPicker;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { WithAsProps, SizeType } from '../internals/types';
|
|
3
3
|
import type { PaginationLocale } from '../locales';
|
|
4
4
|
export interface PaginationProps extends WithAsProps {
|
|
5
5
|
/** Current page number */
|
|
@@ -29,7 +29,7 @@ export interface PaginationProps extends WithAsProps {
|
|
|
29
29
|
/** Custom locale */
|
|
30
30
|
locale?: PaginationLocale;
|
|
31
31
|
/** A pagination can have different sizes */
|
|
32
|
-
size?:
|
|
32
|
+
size?: SizeType;
|
|
33
33
|
/** callback function for pagination clicked */
|
|
34
34
|
onSelect?: (eventKey: string | number, event: React.MouseEvent) => void;
|
|
35
35
|
}
|
|
@@ -38,5 +38,5 @@ export interface PaginationProps extends WithAsProps {
|
|
|
38
38
|
*
|
|
39
39
|
* @see https://rsuitejs.com/components/pagination
|
|
40
40
|
*/
|
|
41
|
-
declare const Pagination:
|
|
41
|
+
declare const Pagination: import("../internals/types").InternalRefForwardingComponent<"div", PaginationProps, never> & Record<string, never>;
|
|
42
42
|
export default Pagination;
|
|
@@ -7,6 +7,7 @@ import PageTopIcon from '@rsuite/icons/PageTop';
|
|
|
7
7
|
import PageNextIcon from '@rsuite/icons/PageNext';
|
|
8
8
|
import PageEndIcon from '@rsuite/icons/PageEnd';
|
|
9
9
|
import PaginationButton from "./PaginationButton.js";
|
|
10
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
10
11
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
11
12
|
import { useCustom } from "../CustomProvider/index.js";
|
|
12
13
|
const PAGINATION_ICONS = {
|
|
@@ -21,7 +22,7 @@ const PAGINATION_ICONS = {
|
|
|
21
22
|
*
|
|
22
23
|
* @see https://rsuitejs.com/components/pagination
|
|
23
24
|
*/
|
|
24
|
-
const Pagination =
|
|
25
|
+
const Pagination = forwardRef((props, ref) => {
|
|
25
26
|
const {
|
|
26
27
|
propsWithDefaults
|
|
27
28
|
} = useCustom('Pagination', props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WithAsProps
|
|
2
|
+
import type { WithAsProps } from '../internals/types';
|
|
3
3
|
export interface PaginationButtonProps<T = number | string> extends WithAsProps, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onSelect'> {
|
|
4
4
|
/** The value of the current option */
|
|
5
5
|
eventKey: T;
|
|
@@ -14,5 +14,5 @@ export interface PaginationButtonProps<T = number | string> extends WithAsProps,
|
|
|
14
14
|
/** Select the callback function for the current option */
|
|
15
15
|
onSelect?: (eventKey: T, event: React.MouseEvent) => void;
|
|
16
16
|
}
|
|
17
|
-
declare const PaginationButton:
|
|
17
|
+
declare const PaginationButton: import("../internals/types").InternalRefForwardingComponent<"button", PaginationButtonProps<string | number>, never> & Record<string, never>;
|
|
18
18
|
export default PaginationButton;
|
|
@@ -3,8 +3,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Ripple from "../internals/Ripple/index.js";
|
|
5
5
|
import { useClassNames, useEventCallback } from "../internals/hooks/index.js";
|
|
6
|
-
import { createChainedFunction } from "../internals/utils/index.js";
|
|
7
|
-
const PaginationButton =
|
|
6
|
+
import { forwardRef, createChainedFunction } from "../internals/utils/index.js";
|
|
7
|
+
const PaginationButton = forwardRef((props, ref) => {
|
|
8
8
|
const {
|
|
9
9
|
as: Component = 'button',
|
|
10
10
|
active,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationProps } from './Pagination';
|
|
2
|
-
import type { RsRefForwardingComponent } from '../internals/types';
|
|
3
2
|
/**
|
|
4
3
|
* The layout of the paging component.
|
|
5
4
|
*/
|
|
@@ -43,5 +42,5 @@ export interface PaginationGroupProps extends PaginationProps {
|
|
|
43
42
|
*
|
|
44
43
|
* @see https://rsuitejs.com/components/pagination
|
|
45
44
|
*/
|
|
46
|
-
declare const PaginationGroup:
|
|
45
|
+
declare const PaginationGroup: import("../internals/types").InternalRefForwardingComponent<"div", PaginationGroupProps, never> & Record<string, never>;
|
|
47
46
|
export default PaginationGroup;
|
|
@@ -7,7 +7,7 @@ import Divider from "../Divider/index.js";
|
|
|
7
7
|
import Input from "../Input/index.js";
|
|
8
8
|
import LimitPicker from "./LimitPicker.js";
|
|
9
9
|
import { useClassNames, useControlled, useEventCallback } from "../internals/hooks/index.js";
|
|
10
|
-
import { tplTransform } from "../internals/utils/index.js";
|
|
10
|
+
import { forwardRef, tplTransform } from "../internals/utils/index.js";
|
|
11
11
|
import { useCustom } from "../CustomProvider/index.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -22,7 +22,7 @@ const defaultLimitOptions = [30, 50, 100];
|
|
|
22
22
|
*
|
|
23
23
|
* @see https://rsuitejs.com/components/pagination
|
|
24
24
|
*/
|
|
25
|
-
const PaginationGroup =
|
|
25
|
+
const PaginationGroup = forwardRef((props, ref) => {
|
|
26
26
|
const {
|
|
27
27
|
as: Component = 'div',
|
|
28
28
|
activePage: activePageProp,
|
|
@@ -117,6 +117,7 @@ const PaginationGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
117
117
|
className: classNames(prefix('skip'))
|
|
118
118
|
}, locale.skip && tplTransform(locale.skip, /*#__PURE__*/React.createElement(Input, {
|
|
119
119
|
size: size,
|
|
120
|
+
disabled: typeof disabled === 'function' ? disabled('skip') : Boolean(disabled),
|
|
120
121
|
onBlur: handleInputBlur,
|
|
121
122
|
onPressEnter: handleInputPressEnter
|
|
122
123
|
})));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import PaginationGroup from './PaginationGroup';
|
|
2
2
|
export type { PaginationGroupProps as PaginationProps } from './PaginationGroup';
|
|
3
|
-
export
|
|
4
|
-
export type { PaginationButtonProps } from './PaginationButton';
|
|
3
|
+
export { PaginationGroup as Pagination };
|
|
5
4
|
export default PaginationGroup;
|
package/esm/Pagination/index.js
CHANGED
package/esm/Panel/Panel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AnimationEventProps,
|
|
2
|
+
import type { AnimationEventProps, WithAsProps } from '../internals/types';
|
|
3
3
|
export interface PanelProps<T = string | number> extends WithAsProps, AnimationEventProps {
|
|
4
4
|
/**
|
|
5
5
|
* Show border
|
|
@@ -70,5 +70,5 @@ export interface PanelProps<T = string | number> extends WithAsProps, AnimationE
|
|
|
70
70
|
* The `Panel` component is used to display content that can be collapsed.
|
|
71
71
|
* @see https://rsuitejs.com/components/panel
|
|
72
72
|
*/
|
|
73
|
-
declare const Panel:
|
|
73
|
+
declare const Panel: import("../internals/types").InternalRefForwardingComponent<"div", PanelProps<string | number>, never> & Record<string, never>;
|
|
74
74
|
export default Panel;
|
package/esm/Panel/Panel.js
CHANGED
|
@@ -4,6 +4,7 @@ import React, { useContext } from 'react';
|
|
|
4
4
|
import PanelHeader from "./PanelHeader.js";
|
|
5
5
|
import PanelBody from "./PanelBody.js";
|
|
6
6
|
import useExpanded from "./hooks/useExpanded.js";
|
|
7
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
7
8
|
import { useClassNames, useUniqueId, useEventCallback } from "../internals/hooks/index.js";
|
|
8
9
|
import { useCustom } from "../CustomProvider/index.js";
|
|
9
10
|
import { PanelGroupContext } from "../PanelGroup/index.js";
|
|
@@ -11,7 +12,7 @@ import { PanelGroupContext } from "../PanelGroup/index.js";
|
|
|
11
12
|
* The `Panel` component is used to display content that can be collapsed.
|
|
12
13
|
* @see https://rsuitejs.com/components/panel
|
|
13
14
|
*/
|
|
14
|
-
const Panel =
|
|
15
|
+
const Panel = forwardRef((props, ref) => {
|
|
15
16
|
const {
|
|
16
17
|
propsWithDefaults
|
|
17
18
|
} = useCustom('Panel', props);
|
package/esm/Panel/PanelBody.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithAsProps, AnimationEventProps } from '../internals/types';
|
|
3
|
-
interface PanelBodyProps extends WithAsProps, AnimationEventProps, React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
export interface PanelBodyProps extends WithAsProps, AnimationEventProps, React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
collapsible?: boolean;
|
|
5
5
|
expanded?: boolean;
|
|
6
6
|
bodyFill?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithAsProps } from '../internals/types';
|
|
3
|
-
interface PanelHeaderProps extends WithAsProps, React.HTMLAttributes<HTMLHeadingElement> {
|
|
3
|
+
export interface PanelHeaderProps extends WithAsProps, React.HTMLAttributes<HTMLHeadingElement> {
|
|
4
4
|
caretAs?: React.ElementType;
|
|
5
5
|
collapsible?: boolean;
|
|
6
6
|
disabled?: boolean;
|
|
File without changes
|
package/esm/Panel/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import Panel from './Panel';
|
|
2
|
+
import PanelBody from './PanelBody';
|
|
3
|
+
import PanelHeader from './PanelHeader';
|
|
2
4
|
export type { PanelProps } from './Panel';
|
|
5
|
+
export type { PanelBodyProps } from './PanelBody';
|
|
6
|
+
export type { PanelHeaderProps } from './PanelHeader';
|
|
7
|
+
export { Panel, PanelBody, PanelHeader };
|
|
3
8
|
export default Panel;
|
package/esm/Panel/index.js
CHANGED
|
@@ -25,5 +25,5 @@ export declare const PanelGroupContext: React.Context<PanelGroupContext>;
|
|
|
25
25
|
* The `PanelGroup` component is used to display content that can be collapsed.
|
|
26
26
|
* @see https://rsuitejs.com/components/panel
|
|
27
27
|
*/
|
|
28
|
-
declare const PanelGroup:
|
|
28
|
+
declare const PanelGroup: import("../internals/types").InternalRefForwardingComponent<"div", PanelGroupProps<KeyType>, never> & Record<string, never>;
|
|
29
29
|
export default PanelGroup;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
4
5
|
import { useClassNames, useControlled, useEventCallback } from "../internals/hooks/index.js";
|
|
5
6
|
import { useCustom } from "../CustomProvider/index.js";
|
|
6
7
|
export const PanelGroupContext = /*#__PURE__*/React.createContext({});
|
|
@@ -9,7 +10,7 @@ export const PanelGroupContext = /*#__PURE__*/React.createContext({});
|
|
|
9
10
|
* The `PanelGroup` component is used to display content that can be collapsed.
|
|
10
11
|
* @see https://rsuitejs.com/components/panel
|
|
11
12
|
*/
|
|
12
|
-
const PanelGroup =
|
|
13
|
+
const PanelGroup = forwardRef((props, ref) => {
|
|
13
14
|
const {
|
|
14
15
|
propsWithDefaults
|
|
15
16
|
} = useCustom('PanelGroup', props);
|
package/esm/PanelGroup/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PlaceholderGraph from './PlaceholderGraph';
|
|
2
2
|
import PlaceholderGrid from './PlaceholderGrid';
|
|
3
3
|
import PlaceholderParagraph, { PlaceholderParagraphProps } from './PlaceholderParagraph';
|
|
4
|
-
import {
|
|
5
|
-
export interface Placeholder extends
|
|
4
|
+
import { InternalRefForwardingComponent } from '../internals/types';
|
|
5
|
+
export interface Placeholder extends InternalRefForwardingComponent<'div', PlaceholderParagraphProps> {
|
|
6
6
|
Paragraph: typeof PlaceholderParagraph;
|
|
7
7
|
Grid: typeof PlaceholderGrid;
|
|
8
8
|
Graph: typeof PlaceholderGraph;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithAsProps
|
|
1
|
+
import type { WithAsProps } from '../internals/types';
|
|
2
2
|
export interface PlaceholderGraphProps extends WithAsProps {
|
|
3
3
|
/**
|
|
4
4
|
* The height of the graph.
|
|
@@ -21,5 +21,5 @@ export interface PlaceholderGraphProps extends WithAsProps {
|
|
|
21
21
|
* The `Placeholder.Graph` component is used to display the loading state of the block.
|
|
22
22
|
* @see https://rsuitejs.com/components/placeholder
|
|
23
23
|
*/
|
|
24
|
-
declare const PlaceholderGraph:
|
|
24
|
+
declare const PlaceholderGraph: import("../internals/types").InternalRefForwardingComponent<"div", PlaceholderGraphProps, never> & Record<string, never>;
|
|
25
25
|
export default PlaceholderGraph;
|
|
@@ -3,11 +3,12 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
5
5
|
import { useCustom } from "../CustomProvider/index.js";
|
|
6
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
6
7
|
/**
|
|
7
8
|
* The `Placeholder.Graph` component is used to display the loading state of the block.
|
|
8
9
|
* @see https://rsuitejs.com/components/placeholder
|
|
9
10
|
*/
|
|
10
|
-
const PlaceholderGraph =
|
|
11
|
+
const PlaceholderGraph = forwardRef((props, ref) => {
|
|
11
12
|
const {
|
|
12
13
|
propsWithDefaults
|
|
13
14
|
} = useCustom('PlaceholderGraph', props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithAsProps
|
|
1
|
+
import type { WithAsProps } from '../internals/types';
|
|
2
2
|
export interface PlaceholderGridProps extends WithAsProps {
|
|
3
3
|
/**
|
|
4
4
|
* The number of rows.
|
|
@@ -37,5 +37,5 @@ export interface PlaceholderGridProps extends WithAsProps {
|
|
|
37
37
|
* The `Placeholder.Grid` component is used to display the loading state of the block.
|
|
38
38
|
* @see https://rsuitejs.com/components/placeholder
|
|
39
39
|
*/
|
|
40
|
-
declare const PlaceholderGrid:
|
|
40
|
+
declare const PlaceholderGrid: import("../internals/types").InternalRefForwardingComponent<"div", PlaceholderGridProps, never> & Record<string, never>;
|
|
41
41
|
export default PlaceholderGrid;
|
|
@@ -3,11 +3,12 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
5
5
|
import { useCustom } from "../CustomProvider/index.js";
|
|
6
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
6
7
|
/**
|
|
7
8
|
* The `Placeholder.Grid` component is used to display the loading state of the block.
|
|
8
9
|
* @see https://rsuitejs.com/components/placeholder
|
|
9
10
|
*/
|
|
10
|
-
const PlaceholderGrid =
|
|
11
|
+
const PlaceholderGrid = forwardRef((props, ref) => {
|
|
11
12
|
const {
|
|
12
13
|
propsWithDefaults
|
|
13
14
|
} = useCustom('PlaceholderGrid', props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithAsProps
|
|
1
|
+
import type { WithAsProps } from '../internals/types';
|
|
2
2
|
export interface PlaceholderParagraphProps extends WithAsProps {
|
|
3
3
|
/**
|
|
4
4
|
* The number of rows.
|
|
@@ -34,5 +34,5 @@ export interface PlaceholderParagraphProps extends WithAsProps {
|
|
|
34
34
|
* The `Placeholder.Paragraph` component is used to display the loading state of the block.
|
|
35
35
|
* @see https://rsuitejs.com/components/placeholder
|
|
36
36
|
*/
|
|
37
|
-
declare const PlaceholderParagraph:
|
|
37
|
+
declare const PlaceholderParagraph: import("../internals/types").InternalRefForwardingComponent<"div", PlaceholderParagraphProps, never> & Record<string, never>;
|
|
38
38
|
export default PlaceholderParagraph;
|
|
@@ -3,11 +3,12 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
5
5
|
import { useCustom } from "../CustomProvider/index.js";
|
|
6
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
6
7
|
/**
|
|
7
8
|
* The `Placeholder.Paragraph` component is used to display the loading state of the block.
|
|
8
9
|
* @see https://rsuitejs.com/components/placeholder
|
|
9
10
|
*/
|
|
10
|
-
const PlaceholderParagraph =
|
|
11
|
+
const PlaceholderParagraph = forwardRef((props, ref) => {
|
|
11
12
|
const {
|
|
12
13
|
propsWithDefaults
|
|
13
14
|
} = useCustom('PlaceholderParagraph', props);
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import Placeholder from './Placeholder';
|
|
2
|
+
import PlaceholderGraph from './PlaceholderGraph';
|
|
3
|
+
import PlaceholderGrid from './PlaceholderGrid';
|
|
4
|
+
import PlaceholderParagraph from './PlaceholderParagraph';
|
|
2
5
|
export type { PlaceholderGraphProps } from './PlaceholderGraph';
|
|
3
6
|
export type { PlaceholderGridProps } from './PlaceholderGrid';
|
|
4
7
|
export type { PlaceholderParagraphProps } from './PlaceholderParagraph';
|
|
8
|
+
export { Placeholder, PlaceholderParagraph, PlaceholderGrid, PlaceholderGraph };
|
|
5
9
|
export default Placeholder;
|
package/esm/Placeholder/index.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import Placeholder from "./Placeholder.js";
|
|
3
|
+
import PlaceholderGraph from "./PlaceholderGraph.js";
|
|
4
|
+
import PlaceholderGrid from "./PlaceholderGrid.js";
|
|
5
|
+
import PlaceholderParagraph from "./PlaceholderParagraph.js";
|
|
6
|
+
|
|
7
|
+
// export types
|
|
8
|
+
|
|
9
|
+
// export components
|
|
10
|
+
export { Placeholder, PlaceholderParagraph, PlaceholderGrid, PlaceholderGraph };
|
|
3
11
|
export default Placeholder;
|
package/esm/Popover/Popover.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithAsProps
|
|
2
|
+
import type { WithAsProps } from '../internals/types';
|
|
3
3
|
export interface PopoverProps extends WithAsProps {
|
|
4
4
|
/** The title of the component. */
|
|
5
5
|
title?: React.ReactNode;
|
|
@@ -14,5 +14,5 @@ export interface PopoverProps extends WithAsProps {
|
|
|
14
14
|
* The `Popover` component is used to display a popup window for a target component.
|
|
15
15
|
* @see https://rsuitejs.com/components/popover
|
|
16
16
|
*/
|
|
17
|
-
declare const Popover:
|
|
17
|
+
declare const Popover: import("../internals/types").InternalRefForwardingComponent<"div", PopoverProps, never> & Record<string, never>;
|
|
18
18
|
export default Popover;
|
package/esm/Popover/Popover.js
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
5
6
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
6
7
|
import { useCustom } from "../CustomProvider/index.js";
|
|
7
8
|
/**
|
|
8
9
|
* The `Popover` component is used to display a popup window for a target component.
|
|
9
10
|
* @see https://rsuitejs.com/components/popover
|
|
10
11
|
*/
|
|
11
|
-
const Popover =
|
|
12
|
+
const Popover = forwardRef((props, ref) => {
|
|
12
13
|
const {
|
|
13
14
|
propsWithDefaults
|
|
14
15
|
} = useCustom('Popover', props);
|
package/esm/Popover/index.d.ts
CHANGED
package/esm/Popover/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ProgressCircle from './ProgressCircle';
|
|
2
2
|
import ProgressLine, { ProgressLineProps } from './ProgressLine';
|
|
3
|
-
import {
|
|
4
|
-
export interface Progress extends
|
|
3
|
+
import { InternalRefForwardingComponent } from '../internals/types';
|
|
4
|
+
export interface Progress extends InternalRefForwardingComponent<'div', ProgressLineProps> {
|
|
5
5
|
Line: typeof ProgressLine;
|
|
6
6
|
Circle: typeof ProgressCircle;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithAsProps
|
|
1
|
+
import type { WithAsProps } from '../internals/types';
|
|
2
2
|
export interface ProgressCircleProps extends WithAsProps {
|
|
3
3
|
/** Line color */
|
|
4
4
|
strokeColor?: string;
|
|
@@ -25,5 +25,5 @@ export interface ProgressCircleProps extends WithAsProps {
|
|
|
25
25
|
* The `Progress.Circle` component is used to display the progress of current operation.
|
|
26
26
|
* @see https://rsuitejs.com/components/progress/#circle
|
|
27
27
|
*/
|
|
28
|
-
declare const ProgressCircle:
|
|
28
|
+
declare const ProgressCircle: import("../internals/types").InternalRefForwardingComponent<"div", ProgressCircleProps, never> & Record<string, never>;
|
|
29
29
|
export default ProgressCircle;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React, { useCallback } from 'react';
|
|
4
4
|
import { PROGRESS_STATUS_ICON } from "../internals/constants/statusIcons.js";
|
|
5
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
5
6
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
6
7
|
import { useCustom } from "../CustomProvider/index.js";
|
|
7
8
|
/**
|
|
8
9
|
* The `Progress.Circle` component is used to display the progress of current operation.
|
|
9
10
|
* @see https://rsuitejs.com/components/progress/#circle
|
|
10
11
|
*/
|
|
11
|
-
const ProgressCircle =
|
|
12
|
+
const ProgressCircle = forwardRef((props, ref) => {
|
|
12
13
|
const {
|
|
13
14
|
propsWithDefaults
|
|
14
15
|
} = useCustom('ProgressCircle', props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithAsProps
|
|
1
|
+
import type { WithAsProps } from '../internals/types';
|
|
2
2
|
export interface ProgressLineProps extends WithAsProps {
|
|
3
3
|
/** Line color */
|
|
4
4
|
strokeColor?: string;
|
|
@@ -21,5 +21,5 @@ export interface ProgressLineProps extends WithAsProps {
|
|
|
21
21
|
* The `Progress.Line` component is used to display the progress of current operation.
|
|
22
22
|
* @see https://rsuitejs.com/components/progress/#line
|
|
23
23
|
*/
|
|
24
|
-
declare const ProgressLine:
|
|
24
|
+
declare const ProgressLine: import("../internals/types").InternalRefForwardingComponent<"div", ProgressLineProps, never> & Record<string, never>;
|
|
25
25
|
export default ProgressLine;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { PROGRESS_STATUS_ICON } from "../internals/constants/statusIcons.js";
|
|
5
|
+
import { forwardRef } from "../internals/utils/index.js";
|
|
5
6
|
import { useClassNames } from "../internals/hooks/index.js";
|
|
6
7
|
import { useCustom } from "../CustomProvider/index.js";
|
|
7
8
|
/**
|
|
8
9
|
* The `Progress.Line` component is used to display the progress of current operation.
|
|
9
10
|
* @see https://rsuitejs.com/components/progress/#line
|
|
10
11
|
*/
|
|
11
|
-
const ProgressLine =
|
|
12
|
+
const ProgressLine = forwardRef((props, ref) => {
|
|
12
13
|
const {
|
|
13
14
|
propsWithDefaults
|
|
14
15
|
} = useCustom('ProgressLine', props);
|
package/esm/Progress/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import Progress from './Progress';
|
|
2
|
+
import ProgressCircle from './ProgressCircle';
|
|
3
|
+
import ProgressLine from './ProgressLine';
|
|
2
4
|
export type { ProgressCircleProps } from './ProgressCircle';
|
|
3
5
|
export type { ProgressLineProps } from './ProgressLine';
|
|
6
|
+
export { Progress, ProgressCircle, ProgressLine };
|
|
4
7
|
export default Progress;
|
package/esm/Progress/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import Progress from "./Progress.js";
|
|
3
|
+
import ProgressCircle from "./ProgressCircle.js";
|
|
4
|
+
import ProgressLine from "./ProgressLine.js";
|
|
5
|
+
|
|
6
|
+
// export types
|
|
7
|
+
|
|
8
|
+
// export components
|
|
9
|
+
export { Progress, ProgressCircle, ProgressLine };
|
|
3
10
|
export default Progress;
|
package/esm/Radio/Radio.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WithAsProps,
|
|
3
|
-
export
|
|
4
|
-
export interface RadioProps<T = ValueType> extends WithAsProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
2
|
+
import type { WithAsProps, ColorType } from '../internals/types';
|
|
3
|
+
export interface RadioProps<T = string | number> extends WithAsProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
4
|
/**
|
|
6
5
|
* The color of the radio when checked
|
|
7
6
|
*
|
|
8
7
|
* @version 5.56.0
|
|
9
8
|
*/
|
|
10
|
-
color?:
|
|
9
|
+
color?: ColorType;
|
|
11
10
|
/**
|
|
12
11
|
* The disable of component
|
|
13
12
|
*/
|
|
@@ -59,5 +58,5 @@ export interface RadioProps<T = ValueType> extends WithAsProps, Omit<React.HTMLA
|
|
|
59
58
|
* The `Radio` component is a simple radio button.
|
|
60
59
|
* @see https://rsuitejs.com/components/radio
|
|
61
60
|
*/
|
|
62
|
-
declare const Radio:
|
|
61
|
+
declare const Radio: import("../internals/types").InternalRefForwardingComponent<"div", RadioProps<string | number>, never> & Record<string, never>;
|
|
63
62
|
export default Radio;
|
package/esm/Radio/Radio.js
CHANGED
|
@@ -3,13 +3,13 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
3
3
|
import React, { useContext } from 'react';
|
|
4
4
|
import { RadioContext } from "../RadioGroup/RadioGroup.js";
|
|
5
5
|
import { useClassNames, useControlled, useEventCallback, useUniqueId } from "../internals/hooks/index.js";
|
|
6
|
-
import { partitionHTMLProps } from "../internals/utils/index.js";
|
|
6
|
+
import { forwardRef, partitionHTMLProps } from "../internals/utils/index.js";
|
|
7
7
|
import { useCustom } from "../CustomProvider/index.js";
|
|
8
8
|
/**
|
|
9
9
|
* The `Radio` component is a simple radio button.
|
|
10
10
|
* @see https://rsuitejs.com/components/radio
|
|
11
11
|
*/
|
|
12
|
-
const Radio =
|
|
12
|
+
const Radio = forwardRef((props, ref) => {
|
|
13
13
|
const radioContext = useContext(RadioContext);
|
|
14
14
|
const {
|
|
15
15
|
propsWithDefaults
|
package/esm/Radio/index.d.ts
CHANGED