@omnia/fx-models 8.0.495-dev → 8.0.496-dev

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.
Files changed (2) hide show
  1. package/Layout.d.ts +3 -3
  2. package/package.json +1 -1
package/Layout.d.ts CHANGED
@@ -430,8 +430,8 @@ export interface IBlockApi<TSettings = void> {
430
430
  }
431
431
  export type EditBlockRenderer = FunctionalComponent<{
432
432
  title: string;
433
- variant?: "inline" | "panel";
434
433
  icon?: IIcon;
434
+ variant?: "inline" | "panel";
435
435
  }, {}, {
436
436
  panel?: (baldeRenderer: typeof omfx.journey.blade) => VNodeChild;
437
437
  }>;
@@ -452,9 +452,9 @@ export interface IBlockInstance<TSettings = void> {
452
452
  mediaContext: ILayoutMediaContext;
453
453
  fileContext: ILayoutFileContext;
454
454
  setSearchValue: (value: MultilingualString) => void;
455
- editing: boolean;
455
+ readonly editing: boolean;
456
456
  configurations: () => {
457
- edit(renderer: (element: EditBlockRenderer) => VNodeChild): void;
457
+ enableEdit(renderer: (element: EditBlockRenderer) => VNodeChild, mode?: "design-write" | "design" | "write"): void;
458
458
  };
459
459
  }
460
460
  export interface LayoutInheritanceBehaviors {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.495-dev",
4
+ "version": "8.0.496-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"