From f0ebb0bdc02a57c26faf8ffe387151c844bec536 Mon Sep 17 00:00:00 2001 From: daiwei Date: Mon, 17 Mar 2025 11:19:59 +0800 Subject: [PATCH] chore: update export --- packages/runtime-dom/src/index.ts | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/packages/runtime-dom/src/index.ts b/packages/runtime-dom/src/index.ts index 521bb46498..8a475892c2 100644 --- a/packages/runtime-dom/src/index.ts +++ b/packages/runtime-dom/src/index.ts @@ -271,22 +271,10 @@ export { useCssModule } from './helpers/useCssModule' export { useCssVars } from './helpers/useCssVars' // DOM-only components -export { - Transition, - type TransitionProps, - forceReflow, - addTransitionClass, - removeTransitionClass, -} from './components/Transition' -export type { ElementWithTransition } from './components/Transition' +export { Transition, type TransitionProps } from './components/Transition' export { TransitionGroup, type TransitionGroupProps, - hasCSSTransform, - callPendingCbs, - moveCbKey, - handleMovedChildren, - baseApplyTranslation, } from './components/TransitionGroup' // **Internal** DOM-only runtime directive helpers @@ -366,4 +354,18 @@ export { export { resolveTransitionProps, TransitionPropsValidators, + forceReflow, + addTransitionClass, + removeTransitionClass, + type ElementWithTransition, } from './components/Transition' +/** + * @internal + */ +export { + hasCSSTransform, + callPendingCbs, + moveCbKey, + handleMovedChildren, + baseApplyTranslation, +} from './components/TransitionGroup' -- 2.47.2