@elementor/editor-controls 4.0.0-619 → 4.0.0-621

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
@@ -5778,7 +5778,7 @@ var SelectionSizeControl = createControl(
5778
5778
  );
5779
5779
 
5780
5780
  // src/controls/transition-control/data.ts
5781
- import { isVersionGreaterOrEqual } from "@elementor/utils";
5781
+ import { hasProInstalled, isVersionGreaterOrEqual } from "@elementor/utils";
5782
5782
  import { __ as __48 } from "@wordpress/i18n";
5783
5783
  var initialTransitionValue = {
5784
5784
  selection: {
@@ -5795,8 +5795,7 @@ var getIsSiteRtl = () => {
5795
5795
  return !!window.elementorFrontend?.config?.is_rtl;
5796
5796
  };
5797
5797
  var shouldExtendTransitionProperties = () => {
5798
- const hasProInstalled = !!window.elementorPro;
5799
- if (!hasProInstalled) {
5798
+ if (!hasProInstalled()) {
5800
5799
  return false;
5801
5800
  }
5802
5801
  const proVersion = window.elementorPro?.config?.version;