tamagui 1.129.1 → 1.129.3
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 +4 -3
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +4 -3
- package/dist/test.native.js.map +1 -1
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -9047,7 +9047,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9047
9047
|
return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
|
|
9048
9048
|
}
|
|
9049
9049
|
function styleable(Component2, options) {
|
|
9050
|
-
var _Component_render,
|
|
9050
|
+
var _Component_render, skipForwardRef = import_constants4.IS_REACT_19 && typeof Component2 == "function" && Component2.length === 1 || ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2, out = skipForwardRef ? Component2 : /* @__PURE__ */ import_react3.default.forwardRef(Component2), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
9051
9051
|
return out = options != null && options.disableTheme ? out : (0, import_themeable.themeable)(out, extendedConfig, !0), process.env.TAMAGUI_MEMOIZE_STYLEABLE && (out = /* @__PURE__ */ import_react3.default.memo(out)), out.staticConfig = extendedConfig, out.styleable = styleable, out;
|
|
9052
9052
|
}
|
|
9053
9053
|
return res.extractable = extractable, res.styleable = styleable, res;
|
|
@@ -9058,7 +9058,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9058
9058
|
Unspaced2.isUnspaced = !0;
|
|
9059
9059
|
var getSpacerSize = function(size2, param) {
|
|
9060
9060
|
var { tokens } = param;
|
|
9061
|
-
size2 = size2 === !0 ? "$true" : size2;
|
|
9061
|
+
size2 = size2 === !1 ? 0 : size2 === !0 ? "$true" : size2;
|
|
9062
9062
|
var _tokens_space_size, sizePx = (_tokens_space_size = tokens.space[size2]) !== null && _tokens_space_size !== void 0 ? _tokens_space_size : size2;
|
|
9063
9063
|
return {
|
|
9064
9064
|
width: sizePx,
|
|
@@ -9110,6 +9110,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9110
9110
|
for (var _iterator = childrenList.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
|
|
9111
9111
|
var [index, child] = _step.value, _child_type, isEmpty = child == null || Array.isArray(child) && child.length === 0;
|
|
9112
9112
|
if (!isEmpty && /* @__PURE__ */ import_react3.default.isValidElement(child) && !((_child_type = child.type) === null || _child_type === void 0) && _child_type.shouldForwardSpace && (child = /* @__PURE__ */ import_react3.default.cloneElement(child, {
|
|
9113
|
+
// @ts-expect-error we explicitly know with shouldForwardSpace
|
|
9113
9114
|
space,
|
|
9114
9115
|
spaceFlex,
|
|
9115
9116
|
separator,
|
|
@@ -9177,7 +9178,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9177
9178
|
pointerEvents: "box-none"
|
|
9178
9179
|
}
|
|
9179
9180
|
}), fromPx = function(val) {
|
|
9180
|
-
return typeof val
|
|
9181
|
+
return typeof val == "number" ? val : typeof val == "string" ? +val.replace("px", "") : 0;
|
|
9181
9182
|
};
|
|
9182
9183
|
}
|
|
9183
9184
|
});
|