material-react-table 2.0.0-beta.5 → 2.0.0-beta.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/dist/cjs/index.js +533 -538
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/material-react-table.esm.js +534 -539
  4. package/dist/esm/material-react-table.esm.js.map +1 -1
  5. package/dist/index.d.ts +18 -17
  6. package/locales/ar/index.d.ts +1 -1
  7. package/locales/ar/index.esm.d.ts +1 -1
  8. package/locales/ar/package.json +9 -1
  9. package/locales/az/index.d.ts +1 -1
  10. package/locales/az/index.esm.d.ts +1 -1
  11. package/locales/az/package.json +9 -1
  12. package/locales/bg/index.d.ts +1 -1
  13. package/locales/bg/index.esm.d.ts +1 -1
  14. package/locales/bg/package.json +9 -1
  15. package/locales/cs/index.d.ts +1 -1
  16. package/locales/cs/index.esm.d.ts +1 -1
  17. package/locales/cs/package.json +9 -1
  18. package/locales/da/index.d.ts +1 -1
  19. package/locales/da/index.esm.d.ts +1 -1
  20. package/locales/da/package.json +9 -1
  21. package/locales/de/index.d.ts +1 -1
  22. package/locales/de/index.esm.d.ts +1 -1
  23. package/locales/de/package.json +9 -1
  24. package/locales/en/index.d.ts +1 -1
  25. package/locales/en/index.esm.d.ts +1 -1
  26. package/locales/en/package.json +9 -1
  27. package/locales/es/index.d.ts +1 -1
  28. package/locales/es/index.esm.d.ts +1 -1
  29. package/locales/es/package.json +9 -1
  30. package/locales/et/index.d.ts +1 -1
  31. package/locales/et/index.esm.d.ts +1 -1
  32. package/locales/et/package.json +9 -1
  33. package/locales/fa/index.d.ts +1 -1
  34. package/locales/fa/index.esm.d.ts +1 -1
  35. package/locales/fa/package.json +9 -1
  36. package/locales/fi/index.d.ts +1 -1
  37. package/locales/fi/index.esm.d.ts +1 -1
  38. package/locales/fi/package.json +9 -1
  39. package/locales/fr/index.d.ts +1 -1
  40. package/locales/fr/index.esm.d.ts +1 -1
  41. package/locales/fr/package.json +9 -1
  42. package/locales/hu/index.d.ts +1 -1
  43. package/locales/hu/index.esm.d.ts +1 -1
  44. package/locales/hu/package.json +9 -1
  45. package/locales/hy/index.d.ts +1 -1
  46. package/locales/hy/index.esm.d.ts +1 -1
  47. package/locales/hy/package.json +9 -1
  48. package/locales/id/index.d.ts +1 -1
  49. package/locales/id/index.esm.d.ts +1 -1
  50. package/locales/id/package.json +9 -1
  51. package/locales/it/index.d.ts +1 -1
  52. package/locales/it/index.esm.d.ts +1 -1
  53. package/locales/it/package.json +9 -1
  54. package/locales/ja/index.d.ts +1 -1
  55. package/locales/ja/index.esm.d.ts +1 -1
  56. package/locales/ja/package.json +9 -1
  57. package/locales/ko/index.d.ts +1 -1
  58. package/locales/ko/index.esm.d.ts +1 -1
  59. package/locales/ko/package.json +9 -1
  60. package/locales/nl/index.d.ts +1 -1
  61. package/locales/nl/index.esm.d.ts +1 -1
  62. package/locales/nl/package.json +9 -1
  63. package/locales/no/index.d.ts +1 -1
  64. package/locales/no/index.esm.d.ts +1 -1
  65. package/locales/no/package.json +9 -1
  66. package/locales/np/index.d.ts +1 -1
  67. package/locales/np/index.esm.d.ts +1 -1
  68. package/locales/np/package.json +9 -1
  69. package/locales/pl/index.d.ts +1 -1
  70. package/locales/pl/index.esm.d.ts +1 -1
  71. package/locales/pl/package.json +9 -1
  72. package/locales/pt/index.d.ts +1 -1
  73. package/locales/pt/index.esm.d.ts +1 -1
  74. package/locales/pt/package.json +9 -1
  75. package/locales/pt-BR/index.d.ts +1 -1
  76. package/locales/pt-BR/index.esm.d.ts +1 -1
  77. package/locales/pt-BR/package.json +9 -1
  78. package/locales/ro/index.d.ts +1 -1
  79. package/locales/ro/index.esm.d.ts +1 -1
  80. package/locales/ro/package.json +9 -1
  81. package/locales/ru/index.d.ts +1 -1
  82. package/locales/ru/index.esm.d.ts +1 -1
  83. package/locales/ru/package.json +9 -1
  84. package/locales/sk/index.d.ts +1 -1
  85. package/locales/sk/index.esm.d.ts +1 -1
  86. package/locales/sk/package.json +9 -1
  87. package/locales/sr-Cyrl-RS/index.d.ts +1 -1
  88. package/locales/sr-Cyrl-RS/index.esm.d.ts +1 -1
  89. package/locales/sr-Cyrl-RS/package.json +9 -1
  90. package/locales/sr-Latn-RS/index.d.ts +1 -1
  91. package/locales/sr-Latn-RS/index.esm.d.ts +1 -1
  92. package/locales/sr-Latn-RS/package.json +9 -1
  93. package/locales/sv/index.d.ts +1 -1
  94. package/locales/sv/index.esm.d.ts +1 -1
  95. package/locales/sv/package.json +9 -1
  96. package/locales/tr/index.d.ts +1 -1
  97. package/locales/tr/index.esm.d.ts +1 -1
  98. package/locales/tr/package.json +9 -1
  99. package/locales/uk/index.d.ts +1 -1
  100. package/locales/uk/index.esm.d.ts +1 -1
  101. package/locales/uk/package.json +9 -1
  102. package/locales/vi/index.d.ts +1 -1
  103. package/locales/vi/index.esm.d.ts +1 -1
  104. package/locales/vi/package.json +9 -1
  105. package/locales/zh-Hans/index.d.ts +1 -1
  106. package/locales/zh-Hans/index.esm.d.ts +1 -1
  107. package/locales/zh-Hans/package.json +9 -1
  108. package/locales/zh-Hant/index.d.ts +1 -1
  109. package/locales/zh-Hant/index.esm.d.ts +1 -1
  110. package/locales/zh-Hant/package.json +9 -1
  111. package/package.json +1 -1
  112. package/src/body/MRT_TableBodyCell.tsx +2 -2
  113. package/src/body/MRT_TableBodyRow.tsx +3 -1
  114. package/src/column.utils.ts +4 -4
  115. package/src/head/MRT_TableHeadCellResizeHandle.tsx +1 -1
  116. package/src/hooks/useMRT_DisplayColumns.tsx +9 -7
  117. package/src/hooks/useMRT_TableOptions.ts +2 -2
  118. package/src/inputs/MRT_EditCellTextField.tsx +0 -4
  119. package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +2 -0
  120. package/src/modals/MRT_EditRowModal.tsx +6 -6
  121. package/src/style.utils.ts +1 -1
  122. package/src/table/MRT_TablePaper.tsx +2 -0
  123. package/src/types.ts +17 -13
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NL: MRT_Localization;
2
+ export declare const MRT_Localization_NL: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NL: MRT_Localization;
2
+ export declare const MRT_Localization_NL: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NO: MRT_Localization;
2
+ export declare const MRT_Localization_NO: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NO: MRT_Localization;
2
+ export declare const MRT_Localization_NO: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NP: MRT_Localization;
2
+ export declare const MRT_Localization_NP: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_NP: MRT_Localization;
2
+ export declare const MRT_Localization_NP: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PL: MRT_Localization;
2
+ export declare const MRT_Localization_PL: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PL: MRT_Localization;
2
+ export declare const MRT_Localization_PL: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PT: MRT_Localization;
2
+ export declare const MRT_Localization_PT: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PT: MRT_Localization;
2
+ export declare const MRT_Localization_PT: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PT_BR: MRT_Localization;
2
+ export declare const MRT_Localization_PT_BR: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_PT_BR: MRT_Localization;
2
+ export declare const MRT_Localization_PT_BR: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_RO: MRT_Localization;
2
+ export declare const MRT_Localization_RO: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_RO: MRT_Localization;
2
+ export declare const MRT_Localization_RO: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_RU: MRT_Localization;
2
+ export declare const MRT_Localization_RU: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_RU: MRT_Localization;
2
+ export declare const MRT_Localization_RU: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SK: MRT_Localization;
2
+ export declare const MRT_Localization_SK: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SK: MRT_Localization;
2
+ export declare const MRT_Localization_SK: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
2
+ export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
2
+ export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
2
+ export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
2
+ export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SV: MRT_Localization;
2
+ export declare const MRT_Localization_SV: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_SV: MRT_Localization;
2
+ export declare const MRT_Localization_SV: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_TR: MRT_Localization;
2
+ export declare const MRT_Localization_TR: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_TR: MRT_Localization;
2
+ export declare const MRT_Localization_TR: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_UK: MRT_Localization;
2
+ export declare const MRT_Localization_UK: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_UK: MRT_Localization;
2
+ export declare const MRT_Localization_UK: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_VI: MRT_Localization;
2
+ export declare const MRT_Localization_VI: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_VI: MRT_Localization;
2
+ export declare const MRT_Localization_VI: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_ZH_HANS: MRT_Localization;
2
+ export declare const MRT_Localization_ZH_HANS: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_ZH_HANS: MRT_Localization;
2
+ export declare const MRT_Localization_ZH_HANS: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_ZH_HANT: MRT_Localization;
2
+ export declare const MRT_Localization_ZH_HANT: MRT_Localization;
3
3
 
