@sqlrooms/vega 0.29.0-rc.0 → 0.29.0-rc.2

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.
Files changed (43) hide show
  1. package/dist/VegaChartActions.js +1 -1
  2. package/dist/VegaChartActions.js.map +1 -1
  3. package/dist/VegaChartTool.d.ts +47 -26
  4. package/dist/VegaChartTool.d.ts.map +1 -1
  5. package/dist/VegaChartTool.js +61 -35
  6. package/dist/VegaChartTool.js.map +1 -1
  7. package/dist/VegaChartToolResult.d.ts +8 -20
  8. package/dist/VegaChartToolResult.d.ts.map +1 -1
  9. package/dist/VegaChartToolResult.js +8 -34
  10. package/dist/VegaChartToolResult.js.map +1 -1
  11. package/dist/VegaEditAction.d.ts +4 -9
  12. package/dist/VegaEditAction.d.ts.map +1 -1
  13. package/dist/VegaEditAction.js +9 -12
  14. package/dist/VegaEditAction.js.map +1 -1
  15. package/dist/VegaLiteArrowChart.d.ts.map +1 -1
  16. package/dist/VegaLiteArrowChart.js +1 -0
  17. package/dist/VegaLiteArrowChart.js.map +1 -1
  18. package/dist/VegaLiteChart.d.ts +44 -0
  19. package/dist/VegaLiteChart.d.ts.map +1 -0
  20. package/dist/VegaLiteChart.js +134 -0
  21. package/dist/VegaLiteChart.js.map +1 -0
  22. package/dist/VegaLiteSqlChart.js +1 -1
  23. package/dist/VegaLiteSqlChart.js.map +1 -1
  24. package/dist/editor/VegaCodeMirrorEditor.d.ts +15 -0
  25. package/dist/editor/VegaCodeMirrorEditor.d.ts.map +1 -0
  26. package/dist/editor/VegaCodeMirrorEditor.js +23 -0
  27. package/dist/editor/VegaCodeMirrorEditor.js.map +1 -0
  28. package/dist/editor/VegaMonacoEditor.d.ts +5 -0
  29. package/dist/editor/VegaMonacoEditor.d.ts.map +1 -1
  30. package/dist/editor/VegaMonacoEditor.js +2 -0
  31. package/dist/editor/VegaMonacoEditor.js.map +1 -1
  32. package/dist/editor/VegaSpecEditorPanel.d.ts.map +1 -1
  33. package/dist/editor/VegaSpecEditorPanel.js +11 -7
  34. package/dist/editor/VegaSpecEditorPanel.js.map +1 -1
  35. package/dist/editor/VegaSqlEditorPanel.d.ts +1 -1
  36. package/dist/editor/VegaSqlEditorPanel.d.ts.map +1 -1
  37. package/dist/editor/VegaSqlEditorPanel.js +9 -10
  38. package/dist/editor/VegaSqlEditorPanel.js.map +1 -1
  39. package/dist/index.d.ts +5 -2
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +3 -1
  42. package/dist/index.js.map +1 -1
  43. package/package.json +11 -10
package/dist/index.d.ts CHANGED
@@ -4,8 +4,9 @@
4
4
  */
5
5
  export { VegaChartToolResult as VegaChartToolResult } from './VegaChartToolResult';
6
6
  export type { VisualizationSpec } from 'vega-embed';
7
- export { createVegaChartTool, VegaChartToolParameters, DEFAULT_VEGA_CHART_DESCRIPTION, } from './VegaChartTool';
8
- export type { VegaChartToolParameters as VegaChartToolParametersType, VegaChartToolOptions, } from './VegaChartTool';
7
+ export type { SignalListenerHandler, SignalValue } from 'vega';
8
+ export { createVegaChartTool, createSqlValidator, VegaChartToolParameters, DEFAULT_VEGA_CHART_DESCRIPTION, } from './VegaChartTool';
9
+ export type { VegaChartToolOptions, VegaChartToolOutput } from './VegaChartTool';
9
10
  /**
10
11
  * Composable Vega-Lite chart component with editing capabilities.
11
12
  *
@@ -45,7 +46,9 @@ export declare const VegaLiteChart: import("react").FC<Omit<import("./VegaLiteAr
45
46
  SqlEditor: import("react").FC<import("./editor/VegaSqlEditorPanel").VegaSqlEditorPanelProps>;
46
47
  Actions: import("react").FC<import("./editor/VegaChartEditorActions").VegaChartEditorActionsProps>;
47
48
  };
49
+ /** @deprecated Use VegaCodeMirrorEditor instead */
48
50
  export { VegaMonacoEditor } from './editor/VegaMonacoEditor';
