material-react-table 1.12.0-beta.0 → 1.12.0-beta.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.
Files changed (147) hide show
  1. package/dist/cjs/index.js +17 -13
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/_locales/cs.d.ts +1 -1
  4. package/dist/cjs/types/_locales/da.d.ts +1 -1
  5. package/dist/cjs/types/_locales/de.d.ts +1 -1
  6. package/dist/cjs/types/_locales/en.d.ts +1 -1
  7. package/dist/cjs/types/_locales/es.d.ts +1 -1
  8. package/dist/cjs/types/_locales/fa.d.ts +1 -1
  9. package/dist/cjs/types/_locales/fi.d.ts +1 -1
  10. package/dist/cjs/types/_locales/fr.d.ts +1 -1
  11. package/dist/cjs/types/_locales/hu.d.ts +1 -1
  12. package/dist/cjs/types/_locales/id.d.ts +1 -1
  13. package/dist/cjs/types/_locales/it.d.ts +1 -1
  14. package/dist/cjs/types/_locales/ja.d.ts +1 -1
  15. package/dist/cjs/types/_locales/nl.d.ts +1 -1
  16. package/dist/cjs/types/_locales/pl.d.ts +1 -1
  17. package/dist/cjs/types/_locales/pt-BR.d.ts +1 -1
  18. package/dist/cjs/types/_locales/pt.d.ts +1 -1
  19. package/dist/cjs/types/_locales/ro.d.ts +1 -1
  20. package/dist/cjs/types/_locales/ru.d.ts +1 -1
  21. package/dist/cjs/types/_locales/sk.d.ts +1 -1
  22. package/dist/cjs/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  23. package/dist/cjs/types/_locales/sr-Latn-RS.d.ts +1 -1
  24. package/dist/cjs/types/_locales/sv.d.ts +1 -1
  25. package/dist/cjs/types/_locales/tr.d.ts +1 -1
  26. package/dist/cjs/types/_locales/uk.d.ts +1 -1
  27. package/dist/cjs/types/_locales/vi.d.ts +1 -1
  28. package/dist/cjs/types/_locales/zh-Hans.d.ts +1 -1
  29. package/dist/cjs/types/_locales/zh-Hant.d.ts +1 -1
  30. package/dist/esm/material-react-table.esm.js +20 -14
  31. package/dist/esm/material-react-table.esm.js.map +1 -1
  32. package/dist/esm/types/_locales/cs.d.ts +1 -1
  33. package/dist/esm/types/_locales/da.d.ts +1 -1
  34. package/dist/esm/types/_locales/de.d.ts +1 -1
  35. package/dist/esm/types/_locales/en.d.ts +1 -1
  36. package/dist/esm/types/_locales/es.d.ts +1 -1
  37. package/dist/esm/types/_locales/fa.d.ts +1 -1
  38. package/dist/esm/types/_locales/fi.d.ts +1 -1
  39. package/dist/esm/types/_locales/fr.d.ts +1 -1
  40. package/dist/esm/types/_locales/hu.d.ts +1 -1
  41. package/dist/esm/types/_locales/id.d.ts +1 -1
  42. package/dist/esm/types/_locales/it.d.ts +1 -1
  43. package/dist/esm/types/_locales/ja.d.ts +1 -1
  44. package/dist/esm/types/_locales/nl.d.ts +1 -1
  45. package/dist/esm/types/_locales/pl.d.ts +1 -1
  46. package/dist/esm/types/_locales/pt-BR.d.ts +1 -1
  47. package/dist/esm/types/_locales/pt.d.ts +1 -1
  48. package/dist/esm/types/_locales/ro.d.ts +1 -1
  49. package/dist/esm/types/_locales/ru.d.ts +1 -1
  50. package/dist/esm/types/_locales/sk.d.ts +1 -1
  51. package/dist/esm/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  52. package/dist/esm/types/_locales/sr-Latn-RS.d.ts +1 -1
  53. package/dist/esm/types/_locales/sv.d.ts +1 -1
  54. package/dist/esm/types/_locales/tr.d.ts +1 -1
  55. package/dist/esm/types/_locales/uk.d.ts +1 -1
  56. package/dist/esm/types/_locales/vi.d.ts +1 -1
  57. package/dist/esm/types/_locales/zh-Hans.d.ts +1 -1
  58. package/dist/esm/types/_locales/zh-Hant.d.ts +1 -1
  59. package/dist/index.d.ts +3 -4
  60. package/locales/cs.d.ts +1 -1
  61. package/locales/cs.esm.d.ts +1 -1
  62. package/locales/da.d.ts +1 -1
  63. package/locales/da.esm.d.ts +1 -1
  64. package/locales/de.d.ts +1 -1
  65. package/locales/de.esm.d.ts +1 -1
  66. package/locales/en.d.ts +1 -1
  67. package/locales/en.esm.d.ts +1 -1
  68. package/locales/es.d.ts +1 -1
  69. package/locales/es.esm.d.ts +1 -1
  70. package/locales/fa.d.ts +1 -1
  71. package/locales/fa.esm.d.ts +1 -1
  72. package/locales/fi.d.ts +1 -1
  73. package/locales/fi.esm.d.ts +1 -1
  74. package/locales/fr.d.ts +1 -1
  75. package/locales/fr.esm.d.ts +1 -1
  76. package/locales/hu.d.ts +1 -1
  77. package/locales/hu.esm.d.ts +1 -1
  78. package/locales/id.d.ts +1 -1
  79. package/locales/id.esm.d.ts +1 -1
  80. package/locales/it.d.ts +1 -1
  81. package/locales/it.esm.d.ts +1 -1
  82. package/locales/ja.d.ts +1 -1
  83. package/locales/ja.esm.d.ts +1 -1
  84. package/locales/nl.d.ts +1 -1
  85. package/locales/nl.esm.d.ts +1 -1
  86. package/locales/pl.d.ts +1 -1
  87. package/locales/pl.esm.d.ts +1 -1
  88. package/locales/pt-BR.d.ts +1 -1
  89. package/locales/pt-BR.esm.d.ts +1 -1
  90. package/locales/pt.d.ts +1 -1
  91. package/locales/pt.esm.d.ts +1 -1
  92. package/locales/ro.d.ts +1 -1
  93. package/locales/ro.esm.d.ts +1 -1
  94. package/locales/ru.d.ts +1 -1
  95. package/locales/ru.esm.d.ts +1 -1
  96. package/locales/sk.d.ts +1 -1
  97. package/locales/sk.esm.d.ts +1 -1
  98. package/locales/sr-Cyrl-RS.d.ts +1 -1
  99. package/locales/sr-Cyrl-RS.esm.d.ts +1 -1
  100. package/locales/sr-Latn-RS.d.ts +1 -1
  101. package/locales/sr-Latn-RS.esm.d.ts +1 -1
  102. package/locales/sv.d.ts +1 -1
  103. package/locales/sv.esm.d.ts +1 -1
  104. package/locales/tr.d.ts +1 -1
  105. package/locales/tr.esm.d.ts +1 -1
  106. package/locales/uk.d.ts +1 -1
  107. package/locales/uk.esm.d.ts +1 -1
  108. package/locales/vi.d.ts +1 -1
  109. package/locales/vi.esm.d.ts +1 -1
  110. package/locales/zh-Hans.d.ts +1 -1
  111. package/locales/zh-Hans.esm.d.ts +1 -1
  112. package/locales/zh-Hant.d.ts +1 -1
  113. package/locales/zh-Hant.esm.d.ts +1 -1
  114. package/package.json +2 -2
  115. package/src/_locales/cs.ts +1 -1
  116. package/src/_locales/da.ts +1 -1
  117. package/src/_locales/de.ts +1 -1
  118. package/src/_locales/en.ts +1 -1
  119. package/src/_locales/es.ts +1 -1
  120. package/src/_locales/fa.ts +1 -1
  121. package/src/_locales/fi.ts +1 -1
  122. package/src/_locales/fr.ts +1 -1
  123. package/src/_locales/hu.ts +1 -1
  124. package/src/_locales/id.ts +1 -1
  125. package/src/_locales/it.ts +1 -1
  126. package/src/_locales/ja.ts +1 -1
  127. package/src/_locales/nl.ts +1 -1
  128. package/src/_locales/pl.ts +1 -1
  129. package/src/_locales/pt-BR.ts +1 -1
  130. package/src/_locales/pt.ts +1 -1
  131. package/src/_locales/ro.ts +1 -1
  132. package/src/_locales/ru.ts +1 -1
  133. package/src/_locales/sk.ts +1 -1
  134. package/src/_locales/sr-Cyrl-RS.ts +1 -1
  135. package/src/_locales/sr-Latn-RS.ts +1 -1
  136. package/src/_locales/sv.ts +1 -1
  137. package/src/_locales/tr.ts +1 -1
  138. package/src/_locales/uk.ts +1 -1
  139. package/src/_locales/vi.ts +1 -1
  140. package/src/_locales/zh-Hans.ts +1 -1
  141. package/src/_locales/zh-Hant.ts +1 -1
  142. package/src/column.utils.ts +1 -1
  143. package/src/filterFns.ts +5 -1
  144. package/src/footer/MRT_TableFooterRow.tsx +5 -1
  145. package/src/head/MRT_TableHeadRow.tsx +5 -1
  146. package/src/inputs/MRT_EditCellTextField.tsx +6 -1
  147. package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +7 -1
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_CS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_DA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_DE: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_EN: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_ES: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_FA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_FI: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_FR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_HU: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_ID: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_IT: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_JA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_NL: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_PL: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_PT_BR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_PT: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_RO: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_RU: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_SK: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_SV: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_TR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_UK: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_VI: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_ZH_HANS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { type MRT_Localization } from '../types';
1
+ import { type MRT_Localization } from '..';
2
2
  export declare const MRT_Localization_ZH_HANT: MRT_Localization;
