@elementor/editor-controls 3.35.0-353 → 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/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": "3.35.0-353",
4
+ "version": "3.35.0-355",
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": "3.35.0-353",
44
- "@elementor/editor-elements": "3.35.0-353",
45
- "@elementor/editor-props": "3.35.0-353",
46
- "@elementor/editor-responsive": "3.35.0-353",
47
- "@elementor/editor-ui": "3.35.0-353",
48
- "@elementor/editor-v1-adapters": "3.35.0-353",
49
- "@elementor/env": "3.35.0-353",
50
- "@elementor/http-client": "3.35.0-353",
43
+ "@elementor/editor-current-user": "3.35.0-355",
44
+ "@elementor/editor-elements": "3.35.0-355",
45
+ "@elementor/editor-props": "3.35.0-355",
46
+ "@elementor/editor-responsive": "3.35.0-355",
47
+ "@elementor/editor-ui": "3.35.0-355",
48
+ "@elementor/editor-v1-adapters": "3.35.0-355",
49
+ "@elementor/env": "3.35.0-355",
50
+ "@elementor/http-client": "3.35.0-355",
51
51
  "@elementor/icons": "^1.62.0",
52
- "@elementor/locations": "3.35.0-353",
53
- "@elementor/mixpanel": "3.35.0-353",
54
- "@elementor/query": "3.35.0-353",
55
- "@elementor/session": "3.35.0-353",
52
+ "@elementor/locations": "3.35.0-355",
53
+ "@elementor/mixpanel": "3.35.0-355",
54
+ "@elementor/query": "3.35.0-355",
55
+ "@elementor/session": "3.35.0-355",
56
56
  "@elementor/ui": "1.36.17",
57
- "@elementor/utils": "3.35.0-353",
58
- "@elementor/wp-media": "3.35.0-353",
57
+ "@elementor/utils": "3.35.0-355",
58
+ "@elementor/wp-media": "3.35.0-355",
59
59
  "@wordpress/i18n": "^5.13.0",
60
60
  "@monaco-editor/react": "^4.7.0",
61
61
  "dayjs": "^1.11.18",
@@ -53,7 +53,6 @@ export const DropShadowItemContent = ( { anchorEl }: { anchorEl?: HTMLElement |
53
53
  anchorRef={ rowRefs[ item.rowIndex ] }
54
54
  enablePropTypeUnits
55
55
  defaultUnit="px"
56
- isRepeaterControl
57
56
  />
58
57
  ) }
59
58
  </Grid>
@@ -38,7 +38,7 @@ export const SingleSizeItemContent = ( { filterFunc }: { filterFunc: FilterFunct
38
38
  <ControlFormLabel>{ valueName }</ControlFormLabel>
39
39
  </Grid>
40
40
  <Grid item xs={ 6 }>
41
- <SizeControl anchorRef={ rowRef } enablePropTypeUnits isRepeaterControl />
41
+ <SizeControl anchorRef={ rowRef } enablePropTypeUnits />
42
42
  </Grid>
43
43
  </PopoverGridContainer>
44
44
  </PropKeyProvider>
@@ -20,17 +20,10 @@ type SelectionSizeControlProps = {
20
20
  sizeLabel: string;
21
21
  selectionConfig: SelectionComponentConfig;
22
22
  sizeConfigMap: Record< string, SizeControlConfig >;
23
- isRepeaterControl?: boolean;
24
23
  };
25
24
 
26
25
  export const SelectionSizeControl = createControl(
27
- ( {
28
- selectionLabel,
29
- sizeLabel,
30
- selectionConfig,
31
- sizeConfigMap,
32
- isRepeaterControl = false,
33
- }: SelectionSizeControlProps ) => {
26
+ ( { selectionLabel, sizeLabel, selectionConfig, sizeConfigMap }: SelectionSizeControlProps ) => {
34
27
  const { value, setValue, propType } = useBoundProp( selectionSizePropTypeUtil );
35
28
  const rowRef = useRef< HTMLDivElement >( null );
36
29
 
@@ -72,7 +65,6 @@ export const SelectionSizeControl = createControl(
72
65
  units={ currentSizeConfig.units }
73
66
  defaultUnit={ currentSizeConfig.defaultUnit }
74
67
  id={ sizeFieldId }
75
- isRepeaterControl={ isRepeaterControl }
76
68
  />
77
69
  </PropKeyProvider>
78
70
  </Grid>
@@ -43,7 +43,6 @@ type BaseSizeControlProps = {
43
43
  enablePropTypeUnits?: boolean;
44
44
  id?: string;
45
45
  ariaLabel?: string;
46
- isRepeaterControl?: boolean;
47
46
  };
48
47
 
49
48
  type LengthSizeControlProps = BaseSizeControlProps &
@@ -33,7 +33,6 @@ export const AxisRow = ( { label, bind, startIcon, anchorRef, units, variant = '
33
33
  units={ units }
34
34
  variant={ variant }
35
35
  min={ -Number.MAX_SAFE_INTEGER }
36
- isRepeaterControl
37
36
  id={ safeId }
38
37
  />
39
38
  </PropKeyProvider>
@@ -70,7 +70,6 @@ const getSelectionSizeProps = ( recentlyUsedList: string[], disabledItems?: stri
70
70
  disabledItems,
71
71
  },
72
72
  },
73
- isRepeaterControl: true,
74
73
  sizeConfigMap: {
75
74
  ...transitionProperties.reduce(
76
75
  ( acc, category ) => {