@elementor/editor-editing-panel 3.32.0-86 → 3.32.0-89
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
|
@@ -2913,9 +2913,12 @@ function TooltipOrInfotip({
|
|
|
2913
2913
|
}
|
|
2914
2914
|
|
|
2915
2915
|
// src/styles-inheritance/components/styles-inheritance-indicator.tsx
|
|
2916
|
-
var disabledControls = ["box-shadow", "background-overlay", "filter", "backdrop-filter", "transform"];
|
|
2917
|
-
var StylesInheritanceIndicator = (
|
|
2918
|
-
|
|
2916
|
+
var disabledControls = ["box-shadow", "background-overlay", "filter", "backdrop-filter", "transform", "transition"];
|
|
2917
|
+
var StylesInheritanceIndicator = ({
|
|
2918
|
+
customContext
|
|
2919
|
+
}) => {
|
|
2920
|
+
const context = (0, import_editor_controls7.useBoundProp)();
|
|
2921
|
+
const { path, propType } = customContext || context;
|
|
2919
2922
|
const inheritanceChain = useStylesInheritanceChain(path);
|
|
2920
2923
|
if (!path || !inheritanceChain.length) {
|
|
2921
2924
|
return null;
|
|
@@ -5462,8 +5465,9 @@ function initResetStyleProps() {
|
|
|
5462
5465
|
function useResetStyleValueProps() {
|
|
5463
5466
|
const isStyle = useIsStyle();
|
|
5464
5467
|
const { value, setValue, path } = (0, import_editor_controls61.useBoundProp)();
|
|
5468
|
+
const isInRepeater = path?.some((key) => !isNaN(Number(key)));
|
|
5465
5469
|
return {
|
|
5466
|
-
visible: isStyle && value !== null && value !== void 0 &&
|
|
5470
|
+
visible: isStyle && value !== null && value !== void 0 && !isInRepeater,
|
|
5467
5471
|
title: (0, import_i18n65.__)("Clear", "elementor"),
|
|
5468
5472
|
icon: import_icons29.BrushBigIcon,
|
|
5469
5473
|
onClick: () => setValue(null)
|