@cutting/material-react-table 4.0.0 → 4.0.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.d.ts +103 -114
- package/dist/index.esm.js +1 -47
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +116 -162
- 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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.1",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "@cutting/material-react-table",
|
|
5
5
|
"description": "Maintenance fork of material-react-table updated for Material UI v9. A fully featured Material UI implementation of TanStack React Table V8.",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"size-limit": [
|
|
41
41
|
{
|
|
42
42
|
"path": "dist/index.js",
|
|
43
|
-
"limit": "
|
|
43
|
+
"limit": "56 KB"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"path": "dist/index.esm.js",
|
|
47
|
-
"limit": "
|
|
47
|
+
"limit": "53 KB"
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"engines": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@faker-js/faker": "^10.4.0",
|
|
59
59
|
"@mui/icons-material": "^9.0.1",
|
|
60
60
|
"@mui/material": "^9.0.1",
|
|
61
|
-
"@mui/x-date-pickers": "^9.
|
|
61
|
+
"@mui/x-date-pickers": "^9.3.0",
|
|
62
62
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
63
63
|
"@size-limit/preset-small-lib": "^12.1.0",
|
|
64
64
|
"@storybook/addon-a11y": "^10.4.0",
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
"storybook-dark-mode": "^5.0.0",
|
|
95
95
|
"tslib": "^2.8.1",
|
|
96
96
|
"typescript": "6.0.3",
|
|
97
|
-
"vite": "^8.0.
|
|
98
|
-
"vitest": "^4.1.
|
|
97
|
+
"vite": "^8.0.14",
|
|
98
|
+
"vitest": "^4.1.7"
|
|
99
99
|
},
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"@emotion/react": ">=11.13",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@tanstack/match-sorter-utils": "8.19.4",
|
|
111
111
|
"@tanstack/react-table": "8.21.3",
|
|
112
|
-
"@tanstack/react-virtual": "3.13.
|
|
112
|
+
"@tanstack/react-virtual": "3.13.25",
|
|
113
113
|
"highlight-words": "2.0.0"
|
|
114
114
|
},
|
|
115
115
|
"scripts": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TableBody,
|
|
2
|
-
import Typography from '@mui/material
|
|
1
|
+
import { TableBody, type TableBodyProps } from '@mui/material';
|
|
2
|
+
import { Typography } from '@mui/material';
|
|
3
3
|
import { type VirtualItem } from '@tanstack/react-virtual';
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Skeleton from '@mui/material
|
|
1
|
+
import { Skeleton } from '@mui/material';
|
|
2
|
+
import { TableCell, type TableCellProps } from '@mui/material';
|
|
2
3
|
import { useTheme } from '@mui/material/styles';
|
|
3
|
-
import TableCell, { type TableCellProps } from '@mui/material/TableCell';
|
|
4
4
|
import {
|
|
5
5
|
type DragEvent,
|
|
6
6
|
memo,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TableRow, type TableRowProps } from '@mui/material';
|
|
1
2
|
import { alpha, darken, lighten, type Theme, useTheme } from '@mui/material/styles';
|
|
2
|
-
import TableRow, { type TableRowProps } from '@mui/material/TableRow';
|
|
3
3
|
import { type VirtualItem } from '@tanstack/react-virtual';
|
|
4
4
|
import { type DragEvent, memo, useMemo, useRef } from 'react';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Collapse from '@mui/material
|
|
2
|
-
import TableCell,
|
|
3
|
-
import TableRow from '@mui/material
|
|
1
|
+
import { Collapse } from '@mui/material';
|
|
2
|
+
import { TableCell, type TableCellProps } from '@mui/material';
|
|
3
|
+
import { TableRow } from '@mui/material';
|
|
4
4
|
import { type RefObject } from 'react';
|
|
5
5
|
|
|
6
6
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Box,
|
|
2
|
-
import IconButton from '@mui/material
|
|
3
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Box, type BoxProps } from '@mui/material';
|
|
2
|
+
import { IconButton } from '@mui/material';
|
|
3
|
+
import { Tooltip } from '@mui/material';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
type MRT_Column,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Button,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Button, type ButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type MouseEvent, useState } from 'react';
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Box,
|
|
2
|
-
import Button from '@mui/material
|
|
3
|
-
import CircularProgress from '@mui/material
|
|
4
|
-
import IconButton from '@mui/material
|
|
5
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Box, type BoxProps } from '@mui/material';
|
|
2
|
+
import { Button } from '@mui/material';
|
|
3
|
+
import { CircularProgress } from '@mui/material';
|
|
4
|
+
import { IconButton } from '@mui/material';
|
|
5
|
+
import { Tooltip } from '@mui/material';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
type MRT_Row,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
|
|
4
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
5
5
|
import { getCommonTooltipProps } from '../../utils/style.utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import IconButton,
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
2
3
|
import { useTheme } from '@mui/material/styles';
|
|
3
|
-
import Tooltip from '@mui/material/Tooltip';
|
|
4
4
|
import { type MouseEvent } from 'react';
|
|
5
5
|
|
|
6
6
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type DragEventHandler } from 'react';
|
|
4
4
|
|
|
5
5
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type RowPinningPosition } from '@tanstack/react-table';
|
|
4
4
|
import { type MouseEvent, useState } from 'react';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type MouseEvent, useState } from 'react';
|
|
4
4
|
|
|
5
5
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
|
|
4
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
|
|
4
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
|
|
5
5
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
|
|
4
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type MouseEvent, useState } from 'react';
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { TableCell, type TableCellProps } from '@mui/material';
|
|
2
3
|
import { useTheme } from '@mui/material/styles';
|
|
3
4
|
import { type Theme } from '@mui/material/styles';
|
|
4
|
-
import TableCell, { type TableCellProps } from '@mui/material/TableCell';
|
|
5
5
|
import { type DragEvent, useCallback, useMemo } from 'react';
|
|
6
6
|
|
|
7
7
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import IconButton,
|
|
2
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
2
|
+
import { Tooltip } from '@mui/material';
|
|
3
3
|
import { type MouseEvent, useState } from 'react';
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import Grow from '@mui/material
|
|
3
|
-
import IconButton,
|
|
4
|
-
import Popover from '@mui/material
|
|
5
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { Grow } from '@mui/material';
|
|
3
|
+
import { IconButton, type IconButtonProps } from '@mui/material';
|
|
4
|
+
import { Popover } from '@mui/material';
|
|
5
|
+
import { Tooltip } from '@mui/material';
|
|
6
6
|
import { type MouseEvent, useState } from 'react';
|
|
7
7
|
|
|
8
8
|
import {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import Badge from '@mui/material
|
|
2
|
-
import TableSortLabel,
|
|
3
|
-
|
|
4
|
-
} from '@mui/material/TableSortLabel';
|
|
5
|
-
import Tooltip from '@mui/material/Tooltip';
|
|
1
|
+
import { Badge } from '@mui/material';
|
|
2
|
+
import { TableSortLabel, type TableSortLabelProps } from '@mui/material';
|
|
3
|
+
import { Tooltip } from '@mui/material';
|
|
6
4
|
|
|
7
5
|
import {
|
|
8
6
|
type MRT_Header,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import MenuItem from '@mui/material
|
|
2
|
-
import TextField from '@mui/material
|
|
1
|
+
import { MenuItem } from '@mui/material';
|
|
2
|
+
import { TextField } from '@mui/material';
|
|
3
3
|
import { type TextFieldProps } from '@mui/material/TextField';
|
|
4
4
|
import {
|
|
5
5
|
type ChangeEvent,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Checkbox,
|
|
2
|
-
import FormControlLabel from '@mui/material
|
|
3
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Checkbox, type CheckboxProps } from '@mui/material';
|
|
2
|
+
import { FormControlLabel } from '@mui/material';
|
|
3
|
+
import { Tooltip } from '@mui/material';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
type MRT_Column,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import FormHelperText from '@mui/material
|
|
2
|
-
import Slider,
|
|
3
|
-
import Stack from '@mui/material
|
|
1
|
+
import { FormHelperText } from '@mui/material';
|
|
2
|
+
import { Slider, type SliderProps } from '@mui/material';
|
|
3
|
+
import { Stack } from '@mui/material';
|
|
4
4
|
import { useEffect, useRef, useState } from 'react';
|
|
5
5
|
|
|
6
6
|
import {
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import Autocomplete,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from '@mui/material
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
11
|
-
import TextField, { type TextFieldProps } from '@mui/material/TextField';
|
|
12
|
-
import Tooltip from '@mui/material/Tooltip';
|
|
1
|
+
import { Autocomplete, type AutocompleteInputChangeReason, type AutocompleteRenderInputParams } from '@mui/material';
|
|
2
|
+
import { Box } from '@mui/material';
|
|
3
|
+
import { Checkbox } from '@mui/material';
|
|
4
|
+
import { Chip } from '@mui/material';
|
|
5
|
+
import { IconButton } from '@mui/material';
|
|
6
|
+
import { InputAdornment } from '@mui/material';
|
|
7
|
+
import { MenuItem } from '@mui/material';
|
|
8
|
+
import { TextField, type TextFieldProps } from '@mui/material';
|
|
9
|
+
import { Tooltip } from '@mui/material';
|
|
13
10
|
import { debounce } from '@mui/material/utils';
|
|
14
11
|
import { DatePicker } from '@mui/x-date-pickers/DatePicker';
|
|
15
12
|
import { DateTimePicker } from '@mui/x-date-pickers/DateTimePicker';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Collapse from '@mui/material
|
|
2
|
-
import IconButton from '@mui/material
|
|
3
|
-
import InputAdornment from '@mui/material
|
|
4
|
-
import TextField,
|
|
5
|
-
import Tooltip from '@mui/material
|
|
1
|
+
import { Collapse } from '@mui/material';
|
|
2
|
+
import { IconButton } from '@mui/material';
|
|
3
|
+
import { InputAdornment } from '@mui/material';
|
|
4
|
+
import { TextField, type TextFieldProps } from '@mui/material';
|
|
5
|
+
import { Tooltip } from '@mui/material';
|
|
6
6
|
import { debounce } from '@mui/material/utils';
|
|
7
7
|
import {
|
|
8
8
|
type ChangeEvent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Checkbox,
|
|
2
|
-
import Radio,
|
|
1
|
+
import { Checkbox, type CheckboxProps } from '@mui/material';
|
|
2
|
+
import { Radio, type RadioProps } from '@mui/material';
|
|
3
|
+
import { Tooltip } from '@mui/material';
|
|
3
4
|
import { type Theme } from '@mui/material/styles';
|
|
4
|
-
import Tooltip from '@mui/material/Tooltip';
|
|
5
5
|
import { type MouseEvent } from 'react';
|
|
6
6
|
|
|
7
7
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import IconButton from '@mui/material
|
|
3
|
-
import ListItemIcon from '@mui/material
|
|
4
|
-
import MenuItem,
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { IconButton } from '@mui/material';
|
|
3
|
+
import { ListItemIcon } from '@mui/material';
|
|
4
|
+
import { MenuItem, type MenuItemProps } from '@mui/material';
|
|
5
5
|
import { type ReactNode } from 'react';
|
|
6
6
|
|
|
7
7
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import Button from '@mui/material
|
|
3
|
-
import Divider from '@mui/material
|
|
4
|
-
import Menu,
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { Button } from '@mui/material';
|
|
3
|
+
import { Divider } from '@mui/material';
|
|
4
|
+
import { Menu, type MenuProps } from '@mui/material';
|
|
5
5
|
import { useMemo, useState } from 'react';
|
|
6
6
|
|
|
7
7
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import FormControlLabel from '@mui/material
|
|
3
|
-
import MenuItem,
|
|
4
|
-
import Switch from '@mui/material
|
|
5
|
-
import Tooltip from '@mui/material
|
|
6
|
-
import Typography from '@mui/material
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { FormControlLabel } from '@mui/material';
|
|
3
|
+
import { MenuItem, type MenuItemProps } from '@mui/material';
|
|
4
|
+
import { Switch } from '@mui/material';
|
|
5
|
+
import { Tooltip } from '@mui/material';
|
|
6
|
+
import { Typography } from '@mui/material';
|
|
7
7
|
import {
|
|
8
8
|
type Dispatch,
|
|
9
9
|
type DragEvent,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Dialog,
|
|
2
|
-
import DialogActions from '@mui/material
|
|
3
|
-
import DialogContent from '@mui/material
|
|
4
|
-
import DialogTitle from '@mui/material
|
|
5
|
-
import Stack from '@mui/material
|
|
1
|
+
import { Dialog, type DialogProps } from '@mui/material';
|
|
2
|
+
import { DialogActions } from '@mui/material';
|
|
3
|
+
import { DialogContent } from '@mui/material';
|
|
4
|
+
import { DialogTitle } from '@mui/material';
|
|
5
|
+
import { Stack } from '@mui/material';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
type MRT_Row,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import TableContainer,
|
|
2
|
-
type TableContainerProps,
|
|
3
|
-
} from '@mui/material/TableContainer';
|
|
1
|
+
import { TableContainer, type TableContainerProps } from '@mui/material';
|
|
4
2
|
import { useEffect, useLayoutEffect, useState } from 'react';
|
|
5
3
|
|
|
6
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import CircularProgress,
|
|
3
|
-
type CircularProgressProps,
|
|
4
|
-
} from '@mui/material/CircularProgress';
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { CircularProgress, type CircularProgressProps } from '@mui/material';
|
|
5
3
|
import { alpha } from '@mui/material/styles';
|
|
6
4
|
|
|
7
5
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import Collapse from '@mui/material
|
|
2
|
-
import LinearProgress,
|
|
3
|
-
type LinearProgressProps,
|
|
4
|
-
} from '@mui/material/LinearProgress';
|
|
1
|
+
import { Collapse } from '@mui/material';
|
|
2
|
+
import { LinearProgress, type LinearProgressProps } from '@mui/material';
|
|
5
3
|
|
|
6
4
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
7
5
|
import { parseFromValuesOrFunc } from '../../utils/utils';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import Box from '@mui/material
|
|
2
|
-
import IconButton from '@mui/material
|
|
3
|
-
import InputLabel from '@mui/material
|
|
4
|
-
import MenuItem from '@mui/material
|
|
5
|
-
import Pagination,
|
|
6
|
-
import PaginationItem from '@mui/material
|
|
7
|
-
import Select,
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import { IconButton } from '@mui/material';
|
|
3
|
+
import { InputLabel } from '@mui/material';
|
|
4
|
+
import { MenuItem } from '@mui/material';
|
|
5
|
+
import { Pagination, type PaginationProps } from '@mui/material';
|
|
6
|
+
import { PaginationItem } from '@mui/material';
|
|
7
|
+
import { Select, type SelectProps } from '@mui/material';
|
|
8
|
+
import { Tooltip } from '@mui/material';
|
|
9
|
+
import { Typography } from '@mui/material';
|
|
8
10
|
import { useTheme } from '@mui/material/styles';
|
|
9
|
-
import Tooltip from '@mui/material/Tooltip';
|
|
10
|
-
import Typography from '@mui/material/Typography';
|
|
11
11
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
12
12
|
|
|
13
13
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import Alert,
|
|
2
|
-
import AlertTitle from '@mui/material
|
|
3
|
-
import Box from '@mui/material
|
|
4
|
-
import Button from '@mui/material
|
|
5
|
-
import Chip from '@mui/material
|
|
6
|
-
import Collapse from '@mui/material
|
|
7
|
-
import Stack from '@mui/material
|
|
1
|
+
import { Alert, type AlertProps } from '@mui/material';
|
|
2
|
+
import { AlertTitle } from '@mui/material';
|
|
3
|
+
import { Box } from '@mui/material';
|
|
4
|
+
import { Button } from '@mui/material';
|
|
5
|
+
import { Chip } from '@mui/material';
|
|
6
|
+
import { Collapse } from '@mui/material';
|
|
7
|
+
import { Stack } from '@mui/material';
|
|
8
8
|
import { Fragment, useMemo } from 'react';
|
|
9
9
|
|
|
10
10
|
import { type MRT_RowData, type MRT_TableInstance } from '../../types';
|