@elementor/editor-v1-adapters 4.4.0-beta3 → 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>;
@@ -183,6 +186,19 @@ declare const getElementorConfig: () => {
183
186
  url: string;
184
187
  message: string;
185
188
  button_text: string;
189
+ } | null;
190
+ proSetupPromotion?: {
191
+ state: "install" | "activate" | "connect";
192
+ banner: {
193
+ title: string;
194
+ description: string;
195
+ };
196
+ popover: {
197
+ title: string;
198
+ description: string;
199
+ ctaLabel: string;
200
+ };
201
+ connectUrl?: string;
186
202
  };
187
203
  user?: {
188
204
  top_bar?: {
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>;
@@ -183,6 +186,19 @@ declare const getElementorConfig: () => {
183
186
  url: string;
184
187
  message: string;
185
188
  button_text: string;
189
+ } | null;
190
+ proSetupPromotion?: {
191
+ state: "install" | "activate" | "connect";
192
+ banner: {
193
+ title: string;
194
+ description: string;
195
+ };
196
+ popover: {
197
+ title: string;
198
+ description: string;
199
+ ctaLabel: string;
200
+ };
201
+ connectUrl?: string;
186
202
  };
187
203
  user?: {
188
204
  top_bar?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-v1-adapters",
3
- "version": "4.4.0-beta3",
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-beta3"
42
+ "@elementor/utils": "4.4.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^18.3.1"