@tamagui/core 1.113.0 → 1.113.1
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.js +23 -18
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +9 -3
- package/dist/test.native.js.map +2 -2
- package/package.json +6 -6
package/dist/test.native.js
CHANGED
|
@@ -3463,7 +3463,7 @@ var require_useTheme_native = __commonJS({
|
|
|
3463
3463
|
var _props_shouldUpdate2;
|
|
3464
3464
|
return next;
|
|
3465
3465
|
}), { themeManager, state } = changedThemeState, themeProxied = import_react3.default.useMemo(function() {
|
|
3466
|
-
return !themeManager || !(state != null && state.theme) ? {} : getThemeProxied(state, props.deopt, themeManager, keys.current, props.debug);
|
|
3466
|
+
return keys.current = [], !themeManager || !(state != null && state.theme) ? {} : getThemeProxied(state, props.deopt, themeManager, keys.current, props.debug);
|
|
3467
3467
|
}, [
|
|
3468
3468
|
state == null ? void 0 : state.theme,
|
|
3469
3469
|
themeManager,
|
|
@@ -3500,7 +3500,7 @@ var require_useTheme_native = __commonJS({
|
|
|
3500
3500
|
// when they touch the actual value we only track it
|
|
3501
3501
|
// if its a variable (web), its ignored!
|
|
3502
3502
|
get(_2, subkey) {
|
|
3503
|
-
if (subkey === "val") track(keyString);
|
|
3503
|
+
if (subkey === "val") globalThis.tamaguiAvoidTracking || track(keyString);
|
|
3504
3504
|
else if (subkey === "get") return function(platform) {
|
|
3505
3505
|
var outVal = (0, import_createVariable.getVariable)(val);
|
|
3506
3506
|
if (platform !== "web" && import_constants2.isIos && !deopt && (0, import_config.getSetting)("fastSchemeChange") && !someParentIsInversed(themeManager) && scheme) {
|
|
@@ -3515,6 +3515,8 @@ var require_useTheme_native = __commonJS({
|
|
|
3515
3515
|
return dynamicVal;
|
|
3516
3516
|
}
|
|
3517
3517
|
}
|
|
3518
|
+
if (0)
|
|
3519
|
+
var _themeManager_parentManager;
|
|
3518
3520
|
return track(keyString), outVal;
|
|
3519
3521
|
};
|
|
3520
3522
|
return Reflect.get(val, subkey);
|
|
@@ -6290,7 +6292,11 @@ var require_propMapper_native = __commonJS({
|
|
|
6290
6292
|
if ((0, import_createVariable.isVariable)(valOrVar)) {
|
|
6291
6293
|
if (resolveValues === "value") return valOrVar.val;
|
|
6292
6294
|
var get = valOrVar == null ? void 0 : valOrVar.get;
|
|
6293
|
-
|
|
6295
|
+
if (key !== "shadowColor" && typeof get == "function") {
|
|
6296
|
+
var resolveDynamicFor = resolveValues === "web" ? "web" : void 0;
|
|
6297
|
+
return get(resolveDynamicFor);
|
|
6298
|
+
}
|
|
6299
|
+
return valOrVar.val;
|
|
6294
6300
|
}
|
|
6295
6301
|
return valOrVar;
|
|
6296
6302
|
}
|