naive-ui 2.30.7 → 2.32.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 +5583 -3167
- package/dist/index.prod.js +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +5 -0
- package/es/_internal/scrollbar/src/Scrollbar.js +52 -23
- package/es/_internal/scrollbar/src/styles/index.cssr.js +2 -1
- package/es/_internal/scrollbar/src/styles/rtl.cssr.d.ts +2 -0
- package/es/_internal/scrollbar/src/styles/rtl.cssr.js +10 -0
- package/es/_internal/scrollbar/styles/index.d.ts +1 -0
- package/es/_internal/scrollbar/styles/index.js +1 -0
- package/es/_internal/scrollbar/styles/rtl.d.ts +3 -0
- package/es/_internal/scrollbar/styles/rtl.js +6 -0
- package/es/_internal/select-menu/src/styles/index.cssr.js +1 -1
- package/es/_internal/selection/src/Selection.js +4 -2
- package/es/_internal/selection/src/styles/index.cssr.js +5 -1
- package/es/_mixins/index.d.ts +1 -0
- package/es/_mixins/index.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/_utils/naive/extract-public-props.d.ts +4 -1
- 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 +2 -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 +12 -1
- package/es/avatar/src/Avatar.js +63 -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 +11 -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 +17 -38
- package/es/carousel/src/Carousel.js +270 -273
- package/es/carousel/src/CarouselArrow.js +3 -5
- package/es/carousel/src/CarouselContext.d.ts +21 -0
- package/es/carousel/src/CarouselContext.js +11 -0
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/src/CarouselDots.js +23 -31
- package/es/carousel/src/CarouselItem.d.ts +4 -4
- package/es/carousel/src/CarouselItem.js +17 -36
- package/es/carousel/src/interface.d.ts +12 -31
- package/es/carousel/src/interface.js +1 -3
- package/es/carousel/src/styles/index.cssr.js +9 -3
- package/es/carousel/src/{utils.d.ts → utils/duplicatedLogic.d.ts} +3 -8
- package/es/carousel/src/utils/duplicatedLogic.js +46 -0
- package/es/carousel/src/utils/event.d.ts +1 -0
- package/es/carousel/src/utils/event.js +3 -0
- package/es/carousel/src/utils/index.d.ts +6 -0
- package/es/carousel/src/{utils.js → utils/index.js} +3 -28
- 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 +28 -23
- package/es/checkbox/src/CheckboxGroup.js +59 -29
- 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 +17 -1
- package/es/code/src/Code.js +54 -13
- package/es/code/src/styles/index.cssr.js +14 -2
- package/es/code/styles/dark.js +4 -2
- package/es/code/styles/light.d.ts +1 -0
- package/es/code/styles/light.js +4 -2
- 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/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +24 -3
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- 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 +2 -1
- package/es/date-picker/src/DatePicker.js +19 -10
- package/es/date-picker/src/panel/daterange.d.ts +0 -1
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +0 -1
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.js +1 -1
- package/es/date-picker/src/panel/monthrange.d.ts +0 -1
- package/es/date-picker/src/panel/monthrange.js +2 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +0 -1
- package/es/date-picker/src/panel/use-dual-calendar.js +0 -11
- 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/DialogEnvironment.d.ts +4 -0
- package/es/dialog/src/DialogEnvironment.js +11 -4
- package/es/dialog/src/DialogProvider.d.ts +2 -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 +2 -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/image/src/utils.d.ts +1 -1
- package/es/input/index.d.ts +3 -3
- package/es/input/index.js +3 -3
- package/es/input/src/Input.d.ts +2 -1
- package/es/input/src/Input.js +21 -10
- 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/interface.d.ts +1 -0
- package/es/input/src/styles/input-group-label.cssr.js +1 -0
- package/es/input/src/styles/input.cssr.js +4 -6
- 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 +2 -1
- package/es/input-number/src/InputNumber.js +6 -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/legacy-grid/src/Row.d.ts +1 -0
- package/es/legacy-grid/src/Row.js +8 -3
- package/es/legacy-grid/src/styles/rtl.cssr.d.ts +2 -0
- package/es/legacy-grid/src/styles/rtl.cssr.js +21 -0
- package/es/legacy-grid/styles/dark.d.ts +4 -0
- package/es/legacy-grid/styles/dark.js +6 -0
- package/es/legacy-grid/styles/index.d.ts +4 -0
- package/es/legacy-grid/styles/index.js +3 -0
- package/es/legacy-grid/styles/light.d.ts +4 -0
- package/es/legacy-grid/styles/light.js +6 -0
- package/es/legacy-grid/styles/rtl.d.ts +2 -0
- package/es/legacy-grid/styles/rtl.js +5 -0
- package/es/legacy-transfer/index.d.ts +3 -0
- package/es/legacy-transfer/index.js +1 -0
- package/es/legacy-transfer/src/Transfer.d.ts +3631 -0
- package/es/legacy-transfer/src/Transfer.js +214 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +509 -0
- package/es/legacy-transfer/src/TransferFilter.js +40 -0
- package/es/legacy-transfer/src/TransferHeader.d.ts +25 -0
- package/es/legacy-transfer/src/TransferHeader.js +47 -0
- package/es/legacy-transfer/src/TransferList.d.ts +556 -0
- package/es/legacy-transfer/src/TransferList.js +93 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +513 -0
- package/es/legacy-transfer/src/TransferListItem.js +65 -0
- package/es/legacy-transfer/src/interface.d.ts +31 -0
- package/es/legacy-transfer/src/interface.js +2 -0
- package/es/legacy-transfer/src/styles/index.cssr.d.ts +2 -0
- package/es/legacy-transfer/src/styles/index.cssr.js +215 -0
- package/es/legacy-transfer/src/use-transfer-data.d.ts +41 -0
- package/es/legacy-transfer/src/use-transfer-data.js +145 -0
- package/es/legacy-transfer/styles/_common.d.ts +5 -0
- package/es/legacy-transfer/styles/_common.js +4 -0
- package/es/legacy-transfer/styles/dark.d.ts +3 -0
- package/es/legacy-transfer/styles/dark.js +27 -0
- package/es/legacy-transfer/styles/index.d.ts +3 -0
- package/es/legacy-transfer/styles/index.js +2 -0
- package/es/legacy-transfer/styles/light.d.ts +363 -0
- package/es/legacy-transfer/styles/light.js +31 -0
- 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/deDE.js +11 -6
- package/es/locales/common/enGB.js +8 -1
- package/es/locales/common/enUS.d.ts +8 -1
- package/es/locales/common/enUS.js +8 -1
- package/es/locales/common/eo.js +10 -2
- package/es/locales/common/esAR.js +9 -1
- package/es/locales/common/frFR.js +9 -1
- package/es/locales/common/idID.js +9 -1
- package/es/locales/common/itIT.js +9 -1
- package/es/locales/common/jaJP.js +9 -1
- package/es/locales/common/koKR.js +9 -1
- package/es/locales/common/nbNO.js +9 -1
- package/es/locales/common/nlNL.js +9 -1
- package/es/locales/common/plPL.js +9 -1
- package/es/locales/common/ptBR.js +9 -1
- package/es/locales/common/ruRU.js +9 -1
- package/es/locales/common/skSK.js +9 -1
- package/es/locales/common/thTH.js +9 -1
- package/es/locales/common/ukUA.js +23 -19
- package/es/locales/common/viVN.js +9 -1
- package/es/locales/common/zhCN.js +8 -1
- package/es/locales/common/zhTW.js +9 -1
- package/es/log/index.d.ts +1 -1
- package/es/log/index.js +1 -1
- package/es/log/src/Log.d.ts +11 -1
- package/es/log/src/Log.js +1 -1
- package/es/log/styles/light.d.ts +1 -0
- package/es/mention/index.d.ts +1 -1
- package/es/mention/index.js +1 -1
- package/es/mention/src/Mention.d.ts +2 -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 +12 -1
- package/es/notification/src/Notification.js +10 -4
- package/es/notification/src/NotificationContainer.js +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +12 -0
- package/es/notification/src/NotificationEnvironment.js +27 -2
- package/es/notification/src/NotificationProvider.d.ts +8 -1
- package/es/notification/src/NotificationProvider.js +5 -3
- 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 +2 -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/Circle.js +3 -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 +4 -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 +2 -1
- package/es/statistic/src/Statistic.js +10 -4
- package/es/statistic/src/styles/rtl.cssr.d.ts +2 -0
- package/es/statistic/src/styles/rtl.cssr.js +9 -0
- package/es/statistic/styles/index.d.ts +1 -0
- package/es/statistic/styles/index.js +1 -0
- package/es/statistic/styles/rtl.d.ts +2 -0
- package/es/statistic/styles/rtl.js +5 -0
- 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/styles.d.ts +6 -3
- package/es/styles.js +6 -3
- 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/themes/dark.js +4 -0
- package/es/themes/light.js +4 -0
- 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 +10 -4
- package/es/thing/src/styles/rtl.cssr.d.ts +2 -0
- package/es/thing/src/styles/rtl.cssr.js +8 -0
- package/es/thing/styles/index.d.ts +1 -0
- package/es/thing/styles/index.js +1 -0
- package/es/thing/styles/rtl.d.ts +2 -0
- package/es/thing/styles/rtl.js +8 -0
- 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 +2 -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 +2 -2
- package/es/transfer/index.js +1 -1
- package/es/transfer/src/Transfer.d.ts +211 -91
- package/es/transfer/src/Transfer.js +68 -107
- package/es/transfer/src/TransferFilter.d.ts +18 -21
- package/es/transfer/src/TransferFilter.js +2 -10
- package/es/transfer/src/TransferHeader.d.ts +10 -12
- package/es/transfer/src/TransferHeader.js +24 -29
- package/es/transfer/src/TransferList.d.ts +20 -29
- package/es/transfer/src/TransferList.js +15 -32
- package/es/transfer/src/TransferListItem.d.ts +32 -19
- package/es/transfer/src/TransferListItem.js +33 -29
- package/es/transfer/src/interface.d.ts +21 -15
- package/es/transfer/src/styles/index.cssr.js +75 -139
- package/es/transfer/src/use-transfer-data.d.ts +13 -31
- package/es/transfer/src/use-transfer-data.js +45 -121
- package/es/transfer/styles/_common.d.ts +11 -2
- package/es/transfer/styles/_common.js +11 -2
- package/es/transfer/styles/dark.js +8 -4
- package/es/transfer/styles/light.d.ts +36 -10
- package/es/transfer/styles/light.js +7 -5
- package/es/tree/index.d.ts +1 -1
- package/es/tree/index.js +1 -1
- package/es/tree/src/Tree.d.ts +20 -2
- package/es/tree/src/Tree.js +65 -33
- package/es/tree/src/TreeNode.d.ts +1 -0
- package/es/tree/src/TreeNode.js +25 -8
- package/es/tree/src/interface.d.ts +2 -0
- package/es/tree/src/styles/rtl.cssr.d.ts +2 -0
- package/es/tree/src/styles/rtl.cssr.js +17 -0
- package/es/tree/styles/index.d.ts +1 -0
- package/es/tree/styles/index.js +1 -0
- package/es/tree/styles/rtl.d.ts +2 -0
- package/es/tree/styles/rtl.js +5 -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/upload/src/interface.d.ts +2 -2
- 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 +14 -1
- package/es/watermark/src/Watermark.js +36 -15
- package/es/watermark/src/styles/index.cssr.js +17 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +5 -0
- package/lib/_internal/scrollbar/src/Scrollbar.js +50 -21
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +2 -1
- package/lib/_internal/scrollbar/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/_internal/scrollbar/src/styles/rtl.cssr.js +17 -0
- package/lib/_internal/scrollbar/styles/index.d.ts +1 -0
- package/lib/_internal/scrollbar/styles/index.js +3 -1
- package/lib/_internal/scrollbar/styles/rtl.d.ts +3 -0
- package/lib/_internal/scrollbar/styles/rtl.js +12 -0
- package/lib/_internal/select-menu/src/styles/index.cssr.js +1 -1
- package/lib/_internal/selection/src/Selection.js +4 -2
- package/lib/_internal/selection/src/styles/index.cssr.js +5 -1
- package/lib/_mixins/index.d.ts +1 -0
- package/lib/_mixins/index.js +3 -1
- 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/_utils/naive/extract-public-props.d.ts +4 -1
- 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 +2 -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 +12 -1
- package/lib/avatar/src/Avatar.js +62 -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 +14 -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 +17 -38
- package/lib/carousel/src/Carousel.js +293 -272
- package/lib/carousel/src/CarouselArrow.js +2 -4
- package/lib/carousel/src/CarouselContext.d.ts +21 -0
- package/lib/carousel/src/CarouselContext.js +16 -0
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/src/CarouselDots.js +22 -30
- package/lib/carousel/src/CarouselItem.d.ts +4 -4
- package/lib/carousel/src/CarouselItem.js +18 -35
- package/lib/carousel/src/interface.d.ts +12 -31
- package/lib/carousel/src/interface.js +0 -5
- package/lib/carousel/src/styles/index.cssr.js +9 -3
- package/lib/carousel/src/{utils.d.ts → utils/duplicatedLogic.d.ts} +3 -8
- package/lib/carousel/src/utils/duplicatedLogic.js +55 -0
- package/lib/carousel/src/utils/event.d.ts +1 -0
- package/lib/carousel/src/utils/event.js +7 -0
- package/lib/carousel/src/utils/index.d.ts +6 -0
- package/lib/carousel/src/utils/index.js +53 -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 +28 -23
- package/lib/checkbox/src/CheckboxGroup.js +59 -29
- 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 +17 -1
- package/lib/code/src/Code.js +56 -14
- package/lib/code/src/styles/index.cssr.js +13 -1
- package/lib/code/styles/dark.js +4 -2
- package/lib/code/styles/light.d.ts +1 -0
- package/lib/code/styles/light.js +4 -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/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +24 -3
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- 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 +2 -1
- package/lib/date-picker/src/DatePicker.js +21 -11
- package/lib/date-picker/src/panel/daterange.d.ts +0 -1
- package/lib/date-picker/src/panel/daterange.js +2 -2
- package/lib/date-picker/src/panel/datetimerange.d.ts +0 -1
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.js +1 -1
- package/lib/date-picker/src/panel/monthrange.d.ts +0 -1
- package/lib/date-picker/src/panel/monthrange.js +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +0 -1
- package/lib/date-picker/src/panel/use-dual-calendar.js +0 -11
- 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/DialogEnvironment.d.ts +4 -0
- package/lib/dialog/src/DialogEnvironment.js +11 -4
- package/lib/dialog/src/DialogProvider.d.ts +2 -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 +2 -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/image/src/utils.d.ts +1 -1
- package/lib/input/index.d.ts +3 -3
- package/lib/input/index.js +4 -1
- package/lib/input/src/Input.d.ts +2 -1
- package/lib/input/src/Input.js +24 -12
- 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/interface.d.ts +1 -0
- package/lib/input/src/styles/input-group-label.cssr.js +1 -0
- package/lib/input/src/styles/input.cssr.js +4 -6
- 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 +2 -1
- package/lib/input-number/src/InputNumber.js +9 -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/legacy-grid/src/Row.d.ts +1 -0
- package/lib/legacy-grid/src/Row.js +7 -2
- package/lib/legacy-grid/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/legacy-grid/src/styles/rtl.cssr.js +28 -0
- package/lib/legacy-grid/styles/dark.d.ts +4 -0
- package/lib/legacy-grid/styles/dark.js +8 -0
- package/lib/legacy-grid/styles/index.d.ts +4 -0
- package/lib/legacy-grid/styles/index.js +12 -0
- package/lib/legacy-grid/styles/light.d.ts +4 -0
- package/lib/legacy-grid/styles/light.js +8 -0
- package/lib/legacy-grid/styles/rtl.d.ts +2 -0
- package/lib/legacy-grid/styles/rtl.js +11 -0
- package/lib/legacy-transfer/index.d.ts +3 -0
- package/lib/legacy-transfer/index.js +9 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +3631 -0
- package/lib/legacy-transfer/src/Transfer.js +220 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +509 -0
- package/lib/legacy-transfer/src/TransferFilter.js +42 -0
- package/lib/legacy-transfer/src/TransferHeader.d.ts +25 -0
- package/lib/legacy-transfer/src/TransferHeader.js +49 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +556 -0
- package/lib/legacy-transfer/src/TransferList.js +98 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +513 -0
- package/lib/legacy-transfer/src/TransferListItem.js +67 -0
- package/lib/legacy-transfer/src/interface.d.ts +31 -0
- package/lib/legacy-transfer/src/interface.js +5 -0
- package/lib/legacy-transfer/src/styles/index.cssr.d.ts +2 -0
- package/lib/legacy-transfer/src/styles/index.cssr.js +223 -0
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +41 -0
- package/lib/legacy-transfer/src/use-transfer-data.js +149 -0
- package/lib/legacy-transfer/styles/_common.d.ts +5 -0
- package/lib/legacy-transfer/styles/_common.js +6 -0
- package/lib/legacy-transfer/styles/dark.d.ts +3 -0
- package/lib/legacy-transfer/styles/dark.js +32 -0
- package/lib/legacy-transfer/styles/index.d.ts +3 -0
- package/lib/legacy-transfer/styles/index.js +10 -0
- package/lib/legacy-transfer/styles/light.d.ts +363 -0
- package/lib/legacy-transfer/styles/light.js +36 -0
- 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/deDE.js +11 -6
- package/lib/locales/common/enGB.js +8 -1
- package/lib/locales/common/enUS.d.ts +8 -1
- package/lib/locales/common/enUS.js +8 -1
- package/lib/locales/common/eo.js +10 -2
- package/lib/locales/common/esAR.js +9 -1
- package/lib/locales/common/frFR.js +9 -1
- package/lib/locales/common/idID.js +9 -1
- package/lib/locales/common/itIT.js +9 -1
- package/lib/locales/common/jaJP.js +9 -1
- package/lib/locales/common/koKR.js +9 -1
- package/lib/locales/common/nbNO.js +9 -1
- package/lib/locales/common/nlNL.js +9 -1
- package/lib/locales/common/plPL.js +9 -1
- package/lib/locales/common/ptBR.js +9 -1
- package/lib/locales/common/ruRU.js +9 -1
- package/lib/locales/common/skSK.js +9 -1
- package/lib/locales/common/thTH.js +9 -1
- package/lib/locales/common/ukUA.js +23 -19
- package/lib/locales/common/viVN.js +9 -1
- package/lib/locales/common/zhCN.js +8 -1
- package/lib/locales/common/zhTW.js +9 -1
- package/lib/log/index.d.ts +1 -1
- package/lib/log/index.js +2 -1
- package/lib/log/src/Log.d.ts +11 -1
- package/lib/log/src/Log.js +3 -2
- package/lib/log/styles/light.d.ts +1 -0
- package/lib/mention/index.d.ts +1 -1
- package/lib/mention/index.js +2 -1
- package/lib/mention/src/Mention.d.ts +2 -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 +12 -1
- package/lib/notification/src/Notification.js +10 -4
- package/lib/notification/src/NotificationContainer.js +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +12 -0
- package/lib/notification/src/NotificationEnvironment.js +27 -2
- package/lib/notification/src/NotificationProvider.d.ts +8 -1
- package/lib/notification/src/NotificationProvider.js +7 -5
- 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 +2 -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/Circle.js +3 -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 +6 -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 +2 -1
- package/lib/statistic/src/Statistic.js +11 -4
- package/lib/statistic/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/statistic/src/styles/rtl.cssr.js +16 -0
- package/lib/statistic/styles/index.d.ts +1 -0
- package/lib/statistic/styles/index.js +3 -1
- package/lib/statistic/styles/rtl.d.ts +2 -0
- package/lib/statistic/styles/rtl.js +11 -0
- 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/styles.d.ts +6 -3
- package/lib/styles.js +151 -142
- 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/themes/dark.js +82 -78
- package/lib/themes/light.js +82 -78
- 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 +11 -4
- package/lib/thing/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/thing/src/styles/rtl.cssr.js +15 -0
- package/lib/thing/styles/index.d.ts +1 -0
- package/lib/thing/styles/index.js +3 -1
- package/lib/thing/styles/rtl.d.ts +2 -0
- package/lib/thing/styles/rtl.js +14 -0
- 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 +2 -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 +2 -2
- package/lib/transfer/index.js +2 -1
- package/lib/transfer/src/Transfer.d.ts +211 -91
- package/lib/transfer/src/Transfer.js +66 -104
- package/lib/transfer/src/TransferFilter.d.ts +18 -21
- package/lib/transfer/src/TransferFilter.js +2 -10
- package/lib/transfer/src/TransferHeader.d.ts +10 -12
- package/lib/transfer/src/TransferHeader.js +23 -28
- package/lib/transfer/src/TransferList.d.ts +20 -29
- package/lib/transfer/src/TransferList.js +14 -31
- package/lib/transfer/src/TransferListItem.d.ts +32 -19
- package/lib/transfer/src/TransferListItem.js +33 -29
- package/lib/transfer/src/interface.d.ts +21 -15
- package/lib/transfer/src/styles/index.cssr.js +74 -139
- package/lib/transfer/src/use-transfer-data.d.ts +13 -31
- package/lib/transfer/src/use-transfer-data.js +44 -120
- package/lib/transfer/styles/_common.d.ts +11 -2
- package/lib/transfer/styles/_common.js +11 -2
- package/lib/transfer/styles/dark.js +8 -4
- package/lib/transfer/styles/light.d.ts +36 -10
- package/lib/transfer/styles/light.js +7 -5
- package/lib/tree/index.d.ts +1 -1
- package/lib/tree/index.js +2 -1
- package/lib/tree/src/Tree.d.ts +20 -2
- package/lib/tree/src/Tree.js +66 -34
- package/lib/tree/src/TreeNode.d.ts +1 -0
- package/lib/tree/src/TreeNode.js +25 -8
- package/lib/tree/src/interface.d.ts +2 -0
- package/lib/tree/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/tree/src/styles/rtl.cssr.js +24 -0
- package/lib/tree/styles/index.d.ts +1 -0
- package/lib/tree/styles/index.js +3 -1
- package/lib/tree/styles/rtl.d.ts +2 -0
- package/lib/tree/styles/rtl.js +11 -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/upload/src/interface.d.ts +2 -2
- 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 +14 -1
- package/lib/watermark/src/Watermark.js +37 -15
- package/lib/watermark/src/styles/index.cssr.js +17 -1
- package/package.json +5 -4
- package/volar.d.ts +1 -0
- package/web-types.json +322 -2
- package/lib/carousel/src/utils.js +0 -69
package/lib/themes/light.js
CHANGED
|
@@ -43,45 +43,47 @@ const styles_36 = require("../image/styles");
|
|
|
43
43
|
const styles_37 = require("../input/styles");
|
|
44
44
|
const styles_38 = require("../input-number/styles");
|
|
45
45
|
const styles_39 = require("../layout/styles");
|
|
46
|
-
const styles_40 = require("../
|
|
47
|
-
const styles_41 = require("../
|
|
48
|
-
const styles_42 = require("../
|
|
49
|
-
const styles_43 = require("../
|
|
50
|
-
const styles_44 = require("../
|
|
51
|
-
const styles_45 = require("../
|
|
52
|
-
const styles_46 = require("../
|
|
53
|
-
const styles_47 = require("../
|
|
54
|
-
const styles_48 = require("../
|
|
55
|
-
const styles_49 = require("../
|
|
56
|
-
const styles_50 = require("../
|
|
57
|
-
const styles_51 = require("../
|
|
58
|
-
const styles_52 = require("../
|
|
59
|
-
const styles_53 = require("../
|
|
60
|
-
const styles_54 = require("../
|
|
61
|
-
const styles_55 = require("../
|
|
62
|
-
const styles_56 = require("../
|
|
63
|
-
const styles_57 = require("../
|
|
64
|
-
const styles_58 = require("../
|
|
65
|
-
const styles_59 = require("../
|
|
66
|
-
const styles_60 = require("../
|
|
67
|
-
const styles_61 = require("../
|
|
68
|
-
const styles_62 = require("../
|
|
69
|
-
const styles_63 = require("../
|
|
70
|
-
const styles_64 = require("../
|
|
71
|
-
const styles_65 = require("../
|
|
72
|
-
const styles_66 = require("../
|
|
73
|
-
const styles_67 = require("../
|
|
74
|
-
const styles_68 = require("../
|
|
75
|
-
const styles_69 = require("../
|
|
76
|
-
const styles_70 = require("../
|
|
77
|
-
const styles_71 = require("../
|
|
78
|
-
const styles_72 = require("../
|
|
79
|
-
const styles_73 = require("../
|
|
80
|
-
const styles_74 = require("../
|
|
81
|
-
const styles_75 = require("../
|
|
82
|
-
const styles_76 = require("../
|
|
83
|
-
const styles_77 = require("../
|
|
84
|
-
const styles_78 = require("../
|
|
46
|
+
const styles_40 = require("../legacy-transfer/styles");
|
|
47
|
+
const styles_41 = require("../list/styles");
|
|
48
|
+
const styles_42 = require("../loading-bar/styles");
|
|
49
|
+
const styles_43 = require("../log/styles");
|
|
50
|
+
const styles_44 = require("../menu/styles");
|
|
51
|
+
const styles_45 = require("../mention/styles");
|
|
52
|
+
const styles_46 = require("../message/styles");
|
|
53
|
+
const styles_47 = require("../modal/styles");
|
|
54
|
+
const styles_48 = require("../notification/styles");
|
|
55
|
+
const styles_49 = require("../page-header/styles");
|
|
56
|
+
const styles_50 = require("../pagination/styles");
|
|
57
|
+
const styles_51 = require("../popconfirm/styles");
|
|
58
|
+
const styles_52 = require("../popover/styles");
|
|
59
|
+
const styles_53 = require("../popselect/styles");
|
|
60
|
+
const styles_54 = require("../progress/styles");
|
|
61
|
+
const styles_55 = require("../radio/styles");
|
|
62
|
+
const styles_56 = require("../rate/styles");
|
|
63
|
+
const styles_57 = require("../result/styles");
|
|
64
|
+
const styles_58 = require("../legacy-grid/styles");
|
|
65
|
+
const styles_59 = require("../_internal/scrollbar/styles");
|
|
66
|
+
const styles_60 = require("../select/styles");
|
|
67
|
+
const styles_61 = require("../skeleton/styles");
|
|
68
|
+
const styles_62 = require("../slider/styles");
|
|
69
|
+
const styles_63 = require("../space/styles");
|
|
70
|
+
const styles_64 = require("../spin/styles");
|
|
71
|
+
const styles_65 = require("../statistic/styles");
|
|
72
|
+
const styles_66 = require("../steps/styles");
|
|
73
|
+
const styles_67 = require("../switch/styles");
|
|
74
|
+
const styles_68 = require("../table/styles");
|
|
75
|
+
const styles_69 = require("../tabs/styles");
|
|
76
|
+
const styles_70 = require("../tag/styles");
|
|
77
|
+
const styles_71 = require("../thing/styles");
|
|
78
|
+
const styles_72 = require("../time-picker/styles");
|
|
79
|
+
const styles_73 = require("../timeline/styles");
|
|
80
|
+
const styles_74 = require("../tooltip/styles");
|
|
81
|
+
const styles_75 = require("../transfer/styles");
|
|
82
|
+
const styles_76 = require("../typography/styles");
|
|
83
|
+
const styles_77 = require("../tree/styles");
|
|
84
|
+
const styles_78 = require("../tree-select/styles");
|
|
85
|
+
const styles_79 = require("../upload/styles");
|
|
86
|
+
const styles_80 = require("../watermark/styles");
|
|
85
87
|
exports.lightTheme = {
|
|
86
88
|
name: 'light',
|
|
87
89
|
common: common_1.commonLight,
|
|
@@ -124,43 +126,45 @@ exports.lightTheme = {
|
|
|
124
126
|
Input: styles_37.inputLight,
|
|
125
127
|
InputNumber: styles_38.inputNumberLight,
|
|
126
128
|
Layout: styles_39.layoutLight,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
129
|
+
LegacyTransfer: styles_40.legacyTransferLight,
|
|
130
|
+
List: styles_41.listLight,
|
|
131
|
+
LoadingBar: styles_42.loadingBarLight,
|
|
132
|
+
Log: styles_43.logLight,
|
|
133
|
+
Menu: styles_44.menuLight,
|
|
134
|
+
Mention: styles_45.mentionLight,
|
|
135
|
+
Message: styles_46.messageLight,
|
|
136
|
+
Modal: styles_47.modalLight,
|
|
137
|
+
Notification: styles_48.notificationLight,
|
|
138
|
+
PageHeader: styles_49.pageHeaderLight,
|
|
139
|
+
Pagination: styles_50.paginationLight,
|
|
140
|
+
Popconfirm: styles_51.popconfirmLight,
|
|
141
|
+
Popover: styles_52.popoverLight,
|
|
142
|
+
Popselect: styles_53.popselectLight,
|
|
143
|
+
Progress: styles_54.progressLight,
|
|
144
|
+
Radio: styles_55.radioLight,
|
|
145
|
+
Rate: styles_56.rateLight,
|
|
146
|
+
Row: styles_58.rowLight,
|
|
147
|
+
Result: styles_57.resultLight,
|
|
148
|
+
Scrollbar: styles_59.scrollbarLight,
|
|
149
|
+
Skeleton: styles_61.skeletonLight,
|
|
150
|
+
Select: styles_60.selectLight,
|
|
151
|
+
Slider: styles_62.sliderLight,
|
|
152
|
+
Space: styles_63.spaceLight,
|
|
153
|
+
Spin: styles_64.spinLight,
|
|
154
|
+
Statistic: styles_65.statisticLight,
|
|
155
|
+
Steps: styles_66.stepsLight,
|
|
156
|
+
Switch: styles_67.switchLight,
|
|
157
|
+
Table: styles_68.tableLight,
|
|
158
|
+
Tabs: styles_69.tabsLight,
|
|
159
|
+
Tag: styles_70.tagLight,
|
|
160
|
+
Thing: styles_71.thingLight,
|
|
161
|
+
TimePicker: styles_72.timePickerLight,
|
|
162
|
+
Timeline: styles_73.timelineLight,
|
|
163
|
+
Tooltip: styles_74.tooltipLight,
|
|
164
|
+
Transfer: styles_75.transferLight,
|
|
165
|
+
Tree: styles_77.treeLight,
|
|
166
|
+
TreeSelect: styles_78.treeSelectLight,
|
|
167
|
+
Typography: styles_76.typographyLight,
|
|
168
|
+
Upload: styles_79.uploadLight,
|
|
169
|
+
Watermark: styles_80.watermarkLight
|
|
166
170
|
};
|
package/lib/thing/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NThing } from './src/Thing';
|
|
1
|
+
export { default as NThing, thingProps } from './src/Thing';
|
|
2
2
|
export type { ThingProps } from './src/Thing';
|
package/lib/thing/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NThing = void 0;
|
|
6
|
+
exports.thingProps = exports.NThing = void 0;
|
|
7
7
|
var Thing_1 = require("./src/Thing");
|
|
8
8
|
Object.defineProperty(exports, "NThing", { enumerable: true, get: function () { return __importDefault(Thing_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "thingProps", { enumerable: true, get: function () { return Thing_1.thingProps; } });
|
package/lib/thing/src/Thing.d.ts
CHANGED
package/lib/thing/src/Thing.js
CHANGED
|
@@ -3,20 +3,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.thingProps = void 0;
|
|
6
7
|
const vue_1 = require("vue");
|
|
7
8
|
const _mixins_1 = require("../../_mixins");
|
|
8
9
|
const styles_1 = require("../styles");
|
|
9
10
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
10
|
-
|
|
11
|
+
exports.thingProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { title: String, titleExtra: String, description: String, content: String, contentIndented: {
|
|
11
12
|
type: Boolean,
|
|
12
13
|
default: false
|
|
13
14
|
} });
|
|
14
15
|
exports.default = (0, vue_1.defineComponent)({
|
|
15
16
|
name: 'Thing',
|
|
16
|
-
props: thingProps,
|
|
17
|
+
props: exports.thingProps,
|
|
17
18
|
setup(props, { slots }) {
|
|
18
|
-
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
19
|
+
const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = (0, _mixins_1.useConfig)(props);
|
|
19
20
|
const themeRef = (0, _mixins_1.useTheme)('Thing', '-thing', index_cssr_1.default, styles_1.thingLight, props, mergedClsPrefixRef);
|
|
21
|
+
const rtlEnabledRef = (0, _mixins_1.useRtl)('Thing', mergedRtlRef, mergedClsPrefixRef);
|
|
20
22
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
21
23
|
const { self: { titleTextColor, textColor, titleFontWeight, fontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
22
24
|
return {
|
|
@@ -33,8 +35,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
33
35
|
return () => {
|
|
34
36
|
var _a;
|
|
35
37
|
const { value: mergedClsPrefix } = mergedClsPrefixRef;
|
|
38
|
+
const rtlEnabled = rtlEnabledRef ? rtlEnabledRef.value : false;
|
|
36
39
|
(_a = themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender) === null || _a === void 0 ? void 0 : _a.call(themeClassHandle);
|
|
37
|
-
return ((0, vue_1.h)("div", { class: [
|
|
40
|
+
return ((0, vue_1.h)("div", { class: [
|
|
41
|
+
`${mergedClsPrefix}-thing`,
|
|
42
|
+
themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
43
|
+
rtlEnabled && `${mergedClsPrefix}-thing--rtl`
|
|
44
|
+
], style: inlineThemeDisabled
|
|
38
45
|
? undefined
|
|
39
46
|
: cssVarsRef.value },
|
|
40
47
|
slots.avatar && props.contentIndented ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-avatar` }, slots.avatar())) : null,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
const cssr_1 = require("../../../_utils/cssr");
|
|
8
|
+
|
|
9
|
+
exports.default = (0, cssr_1.cB)('thing', [(0, cssr_1.cM)('rtl', `
|
|
10
|
+
direction: rtl;
|
|
11
|
+
text-align: right;
|
|
12
|
+
`, [(0, cssr_1.cB)('thing-avatar', `
|
|
13
|
+
margin-left: 12px;
|
|
14
|
+
margin-right: 0;
|
|
15
|
+
`)])]);
|
|
@@ -3,8 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.thingLight = exports.thingDark = void 0;
|
|
6
|
+
exports.thingRtl = exports.thingLight = exports.thingDark = void 0;
|
|
7
7
|
var dark_1 = require("./dark");
|
|
8
8
|
Object.defineProperty(exports, "thingDark", { enumerable: true, get: function () { return __importDefault(dark_1).default; } });
|
|
9
9
|
var light_1 = require("./light");
|
|
10
10
|
Object.defineProperty(exports, "thingLight", { enumerable: true, get: function () { return __importDefault(light_1).default; } });
|
|
11
|
+
var rtl_1 = require("./rtl");
|
|
12
|
+
Object.defineProperty(exports, "thingRtl", { enumerable: true, get: function () { return rtl_1.thingRtl; } });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.thingRtl = void 0;
|
|
7
|
+
const rtl_cssr_1 = __importDefault(require("../src/styles/rtl.cssr"));
|
|
8
|
+
const rtl_1 = require("../../button/styles/rtl");
|
|
9
|
+
const rtl_2 = require("../../space/styles/rtl");
|
|
10
|
+
exports.thingRtl = {
|
|
11
|
+
name: 'Thing',
|
|
12
|
+
style: rtl_cssr_1.default,
|
|
13
|
+
peers: [rtl_1.buttonRtl, rtl_2.spaceRtl]
|
|
14
|
+
};
|
package/lib/time/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NTime } from './src/Time';
|
|
1
|
+
export { default as NTime, timeProps } from './src/Time';
|
|
2
2
|
export type { TimeProps } from './src/Time';
|
package/lib/time/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NTime = void 0;
|
|
6
|
+
exports.timeProps = exports.NTime = void 0;
|
|
7
7
|
var Time_1 = require("./src/Time");
|
|
8
8
|
Object.defineProperty(exports, "NTime", { enumerable: true, get: function () { return __importDefault(Time_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "timeProps", { enumerable: true, get: function () { return Time_1.timeProps; } });
|
package/lib/time/src/Time.d.ts
CHANGED
package/lib/time/src/Time.js
CHANGED
|
@@ -3,11 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.timeProps = void 0;
|
|
6
7
|
const vue_1 = require("vue");
|
|
7
8
|
const date_fns_1 = require("date-fns"); //
|
|
8
9
|
const formatInTimeZone_1 = __importDefault(require("date-fns-tz/formatInTimeZone")); //
|
|
9
10
|
const _mixins_1 = require("../../_mixins");
|
|
10
|
-
|
|
11
|
+
exports.timeProps = {
|
|
11
12
|
time: {
|
|
12
13
|
type: [Number, Date],
|
|
13
14
|
default: undefined // For unix or non unix mode, it should be different default value
|
|
@@ -27,7 +28,7 @@ const timeProps = {
|
|
|
27
28
|
};
|
|
28
29
|
exports.default = (0, vue_1.defineComponent)({
|
|
29
30
|
name: 'Time',
|
|
30
|
-
props: timeProps,
|
|
31
|
+
props: exports.timeProps,
|
|
31
32
|
setup(props) {
|
|
32
33
|
const now = Date.now();
|
|
33
34
|
const { localeRef, dateLocaleRef } = (0, _mixins_1.useLocale)('Time');
|
package/lib/time-picker/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NTimePicker = void 0;
|
|
6
|
+
exports.timePickerProps = exports.NTimePicker = void 0;
|
|
7
7
|
var TimePicker_1 = require("./src/TimePicker");
|
|
8
8
|
Object.defineProperty(exports, "NTimePicker", { enumerable: true, get: function () { return __importDefault(TimePicker_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "timePickerProps", { enumerable: true, get: function () { return TimePicker_1.timePickerProps; } });
|
|
@@ -3,7 +3,7 @@ import { FollowerPlacement } from 'vueuc';
|
|
|
3
3
|
import type { FormValidationStatus } from '../../form/src/interface';
|
|
4
4
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
5
5
|
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, ItemValue, OnUpdateFormattedValue, OnUpdateValue, Size } from './interface';
|
|
6
|
-
declare const timePickerProps: {
|
|
6
|
+
export declare const timePickerProps: {
|
|
7
7
|
to: {
|
|
8
8
|
type: PropType<string | boolean | HTMLElement>;
|
|
9
9
|
default: undefined;
|
|
@@ -1891,6 +1891,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1891
1891
|
select: () => void;
|
|
1892
1892
|
activate: () => void;
|
|
1893
1893
|
deactivate: () => void;
|
|
1894
|
+
scrollTo: (options: ScrollToOptions) => void;
|
|
1894
1895
|
} | null>;
|
|
1895
1896
|
panelInstRef: import("vue").Ref<{
|
|
1896
1897
|
$el: HTMLElement;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.timePickerProps = void 0;
|
|
6
7
|
const vue_1 = require("vue");
|
|
7
8
|
const vooks_1 = require("vooks");
|
|
8
9
|
const vueuc_1 = require("vueuc");
|
|
@@ -33,7 +34,7 @@ function validateUnits(value, max) {
|
|
|
33
34
|
return value >= 0 && value <= max;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
+
exports.timePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { to: _utils_1.useAdjustedTo.propTo, bordered: {
|
|
37
38
|
type: Boolean,
|
|
38
39
|
default: undefined
|
|
39
40
|
}, actions: Array, defaultValue: {
|
|
@@ -75,7 +76,7 @@ const timePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
|
|
|
75
76
|
onChange: [Function, Array] });
|
|
76
77
|
exports.default = (0, vue_1.defineComponent)({
|
|
77
78
|
name: 'TimePicker',
|
|
78
|
-
props: timePickerProps,
|
|
79
|
+
props: exports.timePickerProps,
|
|
79
80
|
setup(props) {
|
|
80
81
|
if (process.env.NODE_ENV !== 'production') {
|
|
81
82
|
(0, vue_1.watchEffect)(() => {
|
package/lib/timeline/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as NTimeline } from './src/Timeline';
|
|
2
|
-
export { default as NTimelineItem } from './src/TimelineItem';
|
|
1
|
+
export { default as NTimeline, timelineProps } from './src/Timeline';
|
|
2
|
+
export { default as NTimelineItem, timelineItemProps } from './src/TimelineItem';
|
|
3
3
|
export type { TimelineProps } from './src/Timeline';
|
|
4
4
|
export type { TimelineItemProps } from './src/TimelineItem';
|
package/lib/timeline/index.js
CHANGED
|
@@ -3,8 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NTimelineItem = exports.NTimeline = void 0;
|
|
6
|
+
exports.timelineItemProps = exports.NTimelineItem = exports.timelineProps = exports.NTimeline = void 0;
|
|
7
7
|
var Timeline_1 = require("./src/Timeline");
|
|
8
8
|
Object.defineProperty(exports, "NTimeline", { enumerable: true, get: function () { return __importDefault(Timeline_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "timelineProps", { enumerable: true, get: function () { return Timeline_1.timelineProps; } });
|
|
9
10
|
var TimelineItem_1 = require("./src/TimelineItem");
|
|
10
11
|
Object.defineProperty(exports, "NTimelineItem", { enumerable: true, get: function () { return __importDefault(TimelineItem_1).default; } });
|
|
12
|
+
Object.defineProperty(exports, "timelineItemProps", { enumerable: true, get: function () { return TimelineItem_1.timelineItemProps; } });
|
|
@@ -2,7 +2,7 @@ import { PropType, ExtractPropTypes, Ref } from 'vue';
|
|
|
2
2
|
import { MergedTheme } from '../../_mixins';
|
|
3
3
|
import type { TimelineTheme } from '../styles';
|
|
4
4
|
import { ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
-
declare const timelineProps: {
|
|
5
|
+
export declare const timelineProps: {
|
|
6
6
|
readonly horizontal: BooleanConstructor;
|
|
7
7
|
readonly itemPlacement: {
|
|
8
8
|
readonly type: PropType<"left" | "right">;
|
|
@@ -3,13 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.timelineInjectionKey = void 0;
|
|
6
|
+
exports.timelineInjectionKey = exports.timelineProps = void 0;
|
|
7
7
|
const vue_1 = require("vue");
|
|
8
8
|
const _mixins_1 = require("../../_mixins");
|
|
9
9
|
const _utils_1 = require("../../_utils");
|
|
10
10
|
const styles_1 = require("../styles");
|
|
11
11
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
12
|
-
|
|
12
|
+
exports.timelineProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { horizontal: Boolean, itemPlacement: {
|
|
13
13
|
type: String,
|
|
14
14
|
default: 'left'
|
|
15
15
|
}, size: {
|
|
@@ -19,7 +19,7 @@ const timelineProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
19
19
|
exports.timelineInjectionKey = (0, _utils_1.createInjectionKey)('n-timeline');
|
|
20
20
|
exports.default = (0, vue_1.defineComponent)({
|
|
21
21
|
name: 'Timeline',
|
|
22
|
-
props: timelineProps,
|
|
22
|
+
props: exports.timelineProps,
|
|
23
23
|
setup(props, { slots }) {
|
|
24
24
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
25
25
|
const themeRef = (0, _mixins_1.useTheme)('Timeline', '-timeline', index_cssr_1.default, styles_1.timelineLight, props, mergedClsPrefixRef);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.timelineItemProps = void 0;
|
|
3
4
|
const vue_1 = require("vue");
|
|
4
5
|
const _utils_1 = require("../../_utils");
|
|
5
6
|
const Timeline_1 = require("./Timeline");
|
|
6
7
|
const _mixins_1 = require("../../_mixins");
|
|
7
|
-
|
|
8
|
+
exports.timelineItemProps = {
|
|
8
9
|
time: [String, Number],
|
|
9
10
|
title: String,
|
|
10
11
|
content: String,
|
|
@@ -20,7 +21,7 @@ const timelineItemProps = {
|
|
|
20
21
|
};
|
|
21
22
|
exports.default = (0, vue_1.defineComponent)({
|
|
22
23
|
name: 'TimelineItem',
|
|
23
|
-
props: timelineItemProps,
|
|
24
|
+
props: exports.timelineItemProps,
|
|
24
25
|
setup(props) {
|
|
25
26
|
const NTimeline = (0, vue_1.inject)(Timeline_1.timelineInjectionKey);
|
|
26
27
|
if (!NTimeline) {
|
package/lib/tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as NTooltip } from './src/Tooltip';
|
|
1
|
+
export { default as NTooltip, tooltipProps } from './src/Tooltip';
|
|
2
2
|
export type { TooltipProps, TooltipInst } from './src/Tooltip';
|
package/lib/tooltip/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NTooltip = void 0;
|
|
6
|
+
exports.tooltipProps = exports.NTooltip = void 0;
|
|
7
7
|
var Tooltip_1 = require("./src/Tooltip");
|
|
8
8
|
Object.defineProperty(exports, "NTooltip", { enumerable: true, get: function () { return __importDefault(Tooltip_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "tooltipProps", { enumerable: true, get: function () { return Tooltip_1.tooltipProps; } });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PopoverInst } from '../../popover';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare type TooltipInst = PopoverInst;
|
|
4
|
-
declare const tooltipProps: {
|
|
4
|
+
export declare const tooltipProps: {
|
|
5
5
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Tooltip", {
|
|
6
6
|
borderRadius: string;
|
|
7
7
|
boxShadow: string;
|
|
@@ -129,6 +129,7 @@ declare const tooltipProps: {
|
|
|
129
129
|
scrollable: BooleanConstructor;
|
|
130
130
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
131
131
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
132
|
+
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
132
133
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
133
134
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
134
135
|
onUpdateShow: import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -281,6 +282,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
282
|
scrollable: BooleanConstructor;
|
|
282
283
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
283
284
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
285
|
+
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
284
286
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
285
287
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
286
288
|
onUpdateShow: import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -582,6 +584,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
582
584
|
scrollable: BooleanConstructor;
|
|
583
585
|
contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
584
586
|
headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
587
|
+
footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
585
588
|
onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
|
|
586
589
|
'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
587
590
|
onUpdateShow: import("vue").PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tooltipProps = void 0;
|
|
3
4
|
// Tooltip: popover wearing waistcoat
|
|
4
5
|
const vue_1 = require("vue");
|
|
5
6
|
const popover_1 = require("../../popover");
|
|
6
7
|
const Popover_1 = require("../../popover/src/Popover");
|
|
7
8
|
const _mixins_1 = require("../../_mixins");
|
|
8
9
|
const styles_1 = require("../styles");
|
|
9
|
-
|
|
10
|
+
exports.tooltipProps = Object.assign(Object.assign({}, Popover_1.popoverBaseProps), _mixins_1.useTheme.props);
|
|
10
11
|
exports.default = (0, vue_1.defineComponent)({
|
|
11
12
|
name: 'Tooltip',
|
|
12
|
-
props: tooltipProps,
|
|
13
|
+
props: exports.tooltipProps,
|
|
13
14
|
__popover__: true,
|
|
14
15
|
setup(props) {
|
|
15
16
|
const themeRef = (0, _mixins_1.useTheme)('Tooltip', '-tooltip', undefined, styles_1.tooltipLight, props);
|
package/lib/transfer/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as NTransfer } from './src/Transfer';
|
|
1
|
+
export { default as NTransfer, transferProps } from './src/Transfer';
|
|
2
2
|
export type { TransferProps } from './src/Transfer';
|
|
3
|
-
export type { Option as TransferOption } from './src/interface';
|
|
3
|
+
export type { Option as TransferOption, TransferRenderSourceLabel, TransferRenderTargetLabel, TransferRenderSourceList } from './src/interface';
|
package/lib/transfer/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NTransfer = void 0;
|
|
6
|
+
exports.transferProps = exports.NTransfer = void 0;
|
|
7
7
|
var Transfer_1 = require("./src/Transfer");
|
|
8
8
|
Object.defineProperty(exports, "NTransfer", { enumerable: true, get: function () { return __importDefault(Transfer_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "transferProps", { enumerable: true, get: function () { return Transfer_1.transferProps; } });
|