@effing/effie-preview 0.1.0 → 0.1.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 +5 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -14,9 +14,11 @@ npm install @effing/effie-preview @effing/effie @effing/annie-player
|
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
### React
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
React components are available in `@effing/effie-preview/react`.
|
|
20
|
+
|
|
21
|
+
#### Simple API (built-in styles)
|
|
20
22
|
|
|
21
23
|
```tsx
|
|
22
24
|
import { createEffieSourceResolver } from "@effing/effie-preview";
|
|
@@ -54,7 +56,7 @@ function EffiePreview({ effieJson, renderedVideoUrl }) {
|
|
|
54
56
|
}
|
|
55
57
|
```
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
#### Compound API (full control)
|
|
58
60
|
|
|
59
61
|
For custom layouts, use the compound sub-components:
|
|
60
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effing/effie-preview",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Preview components for Effie video compositions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"tsup": "^8.0.0",
|
|
22
22
|
"typescript": "^5.9.3",
|
|
23
23
|
"vitest": "^3.2.4",
|
|
24
|
-
"@effing/annie-player": "0.1.
|
|
25
|
-
"@effing/effie": "0.1.
|
|
24
|
+
"@effing/annie-player": "0.1.1",
|
|
25
|
+
"@effing/effie": "0.1.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^18.0.0 || ^19.0.0",
|
|
29
|
-
"@effing/annie-player": "0.1.
|
|
30
|
-
"@effing/effie": "0.1.
|
|
29
|
+
"@effing/annie-player": "0.1.1",
|
|
30
|
+
"@effing/effie": "0.1.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependenciesMeta": {
|
|
33
33
|
"react": {
|