@elementor/editor-components 3.35.0-405 → 3.35.0-407
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +22 -22
- package/src/components/create-component-form/create-component-form.tsx +1 -1
- package/src/prevent-circular-nesting.ts +1 -1
- package/src/prevent-non-atomic-nesting.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -2316,7 +2316,7 @@ var import_store36 = require("@elementor/store");
|
|
|
2316
2316
|
var import_i18n16 = require("@wordpress/i18n");
|
|
2317
2317
|
var NON_ATOMIC_ELEMENT_ALERT = {
|
|
2318
2318
|
type: "default",
|
|
2319
|
-
message: (0, import_i18n16.__)("
|
|
2319
|
+
message: (0, import_i18n16.__)("This widget isn't compatible with components. Use atomic elements instead.", "elementor"),
|
|
2320
2320
|
id: "non-atomic-element-blocked"
|
|
2321
2321
|
};
|
|
2322
2322
|
function initNonAtomicNestingPrevention() {
|
|
@@ -2564,7 +2564,7 @@ function CreateComponentForm() {
|
|
|
2564
2564
|
(0, import_editor_notifications2.notify)({
|
|
2565
2565
|
type: "default",
|
|
2566
2566
|
message: (0, import_i18n18.__)(
|
|
2567
|
-
"
|
|
2567
|
+
"Components require atomic elements only. Remove widgets to create this component.",
|
|
2568
2568
|
"elementor"
|
|
2569
2569
|
),
|
|
2570
2570
|
id: "non-atomic-element-save-blocked"
|
|
@@ -4102,7 +4102,7 @@ var import_i18n25 = require("@wordpress/i18n");
|
|
|
4102
4102
|
var COMPONENT_TYPE = "e-component";
|
|
4103
4103
|
var COMPONENT_CIRCULAR_NESTING_ALERT = {
|
|
4104
4104
|
type: "default",
|
|
4105
|
-
message: (0, import_i18n25.__)("
|
|
4105
|
+
message: (0, import_i18n25.__)("Can't add this component - components that contain each other can't be nested.", "elementor"),
|
|
4106
4106
|
id: "circular-component-nesting-blocked"
|
|
4107
4107
|
};
|
|
4108
4108
|
function initCircularNestingPrevention() {
|