@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-multi-select",
3
- "version": "0.79.0",
3
+ "version": "0.80.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,10 +10,10 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-checkbox": "0.79.0",
14
- "@xsolla/xui-core": "0.79.0",
15
- "@xsolla/xui-dropdown": "0.79.0",
16
- "@xsolla/xui-primitives-core": "0.79.0"
13
+ "@xsolla/xui-checkbox": "0.80.0",
14
+ "@xsolla/xui-core": "0.80.0",
15
+ "@xsolla/xui-dropdown": "0.80.0",
16
+ "@xsolla/xui-primitives-core": "0.80.0"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": ">=16.8.0",
package/web/index.js CHANGED
@@ -882,8 +882,8 @@ var StyledIcon2 = import_styled_components8.default.div`
882
882
  display: inline-flex;
883
883
  align-items: center;
884
884
  justify-content: center;
885
- width: ${(props) => props.$size}px;
886
- height: ${(props) => props.$size}px;
885
+ width: ${(props) => props.$size};
886
+ height: ${(props) => props.$size};
887
887
  color: ${(props) => props.$color};
888
888
 
889
889
  svg {
@@ -904,10 +904,11 @@ var BaseIcon = ({
904
904
  "aria-hidden": ariaHidden
905
905
  }) => {
906
906
  const svgContent = variant === "line" ? lineContent381 : solidContent381;
907
+ const sizeValue = typeof size === "number" ? `${size}px` : size;
907
908
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
908
909
  StyledIcon2,
909
910
  {
910
- $size: size,
911
+ $size: sizeValue,
911
912
  $color: color,
912
913
  className,
913
914
  style,
@@ -1455,7 +1456,7 @@ var TextAreaPrimitive2 = (0, import_react8.forwardRef)(
1455
1456
  }
1456
1457
  );
1457
1458
  TextAreaPrimitive2.displayName = "TextAreaPrimitive";
1458
- var X2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(Icon3, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(X, {}) });
1459
+ var X2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(Icon3, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime396.jsx)(X, { size: "100%" }) });
1459
1460
 
1460
1461
  // ../tag/dist/web/index.mjs
1461
1462
  var import_jsx_runtime404 = require("react/jsx-runtime");