@dotlottie/dotlottie-js
Advanced tools
Comparing version 0.4.0-beta.21 to 0.4.0-beta.22
@@ -66,2 +66,3 @@ import { ZipOptions } from 'fflate'; | ||
interface StateAnimationSettings extends PlaybackOptions { | ||
playOnScroll?: [number, number]; | ||
segments?: [number, number] | string; | ||
@@ -86,2 +87,4 @@ } | ||
} | ||
interface StateTransitionOnShow extends Transitionable { | ||
} | ||
interface StateInfo { | ||
@@ -98,2 +101,3 @@ id: string; | ||
enter: string; | ||
show: string; | ||
}; | ||
@@ -110,2 +114,3 @@ declare const DotLottieStateEvents: string[]; | ||
onMouseLeave?: StateTransitionOnMouseLeave; | ||
onShow?: StateTransitionOnShow; | ||
} | ||
@@ -605,2 +610,2 @@ interface StateSettings extends StateTransitionEvents { | ||
export { AnimationOptions, DotLottie, DotLottieStateEvents, DotLottieStates, EVENT_MAP, EventMap, ImageOptions, LottieAnimation, LottieImage, LottieStateMachine, LottieTheme, Manifest, ManifestAnimation, ManifestTheme, PlayMode, PlaybackOptions, StateAnimationSettings, StateInfo, StateSettings, StateTransitionEvents, StateTransitionOnAfter, StateTransitionOnClick, StateTransitionOnComplete, StateTransitionOnEnter, StateTransitionOnMouseEnter, StateTransitionOnMouseLeave, ThemeOptions, Transitionable, XState, XStateEvents, XStateMachine, XStateTargetEvent }; | ||
export { AnimationOptions, DotLottie, DotLottieStateEvents, DotLottieStates, EVENT_MAP, EventMap, ImageOptions, LottieAnimation, LottieImage, LottieStateMachine, LottieTheme, Manifest, ManifestAnimation, ManifestTheme, PlayMode, PlaybackOptions, StateAnimationSettings, StateInfo, StateSettings, StateTransitionEvents, StateTransitionOnAfter, StateTransitionOnClick, StateTransitionOnComplete, StateTransitionOnEnter, StateTransitionOnMouseEnter, StateTransitionOnMouseLeave, StateTransitionOnShow, ThemeOptions, Transitionable, XState, XStateEvents, XStateMachine, XStateTargetEvent }; |
@@ -66,2 +66,3 @@ import { ZipOptions } from 'fflate'; | ||
interface StateAnimationSettings extends PlaybackOptions { | ||
playOnScroll?: [number, number]; | ||
segments?: [number, number] | string; | ||
@@ -86,2 +87,4 @@ } | ||
} | ||
interface StateTransitionOnShow extends Transitionable { | ||
} | ||
interface StateInfo { | ||
@@ -98,2 +101,3 @@ id: string; | ||
onMouseLeave?: StateTransitionOnMouseLeave; | ||
onShow?: StateTransitionOnShow; | ||
} | ||
@@ -100,0 +104,0 @@ interface StateSettings extends StateTransitionEvents { |
@@ -14,3 +14,3 @@ import { strToU8, zip, unzip, strFromU8 } from 'fflate'; | ||
name: "@dotlottie/dotlottie-js", | ||
version: "0.4.0-beta.21", | ||
version: "0.4.0-beta.22", | ||
type: "module", | ||
@@ -1249,3 +1249,4 @@ description: "This library helps in creating and modifying .lottie files.", | ||
after: "onAfter", | ||
enter: "onEnter" | ||
enter: "onEnter", | ||
show: "onShow" | ||
}; | ||
@@ -1252,0 +1253,0 @@ Object.values(EVENT_MAP); |
{ | ||
"name": "@dotlottie/dotlottie-js", | ||
"version": "0.4.0-beta.21", | ||
"version": "0.4.0-beta.22", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "This library helps in creating and modifying .lottie files.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
482299
7197