@lminii/material-react-table 4.0.0

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 (349) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +234 -0
  3. package/dist/index.d.mts +2408 -0
  4. package/dist/index.d.ts +2408 -0
  5. package/dist/index.js +4825 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.mjs +4631 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/locales/ar/index.d.mts +3 -0
  10. package/locales/ar/index.d.ts +3 -0
  11. package/locales/ar/index.js +100 -0
  12. package/locales/ar/index.mjs +96 -0
  13. package/locales/ar/package.json +6 -0
  14. package/locales/az/index.d.mts +3 -0
  15. package/locales/az/index.d.ts +3 -0
  16. package/locales/az/index.js +100 -0
  17. package/locales/az/index.mjs +96 -0
  18. package/locales/az/package.json +6 -0
  19. package/locales/bg/index.d.mts +3 -0
  20. package/locales/bg/index.d.ts +3 -0
  21. package/locales/bg/index.js +100 -0
  22. package/locales/bg/index.mjs +96 -0
  23. package/locales/bg/package.json +6 -0
  24. package/locales/cs/index.d.mts +3 -0
  25. package/locales/cs/index.d.ts +3 -0
  26. package/locales/cs/index.js +100 -0
  27. package/locales/cs/index.mjs +96 -0
  28. package/locales/cs/package.json +6 -0
  29. package/locales/da/index.d.mts +3 -0
  30. package/locales/da/index.d.ts +3 -0
  31. package/locales/da/index.js +100 -0
  32. package/locales/da/index.mjs +96 -0
  33. package/locales/da/package.json +6 -0
  34. package/locales/de/index.d.mts +3 -0
  35. package/locales/de/index.d.ts +3 -0
  36. package/locales/de/index.js +100 -0
  37. package/locales/de/index.mjs +96 -0
  38. package/locales/de/package.json +6 -0
  39. package/locales/el/index.d.mts +3 -0
  40. package/locales/el/index.d.ts +3 -0
  41. package/locales/el/index.js +100 -0
  42. package/locales/el/index.mjs +96 -0
  43. package/locales/el/package.json +6 -0
  44. package/locales/en/index.d.mts +3 -0
  45. package/locales/en/index.d.ts +3 -0
  46. package/locales/en/index.js +100 -0
  47. package/locales/en/index.mjs +96 -0
  48. package/locales/en/package.json +6 -0
  49. package/locales/es/index.d.mts +3 -0
  50. package/locales/es/index.d.ts +3 -0
  51. package/locales/es/index.js +100 -0
  52. package/locales/es/index.mjs +96 -0
  53. package/locales/es/package.json +6 -0
  54. package/locales/et/index.d.mts +3 -0
  55. package/locales/et/index.d.ts +3 -0
  56. package/locales/et/index.js +100 -0
  57. package/locales/et/index.mjs +96 -0
  58. package/locales/et/package.json +6 -0
  59. package/locales/fa/index.d.mts +3 -0
  60. package/locales/fa/index.d.ts +3 -0
  61. package/locales/fa/index.js +100 -0
  62. package/locales/fa/index.mjs +96 -0
  63. package/locales/fa/package.json +6 -0
  64. package/locales/fi/index.d.mts +3 -0
  65. package/locales/fi/index.d.ts +3 -0
  66. package/locales/fi/index.js +100 -0
  67. package/locales/fi/index.mjs +96 -0
  68. package/locales/fi/package.json +6 -0
  69. package/locales/fr/index.d.mts +3 -0
  70. package/locales/fr/index.d.ts +3 -0
  71. package/locales/fr/index.js +100 -0
  72. package/locales/fr/index.mjs +96 -0
  73. package/locales/fr/package.json +6 -0
  74. package/locales/he/index.d.mts +3 -0
  75. package/locales/he/index.d.ts +3 -0
  76. package/locales/he/index.js +100 -0
  77. package/locales/he/index.mjs +96 -0
  78. package/locales/he/package.json +6 -0
  79. package/locales/hr/index.d.mts +3 -0
  80. package/locales/hr/index.d.ts +3 -0
  81. package/locales/hr/index.js +100 -0
  82. package/locales/hr/index.mjs +96 -0
  83. package/locales/hr/package.json +6 -0
  84. package/locales/hu/index.d.mts +3 -0
  85. package/locales/hu/index.d.ts +3 -0
  86. package/locales/hu/index.js +100 -0
  87. package/locales/hu/index.mjs +96 -0
  88. package/locales/hu/package.json +6 -0
  89. package/locales/hy/index.d.mts +3 -0
  90. package/locales/hy/index.d.ts +3 -0
  91. package/locales/hy/index.js +100 -0
  92. package/locales/hy/index.mjs +96 -0
  93. package/locales/hy/package.json +6 -0
  94. package/locales/id/index.d.mts +3 -0
  95. package/locales/id/index.d.ts +3 -0
  96. package/locales/id/index.js +100 -0
  97. package/locales/id/index.mjs +96 -0
  98. package/locales/id/package.json +6 -0
  99. package/locales/it/index.d.mts +3 -0
  100. package/locales/it/index.d.ts +3 -0
  101. package/locales/it/index.js +100 -0
  102. package/locales/it/index.mjs +96 -0
  103. package/locales/it/package.json +6 -0
  104. package/locales/ja/index.d.mts +3 -0
  105. package/locales/ja/index.d.ts +3 -0
  106. package/locales/ja/index.js +100 -0
  107. package/locales/ja/index.mjs +96 -0
  108. package/locales/ja/package.json +6 -0
  109. package/locales/ko/index.d.mts +3 -0
  110. package/locales/ko/index.d.ts +3 -0
  111. package/locales/ko/index.js +100 -0
  112. package/locales/ko/index.mjs +96 -0
  113. package/locales/ko/package.json +6 -0
  114. package/locales/nl/index.d.mts +3 -0
  115. package/locales/nl/index.d.ts +3 -0
  116. package/locales/nl/index.js +100 -0
  117. package/locales/nl/index.mjs +96 -0
  118. package/locales/nl/package.json +6 -0
  119. package/locales/no/index.d.mts +3 -0
  120. package/locales/no/index.d.ts +3 -0
  121. package/locales/no/index.js +100 -0
  122. package/locales/no/index.mjs +96 -0
  123. package/locales/no/package.json +6 -0
  124. package/locales/np/index.d.mts +3 -0
  125. package/locales/np/index.d.ts +3 -0
  126. package/locales/np/index.js +100 -0
  127. package/locales/np/index.mjs +96 -0
  128. package/locales/np/package.json +6 -0
  129. package/locales/pl/index.d.mts +3 -0
  130. package/locales/pl/index.d.ts +3 -0
  131. package/locales/pl/index.js +100 -0
  132. package/locales/pl/index.mjs +96 -0
  133. package/locales/pl/package.json +6 -0
  134. package/locales/pt/index.d.mts +3 -0
  135. package/locales/pt/index.d.ts +3 -0
  136. package/locales/pt/index.js +100 -0
  137. package/locales/pt/index.mjs +96 -0
  138. package/locales/pt/package.json +6 -0
  139. package/locales/pt-BR/index.d.mts +3 -0
  140. package/locales/pt-BR/index.d.ts +3 -0
  141. package/locales/pt-BR/index.js +100 -0
  142. package/locales/pt-BR/index.mjs +96 -0
  143. package/locales/pt-BR/package.json +6 -0
  144. package/locales/ro/index.d.mts +3 -0
  145. package/locales/ro/index.d.ts +3 -0
  146. package/locales/ro/index.js +100 -0
  147. package/locales/ro/index.mjs +96 -0
  148. package/locales/ro/package.json +6 -0
  149. package/locales/ru/index.d.mts +3 -0
  150. package/locales/ru/index.d.ts +3 -0
  151. package/locales/ru/index.js +100 -0
  152. package/locales/ru/index.mjs +96 -0
  153. package/locales/ru/package.json +6 -0
  154. package/locales/sk/index.d.mts +3 -0
  155. package/locales/sk/index.d.ts +3 -0
  156. package/locales/sk/index.js +100 -0
  157. package/locales/sk/index.mjs +96 -0
  158. package/locales/sk/package.json +6 -0
  159. package/locales/sr-Cyrl-RS/index.d.mts +3 -0
  160. package/locales/sr-Cyrl-RS/index.d.ts +3 -0
  161. package/locales/sr-Cyrl-RS/index.js +100 -0
  162. package/locales/sr-Cyrl-RS/index.mjs +96 -0
  163. package/locales/sr-Cyrl-RS/package.json +6 -0
  164. package/locales/sr-Latn-RS/index.d.mts +3 -0
  165. package/locales/sr-Latn-RS/index.d.ts +3 -0
  166. package/locales/sr-Latn-RS/index.js +100 -0
  167. package/locales/sr-Latn-RS/index.mjs +96 -0
  168. package/locales/sr-Latn-RS/package.json +6 -0
  169. package/locales/sv/index.d.mts +3 -0
  170. package/locales/sv/index.d.ts +3 -0
  171. package/locales/sv/index.js +100 -0
  172. package/locales/sv/index.mjs +96 -0
  173. package/locales/sv/package.json +6 -0
  174. package/locales/tr/index.d.mts +3 -0
  175. package/locales/tr/index.d.ts +3 -0
  176. package/locales/tr/index.js +100 -0
  177. package/locales/tr/index.mjs +96 -0
  178. package/locales/tr/package.json +6 -0
  179. package/locales/uk/index.d.mts +3 -0
  180. package/locales/uk/index.d.ts +3 -0
  181. package/locales/uk/index.js +100 -0
  182. package/locales/uk/index.mjs +96 -0
  183. package/locales/uk/package.json +6 -0
  184. package/locales/vi/index.d.mts +3 -0
  185. package/locales/vi/index.d.ts +3 -0
  186. package/locales/vi/index.js +100 -0
  187. package/locales/vi/index.mjs +96 -0
  188. package/locales/vi/package.json +6 -0
  189. package/locales/zh-Hans/index.d.mts +3 -0
  190. package/locales/zh-Hans/index.d.ts +3 -0
  191. package/locales/zh-Hans/index.js +100 -0
  192. package/locales/zh-Hans/index.mjs +96 -0
  193. package/locales/zh-Hans/package.json +6 -0
  194. package/locales/zh-Hant/index.d.mts +3 -0
  195. package/locales/zh-Hant/index.d.ts +3 -0
  196. package/locales/zh-Hant/index.js +100 -0
  197. package/locales/zh-Hant/index.mjs +96 -0
  198. package/locales/zh-Hant/package.json +6 -0
  199. package/package.json +147 -0
  200. package/skills/README.md +81 -0
  201. package/skills/composable-components/SKILL.md +189 -0
  202. package/skills/customization/SKILL.md +190 -0
  203. package/skills/drag-and-drop-ordering/SKILL.md +227 -0
  204. package/skills/editing/SKILL.md +243 -0
  205. package/skills/filtering/SKILL.md +213 -0
  206. package/skills/getting-started/SKILL.md +213 -0
  207. package/skills/localization/SKILL.md +182 -0
  208. package/skills/migrate-v3-to-v4/SKILL.md +161 -0
  209. package/skills/state-and-server-data/SKILL.md +200 -0
  210. package/skills/virtualization/SKILL.md +203 -0
  211. package/src/components/MaterialReactTable.tsx +36 -0
  212. package/src/components/body/MRT_TableBody.tsx +221 -0
  213. package/src/components/body/MRT_TableBodyCell.tsx +351 -0
  214. package/src/components/body/MRT_TableBodyCellValue.tsx +130 -0
  215. package/src/components/body/MRT_TableBodyRow.tsx +288 -0
  216. package/src/components/body/MRT_TableBodyRowGrabHandle.tsx +61 -0
  217. package/src/components/body/MRT_TableBodyRowPinButton.tsx +58 -0
  218. package/src/components/body/MRT_TableDetailPanel.tsx +110 -0
  219. package/src/components/buttons/MRT_ColumnPinningButtons.tsx +72 -0
  220. package/src/components/buttons/MRT_CopyButton.tsx +87 -0
  221. package/src/components/buttons/MRT_EditActionButtons.tsx +134 -0
  222. package/src/components/buttons/MRT_ExpandAllButton.tsx +78 -0
  223. package/src/components/buttons/MRT_ExpandButton.tsx +102 -0
  224. package/src/components/buttons/MRT_GrabHandleButton.tsx +65 -0
  225. package/src/components/buttons/MRT_RowPinButton.tsx +84 -0
  226. package/src/components/buttons/MRT_ShowHideColumnsButton.tsx +50 -0
  227. package/src/components/buttons/MRT_ToggleDensePaddingButton.tsx +52 -0
  228. package/src/components/buttons/MRT_ToggleFiltersButton.tsx +40 -0
  229. package/src/components/buttons/MRT_ToggleFullScreenButton.tsx +51 -0
  230. package/src/components/buttons/MRT_ToggleGlobalFilterButton.tsx +46 -0
  231. package/src/components/buttons/MRT_ToggleRowActionMenuButton.tsx +126 -0
  232. package/src/components/footer/MRT_TableFooter.tsx +88 -0
  233. package/src/components/footer/MRT_TableFooterCell.tsx +107 -0
  234. package/src/components/footer/MRT_TableFooterRow.tsx +95 -0
  235. package/src/components/head/MRT_TableHead.tsx +91 -0
  236. package/src/components/head/MRT_TableHeadCell.tsx +351 -0
  237. package/src/components/head/MRT_TableHeadCellColumnActionsButton.tsx +96 -0
  238. package/src/components/head/MRT_TableHeadCellFilterContainer.tsx +52 -0
  239. package/src/components/head/MRT_TableHeadCellFilterLabel.tsx +178 -0
  240. package/src/components/head/MRT_TableHeadCellGrabHandle.tsx +91 -0
  241. package/src/components/head/MRT_TableHeadCellResizeHandle.tsx +96 -0
  242. package/src/components/head/MRT_TableHeadCellSortLabel.tsx +101 -0
  243. package/src/components/head/MRT_TableHeadRow.tsx +90 -0
  244. package/src/components/inputs/MRT_EditCellTextField.tsx +202 -0
  245. package/src/components/inputs/MRT_FilterCheckbox.tsx +90 -0
  246. package/src/components/inputs/MRT_FilterRangeFields.tsx +41 -0
  247. package/src/components/inputs/MRT_FilterRangeSlider.tsx +143 -0
  248. package/src/components/inputs/MRT_FilterTextField.tsx +592 -0
  249. package/src/components/inputs/MRT_GlobalFilterTextField.tsx +167 -0
  250. package/src/components/inputs/MRT_SelectCheckbox.tsx +135 -0
  251. package/src/components/menus/MRT_ActionMenuItem.tsx +62 -0
  252. package/src/components/menus/MRT_CellActionMenu.tsx +107 -0
  253. package/src/components/menus/MRT_ColumnActionMenu.tsx +352 -0
  254. package/src/components/menus/MRT_FilterOptionMenu.tsx +292 -0
  255. package/src/components/menus/MRT_RowActionMenu.tsx +88 -0
  256. package/src/components/menus/MRT_ShowHideColumnsMenu.tsx +181 -0
  257. package/src/components/menus/MRT_ShowHideColumnsMenuItems.tsx +203 -0
  258. package/src/components/modals/MRT_EditRowModal.tsx +114 -0
  259. package/src/components/table/MRT_Table.tsx +84 -0
  260. package/src/components/table/MRT_TableContainer.tsx +111 -0
  261. package/src/components/table/MRT_TableLoadingOverlay.tsx +58 -0
  262. package/src/components/table/MRT_TablePaper.tsx +89 -0
  263. package/src/components/toolbar/MRT_BottomToolbar.tsx +111 -0
  264. package/src/components/toolbar/MRT_LinearProgressBar.tsx +53 -0
  265. package/src/components/toolbar/MRT_TablePagination.tsx +241 -0
  266. package/src/components/toolbar/MRT_ToolbarAlertBanner.tsx +184 -0
  267. package/src/components/toolbar/MRT_ToolbarDropZone.tsx +83 -0
  268. package/src/components/toolbar/MRT_ToolbarInternalButtons.tsx +72 -0
  269. package/src/components/toolbar/MRT_TopToolbar.tsx +130 -0
  270. package/src/features/mrtCellActionsFeature.ts +67 -0
  271. package/src/features/mrtColumnDraggingFeature.ts +83 -0
  272. package/src/features/mrtDensityFeature.ts +64 -0
  273. package/src/features/mrtEditingFeature.ts +102 -0
  274. package/src/features/mrtFeatures.ts +103 -0
  275. package/src/features/mrtFilterModesFeature.ts +99 -0
  276. package/src/features/mrtFnsFeature.ts +46 -0
  277. package/src/features/mrtFullScreenFeature.ts +63 -0
  278. package/src/features/mrtLoadingFeature.ts +35 -0
  279. package/src/features/mrtRefsFeature.ts +60 -0
  280. package/src/features/mrtRowDraggingFeature.ts +81 -0
  281. package/src/features/mrtStateCompatFeature.ts +43 -0
  282. package/src/features/mrtToolbarsFeature.ts +76 -0
  283. package/src/fns/aggregationFns.ts +3 -0
  284. package/src/fns/filterFns.ts +196 -0
  285. package/src/fns/sortingFns.ts +31 -0
  286. package/src/hooks/display-columns/getMRT_RowActionsColumnDef.tsx +28 -0
  287. package/src/hooks/display-columns/getMRT_RowDragColumnDef.tsx +29 -0
  288. package/src/hooks/display-columns/getMRT_RowExpandColumnDef.tsx +97 -0
  289. package/src/hooks/display-columns/getMRT_RowNumbersColumnDef.tsx +30 -0
  290. package/src/hooks/display-columns/getMRT_RowPinningColumnDef.tsx +24 -0
  291. package/src/hooks/display-columns/getMRT_RowSelectColumnDef.tsx +34 -0
  292. package/src/hooks/display-columns/getMRT_RowSpacerColumnDef.tsx +33 -0
  293. package/src/hooks/useMRT_ColumnVirtualizer.ts +124 -0
  294. package/src/hooks/useMRT_Effects.ts +108 -0
  295. package/src/hooks/useMRT_RowVirtualizer.ts +88 -0
  296. package/src/hooks/useMRT_Rows.ts +44 -0
  297. package/src/hooks/useMRT_TableInstance.ts +181 -0
  298. package/src/hooks/useMRT_TableOptions.ts +241 -0
  299. package/src/hooks/useMaterialReactTable.ts +12 -0
  300. package/src/icons.ts +73 -0
  301. package/src/index.ts +91 -0
  302. package/src/locales/ar.ts +97 -0
  303. package/src/locales/az.ts +97 -0
  304. package/src/locales/bg.ts +97 -0
  305. package/src/locales/cs.ts +98 -0
  306. package/src/locales/da.ts +97 -0
  307. package/src/locales/de.ts +97 -0
  308. package/src/locales/el.ts +97 -0
  309. package/src/locales/en.ts +97 -0
  310. package/src/locales/es.ts +97 -0
  311. package/src/locales/et.ts +98 -0
  312. package/src/locales/fa.ts +97 -0
  313. package/src/locales/fi.ts +98 -0
  314. package/src/locales/fr.ts +97 -0
  315. package/src/locales/he.ts +97 -0
  316. package/src/locales/hr.ts +97 -0
  317. package/src/locales/hu.ts +97 -0
  318. package/src/locales/hy.ts +97 -0
  319. package/src/locales/id.ts +98 -0
  320. package/src/locales/it.ts +97 -0
  321. package/src/locales/ja.ts +97 -0
  322. package/src/locales/ko.ts +97 -0
  323. package/src/locales/mk.ts +96 -0
  324. package/src/locales/nl.ts +97 -0
  325. package/src/locales/no.ts +99 -0
  326. package/src/locales/np.ts +98 -0
  327. package/src/locales/pl.ts +97 -0
  328. package/src/locales/pt-BR.ts +97 -0
  329. package/src/locales/pt.ts +97 -0
  330. package/src/locales/ro.ts +97 -0
  331. package/src/locales/ru.ts +97 -0
  332. package/src/locales/sk.ts +98 -0
  333. package/src/locales/sr-Cyrl-RS.ts +97 -0
  334. package/src/locales/sr-Latn-RS.ts +97 -0
  335. package/src/locales/sv.ts +97 -0
  336. package/src/locales/tr.ts +97 -0
  337. package/src/locales/uk.ts +97 -0
  338. package/src/locales/vi.ts +97 -0
  339. package/src/locales/zh-Hans.ts +96 -0
  340. package/src/locales/zh-Hant.ts +96 -0
  341. package/src/types.ts +1314 -0
  342. package/src/utils/cell.utils.ts +234 -0
  343. package/src/utils/column.utils.ts +204 -0
  344. package/src/utils/displayColumn.utils.ts +152 -0
  345. package/src/utils/row.utils.ts +258 -0
  346. package/src/utils/style.utils.ts +211 -0
  347. package/src/utils/tanstack.helpers.ts +64 -0
  348. package/src/utils/utils.ts +34 -0
  349. package/src/utils/virtualization.utils.ts +24 -0
