@cutting/material-react-table 4.0.0 → 4.0.2
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 +103 -114
- package/dist/index.esm.js +35 -114
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +151 -230
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/components/body/MRT_TableBody.tsx +2 -2
- package/src/components/body/MRT_TableBodyCell.tsx +2 -2
- package/src/components/body/MRT_TableBodyCellValue.tsx +1 -1
- package/src/components/body/MRT_TableBodyRow.tsx +1 -1
- package/src/components/body/MRT_TableBodyRowPinButton.tsx +1 -1
- package/src/components/body/MRT_TableDetailPanel.tsx +3 -3
- package/src/components/buttons/MRT_ColumnPinningButtons.tsx +3 -3
- package/src/components/buttons/MRT_CopyButton.tsx +2 -2
- package/src/components/buttons/MRT_EditActionButtons.tsx +5 -5
- package/src/components/buttons/MRT_ExpandAllButton.tsx +2 -2
- package/src/components/buttons/MRT_ExpandButton.tsx +2 -2
- package/src/components/buttons/MRT_GrabHandleButton.tsx +2 -2
- package/src/components/buttons/MRT_RowPinButton.tsx +2 -2
- package/src/components/buttons/MRT_ShowHideColumnsButton.tsx +2 -2
- package/src/components/buttons/MRT_ToggleDensePaddingButton.tsx +2 -2
- package/src/components/buttons/MRT_ToggleFiltersButton.tsx +2 -2
- package/src/components/buttons/MRT_ToggleFullScreenButton.tsx +2 -2
- package/src/components/buttons/MRT_ToggleGlobalFilterButton.tsx +2 -2
- package/src/components/buttons/MRT_ToggleRowActionMenuButton.tsx +2 -2
- package/src/components/footer/MRT_TableFooter.tsx +1 -1
- package/src/components/footer/MRT_TableFooterCell.tsx +1 -1
- package/src/components/footer/MRT_TableFooterRow.tsx +1 -1
- package/src/components/head/MRT_TableHead.tsx +1 -1
- package/src/components/head/MRT_TableHeadCell.tsx +2 -2
- package/src/components/head/MRT_TableHeadCellColumnActionsButton.tsx +2 -2
- package/src/components/head/MRT_TableHeadCellFilterContainer.tsx +1 -1
- package/src/components/head/MRT_TableHeadCellFilterLabel.tsx +5 -5
- package/src/components/head/MRT_TableHeadCellResizeHandle.tsx +2 -2
- package/src/components/head/MRT_TableHeadCellSortLabel.tsx +3 -5
- package/src/components/head/MRT_TableHeadRow.tsx +1 -1
- package/src/components/inputs/MRT_EditCellTextField.tsx +2 -2
- package/src/components/inputs/MRT_FilterCheckbox.tsx +3 -3
- package/src/components/inputs/MRT_FilterRangeFields.tsx +1 -1
- package/src/components/inputs/MRT_FilterRangeSlider.tsx +3 -3
- package/src/components/inputs/MRT_FilterTextField.tsx +9 -12
- package/src/components/inputs/MRT_GlobalFilterTextField.tsx +5 -5
- package/src/components/inputs/MRT_SelectCheckbox.tsx +3 -3
- package/src/components/menus/MRT_ActionMenuItem.tsx +4 -4
- package/src/components/menus/MRT_CellActionMenu.tsx +1 -1
- package/src/components/menus/MRT_ColumnActionMenu.tsx +1 -1
- package/src/components/menus/MRT_FilterOptionMenu.tsx +1 -1
- package/src/components/menus/MRT_RowActionMenu.tsx +1 -1
- package/src/components/menus/MRT_ShowHideColumnsMenu.tsx +4 -4
- package/src/components/menus/MRT_ShowHideColumnsMenuItems.tsx +6 -6
- package/src/components/modals/MRT_EditRowModal.tsx +5 -5
- package/src/components/table/MRT_Table.tsx +1 -1
- package/src/components/table/MRT_TableContainer.tsx +1 -3
- package/src/components/table/MRT_TableLoadingOverlay.tsx +2 -4
- package/src/components/table/MRT_TablePaper.tsx +1 -1
- package/src/components/toolbar/MRT_BottomToolbar.tsx +1 -1
- package/src/components/toolbar/MRT_LinearProgressBar.tsx +2 -4
- package/src/components/toolbar/MRT_TablePagination.tsx +9 -9
- package/src/components/toolbar/MRT_ToolbarAlertBanner.tsx +7 -7
- package/src/components/toolbar/MRT_ToolbarDropZone.tsx +3 -3
- package/src/components/toolbar/MRT_ToolbarInternalButtons.tsx +1 -1
- package/src/components/toolbar/MRT_TopToolbar.tsx +1 -1
- package/src/hooks/display-columns/getMRT_RowExpandColumnDef.tsx +2 -2
- package/src/icons.ts +1 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Box,
|
|
2
|
-
import Fade from '@mui/material
|
|
1
|
+
import { Box, type BoxProps } from '@mui/material';
|
|
2
|
+
import { Fade } from '@mui/material';
|
|
3
|
+
import { Typography } from '@mui/material';
|
|
3
4
|
import { alpha } from '@mui/material/styles';
|
|
4
|
-
import Typography from '@mui/material/Typography';
|
|
5
5
|
import { type DragEvent, useEffect } from 'react';
|
|
6
6
|
|
|
7
7
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Stack from '@mui/material
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Stack } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
import { MRT_ExpandAllButton } from '../../components/buttons/MRT_ExpandAllButton';
|
package/src/icons.ts
CHANGED
|
@@ -1,38 +1,4 @@
|
|
|
1
|
-
import ArrowDownwardIcon from '@mui/icons-material
|
|
2
|
-
import ArrowRightIcon from '@mui/icons-material/ArrowRight';
|
|
3
|
-
import CancelIcon from '@mui/icons-material/Cancel';
|
|
4
|
-
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
|
|
5
|
-
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
|
|
6
|
-
import ClearAllIcon from '@mui/icons-material/ClearAll';
|
|
7
|
-
import CloseIcon from '@mui/icons-material/Close';
|
|
8
|
-
import ContentCopy from '@mui/icons-material/ContentCopy';
|
|
9
|
-
import DensityLargeIcon from '@mui/icons-material/DensityLarge';
|
|
10
|
-
import DensityMediumIcon from '@mui/icons-material/DensityMedium';
|
|
11
|
-
import DensitySmallIcon from '@mui/icons-material/DensitySmall';
|
|
12
|
-
import DragHandleIcon from '@mui/icons-material/DragHandle';
|
|
13
|
-
import DynamicFeedIcon from '@mui/icons-material/DynamicFeed';
|
|
14
|
-
import EditIcon from '@mui/icons-material/Edit';
|
|
15
|
-
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
16
|
-
import FilterAltIcon from '@mui/icons-material/FilterAlt';
|
|
17
|
-
import FilterListIcon from '@mui/icons-material/FilterList';
|
|
18
|
-
import FilterListOffIcon from '@mui/icons-material/FilterListOff';
|
|
19
|
-
import FirstPageIcon from '@mui/icons-material/FirstPage';
|
|
20
|
-
import FullscreenIcon from '@mui/icons-material/Fullscreen';
|
|
21
|
-
import FullscreenExitIcon from '@mui/icons-material/FullscreenExit';
|
|
22
|
-
import KeyboardDoubleArrowDownIcon from '@mui/icons-material/KeyboardDoubleArrowDown';
|
|
23
|
-
import LastPageIcon from '@mui/icons-material/LastPage';
|
|
24
|
-
import MoreHorizIcon from '@mui/icons-material/MoreHoriz';
|
|
25
|
-
import MoreVertIcon from '@mui/icons-material/MoreVert';
|
|
26
|
-
import PushPinIcon from '@mui/icons-material/PushPin';
|
|
27
|
-
import RestartAltIcon from '@mui/icons-material/RestartAlt';
|
|
28
|
-
import SaveIcon from '@mui/icons-material/Save';
|
|
29
|
-
import SearchIcon from '@mui/icons-material/Search';
|
|
30
|
-
import SearchOffIcon from '@mui/icons-material/SearchOff';
|
|
31
|
-
import SortIcon from '@mui/icons-material/Sort';
|
|
32
|
-
import SyncAltIcon from '@mui/icons-material/SyncAlt';
|
|
33
|
-
import ViewColumnIcon from '@mui/icons-material/ViewColumn';
|
|
34
|
-
import VisibilityOffIcon from '@mui/icons-material/VisibilityOff';
|
|
35
|
-
|
|
1
|
+
import { ArrowDownward as ArrowDownwardIcon, ArrowRight as ArrowRightIcon, Cancel as CancelIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ClearAll as ClearAllIcon, Close as CloseIcon, ContentCopy, DensityLarge as DensityLargeIcon, DensityMedium as DensityMediumIcon, DensitySmall as DensitySmallIcon, DragHandle as DragHandleIcon, DynamicFeed as DynamicFeedIcon, Edit as EditIcon, ExpandMore as ExpandMoreIcon, FilterAlt as FilterAltIcon, FilterList as FilterListIcon, FilterListOff as FilterListOffIcon, FirstPage as FirstPageIcon, Fullscreen as FullscreenIcon, FullscreenExit as FullscreenExitIcon, KeyboardDoubleArrowDown as KeyboardDoubleArrowDownIcon, LastPage as LastPageIcon, MoreHoriz as MoreHorizIcon, MoreVert as MoreVertIcon, PushPin as PushPinIcon, RestartAlt as RestartAltIcon, Save as SaveIcon, Search as SearchIcon, SearchOff as SearchOffIcon, Sort as SortIcon, SyncAlt as SyncAltIcon, ViewColumn as ViewColumnIcon, VisibilityOff as VisibilityOffIcon } from '@mui/icons-material';
|
|
36
2
|
export const MRT_Default_Icons = {
|
|
37
3
|
ArrowDownwardIcon,
|
|
38
4
|
ArrowRightIcon,
|