@graphiql/plugin-query-builder 0.0.0 → 1.0.0-beta.0
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 +34 -0
- package/dist/components/arg-input/arg-input-by-type.d.ts +21 -0
- package/dist/components/arg-input/arg-input-by-type.js +459 -0
- package/dist/components/arg-input/arg-input-by-type.js.map +1 -0
- package/dist/components/arg-input/enum-arg-control.d.ts +9 -0
- package/dist/components/arg-input/enum-arg-control.js +56 -0
- package/dist/components/arg-input/enum-arg-control.js.map +1 -0
- package/dist/components/arg-input/index.d.ts +29 -0
- package/dist/components/arg-input/index.js +38 -0
- package/dist/components/arg-input/index.js.map +1 -0
- package/dist/components/arg-input/scalar-arg-control.d.ts +16 -0
- package/dist/components/arg-input/scalar-arg-control.js +66 -0
- package/dist/components/arg-input/scalar-arg-control.js.map +1 -0
- package/dist/components/field-row.d.ts +34 -0
- package/dist/components/field-row.js +199 -0
- package/dist/components/field-row.js.map +1 -0
- package/dist/components/field-tree-context.d.ts +32 -0
- package/dist/components/field-tree-context.js +33 -0
- package/dist/components/field-tree-context.js.map +1 -0
- package/dist/components/field-tree-node.d.ts +9 -0
- package/dist/components/field-tree-node.js +118 -0
- package/dist/components/field-tree-node.js.map +1 -0
- package/dist/components/field-tree.d.ts +30 -0
- package/dist/components/field-tree.js +204 -0
- package/dist/components/field-tree.js.map +1 -0
- package/dist/components/fragment-editor.d.ts +28 -0
- package/dist/components/fragment-editor.js +154 -0
- package/dist/components/fragment-editor.js.map +1 -0
- package/dist/components/fragment-section.d.ts +23 -0
- package/dist/components/fragment-section.js +207 -0
- package/dist/components/fragment-section.js.map +1 -0
- package/dist/components/query-builder.d.ts +2 -0
- package/dist/components/query-builder.js +193 -0
- package/dist/components/query-builder.js.map +1 -0
- package/dist/components/type-condition-selector.d.ts +18 -0
- package/dist/components/type-condition-selector.js +472 -0
- package/dist/components/type-condition-selector.js.map +1 -0
- package/dist/components/use-cursor-path.d.ts +16 -0
- package/dist/components/use-cursor-path.js +79 -0
- package/dist/components/use-cursor-path.js.map +1 -0
- package/dist/components/use-cursor-reveal.d.ts +15 -0
- package/dist/components/use-cursor-reveal.js +92 -0
- package/dist/components/use-cursor-reveal.js.map +1 -0
- package/dist/components/use-working-document.d.ts +31 -0
- package/dist/components/use-working-document.js +548 -0
- package/dist/components/use-working-document.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/arg-value.d.ts +42 -0
- package/dist/lib/arg-value.js +147 -0
- package/dist/lib/arg-value.js.map +1 -0
- package/dist/lib/arguments.d.ts +28 -0
- package/dist/lib/arguments.js +62 -0
- package/dist/lib/arguments.js.map +1 -0
- package/dist/lib/ast-path.d.ts +109 -0
- package/dist/lib/ast-path.js +330 -0
- package/dist/lib/ast-path.js.map +1 -0
- package/dist/lib/document-mutator.d.ts +8 -0
- package/dist/lib/field-list-view.d.ts +30 -0
- package/dist/lib/field-list-view.js +47 -0
- package/dist/lib/field-list-view.js.map +1 -0
- package/dist/lib/field-selection.d.ts +26 -0
- package/dist/lib/field-selection.js +76 -0
- package/dist/lib/field-selection.js.map +1 -0
- package/dist/lib/fragments.d.ts +63 -0
- package/dist/lib/fragments.js +165 -0
- package/dist/lib/fragments.js.map +1 -0
- package/dist/lib/inline-fragments.d.ts +26 -0
- package/dist/lib/inline-fragments.js +71 -0
- package/dist/lib/inline-fragments.js.map +1 -0
- package/dist/lib/schema-walk.d.ts +47 -0
- package/dist/lib/schema-walk.js +177 -0
- package/dist/lib/schema-walk.js.map +1 -0
- package/dist/lib/variables.d.ts +33 -0
- package/dist/lib/variables.js +100 -0
- package/dist/lib/variables.js.map +1 -0
- package/dist/stories/query-builder.stories.d.ts +43 -0
- package/dist/style.css +957 -0
- package/package.json +67 -1
package/package.json
CHANGED
|
@@ -1,4 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphiql/plugin-query-builder",
|
|
3
|
-
"version": "0.0.0"
|
|
3
|
+
"version": "1.0.0-beta.0",
|
|
4
|
+
"sideEffects": [
|
|
5
|
+
"*.css"
|
|
6
|
+
],
|
|
7
|
+
"description": "A first-party visual query builder plugin for GraphiQL.",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/graphql/graphiql",
|
|
11
|
+
"directory": "packages/graphiql-plugin-query-builder"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-query-builder#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-query-builder"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"exports": {
|
|
19
|
+
"./package.json": "./package.json",
|
|
20
|
+
"./style.css": "./dist/style.css",
|
|
21
|
+
".": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
24
|
+
"keywords": [
|
|
25
|
+
"react",
|
|
26
|
+
"graphql",
|
|
27
|
+
"graphiql",
|
|
28
|
+
"plugin",
|
|
29
|
+
"query",
|
|
30
|
+
"builder"
|
|
31
|
+
],
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"types:check": "tsgo --noEmit",
|
|
37
|
+
"dev": "vite build --watch --emptyOutDir=false",
|
|
38
|
+
"build": "vite build",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"storybook": "storybook dev -p 6007",
|
|
41
|
+
"build-storybook": "storybook build"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@graphiql/react": "^1.0.0-beta.0",
|
|
45
|
+
"graphql": "^15.5.0 || ^16.0.0 || ^17.0.0",
|
|
46
|
+
"react": "^18 || ^19",
|
|
47
|
+
"react-dom": "^18 || ^19"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"react-compiler-runtime": "19.1.0-rc.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@graphiql/react": "^1.0.0-beta.0",
|
|
54
|
+
"@storybook/addon-a11y": "^10.3.6",
|
|
55
|
+
"@storybook/addon-vitest": "^10.3.6",
|
|
56
|
+
"@storybook/react-vite": "^10.3.6",
|
|
57
|
+
"@testing-library/dom": "^10.4.0",
|
|
58
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
59
|
+
"@testing-library/react": "^16.3.0",
|
|
60
|
+
"@testing-library/user-event": "^14.6.1",
|
|
61
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
62
|
+
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
63
|
+
"graphql": "^16.9.0",
|
|
64
|
+
"react": "^19.1.0",
|
|
65
|
+
"react-dom": "^19.1.0",
|
|
66
|
+
"storybook": "^10.3.6",
|
|
67
|
+
"vite": "^6.3.4",
|
|
68
|
+
"vite-plugin-dts": "^4.5.3"
|
|
69
|
+
}
|
|
4
70
|
}
|