@zag-js/collection
Version:
Utilities to manage a collection of items.
28 lines (26 loc) • 719 B
JavaScript
import "./chunk-QZ7TP4HQ.mjs";
// src/index.ts
import { GridCollection, isGridCollection } from "./grid-collection.mjs";
import { isListCollection, ListCollection } from "./list-collection.mjs";
import {
createSelectedItemMap,
deriveSelectionState,
resolveSelectedItems,
updateSelectedItemMap
} from "./selection-map.mjs";
import { Selection } from "./selection.mjs";
import { filePathToTree, flattenedToTree, TreeCollection } from "./tree-collection.mjs";
export {
GridCollection,
ListCollection,
Selection,
TreeCollection,
createSelectedItemMap,
deriveSelectionState,
filePathToTree,
flattenedToTree,
isGridCollection,
isListCollection,
resolveSelectedItems,
updateSelectedItemMap
};