@cubejs-client/playground 0.30.0 → 0.30.7

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.
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { C as CloudProvider, j as Context, Q as QueryBuilder, R as RollupDesignerContext, g as fetchPoll, h as setTelemetry, s as setTracker, l as useAppContext, i as useCloud, p as useCubejsApi, q as useDeepCompareMemoize, r as useDeepDependencies, t as useDeepEffect, e as useDeepMemo, v as useIdentifier, o as useIsCloud, w as useIsMounted, x as useLivePreviewContext, y as useLocalStorage, n as usePlaygroundContext, k as useRollupDesignerContext, c as useSecurityContext, z as useServerCoreVersionGte, A as useSetter, B as useToggle, d as useToken, D as useWindowSize } from './index-4252fb86.js';
1
+ export { C as CloudProvider, j as Context, Q as QueryBuilder, R as RollupDesignerContext, g as fetchPoll, h as setTelemetry, s as setTracker, l as useAppContext, i as useCloud, p as useCubejsApi, q as useDeepCompareMemoize, r as useDeepDependencies, t as useDeepEffect, e as useDeepMemo, v as useIdentifier, o as useIsCloud, w as useIsMounted, x as useLivePreviewContext, y as useLocalStorage, n as usePlaygroundContext, k as useRollupDesignerContext, c as useSecurityContext, z as useServerCoreVersionGte, A as useSetter, B as useToggle, d as useToken, D as useWindowSize } from './index-a158915b.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'fast-deep-equal';
@@ -1,10 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { SecurityContextProps, SecurityContextProviderProps } from '../../components/SecurityContext/SecurityContextProvider';
3
- import { PlaygroundContext } from '../../components/AppContext';
3
+ import { AppContextProps, PlaygroundContext } from '../../components/AppContext';
4
4
  declare type PlaygroundWrapperProps = {
5
5
  children: ReactNode;
6
6
  identifier?: string;
7
7
  playgroundContext?: Partial<PlaygroundContext>;
8
- } & Pick<SecurityContextProps, 'token' | 'onTokenPayloadChange'> & Pick<SecurityContextProviderProps, 'tokenUpdater'>;
9
- export declare function PlaygroundWrapper({ token, identifier, playgroundContext, children, tokenUpdater, onTokenPayloadChange, }: PlaygroundWrapperProps): JSX.Element;
8
+ } & Pick<SecurityContextProps, 'token' | 'onTokenPayloadChange'> & Pick<SecurityContextProviderProps, 'tokenUpdater'> & Pick<AppContextProps, 'apiUrl'>;
9
+ export declare function PlaygroundWrapper({ token, apiUrl, identifier, playgroundContext, children, tokenUpdater, onTokenPayloadChange, }: PlaygroundWrapperProps): JSX.Element;
10
10
  export {};
@@ -3,11 +3,8 @@ import { PlaygroundContext } from '../../components/AppContext';
3
3
  import { SecurityContextProps, SecurityContextProviderProps } from '../../components/SecurityContext/SecurityContextProvider';
4
4
  import { PlaygroundQueryBuilderProps } from '../../components/PlaygroundQueryBuilder/components/PlaygroundQueryBuilder';
5
5
  import { QueryTabsProps } from '../../components/QueryTabs/QueryTabs';
6
- declare type QueryBuilderProps = {
6
+ export declare const QueryBuilder: import("react").NamedExoticComponent<{
7
7
  token: string;
8
- identifier?: string;
9
- playgroundContext?: Partial<PlaygroundContext>;
10
- } & Pick<PlaygroundQueryBuilderProps, 'apiUrl' | 'defaultQuery' | 'initialVizState' | 'schemaVersion' | 'onVizStateChanged' | 'onSchemaChange' | 'extra'> & Pick<SecurityContextProps, 'onTokenPayloadChange'> & Pick<SecurityContextProviderProps, 'tokenUpdater'> & Pick<QueryTabsProps, 'onTabChange'>;
11
- declare function _QueryBuilder({ token, identifier, ...props }: QueryBuilderProps): JSX.Element;
12
- export declare const QueryBuilder: import("react").MemoExoticComponent<typeof _QueryBuilder>;
13
- export {};
8
+ identifier?: string | undefined;
9
+ playgroundContext?: Partial<PlaygroundContext> | undefined;
10
+ } & Pick<PlaygroundQueryBuilderProps, "schemaVersion" | "apiUrl" | "defaultQuery" | "onSchemaChange" | "extra" | "initialVizState" | "onVizStateChanged"> & Pick<SecurityContextProps, "onTokenPayloadChange"> & Pick<SecurityContextProviderProps, "tokenUpdater"> & Pick<QueryTabsProps, "onTabChange">>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cubejs-client/playground",
3
3
  "author": "Cube Dev, Inc.",
4
- "version": "0.30.0",
4
+ "version": "0.30.7",
5
5
  "engines": {},
6
6
  "repository": {
7
7
  "type": "git",
@@ -34,8 +34,8 @@
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^4.1.0",
37
- "@cubejs-client/core": "^0.30.0",
38
- "@cubejs-client/react": "^0.30.0",
37
+ "@cubejs-client/core": "^0.30.4",
38
+ "@cubejs-client/react": "^0.30.4",
39
39
  "@graphiql/toolkit": "^0.4.3",
40
40
  "camel-case": "^4.1.2",
41
41
  "codesandbox-import-utils": "^2.1.1",
@@ -110,5 +110,5 @@
110
110
  "react-dom": ">=17.0.1",
111
111
  "styled-components": ">=5.2.0"
112
112
  },
113
- "gitHead": "bc4774e0945cdf0141e344657406115e8a4597f7"
113
+ "gitHead": "38c2b2e2d3331bb1549963618b17363f7b134448"
114
114
  }