@firecms/core 3.0.0-alpha.50 → 3.0.0-alpha.52
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/ErrorBoundary.d.ts +1 -1
- package/dist/{form/form_field_configs.d.ts → core/field_configs.d.ts} +2 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/form/index.d.ts +0 -1
- package/dist/index.es.js +5892 -5882
- 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/FieldConfigBadge.tsx +5 -2
- package/src/{form/form_field_configs.tsx → core/field_configs.tsx} +9 -1
- package/src/core/index.tsx +2 -0
- package/src/form/PropertyFieldBinding.tsx +1 -1
- package/src/form/index.tsx +0 -2
- package/src/util/property_utils.tsx +1 -1
- package/src/util/resolutions.ts +1 -1
|
@@ -7,5 +7,5 @@ export declare class ErrorBoundary extends React.Component<PropsWithChildren<Rec
|
|
|
7
7
|
error: Error;
|
|
8
8
|
};
|
|
9
9
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
10
|
-
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element |
|
|
10
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
11
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Property, PropertyConfig, ResolvedProperty } from "../types";
|
|
2
2
|
export declare function isDefaultFieldConfigId(id: string): boolean;
|
|
3
3
|
export declare const DEFAULT_FIELD_CONFIGS: Record<string, PropertyConfig<any>>;
|
|
4
|
+
export declare function getDefaultFieldConfig(property: Property | ResolvedProperty): PropertyConfig | undefined;
|
|
4
5
|
export declare function getFieldConfig(property: Property | ResolvedProperty, propertyConfigs: Record<string, PropertyConfig<any>>): PropertyConfig | undefined;
|
|
5
|
-
export declare function getDefaultFieldId(property: Property | ResolvedProperty): "reference" | "date_time" | "repeat" | "block" | "group" | "switch" | "url" | "email" | "select" | "text_field" | "multiline" | "markdown" | "multi_select" | "number_input" | "number_select" | "multi_number_select" | "file_upload" | "multi_file_upload" | "
|
|
6
|
+
export declare function getDefaultFieldId(property: Property | ResolvedProperty): "reference" | "date_time" | "repeat" | "block" | "group" | "switch" | "url" | "email" | "select" | "text_field" | "multiline" | "markdown" | "multi_select" | "number_input" | "number_select" | "multi_number_select" | "file_upload" | "multi_file_upload" | "key_value" | "multi_references" | "custom_array" | undefined;
|
|
6
7
|
export declare function getFieldId(property: Property | ResolvedProperty): string | undefined;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type { ScaffoldProps } from "./Scaffold";
|
|
|
3
3
|
export { Scaffold } from "./Scaffold";
|
|
4
4
|
export type { DrawerProps } from "./Drawer";
|
|
5
5
|
export { Drawer, DrawerNavigationItem } from "./Drawer";
|
|
6
|
+
export * from "./field_configs";
|
|
6
7
|
export * from "./SideDialogs";
|
|
7
8
|
export * from "./NavigationRoutes";
|
|
8
9
|
export * from "./useBuildModeController";
|
package/dist/form/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ import { MarkdownFieldBinding } from "./field_bindings/MarkdownFieldBinding";
|
|
|
15
15
|
import { ArrayCustomShapedFieldBinding } from "./field_bindings/ArrayCustomShapedFieldBinding";
|
|
16
16
|
export { ArrayCustomShapedFieldBinding, RepeatFieldBinding, MultiSelectBinding, ArrayOfReferencesFieldBinding, BlockFieldBinding, DateTimeFieldBinding, ReadOnlyFieldBinding, MapFieldBinding, KeyValueFieldBinding, ReferenceFieldBinding, SelectFieldBinding, StorageUploadFieldBinding, SwitchFieldBinding, MarkdownFieldBinding, TextFieldBinding };
|
|
17
17
|
export * from "./components";
|
|
18
|
-
export * from "./form_field_configs";
|
|
19
18
|
export type { EntityFormProps } from "./EntityForm";
|
|
20
19
|
export { EntityForm } from "./EntityForm";
|
|
21
20
|
export { PropertyFieldBinding } from "./PropertyFieldBinding";
|