@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 +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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-variables",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-683",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elementor/editor": "4.0.0-
|
|
43
|
-
"@elementor/editor-canvas": "4.0.0-
|
|
44
|
-
"@elementor/editor-controls": "4.0.0-
|
|
45
|
-
"@elementor/editor-current-user": "4.0.0-
|
|
46
|
-
"@elementor/editor-mcp": "4.0.0-
|
|
47
|
-
"@elementor/editor-panels": "4.0.0-
|
|
48
|
-
"@elementor/editor-props": "4.0.0-
|
|
49
|
-
"@elementor/editor-ui": "4.0.0-
|
|
50
|
-
"@elementor/editor-v1-adapters": "4.0.0-
|
|
51
|
-
"@elementor/menus": "4.0.0-
|
|
52
|
-
"@elementor/http-client": "4.0.0-
|
|
42
|
+
"@elementor/editor": "4.0.0-683",
|
|
43
|
+
"@elementor/editor-canvas": "4.0.0-683",
|
|
44
|
+
"@elementor/editor-controls": "4.0.0-683",
|
|
45
|
+
"@elementor/editor-current-user": "4.0.0-683",
|
|
46
|
+
"@elementor/editor-mcp": "4.0.0-683",
|
|
47
|
+
"@elementor/editor-panels": "4.0.0-683",
|
|
48
|
+
"@elementor/editor-props": "4.0.0-683",
|
|
49
|
+
"@elementor/editor-ui": "4.0.0-683",
|
|
50
|
+
"@elementor/editor-v1-adapters": "4.0.0-683",
|
|
51
|
+
"@elementor/menus": "4.0.0-683",
|
|
52
|
+
"@elementor/http-client": "4.0.0-683",
|
|
53
53
|
"@elementor/icons": "^1.68.0",
|
|
54
|
-
"@elementor/events": "4.0.0-
|
|
55
|
-
"@elementor/schema": "4.0.0-
|
|
54
|
+
"@elementor/events": "4.0.0-683",
|
|
55
|
+
"@elementor/schema": "4.0.0-683",
|
|
56
56
|
"@elementor/ui": "1.37.2",
|
|
57
|
-
"@elementor/utils": "4.0.0-
|
|
57
|
+
"@elementor/utils": "4.0.0-683",
|
|
58
58
|
"@wordpress/i18n": "^5.13.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
@@ -436,7 +436,7 @@ const StopSyncConfirmationDialog = ( { open, onClose, onConfirm }: StopSyncConfi
|
|
|
436
436
|
<ConfirmationDialog.Content>
|
|
437
437
|
<ConfirmationDialog.ContentText>
|
|
438
438
|
{ __(
|
|
439
|
-
'This will disconnect the variable color from
|
|
439
|
+
'This will disconnect the variable color from Global Colors. Existing uses on your site will automatically switch to a default color.',
|
|
440
440
|
'elementor'
|
|
441
441
|
) }
|
|
442
442
|
</ConfirmationDialog.ContentText>
|
|
@@ -34,14 +34,14 @@ export function registerVariableTypes() {
|
|
|
34
34
|
|
|
35
35
|
if ( variable.sync_to_v3 ) {
|
|
36
36
|
actions.push( {
|
|
37
|
-
name: __( 'Stop syncing to
|
|
37
|
+
name: __( 'Stop syncing to Global Colors', 'elementor' ),
|
|
38
38
|
icon: ResetIcon,
|
|
39
39
|
color: 'text.primary',
|
|
40
40
|
onClick: () => handlers.onStopSync( variableId ),
|
|
41
41
|
} );
|
|
42
42
|
} else {
|
|
43
43
|
actions.push( {
|
|
44
|
-
name: __( 'Sync to
|
|
44
|
+
name: __( 'Sync to Global Colors', 'elementor' ),
|
|
45
45
|
icon: ResetIcon,
|
|
46
46
|
color: 'text.primary',
|
|
47
47
|
onClick: () => handlers.onStartSync( variableId ),
|
|
@@ -10,7 +10,7 @@ import { Portal } from '@elementor/ui';
|
|
|
10
10
|
import { styleVariablesRepository } from '../style-variables-repository';
|
|
11
11
|
import { type StyleVariables, type Variable } from '../types';
|
|
12
12
|
|
|
13
|
-
const VARIABLES_WRAPPER = '
|
|
13
|
+
const VARIABLES_WRAPPER = ':root';
|
|
14
14
|
|
|
15
15
|
export function StyleVariablesRenderer() {
|
|
16
16
|
const container = usePortalContainer();
|