@umituz/react-native-video-editor 1.1.29 → 1.1.30
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/package.json +1 -1
- package/src/infrastructure/services/image-layer-operations.service.ts +1 -1
- package/src/infrastructure/services/layer-operations/layer-duplicate.service.ts +1 -1
- package/src/infrastructure/services/scene-operations.service.ts +1 -1
- package/src/infrastructure/services/shape-layer-operations.service.ts +1 -1
- package/src/infrastructure/services/text-layer-operations.service.ts +1 -1
- package/src/player/infrastructure/services/video-cache.service.ts +2 -10
- package/src/player/presentation/components/VideoPlayer.tsx +3 -6
- package/src/presentation/components/AudioEditor.tsx +2 -4
- package/src/presentation/components/DraggableLayer.tsx +1 -1
- package/src/presentation/components/EditorHeader.tsx +2 -5
- package/src/presentation/components/EditorPreviewArea.styles.ts +1 -1
- package/src/presentation/components/EditorPreviewArea.tsx +2 -5
- package/src/presentation/components/EditorTimeline.tsx +2 -5
- package/src/presentation/components/EditorToolPanel.tsx +2 -5
- package/src/presentation/components/LayerActionsMenu.tsx +2 -5
- package/src/presentation/components/SceneActionsMenu.tsx +2 -5
- package/src/presentation/components/animation-layer/AnimationEditorActions.tsx +2 -5
- package/src/presentation/components/animation-layer/AnimationInfoBanner.tsx +2 -5
- package/src/presentation/components/animation-layer/AnimationTypeSelector.tsx +2 -5
- package/src/presentation/components/audio-layer/AudioEditorActions.tsx +2 -5
- package/src/presentation/components/audio-layer/AudioFileSelector.tsx +2 -5
- package/src/presentation/components/audio-layer/FadeEffectsSelector.tsx +2 -4
- package/src/presentation/components/audio-layer/InfoBanner.tsx +2 -5
- package/src/presentation/components/audio-layer/VolumeSelector.tsx +2 -4
- package/src/presentation/components/draggable-layer/LayerContent.tsx +2 -4
- package/src/presentation/components/draggable-layer/ResizeHandles.tsx +1 -1
- package/src/presentation/components/export/ExportActions.tsx +2 -6
- package/src/presentation/components/export/ExportInfoBanner.tsx +2 -5
- package/src/presentation/components/export/ExportProgress.tsx +2 -4
- package/src/presentation/components/export/OptionSelectorRow.tsx +2 -4
- package/src/presentation/components/export/ProjectInfoBox.tsx +2 -5
- package/src/presentation/components/export/WatermarkToggle.tsx +2 -4
- package/src/presentation/components/image-layer/ImagePreview.tsx +2 -5
- package/src/presentation/components/image-layer/ImageSelectionButtons.tsx +2 -5
- package/src/presentation/components/image-layer/OpacitySelector.tsx +2 -4
- package/src/presentation/components/shape-layer/ColorPickerHorizontal.tsx +2 -5
- package/src/presentation/components/shape-layer/ShapePreview.tsx +2 -4
- package/src/presentation/components/shape-layer/ShapeTypeSelector.tsx +2 -5
- package/src/presentation/components/shape-layer/ValueSelector.tsx +2 -4
- package/src/presentation/components/text-layer/ColorPicker.tsx +2 -5
- package/src/presentation/components/text-layer/EditorActions.tsx +2 -4
- package/src/presentation/components/text-layer/FontSizeSelector.tsx +2 -4
- package/src/presentation/components/text-layer/OptionSelector.tsx +2 -4
- package/src/presentation/components/text-layer/TextAlignSelector.tsx +2 -5
- package/src/presentation/components/text-layer/TextInputSection.tsx +2 -4
- package/src/presentation/components/text-layer/TextPreview.tsx +2 -4
- package/src/presentation/hooks/useShapeLayerForm.ts +1 -1
- package/src/presentation/hooks/useTextLayerForm.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-video-editor",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.30",
|
|
4
4
|
"description": "Professional video editor with layer-based timeline, text/image/shape/audio/animation layers, and export functionality",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Single Responsibility: Image layer business logic
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { generateUUID } from "@umituz/react-native-design-system";
|
|
6
|
+
import { generateUUID } from "@umituz/react-native-design-system/uuid";
|
|
7
7
|
import type { Scene, ImageLayer } from "../../domain/entities";
|
|
8
8
|
import type { LayerOperationResult, AddImageLayerData } from "../../domain/entities";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Single Responsibility: Handle layer duplication operations
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { generateUUID } from "@umituz/react-native-design-system";
|
|
6
|
+
import { generateUUID } from "@umituz/react-native-design-system/uuid";
|
|
7
7
|
import type { Scene } from "../../../domain/entities";
|
|
8
8
|
import type { LayerOperationResult } from "../../../domain/entities";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Single Responsibility: Business logic for scene operations
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { generateUUID } from "@umituz/react-native-design-system";
|
|
6
|
+
import { generateUUID } from "@umituz/react-native-design-system/uuid";
|
|
7
7
|
import type { Scene, Audio } from "../../domain/entities";
|
|
8
8
|
import type { SceneOperationResult } from "../../domain/entities";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Single Responsibility: Shape layer business logic
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { generateUUID } from "@umituz/react-native-design-system";
|
|
6
|
+
import { generateUUID } from "@umituz/react-native-design-system/uuid";
|
|
7
7
|
import type { Scene, ShapeLayer } from "../../domain/entities";
|
|
8
8
|
import type { LayerOperationResult, AddShapeLayerData } from "../../domain/entities";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Single Responsibility: Text layer business logic
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { generateUUID } from "@umituz/react-native-design-system";
|
|
6
|
+
import { generateUUID } from "@umituz/react-native-design-system/uuid";
|
|
7
7
|
import type { Scene, TextLayer } from "../../domain/entities";
|
|
8
8
|
import type { LayerOperationResult, AddTextLayerData } from "../../domain/entities";
|
|
9
9
|
|
|
@@ -4,16 +4,8 @@
|
|
|
4
4
|
* Bypasses CDN Range request issues by downloading entire file first
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
getCachedFileUri,
|
|
10
|
-
isUrlCached,
|
|
11
|
-
deleteCachedFile,
|
|
12
|
-
getCacheDirectory,
|
|
13
|
-
clearCache,
|
|
14
|
-
type DownloadProgressCallback,
|
|
15
|
-
type DownloadProgress,
|
|
16
|
-
} from "@umituz/react-native-design-system";
|
|
7
|
+
import { getCachedFileUri, isUrlCached, getCacheDirectory, downloadFileWithProgress, deleteCachedFile, clearCache } from "@umituz/react-native-design-system/filesystem";
|
|
8
|
+
import type { DownloadProgressCallback, DownloadProgress } from "@umituz/react-native-design-system/filesystem";
|
|
17
9
|
|
|
18
10
|
declare const __DEV__: boolean;
|
|
19
11
|
|
|
@@ -7,12 +7,9 @@ import React, { useState, useCallback, useMemo } from "react";
|
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet, type ViewStyle } from "react-native";
|
|
8
8
|
import { Image } from "expo-image";
|
|
9
9
|
import { VideoView } from "expo-video";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
AtomicIcon,
|
|
14
|
-
AtomicText,
|
|
15
|
-
} from "@umituz/react-native-design-system";
|
|
10
|
+
import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
11
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
|
+
import { useResponsive } from "@umituz/react-native-design-system/responsive";
|
|
16
13
|
|
|
17
14
|
import type { VideoPlayerProps } from "../../types";
|
|
18
15
|
import { useVideoPlayerControl } from "../hooks/useVideoPlayerControl";
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
import React, { useCallback } from "react";
|
|
7
7
|
import { View, ScrollView, StyleSheet, Alert } from "react-native";
|
|
8
8
|
import * as DocumentPicker from "expo-document-picker";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
14
12
|
import type { Audio } from "../../domain/entities";
|
|
15
13
|
import { useAudioLayerForm } from "../hooks/useAudioLayerForm";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
8
|
import { GestureDetector } from "react-native-gesture-handler";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
10
10
|
import type { Layer } from "../../domain/entities";
|
|
11
11
|
import { useDraggableLayerGestures } from "../hooks/useDraggableLayerGestures";
|
|
12
12
|
import { LayerContent } from "./draggable-layer/LayerContent";
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface EditorHeaderProps {
|
|
15
12
|
projectTitle: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleSheet } from "react-native";
|
|
2
|
-
import { DesignTokens } from "@umituz/react-native-design-system";
|
|
2
|
+
import { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
3
3
|
|
|
4
4
|
export const createPreviewStyles = (_tokens: DesignTokens) =>
|
|
5
5
|
StyleSheet.create({
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { useMemo } from "react";
|
|
7
7
|
import { View, TouchableOpacity, Dimensions } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { DraggableLayer } from "./DraggableLayer";
|
|
14
11
|
import type { Scene, Layer } from "../../domain/entities";
|
|
15
12
|
import { createPreviewStyles } from "./EditorPreviewArea.styles";
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, ScrollView, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
14
11
|
import type { VideoProject, Scene } from "../../domain/entities";
|
|
15
12
|
|
|
@@ -11,11 +11,8 @@ import {
|
|
|
11
11
|
StyleSheet,
|
|
12
12
|
Alert,
|
|
13
13
|
} from "react-native";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
AtomicIcon,
|
|
17
|
-
useAppDesignTokens,
|
|
18
|
-
} from "@umituz/react-native-design-system";
|
|
14
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
15
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
19
16
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
20
17
|
|
|
21
18
|
interface EditorToolPanelProps {
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
14
11
|
import type { Layer } from "../../domain/entities";
|
|
15
12
|
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface SceneActionsMenuProps {
|
|
15
12
|
sceneIndex: number;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface AnimationEditorActionsProps {
|
|
15
12
|
hasAnimation: boolean;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
export const AnimationInfoBanner: React.FC = () => {
|
|
15
12
|
const tokens = useAppDesignTokens();
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, ScrollView, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { ANIMATION_TYPES } from "../../../infrastructure/constants/animation-layer.constants";
|
|
14
11
|
import type { AnimationType } from "../../../domain/entities";
|
|
15
12
|
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface AudioEditorActionsProps {
|
|
15
12
|
hasAudio: boolean;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { SUPPORTED_AUDIO_FORMATS } from "../../../infrastructure/constants/audio-layer.constants";
|
|
14
11
|
|
|
15
12
|
interface AudioFileSelectorProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import {
|
|
13
11
|
FADE_IN_OPTIONS,
|
|
14
12
|
FADE_OUT_OPTIONS,
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
export const InfoBanner: React.FC = () => {
|
|
15
12
|
const tokens = useAppDesignTokens();
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import { VOLUME_OPTIONS } from "../../../infrastructure/constants/audio-layer.constants";
|
|
13
11
|
|
|
14
12
|
interface VolumeSelectorProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Image, Text as RNText, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import type { Layer, TextLayer, ImageLayer, ShapeLayer } from "../../../domain/entities";
|
|
13
11
|
|
|
14
12
|
interface LayerContentProps {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
8
|
import { Gesture, GestureDetector } from "react-native-gesture-handler";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
10
10
|
|
|
11
11
|
interface ResizeHandlesProps {
|
|
12
12
|
topLeftGesture: ReturnType<typeof Gesture.Pan>;
|
|
@@ -9,12 +9,8 @@ import {
|
|
|
9
9
|
StyleSheet,
|
|
10
10
|
TouchableOpacity,
|
|
11
11
|
} from "react-native";
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
AtomicIcon,
|
|
15
|
-
AtomicSpinner,
|
|
16
|
-
useAppDesignTokens,
|
|
17
|
-
} from "@umituz/react-native-design-system";
|
|
12
|
+
import { AtomicText, AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system/atoms";
|
|
13
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
18
14
|
|
|
19
15
|
interface ExportActionsProps {
|
|
20
16
|
isExporting: boolean;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
export const ExportInfoBanner: React.FC = () => {
|
|
15
12
|
const tokens = useAppDesignTokens();
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import type { ExportProgress as ExportProgressType } from "../../hooks/useExport";
|
|
13
11
|
|
|
14
12
|
interface ExportProgressProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
|
|
13
11
|
interface Option<T extends string> {
|
|
14
12
|
value: T;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import type { VideoProject } from "../../../domain/entities";
|
|
14
11
|
|
|
15
12
|
interface ProjectInfoBoxProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
|
|
13
11
|
interface WatermarkToggleProps {
|
|
14
12
|
includeWatermark: boolean;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Image, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface ImagePreviewProps {
|
|
15
12
|
imageUri: string;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface ImageSelectionButtonsProps {
|
|
15
12
|
onPickFromGallery: () => void;
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
8
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
import { IMAGE_OPACITY_OPTIONS } from "../../../infrastructure/constants/image-layer.constants";
|
|
14
12
|
|
|
15
13
|
interface OpacitySelectorProps {
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, ScrollView, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import { SHAPE_COLORS } from "../../../infrastructure/constants/shape-layer.constants";
|
|
14
11
|
|
|
15
12
|
interface ColorPickerHorizontalProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import type { ShapeLayerFormState } from "../../hooks/useShapeLayerForm";
|
|
13
11
|
|
|
14
12
|
interface ShapePreviewProps {
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import {
|
|
14
11
|
SHAPES,
|
|
15
12
|
type ShapeType,
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
|
|
13
11
|
interface ValueSelectorProps {
|
|
14
12
|
title: string;
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
8
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
useAppDesignTokens,
|
|
13
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
14
11
|
import { TEXT_COLORS } from "../../../infrastructure/constants/text-layer.constants";
|
|
15
12
|
|
|
16
13
|
interface ColorPickerProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
13
11
|
|
|
14
12
|
interface EditorActionsProps {
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, ScrollView, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
8
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
import { FONT_SIZES } from "../../../infrastructure/constants/text-layer.constants";
|
|
14
12
|
|
|
15
13
|
interface FontSizeSelectorProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
|
|
13
11
|
interface Option {
|
|
14
12
|
label: string;
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
8
8
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
useAppDesignTokens,
|
|
13
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
14
11
|
import { TEXT_ALIGNS } from "../../../infrastructure/constants/text-layer.constants";
|
|
15
12
|
|
|
16
13
|
interface TextAlignSelectorProps {
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TextInput, StyleSheet } from "react-native";
|
|
8
8
|
import { useLocalization } from "@umituz/react-native-settings";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
|
|
14
12
|
interface TextInputSectionProps {
|
|
15
13
|
text: string;
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import type { TextLayerFormState } from "../../hooks/useTextLayerForm";
|
|
13
11
|
|
|
14
12
|
interface TextPreviewProps {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useState, useCallback } from "react";
|
|
7
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
7
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
8
8
|
import type { ShapeLayer } from "../../domain/entities";
|
|
9
9
|
import type { ShapeType } from "../../infrastructure/constants/shape-layer.constants";
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useState, useCallback } from "react";
|
|
7
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
7
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
8
8
|
import type { TextLayer } from "../../domain/entities";
|
|
9
9
|
|
|
10
10
|
export interface TextLayerFormState {
|