@cubejs-client/playground 0.30.0 → 0.30.4
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/CHANGELOG.md +12 -0
- package/build/asset-manifest.json +10 -10
- package/build/index.html +1 -1
- package/build/static/js/{11.a877b2f6.chunk.js → 11.ddb3343e.chunk.js} +2 -2
- package/build/static/js/{11.a877b2f6.chunk.js.LICENSE.txt → 11.ddb3343e.chunk.js.LICENSE.txt} +0 -0
- package/build/static/js/{12.a4612a2d.chunk.js → 12.301c9631.chunk.js} +2 -2
- package/build/static/js/{12.a4612a2d.chunk.js.LICENSE.txt → 12.301c9631.chunk.js.LICENSE.txt} +0 -0
- package/build/static/js/{19.4e2d9933.chunk.js → 19.b17c127a.chunk.js} +1 -1
- package/build/static/js/main.69f8091b.chunk.js +1 -0
- package/build/static/js/{runtime-main.091d2af0.js → runtime-main.7dbb56e8.js} +1 -1
- package/lib/.tsbuildinfo +1 -1
- package/lib/{GraphiQLSandbox-67f22447.js → GraphiQLSandbox-acde1e17.js} +2 -2
- package/lib/{GraphiQLSandbox-67f22447.js.map → GraphiQLSandbox-acde1e17.js.map} +1 -1
- package/lib/components/PlaygroundQueryBuilder/QueryBuilderContainer.d.ts +2 -5
- package/lib/components/SecurityContext/SecurityContextProvider.d.ts +6 -2
- package/lib/{index-4252fb86.js → index-6e49b11f.js} +88 -57
- package/lib/index-6e49b11f.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/playground/components/PlaygroundWrapper.d.ts +3 -3
- package/lib/playground/components/QueryBuilder.d.ts +4 -7
- package/package.json +4 -4
- package/build/static/js/main.bafd8a7e.chunk.js +0 -1
- package/lib/index-4252fb86.js.map +0 -1
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-
|
|
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-6e49b11f.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
|
|
6
|
+
export declare const QueryBuilder: import("react").NamedExoticComponent<{
|
|
7
7
|
token: string;
|
|
8
|
-
identifier?: string;
|
|
9
|
-
playgroundContext?: Partial<PlaygroundContext
|
|
10
|
-
} & Pick<PlaygroundQueryBuilderProps,
|
|
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.
|
|
4
|
+
"version": "0.30.4",
|
|
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.
|
|
38
|
-
"@cubejs-client/react": "^0.30.
|
|
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": "
|
|
113
|
+
"gitHead": "b7df8f6a3cfe104e639e0f7607868afa193ed0a3"
|
|
114
114
|
}
|