@xsolla/xui-input-phone 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.js +6 -4
- package/native/index.js.map +1 -1
- package/native/index.mjs +6 -4
- package/native/index.mjs.map +1 -1
- package/package.json +3 -3
- package/web/index.js +6 -4
- package/web/index.js.map +1 -1
- package/web/index.mjs +6 -4
- package/web/index.mjs.map +1 -1
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 =
|
|
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}
|
|
566
|
-
height: ${(props) => props.$size}
|
|
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,
|