@zag-js/collection
Version:
Utilities to manage a collection of items.
8 lines (7 loc) • 764 B
TypeScript
export { GridCollection, GridCollectionOptions, isGridCollection } from './grid-collection.js';
export { ListCollection, isListCollection } from './list-collection.js';
export { SelectionMapCollection, createSelectedItemMap, deriveSelectionState, resolveSelectedItems, updateSelectedItemMap } from './selection-map.js';
export { Selection, SelectionMode } from './selection.js';
export { TreeCollection, filePathToTree, flattenedToTree } from './tree-collection.js';
export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, IndexPath, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath } from './types.js';
import './tree-visit.js';