@elementor/editor-components 4.1.0-694 → 4.1.0-695
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.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -23
- package/src/create-component-type.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -2577,11 +2577,13 @@ var EDIT_COMPONENT_CONTEXT_MENU_UPGRADE_URL = "https://go.elementor.com/go-pro-c
|
|
|
2577
2577
|
var UPDATE_PLUGINS_URL3 = "/wp-admin/plugins.php";
|
|
2578
2578
|
var COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID = "component-edit-upgrade";
|
|
2579
2579
|
var COMPONENT_EDIT_UPDATE_NOTIFICATION_ID = "component-edit-update";
|
|
2580
|
+
var COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION = 2e3;
|
|
2580
2581
|
function notifyComponentEditUpgrade() {
|
|
2581
2582
|
(0, import_editor_notifications2.notify)({
|
|
2582
2583
|
type: "promotion",
|
|
2583
2584
|
id: COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID,
|
|
2584
2585
|
message: (0, import_i18n13.__)("Editing components requires an active Pro subscription.", "elementor"),
|
|
2586
|
+
autoHideDuration: COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION,
|
|
2585
2587
|
additionalActionProps: [
|
|
2586
2588
|
{
|
|
2587
2589
|
size: "small",
|