@prefecthq/graphs 3.0.4 → 3.0.5
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/dist/graphs.mjs +2682 -2678
- package/dist/graphs.mjs.map +1 -1
- package/dist/graphs.umd.js +64 -64
- package/dist/graphs.umd.js.map +1 -1
- package/dist/types/src/models/RunGraph.d.ts +4 -0
- package/dist/types/src/objects/events.d.ts +2 -2
- package/dist/types/src/objects/fonts.d.ts +2 -6
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { LayoutSettings } from '../models/layout';
|
|
|
7
7
|
import { RequiredGraphConfig, RunGraphData, RunGraphStyles } from '../models/RunGraph';
|
|
8
8
|
import { GraphItemSelection } from '../models/selection';
|
|
9
9
|
import { ViewportDateRange } from '../models/viewport';
|
|
10
|
-
import {
|
|
10
|
+
import { FontFactory } from '../objects/fonts';
|
|
11
11
|
import { VisibilityCull } from '../services/visibilityCull';
|
|
12
12
|
type Events = {
|
|
13
13
|
scaleCreated: HorizontalScale;
|
|
@@ -21,7 +21,7 @@ type Events = {
|
|
|
21
21
|
viewportMoved: null;
|
|
22
22
|
configCreated: RequiredGraphConfig;
|
|
23
23
|
configUpdated: RequiredGraphConfig;
|
|
24
|
-
|
|
24
|
+
fontLoaded: FontFactory;
|
|
25
25
|
containerCreated: Container;
|
|
26
26
|
layoutSettingsUpdated: LayoutSettings;
|
|
27
27
|
layoutSettingsCreated: LayoutSettings;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { BitmapText } from 'pixi.js';
|
|
2
|
-
|
|
3
|
-
readonly inter: (text: string) => BitmapText;
|
|
4
|
-
};
|
|
5
|
-
export type Fonts = typeof fonts;
|
|
2
|
+
export type FontFactory = (text: string) => BitmapText;
|
|
6
3
|
export declare function startFonts(): Promise<void>;
|
|
7
4
|
export declare function stopFonts(): void;
|
|
8
|
-
export declare function waitForFonts(): Promise<
|
|
9
|
-
export {};
|
|
5
|
+
export declare function waitForFonts(): Promise<FontFactory>;
|