@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/web/index.mjs CHANGED
@@ -846,8 +846,8 @@ var StyledIcon2 = styled8.div`
846
846
  display: inline-flex;
847
847
  align-items: center;
848
848
  justify-content: center;
849
- width: ${(props) => props.$size}px;
850
- height: ${(props) => props.$size}px;
849
+ width: ${(props) => props.$size};
850
+ height: ${(props) => props.$size};
851
851
  color: ${(props) => props.$color};
852
852
 
853
853
  svg {
@@ -868,10 +868,11 @@ var BaseIcon = ({
868
868
  "aria-hidden": ariaHidden
869
869
  }) => {
870
870
  const svgContent = variant === "line" ? lineContent381 : solidContent381;
871
+ const sizeValue = typeof size === "number" ? `${size}px` : size;
871
872
  return /* @__PURE__ */ jsx8(
872
873
  StyledIcon2,
873
874
  {
874
- $size: size,
875
+ $size: sizeValue,
875
876
  $color: color,
876
877
  className,
877
878
  style,
@@ -1424,7 +1425,7 @@ var TextAreaPrimitive2 = forwardRef22(
1424
1425
  }
1425
1426
  );
1426
1427
  TextAreaPrimitive2.displayName = "TextAreaPrimitive";
1427
- var X2 = (props) => /* @__PURE__ */ jsx810(Icon3, { ...props, children: /* @__PURE__ */ jsx810(X, {}) });
1428
+ var X2 = (props) => /* @__PURE__ */ jsx810(Icon3, { ...props, children: /* @__PURE__ */ jsx810(X, { size: "100%" }) });
1428
1429
 
1429
1430
  // ../tag/dist/web/index.mjs
1430
1431
  import { jsx as jsx811, jsxs } from "react/jsx-runtime";