Skip to content

Commit 2aadd9d

Browse files
committed
chore: update for community
1 parent d85bf3d commit 2aadd9d

File tree

16 files changed

+48
-44
lines changed

16 files changed

+48
-44
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
1616

1717
## [4.0.14](https://github.com/farfromrefug/nativescript-lottie/compare/v4.0.13...v4.0.14) (2020-05-21)
1818

19-
**Note:** Version bump only for package nativescript-akylas-lottie
19+
**Note:** Version bump only for package @nativescript-community/ui-lottie
2020

2121

2222

@@ -134,7 +134,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
134134

135135
## [4.0.3](https://github.com/farfromrefug/nativescript-lottie/compare/v4.0.2...v4.0.3) (2020-02-13)
136136

137-
**Note:** Version bump only for package nativescript-akylas-lottie
137+
**Note:** Version bump only for package @nativescript-community/ui-lottie
138138

139139

140140

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<a align="center" href="https://www.npmjs.com/package/nativescript-lottie">
2-
<h2 align="center">NativeScript-Lottie</h2>
1+
<a align="center" href="https://www.npmjs.com/package/nativescript-community/ui-lottie">
2+
<h2 align="center">nativescript-community/ui-lottie</h2>
33
</a>
44
<h4 align="center">NativeScript plugin to expose Airbnb Lottie for awesome animations.</h4>
55

66
<p align="center">
7-
<a href="https://www.npmjs.com/package/nativescript-lottie">
8-
<img src="https://img.shields.io/npm/v/nativescript-lottie.svg" alt="npm">
7+
<a href="https://www.npmjs.com/package/nativescript-community/ui-lottie">
8+
<img src="https://img.shields.io/npm/v/nativescript-community/ui-lottie.svg" alt="npm">
99
</a>
10-
<a href="https://www.npmjs.com/package/nativescript-lottie">
11-
<img src="https://img.shields.io/npm/dt/nativescript-lottie.svg?label=npm%20downloads" alt="npm">
10+
<a href="https://www.npmjs.com/package/nativescript-community/ui-lottie">
11+
<img src="https://img.shields.io/npm/dt/nativescript-community/ui-lottie.svg?label=npm%20downloads" alt="npm">
1212
</a>
13-
<a href="https://github.com/farfromrefug/nativescript-lottie/actions">
14-
<img src="https://github.com/farfromrefug/nativescript-lottie/workflows/Build%20CI/badge.svg" alt="Action Build">
13+
<a href="https://github.com/nativescript-community/ui-lottie/actions">
14+
<img src="https://github.com/nativescript-community/ui-lottie/workflows/Build%20CI/badge.svg" alt="Action Build">
1515
</a>
16-
<a href="https://github.com/farfromrefug/nativescript-lottie/stargazers">
17-
<img src="https://img.shields.io/github/stars/farfromrefug/nativescript-lottie.svg" alt="stars">
16+
<a href="https://github.com/nativescript-community/ui-lottie/stargazers">
17+
<img src="https://img.shields.io/github/stars/nativescript-community/ui-lottie.svg" alt="stars">
1818
</a>
1919
<a href="https://paypal.me/bradwayne88">
2020
<img src="https://img.shields.io/badge/Donate-PayPal-green.svg" alt="donate">
@@ -36,7 +36,7 @@ _The .gif does not do the fluid animations justice_
3636
To install execute:
3737

3838
```
39-
tns plugin add nativescript-lottie
39+
tns plugin add @nativescript-community/ui-lottie
4040
```
4141

