@twick/studio 0.15.2 → 0.15.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/dist/index.d.ts +88 -11
- package/dist/index.js +204 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -4
- package/package.json +12 -12
package/dist/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
import { forwardRef, createElement, useState, useEffect, useRef, createContext, useContext, useCallback, useMemo } from "react";
|
|
6
6
|
import { useTimelineContext, TrackElement, Track, ImageElement, AudioElement, VideoElement, TextElement, IconElement, RectElement, CircleElement, CAPTION_STYLE, CaptionElement, ElementTextEffect, ElementAnimation, PLAYER_STATE } from "@twick/timeline";
|
|
7
|
-
import { INITIAL_TIMELINE_DATA, TimelineProvider } from "@twick/timeline";
|
|
7
|
+
import { AudioElement as AudioElement2, CAPTION_COLOR, CAPTION_FONT, CAPTION_STYLE as CAPTION_STYLE2, CAPTION_STYLE_OPTIONS, CaptionElement as CaptionElement2, CircleElement as CircleElement2, ElementAdder, ElementAnimation as ElementAnimation2, ElementCloner, ElementDeserializer, ElementFrameEffect, ElementRemover, ElementSerializer, ElementSplitter, ElementTextEffect as ElementTextEffect2, ElementUpdater, ElementValidator, INITIAL_TIMELINE_DATA, IconElement as IconElement2, ImageElement as ImageElement2, PROCESS_STATE, RectElement as RectElement2, TIMELINE_ACTION, TIMELINE_ELEMENT_TYPE, TextElement as TextElement2, TimelineEditor, TimelineProvider, Track as Track2, TrackElement as TrackElement2, VideoElement as VideoElement2, WORDS_PER_PHRASE, generateShortUuid, getCurrentElements, getTotalDuration, isElementId, isTrackId } from "@twick/timeline";
|
|
8
8
|
import VideoEditor, { useEditorManager, BrowserMediaManager, AVAILABLE_TEXT_FONTS, TEXT_EFFECTS, ANIMATIONS } from "@twick/video-editor";
|
|
9
|
-
import { default as default2 } from "@twick/video-editor";
|
|
9
|
+
import { ANIMATIONS as ANIMATIONS2, BaseMediaManager, BrowserMediaManager as BrowserMediaManager2, PlayerControls, TEXT_EFFECTS as TEXT_EFFECTS2, TimelineManager, default as default2, animationGifs, getAnimationGif, setElementColors, useEditorManager as useEditorManager2, usePlayerControl, useTimelineControl } from "@twick/video-editor";
|
|
10
10
|
import { useLivePlayerContext } from "@twick/live-player";
|
|
11
|
-
import { LivePlayer, LivePlayerProvider } from "@twick/live-player";
|
|
11
|
+
import { LivePlayer, LivePlayerProvider, PLAYER_STATE as PLAYER_STATE2, generateId, getBaseProject, useLivePlayerContext as useLivePlayerContext2 } from "@twick/live-player";
|
|
12
12
|
/**
|
|
13
13
|
* @license lucide-react v0.511.0 - ISC
|
|
14
14
|
*
|
|
@@ -3749,25 +3749,76 @@ function TwickStudio({ studioConfig }) {
|
|
|
3749
3749
|
] }) });
|
|
3750
3750
|
}
|
|
3751
3751
|
export {
|
|
3752
|
+
ANIMATIONS2 as ANIMATIONS,
|
|
3753
|
+
AudioElement2 as AudioElement,
|
|
3752
3754
|
AudioPanel,
|
|
3755
|
+
BaseMediaManager,
|
|
3756
|
+
BrowserMediaManager2 as BrowserMediaManager,
|
|
3757
|
+
CAPTION_COLOR,
|
|
3758
|
+
CAPTION_FONT,
|
|
3753
3759
|
CAPTION_PROPS,
|
|
3760
|
+
CAPTION_STYLE2 as CAPTION_STYLE,
|
|
3761
|
+
CAPTION_STYLE_OPTIONS,
|
|
3762
|
+
CaptionElement2 as CaptionElement,
|
|
3763
|
+
CircleElement2 as CircleElement,
|
|
3754
3764
|
CirclePanel,
|
|
3765
|
+
ElementAdder,
|
|
3766
|
+
ElementAnimation2 as ElementAnimation,
|
|
3767
|
+
ElementCloner,
|
|
3768
|
+
ElementDeserializer,
|
|
3769
|
+
ElementFrameEffect,
|
|
3770
|
+
ElementRemover,
|
|
3771
|
+
ElementSerializer,
|
|
3772
|
+
ElementSplitter,
|
|
3773
|
+
ElementTextEffect2 as ElementTextEffect,
|
|
3774
|
+
ElementUpdater,
|
|
3775
|
+
ElementValidator,
|
|
3755
3776
|
INITIAL_TIMELINE_DATA,
|
|
3777
|
+
IconElement2 as IconElement,
|
|
3756
3778
|
IconPanel,
|
|
3779
|
+
ImageElement2 as ImageElement,
|
|
3757
3780
|
ImagePanel,
|
|
3758
3781
|
LivePlayer,
|
|
3759
3782
|
LivePlayerProvider,
|
|
3783
|
+
PLAYER_STATE2 as PLAYER_STATE,
|
|
3784
|
+
PROCESS_STATE,
|
|
3785
|
+
PlayerControls,
|
|
3786
|
+
RectElement2 as RectElement,
|
|
3760
3787
|
RectPanel,
|
|
3761
3788
|
StudioHeader,
|
|
3762
3789
|
SubtitlesPanel,
|
|
3790
|
+
TEXT_EFFECTS2 as TEXT_EFFECTS,
|
|
3791
|
+
TIMELINE_ACTION,
|
|
3792
|
+
TIMELINE_ELEMENT_TYPE,
|
|
3793
|
+
TextElement2 as TextElement,
|
|
3763
3794
|
TextPanel,
|
|
3795
|
+
TimelineEditor,
|
|
3796
|
+
TimelineManager,
|
|
3764
3797
|
TimelineProvider,
|
|
3765
3798
|
Toolbar,
|
|
3799
|
+
Track2 as Track,
|
|
3800
|
+
TrackElement2 as TrackElement,
|
|
3766
3801
|
TwickStudio,
|
|
3767
3802
|
default2 as VideoEditor,
|
|
3803
|
+
VideoElement2 as VideoElement,
|
|
3768
3804
|
VideoPanel,
|
|
3805
|
+
WORDS_PER_PHRASE,
|
|
3806
|
+
animationGifs,
|
|
3769
3807
|
TwickStudio as default,
|
|
3808
|
+
generateId,
|
|
3809
|
+
generateShortUuid,
|
|
3810
|
+
getAnimationGif,
|
|
3811
|
+
getBaseProject,
|
|
3812
|
+
getCurrentElements,
|
|
3813
|
+
getTotalDuration,
|
|
3814
|
+
isElementId,
|
|
3815
|
+
isTrackId,
|
|
3816
|
+
setElementColors,
|
|
3817
|
+
useEditorManager2 as useEditorManager,
|
|
3770
3818
|
useGenerateSubtitles,
|
|
3771
|
-
|
|
3819
|
+
useLivePlayerContext2 as useLivePlayerContext,
|
|
3820
|
+
usePlayerControl,
|
|
3821
|
+
useStudioManager,
|
|
3822
|
+
useTimelineControl
|
|
3772
3823
|
};
|
|
3773
3824
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twick/studio",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@twick/canvas": "0.15.
|
|
37
|
-
"@twick/core": "^0.15.
|
|
38
|
-
"@twick/live-player": "0.15.
|
|
39
|
-
"@twick/media-utils": "0.15.
|
|
40
|
-
"@twick/player-react": "^0.15.
|
|
41
|
-
"@twick/timeline": "0.15.
|
|
42
|
-
"@twick/video-editor": "0.15.
|
|
43
|
-
"@twick/visualizer": "0.15.
|
|
36
|
+
"@twick/canvas": "0.15.4",
|
|
37
|
+
"@twick/core": "^0.15.4",
|
|
38
|
+
"@twick/live-player": "0.15.4",
|
|
39
|
+
"@twick/media-utils": "0.15.4",
|
|
40
|
+
"@twick/player-react": "^0.15.4",
|
|
41
|
+
"@twick/timeline": "0.15.4",
|
|
42
|
+
"@twick/video-editor": "0.15.4",
|
|
43
|
+
"@twick/visualizer": "0.15.4",
|
|
44
44
|
"lucide-react": "^0.511.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@types/node": "^20.11.24",
|
|
52
52
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
53
53
|
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
54
|
-
"@twick/timeline": "0.15.
|
|
55
|
-
"@twick/live-player": "0.15.
|
|
56
|
-
"@twick/video-editor": "0.15.
|
|
54
|
+
"@twick/timeline": "0.15.4",
|
|
55
|
+
"@twick/live-player": "0.15.4",
|
|
56
|
+
"@twick/video-editor": "0.15.4",
|
|
57
57
|
"rimraf": "^5.0.5",
|
|
58
58
|
"typedoc": "^0.25.8",
|
|
59
59
|
"typedoc-plugin-markdown": "^3.17.1",
|