@malloydata/malloy-explorer 0.0.284-dev250528183401 → 0.0.285-dev250529220510

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.
@@ -9,5 +9,9 @@ export interface MalloyExplorerProviderProps {
9
9
  onFocusedNestViewPathChange: (path: string[]) => void;
10
10
  children: ReactNode | ReactNode[];
11
11
  topValues?: SearchValueMapResult[];
12
+ onDrill?: ({ stableQuery, stableDrillClauses, }: {
13
+ stableQuery: Malloy.Query | undefined;
14
+ stableDrillClauses: Malloy.DrillOperation[] | undefined;
15
+ }) => void;
12
16
  }
13
- export declare function MalloyExplorerProvider({ source, query, onQueryChange, focusedNestViewPath, onFocusedNestViewPathChange, children, topValues, }: MalloyExplorerProviderProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function MalloyExplorerProvider({ source, query, onQueryChange, focusedNestViewPath, onFocusedNestViewPathChange, children, topValues, onDrill, }: MalloyExplorerProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -7,8 +7,9 @@ export interface FieldListProps {
7
7
  fieldPath?: string;
8
8
  ref?: React.RefObject<HTMLDivElement | null>;
9
9
  customStyle?: StyleXStyles;
10
+ showPath?: boolean;
10
11
  }
11
- export declare function ValueList({ onClick, search, fieldPath, ref, customStyle, }: FieldListProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function ValueList({ onClick, search, fieldPath, ref, customStyle, showPath, }: FieldListProps): import("react/jsx-runtime").JSX.Element;
12
13
  export interface ValueProps {
13
14
  value: SearchIndexResult;
14
15
  }
@@ -17,6 +17,10 @@ export interface QueryEditorContextProps {
17
17
  /** Provide to allow editing of the query */
18
18
  setQuery?: (query: Malloy.Query | undefined) => void;
19
19
  topValues?: SearchValueMapResult[];
20
+ onDrill?: ({ stableQuery, stableDrillClauses, }: {
21
+ stableQuery: Malloy.Query | undefined;
22
+ stableDrillClauses: Malloy.DrillOperation[] | undefined;
23
+ }) => void;
20
24
  }
21
25
  /**
22
26
  * QueryEditorContext enables query editing by providing the setQuery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy-explorer",
3
- "version": "0.0.284-dev250528183401",
3
+ "version": "0.0.285-dev250529220510",
4
4
  "description": "Malloy visual query builder",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "types": "dist/types/index.d.ts",
@@ -113,11 +113,11 @@
113
113
  "vite-plugin-svgr": "^4.3.0"
114
114
  },
115
115
  "peerDependencies": {
116
- "@malloydata/malloy-filter": ">= 0.0.284",
117
- "@malloydata/malloy-interfaces": ">= 0.0.284",
118
- "@malloydata/malloy-query-builder": ">= 0.0.284",
119
- "@malloydata/malloy-tag": ">= 0.0.284",
120
- "@malloydata/render": ">= 0.0.284",
116
+ "@malloydata/malloy-filter": ">= 0.0.285",
117
+ "@malloydata/malloy-interfaces": ">= 0.0.285",
118
+ "@malloydata/malloy-query-builder": ">= 0.0.285",
119
+ "@malloydata/malloy-tag": ">= 0.0.285",
120
+ "@malloydata/render": ">= 0.0.285",
121
121
  "react": ">= 19.0.0",
122
122
  "react-dom": ">= 19.0.0"
123
123
  }