tamagui 1.74.1 → 1.74.2

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.
@@ -3391,6 +3391,7 @@ var require_useTheme_native = __commonJS({
3391
3391
  function getThemeProxied({ theme, name }, deopt = !1, themeManager, keys, debug) {
3392
3392
  if (!theme)
3393
3393
  return {};
3394
+ let config = (0, import_config.getConfig)();
3394
3395
  function track(key) {
3395
3396
  keys && !keys.includes(key) && keys.push(key);
3396
3397
  }
@@ -3420,13 +3421,13 @@ var require_useTheme_native = __commonJS({
3420
3421
  else if (subkey === "get")
3421
3422
  return () => {
3422
3423
  let outVal = (0, import_createVariable.getVariable)(val);
3423
- if (import_constants.isIos && !deopt) {
3424
+ if (import_constants.isIos && !deopt && config.settings.fastSchemeChange) {
3424
3425
  let isDark = name.startsWith("dark"), isLight = !isDark && name.startsWith("light");
3425
3426
  if (isDark || isLight) {
3426
3427
  let oppositeThemeName = name.replace(
3427
3428
  isDark ? "dark" : "light",
3428
3429
  isDark ? "light" : "dark"
3429
- ), oppositeTheme = (0, import_config.getConfig)().themes[oppositeThemeName], oppositeVal = (0, import_createVariable.getVariable)(oppositeTheme == null ? void 0 : oppositeTheme[keyString]);
3430
+ ), oppositeTheme = config.themes[oppositeThemeName], oppositeVal = (0, import_createVariable.getVariable)(oppositeTheme == null ? void 0 : oppositeTheme[keyString]);
3430
3431
  if (oppositeVal)
3431
3432
  return {
3432
3433
  dynamic: {
@@ -3904,7 +3905,7 @@ var require_createComponent_native = __commonJS({
3904
3905
  ),
3905
3906
  debug: debugProp
3906
3907
  };
3907
- themeStateProps.deopt = config != null && config.settings.fastSchemeChange ? willBeAnimated : !0;
3908
+ themeStateProps.deopt = willBeAnimated;
3908
3909
  let isExiting = !state.unmounted && (presence == null ? void 0 : presence[0]) === !1, [themeState, theme] = (0, import_useTheme.useThemeWithState)(themeStateProps);
3909
3910
  elementType = Component || elementType;
3910
3911
  let isStringElement = typeof elementType == "string", mediaState3 = (0, import_useMedia.useMedia)(stateRef, componentContext);
@@ -12642,8 +12643,7 @@ var require_Group_native = __commonJS({
12642
12643
  variants: {
12643
12644
  unstyled: {
12644
12645
  false: {
12645
- size: "$true",
12646
- y: 0
12646
+ size: "$true"
12647
12647
  }
12648
12648
  },
12649
12649
  size: (val, { tokens }) => ({