@panscale/react-native 0.3.0 → 0.3.2
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 +6 -6
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_native1 from "react-native";
|
|
2
2
|
import { ViewStyle } from "react-native";
|
|
3
3
|
import { Scaler, ScalerOptions, ScalerValues } from "@panscale/core";
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
5
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
6
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
-
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/native-adapter.d.ts
|
|
9
|
-
declare function createNativeAdapter(scaler: Scaler):
|
|
9
|
+
declare function createNativeAdapter(scaler: Scaler): react_native1.PanResponderInstance;
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/scaler-view.d.ts
|
|
@@ -26,7 +26,7 @@ declare function ScalerView({
|
|
|
26
26
|
contentHeight,
|
|
27
27
|
options,
|
|
28
28
|
onValuesChange
|
|
29
|
-
}: NativeScalerViewProps):
|
|
29
|
+
}: NativeScalerViewProps): react_jsx_runtime2.JSX.Element;
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/ui/zoom-controls.d.ts
|
|
@@ -42,7 +42,7 @@ declare function ZoomControls({
|
|
|
42
42
|
onZoomIn,
|
|
43
43
|
onZoomOut,
|
|
44
44
|
style
|
|
45
|
-
}: ZoomControlsProps):
|
|
45
|
+
}: ZoomControlsProps): react_jsx_runtime3.JSX.Element;
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/ui/reset-button.d.ts
|
|
@@ -56,7 +56,7 @@ declare function ResetButton({
|
|
|
56
56
|
onReset,
|
|
57
57
|
style,
|
|
58
58
|
label
|
|
59
|
-
}: ResetButtonProps):
|
|
59
|
+
}: ResetButtonProps): react_jsx_runtime0.JSX.Element;
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
62
|
//# sourceMappingURL=reset-button.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -61,6 +61,9 @@ function ScalerView({ children, style, contentWidth, contentHeight, options, onV
|
|
|
61
61
|
const { width, height } = event.nativeEvent.layout;
|
|
62
62
|
scalerRef.current?.setDimensions(width, height, contentWidth, contentHeight);
|
|
63
63
|
}, [contentWidth, contentHeight]);
|
|
64
|
+
useEffect(() => {
|
|
65
|
+
scalerRef.current?.setContentSize(contentWidth, contentHeight);
|
|
66
|
+
}, [contentWidth, contentHeight]);
|
|
64
67
|
useEffect(() => {
|
|
65
68
|
return () => {
|
|
66
69
|
scalerRef.current?.destroy();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["event: GestureResponderEvent","scaler: Scaler","values: ScalerValues","event: LayoutChangeEvent"],"sources":["../src/native-adapter.ts","../src/scaler-view.tsx","../src/ui/zoom-controls.tsx","../src/ui/reset-button.tsx"],"sourcesContent":["import { useRef, useMemo } from \"react\";\nimport { PanResponder, type GestureResponderEvent, type PanResponderGestureState } from \"react-native\";\nimport { Scaler, type ScalerOptions, type ScalerTouch } from \"@panscale/core\";\n\nfunction nativeTouchesToScaler(event: GestureResponderEvent): ScalerTouch[] {\n const touches = event.nativeEvent.touches;\n if (!touches || touches.length === 0) {\n return [{ pageX: event.nativeEvent.pageX, pageY: event.nativeEvent.pageY }];\n }\n return Array.from(touches).map((t) => ({\n pageX: t.pageX,\n pageY: t.pageY\n }));\n}\n\nexport function createNativeAdapter(scaler: Scaler) {\n const panResponder = PanResponder.create({\n onStartShouldSetPanResponder: () => true,\n onMoveShouldSetPanResponder: () => true,\n onPanResponderGrant: (e) => {\n scaler.doTouchStart(nativeTouchesToScaler(e), e.nativeEvent.timestamp);\n },\n onPanResponderMove: (e) => {\n scaler.doTouchMove(nativeTouchesToScaler(e), e.nativeEvent.timestamp);\n },\n onPanResponderRelease: (e) => {\n scaler.doTouchEnd(e.nativeEvent.timestamp);\n },\n onPanResponderTerminate: (e) => {\n scaler.doTouchEnd(e.nativeEvent.timestamp);\n }\n });\n\n return panResponder;\n}\n","import { useCallback, useEffect, useRef, useState } from \"react\";\nimport { Animated, View, type ViewStyle, type LayoutChangeEvent } from \"react-native\";\nimport { Scaler, type ScalerOptions, type ScalerValues } from \"@panscale/core\";\nimport { createNativeAdapter } from \"./native-adapter\";\n\nexport interface NativeScalerViewProps {\n children?: React.ReactNode;\n style?: ViewStyle;\n contentWidth: number;\n contentHeight: number;\n options?: Partial<ScalerOptions>;\n onValuesChange?: (values: ScalerValues) => void;\n}\n\nexport function ScalerView({\n children,\n style,\n contentWidth,\n contentHeight,\n options,\n onValuesChange\n}: NativeScalerViewProps) {\n const transformRef = useRef(new Animated.ValueXY({ x: 0, y: 0 }));\n const scaleRef = useRef(new Animated.Value(1));\n const scalerRef = useRef<Scaler | null>(null);\n\n const callback = useCallback((values: ScalerValues) => {\n transformRef.current.setValue({ x: values.translateX, y: values.translateY });\n scaleRef.current.setValue(values.zoom);\n onValuesChange?.(values);\n }, [onValuesChange]);\n\n if (!scalerRef.current) {\n scalerRef.current = new Scaler(callback, { zooming: true, ...options });\n }\n\n const panResponder = useRef(createNativeAdapter(scalerRef.current));\n\n const onLayout = useCallback((event: LayoutChangeEvent) => {\n const { width, height } = event.nativeEvent.layout;\n scalerRef.current?.setDimensions(width, height, contentWidth, contentHeight);\n }, [contentWidth, contentHeight]);\n\n useEffect(() => {\n return () => {\n scalerRef.current?.destroy();\n };\n }, []);\n\n const animatedStyle = {\n transform: [\n { translateX: transformRef.current.x },\n { translateY: transformRef.current.y },\n { scale: scaleRef.current }\n ]\n };\n\n return (\n <View style={[{ overflow: \"hidden\" }, style]} onLayout={onLayout} {...panResponder.current.panHandlers}>\n <Animated.View style={animatedStyle}>\n {children}\n </Animated.View>\n </View>\n );\n}\n","import { View, Text, TouchableOpacity, type ViewStyle } from \"react-native\";\n\nexport interface ZoomControlsProps {\n zoom: number;\n onZoomIn: () => void;\n onZoomOut: () => void;\n style?: ViewStyle;\n}\n\nexport function ZoomControls({ zoom, onZoomIn, onZoomOut, style }: ZoomControlsProps) {\n return (\n <View style={[{ flexDirection: \"row\", alignItems: \"center\", gap: 8 }, style]}>\n <TouchableOpacity onPress={onZoomOut} accessibilityLabel=\"Zoom out\">\n <Text style={{ fontSize: 20 }}>−</Text>\n </TouchableOpacity>\n <Text>{Math.round(zoom * 100)}%</Text>\n <TouchableOpacity onPress={onZoomIn} accessibilityLabel=\"Zoom in\">\n <Text style={{ fontSize: 20 }}>+</Text>\n </TouchableOpacity>\n </View>\n );\n}\n","import { TouchableOpacity, Text, type ViewStyle } from \"react-native\";\n\nexport interface ResetButtonProps {\n onReset: () => void;\n style?: ViewStyle;\n label?: string;\n}\n\nexport function ResetButton({ onReset, style, label = \"1:1\" }: ResetButtonProps) {\n return (\n <TouchableOpacity onPress={onReset} style={style} accessibilityLabel=\"Reset zoom\">\n <Text>{label}</Text>\n </TouchableOpacity>\n );\n}\n"],"mappings":";;;;;;AAIA,SAAS,sBAAsBA,OAA6C;CAC1E,MAAM,UAAU,MAAM,YAAY;AAClC,MAAK,WAAW,QAAQ,WAAW,EACjC,QAAO,CAAC;EAAE,OAAO,MAAM,YAAY;EAAO,OAAO,MAAM,YAAY;CAAQ,CAAA;AAE7E,QAAO,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,OAAO;EACrC,OAAO,EAAE;EACT,OAAO,EAAE;CACV,GAAE;AACJ;AAED,SAAgB,oBAAoBC,QAAgB;CAClD,MAAM,eAAe,aAAa,OAAO;EACvC,8BAA8B,MAAM;EACpC,6BAA6B,MAAM;EACnC,qBAAqB,CAAC,MAAM;AAC1B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Aa,QAAQ,EAAG;EACtC,EAAE,OAAO,SAAS,QAAS;CAC5B,EACF;AAED,wBACE,IAAC,MAAA;EAAK,OAAO,CAAC,EAAE,UAAU,SAAU,GAAE,KAAM;EAAY;EAAU,GAAI,aAAa,QAAQ;4BACzF,IAAC,SAAS,MAAA;GAAK,OAAO;GACnB;IACa;GACX;AAEV;;;;
|
|
1
|
+
{"version":3,"file":"index.js","names":["event: GestureResponderEvent","scaler: Scaler","values: ScalerValues","event: LayoutChangeEvent"],"sources":["../src/native-adapter.ts","../src/scaler-view.tsx","../src/ui/zoom-controls.tsx","../src/ui/reset-button.tsx"],"sourcesContent":["import { useRef, useMemo } from \"react\";\nimport { PanResponder, type GestureResponderEvent, type PanResponderGestureState } from \"react-native\";\nimport { Scaler, type ScalerOptions, type ScalerTouch } from \"@panscale/core\";\n\nfunction nativeTouchesToScaler(event: GestureResponderEvent): ScalerTouch[] {\n const touches = event.nativeEvent.touches;\n if (!touches || touches.length === 0) {\n return [{ pageX: event.nativeEvent.pageX, pageY: event.nativeEvent.pageY }];\n }\n return Array.from(touches).map((t) => ({\n pageX: t.pageX,\n pageY: t.pageY\n }));\n}\n\nexport function createNativeAdapter(scaler: Scaler) {\n const panResponder = PanResponder.create({\n onStartShouldSetPanResponder: () => true,\n onMoveShouldSetPanResponder: () => true,\n onPanResponderGrant: (e) => {\n scaler.doTouchStart(nativeTouchesToScaler(e), e.nativeEvent.timestamp);\n },\n onPanResponderMove: (e) => {\n scaler.doTouchMove(nativeTouchesToScaler(e), e.nativeEvent.timestamp);\n },\n onPanResponderRelease: (e) => {\n scaler.doTouchEnd(e.nativeEvent.timestamp);\n },\n onPanResponderTerminate: (e) => {\n scaler.doTouchEnd(e.nativeEvent.timestamp);\n }\n });\n\n return panResponder;\n}\n","import { useCallback, useEffect, useRef, useState } from \"react\";\nimport { Animated, View, type ViewStyle, type LayoutChangeEvent } from \"react-native\";\nimport { Scaler, type ScalerOptions, type ScalerValues } from \"@panscale/core\";\nimport { createNativeAdapter } from \"./native-adapter\";\n\nexport interface NativeScalerViewProps {\n children?: React.ReactNode;\n style?: ViewStyle;\n contentWidth: number;\n contentHeight: number;\n options?: Partial<ScalerOptions>;\n onValuesChange?: (values: ScalerValues) => void;\n}\n\nexport function ScalerView({\n children,\n style,\n contentWidth,\n contentHeight,\n options,\n onValuesChange\n}: NativeScalerViewProps) {\n const transformRef = useRef(new Animated.ValueXY({ x: 0, y: 0 }));\n const scaleRef = useRef(new Animated.Value(1));\n const scalerRef = useRef<Scaler | null>(null);\n\n const callback = useCallback((values: ScalerValues) => {\n transformRef.current.setValue({ x: values.translateX, y: values.translateY });\n scaleRef.current.setValue(values.zoom);\n onValuesChange?.(values);\n }, [onValuesChange]);\n\n if (!scalerRef.current) {\n scalerRef.current = new Scaler(callback, { zooming: true, ...options });\n }\n\n const panResponder = useRef(createNativeAdapter(scalerRef.current));\n\n const onLayout = useCallback((event: LayoutChangeEvent) => {\n const { width, height } = event.nativeEvent.layout;\n scalerRef.current?.setDimensions(width, height, contentWidth, contentHeight);\n }, [contentWidth, contentHeight]);\n\n // onLayout fires on layout changes only. A new contentWidth/contentHeight\n // reaches the scaler here, keeping the viewport size from the last layout.\n useEffect(() => {\n scalerRef.current?.setContentSize(contentWidth, contentHeight);\n }, [contentWidth, contentHeight]);\n\n useEffect(() => {\n return () => {\n scalerRef.current?.destroy();\n };\n }, []);\n\n const animatedStyle = {\n transform: [\n { translateX: transformRef.current.x },\n { translateY: transformRef.current.y },\n { scale: scaleRef.current }\n ]\n };\n\n return (\n <View style={[{ overflow: \"hidden\" }, style]} onLayout={onLayout} {...panResponder.current.panHandlers}>\n <Animated.View style={animatedStyle}>\n {children}\n </Animated.View>\n </View>\n );\n}\n","import { View, Text, TouchableOpacity, type ViewStyle } from \"react-native\";\n\nexport interface ZoomControlsProps {\n zoom: number;\n onZoomIn: () => void;\n onZoomOut: () => void;\n style?: ViewStyle;\n}\n\nexport function ZoomControls({ zoom, onZoomIn, onZoomOut, style }: ZoomControlsProps) {\n return (\n <View style={[{ flexDirection: \"row\", alignItems: \"center\", gap: 8 }, style]}>\n <TouchableOpacity onPress={onZoomOut} accessibilityLabel=\"Zoom out\">\n <Text style={{ fontSize: 20 }}>−</Text>\n </TouchableOpacity>\n <Text>{Math.round(zoom * 100)}%</Text>\n <TouchableOpacity onPress={onZoomIn} accessibilityLabel=\"Zoom in\">\n <Text style={{ fontSize: 20 }}>+</Text>\n </TouchableOpacity>\n </View>\n );\n}\n","import { TouchableOpacity, Text, type ViewStyle } from \"react-native\";\n\nexport interface ResetButtonProps {\n onReset: () => void;\n style?: ViewStyle;\n label?: string;\n}\n\nexport function ResetButton({ onReset, style, label = \"1:1\" }: ResetButtonProps) {\n return (\n <TouchableOpacity onPress={onReset} style={style} accessibilityLabel=\"Reset zoom\">\n <Text>{label}</Text>\n </TouchableOpacity>\n );\n}\n"],"mappings":";;;;;;AAIA,SAAS,sBAAsBA,OAA6C;CAC1E,MAAM,UAAU,MAAM,YAAY;AAClC,MAAK,WAAW,QAAQ,WAAW,EACjC,QAAO,CAAC;EAAE,OAAO,MAAM,YAAY;EAAO,OAAO,MAAM,YAAY;CAAQ,CAAA;AAE7E,QAAO,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,OAAO;EACrC,OAAO,EAAE;EACT,OAAO,EAAE;CACV,GAAE;AACJ;AAED,SAAgB,oBAAoBC,QAAgB;CAClD,MAAM,eAAe,aAAa,OAAO;EACvC,8BAA8B,MAAM;EACpC,6BAA6B,MAAM;EACnC,qBAAqB,CAAC,MAAM;AAC1B,UAAO,aAAa,sBAAsB,EAAE,EAAE,EAAE,YAAY,UAAU;EACvE;EACD,oBAAoB,CAAC,MAAM;AACzB,UAAO,YAAY,sBAAsB,EAAE,EAAE,EAAE,YAAY,UAAU;EACtE;EACD,uBAAuB,CAAC,MAAM;AAC5B,UAAO,WAAW,EAAE,YAAY,UAAU;EAC3C;EACD,yBAAyB,CAAC,MAAM;AAC9B,UAAO,WAAW,EAAE,YA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AS,MAAA;GAAK,OAAO;GACnB;IACa;GACX;AAEV;;;;AC7DD,SAAgB,aAAa,EAAE,MAAM,UAAU,WAAW,OAA0B,EAAE;AACpF,wBACE,KAAC,MAAA;EAAK,OAAO,CAAC;GAAE,eAAe;GAAO,YAAY;GAAU,KAAK;EAAG,GAAE,KAAM;;mBAC1E,IAAC,kBAAA;IAAiB,SAAS;IAAW,oBAAmB;8BACvD,IAAC,MAAA;KAAK,OAAO,EAAE,UAAU,GAAI;eAAE;MAAQ;KACtB;mBACnB,KAAC,MAAA,EAAA,UAAA,CAAM,KAAK,MAAM,OAAO,IAAI,EAAC,GAAA,EAAA,EAAQ;mBACtC,IAAC,kBAAA;IAAiB,SAAS;IAAU,oBAAmB;8BACtD,IAAC,MAAA;KAAK,OAAO,EAAE,UAAU,GAAI;eAAE;MAAQ;KACtB;;GACd;AAEV;;;;ACbD,SAAgB,YAAY,EAAE,SAAS,OAAO,QAAQ,OAAyB,EAAE;AAC/E,wBACE,IAAC,kBAAA;EAAiB,SAAS;EAAgB;EAAO,oBAAmB;4BACnE,IAAC,MAAA,EAAA,UAAM,MAAA,EAAa;GACH;AAEtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panscale/react-native",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0",
|
|
25
25
|
"react-native": ">=0.71.0",
|
|
26
|
-
"@panscale/core": "0.3.
|
|
26
|
+
"@panscale/core": "0.3.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@arethetypeswrong/cli": "^0.17.4",
|
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
"tsdown": "^0.10.2",
|
|
34
34
|
"transformation-matrix": "^3.0.0",
|
|
35
35
|
"typescript": "^5.7.3",
|
|
36
|
-
"@panscale/core": "0.3.
|
|
36
|
+
"@panscale/core": "0.3.2"
|
|
37
|
+
},
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/PanScale/PanScale.git",
|
|
41
|
+
"directory": "packages/panscale-react-native"
|
|
37
42
|
},
|
|
38
43
|
"scripts": {
|
|
39
44
|
"build": "tsdown",
|