@elementor/editor-variables 4.0.0-681 → 4.0.0-683

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
@@ -2191,7 +2191,7 @@ var usePreventUnload = (isDirty) => {
2191
2191
  var StopSyncConfirmationDialog = ({ open, onClose, onConfirm }) => {
2192
2192
  const [, suppressStopSyncMessage] = (0, import_editor_current_user2.useSuppressedMessage)(STOP_SYNC_MESSAGE_KEY);
2193
2193
  return /* @__PURE__ */ React14.createElement(import_editor_ui5.ConfirmationDialog, { open, onClose }, /* @__PURE__ */ React14.createElement(import_editor_ui5.ConfirmationDialog.Title, { icon: import_icons5.ColorFilterIcon, iconColor: "primary" }, (0, import_i18n10.__)("Stop syncing variable color", "elementor")), /* @__PURE__ */ React14.createElement(import_editor_ui5.ConfirmationDialog.Content, null, /* @__PURE__ */ React14.createElement(import_editor_ui5.ConfirmationDialog.ContentText, null, (0, import_i18n10.__)(
2194
- "This will disconnect the variable color from version 3. Existing uses on your site will automatically switch to a default color.",
2194
+ "This will disconnect the variable color from Global Colors. Existing uses on your site will automatically switch to a default color.",
2195
2195
  "elementor"
2196
2196
  ))), /* @__PURE__ */ React14.createElement(
2197
2197
  import_editor_ui5.ConfirmationDialog.Actions,
@@ -3957,14 +3957,14 @@ function registerVariableTypes() {
3957
3957
  }
3958
3958
  if (variable.sync_to_v3) {
3959
3959
  actions.push({
3960
- name: (0, import_i18n26.__)("Stop syncing to Version 3", "elementor"),
3960
+ name: (0, import_i18n26.__)("Stop syncing to Global Colors", "elementor"),
3961
3961
  icon: import_icons16.ResetIcon,
3962
3962
  color: "text.primary",
3963
3963
  onClick: () => handlers.onStopSync(variableId)
3964
3964
  });
3965
3965
  } else {
3966
3966
  actions.push({
3967
- name: (0, import_i18n26.__)("Sync to Version 3", "elementor"),
3967
+ name: (0, import_i18n26.__)("Sync to Global Colors", "elementor"),
3968
3968
  icon: import_icons16.ResetIcon,
3969
3969
  color: "text.primary",
3970
3970
  onClick: () => handlers.onStartSync(variableId)
@@ -4015,7 +4015,7 @@ var React38 = __toESM(require("react"));
4015
4015
  var import_react29 = require("react");
4016
4016
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
4017
4017
  var import_ui35 = require("@elementor/ui");
4018
- var VARIABLES_WRAPPER = "body";
4018
+ var VARIABLES_WRAPPER = ":root";
4019
4019
  function StyleVariablesRenderer() {
4020
4020
  const container = usePortalContainer();
4021
4021
  const styleVariables = useStyleVariables();