@xsolla/xui-core 0.138.1 → 0.138.2-pr240.1776778947

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 -2
  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
@@ -85,8 +87,6 @@ For custom components, use `useResolvedTheme` instead of `useDesignSystem`.
85
87
  - `radius` — Border-radius tokens (button, card, input, tag, avatar variants)
86
88
  - `shadow` — Shadow tokens
87
89
  - `fonts` — Font-family definitions
88
- - `useResolvedTheme` — Hook that merges per-component `themeMode`/`themeProductContext` overrides with global context; returns same shape as `useDesignSystem`
89
- - `ThemeOverrideProps` — Interface adding optional `themeMode` and `themeProductContext` to component props
90
90
  - `isWeb` / `isNative` / `isIOS` / `isAndroid` — Platform detection booleans
91
91
 
92
92
  ## Per-Component Theme Override
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-core",
3
- "version": "0.138.1",
3
+ "version": "0.138.2-pr240.1776778947",
4
4
  "main": "./index.js",
5
5
  "module": "./index.mjs",
6
6
  "types": "./index.d.ts",