@vectoriox/iox-builder 6.0.0 → 6.1.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
|
@@ -893,7 +893,9 @@ declare class ComponentRegistryService {
|
|
|
893
893
|
* A NEW element, born wearing its type's default element style (design-system plan §3e):
|
|
894
894
|
* the style's exact trait map goes into `styleTraits`, its hover/active/focus into
|
|
895
895
|
* `stateStyles`, its id into `elementStyle`. Flavor-independent — the look arrives through the
|
|
896
|
-
* org's tokens, so no pack is consulted here.
|
|
896
|
+
* org's tokens, so no pack is consulted here. Before the style, its text colour is set to
|
|
897
|
+
* `inherit` (C1.1): the Typography group's `#000000` default would otherwise be saved on every
|
|
898
|
+
* new node and paint black any running text inside it.
|
|
897
899
|
*/
|
|
898
900
|
createConfig(type: string): any | null;
|
|
899
901
|
/**
|
|
@@ -902,7 +904,7 @@ declare class ComponentRegistryService {
|
|
|
902
904
|
* the baseline a switched-off style's traits fall back to.
|
|
903
905
|
*/
|
|
904
906
|
createBaseConfig(type: string): any | null;
|
|
905
|
-
/** The unstyled base style map of a type — `switchElementStyle`'s baseline. */
|
|
907
|
+
/** The unstyled base style map of a NEW node of the type — `switchElementStyle`'s baseline. */
|
|
906
908
|
baselineStyleProps(type: string): Record<string, unknown>;
|
|
907
909
|
register(type: string, component: Type<any>, config: any): void;
|
|
908
910
|
getAll(): {
|
|
@@ -1146,6 +1148,7 @@ declare class StyleRegistryService {
|
|
|
1146
1148
|
private nodeTypes;
|
|
1147
1149
|
private tokenCss;
|
|
1148
1150
|
private tokenRows;
|
|
1151
|
+
private uploadedFamilies;
|
|
1149
1152
|
private tokenMode;
|
|
1150
1153
|
private styleEl;
|
|
1151
1154
|
/**
|
|
@@ -1238,6 +1241,13 @@ declare class StyleRegistryService {
|
|
|
1238
1241
|
get mode(): DesignMode;
|
|
1239
1242
|
remove(nodeId: string): void;
|
|
1240
1243
|
destroy(): void;
|
|
1244
|
+
/**
|
|
1245
|
+
* The families the org UPLOADED (the host reads them from storage). Such a family renders from the
|
|
1246
|
+
* org's own faces, so the canvas never links Google's — even when the catalog has one of that name:
|
|
1247
|
+
* an uploaded Inter variable file sat beside Google's static Inter cuts and lost to them (DS5.1). A
|
|
1248
|
+
* link added before the list arrived is removed, or it would keep shadowing the upload.
|
|
1249
|
+
*/
|
|
1250
|
+
setUploadedFamilies(families: ReadonlyArray<string> | null | undefined): void;
|
|
1241
1251
|
/**
|
|
1242
1252
|
* The Google families the org's font tokens name — the SAME catalog and URL the SSR engine links
|
|
1243
1253
|
* (design-core `fontsForTokens` / `googleFontHref`), one `<link>` per family. They only declare
|
|
@@ -1999,6 +2009,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
1999
2009
|
onModeChange(mode: BuilderMode): void;
|
|
2000
2010
|
onBreakpointChange(bp: Breakpoint): void;
|
|
2001
2011
|
onZoomChange(value: number | 'fit'): void;
|
|
2012
|
+
onNativeDragStart(event: DragEvent): void;
|
|
2002
2013
|
onBoardMouseDown(event: MouseEvent): void;
|
|
2003
2014
|
onBoardMouseMove(event: MouseEvent): void;
|
|
2004
2015
|
onBoardMouseUp(): void;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectoriox/iox-builder",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=20.0.0",
|
|
6
6
|
"@angular/core": ">=20.0.0",
|
|
7
7
|
"@angular/animations": ">=20.0.0",
|
|
8
8
|
"@angular/cdk": ">=20.0.0",
|
|
9
|
-
"@vectoriox/iox-ui": ">=5.
|
|
9
|
+
"@vectoriox/iox-ui": ">=5.21.0",
|
|
10
10
|
"interactjs": "^1.10.27",
|
|
11
11
|
"primeng": ">=20.0.0",
|
|
12
12
|
"swiper": ">=12.0.0",
|