@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.
- package/dist/app/Drawer.d.ts +1 -1
- package/dist/app/Scaffold.d.ts +1 -1
- package/dist/components/CircularProgressCenter.d.ts +1 -1
- package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +0 -1
- package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +1 -1
- package/dist/components/ErrorView.d.ts +1 -1
- package/dist/components/HomePage/DefaultHomePage.d.ts +1 -1
- package/dist/components/HomePage/NavigationCardBinding.d.ts +1 -1
- package/dist/core/DefaultAppBar.d.ts +1 -1
- package/dist/core/DefaultDrawer.d.ts +1 -1
- package/dist/core/EntityEditView.d.ts +1 -1
- package/dist/core/FireCMS.d.ts +1 -1
- package/dist/core/NavigationRoutes.d.ts +1 -1
- package/dist/index.es.js +13585 -10269
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +19610 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/types/collections.d.ts +1 -2
- package/dist/util/plurals.d.ts +0 -2
- package/package.json +4 -4
- package/src/app/Drawer.tsx +1 -1
- package/src/app/Scaffold.tsx +1 -1
- package/src/components/CircularProgressCenter.tsx +1 -1
- package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +1 -8
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +2 -2
- package/src/components/EntityCollectionTable/fields/TableStorageUpload.tsx +12 -4
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +15 -16
- package/src/components/EntityCollectionView/useSelectionController.tsx +19 -7
- package/src/components/ErrorView.tsx +1 -1
- package/src/components/HomePage/DefaultHomePage.tsx +1 -1
- package/src/components/HomePage/NavigationCardBinding.tsx +1 -1
- package/src/components/SelectableTable/SelectableTable.tsx +2 -3
- package/src/components/VirtualTable/VirtualTableCell.tsx +1 -1
- package/src/core/DefaultAppBar.tsx +2 -2
- package/src/core/DefaultDrawer.tsx +1 -1
- package/src/core/EntityEditView.tsx +7 -3
- package/src/core/FireCMS.tsx +1 -1
- package/src/core/NavigationRoutes.tsx +1 -1
- package/src/form/field_bindings/StorageUploadFieldBinding.tsx +12 -4
- package/src/types/collections.ts +1 -2
- package/src/util/plurals.ts +0 -2
package/dist/app/Drawer.d.ts
CHANGED
|
@@ -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
|
-
|
|
8
|
+
|
|
9
9
|
*/
|
|
10
10
|
export declare function Drawer({ children, className, style }: {
|
|
11
11
|
children?: React.ReactNode;
|
package/dist/app/Scaffold.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type EntityCollectionViewProps<M extends Record<string, any>> = {
|
|
|
40
40
|
*
|
|
41
41
|
* @param fullPath
|
|
42
42
|
* @param collection
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
* @group Components
|
|
45
45
|
*/
|
|
46
46
|
export declare const EntityCollectionView: React.FunctionComponent<EntityCollectionViewProps<any>>;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -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
|
|
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;
|
package/dist/core/FireCMS.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
18
|
+
|
|
19
19
|
* @group Components
|
|
20
20
|
*/
|
|
21
21
|
export declare const NavigationRoutes: React.NamedExoticComponent<NavigationRoutesProps>;
|