@editframe/react 0.12.0-beta.8 → 0.13.0-beta.2
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/dist/elements/Timegroup.d.ts +1 -1
- package/dist/elements/Timegroup.js +1 -1
- package/dist/gui/FocusOverlay.d.ts +2 -0
- package/dist/gui/FocusOverlay.js +11 -0
- package/dist/gui/Preview.d.ts +1 -1
- package/dist/gui/Preview.js +5 -5
- package/dist/index.d.ts +15 -32
- package/dist/index.js +18 -26
- package/package.json +6 -4
- package/src/elements/Timegroup.ts +2 -2
- package/src/gui/FocusOverlay.ts +9 -0
- package/src/gui/Preview.ts +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { EFTimegroup as EFTimegroupElement } from '../../../elements/src/index.ts';
|
|
2
|
-
export declare const Timegroup: import('../create-component.
|
|
2
|
+
export declare const Timegroup: import('../create-component.js').ReactWebComponent<EFTimegroupElement, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EFTimegroup } from "@editframe/elements";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { createComponent } from "../create-component.js";
|
|
3
|
-
import { EFTimegroup } from "@editframe/elements";
|
|
4
4
|
const Timegroup = createComponent({
|
|
5
5
|
tagName: "ef-timegroup",
|
|
6
6
|
elementClass: EFTimegroup,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EFFocusOverlay } from "@editframe/elements";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
const FocusOverlay = createComponent({
|
|
5
|
+
tagName: "ef-focus-overlay",
|
|
6
|
+
elementClass: EFFocusOverlay,
|
|
7
|
+
react: React
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
FocusOverlay
|
|
11
|
+
};
|
package/dist/gui/Preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { EFPreview as EFPreviewElement } from '../../../elements/src/index.ts';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const Preview: import('@lit/react').ReactWebComponent<EFPreviewElement, {}>;
|
package/dist/gui/Preview.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { EFPreview } from "@editframe/elements";
|
|
2
2
|
import { createComponent } from "@lit/react";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import React from "react";
|
|
4
|
+
const Preview = createComponent({
|
|
5
5
|
tagName: "ef-preview",
|
|
6
|
-
elementClass: EFPreview
|
|
6
|
+
elementClass: EFPreview,
|
|
7
7
|
react: React
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
Preview
|
|
11
11
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
/** @deprecated Use `Waveform` instead of `EFWaveform`. Exports starting `EF*` wil be removed in a future release. */
|
|
18
|
-
Waveform as EFWaveform, Waveform, } from './elements/Waveform.ts';
|
|
19
|
-
export {
|
|
20
|
-
/** @deprecated Use `Workbench` instead of `EFWorkbench`. Exports starting `EF*` wil be removed in a future release. */
|
|
21
|
-
Workbench as EFWorkbench, Workbench, } from './gui/Workbench.ts';
|
|
22
|
-
export {
|
|
23
|
-
/** @deprecated Use `Filmstrip` instead of `EFFilmstrip`. Exports starting `EF*` wil be removed in a future release. */
|
|
24
|
-
Filmstrip as EFFilmstrip, Filmstrip, } from './gui/Filmstrip.ts';
|
|
25
|
-
export {
|
|
26
|
-
/** @deprecated Use `Preview` instead of `EFPreview`. Exports starting `EF*` wil be removed in a future release. */
|
|
27
|
-
EFPreview, EFPreview as Preview, } from './gui/Preview.ts';
|
|
28
|
-
export { TogglePlay } from './gui/TogglePlay.ts';
|
|
29
|
-
export { ToggleLoop } from './gui/ToggleLoop.ts';
|
|
30
|
-
export { Scrubber } from './gui/Scrubber.ts';
|
|
31
|
-
export { useTimingInfo } from './hooks/useTimingInfo.ts';
|
|
32
|
-
export { TimeDisplay } from './components/TimeDisplay.tsx';
|
|
1
|
+
export { Audio } from './elements/Audio.js';
|
|
2
|
+
export { Captions, CaptionsActiveWord, CaptionsSegment, CaptionsBeforeActiveWord, CaptionsAfterActiveWord, } from './elements/Captions.js';
|
|
3
|
+
export { Image } from './elements/Image.js';
|
|
4
|
+
export { Timegroup } from './elements/Timegroup.js';
|
|
5
|
+
export { Video } from './elements/Video.js';
|
|
6
|
+
export { Waveform } from './elements/Waveform.js';
|
|
7
|
+
export { Workbench } from './gui/Workbench.js';
|
|
8
|
+
export { Filmstrip } from './gui/Filmstrip.js';
|
|
9
|
+
export { Preview } from './gui/Preview.js';
|
|
10
|
+
export { FocusOverlay } from './gui/FocusOverlay.js';
|
|
11
|
+
export { TogglePlay } from './gui/TogglePlay.js';
|
|
12
|
+
export { ToggleLoop } from './gui/ToggleLoop.js';
|
|
13
|
+
export { Scrubber } from './gui/Scrubber.js';
|
|
14
|
+
export { useTimingInfo } from './hooks/useTimingInfo.js';
|
|
15
|
+
export { TimeDisplay } from './components/TimeDisplay.js';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { Audio
|
|
2
|
-
import { Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment
|
|
3
|
-
import { Image
|
|
4
|
-
import { Timegroup
|
|
5
|
-
import { Video
|
|
6
|
-
import { Waveform
|
|
7
|
-
import { Workbench
|
|
8
|
-
import { Filmstrip
|
|
9
|
-
import {
|
|
1
|
+
import { Audio } from "./elements/Audio.js";
|
|
2
|
+
import { Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment } from "./elements/Captions.js";
|
|
3
|
+
import { Image } from "./elements/Image.js";
|
|
4
|
+
import { Timegroup } from "./elements/Timegroup.js";
|
|
5
|
+
import { Video } from "./elements/Video.js";
|
|
6
|
+
import { Waveform } from "./elements/Waveform.js";
|
|
7
|
+
import { Workbench } from "./gui/Workbench.js";
|
|
8
|
+
import { Filmstrip } from "./gui/Filmstrip.js";
|
|
9
|
+
import { Preview } from "./gui/Preview.js";
|
|
10
|
+
import { FocusOverlay } from "./gui/FocusOverlay.js";
|
|
10
11
|
import { TogglePlay } from "./gui/TogglePlay.js";
|
|
11
12
|
import { ToggleLoop } from "./gui/ToggleLoop.js";
|
|
12
13
|
import { Scrubber } from "./gui/Scrubber.js";
|
|
@@ -19,26 +20,17 @@ export {
|
|
|
19
20
|
CaptionsAfterActiveWord,
|
|
20
21
|
CaptionsBeforeActiveWord,
|
|
21
22
|
CaptionsSegment,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Image as EFImage,
|
|
27
|
-
EFPreview,
|
|
28
|
-
Timegroup as EFTimegroup,
|
|
29
|
-
Video as EFVideo,
|
|
30
|
-
Waveform as EFWaveform,
|
|
31
|
-
Workbench as EFWorkbench,
|
|
32
|
-
Filmstrip2 as Filmstrip,
|
|
33
|
-
Image2 as Image,
|
|
34
|
-
EFPreview2 as Preview,
|
|
23
|
+
Filmstrip,
|
|
24
|
+
FocusOverlay,
|
|
25
|
+
Image,
|
|
26
|
+
Preview,
|
|
35
27
|
Scrubber,
|
|
36
28
|
TimeDisplay,
|
|
37
|
-
|
|
29
|
+
Timegroup,
|
|
38
30
|
ToggleLoop,
|
|
39
31
|
TogglePlay,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
Video,
|
|
33
|
+
Waveform,
|
|
34
|
+
Workbench,
|
|
43
35
|
useTimingInfo
|
|
44
36
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editframe/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"import": {
|
|
8
|
-
"types": "./dist/
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
9
|
"default": "./dist/index.js"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -14,14 +14,16 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
16
16
|
"build": "vite build",
|
|
17
|
-
"build:watch": "vite build --watch"
|
|
17
|
+
"build:watch": "vite build --watch",
|
|
18
|
+
"typedoc": "typedoc --json ../../docs/react.json --plugin typedoc-plugin-zod --excludeExternals ./src"
|
|
18
19
|
},
|
|
19
20
|
"author": "",
|
|
20
21
|
"license": "UNLICENSED",
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@editframe/elements": "0.
|
|
23
|
+
"@editframe/elements": "0.13.0-beta.2",
|
|
23
24
|
"@lit/react": "^1.0.5",
|
|
24
25
|
"debug": "^4.3.5",
|
|
26
|
+
"lit": "^3.2.1",
|
|
25
27
|
"react": "^18.3.0",
|
|
26
28
|
"react-dom": "^18.3.0"
|
|
27
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { createComponent } from "../create-component.ts";
|
|
3
1
|
import { EFTimegroup as EFTimegroupElement } from "@editframe/elements";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "../create-component.js";
|
|
4
4
|
|
|
5
5
|
export const Timegroup = createComponent({
|
|
6
6
|
tagName: "ef-timegroup",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EFFocusOverlay as EFFocusOverlayElement } from "@editframe/elements";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
export const FocusOverlay = createComponent({
|
|
6
|
+
tagName: "ef-focus-overlay",
|
|
7
|
+
elementClass: EFFocusOverlayElement,
|
|
8
|
+
react: React,
|
|
9
|
+
});
|
package/src/gui/Preview.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { createComponent } from "@lit/react";
|
|
3
1
|
import { EFPreview as EFPreviewElement } from "@editframe/elements";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import React from "react";
|
|
4
4
|
|
|
5
|
-
export const
|
|
5
|
+
export const Preview = createComponent({
|
|
6
6
|
tagName: "ef-preview",
|
|
7
7
|
elementClass: EFPreviewElement,
|
|
8
8
|
react: React,
|