@fuf-stack/megapixels 1.0.1 → 2.0.0-next.1
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/README.md +3 -1
- package/dist/DataTable/index.d.mts +1 -1
- package/dist/DataTable/index.mjs +1 -1
- package/dist/{DataTable-CRSjenVg.mjs → DataTable-C7xhLtzy.mjs} +577 -442
- package/dist/DataTable-C7xhLtzy.mjs.map +1 -0
- package/dist/Filter/index.d.mts +1 -1
- package/dist/Filter/index.mjs +1 -1
- package/dist/{Filter-BTmKbroE.mjs → Filter-CAx3DWjI.mjs} +136 -83
- package/dist/Filter-CAx3DWjI.mjs.map +1 -0
- package/dist/Notification/index.d.mts +1 -1
- package/dist/Notification/index.mjs +1 -1
- package/dist/{Notification-bHSDnmsA.mjs → Notification-DrpqGoyn.mjs} +4 -4
- package/dist/{Notification-bHSDnmsA.mjs.map → Notification-DrpqGoyn.mjs.map} +1 -1
- package/dist/VirtualList/index.d.mts +1 -1
- package/dist/VirtualList/index.mjs +1 -1
- package/dist/VirtualList-Cz---_Jm.mjs +188 -0
- package/dist/VirtualList-Cz---_Jm.mjs.map +1 -0
- package/dist/{index-C20kbsap.d.mts → index-B8MLX5QP.d.mts} +80 -63
- package/dist/{index-C20kbsap.d.mts.map → index-B8MLX5QP.d.mts.map} +1 -1
- package/dist/{index-QjwjR0tT.d.mts → index-BYi0H0wJ.d.mts} +2 -2
- package/dist/{index-QjwjR0tT.d.mts.map → index-BYi0H0wJ.d.mts.map} +1 -1
- package/dist/{index-CNLdZuF-.d.mts → index-Bhg-2LmV.d.mts} +281 -202
- package/dist/{index-CNLdZuF-.d.mts.map → index-Bhg-2LmV.d.mts.map} +1 -1
- package/dist/{index-BxhYTX-_.d.mts → index-xNVpv6cI.d.mts} +29 -12
- package/dist/{index-BxhYTX-_.d.mts.map → index-xNVpv6cI.d.mts.map} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +9 -9
- package/dist/DataTable-CRSjenVg.mjs.map +0 -1
- package/dist/Filter-BTmKbroE.mjs.map +0 -1
- package/dist/VirtualList-C7T47V_m.mjs +0 -152
- package/dist/VirtualList-C7T47V_m.mjs.map +0 -1
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { t as useInfiniteVirtualizer } from "./useInfiniteVirtualizer-CHBE4y7W.mjs";
|
|
2
|
-
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
3
|
-
import { ScrollShadow } from "@fuf-stack/pixels/ScrollShadow";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
// src/VirtualList/VirtualList.tsx
|
|
6
|
-
const virtualListVariants = tv({ slots: {
|
|
7
|
-
base: "w-full max-w-2xl",
|
|
8
|
-
item: "box-border border-b border-divider bg-content1 p-3 text-foreground",
|
|
9
|
-
list: "relative m-0 list-none p-0",
|
|
10
|
-
loadingMoreCell: "py-3 text-center text-default-500",
|
|
11
|
-
placeholderItem: "box-border border-b border-divider bg-content1 px-3",
|
|
12
|
-
scrollContainer: "w-full min-w-80 overflow-y-auto overflow-x-hidden",
|
|
13
|
-
scrollFrame: "rounded-md border border-divider bg-content1",
|
|
14
|
-
scrollShadow: ""
|
|
15
|
-
} });
|
|
16
|
-
/**
|
|
17
|
-
* Generic virtualized list with optional cursor-based infinite scrolling.
|
|
18
|
-
*
|
|
19
|
-
* Behavior:
|
|
20
|
-
* - renders only virtualized rows for performance
|
|
21
|
-
* - supports dynamic heights via shared `useInfiniteVirtualizer`
|
|
22
|
-
* - supports two scrollbar strategies in infinite mode (`loaded-count` and
|
|
23
|
-
* `total-count`) by appending placeholders and a load-more sentinel
|
|
24
|
-
*/
|
|
25
|
-
const VirtualList = ({ className = void 0, data, infiniteScroll = void 0, loadingMoreContent = "Loading more...", renderItem, retryContent = "Load next page", testId = void 0, virtualization }) => {
|
|
26
|
-
const variants = virtualListVariants();
|
|
27
|
-
const classNames = variantsToClassNames(variants, className, "base");
|
|
28
|
-
const baseItems = data.map((item, index) => {
|
|
29
|
-
return {
|
|
30
|
-
index,
|
|
31
|
-
key: `item-${index}`,
|
|
32
|
-
kind: "item",
|
|
33
|
-
value: item
|
|
34
|
-
};
|
|
35
|
-
});
|
|
36
|
-
if (infiniteScroll?.scrollbarMode === "total-count") {
|
|
37
|
-
const placeholderCount = Math.max(infiniteScroll.pageInfo.totalCount - data.length, 0);
|
|
38
|
-
for (let placeholderOffset = 0; placeholderOffset < placeholderCount; placeholderOffset += 1) baseItems.push({
|
|
39
|
-
index: data.length + placeholderOffset,
|
|
40
|
-
key: `placeholder-${data.length + placeholderOffset}`,
|
|
41
|
-
kind: "placeholder"
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
if (infiniteScroll && (infiniteScroll.pageInfo.hasNextPage || infiniteScroll.isFetchingNextPage || infiniteScroll.loadMoreError)) baseItems.push({
|
|
45
|
-
index: -1,
|
|
46
|
-
key: "load-more",
|
|
47
|
-
kind: "load-more"
|
|
48
|
-
});
|
|
49
|
-
const loadedItemCount = data.length;
|
|
50
|
-
const { measureElement, retry, scrollElementRef, totalSize, virtualItems } = useInfiniteVirtualizer({
|
|
51
|
-
count: baseItems.length,
|
|
52
|
-
dynamicRowHeight: virtualization.dynamicRowHeight ?? Boolean(infiniteScroll),
|
|
53
|
-
estimateSize: () => {
|
|
54
|
-
return virtualization.estimateRowHeight ?? 45;
|
|
55
|
-
},
|
|
56
|
-
hasNextPage: infiniteScroll?.pageInfo.hasNextPage,
|
|
57
|
-
isFetchingNextPage: infiniteScroll?.isFetchingNextPage,
|
|
58
|
-
loadedCount: loadedItemCount,
|
|
59
|
-
loadMoreError: infiniteScroll?.loadMoreError,
|
|
60
|
-
loadMoreThreshold: infiniteScroll?.loadMoreThreshold,
|
|
61
|
-
onLoadMore: infiniteScroll ? () => {
|
|
62
|
-
infiniteScroll.onLoadMore({
|
|
63
|
-
cursor: infiniteScroll.pageInfo.endCursor,
|
|
64
|
-
direction: "forward"
|
|
65
|
-
});
|
|
66
|
-
} : void 0,
|
|
67
|
-
overscan: virtualization.overscan,
|
|
68
|
-
shouldLoadMore: ({ loadMoreThreshold, virtualItems: activeItems }) => {
|
|
69
|
-
if (!infiniteScroll) return false;
|
|
70
|
-
const kindsInRange = new Set(activeItems.map((item) => {
|
|
71
|
-
return baseItems[item.index]?.kind;
|
|
72
|
-
}));
|
|
73
|
-
if (kindsInRange.has("placeholder") || kindsInRange.has("load-more")) return true;
|
|
74
|
-
return (activeItems[activeItems.length - 1]?.index ?? 0) >= Math.max(loadedItemCount - loadMoreThreshold - 1, 0);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return /* @__PURE__ */ jsx("div", {
|
|
78
|
-
className: classNames.base,
|
|
79
|
-
"data-slot": "base",
|
|
80
|
-
"data-testid": testId,
|
|
81
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
82
|
-
className: classNames.scrollFrame,
|
|
83
|
-
"data-slot": "scroll-frame",
|
|
84
|
-
children: /* @__PURE__ */ jsx(ScrollShadow, {
|
|
85
|
-
ref: scrollElementRef,
|
|
86
|
-
className: classNames.scrollShadow ? `${classNames.scrollContainer} ${classNames.scrollShadow}` : classNames.scrollContainer,
|
|
87
|
-
dataSlot: "scroll-container",
|
|
88
|
-
size: virtualization.scrollShadowSize ?? 40,
|
|
89
|
-
style: { maxHeight: virtualization.maxHeight },
|
|
90
|
-
visibility: infiniteScroll?.loadMoreError ? "none" : "auto",
|
|
91
|
-
children: /* @__PURE__ */ jsx("ul", {
|
|
92
|
-
className: classNames.list,
|
|
93
|
-
"data-slot": "list",
|
|
94
|
-
style: { height: `${totalSize}px` },
|
|
95
|
-
children: virtualItems.map((virtualItem) => {
|
|
96
|
-
const item = baseItems[virtualItem.index];
|
|
97
|
-
if (!item) return null;
|
|
98
|
-
if (item.kind === "placeholder") return /* @__PURE__ */ jsx("li", {
|
|
99
|
-
ref: measureElement,
|
|
100
|
-
className: classNames.placeholderItem,
|
|
101
|
-
"data-index": virtualItem.index,
|
|
102
|
-
"data-slot": "placeholder-item",
|
|
103
|
-
style: {
|
|
104
|
-
alignItems: "center",
|
|
105
|
-
display: "flex",
|
|
106
|
-
height: `${virtualItem.size}px`,
|
|
107
|
-
position: "absolute",
|
|
108
|
-
transform: `translateY(${virtualItem.start}px)`,
|
|
109
|
-
width: "100%"
|
|
110
|
-
},
|
|
111
|
-
children: /* @__PURE__ */ jsx("span", { className: "block h-3 w-2/3 animate-pulse rounded bg-default-300/50 dark:bg-default-300/20" })
|
|
112
|
-
}, item.key);
|
|
113
|
-
if (item.kind === "load-more") return /* @__PURE__ */ jsx("li", {
|
|
114
|
-
ref: measureElement,
|
|
115
|
-
className: classNames.loadingMoreCell,
|
|
116
|
-
"data-index": virtualItem.index,
|
|
117
|
-
"data-slot": "loading-more-cell",
|
|
118
|
-
style: {
|
|
119
|
-
position: "absolute",
|
|
120
|
-
transform: `translateY(${virtualItem.start}px)`,
|
|
121
|
-
width: "100%"
|
|
122
|
-
},
|
|
123
|
-
children: infiniteScroll?.loadMoreError ? /* @__PURE__ */ jsx("button", {
|
|
124
|
-
onClick: retry,
|
|
125
|
-
type: "button",
|
|
126
|
-
children: infiniteScroll.retryContent ?? retryContent
|
|
127
|
-
}) : loadingMoreContent
|
|
128
|
-
}, item.key);
|
|
129
|
-
if (item.kind === "item") return /* @__PURE__ */ jsx("li", {
|
|
130
|
-
ref: measureElement,
|
|
131
|
-
className: classNames.item,
|
|
132
|
-
"data-index": virtualItem.index,
|
|
133
|
-
"data-slot": "item",
|
|
134
|
-
style: {
|
|
135
|
-
position: "absolute",
|
|
136
|
-
transform: `translateY(${virtualItem.start}px)`,
|
|
137
|
-
width: "100%"
|
|
138
|
-
},
|
|
139
|
-
children: renderItem(item.value, item.index)
|
|
140
|
-
}, item.key);
|
|
141
|
-
return null;
|
|
142
|
-
})
|
|
143
|
-
})
|
|
144
|
-
})
|
|
145
|
-
})
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
// src/VirtualList/index.ts
|
|
149
|
-
var VirtualList_default = VirtualList;
|
|
150
|
-
export { VirtualList as n, virtualListVariants as r, VirtualList_default as t };
|
|
151
|
-
|
|
152
|
-
//# sourceMappingURL=VirtualList-C7T47V_m.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualList-C7T47V_m.mjs","names":[],"sources":["../src/VirtualList/VirtualList.tsx","../src/VirtualList/index.ts"],"sourcesContent":["import type { TVClassName } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\nimport type {\n DataTableInfiniteScrollFeature,\n DataTableVirtualizationFeature,\n} from '../DataTable';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\nimport { ScrollShadow } from '@fuf-stack/pixels/ScrollShadow';\n\nimport { useInfiniteVirtualizer } from '../hooks/useInfiniteVirtualizer';\n\nexport const virtualListVariants = tv({\n slots: {\n // Root wrapper for the entire component.\n base: 'w-full max-w-2xl',\n // Rendered item row for loaded data.\n item: 'box-border border-b border-divider bg-content1 p-3 text-foreground',\n // Positioned list container that owns virtual row placement.\n list: 'relative m-0 list-none p-0',\n // Footer row for loading/retry actions in infinite mode.\n loadingMoreCell: 'py-3 text-center text-default-500',\n // Skeleton-like placeholder for unloaded rows in total-count mode.\n placeholderItem: 'box-border border-b border-divider bg-content1 px-3',\n // Scrollable viewport used as the virtualizer scroll element.\n scrollContainer: 'w-full min-w-80 overflow-y-auto overflow-x-hidden',\n // Visual frame around the masked scroll area (stays fully opaque).\n scrollFrame: 'rounded-md border border-divider bg-content1',\n // Optional styling slot for ScrollShadow wrapper behavior.\n scrollShadow: '',\n },\n});\n\ntype VirtualListClassName = TVClassName<typeof virtualListVariants>;\n\nexport interface VirtualListProps<TData> {\n /** Slot-based class overrides generated from `virtualListVariants`. */\n className?: VirtualListClassName;\n /** Currently loaded items to render. */\n data: TData[];\n /** Optional cursor-based infinite-scroll configuration. */\n infiniteScroll?: DataTableInfiniteScrollFeature;\n /** Content rendered in the load-more row while fetching. */\n loadingMoreContent?: ReactNode;\n /** Renderer for each loaded item. */\n renderItem: (item: TData, index: number) => ReactNode;\n /** Fallback retry label when load-more has failed. */\n retryContent?: ReactNode;\n /** Optional `data-testid` prefix. */\n testId?: string;\n /** Virtualizer viewport and measurement options. */\n virtualization: DataTableVirtualizationFeature;\n}\n\n/**\n * Generic virtualized list with optional cursor-based infinite scrolling.\n *\n * Behavior:\n * - renders only virtualized rows for performance\n * - supports dynamic heights via shared `useInfiniteVirtualizer`\n * - supports two scrollbar strategies in infinite mode (`loaded-count` and\n * `total-count`) by appending placeholders and a load-more sentinel\n */\nconst VirtualList = <TData,>({\n className = undefined,\n data,\n infiniteScroll = undefined,\n loadingMoreContent = 'Loading more...',\n renderItem,\n retryContent = 'Load next page',\n testId = undefined,\n virtualization,\n}: VirtualListProps<TData>) => {\n const variants = virtualListVariants();\n const classNames = variantsToClassNames(variants, className, 'base');\n\n /** Internal flattened item model consumed by the virtualizer render loop. */\n type VirtualListItem =\n | { index: number; key: string; kind: 'item'; value: TData }\n | { index: number; key: string; kind: 'load-more' | 'placeholder' };\n\n // Start with currently loaded data items.\n const baseItems: VirtualListItem[] = data.map((item, index) => {\n return {\n index,\n key: `item-${index}`,\n kind: 'item',\n value: item,\n };\n });\n\n if (infiniteScroll?.scrollbarMode === 'total-count') {\n // Reserve full scrollbar height by adding placeholders for unloaded rows.\n const placeholderCount = Math.max(\n infiniteScroll.pageInfo.totalCount - data.length,\n 0,\n );\n for (\n let placeholderOffset = 0;\n placeholderOffset < placeholderCount;\n placeholderOffset += 1\n ) {\n baseItems.push({\n index: data.length + placeholderOffset,\n key: `placeholder-${data.length + placeholderOffset}`,\n kind: 'placeholder',\n });\n }\n }\n\n if (\n infiniteScroll &&\n (infiniteScroll.pageInfo.hasNextPage ||\n infiniteScroll.isFetchingNextPage ||\n infiniteScroll.loadMoreError)\n ) {\n // Add a trailing sentinel row for loading/retry behavior.\n baseItems.push({\n index: -1,\n key: 'load-more',\n kind: 'load-more',\n });\n }\n\n const loadedItemCount = data.length;\n\n // Shared virtualizer handles windowing + load-more triggering; this component\n // only maps its virtual items to list markup.\n const { measureElement, retry, scrollElementRef, totalSize, virtualItems } =\n useInfiniteVirtualizer({\n count: baseItems.length,\n dynamicRowHeight:\n virtualization.dynamicRowHeight ?? Boolean(infiniteScroll),\n estimateSize: () => {\n return virtualization.estimateRowHeight ?? 45;\n },\n hasNextPage: infiniteScroll?.pageInfo.hasNextPage,\n isFetchingNextPage: infiniteScroll?.isFetchingNextPage,\n loadedCount: loadedItemCount,\n loadMoreError: infiniteScroll?.loadMoreError,\n loadMoreThreshold: infiniteScroll?.loadMoreThreshold,\n onLoadMore: infiniteScroll\n ? () => {\n infiniteScroll.onLoadMore({\n cursor: infiniteScroll.pageInfo.endCursor,\n direction: 'forward',\n });\n }\n : undefined,\n overscan: virtualization.overscan,\n // Decide when to request the next page from the parent.\n shouldLoadMore: ({ loadMoreThreshold, virtualItems: activeItems }) => {\n if (!infiniteScroll) {\n return false;\n }\n\n // If placeholders or the load-more row are visible, fetch immediately.\n const kindsInRange = new Set(\n activeItems.map((item) => {\n return baseItems[item.index]?.kind;\n }),\n );\n if (kindsInRange.has('placeholder') || kindsInRange.has('load-more')) {\n return true;\n }\n\n // Otherwise prefetch shortly before the loaded tail enters viewport.\n const lastVirtualIndex =\n activeItems[activeItems.length - 1]?.index ?? 0;\n const boundary = Math.max(loadedItemCount - loadMoreThreshold - 1, 0);\n return lastVirtualIndex >= boundary;\n },\n });\n\n return (\n <div className={classNames.base} data-slot=\"base\" data-testid={testId}>\n <div className={classNames.scrollFrame} data-slot=\"scroll-frame\">\n <ScrollShadow\n ref={scrollElementRef}\n className={\n classNames.scrollShadow\n ? `${classNames.scrollContainer} ${classNames.scrollShadow}`\n : classNames.scrollContainer\n }\n // show scroll shadow when there is no page load more error\n dataSlot=\"scroll-container\"\n size={virtualization.scrollShadowSize ?? 40}\n style={{ maxHeight: virtualization.maxHeight }}\n // show scroll shadow when there is no page load more error\n visibility={infiniteScroll?.loadMoreError ? 'none' : 'auto'}\n >\n <ul\n className={classNames.list}\n data-slot=\"list\"\n // Total virtual height (loaded rows + optional placeholders/sentinel).\n style={{ height: `${totalSize}px` }}\n >\n {virtualItems.map((virtualItem) => {\n const item = baseItems[virtualItem.index];\n if (!item) {\n return null;\n }\n\n if (item.kind === 'placeholder') {\n // Reserved space for rows we have not loaded yet (total-count mode).\n return (\n <li\n key={item.key}\n ref={measureElement}\n className={classNames.placeholderItem}\n data-index={virtualItem.index}\n data-slot=\"placeholder-item\"\n style={{\n alignItems: 'center',\n display: 'flex',\n height: `${virtualItem.size}px`,\n position: 'absolute',\n transform: `translateY(${virtualItem.start}px)`,\n width: '100%',\n }}\n >\n <span className=\"block h-3 w-2/3 animate-pulse rounded bg-default-300/50 dark:bg-default-300/20\" />\n </li>\n );\n }\n\n if (item.kind === 'load-more') {\n // Infinite-scroll sentinel row: loading indicator or retry action.\n return (\n <li\n key={item.key}\n ref={measureElement}\n className={classNames.loadingMoreCell}\n data-index={virtualItem.index}\n data-slot=\"loading-more-cell\"\n style={{\n position: 'absolute',\n transform: `translateY(${virtualItem.start}px)`,\n width: '100%',\n }}\n >\n {infiniteScroll?.loadMoreError ? (\n <button onClick={retry} type=\"button\">\n {infiniteScroll.retryContent ?? retryContent}\n </button>\n ) : (\n loadingMoreContent\n )}\n </li>\n );\n }\n\n if (item.kind === 'item') {\n return (\n // Standard loaded item row.\n <li\n key={item.key}\n ref={measureElement}\n className={classNames.item}\n data-index={virtualItem.index}\n data-slot=\"item\"\n style={{\n position: 'absolute',\n transform: `translateY(${virtualItem.start}px)`,\n width: '100%',\n }}\n >\n {renderItem(item.value, item.index)}\n </li>\n );\n }\n\n return null;\n })}\n </ul>\n </ScrollShadow>\n </div>\n </div>\n );\n};\n\nexport default VirtualList;\n","import VirtualList from './VirtualList';\n\nexport { virtualListVariants } from './VirtualList';\nexport type { VirtualListProps } from './VirtualList';\n\nexport { VirtualList };\nexport default Vir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