@firecms/core 3.0.0-canary.80 → 3.0.0-canary.82

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 (41) hide show
  1. package/dist/app/Drawer.d.ts +1 -1
  2. package/dist/app/Scaffold.d.ts +1 -1
  3. package/dist/components/CircularProgressCenter.d.ts +1 -1
  4. package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +0 -1
  5. package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +1 -1
  6. package/dist/components/ErrorView.d.ts +1 -1
  7. package/dist/components/HomePage/DefaultHomePage.d.ts +1 -1
  8. package/dist/components/HomePage/NavigationCardBinding.d.ts +1 -1
  9. package/dist/core/DefaultAppBar.d.ts +1 -1
  10. package/dist/core/DefaultDrawer.d.ts +1 -1
  11. package/dist/core/EntityEditView.d.ts +1 -1
  12. package/dist/core/FireCMS.d.ts +1 -1
  13. package/dist/core/NavigationRoutes.d.ts +1 -1
  14. package/dist/index.es.js +13585 -10269
  15. package/dist/index.es.js.map +1 -1
  16. package/dist/index.umd.js +19610 -7
  17. package/dist/index.umd.js.map +1 -1
  18. package/dist/types/collections.d.ts +1 -2
  19. package/dist/util/plurals.d.ts +0 -2
  20. package/package.json +4 -4
  21. package/src/app/Drawer.tsx +1 -1
  22. package/src/app/Scaffold.tsx +1 -1
  23. package/src/components/CircularProgressCenter.tsx +1 -1
  24. package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +1 -8
  25. package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +2 -2
  26. package/src/components/EntityCollectionTable/fields/TableStorageUpload.tsx +12 -4
  27. package/src/components/EntityCollectionView/EntityCollectionView.tsx +15 -16
  28. package/src/components/EntityCollectionView/useSelectionController.tsx +19 -7
  29. package/src/components/ErrorView.tsx +1 -1
  30. package/src/components/HomePage/DefaultHomePage.tsx +1 -1
  31. package/src/components/HomePage/NavigationCardBinding.tsx +1 -1
  32. package/src/components/SelectableTable/SelectableTable.tsx +2 -3
  33. package/src/components/VirtualTable/VirtualTableCell.tsx +1 -1
  34. package/src/core/DefaultAppBar.tsx +2 -2
  35. package/src/core/DefaultDrawer.tsx +1 -1
  36. package/src/core/EntityEditView.tsx +7 -3
  37. package/src/core/FireCMS.tsx +1 -1
  38. package/src/core/NavigationRoutes.tsx +1 -1
  39. package/src/form/field_bindings/StorageUploadFieldBinding.tsx +12 -4
  40. package/src/types/collections.ts +1 -2
  41. package/src/util/plurals.ts +0 -2
@@ -5,7 +5,7 @@
5
5
  * If you want to customise the drawer, you can create your own component and pass it as a child.
6
6
  * For custom drawers, you can use the {@link useApp} to open and close the drawer.
7
7
  *
8
- * @constructor
8
+
9
9
  */
