@tamagui/core 1.111.3 → 1.111.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from "@tamagui/constants";
|
|
2
|
-
import { getBoundingClientRect } from "../helpers/getBoundingClientRect.mjs";
|
|
2
|
+
import { getBoundingClientRect } from "../helpers/getBoundingClientRect.native.mjs";
|
|
3
3
|
function _type_of(obj) {
|
|
4
4
|
"@swc/helpers - typeof";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from "@tamagui/constants";
|
|
2
|
-
import { getRect } from "../helpers/getRect.mjs";
|
|
3
|
-
import { measureLayout } from "./useElementLayout.mjs";
|
|
2
|
+
import { getRect } from "../helpers/getRect.native.mjs";
|
|
3
|
+
import { measureLayout } from "./useElementLayout.native.mjs";
|
|
4
4
|
function usePlatformMethods(hostRef) {
|
|
5
5
|
useIsomorphicLayoutEffect(function () {
|
|
6
6
|
var node = hostRef.current;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "@tamagui/react-native-use-responder-events";
|
|
3
3
|
import { Stack as WebStack, Text as WebText, View as WebView, composeEventHandlers, setupHooks } from "@tamagui/web";
|
|
4
|
-
import { createOptimizedView } from "./createOptimizedView.mjs";
|
|
5
|
-
import { getBaseViews } from "./getBaseViews.mjs";
|
|
6
|
-
import "./hooks/useElementLayout.mjs";
|
|
7
|
-
import "./hooks/usePlatformMethods.mjs";
|
|
8
|
-
import { usePressability } from "./vendor/Pressability.mjs";
|
|
4
|
+
import { createOptimizedView } from "./createOptimizedView.native.mjs";
|
|
5
|
+
import { getBaseViews } from "./getBaseViews.native.mjs";
|
|
6
|
+
import "./hooks/useElementLayout.native.mjs";
|
|
7
|
+
import "./hooks/usePlatformMethods.native.mjs";
|
|
8
|
+
import { usePressability } from "./vendor/Pressability.native.mjs";
|
|
9
9
|
export * from "@tamagui/web";
|
|
10
|
-
export * from "./reactNativeTypes.mjs";
|
|
10
|
+
export * from "./reactNativeTypes.native.mjs";
|
|
11
11
|
var baseViews = getBaseViews();
|
|
12
12
|
setupHooks({
|
|
13
13
|
getBaseViews,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Stack","WebStack","Text","WebText","View","WebView","composeEventHandlers","setupHooks","createOptimizedView","getBaseViews","usePressability","baseViews","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","hostRef","href","download","rel","target","useEvents","viewProps","events","param","setStateShallow","staticConfig","pseudos","onFocus","onBlur","isInput","onPressIn","onPressOut","onPress","inputEvents","Object","assign","hitSlop","pressability","process","env","NODE_ENV","debug","console","info","keys","key","og","val","dontComposePressabilityKeys","useChildren","children","TAMAGUI_OPTIMIZE_NATIVE_VIEWS","createElement","onClick"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAClB,mDAAmC;AAYnC,SAAAC,KAAA,IAAAC,QAAA,EAAAC,IAAA,IAAAC,OAAA,EAAAC,IAAA,IAAAC,OAAA,EAAAC,oBAAA,EAAAC,UAAA;AAAA,SACEC,mBAAS;AAAA,SACTC,YAAQ;AAAA,OACR,
|
|
1
|
+
{"version":3,"names":["React","Stack","WebStack","Text","WebText","View","WebView","composeEventHandlers","setupHooks","createOptimizedView","getBaseViews","usePressability","baseViews","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","hostRef","href","download","rel","target","useEvents","viewProps","events","param","setStateShallow","staticConfig","pseudos","onFocus","onBlur","isInput","onPressIn","onPressOut","onPress","inputEvents","Object","assign","hitSlop","pressability","process","env","NODE_ENV","debug","console","info","keys","key","og","val","dontComposePressabilityKeys","useChildren","children","TAMAGUI_OPTIMIZE_NATIVE_VIEWS","createElement","onClick"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAClB,mDAAmC;AAYnC,SAAAC,KAAA,IAAAC,QAAA,EAAAC,IAAA,IAAAC,OAAA,EAAAC,IAAA,IAAAC,OAAA,EAAAC,oBAAA,EAAAC,UAAA;AAAA,SACEC,mBAAS;AAAA,SACTC,YAAQ;AAAA,OACR,qCAAQ;AAAA,OAER;AAAA,SACKC,eAAA;AAEP,cAAoC;AACpC,cAAS,+BAAoB;AAC7B,IAAAC,SAAS,GAAAF,YAAA;AACTF,UAAS;EAETE,YAAgC;EA+BhCG,iBAAcA,CAAAC,WAAA,EAAAC,OAAA,EAAAC,QAAA,EAAAC,WAAA;IAGd;MAEM,IAAAC,KAAA,EAAAC,wBAAyB,EAAAC,+BAAA,EAAAC,cAAA,EAAAC,gBAAA,EAAAC,eAAA,EAAAC,iBAAA,EAAAC,kBAAA,EAAAC,gBAAA,EAAAC,oBAAA,EAAAC,6BAAA,EAAAC,0BAAA,EAAAC,iCAAA,EAAAC,mCAAA,EAAAC,0CAAA,EAAAC,yBAAA,EAAAC,gCAAA,EAAAC,WAAA,EAAAC,SAAA,EAAAC,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AAA;QACA,IAAAS,EAAA,GAAAzB,SAAA,CAAAwB,GAAA;UAAAE,GAAA,GAAAV,YAAA,CAAAQ,GAAA;QAAAxB,SAAA,CAAAwB,GAAA,IAAAC,EAAA,KAAAE,2BAAA,CAAAH,GAAA,IAAAjE,oBAAA,CAAAkE,EAAA,EAAAC,GAAA,IAAAA,GAAA;MAGA;IAAA;EACA;EAAAE,WAGAA,CAAA9D,WAAA,EAAA+D,QAAA,EAAA7B,SAAA,EAAAC,MAAA,EAAAG,YAAA;IAAA,IACAa,OAAA,CAAAC,GAAA,CAAAC,QAAA;MAAA,IAEArD,WAAA,KAAAF,SAAA,CAAAP,IAAA,EACA,OAAAI,mBAAA,CAAAoE,QAAA,EAAA7B,SAAA,EAAApC,SAAA;MAAA,IAEAqD,OAAG,CAAAC,GAAA,CAAAY,6BAAA,IAAAhE,WAAA,KAAAF,SAAA,CAAAT,IAAA,EACL,OAAI6C,SAAA,CAAA6B,QAAA,GAAAA,QAAA,iBAAA7E,KAAA,CAAA+E,aAAA,YAAA/B,SAAA;IAEJ;EAEE;AAAsB;AACb,IAAA2B,2BACS;IACZK,OAAA;EAAwB;EAAA3E,IAAA,GAAAC,OAC1B;EAAAL,KAAA,GAAAC,QAAA;EAAAC,IAAA,GAAAC,OAAA;AAAA,SACFH,KAAA,EACSE,IAAA,EAEXE,IAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/core",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.5",
|
|
4
4
|
"source": "src/index.tsx",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"native-test.d.ts"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/react-native-use-pressable": "1.111.
|
|
39
|
-
"@tamagui/react-native-use-responder-events": "1.111.
|
|
40
|
-
"@tamagui/use-event": "1.111.
|
|
41
|
-
"@tamagui/web": "1.111.
|
|
38
|
+
"@tamagui/react-native-use-pressable": "1.111.5",
|
|
39
|
+
"@tamagui/react-native-use-responder-events": "1.111.5",
|
|
40
|
+
"@tamagui/use-event": "1.111.5",
|
|
41
|
+
"@tamagui/web": "1.111.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "1.111.
|
|
44
|
+
"@tamagui/build": "1.111.5",
|
|
45
45
|
"@testing-library/react": "^16.0.0",
|
|
46
46
|
"csstype": "^3.0.10",
|
|
47
47
|
"typescript": "^5.5.2",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"./package.json": "./package.json",
|
|
52
52
|
"./reset.css": "./reset.css",
|
|
53
53
|
".": {
|
|
54
|
-
"react-native-import": "./dist/esm/index.native.
|
|
54
|
+
"react-native-import": "./dist/esm/index.native.mjs",
|
|
55
55
|
"react-native": "./dist/cjs/index.native.js",
|
|
56
56
|
"types": "./types/index.d.ts",
|
|
57
57
|
"import": "./dist/esm/index.mjs",
|