@editframe/react 0.12.0-beta.8 → 0.13.0-beta.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.
@@ -1,2 +1,2 @@
1
1
  import { EFTimegroup as EFTimegroupElement } from '../../../elements/src/index.ts';
2
- export declare const Timegroup: import('../create-component.ts').ReactWebComponent<EFTimegroupElement, {}>;
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,2 @@
1
+ import { EFFocusOverlay as EFFocusOverlayElement } from '../../../elements/src/index.ts';
2
+ export declare const FocusOverlay: import('@lit/react').ReactWebComponent<EFFocusOverlayElement, {}>;
@@ -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
+ };
@@ -1,2 +1,2 @@
1
1
  import { EFPreview as EFPreviewElement } from '../../../elements/src/index.ts';
2
- export declare const EFPreview: import('@lit/react').ReactWebComponent<EFPreviewElement, {}>;
2
+ export declare const Preview: import('@lit/react').ReactWebComponent<EFPreviewElement, {}>;
@@ -1,11 +1,11 @@
1
- import React from "react";
1
+ import { EFPreview } from "@editframe/elements";
2
2
  import { createComponent } from "@lit/react";
3
- import { EFPreview as EFPreview$1 } from "@editframe/elements";
4
- const EFPreview = createComponent({
3
+ import React from "react";
4
+ const Preview = createComponent({
5
5
  tagName: "ef-preview",
6
- elementClass: EFPreview$1,
6
+ elementClass: EFPreview,
7
7
  react: React
8
8
  });
9
9
  export {
10
- EFPreview
10
+ Preview
11
11
  };
package/dist/index.d.ts CHANGED
@@ -1,32 +1,15 @@
1
- export {
2
- /** @deprecated Use `Audio` instead of `EFAudio`. Exports starting `EF*` wil be removed in a future release. */
3
- Audio as EFAudio, Audio, } from './elements/Audio.ts';
4
- export {
5
- /** @deprecated Use `Captions` instead of `EFCaptions`. Exports starting `EF*` wil be removed in a future release. */
6
- Captions as EFCaptions, Captions,
7
- /** @deprecated Use `CaptionsActiveWord` instead of `EFCaptionsActiveWord`. Exports starting `EF*` wil be removed in a future release. */
8
- CaptionsActiveWord as EFCaptionsActiveWord, CaptionsActiveWord, CaptionsSegment, CaptionsBeforeActiveWord, CaptionsAfterActiveWord, } from './elements/Captions.ts';
9
- export { Image as EFImage, Image, } from './elements/Image.ts';
10
- export {
11
- /** @deprecated Use `Timegroup` instead of `EFTimegroup`. Exports starting `EF*` wil be removed in a future release. */
12
- Timegroup as EFTimegroup, Timegroup, } from './elements/Timegroup.ts';
13
- export {
14
- /** @deprecated Use `Video` instead of `EFVideo`. Exports starting `EF*` wil be removed in a future release. */
15
- Video as EFVideo, Video, } from './elements/Video.ts';
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, Audio as Audio2 } from "./elements/Audio.js";
2
- import { Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment, Captions as Captions2, CaptionsActiveWord as CaptionsActiveWord2 } from "./elements/Captions.js";
3
- import { Image, Image as Image2 } from "./elements/Image.js";
4
- import { Timegroup, Timegroup as Timegroup2 } from "./elements/Timegroup.js";
5
- import { Video, Video as Video2 } from "./elements/Video.js";
6
- import { Waveform, Waveform as Waveform2 } from "./elements/Waveform.js";
7
- import { Workbench, Workbench as Workbench2 } from "./gui/Workbench.js";
8
- import { Filmstrip, Filmstrip as Filmstrip2 } from "./gui/Filmstrip.js";
9
- import { EFPreview, EFPreview as EFPreview2 } from "./gui/Preview.js";
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
- Audio2 as EFAudio,
23
- Captions2 as EFCaptions,
24
- CaptionsActiveWord2 as EFCaptionsActiveWord,
25
- Filmstrip as EFFilmstrip,
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
- Timegroup2 as Timegroup,
29
+ Timegroup,
38
30
  ToggleLoop,
39
31
  TogglePlay,
40
- Video2 as Video,
41
- Waveform2 as Waveform,
42
- Workbench2 as Workbench,
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.12.0-beta.8",
3
+ "version": "0.13.0-beta.1",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": {
8
- "types": "./dist/packages/react/src/index.d.ts",
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.12.0-beta.8",
23
+ "@editframe/elements": "0.13.0-beta.1",
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
+ });
@@ -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 EFPreview = createComponent({
5
+ export const Preview = createComponent({
6
6
  tagName: "ef-preview",
7
7
  elementClass: EFPreviewElement,
8
8
  react: React,