@graphiql/plugin-doc-explorer 1.0.0-beta.1 → 1.0.0-beta.2

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 (47) hide show
  1. package/LICENSE +21 -0
  2. package/dist/components/argument.js +88 -92
  3. package/dist/components/argument.js.map +1 -1
  4. package/dist/components/arguments-list.js +226 -237
  5. package/dist/components/arguments-list.js.map +1 -1
  6. package/dist/components/breadcrumb.js +59 -52
  7. package/dist/components/breadcrumb.js.map +1 -1
  8. package/dist/components/default-value.js +63 -74
  9. package/dist/components/default-value.js.map +1 -1
  10. package/dist/components/deprecation-reason.js +27 -21
  11. package/dist/components/deprecation-reason.js.map +1 -1
  12. package/dist/components/directive.js +20 -23
  13. package/dist/components/directive.js.map +1 -1
  14. package/dist/components/doc-explorer.js +219 -259
  15. package/dist/components/doc-explorer.js.map +1 -1
  16. package/dist/components/field-card.js +103 -97
  17. package/dist/components/field-card.js.map +1 -1
  18. package/dist/components/field-documentation.js +118 -135
  19. package/dist/components/field-documentation.js.map +1 -1
  20. package/dist/components/field-link.js +37 -39
  21. package/dist/components/field-link.js.map +1 -1
  22. package/dist/components/fields-list.js +216 -226
  23. package/dist/components/fields-list.js.map +1 -1
  24. package/dist/components/schema-documentation.js +263 -224
  25. package/dist/components/schema-documentation.js.map +1 -1
  26. package/dist/components/search-row.js +287 -268
  27. package/dist/components/search-row.js.map +1 -1
  28. package/dist/components/search.js +342 -345
  29. package/dist/components/search.js.map +1 -1
  30. package/dist/components/section.js +59 -69
  31. package/dist/components/section.js.map +1 -1
  32. package/dist/components/type-card.js +104 -107
  33. package/dist/components/type-card.js.map +1 -1
  34. package/dist/components/type-documentation.js +340 -363
  35. package/dist/components/type-documentation.js.map +1 -1
  36. package/dist/components/type-link.js +38 -39
  37. package/dist/components/type-link.js.map +1 -1
  38. package/dist/components/utils.js +15 -20
  39. package/dist/components/utils.js.map +1 -1
  40. package/dist/context.js +205 -285
  41. package/dist/context.js.map +1 -1
  42. package/dist/index.js +7 -31
  43. package/dist/schema-reference.js +48 -54
  44. package/dist/schema-reference.js.map +1 -1
  45. package/dist/style.css +24 -28
  46. package/package.json +25 -19
  47. package/dist/index.js.map +0 -1
@@ -1,248 +1,237 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c } from "react-compiler-runtime";
3
- import { useState } from "react";
4
- import { astFromValue, print } from "graphql";
5
- import { ChevronDownIcon, ChevronUpIcon, Button } from "@graphiql/react";
6
- import { DeprecationReason } from "./deprecation-reason.js";
7
- import { TypeLink } from "./type-link.js";
8
1
  import { renderType } from "./utils.js";
2
+ import { TypeLink } from "./type-link.js";
3
+ import { DeprecationReason } from "./deprecation-reason.js";
9
4
  /* empty css */
