@xsolla/xui-multi-select 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 CHANGED
@@ -904,8 +904,8 @@ var StyledIcon = import_styled_components.default.div`
904
904
  display: inline-flex;
905
905
  align-items: center;
906
906
  justify-content: center;
907
- width: ${(props) => props.$size}px;
908
- height: ${(props) => props.$size}px;
907
+ width: ${(props) => props.$size};
908
+ height: ${(props) => props.$size};
909
909
  color: ${(props) => props.$color};
910
910
 
911
911
  svg {
@@ -926,10 +926,11 @@ var BaseIcon = ({
926
926
  "aria-hidden": ariaHidden
927
927
  }) => {
928
928
  const svgContent = variant === "line" ? lineContent381 : solidContent381;
929
+ const sizeValue = typeof size === "number" ? `${size}px` : size;
929
930
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
930
931
  StyledIcon,
931
932
  {
932
- $size: size,
933
+ $size: sizeValue,
933
934
  $color: color,
934
935
  className,
935
936
  style,
@@ -1477,7 +1478,7 @@ var TextAreaPrimitive2 = (0, import_react8.forwardRef)(
1477
1478
  }
1478
1479
  );
1479
1480
  TextAreaPrimitive2.displayName = "TextAreaPrimitive";
1480
- var X2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(Icon3, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(X, {}) });
1481
+ var X2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(Icon3, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(X, { size: "100%" }) });
1481
1482
 
1482
1483
  // ../tag/dist/web/index.mjs
1483
1484
  var import_jsx_runtime404 = require("react/jsx-runtime");