antdv-next 1.0.4-beta.2 → 1.0.4
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/_util/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/vueNode.d.ts +2 -7
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/WaveEffect.js +31 -21
- package/dist/_util/wave/index.d.ts +4 -4
- package/dist/_util/wave/interface.d.ts +3 -1
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/wave/style.js +10 -10
- package/dist/_util/zindexContext.d.ts +3 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +6 -5
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +43434 -42677
- package/dist/antd-with-locales.js +95 -97
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +41598 -40841
- package/dist/antd.js +80 -82
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +3 -3
- package/dist/badge/style/index.js +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/group.d.ts +2 -1
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +4 -1
- package/dist/button/style/token.d.ts +1 -1
- package/dist/button/style/token.js +2 -2
- package/dist/button/style/variant.d.ts +2 -1
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +4 -3
- package/dist/calendar/style/index.js +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +2 -2
- package/dist/cascader/style/columns.d.ts +2 -1
- package/dist/cascader/style/index.d.ts +3 -12
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/checkbox/style/index.js +7 -2
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- package/dist/collapse/style/index.d.ts +4 -3
- package/dist/color-picker/ColorPicker.d.ts +3 -3
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/color-picker/style/index.js +6 -6
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +15 -15
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/panel.d.ts +2 -2
- package/dist/date-picker/style/panel.js +4 -4
- package/dist/date-picker/style/variants.d.ts +2 -1
- package/dist/date-picker/style/variants.js +2 -2
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +8 -8
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/descriptions/style/index.js +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/style/motion.d.ts +2 -1
- package/dist/drawer/style/motion.js +6 -4
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/status.d.ts +2 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/explain.d.ts +2 -1
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +3 -3
- package/dist/form/style/index.js +49 -53
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +4 -4
- package/dist/image/style/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +7 -7
- package/dist/input/style/index.d.ts +9 -14
- package/dist/input/style/index.js +17 -21
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/search.js +1 -3
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.d.ts +6 -4
- package/dist/input/style/variants.js +67 -75
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/locale/zh_CN.js +2 -2
- package/dist/masonry/Masonry.d.ts +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +4 -3
- package/dist/masonry/style/index.js +1 -1
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +3 -3
- package/dist/menu/style/horizontal.d.ts +2 -1
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +4 -4
- package/dist/menu/style/rtl.d.ts +2 -1
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +3 -3
- package/dist/modal/style/index.js +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +4 -3
- package/dist/notification/style/index.js +2 -2
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/style/stack.d.ts +2 -1
- package/dist/notification/style/stack.js +5 -5
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/{package.d.ts → package.json.d.ts} +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/Pagination.js +6 -6
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popconfirm/style/index.js +1 -1
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/rate/style/index.js +1 -3
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/style/index.js +2 -3
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/segmented/style/index.js +3 -3
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input-customize.d.ts +2 -1
- package/dist/select/style/select-input-multiple.d.ts +2 -1
- package/dist/select/style/select-input.d.ts +2 -1
- package/dist/select/useIcons.d.ts +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/skeleton/style/index.js +20 -22
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +4 -4
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/compact.js +1 -1
- package/dist/space/style/index.d.ts +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +2 -2
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +0 -8
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/index.d.ts +5 -5
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/style/index.d.ts +3 -2
- package/dist/style/index.js +59 -63
- package/dist/style/motion/collapse.d.ts +2 -1
- package/dist/style/motion/collapse.js +13 -12
- package/dist/style/motion/index.d.ts +2 -1
- package/dist/style/motion/index.js +2 -1
- package/dist/style/motion/util.d.ts +6 -0
- package/dist/style/motion/util.js +10 -0
- package/dist/style/motion/zoom.js +4 -4
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/switch/style/index.js +11 -4
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/Table.d.ts +2 -2
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +12 -12
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/style/index.d.ts +3 -3
- package/dist/tag/style/index.js +4 -4
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +2 -2
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +3 -2
- package/dist/typography/Base/EllipsisTooltip.js +7 -1
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +36 -6
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/typography/style/index.js +1 -0
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/dragger.d.ts +2 -1
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/style/list.d.ts +2 -1
- package/dist/upload/style/picture.d.ts +3 -2
- package/dist/upload/style/rtl.d.ts +2 -1
- package/dist/version/index.d.ts +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/useWatermark.d.ts +1 -1
- package/dist/watermark/utils.d.ts +1 -1
- package/dist/watermark/utils.js +1 -1
- package/package.json +5 -5
- package/web-tags.json +1 -1
- package/web-types.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyEmit } from "./type.js";
|
|
2
2
|
import { ButtonProps, LegacyButtonType } from "../button/Button.js";
|
|
3
3
|
import "../button/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/_util/ActionButton.d.ts
|
|
@@ -20,6 +20,6 @@ interface ActionButtonProps {
|
|
|
20
20
|
interface ActionButtonSlots {
|
|
21
21
|
default?: () => any;
|
|
22
22
|
}
|
|
23
|
-
declare const ActionButton:
|
|
23
|
+
declare const ActionButton: vue1.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps, vue1.PublicProps>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ActionButtonProps, ActionButtonSlots, ActionButton as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue0 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/ContextIsolator.d.ts
|
|
4
|
-
declare const ContextIsolator:
|
|
4
|
+
declare const ContextIsolator: vue0.DefineSetupFnComponent<{
|
|
5
5
|
space?: boolean;
|
|
6
6
|
form?: boolean;
|
|
7
7
|
}, {}, {}, {
|
|
8
8
|
space?: boolean;
|
|
9
9
|
form?: boolean;
|
|
10
|
-
} & {},
|
|
10
|
+
} & {}, vue0.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ContextIsolator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from "vue";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/PurePanel.d.ts
|
|
5
5
|
interface BaseProps {
|
|
@@ -7,7 +7,7 @@ interface BaseProps {
|
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
open?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function withPureRenderTheme(Component: any): (props: any) =>
|
|
11
|
-
declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) =>
|
|
10
|
+
declare function withPureRenderTheme(Component: any): (props: any) => vue_jsx_runtime0.JSX.Element;
|
|
11
|
+
declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) => vue_jsx_runtime0.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { BaseProps, genPurePanel as default, withPureRenderTheme };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderNodeFn, VueNode } from "../type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue764 from "vue";
|
|
3
3
|
import { AriaAttributes, Ref, VNodeChild } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/hooks/useClosable.d.ts
|
|
@@ -36,7 +36,7 @@ interface UseClosableParams {
|
|
|
36
36
|
customCloseIconRender?: (closeIcon: VNodeChild) => VNodeChild;
|
|
37
37
|
context?: ContextClosable;
|
|
38
38
|
}
|
|
39
|
-
declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>):
|
|
39
|
+
declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>): vue764.ComputedRef<readonly [true, vue764.VNode<vue764.RendererNode, vue764.RendererElement, {
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
}>, boolean, Record<string, any>] | ({} | null)[] | undefined>;
|
|
42
42
|
declare function computeClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>, closeLabel?: string): [closable: boolean, closeIcon: VueNode, closeBtnIsDisabled: boolean, ariaOrDataProps: AriaAttributes & DataAttributes];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnyObject, EmptyObject, ValidChar } from "../type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue768 from "vue";
|
|
3
3
|
import { CSSProperties, Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/hooks/useMergeSemantic.d.ts
|
|
@@ -37,12 +37,12 @@ type ObjectOnly<T> = T extends ((...args: any) => any) ? never : T;
|
|
|
37
37
|
*/
|
|
38
38
|
declare function useMergeSemantic<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: Ref<MaybeFn<ClassNamesType, Props>[]>, stylesList: Ref<MaybeFn<StylesType, Props>[]>, info: Ref<{
|
|
39
39
|
props: Props;
|
|
40
|
-
}>, schema?: Ref<SemanticSchema>): readonly [
|
|
40
|
+
}>, schema?: Ref<SemanticSchema>): readonly [vue768.ComputedRef<ObjectOnly<ClassNamesType>>, vue768.ComputedRef<ObjectOnly<StylesType>>];
|
|
41
41
|
declare function useMergeSemanticNoRef<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: MaybeFn<ClassNamesType, Props>[], stylesList: MaybeFn<StylesType, Props>[], info: {
|
|
42
42
|
props: Props;
|
|
43
43
|
}, schema?: SemanticSchema): readonly [ObjectOnly<ClassNamesType>, ObjectOnly<StylesType>];
|
|
44
|
-
declare function useToArr<T = any>(...args: Ref<T | undefined>[]):
|
|
45
|
-
declare function useToProps<T>(props: Ref<T>):
|
|
44
|
+
declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue768.ComputedRef<(T | undefined)[]>;
|
|
45
|
+
declare function useToProps<T>(props: Ref<T>): vue768.ComputedRef<{
|
|
46
46
|
props: T;
|
|
47
47
|
}>;
|
|
48
48
|
interface RemoveBaseAttributesOptions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue778 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/hooks/useMergedMask.d.ts
|
|
@@ -9,8 +9,8 @@ interface MaskConfig {
|
|
|
9
9
|
}
|
|
10
10
|
type MaskType = MaskConfig | boolean;
|
|
11
11
|
declare function normalizeMaskConfig(mask?: MaskType, maskClosable?: boolean): MaskConfig;
|
|
12
|
-
declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>, maskClosable?: Ref<boolean | undefined>): readonly [
|
|
12
|
+
declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>, maskClosable?: Ref<boolean | undefined>): readonly [vue778.ComputedRef<boolean>, vue778.ComputedRef<{
|
|
13
13
|
mask: string | undefined;
|
|
14
|
-
}>,
|
|
14
|
+
}>, vue778.ComputedRef<boolean>];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask };
|
package/dist/_util/instance.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue189 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/instance.d.ts
|
|
4
|
-
declare function getVueInstance():
|
|
4
|
+
declare function getVueInstance(): vue189.AppContext | null;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { getVueInstance };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue200 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/responsiveObserver.d.ts
|
|
4
4
|
declare const responsiveArray: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
|
|
@@ -21,6 +21,6 @@ interface ResponsiveObserverType {
|
|
|
21
21
|
listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
|
|
22
22
|
}>;
|
|
23
23
|
}
|
|
24
|
-
declare function useResponsiveObserver():
|
|
24
|
+
declare function useResponsiveObserver(): vue200.ComputedRef<ResponsiveObserverType>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray, responsiveArrayReversed };
|
package/dist/_util/vueNode.d.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { AnyObject, VueNode } from "./type.js";
|
|
2
|
-
import * as vue464 from "vue";
|
|
3
2
|
import { VNodeChild } from "vue";
|
|
4
3
|
import { isFragment } from "@v-c/util/dist/Children/isFragment";
|
|
5
4
|
|
|
6
5
|
//#region src/_util/vueNode.d.ts
|
|
7
6
|
type RenderProps = AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
|
|
8
|
-
declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps):
|
|
9
|
-
|
|
10
|
-
}> | vue464.VNodeArrayChildren | null;
|
|
11
|
-
declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void | vue464.VNode<vue464.RendererNode, vue464.RendererElement, {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}> | vue464.VNodeArrayChildren | null;
|
|
7
|
+
declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): VNodeChild;
|
|
8
|
+
declare function cloneElement(element: VNodeChild, props?: RenderProps): VNodeChild;
|
|
14
9
|
declare function getVNode(node: VueNode): VNodeChild;
|
|
15
10
|
declare function checkRenderNode(node: any): any;
|
|
16
11
|
declare function getTextByNode(node: any): any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ShowWaveEffect, WaveComponent } from "./interface.js";
|
|
2
2
|
import { WaveProps } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue254 from "vue";
|
|
4
4
|
import { PropType } from "vue";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue_jsx_runtime13 from "vue/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/_util/wave/WaveEffect.d.ts
|
|
8
|
-
declare const WaveEffect:
|
|
8
|
+
declare const WaveEffect: vue254.DefineComponent<vue254.ExtractPropTypes<{
|
|
9
9
|
className: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: true;
|
|
@@ -22,7 +22,7 @@ declare const WaveEffect: vue187.DefineComponent<vue187.ExtractPropTypes<{
|
|
|
22
22
|
type: PropType<WaveProps["colorSource"]>;
|
|
23
23
|
required: false;
|
|
24
24
|
};
|
|
25
|
-
}>, () =>
|
|
25
|
+
}>, () => vue_jsx_runtime13.JSX.Element | null, {}, {}, {}, vue254.ComponentOptionsMixin, vue254.ComponentOptionsMixin, "finish"[], "finish", vue254.PublicProps, Readonly<vue254.ExtractPropTypes<{
|
|
26
26
|
className: {
|
|
27
27
|
type: StringConstructor;
|
|
28
28
|
required: true;
|
|
@@ -41,7 +41,7 @@ declare const WaveEffect: vue187.DefineComponent<vue187.ExtractPropTypes<{
|
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{
|
|
43
43
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}>, {}, {}, {}, {}, string,
|
|
44
|
+
}>, {}, {}, {}, {}, string, vue254.ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
declare const showWaveEffect: ShowWaveEffect;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { WaveEffect, showWaveEffect as default };
|
|
@@ -2,7 +2,7 @@ import { useConfig } from "../../config-provider/context.js";
|
|
|
2
2
|
import { genCssVar } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { TARGET_CLS } from "./interface.js";
|
|
4
4
|
import { getTargetWaveColor } from "./util.js";
|
|
5
|
-
import { computed, createVNode, defineComponent, nextTick, onBeforeUnmount,
|
|
5
|
+
import { computed, createVNode, defineComponent, nextTick, onBeforeUnmount, ref, render, shallowRef, watch } from "vue";
|
|
6
6
|
import { classNames } from "@v-c/util";
|
|
7
7
|
import raf from "@v-c/util/dist/raf";
|
|
8
8
|
|
|
@@ -38,12 +38,7 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
const waveVarName = computed(() => genCssVar(rootPrefixCls.value, "wave")[0]);
|
|
39
39
|
const divRef = shallowRef();
|
|
40
40
|
const waveColor = ref(null);
|
|
41
|
-
const borderRadius = ref([
|
|
42
|
-
0,
|
|
43
|
-
0,
|
|
44
|
-
0,
|
|
45
|
-
0
|
|
46
|
-
]);
|
|
41
|
+
const borderRadius = ref([]);
|
|
47
42
|
const left = ref(0);
|
|
48
43
|
const top = ref(0);
|
|
49
44
|
const width = ref(0);
|
|
@@ -72,8 +67,7 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
72
67
|
finished.value = true;
|
|
73
68
|
emit("finish");
|
|
74
69
|
}
|
|
75
|
-
function syncPos() {
|
|
76
|
-
const { target } = props;
|
|
70
|
+
function syncPos(target = props.target) {
|
|
77
71
|
if (!target) return;
|
|
78
72
|
const nodeStyle = getComputedStyle(target);
|
|
79
73
|
waveColor.value = getTargetWaveColor(target, props.colorSource);
|
|
@@ -111,11 +105,27 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
111
105
|
oldEl?.removeEventListener("transitionend", handleTransitionEnd);
|
|
112
106
|
newEl?.addEventListener("transitionend", handleTransitionEnd);
|
|
113
107
|
}, { immediate: true });
|
|
114
|
-
|
|
108
|
+
function stopEffectSync() {
|
|
109
|
+
if (rafId.value !== void 0) {
|
|
110
|
+
raf.cancel(rafId.value);
|
|
111
|
+
rafId.value = void 0;
|
|
112
|
+
}
|
|
113
|
+
resizeObserver?.disconnect();
|
|
114
|
+
resizeObserver = void 0;
|
|
115
|
+
if (deadlineId !== void 0) {
|
|
116
|
+
window.clearTimeout(deadlineId);
|
|
117
|
+
deadlineId = void 0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
watch(() => props.target, (target, _, onCleanup) => {
|
|
121
|
+
if (!target) return;
|
|
122
|
+
let active = true;
|
|
115
123
|
rafId.value = raf(() => {
|
|
116
|
-
|
|
124
|
+
if (!active) return;
|
|
125
|
+
syncPos(target);
|
|
117
126
|
enabled.value = true;
|
|
118
127
|
nextTick(() => {
|
|
128
|
+
if (!active) return;
|
|
119
129
|
triggerEffect();
|
|
120
130
|
deadlineId = window.setTimeout(() => {
|
|
121
131
|
emitFinish();
|
|
@@ -124,15 +134,17 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
124
134
|
});
|
|
125
135
|
if (typeof ResizeObserver !== "undefined") {
|
|
126
136
|
resizeObserver = new ResizeObserver(() => {
|
|
127
|
-
syncPos();
|
|
137
|
+
syncPos(target);
|
|
128
138
|
});
|
|
129
|
-
resizeObserver.observe(
|
|
139
|
+
resizeObserver.observe(target);
|
|
130
140
|
}
|
|
131
|
-
|
|
141
|
+
onCleanup(() => {
|
|
142
|
+
active = false;
|
|
143
|
+
stopEffectSync();
|
|
144
|
+
});
|
|
145
|
+
}, { immediate: true });
|
|
132
146
|
onBeforeUnmount(() => {
|
|
133
|
-
|
|
134
|
-
resizeObserver?.disconnect();
|
|
135
|
-
if (deadlineId !== void 0) window.clearTimeout(deadlineId);
|
|
147
|
+
stopEffectSync();
|
|
136
148
|
emitFinish();
|
|
137
149
|
});
|
|
138
150
|
return () => {
|
|
@@ -147,10 +159,7 @@ const WaveEffect = /* @__PURE__ */ defineComponent({
|
|
|
147
159
|
});
|
|
148
160
|
const showWaveEffect = (target, info) => {
|
|
149
161
|
const { component } = info;
|
|
150
|
-
if (component === "Checkbox")
|
|
151
|
-
const input = target.querySelector("input");
|
|
152
|
-
if (input && !input.checked) return;
|
|
153
|
-
}
|
|
162
|
+
if (component === "Checkbox" && !target.querySelector("input")?.checked) return;
|
|
154
163
|
const holder = (target.ownerDocument ?? document).createElement("div");
|
|
155
164
|
holder.style.position = "absolute";
|
|
156
165
|
holder.style.left = "0px";
|
|
@@ -167,6 +176,7 @@ const showWaveEffect = (target, info) => {
|
|
|
167
176
|
className: info.className,
|
|
168
177
|
target,
|
|
169
178
|
component,
|
|
179
|
+
colorSource: info.colorSource,
|
|
170
180
|
onFinish: destroy
|
|
171
181
|
}), holder);
|
|
172
182
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { WaveComponent } from "./interface.js";
|
|
2
|
-
import * as
|
|
1
|
+
import { WaveColorSource, WaveComponent } from "./interface.js";
|
|
2
|
+
import * as vue240 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/wave/index.d.ts
|
|
6
6
|
interface WaveProps {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
component?: WaveComponent;
|
|
9
|
-
colorSource?:
|
|
9
|
+
colorSource?: WaveColorSource;
|
|
10
10
|
}
|
|
11
11
|
interface WaveEmits {}
|
|
12
12
|
interface WaveSlots {
|
|
13
13
|
default?: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const _default:
|
|
15
|
+
declare const _default: vue240.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps, vue240.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { WaveEmits, WaveProps, WaveSlots, _default as default };
|
|
@@ -4,13 +4,15 @@ import "../../theme/internal.js";
|
|
|
4
4
|
//#region src/_util/wave/interface.d.ts
|
|
5
5
|
declare const TARGET_CLS = "ant-wave-target";
|
|
6
6
|
type WaveComponent = 'Tag' | 'Button' | 'Checkbox' | 'Radio' | 'Switch' | 'Steps';
|
|
7
|
+
type WaveColorSource = 'color' | 'backgroundColor' | 'borderColor' | null;
|
|
7
8
|
type ShowWaveEffect = (element: HTMLElement, info: {
|
|
8
9
|
className: string;
|
|
9
10
|
token: GlobalToken;
|
|
10
11
|
component?: WaveComponent;
|
|
12
|
+
colorSource?: WaveColorSource;
|
|
11
13
|
event: MouseEvent;
|
|
12
14
|
hashId: string;
|
|
13
15
|
}) => void;
|
|
14
16
|
type ShowWave = (event: MouseEvent) => void;
|
|
15
17
|
//#endregion
|
|
16
|
-
export { ShowWave, ShowWaveEffect, TARGET_CLS, WaveComponent };
|
|
18
|
+
export { ShowWave, ShowWaveEffect, TARGET_CLS, WaveColorSource, WaveComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FullToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue370 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/wave/style.d.ts
|
|
6
6
|
interface ComponentToken {}
|
|
7
7
|
interface WaveToken extends FullToken<'Wave'> {}
|
|
8
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: vue370.Ref<string>, rootCls?: vue370.Ref<string | undefined>) => vue370.Ref<string, string>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, WaveToken, _default as default };
|
package/dist/_util/wave/style.js
CHANGED
|
@@ -3,23 +3,23 @@ import "../../theme/internal.js";
|
|
|
3
3
|
|
|
4
4
|
//#region src/_util/wave/style.ts
|
|
5
5
|
const genWaveStyle = (token) => {
|
|
6
|
-
const { componentCls, colorPrimary, antCls } = token;
|
|
6
|
+
const { componentCls, colorPrimary, motionDurationSlow, motionEaseInOut, motionEaseOutCirc, antCls } = token;
|
|
7
7
|
const [, varRef] = genCssVar(antCls, "wave");
|
|
8
8
|
return { [componentCls]: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
position: "absolute",
|
|
10
|
+
background: "transparent",
|
|
11
|
+
pointerEvents: "none",
|
|
12
|
+
boxSizing: "border-box",
|
|
13
|
+
color: varRef("color", colorPrimary),
|
|
14
|
+
boxShadow: `0 0 0 0 currentcolor`,
|
|
15
|
+
opacity: .2,
|
|
16
16
|
"&.wave-motion-appear": {
|
|
17
|
-
|
|
17
|
+
transition: [`box-shadow 0.4s`, `opacity 2s`].map((prop) => `${prop} ${motionEaseOutCirc}`).join(","),
|
|
18
18
|
"&-active": {
|
|
19
19
|
boxShadow: `0 0 0 6px currentcolor`,
|
|
20
20
|
opacity: 0
|
|
21
21
|
},
|
|
22
|
-
"&.wave-quick": { transition: [`box-shadow
|
|
22
|
+
"&.wave-quick": { transition: [`box-shadow`, `opacity`].map((prop) => `${prop} ${motionDurationSlow} ${motionEaseInOut}`).join(",") }
|
|
23
23
|
}
|
|
24
24
|
} };
|
|
25
25
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue70 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/zindexContext.d.ts
|
|
5
5
|
declare function useZIndexContext(): Ref<number | null | undefined, number | null | undefined>;
|
|
6
6
|
declare function useZIndexProvider(zIndex: Ref<number | undefined>): void;
|
|
7
|
-
declare const ZIndexProvider:
|
|
7
|
+
declare const ZIndexProvider: vue70.DefineSetupFnComponent<{
|
|
8
8
|
value: any;
|
|
9
9
|
}, {}, {}, {
|
|
10
10
|
value: any;
|
|
11
|
-
} & {},
|
|
11
|
+
} & {}, vue70.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ZIndexProvider, useZIndexContext, useZIndexProvider };
|
package/dist/affix/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import throttleByAnimationFrame from "../_util/throttleByAnimationFrame.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue373 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/affix/index.d.ts
|
|
6
6
|
interface AffixProps extends ComponentBaseProps {
|
|
@@ -20,8 +20,8 @@ interface AffixRef {
|
|
|
20
20
|
type InternalAffixProps = AffixProps & {
|
|
21
21
|
onTestUpdatePosition?: any;
|
|
22
22
|
};
|
|
23
|
-
declare const Affix:
|
|
23
|
+
declare const Affix: vue373.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
|
|
24
24
|
onTestUpdatePosition?: any;
|
|
25
|
-
},
|
|
25
|
+
}, vue373.PublicProps>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Affix, Affix as default, AffixEmits, AffixProps, AffixRef };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue294 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/affix/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -11,6 +11,6 @@ interface ComponentToken {
|
|
|
11
11
|
zIndexPopup: number;
|
|
12
12
|
}
|
|
13
13
|
declare const prepareComponentToken: GetDefaultToken<'Affix'>;
|
|
14
|
-
declare const _default: (prefixCls:
|
|
14
|
+
declare const _default: (prefixCls: vue294.Ref<string>, rootCls?: vue294.Ref<string | undefined>) => readonly [vue294.Ref<string, string>, vue294.ComputedRef<string | undefined>];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/alert/Alert.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticType } from "../_util/hooks/useMergeSemantic.js";
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue567 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/alert/Alert.d.ts
|
|
@@ -71,6 +71,6 @@ interface AlertEmits {
|
|
|
71
71
|
mouseleave: (e: any) => any;
|
|
72
72
|
click: (e: any) => any;
|
|
73
73
|
}
|
|
74
|
-
declare const Alert:
|
|
74
|
+
declare const Alert: vue567.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps, vue567.PublicProps>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { AlertClassNamesType, AlertEmits, AlertProps, AlertSemanticType, AlertSlots, AlertStylesType, Alert as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue282 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
|
+
import { CSSObject } from "@antdv-next/cssinjs";
|
|
6
7
|
|
|
7
8
|
//#region src/alert/style/index.d.ts
|
|
8
9
|
interface ComponentToken {
|
|
@@ -23,10 +24,10 @@ interface ComponentToken {
|
|
|
23
24
|
withDescriptionIconSize: number;
|
|
24
25
|
}
|
|
25
26
|
type AlertToken = FullToken<'Alert'> & {};
|
|
26
|
-
declare const genBaseStyle: GenerateStyle<AlertToken>;
|
|
27
|
-
declare const genTypeStyle: GenerateStyle<AlertToken>;
|
|
28
|
-
declare const genActionStyle: GenerateStyle<AlertToken>;
|
|
27
|
+
declare const genBaseStyle: GenerateStyle<AlertToken, CSSObject>;
|
|
28
|
+
declare const genTypeStyle: GenerateStyle<AlertToken, CSSObject>;
|
|
29
|
+
declare const genActionStyle: GenerateStyle<AlertToken, CSSObject>;
|
|
29
30
|
declare const prepareComponentToken: GetDefaultToken<'Alert'>;
|
|
30
|
-
declare const _default: (prefixCls:
|
|
31
|
+
declare const _default: (prefixCls: vue282.Ref<string>, rootCls?: vue282.Ref<string | undefined>) => readonly [vue282.Ref<string, string>, vue282.ComputedRef<string | undefined>];
|
|
31
32
|
//#endregion
|
|
32
33
|
export { ComponentToken, _default as default, genActionStyle, genBaseStyle, genTypeStyle, prepareComponentToken };
|
package/dist/anchor/Anchor.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { AffixProps } from "../affix/index.js";
|
|
5
5
|
import { AnchorLinkBaseProps } from "./AnchorLink.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue580 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType, VNodeChild } from "vue";
|
|
9
9
|
import { Key } from "@v-c/util/dist/type";
|
|
10
10
|
|
|
@@ -66,6 +66,6 @@ interface AntAnchor {
|
|
|
66
66
|
}) => void;
|
|
67
67
|
direction: AnchorDirection;
|
|
68
68
|
}
|
|
69
|
-
declare const Anchor:
|
|
69
|
+
declare const Anchor: vue580.DefineSetupFnComponent<AnchorProps, AnchorEmits, SlotsType<AnchorSlots>, AnchorProps, vue580.PublicProps>;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { AnchorClassNamesType, AnchorContainer, AnchorDirection, AnchorEmits, AnchorLinkItemProps, AnchorProps, AnchorSemanticClassNames, AnchorSemanticStyles, AnchorSlots, AnchorStylesType, AntAnchor, Anchor as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue64 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/anchor/AnchorLink.d.ts
|
|
6
6
|
interface AnchorLinkBaseProps extends ComponentBaseProps {
|
|
@@ -16,6 +16,6 @@ interface AnchorLinkEmits {
|
|
|
16
16
|
}) => any;
|
|
17
17
|
}
|
|
18
18
|
type AnchorLinkProps = AnchorLinkBaseProps;
|
|
19
|
-
declare const AnchorLink:
|
|
19
|
+
declare const AnchorLink: vue64.DefineSetupFnComponent<AnchorLinkBaseProps, AnchorLinkEmits, {}, AnchorLinkBaseProps, vue64.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { AnchorLinkBaseProps, AnchorLinkEmits, AnchorLinkProps, AnchorLink as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue288 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/anchor/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -16,6 +16,6 @@ interface ComponentToken {
|
|
|
16
16
|
linkPaddingInlineStart: number;
|
|
17
17
|
}
|
|
18
18
|
declare const prepareComponentToken: GetDefaultToken<'Anchor'>;
|
|
19
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const _default: (prefixCls: vue288.Ref<string>, rootCls?: vue288.Ref<string | undefined>) => readonly [vue288.Ref<string, string>, vue288.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, _default as default, prepareComponentToken };
|