@tamagui/core 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
@@ -3717,7 +3717,7 @@ var require_ThemeManager_native = __commonJS({
3717
3717
  var prefix = base.slice(0, i).join(import_constants2.THEME_NAME_SEPARATOR);
3718
3718
  props.inverse && (prefix = inverseThemeName(prefix));
3719
3719
  var potentials = [];
3720
- if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3720
+ if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3721
3721
  var lastSegment = potentials.findIndex(function(x) {
3722
3722
  return !x.includes("_");
3723
3723
  });
@@ -8135,7 +8135,13 @@ current`, _object_spread2({}, styleState.style)));
8135
8135
  }, useSplitStyles = function(a, b, c, d, e, f, g, h, i, j) {
8136
8136
  var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j);
8137
8137
  return res;
8138
- }, animatableDefaults = {
8138
+ }, defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = _object_spread_props(_object_spread2({}, Object.fromEntries(Object.entries(import_helpers.tokenCategories.color).map(function(param) {
8139
+ var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
8140
+ return [
8141
+ k,
8142
+ defaultColor
8143
+ ];
8144
+ }))), {
8139
8145
  opacity: 1,
8140
8146
  scale: 1,
8141
8147
  rotate: "0deg",
@@ -8144,7 +8150,7 @@ current`, _object_spread2({}, styleState.style)));
8144
8150
  x: 0,
8145
8151
  y: 0,
8146
8152
  borderRadius: 0
8147
- }, lowercaseHyphenate = function(match) {
8153
+ }), lowercaseHyphenate = function(match) {
8148
8154
  return "-".concat(match.toLowerCase());
8149
8155
  }, hyphenate = function(str) {
8150
8156
  return str.replace(/[A-Z]/g, lowercaseHyphenate);