@vectoriox/iox-builder 11.1.0 → 11.2.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/index.d.ts CHANGED
@@ -1454,6 +1454,8 @@ declare class StyleRegistryService {
1454
1454
  private tokenCss;
1455
1455
  private tokenRows;
1456
1456
  private uploadedFamilies;
1457
+ /** The page's locale: a Hebrew page also links each font role's Hebrew partner (H1-2). */
1458
+ private fontLocale;
1457
1459
  private tokenMode;
1458
1460
  private styleEl;
1459
1461
  /**
@@ -1561,12 +1563,14 @@ declare class StyleRegistryService {
1561
1563
  * Poppins. Links stay for the session: a trial that switches back costs no refetch.
1562
1564
  */
1563
1565
  private loadTokenFonts;
1566
+ /** The open page's locale (`page.locale`) — the same font rule the SSR engine applies to the live page. */
1567
+ setFontLocale(locale: string | null | undefined): void;
1564
1568
  /**
1565
1569
  * Link the Google families OTHER rows name — a specimen wearing another look (the Design side-card's
1566
1570
  * Look tiles and pairing cards). The same catalog, URL and dedupe as the canvas's own fonts, so a
1567
1571
  * look that is later tried or applied costs no second fetch. Never touches the canvas's tokens.
1568
1572
  */
1569
- loadFontsFor(tokens: ReadonlyArray<DesignTokenLike> | null | undefined): void;
1573
+ loadFontsFor(tokens: ReadonlyArray<DesignTokenLike> | null | undefined, locale?: string | null): void;
1570
1574
  private linkFonts;
1571
1575
  private compile;
1572
1576
  private _flushPending;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.1.0",
3
+ "version": "11.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",