@rightkit/video-ui 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/CHANGELOG.md +5 -0
- package/dist/lib/services.d.ts +3 -0
- package/dist/lib/shell.d.ts +1 -0
- package/dist/styles.css +8 -0
- package/dist/views/FinishedEdit.css +1 -1
- package/package.json +14 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
- Adds the `--caption-clip` surface token (light and dark) for the caption track clip fill. Fixes CutRight #38 (the token was referenced but defined nowhere).
|
|
6
|
+
- Removes the unit test (`src/lib/progress.test.ts`), its vitest config and the `test/host-fixture` fixture, and the `test` script. Adrian's rule: e2e only, no fixtures or dummy data.
|
|
7
|
+
|
|
3
8
|
## 0.1.0
|
|
4
9
|
|
|
5
10
|
- First release. Video editor UI: timeline, inspector, preview and project views.
|
package/dist/lib/services.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare const licenseClient: {
|
|
|
9
9
|
activate: (key: string) => Promise<import("@rightkit/license").LicenseView>;
|
|
10
10
|
refresh: () => Promise<import("@rightkit/license").RefreshView>;
|
|
11
11
|
deactivate: () => Promise<import("@rightkit/license").LicenseView>;
|
|
12
|
+
requestLink: () => Promise<import("@rightkit/license").LinkRequestView>;
|
|
13
|
+
redeemLink: (code: string, deviceLabel?: string) => Promise<import("@rightkit/license").LicenseView>;
|
|
14
|
+
retryPendingReleases: () => Promise<import("@rightkit/license").PendingReleaseDrain>;
|
|
12
15
|
requestTrial: (email: string) => Promise<import("@rightkit/license").TrialView>;
|
|
13
16
|
onChange(callback: (view: import("@rightkit/license").LicenseView) => void, onError?: (error: import("@rightkit/license").LicenseClientError) => void): Promise<import("@rightkit/license").LicenseUnlisten>;
|
|
14
17
|
};
|
package/dist/lib/shell.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export declare const shell: {
|
|
|
116
116
|
paths: string[];
|
|
117
117
|
}) => void) => Promise<import("@rightkit/tauri-shell").Unlisten>;
|
|
118
118
|
};
|
|
119
|
+
onDrop: (zone: import("@rightkit/tauri-shell").DropZone, handler: (e: import("@rightkit/tauri-shell").DropEvent) => void) => Promise<import("@rightkit/tauri-shell").Unlisten>;
|
|
119
120
|
associations: {
|
|
120
121
|
status: (groups?: string[]) => Promise<import("@rightkit/tauri-shell").AssociationStatus>;
|
|
121
122
|
set: (groups?: string[], timeoutMs?: number) => Promise<import("@rightkit/tauri-shell").AssociationSetResult>;
|
package/dist/styles.css
CHANGED
|
@@ -14,3 +14,11 @@
|
|
|
14
14
|
@import "./views/Shorts.css";
|
|
15
15
|
@import "./views/Media.css";
|
|
16
16
|
@import "./views/FinishedEdit.css";
|
|
17
|
+
|
|
18
|
+
/* Caption clip surface (CutRight #38): the caption track's clip fill, tuned per mode. */
|
|
19
|
+
:root { --caption-clip: color-mix(in srgb, var(--rk-accent) 18%, transparent); }
|
|
20
|
+
:root:not([data-theme="light"]) { --caption-clip: color-mix(in srgb, var(--rk-accent) 26%, transparent); }
|
|
21
|
+
@media (prefers-color-scheme: dark) {
|
|
22
|
+
:root:not([data-theme="light"]) { --caption-clip: color-mix(in srgb, var(--rk-accent) 26%, transparent); }
|
|
23
|
+
}
|
|
24
|
+
:root[data-theme="dark"] { --caption-clip: color-mix(in srgb, var(--rk-accent) 26%, transparent); }
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
}
|
|
462
462
|
.fe-clip--sel { border-color: var(--rk-accent); box-shadow: 0 0 0 1px var(--rk-accent); }
|
|
463
463
|
.fe-clip--pending { opacity: 0.6; }
|
|
464
|
-
.fe-clip--caption { background: var(--
|
|
464
|
+
.fe-clip--caption { background: var(--caption-clip); }
|
|
465
465
|
.fe-clip__thumbs { position: absolute; inset: 0; display: flex; opacity: 0.55; }
|
|
466
466
|
.fe-clip__thumbs img { height: 100%; flex: 1; min-width: 0; object-fit: cover; }
|
|
467
467
|
.fe-clip__label {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rightkit/video-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Video editor UI: timeline, inspector, preview and project views.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"*.css"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@rightkit/app-update": "^0.4.
|
|
28
|
+
"@rightkit/app-update": "^0.4.3",
|
|
29
29
|
"@rightkit/legal": "^0.6.3",
|
|
30
|
-
"@rightkit/legal-ui": "^0.4.
|
|
31
|
-
"@rightkit/license": "^0.3.
|
|
30
|
+
"@rightkit/legal-ui": "^0.4.2",
|
|
31
|
+
"@rightkit/license": "^0.3.1",
|
|
32
32
|
"@rightkit/logs": "^0.1.6",
|
|
33
|
-
"@rightkit/media-ui": "^0.3.
|
|
34
|
-
"@rightkit/onboarding": "^0.6.
|
|
35
|
-
"@rightkit/platform-ui": "^0.4.
|
|
36
|
-
"@rightkit/react-shell": "^0.7.
|
|
37
|
-
"@rightkit/settings-ui": "^0.7.
|
|
38
|
-
"@rightkit/tauri": "^0.3.
|
|
39
|
-
"@rightkit/tauri-shell": "^0.1.
|
|
40
|
-
"@rightkit/theme": "^0.3.
|
|
33
|
+
"@rightkit/media-ui": "^0.3.5",
|
|
34
|
+
"@rightkit/onboarding": "^0.6.4",
|
|
35
|
+
"@rightkit/platform-ui": "^0.4.1",
|
|
36
|
+
"@rightkit/react-shell": "^0.7.3",
|
|
37
|
+
"@rightkit/settings-ui": "^0.7.1",
|
|
38
|
+
"@rightkit/tauri": "^0.3.1",
|
|
39
|
+
"@rightkit/tauri-shell": "^0.1.4",
|
|
40
|
+
"@rightkit/theme": "^0.3.2",
|
|
41
41
|
"@tauri-apps/api": "^2.12.4",
|
|
42
42
|
"@tauri-apps/plugin-dialog": "^2.8.3",
|
|
43
43
|
"@tauri-apps/plugin-process": "^2.4.0",
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
"react": "^19.3.1",
|
|
54
54
|
"react-dom": "^19.3.1",
|
|
55
55
|
"typescript": "^7.0.2",
|
|
56
|
-
"vite": "^8.3.4"
|
|
57
|
-
"vitest": "^5.0.5"
|
|
56
|
+
"vite": "^8.3.4"
|
|
58
57
|
},
|
|
59
58
|
"publishConfig": {
|
|
60
59
|
"registry": "https://registry.npmjs.org",
|
|
@@ -67,7 +66,6 @@
|
|
|
67
66
|
},
|
|
68
67
|
"scripts": {
|
|
69
68
|
"build": "tsc -p tsconfig.json && node scripts/copy-assets.mjs",
|
|
70
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
71
|
-
"test": "pnpm --filter \"@rightkit/video-ui^...\" run build && vitest run"
|
|
69
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
72
70
|
}
|
|
73
71
|
}
|