material-react-table 1.11.4 → 1.12.0-beta.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/README.md +1 -1
- package/dist/cjs/index.js +770 -1004
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/MaterialReactTable.d.ts +4 -743
- package/dist/cjs/types/_locales/cs.d.ts +1 -1
- package/dist/cjs/types/_locales/da.d.ts +1 -1
- package/dist/cjs/types/_locales/de.d.ts +1 -1
- package/dist/cjs/types/_locales/en.d.ts +1 -1
- package/dist/cjs/types/_locales/es.d.ts +1 -1
- package/dist/cjs/types/_locales/fa.d.ts +1 -1
- package/dist/cjs/types/_locales/fi.d.ts +1 -1
- package/dist/cjs/types/_locales/fr.d.ts +1 -1
- package/dist/cjs/types/_locales/hu.d.ts +1 -1
- package/dist/cjs/types/_locales/id.d.ts +1 -1
- package/dist/cjs/types/_locales/it.d.ts +1 -1
- package/dist/cjs/types/_locales/ja.d.ts +1 -1
- package/dist/cjs/types/_locales/nl.d.ts +1 -1
- package/dist/cjs/types/_locales/pl.d.ts +1 -1
- package/dist/cjs/types/_locales/pt-BR.d.ts +1 -1
- package/dist/cjs/types/_locales/pt.d.ts +1 -1
- package/dist/cjs/types/_locales/ro.d.ts +1 -1
- package/dist/cjs/types/_locales/ru.d.ts +1 -1
- package/dist/cjs/types/_locales/sk.d.ts +1 -1
- package/dist/cjs/types/_locales/sr-Cyrl-RS.d.ts +1 -1
- package/dist/cjs/types/_locales/sr-Latn-RS.d.ts +1 -1
- package/dist/cjs/types/_locales/sv.d.ts +1 -1
- package/dist/cjs/types/_locales/tr.d.ts +1 -1
- package/dist/cjs/types/_locales/uk.d.ts +1 -1
- package/dist/cjs/types/_locales/vi.d.ts +1 -1
- package/dist/cjs/types/_locales/zh-Hans.d.ts +1 -1
- package/dist/cjs/types/_locales/zh-Hant.d.ts +1 -1
- package/dist/cjs/types/body/MRT_EditRowModal.d.ts +2 -3
- package/dist/cjs/types/body/MRT_TableBody.d.ts +4 -4
- package/dist/cjs/types/body/MRT_TableBodyCell.d.ts +5 -5
- package/dist/cjs/types/body/MRT_TableBodyCellValue.d.ts +2 -3
- package/dist/cjs/types/body/MRT_TableBodyRow.d.ts +5 -5
- package/dist/cjs/types/body/MRT_TableBodyRowGrabHandle.d.ts +3 -3
- package/dist/cjs/types/body/MRT_TableDetailPanel.d.ts +4 -4
- package/dist/cjs/types/buttons/MRT_ColumnPinningButtons.d.ts +2 -3
- package/dist/cjs/types/buttons/MRT_CopyButton.d.ts +3 -3
- package/dist/cjs/types/buttons/MRT_EditActionButtons.d.ts +2 -3
- package/dist/cjs/types/buttons/MRT_ExpandAllButton.d.ts +2 -3
- package/dist/cjs/types/buttons/MRT_ExpandButton.d.ts +2 -3
- package/dist/cjs/types/buttons/MRT_FullScreenToggleButton.d.ts +3 -4
- package/dist/cjs/types/buttons/MRT_GrabHandleButton.d.ts +4 -4
- package/dist/cjs/types/buttons/MRT_ShowHideColumnsButton.d.ts +3 -4
- package/dist/cjs/types/buttons/MRT_ToggleDensePaddingButton.d.ts +3 -4
- package/dist/cjs/types/buttons/MRT_ToggleFiltersButton.d.ts +3 -4
- package/dist/cjs/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +3 -4
- package/dist/cjs/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +2 -3
- package/dist/cjs/types/column.utils.d.ts +10 -10
- package/dist/cjs/types/filterFns.d.ts +1 -1
- package/dist/cjs/types/footer/MRT_TableFooter.d.ts +3 -4
- package/dist/cjs/types/footer/MRT_TableFooterCell.d.ts +2 -3
- package/dist/cjs/types/footer/MRT_TableFooterRow.d.ts +3 -4
- package/dist/cjs/types/head/MRT_TableHead.d.ts +3 -4
- package/dist/cjs/types/head/MRT_TableHeadCell.d.ts +2 -3
- package/dist/cjs/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +2 -3
- package/dist/cjs/types/head/MRT_TableHeadCellFilterContainer.d.ts +2 -3
- package/dist/cjs/types/head/MRT_TableHeadCellFilterLabel.d.ts +2 -3
- package/dist/cjs/types/head/MRT_TableHeadCellGrabHandle.d.ts +3 -3
- package/dist/cjs/types/head/MRT_TableHeadCellResizeHandle.d.ts +2 -3
- package/dist/cjs/types/head/MRT_TableHeadCellSortLabel.d.ts +3 -4
- package/dist/cjs/types/head/MRT_TableHeadRow.d.ts +3 -4
- package/dist/cjs/types/index.d.ts +6 -4
- package/dist/cjs/types/inputs/MRT_EditCellTextField.d.ts +2 -3
- package/dist/cjs/types/inputs/MRT_FilterCheckbox.d.ts +2 -3
- package/dist/cjs/types/inputs/MRT_FilterRangeFields.d.ts +2 -3
- package/dist/cjs/types/inputs/MRT_FilterTextField.d.ts +2 -3
- package/dist/cjs/types/inputs/MRT_GlobalFilterTextField.d.ts +2 -3
- package/dist/cjs/types/inputs/MRT_SelectCheckbox.d.ts +2 -3
- package/dist/cjs/types/menus/MRT_ColumnActionMenu.d.ts +2 -3
- package/dist/cjs/types/menus/MRT_FilterOptionMenu.d.ts +2 -3
- package/dist/cjs/types/menus/MRT_RowActionMenu.d.ts +3 -3
- package/dist/cjs/types/menus/MRT_ShowHideColumnsMenu.d.ts +2 -3
- package/dist/cjs/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +3 -3
- package/dist/cjs/types/sortingFns.d.ts +17 -17
- package/dist/cjs/types/table/MRT_Table.d.ts +2 -3
- package/dist/cjs/types/table/MRT_TableContainer.d.ts +2 -3
- package/dist/cjs/types/table/MRT_TablePaper.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_BottomToolbar.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_LinearProgressBar.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_TablePagination.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_ToolbarAlertBanner.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_ToolbarDropZone.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_ToolbarInternalButtons.d.ts +2 -3
- package/dist/cjs/types/toolbar/MRT_TopToolbar.d.ts +3 -4
- package/dist/cjs/types/types.d.ts +745 -0
- package/dist/esm/material-react-table.esm.js +691 -925
- package/dist/esm/material-react-table.esm.js.map +1 -1
- package/dist/esm/types/MaterialReactTable.d.ts +4 -743
- package/dist/esm/types/_locales/cs.d.ts +1 -1
- package/dist/esm/types/_locales/da.d.ts +1 -1
- package/dist/esm/types/_locales/de.d.ts +1 -1
- package/dist/esm/types/_locales/en.d.ts +1 -1
- package/dist/esm/types/_locales/es.d.ts +1 -1
- package/dist/esm/types/_locales/fa.d.ts +1 -1
- package/dist/esm/types/_locales/fi.d.ts +1 -1
- package/dist/esm/types/_locales/fr.d.ts +1 -1
- package/dist/esm/types/_locales/hu.d.ts +1 -1
- package/dist/esm/types/_locales/id.d.ts +1 -1
- package/dist/esm/types/_locales/it.d.ts +1 -1
- package/dist/esm/types/_locales/ja.d.ts +1 -1
- package/dist/esm/types/_locales/nl.d.ts +1 -1
- package/dist/esm/types/_locales/pl.d.ts +1 -1
- package/dist/esm/types/_locales/pt-BR.d.ts +1 -1
- package/dist/esm/types/_locales/pt.d.ts +1 -1
- package/dist/esm/types/_locales/ro.d.ts +1 -1
- package/dist/esm/types/_locales/ru.d.ts +1 -1
- package/dist/esm/types/_locales/sk.d.ts +1 -1
- package/dist/esm/types/_locales/sr-Cyrl-RS.d.ts +1 -1
- package/dist/esm/types/_locales/sr-Latn-RS.d.ts +1 -1
- package/dist/esm/types/_locales/sv.d.ts +1 -1
- package/dist/esm/types/_locales/tr.d.ts +1 -1
- package/dist/esm/types/_locales/uk.d.ts +1 -1
- package/dist/esm/types/_locales/vi.d.ts +1 -1
- package/dist/esm/types/_locales/zh-Hans.d.ts +1 -1
- package/dist/esm/types/_locales/zh-Hant.d.ts +1 -1
- package/dist/esm/types/body/MRT_EditRowModal.d.ts +2 -3
- package/dist/esm/types/body/MRT_TableBody.d.ts +4 -4
- package/dist/esm/types/body/MRT_TableBodyCell.d.ts +5 -5
- package/dist/esm/types/body/MRT_TableBodyCellValue.d.ts +2 -3
- package/dist/esm/types/body/MRT_TableBodyRow.d.ts +5 -5
- package/dist/esm/types/body/MRT_TableBodyRowGrabHandle.d.ts +3 -3
- package/dist/esm/types/body/MRT_TableDetailPanel.d.ts +4 -4
- package/dist/esm/types/buttons/MRT_ColumnPinningButtons.d.ts +2 -3
- package/dist/esm/types/buttons/MRT_CopyButton.d.ts +3 -3
- package/dist/esm/types/buttons/MRT_EditActionButtons.d.ts +2 -3
- package/dist/esm/types/buttons/MRT_ExpandAllButton.d.ts +2 -3
- package/dist/esm/types/buttons/MRT_ExpandButton.d.ts +2 -3
- package/dist/esm/types/buttons/MRT_FullScreenToggleButton.d.ts +3 -4
- package/dist/esm/types/buttons/MRT_GrabHandleButton.d.ts +4 -4
- package/dist/esm/types/buttons/MRT_ShowHideColumnsButton.d.ts +3 -4
- package/dist/esm/types/buttons/MRT_ToggleDensePaddingButton.d.ts +3 -4
- package/dist/esm/types/buttons/MRT_ToggleFiltersButton.d.ts +3 -4
- package/dist/esm/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +3 -4
- package/dist/esm/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +2 -3
- package/dist/esm/types/column.utils.d.ts +10 -10
- package/dist/esm/types/filterFns.d.ts +1 -1
- package/dist/esm/types/footer/MRT_TableFooter.d.ts +3 -4
- package/dist/esm/types/footer/MRT_TableFooterCell.d.ts +2 -3
- package/dist/esm/types/footer/MRT_TableFooterRow.d.ts +3 -4
- package/dist/esm/types/head/MRT_TableHead.d.ts +3 -4
- package/dist/esm/types/head/MRT_TableHeadCell.d.ts +2 -3
- package/dist/esm/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +2 -3
- package/dist/esm/types/head/MRT_TableHeadCellFilterContainer.d.ts +2 -3
- package/dist/esm/types/head/MRT_TableHeadCellFilterLabel.d.ts +2 -3
- package/dist/esm/types/head/MRT_TableHeadCellGrabHandle.d.ts +3 -3
- package/dist/esm/types/head/MRT_TableHeadCellResizeHandle.d.ts +2 -3
- package/dist/esm/types/head/MRT_TableHeadCellSortLabel.d.ts +3 -4
- package/dist/esm/types/head/MRT_TableHeadRow.d.ts +3 -4
- package/dist/esm/types/index.d.ts +6 -4
- package/dist/esm/types/inputs/MRT_EditCellTextField.d.ts +2 -3
- package/dist/esm/types/inputs/MRT_FilterCheckbox.d.ts +2 -3
- package/dist/esm/types/inputs/MRT_FilterRangeFields.d.ts +2 -3
- package/dist/esm/types/inputs/MRT_FilterTextField.d.ts +2 -3
- package/dist/esm/types/inputs/MRT_GlobalFilterTextField.d.ts +2 -3
- package/dist/esm/types/inputs/MRT_SelectCheckbox.d.ts +2 -3
- package/dist/esm/types/menus/MRT_ColumnActionMenu.d.ts +2 -3
- package/dist/esm/types/menus/MRT_FilterOptionMenu.d.ts +2 -3
- package/dist/esm/types/menus/MRT_RowActionMenu.d.ts +3 -3
- package/dist/esm/types/menus/MRT_ShowHideColumnsMenu.d.ts +2 -3
- package/dist/esm/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +3 -3
- package/dist/esm/types/sortingFns.d.ts +17 -17
- package/dist/esm/types/table/MRT_Table.d.ts +2 -3
- package/dist/esm/types/table/MRT_TableContainer.d.ts +2 -3
- package/dist/esm/types/table/MRT_TablePaper.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_BottomToolbar.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_LinearProgressBar.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_TablePagination.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_ToolbarAlertBanner.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_ToolbarDropZone.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_ToolbarInternalButtons.d.ts +2 -3
- package/dist/esm/types/toolbar/MRT_TopToolbar.d.ts +3 -4
- package/dist/esm/types/types.d.ts +745 -0
- package/dist/index.d.ts +40 -35
- package/locales/cs.d.ts +1 -1
- package/locales/cs.esm.d.ts +1 -1
- package/locales/da.d.ts +1 -1
- package/locales/da.esm.d.ts +1 -1
- package/locales/de.d.ts +1 -1
- package/locales/de.esm.d.ts +1 -1
- package/locales/en.d.ts +1 -1
- package/locales/en.esm.d.ts +1 -1
- package/locales/es.d.ts +1 -1
- package/locales/es.esm.d.ts +1 -1
- package/locales/fa.d.ts +1 -1
- package/locales/fa.esm.d.ts +1 -1
- package/locales/fi.d.ts +1 -1
- package/locales/fi.esm.d.ts +1 -1
- package/locales/fr.d.ts +1 -1
- package/locales/fr.esm.d.ts +1 -1
- package/locales/hu.d.ts +1 -1
- package/locales/hu.esm.d.ts +1 -1
- package/locales/id.d.ts +1 -1
- package/locales/id.esm.d.ts +1 -1
- package/locales/it.d.ts +1 -1
- package/locales/it.esm.d.ts +1 -1
- package/locales/ja.d.ts +1 -1
- package/locales/ja.esm.d.ts +1 -1
- package/locales/nl.d.ts +1 -1
- package/locales/nl.esm.d.ts +1 -1
- package/locales/pl.d.ts +1 -1
- package/locales/pl.esm.d.ts +1 -1
- package/locales/pt-BR.d.ts +1 -1
- package/locales/pt-BR.esm.d.ts +1 -1
- package/locales/pt.d.ts +1 -1
- package/locales/pt.esm.d.ts +1 -1
- package/locales/ro.d.ts +1 -1
- package/locales/ro.esm.d.ts +1 -1
- package/locales/ru.d.ts +1 -1
- package/locales/ru.esm.d.ts +1 -1
- package/locales/sk.d.ts +1 -1
- package/locales/sk.esm.d.ts +1 -1
- package/locales/sr-Cyrl-RS.d.ts +1 -1
- package/locales/sr-Cyrl-RS.esm.d.ts +1 -1
- package/locales/sr-Latn-RS.d.ts +1 -1
- package/locales/sr-Latn-RS.esm.d.ts +1 -1
- package/locales/sv.d.ts +1 -1
- package/locales/sv.esm.d.ts +1 -1
- package/locales/tr.d.ts +1 -1
- package/locales/tr.esm.d.ts +1 -1
- package/locales/uk.d.ts +1 -1
- package/locales/uk.esm.d.ts +1 -1
- package/locales/vi.d.ts +1 -1
- package/locales/vi.esm.d.ts +1 -1
- package/locales/zh-Hans.d.ts +1 -1
- package/locales/zh-Hans.esm.d.ts +1 -1
- package/locales/zh-Hant.d.ts +1 -1
- package/locales/zh-Hant.esm.d.ts +1 -1
- package/package.json +35 -17
- package/src/MaterialReactTable.tsx +10 -984
- package/src/_locales/cs.ts +1 -1
- package/src/_locales/da.ts +1 -1
- package/src/_locales/de.ts +1 -1
- package/src/_locales/en.ts +1 -1
- package/src/_locales/es.ts +1 -1
- package/src/_locales/fa.ts +1 -1
- package/src/_locales/fi.ts +1 -1
- package/src/_locales/fr.ts +1 -1
- package/src/_locales/hu.ts +1 -1
- package/src/_locales/id.ts +1 -1
- package/src/_locales/it.ts +1 -1
- package/src/_locales/ja.ts +1 -1
- package/src/_locales/nl.ts +1 -1
- package/src/_locales/pl.ts +1 -1
- package/src/_locales/pt-BR.ts +1 -1
- package/src/_locales/pt.ts +1 -1
- package/src/_locales/ro.ts +1 -1
- package/src/_locales/ru.ts +1 -1
- package/src/_locales/sk.ts +1 -1
- package/src/_locales/sr-Cyrl-RS.ts +1 -1
- package/src/_locales/sr-Latn-RS.ts +1 -1
- package/src/_locales/sv.ts +1 -1
- package/src/_locales/tr.ts +1 -1
- package/src/_locales/uk.ts +1 -1
- package/src/_locales/vi.ts +1 -1
- package/src/_locales/zh-Hans.ts +1 -1
- package/src/_locales/zh-Hant.ts +1 -1
- package/src/body/MRT_EditRowModal.tsx +1 -2
- package/src/body/MRT_TableBody.tsx +2 -2
- package/src/body/MRT_TableBodyCell.tsx +6 -6
- package/src/body/MRT_TableBodyCellValue.tsx +2 -2
- package/src/body/MRT_TableBodyRow.tsx +3 -3
- package/src/body/MRT_TableBodyRowGrabHandle.tsx +2 -2
- package/src/body/MRT_TableDetailPanel.tsx +3 -3
- package/src/buttons/MRT_ColumnPinningButtons.tsx +1 -2
- package/src/buttons/MRT_CopyButton.tsx +2 -2
- package/src/buttons/MRT_EditActionButtons.tsx +1 -2
- package/src/buttons/MRT_ExpandAllButton.tsx +1 -2
- package/src/buttons/MRT_ExpandButton.tsx +2 -2
- package/src/buttons/MRT_FullScreenToggleButton.tsx +2 -3
- package/src/buttons/MRT_GrabHandleButton.tsx +3 -3
- package/src/buttons/MRT_ShowHideColumnsButton.tsx +3 -3
- package/src/buttons/MRT_ToggleDensePaddingButton.tsx +2 -3
- package/src/buttons/MRT_ToggleFiltersButton.tsx +2 -3
- package/src/buttons/MRT_ToggleGlobalFilterButton.tsx +2 -3
- package/src/buttons/MRT_ToggleRowActionMenuButton.tsx +2 -2
- package/src/column.utils.ts +23 -22
- package/src/filterFns.ts +1 -1
- package/src/footer/MRT_TableFooter.tsx +2 -3
- package/src/footer/MRT_TableFooterCell.tsx +1 -2
- package/src/footer/MRT_TableFooterRow.tsx +2 -3
- package/src/head/MRT_TableHead.tsx +2 -3
- package/src/head/MRT_TableHeadCell.tsx +3 -3
- package/src/head/MRT_TableHeadCellColumnActionsButton.tsx +2 -2
- package/src/head/MRT_TableHeadCellFilterContainer.tsx +1 -2
- package/src/head/MRT_TableHeadCellFilterLabel.tsx +2 -2
- package/src/head/MRT_TableHeadCellGrabHandle.tsx +2 -2
- package/src/head/MRT_TableHeadCellResizeHandle.tsx +1 -2
- package/src/head/MRT_TableHeadCellSortLabel.tsx +2 -3
- package/src/head/MRT_TableHeadRow.tsx +2 -3
- package/src/index.tsx +7 -5
- package/src/inputs/MRT_EditCellTextField.tsx +3 -3
- package/src/inputs/MRT_FilterCheckbox.tsx +2 -3
- package/src/inputs/MRT_FilterRangeFields.tsx +1 -2
- package/src/inputs/MRT_FilterTextField.tsx +5 -5
- package/src/inputs/MRT_GlobalFilterTextField.tsx +4 -4
- package/src/inputs/MRT_SelectCheckbox.tsx +3 -3
- package/src/menus/MRT_ColumnActionMenu.tsx +3 -2
- package/src/menus/MRT_FilterOptionMenu.tsx +8 -8
- package/src/menus/MRT_RowActionMenu.tsx +2 -2
- package/src/menus/MRT_ShowHideColumnsMenu.tsx +2 -2
- package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +2 -8
- package/src/sortingFns.ts +1 -1
- package/src/table/MRT_Table.tsx +2 -2
- package/src/table/MRT_TableContainer.tsx +2 -2
- package/src/table/MRT_TablePaper.tsx +1 -2
- package/src/table/MRT_TableRoot.tsx +16 -16
- package/src/toolbar/MRT_BottomToolbar.tsx +1 -2
- package/src/toolbar/MRT_LinearProgressBar.tsx +1 -2
- package/src/toolbar/MRT_TablePagination.tsx +2 -2
- package/src/toolbar/MRT_ToolbarAlertBanner.tsx +2 -2
- package/src/toolbar/MRT_ToolbarDropZone.tsx +2 -2
- package/src/toolbar/MRT_ToolbarInternalButtons.tsx +1 -2
- package/src/toolbar/MRT_TopToolbar.tsx +2 -3
- package/src/types.ts +981 -0
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import { MutableRefObject, Dispatch, SetStateAction, ReactNode, DragEventHandler } from 'react';
|
3
3
|
import { AlertProps } from '@mui/material/Alert';
|
4
4
|
import { ButtonProps } from '@mui/material/Button';
|
@@ -136,19 +136,6 @@ interface MRT_Icons {
|
|
136
136
|
VisibilityOffIcon: any;
|
137
137
|
}
|
138
138
|
|
139
|
-
declare const MRT_SortingFns: {
|
140
|
-
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
141
|
-
alphanumeric: _tanstack_react_table.SortingFn<any>;
|
142
|
-
alphanumericCaseSensitive: _tanstack_react_table.SortingFn<any>;
|
143
|
-
text: _tanstack_react_table.SortingFn<any>;
|
144
|
-
textCaseSensitive: _tanstack_react_table.SortingFn<any>;
|
145
|
-
datetime: _tanstack_react_table.SortingFn<any>;
|
146
|
-
basic: _tanstack_react_table.SortingFn<any>;
|
147
|
-
};
|
148
|
-
|
149
|
-
/**
|
150
|
-
* Most of this file is just TypeScript types
|
151
|
-
*/
|
152
139
|
type Prettify<T> = {
|
153
140
|
[K in keyof T]: T[K];
|
154
141
|
} & {};
|
@@ -867,32 +854,43 @@ type MaterialReactTableProps<TData extends Record<string, any> = {}> = Prettify<
|
|
867
854
|
table: MRT_TableInstance<TData>;
|
868
855
|
}) => Partial<VirtualizerOptions<HTMLDivElement, HTMLTableRowElement>>);
|
869
856
|
};
|
870
|
-
|
857
|
+
|
858
|
+
declare const MRT_SortingFns: {
|
859
|
+
fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
|
860
|
+
alphanumeric: _tanstack_react_table.SortingFn<any>;
|
861
|
+
alphanumericCaseSensitive: _tanstack_react_table.SortingFn<any>;
|
862
|
+
text: _tanstack_react_table.SortingFn<any>;
|
863
|
+
textCaseSensitive: _tanstack_react_table.SortingFn<any>;
|
864
|
+
datetime: _tanstack_react_table.SortingFn<any>;
|
865
|
+
basic: _tanstack_react_table.SortingFn<any>;
|
866
|
+
};
|
867
|
+
|
868
|
+
declare const MaterialReactTable: <TData extends Record<string, any> = {}>({ aggregationFns, autoResetExpanded, columnResizeMode, defaultColumn, defaultDisplayColumn, editingMode, enableBottomToolbar, enableColumnActions, enableColumnFilters, enableColumnOrdering, enableColumnResizing, enableDensityToggle, enableExpandAll, enableFilterMatchHighlighting, enableFilters, enableFullScreenToggle, enableGlobalFilter, enableGlobalFilterRankedResults, enableGrouping, enableHiding, enableMultiRowSelection, enableMultiSort, enablePagination, enablePinning, enableRowSelection, enableSelectAll, enableSorting, enableStickyHeader, enableTableFooter, enableTableHead, enableToolbarInternalActions, enableTopToolbar, filterFns, icons, layoutMode, localization, manualFiltering, manualGrouping, manualPagination, manualSorting, positionActionsColumn, positionExpandColumn, positionGlobalFilter, positionPagination, positionToolbarAlertBanner, positionToolbarDropZone, rowNumberMode, selectAllMode, sortingFns, ...rest }: MaterialReactTableProps<TData>) => react_jsx_runtime.JSX.Element;
|
871
869
|
|
872
870
|
interface Props$i<TData extends Record<string, any> = {}> {
|
873
871
|
table: MRT_TableInstance<TData>;
|
874
872
|
}
|
875
|
-
declare const MRT_BottomToolbar: <TData extends Record<string, any> = {}>({ table, }: Props$i<TData>) => JSX.Element;
|
873
|
+
declare const MRT_BottomToolbar: <TData extends Record<string, any> = {}>({ table, }: Props$i<TData>) => react_jsx_runtime.JSX.Element;
|
876
874
|
|
877
875
|
interface Props$h<TData extends Record<string, any> = {}> {
|
878
876
|
cell: MRT_Cell<TData>;
|
879
877
|
children: ReactNode;
|
880
878
|
table: MRT_TableInstance<TData>;
|
881
879
|
}
|
882
|
-
declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$h<TData>) => JSX.Element;
|
880
|
+
declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$h<TData>) => react_jsx_runtime.JSX.Element;
|
883
881
|
|
884
882
|
interface Props$g<TData extends Record<string, any> = {}> {
|
885
883
|
row: MRT_Row<TData>;
|
886
884
|
table: MRT_TableInstance<TData>;
|
887
885
|
variant?: 'icon' | 'text';
|
888
886
|
}
|
889
|
-
declare const MRT_EditActionButtons: <TData extends Record<string, any> = {}>({ row, table, variant, }: Props$g<TData>) => JSX.Element;
|
887
|
+
declare const MRT_EditActionButtons: <TData extends Record<string, any> = {}>({ row, table, variant, }: Props$g<TData>) => react_jsx_runtime.JSX.Element;
|
890
888
|
|
891
889
|
interface Props$f<TData extends Record<string, any> = {}> {
|
892
890
|
row: MRT_Row<TData>;
|
893
891
|
table: MRT_TableInstance<TData>;
|
894
892
|
}
|
895
|
-
declare const MRT_ExpandButton: <TData extends Record<string, any> = {}>({ row, table, }: Props$f<TData>) => JSX.Element;
|
893
|
+
declare const MRT_ExpandButton: <TData extends Record<string, any> = {}>({ row, table, }: Props$f<TData>) => react_jsx_runtime.JSX.Element;
|
896
894
|
|
897
895
|
interface Props$e<TData extends Record<string, any> = {}> {
|
898
896
|
anchorEl: HTMLElement | null;
|
@@ -902,17 +900,17 @@ interface Props$e<TData extends Record<string, any> = {}> {
|
|
902
900
|
setFilterValue?: (filterValue: any) => void;
|
903
901
|
table: MRT_TableInstance<TData>;
|
904
902
|
}
|
905
|
-
declare const MRT_FilterOptionMenu: <TData extends Record<string, any> = {}>({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, }: Props$e<TData>) => JSX.Element;
|
903
|
+
declare const MRT_FilterOptionMenu: <TData extends Record<string, any> = {}>({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, }: Props$e<TData>) => react_jsx_runtime.JSX.Element;
|
906
904
|
|
907
905
|
interface Props$d<TData extends Record<string, any> = {}> extends IconButtonProps {
|
908
906
|
table: MRT_TableInstance<TData>;
|
909
907
|
}
|
910
|
-
declare const MRT_FullScreenToggleButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$d<TData>) => JSX.Element;
|
908
|
+
declare const MRT_FullScreenToggleButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$d<TData>) => react_jsx_runtime.JSX.Element;
|
911
909
|
|
912
910
|
interface Props$c<TData extends Record<string, any> = {}> {
|
913
911
|
table: MRT_TableInstance<TData>;
|
914
912
|
}
|
915
|
-
declare const MRT_GlobalFilterTextField: <TData extends Record<string, any> = {}>({ table, }: Props$c<TData>) => JSX.Element;
|
913
|
+
declare const MRT_GlobalFilterTextField: <TData extends Record<string, any> = {}>({ table, }: Props$c<TData>) => react_jsx_runtime.JSX.Element;
|
916
914
|
|
917
915
|
interface Props$b<TData extends Record<string, any> = {}> {
|
918
916
|
iconButtonProps?: IconButtonProps;
|
@@ -920,66 +918,73 @@ interface Props$b<TData extends Record<string, any> = {}> {
|
|
920
918
|
onDragEnd: DragEventHandler<HTMLButtonElement>;
|
921
919
|
table: MRT_TableInstance<TData>;
|
922
920
|
}
|
923
|
-
declare const MRT_GrabHandleButton: <TData extends Record<string, any> = {}>({ iconButtonProps, onDragEnd, onDragStart, table, }: Props$b<TData>) => JSX.Element;
|
921
|
+
declare const MRT_GrabHandleButton: <TData extends Record<string, any> = {}>({ iconButtonProps, onDragEnd, onDragStart, table, }: Props$b<TData>) => react_jsx_runtime.JSX.Element;
|
924
922
|
|
925
923
|
interface Props$a<TData extends Record<string, any> = {}> extends IconButtonProps {
|
926
924
|
table: MRT_TableInstance<TData>;
|
927
925
|
}
|
928
|
-
declare const MRT_ShowHideColumnsButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$a<TData>) => JSX.Element;
|
926
|
+
declare const MRT_ShowHideColumnsButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$a<TData>) => react_jsx_runtime.JSX.Element;
|
929
927
|
|
930
928
|
interface Props$9 {
|
931
929
|
header: MRT_Header;
|
932
930
|
table: MRT_TableInstance;
|
933
931
|
}
|
934
|
-
declare const MRT_TableHeadCellFilterContainer: ({ header, table }: Props$9) => JSX.Element;
|
932
|
+
declare const MRT_TableHeadCellFilterContainer: ({ header, table }: Props$9) => react_jsx_runtime.JSX.Element;
|
935
933
|
|
936
934
|
interface Props$8<TData extends Record<string, any> = {}> {
|
937
935
|
position?: 'top' | 'bottom';
|
938
936
|
table: MRT_TableInstance<TData>;
|
939
937
|
}
|
940
|
-
declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props$8<TData>) => JSX.Element;
|
938
|
+
declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props$8<TData>) => react_jsx_runtime.JSX.Element;
|
941
939
|
|
942
940
|
interface Props$7<TData extends Record<string, any> = {}> extends IconButtonProps {
|
943
941
|
table: MRT_TableInstance<TData>;
|
944
942
|
}
|
945
|
-
declare const MRT_ToggleDensePaddingButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$7<TData>) => JSX.Element;
|
943
|
+
declare const MRT_ToggleDensePaddingButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$7<TData>) => react_jsx_runtime.JSX.Element;
|
946
944
|
|
947
945
|
interface Props$6<TData extends Record<string, any> = {}> extends IconButtonProps {
|
948
946
|
table: MRT_TableInstance<TData>;
|
949
947
|
}
|
950
|
-
declare const MRT_ToggleFiltersButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$6<TData>) => JSX.Element;
|
948
|
+
declare const MRT_ToggleFiltersButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$6<TData>) => react_jsx_runtime.JSX.Element;
|
951
949
|
|
952
950
|
interface Props$5<TData extends Record<string, any> = {}> extends IconButtonProps {
|
953
951
|
table: MRT_TableInstance<TData>;
|
954
952
|
}
|
955
|
-
declare const MRT_ToggleGlobalFilterButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$5<TData>) => JSX.Element;
|
953
|
+
declare const MRT_ToggleGlobalFilterButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$5<TData>) => react_jsx_runtime.JSX.Element;
|
956
954
|
|
957
955
|
interface Props$4<TData extends Record<string, any> = {}> {
|
958
956
|
cell: MRT_Cell<TData>;
|
959
957
|
row: MRT_Row<TData>;
|
960
958
|
table: MRT_TableInstance<TData>;
|
961
959
|
}
|
962
|
-
declare const MRT_ToggleRowActionMenuButton: <TData extends Record<string, any> = {}>({ cell, row, table, }: Props$4<TData>) => JSX.Element;
|
960
|
+
declare const MRT_ToggleRowActionMenuButton: <TData extends Record<string, any> = {}>({ cell, row, table, }: Props$4<TData>) => react_jsx_runtime.JSX.Element;
|
963
961
|
|
964
962
|
interface Props$3<TData extends Record<string, any> = {}> {
|
965
963
|
stackAlertBanner: boolean;
|
966
964
|
table: MRT_TableInstance<TData>;
|
967
965
|
}
|
968
|
-
declare const MRT_ToolbarAlertBanner: <TData extends Record<string, any> = {}>({ stackAlertBanner, table, }: Props$3<TData>) => JSX.Element;
|
966
|
+
declare const MRT_ToolbarAlertBanner: <TData extends Record<string, any> = {}>({ stackAlertBanner, table, }: Props$3<TData>) => react_jsx_runtime.JSX.Element;
|
969
967
|
|
970
968
|
interface Props$2<TData extends Record<string, any> = {}> {
|
971
969
|
table: MRT_TableInstance<TData>;
|
972
970
|
}
|
973
|
-
declare const MRT_ToolbarDropZone: <TData extends Record<string, any> = {}>({ table, }: Props$2<TData>) => JSX.Element;
|
971
|
+
declare const MRT_ToolbarDropZone: <TData extends Record<string, any> = {}>({ table, }: Props$2<TData>) => react_jsx_runtime.JSX.Element;
|
974
972
|
|
975
973
|
interface Props$1<TData extends Record<string, any> = {}> {
|
976
974
|
table: MRT_TableInstance<TData>;
|
977
975
|
}
|
978
|
-
declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props$1<TData>) => JSX.Element;
|
976
|
+
declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props$1<TData>) => react_jsx_runtime.JSX.Element;
|
979
977
|
|
980
978
|
interface Props<TData extends Record<string, any> = {}> {
|
981
979
|
table: MRT_TableInstance<TData>;
|
982
980
|
}
|
983
|
-
declare const MRT_TopToolbar: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => JSX.Element;
|
981
|
+
declare const MRT_TopToolbar: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => react_jsx_runtime.JSX.Element;
|
982
|
+
|
983
|
+
export { MRT_AggregationFn, MRT_AggregationFns, MRT_AggregationOption, MRT_BottomToolbar, MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_CopyButton, MRT_CreateTableFeature, MRT_DefinedColumnDef, MRT_DensityState, MRT_DisplayColumnIds, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFn, MRT_FilterFns, MRT_FilterFnsState, MRT_FilterOption, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_Header, MRT_HeaderGroup, MRT_Icons, MRT_InternalFilterOption, MRT_Localization, MRT_Row, MRT_RowModel, MRT_ShowHideColumnsButton, MRT_SortingFn, MRT_SortingFns, MRT_SortingOption, MRT_TableHeadCellFilterContainer, MRT_TableInstance, MRT_TablePagination, MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable, MaterialReactTableProps };
|
984
984
|
|
985
|
-
|
985
|
+
|
986
|
+
/**
|
987
|
+
* @deprecated Use `import { MaterialReactTable } from 'material-react-table';` instead
|
988
|
+
*/
|
989
|
+
declare const _default: typeof MaterialReactTable;
|
990
|
+
export default _default;
|
package/locales/cs.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_CS: MRT_Localization;
|
package/locales/cs.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_CS: MRT_Localization;
|
package/locales/da.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_DA: MRT_Localization;
|
package/locales/da.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_DA: MRT_Localization;
|
package/locales/de.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_DE: MRT_Localization;
|
package/locales/de.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_DE: MRT_Localization;
|
package/locales/en.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_EN: MRT_Localization;
|
package/locales/en.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_EN: MRT_Localization;
|
package/locales/es.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ES: MRT_Localization;
|
package/locales/es.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ES: MRT_Localization;
|
package/locales/fa.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FA: MRT_Localization;
|
package/locales/fa.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FA: MRT_Localization;
|
package/locales/fi.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FI: MRT_Localization;
|
package/locales/fi.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FI: MRT_Localization;
|
package/locales/fr.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FR: MRT_Localization;
|
package/locales/fr.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_FR: MRT_Localization;
|
package/locales/hu.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_HU: MRT_Localization;
|
package/locales/hu.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_HU: MRT_Localization;
|
package/locales/id.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ID: MRT_Localization;
|
package/locales/id.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ID: MRT_Localization;
|
package/locales/it.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_IT: MRT_Localization;
|
package/locales/it.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_IT: MRT_Localization;
|
package/locales/ja.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_JA: MRT_Localization;
|
package/locales/ja.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_JA: MRT_Localization;
|
package/locales/nl.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_NL: MRT_Localization;
|
package/locales/nl.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_NL: MRT_Localization;
|
package/locales/pl.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PL: MRT_Localization;
|
package/locales/pl.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PL: MRT_Localization;
|
package/locales/pt-BR.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PT_BR: MRT_Localization;
|
package/locales/pt-BR.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PT_BR: MRT_Localization;
|
package/locales/pt.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PT: MRT_Localization;
|
package/locales/pt.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_PT: MRT_Localization;
|
package/locales/ro.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MRT_Localization } from '../
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_RO: MRT_Localization;
|
package/locales/ro.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MRT_Localization } from '../
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_RO: MRT_Localization;
|
package/locales/ru.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_RU: MRT_Localization;
|
package/locales/ru.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_RU: MRT_Localization;
|
package/locales/sk.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SK: MRT_Localization;
|
package/locales/sk.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SK: MRT_Localization;
|
package/locales/sr-Cyrl-RS.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
|
package/locales/sr-Latn-RS.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
|
package/locales/sv.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SV: MRT_Localization;
|
package/locales/sv.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_SV: MRT_Localization;
|
package/locales/tr.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_TR: MRT_Localization;
|
package/locales/tr.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_TR: MRT_Localization;
|
package/locales/uk.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_UK: MRT_Localization;
|
package/locales/uk.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_UK: MRT_Localization;
|
package/locales/vi.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_VI: MRT_Localization;
|
package/locales/vi.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_VI: MRT_Localization;
|
package/locales/zh-Hans.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ZH_HANS: MRT_Localization;
|
package/locales/zh-Hans.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ZH_HANS: MRT_Localization;
|
package/locales/zh-Hant.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ZH_HANT: MRT_Localization;
|
package/locales/zh-Hant.esm.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import type
|
1
|
+
import { type MRT_Localization } from '../types';
|
2
2
|
export declare const MRT_Localization_ZH_HANT: MRT_Localization;
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.
|
2
|
+
"version": "1.12.0-beta.0",
|
3
3
|
"license": "MIT",
|
4
4
|
"name": "material-react-table",
|
5
5
|
"description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
|
@@ -50,30 +50,45 @@
|
|
50
50
|
"build-no-locales": "pnpm lib:build-no-locales",
|
51
51
|
"dev": "pnpm lib:dev",
|
52
52
|
"lib:build": "rm -rf dist && pnpm build-no-locales && pnpm build-locales",
|
53
|
-
"lib:build-locales": "
|
53
|
+
"lib:build-locales": "rm -rf locales && node build-locales.mjs",
|
54
54
|
"lib:build-no-locales": "rm -rf dist && rollup -c rollup.config.mjs && size-limit",
|
55
55
|
"lib:dev": "rollup -c rollup.config.mjs --watch",
|
56
56
|
"lint": "eslint .",
|
57
|
-
"size": "size-limit"
|
57
|
+
"size": "size-limit",
|
58
|
+
"storybook": "pnpm storybook:dev",
|
59
|
+
"storybook:build": "storybook build",
|
60
|
+
"storybook:dev": "storybook dev -p 6006"
|
58
61
|
},
|
59
62
|
"devDependencies": {
|
60
|
-
"@babel/core": "^7.
|
61
|
-
"@babel/preset-react": "^7.
|
62
|
-
"@emotion/react": "^11.
|
63
|
-
"@emotion/styled": "^11.
|
63
|
+
"@babel/core": "^7.22.1",
|
64
|
+
"@babel/preset-react": "^7.22.3",
|
65
|
+
"@emotion/react": "^11.11.0",
|
66
|
+
"@emotion/styled": "^11.11.0",
|
67
|
+
"@faker-js/faker": "^8.0.1",
|
64
68
|
"@mui/icons-material": "^5.11.16",
|
65
|
-
"@mui/material": "^5.
|
69
|
+
"@mui/material": "^5.13.2",
|
66
70
|
"@rollup/plugin-babel": "^6.0.3",
|
67
71
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
68
|
-
"@rollup/plugin-typescript": "^11.1.
|
72
|
+
"@rollup/plugin-typescript": "^11.1.1",
|
69
73
|
"@size-limit/preset-small-lib": "^8.2.4",
|
70
|
-
"@
|
71
|
-
"@
|
72
|
-
"@
|
73
|
-
"@
|
74
|
-
"@
|
75
|
-
"
|
74
|
+
"@storybook/addon-a11y": "^7.0.18",
|
75
|
+
"@storybook/addon-essentials": "^7.0.18",
|
76
|
+
"@storybook/addon-interactions": "^7.0.18",
|
77
|
+
"@storybook/addon-links": "^7.0.18",
|
78
|
+
"@storybook/addon-storysource": "^7.0.18",
|
79
|
+
"@storybook/blocks": "^7.0.18",
|
80
|
+
"@storybook/react": "^7.0.18",
|
81
|
+
"@storybook/react-vite": "^7.0.18",
|
82
|
+
"@storybook/testing-library": "^0.1.0",
|
83
|
+
"@types/node": "^20.2.5",
|
84
|
+
"@types/react": "^18.2.7",
|
85
|
+
"@types/react-dom": "^18.2.4",
|
86
|
+
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
87
|
+
"@typescript-eslint/parser": "^5.59.7",
|
88
|
+
"@vitejs/plugin-react": "^4.0.0",
|
89
|
+
"eslint": "^8.41.0",
|
76
90
|
"eslint-plugin-mui-path-imports": "^0.0.15",
|
91
|
+
"prop-types": "^15.8.1",
|
77
92
|
"react": "^18.2.0",
|
78
93
|
"react-dom": "^18.2.0",
|
79
94
|
"react-is": "^18.2.0",
|
@@ -82,8 +97,11 @@
|
|
82
97
|
"rollup-plugin-dts": "^5.3.0",
|
83
98
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
84
99
|
"size-limit": "^8.2.4",
|
85
|
-
"
|
86
|
-
"
|
100
|
+
"storybook": "^7.0.18",
|
101
|
+
"storybook-dark-mode": "^3.0.0",
|
102
|
+
"tslib": "^2.5.2",
|
103
|
+
"typescript": "^5.0.4",
|
104
|
+
"vite": "^4.3.9"
|
87
105
|
},
|
88
106
|
"peerDependencies": {
|
89
107
|
"@emotion/react": ">=11",
|