@blueprint-chart/lib 0.1.8 → 0.1.12

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.
@@ -5,4 +5,4 @@ export interface FrameElements {
5
5
  body: HTMLElement;
6
6
  footer: HTMLElement;
7
7
  }
8
- export declare function createFrame(container: HTMLElement, options?: FrameOptions): FrameElements;
8
+ export declare function createFrame(container: HTMLElement, options?: FrameOptions | null): FrameElements;
@@ -129,7 +129,7 @@ export interface SeriesOverride {
129
129
  hidden?: boolean;
130
130
  }
131
131
  export interface ChartOptions {
132
- frame?: FrameOptions;
132
+ frame?: FrameOptions | null;
133
133
  verticalAxis?: AxisOptions;
134
134
  horizontalAxis?: AxisOptions;
135
135
  sort?: SortDirection;
package/dist/index.d.ts CHANGED
@@ -25,3 +25,5 @@ export { propertyMap, extractChartTypeOptions, dataEntriesToString, extractScene
25
25
  export type { AnnotationNode, AnnotationVisibilityNode, PointAnnotationNode, RangeAnnotationNode, FreeAnnotationNode, AreaFillNode, ChartNode, DataNode, ColorizeNode, HighlightNode, PropertyNode, SceneNode, SeriesNode, StepNode, TransformNode } from './dsl/types';
26
26
  export { samples } from './samples';
27
27
  export type { ChartSample } from './samples';
28
+ export { renderBpc, renderChart, astToDefinition, resolveScene } from './render';
29
+ export type { ChartDefinition, RenderOptions, ResolvedChartState } from './render';