@firecms/core 3.0.0-canary.241 → 3.0.0-canary.242

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/core",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.241",
4
+ "version": "3.0.0-canary.242",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -50,9 +50,9 @@
50
50
  "./package.json": "./package.json"
51
51
  },
52
52
  "dependencies": {
53
- "@firecms/editor": "^3.0.0-canary.241",
54
- "@firecms/formex": "^3.0.0-canary.241",
55
- "@firecms/ui": "^3.0.0-canary.241",
53
+ "@firecms/editor": "^3.0.0-canary.242",
54
+ "@firecms/formex": "^3.0.0-canary.242",
55
+ "@firecms/ui": "^3.0.0-canary.242",
56
56
  "@hello-pangea/dnd": "^17.0.0",
57
57
  "@radix-ui/react-portal": "^1.1.3",
58
58
  "clsx": "^2.1.1",
@@ -105,7 +105,7 @@
105
105
  "dist",
106
106
  "src"
107
107
  ],
108
- "gitHead": "5d3c3928250947d0363073d612a8c15f9bc10459",
108
+ "gitHead": "61c5737585c7126aadfb189c4f0c113943d001b0",
109
109
  "publishConfig": {
110
110
  "access": "public"
111
111
  },
@@ -749,6 +749,7 @@ export const EntityCollectionView = React.memo(
749
749
  equal(a.defaultSize, b.defaultSize) &&
750
750
  equal(a.initialFilter, b.initialFilter) &&
751
751
  equal(a.initialSort, b.initialSort) &&
752
+ equal(a.includeJsonView, b.includeJsonView) &&
752
753
  equal(a.textSearchEnabled, b.textSearchEnabled) &&
753
754
  equal(a.additionalFields, b.additionalFields) &&
754
755
  equal(a.sideDialogWidth, b.sideDialogWidth) &&
@@ -131,7 +131,8 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
131
131
  // Set initial scroll position
132
132
  useEffect(() => {
133
133
  if (tableRef.current && initialScroll) {
134
- tableRef.current.scrollTo(0, initialScroll);
134
+ const { scrollLeft } = tableRef.current;
135
+ tableRef.current.scrollTo(scrollLeft, initialScroll);
135
136
  }
136
137
  }, [tableRef, initialScroll]);
137
138
 
@@ -66,7 +66,6 @@ export function VirtualTableInput(props: {
66
66
  width: "100%",
67
67
  color: "unset",
68
68
  fontWeight: "unset",
69
- lineHeight: 1.7142857,
70
69
  fontSize: "unset",
71
70
  fontFamily: "unset",
72
71
  background: "unset",
@@ -84,7 +84,7 @@ export function MultiSelectFieldBinding({
84
84
  <MultiSelect
85
85
  className={"w-full mt-2"}
86
86
  size={size}
87
- value={validValue ? value.map((v) => v.toString()) : []}
87
+ value={validValue ? value.map((v) => v?.toString()) : []}
88
88
  disabled={disabled}
89
89
  modalPopover={true}
90
90
  label={<LabelWithIconAndTooltip
@@ -67,8 +67,9 @@ export function SelectFieldBinding<T extends EnumType>({
67
67
  </PropertyIdCopyTooltip>}
68
68
  endAdornment={
69
69
  property.clearable && !disabled && <IconButton
70
+ size="small"
70
71
  onClick={handleClearClick}>
71
- <CloseIcon/>
72
+ <CloseIcon size={"small"}/>
72
73
  </IconButton>
73
74
  }
74
75
  onValueChange={(updatedValue: string) => {
@@ -45,7 +45,7 @@ export function StringPropertyPreview({
45
45
  if (!value) return <></>;
46
46
  const lines = value.split("\n");
47
47
  return value && value.includes("\n")
48
- ? <div className={cls("overflow-x-scroll", size === "small" ? "text-sm" : "")}>
48
+ ? <div className={cls("overflow-x-scroll overflow-hidden", size === "small" ? "text-sm" : "")}>
49
49
  {lines.map((str, index) =>
50
50
  <React.Fragment key={`string_preview_${index}`}>
51
51
  <span>{str}</span>