@elementor/editor-v1-adapters 4.4.0-beta2 → 4.4.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/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ type RunCommandOptions = {
3
3
  };
4
4
  declare function runCommand(command: string, args?: object, { internal }?: RunCommandOptions): Promise<any>;
5
5
  declare function runCommandSync<T>(command: string, args?: object, { internal }?: RunCommandOptions): T;
6
- declare function openRoute(route: string): Promise<unknown>;
6
+ declare function openRoute(route: string): Promise<void>;
7
7
  declare function registerRoute(route: string): Promise<unknown>;
8
8
 
9
9
  type ExtendedWindow = Window & {
@@ -160,6 +160,9 @@ declare const getElementorConfig: () => {
160
160
  angie?: {
161
161
  autoShow?: boolean;
162
162
  };
163
+ widgetCreation?: {
164
+ canCreateWidget?: boolean;
165
+ };
163
166
  controls?: {
164
167
  font?: {
165
168
  groups?: Record<string, string>;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ type RunCommandOptions = {
3
3
  };
4
4
  declare function runCommand(command: string, args?: object, { internal }?: RunCommandOptions): Promise<any>;
5
5
  declare function runCommandSync<T>(command: string, args?: object, { internal }?: RunCommandOptions): T;
6
- declare function openRoute(route: string): Promise<unknown>;
6
+ declare function openRoute(route: string): Promise<void>;
7
7
  declare function registerRoute(route: string): Promise<unknown>;
8
8
 
9
9
  type ExtendedWindow = Window & {
@@ -160,6 +160,9 @@ declare const getElementorConfig: () => {
160
160
  angie?: {
161
161
  autoShow?: boolean;
162
162
  };
163
+ widgetCreation?: {
164
+ canCreateWidget?: boolean;
165
+ };
163
166
  controls?: {
164
167
  font?: {
165
168
  groups?: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-v1-adapters",
3
- "version": "4.4.0-beta2",
3
+ "version": "4.4.0",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,7 +39,7 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/utils": "4.4.0-beta2"
42
+ "@elementor/utils": "4.4.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^18.3.1"