@xsolla/xui-context-menu 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 CHANGED
@@ -356,6 +356,7 @@ var InputPrimitive = (0, import_react2.forwardRef)(
356
356
  style,
357
357
  color,
358
358
  fontSize,
359
+ fontFamily,
359
360
  placeholderTextColor,
360
361
  maxLength,
361
362
  type,
@@ -386,6 +387,10 @@ var InputPrimitive = (0, import_react2.forwardRef)(
386
387
  };
387
388
  const keyboardType = inputMode ? inputModeToKeyboardType[inputMode] || "default" : type ? keyboardTypeMap[type] || "default" : "default";
388
389
  const textContentType = autoComplete ? autoCompleteToTextContentType[autoComplete] : void 0;
390
+ let resolvedFontFamily = fontFamily ? fontFamily.split(",")[0].replace(/['"]/g, "").trim() : void 0;
391
+ if (resolvedFontFamily === "Pilat Wide" || resolvedFontFamily === "Pilat Wide Bold" || resolvedFontFamily === "Aktiv Grotesk") {
392
+ resolvedFontFamily = void 0;
393
+ }
389
394
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
390
395
  import_react_native4.TextInput,
391
396
  {
@@ -412,6 +417,7 @@ var InputPrimitive = (0, import_react2.forwardRef)(
412
417
  {
413
418
  color,
414
419
  fontSize: typeof fontSize === "number" ? fontSize : void 0,
420
+ fontFamily: resolvedFontFamily,
415
421
  flex: 1,
416
422
  padding: 0,
417
423
  textAlign: style?.textAlign || "left"