@elementor/editor-controls 4.1.0-791 → 4.1.0-792

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
@@ -3681,7 +3681,7 @@ var LinkedDimensionsControl = ({ label, isSiteRtl = false, min }) => {
3681
3681
  const linkedLabel = __20("Link %s", "elementor").replace("%s", tooltipLabel);
3682
3682
  const unlinkedLabel = __20("Unlink %s", "elementor").replace("%s", tooltipLabel);
3683
3683
  const disabled = sizeDisabled || dimensionsDisabled;
3684
- const effectiveDimensionsPlaceholder = dimensionsPlaceholder ?? (sizePropTypeUtil5.extract(masterPlaceholder) ? {
3684
+ const effectiveDimensionsPlaceholder = dimensionsPlaceholder ?? (!isLinked ? {
3685
3685
  "block-start": masterPlaceholder,
3686
3686
  "block-end": masterPlaceholder,
3687
3687
  "inline-start": masterPlaceholder,
@@ -4695,7 +4695,7 @@ var GapControl = ({ label }) => {
4695
4695
  const disabled = sizeDisabled || directionDisabled;
4696
4696
  const propProviderProps = {
4697
4697
  propType,
4698
- value: directionValue,
4698
+ value: directionValue ?? (!isLinked ? { row: masterPlaceholder, column: masterPlaceholder } : null),
4699
4699
  setValue: (directions) => {
4700
4700
  const entries = Object.entries(directions);
4701
4701
  const filtered = entries.filter(([, value]) => Boolean(value));