@salina-app/media-editor 0.0.6 → 0.0.7
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/App.d.ts +2 -0
- package/dist/components/customs/Timeline/Timeline.d.ts +3 -6
- package/dist/components/customs/Timeline/TimelineTimestamps.d.ts +8 -10
- package/dist/index.css +1 -1
- package/dist/index.js +4145 -4070
- package/dist/lib/helpers/timeline.d.ts +1 -0
- package/dist/main.d.ts +2 -1
- package/dist/zustand/TimelineStore.d.ts +8 -0
- package/package.json +3 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const addNumberPadding: (number: number, length: number) => string;
|
|
2
2
|
export declare const splitTimestamps: (totalSeconds: number) => number;
|
|
3
|
+
export declare const timestampToSeconds: (timestamp: string) => number;
|
|
3
4
|
export declare const checkStampDivisible: (zsz: number, tm: string) => {
|
|
4
5
|
zoom: number;
|
|
5
6
|
opacity: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ import { default as Button, buttonVariants } from './components/ui/button';
|
|
|
2
2
|
import { default as Player } from './components/customs/Player/Player';
|
|
3
3
|
import { default as Timeline } from './components/customs/Timeline/Timeline';
|
|
4
4
|
import { durationToTimestamp } from './lib/helpers/timeline';
|
|
5
|
-
|
|
5
|
+
import { useTimelineStore } from './zustand/TimelineStore';
|
|
6
|
+
export { Button, buttonVariants, Player, Timeline, durationToTimestamp, useTimelineStore, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface TimelineStore {
|
|
2
|
+
showTimeline: boolean;
|
|
3
|
+
setShowTimeline: (showTimeline: boolean) => void;
|
|
4
|
+
zoomSize: number;
|
|
5
|
+
setZoomSize: (zoomSize: number) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const useTimelineStore: import('zustand').UseBoundStore<import('zustand').StoreApi<TimelineStore>>;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salina-app/media-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"react-icons": "^5.4.0",
|
|
34
34
|
"tailwind-merge": "^2.6.0",
|
|
35
35
|
"tailwindcss-animate": "^1.0.7",
|
|
36
|
-
"video.js": "^8.21.0"
|
|
36
|
+
"video.js": "^8.21.0",
|
|
37
|
+
"zustand": "^5.0.2"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@chromatic-com/storybook": "3.2.3",
|