tamagui 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 +54 -54
package/dist/test.native.js
CHANGED
|
@@ -7616,24 +7616,36 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7616
7616
|
var rule;
|
|
7617
7617
|
}
|
|
7618
7618
|
}
|
|
7619
|
-
if (
|
|
7620
|
-
var
|
|
7619
|
+
if (!isReactNative && viewProps.tabIndex == null)
|
|
7620
|
+
var _viewProps_focusable, isFocusable, role;
|
|
7621
|
+
}
|
|
7622
|
+
if (props.style)
|
|
7623
|
+
if (isHOC)
|
|
7624
|
+
viewProps.style = normalizeStyle(props.style);
|
|
7625
|
+
else {
|
|
7626
|
+
var _iteratorNormalCompletion3 = !0, _didIteratorError3 = !1, _iteratorError3 = void 0;
|
|
7621
7627
|
try {
|
|
7622
|
-
for (var _iterator3, _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
7623
|
-
var style1;
|
|
7624
|
-
if (style1
|
|
7625
|
-
|
|
7628
|
+
for (var _iterator3 = [].concat(props.style)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
7629
|
+
var style1 = _step3.value;
|
|
7630
|
+
if (style1)
|
|
7631
|
+
if (style1.$$css)
|
|
7632
|
+
Object.assign(styleState.classNames, style1);
|
|
7633
|
+
else {
|
|
7634
|
+
var _styleState4;
|
|
7635
|
+
(_styleState4 = styleState).style || (_styleState4.style = {}), Object.assign(styleState.style, normalizeStyle(style1));
|
|
7636
|
+
}
|
|
7626
7637
|
}
|
|
7627
7638
|
} catch (err) {
|
|
7639
|
+
_didIteratorError3 = !0, _iteratorError3 = err;
|
|
7628
7640
|
} finally {
|
|
7629
7641
|
try {
|
|
7642
|
+
!_iteratorNormalCompletion3 && _iterator3.return != null && _iterator3.return();
|
|
7630
7643
|
} finally {
|
|
7644
|
+
if (_didIteratorError3)
|
|
7645
|
+
throw _iteratorError3;
|
|
7631
7646
|
}
|
|
7632
7647
|
}
|
|
7633
7648
|
}
|
|
7634
|
-
if (import_constants4.isWeb && !isReactNative && viewProps.tabIndex == null)
|
|
7635
|
-
var _viewProps_focusable, isFocusable, role;
|
|
7636
|
-
}
|
|
7637
7649
|
var result = {
|
|
7638
7650
|
space,
|
|
7639
7651
|
hasMedia,
|
|
@@ -7776,6 +7788,14 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
7776
7788
|
var importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, importancesUsed, isSizeMedia);
|
|
7777
7789
|
return importanceBump && (importance = (importance || 0) + importanceBump), importance === null ? !1 : (importancesUsed[key] = importance, mergeStyle(styleState, key, value), !0);
|
|
7778
7790
|
}
|
|
7791
|
+
function normalizeStyle(style) {
|
|
7792
|
+
var out = {};
|
|
7793
|
+
for (var key in style) {
|
|
7794
|
+
var val = style[key];
|
|
7795
|
+
key in import_helpers.stylePropsTransform ? mergeTransform(out, key, val) : out[key] = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key);
|
|
7796
|
+
}
|
|
7797
|
+
return import_constants4.isWeb && Array.isArray(out.transform) && (out.transform = (0, import_transformsToString.transformsToString)(out.transform)), (0, import_expandStyles.fixStyles)(out), out;
|
|
7798
|
+
}
|
|
7779
7799
|
}
|
|
7780
7800
|
});
|
|
7781
7801
|
|
|
@@ -11582,14 +11602,7 @@ var require_Text_native = __commonJS({
|
|
|
11582
11602
|
inlineWhenUnflattened: /* @__PURE__ */ new Set([
|
|
11583
11603
|
"fontFamily"
|
|
11584
11604
|
]),
|
|
11585
|
-
variants: _object_spread_props8(_object_spread9(
|
|
11586
|
-
// ??
|
|
11587
|
-
ellipsizeMode: {
|
|
11588
|
-
"...": function() {
|
|
11589
|
-
return null;
|
|
11590
|
-
}
|
|
11591
|
-
}
|
|
11592
|
-
}), !1), {
|
|
11605
|
+
variants: _object_spread_props8(_object_spread9({}, !1, !1), {
|
|
11593
11606
|
/**
|
|
11594
11607
|
* @deprecated Use ellipsis instead
|
|
11595
11608
|
*/
|