@malloydata/render 0.0.299 → 0.0.301

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 { VegaChartProps } from '../../component/types';
2
+ import { Config } from 'vega';
2
3
  import { RenderMetadata } from '../../component/render-result-metadata';
3
4
  import { BarChartPluginInstance } from './bar-chart-plugin';
4
- export declare function generateBarChartVegaSpecV2(metadata: RenderMetadata, plugin: BarChartPluginInstance): VegaChartProps;
5
+ export declare function generateBarChartVegaSpecV2(metadata: RenderMetadata, plugin: BarChartPluginInstance, vegaConfig?: Config): VegaChartProps;
@@ -1,4 +1,5 @@
1
1
  import { VegaChartProps } from '../../component/types';
2
+ import { Config } from 'vega';
2
3
  import { RenderMetadata } from '../../component/render-result-metadata';
3
4
  import { LineChartPluginInstance } from './line-chart-plugin';
4
5
  export interface LineChartSettings {
@@ -14,4 +15,4 @@ export interface LineChartSettings {
14
15
  zeroBaseline: boolean;
15
16
  interactive: boolean;
16
17
  }
17
- export declare function generateLineChartVegaSpecV2(metadata: RenderMetadata, plugin: LineChartPluginInstance): VegaChartProps;
18
+ export declare function generateLineChartVegaSpecV2(metadata: RenderMetadata, plugin: LineChartPluginInstance, vegaConfig?: Config): VegaChartProps;
@@ -0,0 +1,33 @@
1
+ import { Meta } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const FullProductsTable: {
5
+ args: {
6
+ source: string;
7
+ view: string;
8
+ };
9
+ };
10
+ export declare const SmallProductsTable: {
11
+ args: {
12
+ source: string;
13
+ view: string;
14
+ };
15
+ };
16
+ export declare const SimpleNestedTable: {
17
+ args: {
18
+ source: string;
19
+ view: string;
20
+ };
21
+ };
22
+ export declare const DeeplyNestedTable: {
23
+ args: {
24
+ source: string;
25
+ view: string;
26
+ };
27
+ };
28
+ export declare const WideTable: {
29
+ args: {
30
+ source: string;
31
+ view: string;
32
+ };
33
+ };
@@ -13,3 +13,21 @@ export declare const LegacyLineChart: {
13
13
  view: string;
14
14
  };
15
15
  };
16
+ export declare const BarChartWithNewConfig: {
17
+ args: {
18
+ source: string;
19
+ view: string;
20
+ };
21
+ render: ({ classes }: {
22
+ classes: any;
23
+ }, context: any) => HTMLDivElement;
24
+ };
25
+ export declare const LineChartWithNewConfig: {
26
+ args: {
27
+ source: string;
28
+ view: string;
29
+ };
30
+ render: ({ classes }: {
31
+ classes: any;
32
+ }, context: any) => HTMLDivElement;
33
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.299",
3
+ "version": "0.0.301",
4
4
  "license": "MIT",
5
5
  "main": "dist/module/index.umd.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,9 +29,9 @@
29
29
  "generate-flow": "ts-node ../../scripts/gen-flow.ts"
30
30
  },
31
31
  "dependencies": {
32
- "@malloydata/malloy": "0.0.299",
33
- "@malloydata/malloy-interfaces": "0.0.299",
34
- "@malloydata/malloy-tag": "0.0.299",
32
+ "@malloydata/malloy": "0.0.301",
33
+ "@malloydata/malloy-interfaces": "0.0.301",
34
+ "@malloydata/malloy-tag": "0.0.301",
35
35
  "@tanstack/solid-virtual": "^3.10.4",
36
36
  "lodash": "^4.17.20",
37
37
  "luxon": "^2.4.0",
@@ -39,10 +39,11 @@
39
39
  "ssf": "^0.11.2",
40
40
  "us-atlas": "^3.0.0",
41
41
  "vega": "^5.21.0",
42
+ "vega-interpreter": "^2.0.0",
42
43
  "vega-lite": "^5.2.0"
43
44
  },
44
45
  "devDependencies": {
45
- "@malloydata/db-duckdb": "0.0.299",
46
+ "@malloydata/db-duckdb": "0.0.301",
46
47
  "@storybook/addon-essentials": "^8.5.8",
47
48
  "@storybook/addon-interactions": "^8.5.8",
48
49
  "@storybook/addon-links": "^8.5.8",