@malloydata/malloy-explorer 0.0.294-dev250630221944 → 0.0.299-dev250804170242

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 (57) hide show
  1. package/.gitmodules +3 -0
  2. package/@flowtypes/components/MalloyExplorerProvider.flow.js +3 -6
  3. package/README.md +7 -0
  4. package/dist/cjs/index.cjs +553 -356
  5. package/dist/cjs/index.cjs.map +1 -1
  6. package/dist/esm/index.js +523 -326
  7. package/dist/esm/index.js.map +1 -1
  8. package/dist/malloy-explorer.css +2 -0
  9. package/dist/types/components/FieldToken.d.ts +5 -1
  10. package/dist/types/components/MalloyExplorerProvider.d.ts +3 -5
  11. package/dist/types/components/QueryPanel/AddMenu/AddAggregate.d.ts +1 -3
  12. package/dist/types/components/QueryPanel/AddMenu/AddEmptyNest.d.ts +1 -3
  13. package/dist/types/components/QueryPanel/AddMenu/AddGroupBy.d.ts +1 -3
  14. package/dist/types/components/QueryPanel/AddMenu/AddLimit.d.ts +1 -3
  15. package/dist/types/components/QueryPanel/AddMenu/AddMenu.d.ts +1 -3
  16. package/dist/types/components/QueryPanel/AddMenu/AddOrderBy.d.ts +1 -3
  17. package/dist/types/components/QueryPanel/AddMenu/AddView.d.ts +1 -3
  18. package/dist/types/components/QueryPanel/AddMenu/AddWhere.d.ts +0 -2
  19. package/dist/types/components/QueryPanel/AddMenu/ValueList.d.ts +2 -1
  20. package/dist/types/components/QueryPanel/Operations.d.ts +2 -3
  21. package/dist/types/components/QueryPanel/Parameters.d.ts +3 -3
  22. package/dist/types/components/QueryPanel/Query.d.ts +3 -4
  23. package/dist/types/components/QueryPanel/Source.d.ts +3 -3
  24. package/dist/types/components/QueryPanel/View.d.ts +2 -3
  25. package/dist/types/components/QueryPanel/ViewDefinition.d.ts +2 -3
  26. package/dist/types/components/QueryPanel/Visualization.d.ts +1 -2
  27. package/dist/types/components/QueryPanel/VizEditor/VizEditor.d.ts +1 -2
  28. package/dist/types/components/QueryPanel/VizEditor/VizEditorDialog.d.ts +1 -2
  29. package/dist/types/components/QueryPanel/VizEditor/VizEditorPopover.d.ts +1 -2
  30. package/dist/types/components/QueryPanel/VizEditor/styles.d.ts +3 -0
  31. package/dist/types/components/QueryPanel/VizEditor/utils.d.ts +3 -0
  32. package/dist/types/components/QueryPanel/operations/AggregateOperations.d.ts +3 -4
  33. package/dist/types/components/QueryPanel/operations/DrillOperations.d.ts +1 -2
  34. package/dist/types/components/QueryPanel/operations/FilterOperations.d.ts +2 -3
  35. package/dist/types/components/QueryPanel/operations/GroupByOperations.d.ts +2 -3
  36. package/dist/types/components/QueryPanel/operations/LimitOperation.d.ts +2 -3
  37. package/dist/types/components/QueryPanel/operations/NestOperation.d.ts +3 -5
  38. package/dist/types/components/QueryPanel/operations/OperationActionTitle.d.ts +0 -2
  39. package/dist/types/components/QueryPanel/operations/OrderByOperations.d.ts +2 -3
  40. package/dist/types/components/QueryPanel/operations/RenameDialog.d.ts +3 -4
  41. package/dist/types/components/QueryPanel/operations/SortableOperations.d.ts +3 -4
  42. package/dist/types/components/ResultPanel/ResultDisplay.d.ts +0 -4
  43. package/dist/types/components/SourcePanel/FieldGroupList.d.ts +3 -1
  44. package/dist/types/components/SourcePanel/FieldTokenWithActions.d.ts +3 -2
  45. package/dist/types/components/SourcePanel/SearchResultList.d.ts +3 -1
  46. package/dist/types/components/SourcePanel/hooks/useOperations.d.ts +0 -4
  47. package/dist/types/components/primitives/DropdownMenu.d.ts +1 -1
  48. package/dist/types/components/utils/axis.d.ts +10 -0
  49. package/dist/types/components/utils/icon.d.ts +3 -3
  50. package/dist/types/components/utils/segment.d.ts +1 -0
  51. package/dist/types/contexts/QueryEditorContext.d.ts +3 -14
  52. package/dist/types/hooks/useQueryBuilder.d.ts +2 -2
  53. package/dist/types/hooks/useQueryUpdate.d.ts +10 -0
  54. package/dist/types/hooks/useTopValues.d.ts +18 -0
  55. package/jest.config.ts +1 -1
  56. package/package.json +8 -6
  57. package/vite.config.mts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy-explorer",
