feat(components): 添加支持合并单元格的高级表格组件

新增 MergeTable 组件,支持跨行跨列合并单元格功能,类似 Typst 的 tablex 功能。组件提供多种样式配置选项,包括斑马纹、悬停效果和紧凑模式等。

同时更新 package.json 添加测试相关依赖,并清理 mdx-components.ts 中未使用的组件导入。
This commit is contained in:
Jiao77
2026-03-01 22:43:46 +08:00
parent 2de1869fd4
commit c8cb5cbdf4
5 changed files with 1515 additions and 17 deletions

View File

@@ -23,5 +23,13 @@
"remark-math": "^6.0.0",
"tailwindcss": "^3.4.0",
"vue": "^3.5.29"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"jsdom": "^28.1.0",
"vitest": "^4.0.18"
}
}