@wyxos/vibe 3.1.28 → 3.1.30
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/lib/components/viewer-core/fullscreenPreviews.d.ts +8 -0
- package/lib/components/viewer-core/surfaceSlots.d.ts +3 -0
- package/lib/components/viewer-core/useMasonryMotion.d.ts +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +518 -612
- package/lib/style.css +1 -1
- package/package.json +2 -1
- package/lib/components/FullscreenPreviewRail.vue.d.ts +0 -15
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { VibeViewerItem } from '../viewer';
|
|
2
|
+
import { type VibeListRenderableAsset } from './listPreview';
|
|
3
|
+
export interface VibeFullscreenPreviewItem {
|
|
4
|
+
asset: VibeListRenderableAsset;
|
|
5
|
+
index: number;
|
|
6
|
+
item: VibeViewerItem;
|
|
7
|
+
}
|
|
8
|
+
export declare function getFullscreenNextPreviews(items: VibeViewerItem[], activeIndex: number, maxItems?: number): VibeFullscreenPreviewItem[];
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { VibeViewerItem } from '../viewer';
|
|
2
|
+
import type { VibeFullscreenPreviewItem } from './fullscreenPreviews';
|
|
3
|
+
export type { VibeFullscreenPreviewItem } from './fullscreenPreviews';
|
|
2
4
|
export type VibeSurfaceSlotProps = {
|
|
3
5
|
hasNextPage: boolean;
|
|
4
6
|
index: number;
|
|
5
7
|
item: VibeViewerItem;
|
|
6
8
|
loading: boolean;
|
|
9
|
+
nextPreviews: VibeFullscreenPreviewItem[];
|
|
7
10
|
paginationDetail: string | null;
|
|
8
11
|
total: number;
|
|
9
12
|
};
|
|
@@ -9,6 +9,7 @@ export interface VibeMasonryLeavingItem {
|
|
|
9
9
|
}
|
|
10
10
|
export declare function getVibeMasonryEnterOrder(itemIds: string[], direction: VibeMasonryEnterDirection): string[];
|
|
11
11
|
export declare function getVibeMasonryEnterDuration(itemCount: number): number;
|
|
12
|
+
export declare function shouldWindowVibeMasonryEnterTracking(pendingCount: number, addedCount: number, maxPendingItems?: number): boolean;
|
|
12
13
|
export declare function getVibeMasonryLeaveDuration(): number;
|
|
13
14
|
export declare function getVibeMasonryEnterStartY(options: {
|
|
14
15
|
direction: VibeMasonryEnterDirection;
|