stepzen-graphiql 2.1.1 → 2.1.3-experimental.1
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/README.md +5 -0
- package/dist/babel-BFk-_GFM.mjs +7255 -0
- package/dist/babel-BK9ZNpXB.js +15 -0
- package/dist/components/ExplorerPage/ExplorerPage.d.ts +1 -1
- package/dist/components/ExplorerPage/GraphiQLInterface.d.ts +15 -6
- package/dist/components/ExplorerPage/Snippets.d.ts +0 -2
- package/dist/components/ExplorerPage/clearResponse.d.ts +1 -1
- package/dist/components/ExplorerPage/clearTooltip.d.ts +1 -1
- package/dist/estree-C0Hb5Q7V.mjs +4528 -0
- package/dist/estree-U7n5DgHH.js +44 -0
- package/dist/graphql-B_VNxF-E.mjs +1256 -0
- package/dist/graphql-CBsByfto.js +28 -0
- package/dist/graphql-DDJE6tIl.mjs +157 -0
- package/dist/graphql-DrfV554J.js +6 -0
- package/dist/graphql-QzAQRYwl.mjs +1221 -0
- package/dist/graphql-oX3mS5wR.js +28 -0
- package/dist/graphqlMode-BaJsgPXv.mjs +262 -0
- package/dist/graphqlMode-p8aILjyK.js +1 -0
- package/dist/index-BoLEFAGM.js +1 -0
- package/dist/index-D_cw_9Lm.js +623 -0
- package/dist/index-DtVMQQHQ.mjs +83303 -0
- package/dist/index-EI4s17-8.mjs +295 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/jsonMode-CgMx-tL8.mjs +2002 -0
- package/dist/jsonMode-DuugoG14.js +15 -0
- package/dist/lib/graphiql-helpers.d.ts +2 -2
- package/dist/lite-BJhzU2Z2.js +1 -0
- package/dist/lite-CIrX6EQf.mjs +135 -0
- package/dist/monaco-editor-A9hqAYKr.js +1 -0
- package/dist/monaco-editor-ClM-U_5R.mjs +17 -0
- package/dist/mouseTarget-BWjtlLNH.mjs +9353 -0
- package/dist/mouseTarget-CaUx4WZo.js +9 -0
- package/dist/standalone-BhI0QomE.mjs +2458 -0
- package/dist/standalone-YWSF5RH2.js +29 -0
- package/dist/style.css +2 -2
- package/dist/style2.css +1 -0
- package/dist/toggleHighContrast-Czs_60C3.mjs +97805 -0
- package/dist/toggleHighContrast-zT0-izDn.js +726 -0
- package/package.json +13 -15
- package/dist/Range-CPFFy5pj.mjs +0 -26
- package/dist/Range-CUfOrqgY.js +0 -1
- package/dist/SchemaReference-DNGK8Gti.mjs +0 -146
- package/dist/SchemaReference-PZPPI4-g.js +0 -1
- package/dist/brace-fold-DFRMFuzG.mjs +0 -122
- package/dist/brace-fold-QYFeMqi4.js +0 -1
- package/dist/closebrackets-5W81jIxx.js +0 -2
- package/dist/closebrackets-BJdKNrct.mjs +0 -165
- package/dist/codemirror-CK47QajN.mjs +0 -27
- package/dist/codemirror-DMBo1i5w.js +0 -24
- package/dist/codemirror-DgPcZxSc.mjs +0 -6121
- package/dist/codemirror-P5arRD-4.js +0 -1
- package/dist/comment-DZX4WUX2.js +0 -2
- package/dist/comment-DaZ9yeFw.mjs +0 -150
- package/dist/dialog-BWHlvTdM.js +0 -1
- package/dist/dialog-BvB91RPq.mjs +0 -26
- package/dist/dialog-Ci1bnuc2.mjs +0 -74
- package/dist/dialog-Dh2DOTOu.js +0 -1
- package/dist/foldgutter-CEPGXQXV.mjs +0 -238
- package/dist/foldgutter-lfb5vdue.js +0 -1
- package/dist/forEachState-DA54msa8.mjs +0 -11
- package/dist/forEachState-DY_pA9Bd.js +0 -1
- package/dist/hint-BImUj9vL.mjs +0 -24
- package/dist/hint-BYh7bCzG.js +0 -1
- package/dist/hint-CeNacopx.mjs +0 -123
- package/dist/hint-Cqs-Eq99.js +0 -1
- package/dist/index-BXTilrNr.mjs +0 -11
- package/dist/index-BqePscbb.js +0 -1
- package/dist/index-Of0v8HXf.js +0 -650
- package/dist/index-c_h-B3RW.mjs +0 -89430
- package/dist/info-DKGfeFeR.mjs +0 -99
- package/dist/info-addon-0QldEyjg.js +0 -1
- package/dist/info-addon-BQBJGmtN.mjs +0 -66
- package/dist/info-euxfaXDv.js +0 -1
- package/dist/javascript-BMRweX7z.js +0 -1
- package/dist/javascript-CEIhlHWT.mjs +0 -26
- package/dist/javascript-RO_jaPiE.mjs +0 -707
- package/dist/javascript-poxRzxcy.js +0 -1
- package/dist/jsx-BY-uBax7.js +0 -1
- package/dist/jsx-CZtHOvZL.mjs +0 -414
- package/dist/jump-Bn-VPPJQ.js +0 -1
- package/dist/jump-BrK8-pOa.mjs +0 -85
- package/dist/jump-to-line-V4vHDeSQ.mjs +0 -61
- package/dist/jump-to-line-Zpc7tkYy.js +0 -1
- package/dist/lint-BBDtrEaL.js +0 -1
- package/dist/lint-BEn4QK3F.mjs +0 -216
- package/dist/lint-BgrfL8k7.js +0 -1
- package/dist/lint-CiQwkfWf.mjs +0 -112
- package/dist/lint-DxY_4HRh.js +0 -6
- package/dist/lint-naD3ldhf.mjs +0 -272
- package/dist/matchbrackets-BB4g2Y6d.mjs +0 -87
- package/dist/matchbrackets-DPv_MB7c.js +0 -1
- package/dist/matchbrackets-DhN7zJoS.js +0 -1
- package/dist/matchbrackets-eKECiv9B.mjs +0 -26
- package/dist/mode-CgGO246j.js +0 -1
- package/dist/mode-CwlRWrPi.mjs +0 -73
- package/dist/mode-DyP1DXNa.js +0 -1
- package/dist/mode-indent-9VnFlqY-.mjs +0 -8
- package/dist/mode-indent-m3TP74Ia.js +0 -1
- package/dist/mode-kdpxZ9Hq.mjs +0 -25
- package/dist/mode-r_2HfIrS.js +0 -1
- package/dist/mode-xgi1fEzL.mjs +0 -64
- package/dist/search-BuLFIkN5.mjs +0 -268
- package/dist/search-CclAH4eV.js +0 -2
- package/dist/searchcursor-B9F32jvl.mjs +0 -26
- package/dist/searchcursor-CV26OekK.js +0 -1
- package/dist/searchcursor-DHtNMOPb.mjs +0 -239
- package/dist/searchcursor-eGwb3e2h.js +0 -7
- package/dist/show-hint-BfWoiGzQ.mjs +0 -357
- package/dist/show-hint-CQ_VjC6w.js +0 -1
- package/dist/sublime-C6Rg9CL1.mjs +0 -563
- package/dist/sublime-DFk-sDtd.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
export declare const setGlobalOnFetchResult: (callback?: (
|
|
2
|
+
export declare const setGlobalOnFetchResult: (callback?: (result: any) => void) => void;
|
|
3
3
|
interface ExplorerPageProps {
|
|
4
4
|
onEditQuery?: (query: string) => void;
|
|
5
5
|
onFetchResult?: (result: any) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UseHeaderEditorArgs, UseQueryEditorArgs, UseResponseEditorArgs, UseVariableEditorArgs, WriteableEditorProps } from '@graphiql/react';
|
|
2
1
|
import { default as React, PropsWithChildren, ReactNode } from 'react';
|
|
3
2
|
export type GraphiQLToolbarConfig = {
|
|
4
3
|
/**
|
|
@@ -12,10 +11,21 @@ export type GraphiQLToolbarConfig = {
|
|
|
12
11
|
*/
|
|
13
12
|
additionalComponent?: React.JSXElementConstructor<any>;
|
|
14
13
|
};
|
|
15
|
-
type
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
export type GraphiQLInterfaceProps = {
|
|
15
|
+
/** Editor theme name (e.g. 'ibm-code'). */
|
|
16
|
+
editorTheme?: string;
|
|
17
|
+
/** CodeMirror/Monaco keymap (e.g. 'sublime'). */
|
|
18
|
+
keyMap?: string;
|
|
19
|
+
/** Called when the query editor value changes. */
|
|
20
|
+
onEditQuery?: (value: string) => void;
|
|
21
|
+
/** Called when the user copies the query. */
|
|
22
|
+
onCopyQuery?: (query: string) => void;
|
|
23
|
+
/** Called when the variables editor value changes. */
|
|
24
|
+
onEditVariables?: (value: string) => void;
|
|
25
|
+
/** Called when the headers editor value changes. */
|
|
26
|
+
onEditHeaders?: (value: string) => void;
|
|
27
|
+
/** Custom tooltip component shown inside the response editor. */
|
|
28
|
+
responseTooltip?: React.ComponentType;
|
|
19
29
|
children?: ReactNode;
|
|
20
30
|
/**
|
|
21
31
|
* Set the default state for the editor tools.
|
|
@@ -64,4 +74,3 @@ export declare function GraphiQLFooter<TProps>(props: PropsWithChildren<TProps>)
|
|
|
64
74
|
export declare namespace GraphiQLFooter {
|
|
65
75
|
var displayName: string;
|
|
66
76
|
}
|
|
67
|
-
export {};
|
|
@@ -2,7 +2,6 @@ declare const snippets: {
|
|
|
2
2
|
name: string;
|
|
3
3
|
language: string;
|
|
4
4
|
codeMirrorMode: string;
|
|
5
|
-
codeMirrorImport: () => Promise<any>;
|
|
6
5
|
options: never[];
|
|
7
6
|
generate: (arg: any) => string;
|
|
8
7
|
}[];
|
|
@@ -10,7 +9,6 @@ declare const subscriptionSnippets: {
|
|
|
10
9
|
name: string;
|
|
11
10
|
language: string;
|
|
12
11
|
codeMirrorMode: string;
|
|
13
|
-
codeMirrorImport: () => Promise<any>;
|
|
14
12
|
options: never[];
|
|
15
13
|
generate: (arg: any) => string;
|
|
16
14
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function ClearResponse(): import("react/jsx-runtime").JSX.Element
|
|
1
|
+
export default function ClearResponse(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function ClearTooltip(): import("react/jsx-runtime").JSX.Element
|
|
1
|
+
export default function ClearTooltip(): import("react/jsx-runtime").JSX.Element;
|