naive-ui 2.30.8 → 2.31.0
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/dist/index.js +1362 -535
- package/dist/index.prod.js +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.js +8 -2
- package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/es/_internal/selection/src/styles/index.cssr.js +1 -0
- package/es/_mixins/use-rtl.d.ts +1 -1
- package/es/_mixins/use-rtl.js +1 -1
- package/es/_utils/env/browser.d.ts +3 -0
- package/es/_utils/env/browser.js +4 -0
- package/es/_utils/env/is-native-lazy-load.d.ts +1 -0
- package/es/_utils/env/is-native-lazy-load.js +3 -0
- package/es/affix/index.d.ts +1 -1
- package/es/affix/index.js +1 -1
- package/es/alert/index.d.ts +1 -1
- package/es/alert/index.js +1 -1
- package/es/alert/src/Alert.d.ts +1 -1
- package/es/alert/src/Alert.js +2 -2
- package/es/anchor/index.d.ts +2 -2
- package/es/anchor/index.js +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/AnchorAdapter.js +1 -1
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/anchor/src/Link.js +1 -1
- package/es/auto-complete/index.d.ts +1 -1
- package/es/auto-complete/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/auto-complete/src/AutoComplete.js +1 -1
- package/es/avatar/index.d.ts +1 -1
- package/es/avatar/index.js +1 -1
- package/es/avatar/src/Avatar.d.ts +13 -1
- package/es/avatar/src/Avatar.js +61 -8
- package/es/avatar-group/index.d.ts +1 -1
- package/es/avatar-group/index.js +1 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/avatar-group/src/AvatarGroup.js +2 -2
- package/es/back-top/index.d.ts +1 -1
- package/es/back-top/index.js +1 -1
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/back-top/src/BackTop.js +1 -1
- package/es/badge/index.d.ts +1 -1
- package/es/badge/index.js +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/badge/src/Badge.js +2 -2
- package/es/breadcrumb/index.d.ts +2 -2
- package/es/breadcrumb/index.js +2 -2
- package/es/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/es/breadcrumb/src/Breadcrumb.js +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.js +1 -1
- package/es/breadcrumb/src/styles/index.cssr.js +1 -0
- package/es/button/index.d.ts +1 -1
- package/es/button/index.js +1 -1
- package/es/button/src/Button.d.ts +13 -4
- package/es/button/src/Button.js +8 -4
- package/es/button/src/styles/index.cssr.js +1 -0
- package/es/button-group/index.d.ts +1 -1
- package/es/button-group/index.js +1 -1
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/button-group/src/ButtonGroup.js +2 -2
- package/es/calendar/index.d.ts +1 -1
- package/es/calendar/index.js +1 -1
- package/es/calendar/src/Calendar.d.ts +1 -1
- package/es/calendar/src/Calendar.js +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/card/index.js +1 -1
- package/es/card/src/Card.d.ts +2 -2
- package/es/card/src/Card.js +2 -2
- package/es/carousel/index.d.ts +1 -1
- package/es/carousel/index.js +1 -1
- package/es/carousel/src/Carousel.d.ts +1 -1
- package/es/carousel/src/Carousel.js +1 -1
- package/es/carousel/src/styles/index.cssr.js +1 -0
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/index.js +1 -1
- package/es/cascader/src/Cascader.d.ts +1 -1
- package/es/cascader/src/Cascader.js +1 -1
- package/es/cascader/src/utils.d.ts +1 -4
- package/es/cascader/src/utils.js +18 -28
- package/es/checkbox/index.d.ts +2 -2
- package/es/checkbox/index.js +2 -2
- package/es/checkbox/src/Checkbox.d.ts +1 -1
- package/es/checkbox/src/Checkbox.js +2 -2
- package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/es/checkbox/src/CheckboxGroup.js +1 -1
- package/es/checkbox/src/styles/index.cssr.js +2 -0
- package/es/code/index.d.ts +1 -1
- package/es/code/index.js +1 -1
- package/es/code/src/Code.d.ts +1 -1
- package/es/code/src/Code.js +1 -1
- package/es/collapse/index.d.ts +2 -2
- package/es/collapse/index.js +2 -2
- package/es/collapse/src/Collapse.d.ts +1 -1
- package/es/collapse/src/Collapse.js +2 -2
- package/es/collapse/src/CollapseItem.d.ts +1 -1
- package/es/collapse/src/CollapseItem.js +2 -2
- package/es/collapse-transition/index.d.ts +1 -1
- package/es/collapse-transition/index.js +1 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/es/collapse-transition/src/CollapseTransition.js +3 -3
- package/es/color-picker/index.d.ts +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.js +2 -2
- package/es/countdown/index.d.ts +2 -2
- package/es/countdown/index.js +1 -1
- package/es/countdown/src/Countdown.d.ts +9 -2
- package/es/countdown/src/Countdown.js +42 -26
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/index.js +1 -1
- package/es/data-table/src/TableParts/Body.d.ts +4 -0
- package/es/data-table/src/TableParts/Body.js +50 -34
- package/es/data-table/src/TableParts/BodyRadio.d.ts +30 -0
- package/es/data-table/src/TableParts/BodyRadio.js +30 -0
- package/es/data-table/src/TableParts/Header.js +2 -2
- package/es/data-table/src/interface.d.ts +2 -1
- package/es/data-table/src/use-check.d.ts +1 -1
- package/es/data-table/src/use-check.js +15 -3
- package/es/date-picker/index.d.ts +1 -1
- package/es/date-picker/index.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +1 -1
- package/es/date-picker/src/DatePicker.js +19 -10
- package/es/date-picker/src/panel/daterange.js +1 -1
- package/es/date-picker/src/panel/datetimerange.js +1 -1
- package/es/date-picker/src/panel/month.js +1 -1
- package/es/date-picker/src/panel/monthrange.js +1 -1
- package/es/date-picker/src/styles/index.cssr.js +4 -0
- package/es/descriptions/index.d.ts +2 -2
- package/es/descriptions/index.js +2 -2
- package/es/descriptions/src/Descriptions.d.ts +2 -2
- package/es/descriptions/src/Descriptions.js +2 -2
- package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/es/descriptions/src/DescriptionsItem.js +2 -2
- package/es/dialog/index.d.ts +2 -1
- package/es/dialog/index.js +2 -1
- package/es/dialog/src/DialogProvider.d.ts +1 -1
- package/es/dialog/src/DialogProvider.js +1 -1
- package/es/divider/index.d.ts +1 -1
- package/es/divider/index.js +1 -1
- package/es/divider/src/Divider.d.ts +1 -1
- package/es/divider/src/Divider.js +1 -1
- package/es/drawer/index.d.ts +2 -2
- package/es/drawer/index.js +2 -2
- package/es/drawer/src/Drawer.d.ts +60 -27
- package/es/drawer/src/Drawer.js +39 -18
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -0
- package/es/drawer/src/DrawerBodyWrapper.js +97 -2
- package/es/drawer/src/DrawerContent.d.ts +2 -1
- package/es/drawer/src/DrawerContent.js +1 -1
- package/es/drawer/src/interface.d.ts +2 -0
- package/es/drawer/src/styles/index.cssr.js +42 -5
- package/es/drawer/styles/light.d.ts +2 -0
- package/es/drawer/styles/light.js +3 -2
- package/es/dropdown/index.d.ts +2 -2
- package/es/dropdown/index.js +1 -1
- package/es/dropdown/src/Dropdown.d.ts +10 -2
- package/es/dropdown/src/Dropdown.js +15 -4
- package/es/dropdown/src/DropdownMenu.d.ts +3 -0
- package/es/dropdown/src/DropdownMenu.js +23 -15
- package/es/dropdown/src/DropdownOption.d.ts +5 -0
- package/es/dropdown/src/DropdownOption.js +32 -10
- package/es/dropdown/src/interface.d.ts +2 -1
- package/es/dropdown/src/styles/index.cssr.js +17 -11
- package/es/dynamic-input/index.d.ts +1 -1
- package/es/dynamic-input/index.js +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.js +2 -2
- package/es/dynamic-tags/index.d.ts +1 -1
- package/es/dynamic-tags/index.js +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/element/index.d.ts +1 -1
- package/es/element/index.js +1 -1
- package/es/element/src/Element.d.ts +1 -1
- package/es/element/src/Element.js +1 -1
- package/es/ellipsis/index.d.ts +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.js +1 -1
- package/es/empty/index.d.ts +1 -1
- package/es/empty/index.js +1 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/empty/src/Empty.js +1 -1
- package/es/form/index.d.ts +3 -3
- package/es/form/index.js +3 -3
- package/es/form/src/Form.d.ts +1 -1
- package/es/form/src/Form.js +1 -1
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/form/src/FormItemRow.js +1 -1
- package/es/form/src/styles/form-item.cssr.js +2 -0
- package/es/gradient-text/index.d.ts +1 -1
- package/es/gradient-text/index.js +1 -1
- package/es/gradient-text/src/GradientText.d.ts +1 -1
- package/es/gradient-text/src/GradientText.js +1 -1
- package/es/grid/index.d.ts +3 -3
- package/es/grid/index.js +3 -3
- package/es/grid/src/Grid.d.ts +1 -1
- package/es/grid/src/Grid.js +1 -1
- package/es/icon/index.d.ts +1 -1
- package/es/icon/index.js +1 -1
- package/es/icon/src/Icon.d.ts +1 -2
- package/es/icon/src/Icon.js +1 -1
- package/es/icon-wrapper/index.d.ts +1 -1
- package/es/icon-wrapper/index.js +1 -1
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -2
- package/es/icon-wrapper/src/IconWrapper.js +1 -1
- package/es/image/index.d.ts +2 -2
- package/es/image/index.js +2 -2
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/Image.js +17 -10
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImageGroup.js +1 -1
- package/es/image/src/styles/index.cssr.js +1 -0
- package/es/input/index.d.ts +3 -3
- package/es/input/index.js +3 -3
- package/es/input/src/Input.d.ts +1 -1
- package/es/input/src/Input.js +2 -2
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroup.js +1 -1
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/InputGroupLabel.js +1 -1
- package/es/input/src/styles/input-group-label.cssr.js +1 -0
- package/es/input/src/styles/input.cssr.js +3 -0
- package/es/input-number/index.d.ts +1 -1
- package/es/input-number/index.js +1 -1
- package/es/input-number/src/InputNumber.d.ts +1 -1
- package/es/input-number/src/InputNumber.js +2 -2
- package/es/layout/index.d.ts +4 -4
- package/es/layout/index.js +4 -4
- package/es/layout/src/Layout.d.ts +1 -1
- package/es/layout/src/Layout.js +1 -1
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutFooter.js +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutHeader.js +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/layout/src/LayoutSider.js +1 -1
- package/es/legacy-grid/index.d.ts +2 -2
- package/es/legacy-grid/index.js +2 -2
- package/es/list/index.d.ts +1 -1
- package/es/list/index.js +1 -1
- package/es/list/src/List.d.ts +1 -1
- package/es/list/src/List.js +1 -1
- package/es/loading-bar/index.d.ts +1 -1
- package/es/loading-bar/index.js +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/es/loading-bar/src/LoadingBarProvider.js +2 -2
- package/es/locales/common/ukUA.js +14 -18
- package/es/log/index.d.ts +1 -1
- package/es/log/index.js +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/src/Log.js +1 -1
- package/es/mention/index.d.ts +1 -1
- package/es/mention/index.js +1 -1
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/Mention.js +1 -1
- package/es/menu/index.d.ts +1 -1
- package/es/menu/index.js +1 -1
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/menu/src/Menu.js +1 -1
- package/es/message/index.d.ts +1 -1
- package/es/message/index.js +1 -1
- package/es/message/src/MessageProvider.d.ts +1 -1
- package/es/message/src/MessageProvider.js +1 -1
- package/es/modal/index.d.ts +1 -1
- package/es/modal/index.js +1 -1
- package/es/modal/src/Modal.d.ts +1 -1
- package/es/modal/src/Modal.js +1 -1
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/notification/index.d.ts +1 -1
- package/es/notification/index.js +1 -1
- package/es/notification/src/Notification.d.ts +1 -0
- package/es/notification/src/Notification.js +6 -2
- package/es/notification/src/NotificationContainer.js +1 -1
- package/es/notification/src/NotificationProvider.d.ts +1 -1
- package/es/notification/src/NotificationProvider.js +1 -1
- package/es/notification/src/styles/index.cssr.js +1 -3
- package/es/notification/src/styles/rtl.cssr.d.ts +2 -0
- package/es/notification/src/styles/rtl.cssr.js +22 -0
- package/es/notification/styles/index.d.ts +1 -0
- package/es/notification/styles/index.js +1 -0
- package/es/notification/styles/rtl.d.ts +2 -0
- package/es/notification/styles/rtl.js +5 -0
- package/es/number-animation/index.d.ts +1 -1
- package/es/number-animation/index.js +1 -1
- package/es/number-animation/src/NumberAnimation.d.ts +5 -1
- package/es/number-animation/src/NumberAnimation.js +5 -2
- package/es/page-header/index.d.ts +1 -1
- package/es/page-header/index.js +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/page-header/src/PageHeader.js +2 -2
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/index.js +1 -1
- package/es/pagination/src/Pagination.d.ts +1 -1
- package/es/pagination/src/Pagination.js +2 -2
- package/es/pagination/src/styles/index.cssr.js +1 -0
- package/es/popconfirm/index.d.ts +1 -1
- package/es/popconfirm/index.js +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +4 -1
- package/es/popconfirm/src/Popconfirm.js +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popover/index.js +1 -1
- package/es/popover/src/Popover.d.ts +8 -1
- package/es/popover/src/Popover.js +4 -2
- package/es/popover/src/PopoverBody.d.ts +6 -0
- package/es/popover/src/PopoverBody.js +23 -14
- package/es/popover/src/styles/index.cssr.js +19 -15
- package/es/popselect/index.d.ts +1 -1
- package/es/popselect/index.js +1 -1
- package/es/popselect/src/Popselect.d.ts +4 -1
- package/es/popselect/src/Popselect.js +1 -1
- package/es/progress/index.d.ts +1 -1
- package/es/progress/index.js +1 -1
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/progress/src/Progress.js +1 -1
- package/es/radio/index.d.ts +3 -3
- package/es/radio/index.js +3 -3
- package/es/radio/src/Radio.d.ts +25 -0
- package/es/radio/src/Radio.js +2 -1
- package/es/radio/src/RadioButton.d.ts +25 -0
- package/es/radio/src/RadioButton.js +1 -0
- package/es/radio/src/RadioGroup.d.ts +1 -1
- package/es/radio/src/RadioGroup.js +2 -2
- package/es/radio/src/styles/radio-group.cssr.js +2 -0
- package/es/radio/src/styles/radio.cssr.js +1 -0
- package/es/rate/index.d.ts +1 -1
- package/es/rate/index.js +1 -1
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/rate/src/Rate.js +1 -1
- package/es/result/index.d.ts +1 -1
- package/es/result/index.js +1 -1
- package/es/result/src/Result.d.ts +1 -1
- package/es/result/src/Result.js +1 -1
- package/es/scrollbar/index.d.ts +1 -1
- package/es/scrollbar/index.js +1 -1
- package/es/scrollbar/src/Scrollbar.d.ts +1 -1
- package/es/scrollbar/src/Scrollbar.js +1 -1
- package/es/select/index.d.ts +1 -1
- package/es/select/index.js +1 -1
- package/es/select/src/Select.d.ts +1 -1
- package/es/select/src/Select.js +1 -1
- package/es/skeleton/index.d.ts +1 -1
- package/es/skeleton/index.js +1 -1
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/skeleton/src/Skeleton.js +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/slider/index.js +1 -1
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/slider/src/Slider.js +1 -1
- package/es/slider/src/styles/index.cssr.js +1 -0
- package/es/space/index.d.ts +1 -1
- package/es/space/index.js +1 -1
- package/es/space/src/Space.d.ts +1 -1
- package/es/space/src/Space.js +2 -2
- package/es/spin/index.d.ts +1 -1
- package/es/spin/index.js +1 -1
- package/es/spin/src/Spin.d.ts +1 -1
- package/es/spin/src/Spin.js +1 -1
- package/es/spin/src/styles/index.cssr.js +1 -0
- package/es/statistic/index.d.ts +1 -1
- package/es/statistic/index.js +1 -1
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/statistic/src/Statistic.js +1 -1
- package/es/steps/index.d.ts +2 -2
- package/es/steps/index.js +2 -2
- package/es/steps/src/Step.d.ts +1 -1
- package/es/steps/src/Step.js +1 -1
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/steps/src/Steps.js +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/switch/index.js +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/switch/src/Switch.js +1 -1
- package/es/switch/src/styles/index.cssr.js +1 -0
- package/es/table/index.d.ts +1 -1
- package/es/table/index.js +1 -1
- package/es/table/src/Table.d.ts +1 -1
- package/es/table/src/Table.js +2 -2
- package/es/tabs/index.d.ts +3 -3
- package/es/tabs/index.js +3 -3
- package/es/tabs/src/Tab.d.ts +2 -2
- package/es/tabs/src/Tab.js +2 -2
- package/es/tabs/src/Tabs.d.ts +1 -1
- package/es/tabs/src/Tabs.js +1 -1
- package/es/tag/index.d.ts +1 -1
- package/es/tag/index.js +1 -1
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/tag/src/Tag.js +2 -2
- package/es/thing/index.d.ts +1 -1
- package/es/thing/index.js +1 -1
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/thing/src/Thing.js +1 -1
- package/es/time/index.d.ts +1 -1
- package/es/time/index.js +1 -1
- package/es/time/src/Time.d.ts +1 -1
- package/es/time/src/Time.js +1 -1
- package/es/time-picker/index.d.ts +1 -1
- package/es/time-picker/index.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +1 -1
- package/es/time-picker/src/TimePicker.js +1 -1
- package/es/timeline/index.d.ts +2 -2
- package/es/timeline/index.js +2 -2
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/Timeline.js +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/timeline/src/TimelineItem.js +1 -1
- package/es/tooltip/index.d.ts +1 -1
- package/es/tooltip/index.js +1 -1
- package/es/tooltip/src/Tooltip.d.ts +4 -1
- package/es/tooltip/src/Tooltip.js +1 -1
- package/es/transfer/index.d.ts +1 -1
- package/es/transfer/index.js +1 -1
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/transfer/src/Transfer.js +1 -1
- package/es/tree/index.d.ts +1 -1
- package/es/tree/index.js +1 -1
- package/es/tree/src/Tree.d.ts +19 -2
- package/es/tree/src/Tree.js +45 -19
- package/es/tree/src/TreeNode.js +21 -6
- package/es/tree/src/interface.d.ts +2 -0
- package/es/tree-select/index.d.ts +1 -1
- package/es/tree-select/index.js +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +2 -2
- package/es/tree-select/src/TreeSelect.js +2 -2
- package/es/typography/index.d.ts +7 -6
- package/es/typography/index.js +7 -6
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/a.js +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/blockquote.js +1 -1
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/create-header.js +1 -1
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/ol.js +1 -1
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/p.js +1 -1
- package/es/typography/src/text.d.ts +1 -1
- package/es/typography/src/text.js +1 -1
- package/es/typography/src/ul.d.ts +1 -1
- package/es/typography/src/ul.js +1 -1
- package/es/upload/index.d.ts +1 -1
- package/es/upload/index.js +1 -1
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/upload/src/Upload.js +1 -1
- package/es/upload/src/UploadFile.d.ts +2 -2
- package/es/upload/src/UploadFile.js +8 -4
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/index.d.ts +1 -1
- package/es/watermark/index.js +1 -1
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/es/watermark/src/Watermark.js +1 -1
- package/es/watermark/src/styles/index.cssr.js +4 -1
- package/lib/_internal/scrollbar/src/Scrollbar.js +8 -2
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
- package/lib/_internal/selection/src/styles/index.cssr.js +1 -0
- package/lib/_mixins/use-rtl.d.ts +1 -1
- package/lib/_mixins/use-rtl.js +2 -1
- package/lib/_utils/env/browser.d.ts +3 -0
- package/lib/_utils/env/browser.js +7 -0
- package/lib/_utils/env/is-native-lazy-load.d.ts +1 -0
- package/lib/_utils/env/is-native-lazy-load.js +6 -0
- package/lib/affix/index.d.ts +1 -1
- package/lib/affix/index.js +2 -1
- package/lib/alert/index.d.ts +1 -1
- package/lib/alert/index.js +2 -1
- package/lib/alert/src/Alert.d.ts +1 -1
- package/lib/alert/src/Alert.js +5 -4
- package/lib/anchor/index.d.ts +2 -2
- package/lib/anchor/index.js +3 -1
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/AnchorAdapter.js +3 -2
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/anchor/src/Link.js +3 -3
- package/lib/auto-complete/index.d.ts +1 -1
- package/lib/auto-complete/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/auto-complete/src/AutoComplete.js +3 -2
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/index.js +2 -1
- package/lib/avatar/src/Avatar.d.ts +13 -1
- package/lib/avatar/src/Avatar.js +60 -7
- package/lib/avatar-group/index.d.ts +1 -1
- package/lib/avatar-group/index.js +2 -1
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/avatar-group/src/AvatarGroup.js +5 -4
- package/lib/back-top/index.d.ts +1 -1
- package/lib/back-top/index.js +2 -1
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/back-top/src/BackTop.js +3 -2
- package/lib/badge/index.d.ts +1 -1
- package/lib/badge/index.js +2 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/badge/src/Badge.js +5 -4
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/breadcrumb/index.js +3 -1
- package/lib/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/src/Breadcrumb.js +3 -3
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.js +3 -2
- package/lib/breadcrumb/src/styles/index.cssr.js +1 -0
- package/lib/button/index.d.ts +1 -1
- package/lib/button/index.js +2 -1
- package/lib/button/src/Button.d.ts +13 -4
- package/lib/button/src/Button.js +11 -7
- package/lib/button/src/styles/index.cssr.js +1 -0
- package/lib/button-group/index.d.ts +1 -1
- package/lib/button-group/index.js +2 -1
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/button-group/src/ButtonGroup.js +5 -4
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar/index.js +2 -1
- package/lib/calendar/src/Calendar.d.ts +1 -1
- package/lib/calendar/src/Calendar.js +3 -2
- package/lib/card/index.d.ts +1 -1
- package/lib/card/index.js +2 -1
- package/lib/card/src/Card.d.ts +2 -2
- package/lib/card/src/Card.js +5 -5
- package/lib/carousel/index.d.ts +1 -1
- package/lib/carousel/index.js +2 -1
- package/lib/carousel/src/Carousel.d.ts +1 -1
- package/lib/carousel/src/Carousel.js +3 -2
- package/lib/carousel/src/styles/index.cssr.js +1 -0
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/index.js +2 -1
- package/lib/cascader/src/Cascader.d.ts +1 -1
- package/lib/cascader/src/Cascader.js +3 -2
- package/lib/cascader/src/utils.d.ts +1 -4
- package/lib/cascader/src/utils.js +18 -29
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/checkbox/index.js +3 -1
- package/lib/checkbox/src/Checkbox.d.ts +1 -1
- package/lib/checkbox/src/Checkbox.js +5 -4
- package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox/src/CheckboxGroup.js +3 -3
- package/lib/checkbox/src/styles/index.cssr.js +2 -0
- package/lib/code/index.d.ts +1 -1
- package/lib/code/index.js +2 -1
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/code/src/Code.js +3 -2
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse/index.js +3 -1
- package/lib/collapse/src/Collapse.d.ts +1 -1
- package/lib/collapse/src/Collapse.js +5 -5
- package/lib/collapse/src/CollapseItem.d.ts +1 -1
- package/lib/collapse/src/CollapseItem.js +5 -4
- package/lib/collapse-transition/index.d.ts +1 -1
- package/lib/collapse-transition/index.js +2 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/lib/collapse-transition/src/CollapseTransition.js +5 -4
- package/lib/color-picker/index.d.ts +1 -1
- package/lib/color-picker/index.js +2 -1
- package/lib/color-picker/src/ColorPicker.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.js +3 -3
- package/lib/countdown/index.d.ts +2 -2
- package/lib/countdown/index.js +2 -1
- package/lib/countdown/src/Countdown.d.ts +9 -2
- package/lib/countdown/src/Countdown.js +44 -27
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/index.js +2 -1
- package/lib/data-table/src/TableParts/Body.d.ts +4 -0
- package/lib/data-table/src/TableParts/Body.js +50 -34
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +30 -0
- package/lib/data-table/src/TableParts/BodyRadio.js +32 -0
- package/lib/data-table/src/TableParts/Header.js +2 -2
- package/lib/data-table/src/interface.d.ts +2 -1
- package/lib/data-table/src/use-check.d.ts +1 -1
- package/lib/data-table/src/use-check.js +15 -3
- package/lib/date-picker/index.d.ts +1 -1
- package/lib/date-picker/index.js +2 -1
- package/lib/date-picker/src/DatePicker.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.js +21 -11
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.js +1 -1
- package/lib/date-picker/src/panel/month.js +1 -1
- package/lib/date-picker/src/panel/monthrange.js +1 -1
- package/lib/date-picker/src/styles/index.cssr.js +4 -0
- package/lib/descriptions/index.d.ts +2 -2
- package/lib/descriptions/index.js +3 -1
- package/lib/descriptions/src/Descriptions.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.js +3 -2
- package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
- package/lib/descriptions/src/DescriptionsItem.js +3 -2
- package/lib/dialog/index.d.ts +2 -1
- package/lib/dialog/index.js +4 -1
- package/lib/dialog/src/DialogProvider.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.js +3 -3
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +2 -1
- package/lib/divider/src/Divider.d.ts +1 -1
- package/lib/divider/src/Divider.js +3 -2
- package/lib/drawer/index.d.ts +2 -2
- package/lib/drawer/index.js +3 -1
- package/lib/drawer/src/Drawer.d.ts +60 -27
- package/lib/drawer/src/Drawer.js +39 -17
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -0
- package/lib/drawer/src/DrawerBodyWrapper.js +96 -1
- package/lib/drawer/src/DrawerContent.d.ts +2 -1
- package/lib/drawer/src/DrawerContent.js +3 -2
- package/lib/drawer/src/interface.d.ts +2 -0
- package/lib/drawer/src/styles/index.cssr.js +42 -5
- package/lib/drawer/styles/light.d.ts +2 -0
- package/lib/drawer/styles/light.js +3 -2
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/dropdown/index.js +2 -1
- package/lib/dropdown/src/Dropdown.d.ts +10 -2
- package/lib/dropdown/src/Dropdown.js +17 -5
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -0
- package/lib/dropdown/src/DropdownMenu.js +23 -15
- package/lib/dropdown/src/DropdownOption.d.ts +5 -0
- package/lib/dropdown/src/DropdownOption.js +32 -10
- package/lib/dropdown/src/interface.d.ts +2 -1
- package/lib/dropdown/src/styles/index.cssr.js +16 -10
- package/lib/dynamic-input/index.d.ts +1 -1
- package/lib/dynamic-input/index.js +2 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.js +5 -4
- package/lib/dynamic-tags/index.d.ts +1 -1
- package/lib/dynamic-tags/index.js +2 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.js +3 -2
- package/lib/element/index.d.ts +1 -1
- package/lib/element/index.js +2 -1
- package/lib/element/src/Element.d.ts +1 -1
- package/lib/element/src/Element.js +3 -2
- package/lib/ellipsis/index.d.ts +1 -1
- package/lib/ellipsis/index.js +2 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.js +3 -2
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/index.js +2 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/empty/src/Empty.js +3 -2
- package/lib/form/index.d.ts +3 -3
- package/lib/form/index.js +5 -1
- package/lib/form/src/Form.d.ts +1 -1
- package/lib/form/src/Form.js +3 -2
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/form/src/FormItemRow.js +3 -2
- package/lib/form/src/styles/form-item.cssr.js +2 -0
- package/lib/gradient-text/index.d.ts +1 -1
- package/lib/gradient-text/index.js +2 -1
- package/lib/gradient-text/src/GradientText.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.js +3 -2
- package/lib/grid/index.d.ts +3 -3
- package/lib/grid/index.js +4 -1
- package/lib/grid/src/Grid.d.ts +1 -1
- package/lib/grid/src/Grid.js +3 -2
- package/lib/icon/index.d.ts +1 -1
- package/lib/icon/index.js +2 -1
- package/lib/icon/src/Icon.d.ts +1 -2
- package/lib/icon/src/Icon.js +3 -3
- package/lib/icon-wrapper/index.d.ts +1 -1
- package/lib/icon-wrapper/index.js +2 -1
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -2
- package/lib/icon-wrapper/src/IconWrapper.js +3 -3
- package/lib/image/index.d.ts +2 -2
- package/lib/image/index.js +3 -1
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/Image.js +19 -11
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImageGroup.js +3 -3
- package/lib/image/src/styles/index.cssr.js +1 -0
- package/lib/input/index.d.ts +3 -3
- package/lib/input/index.js +4 -1
- package/lib/input/src/Input.d.ts +1 -1
- package/lib/input/src/Input.js +5 -4
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroup.js +3 -2
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.js +3 -2
- package/lib/input/src/styles/input-group-label.cssr.js +1 -0
- package/lib/input/src/styles/input.cssr.js +3 -0
- package/lib/input-number/index.d.ts +1 -1
- package/lib/input-number/index.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +1 -1
- package/lib/input-number/src/InputNumber.js +5 -4
- package/lib/layout/index.d.ts +4 -4
- package/lib/layout/index.js +6 -1
- package/lib/layout/src/Layout.d.ts +1 -1
- package/lib/layout/src/Layout.js +3 -3
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutFooter.js +3 -2
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.js +3 -2
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/layout/src/LayoutSider.js +3 -2
- package/lib/legacy-grid/index.d.ts +2 -2
- package/lib/legacy-grid/index.js +3 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/list/index.js +2 -1
- package/lib/list/src/List.d.ts +1 -1
- package/lib/list/src/List.js +3 -3
- package/lib/loading-bar/index.d.ts +1 -1
- package/lib/loading-bar/index.js +2 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBarProvider.js +3 -2
- package/lib/locales/common/ukUA.js +14 -18
- package/lib/log/index.d.ts +1 -1
- package/lib/log/index.js +2 -1
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/log/src/Log.js +3 -2
- package/lib/mention/index.d.ts +1 -1
- package/lib/mention/index.js +2 -1
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/Mention.js +3 -2
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/index.js +2 -1
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/menu/src/Menu.js +3 -2
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.js +2 -1
- package/lib/message/src/MessageProvider.d.ts +1 -1
- package/lib/message/src/MessageProvider.js +3 -2
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/index.js +2 -1
- package/lib/modal/src/Modal.d.ts +1 -1
- package/lib/modal/src/Modal.js +3 -2
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/notification/index.d.ts +1 -1
- package/lib/notification/index.js +2 -1
- package/lib/notification/src/Notification.d.ts +1 -0
- package/lib/notification/src/Notification.js +6 -2
- package/lib/notification/src/NotificationContainer.js +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.js +3 -3
- package/lib/notification/src/styles/index.cssr.js +1 -3
- package/lib/notification/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/notification/src/styles/rtl.cssr.js +29 -0
- package/lib/notification/styles/index.d.ts +1 -0
- package/lib/notification/styles/index.js +3 -1
- package/lib/notification/styles/rtl.d.ts +2 -0
- package/lib/notification/styles/rtl.js +11 -0
- package/lib/number-animation/index.d.ts +1 -1
- package/lib/number-animation/index.js +2 -1
- package/lib/number-animation/src/NumberAnimation.d.ts +5 -1
- package/lib/number-animation/src/NumberAnimation.js +7 -3
- package/lib/page-header/index.d.ts +1 -1
- package/lib/page-header/index.js +2 -1
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/page-header/src/PageHeader.js +5 -4
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/src/Pagination.d.ts +1 -1
- package/lib/pagination/src/Pagination.js +5 -4
- package/lib/pagination/src/styles/index.cssr.js +1 -0
- package/lib/popconfirm/index.d.ts +1 -1
- package/lib/popconfirm/index.js +2 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +4 -1
- package/lib/popconfirm/src/Popconfirm.js +3 -2
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/index.js +2 -1
- package/lib/popover/src/Popover.d.ts +8 -1
- package/lib/popover/src/Popover.js +6 -4
- package/lib/popover/src/PopoverBody.d.ts +6 -0
- package/lib/popover/src/PopoverBody.js +23 -14
- package/lib/popover/src/styles/index.cssr.js +19 -15
- package/lib/popselect/index.d.ts +1 -1
- package/lib/popselect/index.js +2 -1
- package/lib/popselect/src/Popselect.d.ts +4 -1
- package/lib/popselect/src/Popselect.js +3 -2
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/index.js +2 -1
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/progress/src/Progress.js +3 -2
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio/index.js +4 -1
- package/lib/radio/src/Radio.d.ts +25 -0
- package/lib/radio/src/Radio.js +4 -2
- package/lib/radio/src/RadioButton.d.ts +25 -0
- package/lib/radio/src/RadioButton.js +2 -0
- package/lib/radio/src/RadioGroup.d.ts +1 -1
- package/lib/radio/src/RadioGroup.js +5 -4
- package/lib/radio/src/styles/radio-group.cssr.js +2 -0
- package/lib/radio/src/styles/radio.cssr.js +1 -0
- package/lib/rate/index.d.ts +1 -1
- package/lib/rate/index.js +2 -1
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/rate/src/Rate.js +3 -2
- package/lib/result/index.d.ts +1 -1
- package/lib/result/index.js +2 -1
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/result/src/Result.js +3 -2
- package/lib/scrollbar/index.d.ts +1 -1
- package/lib/scrollbar/index.js +2 -1
- package/lib/scrollbar/src/Scrollbar.d.ts +1 -1
- package/lib/scrollbar/src/Scrollbar.js +3 -2
- package/lib/select/index.d.ts +1 -1
- package/lib/select/index.js +2 -1
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/select/src/Select.js +3 -2
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/skeleton/index.js +2 -1
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/skeleton/src/Skeleton.js +3 -2
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +2 -1
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/slider/src/Slider.js +3 -2
- package/lib/slider/src/styles/index.cssr.js +1 -0
- package/lib/space/index.d.ts +1 -1
- package/lib/space/index.js +2 -1
- package/lib/space/src/Space.d.ts +1 -1
- package/lib/space/src/Space.js +5 -7
- package/lib/spin/index.d.ts +1 -1
- package/lib/spin/index.js +2 -1
- package/lib/spin/src/Spin.d.ts +1 -1
- package/lib/spin/src/Spin.js +3 -2
- package/lib/spin/src/styles/index.cssr.js +1 -0
- package/lib/statistic/index.d.ts +1 -1
- package/lib/statistic/index.js +2 -1
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/statistic/src/Statistic.js +3 -2
- package/lib/steps/index.d.ts +2 -2
- package/lib/steps/index.js +3 -1
- package/lib/steps/src/Step.d.ts +1 -1
- package/lib/steps/src/Step.js +3 -2
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/steps/src/Steps.js +3 -3
- package/lib/switch/index.d.ts +1 -1
- package/lib/switch/index.js +2 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/switch/src/Switch.js +3 -2
- package/lib/switch/src/styles/index.cssr.js +1 -0
- package/lib/table/index.d.ts +1 -1
- package/lib/table/index.js +2 -1
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/table/src/Table.js +5 -4
- package/lib/tabs/index.d.ts +3 -3
- package/lib/tabs/index.js +4 -1
- package/lib/tabs/src/Tab.d.ts +2 -2
- package/lib/tabs/src/Tab.js +3 -2
- package/lib/tabs/src/Tabs.d.ts +1 -1
- package/lib/tabs/src/Tabs.js +3 -2
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/index.js +2 -1
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/tag/src/Tag.js +5 -5
- package/lib/thing/index.d.ts +1 -1
- package/lib/thing/index.js +2 -1
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/thing/src/Thing.js +3 -2
- package/lib/time/index.d.ts +1 -1
- package/lib/time/index.js +2 -1
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time/src/Time.js +3 -2
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/time-picker/index.js +2 -1
- package/lib/time-picker/src/TimePicker.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.js +3 -2
- package/lib/timeline/index.d.ts +2 -2
- package/lib/timeline/index.js +3 -1
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/Timeline.js +3 -3
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.js +3 -2
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/index.js +2 -1
- package/lib/tooltip/src/Tooltip.d.ts +4 -1
- package/lib/tooltip/src/Tooltip.js +3 -2
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +2 -1
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/transfer/src/Transfer.js +3 -2
- package/lib/tree/index.d.ts +1 -1
- package/lib/tree/index.js +2 -1
- package/lib/tree/src/Tree.d.ts +19 -2
- package/lib/tree/src/Tree.js +47 -21
- package/lib/tree/src/TreeNode.js +21 -6
- package/lib/tree/src/interface.d.ts +2 -0
- package/lib/tree-select/index.d.ts +1 -1
- package/lib/tree-select/index.js +2 -1
- package/lib/tree-select/src/TreeSelect.d.ts +2 -2
- package/lib/tree-select/src/TreeSelect.js +3 -2
- package/lib/typography/index.d.ts +7 -6
- package/lib/typography/index.js +14 -1
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/a.js +3 -2
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/blockquote.js +3 -2
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/create-header.js +3 -2
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/ol.js +3 -2
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/p.js +3 -2
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/typography/src/text.js +3 -2
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/typography/src/ul.js +3 -2
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/index.js +2 -1
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/upload/src/Upload.js +3 -2
- package/lib/upload/src/UploadFile.d.ts +2 -2
- package/lib/upload/src/UploadFile.js +8 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/index.d.ts +1 -1
- package/lib/watermark/index.js +2 -1
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/lib/watermark/src/Watermark.js +3 -2
- package/lib/watermark/src/styles/index.cssr.js +4 -1
- package/package.json +2 -2
- package/web-types.json +140 -2
|
@@ -27,7 +27,7 @@ interface PrivateMessageRef extends MessageReactive {
|
|
|
27
27
|
hide: () => void;
|
|
28
28
|
}
|
|
29
29
|
export declare type MessageProviderInst = MessageApiInjection;
|
|
30
|
-
declare const messageProviderProps: {
|
|
30
|
+
export declare const messageProviderProps: {
|
|
31
31
|
to: PropType<string | HTMLElement>;
|
|
32
32
|
duration: {
|
|
33
33
|
type: NumberConstructor;
|
|
@@ -4,7 +4,7 @@ import { omit } from '../../_utils';
|
|
|
4
4
|
import { useConfig, useTheme } from '../../_mixins';
|
|
5
5
|
import MessageEnvironment from './MessageEnvironment';
|
|
6
6
|
import { messageApiInjectionKey, messageProviderInjectionKey } from './context';
|
|
7
|
-
const messageProviderProps = Object.assign(Object.assign({}, useTheme.props), { to: [String, Object], duration: {
|
|
7
|
+
export const messageProviderProps = Object.assign(Object.assign({}, useTheme.props), { to: [String, Object], duration: {
|
|
8
8
|
type: Number,
|
|
9
9
|
default: 3000
|
|
10
10
|
}, keepAliveOnHover: Boolean, max: Number, placement: {
|
package/es/modal/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NModal } from './src/Modal';
|
|
1
|
+
export { default as NModal, modalProps } from './src/Modal';
|
|
2
2
|
export type { ModalProps } from './src/Modal';
|
package/es/modal/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NModal } from './src/Modal';
|
|
1
|
+
export { default as NModal, modalProps } from './src/Modal';
|
package/es/modal/src/Modal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, CSSProperties } from 'vue';
|
|
2
2
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
-
declare const modalProps: {
|
|
3
|
+
export declare const modalProps: {
|
|
4
4
|
onEsc: PropType<() => void>;
|
|
5
5
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
6
6
|
onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
package/es/modal/src/Modal.js
CHANGED
|
@@ -10,7 +10,7 @@ import { presetProps, presetPropsKeys } from './presetProps';
|
|
|
10
10
|
import NModalBodyWrapper from './BodyWrapper';
|
|
11
11
|
import { modalInjectionKey } from './interface';
|
|
12
12
|
import style from './styles/index.cssr';
|
|
13
|
-
const modalProps = Object.assign(Object.assign(Object.assign(Object.assign({}, useTheme.props), { show: Boolean, unstableShowMask: {
|
|
13
|
+
export const modalProps = Object.assign(Object.assign(Object.assign(Object.assign({}, useTheme.props), { show: Boolean, unstableShowMask: {
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: true
|
|
16
16
|
}, maskClosable: {
|
|
@@ -41,5 +41,5 @@ declare const presetProps: {
|
|
|
41
41
|
hoverable: BooleanConstructor;
|
|
42
42
|
role: StringConstructor;
|
|
43
43
|
};
|
|
44
|
-
declare const presetPropsKeys: ("type" | "content" | "size" | "icon" | "title" | "role" | "action" | "positiveText" | "negativeText" | "loading" | "bordered" | "showIcon" | "closable" | "contentStyle" | "onClose" | "headerStyle" | "
|
|
44
|
+
declare const presetPropsKeys: ("type" | "content" | "size" | "icon" | "title" | "role" | "action" | "positiveText" | "negativeText" | "loading" | "bordered" | "showIcon" | "closable" | "contentStyle" | "onClose" | "headerStyle" | "footerStyle" | "iconPlacement" | "hoverable" | "headerExtraStyle" | "embedded" | "segmented" | "positiveButtonProps" | "negativeButtonProps" | "onPositiveClick" | "onNegativeClick")[];
|
|
45
45
|
export { presetProps, presetPropsKeys };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as NNotificationProvider } from './src/NotificationProvider';
|
|
1
|
+
export { default as NNotificationProvider, notificationProviderProps } from './src/NotificationProvider';
|
|
2
2
|
export type { NotificationProviderProps, NotificationProviderInst, NotificationApiInjection as NotificationApi, NotificationReactive, NotificationPlacement, NotificationType } from './src/NotificationProvider';
|
|
3
3
|
export type { NotificationOptions } from './src/NotificationEnvironment';
|
|
4
4
|
export { useNotification } from './src/use-notification';
|
package/es/notification/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NNotificationProvider } from './src/NotificationProvider';
|
|
1
|
+
export { default as NNotificationProvider, notificationProviderProps } from './src/NotificationProvider';
|
|
2
2
|
export { useNotification } from './src/use-notification';
|
|
@@ -43,6 +43,7 @@ export declare const Notification: import("vue").DefineComponent<{
|
|
|
43
43
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
44
44
|
showAvatar: import("vue").ComputedRef<boolean | (() => VNodeChild)>;
|
|
45
45
|
handleCloseClick(): void;
|
|
46
|
+
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
46
47
|
cssVars: import("vue").ComputedRef<{
|
|
47
48
|
'--n-color': string;
|
|
48
49
|
'--n-font-size': string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { h, defineComponent, computed, inject } from 'vue';
|
|
2
2
|
import { getPadding } from 'seemly';
|
|
3
3
|
import { InfoIcon, SuccessIcon, WarningIcon, ErrorIcon } from '../../_internal/icons';
|
|
4
|
+
import { useRtl } from '../../_mixins/use-rtl';
|
|
4
5
|
import { createKey, keysOf, render } from '../../_utils';
|
|
5
6
|
import { NBaseIcon, NBaseClose } from '../../_internal';
|
|
6
|
-
import { notificationProviderInjectionKey } from './context';
|
|
7
7
|
import { useConfig, useThemeClass } from '../../_mixins';
|
|
8
|
+
import { notificationProviderInjectionKey } from './context';
|
|
8
9
|
const iconRenderMap = {
|
|
9
10
|
info: () => h(InfoIcon, null),
|
|
10
11
|
success: () => h(SuccessIcon, null),
|
|
@@ -40,7 +41,8 @@ export const Notification = defineComponent({
|
|
|
40
41
|
const { mergedClsPrefixRef, mergedThemeRef, props: providerProps
|
|
41
42
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
43
|
} = inject(notificationProviderInjectionKey);
|
|
43
|
-
const { inlineThemeDisabled } = useConfig();
|
|
44
|
+
const { inlineThemeDisabled, mergedRtlRef } = useConfig();
|
|
45
|
+
const rtlEnabledRef = useRtl('Notification', mergedRtlRef, mergedClsPrefixRef);
|
|
44
46
|
const cssVarsRef = computed(() => {
|
|
45
47
|
const { type } = props;
|
|
46
48
|
const { self: { color, textColor, closeIconColor, closeIconColorHover, closeIconColorPressed, headerTextColor, descriptionTextColor, actionTextColor, borderRadius, headerFontWeight, boxShadow, lineHeight, fontSize, closeMargin, closeSize, width, padding, closeIconSize, closeBorderRadius, closeColorHover, closeColorPressed, titleFontSize, metaFontSize, descriptionFontSize, [createKey('iconColor', type)]: iconColor }, common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut } } = mergedThemeRef.value;
|
|
@@ -90,6 +92,7 @@ export const Notification = defineComponent({
|
|
|
90
92
|
handleCloseClick() {
|
|
91
93
|
props.onClose();
|
|
92
94
|
},
|
|
95
|
+
rtlEnabled: rtlEnabledRef,
|
|
93
96
|
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
94
97
|
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
95
98
|
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
@@ -102,6 +105,7 @@ export const Notification = defineComponent({
|
|
|
102
105
|
return (h("div", { class: [`${mergedClsPrefix}-notification-wrapper`, this.themeClass], style: this.cssVars },
|
|
103
106
|
h("div", { class: [
|
|
104
107
|
`${mergedClsPrefix}-notification`,
|
|
108
|
+
this.rtlEnabled && `${mergedClsPrefix}-notification--rtl`,
|
|
105
109
|
this.themeClass,
|
|
106
110
|
{
|
|
107
111
|
[`${mergedClsPrefix}-notification--closable`]: this.closable,
|
|
@@ -39,6 +39,6 @@ export const NotificationContainer = defineComponent({
|
|
|
39
39
|
`${mergedClsPrefix}-notification-container`,
|
|
40
40
|
scrollable && `${mergedClsPrefix}-notification-container--scrollable`,
|
|
41
41
|
`${mergedClsPrefix}-notification-container--${placement}`
|
|
42
|
-
] }, scrollable ? (h(NScrollbar, { theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, $slots)) : ($slots)));
|
|
42
|
+
] }, scrollable ? (h(NScrollbar, { theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar, contentStyle: { overflow: 'hidden' } }, $slots)) : ($slots)));
|
|
43
43
|
}
|
|
44
44
|
});
|
|
@@ -36,7 +36,7 @@ export declare type NotificationReactive = {
|
|
|
36
36
|
interface NotificationRef {
|
|
37
37
|
hide: () => void;
|
|
38
38
|
}
|
|
39
|
-
declare const notificationProviderProps: {
|
|
39
|
+
export declare const notificationProviderProps: {
|
|
40
40
|
containerStyle: PropType<string | CSSProperties>;
|
|
41
41
|
to: PropType<string | HTMLElement>;
|
|
42
42
|
scrollable: {
|
|
@@ -9,7 +9,7 @@ import { NotificationEnvironment } from './NotificationEnvironment';
|
|
|
9
9
|
import { notificationProviderInjectionKey } from './context';
|
|
10
10
|
import style from './styles/index.cssr';
|
|
11
11
|
export const notificationApiInjectionKey = createInjectionKey('n-notification-api');
|
|
12
|
-
const notificationProviderProps = Object.assign(Object.assign({}, useTheme.props), { containerStyle: [String, Object], to: [String, Object], scrollable: {
|
|
12
|
+
export const notificationProviderProps = Object.assign(Object.assign({}, useTheme.props), { containerStyle: [String, Object], to: [String, Object], scrollable: {
|
|
13
13
|
type: Boolean,
|
|
14
14
|
default: true
|
|
15
15
|
}, max: Number, placement: {
|
|
@@ -172,9 +172,7 @@ export default c([cB('notification-container', `
|
|
|
172
172
|
display: flex;
|
|
173
173
|
align-items: center;
|
|
174
174
|
justify-content: center;
|
|
175
|
-
`, [cB('icon',
|
|
176
|
-
transition: 'color .3s var(--n-bezier)'
|
|
177
|
-
})]), cB('notification-main', `
|
|
175
|
+
`, [cB('icon', 'transition: color .3s var(--n-bezier);')]), cB('notification-main', `
|
|
178
176
|
padding-top: var(--n-padding-top);
|
|
179
177
|
padding-bottom: var(--n-padding-bottom);
|
|
180
178
|
box-sizing: border-box;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { cB, cM, cE, c } from '../../../_utils/cssr';
|
|
2
|
+
export default cB('notification', [cM('rtl', `
|
|
3
|
+
direction: rtl;
|
|
4
|
+
`, [cB('notification-main', `
|
|
5
|
+
margin-left: unset;
|
|
6
|
+
margin-right: 8px;
|
|
7
|
+
`, [cE('header', `
|
|
8
|
+
margin: var(--n-icon-margin);
|
|
9
|
+
margin-right: 0;
|
|
10
|
+
`)]), cE('avatar', `
|
|
11
|
+
left: unset;
|
|
12
|
+
right: var(--n-padding-left);
|
|
13
|
+
`), cM('show-avatar', [cB('notification-main', `
|
|
14
|
+
margin-right: 40px;
|
|
15
|
+
margin-reft: unset;
|
|
16
|
+
`)]), cM('closable', [cB('notification-main', [c('> *:first-child', `
|
|
17
|
+
padding-left: 20px;
|
|
18
|
+
padding-right: unset;
|
|
19
|
+
`)]), cE('close', `
|
|
20
|
+
right: unset;
|
|
21
|
+
left: 0;
|
|
22
|
+
`)])])]);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as NNumberAnimation } from './src/NumberAnimation';
|
|
1
|
+
export { default as NNumberAnimation, numberAnimationProps } from './src/NumberAnimation';
|
|
2
2
|
export type { NumberAnimationProps } from './src/NumberAnimation';
|
|
3
3
|
export type { NumberAnimationInst } from './src/NumberAnimation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NNumberAnimation } from './src/NumberAnimation';
|
|
1
|
+
export { default as NNumberAnimation, numberAnimationProps } from './src/NumberAnimation';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
declare const numberAnimationProps: {
|
|
3
|
+
export declare const numberAnimationProps: {
|
|
3
4
|
to: {
|
|
4
5
|
type: NumberConstructor;
|
|
5
6
|
default: number;
|
|
@@ -22,6 +23,7 @@ declare const numberAnimationProps: {
|
|
|
22
23
|
type: NumberConstructor;
|
|
23
24
|
default: number;
|
|
24
25
|
};
|
|
26
|
+
onFinish: PropType<() => void>;
|
|
25
27
|
};
|
|
26
28
|
export declare type NumberAnimationProps = ExtractPublicPropTypes<typeof numberAnimationProps>;
|
|
27
29
|
export interface NumberAnimationInst {
|
|
@@ -50,6 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
52
|
type: NumberConstructor;
|
|
51
53
|
default: number;
|
|
52
54
|
};
|
|
55
|
+
onFinish: PropType<() => void>;
|
|
53
56
|
}, {
|
|
54
57
|
play: () => void;
|
|
55
58
|
formattedValue: import("vue").ComputedRef<{
|
|
@@ -80,6 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
83
|
type: NumberConstructor;
|
|
81
84
|
default: number;
|
|
82
85
|
};
|
|
86
|
+
onFinish: PropType<() => void>;
|
|
83
87
|
}>>, {
|
|
84
88
|
active: boolean;
|
|
85
89
|
duration: number;
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, onMounted, ref, watchEffect } from 'vue';
|
|
|
2
2
|
import { round } from 'lodash-es';
|
|
3
3
|
import { tween } from './utils';
|
|
4
4
|
import { useLocale } from '../../_mixins';
|
|
5
|
-
const numberAnimationProps = {
|
|
5
|
+
export const numberAnimationProps = {
|
|
6
6
|
to: {
|
|
7
7
|
type: Number,
|
|
8
8
|
default: 0
|
|
@@ -21,7 +21,8 @@ const numberAnimationProps = {
|
|
|
21
21
|
duration: {
|
|
22
22
|
type: Number,
|
|
23
23
|
default: 2000
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
onFinish: Function
|
|
25
26
|
};
|
|
26
27
|
export default defineComponent({
|
|
27
28
|
name: 'NumberAnimation',
|
|
@@ -41,8 +42,10 @@ export default defineComponent({
|
|
|
41
42
|
displayedValueRef.value = currentValue;
|
|
42
43
|
};
|
|
43
44
|
const onFinish = () => {
|
|
45
|
+
var _a;
|
|
44
46
|
displayedValueRef.value = props.to;
|
|
45
47
|
animating = false;
|
|
48
|
+
(_a = props.onFinish) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
46
49
|
};
|
|
47
50
|
const animate = (from = props.from, to = props.to) => {
|
|
48
51
|
animating = true;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NPageHeader } from './src/PageHeader';
|
|
1
|
+
export { default as NPageHeader, pageHeaderProps } from './src/PageHeader';
|
|
2
2
|
export type { PageHeaderProps } from './src/PageHeader';
|
package/es/page-header/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NPageHeader } from './src/PageHeader';
|
|
1
|
+
export { default as NPageHeader, pageHeaderProps } from './src/PageHeader';
|
|
@@ -5,8 +5,8 @@ import { pageHeaderLight } from '../styles/light';
|
|
|
5
5
|
import style from './styles/index.cssr';
|
|
6
6
|
import { ArrowBackIcon } from '../../_internal/icons';
|
|
7
7
|
import { NBaseIcon } from '../../_internal';
|
|
8
|
-
import useRtl from '../../_mixins/use-rtl';
|
|
9
|
-
const pageHeaderProps = Object.assign(Object.assign({}, useTheme.props), { title: String, subtitle: String, extra: String, onBack: Function });
|
|
8
|
+
import { useRtl } from '../../_mixins/use-rtl';
|
|
9
|
+
export const pageHeaderProps = Object.assign(Object.assign({}, useTheme.props), { title: String, subtitle: String, extra: String, onBack: Function });
|
|
10
10
|
export default defineComponent({
|
|
11
11
|
name: 'PageHeader',
|
|
12
12
|
props: pageHeaderProps,
|
package/es/pagination/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as NPagination } from './src/Pagination';
|
|
1
|
+
export { default as NPagination, paginationProps } from './src/Pagination';
|
|
2
2
|
export type { PaginationProps } from './src/Pagination';
|
|
3
3
|
export type { PaginationInfo, PaginationSizeOption, PaginationRenderLabel } from './src/interface';
|
package/es/pagination/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NPagination } from './src/Pagination';
|
|
1
|
+
export { default as NPagination, paginationProps } from './src/Pagination';
|
|
@@ -4,7 +4,7 @@ import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
|
4
4
|
import type { Size as InputSize } from '../../input/src/interface';
|
|
5
5
|
import type { Size as SelectSize } from '../../select/src/interface';
|
|
6
6
|
import { PaginationRenderLabel, PaginationSizeOption, RenderPrefix, Size } from './interface';
|
|
7
|
-
declare const paginationProps: {
|
|
7
|
+
export declare const paginationProps: {
|
|
8
8
|
readonly page: NumberConstructor;
|
|
9
9
|
readonly defaultPage: {
|
|
10
10
|
readonly type: NumberConstructor;
|
|
@@ -11,8 +11,8 @@ import { paginationLight } from '../styles';
|
|
|
11
11
|
import { createPageItemsInfo } from './utils';
|
|
12
12
|
import style from './styles/index.cssr';
|
|
13
13
|
import { call, resolveSlot, warn, warnOnce, createKey, smallerSize } from '../../_utils';
|
|
14
|
-
import useRtl from '../../_mixins/use-rtl';
|
|
15
|
-
const paginationProps = Object.assign(Object.assign({}, useTheme.props), { page: Number, defaultPage: {
|
|
14
|
+
import { useRtl } from '../../_mixins/use-rtl';
|
|
15
|
+
export const paginationProps = Object.assign(Object.assign({}, useTheme.props), { page: Number, defaultPage: {
|
|
16
16
|
type: Number,
|
|
17
17
|
default: 1
|
|
18
18
|
}, itemCount: Number, pageCount: Number, defaultPageCount: {
|
package/es/popconfirm/index.d.ts
CHANGED
package/es/popconfirm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NPopconfirm } from './src/Popconfirm';
|
|
1
|
+
export { default as NPopconfirm, popconfirmProps } from './src/Popconfirm';
|
|
@@ -2,7 +2,7 @@ import { PropType, ExtractPropTypes } from 'vue';
|
|
|
2
2
|
import type { PopoverTrigger } from '../../popover';
|
|
3
3
|
import type { ButtonProps } from '../../button';
|
|
4
4
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
-
declare const popconfirmProps: {
|
|
5
|
+
export declare const popconfirmProps: {
|
|
6
6
|
positiveText: PropType<string | null>;
|
|
7
7
|
negativeText: PropType<string | null>;
|
|
8
8
|
showIcon: {
|
|
@@ -74,6 +74,7 @@ declare const popconfirmProps: {
|
|
|
74
74
|
scrollable: BooleanConstructor;
|
|
75
75
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
76
76
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
77
|
+
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
77
78
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
78
79
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
79
80
|
onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -843,6 +844,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
843
844
|
scrollable: BooleanConstructor;
|
|
844
845
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
845
846
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
847
|
+
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
846
848
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
847
849
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
848
850
|
onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -1962,6 +1964,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1962
1964
|
scrollable: BooleanConstructor;
|
|
1963
1965
|
contentStyle: PropType<string | import("vue").CSSProperties>;
|
|
1964
1966
|
headerStyle: PropType<string | import("vue").CSSProperties>;
|
|
1967
|
+
footerStyle: PropType<string | import("vue").CSSProperties>;
|
|
1965
1968
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
1966
1969
|
'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
1967
1970
|
onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -7,7 +7,7 @@ import { popconfirmLight } from '../styles';
|
|
|
7
7
|
import PopconfirmPanel, { panelPropKeys } from './PopconfirmPanel';
|
|
8
8
|
import { popconfirmInjectionKey } from './interface';
|
|
9
9
|
import style from './styles/index.cssr';
|
|
10
|
-
const popconfirmProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), popoverBaseProps), { positiveText: String, negativeText: String, showIcon: {
|
|
10
|
+
export const popconfirmProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), popoverBaseProps), { positiveText: String, negativeText: String, showIcon: {
|
|
11
11
|
type: Boolean,
|
|
12
12
|
default: true
|
|
13
13
|
}, trigger: {
|
package/es/popover/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as NPopover } from './src/Popover';
|
|
1
|
+
export { default as NPopover, popoverProps } from './src/Popover';
|
|
2
2
|
export type { PopoverProps } from './src/Popover';
|
|
3
3
|
export type { PopoverTrigger, PopoverInst } from './src/interface';
|
|
4
4
|
export type { FollowerPlacement as PopoverPlacement } from 'vueuc';
|
package/es/popover/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as NPopover } from './src/Popover';
|
|
1
|
+
export { default as NPopover, popoverProps } from './src/Popover';
|
|
@@ -89,6 +89,7 @@ export declare const popoverBaseProps: {
|
|
|
89
89
|
scrollable: BooleanConstructor;
|
|
90
90
|
contentStyle: PropType<string | CSSProperties>;
|
|
91
91
|
headerStyle: PropType<string | CSSProperties>;
|
|
92
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
92
93
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
93
94
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
94
95
|
onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -112,7 +113,8 @@ export declare const popoverBaseProps: {
|
|
|
112
113
|
minWidth: NumberConstructor;
|
|
113
114
|
maxWidth: NumberConstructor;
|
|
114
115
|
};
|
|
115
|
-
declare const popoverProps: {
|
|
116
|
+
export declare const popoverProps: {
|
|
117
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
116
118
|
internalRenderBody: PropType<InternalRenderBody>;
|
|
117
119
|
show: {
|
|
118
120
|
type: PropType<boolean | undefined>;
|
|
@@ -175,6 +177,7 @@ declare const popoverProps: {
|
|
|
175
177
|
scrollable: BooleanConstructor;
|
|
176
178
|
contentStyle: PropType<string | CSSProperties>;
|
|
177
179
|
headerStyle: PropType<string | CSSProperties>;
|
|
180
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
178
181
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
179
182
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
180
183
|
onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -243,6 +246,7 @@ declare const popoverProps: {
|
|
|
243
246
|
export declare type PopoverProps = ExtractPublicPropTypes<typeof popoverBaseProps>;
|
|
244
247
|
export declare type PopoverInternalProps = ExtractInternalPropTypes<typeof popoverProps>;
|
|
245
248
|
declare const _default: import("vue").DefineComponent<{
|
|
249
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
246
250
|
internalRenderBody: PropType<InternalRenderBody>;
|
|
247
251
|
show: {
|
|
248
252
|
type: PropType<boolean | undefined>;
|
|
@@ -305,6 +309,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
309
|
scrollable: BooleanConstructor;
|
|
306
310
|
contentStyle: PropType<string | CSSProperties>;
|
|
307
311
|
headerStyle: PropType<string | CSSProperties>;
|
|
312
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
308
313
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
309
314
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
310
315
|
onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -386,6 +391,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
391
|
handleBlur: () => void;
|
|
387
392
|
syncPosition: () => void;
|
|
388
393
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
394
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
389
395
|
internalRenderBody: PropType<InternalRenderBody>;
|
|
390
396
|
show: {
|
|
391
397
|
type: PropType<boolean | undefined>;
|
|
@@ -448,6 +454,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
448
454
|
scrollable: BooleanConstructor;
|
|
449
455
|
contentStyle: PropType<string | CSSProperties>;
|
|
450
456
|
headerStyle: PropType<string | CSSProperties>;
|
|
457
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
451
458
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
452
459
|
'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
453
460
|
onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
@@ -92,6 +92,7 @@ export const popoverBaseProps = {
|
|
|
92
92
|
scrollable: Boolean,
|
|
93
93
|
contentStyle: [Object, String],
|
|
94
94
|
headerStyle: [Object, String],
|
|
95
|
+
footerStyle: [Object, String],
|
|
95
96
|
// events
|
|
96
97
|
onClickoutside: Function,
|
|
97
98
|
'onUpdate:show': [Function, Array],
|
|
@@ -118,7 +119,7 @@ export const popoverBaseProps = {
|
|
|
118
119
|
minWidth: Number,
|
|
119
120
|
maxWidth: Number
|
|
120
121
|
};
|
|
121
|
-
const popoverProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), popoverBaseProps), { internalRenderBody: Function });
|
|
122
|
+
export const popoverProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), popoverBaseProps), { internalOnAfterLeave: Function, internalRenderBody: Function });
|
|
122
123
|
export default defineComponent({
|
|
123
124
|
name: 'Popover',
|
|
124
125
|
inheritAttrs: false,
|
|
@@ -462,7 +463,8 @@ export default defineComponent({
|
|
|
462
463
|
}),
|
|
463
464
|
h(NPopoverBody, keep(this.$props, bodyPropKeys, Object.assign(Object.assign({}, this.$attrs), { showArrow: this.mergedShowArrow, show: mergedShow })), {
|
|
464
465
|
default: () => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a); },
|
|
465
|
-
header: () => { var _a, _b; return (_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
466
|
+
header: () => { var _a, _b; return (_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a); },
|
|
467
|
+
footer: () => { var _a, _b; return (_b = (_a = this.$slots).footer) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
466
468
|
})
|
|
467
469
|
];
|
|
468
470
|
}
|
|
@@ -25,10 +25,12 @@ export declare const popoverBodyProps: {
|
|
|
25
25
|
scrollable: BooleanConstructor;
|
|
26
26
|
contentStyle: PropType<string | CSSProperties>;
|
|
27
27
|
headerStyle: PropType<string | CSSProperties>;
|
|
28
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
28
29
|
internalDeactivateImmediately: BooleanConstructor;
|
|
29
30
|
animated: BooleanConstructor;
|
|
30
31
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
31
32
|
internalTrapFocus: BooleanConstructor;
|
|
33
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
32
34
|
minWidth: NumberConstructor;
|
|
33
35
|
maxWidth: NumberConstructor;
|
|
34
36
|
theme: PropType<import("../../_mixins").Theme<"Popover", {
|
|
@@ -103,10 +105,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
105
|
scrollable: BooleanConstructor;
|
|
104
106
|
contentStyle: PropType<string | CSSProperties>;
|
|
105
107
|
headerStyle: PropType<string | CSSProperties>;
|
|
108
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
106
109
|
internalDeactivateImmediately: BooleanConstructor;
|
|
107
110
|
animated: BooleanConstructor;
|
|
108
111
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
109
112
|
internalTrapFocus: BooleanConstructor;
|
|
113
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
110
114
|
minWidth: NumberConstructor;
|
|
111
115
|
maxWidth: NumberConstructor;
|
|
112
116
|
theme: PropType<import("../../_mixins").Theme<"Popover", {
|
|
@@ -186,10 +190,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
190
|
scrollable: BooleanConstructor;
|
|
187
191
|
contentStyle: PropType<string | CSSProperties>;
|
|
188
192
|
headerStyle: PropType<string | CSSProperties>;
|
|
193
|
+
footerStyle: PropType<string | CSSProperties>;
|
|
189
194
|
internalDeactivateImmediately: BooleanConstructor;
|
|
190
195
|
animated: BooleanConstructor;
|
|
191
196
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
192
197
|
internalTrapFocus: BooleanConstructor;
|
|
198
|
+
internalOnAfterLeave: PropType<() => void>;
|
|
193
199
|
minWidth: NumberConstructor;
|
|
194
200
|
maxWidth: NumberConstructor;
|
|
195
201
|
theme: PropType<import("../../_mixins").Theme<"Popover", {
|