naive-ui 2.40.4 → 2.41.1
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 +3516 -1947
- package/dist/index.mjs +3510 -1949
- package/dist/index.prod.js +1 -1
- package/dist/index.prod.mjs +1 -1
- package/es/_internal/selection/src/Selection.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +1 -1
- package/es/_utils/dom/download.d.ts +1 -0
- package/es/_utils/dom/download.mjs +3 -0
- package/es/_utils/index.d.ts +2 -2
- package/es/_utils/index.mjs +2 -2
- package/es/_utils/naive/index.d.ts +1 -0
- package/es/_utils/naive/index.mjs +1 -0
- package/es/_utils/naive/value.d.ts +1 -0
- package/es/_utils/naive/value.mjs +13 -0
- package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -0
- package/es/_utils/vue/get-first-slot-vnode.mjs +13 -0
- package/es/_utils/vue/index.d.ts +2 -2
- package/es/_utils/vue/index.mjs +2 -2
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/_utils/vue/resolve-slot.mjs +1 -1
- package/es/alert/index.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +7 -2
- package/es/alert/src/Alert.mjs +1 -0
- package/es/auto-complete/index.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +10 -4
- package/es/auto-complete/src/AutoComplete.mjs +3 -2
- package/es/auto-complete/src/interface.d.ts +6 -0
- package/es/avatar/index.d.ts +1 -1
- package/es/avatar/src/Avatar.d.ts +7 -2
- package/es/avatar/src/Avatar.mjs +1 -0
- package/es/avatar-group/index.d.ts +2 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +8 -2
- package/es/avatar-group/src/AvatarGroup.mjs +1 -0
- package/es/avatar-group/src/interface.d.ts +8 -0
- package/es/avatar-group/src/interface.mjs +1 -0
- package/es/breadcrumb/index.d.ts +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +6 -2
- package/es/breadcrumb/src/BreadcrumbItem.mjs +1 -0
- package/es/button/index.d.ts +1 -1
- package/es/button/src/Button.d.ts +6 -2
- package/es/button/src/Button.mjs +1 -0
- package/es/calendar/src/Calendar.d.ts +7 -3
- package/es/calendar/src/Calendar.mjs +3 -2
- package/es/calendar/src/interface.d.ts +9 -0
- package/es/card/index.d.ts +1 -1
- package/es/card/src/Card.d.ts +10 -2
- package/es/card/src/Card.mjs +1 -0
- package/es/carousel/index.d.ts +2 -2
- package/es/carousel/src/Carousel.d.ts +8 -3
- package/es/carousel/src/Carousel.mjs +4 -3
- package/es/carousel/src/interface.d.ts +12 -0
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +9 -3
- package/es/cascader/src/Cascader.mjs +1 -0
- package/es/collapse/index.d.ts +3 -2
- package/es/collapse/src/Collapse.d.ts +10 -4
- package/es/collapse/src/Collapse.mjs +1 -0
- package/es/collapse/src/CollapseItem.d.ts +9 -4
- package/es/collapse/src/CollapseItem.mjs +8 -11
- package/es/collapse/src/interface.d.ts +12 -0
- package/es/color-picker/index.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +7 -2
- package/es/color-picker/src/ColorPicker.mjs +1 -3
- package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/es/color-picker/src/ColorPickerTrigger.mjs +1 -0
- package/es/color-picker/src/context.d.ts +3 -2
- package/es/components.d.ts +1 -0
- package/es/components.mjs +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +9 -8
- package/es/data-table/src/DataTable.mjs +7 -6
- package/es/data-table/src/TableParts/Body.d.ts +1 -3
- package/es/data-table/src/interface.d.ts +7 -2
- package/es/data-table/src/styles/index.cssr.mjs +1 -0
- package/es/data-table/src/use-group-header.mjs +4 -3
- package/es/date-picker/index.d.ts +1 -0
- package/es/date-picker/src/DatePicker.d.ts +27 -5
- package/es/date-picker/src/DatePicker.mjs +1 -0
- package/es/date-picker/src/interface.d.ts +3 -2
- package/es/date-picker/src/panel/date.d.ts +1 -3
- package/es/date-picker/src/panel/date.mjs +8 -8
- package/es/date-picker/src/panel/daterange.d.ts +1 -3
- package/es/date-picker/src/panel/daterange.mjs +12 -12
- package/es/date-picker/src/panel/datetime.d.ts +1 -3
- package/es/date-picker/src/panel/datetime.mjs +10 -10
- package/es/date-picker/src/panel/datetimerange.d.ts +1 -3
- package/es/date-picker/src/panel/datetimerange.mjs +12 -12
- package/es/date-picker/src/panel/month.d.ts +1 -3
- package/es/date-picker/src/panel/month.mjs +9 -9
- package/es/date-picker/src/panel/monthrange.d.ts +1 -3
- package/es/date-picker/src/panel/monthrange.mjs +9 -7
- package/es/date-picker/src/panel/panelHeader.d.ts +4 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +1 -3
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +1 -3
- package/es/date-picker/src/props.d.ts +1 -1
- package/es/descriptions/index.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +7 -3
- package/es/descriptions/src/Descriptions.mjs +1 -0
- package/es/descriptions/src/DescriptionsItem.d.ts +6 -2
- package/es/descriptions/src/DescriptionsItem.mjs +1 -0
- package/es/dialog/index.d.ts +1 -0
- package/es/dialog/src/Dialog.d.ts +9 -2
- package/es/dialog/src/Dialog.mjs +1 -0
- package/es/dialog/src/DialogEnvironment.d.ts +5 -1
- package/es/dialog/src/DialogEnvironment.mjs +8 -3
- package/es/dialog/src/DialogProvider.d.ts +8 -2
- package/es/drawer/index.d.ts +1 -1
- package/es/drawer/src/Drawer.d.ts +2 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/drawer/src/DrawerContent.d.ts +7 -2
- package/es/drawer/src/DrawerContent.mjs +1 -0
- package/es/dynamic-input/index.d.ts +2 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +8 -2
- package/es/dynamic-input/src/DynamicInput.mjs +3 -3
- package/es/dynamic-input/src/interface.d.ts +11 -0
- package/es/dynamic-tags/index.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +8 -3
- package/es/dynamic-tags/src/DynamicTags.mjs +1 -0
- package/es/dynamic-tags/src/interface.d.ts +8 -0
- package/es/ellipsis/index.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +6 -2
- package/es/ellipsis/src/Ellipsis.mjs +1 -0
- package/es/empty/index.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +7 -2
- package/es/empty/src/Empty.mjs +1 -0
- package/es/float-button/index.d.ts +1 -1
- package/es/float-button/src/FloatButton.d.ts +7 -2
- package/es/float-button/src/FloatButton.mjs +1 -0
- package/es/form/index.d.ts +1 -0
- package/es/form/src/FormItem.d.ts +1 -1
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/interface.d.ts +0 -1
- package/es/form/src/public-types.d.ts +1 -0
- package/es/form/src/public-types.mjs +1 -0
- package/es/image/index.d.ts +1 -1
- package/es/image/src/Image.d.ts +6 -2
- package/es/image/src/Image.mjs +2 -5
- package/es/input/index.d.ts +1 -1
- package/es/input/src/Input.d.ts +14 -3
- package/es/input/src/Input.mjs +8 -8
- package/es/input/src/WordCount.mjs +2 -2
- package/es/input-number/index.d.ts +1 -1
- package/es/input-number/src/InputNumber.d.ts +9 -3
- package/es/input-number/src/InputNumber.mjs +1 -0
- package/es/input-otp/index.d.ts +3 -0
- package/es/input-otp/index.mjs +1 -0
- package/es/input-otp/src/InputOtp.d.ts +871 -0
- package/es/input-otp/src/InputOtp.mjs +317 -0
- package/es/input-otp/src/public-types.d.ts +24 -0
- package/es/input-otp/src/public-types.mjs +1 -0
- package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/index.cssr.mjs +11 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.mjs +5 -0
- package/es/input-otp/styles/dark.d.ts +3 -0
- package/es/input-otp/styles/dark.mjs +12 -0
- package/es/input-otp/styles/index.d.ts +4 -0
- package/es/input-otp/styles/index.mjs +3 -0
- package/es/input-otp/styles/light.d.ts +81 -0
- package/es/input-otp/styles/light.mjs +22 -0
- package/es/input-otp/styles/rtl.d.ts +2 -0
- package/es/input-otp/styles/rtl.mjs +5 -0
- package/es/list/index.d.ts +2 -1
- package/es/list/src/List.d.ts +7 -2
- package/es/list/src/List.mjs +1 -0
- package/es/list/src/ListItem.d.ts +7 -1
- package/es/list/src/ListItem.mjs +1 -0
- package/es/locales/common/kmKH.d.ts +3 -0
- package/es/locales/common/kmKH.mjs +124 -0
- package/es/locales/common/ugCN.d.ts +3 -0
- package/es/locales/common/ugCN.mjs +124 -0
- package/es/locales/date/kmKH.d.ts +3 -0
- package/es/locales/date/kmKH.mjs +6 -0
- package/es/locales/date/ugCN.d.ts +3 -0
- package/es/locales/date/ugCN.mjs +6 -0
- package/es/locales/index.d.ts +3 -0
- package/es/locales/index.mjs +3 -0
- package/es/mention/index.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +7 -3
- package/es/mention/src/Mention.mjs +1 -0
- package/es/modal/index.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +20 -5
- package/es/modal/src/BodyWrapper.mjs +55 -13
- package/es/modal/src/Modal.d.ts +19 -8
- package/es/modal/src/Modal.mjs +3 -0
- package/es/modal/src/ModalEnvironment.d.ts +4 -2
- package/es/modal/src/ModalProvider.mjs +0 -6
- package/es/modal/src/composables.d.ts +13 -1
- package/es/modal/src/composables.mjs +105 -1
- package/es/modal/src/interface.d.ts +6 -0
- package/es/modal/src/styles/index.cssr.mjs +5 -1
- package/es/page-header/index.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +12 -2
- package/es/page-header/src/PageHeader.mjs +1 -0
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +12 -3
- package/es/pagination/src/Pagination.mjs +3 -2
- package/es/pagination/src/interface.d.ts +1 -0
- package/es/popconfirm/index.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +8 -2
- package/es/popconfirm/src/Popconfirm.mjs +2 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +8 -2
- package/es/popover/src/Popover.mjs +2 -5
- package/es/popselect/index.d.ts +1 -1
- package/es/popselect/src/Popselect.d.ts +8 -2
- package/es/popselect/src/Popselect.mjs +1 -0
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +2 -2
- package/es/result/index.d.ts +1 -1
- package/es/result/src/Result.d.ts +7 -2
- package/es/result/src/Result.mjs +1 -0
- package/es/select/index.d.ts +1 -1
- package/es/select/src/Select.d.ts +10 -3
- package/es/select/src/Select.mjs +1 -0
- package/es/slider/index.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +6 -2
- package/es/slider/src/Slider.mjs +1 -0
- package/es/spin/index.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +7 -2
- package/es/spin/src/Spin.mjs +1 -0
- package/es/split/index.d.ts +1 -1
- package/es/split/src/Split.d.ts +8 -2
- package/es/split/src/Split.mjs +1 -0
- package/es/statistic/index.d.ts +1 -1
- package/es/statistic/src/Statistic.d.ts +8 -1
- package/es/statistic/src/Statistic.mjs +1 -0
- package/es/steps/index.d.ts +2 -2
- package/es/steps/src/Step.d.ts +8 -5
- package/es/steps/src/Step.mjs +1 -0
- package/es/steps/src/Steps.d.ts +8 -3
- package/es/steps/src/Steps.mjs +1 -0
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/switch/index.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +10 -2
- package/es/switch/src/Switch.mjs +1 -0
- package/es/tabs/index.d.ts +2 -2
- package/es/tabs/src/TabPane.d.ts +8 -2
- package/es/tabs/src/TabPane.mjs +1 -0
- package/es/tabs/src/Tabs.d.ts +7 -2
- package/es/tabs/src/Tabs.mjs +1 -0
- package/es/tag/index.d.ts +1 -1
- package/es/tag/src/Tag.d.ts +7 -2
- package/es/tag/src/Tag.mjs +1 -0
- package/es/themes/dark.mjs +2 -1
- package/es/themes/light.mjs +2 -0
- package/es/thing/index.d.ts +1 -1
- package/es/thing/src/Thing.d.ts +11 -2
- package/es/thing/src/Thing.mjs +1 -0
- package/es/time-picker/index.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +6 -2
- package/es/timeline/index.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +8 -2
- package/es/timeline/src/TimelineItem.mjs +1 -0
- package/es/tooltip/index.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +5 -2
- package/es/tooltip/src/Tooltip.mjs +1 -0
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/tree/index.d.ts +1 -1
- package/es/tree/src/Tree.d.ts +27 -19
- package/es/tree/src/Tree.mjs +5 -4
- package/es/tree-select/index.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +22 -3
- package/es/tree-select/src/TreeSelect.mjs +2 -0
- package/es/typography/src/text.d.ts +1 -1
- package/es/upload/index.d.ts +2 -0
- package/es/upload/index.mjs +1 -0
- package/es/upload/src/Upload.d.ts +11 -8
- package/es/upload/src/Upload.mjs +2 -0
- package/es/upload/src/UploadFile.mjs +8 -1
- package/es/upload/src/UploadTrigger.d.ts +7 -2
- package/es/upload/src/UploadTrigger.mjs +1 -0
- package/es/upload/src/interface.d.ts +8 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +1 -1
- package/lib/_utils/dom/download.d.ts +1 -0
- package/lib/_utils/dom/download.js +4 -0
- package/lib/_utils/index.d.ts +2 -2
- package/lib/_utils/index.js +4 -2
- package/lib/_utils/naive/index.d.ts +1 -0
- package/lib/_utils/naive/index.js +3 -1
- package/lib/_utils/naive/value.d.ts +1 -0
- package/lib/_utils/naive/value.js +18 -0
- package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -0
- package/lib/_utils/vue/get-first-slot-vnode.js +15 -0
- package/lib/_utils/vue/index.d.ts +2 -2
- package/lib/_utils/vue/index.js +3 -2
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.js +2 -2
- package/lib/alert/index.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +7 -2
- package/lib/alert/src/Alert.js +1 -0
- package/lib/auto-complete/index.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +10 -4
- package/lib/auto-complete/src/AutoComplete.js +2 -1
- package/lib/auto-complete/src/interface.d.ts +6 -0
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/src/Avatar.d.ts +7 -2
- package/lib/avatar/src/Avatar.js +1 -0
- package/lib/avatar-group/index.d.ts +2 -1
- package/lib/avatar-group/src/AvatarGroup.d.ts +8 -2
- package/lib/avatar-group/src/AvatarGroup.js +1 -0
- package/lib/avatar-group/src/interface.d.ts +8 -0
- package/lib/avatar-group/src/interface.js +2 -0
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +6 -2
- package/lib/breadcrumb/src/BreadcrumbItem.js +1 -0
- package/lib/button/index.d.ts +1 -1
- package/lib/button/src/Button.d.ts +6 -2
- package/lib/button/src/Button.js +1 -0
- package/lib/calendar/src/Calendar.d.ts +7 -3
- package/lib/calendar/src/Calendar.js +2 -1
- package/lib/calendar/src/interface.d.ts +9 -0
- package/lib/card/index.d.ts +1 -1
- package/lib/card/src/Card.d.ts +10 -2
- package/lib/card/src/Card.js +1 -0
- package/lib/carousel/index.d.ts +2 -2
- package/lib/carousel/src/Carousel.d.ts +8 -3
- package/lib/carousel/src/Carousel.js +3 -2
- package/lib/carousel/src/interface.d.ts +12 -0
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +9 -3
- package/lib/cascader/src/Cascader.js +1 -0
- package/lib/collapse/index.d.ts +3 -2
- package/lib/collapse/src/Collapse.d.ts +10 -4
- package/lib/collapse/src/Collapse.js +1 -0
- package/lib/collapse/src/CollapseItem.d.ts +9 -4
- package/lib/collapse/src/CollapseItem.js +6 -9
- package/lib/collapse/src/interface.d.ts +12 -0
- package/lib/color-picker/index.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +7 -2
- package/lib/color-picker/src/ColorPicker.js +3 -4
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/lib/color-picker/src/ColorPickerTrigger.js +1 -0
- package/lib/color-picker/src/context.d.ts +3 -2
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +9 -8
- package/lib/data-table/src/DataTable.js +7 -6
- package/lib/data-table/src/TableParts/Body.d.ts +1 -3
- package/lib/data-table/src/interface.d.ts +7 -2
- package/lib/data-table/src/styles/index.cssr.js +1 -0
- package/lib/data-table/src/use-group-header.js +4 -3
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-picker/src/DatePicker.d.ts +27 -5
- package/lib/date-picker/src/DatePicker.js +1 -0
- package/lib/date-picker/src/interface.d.ts +3 -2
- package/lib/date-picker/src/panel/date.d.ts +1 -3
- package/lib/date-picker/src/panel/date.js +15 -7
- package/lib/date-picker/src/panel/daterange.d.ts +1 -3
- package/lib/date-picker/src/panel/daterange.js +27 -11
- package/lib/date-picker/src/panel/datetime.d.ts +1 -3
- package/lib/date-picker/src/panel/datetime.js +16 -8
- package/lib/date-picker/src/panel/datetimerange.d.ts +1 -3
- package/lib/date-picker/src/panel/datetimerange.js +27 -11
- package/lib/date-picker/src/panel/month.d.ts +1 -3
- package/lib/date-picker/src/panel/month.js +6 -6
- package/lib/date-picker/src/panel/monthrange.d.ts +1 -3
- package/lib/date-picker/src/panel/monthrange.js +5 -3
- package/lib/date-picker/src/panel/panelHeader.d.ts +4 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +1 -3
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +1 -3
- package/lib/date-picker/src/props.d.ts +1 -1
- package/lib/descriptions/index.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +7 -3
- package/lib/descriptions/src/Descriptions.js +1 -0
- package/lib/descriptions/src/DescriptionsItem.d.ts +6 -2
- package/lib/descriptions/src/DescriptionsItem.js +1 -0
- package/lib/dialog/index.d.ts +1 -0
- package/lib/dialog/src/Dialog.d.ts +9 -2
- package/lib/dialog/src/Dialog.js +1 -0
- package/lib/dialog/src/DialogEnvironment.d.ts +5 -1
- package/lib/dialog/src/DialogEnvironment.js +3 -3
- package/lib/dialog/src/DialogProvider.d.ts +8 -2
- package/lib/drawer/index.d.ts +1 -1
- package/lib/drawer/src/Drawer.d.ts +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +7 -2
- package/lib/drawer/src/DrawerContent.js +1 -0
- package/lib/dynamic-input/index.d.ts +2 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +8 -2
- package/lib/dynamic-input/src/DynamicInput.js +2 -2
- package/lib/dynamic-input/src/interface.d.ts +11 -0
- package/lib/dynamic-tags/index.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +8 -3
- package/lib/dynamic-tags/src/DynamicTags.js +1 -0
- package/lib/dynamic-tags/src/interface.d.ts +8 -0
- package/lib/ellipsis/index.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +6 -2
- package/lib/ellipsis/src/Ellipsis.js +1 -0
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +7 -2
- package/lib/empty/src/Empty.js +1 -0
- package/lib/float-button/index.d.ts +1 -1
- package/lib/float-button/src/FloatButton.d.ts +7 -2
- package/lib/float-button/src/FloatButton.js +1 -0
- package/lib/form/index.d.ts +1 -0
- package/lib/form/src/FormItem.d.ts +1 -1
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/interface.d.ts +0 -1
- package/lib/form/src/public-types.d.ts +1 -0
- package/lib/form/src/public-types.js +2 -0
- package/lib/image/index.d.ts +1 -1
- package/lib/image/src/Image.d.ts +6 -2
- package/lib/image/src/Image.js +2 -2
- package/lib/input/index.d.ts +1 -1
- package/lib/input/src/Input.d.ts +14 -3
- package/lib/input/src/Input.js +9 -8
- package/lib/input/src/WordCount.js +1 -1
- package/lib/input-number/index.d.ts +1 -1
- package/lib/input-number/src/InputNumber.d.ts +9 -3
- package/lib/input-number/src/InputNumber.js +1 -0
- package/lib/input-otp/index.d.ts +3 -0
- package/lib/input-otp/index.js +9 -0
- package/lib/input-otp/src/InputOtp.d.ts +871 -0
- package/lib/input-otp/src/InputOtp.js +242 -0
- package/lib/input-otp/src/public-types.d.ts +24 -0
- package/lib/input-otp/src/public-types.js +2 -0
- package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/index.cssr.js +16 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
- package/lib/input-otp/styles/dark.d.ts +3 -0
- package/lib/input-otp/styles/dark.js +14 -0
- package/lib/input-otp/styles/index.d.ts +4 -0
- package/lib/input-otp/styles/index.js +12 -0
- package/lib/input-otp/styles/light.d.ts +81 -0
- package/lib/input-otp/styles/light.js +25 -0
- package/lib/input-otp/styles/rtl.d.ts +2 -0
- package/lib/input-otp/styles/rtl.js +11 -0
- package/lib/list/index.d.ts +2 -1
- package/lib/list/src/List.d.ts +7 -2
- package/lib/list/src/List.js +1 -0
- package/lib/list/src/ListItem.d.ts +7 -1
- package/lib/list/src/ListItem.js +1 -0
- package/lib/locales/common/kmKH.d.ts +3 -0
- package/lib/locales/common/kmKH.js +126 -0
- package/lib/locales/common/ugCN.d.ts +3 -0
- package/lib/locales/common/ugCN.js +126 -0
- package/lib/locales/date/kmKH.d.ts +3 -0
- package/lib/locales/date/kmKH.js +8 -0
- package/lib/locales/date/ugCN.d.ts +3 -0
- package/lib/locales/date/ugCN.js +8 -0
- package/lib/locales/index.d.ts +3 -0
- package/lib/locales/index.js +8 -2
- package/lib/mention/index.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +7 -3
- package/lib/mention/src/Mention.js +1 -0
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +20 -5
- package/lib/modal/src/BodyWrapper.js +47 -14
- package/lib/modal/src/Modal.d.ts +19 -8
- package/lib/modal/src/Modal.js +3 -2
- package/lib/modal/src/ModalEnvironment.d.ts +4 -2
- package/lib/modal/src/ModalProvider.js +0 -6
- package/lib/modal/src/composables.d.ts +13 -1
- package/lib/modal/src/composables.js +100 -0
- package/lib/modal/src/interface.d.ts +6 -0
- package/lib/modal/src/styles/index.cssr.js +5 -1
- package/lib/page-header/index.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +12 -2
- package/lib/page-header/src/PageHeader.js +1 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +12 -3
- package/lib/pagination/src/Pagination.js +3 -2
- package/lib/pagination/src/interface.d.ts +1 -0
- package/lib/popconfirm/index.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +8 -2
- package/lib/popconfirm/src/Popconfirm.js +2 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +8 -2
- package/lib/popover/src/Popover.js +2 -6
- package/lib/popselect/index.d.ts +1 -1
- package/lib/popselect/src/Popselect.d.ts +8 -2
- package/lib/popselect/src/Popselect.js +1 -0
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +2 -2
- package/lib/result/index.d.ts +1 -1
- package/lib/result/src/Result.d.ts +7 -2
- package/lib/result/src/Result.js +1 -0
- package/lib/select/index.d.ts +1 -1
- package/lib/select/src/Select.d.ts +10 -3
- package/lib/select/src/Select.js +1 -0
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +6 -2
- package/lib/slider/src/Slider.js +1 -0
- package/lib/spin/index.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +7 -2
- package/lib/spin/src/Spin.js +1 -0
- package/lib/split/index.d.ts +1 -1
- package/lib/split/src/Split.d.ts +8 -2
- package/lib/split/src/Split.js +1 -0
- package/lib/statistic/index.d.ts +1 -1
- package/lib/statistic/src/Statistic.d.ts +8 -1
- package/lib/statistic/src/Statistic.js +1 -0
- package/lib/steps/index.d.ts +2 -2
- package/lib/steps/src/Step.d.ts +8 -5
- package/lib/steps/src/Step.js +1 -0
- package/lib/steps/src/Steps.d.ts +8 -3
- package/lib/steps/src/Steps.js +1 -0
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +99 -96
- package/lib/switch/index.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +10 -2
- package/lib/switch/src/Switch.js +1 -0
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tabs/src/TabPane.d.ts +8 -2
- package/lib/tabs/src/TabPane.js +1 -0
- package/lib/tabs/src/Tabs.d.ts +7 -2
- package/lib/tabs/src/Tabs.js +1 -0
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/src/Tag.d.ts +7 -2
- package/lib/tag/src/Tag.js +1 -0
- package/lib/themes/dark.js +1 -0
- package/lib/themes/light.js +92 -90
- package/lib/thing/index.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +11 -2
- package/lib/thing/src/Thing.js +1 -0
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +6 -2
- package/lib/timeline/index.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +8 -2
- package/lib/timeline/src/TimelineItem.js +1 -0
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +5 -2
- package/lib/tooltip/src/Tooltip.js +1 -0
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/tree/index.d.ts +1 -1
- package/lib/tree/src/Tree.d.ts +27 -19
- package/lib/tree/src/Tree.js +6 -4
- package/lib/tree-select/index.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +22 -3
- package/lib/tree-select/src/TreeSelect.js +2 -1
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +3 -1
- package/lib/upload/src/Upload.d.ts +11 -8
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.js +7 -2
- package/lib/upload/src/UploadTrigger.d.ts +7 -2
- package/lib/upload/src/UploadTrigger.js +1 -0
- package/lib/upload/src/interface.d.ts +8 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/package.json +1 -1
- package/volar.d.ts +3 -2
- package/web-types.json +142 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
2
|
+
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export declare const resultProps: {
|
|
4
4
|
size: {
|
|
5
5
|
type: PropType<"small" | "medium" | "large" | "huge">;
|
|
@@ -91,6 +91,11 @@ export declare const resultProps: {
|
|
|
91
91
|
}, any>>>;
|
|
92
92
|
};
|
|
93
93
|
export type ResultProps = ExtractPublicPropTypes<typeof resultProps>;
|
|
94
|
+
export interface ResultSlots {
|
|
95
|
+
default?: () => VNode[];
|
|
96
|
+
footer?: () => VNode[];
|
|
97
|
+
icon?: () => VNode[];
|
|
98
|
+
}
|
|
94
99
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
100
|
size: {
|
|
96
101
|
type: PropType<"small" | "medium" | "large" | "huge">;
|
|
@@ -287,5 +292,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
287
292
|
}>> & Readonly<{}>, {
|
|
288
293
|
size: "small" | "medium" | "large" | "huge";
|
|
289
294
|
status: "error" | "500" | "info" | "success" | "warning" | "404" | "403" | "418";
|
|
290
|
-
},
|
|
295
|
+
}, SlotsType<ResultSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
291
296
|
export default _default;
|
package/lib/result/src/Result.js
CHANGED
|
@@ -35,6 +35,7 @@ exports.resultProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
35
35
|
exports.default = (0, vue_1.defineComponent)({
|
|
36
36
|
name: 'Result',
|
|
37
37
|
props: exports.resultProps,
|
|
38
|
+
slots: Object,
|
|
38
39
|
setup(props) {
|
|
39
40
|
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
40
41
|
const themeRef = (0, _mixins_1.useTheme)('Result', '-result', index_cssr_1.default, styles_1.resultLight, props, mergedClsPrefixRef);
|
package/lib/select/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export type { NodeProps as SelectNodeProps, RenderLabelImpl as SelectRenderLabel
|
|
|
2
2
|
export type { RenderTag as SelectRenderTag } from '../_internal/selection/src/interface';
|
|
3
3
|
export type { SelectFilter, SelectGroupOption, SelectInst, SelectOption } from './src/interface';
|
|
4
4
|
export { default as NSelect, selectProps } from './src/Select';
|
|
5
|
-
export type { SelectProps } from './src/Select';
|
|
5
|
+
export type { SelectProps, SelectSlots } from './src/Select';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { NodeProps, RenderLabel, RenderOption } from '../../_internal/select-menu/src/interface';
|
|
2
2
|
import type { RenderTag } from '../../_internal/selection/src/interface';
|
|
3
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
4
|
-
import type { FormValidationStatus } from '../../form/src/
|
|
4
|
+
import type { FormValidationStatus } from '../../form/src/public-types';
|
|
5
5
|
import type { PopoverProps } from '../../popover';
|
|
6
6
|
import type { OnUpdateValue, SelectBaseOption, SelectFallbackOption, SelectFilter, SelectGroupOption, SelectIgnoredOption, SelectMixedOption, SelectOption, Size, Value, ValueAtom } from './interface';
|
|
7
7
|
import { type TreeNode } from 'treemate';
|
|
8
|
-
import { type HTMLAttributes, type InputHTMLAttributes, type PropType } from 'vue';
|
|
8
|
+
import { type HTMLAttributes, type InputHTMLAttributes, type PropType, type SlotsType, type VNode } from 'vue';
|
|
9
9
|
import { type FollowerInst, type FollowerPlacement } from 'vueuc';
|
|
10
10
|
import { type InternalSelectionInst } from '../../_internal';
|
|
11
11
|
export declare const selectProps: {
|
|
@@ -554,6 +554,13 @@ export declare const selectProps: {
|
|
|
554
554
|
}>>>;
|
|
555
555
|
};
|
|
556
556
|
export type SelectProps = ExtractPublicPropTypes<typeof selectProps>;
|
|
557
|
+
export interface SelectSlots {
|
|
558
|
+
default?: () => VNode[];
|
|
559
|
+
header?: () => VNode[];
|
|
560
|
+
action?: () => VNode[];
|
|
561
|
+
empty?: () => VNode[];
|
|
562
|
+
arrow?: () => VNode[];
|
|
563
|
+
}
|
|
557
564
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
558
565
|
readonly to: {
|
|
559
566
|
type: PropType<HTMLElement | string | boolean>;
|
|
@@ -1952,5 +1959,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1952
1959
|
readonly consistentMenuWidth: boolean;
|
|
1953
1960
|
readonly childrenField: string;
|
|
1954
1961
|
readonly showOnFocus: boolean;
|
|
1955
|
-
},
|
|
1962
|
+
}, SlotsType<SelectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1956
1963
|
export default _default;
|
package/lib/select/src/Select.js
CHANGED
|
@@ -83,6 +83,7 @@ exports.selectProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
83
83
|
exports.default = (0, vue_1.defineComponent)({
|
|
84
84
|
name: 'Select',
|
|
85
85
|
props: exports.selectProps,
|
|
86
|
+
slots: Object,
|
|
86
87
|
setup(props) {
|
|
87
88
|
if (process.env.NODE_ENV !== 'production') {
|
|
88
89
|
(0, vue_1.watchEffect)(() => {
|
package/lib/slider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as NSlider, sliderProps } from './src/Slider';
|
|
2
|
-
export type { SliderProps } from './src/Slider';
|
|
2
|
+
export type { SliderProps, SliderSlots } from './src/Slider';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties, type PropType, type VNodeChild } from 'vue';
|
|
1
|
+
import { type CSSProperties, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
2
2
|
import { type FollowerPlacement } from 'vueuc';
|
|
3
3
|
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
4
4
|
export interface ClosestMark {
|
|
@@ -146,6 +146,10 @@ export declare const sliderProps: {
|
|
|
146
146
|
}, any>>>;
|
|
147
147
|
};
|
|
148
148
|
export type SliderProps = ExtractPublicPropTypes<typeof sliderProps>;
|
|
149
|
+
export interface SliderSlots {
|
|
150
|
+
thumb?: () => VNode[];
|
|
151
|
+
default?: () => VNode[];
|
|
152
|
+
}
|
|
149
153
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
150
154
|
readonly to: {
|
|
151
155
|
type: PropType<HTMLElement | string | boolean>;
|
|
@@ -513,5 +517,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
513
517
|
readonly defaultValue: number | number[];
|
|
514
518
|
readonly keyboard: boolean;
|
|
515
519
|
readonly showTooltip: boolean | undefined;
|
|
516
|
-
},
|
|
520
|
+
}, SlotsType<SliderSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
517
521
|
export default _default;
|
package/lib/slider/src/Slider.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.sliderProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
43
43
|
exports.default = (0, vue_1.defineComponent)({
|
|
44
44
|
name: 'Slider',
|
|
45
45
|
props: exports.sliderProps,
|
|
46
|
+
slots: Object,
|
|
46
47
|
setup(props) {
|
|
47
48
|
const { mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
48
49
|
const themeRef = (0, _mixins_1.useTheme)('Slider', '-slider', index_cssr_1.default, styles_1.sliderLight, props, mergedClsPrefixRef);
|
package/lib/spin/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as NSpin, spinProps } from './src/Spin';
|
|
2
|
-
export type { SpinProps } from './src/Spin';
|
|
2
|
+
export type { SpinProps, SpinSlots } from './src/Spin';
|
package/lib/spin/src/Spin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
1
|
+
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
2
2
|
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const spinProps: {
|
|
4
4
|
contentClass: StringConstructor;
|
|
@@ -59,6 +59,11 @@ export declare const spinProps: {
|
|
|
59
59
|
}, any>>>;
|
|
60
60
|
};
|
|
61
61
|
export type SpinProps = ExtractPublicPropTypes<typeof spinProps>;
|
|
62
|
+
export interface SpinSlots {
|
|
63
|
+
default?: () => VNode[];
|
|
64
|
+
description?: () => VNode[];
|
|
65
|
+
icon?: () => VNode[];
|
|
66
|
+
}
|
|
62
67
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
63
68
|
contentClass: StringConstructor;
|
|
64
69
|
contentStyle: PropType<CSSProperties | string>;
|
|
@@ -191,5 +196,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
196
|
show: boolean;
|
|
192
197
|
rotate: boolean;
|
|
193
198
|
spinning: boolean;
|
|
194
|
-
},
|
|
199
|
+
}, SlotsType<SpinSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
195
200
|
export default _default;
|
package/lib/spin/src/Spin.js
CHANGED
|
@@ -36,6 +36,7 @@ exports.spinProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), {
|
|
|
36
36
|
exports.default = (0, vue_1.defineComponent)({
|
|
37
37
|
name: 'Spin',
|
|
38
38
|
props: exports.spinProps,
|
|
39
|
+
slots: Object,
|
|
39
40
|
setup(props) {
|
|
40
41
|
if (process.env.NODE_ENV !== 'production') {
|
|
41
42
|
(0, vue_1.watchEffect)(() => {
|
package/lib/split/index.d.ts
CHANGED
package/lib/split/src/Split.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SplitOnUpdateSize } from './types';
|
|
2
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
2
|
+
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const splitProps: {
|
|
5
5
|
readonly direction: {
|
|
@@ -48,6 +48,12 @@ export declare const splitProps: {
|
|
|
48
48
|
}, any>>>;
|
|
49
49
|
};
|
|
50
50
|
export type SplitProps = ExtractPublicPropTypes<typeof splitProps>;
|
|
51
|
+
export interface SplitSlots {
|
|
52
|
+
default?: () => VNode[];
|
|
53
|
+
1?: () => VNode[];
|
|
54
|
+
2?: () => VNode[];
|
|
55
|
+
'resize-trigger'?: () => VNode[];
|
|
56
|
+
}
|
|
51
57
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
58
|
readonly direction: {
|
|
53
59
|
readonly type: PropType<"horizontal" | "vertical">;
|
|
@@ -169,5 +175,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
169
175
|
readonly min: string | number;
|
|
170
176
|
readonly defaultSize: string | number;
|
|
171
177
|
readonly resizeTriggerSize: number;
|
|
172
|
-
},
|
|
178
|
+
}, SlotsType<SplitSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
173
179
|
export default _default;
|
package/lib/split/src/Split.js
CHANGED
|
@@ -32,6 +32,7 @@ exports.splitProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
32
32
|
exports.default = (0, vue_1.defineComponent)({
|
|
33
33
|
name: 'Split',
|
|
34
34
|
props: exports.splitProps,
|
|
35
|
+
slots: Object,
|
|
35
36
|
setup(props) {
|
|
36
37
|
var _a;
|
|
37
38
|
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, use_config_1.default)(props);
|
package/lib/statistic/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as NStatistic, statisticProps } from './src/Statistic';
|
|
2
|
-
export type { StatisticProps } from './src/Statistic';
|
|
2
|
+
export type { StatisticProps, StatisticSlots } from './src/Statistic';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
+
import { type SlotsType, type VNode } from 'vue';
|
|
2
3
|
export declare const statisticProps: {
|
|
3
4
|
tabularNums: BooleanConstructor;
|
|
4
5
|
label: StringConstructor;
|
|
@@ -35,6 +36,12 @@ export declare const statisticProps: {
|
|
|
35
36
|
}, any>>>;
|
|
36
37
|
};
|
|
37
38
|
export type StatisticProps = ExtractPublicPropTypes<typeof statisticProps>;
|
|
39
|
+
export interface StatisticSlots {
|
|
40
|
+
default?: () => VNode[];
|
|
41
|
+
label?: () => VNode[];
|
|
42
|
+
prefix?: () => VNode[];
|
|
43
|
+
suffix?: () => VNode[];
|
|
44
|
+
}
|
|
38
45
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
46
|
tabularNums: BooleanConstructor;
|
|
40
47
|
label: StringConstructor;
|
|
@@ -121,5 +128,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
121
128
|
}, any>>>;
|
|
122
129
|
}>> & Readonly<{}>, {
|
|
123
130
|
tabularNums: boolean;
|
|
124
|
-
},
|
|
131
|
+
}, SlotsType<StatisticSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
125
132
|
export default _default;
|
|
@@ -13,6 +13,7 @@ exports.statisticProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
|
|
|
13
13
|
exports.default = (0, vue_1.defineComponent)({
|
|
14
14
|
name: 'Statistic',
|
|
15
15
|
props: exports.statisticProps,
|
|
16
|
+
slots: Object,
|
|
16
17
|
setup(props) {
|
|
17
18
|
const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = (0, _mixins_1.useConfig)(props);
|
|
18
19
|
const themeRef = (0, _mixins_1.useTheme)('Statistic', '-statistic', index_cssr_1.default, styles_1.statisticLight, props, mergedClsPrefixRef);
|
package/lib/steps/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as NStep, stepProps } from './src/Step';
|
|
2
|
-
export type { StepProps } from './src/Step';
|
|
2
|
+
export type { StepProps, StepSlots } from './src/Step';
|
|
3
3
|
export { default as NSteps, stepsProps } from './src/Steps';
|
|
4
|
-
export type { StepsProps } from './src/Steps';
|
|
4
|
+
export type { StepsProps, StepsSlots } from './src/Steps';
|
package/lib/steps/src/Step.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
2
|
+
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export declare const stepProps: {
|
|
4
4
|
readonly status: PropType<"process" | "finish" | "error" | "wait">;
|
|
5
5
|
readonly title: StringConstructor;
|
|
@@ -11,6 +11,11 @@ export declare const stepProps: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export type StepProps = ExtractPublicPropTypes<typeof stepProps>;
|
|
14
|
+
export interface StepSlots {
|
|
15
|
+
default?: () => VNode[];
|
|
16
|
+
icon?: () => VNode[];
|
|
17
|
+
title?: () => VNode[];
|
|
18
|
+
}
|
|
14
19
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
20
|
readonly status: PropType<"process" | "finish" | "error" | "wait">;
|
|
16
21
|
readonly title: StringConstructor;
|
|
@@ -21,9 +26,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
26
|
readonly default: 0;
|
|
22
27
|
};
|
|
23
28
|
}>, {
|
|
24
|
-
stepsSlots:
|
|
25
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
26
|
-
}>;
|
|
29
|
+
stepsSlots: import("./Steps").StepsSlots;
|
|
27
30
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
28
31
|
vertical: import("vue").ComputedRef<boolean>;
|
|
29
32
|
mergedStatus: import("vue").ComputedRef<"error" | "wait" | "finish" | "process">;
|
|
@@ -56,5 +59,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
59
|
}>> & Readonly<{}>, {
|
|
57
60
|
readonly disabled: boolean;
|
|
58
61
|
readonly internalIndex: number;
|
|
59
|
-
},
|
|
62
|
+
}, SlotsType<StepSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
63
|
export default _default;
|
package/lib/steps/src/Step.js
CHANGED
package/lib/steps/src/Steps.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MergedTheme } from '../../_mixins';
|
|
2
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
3
|
import type { StepsTheme } from '../styles';
|
|
4
|
-
import { type ExtractPropTypes, type PropType, type Ref, type
|
|
4
|
+
import { type ExtractPropTypes, type PropType, type Ref, type SlotsType, type VNode } from 'vue';
|
|
5
5
|
export declare const stepsProps: {
|
|
6
6
|
current: NumberConstructor;
|
|
7
7
|
status: {
|
|
@@ -125,9 +125,14 @@ export interface StepsInjection {
|
|
|
125
125
|
props: ExtractPropTypes<typeof stepsProps>;
|
|
126
126
|
mergedClsPrefixRef: Ref<string>;
|
|
127
127
|
mergedThemeRef: Ref<MergedTheme<StepsTheme>>;
|
|
128
|
-
stepsSlots:
|
|
128
|
+
stepsSlots: StepsSlots;
|
|
129
129
|
}
|
|
130
130
|
export type StepsProps = ExtractPublicPropTypes<typeof stepsProps>;
|
|
131
|
+
export interface StepsSlots {
|
|
132
|
+
default?: () => VNode[];
|
|
133
|
+
'finish-icon'?: () => VNode[];
|
|
134
|
+
'error-icon'?: () => VNode[];
|
|
135
|
+
}
|
|
131
136
|
export declare const stepsInjectionKey: import("vue").InjectionKey<StepsInjection>;
|
|
132
137
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
133
138
|
current: NumberConstructor;
|
|
@@ -372,5 +377,5 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
372
377
|
size: "small" | "medium";
|
|
373
378
|
status: "error" | "wait" | "finish" | "process";
|
|
374
379
|
vertical: boolean;
|
|
375
|
-
},
|
|
380
|
+
}, SlotsType<StepsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
376
381
|
export default _default;
|
package/lib/steps/src/Steps.js
CHANGED
|
@@ -32,6 +32,7 @@ exports.stepsInjectionKey = (0, _utils_1.createInjectionKey)('n-steps');
|
|
|
32
32
|
exports.default = (0, vue_1.defineComponent)({
|
|
33
33
|
name: 'Steps',
|
|
34
34
|
props: exports.stepsProps,
|
|
35
|
+
slots: Object,
|
|
35
36
|
setup(props, { slots }) {
|
|
36
37
|
const { mergedClsPrefixRef, mergedRtlRef } = (0, _mixins_1.useConfig)(props);
|
|
37
38
|
const rtlEnabledRef = (0, _mixins_1.useRtl)('Steps', mergedRtlRef, mergedClsPrefixRef);
|
package/lib/styles.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { formDark } from './form/styles';
|
|
|
36
36
|
export { gradientTextDark } from './gradient-text/styles';
|
|
37
37
|
export { iconDark } from './icon/styles';
|
|
38
38
|
export { inputNumberDark, inputNumberRtl as unstableInputNumberRtl } from './input-number/styles';
|
|
39
|
+
export { inputOtpDark, inputOtpRtl as unstableInputOtpRtl } from './input-otp/styles';
|
|
39
40
|
export { inputDark, inputRtl as unstableInputRtl } from './input/styles';
|
|
40
41
|
export { layoutDark } from './layout/styles';
|
|
41
42
|
export { rowRtl as unstableRowRtl } from './legacy-grid/styles';
|
package/lib/styles.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.inputNumberDark = exports.iconDark = exports.gradientTextDark = exports.formDark = exports.unstableFlexRtl = exports.flexDark = exports.emptyDark = exports.elementDark = exports.dynamicTagsDark = exports.unstableDynamicInputRtl = exports.dynamicInputDark = exports.dropdownDark = exports.unstableDrawerRtl = exports.drawerDark = exports.dividerDark = exports.unstableDialogRtl = exports.dialogDark = exports.descriptionsDark = exports.datePickerDark = exports.dataTableDark = exports.unstableDataTableRtl = exports.unstableCollapseRtl = exports.collapseDark = exports.unstableCollapseTransitionRtl = exports.codeDark = exports.unstableCheckboxRtl = exports.checkboxDark = exports.cascaderDark = exports.unstableCardRtl = exports.cardDark = exports.unstableButtonRtl = exports.buttonDark = exports.unstableButtonGroupRtl = exports.buttonGroupDark = exports.breadcrumbDark = exports.unstableBadgeRtl = exports.badgeDark = exports.backTopDark = exports.avatarDark = exports.unstableAvatarGroupRtl = exports.autoCompleteDark = exports.anchorDark = exports.unstableAlertRtl = exports.alertDark = exports.commonLight = exports.commonDark = exports.internalSelectionDark = exports.internalSelectMenuDark = exports.unstableScrollbarRtl = exports.scrollbarDark = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.watermarkDark = exports.uploadDark = exports.typographyDark = exports.unstableTreeRtl = exports.treeDark = void 0;
|
|
4
|
+
exports.tooltipDark = exports.timelineDark = exports.timePickerDark = exports.unstableThingRtl = exports.thingDark = exports.unstableTagRtl = exports.tagDark = exports.tabsDark = exports.unstableTableRtl = exports.tableDark = exports.switchDark = exports.unstableStepsRtl = exports.stepsDark = exports.unstableStatisticRtl = exports.statisticDark = exports.spinDark = exports.unstableSpaceRtl = exports.spaceDark = exports.sliderDark = exports.unstableSelectRtl = exports.selectDark = exports.resultDark = exports.rateDark = exports.unstableRadioRtl = exports.radioDark = exports.progressDark = exports.popselectDark = exports.popoverDark = exports.popconfirmDark = exports.unstablePaginationRtl = exports.paginationDark = exports.unstablePageHeaderRtl = exports.notificationDark = exports.unstableNotificationRtl = exports.modalDark = exports.messageDark = exports.unstableMessageRtl = exports.menuDark = exports.mentionDark = exports.logDark = exports.loadingBarDark = exports.unstableListRtl = exports.listDark = exports.unstableRowRtl = exports.layoutDark = exports.unstableInputRtl = exports.inputDark = exports.unstableInputOtpRtl = exports.inputOtpDark = exports.unstableInputNumberRtl = void 0;
|
|
5
|
+
exports.watermarkDark = exports.uploadDark = exports.typographyDark = exports.unstableTreeRtl = exports.treeDark = exports.treeSelectDark = exports.transferDark = void 0;
|
|
6
6
|
// danger zone, internal styles
|
|
7
7
|
var styles_1 = require("./_internal/scrollbar/styles");
|
|
8
8
|
Object.defineProperty(exports, "scrollbarDark", { enumerable: true, get: function () { return styles_1.scrollbarDark; } });
|
|
@@ -93,99 +93,102 @@ Object.defineProperty(exports, "iconDark", { enumerable: true, get: function ()
|
|
|
93
93
|
var styles_37 = require("./input-number/styles");
|
|
94
94
|
Object.defineProperty(exports, "inputNumberDark", { enumerable: true, get: function () { return styles_37.inputNumberDark; } });
|
|
95
95
|
Object.defineProperty(exports, "unstableInputNumberRtl", { enumerable: true, get: function () { return styles_37.inputNumberRtl; } });
|
|
96
|
-
var styles_38 = require("./input/styles");
|
|
97
|
-
Object.defineProperty(exports, "
|
|
98
|
-
Object.defineProperty(exports, "
|
|
99
|
-
var styles_39 = require("./
|
|
100
|
-
Object.defineProperty(exports, "
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Object.defineProperty(exports, "
|
|
106
|
-
var styles_42 = require("./
|
|
107
|
-
Object.defineProperty(exports, "
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
96
|
+
var styles_38 = require("./input-otp/styles");
|
|
97
|
+
Object.defineProperty(exports, "inputOtpDark", { enumerable: true, get: function () { return styles_38.inputOtpDark; } });
|
|
98
|
+
Object.defineProperty(exports, "unstableInputOtpRtl", { enumerable: true, get: function () { return styles_38.inputOtpRtl; } });
|
|
99
|
+
var styles_39 = require("./input/styles");
|
|
100
|
+
Object.defineProperty(exports, "inputDark", { enumerable: true, get: function () { return styles_39.inputDark; } });
|
|
101
|
+
Object.defineProperty(exports, "unstableInputRtl", { enumerable: true, get: function () { return styles_39.inputRtl; } });
|
|
102
|
+
var styles_40 = require("./layout/styles");
|
|
103
|
+
Object.defineProperty(exports, "layoutDark", { enumerable: true, get: function () { return styles_40.layoutDark; } });
|
|
104
|
+
var styles_41 = require("./legacy-grid/styles");
|
|
105
|
+
Object.defineProperty(exports, "unstableRowRtl", { enumerable: true, get: function () { return styles_41.rowRtl; } });
|
|
106
|
+
var styles_42 = require("./list/styles");
|
|
107
|
+
Object.defineProperty(exports, "listDark", { enumerable: true, get: function () { return styles_42.listDark; } });
|
|
108
|
+
Object.defineProperty(exports, "unstableListRtl", { enumerable: true, get: function () { return styles_42.listRtl; } });
|
|
109
|
+
var styles_43 = require("./loading-bar/styles");
|
|
110
|
+
Object.defineProperty(exports, "loadingBarDark", { enumerable: true, get: function () { return styles_43.loadingBarDark; } });
|
|
111
|
+
var styles_44 = require("./log/styles");
|
|
112
|
+
Object.defineProperty(exports, "logDark", { enumerable: true, get: function () { return styles_44.logDark; } });
|
|
113
|
+
var styles_45 = require("./mention/styles");
|
|
114
|
+
Object.defineProperty(exports, "mentionDark", { enumerable: true, get: function () { return styles_45.mentionDark; } });
|
|
115
|
+
var styles_46 = require("./menu/styles");
|
|
116
|
+
Object.defineProperty(exports, "menuDark", { enumerable: true, get: function () { return styles_46.menuDark; } });
|
|
116
117
|
var styles_47 = require("./message/styles");
|
|
117
|
-
Object.defineProperty(exports, "
|
|
118
|
-
var styles_48 = require("./
|
|
119
|
-
Object.defineProperty(exports, "
|
|
120
|
-
var styles_49 = require("./
|
|
121
|
-
Object.defineProperty(exports, "
|
|
118
|
+
Object.defineProperty(exports, "unstableMessageRtl", { enumerable: true, get: function () { return styles_47.messageRtl; } });
|
|
119
|
+
var styles_48 = require("./message/styles");
|
|
120
|
+
Object.defineProperty(exports, "messageDark", { enumerable: true, get: function () { return styles_48.messageDark; } });
|
|
121
|
+
var styles_49 = require("./modal/styles");
|
|
122
|
+
Object.defineProperty(exports, "modalDark", { enumerable: true, get: function () { return styles_49.modalDark; } });
|
|
122
123
|
var styles_50 = require("./notification/styles");
|
|
123
|
-
Object.defineProperty(exports, "
|
|
124
|
-
var styles_51 = require("./
|
|
125
|
-
Object.defineProperty(exports, "
|
|
126
|
-
var styles_52 = require("./
|
|
127
|
-
Object.defineProperty(exports, "
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Object.defineProperty(exports, "
|
|
131
|
-
var styles_54 = require("./
|
|
132
|
-
Object.defineProperty(exports, "
|
|
133
|
-
var styles_55 = require("./
|
|
134
|
-
Object.defineProperty(exports, "
|
|
135
|
-
var styles_56 = require("./
|
|
136
|
-
Object.defineProperty(exports, "
|
|
137
|
-
var styles_57 = require("./
|
|
138
|
-
Object.defineProperty(exports, "
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Object.defineProperty(exports, "
|
|
142
|
-
var styles_59 = require("./
|
|
143
|
-
Object.defineProperty(exports, "
|
|
144
|
-
var styles_60 = require("./
|
|
145
|
-
Object.defineProperty(exports, "
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Object.defineProperty(exports, "
|
|
149
|
-
var styles_62 = require("./
|
|
150
|
-
Object.defineProperty(exports, "
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
Object.defineProperty(exports, "
|
|
154
|
-
var styles_64 = require("./
|
|
155
|
-
Object.defineProperty(exports, "
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
Object.defineProperty(exports, "
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
Object.defineProperty(exports, "
|
|
162
|
-
var styles_67 = require("./
|
|
163
|
-
Object.defineProperty(exports, "
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
Object.defineProperty(exports, "
|
|
167
|
-
var styles_69 = require("./
|
|
168
|
-
Object.defineProperty(exports, "
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
Object.defineProperty(exports, "
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
Object.defineProperty(exports, "
|
|
175
|
-
var styles_72 = require("./
|
|
176
|
-
Object.defineProperty(exports, "
|
|
177
|
-
var styles_73 = require("./
|
|
178
|
-
Object.defineProperty(exports, "
|
|
179
|
-
var styles_74 = require("./
|
|
180
|
-
Object.defineProperty(exports, "
|
|
181
|
-
var styles_75 = require("./
|
|
182
|
-
Object.defineProperty(exports, "
|
|
183
|
-
var styles_76 = require("./tree/styles");
|
|
184
|
-
Object.defineProperty(exports, "
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
Object.defineProperty(exports, "
|
|
188
|
-
var styles_78 = require("./
|
|
189
|
-
Object.defineProperty(exports, "
|
|
190
|
-
var styles_79 = require("./
|
|
191
|
-
Object.defineProperty(exports, "
|
|
124
|
+
Object.defineProperty(exports, "unstableNotificationRtl", { enumerable: true, get: function () { return styles_50.notificationRtl; } });
|
|
125
|
+
var styles_51 = require("./notification/styles");
|
|
126
|
+
Object.defineProperty(exports, "notificationDark", { enumerable: true, get: function () { return styles_51.notificationDark; } });
|
|
127
|
+
var styles_52 = require("./page-header/styles");
|
|
128
|
+
Object.defineProperty(exports, "unstablePageHeaderRtl", { enumerable: true, get: function () { return styles_52.pageHeaderRtl; } });
|
|
129
|
+
var styles_53 = require("./pagination/styles");
|
|
130
|
+
Object.defineProperty(exports, "paginationDark", { enumerable: true, get: function () { return styles_53.paginationDark; } });
|
|
131
|
+
Object.defineProperty(exports, "unstablePaginationRtl", { enumerable: true, get: function () { return styles_53.paginationRtl; } });
|
|
132
|
+
var styles_54 = require("./popconfirm/styles");
|
|
133
|
+
Object.defineProperty(exports, "popconfirmDark", { enumerable: true, get: function () { return styles_54.popconfirmDark; } });
|
|
134
|
+
var styles_55 = require("./popover/styles");
|
|
135
|
+
Object.defineProperty(exports, "popoverDark", { enumerable: true, get: function () { return styles_55.popoverDark; } });
|
|
136
|
+
var styles_56 = require("./popselect/styles");
|
|
137
|
+
Object.defineProperty(exports, "popselectDark", { enumerable: true, get: function () { return styles_56.popselectDark; } });
|
|
138
|
+
var styles_57 = require("./progress/styles");
|
|
139
|
+
Object.defineProperty(exports, "progressDark", { enumerable: true, get: function () { return styles_57.progressDark; } });
|
|
140
|
+
var styles_58 = require("./radio/styles");
|
|
141
|
+
Object.defineProperty(exports, "radioDark", { enumerable: true, get: function () { return styles_58.radioDark; } });
|
|
142
|
+
Object.defineProperty(exports, "unstableRadioRtl", { enumerable: true, get: function () { return styles_58.radioRtl; } });
|
|
143
|
+
var styles_59 = require("./rate/styles");
|
|
144
|
+
Object.defineProperty(exports, "rateDark", { enumerable: true, get: function () { return styles_59.rateDark; } });
|
|
145
|
+
var styles_60 = require("./result/styles");
|
|
146
|
+
Object.defineProperty(exports, "resultDark", { enumerable: true, get: function () { return styles_60.resultDark; } });
|
|
147
|
+
var styles_61 = require("./select/styles");
|
|
148
|
+
Object.defineProperty(exports, "selectDark", { enumerable: true, get: function () { return styles_61.selectDark; } });
|
|
149
|
+
Object.defineProperty(exports, "unstableSelectRtl", { enumerable: true, get: function () { return styles_61.selectRtl; } });
|
|
150
|
+
var styles_62 = require("./slider/styles");
|
|
151
|
+
Object.defineProperty(exports, "sliderDark", { enumerable: true, get: function () { return styles_62.sliderDark; } });
|
|
152
|
+
var styles_63 = require("./space/styles");
|
|
153
|
+
Object.defineProperty(exports, "spaceDark", { enumerable: true, get: function () { return styles_63.spaceDark; } });
|
|
154
|
+
Object.defineProperty(exports, "unstableSpaceRtl", { enumerable: true, get: function () { return styles_63.spaceRtl; } });
|
|
155
|
+
var styles_64 = require("./spin/styles");
|
|
156
|
+
Object.defineProperty(exports, "spinDark", { enumerable: true, get: function () { return styles_64.spinDark; } });
|
|
157
|
+
var styles_65 = require("./statistic/styles");
|
|
158
|
+
Object.defineProperty(exports, "statisticDark", { enumerable: true, get: function () { return styles_65.statisticDark; } });
|
|
159
|
+
Object.defineProperty(exports, "unstableStatisticRtl", { enumerable: true, get: function () { return styles_65.statisticRtl; } });
|
|
160
|
+
var styles_66 = require("./steps/styles");
|
|
161
|
+
Object.defineProperty(exports, "stepsDark", { enumerable: true, get: function () { return styles_66.stepsDark; } });
|
|
162
|
+
Object.defineProperty(exports, "unstableStepsRtl", { enumerable: true, get: function () { return styles_66.stepsRtl; } });
|
|
163
|
+
var styles_67 = require("./switch/styles");
|
|
164
|
+
Object.defineProperty(exports, "switchDark", { enumerable: true, get: function () { return styles_67.switchDark; } });
|
|
165
|
+
var styles_68 = require("./table/styles");
|
|
166
|
+
Object.defineProperty(exports, "tableDark", { enumerable: true, get: function () { return styles_68.tableDark; } });
|
|
167
|
+
Object.defineProperty(exports, "unstableTableRtl", { enumerable: true, get: function () { return styles_68.tableRtl; } });
|
|
168
|
+
var styles_69 = require("./tabs/styles");
|
|
169
|
+
Object.defineProperty(exports, "tabsDark", { enumerable: true, get: function () { return styles_69.tabsDark; } });
|
|
170
|
+
var styles_70 = require("./tag/styles");
|
|
171
|
+
Object.defineProperty(exports, "tagDark", { enumerable: true, get: function () { return styles_70.tagDark; } });
|
|
172
|
+
Object.defineProperty(exports, "unstableTagRtl", { enumerable: true, get: function () { return styles_70.tagRtl; } });
|
|
173
|
+
var styles_71 = require("./thing/styles");
|
|
174
|
+
Object.defineProperty(exports, "thingDark", { enumerable: true, get: function () { return styles_71.thingDark; } });
|
|
175
|
+
Object.defineProperty(exports, "unstableThingRtl", { enumerable: true, get: function () { return styles_71.thingRtl; } });
|
|
176
|
+
var styles_72 = require("./time-picker/styles");
|
|
177
|
+
Object.defineProperty(exports, "timePickerDark", { enumerable: true, get: function () { return styles_72.timePickerDark; } });
|
|
178
|
+
var styles_73 = require("./timeline/styles");
|
|
179
|
+
Object.defineProperty(exports, "timelineDark", { enumerable: true, get: function () { return styles_73.timelineDark; } });
|
|
180
|
+
var styles_74 = require("./tooltip/styles");
|
|
181
|
+
Object.defineProperty(exports, "tooltipDark", { enumerable: true, get: function () { return styles_74.tooltipDark; } });
|
|
182
|
+
var styles_75 = require("./transfer/styles");
|
|
183
|
+
Object.defineProperty(exports, "transferDark", { enumerable: true, get: function () { return styles_75.transferDark; } });
|
|
184
|
+
var styles_76 = require("./tree-select/styles");
|
|
185
|
+
Object.defineProperty(exports, "treeSelectDark", { enumerable: true, get: function () { return styles_76.treeSelectDark; } });
|
|
186
|
+
var styles_77 = require("./tree/styles");
|
|
187
|
+
Object.defineProperty(exports, "treeDark", { enumerable: true, get: function () { return styles_77.treeDark; } });
|
|
188
|
+
Object.defineProperty(exports, "unstableTreeRtl", { enumerable: true, get: function () { return styles_77.treeRtl; } });
|
|
189
|
+
var styles_78 = require("./typography/styles");
|
|
190
|
+
Object.defineProperty(exports, "typographyDark", { enumerable: true, get: function () { return styles_78.typographyDark; } });
|
|
191
|
+
var styles_79 = require("./upload/styles");
|
|
192
|
+
Object.defineProperty(exports, "uploadDark", { enumerable: true, get: function () { return styles_79.uploadDark; } });
|
|
193
|
+
var styles_80 = require("./watermark/styles");
|
|
194
|
+
Object.defineProperty(exports, "watermarkDark", { enumerable: true, get: function () { return styles_80.watermarkDark; } });
|
package/lib/switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as NSwitch, switchProps } from './src/Switch';
|
|
2
|
-
export type { SwitchProps } from './src/Switch';
|
|
2
|
+
export type { SwitchProps, SwitchSlots } from './src/Switch';
|