@elementor/editor-editing-panel 3.33.0-218 → 3.33.0-220

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
@@ -4850,18 +4850,11 @@ var React86 = __toESM(require("react"));
4850
4850
  var import_icons24 = require("@elementor/icons");
4851
4851
  var import_ui42 = require("@elementor/ui");
4852
4852
  var import_i18n60 = require("@wordpress/i18n");
4853
- var ANIMATION_OPTIONS = [
4854
- { value: "", label: "Select animation..." },
4855
- { value: "pageload-fade-in-left-1000-1000", label: "Page Load - Fade In Left" },
4856
- { value: "scrollintoview-fade-in-left-1000-1000", label: "Scroll Into View - Fade In Left" },
4857
- { value: "scrolloutofview-fade-out-right-1000-1000", label: "Scroll Out of View - Fade Out Right" },
4858
- { value: "pageload-slide-in-up-1000-1000", label: "Page Load - Slide In Up" },
4859
- { value: "scrollintoview-slide-in-up-1000-1000", label: "Scroll Into View - Slide In Up" },
4860
- { value: "scrolloutofview-slide-out-down-1000-1000", label: "Scroll Out of View - Slide Out Down" },
4861
- { value: "pageload-scale-in-1000-1000", label: "Page Load - Scale In" },
4862
- { value: "scrollintoview-scale-in-1000-1000", label: "Scroll Into View - Scale In" },
4863
- { value: "scrolloutofview-scale-out-1000-1000", label: "Scroll Out of View - Scale Out" }
4864
- ];
4853
+ var getAnimationOptions = () => {
4854
+ const extendedWindow = window;
4855
+ return extendedWindow.ElementorInteractionsConfig?.animationOptions;
4856
+ };
4857
+ var ANIMATION_OPTIONS = getAnimationOptions() || [{ value: "", label: "Select animation..." }];
4865
4858
  var InteractionsInput = () => {
4866
4859
  const { interactions, setInteractions } = useInteractionsContext();
4867
4860
  const currentAnimationIds = React86.useMemo(() => {