@elementor/editor-variables 4.1.0-696 → 4.1.0-698

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
@@ -3837,7 +3837,6 @@ var React37 = __toESM(require("react"));
3837
3837
  var import_editor_controls16 = require("@elementor/editor-controls");
3838
3838
  var import_editor_props5 = require("@elementor/editor-props");
3839
3839
  var import_editor_ui13 = require("@elementor/editor-ui");
3840
- var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
3841
3840
  var import_icons16 = require("@elementor/icons");
3842
3841
  var import_i18n26 = require("@wordpress/i18n");
3843
3842
 
@@ -3979,9 +3978,6 @@ function registerVariableTypes() {
3979
3978
  defaultValue: "#ffffff",
3980
3979
  menuActionsFactory: ({ variable, variableId, handlers }) => {
3981
3980
  const actions = [];
3982
- if (!(0, import_editor_v1_adapters6.isExperimentActive)("e_design_system_sync")) {
3983
- return [];
3984
- }
3985
3981
  if (variable.sync_to_v3) {
3986
3982
  actions.push({
3987
3983
  name: (0, import_i18n26.__)("Stop syncing to Global Colors", "elementor"),
@@ -4040,7 +4036,7 @@ function registerVariableTypes() {
4040
4036
  // src/renderers/style-variables-renderer.tsx
4041
4037
  var React38 = __toESM(require("react"));
4042
4038
  var import_react30 = require("react");
4043
- var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
4039
+ var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
4044
4040
  var import_ui35 = require("@elementor/ui");
4045
4041
  var VARIABLES_WRAPPER = ":root";
4046
4042
  function StyleVariablesRenderer() {
@@ -4055,7 +4051,7 @@ function StyleVariablesRenderer() {
4055
4051
  return /* @__PURE__ */ React38.createElement(import_ui35.Portal, { container }, /* @__PURE__ */ React38.createElement("style", { "data-e-style-id": "e-variables", key: wrappedCss }, wrappedCss));
4056
4052
  }
4057
4053
  function usePortalContainer() {
4058
- return (0, import_editor_v1_adapters7.__privateUseListenTo)((0, import_editor_v1_adapters7.commandEndEvent)("editor/documents/attach-preview"), () => (0, import_editor_v1_adapters7.getCanvasIframeDocument)()?.head);
4054
+ return (0, import_editor_v1_adapters6.__privateUseListenTo)((0, import_editor_v1_adapters6.commandEndEvent)("editor/documents/attach-preview"), () => (0, import_editor_v1_adapters6.getCanvasIframeDocument)()?.head);
4059
4055
  }
4060
4056
  function useStyleVariables() {
4061
4057
  const [variables, setVariables] = (0, import_react30.useState)({});