3
- "version": "0.0.294-dev250630221944",
3
+ "version": "0.0.299-dev250804170242",
4
4
  "description": "Malloy visual query builder",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "types": "dist/types/index.d.ts",
@@ -82,6 +82,8 @@
82
82
  "@babel/preset-typescript": "^7.27.1",
83
83
  "@eslint/compat": "^1.2.7",
84
84
  "@eslint/js": "^9.21.0",
85
+ "@malloydata/db-duckdb": "^0.0.299",
86
+ "@malloydata/malloy": "^0.0.299",
85
87
  "@rollup/plugin-replace": "^6.0.2",
86
88
  "@stylexjs/eslint-plugin": "^0.11.1",
87
89
  "@stylexjs/postcss-plugin": "^0.11.1",
@@ -113,11 +115,11 @@
113
115
  "vite-plugin-svgr": "^4.3.0"
114
116
  },
115
117
  "peerDependencies": {
116
- "@malloydata/malloy-filter": ">=0.0.294",
117
- "@malloydata/malloy-interfaces": ">=0.0.294",
118
- "@malloydata/malloy-query-builder": ">=0.0.294",
119
- "@malloydata/malloy-tag": ">=0.0.294",
120
- "@malloydata/render": ">=0.0.294",
118
+ "@malloydata/malloy-filter": "^0.0.299",
119
+ "@malloydata/malloy-interfaces": "^0.0.299",
120
+ "@malloydata/malloy-query-builder": "^0.0.299",
121
+ "@malloydata/malloy-tag": "^0.0.299",
122
+ "@malloydata/render": "^0.0.299",
121
123
  "react": ">=19.0.0",
122
124
  "react-dom": ">=19.0.0"
123
125
  }
package/vite.config.mts CHANGED
@@ -33,6 +33,8 @@ export default defineConfig({
33
33
  'react',
34
34
  'react-dom',
35
35
  'react/jsx-runtime',
36
+ '@malloydata/db-duckdb/wasm',
37
+ '@malloydata/malloy',
36
38
  '@malloydata/malloy-tag',
37
39
  '@malloydata/malloy-filter',
38
40
  '@malloydata/malloy-interfaces',
@@ -54,11 +56,14 @@ export default defineConfig({
54
56
  optimizeDeps: {
55
57
  force: true,
56
58
  include: [
59
+ '@malloydata/db-duckdb/wasm',
57
60
  '@malloydata/render',
61
+ '@malloydata/malloy',
58
62
  '@malloydata/malloy-tag',
59
63
  '@malloydata/malloy-filter',
60
64
  '@malloydata/malloy-interfaces',
61
65
  '@malloydata/malloy-query-builder',
62
66
  ],
67
+ exclude: ['@mapbox/node-pre-gyp'],
63
68
  },
64
69
  });