@firecms/core 3.0.0-alpha.82 → 3.0.0-alpha.84
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/EntityCollectionTable/EntityCollectionTableProps.d.ts +1 -0
- package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +2 -2
- package/dist/index.es.js +2766 -2766
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +1 -1
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +5 -3
- package/src/components/EntityCollectionTable/EntityCollectionTableProps.tsx +1 -0
- package/src/components/EntityCollectionTable/PropertyTableCell.tsx +1 -1
- package/src/components/EntityCollectionTable/SimpleEntityCollectionTable.tsx +0 -2
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +7 -2
- package/src/components/EntityPreview.tsx +1 -3
- package/src/components/ReferenceSelectionInner.tsx +26 -28
- package/src/preview/PropertyPreview.tsx +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { EntityCollection, SelectionController } from "../../types";
|
|
2
|
+
import { Entity, EntityCollection, SelectionController } from "../../types";
|
|
3
3
|
/**
|
|
4
4
|
* @group Components
|
|
5
5
|
*/
|
|
@@ -34,4 +34,4 @@ export type EntityCollectionViewProps<M extends Record<string, any>> = {
|
|
|
34
34
|
* @group Components
|
|
35
35
|
*/
|
|
36
36
|
export declare const EntityCollectionView: React.FunctionComponent<EntityCollectionViewProps<any>>;
|
|
37
|
-
export declare function useSelectionController<M extends Record<string, any> = any>(): SelectionController<M>;
|
|
37
|
+
export declare function useSelectionController<M extends Record<string, any> = any>(onSelectionChange?: (entity: Entity<M>, selected: boolean) => void): SelectionController<M>;
|