@tamagui/core 1.90.13 → 1.90.15
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 +30 -17
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +30 -17
- package/dist/test.native.js.map +2 -2
- package/package.json +6 -6
package/dist/test.native.js
CHANGED
|
@@ -7515,24 +7515,36 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7515
7515
|
var rule;
|
|
7516
7516
|
}
|
|
7517
7517
|
}
|
|
7518
|
-
if (
|
|
7519
|
-
var
|
|
7518
|
+
if (!isReactNative && viewProps.tabIndex == null)
|
|
7519
|
+
var _viewProps_focusable, isFocusable, role;
|
|
7520
|
+
}
|
|
7521
|
+
if (props.style)
|
|
7522
|
+
if (isHOC)
|
|
7523
|
+
viewProps.style = normalizeStyle(props.style);
|
|
7524
|
+
else {
|
|
7525
|
+
var _iteratorNormalCompletion3 = !0, _didIteratorError3 = !1, _iteratorError3 = void 0;
|
|
7520
7526
|
try {
|
|
7521
|
-
for (var _iterator3, _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
7522
|
-
var style1;
|
|
7523
|
-
if (style1
|
|
7524
|
-
|
|
7527
|
+
for (var _iterator3 = [].concat(props.style)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
7528
|
+
var style1 = _step3.value;
|
|
7529
|
+
if (style1)
|
|
7530
|
+
if (style1.$$css)
|
|
7531
|
+
Object.assign(styleState.classNames, style1);
|
|
7532
|
+
else {
|
|
7533
|
+
var _styleState4;
|
|
7534
|
+
(_styleState4 = styleState).style || (_styleState4.style = {}), Object.assign(styleState.style, normalizeStyle(style1));
|
|
7535
|
+
}
|
|
7525
7536
|
}
|
|
7526
7537
|
} catch (err) {
|
|
7538
|
+
_didIteratorError3 = !0, _iteratorError3 = err;
|
|
7527
7539
|
} finally {
|
|
7528
7540
|
try {
|
|
7541
|
+
!_iteratorNormalCompletion3 && _iterator3.return != null && _iterator3.return();
|
|
7529
7542
|
} finally {
|
|
7543
|
+
if (_didIteratorError3)
|
|
7544
|
+
throw _iteratorError3;
|
|
7530
7545
|
}
|
|
7531
7546
|
}
|
|
7532
7547
|
}
|
|
7533
|
-
if (import_constants.isWeb && !isReactNative && viewProps.tabIndex == null)
|
|
7534
|
-
var _viewProps_focusable, isFocusable, role;
|
|
7535
|
-
}
|
|
7536
7548
|
var result = {
|
|
7537
7549
|
space,
|
|
7538
7550
|
hasMedia,
|
|
@@ -7675,6 +7687,14 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7675
7687
|
var importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, importancesUsed, isSizeMedia);
|
|
7676
7688
|
return importanceBump && (importance = (importance || 0) + importanceBump), importance === null ? !1 : (importancesUsed[key] = importance, mergeStyle(styleState, key, value), !0);
|
|
7677
7689
|
}
|
|
7690
|
+
function normalizeStyle(style) {
|
|
7691
|
+
var out = {};
|
|
7692
|
+
for (var key in style) {
|
|
7693
|
+
var val = style[key];
|
|
7694
|
+
key in import_helpers.stylePropsTransform ? mergeTransform(out, key, val) : out[key] = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key);
|
|
7695
|
+
}
|
|
7696
|
+
return import_constants.isWeb && Array.isArray(out.transform) && (out.transform = (0, import_transformsToString.transformsToString)(out.transform)), (0, import_expandStyles.fixStyles)(out), out;
|
|
7697
|
+
}
|
|
7678
7698
|
}
|
|
7679
7699
|
});
|
|
7680
7700
|
|
|
@@ -11481,14 +11501,7 @@ var require_Text_native = __commonJS({
|
|
|
11481
11501
|
inlineWhenUnflattened: /* @__PURE__ */ new Set([
|
|
11482
11502
|
"fontFamily"
|
|
11483
11503
|
]),
|
|
11484
|
-
variants: _object_spread_props(_object_spread2(
|
|
11485
|
-
// ??
|
|
11486
|
-
ellipsizeMode: {
|
|
11487
|
-
"...": function() {
|
|
11488
|
-
return null;
|
|
11489
|
-
}
|
|
11490
|
-
}
|
|
11491
|
-
}), !1), {
|
|
11504
|
+
variants: _object_spread_props(_object_spread2({}, !1, !1), {
|
|
11492
11505
|
/**
|
|
11493
11506
|
* @deprecated Use ellipsis instead
|
|
11494
11507
|
*/
|