@vectoriox/iox-builder 1.7.14 → 1.8.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
|
@@ -91,7 +91,7 @@ interface IoxDataSource {
|
|
|
91
91
|
params?: Record<string, any>;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive';
|
|
94
|
+
type InteractionTrigger = 'pageLoad' | 'click' | 'hover' | 'viewportEnter' | 'scrollProgress' | 'pageLeave' | 'pageEnter' | 'swiperSlideChange' | 'swiperReachBeginning' | 'swiperReachEnd' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperSlideActive' | 'swiperSlideInactive';
|
|
95
95
|
type InteractionActionType = 'fadeIn' | 'fadeOut' | 'moveUp' | 'moveDown' | 'moveLeft' | 'moveRight' | 'scaleIn' | 'scaleOut' | 'rotate' | 'show' | 'hide' | 'toggleVisibility' | 'swiperNext' | 'swiperPrev' | 'swiperGoToSlide' | 'swiperAutoplayStart' | 'swiperAutoplayStop' | 'swiperAutoplayPause';
|
|
96
96
|
interface InteractionAction {
|
|
97
97
|
type: InteractionActionType;
|
|
@@ -424,10 +424,19 @@ interface PageScrollSettings {
|
|
|
424
424
|
infinite: boolean;
|
|
425
425
|
}
|
|
426
426
|
interface PageRouteAnimationSettings {
|
|
427
|
+
/** @deprecated legacy single-page enter preset — kept for back-compat migration to `transition`. */
|
|
427
428
|
enter: RouteAnimationPreset;
|
|
429
|
+
/** @deprecated legacy single-page leave preset — kept for back-compat migration to `transition`. */
|
|
428
430
|
leave: RouteAnimationPreset;
|
|
429
431
|
duration: number;
|
|
430
432
|
easing: string;
|
|
433
|
+
/**
|
|
434
|
+
* Cinematic paired out/in transition preset id (see PAGE_TRANSITION_PRESETS in @vectoriox/iox-ui).
|
|
435
|
+
* When set it supersedes the legacy `enter`/`leave` fields.
|
|
436
|
+
*/
|
|
437
|
+
transition?: string;
|
|
438
|
+
/** Container perspective (px) for 3D transitions. Falls back to the preset / global default. */
|
|
439
|
+
perspective?: number;
|
|
431
440
|
}
|
|
432
441
|
interface PageSettings {
|
|
433
442
|
style: PageStyleSettings;
|