@elementor/editor-controls 3.35.0-354 → 3.35.0-355
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.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/controls/filter-control/drop-shadow/drop-shadow-item-content.tsx +0 -1
- package/src/controls/filter-control/single-size/single-size-item-content.tsx +1 -1
- package/src/controls/selection-size-control.tsx +1 -9
- package/src/controls/size-control.tsx +0 -1
- package/src/controls/transform-control/functions/axis-row.tsx +0 -1
- package/src/controls/transition-control/transition-repeater-control.tsx +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2003,8 +2003,7 @@ var DropShadowItemContent = ({ anchorEl }) => {
|
|
|
2003
2003
|
{
|
|
2004
2004
|
anchorRef: rowRefs[item.rowIndex],
|
|
2005
2005
|
enablePropTypeUnits: true,
|
|
2006
|
-
defaultUnit: "px"
|
|
2007
|
-
isRepeaterControl: true
|
|
2006
|
+
defaultUnit: "px"
|
|
2008
2007
|
}
|
|
2009
2008
|
))))));
|
|
2010
2009
|
};
|
|
@@ -2030,7 +2029,7 @@ var SingleSizeItemContent = ({ filterFunc }) => {
|
|
|
2030
2029
|
const { getFilterFunctionConfig } = useFilterConfig();
|
|
2031
2030
|
const { valueName, filterFunctionGroup } = getFilterFunctionConfig(filterFunc);
|
|
2032
2031
|
const context = useBoundProp(propTypeMap[filterFunctionGroup]);
|
|
2033
|
-
return /* @__PURE__ */ React42.createElement(PropProvider, { ...context }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React42.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true
|
|
2032
|
+
return /* @__PURE__ */ React42.createElement(PropProvider, { ...context }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React42.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true }))))));
|
|
2034
2033
|
};
|
|
2035
2034
|
|
|
2036
2035
|
// src/controls/filter-control/filter-content.tsx
|
|
@@ -4936,7 +4935,6 @@ var AxisRow = ({ label, bind, startIcon, anchorRef, units: units2, variant = "an
|
|
|
4936
4935
|
units: units2,
|
|
4937
4936
|
variant,
|
|
4938
4937
|
min: -Number.MAX_SAFE_INTEGER,
|
|
4939
|
-
isRepeaterControl: true,
|
|
4940
4938
|
id: safeId
|
|
4941
4939
|
}
|
|
4942
4940
|
)))));
|
|
@@ -5462,13 +5460,7 @@ import { useMemo as useMemo10, useRef as useRef22 } from "react";
|
|
|
5462
5460
|
import { selectionSizePropTypeUtil } from "@elementor/editor-props";
|
|
5463
5461
|
import { Grid as Grid28 } from "@elementor/ui";
|
|
5464
5462
|
var SelectionSizeControl = createControl(
|
|
5465
|
-
({
|
|
5466
|
-
selectionLabel,
|
|
5467
|
-
sizeLabel,
|
|
5468
|
-
selectionConfig,
|
|
5469
|
-
sizeConfigMap,
|
|
5470
|
-
isRepeaterControl = false
|
|
5471
|
-
}) => {
|
|
5463
|
+
({ selectionLabel, sizeLabel, selectionConfig, sizeConfigMap }) => {
|
|
5472
5464
|
const { value, setValue, propType } = useBoundProp(selectionSizePropTypeUtil);
|
|
5473
5465
|
const rowRef = useRef22(null);
|
|
5474
5466
|
const sizeFieldId = sizeLabel.replace(/\s+/g, "-").toLowerCase();
|
|
@@ -5490,8 +5482,7 @@ var SelectionSizeControl = createControl(
|
|
|
5490
5482
|
variant: currentSizeConfig.variant,
|
|
5491
5483
|
units: currentSizeConfig.units,
|
|
5492
5484
|
defaultUnit: currentSizeConfig.defaultUnit,
|
|
5493
|
-
id: sizeFieldId
|
|
5494
|
-
isRepeaterControl
|
|
5485
|
+
id: sizeFieldId
|
|
5495
5486
|
}
|
|
5496
5487
|
))))));
|
|
5497
5488
|
}
|
|
@@ -5698,7 +5689,6 @@ var getSelectionSizeProps = (recentlyUsedList, disabledItems) => {
|
|
|
5698
5689
|
disabledItems
|
|
5699
5690
|
}
|
|
5700
5691
|
},
|
|
5701
|
-
isRepeaterControl: true,
|
|
5702
5692
|
sizeConfigMap: {
|
|
5703
5693
|
...transitionProperties.reduce(
|
|
5704
5694
|
(acc, category) => {
|