@xsolla/xui-status-dropdown 0.211.1 → 0.213.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
@@ -371,6 +371,7 @@ import { ContextMenu } from "@xsolla/xui-context-menu";
371
371
 
372
372
  // ../../foundation/icons-base/dist/web/index.mjs
373
373
  import styled4 from "styled-components";
374
+ import { resolveIconSize } from "@xsolla/xui-primitives-core";
374
375
  import { jsx as jsx4 } from "react/jsx-runtime";
375
376
  import { jsx as jsx22 } from "react/jsx-runtime";
376
377
  import { jsx as jsx32 } from "react/jsx-runtime";
@@ -1130,7 +1131,7 @@ var BaseIcon = ({
1130
1131
  "aria-hidden": ariaHidden
1131
1132
  }) => {
1132
1133
  const svgContent = variant === "line" ? lineContent732 : solidContent732;
1133
- const sizeValue = typeof size === "number" ? `${size}px` : size;
1134
+ const sizeValue = resolveIconSize(size);
1134
1135
  return /* @__PURE__ */ jsx4(
1135
1136
  StyledIcon2,
1136
1137
  {