@wx-design/components 1.1.11 → 1.1.12
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/es/index.mjs +4 -2
- package/es/style.css +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/column.d.ts +2 -0
package/package.json
CHANGED
package/types/table/column.d.ts
CHANGED
|
@@ -197,6 +197,8 @@ export type SabCellEditorParams =
|
|
|
197
197
|
|
|
198
198
|
// 弹出层配置
|
|
199
199
|
export type SabPopoverParams = Partial<PopoverProps & DialogProps> & {
|
|
200
|
+
// 触发元素, cell 整个单元格,buttton 按钮,默认 button
|
|
201
|
+
triggerEl?: 'button' | 'cell'
|
|
200
202
|
// 触发事件,默认 click
|
|
201
203
|
// 如果 showType === dialog 则只支持 click
|
|
202
204
|
trigger?: "click" | "hover" | "focus" | "contextmenu";
|