@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/native/index.mjs CHANGED
@@ -349,6 +349,7 @@ import { ContextMenu } from "@xsolla/xui-context-menu";
349
349
 
350
350
  // ../../foundation/icons-base/dist/web/index.mjs
351
351
  import styled from "styled-components";
352
+ import { resolveIconSize } from "@xsolla/xui-primitives-core";
352
353
  import { jsx as jsx4 } from "react/jsx-runtime";
353
354
  import { jsx as jsx22 } from "react/jsx-runtime";
354
355
  import { jsx as jsx32 } from "react/jsx-runtime";
@@ -1108,7 +1109,7 @@ var BaseIcon = ({
1108
1109
  "aria-hidden": ariaHidden
1109
1110
  }) => {
1110
1111
  const svgContent = variant === "line" ? lineContent732 : solidContent732;
1111
- const sizeValue = typeof size === "number" ? `${size}px` : size;
1112
+ const sizeValue = resolveIconSize(size);
1112
1113
  return /* @__PURE__ */ jsx4(
1113
1114
  StyledIcon,
1114
1115
  {