@plasius/video 0.1.3 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -9,7 +9,10 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
9
9
  ## [Unreleased]
10
10
 
11
11
  - **Added**
12
- - (placeholder)
12
+ - Added AI video generation design-system modules under `src/ai-video-generation/` with typed stage, token, and model definitions.
13
+ - Added `AIVideoGenerationScreen` and `AIVideoGenerationStudioDemo` React components to provide a demo-ready staged UI scaffold.
14
+ - Added visual-style token exports (`aiVideoGenerationTokens`) and stage-flow metadata (`aiVideoStageFlow`) for host app integration.
15
+ - Added tests for design token values, stage ordering, and core style hooks in `tests/ai-video-generation-design.test.ts`.
13
16
 
14
17
  - **Changed**
15
18
  - Added package-level GitHub CD publish workflow at `.github/workflows/cd.yml` for npm publication with provenance.
@@ -21,9 +24,10 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
21
24
  - Made SBOM release-asset upload non-blocking to avoid failing publish after successful npm release.
22
25
  - Updated README badges to include Codecov coverage and point workflow status to `cd.yml`.
23
26
  - Normalized README section headings/formatting for consistent markdown rendering.
27
+ - Expanded README/demo examples to include the AI video generation screen scaffold and exported style primitives.
24
28
 
25
29
  - **Fixed**
26
- - (placeholder)
30
+ - Updated `videoPackageInfo.version` to match the current package line.
27
31
 
28
32
  - **Security**
29
33
  - Removed `depcheck` (and its `multimatch`/`minimatch` chain) from devDependencies to resolve reported high-severity audit findings.
package/README.md CHANGED
@@ -21,9 +21,21 @@ npm install @plasius/video
21
21
  ## Usage
22
22
 
23
23
  ```ts
24
- import { videoPackageInfo } from "@plasius/video";
24
+ import {
25
+ AIVideoGenerationScreen,
26
+ createAIVideoGenerationDemoModel,
27
+ aiVideoGenerationTokens,
28
+ aiVideoStageFlow,
29
+ videoPackageInfo,
30
+ } from "@plasius/video";
25
31
 
26
32
  console.log(videoPackageInfo.name, videoPackageInfo.version);
33
+ console.log(aiVideoGenerationTokens.color.background);
34
+ console.log(aiVideoStageFlow.map((stage) => stage.stage));
35
+
36
+ const model = createAIVideoGenerationDemoModel("imageSelection");
37
+ void AIVideoGenerationScreen;
38
+ void model;
27
39
  ```
28
40
 
29
41
  ## Node.js Version
@@ -40,6 +52,42 @@ nvm use
40
52
 
41
53
  `@plasius/video` is intended to host reusable video generation interfaces and shared view-model logic used across Plasius applications.
42
54
 
55
+ ## AI Video Generation Visual Styling Pieces
56
+
57
+ This package now includes a design-system aligned screen scaffold for:
58
+
59
+ - Prompt entry
60
+ - Image generation and selection
61
+ - Video generation and motion editing
62
+ - Playback controls
63
+ - Voiceover panel
64
+ - Export state
65
+
66
+ Primary exports:
67
+
68
+ - `AIVideoGenerationScreen`
69
+ - `AIVideoGenerationStudioDemo`
70
+ - `createAIVideoGenerationDemoModel`
71
+ - `aiVideoGenerationTokens`
72
+ - `aiVideoStageFlow`
73
+ - `AI_VIDEO_GENERATION_SCREEN_STYLES`
74
+
75
+ Reference design document:
76
+
77
+ - [`docs/ai-video-generation-screen-visual-styling-guide.md`](./docs/ai-video-generation-screen-visual-styling-guide.md)
78
+
79
+ ## State Flow Summary
80
+
81
+ The staged flow aligns to the screen design sequence:
82
+
83
+ 1. `idle`
84
+ 2. `generatingImages`
85
+ 3. `imageSelection`
86
+ 4. `generatingVideo`
87
+ 5. `playback`
88
+ 6. `voiceover`
89
+ 7. `export`
90
+
43
91
  ## Development
44
92
 
45
93
  ```bash