holyes-table 1.0.27 → 1.0.28

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/README.md CHANGED
@@ -200,6 +200,8 @@ tableRef.value.reloadData(tableData)
200
200
  | columns | Array< HolyesTableColumnPropsType> | [] | 表格列配置 |
201
201
  | height | Number | - | 表格高度 |
202
202
  | cellMinHeight | Number | 22 | 单元格最小行高 |
203
+ | cellStyle | Object | {fontSize?: '14px',paddingLeft?: '0px'} | 单元格样式,统一设置 |
204
+ | heightOffset | Number | 0 | 表格高度偏移量,用于没什么数据时,可能由于滚动条的高度原因,导致出现滚动条,需要偏移量来解决 |
203
205
  | loading | Boolean | false | 是否显示加载状态 |
204
206
  | loadingConfig | Object | {} | 加载配置,包含text属性 |
205
207
  | lazyLoadSlot | Boolean | false | 自定义插槽是否懒加载,默认否;开启后,自定义插槽多时滚动会更流畅 |
@@ -347,6 +349,8 @@ interface HolyesTableColumnPropsType {
347
349
  /** 表尾插槽 */
348
350
  footer?: string
349
351
  }
352
+ /** 单元格类名,最好里面不要涉及到改字体大小 */
353
+ cellClassName?: string | ((obj: { column: HolyesTableColumnPropsType, row: any, index: number }) => string)
350
354
  footer?: {
351
355
  /** 表尾行高度 */
352
356
  height?: number
package/dist/index.mjs CHANGED
@@ -1238,6 +1238,7 @@ var _e = (e) => {
1238
1238
  } }, ke = { style: { margin: "0 0 4px" } }, Ae = { style: {
1239
1239
  display: "flex",
1240
1240
  "justify-content": "center",
1241
+ gap: "10px",
1241
1242
  "margin-top": "5px",
1242
1243
  padding: "5px 0",
1243
1244
  "border-top": "1px solid #e0e0e0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holyes-table",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "合力思虚拟滚动表格组件",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -1,5 +1,9 @@
1
1
  # 更新日志
2
2
 
3
+ ## v1.0.28 (2026-07-09)
4
+
5
+ - 修复筛选搜索弹窗的样式问题
6
+
3
7
  ## v1.0.27 (2026-07-08)
4
8
 
5
9
  - 修复单元格样式问题