@vizzly/dashboard 0.15.0-dev-faa8583d678bfc9b3d4da564fbf074620ea48b15 → 0.15.0-dev-532824b8277b56794208595a2825194b1d110465

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.
@@ -1,4 +1,5 @@
1
1
  import { Tick } from '../../../../shared-logic/src/ChartsV2/types';
2
+ import { ChartTheme } from '../../types';
2
3
  export declare type Margin = {
3
4
  top: number;
4
5
  right: number;
@@ -8,5 +9,5 @@ export declare type Margin = {
8
9
  leftTitleOffset: number;
9
10
  rightTitleOffset?: number;
10
11
  };
11
- export declare const buildMargin: (yTicks: Tick<number>[], showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean, showDetailedSubGroupingLabels?: boolean, isDualAxisEnabled?: boolean, hasDualYAxisTitle?: boolean, yTicksDual?: Tick<number>[] | undefined) => Margin;
12
- export declare const buildMarginForHorizontalChart: (xTicks: Tick<number>[], yTicks: Tick<Date | string | number>[], showXAxisLabels: boolean, showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean) => Margin;
12
+ export declare const buildMargin: (yTicks: Tick<number>[], showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean, showDetailedSubGroupingLabels?: boolean, isDualAxisEnabled?: boolean, hasDualYAxisTitle?: boolean, yTicksDual?: Tick<number>[] | undefined, theme?: ChartTheme | undefined) => Margin;
13
+ export declare const buildMarginForHorizontalChart: (xTicks: Tick<number>[], yTicks: Tick<Date | string | number>[], showXAxisLabels: boolean, showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean, theme?: ChartTheme | undefined) => Margin;
@@ -11,7 +11,7 @@ export * from './types';
11
11
  export { vizzlyState, VizzlyState } from '../../shared-logic/src/VizzlyState';
12
12
  import './developerTools';
13
13
  export { useGlobalContext } from '../../shared-ui/src/contexts/GlobalProvider/useGlobalProvider';
14
- export { DEFAULT_CHART_FONT_SIZES } from '../../shared-ui/src/contexts/ThemeProvider/default.theme';
14
+ export { DEFAULT_CHART_FONT_SIZES } from '../../shared-logic/src/Theme';
15
15
  declare const Dashboard: (props: DashboardProps) => JSX.Element;
16
16
  declare const Editor: (props: EditorProps) => JSX.Element;
17
17
  export * from '../../shared-ui/src/hooks/useVizzly';