10
- const ArgumentsList = (t0) => {
11
- const $ = c(18);
12
- const {
13
- title,
14
- args
15
- } = t0;
16
- const [expanded, setExpanded] = useState(true);
17
- if (args.length === 0) {
18
- return null;
19
- }
20
- let t1;
21
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
22
- t1 = () => setExpanded(_temp);
23
- $[0] = t1;
24
- } else {
25
- t1 = $[0];
26
- }
27
- let t2;
28
- if ($[1] !== expanded) {
29
- t2 = expanded ? /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(ChevronUpIcon, { "aria-hidden": "true" });
30
- $[1] = expanded;
31
- $[2] = t2;
32
- } else {
33
- t2 = $[2];
34
- }
35
- let t3;
36
- if ($[3] !== args.length) {
37
- t3 = /* @__PURE__ */ jsxs("span", { className: "graphiql-doc-explorer-arguments-list-count", children: [
38
- "· ",
39
- args.length
40
- ] });
41
- $[3] = args.length;
42
- $[4] = t3;
43
- } else {
44
- t3 = $[4];
45
- }
46
- let t4;
47
- if ($[5] !== t3 || $[6] !== title) {
48
- t4 = /* @__PURE__ */ jsxs("span", { children: [
49
- title,
50
- " ",
51
- t3
52
- ] });
53
- $[5] = t3;
54
- $[6] = title;
55
- $[7] = t4;
56
- } else {
57
- t4 = $[7];
58
- }
59
- let t5;
60
- if ($[8] !== expanded || $[9] !== t2 || $[10] !== t4) {
61
- t5 = /* @__PURE__ */ jsxs("button", { type: "button", className: "graphiql-doc-explorer-arguments-list-header", onClick: t1, "aria-expanded": expanded, children: [
62
- t2,
63
- t4
64
- ] });
65
- $[8] = expanded;
66
- $[9] = t2;
67
- $[10] = t4;
68
- $[11] = t5;
69
- } else {
70
- t5 = $[11];
71
- }
72
- let t6;
73
- if ($[12] !== args || $[13] !== expanded) {
74
- t6 = expanded && /* @__PURE__ */ jsx("div", { className: "graphiql-doc-explorer-arguments-list-body", children: args.map(_temp2) });
75
- $[12] = args;
76
- $[13] = expanded;
77
- $[14] = t6;
78
- } else {
79
- t6 = $[14];
80
- }
81
- let t7;
82
- if ($[15] !== t5 || $[16] !== t6) {
83
- t7 = /* @__PURE__ */ jsxs("div", { className: "graphiql-doc-explorer-arguments-list", children: [
84
- t5,
85
- t6
86
- ] });
87
- $[15] = t5;
88
- $[16] = t6;
89
- $[17] = t7;
90
- } else {
91
- t7 = $[17];
92
- }
93
- return t7;
5
+ import { c } from "react-compiler-runtime";
6
+ import { Button, ChevronDownIcon, ChevronUpIcon } from "@graphiql/react";
7
+ import { astFromValue, print } from "graphql";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ import { useState } from "react";
10
+ //#region src/components/arguments-list.tsx
11
+ var ArgumentsList = (t0) => {
12
+ const $ = c(18);
13
+ const { title, args } = t0;
14
+ const [expanded, setExpanded] = useState(true);
15
+ if (args.length === 0) return null;
16
+ let t1;
17
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
18
+ t1 = () => setExpanded(_temp);
19
+ $[0] = t1;
20
+ } else t1 = $[0];
21
+ let t2;
22
+ if ($[1] !== expanded) {
23
+ t2 = expanded ? /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(ChevronUpIcon, { "aria-hidden": "true" });
24
+ $[1] = expanded;
25
+ $[2] = t2;
26
+ } else t2 = $[2];
27
+ let t3;
28
+ if ($[3] !== args.length) {
29
+ t3 = /* @__PURE__ */ jsxs("span", {
30
+ className: "graphiql-doc-explorer-arguments-list-count",
31
+ children: ["· ", args.length]
32
+ });
33
+ $[3] = args.length;
34
+ $[4] = t3;
35
+ } else t3 = $[4];
36
+ let t4;
37
+ if ($[5] !== t3 || $[6] !== title) {
38
+ t4 = /* @__PURE__ */ jsxs("span", { children: [
39
+ title,
40
+ " ",
41
+ t3
42
+ ] });
43
+ $[5] = t3;
44
+ $[6] = title;
45
+ $[7] = t4;
46
+ } else t4 = $[7];
47
+ let t5;
48
+ if ($[8] !== expanded || $[9] !== t2 || $[10] !== t4) {
49
+ t5 = /* @__PURE__ */ jsxs("button", {
50
+ type: "button",
51
+ className: "graphiql-doc-explorer-arguments-list-header",
52
+ onClick: t1,
53
+ "aria-expanded": expanded,
54
+ children: [t2, t4]
55
+ });
56
+ $[8] = expanded;
57
+ $[9] = t2;
58
+ $[10] = t4;
59
+ $[11] = t5;
60
+ } else t5 = $[11];
61
+ let t6;
62
+ if ($[12] !== args || $[13] !== expanded) {
63
+ t6 = expanded && /* @__PURE__ */ jsx("div", {
64
+ className: "graphiql-doc-explorer-arguments-list-body",
65
+ children: args.map(_temp2)
66
+ });
67
+ $[12] = args;
68
+ $[13] = expanded;
69
+ $[14] = t6;
70
+ } else t6 = $[14];
71
+ let t7;
72
+ if ($[15] !== t5 || $[16] !== t6) {
73
+ t7 = /* @__PURE__ */ jsxs("div", {
74
+ className: "graphiql-doc-explorer-arguments-list",
75
+ children: [t5, t6]
76
+ });
77
+ $[15] = t5;
78
+ $[16] = t6;
79
+ $[17] = t7;
80
+ } else t7 = $[17];
81
+ return t7;
94
82
  };
