@datapos/datapos-shared 0.3.246 → 0.3.248

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.
@@ -3,9 +3,8 @@ export interface Presenter extends Component {
3
3
  readonly config: PresenterConfig;
4
4
  list(): ComponentRef[];
5
5
  render(presentationPath: string, renderTo: HTMLElement, data?: unknown): Promise<void>;
6
- setColorMode(colorModeId: ColorModeId): void;
6
+ setColorMode(colorModeId: string): void;
7
7
  }
8
- export type ColorModeId = 'dark' | 'light';
9
8
  export interface PresenterConfig extends ModuleConfig {
10
9
  presentations: ComponentRef[];
11
10
  typeId: 'presenter';
@@ -36,7 +36,6 @@ export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine, EngineCo
36
36
  export type { SerialisedError } from './errors';
37
37
  export type { EventQueryConfig, EventQueryLocalisedConfig } from './component/eventQuery';
38
38
  export type { Presenter, PresenterConfig, PresenterLocalisedConfig } from './component/presenter';
39
- export type { ColorModeId } from './component/presenter';
40
39
  export type { PresentationConfig, PresentationView } from './component/presenter/presentation';
41
40
  export type { PresentationCategoryId, PresentationCartesianTypeId, PresentationPolarTypeId, PresentationRangeTypeId, PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/presenter/presentation';
42
41
  export type { ToolConfig } from './component/tool';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.246",
3
+ "version": "0.3.248",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,