From 36ba196418c0ecfcbd357292e4afabd397791f32 Mon Sep 17 00:00:00 2001 From: chrismclarke Date: Mon, 5 Aug 2024 10:26:44 -0700 Subject: [PATCH] fix: lottie animations --- libs/shared/src/features/animations/index.ts | 4 ++-- package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libs/shared/src/features/animations/index.ts b/libs/shared/src/features/animations/index.ts index 263911abb..2d7a56924 100644 --- a/libs/shared/src/features/animations/index.ts +++ b/libs/shared/src/features/animations/index.ts @@ -1,12 +1,12 @@ import { CommonModule } from '@angular/common'; import { ModuleWithProviders, NgModule } from '@angular/core'; -import { LottieModule, provideCacheableAnimationLoader, provideLottieOptions } from 'ngx-lottie'; +import { LottieComponent, provideCacheableAnimationLoader, provideLottieOptions } from 'ngx-lottie'; import { PicsaAnimationComponent } from './animation.component'; @NgModule({ declarations: [PicsaAnimationComponent], - imports: [CommonModule, LottieModule], + imports: [CommonModule, LottieComponent], exports: [PicsaAnimationComponent], }) /** diff --git a/package.json b/package.json index bb20a803f..9b304928a 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "mobx-angular": "^4.7.1", "ngx-extended-pdf-viewer": "^18.1.7", "ngx-json-viewer": "^3.2.1", - "ngx-lottie": "^10.0.0", + "ngx-lottie": "^11.0.0", "openapi-fetch": "^0.8.2", "papaparse": "^5.3.2", "parse": "3.4.2", diff --git a/yarn.lock b/yarn.lock index 4b4081598..18e35d4a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18393,16 +18393,16 @@ __metadata: languageName: node linkType: hard -"ngx-lottie@npm:^10.0.0": - version: 10.0.0 - resolution: "ngx-lottie@npm:10.0.0" +"ngx-lottie@npm:^11.0.0": + version: 11.0.2 + resolution: "ngx-lottie@npm:11.0.2" dependencies: "@scarf/scarf": ^1.1.1 tslib: ^2.3.0 peerDependencies: - "@angular/core": ">=15" + "@angular/core": ">=17" lottie-web: ">=5.9.2" - checksum: 1e7abd8baab02f3ae365bff90272ead63db9fc2b6a4c1775ad58ce7349300c14e824d294804ceb045c5dae6e07beceacbbbf7350eb3d5d52f71940c6ba24b997 + checksum: fea48078ff7e8bcd02511c4f44f2031e07a8e6935f1cdb090f76e9941acd2c054d6a97faf3da0c3f8852ea58d138ad5fb38fa733c555ff37229dd1579d97b25d languageName: node linkType: hard @@ -19634,7 +19634,7 @@ __metadata: ng-packagr: 17.3.0 ngx-extended-pdf-viewer: ^18.1.7 ngx-json-viewer: ^3.2.1 - ngx-lottie: ^10.0.0 + ngx-lottie: ^11.0.0 nx: 18.2.1 openapi-fetch: ^0.8.2 openapi-typescript: ^6.7.3