@coldsmirk/ledger-mantine 0.11.1 → 0.12.1
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.cjs +257 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +44 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +257 -24
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,7 @@ import { n as defaultLabels, t as DataTableLabels } from "./labels-Ck0Y2Ser.cjs"
|
|
|
3
3
|
import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
|
|
4
4
|
import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
|
|
5
5
|
import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
|
|
6
|
+
import "@tanstack/react-virtual";
|
|
6
7
|
//#region src/icons.d.ts
|
|
7
8
|
/**
|
|
8
9
|
* What a replacement icon receives — the two knobs the chrome actually turns. Lucide icons are
|
|
@@ -222,6 +223,24 @@ export declare function createColumnHelper<TData extends RowData$1>(): import("@
|
|
|
222
223
|
};
|
|
223
224
|
}, TData>;
|
|
224
225
|
//#endregion
|
|
226
|
+
//#region src/scroll-snapshot.d.ts
|
|
227
|
+
declare const scrollSnapshotBrand: unique symbol;
|
|
228
|
+
/**
|
|
229
|
+
* Opaque, plain-data snapshot of a table's scroll position and measured virtualized row heights.
|
|
230
|
+
*
|
|
231
|
+
* Capture with `handle.getScrollSnapshot()`, hold across unmounts (in memory, history state, or
|
|
232
|
+
* storage), validate untrusted values with {@link isDataTableScrollSnapshot}, and pass back to
|
|
233
|
+
* `<DataTable initialScroll={snapshot} />` on remount.
|
|
234
|
+
*/
|
|
235
|
+
interface DataTableScrollSnapshot {
|
|
236
|
+
readonly [scrollSnapshotBrand]: "scroll-snapshot";
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Validates an unknown value — such as one read back from `sessionStorage` or router history
|
|
240
|
+
* state — as a {@link DataTableScrollSnapshot} written by this version of ledger.
|
|
241
|
+
*/
|
|
242
|
+
export declare function isDataTableScrollSnapshot(value: unknown): value is DataTableScrollSnapshot;
|
|
243
|
+
//#endregion
|
|
225
244
|
//#region src/types.d.ts
|
|
226
245
|
/**
|
|
227
246
|
* TanStack's table instance (the enriched React shape: `state`, `Subscribe`, `FlexRender`),
|
|
@@ -604,6 +623,17 @@ interface DataTableHandle<TData extends RowData$1> {
|
|
|
604
623
|
* window is not rendering is still reachable. Pinned columns are already in view; a no-op.
|
|
605
624
|
*/
|
|
606
625
|
scrollToColumn: (columnId: string, options?: DataTableScrollOptions) => void;
|
|
626
|
+
/**
|
|
627
|
+
* Captures an opaque, plain-data snapshot of the table's scroll offsets and measured virtualized
|
|
628
|
+
* row heights for restoration via `<DataTable initialScroll={snapshot} />`
|
|
629
|
+
* ([virtualization.md](../docs/virtualization.md#restoring-scroll-position)).
|
|
630
|
+
*
|
|
631
|
+
* Call while the table is still mounted — for example before navigating away, or in a parent
|
|
632
|
+
* component's `useLayoutEffect` cleanup (a passive `useEffect` cleanup runs after the table's
|
|
633
|
+
* DOM has already unmounted, where this returns `null`). On remount, `initialScroll` is applied
|
|
634
|
+
* once to the rows the table mounts with; rows that arrive later are not scrolled to.
|
|
635
|
+
*/
|
|
636
|
+
getScrollSnapshot: () => DataTableScrollSnapshot | null;
|
|
607
637
|
/**
|
|
608
638
|
* Cell mode requires `columnId`; row mode takes the id of any editable column to focus, or
|
|
609
639
|
* none.
|
|
@@ -1008,7 +1038,7 @@ interface DataTableSelectionBarProps<TData extends RowData$1> {
|
|
|
1008
1038
|
export declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
|
|
1009
1039
|
//#endregion
|
|
1010
1040
|
//#region src/data-table.d.ts
|
|
1011
|
-
type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "paginationBar";
|
|
1041
|
+
type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "loaderRowRetry" | "paginationBar";
|
|
1012
1042
|
interface DataTableCssVariables {
|
|
1013
1043
|
root: "--ledger-striped-color" | "--ledger-hover-color" | "--ledger-border-color" | "--ledger-radius" | "--ledger-font-size";
|
|
1014
1044
|
}
|
|
@@ -1069,12 +1099,22 @@ interface DataTableBaseProps<TData extends RowData$1> extends BoxProps, StylesAp
|
|
|
1069
1099
|
virtualizedColumns?: boolean | {
|
|
1070
1100
|
overscan?: number;
|
|
1071
1101
|
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Mount-only scroll snapshot from an earlier table's `handle.getScrollSnapshot()`
|
|
1104
|
+
* ([virtualization.md](../docs/virtualization.md#restoring-scroll-position)).
|
|
1105
|
+
*
|
|
1106
|
+
* Applied once to the rows the table mounts with (rows arriving later are not scrolled to),
|
|
1107
|
+
* best-effort and clamped when the dataset is shorter or the shape version does not match.
|
|
1108
|
+
*/
|
|
1109
|
+
initialScroll?: DataTableScrollSnapshot | null;
|
|
1072
1110
|
onEndReached?: () => void;
|
|
1073
1111
|
endReachedOffset?: number;
|
|
1074
1112
|
loadingMore?: boolean;
|
|
1075
1113
|
/**
|
|
1076
1114
|
* The last `onEndReached` load failed — replaces the trailing loader row with the message
|
|
1077
|
-
* (`true` uses `labels.loadMoreError`) and a retry button that fires `onEndReached` again.
|
|
1115
|
+
* (`true` uses `labels.loadMoreError`) and a retry button that fires `onEndReached` again. The
|
|
1116
|
+
* retry is held from its press until the page is answered, keeping the focus, whether this stays
|
|
1117
|
+
* set or is cleared while `loadingMore` ([rows.md](../docs/rows.md#asking-for-the-next-page-again)).
|
|
1078
1118
|
*/
|
|
1079
1119
|
loadMoreError?: boolean | ReactNode;
|
|
1080
1120
|
loading?: boolean;
|
|
@@ -1136,7 +1176,7 @@ interface DataTableBaseProps<TData extends RowData$1> extends BoxProps, StylesAp
|
|
|
1136
1176
|
*/
|
|
1137
1177
|
icons?: Partial<DataTableIcons>;
|
|
1138
1178
|
/**
|
|
1139
|
-
* Imperative handle: `{ table, viewport, scrollToRow, scrollToIndex, scrollToColumn, startEditing, stopEditing }`.
|
|
1179
|
+
* Imperative handle: `{ table, viewport, scrollToRow, scrollToIndex, scrollToColumn, getScrollSnapshot, startEditing, stopEditing }`.
|
|
1140
1180
|
*/
|
|
1141
1181
|
handleRef?: Ref<DataTableHandle<TData>>;
|
|
1142
1182
|
}
|
|
@@ -1247,5 +1287,5 @@ export declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>
|
|
|
1247
1287
|
//#region src/use-data-table.d.ts
|
|
1248
1288
|
export declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
|
|
1249
1289
|
//#endregion
|
|
1250
|
-
export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
|
|
1290
|
+
export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableScrollSnapshot, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
|
|
1251
1291
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["RowData","RowData","TanStackColumnDef","TanStackColumn","TanStackRow","TanStackCell","TanStackHeader","TanStackHeaderGroup","SortingState","ColumnFiltersState","PaginationState","RowSelectionState","ExpandedState","ColumnVisibilityState","ColumnPinningState","ColumnOrderState","ColumnSizingState","GroupingState","RowPinningState","TanStackTableOptions","RowData","RowData","RowData","RowData","RowData","RowData","ReactKeyboardEvent","JSX","RowData"],"sources":["../src/icons.tsx","../src/element-props.ts","../src/ledger-features.ts","../src/types.ts","../src/columns-panel.tsx","../src/csv.ts","../src/pagination-bar.tsx","../src/search.tsx","../src/selection-bar.tsx","../src/data-table.tsx","../src/editors.tsx","../src/use-data-table.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["RowData","RowData","TanStackColumnDef","TanStackColumn","TanStackRow","TanStackCell","TanStackHeader","TanStackHeaderGroup","SortingState","ColumnFiltersState","PaginationState","RowSelectionState","ExpandedState","ColumnVisibilityState","ColumnPinningState","ColumnOrderState","ColumnSizingState","GroupingState","RowPinningState","TanStackTableOptions","RowData","RowData","RowData","RowData","RowData","RowData","ReactKeyboardEvent","JSX","RowData"],"sources":["../src/icons.tsx","../src/element-props.ts","../src/ledger-features.ts","../src/scroll-snapshot.ts","../src/types.ts","../src/columns-panel.tsx","../src/csv.ts","../src/pagination-bar.tsx","../src/search.tsx","../src/selection-bar.tsx","../src/data-table.tsx","../src/editors.tsx","../src/use-data-table.ts"],"mappings":";;;;;;;;;;;UAoNiB;;;;;EAKf;EACA;;KAGU,yBAAyB,cAAc;;;;;;UAOlC;EAEf,SAAS;EACT,UAAU;;;;EAIV,UAAU;EACV,cAAc;EAGd,WAAW;;;;EAIX,YAAY;EAGZ,OAAO;EACP,WAAW;EACX,OAAO;EACP,OAAO;EAGP,QAAQ;EAGR,gBAAgB;EAGhB,cAAc;EACd,eAAe;;;;EAIf,eAAe;EACf,UAAU;EACV,OAAO;EACP,QAAQ;;qBAGG,cAAc;;;;;;;;KCtQf,iBAAiB;;;;;;;;;;KAWjB,sBAAsB,QAAQ,aACnC,SAAS,oBACR,SAAS,cAAc,SAAS;;;cCmI3B;;;;;;;;;;;;;;;;;;;;;;;;;IAzBJ,cAAO;IACN,eAAO;IACR,cAAO;IACR,aAAO;IACR,YAAO;IACN,aAAO;IACL,eAAO;IACV,YAAO;IACP,YAAO;IACJ,eAAO;IACF,oBAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmDV,wBAAwB;;;;;wBAMpB,mBAAmB,cAAcA,8CAAO;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OAAO,eAAe,WAAWE,MAAI;EACtD;IAChB,eAAe;IACf,qBAAqB;IACrB,mBAAmB;IACnB,qBAAqB;;;EAThB,OAAA;EACF,KAAA;EACQ,aAAA;EACP,MAAA;EACK,YAAC,cAAcF,WAAS,OAAO,eAAe,WAAWE,MAAI;EACtD;IAChB,eAAe;IACf,qBAAqB;IACrB,mBAAmB;IACnB,qBAAqB;;;EAHb,eAAO;EACD,qBAAO;EACT,mBAAO;EACL,qBAAO;;;IAThB,OAAA;IACF,KAAA;IACQ,aAAA;IACP,MAAA;IACK,YAAC,cAAcF,WAAS,OAAO,eAAe,WAAWE,MAAI;IACtD;MAChB,eAAe;MACf,qBAAqB;MACrB,mBAAmB;MACnB,qBAAqB;;;;EAThB,OAAA;EACF,KAAA;EACQ,aAAA;EACP,MAAA;EACK,YAAC,cAAcF,WAAS,OAAO,eAAe,WAAWE,MAAI;EACtD;IAChB,eAAe;IACf,qBAAqB;IACrB,mBAAmB;IACnB,qBAAqB;;;;;;;;;;wBCrUT,cAAc;;;;wBA6Bd,gBAAgB;;;;;;wBAShB,aAAa,SAAS,eAAe;;;;;wBAyDrC,kBAAkB;;;wBClElB,aAAa,cAAcC,WAAS,SAAS,oBAAoB,SAAS,cAAc"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { n as defaultLabels, t as DataTableLabels } from "./labels-Ck0Y2Ser.js";
|
|
|
3
3
|
import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
|
|
4
4
|
import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
|
|
5
5
|
import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
|
|
6
|
+
import "@tanstack/react-virtual";
|
|
6
7
|
//#region src/icons.d.ts
|
|
7
8
|
/**
|
|
8
9
|
* What a replacement icon receives — the two knobs the chrome actually turns. Lucide icons are
|
|
@@ -222,6 +223,24 @@ export declare function createColumnHelper<TData extends RowData$1>(): import("@
|
|
|
222
223
|
};
|
|
223
224
|
}, TData>;
|
|
224
225
|
//#endregion
|
|
226
|
+
//#region src/scroll-snapshot.d.ts
|
|
227
|
+
declare const scrollSnapshotBrand: unique symbol;
|
|
228
|
+
/**
|
|
229
|
+
* Opaque, plain-data snapshot of a table's scroll position and measured virtualized row heights.
|
|
230
|
+
*
|
|
231
|
+
* Capture with `handle.getScrollSnapshot()`, hold across unmounts (in memory, history state, or
|
|
232
|
+
* storage), validate untrusted values with {@link isDataTableScrollSnapshot}, and pass back to
|
|
233
|
+
* `<DataTable initialScroll={snapshot} />` on remount.
|
|
234
|
+
*/
|
|
235
|
+
interface DataTableScrollSnapshot {
|
|
236
|
+
readonly [scrollSnapshotBrand]: "scroll-snapshot";
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Validates an unknown value — such as one read back from `sessionStorage` or router history
|
|
240
|
+
* state — as a {@link DataTableScrollSnapshot} written by this version of ledger.
|
|
241
|
+
*/
|
|
242
|
+
export declare function isDataTableScrollSnapshot(value: unknown): value is DataTableScrollSnapshot;
|
|
243
|
+
//#endregion
|
|
225
244
|
//#region src/types.d.ts
|
|
226
245
|
/**
|
|
227
246
|
* TanStack's table instance (the enriched React shape: `state`, `Subscribe`, `FlexRender`),
|
|
@@ -604,6 +623,17 @@ interface DataTableHandle<TData extends RowData$1> {
|
|
|
604
623
|
* window is not rendering is still reachable. Pinned columns are already in view; a no-op.
|
|
605
624
|
*/
|
|
606
625
|
scrollToColumn: (columnId: string, options?: DataTableScrollOptions) => void;
|
|
626
|
+
/**
|
|
627
|
+
* Captures an opaque, plain-data snapshot of the table's scroll offsets and measured virtualized
|
|
628
|
+
* row heights for restoration via `<DataTable initialScroll={snapshot} />`
|
|
629
|
+
* ([virtualization.md](../docs/virtualization.md#restoring-scroll-position)).
|
|
630
|
+
*
|
|
631
|
+
* Call while the table is still mounted — for example before navigating away, or in a parent
|
|
632
|
+
* component's `useLayoutEffect` cleanup (a passive `useEffect` cleanup runs after the table's
|
|
633
|
+
* DOM has already unmounted, where this returns `null`). On remount, `initialScroll` is applied
|
|
634
|
+
* once to the rows the table mounts with; rows that arrive later are not scrolled to.
|
|
635
|
+
*/
|
|
636
|
+
getScrollSnapshot: () => DataTableScrollSnapshot | null;
|
|
607
637
|
/**
|
|
608
638
|
* Cell mode requires `columnId`; row mode takes the id of any editable column to focus, or
|
|
609
639
|
* none.
|
|
@@ -1008,7 +1038,7 @@ interface DataTableSelectionBarProps<TData extends RowData$1> {
|
|
|
1008
1038
|
export declare function DataTableSelectionBar<TData extends RowData$1>(props: DataTableSelectionBarProps<TData>): import("react").JSX.Element | null;
|
|
1009
1039
|
//#endregion
|
|
1010
1040
|
//#region src/data-table.d.ts
|
|
1011
|
-
type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "paginationBar";
|
|
1041
|
+
type DataTableStylesNames = "root" | "main" | "header" | "scroller" | "footer" | "table" | "thead" | "tbody" | "tfoot" | "headerRow" | "headerCell" | "headerLabel" | "headerActions" | "sortIndicator" | "resizer" | "filterPopover" | "row" | "cell" | "selectionCell" | "expanderCell" | "detailPanel" | "cellEditor" | "instantCell" | "instantSpinner" | "rowDragCell" | "rowDragOverlay" | "footerRow" | "footerCell" | "empty" | "loaderRow" | "loaderRowContent" | "loaderRowRetry" | "paginationBar";
|
|
1012
1042
|
interface DataTableCssVariables {
|
|
1013
1043
|
root: "--ledger-striped-color" | "--ledger-hover-color" | "--ledger-border-color" | "--ledger-radius" | "--ledger-font-size";
|
|
1014
1044
|
}
|
|
@@ -1069,12 +1099,22 @@ interface DataTableBaseProps<TData extends RowData$1> extends BoxProps, StylesAp
|
|
|
1069
1099
|
virtualizedColumns?: boolean | {
|
|
1070
1100
|
overscan?: number;
|
|
1071
1101
|
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Mount-only scroll snapshot from an earlier table's `handle.getScrollSnapshot()`
|
|
1104
|
+
* ([virtualization.md](../docs/virtualization.md#restoring-scroll-position)).
|
|
1105
|
+
*
|
|
1106
|
+
* Applied once to the rows the table mounts with (rows arriving later are not scrolled to),
|
|
1107
|
+
* best-effort and clamped when the dataset is shorter or the shape version does not match.
|
|
1108
|
+
*/
|
|
1109
|
+
initialScroll?: DataTableScrollSnapshot | null;
|
|
1072
1110
|
onEndReached?: () => void;
|
|
1073
1111
|
endReachedOffset?: number;
|
|
1074
1112
|
loadingMore?: boolean;
|
|
1075
1113
|
/**
|
|
1076
1114
|
* The last `onEndReached` load failed — replaces the trailing loader row with the message
|
|
1077
|
-
* (`true` uses `labels.loadMoreError`) and a retry button that fires `onEndReached` again.
|
|
1115
|
+
* (`true` uses `labels.loadMoreError`) and a retry button that fires `onEndReached` again. The
|
|
1116
|
+
* retry is held from its press until the page is answered, keeping the focus, whether this stays
|
|
1117
|
+
* set or is cleared while `loadingMore` ([rows.md](../docs/rows.md#asking-for-the-next-page-again)).
|
|
1078
1118
|
*/
|
|
1079
1119
|
loadMoreError?: boolean | ReactNode;
|
|
1080
1120
|
loading?: boolean;
|
|
@@ -1136,7 +1176,7 @@ interface DataTableBaseProps<TData extends RowData$1> extends BoxProps, StylesAp
|
|
|
1136
1176
|
*/
|
|
1137
1177
|
icons?: Partial<DataTableIcons>;
|
|
1138
1178
|
/**
|
|
1139
|
-
* Imperative handle: `{ table, viewport, scrollToRow, scrollToIndex, scrollToColumn, startEditing, stopEditing }`.
|
|
1179
|
+
* Imperative handle: `{ table, viewport, scrollToRow, scrollToIndex, scrollToColumn, getScrollSnapshot, startEditing, stopEditing }`.
|
|
1140
1180
|
*/
|
|
1141
1181
|
handleRef?: Ref<DataTableHandle<TData>>;
|
|
1142
1182
|
}
|
|
@@ -1247,5 +1287,5 @@ export declare function checkboxEditor(): DataTableInstantEditRenderer<any, any>
|
|
|
1247
1287
|
//#region src/use-data-table.d.ts
|
|
1248
1288
|
export declare function useDataTable<TData extends RowData$1>(options: UseDataTableOptions<TData>): TableInstance<TData>;
|
|
1249
1289
|
//#endregion
|
|
1250
|
-
export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
|
|
1290
|
+
export { type Cell, type Column, type ColumnDef, type ColumnFiltersState, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type DataTableBaseProps, type DataTableColumnsPanelProps, type DataTableCssVariables, type DataTableEditCommit, type DataTableEditConfig, type DataTableEditContext, type DataTableEditMode, type DataTableEditRenderer, type DataTableEditTrigger, type DataTableEditingCell, type DataTableElementProps, type DataTableExportMeta, type DataTableFactory, type DataTableFilterConfig, type DataTableFilterVariant, type DataTableHandle, type DataTableIconComponent, type DataTableIconProps, type DataTableIcons, type DataTableInstantEditConfig, type DataTableInstantEditContext, type DataTableInstantEditRenderer, type DataTableLabels, type DataTablePaginationProps, type DataTablePersistState, type DataTablePersistableSlice, type DataTableProps, type DataTableRowEditCommit, type DataTableRowReorder, type DataTableScrollOptions, type DataTableScrollSnapshot, type DataTableSearchProps, type DataTableSelectionBarProps, type DataTableStylesNames, type ExpandedState, type GroupingState, type Header, type HeaderGroup, type LedgerCellEditor, type LedgerEditingController, type LedgerFeatures, type LedgerInstantEditingController, type LedgerMeta, type LedgerRowEditingController, type LedgerRowEditor, type PaginationState, type Row, type RowData, type RowPinningState, type RowSelectionState, type SortingState, type TableInstance, type ToCsvOptions, type UseDataTableOptions, defaultLabels, flexRender };
|
|
1251
1291
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["RowData","RowData","TanStackColumnDef","TanStackColumn","TanStackRow","TanStackCell","TanStackHeader","TanStackHeaderGroup","SortingState","ColumnFiltersState","PaginationState","RowSelectionState","ExpandedState","ColumnVisibilityState","ColumnPinningState","ColumnOrderState","ColumnSizingState","GroupingState","RowPinningState","TanStackTableOptions","RowData","RowData","RowData","RowData","RowData","RowData","ReactKeyboardEvent","JSX","RowData"],"sources":["../src/icons.tsx","../src/element-props.ts","../src/ledger-features.ts","../src/types.ts","../src/columns-panel.tsx","../src/csv.ts","../src/pagination-bar.tsx","../src/search.tsx","../src/selection-bar.tsx","../src/data-table.tsx","../src/editors.tsx","../src/use-data-table.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["RowData","RowData","TanStackColumnDef","TanStackColumn","TanStackRow","TanStackCell","TanStackHeader","TanStackHeaderGroup","SortingState","ColumnFiltersState","PaginationState","RowSelectionState","ExpandedState","ColumnVisibilityState","ColumnPinningState","ColumnOrderState","ColumnSizingState","GroupingState","RowPinningState","TanStackTableOptions","RowData","RowData","RowData","RowData","RowData","RowData","ReactKeyboardEvent","JSX","RowData"],"sources":["../src/icons.tsx","../src/element-props.ts","../src/ledger-features.ts","../src/scroll-snapshot.ts","../src/types.ts","../src/columns-panel.tsx","../src/csv.ts","../src/pagination-bar.tsx","../src/search.tsx","../src/selection-bar.tsx","../src/data-table.tsx","../src/editors.tsx","../src/use-data-table.ts"],"mappings":";;;;;;;;;;;UAoNiB;;;;;EAKf;EACA;;KAGU,yBAAyB,cAAc;;;;;;UAOlC;EAEf,SAAS;EACT,UAAU;;;;EAIV,UAAU;EACV,cAAc;EAGd,WAAW;;;;EAIX,YAAY;EAGZ,OAAO;EACP,WAAW;EACX,OAAO;EACP,OAAO;EAGP,QAAQ;EAGR,gBAAgB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