stepzen-graphiql 1.0.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.
Files changed (101) hide show
  1. package/README.md +85 -0
  2. package/dist/GraphiQLExplorer.d.ts +10 -0
  3. package/dist/Range-CPFFy5pj.mjs +26 -0
  4. package/dist/Range-CUfOrqgY.js +1 -0
  5. package/dist/SchemaReference-94TE3IPs.mjs +146 -0
  6. package/dist/SchemaReference-DKgkDdcV.js +1 -0
  7. package/dist/brace-fold-9JQ5QTIN.mjs +122 -0
  8. package/dist/brace-fold-CUTcWTRf.js +1 -0
  9. package/dist/closebrackets-BL_z-rKi.mjs +165 -0
  10. package/dist/closebrackets-DHbhKDzk.js +2 -0
  11. package/dist/codemirror-CxfyhJc1.mjs +27 -0
  12. package/dist/codemirror-DMBo1i5w.js +24 -0
  13. package/dist/codemirror-DgPcZxSc.mjs +6121 -0
  14. package/dist/codemirror-Kv5dN_jU.js +1 -0
  15. package/dist/comment-CAsllqoy.js +2 -0
  16. package/dist/comment-DscvXuhU.mjs +150 -0
  17. package/dist/components/ExplorerPage/ExplorerHeader.d.ts +3 -0
  18. package/dist/components/ExplorerPage/ExplorerPage.d.ts +8 -0
  19. package/dist/components/ExplorerPage/GraphiQLInterface.d.ts +60 -0
  20. package/dist/components/ExplorerPage/Snippets.d.ts +17 -0
  21. package/dist/components/ExplorerPage/clearTooltip.d.ts +1 -0
  22. package/dist/components/exporterPlugin/CodeExporter.d.ts +93 -0
  23. package/dist/components/exporterPlugin/index.d.ts +7 -0
  24. package/dist/components/exporterPlugin/snippets/__helpers__/getOptionCombinations.d.ts +2 -0
  25. package/dist/components/exporterPlugin/snippets/index.d.ts +2 -0
  26. package/dist/components/exporterPlugin/snippets/javascript/fetch.d.ts +3 -0
  27. package/dist/components/exporterPlugin/snippets/javascript/reactApollo.d.ts +3 -0
  28. package/dist/components/exporterPlugin/toposort.d.ts +2 -0
  29. package/dist/components/exporterPlugin/useExporterPlugin.d.ts +19 -0
  30. package/dist/components/exporterPlugin/utils/capitalizeFirstLetter.d.ts +1 -0
  31. package/dist/components/exporterPlugin/utils/index.d.ts +7 -0
  32. package/dist/components/exporterPlugin/utils/jsCommentsFactory.d.ts +1 -0
  33. package/dist/contexts/EnvironmentContext.d.ts +37 -0
  34. package/dist/contexts/endpoint.d.ts +39 -0
  35. package/dist/dialog-BF69fCJO.js +1 -0
  36. package/dist/dialog-Ci1bnuc2.mjs +74 -0
  37. package/dist/dialog-Dh2DOTOu.js +1 -0
  38. package/dist/dialog-nXZjpybF.mjs +26 -0
  39. package/dist/foldgutter-DiGsqcNo.mjs +238 -0
  40. package/dist/foldgutter-Do6XNu8o.js +1 -0
  41. package/dist/forEachState-DA54msa8.mjs +11 -0
  42. package/dist/forEachState-DY_pA9Bd.js +1 -0
  43. package/dist/hint-BNpE1H1l.js +1 -0
  44. package/dist/hint-BQ9WwQj_.mjs +123 -0
  45. package/dist/hint-dA98kXsJ.js +1 -0
  46. package/dist/hint-ptEpgPx0.mjs +24 -0
  47. package/dist/index-BeOZF5ut.js +650 -0
  48. package/dist/index-GG9J9CZE.js +1 -0
  49. package/dist/index-Iqk59VQ1.mjs +89463 -0
  50. package/dist/index-_X52-Rov.mjs +11 -0
  51. package/dist/index.cjs.js +1 -0
  52. package/dist/index.d.ts +3 -0
  53. package/dist/index.es.js +4 -0
  54. package/dist/info-BhA0aX7P.js +1 -0
  55. package/dist/info-DavOVk27.mjs +99 -0
  56. package/dist/info-addon-BppfpWGs.js +1 -0
  57. package/dist/info-addon-jclzOzZb.mjs +66 -0
  58. package/dist/javascript-Bk78gZXV.js +1 -0
  59. package/dist/javascript-HLYdFIhF.mjs +26 -0
  60. package/dist/javascript-RO_jaPiE.mjs +707 -0
  61. package/dist/javascript-poxRzxcy.js +1 -0
  62. package/dist/jsx-C8WdRUVV.mjs +414 -0
  63. package/dist/jsx-LzpFIybc.js +1 -0
  64. package/dist/jump-BR4c9I5u.mjs +85 -0
  65. package/dist/jump-C3iGjDkY.js +1 -0
  66. package/dist/jump-to-line-BZOuAkwy.js +1 -0
  67. package/dist/jump-to-line-pXiAP2DT.mjs +61 -0
  68. package/dist/lib/constants.d.ts +6 -0
  69. package/dist/lib/graphiql-helpers.d.ts +86 -0
  70. package/dist/lib/helpers.d.ts +53 -0
  71. package/dist/lint-Aw1wLmnw.mjs +112 -0
  72. package/dist/lint-Bf0wS1Ab.js +1 -0
  73. package/dist/lint-DL7I1P7I.mjs +272 -0
  74. package/dist/lint-GZ9x3Nii.js +6 -0
  75. package/dist/lint-L3DNAS-R.mjs +216 -0
  76. package/dist/lint-azLq6zoS.js +1 -0
  77. package/dist/matchbrackets-BB4g2Y6d.mjs +87 -0
  78. package/dist/matchbrackets-DJZ2jVlm.js +1 -0
  79. package/dist/matchbrackets-DNVziiaa.mjs +26 -0
  80. package/dist/matchbrackets-DPv_MB7c.js +1 -0
  81. package/dist/mode-Bad_JbYc.js +1 -0
  82. package/dist/mode-BuM4vqHx.js +1 -0
  83. package/dist/mode-C9FNlffS.js +1 -0
  84. package/dist/mode-CtmJdiWw.mjs +73 -0
  85. package/dist/mode-CxFmwOoU.mjs +25 -0
  86. package/dist/mode-DQHzanY6.mjs +64 -0
  87. package/dist/mode-indent-9VnFlqY-.mjs +8 -0
  88. package/dist/mode-indent-m3TP74Ia.js +1 -0
  89. package/dist/search-BUZtJ7Zg.mjs +268 -0
  90. package/dist/search-DxgAMk6j.js +2 -0
  91. package/dist/searchcursor-BrHSjZde.mjs +26 -0
  92. package/dist/searchcursor-Cf1_qqgl.js +1 -0
  93. package/dist/searchcursor-DHtNMOPb.mjs +239 -0
  94. package/dist/searchcursor-eGwb3e2h.js +7 -0
  95. package/dist/show-hint-CYURLLrO.js +1 -0
  96. package/dist/show-hint-CmHZP7k_.mjs +357 -0
  97. package/dist/style.css +9 -0
  98. package/dist/sublime-BKhMEkpg.js +6 -0
  99. package/dist/sublime-Dmy11GSm.mjs +563 -0
  100. package/dist/types/config.d.ts +7 -0
  101. package/package.json +111 -0
