@xsolla/xui-input-phone 0.140.0 → 0.141.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 -0
- package/native/index.js.map +1 -1
- package/native/index.mjs +6 -0
- package/native/index.mjs.map +1 -1
- package/package.json +3 -3
- package/web/index.js +3 -1
- package/web/index.js.map +1 -1
- package/web/index.mjs +3 -1
- 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.
|
|
3
|
+
"version": "0.141.0",
|
|
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.
|
|
17
|
-
"@xsolla/xui-primitives-core": "0.
|
|
16
|
+
"@xsolla/xui-core": "0.141.0",
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.141.0",
|
|
18
18
|
"libphonenumber-js": "^1.10.56"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
package/web/index.js
CHANGED
|
@@ -361,7 +361,7 @@ var StyledInput = (0, import_styled_components4.default)(FilteredInput)`
|
|
|
361
361
|
margin: 0;
|
|
362
362
|
color: ${(props) => props.color || "inherit"};
|
|
363
363
|
font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
|
|
364
|
-
font-family:
|
|
364
|
+
font-family: ${(props) => props.fontFamily || '"Aktiv Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'};
|
|
365
365
|
text-align: inherit;
|
|
366
366
|
|
|
367
367
|
&::placeholder {
|
|
@@ -396,6 +396,7 @@ var InputPrimitive = (0, import_react3.forwardRef)(
|
|
|
396
396
|
style,
|
|
397
397
|
color,
|
|
398
398
|
fontSize,
|
|
399
|
+
fontFamily,
|
|
399
400
|
placeholderTextColor,
|
|
400
401
|
maxLength,
|
|
401
402
|
name,
|
|
@@ -439,6 +440,7 @@ var InputPrimitive = (0, import_react3.forwardRef)(
|
|
|
439
440
|
style,
|
|
440
441
|
color,
|
|
441
442
|
fontSize,
|
|
443
|
+
fontFamily,
|
|
442
444
|
placeholderTextColor,
|
|
443
445
|
maxLength,
|
|
444
446
|
"aria-invalid": ariaInvalid,
|