@elementor/editor-variables 4.1.0-708 → 4.1.0-710
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -16
- package/src/register-variable-types.tsx +3 -3
package/dist/index.mjs
CHANGED
|
@@ -3843,7 +3843,7 @@ import * as React37 from "react";
|
|
|
3843
3843
|
import { trackUpgradePromotionClick as trackUpgradePromotionClick3 } from "@elementor/editor-controls";
|
|
3844
3844
|
import { colorPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil } from "@elementor/editor-props";
|
|
3845
3845
|
import { CtaButton } from "@elementor/editor-ui";
|
|
3846
|
-
import { BrushIcon, ExpandDiagonalIcon,
|
|
3846
|
+
import { BrushIcon, ExpandDiagonalIcon, RefreshIcon, RefreshOffIcon, TextIcon as TextIcon2 } from "@elementor/icons";
|
|
3847
3847
|
import { __ as __26 } from "@wordpress/i18n";
|
|
3848
3848
|
|
|
3849
3849
|
// src/components/fields/color-field.tsx
|
|
@@ -3987,14 +3987,14 @@ function registerVariableTypes() {
|
|
|
3987
3987
|
if (variable.sync_to_v3) {
|
|
3988
3988
|
actions.push({
|
|
3989
3989
|
name: __26("Stop syncing to Global Colors", "elementor"),
|
|
3990
|
-
icon:
|
|
3990
|
+
icon: RefreshOffIcon,
|
|
3991
3991
|
color: "text.primary",
|
|
3992
3992
|
onClick: () => handlers.onStopSync(variableId)
|
|
3993
3993
|
});
|
|
3994
3994
|
} else {
|
|
3995
3995
|
actions.push({
|
|
3996
3996
|
name: __26("Sync to Global Colors", "elementor"),
|
|
3997
|
-
icon:
|
|
3997
|
+
icon: RefreshIcon,
|
|
3998
3998
|
color: "text.primary",
|
|
3999
3999
|
onClick: () => handlers.onStartSync(variableId)
|
|
4000
4000
|
});
|