@xsolla/xui-input-phone 0.188.2 → 0.188.4
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 +1 -1
- package/native/index.js.map +1 -1
- package/native/index.mjs +1 -1
- package/native/index.mjs.map +1 -1
- package/package.json +3 -3
- package/web/index.js +5 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +5 -3
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-input-phone",
|
|
3
|
-
"version": "0.188.
|
|
3
|
+
"version": "0.188.4",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-core": "0.188.
|
|
17
|
-
"@xsolla/xui-primitives-core": "0.188.
|
|
16
|
+
"@xsolla/xui-core": "0.188.4",
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.188.4",
|
|
18
18
|
"libphonenumber-js": "^1.10.56"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
package/web/index.js
CHANGED
|
@@ -344,11 +344,13 @@ var StyledIcon = (0, import_styled_components3.default)(FilteredDiv2)`
|
|
|
344
344
|
height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
|
|
345
345
|
color: ${(props) => props.color || "currentColor"};
|
|
346
346
|
|
|
347
|
+
/* Icons paint themselves — each icon's own SVG sets its fill/stroke
|
|
348
|
+
(icons-base via inline "fill: currentColor", Lucide via "fill"/"stroke"
|
|
349
|
+
attributes). Do not add fill/stroke here: it re-strokes fill-based icons
|
|
350
|
+
and thickens the glyph. See FEP-877. */
|
|
347
351
|
svg {
|
|
348
352
|
width: 100%;
|
|
349
353
|
height: 100%;
|
|
350
|
-
fill: none;
|
|
351
|
-
stroke: currentColor;
|
|
352
354
|
}
|
|
353
355
|
`;
|
|
354
356
|
var Icon = ({
|
|
@@ -2655,7 +2657,7 @@ var InputPhone = (0, import_react4.forwardRef)(
|
|
|
2655
2657
|
}
|
|
2656
2658
|
const textColor = isDisable ? inputColors.textDisable : inputColors.text;
|
|
2657
2659
|
const placeholderColor = inputColors.placeholder;
|
|
2658
|
-
const iconColor =
|
|
2660
|
+
const iconColor = inputColors.placeholder;
|
|
2659
2661
|
const paddingConfig = {
|
|
2660
2662
|
xl: { vertical: 12, horizontal: 12 },
|
|
2661
2663
|
lg: { vertical: 14, horizontal: 12 },
|