@elementor/editor-components 4.1.0-694 → 4.1.0-696
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.mjs
CHANGED
|
@@ -2514,11 +2514,13 @@ var EDIT_COMPONENT_CONTEXT_MENU_UPGRADE_URL = "https://go.elementor.com/go-pro-c
|
|
|
2514
2514
|
var UPDATE_PLUGINS_URL3 = "/wp-admin/plugins.php";
|
|
2515
2515
|
var COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID = "component-edit-upgrade";
|
|
2516
2516
|
var COMPONENT_EDIT_UPDATE_NOTIFICATION_ID = "component-edit-update";
|
|
2517
|
+
var COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION = 2e3;
|
|
2517
2518
|
function notifyComponentEditUpgrade() {
|
|
2518
2519
|
notify2({
|
|
2519
2520
|
type: "promotion",
|
|
2520
2521
|
id: COMPONENT_EDIT_UPGRADE_NOTIFICATION_ID,
|
|
2521
2522
|
message: __13("Editing components requires an active Pro subscription.", "elementor"),
|
|
2523
|
+
autoHideDuration: COMPONENT_EDIT_UPGRADE_AUTO_HIDE_DURATION,
|
|
2522
2524
|
additionalActionProps: [
|
|
2523
2525
|
{
|
|
2524
2526
|
size: "small",
|