@@ -0,0 +1,100 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const MRT_Localization_ZH_HANS = {
6
+ actions: '操作',
7
+ and: '与',
8
+ cancel: '取消',
9
+ changeFilterMode: '更改过滤模式',
10
+ changeSearchMode: '更改搜索模式',
11
+ clearFilter: '清除过滤',
12
+ clearSearch: '清除搜索',
13
+ clearSelection: '清除选择',
14
+ clearSort: '清除排序',
15
+ clickToCopy: '点击以复制',
16
+ collapse: '折叠',
17
+ collapseAll: '全部折叠',
18
+ columnActions: '列操作',
19
+ copiedToClipboard: '已复制至剪贴板',
20
+ copy: '复制',
21
+ dropToGroupBy: '拖放以按 {column} 分组',
22
+ edit: '编辑',
23
+ expand: '展开',
24
+ expandAll: '全部展开',
25
+ filterArrIncludes: '包括',
26
+ filterArrIncludesAll: '包括所有',
27
+ filterArrIncludesSome: '包括',
28
+ filterBetween: '介于首尾',
29
+ filterBetweenInclusive: '介于首尾之间',
30
+ filterByColumn: '以 {column} 过滤',
31
+ filterContains: '包含',
32
+ filterEmpty: '是空字串',
33
+ filterEndsWith: '结尾为',
34
+ filterEquals: '等于',
35
+ filterEqualsString: '等于',
36
+ filterFuzzy: '模糊搜索',
37
+ filterGreaterThan: '大于',
38
+ filterGreaterThanOrEqualTo: '大于等于',
39
+ filterIncludesString: '包含',
40
+ filterIncludesStringSensitive: '包含',
41
+ filteringByColumn: '以 {column} 过滤:{filterType} {filterValue}',
42
+ filterInNumberRange: '介于',
43
+ filterLessThan: '小于',
44
+ filterLessThanOrEqualTo: '小于等于',
45
+ filterMode: '过滤模式:{filterType}',
46
+ filterNotEmpty: '非空字串',
47
+ filterNotEquals: '不等于',
48
+ filterStartsWith: '开首为',
49
+ filterWeakEquals: '等于',
50
+ goToFirstPage: '到第一页',
51
+ goToLastPage: '到最后一页',
52
+ goToNextPage: '下一页',
53
+ goToPreviousPage: '上一页',
54
+ grab: '拖曳',
55
+ groupByColumn: '按 {column} 分组',
56
+ groupedBy: '分组依据 ',
57
+ hideAll: '隐藏全部',
58
+ hideColumn: '隐藏 {column} 列',
59
+ language: 'zh-Hans',
60
+ max: '最大',
61
+ min: '最小',
62
+ move: '移动',
63
+ noRecordsToDisplay: '无记录可显示',
64
+ noResultsFound: '未找到结果',
65
+ of: '/',
66
+ or: '或',
67
+ pin: '固定',
68
+ pinToLeft: '固定至左边',
69
+ pinToRight: '固定至右边',
70
+ resetColumnSize: '重置列大小',
71
+ resetOrder: '重置排序',
72
+ rowActions: '行操作',
73
+ rowNumber: '#',
74
+ rowNumbers: '行号码',
75
+ rowsPerPage: '每页行数',
76
+ save: '保存',
77
+ search: '搜索',
78
+ select: '选择',
79
+ selectedCountOfRowCountRowsSelected: '已选择行:{selectedCount}/{rowCount}',
80
+ showAll: '显示全部',
81
+ showAllColumns: '显示全部列',
82
+ showHideColumns: '显示/隐藏 列',
83
+ showHideFilters: '显示/隐藏 过滤条件',
84
+ showHideSearch: '显示/隐藏 搜索条件',
85
+ sortByColumnAsc: '按 {column} 升序排序',
86
+ sortByColumnDesc: '按 {column} 倒序排序',
87
+ sortedByColumnAsc: '已按 {column} 升序排序',
88
+ sortedByColumnDesc: '已按 {column} 倒序排序',
89
+ thenBy: ',然后以',
90
+ toggleDensity: '切换间距',
91
+ toggleFullScreen: '切换全屏',
92
+ toggleSelectAll: '切换选择全部',
93
+ toggleSelectRow: '切换选择行',
94
+ toggleVisibility: '切换可见度',
95
+ ungroupByColumn: '取消按 {column} 分组',
96
+ unpin: '取消固定',
97
+ unpinAll: '全部取消固定',
98
+ };
99
+
100
+ exports.MRT_Localization_ZH_HANS = MRT_Localization_ZH_HANS;
@@ -0,0 +1,96 @@
1
+ const MRT_Localization_ZH_HANS = {
2
+ actions: '操作',
3
+ and: '与',
4
+ cancel: '取消',
5
+ changeFilterMode: '更改过滤模式',
6
+ changeSearchMode: '更改搜索模式',
7
+ clearFilter: '清除过滤',
8
+ clearSearch: '清除搜索',
9
+ clearSelection: '清除选择',
10
+ clearSort: '清除排序',
11
+ clickToCopy: '点击以复制',
12
+ collapse: '折叠',
13
+ collapseAll: '全部折叠',
14
+ columnActions: '列操作',
15
+ copiedToClipboard: '已复制至剪贴板',
16
+ copy: '复制',
17
+ dropToGroupBy: '拖放以按 {column} 分组',
18
+ edit: '编辑',
19
+ expand: '展开',
20
+ expandAll: '全部展开',
21
+ filterArrIncludes: '包括',
22
+ filterArrIncludesAll: '包括所有',
23
+ filterArrIncludesSome: '包括',
24
+ filterBetween: '介于首尾',
25
+ filterBetweenInclusive: '介于首尾之间',
26
+ filterByColumn: '以 {column} 过滤',
27
+ filterContains: '包含',
28
+ filterEmpty: '是空字串',
29
+ filterEndsWith: '结尾为',
30
+ filterEquals: '等于',
31
+ filterEqualsString: '等于',
32
+ filterFuzzy: '模糊搜索',
33
+ filterGreaterThan: '大于',
34
+ filterGreaterThanOrEqualTo: '大于等于',
35
+ filterIncludesString: '包含',
36
+ filterIncludesStringSensitive: '包含',
37
+ filteringByColumn: '以 {column} 过滤:{filterType} {filterValue}',
38
+ filterInNumberRange: '介于',
39
+ filterLessThan: '小于',
40
+ filterLessThanOrEqualTo: '小于等于',
41
+ filterMode: '过滤模式:{filterType}',
42
+ filterNotEmpty: '非空字串',
43
+ filterNotEquals: '不等于',
44
+ filterStartsWith: '开首为',
45
+ filterWeakEquals: '等于',
46
+ goToFirstPage: '到第一页',
47
+ goToLastPage: '到最后一页',
48
+ goToNextPage: '下一页',
49
+ goToPreviousPage: '上一页',
50
+ grab: '拖曳',
51
+ groupByColumn: '按 {column} 分组',
52
+ groupedBy: '分组依据 ',
53
+ hideAll: '隐藏全部',
54
+ hideColumn: '隐藏 {column} 列',
55
+ language: 'zh-Hans',
56
+ max: '最大',
57
+ min: '最小',
58
+ move: '移动',
59
+ noRecordsToDisplay: '无记录可显示',
60
+ noResultsFound: '未找到结果',
61
+ of: '/',
62
+ or: '或',
63
+ pin: '固定',
64
+ pinToLeft: '固定至左边',
65
+ pinToRight: '固定至右边',
66
+ resetColumnSize: '重置列大小',
67
+ resetOrder: '重置排序',
68
+ rowActions: '行操作',
69
+ rowNumber: '#',
70
+ rowNumbers: '行号码',
71
+ rowsPerPage: '每页行数',
72
+ save: '保存',
73
+ search: '搜索',
74
+ select: '选择',
75
+ selectedCountOfRowCountRowsSelected: '已选择行:{selectedCount}/{rowCount}',
76
+ showAll: '显示全部',
77
+ showAllColumns: '显示全部列',
78
+ showHideColumns: '显示/隐藏 列',
79
+ showHideFilters: '显示/隐藏 过滤条件',
80
+ showHideSearch: '显示/隐藏 搜索条件',
81
+ sortByColumnAsc: '按 {column} 升序排序',
82
+ sortByColumnDesc: '按 {column} 倒序排序',
83
+ sortedByColumnAsc: '已按 {column} 升序排序',
84
+ sortedByColumnDesc: '已按 {column} 倒序排序',
85
+ thenBy: ',然后以',
86
+ toggleDensity: '切换间距',
87
+ toggleFullScreen: '切换全屏',
88
+ toggleSelectAll: '切换选择全部',
89
+ toggleSelectRow: '切换选择行',
90
+ toggleVisibility: '切换可见度',
91
+ ungroupByColumn: '取消按 {column} 分组',
92
+ unpin: '取消固定',
93
+ unpinAll: '全部取消固定',
94
+ };
95
+
96
+ export { MRT_Localization_ZH_HANS };
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "index.js",
3
+ "module": "index.mjs",
4
+ "sideEffects": false,
5
+ "types": "index.d.ts"
6
+ }
@@ -0,0 +1,3 @@
1
+ import { type MRT_Localization } from '../..';
2
+ export declare const MRT_Localization_ZH_HANT: MRT_Localization;
3
+
@@ -0,0 +1,3 @@
1
+ import { type MRT_Localization } from '../..';
2
+ export declare const MRT_Localization_ZH_HANT: MRT_Localization;
3
+
@@ -0,0 +1,100 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const MRT_Localization_ZH_HANT = {
6
+ actions: '動作',
7
+ and: '與',
8
+ cancel: '取消',
9
+ changeFilterMode: '更改過濾模式',
10
+ changeSearchMode: '更改搜尋模式',
11
+ clearFilter: '清除過濾',
12
+ clearSearch: '清除搜尋',
13
+ clearSelection: '清除選擇',
14
+ clearSort: '清除排序',
15
+ clickToCopy: '點擊以複製',
16
+ collapse: '折疊',
17
+ collapseAll: '全部折疊',
18
+ columnActions: '欄位動作',
19
+ copiedToClipboard: '已複製至剪貼簿',
20
+ copy: '複製',
21
+ dropToGroupBy: '拖放以按 {column} 分組',
22
+ edit: '編輯',
23
+ expand: '展開',
24
+ expandAll: '全部展開',
25
+ filterArrIncludes: '包括',
26
+ filterArrIncludesAll: '包括所有',
27
+ filterArrIncludesSome: '包括',
28
+ filterBetween: '介於首尾',
29
+ filterBetweenInclusive: '介於首尾之間',
30
+ filterByColumn: '以 {column} 過濾',
31
+ filterContains: '包含',
32
+ filterEmpty: '是空字串',
33
+ filterEndsWith: '結尾為',
34
+ filterEquals: '等於',
35
+ filterEqualsString: '等於',
36
+ filterFuzzy: '模糊搜索',
37
+ filterGreaterThan: '大於',
38
+ filterGreaterThanOrEqualTo: '大於等於',
39
+ filterIncludesString: '包含',
40
+ filterIncludesStringSensitive: '包含',
41
+ filteringByColumn: '正以 {column} 過濾:{filterType} {filterValue}',
42
+ filterInNumberRange: '介於',
43
+ filterLessThan: '小於',
44
+ filterLessThanOrEqualTo: '小於等於',
45
+ filterMode: '過濾模式:{filterType}',
46
+ filterNotEmpty: '非空字串',
47
+ filterNotEquals: '不等於',
48
+ filterStartsWith: '開首為',
49
+ filterWeakEquals: '等於',
50
+ goToFirstPage: '到第一頁',
51
+ goToLastPage: '到最後一頁',
52
+ goToNextPage: '下一頁',
53
+ goToPreviousPage: '上一頁',
54
+ grab: '拖曳',
55
+ groupByColumn: '按 {column} 分組',
56
+ groupedBy: '分組依據 ',
57
+ hideAll: '隱藏全部',
58
+ hideColumn: '隱藏 {column} 欄位',
59
+ language: 'zh-Hant',
60
+ max: '最大',
61
+ min: '最小',
62
+ move: '移動',
63
+ noRecordsToDisplay: '無紀錄可顯示',
64
+ noResultsFound: '未找到結果',
65
+ of: '/',
66
+ or: '或',
67
+ pin: '固定',
68
+ pinToLeft: '固定至左邊',
69
+ pinToRight: '固定至右邊',
70
+ resetColumnSize: '重置欄位大小',
71
+ resetOrder: '重置排序',
72
+ rowActions: '橫列動作',
73
+ rowNumber: '#',
74
+ rowNumbers: '橫列編號',
75
+ rowsPerPage: '每頁數量',
76
+ save: '儲存',
77
+ search: '搜尋',
78
+ select: '選擇',
79
+ selectedCountOfRowCountRowsSelected: '已選擇橫列:{selectedCount}/{rowCount}',
80
+ showAll: '顯示全部',
81
+ showAllColumns: '顯示全部欄位',
82
+ showHideColumns: '顯示/隱藏 欄位',
83
+ showHideFilters: '顯示/隱藏 過濾條件',
84
+ showHideSearch: '顯示/隱藏 搜尋條件',
85
+ sortByColumnAsc: '按 {column} 順序排序',
86
+ sortByColumnDesc: '按 {column} 倒序排序',
87
+ sortedByColumnAsc: '已按 {column} 順序排序',
88
+ sortedByColumnDesc: '已按 {column} 倒序排序',
89
+ thenBy: ',然後以',
90
+ toggleDensity: '切換密度',
91
+ toggleFullScreen: '切換全螢幕',
92
+ toggleSelectAll: '切換選擇全部',
93
+ toggleSelectRow: '切換選擇橫列',
94
+ toggleVisibility: '切換可見度',
95
+ ungroupByColumn: '取消按 {column} 分組',
96
+ unpin: '取消固定',
97
+ unpinAll: '全部取消固定',
98
+ };
99
+
100
+ exports.MRT_Localization_ZH_HANT = MRT_Localization_ZH_HANT;
@@ -0,0 +1,96 @@
1
+ const MRT_Localization_ZH_HANT = {
2
+ actions: '動作',
3
+ and: '與',
4
+ cancel: '取消',
5
+ changeFilterMode: '更改過濾模式',
6
+ changeSearchMode: '更改搜尋模式',
7
+ clearFilter: '清除過濾',
8
+ clearSearch: '清除搜尋',
9
+ clearSelection: '清除選擇',
10
+ clearSort: '清除排序',
11
+ clickToCopy: '點擊以複製',
12
+ collapse: '折疊',
13
+ collapseAll: '全部折疊',
14
+ columnActions: '欄位動作',
15
+ copiedToClipboard: '已複製至剪貼簿',
16
+ copy: '複製',
17
+ dropToGroupBy: '拖放以按 {column} 分組',
18
+ edit: '編輯',
19
+ expand: '展開',
20
+ expandAll: '全部展開',
21
+ filterArrIncludes: '包括',
22
+ filterArrIncludesAll: '包括所有',
23
+ filterArrIncludesSome: '包括',
24
+ filterBetween: '介於首尾',
25
+ filterBetweenInclusive: '介於首尾之間',
26
+ filterByColumn: '以 {column} 過濾',
27
+ filterContains: '包含',
28
+ filterEmpty: '是空字串',
29
+ filterEndsWith: '結尾為',
30
+ filterEquals: '等於',
31
+ filterEqualsString: '等於',
32
+ filterFuzzy: '模糊搜索',
33
+ filterGreaterThan: '大於',
34
+ filterGreaterThanOrEqualTo: '大於等於',
35
+ filterIncludesString: '包含',
36
+ filterIncludesStringSensitive: '包含',
37
+ filteringByColumn: '正以 {column} 過濾:{filterType} {filterValue}',
38
+ filterInNumberRange: '介於',
39
+ filterLessThan: '小於',
40
+ filterLessThanOrEqualTo: '小於等於',
41
+ filterMode: '過濾模式:{filterType}',
42
+ filterNotEmpty: '非空字串',
43
+ filterNotEquals: '不等於',
44
+ filterStartsWith: '開首為',
45
+ filterWeakEquals: '等於',
46
+ goToFirstPage: '到第一頁',
47
+ goToLastPage: '到最後一頁',
48
+ goToNextPage: '下一頁',
49
+ goToPreviousPage: '上一頁',
50
+ grab: '拖曳',
51
+ groupByColumn: '按 {column} 分組',
52
+ groupedBy: '分組依據 ',
53
+ hideAll: '隱藏全部',
54
+ hideColumn: '隱藏 {column} 欄位',
55
+ language: 'zh-Hant',
56
+ max: '最大',
57
+ min: '最小',
58
+ move: '移動',
59
+ noRecordsToDisplay: '無紀錄可顯示',
60
+ noResultsFound: '未找到結果',
61
+ of: '/',
62
+ or: '或',
63
+ pin: '固定',
64
+ pinToLeft: '固定至左邊',
65
+ pinToRight: '固定至右邊',
66
+ resetColumnSize: '重置欄位大小',
67
+ resetOrder: '重置排序',
68
+ rowActions: '橫列動作',
69
+ rowNumber: '#',
70
+ rowNumbers: '橫列編號',
71
+ rowsPerPage: '每頁數量',
72
+ save: '儲存',
73
+ search: '搜尋',
74
+ select: '選擇',
75
+ selectedCountOfRowCountRowsSelected: '已選擇橫列:{selectedCount}/{rowCount}',
76
+ showAll: '顯示全部',
77
+ showAllColumns: '顯示全部欄位',
78
+ showHideColumns: '顯示/隱藏 欄位',
79
+ showHideFilters: '顯示/隱藏 過濾條件',
80
+ showHideSearch: '顯示/隱藏 搜尋條件',
81
+ sortByColumnAsc: '按 {column} 順序排序',
82
+ sortByColumnDesc: '按 {column} 倒序排序',
83
+ sortedByColumnAsc: '已按 {column} 順序排序',
84
+ sortedByColumnDesc: '已按 {column} 倒序排序',
85
+ thenBy: ',然後以',
86
+ toggleDensity: '切換密度',
87
+ toggleFullScreen: '切換全螢幕',
88
+ toggleSelectAll: '切換選擇全部',
89
+ toggleSelectRow: '切換選擇橫列',
90
+ toggleVisibility: '切換可見度',
91
+ ungroupByColumn: '取消按 {column} 分組',
92
+ unpin: '取消固定',
93
+ unpinAll: '全部取消固定',
94
+ };
95
+
96
+ export { MRT_Localization_ZH_HANT };
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "index.js",
3
+ "module": "index.mjs",
4
+ "sideEffects": false,
5
+ "types": "index.d.ts"
6
+ }
package/package.json ADDED
@@ -0,0 +1,147 @@
1
+ {
2
+ "version": "4.0.0",
3
+ "license": "MIT",
4
+ "name": "@lminii/material-react-table",
5
+ "description": "A fully featured Material UI V9 implementation of TanStack React Table V9, written from the ground up in TypeScript.",
6
+ "author": "Tyler Lee",
7
+ "contributors": [
8
+ "Kevin Vandy (https://github.com/KevinVandy)"
9
+ ],
10
+ "keywords": [
11
+ "react-table",
12
+ "material-ui",
13
+ "material-table",
14
+ "tanstack table",
15
+ "data table",
16
+ "tanstack-intent"
17
+ ],
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/lminii/material-react-table.git"
21
+ },
22
+ "homepage": "https://github.com/lminii/material-react-table",
23
+ "bugs": {
24
+ "url": "https://github.com/lminii/material-react-table/issues"
25
+ },
26
+ "sideEffects": false,
27
+ "main": "dist/index.js",
28
+ "module": "dist/index.mjs",
29
+ "typings": "dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "import": {
33
+ "types": "./dist/index.d.mts",
34
+ "default": "./dist/index.mjs"
35
+ },
36
+ "require": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
39
+ }
40
+ },
41
+ "./locales/*": {
42
+ "import": {
43
+ "types": "./locales/*/index.d.mts",
44
+ "default": "./locales/*/index.mjs"
45
+ },
46
+ "require": {
47
+ "types": "./locales/*/index.d.ts",
48
+ "default": "./locales/*/index.js"
49
+ }
50
+ },
51
+ "./package.json": "./package.json"
52
+ },
53
+ "files": [
54
+ "dist",
55
+ "locales",
56
+ "src",
57
+ "skills"
58
+ ],
59
+ "size-limit": [
60
+ {
61
+ "path": "dist/index.js",
62
+ "limit": "75 KB"
63
+ },
64
+ {
65
+ "path": "dist/index.mjs",
66
+ "limit": "65 KB"
67
+ }
68
+ ],
69
+ "engines": {
70
+ "node": ">=22.12"
71
+ },
72
+ "scripts": {
73
+ "build": "pnpm lib:build",
74
+ "build-locales": "pnpm lib:build-locales",
75
+ "build-lib": "pnpm lib:build-lib",
76
+ "dev": "pnpm lib:dev",
77
+ "lib:build": "pnpm build-lib && pnpm build-locales",
78
+ "lib:build-locales": "node build-locales.mjs",
79
+ "lib:build-lib": "rm -rf dist && rollup -c rollup.config.mjs && size-limit",
80
+ "lib:dev": "rollup -c rollup.config.mjs --watch",
81
+ "lint": "eslint .",
82
+ "size": "size-limit",
83
+ "storybook": "storybook dev -p 6006",
84
+ "storybook:build": "storybook build",
85
+ "storybook:dev": "storybook dev -p 6006",
86
+ "build-storybook": "storybook build"
87
+ },
88
+ "devDependencies": {
89
+ "@emotion/react": "^11.14.0",
90
+ "@emotion/styled": "^11.14.0",
91
+ "@faker-js/faker": "^9.3.0",
92
+ "@mui/icons-material": "9.4.0",
93
+ "@mui/material": "9.4.0",
94
+ "@mui/x-date-pickers": "9.13.0",
95
+ "@rollup/plugin-typescript": "^11.1.6",
96
+ "@size-limit/preset-small-lib": "^11.1.6",
97
+ "@storybook/addon-a11y": "^8.4.7",
98
+ "@storybook/addon-essentials": "^8.4.7",
99
+ "@storybook/addon-links": "^8.4.7",
100
+ "@storybook/addon-storysource": "^8.4.7",
101
+ "@storybook/blocks": "^8.4.7",
102
+ "@storybook/preview-api": "^8.4.7",
103
+ "@storybook/react": "^8.4.7",
104
+ "@storybook/react-vite": "^8.4.7",
105
+ "@tanstack/intent": "^0.4.0",
106
+ "@types/node": "^22.10.2",
107
+ "@types/react": "^19.0.2",
108
+ "@types/react-dom": "^19.0.2",
109
+ "@typescript-eslint/eslint-plugin": "8.18.1",
110
+ "@typescript-eslint/parser": "8.18.1",
111
+ "@vitejs/plugin-react": "^4.3.4",
112
+ "eslint": "^9.17.0",
113
+ "eslint-plugin-mui-path-imports": "^0.0.15",
114
+ "eslint-plugin-perfectionist": "^4.4.0",
115
+ "eslint-plugin-storybook": "^0.11.1",
116
+ "react": "^19.0.0",
117
+ "react-dom": "^19.0.0",
118
+ "react-is": "^19.0.0",
119
+ "rollup": "^2.79.1",
120
+ "rollup-plugin-copy": "^3.5.0",
121
+ "rollup-plugin-delete": "^2.1.0",
122
+ "rollup-plugin-dts": "^6.1.1",
123
+ "rollup-plugin-peer-deps-external": "^2.2.4",
124
+ "size-limit": "^11.1.6",
125
+ "storybook": "^8.4.7",
126
+ "storybook-dark-mode": "^4.0.2",
127
+ "tslib": "^2.8.1",
128
+ "typescript": "5.7.2",
129
+ "typescript-eslint": "8.18.1",
130
+ "vite": "^6.0.5"
131
+ },
132
+ "peerDependencies": {
133
+ "@emotion/react": ">=11.13",
134
+ "@emotion/styled": ">=11.13",
135
+ "@mui/icons-material": ">=9.0",
136
+ "@mui/material": ">=9.0",
137
+ "@mui/x-date-pickers": ">=9.0",
138
+ "react": ">=18.0",
139
+ "react-dom": ">=18.0"
140
+ },
141
+ "dependencies": {
142
+ "@tanstack/match-sorter-utils": "9.1.2",
143
+ "@tanstack/react-table": "9.2.4",
144
+ "@tanstack/react-virtual": "3.14.10",
145
+ "highlight-words": "2.0.0"
146
+ }
147
+ }
@@ -0,0 +1,81 @@
1
+ # Material React Table Agent Skills
2
+
3
+ These folders are [Agent Skills](https://agentskills.io) for AI coding assistants such as Claude Code, Cursor, Codex, and Copilot.
4
+ Each folder holds one `SKILL.md` that teaches an agent a slice of the Material React Table V4 API and the patterns the documentation recommends.
5
+ The skills ship inside the `@lminii/material-react-table` npm package, so every install of the library carries them.
6
+
7
+ Full documentation for AI agents, including the MCP server, lives on the [AI Agents](https://material-react-table.minii.dev/docs/getting-started/ai-agents) docs page.
8
+
9
+ ## Skills
10
+
11
+ | Skill | Load it for |
12
+ | --- | --- |
13
+ | `getting-started` | Installing V4, defining columns, the `useMaterialReactTable` plus `table` prop pattern, and the sub-component exports. |
14
+ | `customization` | `mui*Props`, `render*` overrides, display columns, icons, and Material UI theming. |
15
+ | `composable-components` | Building a custom layout from the exported `MRT_*` components. |
16
+ | `state-and-server-data` | Controlled state, `on*Change` callbacks, `manual*` options, `rowCount`, and TanStack Query integration. |
17
+ | `editing` | The five edit display modes, create rows, validation, and saving to a server. |
18
+ | `filtering` | Column filter variants and modes, global filtering, faceted values, and custom filter functions. |
19
+ | `virtualization` | Row and column virtualization, virtualizer options, and scroll-to-index. |
20
+ | `localization` | The bundled locales and custom localization strings. |
21
+ | `drag-and-drop-ordering` | Column and row drag and drop ordering. |
22
+ | `migrate-v3-to-v4` | Moving an app from `material-react-table` V3 to `@lminii/material-react-table` V4. |
23
+
24
+ ## How Agents Use Them
25
+
26
+ There are three ways to get a skill in front of an agent.
27
+
28
+ ### TanStack Intent
29
+
30
+ [TanStack Intent](https://www.npmjs.com/package/@tanstack/intent) discovers skills from the packages installed in a project.
31
+ In a project with `@lminii/material-react-table` installed, an agent (or you) can list and load them:
32
+
33
+ ```bash
34
+ npx @tanstack/intent@latest list
35
+ npx @tanstack/intent@latest load @lminii/material-react-table#getting-started
36
+ ```
37
+
38
+ Run `npx @tanstack/intent@latest install` once to add the discovery instructions to your `AGENTS.md` or `CLAUDE.md`.
39
+ After that the agent runs the `list` and `load` commands on its own before editing table code.
40
+ The TanStack Table V9 packages ship skills the same way, and the `requires` field in each `SKILL.md` points at the TanStack skills a feature builds on.
41
+
42
+ ### Skills CLI
43
+
44
+ Any harness that reads `SKILL.md` files can install this folder straight from GitHub with the [skills CLI](https://github.com/vercel-labs/skills).
45
+ Pick the command for your agent.
46
+
47
+ | Agent | Command |
48
+ | --- | --- |
49
+ | Claude Code | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a claude-code` |
50
+ | Cursor | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a cursor` |
51
+ | Codex | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a codex` |
52
+ | GitHub Copilot | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a github-copilot` |
53
+ | Gemini CLI | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a gemini-cli` |
54
+ | Windsurf | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a windsurf` |
55
+ | OpenCode | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a opencode` |
56
+ | Cline | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a cline` |
57
+ | Several agents | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills -a claude-code -a cursor` |
58
+ | Every detected agent | `npx skills add https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table/skills --all` |
59
+
60
+ The CLI supports many more agents, including Amp, Antigravity, Augment, Continue, Devin, Droid, Goose, Junie, Kilo Code, Kiro, OpenHands, Qwen Code, Roo Code, Trae, and Zed.
61
+ The full list of `-a` values is in the [Supported Agents](https://github.com/vercel-labs/skills#supported-agents) table.
62
+
63
+ ### MCP Server
64
+
65
+ The [`@lminii/material-react-table-mcp`](https://github.com/lminii/material-react-table/tree/v4/packages/material-react-table-mcp) server bundles a copy of these skills.
66
+ Its `get_mrt_skill` tool lists them or returns one by name, and `search_mrt_docs` searches them alongside the guides and examples.
67
+
68
+ ```bash
69
+ claude mcp add material-react-table -- npx -y @lminii/material-react-table-mcp
70
+ ```
71
+
72
+ ## File Format
73
+
74
+ Each `SKILL.md` starts with YAML frontmatter.
75
+
76
+ - `name` and `description` are what Intent and the skills CLI show when listing, so the description says both what the skill covers and when to load it.
77
+ - `metadata` records the library and version the skill was written against.
78
+ - `requires` lists TanStack skills (for example `@tanstack/table-core#core`) that should be loaded alongside it.
79
+ - `sources` lists the docs pages in this repository the skill was distilled from, so a change to those pages is a cue to update the skill.
80
+
81
+ The body is plain Markdown that an agent reads in full, so it stays focused on the API, the recommended patterns, and the mistakes to avoid.