@vectoriox/iox-ui 4.5.1 → 4.6.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
|
@@ -827,9 +827,19 @@ declare function dataSourcePlanToRequest(plan: DataSourcePlan, endpoints: DataSo
|
|
|
827
827
|
*/
|
|
828
828
|
/** Perspective (px) applied to the transition container unless a preset overrides it. */
|
|
829
829
|
declare const DEFAULT_PAGE_TRANSITION_PERSPECTIVE = 1200;
|
|
830
|
-
/**
|
|
831
|
-
|
|
832
|
-
|
|
830
|
+
/**
|
|
831
|
+
* Default transition duration (ms). Deliberately long — a slow, settled transition is most of what
|
|
832
|
+
* makes a page change read as "premium"; the same motion at ~400ms feels like a snap.
|
|
833
|
+
*/
|
|
834
|
+
declare const DEFAULT_PAGE_TRANSITION_DURATION = 1500;
|
|
835
|
+
/**
|
|
836
|
+
* Default easing: a strong symmetric in-out. Paired with the long duration this is the "smoothness"
|
|
837
|
+
* — slow to leave, quick through the middle, gentle to settle.
|
|
838
|
+
*/
|
|
839
|
+
declare const DEFAULT_PAGE_TRANSITION_EASING = "cubic-bezier(0.76, 0, 0.24, 1)";
|
|
840
|
+
/** Default preset used when a page has no transition configured at all. */
|
|
841
|
+
declare const DEFAULT_PAGE_TRANSITION = "parallax-up";
|
|
842
|
+
type PageTransitionCategory = 'parallax' | 'move' | 'fade' | 'scale' | 'rotate';
|
|
833
843
|
interface PageTransitionPreset {
|
|
834
844
|
category: PageTransitionCategory;
|
|
835
845
|
label: string;
|
|
@@ -862,11 +872,11 @@ interface PageTransitionCategoryMeta {
|
|
|
862
872
|
/** Built from PAGE_TRANSITION_PRESETS so the two lists can never drift apart. */
|
|
863
873
|
declare const PAGE_TRANSITION_CATEGORIES: PageTransitionCategoryMeta[];
|
|
864
874
|
interface PageTransitionOptions {
|
|
865
|
-
/** Total transition duration (ms). */
|
|
866
|
-
duration?: number;
|
|
875
|
+
/** Total transition duration (ms). Accepts a numeric string — builder inputs persist strings. */
|
|
876
|
+
duration?: number | string;
|
|
867
877
|
easing?: string;
|
|
868
878
|
/** Container perspective (px); a preset-specific perspective still wins. */
|
|
869
|
-
perspective?: number;
|
|
879
|
+
perspective?: number | string;
|
|
870
880
|
}
|
|
871
881
|
interface ResolvedPageTransition {
|
|
872
882
|
outFrames: Keyframe[];
|
|
@@ -914,5 +924,5 @@ declare function effectiveTransitionId(anim: {
|
|
|
914
924
|
enter?: string | null;
|
|
915
925
|
} | null | undefined): string;
|
|
916
926
|
|
|
917
|
-
export { AOSService, AnalyticsService, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CMSClientInfraModule, CardComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ConsentService, ContainerComponent, ContentService, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_WIDTH_BY_TYPE, ENVIRONMENT, IOX_BUILDER_EVENTS, IS_PREVIEW, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxPageComponent, IoxPageModule, IoxUiModule, LinkedContainerComponent, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PageScrollProvider, PrivacyModalComponent, PrivacyModalService, PrivacyModelEvent, SectionComponent, TextBlockComponent, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, WebSettingsService, buildDataSourceFilter, buildTransitionTimeline, compileDeclarations, composeVirtualTraits, dataSourcePlanToRequest, effectiveTransitionId, legacyEnterToTransition, matchRouteParams, normalizeCollectionResult, planDataSource, renderDefaultDeclarations, resolvePageTransition, resolveSingleItemId, rewriteViewportUnits, styleKeyToKebab };
|
|
927
|
+
export { AOSService, AnalyticsService, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CMSClientInfraModule, CardComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ConsentService, ContainerComponent, ContentService, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_WIDTH_BY_TYPE, ENVIRONMENT, IOX_BUILDER_EVENTS, IS_PREVIEW, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxPageComponent, IoxPageModule, IoxUiModule, LinkedContainerComponent, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PageScrollProvider, PrivacyModalComponent, PrivacyModalService, PrivacyModelEvent, SectionComponent, TextBlockComponent, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, WebSettingsService, buildDataSourceFilter, buildTransitionTimeline, compileDeclarations, composeVirtualTraits, dataSourcePlanToRequest, effectiveTransitionId, legacyEnterToTransition, matchRouteParams, normalizeCollectionResult, planDataSource, renderDefaultDeclarations, resolvePageTransition, resolveSingleItemId, rewriteViewportUnits, styleKeyToKebab };
|
|
918
928
|
export type { DataSourceDomain, DataSourceEndpoints, DataSourceMode, DataSourcePlan, DataSourceQueryFilter, DataSourceRequest, DataSourceRequestSpec, DataSourceRouteFilter, DataSourceSpec, IBuilderEventEmitter, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionOptions, PageTransitionPreset, ResolvedPageTransition, TransitionPhase, TransitionTimelineInput };
|