@@ -76,19 +76,19 @@ import DialogContent from '@mui/material/DialogContent';
76
76
  import DialogTitle from '@mui/material/DialogTitle';
77
77
  import Stack from '@mui/material/Stack';
78
78
 
79
- /******************************************************************************
80
- Copyright (c) Microsoft Corporation.
81
-
82
- Permission to use, copy, modify, and/or distribute this software for any
83
- purpose with or without fee is hereby granted.
84
-
85
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
86
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
87
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
88
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
89
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
90
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
91
- PERFORMANCE OF THIS SOFTWARE.
79
+ /******************************************************************************
80
+ Copyright (c) Microsoft Corporation.
81
+
82
+ Permission to use, copy, modify, and/or distribute this software for any
83
+ purpose with or without fee is hereby granted.
84
+
85
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
86
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
87
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
88
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
89
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
90
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
91
+ PERFORMANCE OF THIS SOFTWARE.
92
92
  ***************************************************************************** */
93
93
  function __rest(s, e) {
94
94
  var t = {};
@@ -2942,5 +2942,11 @@ const MaterialReactTable = (_a) => {
2942
2942
  return (jsx(MRT_TableRoot, Object.assign({ aggregationFns: _aggregationFns, autoResetExpanded: autoResetExpanded, columnResizeMode: columnResizeMode, defaultColumn: _defaultColumn, defaultDisplayColumn: _defaultDisplayColumn, editingMode: editingMode, enableBottomToolbar: enableBottomToolbar, enableColumnActions: enableColumnActions, enableColumnFilters: enableColumnFilters, enableColumnOrdering: enableColumnOrdering, enableColumnResizing: enableColumnResizing, enableDensityToggle: enableDensityToggle, enableExpandAll: enableExpandAll, enableFilterMatchHighlighting: enableFilterMatchHighlighting, enableFilters: enableFilters, enableFullScreenToggle: enableFullScreenToggle, enableGlobalFilter: enableGlobalFilter, enableGlobalFilterRankedResults: enableGlobalFilterRankedResults, enableGrouping: enableGrouping, enableHiding: enableHiding, enableMultiRowSelection: enableMultiRowSelection, enableMultiSort: enableMultiSort, enablePagination: enablePagination, enablePinning: enablePinning, enableRowSelection: enableRowSelection, enableSelectAll: enableSelectAll, enableSorting: enableSorting, enableStickyHeader: enableStickyHeader, enableTableFooter: enableTableFooter, enableTableHead: enableTableHead, enableToolbarInternalActions: enableToolbarInternalActions, enableTopToolbar: enableTopToolbar, filterFns: _filterFns, icons: _icons, layoutMode: layoutMode, localization: _localization, manualFiltering: manualFiltering, manualGrouping: manualGrouping, manualPagination: manualPagination, manualSorting: manualSorting, positionActionsColumn: positionActionsColumn, positionExpandColumn: positionExpandColumn, positionGlobalFilter: positionGlobalFilter, positionPagination: positionPagination, positionToolbarAlertBanner: positionToolbarAlertBanner, positionToolbarDropZone: positionToolbarDropZone, rowNumberMode: rowNumberMode, selectAllMode: selectAllMode, sortingFns: _sortingFns }, rest)));
2943
2943
  };
2944
2944
 
2945
- export { MRT_AggregationFns, MRT_BottomToolbar, MRT_CopyButton, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFns, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_ShowHideColumnsButton, MRT_SortingFns, MRT_TableHeadCellFilterContainer, MRT_TablePagination, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable, MaterialReactTable as default };
2945
+ export { MRT_AggregationFns, MRT_BottomToolbar, MRT_CopyButton, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFns, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_ShowHideColumnsButton, MRT_SortingFns, MRT_TableHeadCellFilterContainer, MRT_TablePagination, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable };
2946
2946
  //# sourceMappingURL=material-react-table.esm.js.map
2947
+
2948
+ /**
2949
+ * @deprecated Use `import { MaterialReactTable } from 'material-react-table';` instead
2950
+ */
2951
+ const _defaultExport = MaterialReactTable;
2952
+ export { _defaultExport as default };