tamagui 1.90.11 → 1.90.13

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
@@ -3814,7 +3814,7 @@ var require_ThemeManager_native = __commonJS({
3814
3814
  var prefix = base.slice(0, i).join(import_constants22.THEME_NAME_SEPARATOR);
3815
3815
  props.inverse && (prefix = inverseThemeName(prefix));
3816
3816
  var potentials = [];
3817
- if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3817
+ if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3818
3818
  var lastSegment = potentials.findIndex(function(x) {
3819
3819
  return !x.includes("_");
3820
3820
  });
@@ -8232,7 +8232,13 @@ current`, _object_spread9({}, styleState.style)));
8232
8232
  }, useSplitStyles = function(a, b, c, d, e, f, g, h, i, j) {
8233
8233
  var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j);
8234
8234
  return res;
8235
- }, animatableDefaults = {
8235
+ }, defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = _object_spread_props8(_object_spread9({}, Object.fromEntries(Object.entries(import_helpers.tokenCategories.color).map(function(param) {
8236
+ var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
8237
+ return [
8238
+ k,
8239
+ defaultColor
8240
+ ];
8241
+ }))), {
8236
8242
  opacity: 1,
8237
8243
  scale: 1,
8238
8244
  rotate: "0deg",
@@ -8241,7 +8247,7 @@ current`, _object_spread9({}, styleState.style)));
8241
8247
  x: 0,
8242
8248
  y: 0,
8243
8249
  borderRadius: 0
8244
- }, lowercaseHyphenate = function(match) {
8250
+ }), lowercaseHyphenate = function(match) {
8245
8251
  return "-".concat(match.toLowerCase());
8246
8252
  }, hyphenate = function(str) {
8247
8253
  return str.replace(/[A-Z]/g, lowercaseHyphenate);