@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/editor-controls",
3
3
  "description": "This package contains the controls model and utils for the Elementor editor",
4
- "version": "4.1.0-791",
4
+ "version": "4.1.0-792",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -40,22 +40,22 @@
40
40
  "dev": "tsup --config=../../tsup.dev.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@elementor/editor-current-user": "4.1.0-791",
44
- "@elementor/editor-elements": "4.1.0-791",
45
- "@elementor/editor-props": "4.1.0-791",
46
- "@elementor/editor-responsive": "4.1.0-791",
47
- "@elementor/editor-ui": "4.1.0-791",
48
- "@elementor/editor-v1-adapters": "4.1.0-791",
49
- "@elementor/env": "4.1.0-791",
50
- "@elementor/events": "4.1.0-791",
51
- "@elementor/http-client": "4.1.0-791",
43
+ "@elementor/editor-current-user": "4.1.0-792",
44
+ "@elementor/editor-elements": "4.1.0-792",
45
+ "@elementor/editor-props": "4.1.0-792",
46
+ "@elementor/editor-responsive": "4.1.0-792",
47
+ "@elementor/editor-ui": "4.1.0-792",
48
+ "@elementor/editor-v1-adapters": "4.1.0-792",
49
+ "@elementor/env": "4.1.0-792",
50
+ "@elementor/events": "4.1.0-792",
51
+ "@elementor/http-client": "4.1.0-792",
52
52
  "@elementor/icons": "^1.68.0",
53
- "@elementor/locations": "4.1.0-791",
54
- "@elementor/query": "4.1.0-791",
55
- "@elementor/session": "4.1.0-791",
53
+ "@elementor/locations": "4.1.0-792",
54
+ "@elementor/query": "4.1.0-792",
55
+ "@elementor/session": "4.1.0-792",
56
56
  "@elementor/ui": "1.37.5",
57
- "@elementor/utils": "4.1.0-791",
58
- "@elementor/wp-media": "4.1.0-791",
57
+ "@elementor/utils": "4.1.0-792",
58
+ "@elementor/wp-media": "4.1.0-792",
59
59
  "@monaco-editor/react": "^4.7.0",
60
60
  "@tiptap/extension-bold": "^3.11.1",
61
61
  "@tiptap/extension-document": "^3.11.1",
@@ -94,7 +94,7 @@ export const GapControl = ( { label }: { label: string } ) => {
94
94
 
95
95
  const propProviderProps = {
96
96
  propType,
97
- value: directionValue,
97
+ value: directionValue ?? ( ! isLinked ? { row: masterPlaceholder, column: masterPlaceholder } : null ),
98
98
  setValue: ( directions: PropValue ) => {
99
99
  const entries = Object.entries( directions as LayoutDirectionPropValue );
100
100
  const filtered = entries.filter( ( [ , value ] ) => Boolean( value ) );
@@ -110,7 +110,7 @@ export const LinkedDimensionsControl = ( { label, isSiteRtl = false, min }: Prop
110
110
 
111
111
  const effectiveDimensionsPlaceholder =
112
112
  dimensionsPlaceholder ??
113
- ( sizePropTypeUtil.extract( masterPlaceholder )
113
+ ( ! isLinked
114
114
  ? {
115
115
  'block-start': masterPlaceholder,
116
116
  'block-end': masterPlaceholder,