@elementor/editor-variables 4.0.0-682 → 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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/variables-manager/variables-manager-panel.tsx +1 -1
- package/src/register-variable-types.tsx +2 -2
- package/src/renderers/style-variables-renderer.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2179,7 +2179,7 @@ var usePreventUnload = (isDirty) => {
|
|
|
2179
2179
|
var StopSyncConfirmationDialog = ({ open, onClose, onConfirm }) => {
|
|
2180
2180
|
const [, suppressStopSyncMessage] = useSuppressedMessage(STOP_SYNC_MESSAGE_KEY);
|
|
2181
2181
|
return /* @__PURE__ */ React14.createElement(ConfirmationDialog2, { open, onClose }, /* @__PURE__ */ React14.createElement(ConfirmationDialog2.Title, { icon: ColorFilterIcon, iconColor: "primary" }, __10("Stop syncing variable color", "elementor")), /* @__PURE__ */ React14.createElement(ConfirmationDialog2.Content, null, /* @__PURE__ */ React14.createElement(ConfirmationDialog2.ContentText, null, __10(
|
|
2182
|
-
"This will disconnect the variable color from
|
|
2182
|
+
"This will disconnect the variable color from Global Colors. Existing uses on your site will automatically switch to a default color.",
|
|
2183
2183
|
"elementor"
|
|
2184
2184
|
))), /* @__PURE__ */ React14.createElement(
|
|
2185
2185
|
ConfirmationDialog2.Actions,
|
|
@@ -3960,14 +3960,14 @@ function registerVariableTypes() {
|
|
|
3960
3960
|
}
|
|
3961
3961
|
if (variable.sync_to_v3) {
|
|
3962
3962
|
actions.push({
|
|
3963
|
-
name: __26("Stop syncing to
|
|
3963
|
+
name: __26("Stop syncing to Global Colors", "elementor"),
|
|
3964
3964
|
icon: ResetIcon,
|
|
3965
3965
|
color: "text.primary",
|
|
3966
3966
|
onClick: () => handlers.onStopSync(variableId)
|
|
3967
3967
|
});
|
|
3968
3968
|
} else {
|
|
3969
3969
|
actions.push({
|
|
3970
|
-
name: __26("Sync to
|
|
3970
|
+
name: __26("Sync to Global Colors", "elementor"),
|
|
3971
3971
|
icon: ResetIcon,
|
|
3972
3972
|
color: "text.primary",
|
|
3973
3973
|
onClick: () => handlers.onStartSync(variableId)
|
|
@@ -4022,7 +4022,7 @@ import {
|
|
|
4022
4022
|
getCanvasIframeDocument
|
|
4023
4023
|
} from "@elementor/editor-v1-adapters";
|
|
4024
4024
|
import { Portal } from "@elementor/ui";
|
|
4025
|
-
var VARIABLES_WRAPPER = "
|
|
4025
|
+
var VARIABLES_WRAPPER = ":root";
|
|
4026
4026
|
function StyleVariablesRenderer() {
|
|
4027
4027
|
const container = usePortalContainer();
|
|
4028
4028
|
const styleVariables = useStyleVariables();
|