fix: cleanup dist folder, change README

- move images for README into docs/img
- move libs/* into utils. libs folder is copied into dist by grafana-toolkit
- remove d3-scale-chromatic sources, use it from dependencies
- update compatible versions in README
- update installation info
This commit is contained in:
Ivan Mikheykin
2021-02-16 17:43:48 +03:00
parent cf28c74069
commit b25f376f4e
126 changed files with 109 additions and 1046 deletions
+16
View File
@@ -0,0 +1,16 @@
import { AppEvent } from './appEvents';
export interface GraphHoverPayload {
pos: any;
panel: {
id: number;
};
}
export var graphHover: AppEvent<GraphHoverPayload> | string = { name: 'graph-hover' };
export var graphHoverClear: AppEvent<any> | string = { name: 'graph-hover-clear' };
export function fallbackToStringEvents() {
graphHover = 'graph-hover';
graphHoverClear = 'graph-hover-clear';
}