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 +9 -3
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +24 -3
- package/dist/test.native.js.map +2 -2
- package/package.json +54 -54
package/dist/test.native.js
CHANGED
|
@@ -3600,7 +3600,7 @@ var require_ThemeManager_native = __commonJS({
|
|
|
3600
3600
|
var prefix = base.slice(0, i).join(import_constants22.THEME_NAME_SEPARATOR);
|
|
3601
3601
|
props.inverse && (prefix = inverseThemeName(prefix));
|
|
3602
3602
|
var potentials = [];
|
|
3603
|
-
if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
|
|
3603
|
+
if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
|
|
3604
3604
|
var lastSegment = potentials.findIndex(function(x) {
|
|
3605
3605
|
return !x.includes("_");
|
|
3606
3606
|
});
|
|
@@ -7261,6 +7261,21 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7261
7261
|
}
|
|
7262
7262
|
return target;
|
|
7263
7263
|
}
|
|
7264
|
+
function ownKeys8(object, enumerableOnly) {
|
|
7265
|
+
var keys = Object.keys(object);
|
|
7266
|
+
if (Object.getOwnPropertySymbols) {
|
|
7267
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
7268
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
7269
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7270
|
+
})), keys.push.apply(keys, symbols);
|
|
7271
|
+
}
|
|
7272
|
+
return keys;
|
|
7273
|
+
}
|
|
7274
|
+
function _object_spread_props8(target, source) {
|
|
7275
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys8(Object(source)).forEach(function(key) {
|
|
7276
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7277
|
+
}), target;
|
|
7278
|
+
}
|
|
7264
7279
|
function _sliced_to_array(arr, i) {
|
|
7265
7280
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array2(arr, i) || _non_iterable_rest();
|
|
7266
7281
|
}
|
|
@@ -7723,7 +7738,13 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7723
7738
|
}, useSplitStyles = function(a, b, c, d, e, f, g, h, i, j) {
|
|
7724
7739
|
var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j);
|
|
7725
7740
|
return res;
|
|
7726
|
-
}, animatableDefaults = {
|
|
7741
|
+
}, 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) {
|
|
7742
|
+
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
|
|
7743
|
+
return [
|
|
7744
|
+
k,
|
|
7745
|
+
defaultColor
|
|
7746
|
+
];
|
|
7747
|
+
}))), {
|
|
7727
7748
|
opacity: 1,
|
|
7728
7749
|
scale: 1,
|
|
7729
7750
|
rotate: "0deg",
|
|
@@ -7732,7 +7753,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7732
7753
|
x: 0,
|
|
7733
7754
|
y: 0,
|
|
7734
7755
|
borderRadius: 0
|
|
7735
|
-
}, lowercaseHyphenate = function(match) {
|
|
7756
|
+
}), lowercaseHyphenate = function(match) {
|
|
7736
7757
|
return "-".concat(match.toLowerCase());
|
|
7737
7758
|
}, hyphenate = function(str) {
|
|
7738
7759
|
return str.replace(/[A-Z]/g, lowercaseHyphenate);
|