@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.mjs CHANGED
@@ -320,6 +320,7 @@ var InputPrimitive = forwardRef(
320
320
  style,
321
321
  color,
322
322
  fontSize,
323
+ fontFamily,
323
324
  placeholderTextColor,
324
325
  maxLength,
325
326
  type,
@@ -350,6 +351,10 @@ var InputPrimitive = forwardRef(
350
351
  };
351
352
  const keyboardType = inputMode ? inputModeToKeyboardType[inputMode] || "default" : type ? keyboardTypeMap[type] || "default" : "default";
352
353
  const textContentType = autoComplete ? autoCompleteToTextContentType[autoComplete] : void 0;
354
+ let resolvedFontFamily = fontFamily ? fontFamily.split(",")[0].replace(/['"]/g, "").trim() : void 0;
355
+ if (resolvedFontFamily === "Pilat Wide" || resolvedFontFamily === "Pilat Wide Bold" || resolvedFontFamily === "Aktiv Grotesk") {
356
+ resolvedFontFamily = void 0;
357
+ }
353
358
  return /* @__PURE__ */ jsx4(
354
359
  RNTextInput,
355
360
  {
@@ -376,6 +381,7 @@ var InputPrimitive = forwardRef(
376
381
  {
377
382
  color,
378
383
  fontSize: typeof fontSize === "number" ? fontSize : void 0,
384
+ fontFamily: resolvedFontFamily,
379
385
  flex: 1,
380
386
  padding: 0,
381
387
  textAlign: style?.textAlign || "left"