package/package.json ADDED
@@ -0,0 +1,111 @@
1
+ {
2
+ "name": "stepzen-graphiql",
3
+ "version": "1.0.4",
4
+ "description": "Made with create-react-library",
5
+ "author": "stepzen",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "main": "./dist/index.cjs.js",
11
+ "module": "./dist/index.es.js",
12
+ "types": "./dist/index.d.ts",
13
+ "source": "src/index.ts",
14
+ "style": "./dist/style.css",
15
+ "exports": {
16
+ ".": {
17
+ "require": "./dist/index.cjs.js",
18
+ "import": "./dist/index.es.js"
19
+ },
20
+ "./style.css": "./dist/style.css"
21
+ },
22
+ "engines": {
23
+ "node": ">=10"
24
+ },
25
+ "scripts": {
26
+ "build": "vite build",
27
+ "start": "vite",
28
+ "prepare": "run-s build",
29
+ "test": "run-s test:unit test:lint test:build",
30
+ "test:build": "run-s build",
31
+ "test:lint": "eslint .",
32
+ "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
33
+ "test:watch": "react-scripts test --env=jsdom",
34
+ "predeploy": "cd example && npm install && npm run build",
35
+ "deploy": "gh-pages -d example/build"
36
+ },
37
+ "peerDependencies": {
38
+ "react": "^18.0.0"
39
+ },
40
+ "dependencies": {
41
+ "@carbon/ibm-products": "^2.63.0",
42
+ "@carbon/pictograms-react": "^11.74.0",
43
+ "@carbon/react": "^1.79.0",
44
+ "@graphiql/plugin-explorer": "3.2.5",
45
+ "@graphiql/react": "0.28.2",
46
+ "@graphiql/toolkit": "0.11.1",
47
+ "@stepzen/sdk": "^0.49.0",
48
+ "copy-to-clipboard": "^3.3.3",
49
+ "graphiql": "3.8.3",
50
+ "graphql": "^16.10.0",
51
+ "graphql-ws": "^6.0.4",
52
+ "lodash": "^4.17.21",
53
+ "swr": "^2.3.3",
54
+ "@uiw/codemirror-themes": "^4.21.19",
55
+ "@uiw/react-codemirror": "^4.21.13",
56
+ "@codemirror/lang-javascript": "^6.2.1",
57
+ "@codemirror/lang-json": "^6.0.1"
58
+ },
59
+ "devDependencies": {
60
+ "@eslint/js": "^9.21.0",
61
+ "@testing-library/jest-dom": "^6.6.3",
62
+ "@testing-library/react": "^16.3.0",
63
+ "@testing-library/user-event": "^14.6.1",
64
+ "@types/jest": "^29.5.14",
65
+ "@types/lodash": "^4.17.16",
66
+ "@types/node": "^22.14.0",
67
+ "@types/react": "^18.0.0",
68
+ "@types/react-dom": "^18.0.0",
69
+ "@typescript-eslint/eslint-plugin": "^8.29.0",
70
+ "@typescript-eslint/parser": "^8.29.0",
71
+ "@vitejs/plugin-react": "^4.3.4",
72
+ "babel-eslint": "^10.1.0",
73
+ "cross-env": "^7.0.3",
74
+ "eslint": "^8.0.1",
75
+ "eslint-config-prettier": "^10.1.1",
76
+ "eslint-config-standard": "^17.1.0",
77
+ "eslint-config-standard-react": "^13.0.0",
78
+ "eslint-plugin-import": "^2.31.0",
79
+ "eslint-plugin-node": "^11.1.0",
80
+ "eslint-plugin-prettier": "^5.2.6",
81
+ "eslint-plugin-promise": "^6.0.0",
82
+ "eslint-plugin-react": "^7.37.5",
83
+ "eslint-plugin-react-hooks": "^4.6.0",
84
+ "eslint-plugin-react-refresh": "^0.4.19",
85
+ "eslint-plugin-standard": "^5.0.0",
86
+ "gh-pages": "^6.3.0",
87
+ "globals": "^15.15.0",
88
+ "npm-run-all": "^4.1.5",
89
+ "prettier": "^3.5.3",
90
+ "react": "^18.0.0",
91
+ "react-dom": "^18.0.0",
92
+ "react-scripts": "^5.0.1",
93
+ "sass": "^1.86.3",
94
+ "typescript": "^4.9.5",
95
+ "typescript-eslint": "^8.24.1",
96
+ "vite": "^6.2.5",
97
+ "vite-plugin-dts": "^4.5.3"
98
+ },
99
+ "overrides": {
100
+ "nth-check": "^2.1.1",
101
+ "postcss": "^8.4.38"
102
+ },
103
+ "files": [
104
+ "dist"
105
+ ],
106
+ "keywords": [
107
+ "stepzen-graphiql",
108
+ "graphiql"
109
+ ],
110
+ "homepage": "stepzen.com"
111
+ }