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