@elementor/editor-components 4.1.0-790 → 4.1.0-791

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.js CHANGED
@@ -2249,7 +2249,7 @@ function OverrideControl({ overridableProp }) {
2249
2249
  const propTypeSchema = (0, import_editor_editing_panel3.createTopLevelObjectType)({
2250
2250
  schema: { [overridableProp.overrideKey]: propType }
2251
2251
  });
2252
- const setValue = (newValue) => {
2252
+ const setValue = (newValue, options, meta) => {
2253
2253
  let newPropValue = getTempNewValueForDynamicProp(
2254
2254
  propType,
2255
2255
  propValue,
@@ -2266,10 +2266,14 @@ function OverrideControl({ overridableProp }) {
2266
2266
  if (!matchingOverride) {
2267
2267
  newOverrides = [...newOverrides, newOverrideValue];
2268
2268
  }
2269
- setInstanceValue({
2270
- ...instanceValue,
2271
- overrides: componentInstanceOverridesPropTypeUtil.create(newOverrides)
2272
- });
2269
+ setInstanceValue(
2270
+ {
2271
+ ...instanceValue,
2272
+ overrides: componentInstanceOverridesPropTypeUtil.create(newOverrides)
2273
+ },
2274
+ options,
2275
+ meta
2276
+ );
2273
2277
  const overridableValue = componentOverridablePropTypeUtil.extract(newOverrideValue);
2274
2278
  if (overridableValue && wrappingComponentId) {
2275
2279
  if (overridableProp.originPropFields) {