@firecms/core 3.5.2-canary.09e1281 → 3.5.2-canary.c5764a3

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.
Files changed (27) hide show
  1. package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +0 -5
  2. package/dist/components/EntityCollectionView/utils.d.ts +3 -3
  3. package/dist/index.es.js +676 -817
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/index.umd.js +670 -811
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/internal/useUnsavedChangesDialog.d.ts +12 -0
  8. package/dist/types/side_dialogs_controller.d.ts +2 -4
  9. package/package.json +3 -3
  10. package/src/components/EntityCollectionView/EntityCollectionView.tsx +111 -12
  11. package/src/components/EntityCollectionView/utils.ts +7 -7
  12. package/src/components/common/default_entity_actions.tsx +1 -2
  13. package/src/core/DefaultAppBar.tsx +9 -12
  14. package/src/core/EntityEditView.tsx +1 -26
  15. package/src/core/SideDialogs.tsx +13 -6
  16. package/src/hooks/useReferenceDialog.tsx +2 -2
  17. package/src/internal/useBuildSideDialogsController.tsx +2 -44
  18. package/src/internal/useUnsavedChangesDialog.tsx +142 -0
  19. package/src/types/side_dialogs_controller.tsx +2 -4
  20. package/dist/components/EntityCollectionView/CollectionCountBadge.d.ts +0 -8
  21. package/dist/components/EntityCollectionView/CollectionPathTitle.d.ts +0 -24
  22. package/dist/components/EntityCollectionView/EntityIdHeaderWidget.d.ts +0 -12
  23. package/dist/internal/useLeavePageConfirmation.d.ts +0 -11
  24. package/src/components/EntityCollectionView/CollectionCountBadge.tsx +0 -17
  25. package/src/components/EntityCollectionView/CollectionPathTitle.tsx +0 -68
  26. package/src/components/EntityCollectionView/EntityIdHeaderWidget.tsx +0 -124
  27. package/src/internal/useLeavePageConfirmation.ts +0 -25
@@ -34,11 +34,6 @@ export type EntityCollectionViewProps<M extends Record<string, any>> = {
34
34
  * If true, this view will store its filter and sorting status in the url params
35
35
  */
36
36
  updateUrl?: boolean;
37
- /**
38
- * Called with the number of entities in the collection, with the current filters
39
- * applied, each time it is counted: the count the breadcrumbs show.
40
- */
41
- onCountChange?: (count: number) => void;
42
37
  } & EntityCollection<M>;
43
38
  /**
44
39
  * This component is in charge of binding a datasource path with an {@link EntityCollection}
@@ -1,3 +1,3 @@
1
- export declare function addRecentId(key: string, id: string): string[];
2
- export declare function saveSearchedIdsLocally(key: string, ids: string[]): void;
3
- export declare function getRecentIds(key: string): string[];
1
+ export declare function addRecentId(collectionId: string, id: string): string[];
2
+ export declare function saveSearchedIdsLocally(collectionId: string, ids: string[]): void;
3
+ export declare function getRecentIds(collectionId: string): string[];