@xsolla/xui-context-menu 0.140.0 → 0.141.0-pr246.1776924982

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
@@ -49,7 +49,7 @@ module.exports = __toCommonJS(index_exports);
49
49
  // src/ContextMenu.tsx
50
50
  var import_react10 = __toESM(require("react"));
51
51
 
52
- // ../primitives-native/src/Box.tsx
52
+ // ../../foundation/primitives-native/src/Box.tsx
53
53
  var import_react_native = require("react-native");
54
54
  var import_jsx_runtime = require("react/jsx-runtime");
55
55
  var Box = ({
@@ -223,7 +223,7 @@ var Box = ({
223
223
  );
224
224
  };
225
225
 
226
- // ../primitives-native/src/Text.tsx
226
+ // ../../foundation/primitives-native/src/Text.tsx
227
227
  var import_react_native2 = require("react-native");
228
228
  var import_jsx_runtime2 = require("react/jsx-runtime");
229
229
  var roleMap = {
@@ -286,7 +286,7 @@ var Text = ({
286
286
  );
287
287
  };
288
288
 
289
- // ../primitives-native/src/Icon.tsx
289
+ // ../../foundation/primitives-native/src/Icon.tsx
290
290
  var import_react = __toESM(require("react"));
291
291
  var import_react_native3 = require("react-native");
292
292
  var import_jsx_runtime3 = require("react/jsx-runtime");
@@ -310,7 +310,7 @@ var Icon = ({ children, color, size }) => {
310
310
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_native3.View, { style, children: childrenWithProps });
311
311
  };
312
312
 
313
- // ../primitives-native/src/Input.tsx
313
+ // ../../foundation/primitives-native/src/Input.tsx
314
314
  var import_react2 = require("react");
315
315
  var import_react_native4 = require("react-native");
316
316
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -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"
@@ -1124,7 +1130,7 @@ ContextMenuSeparator.displayName = "ContextMenuSeparator";
1124
1130
  var import_react9 = __toESM(require("react"));
1125
1131
  var import_xui_core6 = require("@xsolla/xui-core");
1126
1132
 
1127
- // ../icons-base/dist/web/index.mjs
1133
+ // ../../foundation/icons-base/dist/web/index.mjs
1128
1134
  var import_styled_components = __toESM(require("styled-components"), 1);
1129
1135
  var import_jsx_runtime11 = require("react/jsx-runtime");
1130
1136
  var import_jsx_runtime12 = require("react/jsx-runtime");