@flightdev/transitions 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @flightdev/transitions
|
|
2
2
|
|
|
3
3
|
View transition utilities for Flight Framework. Smooth page transitions with the View Transitions API.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @flightdev/transitions
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { createTransition } from '@
|
|
14
|
+
import { createTransition } from '@flightdev/transitions';
|
|
15
15
|
|
|
16
16
|
const transition = createTransition();
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ await transition.navigate('/new-page', async () => {
|
|
|
24
24
|
## React Integration
|
|
25
25
|
|
|
26
26
|
```tsx
|
|
27
|
-
import { TransitionProvider, useTransition } from '@
|
|
27
|
+
import { TransitionProvider, useTransition } from '@flightdev/transitions/react';
|
|
28
28
|
|
|
29
29
|
function App() {
|
|
30
30
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flightdev/transitions",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Smooth page, layout, and component transitions for Flight Framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flight",
|
|
@@ -136,6 +136,12 @@
|
|
|
136
136
|
"optional": true
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
|
+
"homepage": "https://github.com/EliosLT/FlightDev",
|
|
140
|
+
"repository": {
|
|
141
|
+
"url": "https://github.com/EliosLT/FlightDev.git",
|
|
142
|
+
"directory": "packages/transitions",
|
|
143
|
+
"type": "git"
|
|
144
|
+
},
|
|
139
145
|
"scripts": {
|
|
140
146
|
"build": "tsup",
|
|
141
147
|
"dev": "tsup --watch",
|