@elementor/editor-variables 4.0.0-515 → 4.0.0-517

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 CHANGED
@@ -192,7 +192,6 @@ var validateValue = (value) => {
192
192
 
193
193
  // src/variables-registry/create-variable-type-registry.ts
194
194
  var import_editor_canvas3 = require("@elementor/editor-canvas");
195
- var import_editor_editing_panel = require("@elementor/editor-editing-panel");
196
195
 
197
196
  // src/transformers/inheritance-transformer.tsx
198
197
  var React = __toESM(require("react"));
@@ -721,7 +720,7 @@ function createVariableTypeRegistry() {
721
720
  import_editor_canvas3.styleTransformersRegistry.register(key, transformer ?? variableTransformer);
722
721
  };
723
722
  const registerInheritanceTransformer = (key) => {
724
- import_editor_editing_panel.stylesInheritanceTransformersRegistry.register(key, inheritanceTransformer);
723
+ import_editor_canvas3.stylesInheritanceTransformersRegistry.register(key, inheritanceTransformer);
725
724
  };
726
725
  const getVariableType2 = (key) => {
727
726
  return variableTypes[key];
@@ -1768,7 +1767,7 @@ var { panel, usePanelActions } = (0, import_editor_panels.__createPanel)({
1768
1767
  onOpen: () => {
1769
1768
  (0, import_editor_v1_adapters2.changeEditMode)(id);
1770
1769
  },
1771
- onClose: () => {
1770
+ onClose: async () => {
1772
1771
  (0, import_editor_v1_adapters2.changeEditMode)("edit");
1773
1772
  },
1774
1773
  isOpenPreviousElement: true