UNPKG

@zag-js/collection

Version:

Utilities to manage a collection of items.

8 lines (7 loc) 771 B
export { GridCollection, GridCollectionOptions, isGridCollection } from './grid-collection.mjs'; export { ListCollection, isListCollection } from './list-collection.mjs'; export { SelectionMapCollection, createSelectedItemMap, deriveSelectionState, resolveSelectedItems, updateSelectedItemMap } from './selection-map.mjs'; export { Selection, SelectionMode } from './selection.mjs'; export { TreeCollection, filePathToTree, flattenedToTree } from './tree-collection.mjs'; export { CollectionItem, CollectionMethods, CollectionOptions, CollectionSearchOptions, CollectionSearchState, FilePathTreeNode, FlatTreeNode, FlatTreeNodeMeta, IndexPath, TreeCollectionMethods, TreeCollectionOptions, TreeNode, TreeSkipFn, ValuePath } from './types.mjs'; import './tree-visit.mjs';