@@ -1,3 +1,3 @@
1
1
  import { type MRT_Localization } from '../..';
2
- export declare const MRT_Localization_ZH_HANT: MRT_Localization;
2
+ export declare const MRT_Localization_ZH_HANT: MRT_Localization;
3
3
 
@@ -2,5 +2,13 @@
2
2
  "main": "./index.js",
3
3
  "module": "./index.esm.js",
4
4
  "sideEffects": false,
5
- "types": "./index.d.ts"
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.esm.js",
10
+ "require": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ }
6
14
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-beta.5",
2
+ "version": "2.0.0-beta.7",
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.",
@@ -244,7 +244,8 @@ export const MRT_TableBodyCell = <TData extends MRT_RowData>({
244
244
  : columnDefType === 'display'
245
245
  ? '1rem 1.25rem'
246
246
  : '1.5rem',
247
- pl:
247
+ textOverflow: columnDefType !== 'display' ? 'ellipsis' : undefined,
248
+ [theme.direction === 'rtl' ? 'pr' : 'pl']:
248
249
  column.id === 'mrt-row-expand'
249
250
  ? `${
250
251
  row.depth +
@@ -255,7 +256,6 @@ export const MRT_TableBodyCell = <TData extends MRT_RowData>({
255
256
  : 1.25)
256
257
  }rem`
257
258
  : undefined,
258
- textOverflow: columnDefType !== 'display' ? 'ellipsis' : undefined,
259
259
  whiteSpace:
260
260
  row.getIsPinned() || density === 'compact' ? 'nowrap' : 'normal',
261
261
  zIndex:
@@ -123,12 +123,14 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
123
123
  baseBackgroundColor,
124
124
  pinnedRowBackgroundColor,
125
125
  selectedRowBackgroundColor,
126
- } = getMRTTheme(table, theme)
126
+ } = getMRTTheme(table, theme);
127
127
 
