@elementor/editor-components 3.35.0-353 → 3.35.0-354
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
|
@@ -1704,7 +1704,7 @@ var componentInstanceOverridePropTypeUtil = (0, import_editor_props.createPropUt
|
|
|
1704
1704
|
// src/prop-types/component-instance-overrides-prop-type.ts
|
|
1705
1705
|
var componentInstanceOverridesPropTypeUtil = (0, import_editor_props2.createPropUtils)(
|
|
1706
1706
|
"overrides",
|
|
1707
|
-
import_schema3.z.array(componentInstanceOverridePropTypeUtil.schema)
|
|
1707
|
+
import_schema3.z.array(componentInstanceOverridePropTypeUtil.schema).optional().default([])
|
|
1708
1708
|
);
|
|
1709
1709
|
|
|
1710
1710
|
// src/prop-types/component-instance-prop-type.ts
|
|
@@ -1712,7 +1712,7 @@ var componentInstancePropTypeUtil = (0, import_editor_props3.createPropUtils)(
|
|
|
1712
1712
|
"component-instance",
|
|
1713
1713
|
import_schema4.z.object({
|
|
1714
1714
|
component_id: import_editor_props3.numberPropTypeUtil.schema,
|
|
1715
|
-
overrides: componentInstanceOverridesPropTypeUtil.schema
|
|
1715
|
+
overrides: import_schema4.z.optional(componentInstanceOverridesPropTypeUtil.schema)
|
|
1716
1716
|
})
|
|
1717
1717
|
);
|
|
1718
1718
|
|