@rebasepro/ui 0.20.0 → 0.21.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.
- package/dist/components/VirtualTable/VirtualTable.d.ts +1 -1
- package/dist/components/VirtualTable/VirtualTableHeader.d.ts +1 -1
- package/dist/components/VirtualTable/VirtualTableProps.d.ts +2 -2
- package/dist/components/VirtualTable/VirtualTableRow.d.ts +9 -1
- package/dist/components/VirtualTable/types.d.ts +14 -5
- package/dist/index.es.js +14 -8
- package/dist/index.es.js.map +1 -1
- package/dist/views/CardView.d.ts +6 -1
- package/package.json +1 -1
package/dist/views/CardView.d.ts
CHANGED
|
@@ -25,7 +25,12 @@ export type CardViewProps<T> = {
|
|
|
25
25
|
selected: boolean;
|
|
26
26
|
highlighted: boolean;
|
|
27
27
|
onSelectionChange: (selected: boolean) => void;
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Absent on a keyboard activation — a card is a `role="button"` and
|
|
30
|
+
* Enter/Space reach this with no event. Only the modifier branch
|
|
31
|
+
* needs one; the click itself does not.
|
|
32
|
+
*/
|
|
33
|
+
onClick: (e?: React.MouseEvent) => void;
|
|
29
34
|
}) => React.ReactNode;
|
|
30
35
|
emptyComponent?: React.ReactNode;
|
|
31
36
|
};
|