@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 +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 +6 -6
package/dist/test.native.js
CHANGED
|
@@ -3499,7 +3499,7 @@ var require_ThemeManager_native = __commonJS({
|
|
|
3499
3499
|
var prefix = base.slice(0, i).join(import_constants2.THEME_NAME_SEPARATOR);
|
|
3500
3500
|
props.inverse && (prefix = inverseThemeName(prefix));
|
|
3501
3501
|
var potentials = [];
|
|
3502
|
-
if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
|
|
3502
|
+
if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
|
|
3503
3503
|
var lastSegment = potentials.findIndex(function(x) {
|
|
3504
3504
|
return !x.includes("_");
|
|
3505
3505
|
});
|
|
@@ -7160,6 +7160,21 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7160
7160
|
}
|
|
7161
7161
|
return target;
|
|
7162
7162
|
}
|
|
7163
|
+
function ownKeys(object, enumerableOnly) {
|
|
7164
|
+
var keys = Object.keys(object);
|
|
7165
|
+
if (Object.getOwnPropertySymbols) {
|
|
7166
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
7167
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
7168
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7169
|
+
})), keys.push.apply(keys, symbols);
|
|
7170
|
+
}
|
|
7171
|
+
return keys;
|
|
7172
|
+
}
|
|
7173
|
+
function _object_spread_props(target, source) {
|
|
7174
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
7175
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7176
|
+
}), target;
|
|
7177
|
+
}
|
|
7163
7178
|
function _sliced_to_array(arr, i) {
|
|
7164
7179
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
7165
7180
|
}
|
|
@@ -7622,7 +7637,13 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7622
7637
|
}, useSplitStyles = function(a, b, c, d, e, f, g, h, i, j) {
|
|
7623
7638
|
var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j);
|
|
7624
7639
|
return res;
|
|
7625
|
-
}, animatableDefaults = {
|
|
7640
|
+
}, 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) {
|
|
7641
|
+
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
|
|
7642
|
+
return [
|
|
7643
|
+
k,
|
|
7644
|
+
defaultColor
|
|
7645
|
+
];
|
|
7646
|
+
}))), {
|
|
7626
7647
|
opacity: 1,
|
|
7627
7648
|
scale: 1,
|
|
7628
7649
|
rotate: "0deg",
|
|
@@ -7631,7 +7652,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7631
7652
|
x: 0,
|
|
7632
7653
|
y: 0,
|
|
7633
7654
|
borderRadius: 0
|
|
7634
|
-
}, lowercaseHyphenate = function(match) {
|
|
7655
|
+
}), lowercaseHyphenate = function(match) {
|
|
7635
7656
|
return "-".concat(match.toLowerCase());
|
|
7636
7657
|
}, hyphenate = function(str) {
|
|
7637
7658
|
return str.replace(/[A-Z]/g, lowercaseHyphenate);
|