10
10
  export declare function Drawer({ children, className, style }: {
11
11
  children?: React.ReactNode;
@@ -24,7 +24,7 @@ export interface ScaffoldProps {
24
24
  * This component needs a parent {@link FireCMS}
25
25
  *
26
26
  * @param props
27
- * @constructor
27
+
28
28
  * @group Core
29
29
  */
30
30
  export declare const Scaffold: React.NamedExoticComponent<React.PropsWithChildren<ScaffoldProps>>;
@@ -3,7 +3,7 @@ import { CircularProgressProps } from "@firecms/ui";
3
3
  *
4
4
  * @param text
5
5
  * @param props
6
- * @constructor
6
+
7
7
  * @ignore
8
8
  */
9
9
  export declare function CircularProgressCenter({ text, ...props }: CircularProgressProps & {
@@ -9,7 +9,6 @@ import { CollectionSize, Entity, EntityAction, EntityCollection, SelectionContro
9
9
  * @param size
10
10
  * @param toggleEntitySelection
11
11
  * @param hideId
12
- * @constructor
13
12
  *
14
13
  * @group Collection components
15
14
  */
@@ -40,7 +40,7 @@ export type EntityCollectionViewProps<M extends Record<string, any>> = {
40
40
  *
41
41
  * @param fullPath
42
42
  * @param collection
43
- * @constructor
43
+
44
44
  * @group Components
45
45
  */
46
46
  export declare const EntityCollectionView: React.FunctionComponent<EntityCollectionViewProps<any>>;
@@ -13,7 +13,7 @@ export interface ErrorViewProps {
13
13
  * @param title
14
14
  * @param error
15
15
  * @param tooltip
16
- * @constructor
16
+
17
17
  * @group Components
18
18
  */
19
19
  export declare function ErrorView({ title, error, tooltip }: ErrorViewProps): React.ReactElement;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  /**
3
3
  * Default entry view for the CMS. This component renders navigation cards
4
4
  * for each collection defined in the navigation.
5
- * @constructor
5
+
6
6
  * @group Components
7
7
  */
8
8
  export declare function DefaultHomePage({ additionalActions, additionalChildrenStart, additionalChildrenEnd }: {
@@ -10,7 +10,7 @@ import { TopNavigationEntry } from "../../types";
10
10
  * @param name
11
11
  * @param description
12
12
  * @param onClick
13
- * @constructor
13
+
14
14
  */
15
15
  export declare function NavigationCardBinding({ path, collection, view, url, name, description, onClick, type }: TopNavigationEntry & {
16
16
  onClick?: () => void;
@@ -18,6 +18,6 @@ export type DefaultAppBarProps<ADDITIONAL_PROPS = object> = {
18
18
  * This component renders the main app bar of FireCMS.
19
19
  * You will likely not need to use this component directly.
20
20
  *
21
- * @constructor
21
+
22
22
  */
23
23
  export declare const DefaultAppBar: ({ title, endAdornment, startAdornment, dropDownActions, includeModeToggle, className, style, user: userProp }: DefaultAppBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -12,7 +12,7 @@ export declare function DefaultDrawer({ className, style, }: {
12
12
  * It expands when the drawer is open.
13
13
  *
14
14
  * @param logo
15
- * @constructor
15
+
16
16
  */
17
17
  export declare function DrawerLogo({ logo }: {
18
18
  logo?: string;
@@ -19,7 +19,7 @@ export interface EntityEditViewProps<M extends Record<string, any>> {
19
19
  * You probably don't want to use this view directly since it is bound to the
20
20
  * side panel. Instead, you might want to use {@link EntityForm} or {@link EntityCollectionView}
21
21
  */
22
- export declare function EntityEditView<M extends Record<string, any>, UserType extends User>({ entityId: entityIdProp, ...props }: EntityEditViewProps<M>): import("react/jsx-runtime").JSX.Element;
22
+ export declare function EntityEditView<M extends Record<string, any>, UserType extends User>({ entityId, ...props }: EntityEditViewProps<M>): import("react/jsx-runtime").JSX.Element;
23
23
  export declare function EntityEditViewInner<M extends Record<string, any>>({ path, entityId: entityIdProp, selectedSubPath: selectedSubPathProp, copy, collection, parentCollectionIds, onValuesAreModified, onUpdate, onClose, entity, dataLoading, }: EntityEditViewProps<M> & {
24
24
  entity?: Entity<M>;
25
25
  dataLoading: boolean;
@@ -8,7 +8,7 @@ import { EntityCollection, FireCMSProps, User } from "../types";
8
8
  *
9
9
  * You only need to use this component if you are building a custom app.
10
10
  *
11
- * @constructor
11
+
12
12
  * @group Core
13
13
  */
14
14
  export declare function FireCMS<UserType extends User, EC extends EntityCollection>(props: FireCMSProps<UserType, EC>): import("react/jsx-runtime").JSX.Element;
@@ -15,7 +15,7 @@ export type NavigationRoutesProps = {
15
15
  * or the home route) related to a {@link NavigationController}.
16
16
  * This component needs a parent {@link FireCMS}
17
17
  *
18
- * @constructor
18
+
19
19
  * @group Components
20
20
  */
21
21
  export declare const NavigationRoutes: React.NamedExoticComponent<NavigationRoutesProps>;