antdv-next 1.3.7 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -10
- package/dist/_util/ActionButton.d.ts +1 -3
- package/dist/_util/ActionButton.js +1 -4
- package/dist/_util/ContextIsolator.d.ts +2 -4
- package/dist/_util/ContextIsolator.js +1 -3
- package/dist/_util/PurePanel.d.ts +2 -3
- package/dist/_util/PurePanel.js +8 -12
- package/dist/_util/aria-data-attrs.js +1 -1
- package/dist/_util/capitalize.js +1 -2
- package/dist/_util/colors.d.ts +0 -2
- package/dist/_util/colors.js +1 -3
- package/dist/_util/convertToTooltipProps.js +1 -3
- package/dist/_util/copy.js +3 -6
- package/dist/_util/easings.js +1 -2
- package/dist/_util/extendsObject.js +1 -3
- package/dist/_util/gapSize.js +1 -2
- package/dist/_util/getAllowClear.js +1 -4
- package/dist/_util/getScroll.js +1 -3
- package/dist/_util/hooks/index.d.ts +2 -2
- package/dist/_util/hooks/index.js +2 -3
- package/dist/_util/hooks/useChildLoadEvents.js +1 -3
- package/dist/_util/hooks/useClosable.d.ts +1 -2
- package/dist/_util/hooks/useClosable.js +11 -13
- package/dist/_util/hooks/useMergeSemantic.d.ts +14 -5
- package/dist/_util/hooks/useMergeSemantic.js +16 -8
- package/dist/_util/hooks/useMergedMask.d.ts +2 -3
- package/dist/_util/hooks/useMergedMask.js +1 -3
- package/dist/_util/hooks/useMultipleSelect.js +1 -3
- package/dist/_util/hooks/useOrientation.js +1 -3
- package/dist/_util/hooks/usePatchElement.js +1 -3
- package/dist/_util/hooks/useResponsive.js +1 -3
- package/dist/_util/hooks/useZIndex.js +3 -6
- package/dist/_util/instance.d.ts +1 -3
- package/dist/_util/instance.js +1 -3
- package/dist/_util/is.js +3 -5
- package/dist/_util/isEqual.js +1 -2
- package/dist/_util/isNonNullable.js +1 -3
- package/dist/_util/mediaQueryUtil.js +1 -2
- package/dist/_util/motion.js +3 -6
- package/dist/_util/placements.js +2 -4
- package/dist/_util/responsiveObserver.d.ts +1 -3
- package/dist/_util/responsiveObserver.js +1 -4
- package/dist/_util/scrollTo.js +3 -5
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/statusUtils.js +1 -3
- package/dist/_util/styleChecker.js +1 -4
- package/dist/_util/styleUtils.js +1 -2
- package/dist/_util/throttleByAnimationFrame.js +1 -4
- package/dist/_util/toList.js +1 -3
- package/dist/_util/tools.js +1 -3
- package/dist/_util/transKeys.js +1 -2
- package/dist/_util/type.js +1 -1
- package/dist/_util/vnode/index.js +1 -3
- package/dist/_util/vueNode.js +1 -3
- package/dist/_util/warning.js +3 -6
- package/dist/_util/wave/WaveEffect.d.ts +3 -5
- package/dist/_util/wave/WaveEffect.js +1 -4
- package/dist/_util/wave/index.d.ts +1 -2
- package/dist/_util/wave/index.js +1 -3
- package/dist/_util/wave/interface.d.ts +0 -2
- package/dist/_util/wave/interface.js +3 -5
- package/dist/_util/wave/style.d.ts +1 -4
- package/dist/_util/wave/style.js +1 -3
- package/dist/_util/wave/useWave.js +3 -5
- package/dist/_util/wave/util.js +1 -2
- package/dist/_util/zindexContext.d.ts +1 -2
- package/dist/_util/zindexContext.js +1 -3
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/affix/index.d.ts +2 -3
- package/dist/affix/index.js +6 -10
- package/dist/affix/style/index.d.ts +1 -4
- package/dist/affix/style/index.js +1 -3
- package/dist/affix/utils.js +1 -2
- package/dist/alert/Alert.d.ts +1 -3
- package/dist/alert/Alert.js +9 -11
- package/dist/alert/index.js +3 -5
- package/dist/alert/style/index.d.ts +1 -3
- package/dist/alert/style/index.js +44 -48
- package/dist/anchor/Anchor.d.ts +1 -3
- package/dist/anchor/Anchor.js +11 -14
- package/dist/anchor/AnchorLink.d.ts +3 -4
- package/dist/anchor/AnchorLink.js +1 -4
- package/dist/anchor/context.js +1 -3
- package/dist/anchor/index.js +3 -5
- package/dist/anchor/style/index.d.ts +1 -4
- package/dist/anchor/style/index.js +1 -3
- package/dist/antd-with-locales.esm.js +14413 -14298
- package/dist/antd-with-locales.js +93 -79
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +11763 -11648
- package/dist/antd.js +93 -79
- package/dist/app/App.d.ts +1 -2
- package/dist/app/App.js +4 -7
- package/dist/app/context.d.ts +1 -4
- package/dist/app/context.js +1 -3
- package/dist/app/index.js +5 -8
- package/dist/app/style/index.d.ts +1 -4
- package/dist/app/style/index.js +1 -3
- package/dist/app/useApp.js +1 -4
- package/dist/auto-complete/index.d.ts +1 -3
- package/dist/auto-complete/index.js +6 -9
- package/dist/avatar/Avatar.d.ts +1 -2
- package/dist/avatar/Avatar.js +6 -9
- package/dist/avatar/AvatarContext.js +1 -3
- package/dist/avatar/AvatarGroup.d.ts +1 -2
- package/dist/avatar/AvatarGroup.js +7 -10
- package/dist/avatar/index.js +5 -8
- package/dist/avatar/style/index.d.ts +1 -4
- package/dist/avatar/style/index.js +1 -3
- package/dist/badge/Ribbon.d.ts +1 -3
- package/dist/badge/Ribbon.js +3 -7
- package/dist/badge/ScrollNumber.d.ts +1 -2
- package/dist/badge/ScrollNumber.js +1 -3
- package/dist/badge/SingleNumber.d.ts +1 -3
- package/dist/badge/SingleNumber.js +2 -5
- package/dist/badge/index.d.ts +4 -6
- package/dist/badge/index.js +11 -8
- package/dist/badge/style/index.d.ts +1 -4
- package/dist/badge/style/index.js +1 -3
- package/dist/badge/style/ribbon.d.ts +1 -3
- package/dist/badge/style/ribbon.js +1 -3
- package/dist/border-beam/BorderBeam.d.ts +2 -3
- package/dist/border-beam/BorderBeam.js +3 -6
- package/dist/border-beam/hooks/useBorderSize.d.ts +1 -2
- package/dist/border-beam/hooks/useBorderSize.js +1 -3
- package/dist/border-beam/index.js +3 -5
- package/dist/border-beam/style/index.d.ts +1 -3
- package/dist/border-beam/style/index.js +3 -5
- package/dist/border-beam/util.js +2 -3
- package/dist/breadcrumb/Breadcrumb.d.ts +2 -5
- package/dist/breadcrumb/Breadcrumb.js +16 -21
- package/dist/breadcrumb/BreadcrumbContext.d.ts +0 -1
- package/dist/breadcrumb/BreadcrumbContext.js +1 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +2 -4
- package/dist/breadcrumb/BreadcrumbItem.js +7 -10
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +1 -3
- package/dist/breadcrumb/BreadcrumbSeparator.js +1 -4
- package/dist/breadcrumb/index.js +5 -7
- package/dist/breadcrumb/style/index.d.ts +1 -4
- package/dist/breadcrumb/style/index.js +1 -3
- package/dist/breadcrumb/useItemRender.d.ts +1 -2
- package/dist/breadcrumb/useItemRender.js +1 -3
- package/dist/button/Button.d.ts +1 -3
- package/dist/button/Button.js +14 -16
- package/dist/button/DefaultLoadingIcon.d.ts +1 -3
- package/dist/button/DefaultLoadingIcon.js +4 -8
- package/dist/button/IconWrapper.d.ts +1 -3
- package/dist/button/IconWrapper.js +2 -6
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/buttonHelper.js +1 -3
- package/dist/button/index.js +3 -5
- package/dist/button/style/compact.d.ts +3 -5
- package/dist/button/style/compact.js +1 -3
- package/dist/button/style/group.d.ts +0 -1
- package/dist/button/style/group.js +1 -3
- package/dist/button/style/index.d.ts +1 -2
- package/dist/button/style/index.js +5 -7
- package/dist/button/style/token.d.ts +0 -1
- package/dist/button/style/token.js +3 -5
- package/dist/button/style/variant.js +1 -4
- package/dist/calendar/Header.d.ts +1 -2
- package/dist/calendar/Header.js +4 -7
- package/dist/calendar/generateCalendar.d.ts +1 -4
- package/dist/calendar/generateCalendar.js +7 -10
- package/dist/calendar/index.d.ts +1 -2
- package/dist/calendar/index.js +4 -7
- package/dist/calendar/locale/ar_EG.js +3 -5
- package/dist/calendar/locale/az_AZ.js +3 -5
- package/dist/calendar/locale/bg_BG.js +3 -5
- package/dist/calendar/locale/bn_BD.js +3 -5
- package/dist/calendar/locale/by_BY.js +3 -5
- package/dist/calendar/locale/ca_ES.js +3 -5
- package/dist/calendar/locale/cs_CZ.js +3 -5
- package/dist/calendar/locale/da_DK.js +3 -5
- package/dist/calendar/locale/de_DE.js +3 -5
- package/dist/calendar/locale/el_GR.js +3 -5
- package/dist/calendar/locale/en_GB.js +3 -5
- package/dist/calendar/locale/en_US.js +3 -5
- package/dist/calendar/locale/es_ES.js +3 -5
- package/dist/calendar/locale/es_US.js +3 -5
- package/dist/calendar/locale/et_EE.js +3 -5
- package/dist/calendar/locale/eu_ES.js +3 -5
- package/dist/calendar/locale/fa_IR.js +3 -5
- package/dist/calendar/locale/fi_FI.js +3 -5
- package/dist/calendar/locale/fr_BE.js +3 -5
- package/dist/calendar/locale/fr_CA.js +3 -5
- package/dist/calendar/locale/fr_FR.js +3 -5
- package/dist/calendar/locale/ga_IE.js +3 -5
- package/dist/calendar/locale/gl_ES.js +3 -5
- package/dist/calendar/locale/he_IL.js +3 -5
- package/dist/calendar/locale/hi_IN.js +3 -5
- package/dist/calendar/locale/hr_HR.js +3 -5
- package/dist/calendar/locale/hu_HU.js +3 -5
- package/dist/calendar/locale/id_ID.js +3 -5
- package/dist/calendar/locale/is_IS.js +3 -5
- package/dist/calendar/locale/it_IT.js +3 -5
- package/dist/calendar/locale/ja_JP.js +3 -5
- package/dist/calendar/locale/ka_GE.js +3 -5
- package/dist/calendar/locale/kk_KZ.js +3 -5
- package/dist/calendar/locale/km_KH.js +3 -5
- package/dist/calendar/locale/kmr_IQ.js +3 -5
- package/dist/calendar/locale/kn_IN.js +3 -5
- package/dist/calendar/locale/ko_KR.js +3 -5
- package/dist/calendar/locale/lt_LT.js +3 -5
- package/dist/calendar/locale/lv_LV.js +3 -5
- package/dist/calendar/locale/mk_MK.js +3 -5
- package/dist/calendar/locale/ml_IN.js +3 -5
- package/dist/calendar/locale/mn_MN.js +3 -5
- package/dist/calendar/locale/mr_IN.js +3 -5
- package/dist/calendar/locale/ms_MY.js +3 -5
- package/dist/calendar/locale/my_MM.js +3 -5
- package/dist/calendar/locale/nb_NO.js +3 -5
- package/dist/calendar/locale/nl_BE.js +3 -5
- package/dist/calendar/locale/nl_NL.js +3 -5
- package/dist/calendar/locale/pl_PL.js +3 -5
- package/dist/calendar/locale/pt_BR.js +3 -5
- package/dist/calendar/locale/pt_PT.js +3 -5
- package/dist/calendar/locale/ro_RO.js +3 -5
- package/dist/calendar/locale/ru_RU.js +3 -5
- package/dist/calendar/locale/si_LK.js +3 -5
- package/dist/calendar/locale/sk_SK.js +3 -5
- package/dist/calendar/locale/sl_SI.js +3 -5
- package/dist/calendar/locale/sr_RS.js +3 -5
- package/dist/calendar/locale/sv_SE.js +3 -5
- package/dist/calendar/locale/ta_IN.js +3 -5
- package/dist/calendar/locale/th_TH.js +3 -5
- package/dist/calendar/locale/tk_TK.js +3 -5
- package/dist/calendar/locale/tr_TR.js +3 -5
- package/dist/calendar/locale/uk_UA.js +3 -5
- package/dist/calendar/locale/ur_PK.js +3 -5
- package/dist/calendar/locale/uz_UZ.js +3 -5
- package/dist/calendar/locale/vi_VN.js +3 -5
- package/dist/calendar/locale/zh_CN.js +3 -5
- package/dist/calendar/locale/zh_TW.js +3 -5
- package/dist/calendar/style/index.d.ts +1 -4
- package/dist/calendar/style/index.js +1 -3
- package/dist/card/Card.d.ts +1 -3
- package/dist/card/Card.js +26 -33
- package/dist/card/CardGrid.d.ts +1 -3
- package/dist/card/CardGrid.js +3 -7
- package/dist/card/CardMeta.d.ts +1 -3
- package/dist/card/CardMeta.js +4 -7
- package/dist/card/index.js +11 -13
- package/dist/card/style/index.d.ts +1 -4
- package/dist/card/style/index.js +1 -3
- package/dist/carousel/index.d.ts +1 -2
- package/dist/carousel/index.js +2 -5
- package/dist/carousel/style/index.d.ts +1 -4
- package/dist/carousel/style/index.js +1 -3
- package/dist/cascader/Panel.d.ts +1 -2
- package/dist/cascader/Panel.js +3 -6
- package/dist/cascader/hooks/useBase.d.ts +4 -5
- package/dist/cascader/hooks/useBase.js +1 -3
- package/dist/cascader/hooks/useCheckable.d.ts +1 -3
- package/dist/cascader/hooks/useCheckable.js +1 -3
- package/dist/cascader/hooks/useIcons.js +1 -3
- package/dist/cascader/index.d.ts +1 -3
- package/dist/cascader/index.js +16 -19
- package/dist/cascader/style/columns.d.ts +0 -1
- package/dist/cascader/style/columns.js +1 -4
- package/dist/cascader/style/index.d.ts +1 -3
- package/dist/cascader/style/index.js +3 -5
- package/dist/cascader/style/panel.d.ts +1 -3
- package/dist/cascader/style/panel.js +3 -5
- package/dist/checkbox/Checkbox.d.ts +1 -3
- package/dist/checkbox/Checkbox.js +10 -16
- package/dist/checkbox/Group.d.ts +1 -2
- package/dist/checkbox/Group.js +11 -16
- package/dist/checkbox/GroupContext.js +1 -3
- package/dist/checkbox/index.js +7 -9
- package/dist/checkbox/style/index.d.ts +2 -6
- package/dist/checkbox/style/index.js +1 -3
- package/dist/checkbox/useBubbleLock.js +1 -3
- package/dist/collapse/Collapse.d.ts +1 -3
- package/dist/collapse/Collapse.js +10 -16
- package/dist/collapse/CollapsePanel.d.ts +1 -2
- package/dist/collapse/CollapsePanel.js +1 -4
- package/dist/collapse/index.js +5 -7
- package/dist/collapse/style/index.d.ts +21 -13
- package/dist/collapse/style/index.js +16 -20
- package/dist/color-picker/ColorPicker.d.ts +1 -2
- package/dist/color-picker/ColorPicker.js +10 -13
- package/dist/color-picker/ColorPickerPanel.d.ts +1 -2
- package/dist/color-picker/ColorPickerPanel.js +3 -5
- package/dist/color-picker/color.d.ts +1 -2
- package/dist/color-picker/color.js +1 -3
- package/dist/color-picker/components/ColorAlphaInput.d.ts +1 -2
- package/dist/color-picker/components/ColorAlphaInput.js +1 -3
- package/dist/color-picker/components/ColorClear.d.ts +1 -2
- package/dist/color-picker/components/ColorClear.js +1 -3
- package/dist/color-picker/components/ColorHexInput.d.ts +1 -2
- package/dist/color-picker/components/ColorHexInput.js +3 -5
- package/dist/color-picker/components/ColorHsbInput.d.ts +1 -2
- package/dist/color-picker/components/ColorHsbInput.js +1 -3
- package/dist/color-picker/components/ColorInput.d.ts +1 -2
- package/dist/color-picker/components/ColorInput.js +10 -12
- package/dist/color-picker/components/ColorPresets.d.ts +1 -2
- package/dist/color-picker/components/ColorPresets.js +3 -5
- package/dist/color-picker/components/ColorRgbInput.d.ts +1 -2
- package/dist/color-picker/components/ColorRgbInput.js +1 -3
- package/dist/color-picker/components/ColorSlider.d.ts +2 -3
- package/dist/color-picker/components/ColorSlider.js +3 -6
- package/dist/color-picker/components/ColorSteppers.d.ts +1 -3
- package/dist/color-picker/components/ColorSteppers.js +3 -5
- package/dist/color-picker/components/ColorTrigger.d.ts +1 -2
- package/dist/color-picker/components/ColorTrigger.js +3 -5
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +1 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +1 -3
- package/dist/color-picker/components/PanelPicker/index.d.ts +1 -3
- package/dist/color-picker/components/PanelPicker/index.js +5 -7
- package/dist/color-picker/components/PanelPresets.d.ts +1 -3
- package/dist/color-picker/components/PanelPresets.js +1 -3
- package/dist/color-picker/context.d.ts +2 -3
- package/dist/color-picker/context.js +1 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +1 -2
- package/dist/color-picker/hooks/useModeColor.js +3 -5
- package/dist/color-picker/index.js +3 -5
- package/dist/color-picker/interface.d.ts +0 -1
- package/dist/color-picker/interface.js +1 -2
- package/dist/color-picker/style/color-block.js +1 -4
- package/dist/color-picker/style/index.d.ts +1 -4
- package/dist/color-picker/style/index.js +12 -14
- package/dist/color-picker/style/input.d.ts +0 -1
- package/dist/color-picker/style/input.js +1 -4
- package/dist/color-picker/style/picker.d.ts +0 -1
- package/dist/color-picker/style/picker.js +1 -4
- package/dist/color-picker/style/presets.d.ts +0 -1
- package/dist/color-picker/style/presets.js +1 -4
- package/dist/color-picker/style/slider.d.ts +0 -1
- package/dist/color-picker/style/slider.js +1 -4
- package/dist/color-picker/util.js +1 -3
- package/dist/components.d.ts +0 -14
- package/dist/components.js +160 -162
- package/dist/config-provider/DisabledContext.d.ts +1 -2
- package/dist/config-provider/DisabledContext.js +1 -3
- package/dist/config-provider/SizeContext.d.ts +1 -2
- package/dist/config-provider/SizeContext.js +1 -3
- package/dist/config-provider/context.d.ts +15 -32
- package/dist/config-provider/context.js +2 -4
- package/dist/config-provider/defaultRenderEmpty.d.ts +1 -2
- package/dist/config-provider/defaultRenderEmpty.js +11 -8
- package/dist/config-provider/define.d.ts +2 -2
- package/dist/config-provider/define.js +1 -1
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +1 -2
- package/dist/config-provider/hooks/useCSSVarCls.js +1 -4
- package/dist/config-provider/hooks/useConfig.d.ts +2 -3
- package/dist/config-provider/hooks/useConfig.js +1 -3
- package/dist/config-provider/hooks/useSize.d.ts +1 -2
- package/dist/config-provider/hooks/useSize.js +1 -3
- package/dist/config-provider/hooks/useTheme.d.ts +1 -2
- package/dist/config-provider/hooks/useTheme.js +3 -5
- package/dist/config-provider/hooks/useThemeKey.js +1 -4
- package/dist/config-provider/index.d.ts +3 -4
- package/dist/config-provider/index.js +30 -20
- package/dist/config-provider/style/index.d.ts +0 -1
- package/dist/config-provider/style/index.js +2 -3
- package/dist/date-picker/PickerButton.d.ts +1 -4
- package/dist/date-picker/PickerButton.js +1 -4
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +4 -5
- package/dist/date-picker/generatePicker/SuffixIcon.js +1 -4
- package/dist/date-picker/generatePicker/constant.js +1 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +3 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +16 -14
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +8 -7
- package/dist/date-picker/generatePicker/generateSinglePicker.js +16 -14
- package/dist/date-picker/generatePicker/index.d.ts +7 -8
- package/dist/date-picker/generatePicker/index.js +5 -8
- package/dist/date-picker/generatePicker/interface.d.ts +1 -2
- package/dist/date-picker/generatePicker/interface.js +1 -1
- package/dist/date-picker/generatePicker/useComponents.d.ts +10 -13
- package/dist/date-picker/generatePicker/useComponents.js +3 -5
- package/dist/date-picker/hooks/useMergedPickerSemantic.js +1 -3
- package/dist/date-picker/index.d.ts +12 -13
- package/dist/date-picker/index.js +7 -10
- package/dist/date-picker/locale/ar_EG.d.ts +0 -1
- package/dist/date-picker/locale/ar_EG.js +3 -6
- package/dist/date-picker/locale/az_AZ.d.ts +0 -1
- package/dist/date-picker/locale/az_AZ.js +3 -6
- package/dist/date-picker/locale/bg_BG.d.ts +0 -1
- package/dist/date-picker/locale/bg_BG.js +3 -6
- package/dist/date-picker/locale/bn_BD.d.ts +0 -1
- package/dist/date-picker/locale/bn_BD.js +3 -6
- package/dist/date-picker/locale/by_BY.d.ts +0 -1
- package/dist/date-picker/locale/by_BY.js +3 -6
- package/dist/date-picker/locale/ca_ES.d.ts +0 -1
- package/dist/date-picker/locale/ca_ES.js +3 -6
- package/dist/date-picker/locale/cs_CZ.d.ts +0 -1
- package/dist/date-picker/locale/cs_CZ.js +3 -6
- package/dist/date-picker/locale/da_DK.d.ts +0 -1
- package/dist/date-picker/locale/da_DK.js +3 -6
- package/dist/date-picker/locale/de_DE.d.ts +0 -1
- package/dist/date-picker/locale/de_DE.js +3 -6
- package/dist/date-picker/locale/el_GR.d.ts +0 -1
- package/dist/date-picker/locale/el_GR.js +3 -6
- package/dist/date-picker/locale/en_GB.d.ts +0 -1
- package/dist/date-picker/locale/en_GB.js +3 -6
- package/dist/date-picker/locale/en_US.d.ts +0 -1
- package/dist/date-picker/locale/en_US.js +3 -6
- package/dist/date-picker/locale/es_ES.d.ts +0 -1
- package/dist/date-picker/locale/es_ES.js +3 -6
- package/dist/date-picker/locale/es_US.d.ts +0 -1
- package/dist/date-picker/locale/es_US.js +5 -8
- package/dist/date-picker/locale/et_EE.d.ts +0 -1
- package/dist/date-picker/locale/et_EE.js +3 -6
- package/dist/date-picker/locale/eu_ES.d.ts +0 -1
- package/dist/date-picker/locale/eu_ES.js +3 -6
- package/dist/date-picker/locale/fa_IR.d.ts +0 -1
- package/dist/date-picker/locale/fa_IR.js +3 -6
- package/dist/date-picker/locale/fi_FI.d.ts +0 -1
- package/dist/date-picker/locale/fi_FI.js +3 -6
- package/dist/date-picker/locale/fr_BE.d.ts +0 -1
- package/dist/date-picker/locale/fr_BE.js +3 -6
- package/dist/date-picker/locale/fr_CA.d.ts +0 -1
- package/dist/date-picker/locale/fr_CA.js +3 -6
- package/dist/date-picker/locale/fr_FR.d.ts +0 -1
- package/dist/date-picker/locale/fr_FR.js +3 -6
- package/dist/date-picker/locale/ga_IE.d.ts +0 -1
- package/dist/date-picker/locale/ga_IE.js +3 -6
- package/dist/date-picker/locale/gl_ES.d.ts +0 -1
- package/dist/date-picker/locale/gl_ES.js +3 -6
- package/dist/date-picker/locale/he_IL.d.ts +0 -1
- package/dist/date-picker/locale/he_IL.js +3 -6
- package/dist/date-picker/locale/hi_IN.d.ts +0 -1
- package/dist/date-picker/locale/hi_IN.js +3 -6
- package/dist/date-picker/locale/hr_HR.d.ts +0 -1
- package/dist/date-picker/locale/hr_HR.js +3 -6
- package/dist/date-picker/locale/hu_HU.d.ts +0 -1
- package/dist/date-picker/locale/hu_HU.js +3 -6
- package/dist/date-picker/locale/id_ID.d.ts +0 -1
- package/dist/date-picker/locale/id_ID.js +3 -6
- package/dist/date-picker/locale/is_IS.d.ts +0 -1
- package/dist/date-picker/locale/is_IS.js +3 -6
- package/dist/date-picker/locale/it_IT.d.ts +0 -1
- package/dist/date-picker/locale/it_IT.js +3 -6
- package/dist/date-picker/locale/ja_JP.d.ts +0 -1
- package/dist/date-picker/locale/ja_JP.js +3 -6
- package/dist/date-picker/locale/ka_GE.d.ts +0 -1
- package/dist/date-picker/locale/ka_GE.js +3 -6
- package/dist/date-picker/locale/kk_KZ.d.ts +0 -1
- package/dist/date-picker/locale/kk_KZ.js +3 -6
- package/dist/date-picker/locale/km_KH.d.ts +0 -1
- package/dist/date-picker/locale/km_KH.js +3 -6
- package/dist/date-picker/locale/kmr_IQ.d.ts +0 -1
- package/dist/date-picker/locale/kmr_IQ.js +3 -6
- package/dist/date-picker/locale/kn_IN.d.ts +0 -1
- package/dist/date-picker/locale/kn_IN.js +3 -6
- package/dist/date-picker/locale/ko_KR.d.ts +0 -1
- package/dist/date-picker/locale/ko_KR.js +3 -6
- package/dist/date-picker/locale/lt_LT.d.ts +0 -1
- package/dist/date-picker/locale/lt_LT.js +3 -6
- package/dist/date-picker/locale/lv_LV.d.ts +0 -1
- package/dist/date-picker/locale/lv_LV.js +3 -6
- package/dist/date-picker/locale/mk_MK.d.ts +0 -1
- package/dist/date-picker/locale/mk_MK.js +3 -6
- package/dist/date-picker/locale/ml_IN.d.ts +0 -1
- package/dist/date-picker/locale/ml_IN.js +3 -6
- package/dist/date-picker/locale/mn_MN.d.ts +0 -1
- package/dist/date-picker/locale/mn_MN.js +3 -6
- package/dist/date-picker/locale/mr_IN.d.ts +0 -1
- package/dist/date-picker/locale/mr_IN.js +3 -6
- package/dist/date-picker/locale/ms_MY.d.ts +0 -1
- package/dist/date-picker/locale/ms_MY.js +3 -6
- package/dist/date-picker/locale/my_MM.d.ts +0 -1
- package/dist/date-picker/locale/my_MM.js +3 -6
- package/dist/date-picker/locale/nb_NO.d.ts +0 -1
- package/dist/date-picker/locale/nb_NO.js +3 -6
- package/dist/date-picker/locale/nl_BE.d.ts +0 -1
- package/dist/date-picker/locale/nl_BE.js +3 -6
- package/dist/date-picker/locale/nl_NL.d.ts +0 -1
- package/dist/date-picker/locale/nl_NL.js +3 -6
- package/dist/date-picker/locale/pl_PL.d.ts +0 -1
- package/dist/date-picker/locale/pl_PL.js +3 -6
- package/dist/date-picker/locale/pt_BR.d.ts +0 -1
- package/dist/date-picker/locale/pt_BR.js +3 -6
- package/dist/date-picker/locale/pt_PT.d.ts +0 -1
- package/dist/date-picker/locale/pt_PT.js +3 -6
- package/dist/date-picker/locale/ro_RO.d.ts +0 -1
- package/dist/date-picker/locale/ro_RO.js +3 -6
- package/dist/date-picker/locale/ru_RU.d.ts +0 -1
- package/dist/date-picker/locale/ru_RU.js +3 -6
- package/dist/date-picker/locale/si_LK.d.ts +0 -1
- package/dist/date-picker/locale/si_LK.js +3 -6
- package/dist/date-picker/locale/sk_SK.d.ts +0 -1
- package/dist/date-picker/locale/sk_SK.js +3 -6
- package/dist/date-picker/locale/sl_SI.d.ts +0 -1
- package/dist/date-picker/locale/sl_SI.js +3 -6
- package/dist/date-picker/locale/sr_RS.d.ts +0 -1
- package/dist/date-picker/locale/sr_RS.js +3 -6
- package/dist/date-picker/locale/sv_SE.d.ts +0 -1
- package/dist/date-picker/locale/sv_SE.js +3 -6
- package/dist/date-picker/locale/ta_IN.d.ts +0 -1
- package/dist/date-picker/locale/ta_IN.js +3 -6
- package/dist/date-picker/locale/th_TH.d.ts +0 -1
- package/dist/date-picker/locale/th_TH.js +3 -6
- package/dist/date-picker/locale/tk_TK.d.ts +0 -1
- package/dist/date-picker/locale/tk_TK.js +3 -6
- package/dist/date-picker/locale/tr_TR.d.ts +0 -1
- package/dist/date-picker/locale/tr_TR.js +3 -6
- package/dist/date-picker/locale/uk_UA.d.ts +0 -1
- package/dist/date-picker/locale/uk_UA.js +3 -6
- package/dist/date-picker/locale/ur_PK.d.ts +0 -1
- package/dist/date-picker/locale/ur_PK.js +3 -6
- package/dist/date-picker/locale/uz_UZ.d.ts +0 -1
- package/dist/date-picker/locale/uz_UZ.js +3 -6
- package/dist/date-picker/locale/vi_VN.d.ts +0 -1
- package/dist/date-picker/locale/vi_VN.js +3 -6
- package/dist/date-picker/locale/zh_CN.d.ts +0 -1
- package/dist/date-picker/locale/zh_CN.js +3 -6
- package/dist/date-picker/locale/zh_TW.d.ts +0 -1
- package/dist/date-picker/locale/zh_TW.js +3 -6
- package/dist/date-picker/style/index.d.ts +1 -2
- package/dist/date-picker/style/index.js +7 -9
- package/dist/date-picker/style/multiple.d.ts +0 -2
- package/dist/date-picker/style/multiple.js +1 -4
- package/dist/date-picker/style/panel.d.ts +0 -1
- package/dist/date-picker/style/panel.js +1 -4
- package/dist/date-picker/style/token.js +1 -3
- package/dist/date-picker/style/util.js +7 -4
- package/dist/date-picker/style/variants.js +1 -4
- package/dist/date-picker/util.d.ts +2 -4
- package/dist/date-picker/util.js +1 -3
- package/dist/descriptions/Cell.d.ts +4 -5
- package/dist/descriptions/Cell.js +1 -4
- package/dist/descriptions/DescriptionsContext.d.ts +6592 -6593
- package/dist/descriptions/DescriptionsContext.js +1 -3
- package/dist/descriptions/Item.d.ts +1 -2
- package/dist/descriptions/Item.js +1 -4
- package/dist/descriptions/Row.d.ts +1 -2
- package/dist/descriptions/Row.js +5 -8
- package/dist/descriptions/constant.js +1 -3
- package/dist/descriptions/hooks/useItems.d.ts +9 -11
- package/dist/descriptions/hooks/useItems.js +1 -3
- package/dist/descriptions/hooks/useRow.d.ts +1 -2
- package/dist/descriptions/hooks/useRow.js +1 -4
- package/dist/descriptions/index.d.ts +1 -3
- package/dist/descriptions/index.js +15 -21
- package/dist/descriptions/style/index.d.ts +1 -4
- package/dist/descriptions/style/index.js +1 -3
- package/dist/divider/index.d.ts +1 -3
- package/dist/divider/index.js +2 -5
- package/dist/divider/style/index.d.ts +1 -3
- package/dist/divider/style/index.js +1 -3
- package/dist/drawer/DrawerPanel.d.ts +1 -3
- package/dist/drawer/DrawerPanel.js +1 -4
- package/dist/drawer/index.d.ts +2 -4
- package/dist/drawer/index.js +11 -16
- package/dist/drawer/style/index.d.ts +1 -4
- package/dist/drawer/style/index.js +3 -5
- package/dist/drawer/style/motion.d.ts +0 -1
- package/dist/drawer/style/motion.js +1 -3
- package/dist/drawer/useFocusable.d.ts +1 -2
- package/dist/drawer/useFocusable.js +1 -3
- package/dist/dropdown/dropdown.d.ts +2 -4
- package/dist/dropdown/dropdown.js +12 -12
- package/dist/dropdown/index.js +3 -6
- package/dist/dropdown/style/index.d.ts +1 -3
- package/dist/dropdown/style/index.js +27 -12
- package/dist/dropdown/style/status.d.ts +0 -1
- package/dist/dropdown/style/status.js +1 -3
- package/dist/empty/empty.d.ts +1 -3
- package/dist/empty/empty.js +3 -6
- package/dist/empty/index.d.ts +3 -6
- package/dist/empty/index.js +12 -18
- package/dist/empty/simple.d.ts +1 -3
- package/dist/empty/simple.js +3 -6
- package/dist/empty/style/index.d.ts +1 -3
- package/dist/empty/style/index.js +1 -3
- package/dist/empty/utils.js +1 -3
- package/dist/flex/index.d.ts +1 -2
- package/dist/flex/index.js +4 -7
- package/dist/flex/interface.js +1 -1
- package/dist/flex/style/index.d.ts +1 -4
- package/dist/flex/style/index.js +1 -3
- package/dist/flex/utils.js +1 -4
- package/dist/float-button/BackTop.d.ts +1 -2
- package/dist/float-button/BackTop.js +7 -10
- package/dist/float-button/FloatButton.d.ts +1 -4
- package/dist/float-button/FloatButton.js +9 -13
- package/dist/float-button/FloatButtonGroup.d.ts +1 -3
- package/dist/float-button/FloatButtonGroup.js +13 -11
- package/dist/float-button/PurePanel.d.ts +1 -2
- package/dist/float-button/PurePanel.js +7 -10
- package/dist/float-button/context.d.ts +2 -3
- package/dist/float-button/context.js +1 -3
- package/dist/float-button/index.js +13 -15
- package/dist/float-button/style/button.js +1 -4
- package/dist/float-button/style/group.js +1 -4
- package/dist/float-button/style/index.d.ts +1 -4
- package/dist/float-button/style/index.js +5 -7
- package/dist/form/ErrorList.d.ts +1 -2
- package/dist/form/ErrorList.js +7 -10
- package/dist/form/Form.d.ts +1 -4
- package/dist/form/Form.js +23 -23
- package/dist/form/FormItem/ItemHolder.d.ts +2 -3
- package/dist/form/FormItem/ItemHolder.js +20 -24
- package/dist/form/FormItem/StatusProvider.d.ts +1 -2
- package/dist/form/FormItem/StatusProvider.js +1 -4
- package/dist/form/FormItem/index.d.ts +1 -2
- package/dist/form/FormItem/index.js +8 -11
- package/dist/form/FormItemInput.d.ts +5 -7
- package/dist/form/FormItemInput.js +5 -8
- package/dist/form/FormItemLabel.d.ts +6 -8
- package/dist/form/FormItemLabel.js +9 -12
- package/dist/form/context.d.ts +6 -8
- package/dist/form/context.js +1 -3
- package/dist/form/hooks/useForm.js +1 -3
- package/dist/form/hooks/useVariant.d.ts +1 -2
- package/dist/form/hooks/useVariant.js +1 -3
- package/dist/form/index.js +9 -11
- package/dist/form/interface.js +1 -1
- package/dist/form/namePathType.js +1 -1
- package/dist/form/style/explain.d.ts +0 -1
- package/dist/form/style/explain.js +1 -3
- package/dist/form/style/fallbackCmp.d.ts +3 -5
- package/dist/form/style/fallbackCmp.js +1 -3
- package/dist/form/style/index.d.ts +1 -3
- package/dist/form/style/index.js +5 -7
- package/dist/form/types.js +1 -1
- package/dist/form/util.js +1 -3
- package/dist/form/utils/NameMap.js +1 -3
- package/dist/form/utils/asyncUtil.js +1 -2
- package/dist/form/utils/messages.js +1 -2
- package/dist/form/utils/typeUtil.js +1 -2
- package/dist/form/utils/validateUtil.js +1 -3
- package/dist/form/utils/valueUtil.js +2 -4
- package/dist/form/validateMessagesContext.js +1 -3
- package/dist/grid/RowContext.js +1 -3
- package/dist/grid/col.d.ts +1 -2
- package/dist/grid/col.js +1 -4
- package/dist/grid/hooks/useBreakpoint.js +3 -6
- package/dist/grid/hooks/useGutter.js +1 -3
- package/dist/grid/index.d.ts +1 -2
- package/dist/grid/index.js +5 -7
- package/dist/grid/row.d.ts +1 -2
- package/dist/grid/row.js +3 -6
- package/dist/grid/style/index.d.ts +2 -5
- package/dist/grid/style/index.js +1 -3
- package/dist/image/PreviewGroup.d.ts +10 -13
- package/dist/image/PreviewGroup.js +5 -8
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +4 -8
- package/dist/image/hooks/useMergedPreviewConfig.js +1 -4
- package/dist/image/hooks/usePreviewConfig.d.ts +18 -24
- package/dist/image/hooks/usePreviewConfig.js +1 -3
- package/dist/image/index.d.ts +2 -4
- package/dist/image/index.js +9 -12
- package/dist/image/style/index.d.ts +1 -3
- package/dist/image/style/index.js +1 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +80 -82
- package/dist/input/Group.d.ts +2 -3
- package/dist/input/Group.js +9 -13
- package/dist/input/Input.d.ts +1 -3
- package/dist/input/Input.js +8 -11
- package/dist/input/OTP/OTPInput.d.ts +2 -3
- package/dist/input/OTP/OTPInput.js +4 -7
- package/dist/input/OTP/index.d.ts +1 -3
- package/dist/input/OTP/index.js +7 -10
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Password.js +23 -20
- package/dist/input/Search.d.ts +1 -3
- package/dist/input/Search.js +3 -6
- package/dist/input/TextArea.d.ts +1 -3
- package/dist/input/TextArea.js +8 -11
- package/dist/input/hooks/useRemovePasswordTimeout.js +1 -3
- package/dist/input/index.d.ts +5 -6
- package/dist/input/index.js +23 -26
- package/dist/input/style/index.d.ts +2 -4
- package/dist/input/style/index.js +1 -3
- package/dist/input/style/otp.d.ts +1 -3
- package/dist/input/style/otp.js +1 -3
- package/dist/input/style/search.d.ts +1 -3
- package/dist/input/style/search.js +29 -12
- package/dist/input/style/textarea.d.ts +1 -2
- package/dist/input/style/textarea.js +1 -3
- package/dist/input/style/token.d.ts +0 -2
- package/dist/input/style/token.js +1 -3
- package/dist/input/style/variants.d.ts +0 -1
- package/dist/input/style/variants.js +25 -11
- package/dist/input-number/index.d.ts +1 -3
- package/dist/input-number/index.js +6 -9
- package/dist/input-number/style/index.d.ts +1 -2
- package/dist/input-number/style/index.js +1 -3
- package/dist/input-number/style/token.d.ts +0 -2
- package/dist/input-number/style/token.js +1 -3
- package/dist/layout/Sider.d.ts +15 -3
- package/dist/layout/Sider.js +27 -9
- package/dist/layout/context.js +1 -3
- package/dist/layout/hooks/useHasSider.js +1 -2
- package/dist/layout/index.d.ts +4 -5
- package/dist/layout/index.js +8 -10
- package/dist/layout/layout.d.ts +4 -5
- package/dist/layout/layout.js +4 -7
- package/dist/layout/style/index.d.ts +1 -3
- package/dist/layout/style/index.js +1 -3
- package/dist/layout/style/sider.d.ts +1 -3
- package/dist/layout/style/sider.js +1 -3
- package/dist/locale/ar_EG.js +7 -10
- package/dist/locale/az_AZ.js +7 -10
- package/dist/locale/bg_BG.js +7 -10
- package/dist/locale/bn_BD.js +7 -10
- package/dist/locale/by_BY.js +7 -10
- package/dist/locale/ca_ES.js +7 -10
- package/dist/locale/cs_CZ.js +7 -10
- package/dist/locale/da_DK.js +7 -10
- package/dist/locale/de_DE.js +7 -10
- package/dist/locale/el_GR.js +7 -10
- package/dist/locale/en_GB.js +7 -10
- package/dist/locale/en_US.js +7 -10
- package/dist/locale/es_ES.js +7 -10
- package/dist/locale/es_US.js +7 -10
- package/dist/locale/et_EE.js +7 -10
- package/dist/locale/eu_ES.js +7 -10
- package/dist/locale/fa_IR.js +7 -10
- package/dist/locale/fi_FI.js +7 -10
- package/dist/locale/fr_BE.js +7 -10
- package/dist/locale/fr_CA.js +7 -10
- package/dist/locale/fr_FR.js +7 -10
- package/dist/locale/ga_IE.js +7 -10
- package/dist/locale/gl_ES.js +7 -10
- package/dist/locale/he_IL.js +7 -10
- package/dist/locale/hi_IN.js +7 -10
- package/dist/locale/hr_HR.js +7 -10
- package/dist/locale/hu_HU.js +7 -10
- package/dist/locale/hy_AM.js +1 -3
- package/dist/locale/id_ID.js +7 -10
- package/dist/locale/index.d.ts +1 -7
- package/dist/locale/index.js +1 -3
- package/dist/locale/is_IS.js +7 -10
- package/dist/locale/it_IT.js +7 -10
- package/dist/locale/ja_JP.js +9 -12
- package/dist/locale/ka_GE.js +7 -10
- package/dist/locale/kk_KZ.js +7 -10
- package/dist/locale/km_KH.js +7 -10
- package/dist/locale/kmr_IQ.js +7 -10
- package/dist/locale/kn_IN.js +7 -10
- package/dist/locale/ko_KR.js +7 -10
- package/dist/locale/ku_IQ.js +7 -10
- package/dist/locale/lt_LT.js +7 -10
- package/dist/locale/lv_LV.js +7 -10
- package/dist/locale/mk_MK.js +7 -10
- package/dist/locale/ml_IN.js +7 -10
- package/dist/locale/mn_MN.js +7 -10
- package/dist/locale/mr_IN.js +7 -10
- package/dist/locale/ms_MY.js +7 -10
- package/dist/locale/my_MM.js +7 -10
- package/dist/locale/nb_NO.js +7 -10
- package/dist/locale/ne_NP.js +7 -10
- package/dist/locale/nl_BE.js +7 -10
- package/dist/locale/nl_NL.js +7 -10
- package/dist/locale/pl_PL.js +7 -10
- package/dist/locale/pt_BR.js +7 -10
- package/dist/locale/pt_PT.js +7 -10
- package/dist/locale/ro_RO.js +7 -10
- package/dist/locale/ru_RU.js +7 -10
- package/dist/locale/si_LK.js +7 -10
- package/dist/locale/sk_SK.js +7 -10
- package/dist/locale/sl_SI.js +7 -10
- package/dist/locale/sr_RS.js +7 -10
- package/dist/locale/sv_SE.js +7 -10
- package/dist/locale/ta_IN.js +7 -10
- package/dist/locale/th_TH.js +7 -10
- package/dist/locale/tk_TK.js +7 -10
- package/dist/locale/tr_TR.js +7 -10
- package/dist/locale/uk_UA.js +7 -10
- package/dist/locale/ur_PK.js +7 -10
- package/dist/locale/useLocale.d.ts +1 -2
- package/dist/locale/useLocale.js +5 -8
- package/dist/locale/uz_UZ.js +7 -10
- package/dist/locale/vi_VN.js +7 -10
- package/dist/locale/zh_CN.js +9 -12
- package/dist/locale/zh_HK.js +7 -10
- package/dist/locale/zh_TW.js +7 -10
- package/dist/masonry/Masonry.d.ts +2 -5
- package/dist/masonry/Masonry.js +8 -11
- package/dist/masonry/MasonryItem.d.ts +1 -2
- package/dist/masonry/MasonryItem.js +1 -4
- package/dist/masonry/hooks/useDelay.js +1 -3
- package/dist/masonry/hooks/usePositions.d.ts +1 -2
- package/dist/masonry/hooks/usePositions.js +1 -3
- package/dist/masonry/hooks/useRefs.js +1 -3
- package/dist/masonry/index.js +5 -7
- package/dist/masonry/style/index.d.ts +1 -3
- package/dist/masonry/style/index.js +1 -3
- package/dist/mentions/index.d.ts +1 -3
- package/dist/mentions/index.js +15 -18
- package/dist/mentions/style/index.d.ts +1 -4
- package/dist/mentions/style/index.js +1 -3
- package/dist/menu/MenuContext.d.ts +2 -3
- package/dist/menu/MenuContext.js +1 -3
- package/dist/menu/MenuDivider.d.ts +1 -3
- package/dist/menu/MenuDivider.js +2 -6
- package/dist/menu/MenuItem.d.ts +1 -2
- package/dist/menu/MenuItem.js +3 -6
- package/dist/menu/MenuItemGroup.d.ts +1 -2
- package/dist/menu/MenuItemGroup.js +4 -7
- package/dist/menu/OverrideContext.d.ts +2 -3
- package/dist/menu/OverrideContext.js +1 -3
- package/dist/menu/SubMenu.d.ts +1 -2
- package/dist/menu/SubMenu.js +4 -7
- package/dist/menu/index.d.ts +2 -3
- package/dist/menu/index.js +17 -21
- package/dist/menu/interface.js +1 -1
- package/dist/menu/menu.d.ts +1 -2
- package/dist/menu/menu.js +15 -18
- package/dist/menu/style/horizontal.d.ts +0 -1
- package/dist/menu/style/horizontal.js +1 -4
- package/dist/menu/style/index.d.ts +1 -3
- package/dist/menu/style/index.js +12 -14
- package/dist/menu/style/rtl.d.ts +0 -1
- package/dist/menu/style/rtl.js +1 -4
- package/dist/menu/style/theme.js +1 -4
- package/dist/menu/style/vertical.d.ts +0 -2
- package/dist/menu/style/vertical.js +1 -4
- package/dist/message/PureList.d.ts +2 -3
- package/dist/message/PureList.js +3 -6
- package/dist/message/PurePanel.d.ts +8 -9
- package/dist/message/PurePanel.js +3 -6
- package/dist/message/index.js +7 -10
- package/dist/message/interface.d.ts +0 -1
- package/dist/message/interface.js +1 -1
- package/dist/message/style/index.d.ts +4 -5
- package/dist/message/style/index.js +1 -3
- package/dist/message/useMessage.d.ts +2 -3
- package/dist/message/useMessage.js +3 -5
- package/dist/message/util.js +1 -2
- package/dist/modal/ConfirmDialog.d.ts +3 -4
- package/dist/modal/ConfirmDialog.js +34 -38
- package/dist/modal/Modal.d.ts +1 -2
- package/dist/modal/Modal.js +10 -12
- package/dist/modal/PurePanel.d.ts +1 -2
- package/dist/modal/PurePanel.js +5 -9
- package/dist/modal/components/ConfirmCancelBtn.d.ts +3 -4
- package/dist/modal/components/ConfirmCancelBtn.js +3 -6
- package/dist/modal/components/ConfirmOkBtn.d.ts +3 -4
- package/dist/modal/components/ConfirmOkBtn.js +3 -6
- package/dist/modal/components/NormalCancelBtn.d.ts +3 -4
- package/dist/modal/components/NormalCancelBtn.js +1 -4
- package/dist/modal/components/NormalOkBtn.d.ts +3 -4
- package/dist/modal/components/NormalOkBtn.js +1 -4
- package/dist/modal/confirm.js +14 -16
- package/dist/modal/context.js +1 -3
- package/dist/modal/destroyFns.js +1 -3
- package/dist/modal/index.js +5 -8
- package/dist/modal/interface.d.ts +4 -2
- package/dist/modal/interface.js +1 -1
- package/dist/modal/locale.js +5 -7
- package/dist/modal/shared.d.ts +2 -4
- package/dist/modal/shared.js +8 -10
- package/dist/modal/style/confirm.d.ts +3 -5
- package/dist/modal/style/confirm.js +1 -3
- package/dist/modal/style/index.d.ts +1 -2
- package/dist/modal/style/index.js +1 -3
- package/dist/modal/useModal/HookModal.d.ts +2 -3
- package/dist/modal/useModal/HookModal.js +6 -9
- package/dist/modal/useModal/index.js +7 -9
- package/dist/modal/useModal/interface.js +1 -1
- package/dist/modal/useModal/types.js +1 -1
- package/dist/notification/PureList.d.ts +2 -3
- package/dist/notification/PureList.js +3 -6
- package/dist/notification/PurePanel.d.ts +12 -14
- package/dist/notification/PurePanel.js +7 -11
- package/dist/notification/index.js +7 -10
- package/dist/notification/interface.d.ts +0 -1
- package/dist/notification/interface.js +1 -2
- package/dist/notification/style/index.d.ts +4 -7
- package/dist/notification/style/index.js +5 -7
- package/dist/notification/style/notification.d.ts +0 -1
- package/dist/notification/style/notification.js +1 -4
- package/dist/notification/style/placement.d.ts +0 -1
- package/dist/notification/style/placement.js +1 -4
- package/dist/notification/useNotification.d.ts +2 -3
- package/dist/notification/useNotification.js +8 -11
- package/dist/notification/util.js +1 -2
- package/dist/package.js +2 -3
- package/dist/package.json.d.ts +1 -1
- package/dist/pagination/Pagination.d.ts +1 -2
- package/dist/pagination/Pagination.js +15 -17
- package/dist/pagination/index.js +3 -5
- package/dist/pagination/interface.d.ts +0 -1
- package/dist/pagination/interface.js +1 -1
- package/dist/pagination/style/bordered.d.ts +3 -5
- package/dist/pagination/style/bordered.js +1 -3
- package/dist/pagination/style/index.d.ts +1 -4
- package/dist/pagination/style/index.js +1 -3
- package/dist/pagination/useShowSizeChanger.js +1 -2
- package/dist/popconfirm/PurePanel.d.ts +2 -3
- package/dist/popconfirm/PurePanel.js +8 -11
- package/dist/popconfirm/index.d.ts +1 -4
- package/dist/popconfirm/index.js +8 -11
- package/dist/popconfirm/style/index.d.ts +1 -4
- package/dist/popconfirm/style/index.js +1 -3
- package/dist/popover/PurePanel.d.ts +6 -7
- package/dist/popover/PurePanel.js +4 -9
- package/dist/popover/index.d.ts +1 -3
- package/dist/popover/index.js +8 -11
- package/dist/popover/style/index.d.ts +1 -4
- package/dist/popover/style/index.js +3 -5
- package/dist/progress/Circle.d.ts +2 -3
- package/dist/progress/Circle.js +11 -15
- package/dist/progress/Line.d.ts +2 -3
- package/dist/progress/Line.js +1 -4
- package/dist/progress/Steps.d.ts +1 -2
- package/dist/progress/Steps.js +1 -4
- package/dist/progress/index.js +3 -5
- package/dist/progress/progress.d.ts +1 -3
- package/dist/progress/progress.js +12 -18
- package/dist/progress/style/index.d.ts +1 -4
- package/dist/progress/style/index.js +1 -3
- package/dist/progress/utils.js +1 -3
- package/dist/qrcode/QrcodeStatus.d.ts +1 -2
- package/dist/qrcode/QrcodeStatus.js +3 -6
- package/dist/qrcode/index.d.ts +1 -2
- package/dist/qrcode/index.js +14 -18
- package/dist/qrcode/interface.d.ts +0 -1
- package/dist/qrcode/interface.js +1 -1
- package/dist/qrcode/style/index.d.ts +1 -4
- package/dist/qrcode/style/index.js +1 -3
- package/dist/radio/context.js +1 -3
- package/dist/radio/group.d.ts +1 -2
- package/dist/radio/group.js +11 -15
- package/dist/radio/index.d.ts +2 -5
- package/dist/radio/index.js +12 -14
- package/dist/radio/interface.d.ts +0 -1
- package/dist/radio/interface.js +1 -1
- package/dist/radio/radio.d.ts +1 -2
- package/dist/radio/radio.js +6 -9
- package/dist/radio/radioButton.d.ts +1 -2
- package/dist/radio/radioButton.js +3 -6
- package/dist/radio/style/index.d.ts +1 -4
- package/dist/radio/style/index.js +1 -3
- package/dist/rate/index.d.ts +1 -2
- package/dist/rate/index.js +5 -8
- package/dist/rate/style/index.d.ts +1 -3
- package/dist/rate/style/index.js +1 -3
- package/dist/result/index.d.ts +1 -3
- package/dist/result/index.js +14 -20
- package/dist/result/noFound.d.ts +1 -3
- package/dist/result/noFound.js +1 -4
- package/dist/result/serverError.d.ts +1 -3
- package/dist/result/serverError.js +1 -4
- package/dist/result/style/index.d.ts +1 -3
- package/dist/result/style/index.js +1 -3
- package/dist/result/unauthorized.d.ts +1 -3
- package/dist/result/unauthorized.js +1 -4
- package/dist/segmented/index.d.ts +1 -3
- package/dist/segmented/index.js +10 -15
- package/dist/segmented/style/index.d.ts +1 -4
- package/dist/segmented/style/index.js +1 -3
- package/dist/select/index.d.ts +3 -7
- package/dist/select/index.js +13 -16
- package/dist/select/mergedBuiltinPlacements.js +1 -3
- package/dist/select/style/dropdown.d.ts +0 -2
- package/dist/select/style/dropdown.js +1 -4
- package/dist/select/style/index.d.ts +1 -2
- package/dist/select/style/index.js +5 -7
- package/dist/select/style/select-input-customize.js +1 -3
- package/dist/select/style/select-input-multiple.js +1 -4
- package/dist/select/style/select-input.js +26 -12
- package/dist/select/style/token.d.ts +0 -1
- package/dist/select/style/token.js +1 -2
- package/dist/select/useIcons.d.ts +4 -5
- package/dist/select/useIcons.js +1 -3
- package/dist/select/usePopupRender.d.ts +1 -3
- package/dist/select/usePopupRender.js +1 -4
- package/dist/select/useShowArrow.js +1 -3
- package/dist/skeleton/Avatar.d.ts +1 -2
- package/dist/skeleton/Avatar.js +5 -9
- package/dist/skeleton/Button.d.ts +1 -2
- package/dist/skeleton/Button.js +8 -12
- package/dist/skeleton/Element.d.ts +1 -2
- package/dist/skeleton/Element.js +1 -4
- package/dist/skeleton/Image.d.ts +1 -2
- package/dist/skeleton/Image.js +3 -6
- package/dist/skeleton/Input.d.ts +1 -2
- package/dist/skeleton/Input.js +8 -12
- package/dist/skeleton/Node.d.ts +1 -2
- package/dist/skeleton/Node.js +2 -6
- package/dist/skeleton/Paragraph.d.ts +1 -3
- package/dist/skeleton/Paragraph.js +2 -5
- package/dist/skeleton/Skeleton.d.ts +1 -3
- package/dist/skeleton/Skeleton.js +28 -35
- package/dist/skeleton/Title.d.ts +1 -3
- package/dist/skeleton/Title.js +1 -4
- package/dist/skeleton/index.js +8 -10
- package/dist/skeleton/style/index.d.ts +1 -4
- package/dist/skeleton/style/index.js +1 -3
- package/dist/slider/Context.js +1 -3
- package/dist/slider/SliderTooltip.d.ts +2 -3
- package/dist/slider/SliderTooltip.js +3 -6
- package/dist/slider/index.d.ts +3 -4
- package/dist/slider/index.js +8 -11
- package/dist/slider/style/index.d.ts +1 -4
- package/dist/slider/style/index.js +15 -15
- package/dist/slider/useRafLock.js +1 -3
- package/dist/space/Addon.d.ts +1 -2
- package/dist/space/Addon.js +6 -10
- package/dist/space/Compact.d.ts +5 -6
- package/dist/space/Compact.js +1 -4
- package/dist/space/Item.d.ts +1 -2
- package/dist/space/Item.js +1 -4
- package/dist/space/context.js +1 -3
- package/dist/space/index.d.ts +3 -5
- package/dist/space/index.js +10 -13
- package/dist/space/style/addon.d.ts +1 -3
- package/dist/space/style/addon.js +1 -3
- package/dist/space/style/compact.d.ts +1 -3
- package/dist/space/style/compact.js +1 -3
- package/dist/space/style/index.d.ts +1 -4
- package/dist/space/style/index.js +1 -3
- package/dist/spin/Indicator/Looper.d.ts +1 -3
- package/dist/spin/Indicator/Looper.js +3 -5
- package/dist/spin/Indicator/Progress.d.ts +1 -3
- package/dist/spin/Indicator/Progress.js +1 -4
- package/dist/spin/Indicator/index.d.ts +3 -4
- package/dist/spin/Indicator/index.js +2 -5
- package/dist/spin/index.d.ts +1 -3
- package/dist/spin/index.js +4 -7
- package/dist/spin/style/index.d.ts +1 -4
- package/dist/spin/style/index.js +1 -3
- package/dist/spin/usePercent.d.ts +1 -2
- package/dist/spin/usePercent.js +1 -3
- package/dist/splitter/Panel.d.ts +2 -3
- package/dist/splitter/Panel.js +1 -4
- package/dist/splitter/SplitBar.d.ts +1 -2
- package/dist/splitter/SplitBar.js +2 -16
- package/dist/splitter/Splitter.d.ts +1 -2
- package/dist/splitter/Splitter.js +8 -11
- package/dist/splitter/hooks/sizeUtil.js +1 -2
- package/dist/splitter/hooks/useItems.js +1 -3
- package/dist/splitter/hooks/useResizable.d.ts +1 -2
- package/dist/splitter/hooks/useResizable.js +1 -3
- package/dist/splitter/hooks/useResize.d.ts +1 -2
- package/dist/splitter/hooks/useResize.js +1 -3
- package/dist/splitter/hooks/useSizes.d.ts +1 -2
- package/dist/splitter/hooks/useSizes.js +1 -3
- package/dist/splitter/index.d.ts +1 -2
- package/dist/splitter/index.js +9 -11
- package/dist/splitter/interface.d.ts +0 -1
- package/dist/splitter/interface.js +1 -1
- package/dist/splitter/style/index.d.ts +1 -4
- package/dist/splitter/style/index.js +1 -3
- package/dist/statistic/Number.d.ts +1 -2
- package/dist/statistic/Number.js +1 -4
- package/dist/statistic/Statistic.d.ts +1 -3
- package/dist/statistic/Statistic.js +8 -14
- package/dist/statistic/Timer.d.ts +1 -2
- package/dist/statistic/Timer.js +4 -7
- package/dist/statistic/index.d.ts +1 -2
- package/dist/statistic/index.js +8 -10
- package/dist/statistic/style/index.d.ts +1 -4
- package/dist/statistic/style/index.js +1 -3
- package/dist/statistic/utils.js +1 -2
- package/dist/steps/PanelArrow.d.ts +1 -3
- package/dist/steps/PanelArrow.js +1 -4
- package/dist/steps/ProgressIcon.d.ts +1 -3
- package/dist/steps/ProgressIcon.js +1 -4
- package/dist/steps/context.js +1 -3
- package/dist/steps/index.d.ts +7 -3
- package/dist/steps/index.js +35 -22
- package/dist/steps/style/horizontal.d.ts +0 -1
- package/dist/steps/style/horizontal.js +1 -4
- package/dist/steps/style/icon.d.ts +0 -1
- package/dist/steps/style/icon.js +1 -4
- package/dist/steps/style/index.d.ts +1 -3
- package/dist/steps/style/index.js +27 -27
- package/dist/steps/style/inline.d.ts +0 -1
- package/dist/steps/style/inline.js +1 -4
- package/dist/steps/style/label-placement.d.ts +0 -1
- package/dist/steps/style/label-placement.js +1 -4
- package/dist/steps/style/max-count.d.ts +8 -0
- package/dist/steps/style/max-count.js +8 -0
- package/dist/steps/style/nav.d.ts +0 -1
- package/dist/steps/style/nav.js +1 -4
- package/dist/steps/style/panel.d.ts +0 -1
- package/dist/steps/style/panel.js +1 -4
- package/dist/steps/style/progress-dot.d.ts +0 -1
- package/dist/steps/style/progress-dot.js +1 -4
- package/dist/steps/style/progress.d.ts +0 -1
- package/dist/steps/style/progress.js +1 -4
- package/dist/steps/style/rtl.d.ts +0 -1
- package/dist/steps/style/rtl.js +1 -4
- package/dist/steps/style/small.d.ts +0 -1
- package/dist/steps/style/small.js +1 -4
- package/dist/steps/style/status.d.ts +0 -1
- package/dist/steps/style/status.js +1 -4
- package/dist/steps/style/util.js +1 -3
- package/dist/steps/style/vertical.d.ts +0 -1
- package/dist/steps/style/vertical.js +1 -4
- package/dist/steps/useDisplaySteps.d.ts +22 -0
- package/dist/steps/useDisplaySteps.js +95 -0
- package/dist/style/compact-item-vertical.d.ts +0 -1
- package/dist/style/compact-item-vertical.js +1 -2
- package/dist/style/compact-item.d.ts +0 -1
- package/dist/style/compact-item.js +1 -2
- package/dist/style/index.d.ts +0 -1
- package/dist/style/index.js +1 -3
- package/dist/style/motion/collapse.js +1 -3
- package/dist/style/motion/fade.js +1 -3
- package/dist/style/motion/index.js +2 -3
- package/dist/style/motion/motion.js +1 -2
- package/dist/style/motion/move.js +1 -3
- package/dist/style/motion/slide.js +1 -3
- package/dist/style/motion/util.js +1 -2
- package/dist/style/motion/zoom.js +1 -3
- package/dist/style/placementArrow.js +2 -5
- package/dist/style/roundedArrow.d.ts +0 -1
- package/dist/style/roundedArrow.js +1 -3
- package/dist/switch/index.d.ts +1 -3
- package/dist/switch/index.js +4 -7
- package/dist/switch/style/index.d.ts +1 -4
- package/dist/switch/style/index.js +1 -3
- package/dist/table/Column.d.ts +1 -2
- package/dist/table/Column.js +1 -4
- package/dist/table/ColumnGroup.d.ts +1 -2
- package/dist/table/ColumnGroup.js +1 -4
- package/dist/table/ExpandIcon.d.ts +1 -2
- package/dist/table/ExpandIcon.js +1 -4
- package/dist/table/InternalTable.d.ts +1 -3
- package/dist/table/InternalTable.js +21 -23
- package/dist/table/Table.js +7 -10
- package/dist/table/TableMeasureRowContext.d.ts +2 -3
- package/dist/table/TableMeasureRowContext.js +1 -3
- package/dist/table/hooks/useContainerWidth.js +1 -2
- package/dist/table/hooks/useFilledColumns.js +1 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +2 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +18 -21
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +1 -2
- package/dist/table/hooks/useFilter/FilterSearch.js +3 -6
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +2 -3
- package/dist/table/hooks/useFilter/FilterWrapper.js +1 -4
- package/dist/table/hooks/useFilter/index.js +3 -5
- package/dist/table/hooks/useLazyKVMap.js +1 -3
- package/dist/table/hooks/usePagination.d.ts +1 -2
- package/dist/table/hooks/usePagination.js +7 -10
- package/dist/table/hooks/useSelection.d.ts +1 -2
- package/dist/table/hooks/useSelection.js +8 -10
- package/dist/table/hooks/useSorter.d.ts +10 -2
- package/dist/table/hooks/useSorter.js +10 -11
- package/dist/table/hooks/useTitleColumns.js +1 -3
- package/dist/table/index.js +10 -13
- package/dist/table/interface.d.ts +4 -5
- package/dist/table/interface.js +1 -1
- package/dist/table/style/bordered.d.ts +0 -1
- package/dist/table/style/bordered.js +6 -5
- package/dist/table/style/ellipsis.d.ts +0 -1
- package/dist/table/style/ellipsis.js +1 -4
- package/dist/table/style/empty.d.ts +0 -1
- package/dist/table/style/empty.js +1 -3
- package/dist/table/style/expand.d.ts +0 -1
- package/dist/table/style/expand.js +1 -4
- package/dist/table/style/filter.d.ts +0 -2
- package/dist/table/style/filter.js +1 -4
- package/dist/table/style/fixed.d.ts +0 -1
- package/dist/table/style/fixed.js +1 -3
- package/dist/table/style/index.d.ts +1 -4
- package/dist/table/style/index.js +32 -34
- package/dist/table/style/pagination.d.ts +0 -1
- package/dist/table/style/pagination.js +1 -4
- package/dist/table/style/radius.d.ts +0 -1
- package/dist/table/style/radius.js +1 -4
- package/dist/table/style/rtl.d.ts +0 -1
- package/dist/table/style/rtl.js +1 -4
- package/dist/table/style/selection.d.ts +0 -1
- package/dist/table/style/selection.js +1 -4
- package/dist/table/style/size.d.ts +0 -1
- package/dist/table/style/size.js +1 -4
- package/dist/table/style/sorter.d.ts +0 -1
- package/dist/table/style/sorter.js +1 -3
- package/dist/table/style/sticky.d.ts +0 -1
- package/dist/table/style/sticky.js +1 -4
- package/dist/table/style/summary.d.ts +0 -1
- package/dist/table/style/summary.js +1 -4
- package/dist/table/style/virtual.d.ts +0 -1
- package/dist/table/style/virtual.js +1 -4
- package/dist/table/util.js +1 -2
- package/dist/table/utils.js +1 -3
- package/dist/tabs/TabPane.d.ts +1 -2
- package/dist/tabs/TabPane.js +1 -4
- package/dist/tabs/hooks/useAnimateConfig.js +1 -3
- package/dist/tabs/hooks/useLegacyItems.d.ts +1 -2
- package/dist/tabs/hooks/useLegacyItems.js +3 -5
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tabs/index.js +9 -12
- package/dist/tabs/style/index.d.ts +1 -4
- package/dist/tabs/style/index.js +13 -15
- package/dist/tabs/style/motion.d.ts +0 -2
- package/dist/tabs/style/motion.js +1 -4
- package/dist/tag/CheckableTag.d.ts +1 -2
- package/dist/tag/CheckableTag.js +1 -4
- package/dist/tag/CheckableTagGroup.d.ts +3 -5
- package/dist/tag/CheckableTagGroup.js +5 -8
- package/dist/tag/hooks/useColor.d.ts +1 -2
- package/dist/tag/hooks/useColor.js +1 -3
- package/dist/tag/index.d.ts +1 -3
- package/dist/tag/index.js +7 -10
- package/dist/tag/style/index.d.ts +1 -3
- package/dist/tag/style/index.js +1 -3
- package/dist/tag/style/presetCmp.d.ts +3 -5
- package/dist/tag/style/presetCmp.js +1 -3
- package/dist/tag/style/statusCmp.d.ts +3 -5
- package/dist/tag/style/statusCmp.js +1 -3
- package/dist/theme/context.d.ts +1 -3
- package/dist/theme/context.js +5 -7
- package/dist/theme/getDesignToken.d.ts +0 -1
- package/dist/theme/getDesignToken.js +5 -8
- package/dist/theme/index.d.ts +5 -7
- package/dist/theme/index.js +12 -9
- package/dist/theme/interface/alias.js +1 -1
- package/dist/theme/interface/components.d.ts +0 -5
- package/dist/theme/interface/components.js +1 -1
- package/dist/theme/interface/cssinjs-utils.js +1 -1
- package/dist/theme/interface/index.js +1 -2
- package/dist/theme/interface/maps/colors.js +1 -1
- package/dist/theme/interface/maps/font.js +1 -1
- package/dist/theme/interface/maps/index.js +1 -1
- package/dist/theme/interface/maps/size.js +1 -1
- package/dist/theme/interface/maps/style.js +1 -1
- package/dist/theme/interface/presetColors.js +1 -2
- package/dist/theme/interface/seeds.js +1 -1
- package/dist/theme/internal.js +2 -3
- package/dist/theme/themes/ColorMap.d.ts +0 -2
- package/dist/theme/themes/ColorMap.js +1 -1
- package/dist/theme/themes/compact/genCompactSizeMapToken.d.ts +0 -2
- package/dist/theme/themes/compact/genCompactSizeMapToken.js +1 -2
- package/dist/theme/themes/compact/index.d.ts +0 -1
- package/dist/theme/themes/compact/index.js +5 -8
- package/dist/theme/themes/dark/colorAlgorithm.js +1 -3
- package/dist/theme/themes/dark/colors.js +1 -3
- package/dist/theme/themes/dark/index.d.ts +0 -1
- package/dist/theme/themes/dark/index.js +1 -4
- package/dist/theme/themes/default/colorAlgorithm.js +1 -3
- package/dist/theme/themes/default/colors.js +1 -3
- package/dist/theme/themes/default/index.d.ts +0 -2
- package/dist/theme/themes/default/index.js +5 -7
- package/dist/theme/themes/default/theme.d.ts +1 -3
- package/dist/theme/themes/default/theme.js +1 -4
- package/dist/theme/themes/seed.d.ts +0 -2
- package/dist/theme/themes/seed.js +4 -3
- package/dist/theme/themes/shared/genColorMapToken.d.ts +0 -1
- package/dist/theme/themes/shared/genColorMapToken.js +1 -3
- package/dist/theme/themes/shared/genCommonMapToken.d.ts +0 -2
- package/dist/theme/themes/shared/genCommonMapToken.js +3 -5
- package/dist/theme/themes/shared/genControlHeight.d.ts +0 -2
- package/dist/theme/themes/shared/genControlHeight.js +1 -3
- package/dist/theme/themes/shared/genFontMapToken.d.ts +0 -2
- package/dist/theme/themes/shared/genFontMapToken.js +1 -4
- package/dist/theme/themes/shared/genFontSizes.js +2 -4
- package/dist/theme/themes/shared/genRadius.d.ts +0 -2
- package/dist/theme/themes/shared/genRadius.js +1 -3
- package/dist/theme/themes/shared/genSizeMapToken.d.ts +0 -2
- package/dist/theme/themes/shared/genSizeMapToken.js +1 -2
- package/dist/theme/useToken.d.ts +0 -1
- package/dist/theme/useToken.js +5 -7
- package/dist/theme/util/alias.d.ts +0 -2
- package/dist/theme/util/alias.js +8 -10
- package/dist/theme/util/genPresetColor.js +1 -3
- package/dist/theme/util/genStyleUtils.d.ts +12 -16
- package/dist/theme/util/genStyleUtils.js +3 -5
- package/dist/theme/util/getAlphaColor.js +1 -4
- package/dist/theme/util/useResetIconStyle.d.ts +0 -1
- package/dist/theme/util/useResetIconStyle.js +1 -4
- package/dist/time-picker/index.d.ts +3 -6
- package/dist/time-picker/index.js +5 -8
- package/dist/time-picker/locale/ar_EG.js +1 -3
- package/dist/time-picker/locale/az_AZ.js +1 -3
- package/dist/time-picker/locale/bg_BG.js +1 -3
- package/dist/time-picker/locale/bn_BD.js +1 -3
- package/dist/time-picker/locale/by_BY.js +1 -3
- package/dist/time-picker/locale/ca_ES.js +1 -3
- package/dist/time-picker/locale/cs_CZ.js +1 -3
- package/dist/time-picker/locale/da_DK.js +1 -3
- package/dist/time-picker/locale/de_DE.js +1 -3
- package/dist/time-picker/locale/el_GR.js +1 -3
- package/dist/time-picker/locale/en_GB.js +1 -3
- package/dist/time-picker/locale/en_US.js +1 -3
- package/dist/time-picker/locale/es_ES.js +1 -3
- package/dist/time-picker/locale/et_EE.js +1 -3
- package/dist/time-picker/locale/eu_ES.js +1 -3
- package/dist/time-picker/locale/fa_IR.js +1 -3
- package/dist/time-picker/locale/fi_FI.js +1 -3
- package/dist/time-picker/locale/fr_BE.js +1 -3
- package/dist/time-picker/locale/fr_CA.js +1 -3
- package/dist/time-picker/locale/fr_FR.js +1 -3
- package/dist/time-picker/locale/ga_IE.js +1 -3
- package/dist/time-picker/locale/gl_ES.js +1 -3
- package/dist/time-picker/locale/he_IL.js +1 -3
- package/dist/time-picker/locale/hi_IN.js +1 -3
- package/dist/time-picker/locale/hr_HR.js +1 -3
- package/dist/time-picker/locale/hu_HU.js +1 -3
- package/dist/time-picker/locale/id_ID.js +1 -3
- package/dist/time-picker/locale/is_IS.js +1 -3
- package/dist/time-picker/locale/it_IT.js +1 -3
- package/dist/time-picker/locale/ja_JP.js +1 -3
- package/dist/time-picker/locale/ka_GE.js +1 -3
- package/dist/time-picker/locale/kk_KZ.js +1 -3
- package/dist/time-picker/locale/km_KH.js +1 -3
- package/dist/time-picker/locale/kmr_IQ.js +1 -3
- package/dist/time-picker/locale/kn_IN.js +1 -3
- package/dist/time-picker/locale/ko_KR.js +1 -3
- package/dist/time-picker/locale/lt_LT.js +1 -3
- package/dist/time-picker/locale/lv_LV.js +1 -3
- package/dist/time-picker/locale/mk_MK.js +1 -3
- package/dist/time-picker/locale/ml_IN.js +1 -3
- package/dist/time-picker/locale/mn_MN.js +1 -3
- package/dist/time-picker/locale/mr_IN.js +1 -3
- package/dist/time-picker/locale/ms_MY.js +1 -3
- package/dist/time-picker/locale/my_MM.js +1 -3
- package/dist/time-picker/locale/nb_NO.js +1 -3
- package/dist/time-picker/locale/nl_BE.js +1 -3
- package/dist/time-picker/locale/nl_NL.js +1 -3
- package/dist/time-picker/locale/pl_PL.js +1 -3
- package/dist/time-picker/locale/pt_BR.js +1 -3
- package/dist/time-picker/locale/pt_PT.js +1 -3
- package/dist/time-picker/locale/ro_RO.js +1 -3
- package/dist/time-picker/locale/ru_RU.js +1 -3
- package/dist/time-picker/locale/si_LK.js +1 -3
- package/dist/time-picker/locale/sk_SK.js +1 -3
- package/dist/time-picker/locale/sl_SI.js +1 -3
- package/dist/time-picker/locale/sr_RS.js +1 -3
- package/dist/time-picker/locale/sv_SE.js +1 -3
- package/dist/time-picker/locale/ta_IN.js +1 -3
- package/dist/time-picker/locale/th_TH.js +1 -3
- package/dist/time-picker/locale/tk_TK.js +1 -3
- package/dist/time-picker/locale/tr_TR.js +1 -3
- package/dist/time-picker/locale/uk_UA.js +1 -3
- package/dist/time-picker/locale/ur_PK.js +1 -3
- package/dist/time-picker/locale/uz_UZ.js +1 -3
- package/dist/time-picker/locale/vi_VN.js +1 -3
- package/dist/time-picker/locale/zh_CN.js +1 -3
- package/dist/time-picker/locale/zh_TW.js +1 -3
- package/dist/timeline/Timeline.d.ts +1 -3
- package/dist/timeline/Timeline.js +12 -15
- package/dist/timeline/TimelineItem.d.ts +1 -2
- package/dist/timeline/TimelineItem.js +1 -3
- package/dist/timeline/index.js +3 -5
- package/dist/timeline/style/horizontal.d.ts +0 -1
- package/dist/timeline/style/horizontal.js +1 -4
- package/dist/timeline/style/index.d.ts +1 -4
- package/dist/timeline/style/index.js +3 -5
- package/dist/timeline/useItems.js +1 -4
- package/dist/tooltip/PurePanel.d.ts +1 -2
- package/dist/tooltip/PurePanel.js +5 -9
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +1 -3
- package/dist/tooltip/UniqueProvider/MotionContent.js +2 -6
- package/dist/tooltip/UniqueProvider/index.d.ts +1 -3
- package/dist/tooltip/UniqueProvider/index.js +6 -9
- package/dist/tooltip/hooks/useMergedArrow.js +1 -4
- package/dist/tooltip/index.d.ts +1 -3
- package/dist/tooltip/index.js +11 -14
- package/dist/tooltip/style/index.d.ts +1 -3
- package/dist/tooltip/style/index.js +4 -6
- package/dist/tooltip/util.js +1 -3
- package/dist/tour/PurePanel.d.ts +1 -2
- package/dist/tour/PurePanel.js +4 -7
- package/dist/tour/index.d.ts +1 -2
- package/dist/tour/index.js +5 -8
- package/dist/tour/interface.d.ts +0 -1
- package/dist/tour/interface.js +1 -1
- package/dist/tour/panelRender.d.ts +1 -2
- package/dist/tour/panelRender.js +9 -12
- package/dist/tour/style/index.d.ts +1 -4
- package/dist/tour/style/index.js +4 -6
- package/dist/transfer/Actions.d.ts +1 -2
- package/dist/transfer/Actions.js +1 -4
- package/dist/transfer/ListBody.d.ts +1 -2
- package/dist/transfer/ListBody.js +3 -6
- package/dist/transfer/ListItem.d.ts +3 -4
- package/dist/transfer/ListItem.js +4 -7
- package/dist/transfer/Section.d.ts +1 -2
- package/dist/transfer/Section.js +7 -10
- package/dist/transfer/Transfer.d.ts +1 -2
- package/dist/transfer/Transfer.js +20 -23
- package/dist/transfer/hooks/useData.d.ts +1 -2
- package/dist/transfer/hooks/useData.js +1 -4
- package/dist/transfer/hooks/useSelection.js +1 -4
- package/dist/transfer/index.js +13 -16
- package/dist/transfer/interface.d.ts +0 -1
- package/dist/transfer/interface.js +1 -2
- package/dist/transfer/search.d.ts +1 -2
- package/dist/transfer/search.js +3 -6
- package/dist/transfer/style/index.d.ts +1 -4
- package/dist/transfer/style/index.js +1 -3
- package/dist/tree/DirectoryTree.d.ts +1 -2
- package/dist/tree/DirectoryTree.js +5 -9
- package/dist/tree/Tree.d.ts +1 -3
- package/dist/tree/Tree.js +8 -11
- package/dist/tree/index.js +6 -9
- package/dist/tree/style/directory.js +1 -2
- package/dist/tree/style/index.d.ts +1 -2
- package/dist/tree/style/index.js +3 -5
- package/dist/tree/utils/dictUtil.js +1 -3
- package/dist/tree/utils/dropIndicator.d.ts +1 -2
- package/dist/tree/utils/dropIndicator.js +3 -6
- package/dist/tree/utils/iconUtil.d.ts +3 -4
- package/dist/tree/utils/iconUtil.js +1 -4
- package/dist/tree-select/index.d.ts +2 -5
- package/dist/tree-select/index.js +13 -16
- package/dist/tree-select/style/index.d.ts +1 -3
- package/dist/tree-select/style/index.js +1 -3
- package/dist/typography/Base/CopyBtn.d.ts +1 -2
- package/dist/typography/Base/CopyBtn.js +3 -6
- package/dist/typography/Base/Ellipsis.d.ts +2 -3
- package/dist/typography/Base/Ellipsis.js +3 -6
- package/dist/typography/Base/EllipsisTooltip.d.ts +1 -2
- package/dist/typography/Base/EllipsisTooltip.js +3 -7
- package/dist/typography/Base/index.d.ts +1 -2
- package/dist/typography/Base/index.js +22 -25
- package/dist/typography/Base/util.js +1 -3
- package/dist/typography/Editable.d.ts +1 -2
- package/dist/typography/Editable.js +9 -14
- package/dist/typography/Link.d.ts +1 -2
- package/dist/typography/Link.js +3 -6
- package/dist/typography/Paragraph.d.ts +1 -2
- package/dist/typography/Paragraph.js +3 -6
- package/dist/typography/Text.d.ts +1 -2
- package/dist/typography/Text.js +4 -7
- package/dist/typography/Title.d.ts +1 -2
- package/dist/typography/Title.js +3 -6
- package/dist/typography/Typography.d.ts +1 -2
- package/dist/typography/Typography.js +6 -11
- package/dist/typography/hooks/useCopyClick.d.ts +2 -4
- package/dist/typography/hooks/useCopyClick.js +5 -8
- package/dist/typography/hooks/useMergedConfig.d.ts +1 -3
- package/dist/typography/hooks/useMergedConfig.js +1 -3
- package/dist/typography/hooks/usePrevious.js +1 -4
- package/dist/typography/hooks/useTooltipProps.d.ts +1 -2
- package/dist/typography/hooks/useTooltipProps.js +1 -4
- package/dist/typography/index.d.ts +6 -7
- package/dist/typography/index.js +19 -22
- package/dist/typography/interface.d.ts +0 -1
- package/dist/typography/interface.js +1 -1
- package/dist/typography/style/index.d.ts +1 -4
- package/dist/typography/style/index.js +1 -3
- package/dist/typography/style/mixins.d.ts +0 -1
- package/dist/typography/style/mixins.js +1 -3
- package/dist/upload/Dragger.d.ts +2 -3
- package/dist/upload/Dragger.js +7 -11
- package/dist/upload/Upload.d.ts +1 -2
- package/dist/upload/Upload.js +12 -16
- package/dist/upload/UploadList/ListItem.d.ts +1 -2
- package/dist/upload/UploadList/ListItem.js +6 -12
- package/dist/upload/UploadList/index.d.ts +1 -2
- package/dist/upload/UploadList/index.js +6 -9
- package/dist/upload/index.d.ts +2 -3
- package/dist/upload/index.js +8 -11
- package/dist/upload/interface.d.ts +0 -2
- package/dist/upload/interface.js +1 -1
- package/dist/upload/style/dragger.d.ts +0 -1
- package/dist/upload/style/dragger.js +1 -4
- package/dist/upload/style/index.d.ts +1 -4
- package/dist/upload/style/index.js +11 -13
- package/dist/upload/style/list.d.ts +0 -1
- package/dist/upload/style/list.js +1 -4
- package/dist/upload/style/motion.d.ts +0 -2
- package/dist/upload/style/motion.js +1 -4
- package/dist/upload/style/picture.d.ts +0 -1
- package/dist/upload/style/picture.js +1 -3
- package/dist/upload/style/rtl.d.ts +0 -1
- package/dist/upload/style/rtl.js +1 -3
- package/dist/upload/utils.js +1 -2
- package/dist/version/index.d.ts +1 -1
- package/dist/version/index.js +1 -3
- package/dist/watermark/context.d.ts +1 -2
- package/dist/watermark/context.js +1 -3
- package/dist/watermark/index.d.ts +17 -13
- package/dist/watermark/index.js +38 -42
- package/dist/watermark/useClips.d.ts +2 -2
- package/dist/watermark/useClips.js +10 -13
- package/dist/watermark/useRafDebounce.js +1 -3
- package/dist/watermark/useSingletonCache.js +1 -3
- package/dist/watermark/useWatermark.js +1 -3
- package/dist/watermark/utils.d.ts +9 -1
- package/dist/watermark/utils.js +33 -2
- package/package.json +10 -10
- package/web-tags.json +874 -858
- package/web-types.json +2956 -2913
- package/dist/_virtual/rolldown_runtime.js +0 -18
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../_util/type.js";
|
|
2
2
|
import { ModalFuncProps } from "../interface.js";
|
|
3
|
-
import * as vue1027 from "vue";
|
|
4
3
|
import { SlotsType } from "vue";
|
|
5
4
|
|
|
6
5
|
//#region src/modal/useModal/HookModal.d.ts
|
|
@@ -10,8 +9,8 @@ interface HookModalProps {
|
|
|
10
9
|
onConfirm?: (confirmed: boolean) => void;
|
|
11
10
|
isSilent?: () => boolean;
|
|
12
11
|
}
|
|
13
|
-
declare const HookModal:
|
|
12
|
+
declare const HookModal: import("vue").DefineSetupFnComponent<HookModalProps, EmptyEmit, SlotsType<{
|
|
14
13
|
default?: () => any;
|
|
15
|
-
}>, HookModalProps,
|
|
14
|
+
}>, HookModalProps, import("vue").PublicProps>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { HookModalProps, HookModal as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useBaseConfig } from "../../config-provider/context.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import localeValues from "../../locale/en_US.js";
|
|
3
|
+
import useLocale from "../../locale/useLocale.js";
|
|
4
|
+
import ConfirmDialogWrapper from "../ConfirmDialog.js";
|
|
5
5
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
6
|
-
|
|
7
6
|
//#region src/modal/useModal/HookModal.tsx
|
|
8
7
|
const HookModal = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
9
8
|
const open = shallowRef(true);
|
|
@@ -29,9 +28,9 @@ const HookModal = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
30
|
const mergedOkCancel = computed(() => innerConfig.value.okCancel ?? innerConfig.value.type === "confirm");
|
|
32
|
-
const [contextLocale] =
|
|
31
|
+
const [contextLocale] = useLocale("Modal", localeValues.Modal);
|
|
33
32
|
return () => {
|
|
34
|
-
return createVNode(
|
|
33
|
+
return createVNode(ConfirmDialogWrapper, mergeProps(innerConfig.value, {
|
|
35
34
|
"close": close,
|
|
36
35
|
"open": open.value,
|
|
37
36
|
"afterClose": afterClose,
|
|
@@ -66,7 +65,5 @@ const HookModal = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
66
65
|
name: "HookModal",
|
|
67
66
|
inheritAttrs: false
|
|
68
67
|
});
|
|
69
|
-
var HookModal_default = HookModal;
|
|
70
|
-
|
|
71
68
|
//#endregion
|
|
72
|
-
export {
|
|
69
|
+
export { HookModal as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import destroyFns from "../destroyFns.js";
|
|
2
2
|
import { withConfirm, withError, withInfo, withSuccess, withWarn } from "../confirm.js";
|
|
3
3
|
import { usePatchElement } from "../../_util/hooks/usePatchElement.js";
|
|
4
|
-
import
|
|
4
|
+
import HookModal from "./HookModal.js";
|
|
5
5
|
import { Fragment, createVNode, defineComponent, shallowRef, watch } from "vue";
|
|
6
|
-
|
|
7
6
|
//#region src/modal/useModal/index.tsx
|
|
8
7
|
let uuid = 0;
|
|
9
8
|
const ElementsHolder = /* @__PURE__ */ defineComponent((_, { expose }) => {
|
|
@@ -36,13 +35,13 @@ function useModal() {
|
|
|
36
35
|
let closePatch;
|
|
37
36
|
function closeFunc() {
|
|
38
37
|
closePatch?.();
|
|
39
|
-
const index =
|
|
40
|
-
if (index !== -1)
|
|
38
|
+
const index = destroyFns.indexOf(closeFunc);
|
|
39
|
+
if (index !== -1) destroyFns.splice(index, 1);
|
|
41
40
|
}
|
|
42
41
|
const modal = createVNode(/* @__PURE__ */ defineComponent({
|
|
43
42
|
name: "ModalWrapper",
|
|
44
43
|
setup() {
|
|
45
|
-
return () => createVNode(
|
|
44
|
+
return () => createVNode(HookModal, {
|
|
46
45
|
"config": withFunc(config),
|
|
47
46
|
"ref": modalRef,
|
|
48
47
|
"afterClose": () => {
|
|
@@ -56,7 +55,7 @@ function useModal() {
|
|
|
56
55
|
}
|
|
57
56
|
}), { "key": `modal-${uuid}` }, null);
|
|
58
57
|
closePatch = holderRef.value?.patchElement(modal);
|
|
59
|
-
if (closePatch)
|
|
58
|
+
if (closePatch) destroyFns.push(closeFunc);
|
|
60
59
|
return {
|
|
61
60
|
destroy: () => {
|
|
62
61
|
const destroyAction = () => modalRef.value?.destroy();
|
|
@@ -92,6 +91,5 @@ function useModal() {
|
|
|
92
91
|
inheritAttrs: false
|
|
93
92
|
})];
|
|
94
93
|
}
|
|
95
|
-
|
|
96
94
|
//#endregion
|
|
97
|
-
export { useModal as default };
|
|
95
|
+
export { useModal as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IconType, NotificationClassNamesType, NotificationPlacement } from "./interface.js";
|
|
2
|
-
import * as vue482 from "vue";
|
|
3
2
|
import { CSSProperties, SlotsType, VueNode } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/notification/PureList.d.ts
|
|
@@ -25,8 +24,8 @@ interface PureListSlots {
|
|
|
25
24
|
* @private Internal component. Do not use in production.
|
|
26
25
|
* Mirrors ant-design 6.4.0 `notification._InternalListDoNotUseOrYouWillBeFired`.
|
|
27
26
|
*/
|
|
28
|
-
declare const PureList:
|
|
27
|
+
declare const PureList: import("vue").DefineSetupFnComponent<PureListProps, Record<string, never>, SlotsType<PureListSlots>, PureListProps & {
|
|
29
28
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
30
|
-
},
|
|
29
|
+
}, import("vue").PublicProps>;
|
|
31
30
|
//#endregion
|
|
32
31
|
export { PureListItem, PureListProps, PureListSlots, PureList as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
|
-
import
|
|
2
|
+
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
3
3
|
import style_default from "./style/index.js";
|
|
4
4
|
import { TypeIcon, getCloseIcon } from "./PurePanel.js";
|
|
5
5
|
import { computed, createVNode, defineComponent } from "vue";
|
|
6
6
|
import { clsx } from "@v-c/util";
|
|
7
7
|
import { NotificationList } from "@v-c/notification";
|
|
8
|
-
|
|
9
8
|
//#region src/notification/PureList.tsx
|
|
10
9
|
/**
|
|
11
10
|
* @private Internal component. Do not use in production.
|
|
@@ -14,7 +13,7 @@ import { NotificationList } from "@v-c/notification";
|
|
|
14
13
|
const PureList = /* @__PURE__ */ defineComponent((props) => {
|
|
15
14
|
const { getPrefixCls } = useComponentBaseConfig("notification", props);
|
|
16
15
|
const prefixCls = computed(() => getPrefixCls("notification"));
|
|
17
|
-
const rootCls =
|
|
16
|
+
const rootCls = useCSSVarCls(prefixCls);
|
|
18
17
|
const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
|
|
19
18
|
return () => {
|
|
20
19
|
const noticePrefixCls = `${prefixCls.value}-notice`;
|
|
@@ -66,7 +65,5 @@ const PureList = /* @__PURE__ */ defineComponent((props) => {
|
|
|
66
65
|
name: "NotificationPureList",
|
|
67
66
|
inheritAttrs: false
|
|
68
67
|
});
|
|
69
|
-
var PureList_default = PureList;
|
|
70
|
-
|
|
71
68
|
//#endregion
|
|
72
|
-
export {
|
|
69
|
+
export { PureList as default };
|
|
@@ -1,46 +1,44 @@
|
|
|
1
|
-
import { VueNode
|
|
1
|
+
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
-
import "../_util/hooks/index.js";
|
|
4
3
|
import { IconType, NotificationSemanticClassNames, NotificationSemanticStyles } from "./interface.js";
|
|
5
|
-
import * as vue395 from "vue";
|
|
6
4
|
|
|
7
5
|
//#region src/notification/PurePanel.d.ts
|
|
8
6
|
type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemanticClassNames>;
|
|
9
7
|
type PurePanelStylesType = SemanticStylesType<PurePanelProps, NotificationSemanticStyles>;
|
|
10
|
-
declare function getCloseIcon(prefixCls: string, closeIcon?: VueNode
|
|
8
|
+
declare function getCloseIcon(prefixCls: string, closeIcon?: VueNode): VueNode;
|
|
11
9
|
interface PureContentProps {
|
|
12
10
|
prefixCls: string;
|
|
13
|
-
icon?: VueNode
|
|
14
|
-
title?: VueNode
|
|
15
|
-
description?: VueNode
|
|
16
|
-
actions?: VueNode
|
|
11
|
+
icon?: VueNode;
|
|
12
|
+
title?: VueNode;
|
|
13
|
+
description?: VueNode;
|
|
14
|
+
actions?: VueNode;
|
|
17
15
|
type?: IconType;
|
|
18
16
|
role?: 'alert' | 'status';
|
|
19
17
|
classes: NotificationSemanticClassNames;
|
|
20
18
|
styles: NotificationSemanticStyles;
|
|
21
19
|
}
|
|
22
20
|
declare const TypeIcon: Record<IconType, any>;
|
|
23
|
-
declare function resolveIconNode(icon: VueNode
|
|
21
|
+
declare function resolveIconNode(icon: VueNode | undefined, type: IconType | undefined): VueNode;
|
|
24
22
|
declare function getIconWrapperClassName(prefixCls: string, type: IconType | undefined): string;
|
|
25
|
-
declare const PureContent:
|
|
23
|
+
declare const PureContent: import("vue").DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, import("vue").PublicProps>;
|
|
26
24
|
interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classes' | 'styles'> {
|
|
27
|
-
content?: VueNode
|
|
25
|
+
content?: VueNode;
|
|
28
26
|
duration?: number | false | null;
|
|
29
27
|
showProgress?: boolean;
|
|
30
28
|
pauseOnHover?: boolean;
|
|
31
29
|
closable?: boolean | ({
|
|
32
|
-
closeIcon?: VueNode
|
|
30
|
+
closeIcon?: VueNode;
|
|
33
31
|
onClose?: VoidFunction;
|
|
34
32
|
} & Record<string, any>);
|
|
35
33
|
prefixCls?: string;
|
|
36
34
|
classes?: PurePanelClassNamesType;
|
|
37
35
|
styles?: PurePanelStylesType;
|
|
38
|
-
closeIcon?: VueNode
|
|
36
|
+
closeIcon?: VueNode;
|
|
39
37
|
props?: Record<string, any>;
|
|
40
38
|
onClose?: VoidFunction;
|
|
41
39
|
onClick?: (event: Event) => void;
|
|
42
40
|
}
|
|
43
41
|
/** @private Internal Component. Do not use in your production. */
|
|
44
|
-
declare const PurePanel:
|
|
42
|
+
declare const PurePanel: import("vue").DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, import("vue").PublicProps>;
|
|
45
43
|
//#endregion
|
|
46
44
|
export { PureContent, PureContentProps, PurePanelClassNamesType, PurePanelProps, PurePanelStylesType, TypeIcon, PurePanel as default, getCloseIcon, getIconWrapperClassName, resolveIconNode };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
2
|
import { pureAttrs, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
4
|
-
import
|
|
4
|
+
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import style_default, { PurePanelStyle } from "./style/index.js";
|
|
6
|
-
import
|
|
6
|
+
import isNonNullable from "../_util/isNonNullable.js";
|
|
7
7
|
import useClosable, { pickClosable } from "../_util/hooks/useClosable.js";
|
|
8
8
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
9
9
|
import { clsx } from "@v-c/util";
|
|
10
10
|
import { CheckCircleFilled, CloseCircleFilled, CloseOutlined, ExclamationCircleFilled, InfoCircleFilled } from "@antdv-next/icons";
|
|
11
11
|
import { omit } from "es-toolkit";
|
|
12
12
|
import { Notification } from "@v-c/notification";
|
|
13
|
-
|
|
14
13
|
//#region src/notification/PurePanel.tsx
|
|
15
14
|
function getCloseIcon(prefixCls, closeIcon) {
|
|
16
15
|
if (closeIcon === null || closeIcon === false) return null;
|
|
@@ -31,7 +30,6 @@ function resolveIconNode(icon, type) {
|
|
|
31
30
|
function getIconWrapperClassName(prefixCls, type) {
|
|
32
31
|
return type ? `${prefixCls}-icon-${type}` : "";
|
|
33
32
|
}
|
|
34
|
-
const defaults = { role: "alert" };
|
|
35
33
|
const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
36
34
|
return () => {
|
|
37
35
|
const { prefixCls, icon, type, title, description, actions, role = "alert", styles, classes: pureContentCls } = props;
|
|
@@ -45,7 +43,7 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
45
43
|
style: styles.icon
|
|
46
44
|
});
|
|
47
45
|
else iconNode = null;
|
|
48
|
-
const hasTitle =
|
|
46
|
+
const hasTitle = isNonNullable(title) && title !== false && title !== "";
|
|
49
47
|
return createVNode("div", {
|
|
50
48
|
"class": clsx({ [`${prefixCls}-with-icon`]: iconNode }),
|
|
51
49
|
"role": role
|
|
@@ -66,7 +64,7 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
66
64
|
]);
|
|
67
65
|
};
|
|
68
66
|
}, {
|
|
69
|
-
props:
|
|
67
|
+
props: /*@__PURE__*/ mergeDefaults({
|
|
70
68
|
prefixCls: {
|
|
71
69
|
type: String,
|
|
72
70
|
required: true
|
|
@@ -135,7 +133,7 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
135
133
|
type: Object,
|
|
136
134
|
required: true
|
|
137
135
|
}
|
|
138
|
-
},
|
|
136
|
+
}, { role: "alert" }),
|
|
139
137
|
name: "NoticePureContent",
|
|
140
138
|
inheritAttrs: false
|
|
141
139
|
});
|
|
@@ -162,7 +160,7 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
|
162
160
|
const { notification: notificationContext } = useBaseConfig("notification", props);
|
|
163
161
|
const prefixCls = computed(() => props.prefixCls ?? getPrefixCls("notification"));
|
|
164
162
|
const mergedProps = computed(() => props);
|
|
165
|
-
const rootCls =
|
|
163
|
+
const rootCls = useCSSVarCls(prefixCls);
|
|
166
164
|
const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
|
|
167
165
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, notificationClassNames), useToArr(contextStyles, styles), useToProps(mergedProps));
|
|
168
166
|
const closeableInfo = useClosable(pickClosable(computed(() => props)), pickClosable(notificationContext), computed(() => {
|
|
@@ -357,7 +355,5 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
|
357
355
|
name: "NoticePurePanel",
|
|
358
356
|
inheritAttrs: false
|
|
359
357
|
});
|
|
360
|
-
var PurePanel_default = PurePanel;
|
|
361
|
-
|
|
362
358
|
//#endregion
|
|
363
|
-
export { PureContent, TypeIcon,
|
|
359
|
+
export { PureContent, TypeIcon, PurePanel as default, getCloseIcon, getIconWrapperClassName, resolveIconNode };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
|
-
import
|
|
2
|
+
import ConfigProvider, { globalConfig } from "../config-provider/index.js";
|
|
3
3
|
import { useAppConfig } from "../app/context.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import PurePanel from "./PurePanel.js";
|
|
5
|
+
import PureList from "./PureList.js";
|
|
6
6
|
import useNotification, { useInternalNotification } from "./useNotification.js";
|
|
7
7
|
import { createVNode, defineComponent, getCurrentInstance, isVNode, onMounted, render, shallowRef, watch } from "vue";
|
|
8
|
-
|
|
9
8
|
//#region src/notification/index.tsx
|
|
10
9
|
function _isSlot(s) {
|
|
11
10
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
@@ -91,7 +90,7 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
|
|
|
91
90
|
"sync": sync,
|
|
92
91
|
"notificationConfig": notificationConfig.value
|
|
93
92
|
}, null);
|
|
94
|
-
const configHolderNode = createVNode(
|
|
93
|
+
const configHolderNode = createVNode(ConfigProvider, {
|
|
95
94
|
"prefixCls": global.getRootPrefixCls(),
|
|
96
95
|
"iconPrefixCls": global.getIconPrefixCls(),
|
|
97
96
|
"theme": global.theme.value
|
|
@@ -177,8 +176,8 @@ const staticMethods = {
|
|
|
177
176
|
destroy,
|
|
178
177
|
config: setNotificationGlobalConfig,
|
|
179
178
|
useNotification,
|
|
180
|
-
_InternalPanelDoNotUseOrYouWillBeFired:
|
|
181
|
-
_InternalListDoNotUseOrYouWillBeFired:
|
|
179
|
+
_InternalPanelDoNotUseOrYouWillBeFired: PurePanel,
|
|
180
|
+
_InternalListDoNotUseOrYouWillBeFired: PureList
|
|
182
181
|
};
|
|
183
182
|
methods.forEach((type) => {
|
|
184
183
|
staticMethods[type] = (config) => open({
|
|
@@ -198,7 +197,5 @@ if (process.env.NODE_ENV === "test") _actDestroy = () => {
|
|
|
198
197
|
taskQueue = [];
|
|
199
198
|
};
|
|
200
199
|
const actDestroy = _actDestroy;
|
|
201
|
-
var notification_default = staticMethods;
|
|
202
|
-
|
|
203
200
|
//#endregion
|
|
204
|
-
export { actDestroy, actWrapper,
|
|
201
|
+
export { actDestroy, actWrapper, staticMethods as default, useNotification };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
-
import "../_util/hooks/index.js";
|
|
4
3
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
5
4
|
import { AppContext, CSSProperties, HTMLAttributes } from "vue";
|
|
6
5
|
import { Key } from "@v-c/util/dist/type";
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { FullToken, GenStyleFn } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
-
import "../../theme/internal.js";
|
|
4
|
-
import * as vue1016 from "vue";
|
|
5
|
-
|
|
6
3
|
//#region src/notification/style/index.d.ts
|
|
7
4
|
type WidthKey<Token extends NotificationToken> = { [Key in keyof Token]: Token[Key] extends number | string ? Key : never }[keyof Token];
|
|
8
5
|
interface SharedStyleConfig<Token extends NotificationToken> {
|
|
@@ -107,16 +104,16 @@ interface NotificationToken extends FullToken<'Notification'> {
|
|
|
107
104
|
/** Derive internal Notification style tokens from alias and component tokens. */
|
|
108
105
|
declare const prepareNotificationToken: (token: Parameters<GenStyleFn<'Notification'>>[0]) => NotificationToken;
|
|
109
106
|
/** Register the PurePanel sub-style component for Notification. */
|
|
110
|
-
declare const PurePanelStyle:
|
|
107
|
+
declare const PurePanelStyle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
111
108
|
prefixCls: StringConstructor;
|
|
112
109
|
rootCls: StringConstructor;
|
|
113
|
-
}>, () => null, {}, {}, {},
|
|
110
|
+
}>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
111
|
prefixCls: StringConstructor;
|
|
115
112
|
rootCls: StringConstructor;
|
|
116
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
113
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
114
|
/** Compose the shared list, item, and placement styles. */
|
|
118
115
|
declare function sharedGenerateStyle<Token extends NotificationToken>(token: Token, config: SharedStyleConfig<Token>): ReturnType<GenerateStyle<Token>>;
|
|
119
116
|
/** Register the main style hook for Notification. */
|
|
120
|
-
declare const _default: (prefixCls:
|
|
117
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
121
118
|
//#endregion
|
|
122
119
|
export { ComponentToken, NotificationToken, PurePanelStyle, _default as default, prepareNotificationToken, sharedGenerateStyle };
|
|
@@ -2,10 +2,9 @@ import { resetComponent } from "../../style/index.js";
|
|
|
2
2
|
import { genStyleHooks, genSubStyleComponent } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { mergeToken } from "../../theme/internal.js";
|
|
4
4
|
import { CONTAINER_MAX_OFFSET } from "../../_util/hooks/useZIndex.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import genNotificationStyle, { genPurePanelStyle } from "./notification.js";
|
|
6
|
+
import genNotificationPlacementStyle from "./placement.js";
|
|
7
7
|
import { unit } from "@antdv-next/cssinjs";
|
|
8
|
-
|
|
9
8
|
//#region src/notification/style/index.ts
|
|
10
9
|
const DEFAULT_COLLAPSED_STACK_VISIBLE_COUNT = 3;
|
|
11
10
|
/** Provide default public ComponentToken values for Notification. */
|
|
@@ -123,17 +122,16 @@ function genNotificationListStyle(token, config) {
|
|
|
123
122
|
const PurePanelStyle = genSubStyleComponent(["Notification", "PurePanel"], (token) => genPurePanelStyle(prepareNotificationToken(token)), prepareComponentToken);
|
|
124
123
|
/** Compose the shared list, item, and placement styles. */
|
|
125
124
|
function sharedGenerateStyle(token, config) {
|
|
126
|
-
const itemStyle = config.itemStyle ??
|
|
125
|
+
const itemStyle = config.itemStyle ?? genNotificationStyle;
|
|
127
126
|
return [
|
|
128
127
|
genNotificationListStyle(token, config),
|
|
129
128
|
itemStyle(token),
|
|
130
|
-
|
|
129
|
+
genNotificationPlacementStyle(token)
|
|
131
130
|
];
|
|
132
131
|
}
|
|
133
132
|
/** Register the main style hook for Notification. */
|
|
134
133
|
var style_default = genStyleHooks("Notification", (token) => {
|
|
135
134
|
return sharedGenerateStyle(prepareNotificationToken(token), { listWidthKey: "width" });
|
|
136
135
|
}, prepareComponentToken);
|
|
137
|
-
|
|
138
136
|
//#endregion
|
|
139
|
-
export { PurePanelStyle, style_default as default, prepareNotificationToken, sharedGenerateStyle };
|
|
137
|
+
export { PurePanelStyle, style_default as default, prepareNotificationToken, sharedGenerateStyle };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { genFocusStyle } from "../../style/index.js";
|
|
2
2
|
import { genCssVar } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { unit } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
4
|
//#region src/notification/style/notification.ts
|
|
6
5
|
/** Generate motion transitions shared by notification-like notice cards. */
|
|
7
6
|
function genNotificationItemMotionStyle(token) {
|
|
@@ -189,7 +188,5 @@ const genNotificationStyle = (token) => {
|
|
|
189
188
|
const { componentCls } = token;
|
|
190
189
|
return { [componentCls]: genNotificationItemStyle(token) };
|
|
191
190
|
};
|
|
192
|
-
var notification_default = genNotificationStyle;
|
|
193
|
-
|
|
194
191
|
//#endregion
|
|
195
|
-
export {
|
|
192
|
+
export { genNotificationStyle as default, genListItemSharedStyle, genPurePanelStyle };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NotificationPlacements } from "../interface.js";
|
|
2
2
|
import { unit } from "@antdv-next/cssinjs";
|
|
3
|
-
|
|
4
3
|
//#region src/notification/style/placement.ts
|
|
5
4
|
const notificationMarginEdgeVar = "--notification-margin-edge";
|
|
6
5
|
/** Resolve the opposite block and inline edges for a placement. */
|
|
@@ -134,7 +133,5 @@ const genNotificationPlacementStyle = (token) => {
|
|
|
134
133
|
const { componentCls } = token;
|
|
135
134
|
return { [componentCls]: genNotificationPlacementRootStyle(token) };
|
|
136
135
|
};
|
|
137
|
-
var placement_default = genNotificationPlacementStyle;
|
|
138
|
-
|
|
139
136
|
//#endregion
|
|
140
|
-
export {
|
|
137
|
+
export { genNotificationPlacementStyle as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { NotificationConfig, NotificationInstance } from "./interface.js";
|
|
2
2
|
import { MaybeRef } from "@v-c/util/dist/type";
|
|
3
|
-
import * as vue_jsx_runtime16 from "vue/jsx-runtime";
|
|
4
3
|
|
|
5
4
|
//#region src/notification/useNotification.d.ts
|
|
6
5
|
type HolderProps = NotificationConfig & {
|
|
7
6
|
onAllRemoved?: VoidFunction;
|
|
8
7
|
};
|
|
9
|
-
declare function useInternalNotification(notificationConfig?: MaybeRef<HolderProps>): readonly [NotificationInstance, () =>
|
|
10
|
-
declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () =>
|
|
8
|
+
declare function useInternalNotification(notificationConfig?: MaybeRef<HolderProps>): readonly [NotificationInstance, () => import("vue/jsx-runtime").JSX.Element];
|
|
9
|
+
declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => import("vue/jsx-runtime").JSX.Element];
|
|
11
10
|
//#endregion
|
|
12
11
|
export { useNotification as default, useInternalNotification };
|
|
@@ -3,7 +3,7 @@ import { useBaseConfig, useComponentBaseConfig } from "../config-provider/contex
|
|
|
3
3
|
import useToken from "../theme/useToken.js";
|
|
4
4
|
import { mergeClassNames, mergeStyles, resolveStyleOrClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { toPropsRefs } from "../_util/tools.js";
|
|
6
|
-
import
|
|
6
|
+
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import style_default from "./style/index.js";
|
|
8
8
|
import { getCloseIconConfig, getMotion, getPlacementStyle } from "./util.js";
|
|
9
9
|
import { computeClosable, pickClosable } from "../_util/hooks/useClosable.js";
|
|
@@ -12,7 +12,6 @@ import { isRenderable } from "../_util/is.js";
|
|
|
12
12
|
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, unref } from "vue";
|
|
13
13
|
import { clsx } from "@v-c/util";
|
|
14
14
|
import { useNotification as useNotification$1, useNotificationProvider } from "@v-c/notification";
|
|
15
|
-
|
|
16
15
|
//#region src/notification/useNotification.tsx
|
|
17
16
|
function _isSlot(s) {
|
|
18
17
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
@@ -22,7 +21,7 @@ const DEFAULT_DURATION = 4.5;
|
|
|
22
21
|
const DEFAULT_PLACEMENT = "topRight";
|
|
23
22
|
const Wrapper = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
24
23
|
const prefixCls = computed(() => props.prefixCls);
|
|
25
|
-
const rootCls =
|
|
24
|
+
const rootCls = useCSSVarCls(prefixCls);
|
|
26
25
|
const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
|
|
27
26
|
useNotificationProvider(computed(() => {
|
|
28
27
|
return { classNames: { list: clsx(hashId.value, cssVarCls.value, rootCls.value) } };
|
|
@@ -40,10 +39,6 @@ const renderNotifications = (node, { prefixCls, key }) => {
|
|
|
40
39
|
"key": key
|
|
41
40
|
}, _isSlot(node) ? node : { default: () => [node] });
|
|
42
41
|
};
|
|
43
|
-
const holderDefaultProps = {
|
|
44
|
-
duration: DEFAULT_DURATION,
|
|
45
|
-
pauseOnHover: true
|
|
46
|
-
};
|
|
47
42
|
const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
48
43
|
const { getPrefixCls, getPopupContainer, notification, direction } = useBaseConfig("notification");
|
|
49
44
|
const { classes: contextClassNames, styles: contextStyles } = useComponentBaseConfig("notification", props);
|
|
@@ -90,7 +85,7 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
90
85
|
return holder?.();
|
|
91
86
|
};
|
|
92
87
|
}, {
|
|
93
|
-
props:
|
|
88
|
+
props: /*@__PURE__*/ mergeDefaults({
|
|
94
89
|
top: {
|
|
95
90
|
type: Number,
|
|
96
91
|
required: false
|
|
@@ -161,7 +156,10 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
161
156
|
required: false
|
|
162
157
|
},
|
|
163
158
|
onAllRemoved: { required: false }
|
|
164
|
-
},
|
|
159
|
+
}, {
|
|
160
|
+
duration: DEFAULT_DURATION,
|
|
161
|
+
pauseOnHover: true
|
|
162
|
+
}),
|
|
165
163
|
name: "NotificationHolder",
|
|
166
164
|
inheritAttrs: false
|
|
167
165
|
});
|
|
@@ -260,6 +258,5 @@ function useInternalNotification(notificationConfig) {
|
|
|
260
258
|
function useNotification(notificationConfig) {
|
|
261
259
|
return useInternalNotification(notificationConfig);
|
|
262
260
|
}
|
|
263
|
-
|
|
264
261
|
//#endregion
|
|
265
|
-
export { useNotification as default, useInternalNotification };
|
|
262
|
+
export { useNotification as default, useInternalNotification };
|
|
@@ -25,6 +25,5 @@ function getCloseIconConfig(closeIcon, notificationConfig, notification) {
|
|
|
25
25
|
if (typeof notificationConfig?.closeIcon !== "undefined") return notificationConfig.closeIcon;
|
|
26
26
|
return notification?.closeIcon;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
28
|
//#endregion
|
|
30
|
-
export { getCloseIconConfig, getMotion, getPlacementOffsetStyle, getPlacementStyle };
|
|
29
|
+
export { getCloseIconConfig, getMotion, getPlacementOffsetStyle, getPlacementStyle };
|
package/dist/package.js
CHANGED
package/dist/package.json.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
|
|
2
|
-
import * as vue381 from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/pagination/Pagination.d.ts
|
|
@@ -10,6 +9,6 @@ interface PaginationEmitsProps {
|
|
|
10
9
|
'onUpdate:current'?: PaginationEmits['update:current'];
|
|
11
10
|
'onUpdate:pageSize'?: PaginationEmits['update:pageSize'];
|
|
12
11
|
}
|
|
13
|
-
declare const Pagination:
|
|
12
|
+
declare const Pagination: import("vue").DefineSetupFnComponent<InternalPaginationProps, PaginationEmits, SlotsType<PaginationSlots>, InternalPaginationProps, import("vue").PublicProps>;
|
|
14
13
|
//#endregion
|
|
15
14
|
export { InternalPaginationProps, PaginationEmitsProps, Pagination as default };
|