128
128
  return (
129
129
  <>
130
130
  <TableRow
131
131
  data-index={virtualRow?.index}
132
+ data-pinned={!!isPinned || undefined}
133
+ data-selected={row.getIsSelected() || undefined}
132
134
  onDragEnter={handleDragEnter}
133
135
  ref={(node: HTMLTableRowElement) => {
134
136
  if (node) {
@@ -316,17 +316,17 @@ export const extraIndexRangeExtractor = (
316
316
  range: Range,
317
317
  draggingIndex: number,
318
318
  ) => {
319
- const newIndexs = defaultRangeExtractor(range);
319
+ const newIndexes = defaultRangeExtractor(range);
320
320
  if (
321
321
  draggingIndex >= 0 &&
322
322
  draggingIndex < Math.max(range.startIndex - range.overscan, 0)
323
323
  ) {
324
- newIndexs.unshift(draggingIndex);
324
+ newIndexes.unshift(draggingIndex);
325
325
  }
326
326
  if (draggingIndex >= 0 && draggingIndex > range.endIndex + range.overscan) {
327
- newIndexs.push(draggingIndex);
327
+ newIndexes.push(draggingIndex);
328
328
  }
329
- return newIndexs;
329
+ return newIndexes;
330
330
  };
331
331
 
332
332
  export function createMRTColumnHelper<
@@ -57,7 +57,7 @@ export const MRT_TableHeadCellResizeHandle = <TData extends MRT_RowData>({
57
57
  : '-28px',
58
58
  position: 'absolute',
59
59
  px: '4px',
60
- right: '0',
60
+ right: column.columnDef.columnDefType === 'display' ? '4px' : '0',
61
61
  })}
62
62
  >
63
63
  <Divider