@xsolla/xui-core 0.138.2 → 0.138.3

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -78,6 +78,8 @@ For custom components, use `useResolvedTheme` instead of `useDesignSystem`.
78
78
  - `generateTypographyCSS` — Returns the full CSS string for responsive typography custom properties
79
79
  - `cssVar` — Helper to get CSS variable references: `cssVar.fontSize("350")` → `"var(--xui-font-size-350)"`
80
80
  - `TypographyStyleLoader` — Component that injects responsive typography CSS (rendered automatically by `XUIProvider`)
81
+ - `FontLoader` — Component that injects the `@font-face` declarations for XUI fonts
82
+ - `fontFacesCSS` — Raw `@font-face` CSS string (for SSR or manual injection)
81
83
  - `ThemeMode` — Type: `"dark"` | `"light"` | `"ltg-dark"`
82
84
  - `ThemeColors` — Type of the colour token object
83
85
  - `colors` — Raw colour tokens for all themes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-core",
3
- "version": "0.138.2",
3
+ "version": "0.138.3",
4
4
  "main": "./index.js",
5
5
  "module": "./index.mjs",
6
6
  "types": "./index.d.ts",