@nozzleio/mosaic-tanstack-table-core
v0.1.1
Published
Framework-agnostic core APIs for the Mosaic TanStack table adapter.
Readme
@nozzleio/mosaic-tanstack-table-core
Framework-agnostic headless APIs for Mosaic + TanStack Table integrations.
Use this package when you want the core table client, filter/facet clients, mapping helpers, or low-level extension points without the React wrappers. React apps will usually install @nozzleio/mosaic-tanstack-react-table instead and only reach for this package directly when they need headless or non-React integration work.
Install
npm install @nozzleio/mosaic-tanstack-table-coreRoot exports
The package root is intentionally curated. Stable root exports include:
MosaicDataTablecreateMosaicDataTableClientMosaicFacetMenuMosaicFilterAggregationBridgeHistogramControllercreateMosaicMappingcreateMosaicColumnHelper- schema and validation helpers from
schema - public table, column, filter, and grouped-row types
logger
import {
createMosaicDataTableClient,
createMosaicColumnHelper,
createMosaicMapping,
MosaicFilter,
MosaicFacetMenu,
} from '@nozzleio/mosaic-tanstack-table-core';Published subpaths
Lower-level extension APIs live on explicit subpaths:
@nozzleio/mosaic-tanstack-table-core/filter-registry@nozzleio/mosaic-tanstack-table-core/grouped@nozzleio/mosaic-tanstack-table-core/facet-strategies@nozzleio/mosaic-tanstack-table-core/sidecar
import { MosaicFilterRegistry } from '@nozzleio/mosaic-tanstack-table-core/filter-registry';
import { buildGroupedLevelQuery } from '@nozzleio/mosaic-tanstack-table-core/grouped';
import { HistogramStrategy } from '@nozzleio/mosaic-tanstack-table-core/facet-strategies';
import { createTypedSidecarClient } from '@nozzleio/mosaic-tanstack-table-core/sidecar';Notes
requestFacet(columnId, type)onMosaicDataTableis limited to the built-in no-input facet keys. For input-driven strategies such as histograms, use thesidecarsubpath instead.- React active-filter UI helpers do not live here. Import
MosaicFilterProvider,useFilterRegistry,useActiveFilters, anduseRegisterFilterSourcefrom@nozzleio/mosaic-tanstack-react-table. - Undocumented internal helpers are not part of the public root API even if they existed in earlier workspace builds.
