@elementor/editor-editing-panel 4.4.0-1131 → 4.4.0-1133

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
@@ -202,12 +202,20 @@ type ControlRegistry = Record<string, {
202
202
  }>;
203
203
  declare const controlTypes: {
204
204
  readonly image: {
205
- readonly component: ControlComponent<({ sizes, label }: {
205
+ readonly component: ControlComponent<({ sizes, promotion, label }: {
206
206
  sizes: {
207
207
  label: string;
208
208
  value: string;
209
209
  }[];
210
210
  label?: string;
211
+ promotion?: {
212
+ label?: string;
213
+ title?: string;
214
+ content: string;
215
+ buttonText?: string;
216
+ buttonUrl?: string;
217
+ dismissible?: string;
218
+ };
211
219
  }) => react.JSX.Element>;
212
220
  readonly layout: "custom";
213
221
  readonly propTypeUtil: {
@@ -1761,10 +1769,19 @@ declare const controlTypes: {
1761
1769
  };
1762
1770
  };
1763
1771
  readonly 'inline-editing': {
1764
- readonly component: ControlComponent<({ sx, attributes, props, context: { elementId } }: {
1772
+ readonly component: ControlComponent<({ sx, attributes, props, label, promotion, context: { elementId } }: {
1765
1773
  sx?: _mui_system.SxProps<_mui_material.Theme>;
1766
1774
  attributes?: Record<string, string>;
1767
1775
  props?: react.ComponentProps<"div">;
1776
+ label?: string;
1777
+ promotion?: {
1778
+ label?: string;
1779
+ title?: string;
1780
+ content: string;
1781
+ buttonText?: string;
1782
+ buttonUrl?: string;
1783
+ dismissible?: string;
1784
+ };
1768
1785
  } & {
1769
1786
  context: {
1770
1787
  elementId: string;
package/dist/index.d.ts CHANGED
@@ -202,12 +202,20 @@ type ControlRegistry = Record<string, {
202
202
  }>;
203
203
  declare const controlTypes: {
204
204
  readonly image: {
205
- readonly component: ControlComponent<({ sizes, label }: {
205
+ readonly component: ControlComponent<({ sizes, promotion, label }: {
206
206
  sizes: {
207
207
  label: string;
208
208
  value: string;
209
209
  }[];
210
210
  label?: string;
211
+ promotion?: {
212
+ label?: string;
213
+ title?: string;
214
+ content: string;
215
+ buttonText?: string;
216
+ buttonUrl?: string;
217
+ dismissible?: string;
218
+ };
211
219
  }) => react.JSX.Element>;
212
220
  readonly layout: "custom";
213
221
  readonly propTypeUtil: {
@@ -1761,10 +1769,19 @@ declare const controlTypes: {
1761
1769
  };
1762
1770
  };
1763
1771
  readonly 'inline-editing': {
1764
- readonly component: ControlComponent<({ sx, attributes, props, context: { elementId } }: {
1772
+ readonly component: ControlComponent<({ sx, attributes, props, label, promotion, context: { elementId } }: {
1765
1773
  sx?: _mui_system.SxProps<_mui_material.Theme>;
1766
1774
  attributes?: Record<string, string>;
1767
1775
  props?: react.ComponentProps<"div">;
1776
+ label?: string;
1777
+ promotion?: {
1778
+ label?: string;
1779
+ title?: string;
1780
+ content: string;
1781
+ buttonText?: string;
1782
+ buttonUrl?: string;
1783
+ dismissible?: string;
1784
+ };
1768
1785
  } & {
1769
1786
  context: {
1770
1787
  elementId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-editing-panel",
3
- "version": "4.4.0-1131",
3
+ "version": "4.4.0-1133",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,32 +39,32 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "4.4.0-1131",
43
- "@elementor/editor-canvas": "4.4.0-1131",
44
- "@elementor/editor-controls": "4.4.0-1131",
45
- "@elementor/editor-current-user": "4.4.0-1131",
46
- "@elementor/editor-documents": "4.4.0-1131",
47
- "@elementor/editor-elements": "4.4.0-1131",
48
- "@elementor/editor-interactions": "4.4.0-1131",
49
- "@elementor/editor-notifications": "4.4.0-1131",
50
- "@elementor/editor-panels": "4.4.0-1131",
51
- "@elementor/editor-props": "4.4.0-1131",
52
- "@elementor/editor-responsive": "4.4.0-1131",
53
- "@elementor/editor-styles": "4.4.0-1131",
54
- "@elementor/editor-styles-repository": "4.4.0-1131",
55
- "@elementor/editor-ui": "4.4.0-1131",
56
- "@elementor/editor-v1-adapters": "4.4.0-1131",
57
- "@elementor/http-client": "4.4.0-1131",
42
+ "@elementor/editor": "4.4.0-1133",
43
+ "@elementor/editor-canvas": "4.4.0-1133",
44
+ "@elementor/editor-controls": "4.4.0-1133",
45
+ "@elementor/editor-current-user": "4.4.0-1133",
46
+ "@elementor/editor-documents": "4.4.0-1133",
47
+ "@elementor/editor-elements": "4.4.0-1133",
48
+ "@elementor/editor-interactions": "4.4.0-1133",
49
+ "@elementor/editor-notifications": "4.4.0-1133",
50
+ "@elementor/editor-panels": "4.4.0-1133",
51
+ "@elementor/editor-props": "4.4.0-1133",
52
+ "@elementor/editor-responsive": "4.4.0-1133",
53
+ "@elementor/editor-styles": "4.4.0-1133",
54
+ "@elementor/editor-styles-repository": "4.4.0-1133",
55
+ "@elementor/editor-ui": "4.4.0-1133",
56
+ "@elementor/editor-v1-adapters": "4.4.0-1133",
57
+ "@elementor/http-client": "4.4.0-1133",
58
58
  "@elementor/icons": "~1.78.1",
59
- "@elementor/editor-variables": "4.4.0-1131",
60
- "@elementor/locations": "4.4.0-1131",
61
- "@elementor/menus": "4.4.0-1131",
62
- "@elementor/query": "4.4.0-1131",
63
- "@elementor/schema": "4.4.0-1131",
64
- "@elementor/session": "4.4.0-1131",
59
+ "@elementor/editor-variables": "4.4.0-1133",
60
+ "@elementor/locations": "4.4.0-1133",
61
+ "@elementor/menus": "4.4.0-1133",
62
+ "@elementor/query": "4.4.0-1133",
63
+ "@elementor/schema": "4.4.0-1133",
64
+ "@elementor/session": "4.4.0-1133",
65
65
  "@elementor/ui": "1.41.1",
66
- "@elementor/utils": "4.4.0-1131",
67
- "@elementor/wp-media": "4.4.0-1131",
66
+ "@elementor/utils": "4.4.0-1133",
67
+ "@elementor/wp-media": "4.4.0-1133",
68
68
  "@wordpress/i18n": "^5.13.0"
69
69
  },
70
70
  "peerDependencies": {