@xsolla/xui-input-phone 0.212.0 → 0.213.1

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
@@ -486,6 +486,7 @@ import {
486
486
 
487
487
  // ../../foundation/icons-base/src/BaseIcon.tsx
488
488
  import styled from "styled-components";
489
+ import { resolveIconSize } from "@xsolla/xui-primitives-core";
489
490
  import { jsx as jsx5 } from "react/jsx-runtime";
490
491
  var StyledIcon = styled.div`
491
492
  display: inline-flex;
@@ -514,7 +515,7 @@ var BaseIcon = ({
514
515
  "aria-hidden": ariaHidden
515
516
  }) => {
516
517
  const svgContent247 = variant === "line" ? lineContent5 : solidContent5;
517
- const sizeValue = typeof size === "number" ? `${size}px` : size;
518
+ const sizeValue = resolveIconSize(size);
518
519
  return /* @__PURE__ */ jsx5(
519
520
  StyledIcon,
520
521
  {
@@ -557,13 +558,14 @@ var Search = (props) => /* @__PURE__ */ jsx9(BaseIcon, { ...props, solidContent:
557
558
 
558
559
  // ../../foundation/icons-flag/src/FlagIcon.tsx
559
560
  import styled2 from "styled-components";
561
+ import { resolveIconSize as resolveIconSize2 } from "@xsolla/xui-primitives-core";
560
562
  import { jsx as jsx10 } from "react/jsx-runtime";
561
563
  var StyledFlagIcon = styled2.div`
562
564
  display: inline-flex;
563
565
  align-items: center;
564
566
  justify-content: center;
565
- width: ${(props) => props.$size}px;
566
- height: ${(props) => props.$size}px;
567
+ width: ${(props) => props.$size};
568
+ height: ${(props) => props.$size};
567
569
 
568
570
  svg {
569
571
  width: 100%;
@@ -582,7 +584,7 @@ var FlagIcon = ({
582
584
  }) => /* @__PURE__ */ jsx10(
583
585
  StyledFlagIcon,
584
586
  {
585
- $size: size,
587
+ $size: resolveIconSize2(size),
586
588
  className,
587
589
  style,
588
590
  "data-testid": testId || testID,