@firecms/core 3.0.0-canary.107 → 3.0.0-canary.109
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/PropertyIdCopyTooltip.d.ts +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/form/components/LabelWithIcon.d.ts +1 -1
- package/dist/form/components/LabelWithIconAndTooltip.d.ts +15 -0
- package/dist/form/components/index.d.ts +1 -0
- package/dist/index.es.js +287 -187
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +286 -186
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/app/Scaffold.tsx +13 -10
- package/src/components/ArrayContainer.tsx +9 -7
- package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +3 -1
- package/src/components/EntityCollectionTable/internal/EntityTableCell.tsx +1 -1
- package/src/components/EntityCollectionTable/internal/EntityTableCellActions.tsx +19 -7
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +1 -1
- package/src/components/EntityPreview.tsx +2 -2
- package/src/components/PropertyIdCopyTooltip.tsx +48 -0
- package/src/components/SearchIconsView.tsx +2 -1
- package/src/components/index.tsx +1 -0
- package/src/core/DefaultAppBar.tsx +1 -1
- package/src/core/DrawerNavigationItem.tsx +28 -26
- package/src/core/EntityEditView.tsx +7 -13
- package/src/form/components/CustomIdField.tsx +4 -2
- package/src/form/components/FieldHelperText.tsx +1 -1
- package/src/form/components/LabelWithIcon.tsx +27 -19
- package/src/form/components/LabelWithIconAndTooltip.tsx +28 -0
- package/src/form/components/StorageItemPreview.tsx +1 -0
- package/src/form/components/StorageUploadProgress.tsx +0 -1
- package/src/form/components/index.tsx +1 -0
- package/src/form/field_bindings/ArrayCustomShapedFieldBinding.tsx +7 -5
- package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +18 -16
- package/src/form/field_bindings/BlockFieldBinding.tsx +7 -5
- package/src/form/field_bindings/DateTimeFieldBinding.tsx +17 -14
- package/src/form/field_bindings/KeyValueFieldBinding.tsx +3 -2
- package/src/form/field_bindings/MapFieldBinding.tsx +10 -16
- package/src/form/field_bindings/MarkdownEditorFieldBinding.tsx +10 -8
- package/src/form/field_bindings/MultiSelectBinding.tsx +7 -5
- package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +8 -6
- package/src/form/field_bindings/ReferenceFieldBinding.tsx +8 -5
- package/src/form/field_bindings/RepeatFieldBinding.tsx +7 -5
- package/src/form/field_bindings/SelectFieldBinding.tsx +44 -40
- package/src/form/field_bindings/StorageUploadFieldBinding.tsx +7 -5
- package/src/form/field_bindings/SwitchFieldBinding.tsx +7 -3
- package/src/form/field_bindings/TextFieldBinding.tsx +24 -22
- package/src/preview/components/ImagePreview.tsx +3 -1
- package/dist/components/PropertyIdCopyTooltipContent.d.ts +0 -3
- package/src/components/PropertyIdCopyTooltipContent.tsx +0 -27
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function PropertyIdCopyTooltip({ propertyKey, className, children }: {
|
|
2
|
+
propertyKey: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function PropertyIdCopyTooltipContent({ propertyKey }: {
|
|
7
|
+
propertyKey: string;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,6 +13,7 @@ export * from "./EntityCollectionView/EntityCollectionView";
|
|
|
13
13
|
export * from "./EntityCollectionView/EntityCollectionViewActions";
|
|
14
14
|
export * from "./EntityCollectionView/useSelectionController";
|
|
15
15
|
export * from "./PropertyConfigBadge";
|
|
16
|
+
export * from "./PropertyIdCopyTooltip";
|
|
16
17
|
export * from "./EntityCollectionTable";
|
|
17
18
|
export * from "./NotFoundPage";
|
|
18
19
|
export * from "./VirtualTable";
|
|
@@ -10,5 +10,5 @@ interface LabelWithIconProps {
|
|
|
10
10
|
* Render the label of with an icon and the title of a property
|
|
11
11
|
* @group Form custom fields
|
|
12
12
|
*/
|
|
13
|
-
export declare
|
|
13
|
+
export declare const LabelWithIcon: React.ForwardRefExoticComponent<LabelWithIconProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LabelWithIconAndTooltip {
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
title?: string;
|
|
5
|
+
small?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
propertyKey: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Render the label of with an icon and the title of a property
|
|
12
|
+
* @group Form custom fields
|
|
13
|
+
*/
|
|
14
|
+
export declare function LabelWithIconAndTooltip({ propertyKey, className, ...props }: LabelWithIconAndTooltip): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|