@colixsystems/widget-sdk 0.362.0 → 0.363.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/README.md +9 -3
- package/dist/contract.cjs +234 -29
- package/dist/contract.js +234 -29
- package/dist/index.d.ts +7 -0
- package/dist/sdk-texts.cjs +934 -84
- package/dist/sdk-texts.js +934 -85
- package/dist/signing-hooks.js +2 -1
- package/package.json +1 -1
- package/src/contract.js +234 -29
- package/src/sdk-texts.js +934 -85
package/dist/index.d.ts
CHANGED
|
@@ -6567,6 +6567,13 @@ export function localizedText(
|
|
|
6567
6567
|
values?: Record<string, string | number>,
|
|
6568
6568
|
): string;
|
|
6569
6569
|
|
|
6570
|
+
/**
|
|
6571
|
+
* The language codes `localizedText` reads as another language's text:
|
|
6572
|
+
* Norwegian `no` and `nn` read `nb`. The platform's translation seeder reads
|
|
6573
|
+
* the same map. Exported from `@colixsystems/widget-sdk/contract`.
|
|
6574
|
+
*/
|
|
6575
|
+
export const LANGUAGE_ALIASES: Readonly<Record<string, string>>;
|
|
6576
|
+
|
|
6570
6577
|
// ------------------------------------------------------- theme derivation
|
|
6571
6578
|
// sc-3696: the colour maths both hosts resolve `useTheme()` with. Exported so
|
|
6572
6579
|
// the Player (frontend/src/services/widgetTheme.js) and the exported app's
|