@elementor/editor-components 3.35.0-455 → 3.35.0-456

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
@@ -4201,12 +4201,11 @@ function getOverridableProp({
4201
4201
  }
4202
4202
 
4203
4203
  // src/components/overridable-props/overridable-prop-indicator.tsx
4204
- var FORBIDDEN_KEYS = ["_cssid", "attributes"];
4205
4204
  function OverridablePropIndicator() {
4206
- const { bind } = useBoundProp3();
4205
+ const { propType } = useBoundProp3();
4207
4206
  const componentId = useCurrentComponentId();
4208
4207
  const overridableProps = useOverridableProps(componentId);
4209
- if (!isPropAllowed(bind) || !componentId || !overridableProps) {
4208
+ if (!isPropAllowed(propType) || !componentId || !overridableProps) {
4210
4209
  return null;
4211
4210
  }
4212
4211
  return /* @__PURE__ */ React31.createElement(Content2, { componentId, overridableProps });
@@ -4285,8 +4284,8 @@ function Content2({ componentId, overridableProps }) {
4285
4284
  )
4286
4285
  ));
4287
4286
  }
4288
- function isPropAllowed(bind) {
4289
- return !FORBIDDEN_KEYS.includes(bind);
4287
+ function isPropAllowed(propType) {
4288
+ return propType.meta.overridable !== false;
4290
4289
  }
4291
4290
 
4292
4291
  // src/hooks/cleanup-overridable-props-on-delete.ts