@elementor/editor-controls 3.33.0-277 → 3.33.0-278

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
@@ -5730,14 +5730,14 @@ var isPropertyUsed = (value, property) => {
5730
5730
  });
5731
5731
  };
5732
5732
  var getDisabledItemLabels = (values = []) => {
5733
- const itemLabelsInUse = (values || []).map(
5734
- (item) => item.value?.selection?.value?.value?.key?.value
5733
+ const disabledLabels = (values || []).map(
5734
+ (item) => item.value?.selection?.value?.key?.value
5735
5735
  );
5736
5736
  transitionProperties.forEach((category) => {
5737
- const disabledProperties = category.properties.filter((property) => property.isDisabled && !itemLabelsInUse.includes(property.label)).map((property) => property.label);
5738
- itemLabelsInUse.push(...disabledProperties);
5737
+ const disabledProperties = category.properties.filter((property) => property.isDisabled && !disabledLabels.includes(property.label)).map((property) => property.label);
5738
+ disabledLabels.push(...disabledProperties);
5739
5739
  });
5740
- return itemLabelsInUse;
5740
+ return disabledLabels;
5741
5741
  };
5742
5742
  var getInitialValue = (values = []) => {
5743
5743
  if (!values?.length) {