@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-context-menu",
3
- "version": "0.140.0",
3
+ "version": "0.141.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,13 +13,13 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-checkbox": "0.140.0",
17
- "@xsolla/xui-core": "0.140.0",
18
- "@xsolla/xui-divider": "0.140.0",
19
- "@xsolla/xui-icons": "0.140.0",
20
- "@xsolla/xui-primitives-core": "0.140.0",
21
- "@xsolla/xui-radio": "0.140.0",
22
- "@xsolla/xui-spinner": "0.140.0"
16
+ "@xsolla/xui-checkbox": "0.141.0",
17
+ "@xsolla/xui-core": "0.141.0",
18
+ "@xsolla/xui-divider": "0.141.0",
19
+ "@xsolla/xui-icons": "0.141.0",
20
+ "@xsolla/xui-primitives-core": "0.141.0",
21
+ "@xsolla/xui-radio": "0.141.0",
22
+ "@xsolla/xui-spinner": "0.141.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
package/web/index.js CHANGED
@@ -367,7 +367,7 @@ var StyledInput = (0, import_styled_components4.default)(FilteredInput)`
367
367
  margin: 0;
368
368
  color: ${(props) => props.color || "inherit"};
369
369
  font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
370
- font-family: inherit;
370
+ font-family: ${(props) => props.fontFamily || '"Aktiv Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'};
371
371
  text-align: inherit;
372
372
 
373
373
  &::placeholder {
@@ -402,6 +402,7 @@ var InputPrimitive = (0, import_react3.forwardRef)(
402
402
  style,
403
403
  color,
404
404
  fontSize,
405
+ fontFamily,
405
406
  placeholderTextColor,
406
407
  maxLength,
407
408
  name,
@@ -445,6 +446,7 @@ var InputPrimitive = (0, import_react3.forwardRef)(
445
446
  style,
446
447
  color,
447
448
  fontSize,
449
+ fontFamily,
448
450
  placeholderTextColor,
449
451
  maxLength,
450
452
  "aria-invalid": ariaInvalid,