@elementor/editor-editing-panel 3.32.0-86 → 3.32.0-87
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,7 +2913,7 @@ 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"];
|
|
2916
|
+
var disabledControls = ["box-shadow", "background-overlay", "filter", "backdrop-filter", "transform", "transition"];
|
|
2917
2917
|
var StylesInheritanceIndicator = () => {
|
|
2918
2918
|
const { path, propType } = (0, import_editor_controls7.useBoundProp)();
|
|
2919
2919
|
const inheritanceChain = useStylesInheritanceChain(path);
|
|
@@ -5462,8 +5462,9 @@ function initResetStyleProps() {
|
|
|
5462
5462
|
function useResetStyleValueProps() {
|
|
5463
5463
|
const isStyle = useIsStyle();
|
|
5464
5464
|
const { value, setValue, path } = (0, import_editor_controls61.useBoundProp)();
|
|
5465
|
+
const isInRepeater = path?.some((key) => !isNaN(Number(key)));
|
|
5465
5466
|
return {
|
|
5466
|
-
visible: isStyle && value !== null && value !== void 0 &&
|
|
5467
|
+
visible: isStyle && value !== null && value !== void 0 && !isInRepeater,
|
|
5467
5468
|
title: (0, import_i18n65.__)("Clear", "elementor"),
|
|
5468
5469
|
icon: import_icons29.BrushBigIcon,
|
|
5469
5470
|
onClick: () => setValue(null)
|