@vectoriox/iox-builder 3.1.0 → 3.3.0
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/package.json
CHANGED
|
@@ -150,6 +150,12 @@ interface InteractionAction {
|
|
|
150
150
|
params?: Record<string, any>;
|
|
151
151
|
/** If true, the action only plays once (relevant for viewport/scroll triggers). */
|
|
152
152
|
once?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Switched OFF by the author without deleting it — useful while tuning a multi-action sequence.
|
|
155
|
+
* Absent means enabled. Honoured by BOTH runtimes via the shared `isActionEnabled`: a disabled
|
|
156
|
+
* action does not animate, does not write context, and receives no pre-state.
|
|
157
|
+
*/
|
|
158
|
+
disabled?: boolean;
|
|
153
159
|
}
|
|
154
160
|
interface IoxInteraction {
|
|
155
161
|
id: string;
|
|
@@ -717,7 +723,12 @@ declare enum PanelEventTypes {
|
|
|
717
723
|
/** Open the Interactions panel and EXPAND a specific interaction for editing (data = interaction
|
|
718
724
|
* id). Emitted when the overlay interaction badge is clicked so that badge → "edit THIS
|
|
719
725
|
* interaction", without firing the element's (live) animation. */
|
|
720
|
-
INTERACTION_EDIT = "interactionedit"
|
|
726
|
+
INTERACTION_EDIT = "interactionedit",
|
|
727
|
+
/** A node's `interactions` were added/removed/edited. Carries `{ node }`.
|
|
728
|
+
* Repeater/Slider listen so their PREVIEW CLONES are re-cloned with the new interactions —
|
|
729
|
+
* clones are attached by ELEMENT at render time, so without this a new interaction only starts
|
|
730
|
+
* working after a save + reload. */
|
|
731
|
+
INTERACTION_CHANGED = "interactionchanged"
|
|
721
732
|
}
|
|
722
733
|
interface PanelEvent {
|
|
723
734
|
type: PanelEventTypes;
|