@panscale/react-native 0.3.2 → 0.3.3
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 +5 -5
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_native3 from "react-native";
|
|
2
2
|
import { ViewStyle } from "react-native";
|
|
3
3
|
import { Scaler, ScalerOptions, ScalerValues } from "@panscale/core";
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
5
|
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
|
-
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
6
6
|
import * as react_jsx_runtime0 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_native3.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_runtime1.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_runtime2.JSX.Element;
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/ui/reset-button.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panscale/react-native",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"README.md"
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
|
+
"@panscale/core": "^0.3.2 || ^0.4.0",
|
|
24
25
|
"react": "^18.0.0 || ^19.0.0",
|
|
25
|
-
"react-native": ">=0.71.0"
|
|
26
|
-
"@panscale/core": "0.3.2"
|
|
26
|
+
"react-native": ">=0.71.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@arethetypeswrong/cli": "^0.17.4",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tsdown": "^0.10.2",
|
|
34
34
|
"transformation-matrix": "^3.0.0",
|
|
35
35
|
"typescript": "^5.7.3",
|
|
36
|
-
"@panscale/core": "0.
|
|
36
|
+
"@panscale/core": "0.4.0"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|