tamagui 1.131.1 → 1.131.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.
package/dist/native.js CHANGED
@@ -7563,6 +7563,8 @@ var require_useThemeState_native = __commonJS({
7563
7563
  if (name && reset) throw new Error(process.env.NODE_ENV === "production" ? "\u274C004" : "Cannot reset and set a new name at the same time.");
7564
7564
  var { themes: themes2 } = (0, import_config.getConfig)();
7565
7565
  if (reset) {
7566
+ var isSchemeOnly = parentName === "light" || parentName === "dark";
7567
+ if (isSchemeOnly) return parentName === "light" ? "dark" : "light";
7566
7568
  var lastPartIndex = parentName.lastIndexOf("_"), name1 = lastPartIndex <= 0 ? parentName : parentName.slice(lastPartIndex), scheme = parentName.slice(0, lastPartIndex), result = themes2[name1] ? name1 : scheme;
7567
7569
  return result;
7568
7570
  }
@@ -24078,7 +24080,8 @@ var require_ListItem_native = __commonJS({
24078
24080
  });
24079
24081
  }), ListItem2 = (0, import_helpers.withStaticProperties)(ListItemComponent, {
24080
24082
  Text: ListItemText,
24081
- Subtitle: ListItemSubtitle
24083
+ Subtitle: ListItemSubtitle,
24084
+ Title: ListItemTitle
24082
24085
  });
24083
24086
  }
24084
24087
  });
@@ -24660,6 +24663,7 @@ var require_Popper_native = __commonJS({
24660
24663
  ]);
24661
24664
  var stackProps = anchorProps, refProps = getReferenceProps ? getReferenceProps(stackProps) : null, composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref);
24662
24665
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.View, {
24666
+ ...stackProps,
24663
24667
  ...refProps,
24664
24668
  ref: composedRefs,
24665
24669
  // this helps us with handling scoped poppers with many different targets