material-react-table 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { MutableRefObject, Dispatch, SetStateAction, ReactNode } from 'react';
2
3
  import { AlertProps } from '@mui/material/Alert';
3
4
  import { ButtonProps } from '@mui/material/Button';
4
5
  import { CheckboxProps } from '@mui/material/Checkbox';
@@ -19,7 +20,6 @@ import { TableRowProps } from '@mui/material/TableRow';
19
20
  import { TextFieldProps } from '@mui/material/TextField';
20
21
  import { ToolbarProps } from '@mui/material/Toolbar';
21
22
  import { Row, Table, TableState, ColumnDef, DeepKeys, Column, Header, HeaderGroup, Cell, AggregationFn, SortingFn, FilterFn, TableOptions, OnChangeFn } from '@tanstack/react-table';
22
- import { MutableRefObject, Dispatch, SetStateAction, ReactNode } from 'react';
23
23
  import { Options, VirtualItem } from 'react-virtual';
24
24
  import * as _tanstack_table_core from '@tanstack/table-core';
25
25
  import { RankingInfo } from '@tanstack/match-sorter-utils';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.3",
2
+ "version": "1.3.4",
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.",
@@ -1,3 +1,10 @@
1
+ import React, {
2
+ Dispatch,
3
+ MutableRefObject,
4
+ ReactNode,
5
+ SetStateAction,
6
+ useMemo,
7
+ } from 'react';
1
8
  import type { AlertProps } from '@mui/material/Alert';
2
9
  import type { ButtonProps } from '@mui/material/Button';
3
10
  import type { CheckboxProps } from '@mui/material/Checkbox';
@@ -33,13 +40,6 @@ import type {
33
40
  TableOptions,
34
41
  TableState,
35
42
  } from '@tanstack/react-table';
36
- import React, {
37
- Dispatch,
38
- MutableRefObject,
39
- ReactNode,
40
- SetStateAction,
41
- useMemo,
42
- } from 'react';
43
43
  import type { Options as VirtualizerOptions, VirtualItem } from 'react-virtual';
44
44
  // import type { VirtualizerOptions } from '@tanstack/react-virtual';
45
45
  import { MRT_AggregationFns } from './aggregationFns';
@@ -49,7 +49,6 @@ import { MRT_Default_Icons, MRT_Icons } from './icons';
49
49
  import { MRT_SortingFns } from './sortingFns';
50
50
  import { MRT_TableRoot } from './table/MRT_TableRoot';
51
51
  import { MRT_Localization_EN } from './_locales/en';
52
- import { MRT_Localization_FA } from './_locales/fa';
53
52
 
54
53
  /**
55
54
  * Most of this file is just TypeScript types
@@ -1108,7 +1107,6 @@ const MaterialReactTable = <TData extends Record<string, any> = {}>({
1108
1107
  const _localization = useMemo(
1109
1108
  () => ({
1110
1109
  ...MRT_Localization_EN,
1111
- ...MRT_Localization_FA,
1112
1110
  ...localization,
1113
1111
  }),
1114
1112
  [localization],