51
+ export { VegaCodeMirrorEditor } from './editor/VegaCodeMirrorEditor';
49
52
  export { useVegaChartEditor } from './editor/useVegaChartEditor';
50
53
  export { useVegaEditorContext } from './editor/VegaEditorContext';
51
54
  export type { EditorMode, OnSpecChange, OnSqlChange, UseVegaChartEditorOptions, UseVegaChartEditorReturn, VegaEditorActions, VegaEditorContextValue, VegaEditorState, } from './editor/types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,EAAC,mBAAmB,IAAI,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AACjF,YAAY,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACV,uBAAuB,IAAI,2BAA2B,EACtD,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAUxB,CAAC;AAGH,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AAGhE,YAAY,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,yBAAyB,EACzB,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,YAAY,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAG9D,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAk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,oBAAoB,CAAC;AAG9D,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAC,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import { VegaSpecEditorPanel } from './editor/VegaSpecEditorPanel';
10
10
  import { VegaSqlEditorPanel } from './editor/VegaSqlEditorPanel';
11
11
  import { VegaChartEditorActions } from './editor/VegaChartEditorActions';
12
12
  export { VegaChartToolResult as VegaChartToolResult } from './VegaChartToolResult';
13
- export { createVegaChartTool, VegaChartToolParameters, DEFAULT_VEGA_CHART_DESCRIPTION, } from './VegaChartTool';
13
+ export { createVegaChartTool, createSqlValidator, VegaChartToolParameters, DEFAULT_VEGA_CHART_DESCRIPTION, } from './VegaChartTool';
14
14
  /**
15
15
  * Composable Vega-Lite chart component with editing capabilities.
16
16
  *
@@ -45,7 +45,9 @@ export const VegaLiteChart = Object.assign(VegaLiteSqlChart, {
45
45
  Actions: VegaChartEditorActions,
46
46
  });
47
47
  // Export editor components and hooks for advanced use
48
+ /** @deprecated Use VegaCodeMirrorEditor instead */
48
49
  export { VegaMonacoEditor } from './editor/VegaMonacoEditor';
50
+ export { VegaCodeMirrorEditor } from './editor/VegaCodeMirrorEditor';
49
51
  export { useVegaChartEditor } from './editor/useVegaChartEditor';
50
52
  export { useVegaEditorContext } from './editor/VegaEditorContext';
