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"
35
35
export * from "./animation/waapi/supports/partial-keyframes"
36
36
export * from "./animation/waapi/supports/waapi"
37
37
export * from "./animation/waapi/utils/accelerated-values"
38
+ export * from "./animation/waapi/utils/apply-generator"
38
39
export * from "./animation/waapi/utils/linear"
39
40
40
41
export * from "./effects/attr"
@@ -121,6 +122,8 @@ export * from "./value/utils/is-motion-value"
121
122
122
123
export * from "./view"
123
124
export * from "./view/types"
125
+ export * from "./view/utils/get-layer-info"
126
+ export * from "./view/utils/get-view-animations"
124
127
125
128
/**
126
129
* Deprecated
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type { ViewTransitionBuilder } from "./index"
10
10
import { ViewTransitionTarget } from "./types"
11
11
import { chooseLayerType } from "./utils/choose-layer-type"
12
12
import { css } from "./utils/css"
13
- import { getLayerName } from "./utils/get-layer-name "
13
+ import { getViewAnimationLayerInfo } from "./utils/get-layer-info "
14
14
import { getViewAnimations } from "./utils/get-view-animations"
15
15
import { hasTarget } from "./utils/has-target"
16
16
@@ -150,7 +150,7 @@ export function startViewAnimation(
150
150
const { pseudoElement } = effect
151
151
if ( ! pseudoElement ) continue
152
152
153
- const name = getLayerName ( pseudoElement )
153
+ const name = getViewAnimationLayerInfo ( pseudoElement )
154
154
if ( ! name ) continue
155
155
156
156
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 ) {
2
2
const match = pseudoElement . match (
3
3
/ : : 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 ) \( ( .* ?) \) /
4
4
)
You can’t perform that action at this time.
0 commit comments