@firecms/core 3.0.0-canary.108 → 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.
Files changed (48) hide show
  1. package/dist/components/PropertyIdCopyTooltip.d.ts +8 -0
  2. package/dist/components/index.d.ts +1 -0
  3. package/dist/form/components/LabelWithIcon.d.ts +1 -1
  4. package/dist/form/components/LabelWithIconAndTooltip.d.ts +15 -0
  5. package/dist/form/components/index.d.ts +1 -0
  6. package/dist/index.es.js +285 -185
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/index.umd.js +285 -185
  9. package/dist/index.umd.js.map +1 -1
  10. package/package.json +5 -5
  11. package/src/app/Scaffold.tsx +13 -10
  12. package/src/components/ArrayContainer.tsx +9 -7
  13. package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +3 -1
  14. package/src/components/EntityCollectionTable/internal/EntityTableCell.tsx +1 -1
  15. package/src/components/EntityCollectionTable/internal/EntityTableCellActions.tsx +19 -7
  16. package/src/components/EntityCollectionView/EntityCollectionView.tsx +1 -1
  17. package/src/components/EntityPreview.tsx +2 -2
  18. package/src/components/PropertyIdCopyTooltip.tsx +48 -0
  19. package/src/components/SearchIconsView.tsx +2 -1
  20. package/src/components/index.tsx +1 -0
  21. package/src/core/DefaultAppBar.tsx +1 -1
  22. package/src/core/DrawerNavigationItem.tsx +28 -26
  23. package/src/core/EntityEditView.tsx +7 -13
  24. package/src/form/components/CustomIdField.tsx +4 -2
  25. package/src/form/components/FieldHelperText.tsx +1 -1
  26. package/src/form/components/LabelWithIcon.tsx +27 -19
  27. package/src/form/components/LabelWithIconAndTooltip.tsx +28 -0
  28. package/src/form/components/StorageItemPreview.tsx +1 -0
  29. package/src/form/components/StorageUploadProgress.tsx +0 -1
  30. package/src/form/components/index.tsx +1 -0
  31. package/src/form/field_bindings/ArrayCustomShapedFieldBinding.tsx +7 -5
  32. package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +18 -16
  33. package/src/form/field_bindings/BlockFieldBinding.tsx +7 -5
  34. package/src/form/field_bindings/DateTimeFieldBinding.tsx +17 -14
  35. package/src/form/field_bindings/KeyValueFieldBinding.tsx +3 -2
  36. package/src/form/field_bindings/MapFieldBinding.tsx +10 -16
  37. package/src/form/field_bindings/MarkdownEditorFieldBinding.tsx +7 -5
  38. package/src/form/field_bindings/MultiSelectBinding.tsx +7 -5
  39. package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +8 -6
  40. package/src/form/field_bindings/ReferenceFieldBinding.tsx +8 -5
  41. package/src/form/field_bindings/RepeatFieldBinding.tsx +7 -5
  42. package/src/form/field_bindings/SelectFieldBinding.tsx +44 -40
  43. package/src/form/field_bindings/StorageUploadFieldBinding.tsx +7 -5
  44. package/src/form/field_bindings/SwitchFieldBinding.tsx +7 -3
  45. package/src/form/field_bindings/TextFieldBinding.tsx +24 -22
  46. package/src/preview/components/ImagePreview.tsx +3 -1
  47. package/dist/components/PropertyIdCopyTooltipContent.d.ts +0 -3
  48. 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 function LabelWithIcon({ icon, title, small, className, required }: LabelWithIconProps): import("react/jsx-runtime").JSX.Element;
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 {};
@@ -1,3 +1,4 @@
1
1
  export * from "./FormikArrayContainer";
2
2
  export * from "./FieldHelperText";
3
3
  export * from "./LabelWithIcon";
4
+ export * from "./LabelWithIconAndTooltip";