@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.mjs CHANGED
@@ -872,8 +872,8 @@ var StyledIcon = styled.div`
872
872
  display: inline-flex;
873
873
  align-items: center;
874
874
  justify-content: center;
875
- width: ${(props) => props.$size}px;
876
- height: ${(props) => props.$size}px;
875
+ width: ${(props) => props.$size};
876
+ height: ${(props) => props.$size};
877
877
  color: ${(props) => props.$color};
878
878
 
879
879
  svg {
@@ -894,10 +894,11 @@ var BaseIcon = ({
894
894
  "aria-hidden": ariaHidden
895
895
  }) => {
896
896
  const svgContent = variant === "line" ? lineContent381 : solidContent381;
897
+ const sizeValue = typeof size === "number" ? `${size}px` : size;
897
898
  return /* @__PURE__ */ jsx8(
898
899
  StyledIcon,
899
900
  {
900
- $size: size,
901
+ $size: sizeValue,
901
902
  $color: color,
902
903
  className,
903
904
  style,
@@ -1450,7 +1451,7 @@ var TextAreaPrimitive2 = forwardRef22(
1450
1451
  }
1451
1452
  );
1452
1453
  TextAreaPrimitive2.displayName = "TextAreaPrimitive";
1453
- var X2 = (props) => /* @__PURE__ */ jsx810(Icon3, { ...props, children: /* @__PURE__ */ jsx810(X, {}) });
1454
+ var X2 = (props) => /* @__PURE__ */ jsx810(Icon3, { ...props, children: /* @__PURE__ */ jsx810(X, { size: "100%" }) });
1454
1455
 
1455
1456
  // ../tag/dist/web/index.mjs
1456
1457
  import { jsx as jsx811, jsxs } from "react/jsx-runtime";