naive-ui 2.34.2 → 2.34.3
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 +11964 -9783
- package/dist/index.prod.js +3 -2
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +4 -4
- package/es/_internal/scrollbar/styles/light.d.ts +2 -2
- package/es/_internal/select-menu/src/interface.d.ts +7 -7
- package/es/_internal/select-menu/styles/light.d.ts +2 -2
- package/es/_internal/selection/src/interface.d.ts +1 -1
- package/es/_internal/selection/styles/light.d.ts +2 -2
- package/es/_mixins/use-config.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +2 -2
- package/es/_mixins/use-theme.d.ts +6 -6
- package/es/_styles/common/light.d.ts +1 -1
- package/es/_utils/cssr/create-key.d.ts +3 -3
- package/es/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/es/_utils/env/is-native-lazy-load.js +2 -3
- package/es/_utils/naive/extract-public-props.d.ts +4 -4
- package/es/_utils/naive/mutable.d.ts +1 -1
- package/es/_utils/naive/prop.d.ts +1 -1
- package/es/_utils/vue/call.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +1 -1
- package/es/affix/src/utils.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +1 -1
- package/es/alert/styles/light.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +1 -1
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/anchor/src/utils.d.ts +1 -1
- package/es/anchor/styles/light.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/auto-complete/src/interface.d.ts +5 -5
- package/es/auto-complete/styles/light.d.ts +2 -2
- package/es/avatar/src/Avatar.d.ts +1 -1
- package/es/avatar/src/Avatar.js +7 -1
- package/es/avatar/src/interface.d.ts +2 -2
- package/es/avatar/styles/light.d.ts +3 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/avatar-group/styles/light.d.ts +2 -2
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/back-top/styles/light.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +7 -1
- package/es/badge/src/Badge.js +15 -3
- package/es/badge/styles/light.d.ts +2 -2
- package/es/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/breadcrumb/styles/light.d.ts +2 -2
- package/es/button/src/Button.d.ts +4 -4
- package/es/button/src/interface.d.ts +2 -2
- package/es/button/styles/light.d.ts +2 -2
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/button-group/styles/light.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +1 -1
- package/es/calendar/src/interface.d.ts +2 -2
- package/es/calendar/styles/light.d.ts +2 -2
- package/es/card/src/Card.d.ts +23 -18
- package/es/card/src/Card.js +8 -7
- package/es/card/styles/light.d.ts +2 -2
- package/es/carousel/src/Carousel.d.ts +2 -2
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/styles/light.d.ts +2 -2
- package/es/cascader/src/Cascader.d.ts +11 -1
- package/es/cascader/src/CascaderMenu.d.ts +1 -0
- package/es/cascader/src/CascaderOption.d.ts +1 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/es/cascader/src/interface.d.ts +11 -11
- package/es/cascader/styles/light.d.ts +3 -2
- package/es/checkbox/src/Checkbox.d.ts +12 -1
- package/es/checkbox/src/Checkbox.js +2 -1
- package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/es/checkbox/src/interface.d.ts +2 -2
- package/es/checkbox/src/styles/index.cssr.js +1 -0
- package/es/checkbox/styles/_common.d.ts +1 -0
- package/es/checkbox/styles/_common.js +2 -1
- package/es/checkbox/styles/light.d.ts +3 -2
- package/es/code/src/Code.d.ts +1 -1
- package/es/code/styles/light.d.ts +2 -2
- package/es/collapse/src/Collapse.d.ts +1 -1
- package/es/collapse/src/CollapseItem.d.ts +1 -1
- package/es/collapse/src/interface.d.ts +4 -4
- package/es/collapse/styles/light.d.ts +2 -2
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/collapse-transition/styles/light.d.ts +2 -2
- package/es/color-picker/src/ColorPicker.d.ts +1 -1
- package/es/color-picker/src/interface.d.ts +5 -5
- package/es/color-picker/src/utils.d.ts +2 -2
- package/es/color-picker/styles/light.d.ts +2 -2
- package/es/config-provider/src/ConfigProvider.d.ts +1 -1
- package/es/config-provider/src/interface.d.ts +1 -1
- package/es/config-provider/src/internal-interface.d.ts +3 -5
- package/es/config-provider/src/katex.d.ts +1 -1
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/create.d.ts +1 -1
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/TableParts/Cell.d.ts +4 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +52 -52
- package/es/data-table/styles/light.d.ts +4 -2
- package/es/date-picker/src/DatePicker.d.ts +2 -2
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +21 -21
- package/es/date-picker/src/panel/use-panel-common.d.ts +1 -1
- package/es/date-picker/styles/light.d.ts +2 -2
- package/es/descriptions/src/Descriptions.d.ts +2 -2
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +5 -5
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/dialog/src/interface.d.ts +1 -1
- package/es/dialog/styles/light.d.ts +2 -2
- package/es/discrete/src/discreteApp.d.ts +2 -2
- package/es/discrete/src/interface.d.ts +3 -3
- package/es/divider/src/Divider.d.ts +1 -1
- package/es/divider/styles/light.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +1 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/drawer/src/interface.d.ts +1 -1
- package/es/drawer/styles/light.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dropdown/src/interface.d.ts +21 -21
- package/es/dropdown/styles/light.d.ts +2 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/es/dynamic-input/src/interface.d.ts +1 -1
- package/es/dynamic-input/styles/light.d.ts +2 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/interface.d.ts +3 -3
- package/es/dynamic-tags/styles/light.d.ts +1 -1
- package/es/element/src/Element.d.ts +1 -1
- package/es/element/styles/light.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/ellipsis/src/Ellipsis.js +7 -1
- package/es/ellipsis/styles/light.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/empty/styles/light.d.ts +2 -2
- package/es/equation/styles/light.d.ts +2 -2
- package/es/form/src/Form.d.ts +11 -2
- package/es/form/src/FormItem.d.ts +14 -4
- package/es/form/src/FormItem.js +2 -1
- package/es/form/src/FormItemCol.d.ts +12 -3
- package/es/form/src/FormItemGridItem.d.ts +12 -3
- package/es/form/src/FormItemRow.d.ts +11 -2
- package/es/form/src/interface.d.ts +19 -19
- package/es/form/src/styles/form-item.cssr.js +1 -0
- package/es/form/styles/_common.d.ts +1 -0
- package/es/form/styles/_common.js +2 -1
- package/es/form/styles/light.d.ts +3 -2
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/gradient-text/styles/light.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +1 -1
- package/es/grid/src/GridItem.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +2 -2
- package/es/icon/styles/light.d.ts +2 -2
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/icon-wrapper/styles/light.d.ts +2 -2
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/Image.js +5 -1
- package/es/image/src/ImageGroup.d.ts +1 -1
- package/es/image/src/ImagePreview.js +5 -4
- package/es/image/src/utils.d.ts +1 -1
- package/es/image/styles/light.d.ts +2 -2
- package/es/input/src/Input.d.ts +1 -1
- package/es/input/src/InputGroup.d.ts +1 -1
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input/src/interface.d.ts +4 -4
- package/es/input/src/styles/input.cssr.js +1 -0
- package/es/input/styles/light.d.ts +2 -2
- package/es/input-number/src/InputNumber.d.ts +1 -1
- package/es/input-number/src/interface.d.ts +2 -2
- package/es/input-number/styles/light.d.ts +2 -2
- package/es/layout/src/Layout.d.ts +1 -1
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/layout/src/interface.d.ts +1 -1
- package/es/layout/styles/light.d.ts +2 -2
- package/es/legacy-grid/src/Col.d.ts +1 -1
- package/es/legacy-grid/src/Row.d.ts +1 -1
- package/es/legacy-grid/src/interface.d.ts +1 -1
- package/es/legacy-grid/styles/dark.d.ts +1 -1
- package/es/legacy-grid/styles/light.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +11 -1
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -0
- package/es/legacy-transfer/src/TransferList.d.ts +1 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/es/legacy-transfer/src/interface.d.ts +3 -3
- package/es/legacy-transfer/styles/light.d.ts +3 -2
- package/es/list/src/List.d.ts +1 -1
- package/es/list/styles/light.d.ts +2 -2
- package/es/loading-bar/src/LoadingBarProvider.d.ts +4 -4
- package/es/loading-bar/styles/light.d.ts +2 -2
- package/es/locales/common/enUS.d.ts +1 -1
- package/es/locales/common/koKR.js +9 -9
- package/es/locales/utils/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +1 -1
- package/es/log/styles/light.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/interface.d.ts +1 -1
- package/es/mention/styles/light.d.ts +2 -2
- package/es/menu/src/Menu.d.ts +2 -2
- package/es/menu/src/Submenu.js +2 -2
- package/es/menu/src/interface.d.ts +11 -11
- package/es/menu/src/use-menu-child-props.d.ts +1 -1
- package/es/menu/styles/light.d.ts +2 -2
- package/es/message/src/MessageProvider.d.ts +5 -7
- package/es/message/src/message-props.d.ts +2 -2
- package/es/message/src/types.d.ts +3 -3
- package/es/message/styles/light.d.ts +2 -2
- package/es/modal/src/BodyWrapper.d.ts +9 -0
- package/es/modal/src/Modal.d.ts +14 -1
- package/es/modal/src/interface.d.ts +1 -1
- package/es/modal/src/presetProps.d.ts +5 -1
- package/es/modal/styles/light.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +7 -7
- package/es/notification/styles/light.d.ts +2 -2
- package/es/number-animation/src/NumberAnimation.d.ts +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/page-header/styles/light.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +9 -2
- package/es/pagination/src/Pagination.js +6 -4
- package/es/pagination/src/interface.d.ts +9 -8
- package/es/pagination/src/utils.d.ts +1 -1
- package/es/pagination/styles/light.d.ts +2 -2
- package/es/popconfirm/src/Popconfirm.d.ts +2 -2
- package/es/popconfirm/src/interface.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +2 -2
- package/es/popover/src/Popover.d.ts +2 -2
- package/es/popover/src/interface.d.ts +3 -3
- package/es/popover/styles/light.d.ts +2 -2
- package/es/popselect/src/Popselect.d.ts +2 -2
- package/es/popselect/src/interface.d.ts +2 -2
- package/es/popselect/styles/light.d.ts +1 -1
- package/es/progress/src/Line.js +3 -1
- package/es/progress/src/Progress.d.ts +1 -1
- package/es/progress/src/interface.d.ts +1 -1
- package/es/progress/styles/light.d.ts +2 -2
- package/es/radio/src/Radio.d.ts +8 -1
- package/es/radio/src/Radio.js +2 -1
- package/es/radio/src/RadioButton.d.ts +1 -1
- package/es/radio/src/RadioGroup.d.ts +10 -1
- package/es/radio/src/interface.d.ts +2 -2
- package/es/radio/src/styles/radio.cssr.js +1 -0
- package/es/radio/src/use-radio.d.ts +1 -1
- package/es/radio/styles/_common.d.ts +1 -0
- package/es/radio/styles/_common.js +2 -1
- package/es/radio/styles/light.d.ts +3 -2
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/rate/src/interface.d.ts +2 -2
- package/es/rate/styles/light.d.ts +2 -2
- package/es/result/src/Result.d.ts +1 -1
- package/es/result/styles/light.d.ts +2 -2
- package/es/scrollbar/src/Scrollbar.d.ts +2 -2
- package/es/select/src/Select.d.ts +5 -1
- package/es/select/src/Select.js +5 -2
- package/es/select/src/interface.d.ts +12 -12
- package/es/select/styles/light.d.ts +2 -2
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/skeleton/styles/light.d.ts +2 -2
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/utils.d.ts +3 -3
- package/es/slider/styles/light.d.ts +2 -2
- package/es/space/src/Space.d.ts +3 -3
- package/es/space/styles/light.d.ts +2 -2
- package/es/spin/src/Spin.d.ts +1 -1
- package/es/spin/styles/light.d.ts +2 -2
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/statistic/styles/light.d.ts +2 -2
- package/es/steps/src/Step.d.ts +1 -1
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/steps/styles/light.d.ts +2 -2
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/switch/src/interface.d.ts +2 -2
- package/es/switch/styles/light.d.ts +2 -2
- package/es/table/src/Table.d.ts +1 -1
- package/es/table/styles/light.d.ts +2 -2
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +123 -1
- package/es/tabs/src/Tabs.js +83 -61
- package/es/tabs/src/interface.d.ts +8 -8
- package/es/tabs/src/styles/index.cssr.js +49 -2
- package/es/tabs/styles/_common.d.ts +12 -0
- package/es/tabs/styles/_common.js +12 -0
- package/es/tabs/styles/light.d.ts +14 -2
- package/es/tag/src/Tag.d.ts +1 -1
- package/es/tag/styles/light.d.ts +2 -2
- package/es/themes/interface.d.ts +1 -1
- package/es/themes/utils.d.ts +2 -2
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/thing/styles/light.d.ts +2 -2
- package/es/time/src/Time.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +1 -1
- package/es/time-picker/src/interface.d.ts +9 -9
- package/es/time-picker/styles/light.d.ts +2 -2
- package/es/timeline/src/Timeline.d.ts +1 -1
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/timeline/styles/light.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +2 -2
- package/es/tooltip/styles/light.d.ts +2 -2
- package/es/transfer/src/Transfer.d.ts +11 -1
- package/es/transfer/src/TransferFilter.d.ts +1 -0
- package/es/transfer/src/TransferList.d.ts +1 -0
- package/es/transfer/src/TransferListItem.d.ts +1 -0
- package/es/transfer/src/interface.d.ts +6 -6
- package/es/transfer/styles/light.d.ts +3 -2
- package/es/tree/src/Tree.d.ts +24 -12
- package/es/tree/src/Tree.js +36 -34
- package/es/tree/src/TreeNode.js +4 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/es/tree/src/interface.d.ts +16 -16
- package/es/tree/styles/light.d.ts +3 -2
- package/es/tree-select/src/TreeSelect.d.ts +22 -5
- package/es/tree-select/src/TreeSelect.js +1 -1
- package/es/tree-select/src/interface.d.ts +12 -12
- package/es/tree-select/styles/light.d.ts +3 -2
- package/es/typography/src/a.d.ts +1 -1
- package/es/typography/src/blockquote.d.ts +1 -1
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/ol.d.ts +1 -1
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/text.d.ts +1 -1
- package/es/typography/src/ul.d.ts +1 -1
- package/es/typography/styles/light.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/upload/src/Upload.js +2 -4
- package/es/upload/src/interface.d.ts +16 -16
- package/es/upload/src/utils.js +7 -9
- package/es/upload/styles/light.d.ts +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/src/Watermark.d.ts +1 -1
- package/es/watermark/styles/light.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +4 -4
- package/lib/_internal/scrollbar/styles/light.d.ts +2 -2
- package/lib/_internal/select-menu/src/interface.d.ts +7 -7
- package/lib/_internal/select-menu/styles/light.d.ts +2 -2
- package/lib/_internal/selection/src/interface.d.ts +1 -1
- package/lib/_internal/selection/styles/light.d.ts +2 -2
- package/lib/_mixins/use-config.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +2 -2
- package/lib/_mixins/use-theme.d.ts +6 -6
- package/lib/_styles/common/light.d.ts +1 -1
- package/lib/_utils/cssr/create-key.d.ts +3 -3
- package/lib/_utils/env/is-native-lazy-load.d.ts +1 -1
- package/lib/_utils/env/is-native-lazy-load.js +2 -3
- package/lib/_utils/naive/extract-public-props.d.ts +4 -4
- package/lib/_utils/naive/mutable.d.ts +1 -1
- package/lib/_utils/naive/prop.d.ts +1 -1
- package/lib/_utils/vue/call.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +1 -1
- package/lib/affix/src/utils.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +1 -1
- package/lib/alert/styles/light.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/anchor/src/utils.d.ts +1 -1
- package/lib/anchor/styles/light.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/auto-complete/src/interface.d.ts +5 -5
- package/lib/auto-complete/styles/light.d.ts +2 -2
- package/lib/avatar/src/Avatar.d.ts +1 -1
- package/lib/avatar/src/Avatar.js +7 -1
- package/lib/avatar/src/interface.d.ts +2 -2
- package/lib/avatar/styles/light.d.ts +3 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/avatar-group/styles/light.d.ts +2 -2
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/back-top/styles/light.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +7 -1
- package/lib/badge/src/Badge.js +15 -3
- package/lib/badge/styles/light.d.ts +2 -2
- package/lib/breadcrumb/src/Breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/breadcrumb/styles/light.d.ts +2 -2
- package/lib/button/src/Button.d.ts +4 -4
- package/lib/button/src/interface.d.ts +2 -2
- package/lib/button/styles/light.d.ts +2 -2
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/button-group/styles/light.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +1 -1
- package/lib/calendar/src/interface.d.ts +2 -2
- package/lib/calendar/styles/light.d.ts +2 -2
- package/lib/card/src/Card.d.ts +23 -18
- package/lib/card/src/Card.js +8 -7
- package/lib/card/styles/light.d.ts +2 -2
- package/lib/carousel/src/Carousel.d.ts +2 -2
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/carousel/styles/light.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +11 -1
- package/lib/cascader/src/CascaderMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderOption.d.ts +1 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +1 -0
- package/lib/cascader/src/interface.d.ts +11 -11
- package/lib/cascader/styles/light.d.ts +3 -2
- package/lib/checkbox/src/Checkbox.d.ts +12 -1
- package/lib/checkbox/src/Checkbox.js +2 -1
- package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox/src/interface.d.ts +2 -2
- package/lib/checkbox/src/styles/index.cssr.js +1 -0
- package/lib/checkbox/styles/_common.d.ts +1 -0
- package/lib/checkbox/styles/_common.js +2 -1
- package/lib/checkbox/styles/light.d.ts +3 -2
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/code/styles/light.d.ts +2 -2
- package/lib/collapse/src/Collapse.d.ts +1 -1
- package/lib/collapse/src/CollapseItem.d.ts +1 -1
- package/lib/collapse/src/interface.d.ts +4 -4
- package/lib/collapse/styles/light.d.ts +2 -2
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/collapse-transition/styles/light.d.ts +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +1 -1
- package/lib/color-picker/src/interface.d.ts +5 -5
- package/lib/color-picker/src/utils.d.ts +2 -2
- package/lib/color-picker/styles/light.d.ts +2 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/src/interface.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +3 -5
- package/lib/config-provider/src/katex.d.ts +1 -1
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/create.d.ts +1 -1
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +52 -52
- package/lib/data-table/styles/light.d.ts +4 -2
- package/lib/date-picker/src/DatePicker.d.ts +2 -2
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +21 -21
- package/lib/date-picker/src/panel/use-panel-common.d.ts +1 -1
- package/lib/date-picker/styles/light.d.ts +2 -2
- package/lib/descriptions/src/Descriptions.d.ts +2 -2
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +5 -5
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/dialog/src/interface.d.ts +1 -1
- package/lib/dialog/styles/light.d.ts +2 -2
- package/lib/discrete/src/discreteApp.d.ts +2 -2
- package/lib/discrete/src/interface.d.ts +3 -3
- package/lib/divider/src/Divider.d.ts +1 -1
- package/lib/divider/styles/light.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +1 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/drawer/src/interface.d.ts +1 -1
- package/lib/drawer/styles/light.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dropdown/src/interface.d.ts +21 -21
- package/lib/dropdown/styles/light.d.ts +2 -2
- package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/lib/dynamic-input/src/interface.d.ts +1 -1
- package/lib/dynamic-input/styles/light.d.ts +2 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/interface.d.ts +3 -3
- package/lib/dynamic-tags/styles/light.d.ts +1 -1
- package/lib/element/src/Element.d.ts +1 -1
- package/lib/element/styles/light.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/ellipsis/src/Ellipsis.js +6 -0
- package/lib/ellipsis/styles/light.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/empty/styles/light.d.ts +2 -2
- package/lib/equation/styles/light.d.ts +2 -2
- package/lib/form/src/Form.d.ts +11 -2
- package/lib/form/src/FormItem.d.ts +14 -4
- package/lib/form/src/FormItem.js +2 -1
- package/lib/form/src/FormItemCol.d.ts +12 -3
- package/lib/form/src/FormItemGridItem.d.ts +12 -3
- package/lib/form/src/FormItemRow.d.ts +11 -2
- package/lib/form/src/interface.d.ts +19 -19
- package/lib/form/src/styles/form-item.cssr.js +1 -0
- package/lib/form/styles/_common.d.ts +1 -0
- package/lib/form/styles/_common.js +2 -1
- package/lib/form/styles/light.d.ts +3 -2
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/gradient-text/styles/light.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +1 -1
- package/lib/grid/src/GridItem.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +2 -2
- package/lib/icon/styles/light.d.ts +2 -2
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/icon-wrapper/styles/light.d.ts +2 -2
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/Image.js +5 -1
- package/lib/image/src/ImageGroup.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +5 -4
- package/lib/image/src/utils.d.ts +1 -1
- package/lib/image/styles/light.d.ts +2 -2
- package/lib/input/src/Input.d.ts +1 -1
- package/lib/input/src/InputGroup.d.ts +1 -1
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input/src/interface.d.ts +4 -4
- package/lib/input/src/styles/input.cssr.js +1 -0
- package/lib/input/styles/light.d.ts +2 -2
- package/lib/input-number/src/InputNumber.d.ts +1 -1
- package/lib/input-number/src/interface.d.ts +2 -2
- package/lib/input-number/styles/light.d.ts +2 -2
- package/lib/layout/src/Layout.d.ts +1 -1
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/layout/src/interface.d.ts +1 -1
- package/lib/layout/styles/light.d.ts +2 -2
- package/lib/legacy-grid/src/Col.d.ts +1 -1
- package/lib/legacy-grid/src/Row.d.ts +1 -1
- package/lib/legacy-grid/src/interface.d.ts +1 -1
- package/lib/legacy-grid/styles/dark.d.ts +1 -1
- package/lib/legacy-grid/styles/light.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +11 -1
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +1 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -0
- package/lib/legacy-transfer/src/interface.d.ts +3 -3
- package/lib/legacy-transfer/styles/light.d.ts +3 -2
- package/lib/list/src/List.d.ts +1 -1
- package/lib/list/styles/light.d.ts +2 -2
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +4 -4
- package/lib/loading-bar/styles/light.d.ts +2 -2
- package/lib/locales/common/enUS.d.ts +1 -1
- package/lib/locales/common/koKR.js +9 -9
- package/lib/locales/utils/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +1 -1
- package/lib/log/styles/light.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/interface.d.ts +1 -1
- package/lib/mention/styles/light.d.ts +2 -2
- package/lib/menu/src/Menu.d.ts +2 -2
- package/lib/menu/src/Submenu.js +2 -2
- package/lib/menu/src/interface.d.ts +11 -11
- package/lib/menu/src/use-menu-child-props.d.ts +1 -1
- package/lib/menu/styles/light.d.ts +2 -2
- package/lib/message/src/MessageProvider.d.ts +5 -7
- package/lib/message/src/message-props.d.ts +2 -2
- package/lib/message/src/types.d.ts +3 -3
- package/lib/message/styles/light.d.ts +2 -2
- package/lib/modal/src/BodyWrapper.d.ts +9 -0
- package/lib/modal/src/Modal.d.ts +14 -1
- package/lib/modal/src/interface.d.ts +1 -1
- package/lib/modal/src/presetProps.d.ts +5 -1
- package/lib/modal/styles/light.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +7 -7
- package/lib/notification/styles/light.d.ts +2 -2
- package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/page-header/styles/light.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +9 -2
- package/lib/pagination/src/Pagination.js +6 -4
- package/lib/pagination/src/interface.d.ts +9 -8
- package/lib/pagination/src/utils.d.ts +1 -1
- package/lib/pagination/styles/light.d.ts +2 -2
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -2
- package/lib/popconfirm/src/interface.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +2 -2
- package/lib/popover/src/Popover.d.ts +2 -2
- package/lib/popover/src/interface.d.ts +3 -3
- package/lib/popover/styles/light.d.ts +2 -2
- package/lib/popselect/src/Popselect.d.ts +2 -2
- package/lib/popselect/src/interface.d.ts +2 -2
- package/lib/popselect/styles/light.d.ts +1 -1
- package/lib/progress/src/Line.js +3 -1
- package/lib/progress/src/Progress.d.ts +1 -1
- package/lib/progress/src/interface.d.ts +1 -1
- package/lib/progress/styles/light.d.ts +2 -2
- package/lib/radio/src/Radio.d.ts +8 -1
- package/lib/radio/src/Radio.js +2 -1
- package/lib/radio/src/RadioButton.d.ts +1 -1
- package/lib/radio/src/RadioGroup.d.ts +10 -1
- package/lib/radio/src/interface.d.ts +2 -2
- package/lib/radio/src/styles/radio.cssr.js +1 -0
- package/lib/radio/src/use-radio.d.ts +1 -1
- package/lib/radio/styles/_common.d.ts +1 -0
- package/lib/radio/styles/_common.js +2 -1
- package/lib/radio/styles/light.d.ts +3 -2
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/rate/src/interface.d.ts +2 -2
- package/lib/rate/styles/light.d.ts +2 -2
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/result/styles/light.d.ts +2 -2
- package/lib/scrollbar/src/Scrollbar.d.ts +2 -2
- package/lib/select/src/Select.d.ts +5 -1
- package/lib/select/src/Select.js +5 -2
- package/lib/select/src/interface.d.ts +12 -12
- package/lib/select/styles/light.d.ts +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/skeleton/styles/light.d.ts +2 -2
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/utils.d.ts +3 -3
- package/lib/slider/styles/light.d.ts +2 -2
- package/lib/space/src/Space.d.ts +3 -3
- package/lib/space/styles/light.d.ts +2 -2
- package/lib/spin/src/Spin.d.ts +1 -1
- package/lib/spin/styles/light.d.ts +2 -2
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/statistic/styles/light.d.ts +2 -2
- package/lib/steps/src/Step.d.ts +1 -1
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/steps/styles/light.d.ts +2 -2
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/switch/src/interface.d.ts +2 -2
- package/lib/switch/styles/light.d.ts +2 -2
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/table/styles/light.d.ts +2 -2
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +123 -1
- package/lib/tabs/src/Tabs.js +83 -61
- package/lib/tabs/src/interface.d.ts +8 -8
- package/lib/tabs/src/styles/index.cssr.js +49 -2
- package/lib/tabs/styles/_common.d.ts +12 -0
- package/lib/tabs/styles/_common.js +12 -0
- package/lib/tabs/styles/light.d.ts +14 -2
- package/lib/tag/src/Tag.d.ts +1 -1
- package/lib/tag/styles/light.d.ts +2 -2
- package/lib/themes/interface.d.ts +1 -1
- package/lib/themes/utils.d.ts +2 -2
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/thing/styles/light.d.ts +2 -2
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +1 -1
- package/lib/time-picker/src/interface.d.ts +9 -9
- package/lib/time-picker/styles/light.d.ts +2 -2
- package/lib/timeline/src/Timeline.d.ts +1 -1
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/timeline/styles/light.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +2 -2
- package/lib/tooltip/styles/light.d.ts +2 -2
- package/lib/transfer/src/Transfer.d.ts +11 -1
- package/lib/transfer/src/TransferFilter.d.ts +1 -0
- package/lib/transfer/src/TransferList.d.ts +1 -0
- package/lib/transfer/src/TransferListItem.d.ts +1 -0
- package/lib/transfer/src/interface.d.ts +6 -6
- package/lib/transfer/styles/light.d.ts +3 -2
- package/lib/tree/src/Tree.d.ts +24 -12
- package/lib/tree/src/Tree.js +36 -34
- package/lib/tree/src/TreeNode.js +4 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
- package/lib/tree/src/interface.d.ts +16 -16
- package/lib/tree/styles/light.d.ts +3 -2
- package/lib/tree-select/src/TreeSelect.d.ts +22 -5
- package/lib/tree-select/src/TreeSelect.js +1 -1
- package/lib/tree-select/src/interface.d.ts +12 -12
- package/lib/tree-select/styles/light.d.ts +3 -2
- package/lib/typography/src/a.d.ts +1 -1
- package/lib/typography/src/blockquote.d.ts +1 -1
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/ol.d.ts +1 -1
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/text.d.ts +1 -1
- package/lib/typography/src/ul.d.ts +1 -1
- package/lib/typography/styles/light.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/upload/src/Upload.js +2 -4
- package/lib/upload/src/interface.d.ts +16 -16
- package/lib/upload/src/utils.js +7 -9
- package/lib/upload/styles/light.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/src/Watermark.d.ts +1 -1
- package/lib/watermark/styles/light.d.ts +1 -1
- package/package.json +13 -13
- package/web-types.json +80 -14
package/lib/progress/src/Line.js
CHANGED
|
@@ -102,7 +102,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
102
102
|
height: styleHeightRef.value,
|
|
103
103
|
lineHeight: styleHeightRef.value,
|
|
104
104
|
borderRadius: styleFillBorderRadiusRef.value
|
|
105
|
-
} }, indicatorPlacement === 'inside' ? ((0, vue_1.h)("div", { class: `${clsPrefix}-progress-graph-line-indicator
|
|
105
|
+
} }, indicatorPlacement === 'inside' ? ((0, vue_1.h)("div", { class: `${clsPrefix}-progress-graph-line-indicator`, style: {
|
|
106
|
+
color: indicatorTextColor
|
|
107
|
+
} },
|
|
106
108
|
percentage,
|
|
107
109
|
unit)) : null)))),
|
|
108
110
|
showIndicator && indicatorPlacement === 'outside' ? ((0, vue_1.h)("div", null, slots.default ? ((0, vue_1.h)("div", { class: `${clsPrefix}-progress-custom-content`, style: {
|
|
@@ -120,7 +120,7 @@ export declare const progressProps: {
|
|
|
120
120
|
lineBgProcessing: string;
|
|
121
121
|
}, any>>>;
|
|
122
122
|
};
|
|
123
|
-
export
|
|
123
|
+
export type ProgressProps = ExtractPublicPropTypes<typeof progressProps>;
|
|
124
124
|
declare const _default: import("vue").DefineComponent<{
|
|
125
125
|
readonly processing: BooleanConstructor;
|
|
126
126
|
readonly type: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Status = 'success' | 'error' | 'warning' | 'info' | 'default';
|
|
@@ -23,7 +23,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
23
23
|
fillColorError: string;
|
|
24
24
|
lineBgProcessing: string;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type ProgressThemeVars = ReturnType<typeof self>;
|
|
27
27
|
declare const progressLight: Theme<'Progress', ProgressThemeVars>;
|
|
28
28
|
export default progressLight;
|
|
29
|
-
export
|
|
29
|
+
export type ProgressTheme = typeof progressLight;
|
package/lib/radio/src/Radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
import { radioProps } from './use-radio';
|
|
3
3
|
export { radioProps };
|
|
4
|
-
export
|
|
4
|
+
export type RadioProps = ExtractPublicPropTypes<typeof radioProps>;
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
name: StringConstructor;
|
|
7
7
|
value: {
|
|
@@ -62,6 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
radioSizeMedium: string;
|
|
63
63
|
radioSizeLarge: string;
|
|
64
64
|
labelPadding: string;
|
|
65
|
+
labelFontWeight: string;
|
|
65
66
|
}, any>>;
|
|
66
67
|
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
67
68
|
labelLineHeight: string;
|
|
@@ -100,6 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
101
|
radioSizeMedium: string;
|
|
101
102
|
radioSizeLarge: string;
|
|
102
103
|
labelPadding: string;
|
|
104
|
+
labelFontWeight: string;
|
|
103
105
|
}, any>>>;
|
|
104
106
|
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
105
107
|
labelLineHeight: string;
|
|
@@ -138,12 +140,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
140
|
radioSizeMedium: string;
|
|
139
141
|
radioSizeLarge: string;
|
|
140
142
|
labelPadding: string;
|
|
143
|
+
labelFontWeight: string;
|
|
141
144
|
}, any>>>;
|
|
142
145
|
}, import("./use-radio").UseRadio & {
|
|
143
146
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
144
147
|
cssVars: import("vue").ComputedRef<{
|
|
145
148
|
'--n-bezier': string;
|
|
146
149
|
'--n-label-line-height': string;
|
|
150
|
+
'--n-label-font-weight': string;
|
|
147
151
|
'--n-box-shadow': string;
|
|
148
152
|
'--n-box-shadow-active': string;
|
|
149
153
|
'--n-box-shadow-disabled': string;
|
|
@@ -222,6 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
222
226
|
radioSizeMedium: string;
|
|
223
227
|
radioSizeLarge: string;
|
|
224
228
|
labelPadding: string;
|
|
229
|
+
labelFontWeight: string;
|
|
225
230
|
}, any>>;
|
|
226
231
|
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
227
232
|
labelLineHeight: string;
|
|
@@ -260,6 +265,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
260
265
|
radioSizeMedium: string;
|
|
261
266
|
radioSizeLarge: string;
|
|
262
267
|
labelPadding: string;
|
|
268
|
+
labelFontWeight: string;
|
|
263
269
|
}, any>>>;
|
|
264
270
|
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
265
271
|
labelLineHeight: string;
|
|
@@ -298,6 +304,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
298
304
|
radioSizeMedium: string;
|
|
299
305
|
radioSizeLarge: string;
|
|
300
306
|
labelPadding: string;
|
|
307
|
+
labelFontWeight: string;
|
|
301
308
|
}, any>>>;
|
|
302
309
|
}>>, {
|
|
303
310
|
value: string | number | boolean;
|
package/lib/radio/src/Radio.js
CHANGED
|
@@ -20,10 +20,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
20
20
|
const themeRef = (0, _mixins_1.useTheme)('Radio', '-radio', radio_cssr_1.default, styles_1.radioLight, props, radio.mergedClsPrefix);
|
|
21
21
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
22
22
|
const { mergedSize: { value: size } } = radio;
|
|
23
|
-
const { common: { cubicBezierEaseInOut }, self: { boxShadow, boxShadowActive, boxShadowDisabled, boxShadowFocus, boxShadowHover, color, colorDisabled, colorActive, textColor, textColorDisabled, dotColorActive, dotColorDisabled, labelPadding, labelLineHeight, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('radioSize', size)]: radioSize } } = themeRef.value;
|
|
23
|
+
const { common: { cubicBezierEaseInOut }, self: { boxShadow, boxShadowActive, boxShadowDisabled, boxShadowFocus, boxShadowHover, color, colorDisabled, colorActive, textColor, textColorDisabled, dotColorActive, dotColorDisabled, labelPadding, labelLineHeight, labelFontWeight, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('radioSize', size)]: radioSize } } = themeRef.value;
|
|
24
24
|
return {
|
|
25
25
|
'--n-bezier': cubicBezierEaseInOut,
|
|
26
26
|
'--n-label-line-height': labelLineHeight,
|
|
27
|
+
'--n-label-font-weight': labelFontWeight,
|
|
27
28
|
'--n-box-shadow': boxShadow,
|
|
28
29
|
'--n-box-shadow-active': boxShadowActive,
|
|
29
30
|
'--n-box-shadow-disabled': boxShadowDisabled,
|
|
@@ -24,7 +24,7 @@ export declare const radioButtonProps: {
|
|
|
24
24
|
readonly default: undefined;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type RadioButtonProps = ExtractPublicPropTypes<typeof radioProps>;
|
|
28
28
|
declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
readonly name: StringConstructor;
|
|
30
30
|
readonly value: {
|
|
@@ -52,6 +52,7 @@ export declare const radioGroupProps: {
|
|
|
52
52
|
radioSizeMedium: string;
|
|
53
53
|
radioSizeLarge: string;
|
|
54
54
|
labelPadding: string;
|
|
55
|
+
labelFontWeight: string;
|
|
55
56
|
}, any>>;
|
|
56
57
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
57
58
|
labelLineHeight: string;
|
|
@@ -90,6 +91,7 @@ export declare const radioGroupProps: {
|
|
|
90
91
|
radioSizeMedium: string;
|
|
91
92
|
radioSizeLarge: string;
|
|
92
93
|
labelPadding: string;
|
|
94
|
+
labelFontWeight: string;
|
|
93
95
|
}, any>>>;
|
|
94
96
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
95
97
|
labelLineHeight: string;
|
|
@@ -128,9 +130,10 @@ export declare const radioGroupProps: {
|
|
|
128
130
|
radioSizeMedium: string;
|
|
129
131
|
radioSizeLarge: string;
|
|
130
132
|
labelPadding: string;
|
|
133
|
+
labelFontWeight: string;
|
|
131
134
|
}, any>>>;
|
|
132
135
|
};
|
|
133
|
-
export
|
|
136
|
+
export type RadioGroupProps = ExtractPublicPropTypes<typeof radioGroupProps>;
|
|
134
137
|
declare const _default: import("vue").DefineComponent<{
|
|
135
138
|
readonly name: StringConstructor;
|
|
136
139
|
readonly value: PropType<string | number | boolean | null>;
|
|
@@ -182,6 +185,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
182
185
|
radioSizeMedium: string;
|
|
183
186
|
radioSizeLarge: string;
|
|
184
187
|
labelPadding: string;
|
|
188
|
+
labelFontWeight: string;
|
|
185
189
|
}, any>>;
|
|
186
190
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
187
191
|
labelLineHeight: string;
|
|
@@ -220,6 +224,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
224
|
radioSizeMedium: string;
|
|
221
225
|
radioSizeLarge: string;
|
|
222
226
|
labelPadding: string;
|
|
227
|
+
labelFontWeight: string;
|
|
223
228
|
}, any>>>;
|
|
224
229
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
225
230
|
labelLineHeight: string;
|
|
@@ -258,6 +263,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
258
263
|
radioSizeMedium: string;
|
|
259
264
|
radioSizeLarge: string;
|
|
260
265
|
labelPadding: string;
|
|
266
|
+
labelFontWeight: string;
|
|
261
267
|
}, any>>>;
|
|
262
268
|
}, {
|
|
263
269
|
selfElRef: import("vue").Ref<HTMLDivElement | null>;
|
|
@@ -335,6 +341,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
341
|
radioSizeMedium: string;
|
|
336
342
|
radioSizeLarge: string;
|
|
337
343
|
labelPadding: string;
|
|
344
|
+
labelFontWeight: string;
|
|
338
345
|
}, any>>;
|
|
339
346
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
340
347
|
labelLineHeight: string;
|
|
@@ -373,6 +380,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
373
380
|
radioSizeMedium: string;
|
|
374
381
|
radioSizeLarge: string;
|
|
375
382
|
labelPadding: string;
|
|
383
|
+
labelFontWeight: string;
|
|
376
384
|
}, any>>>;
|
|
377
385
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Radio", {
|
|
378
386
|
labelLineHeight: string;
|
|
@@ -411,6 +419,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
411
419
|
radioSizeMedium: string;
|
|
412
420
|
radioSizeLarge: string;
|
|
413
421
|
labelPadding: string;
|
|
422
|
+
labelFontWeight: string;
|
|
414
423
|
}, any>>>;
|
|
415
424
|
}>>, {
|
|
416
425
|
readonly disabled: boolean | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type OnUpdateValue = (value: string & number & boolean) => void;
|
|
2
|
+
export type OnUpdateValueImpl = (value: string | number | boolean) => void;
|
|
@@ -87,6 +87,7 @@ exports.default = (0, cssr_1.cB)('radio', `
|
|
|
87
87
|
`)])]), (0, cssr_1.cE)('label', `
|
|
88
88
|
color: var(--n-text-color);
|
|
89
89
|
padding: var(--n-label-padding);
|
|
90
|
+
font-weight: var(--n-label-font-weight);
|
|
90
91
|
display: inline-block;
|
|
91
92
|
transition: color .3s var(--n-bezier);
|
|
92
93
|
`), (0, cssr_1.cNotM)('disabled', `
|
|
@@ -49,5 +49,5 @@ export interface UseRadio {
|
|
|
49
49
|
handleRadioInputFocus: () => void;
|
|
50
50
|
}
|
|
51
51
|
declare function setup(props: ExtractPropTypes<typeof radioProps>): UseRadio;
|
|
52
|
-
export
|
|
52
|
+
export type RadioProps = ExtractPropTypes<typeof radioProps>;
|
|
53
53
|
export { setup };
|
|
@@ -37,8 +37,9 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
37
37
|
radioSizeMedium: string;
|
|
38
38
|
radioSizeLarge: string;
|
|
39
39
|
labelPadding: string;
|
|
40
|
+
labelFontWeight: string;
|
|
40
41
|
};
|
|
41
|
-
export
|
|
42
|
+
export type RadioThemeVars = ReturnType<typeof self>;
|
|
42
43
|
declare const radioLight: Theme<'Radio', RadioThemeVars>;
|
|
43
44
|
export default radioLight;
|
|
44
|
-
export
|
|
45
|
+
export type RadioTheme = typeof radioLight;
|
package/lib/rate/src/Rate.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const rateProps: {
|
|
|
44
44
|
sizeLarge: string;
|
|
45
45
|
}, any>>>;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type RateProps = ExtractPublicPropTypes<typeof rateProps>;
|
|
48
48
|
declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
readonly allowHalf: BooleanConstructor;
|
|
50
50
|
readonly count: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type RateOnUpdateValue = (value: number & null) => void;
|
|
2
|
+
export type RateOnUpdateValueImpl = (value: number | null) => void;
|
|
@@ -7,7 +7,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
7
7
|
sizeMedium: string;
|
|
8
8
|
sizeLarge: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type RateThemeVars = ReturnType<typeof self>;
|
|
11
11
|
declare const themeLight: Theme<'Rate', RateThemeVars>;
|
|
12
12
|
export default themeLight;
|
|
13
|
-
export
|
|
13
|
+
export type RateTheme = typeof themeLight;
|
|
@@ -90,7 +90,7 @@ export declare const resultProps: {
|
|
|
90
90
|
iconColor500: undefined;
|
|
91
91
|
}, any>>>;
|
|
92
92
|
};
|
|
93
|
-
export
|
|
93
|
+
export type ResultProps = ExtractPublicPropTypes<typeof resultProps>;
|
|
94
94
|
declare const _default: import("vue").DefineComponent<{
|
|
95
95
|
size: {
|
|
96
96
|
type: PropType<"small" | "medium" | "large" | "huge">;
|
|
@@ -26,7 +26,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
26
26
|
iconColor403: undefined;
|
|
27
27
|
iconColor500: undefined;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type ResultThemeVars = ReturnType<typeof self>;
|
|
30
30
|
declare const resultLight: Theme<'Result', ResultThemeVars>;
|
|
31
31
|
export default resultLight;
|
|
32
|
-
export
|
|
32
|
+
export type ResultTheme = typeof resultLight;
|
|
@@ -8,7 +8,7 @@ export interface ScrollTo {
|
|
|
8
8
|
behavior?: ScrollBehavior;
|
|
9
9
|
}): void;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type ScrollBy = ScrollTo;
|
|
12
12
|
export interface ScrollbarInst {
|
|
13
13
|
scrollTo: ScrollTo;
|
|
14
14
|
scrollBy: ScrollBy;
|
|
@@ -30,7 +30,7 @@ export declare const scrollbarProps: {
|
|
|
30
30
|
colorHover: string;
|
|
31
31
|
}, any>>>;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type ScrollbarProps = ExtractPublicPropTypes<typeof scrollbarProps>;
|
|
34
34
|
declare const Scrollbar: import("vue").DefineComponent<{
|
|
35
35
|
readonly trigger: PropType<"none" | "hover">;
|
|
36
36
|
readonly xScrollable: BooleanConstructor;
|
|
@@ -94,6 +94,7 @@ export declare const selectProps: {
|
|
|
94
94
|
readonly type: BooleanConstructor;
|
|
95
95
|
readonly default: true;
|
|
96
96
|
};
|
|
97
|
+
readonly showOnFocus: BooleanConstructor;
|
|
97
98
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
98
99
|
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
|
|
99
100
|
readonly onClear: PropType<MaybeArray<() => void> | undefined>;
|
|
@@ -497,7 +498,7 @@ export declare const selectProps: {
|
|
|
497
498
|
}>;
|
|
498
499
|
}>>>;
|
|
499
500
|
};
|
|
500
|
-
export
|
|
501
|
+
export type SelectProps = ExtractPublicPropTypes<typeof selectProps>;
|
|
501
502
|
declare const _default: import("vue").DefineComponent<{
|
|
502
503
|
readonly to: {
|
|
503
504
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -586,6 +587,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
586
587
|
readonly type: BooleanConstructor;
|
|
587
588
|
readonly default: true;
|
|
588
589
|
};
|
|
590
|
+
readonly showOnFocus: BooleanConstructor;
|
|
589
591
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
590
592
|
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
|
|
591
593
|
readonly onClear: PropType<MaybeArray<() => void> | undefined>;
|
|
@@ -1414,6 +1416,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1414
1416
|
readonly type: BooleanConstructor;
|
|
1415
1417
|
readonly default: true;
|
|
1416
1418
|
};
|
|
1419
|
+
readonly showOnFocus: BooleanConstructor;
|
|
1417
1420
|
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
1418
1421
|
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
|
|
1419
1422
|
readonly onClear: PropType<MaybeArray<() => void> | undefined>;
|
|
@@ -1843,5 +1846,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1843
1846
|
readonly fallbackOption: false | SelectFallbackOption | undefined;
|
|
1844
1847
|
readonly consistentMenuWidth: boolean;
|
|
1845
1848
|
readonly childrenField: string;
|
|
1849
|
+
readonly showOnFocus: boolean;
|
|
1846
1850
|
}>;
|
|
1847
1851
|
export default _default;
|
package/lib/select/src/Select.js
CHANGED
|
@@ -61,7 +61,7 @@ exports.selectProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
61
61
|
}, childrenField: {
|
|
62
62
|
type: String,
|
|
63
63
|
default: 'children'
|
|
64
|
-
}, renderLabel: Function, renderOption: Function, renderTag: Function, 'onUpdate:value': [Function, Array], inputProps: Object, nodeProps: Function, ignoreComposition: { type: Boolean, default: true },
|
|
64
|
+
}, renderLabel: Function, renderOption: Function, renderTag: Function, 'onUpdate:value': [Function, Array], inputProps: Object, nodeProps: Function, ignoreComposition: { type: Boolean, default: true }, showOnFocus: Boolean,
|
|
65
65
|
// for jsx
|
|
66
66
|
onUpdateValue: [Function, Array], onBlur: [Function, Array], onClear: [Function, Array], onFocus: [Function, Array], onScroll: [Function, Array], onSearch: [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:show': [Function, Array], displayDirective: {
|
|
67
67
|
type: String,
|
|
@@ -245,11 +245,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
245
245
|
(0, _utils_1.call)(onClear);
|
|
246
246
|
}
|
|
247
247
|
function doFocus(e) {
|
|
248
|
-
const { onFocus } = props;
|
|
248
|
+
const { onFocus, showOnFocus } = props;
|
|
249
249
|
const { nTriggerFormFocus } = formItem;
|
|
250
250
|
if (onFocus)
|
|
251
251
|
(0, _utils_1.call)(onFocus, e);
|
|
252
252
|
nTriggerFormFocus();
|
|
253
|
+
if (showOnFocus) {
|
|
254
|
+
openMenu();
|
|
255
|
+
}
|
|
253
256
|
}
|
|
254
257
|
function doSearch(value) {
|
|
255
258
|
const { onSearch } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TreeMate } from 'treemate';
|
|
2
2
|
import { CSSProperties, VNodeChild, VNode } from 'vue';
|
|
3
|
-
export
|
|
3
|
+
export type SelectMixedOption = SelectBaseOption | SelectGroupOption | SelectIgnoredOption;
|
|
4
4
|
export interface SelectBaseOption<V = string | number, L = string | ((option: SelectBaseOption<V>, selected: boolean) => VNodeChild)> {
|
|
5
5
|
value?: V;
|
|
6
6
|
label?: L;
|
|
@@ -29,14 +29,14 @@ export interface SelectIgnoredOption {
|
|
|
29
29
|
value: string | number;
|
|
30
30
|
[k: string]: unknown;
|
|
31
31
|
}
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
32
|
+
export type ValueAtom = string | number;
|
|
33
|
+
export type Value = ValueAtom | string[] | number[] | ValueAtom[];
|
|
34
|
+
export type OnUpdateValue = (value: string & number & ValueAtom & string[] & number[] & ValueAtom[] & (ValueAtom | null) & (string[] | null) & (number[] | null) & (ValueAtom[] | null), option: SelectBaseOption & null & SelectBaseOption[]) => void;
|
|
35
|
+
export type OnUpdateValueImpl = (value: ValueAtom | string[] | number[] | ValueAtom[] | (ValueAtom | null) | (string[] | null) | (number[] | null) | (ValueAtom[] | null), option: SelectBaseOption | null | SelectBaseOption[]) => void;
|
|
36
|
+
export type SelectTreeMate = TreeMate<SelectBaseOption, SelectGroupOption, SelectIgnoredOption>;
|
|
37
|
+
export type Size = 'tiny' | 'small' | 'medium' | 'large';
|
|
38
|
+
export type SelectOption = SelectBaseOption<string | number>;
|
|
39
|
+
export type SelectGroupOption = (SelectGroupOptionBase & {
|
|
40
40
|
/** @deprecated should use key and label instead */
|
|
41
41
|
name?: string;
|
|
42
42
|
}) | (SelectGroupOptionBase & {
|
|
@@ -46,6 +46,6 @@ export interface SelectInst {
|
|
|
46
46
|
focus: () => void;
|
|
47
47
|
blur: () => void;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
49
|
+
export type SelectFallbackOption = (value: string & number) => SelectOption;
|
|
50
|
+
export type SelectFallbackOptionImpl = (value: string | number) => SelectOption;
|
|
51
|
+
export type SelectFilter = (pattern: string, option: SelectOption) => boolean;
|
|
@@ -129,5 +129,5 @@ declare const selectLight: import("../../_mixins").Theme<"Select", {
|
|
|
129
129
|
}>;
|
|
130
130
|
}>;
|
|
131
131
|
export default selectLight;
|
|
132
|
-
export
|
|
133
|
-
export
|
|
132
|
+
export type SelectThemeVars = ReturnType<typeof self>;
|
|
133
|
+
export type SelectTheme = typeof selectLight;
|
|
@@ -44,7 +44,7 @@ export declare const skeletonProps: {
|
|
|
44
44
|
heightLarge: string;
|
|
45
45
|
}, any>>>;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type SkeletonProps = ExtractPublicPropTypes<typeof skeletonProps>;
|
|
48
48
|
declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
readonly text: BooleanConstructor;
|
|
50
50
|
readonly round: BooleanConstructor;
|
|
@@ -8,7 +8,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
8
8
|
heightMedium: string;
|
|
9
9
|
heightLarge: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type SkeletonThemeVars = ReturnType<typeof self>;
|
|
12
12
|
export declare const skeletonLight: Theme<'Skeleton', SkeletonThemeVars>;
|
|
13
|
-
export
|
|
13
|
+
export type SkeletonTheme = typeof skeletonLight;
|
|
14
14
|
export {};
|
|
@@ -143,7 +143,7 @@ export declare const sliderProps: {
|
|
|
143
143
|
dotBorderRadius: string;
|
|
144
144
|
}, any>>>;
|
|
145
145
|
};
|
|
146
|
-
export
|
|
146
|
+
export type SliderProps = ExtractPublicPropTypes<typeof sliderProps>;
|
|
147
147
|
declare const _default: import("vue").DefineComponent<{
|
|
148
148
|
readonly to: {
|
|
149
149
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type OnUpdateValueImpl = (value: number | number[]) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref, ComponentPublicInstance } from 'vue';
|
|
2
2
|
export declare function isTouchEvent(e: MouseEvent | TouchEvent): e is TouchEvent;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
type RefType = HTMLElement | ComponentPublicInstance;
|
|
4
|
+
type RefKey = number;
|
|
5
|
+
type RefsValue<T extends RefType> = Map<RefKey, T>;
|
|
6
6
|
export declare function useRefs<T extends RefType>(): [
|
|
7
7
|
Ref<RefsValue<T>>,
|
|
8
8
|
(key: RefKey) => (el: any) => void
|
|
@@ -30,7 +30,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
30
30
|
dotWidth: string;
|
|
31
31
|
dotBorderRadius: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type SliderThemeVars = ReturnType<typeof self>;
|
|
34
34
|
declare const sliderLight: Theme<'Slider', SliderThemeVars>;
|
|
35
35
|
export default sliderLight;
|
|
36
|
-
export
|
|
36
|
+
export type SliderTheme = typeof sliderLight;
|
package/lib/space/src/Space.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, CSSProperties } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
type Align = 'stretch' | 'baseline' | 'start' | 'end' | 'center' | 'flex-end' | 'flex-start';
|
|
4
|
+
export type Justify = 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
|
|
5
5
|
export declare const spaceProps: {
|
|
6
6
|
readonly align: PropType<Align>;
|
|
7
7
|
readonly justify: {
|
|
@@ -43,7 +43,7 @@ export declare const spaceProps: {
|
|
|
43
43
|
gapLarge: string;
|
|
44
44
|
}, any>>>;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type SpaceProps = ExtractPublicPropTypes<typeof spaceProps>;
|
|
47
47
|
declare const _default: import("vue").DefineComponent<{
|
|
48
48
|
readonly align: PropType<Align>;
|
|
49
49
|
readonly justify: {
|
|
@@ -4,7 +4,7 @@ declare const self: () => {
|
|
|
4
4
|
gapMedium: string;
|
|
5
5
|
gapLarge: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type SpaceThemeVars = ReturnType<typeof self>;
|
|
8
8
|
declare const spaceLight: Theme<'Space', SpaceThemeVars>;
|
|
9
9
|
export default spaceLight;
|
|
10
|
-
export
|
|
10
|
+
export type SpaceTheme = typeof spaceLight;
|
package/lib/spin/src/Spin.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare const spinProps: {
|
|
|
55
55
|
opacitySpinning: string;
|
|
56
56
|
}, any>>>;
|
|
57
57
|
};
|
|
58
|
-
export
|
|
58
|
+
export type SpinProps = ExtractPublicPropTypes<typeof spinProps>;
|
|
59
59
|
declare const _default: import("vue").DefineComponent<{
|
|
60
60
|
description: StringConstructor;
|
|
61
61
|
stroke: StringConstructor;
|
|
@@ -11,7 +11,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
11
11
|
color: string;
|
|
12
12
|
opacitySpinning: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type SpinThemeVars = ReturnType<typeof self>;
|
|
15
15
|
declare const spinLight: Theme<'Spin', SpinThemeVars>;
|
|
16
16
|
export default spinLight;
|
|
17
|
-
export
|
|
17
|
+
export type SpinTheme = typeof spinLight;
|
|
@@ -34,7 +34,7 @@ export declare const statisticProps: {
|
|
|
34
34
|
valueTextColor: string;
|
|
35
35
|
}, any>>>;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type StatisticProps = ExtractPublicPropTypes<typeof statisticProps>;
|
|
38
38
|
declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
tabularNums: BooleanConstructor;
|
|
40
40
|
label: StringConstructor;
|
|
@@ -10,7 +10,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
10
10
|
valueSuffixTextColor: string;
|
|
11
11
|
valueTextColor: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type StatisticThemeVars = ReturnType<typeof self>;
|
|
14
14
|
declare const statisticLight: Theme<'Statistic', StatisticThemeVars>;
|
|
15
15
|
export default statisticLight;
|
|
16
|
-
export
|
|
16
|
+
export type StatisticTheme = typeof statisticLight;
|
package/lib/steps/src/Step.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const stepProps: {
|
|
|
10
10
|
readonly default: 0;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type StepProps = ExtractPublicPropTypes<typeof stepProps>;
|
|
14
14
|
declare const _default: import("vue").DefineComponent<{
|
|
15
15
|
readonly status: PropType<"wait" | "error" | "finish" | "process">;
|
|
16
16
|
readonly title: StringConstructor;
|
package/lib/steps/src/Steps.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export interface StepsInjection {
|
|
|
127
127
|
mergedThemeRef: Ref<MergedTheme<StepsTheme>>;
|
|
128
128
|
stepsSlots: Slots;
|
|
129
129
|
}
|
|
130
|
-
export
|
|
130
|
+
export type StepsProps = ExtractPublicPropTypes<typeof stepsProps>;
|
|
131
131
|
export declare const stepsInjectionKey: import("vue").InjectionKey<StepsInjection>;
|
|
132
132
|
declare const _default: import("vue").DefineComponent<{
|
|
133
133
|
current: NumberConstructor;
|
|
@@ -35,7 +35,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
35
35
|
indicatorIconSizeSmall: string;
|
|
36
36
|
indicatorIconSizeMedium: string;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type StepsThemeVars = ReturnType<typeof self>;
|
|
39
39
|
declare const stepsLight: Theme<'Steps', StepsThemeVars>;
|
|
40
40
|
export default stepsLight;
|
|
41
|
-
export
|
|
41
|
+
export type StepsTheme = typeof stepsLight;
|
|
@@ -140,7 +140,7 @@ export declare const switchProps: {
|
|
|
140
140
|
railWidthLarge: string;
|
|
141
141
|
}, any>>>;
|
|
142
142
|
};
|
|
143
|
-
export
|
|
143
|
+
export type SwitchProps = ExtractPublicPropTypes<typeof switchProps>;
|
|
144
144
|
declare const _default: import("vue").DefineComponent<{
|
|
145
145
|
readonly size: {
|
|
146
146
|
readonly type: PropType<"small" | "medium" | "large">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type OnUpdateValue = (value: string & number & boolean) => void;
|
|
2
|
+
export type OnUpdateValueImpl = (value: string | number | boolean) => void;
|
|
@@ -32,7 +32,7 @@ declare const self: (vars: ThemeCommonVars) => {
|
|
|
32
32
|
railWidthMedium: string;
|
|
33
33
|
railWidthLarge: string;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type SwitchThemeVars = ReturnType<typeof self>;
|
|
36
36
|
declare const switchLight: Theme<'Switch', SwitchThemeVars>;
|
|
37
37
|
export default switchLight;
|
|
38
|
-
export
|
|
38
|
+
export type SwitchTheme = typeof switchLight;
|