@xsolla/xui-core 0.184.0 → 0.185.1
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/README.md +3 -1
- package/index.d.mts +2071 -425
- package/index.d.ts +2071 -425
- package/index.js +996 -35
- package/index.js.map +1 -1
- package/index.mjs +995 -35
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,6 +52,8 @@ function MyWidget({ label, themeMode, themeProductContext }: MyWidgetProps) {
|
|
|
52
52
|
| `"light"` | Pentagram Light |
|
|
53
53
|
| `"ltg-dark"` | LTG Dark |
|
|
54
54
|
| `"blueprints"` | Blueprints |
|
|
55
|
+
| `"corpsite-dark"` | Corpsite Dark |
|
|
56
|
+
| `"corpsite-light"` | Corpsite Light |
|
|
55
57
|
|
|
56
58
|
## Per-Component Overrides
|
|
57
59
|
|
|
@@ -103,7 +105,7 @@ const { responsive } = useDesignSystem();
|
|
|
103
105
|
- `TypographyStyleLoader` — Component that injects responsive typography CSS (rendered automatically by `XUIProvider`)
|
|
104
106
|
- `FontLoader` — Component that injects the `@font-face` declarations for XUI fonts
|
|
105
107
|
- `fontFacesCSS` — Raw `@font-face` CSS string (for SSR or manual injection)
|
|
106
|
-
- `ThemeMode` — Type: `"dark"` | `"light"` | `"ltg-dark"` | `"blueprints"`
|
|
108
|
+
- `ThemeMode` — Type: `"dark"` | `"light"` | `"ltg-dark"` | `"blueprints"` | `"corpsite-dark"` | `"corpsite-light"`
|
|
107
109
|
- `ThemeColors` — Type of the colour token object
|
|
108
110
|
- `ProductContext` — Type of the `themeProductContext` prop: `"b2c"` | `"b2b"`
|
|
109
111
|
- `colors` — Raw colour tokens for all themes
|