@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 +5 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/components/interactions-sections/interactions-input.tsx +8 -12
- package/src/sync/types.ts +3 -0
- package/src/types/interactions.ts +17 -0
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
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
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(() => {
|