@devtable/dashboard 8.41.2 → 8.42.0

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.
@@ -7,6 +7,11 @@ interface IDashboardProps {
7
7
  className?: string;
8
8
  update: (dashboard: IDashboard) => Promise<void>;
9
9
  config: IDashboardConfig;
10
+ onChange?: (dashboard: IDashboard) => void;
10
11
  }
11
- export declare const Dashboard: React.FunctionComponent<IDashboardProps>;
12
+ export interface IDashboardModel {
13
+ readonly json: IDashboard;
14
+ updateCurrent: (dashboard: IDashboard) => void;
15
+ }
16
+ export declare const Dashboard: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<IDashboardProps & React.RefAttributes<IDashboardModel>, "key" | keyof IDashboardProps> & React.RefAttributes<IDashboardModel>>>;
12
17
  export {};
@@ -0,0 +1 @@
1
+ export declare const shallowToJS: <T>(obj: T) => T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "8.41.2",
3
+ "version": "8.42.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",