@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/web/index.mjs
CHANGED
|
@@ -324,7 +324,7 @@ var StyledInput = styled4(FilteredInput)`
|
|
|
324
324
|
margin: 0;
|
|
325
325
|
color: ${(props) => props.color || "inherit"};
|
|
326
326
|
font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
|
|
327
|
-
font-family:
|
|
327
|
+
font-family: ${(props) => props.fontFamily || '"Aktiv Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'};
|
|
328
328
|
text-align: inherit;
|
|
329
329
|
|
|
330
330
|
&::placeholder {
|
|
@@ -359,6 +359,7 @@ var InputPrimitive = forwardRef(
|
|
|
359
359
|
style,
|
|
360
360
|
color,
|
|
361
361
|
fontSize,
|
|
362
|
+
fontFamily,
|
|
362
363
|
placeholderTextColor,
|
|
363
364
|
maxLength,
|
|
364
365
|
name,
|
|
@@ -402,6 +403,7 @@ var InputPrimitive = forwardRef(
|
|
|
402
403
|
style,
|
|
403
404
|
color,
|
|
404
405
|
fontSize,
|
|
406
|
+
fontFamily,
|
|
405
407
|
placeholderTextColor,
|
|
406
408
|
maxLength,
|
|
407
409
|
"aria-invalid": ariaInvalid,
|