@bloklabs/angular 1.4.3 → 1.4.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloklabs/angular",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Angular block editor — official Angular bindings for Blok, the headless Notion-like rich text editor. Standalone components that render blocks and save to JSON (APF partial-Ivy bundle).",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JackUait",
@@ -36,7 +36,7 @@
36
36
  "@angular/common": ">=20 <23",
37
37
  "@angular/core": ">=20 <23",
38
38
  "@angular/forms": ">=20 <23",
39
- "@bloklabs/core": "1.4.3"
39
+ "@bloklabs/core": "1.4.4"
40
40
  },
41
41
  "module": "fesm2022/bloklabs-angular.mjs",
42
42
  "typings": "./index.d.ts",
@@ -113,6 +113,8 @@ declare class BlokEditorComponent implements AfterViewInit, ControlValueAccessor
113
113
  private readonly data$;
114
114
  set data(value: OutputData | LooseOutputData | null | undefined);
115
115
  tools?: BlokConfig['tools'];
116
+ /** Host-supplied per-type block migrations applied at load (merged across layers). */
117
+ migrations?: BlokConfig['migrations'];
116
118
  /**
117
119
  * Escape hatch: a full config object for keys without a dedicated input
118
120
  * (sanitizer, minHeight, …). Layered between provideBlok
@@ -173,7 +175,7 @@ declare class BlokEditorComponent implements AfterViewInit, ControlValueAccessor
173
175
  /** Form disabled state maps to the editor's read-only mode (via the readOnly effect). */
174
176
  setDisabledState(isDisabled: boolean): void;
175
177
  static ɵfac: i0.ɵɵFactoryDeclaration<BlokEditorComponent, never>;
176
- static ɵcmp: i0.ɵɵComponentDeclaration<BlokEditorComponent, "blok-editor", ["blok"], { "onBeforeRender": { "alias": "onBeforeRender"; "required": false; }; "onBeforePaste": { "alias": "onBeforePaste"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hideToolbar": { "alias": "hideToolbar"; "required": false; }; "inlineToolbar": { "alias": "inlineToolbar"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "width": { "alias": "width"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleTokens": { "alias": "styleTokens"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tools": { "alias": "tools"; "required": false; }; "config": { "alias": "config"; "required": false; }; "recreateKey": { "alias": "recreateKey"; "required": false; }; }, { "ready": "ready"; "dataChange": "dataChange"; "save": "save"; "change": "change"; "afterRender": "afterRender"; "themeChange": "themeChange"; "blocksRendered": "blocksRendered"; "blockRendered": "blockRendered"; }, never, never, true, never>;
178
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlokEditorComponent, "blok-editor", ["blok"], { "onBeforeRender": { "alias": "onBeforeRender"; "required": false; }; "onBeforePaste": { "alias": "onBeforePaste"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hideToolbar": { "alias": "hideToolbar"; "required": false; }; "inlineToolbar": { "alias": "inlineToolbar"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "width": { "alias": "width"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleTokens": { "alias": "styleTokens"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tools": { "alias": "tools"; "required": false; }; "migrations": { "alias": "migrations"; "required": false; }; "config": { "alias": "config"; "required": false; }; "recreateKey": { "alias": "recreateKey"; "required": false; }; }, { "ready": "ready"; "dataChange": "dataChange"; "save": "save"; "change": "change"; "afterRender": "afterRender"; "themeChange": "themeChange"; "blocksRendered": "blocksRendered"; "blockRendered": "blockRendered"; }, never, never, true, never>;
177
179
  }
178
180
 
179
181
  /**