@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.mjs
CHANGED
|
@@ -2957,9 +2957,12 @@ function TooltipOrInfotip({
|
|
|
2957
2957
|
}
|
|
2958
2958
|
|
|
2959
2959
|
// src/styles-inheritance/components/styles-inheritance-indicator.tsx
|
|
2960
|
-
var disabledControls = ["box-shadow", "background-overlay", "filter", "backdrop-filter", "transform"];
|
|
2961
|
-
var StylesInheritanceIndicator = (
|
|
2962
|
-
|
|
2960
|
+
var disabledControls = ["box-shadow", "background-overlay", "filter", "backdrop-filter", "transform", "transition"];
|
|
2961
|
+
var StylesInheritanceIndicator = ({
|
|
2962
|
+
customContext
|
|
2963
|
+
}) => {
|
|
2964
|
+
const context = useBoundProp();
|
|
2965
|
+
const { path, propType } = customContext || context;
|
|
2963
2966
|
const inheritanceChain = useStylesInheritanceChain(path);
|
|
2964
2967
|
if (!path || !inheritanceChain.length) {
|
|
2965
2968
|
return null;
|
|
@@ -5572,8 +5575,9 @@ function initResetStyleProps() {
|
|
|
5572
5575
|
function useResetStyleValueProps() {
|
|
5573
5576
|
const isStyle = useIsStyle();
|
|
5574
5577
|
const { value, setValue, path } = useBoundProp11();
|
|
5578
|
+
const isInRepeater = path?.some((key) => !isNaN(Number(key)));
|
|
5575
5579
|
return {
|
|
5576
|
-
visible: isStyle && value !== null && value !== void 0 &&
|
|
5580
|
+
visible: isStyle && value !== null && value !== void 0 && !isInRepeater,
|
|
5577
5581
|
title: __65("Clear", "elementor"),
|
|
5578
5582
|
icon: BrushBigIcon,
|
|
5579
5583
|
onClick: () => setValue(null)
|