tamagui 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 +55 -55
package/dist/test.native.js
CHANGED
|
@@ -4155,7 +4155,7 @@ var require_useTheme_native = __commonJS({
|
|
|
4155
4155
|
isNewTheme2 && registerThemeManager(themeManager2);
|
|
4156
4156
|
var isWebSSR = import_constants4.isWeb ? !(0, import_config.getConfig)().disableSSR : !1, mounted2 = isWebSSR ? isRoot || (prev == null ? void 0 : prev.mounted) : !0;
|
|
4157
4157
|
state2 || (isNewTheme2 ? state2 = themeManager2.state : (state2 = parentManager.state, themeManager2 = parentManager));
|
|
4158
|
-
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 = {
|
|
4158
|
+
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 = {
|
|
4159
4159
|
themeManager: themeManager2,
|
|
4160
4160
|
isNewTheme: isNewTheme2,
|
|
4161
4161
|
mounted: mounted2,
|
|
@@ -9136,7 +9136,7 @@ var require_createComponent_native = __commonJS({
|
|
|
9136
9136
|
shallow: curStateRef.themeShallow,
|
|
9137
9137
|
debug: debugProp
|
|
9138
9138
|
};
|
|
9139
|
-
if ("themeInverse" in props && (themeStateProps.inverse = props.themeInverse), "
|
|
9139
|
+
if ("themeInverse" in props && (themeStateProps.inverse = props.themeInverse), "theme" in props && (themeStateProps.name = props.theme), typeof curStateRef.isListeningToTheme == "boolean" && (themeStateProps.shouldUpdate = function() {
|
|
9140
9140
|
return stateRef.current.isListeningToTheme;
|
|
9141
9141
|
}), themeStateProps.deopt = willBeAnimated, !1) {
|
|
9142
9142
|
var name, type, dataIs, banner;
|