@devtable/dashboard 5.8.1 → 5.8.3

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,2 +1,3 @@
1
1
  export * from './main';
2
2
  export * from './read-only';
3
+ export { useTopLevelServices } from '~/main/use-top-level-services';
@@ -0,0 +1,3 @@
1
+ import { IPluginContextProps } from '~/plugins';
2
+ import { IServiceLocator } from '~/service-locator';
3
+ export declare function useTopLevelServices(pluginContext: IPluginContextProps): (services: IServiceLocator) => IServiceLocator;
@@ -4,7 +4,7 @@ import { IPluginManager, IVizInteractionManager, IVizOperationManager, IVizTrigg
4
4
  import { IColorManager } from './color-manager';
5
5
  import { PluginManager } from './plugin-manager';
6
6
  import { VizManager } from './viz-manager';
7
- interface IPluginContextProps {
7
+ export interface IPluginContextProps {
8
8
  pluginManager: IPluginManager;
9
9
  vizManager: VizManager;
10
10
  colorManager: IColorManager;
@@ -28,4 +28,3 @@ export declare const tokens: {
28
28
  };
29
29
  export declare const createPluginContext: () => IPluginContextProps;
30
30
  export declare const PluginContext: import("react").Context<IPluginContextProps>;
31
- export {};
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ITemplateVariable } from '../types';
3
- export declare function templateToJSX(template: string, variables: ITemplateVariable[], data: Record<string, number>[]): (JSX.Element | import("react").ReactNode[])[];
3
+ export declare function templateToJSX(template: string, variables: ITemplateVariable[], data: Record<string, number>[]): (JSX.Element | React.ReactNode[])[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "5.8.1",
3
+ "version": "5.8.3",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",