95
- const ShowDeprecatedArgumentsButton = (t0) => {
96
- const $ = c(2);
97
- const {
98
- onClick
99
- } = t0;
100
- let t1;
101
- if ($[0] !== onClick) {
102
- t1 = /* @__PURE__ */ jsx(Button, { type: "button", onClick, className: "graphiql-doc-explorer-arguments-list-show-deprecated", children: "Show Deprecated Arguments" });
103
- $[0] = onClick;
104
- $[1] = t1;
105
- } else {
106
- t1 = $[1];
107
- }
108
- return t1;
83
+ var ShowDeprecatedArgumentsButton = (t0) => {
84
+ const $ = c(2);
85
+ const { onClick } = t0;
86
+ let t1;
87
+ if ($[0] !== onClick) {
88
+ t1 = /* @__PURE__ */ jsx(Button, {
89
+ type: "button",
90
+ onClick,
91
+ className: "graphiql-doc-explorer-arguments-list-show-deprecated",
92
+ children: "Show Deprecated Arguments"
93
+ });
94
+ $[0] = onClick;
95
+ $[1] = t1;
96
+ } else t1 = $[1];
97
+ return t1;
109
98
  };
110
- const ArgumentRow = (t0) => {
111
- const $ = c(34);
112
- const {
113
- arg
114
- } = t0;
115
- let t1;
116
- let t2;
117
- let t3;
118
- let t4;
119
- let t5;
120
- let t6;
121
- if ($[0] !== arg.defaultValue || $[1] !== arg.deprecationReason || $[2] !== arg.name || $[3] !== arg.type) {
122
- const defaultAst = arg.defaultValue === void 0 ? null : astFromValue(arg.defaultValue, arg.type);
123
- const isDeprecated = Boolean(arg.deprecationReason);
124
- const t72 = isDeprecated ? "graphiql-doc-explorer-argument--deprecated" : "";
125
- let t82;
126
- if ($[10] !== t72) {
127
- t82 = ["graphiql-doc-explorer-argument", t72].filter(Boolean);
128
- $[10] = t72;
129
- $[11] = t82;
130
- } else {
131
- t82 = $[11];
132
- }
133
- t6 = t82.join(" ");
134
- t1 = "graphiql-doc-explorer-argument-sig";
135
- if ($[12] !== arg.name) {
136
- t2 = /* @__PURE__ */ jsx("span", { className: "graphiql-doc-explorer-argument-name", children: arg.name });
137
- $[12] = arg.name;
138
- $[13] = t2;
139
- } else {
140
- t2 = $[13];
141
- }
142
- if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
143
- t3 = /* @__PURE__ */ jsx("span", { className: "graphiql-doc-explorer-argument-colon", "aria-hidden": "true", children: ":" });
144
- $[14] = t3;
145
- } else {
146
- t3 = $[14];
147
- }
148
- let t92;
149
- if ($[15] !== arg.type) {
150
- t92 = renderType(arg.type, _temp3);
151
- $[15] = arg.type;
152
- $[16] = t92;
153
- } else {
154
- t92 = $[16];
155
- }
156
- if ($[17] !== t92) {
157
- t4 = /* @__PURE__ */ jsx("span", { className: "graphiql-doc-explorer-argument-type", children: t92 });
158
- $[17] = t92;
159
- $[18] = t4;
160
- } else {
161
- t4 = $[18];
162
- }
163
- t5 = defaultAst && /* @__PURE__ */ jsxs("span", { className: "graphiql-doc-explorer-argument-default", children: [
164
- "= ",
165
- print(defaultAst)
166
- ] });
167
- $[0] = arg.defaultValue;
168
- $[1] = arg.deprecationReason;
169
- $[2] = arg.name;
170
- $[3] = arg.type;
171
- $[4] = t1;
172
- $[5] = t2;
173
- $[6] = t3;
174
- $[7] = t4;
175
- $[8] = t5;
176
- $[9] = t6;
177
- } else {
178
- t1 = $[4];
179
- t2 = $[5];
180
- t3 = $[6];
181
- t4 = $[7];
182
- t5 = $[8];
183
- t6 = $[9];
184
- }
185
- let t7;
186
- if ($[19] !== t1 || $[20] !== t2 || $[21] !== t3 || $[22] !== t4 || $[23] !== t5) {
187
- t7 = /* @__PURE__ */ jsxs("div", { className: t1, children: [
188
- t2,
189
- t3,
190
- t4,
191
- t5
192
- ] });
193
- $[19] = t1;
194
- $[20] = t2;
195
- $[21] = t3;
196
- $[22] = t4;
197
- $[23] = t5;
198
- $[24] = t7;
199
- } else {
200
- t7 = $[24];
201
- }
202
- let t8;
203
- if ($[25] !== arg.description) {
204
- t8 = arg.description && /* @__PURE__ */ jsx("div", { className: "graphiql-doc-explorer-argument-desc", children: arg.description });
205
- $[25] = arg.description;
206
- $[26] = t8;
207
- } else {
208
- t8 = $[26];
209
- }
210
- let t9;
211
- if ($[27] !== arg.deprecationReason) {
212
- t9 = arg.deprecationReason ? /* @__PURE__ */ jsx(DeprecationReason, { preview: false, children: arg.deprecationReason }) : null;
213
- $[27] = arg.deprecationReason;
214
- $[28] = t9;
215
- } else {
216
- t9 = $[28];
217
- }
218
- let t10;
219
- if ($[29] !== t6 || $[30] !== t7 || $[31] !== t8 || $[32] !== t9) {
220
- t10 = /* @__PURE__ */ jsxs("div", { className: t6, children: [
221
- t7,
222
- t8,
223
- t9
224
- ] });
225
- $[29] = t6;
226
- $[30] = t7;
227
- $[31] = t8;
228
- $[32] = t9;
229
- $[33] = t10;
230
- } else {
231
- t10 = $[33];
232
- }
233
- return t10;
99
+ var ArgumentRow = (t0) => {
100
+ const $ = c(34);
101
+ const { arg } = t0;
102
+ let t1;
103
+ let t2;
104
+ let t3;
105
+ let t4;
106
+ let t5;
107
+ let t6;
108
+ if ($[0] !== arg.defaultValue || $[1] !== arg.deprecationReason || $[2] !== arg.name || $[3] !== arg.type) {
109
+ const defaultAst = arg.defaultValue === void 0 ? null : astFromValue(arg.defaultValue, arg.type);
110
+ const t7 = Boolean(arg.deprecationReason) ? "graphiql-doc-explorer-argument--deprecated" : "";
111
+ let t8;
112
+ if ($[10] !== t7) {
113
+ t8 = ["graphiql-doc-explorer-argument", t7].filter(Boolean);
114
+ $[10] = t7;
115
+ $[11] = t8;
116
+ } else t8 = $[11];
117
+ t6 = t8.join(" ");
118
+ t1 = "graphiql-doc-explorer-argument-sig";
119
+ if ($[12] !== arg.name) {
120
+ t2 = /* @__PURE__ */ jsx("span", {
121
+ className: "graphiql-doc-explorer-argument-name",
122
+ children: arg.name
123
+ });
124
+ $[12] = arg.name;
125
+ $[13] = t2;
126
+ } else t2 = $[13];
127
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
128
+ t3 = /* @__PURE__ */ jsx("span", {
129
+ className: "graphiql-doc-explorer-argument-colon",
130
+ "aria-hidden": "true",
131
+ children: ":"
132
+ });
133
+ $[14] = t3;
134
+ } else t3 = $[14];
135
+ let t9;
136
+ if ($[15] !== arg.type) {
137
+ t9 = renderType(arg.type, _temp3);
138
+ $[15] = arg.type;
139
+ $[16] = t9;
140
+ } else t9 = $[16];
141
+ if ($[17] !== t9) {
142
+ t4 = /* @__PURE__ */ jsx("span", {
143
+ className: "graphiql-doc-explorer-argument-type",
144
+ children: t9
145
+ });
146
+ $[17] = t9;
147
+ $[18] = t4;
148
+ } else t4 = $[18];
149
+ t5 = defaultAst && /* @__PURE__ */ jsxs("span", {
150
+ className: "graphiql-doc-explorer-argument-default",
151
+ children: ["= ", print(defaultAst)]
152
+ });
153
+ $[0] = arg.defaultValue;
154
+ $[1] = arg.deprecationReason;
155
+ $[2] = arg.name;
156
+ $[3] = arg.type;
157
+ $[4] = t1;
158
+ $[5] = t2;
159
+ $[6] = t3;
160
+ $[7] = t4;
161
+ $[8] = t5;
162
+ $[9] = t6;
163
+ } else {
164
+ t1 = $[4];
165
+ t2 = $[5];
166
+ t3 = $[6];
167
+ t4 = $[7];
168
+ t5 = $[8];
169
+ t6 = $[9];
170
+ }
171
+ let t7;
172
+ if ($[19] !== t1 || $[20] !== t2 || $[21] !== t3 || $[22] !== t4 || $[23] !== t5) {
173
+ t7 = /* @__PURE__ */ jsxs("div", {
174
+ className: t1,
175
+ children: [
176
+ t2,
177
+ t3,
178
+ t4,
179
+ t5
180
+ ]
181
+ });
182
+ $[19] = t1;
183
+ $[20] = t2;
184
+ $[21] = t3;
185
+ $[22] = t4;
186
+ $[23] = t5;
187
+ $[24] = t7;
188
+ } else t7 = $[24];
189
+ let t8;
190
+ if ($[25] !== arg.description) {
191
+ t8 = arg.description && /* @__PURE__ */ jsx("div", {
192
+ className: "graphiql-doc-explorer-argument-desc",
193
+ children: arg.description
194
+ });
195
+ $[25] = arg.description;
196
+ $[26] = t8;
197
+ } else t8 = $[26];
198
+ let t9;
199
+ if ($[27] !== arg.deprecationReason) {
200
+ t9 = arg.deprecationReason ? /* @__PURE__ */ jsx(DeprecationReason, {
201
+ preview: false,
202
+ children: arg.deprecationReason
203
+ }) : null;
204
+ $[27] = arg.deprecationReason;
205
+ $[28] = t9;
206
+ } else t9 = $[28];
207
+ let t10;
208
+ if ($[29] !== t6 || $[30] !== t7 || $[31] !== t8 || $[32] !== t9) {
209
+ t10 = /* @__PURE__ */ jsxs("div", {
210
+ className: t6,
211
+ children: [
212
+ t7,
213
+ t8,
214
+ t9
215
+ ]
216
+ });
217
+ $[29] = t6;
218
+ $[30] = t7;
219
+ $[31] = t8;
220
+ $[32] = t9;
221
+ $[33] = t10;
222
+ } else t10 = $[33];
223
+ return t10;
234
224
  };
