@xsolla/xui-context-menu 0.79.0 → 0.80.0
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/native/index.js +4 -3
- package/native/index.js.map +1 -1
- package/native/index.mjs +4 -3
- package/native/index.mjs.map +1 -1
- package/package.json +8 -8
- package/web/index.js +4 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +4 -3
- package/web/index.mjs.map +1 -1
package/native/index.js
CHANGED
|
@@ -1575,8 +1575,8 @@ var StyledIcon = import_styled_components.default.div`
|
|
|
1575
1575
|
display: inline-flex;
|
|
1576
1576
|
align-items: center;
|
|
1577
1577
|
justify-content: center;
|
|
1578
|
-
width: ${(props) => props.$size}
|
|
1579
|
-
height: ${(props) => props.$size}
|
|
1578
|
+
width: ${(props) => props.$size};
|
|
1579
|
+
height: ${(props) => props.$size};
|
|
1580
1580
|
color: ${(props) => props.$color};
|
|
1581
1581
|
|
|
1582
1582
|
svg {
|
|
@@ -1597,10 +1597,11 @@ var BaseIcon = ({
|
|
|
1597
1597
|
"aria-hidden": ariaHidden
|
|
1598
1598
|
}) => {
|
|
1599
1599
|
const svgContent = variant === "line" ? lineContent381 : solidContent381;
|
|
1600
|
+
const sizeValue = typeof size === "number" ? `${size}px` : size;
|
|
1600
1601
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1601
1602
|
StyledIcon,
|
|
1602
1603
|
{
|
|
1603
|
-
$size:
|
|
1604
|
+
$size: sizeValue,
|
|
1604
1605
|
$color: color,
|
|
1605
1606
|
className,
|
|
1606
1607
|
style,
|