4242
## Usage
@@ -48,7 +48,7 @@ tns plugin add nativescript-lottie
4848
```xml
4949
<Page
5050
xmlns="http://schemas.nativescript.org/tns.xsd"
51-
xmlns:Lottie="nativescript-lottie" navigatingTo="navigatingTo" class="page">
51+
xmlns:Lottie="@nativescript-community/ui-lottie" navigatingTo="navigatingTo" class="page">
5252
<StackLayout>
5353
<Lottie:LottieView src="PinJump.json" height="130" loop="true" autoPlay="true" loaded="yourLoadedEvent" />
5454
</StackLayout>
@@ -58,7 +58,7 @@ tns plugin add nativescript-lottie
5858
#### TS
5959

6060
```typescript
61-
import { LottieView } from "nativescript-lottie";
61+
import { LottieView } from "@nativescript-community/ui-lottie";
6262

6363
public yourLoadedEvent(args) {
6464
this._myLottie = args.object as LottieView; /// this is the instance of the LottieAnimationView
@@ -82,7 +82,7 @@ public yourLoadedEvent(args) {
8282
```typescript
8383
import { Component } from '@angular/core';
8484
import { registerElement } from 'nativescript-angular';
85-
import { LottieView } from 'nativescript-lottie';
85+
import { LottieView } from '@nativescript-community/ui-lottie';
8686

8787
registerElement('LottieView', () => LottieView);
8888

@@ -123,7 +123,7 @@ export class HomeComponent {
123123
```typescript
124124
Vue.registerElement(
125125
'LottieView',
126-
() => require('nativescript-lottie').LottieView
126+
() => require('@nativescript-community/ui-lottie').LottieView
127127
);
128128
```
129129

demo-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@angular/platform-browser-dynamic": "8.0.0",
2121
"@angular/router": "8.0.0",
2222
"nativescript-angular": "8.0.2",
23-
"nativescript-akylas-lottie": "file:../plugin",
23+
"@nativescript-community/ui-lottie": "file:../plugin",
2424
"nativescript-theme-core": "~1.0.4",
2525
"reflect-metadata": "~0.1.8",
2626
"rxjs": "~6.4.0",

demo-angular/src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from '@angular/core';
22
import { registerElement } from 'nativescript-angular';
3-
import { LottieView } from '@akylas/nativescript-lottie';
3+
import { LottieView } from '@nativescript-community/ui-lottie';
44
import { Color } from '@nativescript/core/color';
55

66
registerElement('LottieView', () => LottieView);

demo-vue/app/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Home from './components/Home.vue';
55
// register LottieView component for the plugin
66
Vue.registerElement(
77
'lottie-view',
8-
() => require('@akylas/nativescript-lottie').LottieView
8+
() => require('@nativescript-community/ui-lottie').LottieView
99
);
1010

1111
new Vue({

demo-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@nativescript/theme": "2.3.0",
1616
"@nativescript/core": "6.4.0",
17-
"nativescript-akylas-lottie": "file:../plugin",
17+
"@nativescript-community/ui-lottie": "file:../plugin",
1818
"nativescript-vue": "2.4.0"
1919
},
2020
"devDependencies": {

demo-vue/pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo-vue/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = env => {
3030
const srcFullPath = resolve(projectRoot, '..', 'src');
3131
aliases = Object.assign(aliases, {
3232
'#': srcFullPath,
33-
'@akylas/nativescript-lottie$': '#/@akylas/nativescript-lottie.' + platform
33+
'@nativescript-community/ui-lottie$': '#/@nativescript-community/ui-lottie.' + platform
3434
});
3535
}
3636

demo/app/main-view-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Observable } from '@nativescript/core/data/observable';
2-
import { LottieView } from '@akylas/nativescript-lottie';
2+
import { LottieView } from '@nativescript-community/ui-lottie';
33
import { Color } from '@nativescript/core/color';
44

55
const ANDROID_WAVE_KEYPATHS = [

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
},
1515
"dependencies": {
16-
"nativescript-akylas-lottie": "file:../plugin",
16+
"@nativescript-community/ui-lottie": "file:../plugin",
1717
"nativescript-theme-core": "~1.0.4",
1818
"nativescript-unit-test-runner": "0.7.0",
1919
"@nativescript/core": "^6.3.2"

0 commit comments

Comments
 (0)