@tamagui/core 1.98.2 → 1.98.4
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 +2 -2
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +2 -2
- package/dist/test.native.js.map +1 -1
- package/package.json +6 -6
package/dist/test.native.js
CHANGED
|
@@ -4051,7 +4051,7 @@ var require_useTheme_native = __commonJS({
|
|
|
4051
4051
|
isNewTheme2 && registerThemeManager(themeManager2);
|
|
4052
4052
|
var isWebSSR = import_constants.isWeb ? !(0, import_config.getConfig)().disableSSR : !1, mounted2 = isWebSSR ? isRoot || (prev == null ? void 0 : prev.mounted) : !0;
|
|
4053
4053
|
state2 || (isNewTheme2 ? state2 = themeManager2.state : (state2 = parentManager.state, themeManager2 = parentManager));
|
|
4054
|
-
var wasInversed = prev == null ? void 0 : prev.inversed, isInherentlyInversed = isNewTheme2 && state2.scheme !== (parentManager == null ? void 0 : parentManager.state.scheme), inversed2 = isInherentlyInversed ? !0 : isWebSSR ? wasInversed != null ? !1 : null : props.inverse, response = {
|
|
4054
|
+
var wasInversed = prev == null ? void 0 : prev.inversed, isInherentlyInversed = isNewTheme2 && state2.scheme !== (parentManager == null ? void 0 : parentManager.state.scheme), inversed2 = isRoot ? !1 : isInherentlyInversed ? !0 : isWebSSR ? wasInversed != null ? !1 : null : props.inverse, response = {
|
|
4055
4055
|
themeManager: themeManager2,
|
|
4056
4056
|
isNewTheme: isNewTheme2,
|
|
4057
4057
|
mounted: mounted2,
|
|
@@ -9032,7 +9032,7 @@ var require_createComponent_native = __commonJS({
|
|
|
9032
9032
|
shallow: curStateRef.themeShallow,
|
|
9033
9033
|
debug: debugProp
|
|
9034
9034
|
};
|
|
9035
|
-
if ("themeInverse" in props && (themeStateProps.inverse = props.themeInverse), "
|
|
9035
|
+
if ("themeInverse" in props && (themeStateProps.inverse = props.themeInverse), "theme" in props && (themeStateProps.name = props.theme), typeof curStateRef.isListeningToTheme == "boolean" && (themeStateProps.shouldUpdate = function() {
|
|
9036
9036
|
return stateRef.current.isListeningToTheme;
|
|
9037
9037
|
}), themeStateProps.deopt = willBeAnimated, !1) {
|
|
9038
9038
|
var name, type, dataIs, banner;
|