@tamagui/core 3.0.15 → 3.0.17
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/native.cjs +15 -2
- package/dist/test.native.cjs +15 -2
- package/package.json +13 -13
package/dist/native.cjs
CHANGED
|
@@ -15058,8 +15058,17 @@ function updateNativeStyleLink(ref, host) {
|
|
|
15058
15058
|
ref.nativeLink.unlink();
|
|
15059
15059
|
ref.nativeLink = null;
|
|
15060
15060
|
}
|
|
15061
|
-
ref.
|
|
15062
|
-
|
|
15061
|
+
if (host && engine && ref.nativeStyleUpdate) {
|
|
15062
|
+
var _ref_nativePushedKeys;
|
|
15063
|
+
ref.nativeLink = engine.link(host, {});
|
|
15064
|
+
if (host !== ref.nativeHost) {
|
|
15065
|
+
ref.nativeHost = host;
|
|
15066
|
+
ref.nativePushedKeys = void 0;
|
|
15067
|
+
} else if (ref.nativeLink && ((_ref_nativePushedKeys = ref.nativePushedKeys) === null || _ref_nativePushedKeys === void 0 ? void 0 : _ref_nativePushedKeys.size)) {
|
|
15068
|
+
var _ref_nativeResync;
|
|
15069
|
+
(_ref_nativeResync = ref.nativeResync) === null || _ref_nativeResync === void 0 || _ref_nativeResync.call(ref);
|
|
15070
|
+
}
|
|
15071
|
+
}
|
|
15063
15072
|
}
|
|
15064
15073
|
function queueNativeViewState(entry) {
|
|
15065
15074
|
if (!engine) return;
|
|
@@ -19387,6 +19396,10 @@ function createComponent(staticConfig) {
|
|
|
19387
19396
|
}
|
|
19388
19397
|
return true;
|
|
19389
19398
|
} : void 0;
|
|
19399
|
+
stateRef.current.nativeResync = canNativeUpdate ? function() {
|
|
19400
|
+
var style2 = splitStyles.style;
|
|
19401
|
+
if (style2) pushViewState((themeState === null || themeState === void 0 ? void 0 : themeState.name) || "", style2);
|
|
19402
|
+
} : void 0;
|
|
19390
19403
|
if (canNativeUpdate && stateRef.current.nativeLink) {
|
|
19391
19404
|
var sr = stateRef.current;
|
|
19392
19405
|
var style = splitStyles.style;
|
package/dist/test.native.cjs
CHANGED
|
@@ -4119,8 +4119,17 @@ function updateNativeStyleLink(ref, host) {
|
|
|
4119
4119
|
ref.nativeLink.unlink();
|
|
4120
4120
|
ref.nativeLink = null;
|
|
4121
4121
|
}
|
|
4122
|
-
ref.
|
|
4123
|
-
|
|
4122
|
+
if (host && engine && ref.nativeStyleUpdate) {
|
|
4123
|
+
var _ref_nativePushedKeys;
|
|
4124
|
+
ref.nativeLink = engine.link(host, {});
|
|
4125
|
+
if (host !== ref.nativeHost) {
|
|
4126
|
+
ref.nativeHost = host;
|
|
4127
|
+
ref.nativePushedKeys = void 0;
|
|
4128
|
+
} else if (ref.nativeLink && ((_ref_nativePushedKeys = ref.nativePushedKeys) === null || _ref_nativePushedKeys === void 0 ? void 0 : _ref_nativePushedKeys.size)) {
|
|
4129
|
+
var _ref_nativeResync;
|
|
4130
|
+
(_ref_nativeResync = ref.nativeResync) === null || _ref_nativeResync === void 0 || _ref_nativeResync.call(ref);
|
|
4131
|
+
}
|
|
4132
|
+
}
|
|
4124
4133
|
}
|
|
4125
4134
|
var superseded = null;
|
|
4126
4135
|
function queueNativeViewState(entry) {
|
|
@@ -9000,6 +9009,10 @@ ${banner}
|
|
|
9000
9009
|
}
|
|
9001
9010
|
return true;
|
|
9002
9011
|
} : void 0;
|
|
9012
|
+
stateRef.current.nativeResync = canNativeUpdate ? function() {
|
|
9013
|
+
var style2 = splitStyles.style;
|
|
9014
|
+
if (style2) pushViewState((themeState === null || themeState === void 0 ? void 0 : themeState.name) || "", style2);
|
|
9015
|
+
} : void 0;
|
|
9003
9016
|
if (canNativeUpdate && stateRef.current.nativeLink) {
|
|
9004
9017
|
var sr = stateRef.current;
|
|
9005
9018
|
var style = splitStyles.style;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.17",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -137,19 +137,19 @@
|
|
|
137
137
|
"clean:build": "tamagui-build clean:build"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@tamagui/compose-refs": "3.0.
|
|
141
|
-
"@tamagui/constants": "3.0.
|
|
142
|
-
"@tamagui/helpers": "3.0.
|
|
143
|
-
"@tamagui/react-native-media-driver": "3.0.
|
|
144
|
-
"@tamagui/react-native-use-pressable": "3.0.
|
|
145
|
-
"@tamagui/use-element-layout": "3.0.
|
|
146
|
-
"@tamagui/use-event": "3.0.
|
|
147
|
-
"@tamagui/web": "3.0.
|
|
140
|
+
"@tamagui/compose-refs": "3.0.17",
|
|
141
|
+
"@tamagui/constants": "3.0.17",
|
|
142
|
+
"@tamagui/helpers": "3.0.17",
|
|
143
|
+
"@tamagui/react-native-media-driver": "3.0.17",
|
|
144
|
+
"@tamagui/react-native-use-pressable": "3.0.17",
|
|
145
|
+
"@tamagui/use-element-layout": "3.0.17",
|
|
146
|
+
"@tamagui/use-event": "3.0.17",
|
|
147
|
+
"@tamagui/web": "3.0.17"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
150
|
-
"@tamagui/build": "3.0.
|
|
151
|
-
"@tamagui/native-bundle": "3.0.
|
|
152
|
-
"@tamagui/react-native-web-lite": "3.0.
|
|
150
|
+
"@tamagui/build": "3.0.17",
|
|
151
|
+
"@tamagui/native-bundle": "3.0.17",
|
|
152
|
+
"@tamagui/react-native-web-lite": "3.0.17",
|
|
153
153
|
"@testing-library/react": "^16.1.0",
|
|
154
154
|
"csstype": "^3.0.10",
|
|
155
155
|
"react": "19.2.3",
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
"./dist/cjs": "./dist/esm/index.native.js",
|
|
165
165
|
"./theme-update": "./dist/esm/theme-update.native.js"
|
|
166
166
|
},
|
|
167
|
-
"releaseSourceCommit": "
|
|
167
|
+
"releaseSourceCommit": "b46117022739022f739389298a311f5a3fecf60a"
|
|
168
168
|
}
|