File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export * from "./animation/waapi/start-waapi-animation"
3535export * from "./animation/waapi/supports/partial-keyframes"
3636export * from "./animation/waapi/supports/waapi"
3737export * from "./animation/waapi/utils/accelerated-values"
38+ export * from "./animation/waapi/utils/apply-generator"
3839export * from "./animation/waapi/utils/linear"
3940
4041export * from "./effects/attr"
@@ -121,6 +122,8 @@ export * from "./value/utils/is-motion-value"
121122
122123export * from "./view"
123124export * from "./view/types"
125+ export * from "./view/utils/get-layer-info"
126+ export * from "./view/utils/get-view-animations"
124127
125128/**
126129 * Deprecated
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type { ViewTransitionBuilder } from "./index"
1010import { ViewTransitionTarget } from "./types"
1111import { chooseLayerType } from "./utils/choose-layer-type"
1212import { css } from "./utils/css"
13- import { getLayerName } from "./utils/get-layer-name "
13+ import { getViewAnimationLayerInfo } from "./utils/get-layer-info "
1414import { getViewAnimations } from "./utils/get-view-animations"
1515import { hasTarget } from "./utils/has-target"
1616
@@ -150,7 +150,7 @@ export function startViewAnimation(
150150 const { pseudoElement } = effect
151151 if ( ! pseudoElement ) continue
152152
153- const name = getLayerName ( pseudoElement )
153+ const name = getViewAnimationLayerInfo ( pseudoElement )
154154 if ( ! name ) continue
155155
156156 const targetDefinition = targets . get ( name . layer )
Original file line number Diff line number Diff line change 1- export function getLayerName ( pseudoElement : string ) {
1+ export function getViewAnimationLayerInfo ( pseudoElement : string ) {
22 const match = pseudoElement . match (
33 / : : v i e w - t r a n s i t i o n - ( o l d | n e w | g r o u p | i m a g e - p a i r ) \( ( .* ?) \) /
44 )
You can’t perform that action at this time.
0 commit comments