@firecms/core 3.0.0-canary.58 → 3.0.0-canary.59

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.58",
4
+ "version": "3.0.0-canary.59",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -46,8 +46,8 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "dependencies": {
49
- "@firecms/formex": "^3.0.0-canary.58",
50
- "@firecms/ui": "^3.0.0-canary.58",
49
+ "@firecms/formex": "^3.0.0-canary.59",
50
+ "@firecms/ui": "^3.0.0-canary.59",
51
51
  "@fontsource/jetbrains-mono": "^5.0.20",
52
52
  "@hello-pangea/dnd": "^16.6.0",
53
53
  "@radix-ui/react-portal": "^1.0.4",
@@ -111,7 +111,7 @@
111
111
  "dist",
112
112
  "src"
113
113
  ],
114
- "gitHead": "8fb738b6abf384c0cba679f293b049a0ac56a7c2",
114
+ "gitHead": "870435eb903576cd282b2c22165ec3afa84c9340",
115
115
  "publishConfig": {
116
116
  "access": "public"
117
117
  },
@@ -107,6 +107,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
107
107
  hoverRow,
108
108
  createFilterField,
109
109
  rowClassName,
110
+ style,
110
111
  className,
111
112
  endAdornment,
112
113
  AddColumnComponent
@@ -239,7 +240,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
239
240
  const empty = !loading && (data?.length ?? 0) === 0;
240
241
  const customView = error
241
242
  ? <CenteredView maxWidth={"2xl"}
242
- className="flex flex-col gap-2">
243
+ className="flex flex-col gap-2">
243
244
 
244
245
  <Typography variant={"h6"}>
245
246
  {"Error fetching data from the data source"}
@@ -275,6 +276,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
275
276
  return (
276
277
  <div
277
278
  ref={measureRef}
279
+ style={style}
278
280
  className={cls("h-full w-full", className)}>
279
281
  <VirtualListContext.Provider
280
282
  value={virtualListController}>
@@ -131,6 +131,11 @@ export interface VirtualTableProps<T extends Record<string, any>> {
131
131
  */
132
132
  className?: string;
133
133
 
134
+ /**
135
+ * Style applied to the table
136
+ */
137
+ style?: React.CSSProperties;
138
+
134
139
  /**
135
140
  * Component rendered at the end of the table, after scroll
136
141
  */