@editframe/react 0.26.4-beta.0 → 0.30.0-beta.14
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/Text.d.ts +9 -0
- package/dist/elements/Text.js +19 -0
- package/dist/elements/Text.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +3 -3
- package/types.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactWebComponent } from "../hooks/create-element.js";
|
|
2
|
+
import { EFText, EFTextSegment } from "@editframe/elements";
|
|
3
|
+
|
|
4
|
+
//#region src/elements/Text.d.ts
|
|
5
|
+
declare const Text: ReactWebComponent<EFText, {}>;
|
|
6
|
+
declare const TextSegment: ReactWebComponent<EFTextSegment, {}>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { Text, TextSegment };
|
|
9
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createComponent } from "../hooks/create-element.js";
|
|
2
|
+
import { EFText, EFTextSegment } from "@editframe/elements";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/elements/Text.ts
|
|
6
|
+
const Text = createComponent({
|
|
7
|
+
tagName: "ef-text",
|
|
8
|
+
elementClass: EFText,
|
|
9
|
+
react: React
|
|
10
|
+
});
|
|
11
|
+
const TextSegment = createComponent({
|
|
12
|
+
tagName: "ef-text-segment",
|
|
13
|
+
elementClass: EFTextSegment,
|
|
14
|
+
react: React
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Text, TextSegment };
|
|
19
|
+
//# sourceMappingURL=Text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.js","names":["EFTextElement","EFTextSegmentElement"],"sources":["../../src/elements/Text.ts"],"sourcesContent":["import {\n EFText as EFTextElement,\n EFTextSegment as EFTextSegmentElement,\n} from \"@editframe/elements\";\nimport React from \"react\";\nimport { createComponent } from \"../hooks/create-element\";\n\nexport const Text = createComponent({\n tagName: \"ef-text\",\n elementClass: EFTextElement,\n react: React,\n});\n\nexport const TextSegment = createComponent({\n tagName: \"ef-text-segment\",\n elementClass: EFTextSegmentElement,\n react: React,\n});\n"],"mappings":";;;;;AAOA,MAAa,OAAO,gBAAgB;CAClC,SAAS;CACT,cAAcA;CACd,OAAO;CACR,CAAC;AAEF,MAAa,cAAc,gBAAgB;CACzC,SAAS;CACT,cAAcC;CACd,OAAO;CACR,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TimeDisplay } from "./components/TimeDisplay.js";
|
|
2
2
|
import { Audio } from "./elements/Audio.js";
|
|
3
3
|
import { Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment } from "./elements/Captions.js";
|
|
4
|
+
import { Text, TextSegment } from "./elements/Text.js";
|
|
4
5
|
import { Image } from "./elements/Image.js";
|
|
5
6
|
import { Surface } from "./elements/Surface.js";
|
|
6
7
|
import { ThumbnailStrip } from "./elements/ThumbnailStrip.js";
|
|
@@ -22,4 +23,4 @@ import { ToggleLoop } from "./gui/ToggleLoop.js";
|
|
|
22
23
|
import { TogglePlay } from "./gui/TogglePlay.js";
|
|
23
24
|
import { Workbench } from "./gui/Workbench.js";
|
|
24
25
|
import { useTimingInfo } from "./hooks/useTimingInfo.js";
|
|
25
|
-
export { Audio, Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment, Configuration, Controls, Dial, Filmstrip, FitScale, FocusOverlay, Image, Pause, Play, Preview, ResizableBox, Scrubber, Surface, ThumbnailStrip, TimeDisplay, Timegroup, ToggleLoop, TogglePlay, Video, Waveform, Workbench, useTimingInfo };
|
|
26
|
+
export { Audio, Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment, Configuration, Controls, Dial, Filmstrip, FitScale, FocusOverlay, Image, Pause, Play, Preview, ResizableBox, Scrubber, Surface, Text, TextSegment, ThumbnailStrip, TimeDisplay, Timegroup, ToggleLoop, TogglePlay, Video, Waveform, Workbench, useTimingInfo };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TimeDisplay } from "./components/TimeDisplay.js";
|
|
2
2
|
import { Audio } from "./elements/Audio.js";
|
|
3
3
|
import { Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment } from "./elements/Captions.js";
|
|
4
|
+
import { Text, TextSegment } from "./elements/Text.js";
|
|
4
5
|
import { Image } from "./elements/Image.js";
|
|
5
6
|
import { Surface } from "./elements/Surface.js";
|
|
6
7
|
import { ThumbnailStrip } from "./elements/ThumbnailStrip.js";
|
|
@@ -23,4 +24,4 @@ import { TogglePlay } from "./gui/TogglePlay.js";
|
|
|
23
24
|
import { Workbench } from "./gui/Workbench.js";
|
|
24
25
|
import { useTimingInfo } from "./hooks/useTimingInfo.js";
|
|
25
26
|
|
|
26
|
-
export { Audio, Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment, Configuration, Controls, Dial, Filmstrip, FitScale, FocusOverlay, Image, Pause, Play, Preview, ResizableBox, Scrubber, Surface, ThumbnailStrip, TimeDisplay, Timegroup, ToggleLoop, TogglePlay, Video, Waveform, Workbench, useTimingInfo };
|
|
27
|
+
export { Audio, Captions, CaptionsActiveWord, CaptionsAfterActiveWord, CaptionsBeforeActiveWord, CaptionsSegment, Configuration, Controls, Dial, Filmstrip, FitScale, FocusOverlay, Image, Pause, Play, Preview, ResizableBox, Scrubber, Surface, Text, TextSegment, ThumbnailStrip, TimeDisplay, Timegroup, ToggleLoop, TogglePlay, Video, Waveform, Workbench, useTimingInfo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editframe/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0-beta.14",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "UNLICENSED",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@editframe/elements": "0.
|
|
25
|
+
"@editframe/elements": "0.30.0-beta.14",
|
|
26
26
|
"@lit/task": "^1.0.1",
|
|
27
27
|
"lit": "^3.3.1",
|
|
28
28
|
"react": "^18.3.0"
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
"./types.json": "./types.json"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|