235
225
  function _temp(e) {
236
- return !e;
226
+ return !e;
237
227
  }
238
228
  function _temp2(arg) {
239
- return /* @__PURE__ */ jsx(ArgumentRow, { arg }, arg.name);
229
+ return /* @__PURE__ */ jsx(ArgumentRow, { arg }, arg.name);
240
230
  }
241
231
  function _temp3(namedType) {
242
- return /* @__PURE__ */ jsx(TypeLink, { type: namedType });
232
+ return /* @__PURE__ */ jsx(TypeLink, { type: namedType });
243
233
  }
244
- export {
245
- ArgumentsList,
246
- ShowDeprecatedArgumentsButton
247
- };
248
- //# sourceMappingURL=arguments-list.js.map
234
+ //#endregion
235
+ export { ArgumentsList, ShowDeprecatedArgumentsButton };
236
+
237
+ //# sourceMappingURL=arguments-list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"arguments-list.js","sources":["../../src/components/arguments-list.tsx"],"sourcesContent":["import { FC, useState } from 'react';\nimport { astFromValue, print, type GraphQLArgument } from 'graphql';\nimport { Button, ChevronDownIcon, ChevronUpIcon } from '@graphiql/react';\nimport { DeprecationReason } from './deprecation-reason';\nimport { TypeLink } from './type-link';\nimport { renderType } from './utils';\nimport './arguments-list.css';\n\ntype ArgumentsListProps = {\n title: 'ARGUMENTS' | 'DEPRECATED ARGUMENTS';\n args: GraphQLArgument[];\n};\n\nexport const ArgumentsList: FC<ArgumentsListProps> = ({ title, args }) => {\n const [expanded, setExpanded] = useState(true);\n\n if (args.length === 0) {\n return null;\n }\n\n return (\n <div className=\"graphiql-doc-explorer-arguments-list\">\n <button\n type=\"button\"\n className=\"graphiql-doc-explorer-arguments-list-header\"\n onClick={() => setExpanded(e => !e)}\n aria-expanded={expanded}\n >\n {expanded ? (\n <ChevronDownIcon aria-hidden=\"true\" />\n ) : (\n <ChevronUpIcon aria-hidden=\"true\" />\n )}\n <span>\n {title}{' '}\n <span className=\"graphiql-doc-explorer-arguments-list-count\">\n · {args.length}\n </span>\n </span>\n </button>\n {expanded && (\n <div className=\"graphiql-doc-explorer-arguments-list-body\">\n {args.map(arg => (\n <ArgumentRow key={arg.name} arg={arg} />\n ))}\n </div>\n )}\n </div>\n );\n};\n\ntype ShowDeprecatedArgumentsButtonProps = {\n onClick: () => void;\n};\n\nexport const ShowDeprecatedArgumentsButton: FC<\n ShowDeprecatedArgumentsButtonProps\n> = ({ onClick }) => (\n <Button\n type=\"button\"\n onClick={onClick}\n className=\"graphiql-doc-explorer-arguments-list-show-deprecated\"\n >\n Show Deprecated Arguments\n </Button>\n);\n\ntype ArgumentRowProps = {\n arg: GraphQLArgument;\n};\n\nconst ArgumentRow: FC<ArgumentRowProps> = ({ arg }) => {\n const defaultAst =\n arg.defaultValue === undefined\n ? null\n : astFromValue(arg.defaultValue, arg.type);\n const isDeprecated = Boolean(arg.deprecationReason);\n\n return (\n <div\n className={[\n 'graphiql-doc-explorer-argument',\n isDeprecated ? 'graphiql-doc-explorer-argument--deprecated' : '',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n <div className=\"graphiql-doc-explorer-argument-sig\">\n <span className=\"graphiql-doc-explorer-argument-name\">{arg.name}</span>\n <span\n className=\"graphiql-doc-explorer-argument-colon\"\n aria-hidden=\"true\"\n >\n :\n </span>\n <span className=\"graphiql-doc-explorer-argument-type\">\n {renderType(arg.type, namedType => (\n <TypeLink type={namedType} />\n ))}\n </span>\n {defaultAst && (\n <span className=\"graphiql-doc-explorer-argument-default\">\n = {print(defaultAst)}\n </span>\n )}\n </div>\n {arg.description && (\n <div className=\"graphiql-doc-explorer-argument-desc\">\n {arg.description}\n </div>\n )}\n {arg.deprecationReason ? (\n <DeprecationReason preview={false}>\n {arg.deprecationReason}\n </DeprecationReason>\n ) : null}\n </div>\n );\n};\n"],"names":["ArgumentsList","t0","$","_c","title","args","expanded","setExpanded","useState","length","t1","Symbol","for","_temp","t2","t3","t4","t5","t6","map","_temp2","t7","ShowDeprecatedArgumentsButton","onClick","ArgumentRow","arg","defaultValue","deprecationReason","name","type","defaultAst","undefined","astFromValue","isDeprecated","Boolean","t8","filter","join","t9","renderType","_temp3","print","description","t10","e","namedType"],"mappings":";;;;;;;;;AAaO,MAAMA,gBAAwCC,CAAA,OAAA;AAAAC,QAAAA,IAAAC,EAAA,EAAA;AAAC,QAAA;AAAA,IAAAC;AAAAA,IAAAC;AAAAA,EAAAA,IAAAJ;AACpD,QAAA,CAAAK,UAAAC,WAAA,IAAgCC,aAAa;AAEzCH,MAAAA,KAAII,WAAa,GAAA;AAAA,WAAA;AAAA,EAAA;AAAAC,MAAAA;AAAA,MAAAR,EAAA,CAAA,MAAAS,OAAAC,IAAA,2BAAA,GAAA;AASNF,SAAAA,MAAMH,YAAWM,KAAQ;AAACX,WAAAQ;AAAAA,EAAAA,OAAA;AAAAA,SAAAR,EAAA,CAAA;AAAA,EAAA;AAAAY,MAAAA;AAAAZ,MAAAA,SAAAI,UAAA;AAGlCA,SAAAA,+BACE,iBAA4B,EAAA,eAAA,QAAM,IAEnC,oBAAC,eAA0B,EAAA,eAAA,OAC5B,CAAA;AAAAJ,WAAAI;AAAAJ,WAAAY;AAAAA,EAAAA,OAAA;AAAAA,SAAAZ,EAAA,CAAA;AAAA,EAAA;AAAAa,MAAAA;AAAA,MAAAb,EAAA,CAAA,MAAAG,KAAAI,QAAA;AAKQ,SAAA,qBAAA,QAFS,EAAA,WAAA,8CAA6C,UAAA;AAAA,MAAA;AAAA,MACxDJ,KAAII;AAAAA,IAAAA,GACT;AAAO,MAAA,CAAA,IAAAJ,KAAAI;AAAAP,WAAAa;AAAAA,EAAAA,OAAA;AAAAA,SAAAb,EAAA,CAAA;AAAA,EAAA;AAAAc,MAAAA;AAAA,MAAAd,EAAAa,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;AAqCM;AAvG2C,SAAA9B,MAAA+B,GAAA;AAAA,SAAA,CAYZA;AAAC;AAZW,SAAAxB,OAAAK,KAAA;AAAA,SA8BxC,oBAAA,aAAA,EAAgCA,IAAfA,GAAAA,IAAGG,IAAmB;AAAA;AA4BV,SAAAY,OAAAK,WAAA;AA0B9B,SAAA,oBAAC,UAAeA,EAAAA,MAAAA,UAAa,CAAA;AAAA;"}
1
+ {"version":3,"file":"arguments-list.js","names":["FC","useState","astFromValue","print","GraphQLArgument","Button","ChevronDownIcon","ChevronUpIcon","DeprecationReason","TypeLink","renderType","ArgumentsListProps","title","args","ArgumentsList","t0","$","_c","expanded","setExpanded","length","t1","Symbol","for","_temp","t2","t3","t4","t5","t6","map","_temp2","t7","ShowDeprecatedArgumentsButtonProps","onClick","ShowDeprecatedArgumentsButton","ArgumentRowProps","arg","ArgumentRow","defaultValue","deprecationReason","name","type","defaultAst","undefined","isDeprecated","Boolean","t8","filter","join","t9","_temp3","description","t10","e","namedType"],"sources":["../../src/components/arguments-list.tsx"],"sourcesContent":["import { FC, useState } from 'react';\nimport { astFromValue, print, type GraphQLArgument } from 'graphql';\nimport { Button, ChevronDownIcon, ChevronUpIcon } from '@graphiql/react';\nimport { DeprecationReason } from './deprecation-reason';\nimport { TypeLink } from './type-link';\nimport { renderType } from './utils';\nimport './arguments-list.css';\n\ntype ArgumentsListProps = {\n title: 'ARGUMENTS' | 'DEPRECATED ARGUMENTS';\n args: GraphQLArgument[];\n};\n\nexport const ArgumentsList: FC<ArgumentsListProps> = ({ title, args }) => {\n const [expanded, setExpanded] = useState(true);\n\n if (args.length === 0) {\n return null;\n }\n\n return (\n <div className=\"graphiql-doc-explorer-arguments-list\">\n <button\n type=\"button\"\n className=\"graphiql-doc-explorer-arguments-list-header\"\n onClick={() => setExpanded(e => !e)}\n aria-expanded={expanded}\n >\n {expanded ? (\n <ChevronDownIcon aria-hidden=\"true\" />\n ) : (\n <ChevronUpIcon aria-hidden=\"true\" />\n )}\n <span>\n {title}{' '}\n <span className=\"graphiql-doc-explorer-arguments-list-count\">\n · {args.length}\n </span>\n </span>\n </button>\n {expanded && (\n <div className=\"graphiql-doc-explorer-arguments-list-body\">\n {args.map(arg => (\n <ArgumentRow key={arg.name} arg={arg} />\n ))}\n </div>\n )}\n </div>\n );\n};\n\ntype ShowDeprecatedArgumentsButtonProps = {\n onClick: () => void;\n};\n\nexport const ShowDeprecatedArgumentsButton: FC<\n ShowDeprecatedArgumentsButtonProps\n> = ({ onClick }) => (\n <Button\n type=\"button\"\n onClick={onClick}\n className=\"graphiql-doc-explorer-arguments-list-show-deprecated\"\n >\n Show Deprecated Arguments\n </Button>\n);\n\ntype ArgumentRowProps = {\n arg: GraphQLArgument;\n};\n\nconst ArgumentRow: FC<ArgumentRowProps> = ({ arg }) => {\n const defaultAst =\n arg.defaultValue === undefined\n ? null\n : astFromValue(arg.defaultValue, arg.type);\n const isDeprecated = Boolean(arg.deprecationReason);\n\n return (\n <div\n className={[\n 'graphiql-doc-explorer-argument',\n isDeprecated ? 'graphiql-doc-explorer-argument--deprecated' : '',\n ]\n .filter(Boolean)\n .join(' ')}\n >\n <div className=\"graphiql-doc-explorer-argument-sig\">\n <span className=\"graphiql-doc-explorer-argument-name\">{arg.name}</span>\n <span\n className=\"graphiql-doc-explorer-argument-colon\"\n aria-hidden=\"true\"\n >\n :\n </span>\n <span className=\"graphiql-doc-explorer-argument-type\">\n {renderType(arg.type, namedType => (\n <TypeLink type={namedType} />\n ))}\n </span>\n {defaultAst && (\n <span className=\"graphiql-doc-explorer-argument-default\">\n = {print(defaultAst)}\n </span>\n )}\n </div>\n {arg.description && (\n <div className=\"graphiql-doc-explorer-argument-desc\">\n {arg.description}\n </div>\n )}\n {arg.deprecationReason ? (\n <DeprecationReason preview={false}>\n {arg.deprecationReason}\n </DeprecationReason>\n ) : null}\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;AAaA,IAAac,iBAAwCC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA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