Closed lottiefiles-bot closed 4 months ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Lines | 77.06% / 77% | 289 / 375 |
🟢 | Statements | 74.44% / 74% | 303 / 407 |
🟢 | Functions | 75.24% / 75% | 76 / 101 |
🟢 | Branches | 67.47% / 67% | 195 / 289 |
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
@lottiefiles/dotlottie-web | 13.4 KB (-0.2% 🔽) | 269 ms (-0.2% 🔽) | 53 ms (-44.47% 🔽) | 321 ms |
@lottiefiles/dotlottie-web WASM | 416.88 KB (0%) | 8.4 s (0%) | 0 ms (+100% 🔺) | 8.4 s |
@lottiefiles/dotlottie-react | 17.12 KB (-0.08% 🔽) | 343 ms (-0.08% 🔽) | 113 ms (+44.42% 🔺) | 455 ms |
@lottiefiles/dotlottie-vue | 20.16 KB (+0.08% 🔺) | 404 ms (+0.08% 🔺) | 304 ms (+40.73% 🔺) | 707 ms |
@lottiefiles/dotlottie-wc | 21.16 KB (+0.02% 🔺) | 424 ms (+0.02% 🔺) | 326 ms (+187.3% 🔺) | 749 ms |
@lottiefiles/dotlottie-svelte | 21.05 KB (-0.1% 🔽) | 422 ms (-0.1% 🔽) | 308 ms (+183.63% 🔺) | 729 ms |
@lottiefiles/dotlottie-solid | 20.21 KB (+0.16% 🔺) | 405 ms (+0.16% 🔺) | 185 ms (+143.4% 🔺) | 589 ms |
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@lottiefiles/dotlottie-react@0.7.0
Minor Changes
f0226ec: Feature Update: 🎸 Add optional
animationId
,themeId
, andthemeData
props toDotLottieReact
componentWe are excited to introduce new optional props to the
DotLottieReact
component:animationId
,themeId
, andthemeData
.New Features:
animationId
: Allows you to specify and render a particular animation from a.lottie
file containing multiple animations.themeId
: Enables the application of a particular theme from the loaded.lottie
file to the currently active animation.themeData
: Allows you to pass custom theme data to the currently active animation.Usage Example:
a564ff0: perf(react): ⚡️ render only visible canvas area
This update optimizes the rendering performance by ensuring that only the visible portion of the canvas is rendered, utilizing the dotlottie-web
setViewport
API.Patch Changes
@lottiefiles/dotlottie-vue@0.4.0
Minor Changes
Patch Changes
@lottiefiles/dotlottie-web@0.26.0
Minor Changes
ba46fd1: feat(web): 🎸 added
loadStateMachineData
&animationSize
& state machine context related methodsDotLottie
:loadStateMachineData(stateMachineData: string): boolean
: Loads the state machine data as a json string.animationSize(): {width: number, height: number}
: Retrieves the original lottie animation size.setStateMachineBooleanContext(name: string, value: boolean): boolean
: Sets the state machine context with a boolean value.setStateMachineStringContext(name: string, value: string): boolean
: Sets the state machine context with a string value.setStateMachineNumericContext(name: string, value: number): boolean
: Sets the state machine context with a numeric value.Patch Changes
@lottiefiles/dotlottie-solid@0.0.3
Patch Changes
@lottiefiles/dotlottie-svelte@0.3.5
Patch Changes
@lottiefiles/dotlottie-wc@0.2.6
Patch Changes