@umituz/react-native-video-editor 1.1.42 → 1.1.43

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-video-editor",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
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",
@@ -7,7 +7,7 @@
7
7
  import React, { useState, useMemo, useRef, useCallback } from "react";
8
8
  import { View, TouchableOpacity, StyleSheet } from "react-native";
9
9
  import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
10
- import { BottomSheetModal } from "@umituz/react-native-design-system/molecules";
10
+ import { BottomSheetModal, type BottomSheetModalRef } from "@umituz/react-native-design-system/molecules";
11
11
  import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
12
12
  import { useSafeAreaInsets } from "@umituz/react-native-design-system/safe-area";
13
13
 
@@ -42,8 +42,8 @@ export const VideoEditor: React.FC<VideoEditorProps> = ({
42
42
  const [playbackRate, setPlaybackRate] = useState(DEFAULT_PLAYBACK_RATE);
43
43
  const [activeTool, setActiveTool] = useState<ActiveTool>(null);
44
44
 
45
- const filterSheetRef = useRef<{ present: () => void; dismiss: () => void }>(null);
46
- const speedSheetRef = useRef<{ present: () => void; dismiss: () => void }>(null);
45
+ const filterSheetRef = useRef<BottomSheetModalRef>(null);
46
+ const speedSheetRef = useRef<BottomSheetModalRef>(null);
47
47
 
48
48
  const handleToggleTool = useCallback((tool: Exclude<ActiveTool, null>) => {
49
49
  if (activeTool === tool) {