51
53
  // Export schema utilities
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAC,gBAAg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gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC","sourcesContent":["/**\n * {@include ../README.md}\n * @packageDocumentation\n */\n\nimport {VegaLiteSqlChart} from './VegaLiteSqlChart';\nimport {VegaLiteArrowChart} from './VegaLiteArrowChart';\nimport {VegaChartContainer} from './editor/VegaChartContainer';\nimport {VegaChartDisplay} from './editor/VegaChartDisplay';\nimport {VegaSpecEditorPanel} from './editor/VegaSpecEditorPanel';\nimport {VegaSqlEditorPanel} from './editor/VegaSqlEditorPanel';\nimport {VegaChartEditorActions} from './editor/VegaChartEditorActions';\n\nexport {VegaChartToolResult as VegaChartToolResult} from './VegaChartToolResult';\nexport type {VisualizationSpec} from 'vega-embed';\nexport {\n createVegaChartTool,\n VegaChartToolParameters,\n DEFAULT_VEGA_CHART_DESCRIPTION,\n} from './VegaChartTool';\n\nexport type {\n VegaChartToolParameters as VegaChartToolParametersType,\n VegaChartToolOptions,\n} from './VegaChartTool';\n\n/**\n * Composable Vega-Lite chart component with editing capabilities.\n *\n * @example\n * ```tsx\n * // Compound component pattern\n * <VegaLiteChart.Container\n * spec={mySpec}\n * sqlQuery={myQuery}\n * editable={true}\n * onSpecChange={(spec) => saveSpec(spec)}\n * >\n * <VegaLiteChart.Chart />\n * <VegaLiteChart.SpecEditor />\n * <VegaLiteChart.SqlEditor />\n * <VegaLiteChart.Actions />\n * </VegaLiteChart.Container>\n *\n * // Simple usage (legacy)\n * <VegaLiteChart spec={mySpec} sqlQuery={myQuery} />\n * ```\n */\nexport const VegaLiteChart = Object.assign(VegaLiteSqlChart, {\n // Legacy chart components\n SqlChart: VegaLiteSqlChart,\n ArrowChart: VegaLiteArrowChart,\n // Compound editor components\n Container: VegaChartContainer,\n Chart: VegaChartDisplay,\n SpecEditor: VegaSpecEditorPanel,\n SqlEditor: VegaSqlEditorPanel,\n Actions: VegaChartEditorActions,\n});\n\n// Export editor components and hooks for advanced use\nexport {VegaMonacoEditor} from './editor/VegaMonacoEditor';\nexport {useVegaChartEditor} from './editor/useVegaChartEditor';\nexport {useVegaEditorContext} from './editor/VegaEditorContext';\n\n// Export editor types\nexport type {\n EditorMode,\n OnSpecChange,\n OnSqlChange,\n UseVegaChartEditorOptions,\n UseVegaChartEditorReturn,\n VegaEditorActions,\n VegaEditorContextValue,\n VegaEditorState,\n} from './editor/types';\n\n// Export schema utilities\nexport {\n loadVegaLiteSchema,\n getCachedVegaLiteSchema,\n preloadVegaLiteSchema,\n} from './schema/vegaLiteSchema';\n\n// Export chart context and hook for custom actions\nexport {useVegaChartContext} from './VegaChartContext';\nexport type {VegaChartContextValue} from './VegaChartContext';\n\n// Export action components\nexport {VegaExportAction} from './VegaExportAction';\nexport type {VegaExportActionProps} from './VegaExportAction';\nexport {VegaEditAction} from './VegaEditAction';\nexport type {VegaEditActionProps} from './VegaEditAction';\nexport {VegaChartActions} from './VegaChartActions';\nexport type {VegaChartActionsProps} from './VegaChartActions';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAC,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAC,sBAAsB,EAAC,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAC,mBAAmB,IAAI,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAIjF,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,8BAA8B,GAC/B,MAAM,iBAAiB,CAAC;AAIzB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE;IAC3D,0BAA0B;IAC1B,QAAQ,EAAE,gBAAgB;IAC1B,UAAU,EAAE,kBAAkB;IAC9B,6BAA6B;IAC7B,SAAS,EAAE,kBAAkB;IAC7B,KAAK,EAAE,gBAAgB;IACvB,UAAU,EAAE,mBAAmB;IAC/B,SAAS,EAAE,kBAAkB;IAC7B,OAAO,EAAE,sBAAsB;CAChC,CAAC,CAAC;AAEH,sDAAsD;AACtD,mDAAmD;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAC,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AAchE,0BAA0B;AAC1B,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAEjC,mDAAmD;AACnD,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAGvD,2BAA2B;AAC3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC","sourcesContent":["/**\n * {@include ../README.md}\n * @packageDocumentation\n */\n\nimport {VegaLiteSqlChart} from './VegaLiteSqlChart';\nimport {VegaLiteArrowChart} from './VegaLiteArrowChart';\nimport {VegaChartContainer} from './editor/VegaChartContainer';\nimport {VegaChartDisplay} from './editor/VegaChartDisplay';\nimport {VegaSpecEditorPanel} from './editor/VegaSpecEditorPanel';\nimport {VegaSqlEditorPanel} from './editor/VegaSqlEditorPanel';\nimport {VegaChartEditorActions} from './editor/VegaChartEditorActions';\nexport {VegaChartToolResult as VegaChartToolResult} from './VegaChartToolResult';\nexport type {VisualizationSpec} from 'vega-embed';\nexport type {SignalListenerHandler, SignalValue} from 'vega';\n\nexport {\n createVegaChartTool,\n createSqlValidator,\n VegaChartToolParameters,\n DEFAULT_VEGA_CHART_DESCRIPTION,\n} from './VegaChartTool';\n\nexport type {VegaChartToolOptions, VegaChartToolOutput} from './VegaChartTool';\n\n/**\n * Composable Vega-Lite chart component with editing capabilities.\n *\n * @example\n * ```tsx\n * // Compound component pattern\n * <VegaLiteChart.Container\n * spec={mySpec}\n * sqlQuery={myQuery}\n * editable={true}\n * onSpecChange={(spec) => saveSpec(spec)}\n * >\n * <VegaLiteChart.Chart />\n * <VegaLiteChart.SpecEditor />\n * <VegaLiteChart.SqlEditor />\n * <VegaLiteChart.Actions />\n * </VegaLiteChart.Container>\n *\n * // Simple usage (legacy)\n * <VegaLiteChart spec={mySpec} sqlQuery={myQuery} />\n * ```\n */\nexport const VegaLiteChart = Object.assign(VegaLiteSqlChart, {\n // Legacy chart components\n SqlChart: VegaLiteSqlChart,\n ArrowChart: VegaLiteArrowChart,\n // Compound editor components\n Container: VegaChartContainer,\n Chart: VegaChartDisplay,\n SpecEditor: VegaSpecEditorPanel,\n SqlEditor: VegaSqlEditorPanel,\n Actions: VegaChartEditorActions,\n});\n\n// Export editor components and hooks for advanced use\n/** @deprecated Use VegaCodeMirrorEditor instead */\nexport {VegaMonacoEditor} from './editor/VegaMonacoEditor';\nexport {VegaCodeMirrorEditor} from './editor/VegaCodeMirrorEditor';\nexport {useVegaChartEditor} from './editor/useVegaChartEditor';\nexport {useVegaEditorContext} from './editor/VegaEditorContext';\n\n// Export editor types\nexport type {\n EditorMode,\n OnSpecChange,\n OnSqlChange,\n UseVegaChartEditorOptions,\n UseVegaChartEditorReturn,\n VegaEditorActions,\n VegaEditorContextValue,\n VegaEditorState,\n} from './editor/types';\n\n// Export schema utilities\nexport {\n loadVegaLiteSchema,\n getCachedVegaLiteSchema,\n preloadVegaLiteSchema,\n} from './schema/vegaLiteSchema';\n\n// Export chart context and hook for custom actions\nexport {useVegaChartContext} from './VegaChartContext';\nexport type {VegaChartContextValue} from './VegaChartContext';\n\n// Export action components\nexport {VegaExportAction} from './VegaExportAction';\nexport type {VegaExportActionProps} from './VegaExportAction';\nexport {VegaEditAction} from './VegaEditAction';\nexport type {VegaEditActionProps} from './VegaEditAction';\nexport {VegaChartActions} from './VegaChartActions';\nexport type {VegaChartActionsProps} from './VegaChartActions';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqlrooms/vega",
3
- "version": "0.29.0-rc.0",
3
+ "version": "0.29.0-rc.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.js",
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://github.com/sqlrooms/sqlrooms.git"
13
+ "url": "git+https://github.com/sqlrooms/sqlrooms.git"
14
14
  },
15
15
  "files": [
16
16
  "dist"
@@ -19,13 +19,14 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@openassistant/utils": "1.0.0-alpha.0",
23
- "@sqlrooms/ai": "0.29.0-rc.0",
24
- "@sqlrooms/duckdb": "0.29.0-rc.0",
25
- "@sqlrooms/monaco-editor": "0.29.0-rc.0",
26
- "@sqlrooms/sql-editor": "0.29.0-rc.0",
27
- "@sqlrooms/ui": "0.29.0-rc.0",
28
- "@sqlrooms/utils": "0.29.0-rc.0",
22
+ "@sqlrooms/ai": "0.29.0-rc.2",
23
+ "@sqlrooms/codemirror": "0.29.0-rc.2",
24
+ "@sqlrooms/duckdb": "0.29.0-rc.2",
25
+ "@sqlrooms/monaco-editor": "0.29.0-rc.2",
26
+ "@sqlrooms/sql-editor": "0.29.0-rc.2",
27
+ "@sqlrooms/ui": "0.29.0-rc.2",
28
+ "@sqlrooms/utils": "0.29.0-rc.2",
29
+ "ai": "^6.0.154",
29
30
  "lucide-react": "^0.556.0",
30
31
  "react-vega": "^8.0.0",
31
32
  "vega": "^6.2.0",
@@ -48,5 +49,5 @@
48
49
  "typecheck": "tsc --noEmit",
49
50
  "typedoc": "typedoc"
50
51
  },
51
- "gitHead": "afdb949c9601b4cdeaae966157a25a54aea2ae54"
52
+ "gitHead": "5d511631992c1af8852ea79ced488867aad4a555"
52
53
  }