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 +5 -1
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +5 -1
- package/dist/test.native.js.map +2 -2
- package/package.json +55 -55
package/dist/test.native.js
CHANGED
|
@@ -7166,6 +7166,8 @@ var require_useThemeState_native = __commonJS({
|
|
|
7166
7166
|
if (name && reset) throw new Error("Cannot reset and set a new name at the same time.");
|
|
7167
7167
|
var { themes: themes2 } = (0, import_config.getConfig)();
|
|
7168
7168
|
if (reset) {
|
|
7169
|
+
var isSchemeOnly = parentName === "light" || parentName === "dark";
|
|
7170
|
+
if (isSchemeOnly) return parentName === "light" ? "dark" : "light";
|
|
7169
7171
|
var lastPartIndex = parentName.lastIndexOf("_"), name1 = lastPartIndex <= 0 ? parentName : parentName.slice(lastPartIndex), scheme = parentName.slice(0, lastPartIndex), result = themes2[name1] ? name1 : scheme;
|
|
7170
7172
|
return result;
|
|
7171
7173
|
}
|
|
@@ -23392,7 +23394,8 @@ var require_ListItem_native = __commonJS({
|
|
|
23392
23394
|
});
|
|
23393
23395
|
}), ListItem2 = (0, import_helpers.withStaticProperties)(ListItemComponent, {
|
|
23394
23396
|
Text: ListItemText,
|
|
23395
|
-
Subtitle: ListItemSubtitle
|
|
23397
|
+
Subtitle: ListItemSubtitle,
|
|
23398
|
+
Title: ListItemTitle
|
|
23396
23399
|
});
|
|
23397
23400
|
}
|
|
23398
23401
|
});
|
|
@@ -23974,6 +23977,7 @@ var require_Popper_native = __commonJS({
|
|
|
23974
23977
|
]);
|
|
23975
23978
|
var stackProps = anchorProps, refProps = getReferenceProps ? getReferenceProps(stackProps) : null, composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref);
|
|
23976
23979
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.View, {
|
|
23980
|
+
...stackProps,
|
|
23977
23981
|
...refProps,
|
|
23978
23982
|
ref: composedRefs,
|
|
23979
23983
|
// this helps us with handling scoped poppers with many different targets
|