@ethanhann/mantine-dataview 0.3.0 → 0.4.0

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/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { DataCards, type DataCardsProps } from './components/DataCards';
5
5
  export { DataPagination, type DataPaginationProps, } from './components/DataPagination';
6
6
  export { DataTable, type DataTableProps } from './components/DataTable';
7
7
  export { DataToolbar, type DataToolbarProps, FilterControl, ViewSwitcher, type ViewSwitcherProps, } from './components/DataToolbar';
8
- export { DataView, type DataViewBodyProps, type DataViewContextValue, type DataViewProps, type DataViewToolbarProps, useDataViewContext, } from './components/DataView';
8
+ export { type DataViewContextValue, DataViewer, type DataViewerBodyProps, type DataViewerProps, type DataViewerToolbarProps, useDataViewContext, } from './components/DataViewer';
9
9
  export type { CardSlotContext, DataViewSlots, EmptySlotContext, ErrorSlotContext, RenderCardContext, RowSlotContext, } from './components/types';
10
10
  export { type CardField, type CardLayout, type CardLayoutRole, type ComposeCardOptions, composeCardLayout, resolveColumnLabel, } from './core/cardComposition';
11
11
  export { type ColOptions, ColumnBuilder, col } from './core/colBuilder';
package/dist/index.js CHANGED
@@ -1052,15 +1052,15 @@ function Je({ view: e, searchPlaceholder: t = "Search…", filterInlineThreshold
1052
1052
  });
1053
1053
  }
1054
1054
  //#endregion
1055
- //#region src/components/DataView/context.tsx
1055
+ //#region src/components/DataViewer/context.tsx
1056
1056
  var Ye = ae(null), Xe = Ye.Provider;
1057
1057
  function Z() {
1058
1058
  let e = B(Ye);
1059
- if (!e) throw Error("DataView.Toolbar / DataView.Body / DataView.Pagination must be rendered inside <DataView>.");
1059
+ if (!e) throw Error("DataViewer.Toolbar / DataViewer.Body / DataViewer.Pagination must be rendered inside <DataViewer>.");
1060
1060
  return e;
1061
1061
  }
1062
1062
  //#endregion
1063
- //#region src/components/DataView/DataView.tsx
1063
+ //#region src/components/DataViewer/DataViewer.tsx
1064
1064
  function Q({ view: e, slots: t, renderCard: n, fallbackRole: r, lockSwitcherOnMobile: i, animateRows: a, children: o, ...s }) {
1065
1065
  return /* @__PURE__ */ I(Xe, {
1066
1066
  value: H(() => ({
@@ -1561,6 +1561,6 @@ function yt({ fetcher: e, deps: t, ...n }) {
1561
1561
  });
1562
1562
  }
1563
1563
  //#endregion
1564
- export { rt as ColumnBuilder, G as DataBulkActions, me as DataCards, ge as DataPagination, Te as DataTable, Je as DataToolbar, Q as DataView, ze as FilterControl, Ge as ViewSwitcher, it as col, ue as composeCardLayout, a as createColumnHelper, ot as exportCsv, K as resolveColumnLabel, vt as useDataView, Z as useDataViewContext, yt as useDataViewFetcher };
1564
+ export { rt as ColumnBuilder, G as DataBulkActions, me as DataCards, ge as DataPagination, Te as DataTable, Je as DataToolbar, Q as DataViewer, ze as FilterControl, Ge as ViewSwitcher, it as col, ue as composeCardLayout, a as createColumnHelper, ot as exportCsv, K as resolveColumnLabel, vt as useDataView, Z as useDataViewContext, yt as useDataViewFetcher };
1565
1565
 
1566
1566
  //# sourceMappingURL=index.js.map