Commit graph

7 commits

Author SHA1 Message Date
Naegelin
0e34a0631f cancelable event 2022-08-12 18:08:46 +02:00
naegelin
5e630d2873 feat(ToolbarBatchActions): Override cancel button
Fixes #1438.

Give the user the ability to override the functionality of the cancel button by passing in their own function. If no override is provided, the existing functionality of reseting selected row ids is preserved.

Example implementation:

```
<ToolbarBatchActions cancel={()=>{console.log("User clicked cancel!")}}>
 ...
</ToolbarBatchActions>
```
2022-08-12 18:08:46 +02:00
metonym
48348df43d
perf: use direct imports where possible (#1158) 2022-03-12 13:50:40 -08:00
Eric Liu
e4e75e5859
Fixes (#814)
* fix(combo-box): clicking chevron should not open the combo box if disabled

Fixes #776

* fix(toolbar-batch-actions): cancel text should be slottable

Fixes #782
2021-09-11 12:29:26 -07:00
Eric Liu
d38e6d8be6 refactor: update/fix JSDoc props 2020-11-04 06:04:25 -08:00
Eric Liu
a2b375f32e feat(data-table): hide batch actions if overflow visible 2020-10-26 08:15:31 -07:00
Eric Liu
f43b132088 feat(data-table): support radio, selectable variants with batch actions 2020-10-24 13:37:00 -07:00