tamagui 1.90.14 → 1.90.16
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 +31 -10
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +31 -10
- package/dist/test.native.js.map +2 -2
- package/package.json +54 -54
package/dist/native.js
CHANGED
|
@@ -8099,24 +8099,36 @@ current`, _object_spread9({}, styleState.style)));
|
|
|
8099
8099
|
var rule;
|
|
8100
8100
|
}
|
|
8101
8101
|
}
|
|
8102
|
-
if (
|
|
8103
|
-
var
|
|
8102
|
+
if (!isReactNative && viewProps.tabIndex == null)
|
|
8103
|
+
var _viewProps_focusable, isFocusable, role;
|
|
8104
|
+
}
|
|
8105
|
+
if (props.style)
|
|
8106
|
+
if (isHOC)
|
|
8107
|
+
viewProps.style = normalizeStyle(props.style);
|
|
8108
|
+
else {
|
|
8109
|
+
var _iteratorNormalCompletion3 = !0, _didIteratorError3 = !1, _iteratorError3 = void 0;
|
|
8104
8110
|
try {
|
|
8105
|
-
for (var _iterator3, _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
8106
|
-
var style1;
|
|
8107
|
-
if (style1
|
|
8108
|
-
|
|
8111
|
+
for (var _iterator3 = [].concat(props.style)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = !0) {
|
|
8112
|
+
var style1 = _step3.value;
|
|
8113
|
+
if (style1)
|
|
8114
|
+
if (style1.$$css)
|
|
8115
|
+
Object.assign(styleState.classNames, style1);
|
|
8116
|
+
else {
|
|
8117
|
+
var _styleState4;
|
|
8118
|
+
(_styleState4 = styleState).style || (_styleState4.style = {}), Object.assign(styleState.style, normalizeStyle(style1));
|
|
8119
|
+
}
|
|
8109
8120
|
}
|
|
8110
8121
|
} catch (err) {
|
|
8122
|
+
_didIteratorError3 = !0, _iteratorError3 = err;
|
|
8111
8123
|
} finally {
|
|
8112
8124
|
try {
|
|
8125
|
+
!_iteratorNormalCompletion3 && _iterator3.return != null && _iterator3.return();
|
|
8113
8126
|
} finally {
|
|
8127
|
+
if (_didIteratorError3)
|
|
8128
|
+
throw _iteratorError3;
|
|
8114
8129
|
}
|
|
8115
8130
|
}
|
|
8116
8131
|
}
|
|
8117
|
-
if (import_constants4.isWeb && !isReactNative && viewProps.tabIndex == null)
|
|
8118
|
-
var _viewProps_focusable, isFocusable, role;
|
|
8119
|
-
}
|
|
8120
8132
|
var result = {
|
|
8121
8133
|
space,
|
|
8122
8134
|
hasMedia,
|
|
@@ -8270,6 +8282,14 @@ current`, _object_spread9({}, styleState.style)));
|
|
|
8270
8282
|
var importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, importancesUsed, isSizeMedia);
|
|
8271
8283
|
return importanceBump && (importance = (importance || 0) + importanceBump), importance === null ? !1 : (importancesUsed[key] = importance, mergeStyle(styleState, key, value), !0);
|
|
8272
8284
|
}
|
|
8285
|
+
function normalizeStyle(style) {
|
|
8286
|
+
var out = {};
|
|
8287
|
+
for (var key in style) {
|
|
8288
|
+
var val = style[key];
|
|
8289
|
+
key in import_helpers.stylePropsTransform ? mergeTransform(out, key, val) : out[key] = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key);
|
|
8290
|
+
}
|
|
8291
|
+
return import_constants4.isWeb && Array.isArray(out.transform) && (out.transform = (0, import_transformsToString.transformsToString)(out.transform)), (0, import_expandStyles.fixStyles)(out), out;
|
|
8292
|
+
}
|
|
8273
8293
|
}
|
|
8274
8294
|
});
|
|
8275
8295
|
|
|
@@ -23678,7 +23698,8 @@ var require_Button_native = __commonJS({
|
|
|
23678
23698
|
}
|
|
23679
23699
|
},
|
|
23680
23700
|
size: {
|
|
23681
|
-
"...size": import_get_button_sized2.getButtonSized
|
|
23701
|
+
"...size": import_get_button_sized2.getButtonSized,
|
|
23702
|
+
":number": import_get_button_sized2.getButtonSized
|
|
23682
23703
|
},
|
|
23683
23704
|
disabled: {
|
|
23684
23705
|
true: {
|