@storybook/react 7.3.2 → 7.4.0-alpha.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.
Files changed (150) hide show
  1. package/package.json +10 -9
  2. package/src/__test__/README.md +0 -3
  3. package/src/typings.d.ts +0 -48
  4. package/template/components/Button.jsx +0 -13
  5. package/template/components/Form.jsx +0 -36
  6. package/template/components/Html.jsx +0 -9
  7. package/template/components/Pre.jsx +0 -20
  8. package/template/stories/decorators.stories.tsx +0 -48
  9. package/template/stories/docgen-components/10017-ts-union/argTypes.snapshot +0 -36
  10. package/template/stories/docgen-components/10017-ts-union/docgen.snapshot +0 -34
  11. package/template/stories/docgen-components/10017-ts-union/input.tsx +0 -12
  12. package/template/stories/docgen-components/10017-ts-union/properties.snapshot +0 -32
  13. package/template/stories/docgen-components/10278-ts-multiple-components/argTypes.snapshot +0 -26
  14. package/template/stories/docgen-components/10278-ts-multiple-components/docgen.snapshot +0 -49
  15. package/template/stories/docgen-components/10278-ts-multiple-components/input.tsx +0 -27
  16. package/template/stories/docgen-components/10278-ts-multiple-components/properties.snapshot +0 -22
  17. package/template/stories/docgen-components/8140-js-prop-types-oneof/argTypes.snapshot +0 -127
  18. package/template/stories/docgen-components/8140-js-prop-types-oneof/docgen.snapshot +0 -97
  19. package/template/stories/docgen-components/8140-js-prop-types-oneof/input.jsx +0 -27
  20. package/template/stories/docgen-components/8140-js-prop-types-oneof/properties.snapshot +0 -89
  21. package/template/stories/docgen-components/8143-ts-imported-types/argTypes.snapshot +0 -27
  22. package/template/stories/docgen-components/8143-ts-imported-types/docgen.snapshot +0 -22
  23. package/template/stories/docgen-components/8143-ts-imported-types/input.tsx +0 -10
  24. package/template/stories/docgen-components/8143-ts-imported-types/properties.snapshot +0 -23
  25. package/template/stories/docgen-components/8143-ts-imported-types/types.ts +0 -3
  26. package/template/stories/docgen-components/8143-ts-react-fc-generics/argTypes.snapshot +0 -27
  27. package/template/stories/docgen-components/8143-ts-react-fc-generics/docgen.snapshot +0 -24
  28. package/template/stories/docgen-components/8143-ts-react-fc-generics/input.tsx +0 -10
  29. package/template/stories/docgen-components/8143-ts-react-fc-generics/properties.snapshot +0 -21
  30. package/template/stories/docgen-components/8428-js-static-prop-types/argTypes.snapshot +0 -25
  31. package/template/stories/docgen-components/8428-js-static-prop-types/docgen.snapshot +0 -39
  32. package/template/stories/docgen-components/8428-js-static-prop-types/input.jsx +0 -20
  33. package/template/stories/docgen-components/8428-js-static-prop-types/properties.snapshot +0 -21
  34. package/template/stories/docgen-components/8740-ts-multi-props/argTypes.snapshot +0 -27
  35. package/template/stories/docgen-components/8740-ts-multi-props/docgen.snapshot +0 -49
  36. package/template/stories/docgen-components/8740-ts-multi-props/input.tsx +0 -23
  37. package/template/stories/docgen-components/8740-ts-multi-props/properties.snapshot +0 -21
  38. package/template/stories/docgen-components/8894-9511-ts-forward-ref/argTypes.snapshot +0 -48
  39. package/template/stories/docgen-components/8894-9511-ts-forward-ref/docgen.snapshot +0 -39
  40. package/template/stories/docgen-components/8894-9511-ts-forward-ref/input.tsx +0 -31
  41. package/template/stories/docgen-components/8894-9511-ts-forward-ref/properties.snapshot +0 -34
  42. package/template/stories/docgen-components/9023-js-hoc/argTypes.snapshot +0 -89
  43. package/template/stories/docgen-components/9023-js-hoc/docgen.snapshot +0 -84
  44. package/template/stories/docgen-components/9023-js-hoc/input.jsx +0 -40
  45. package/template/stories/docgen-components/9023-js-hoc/properties.snapshot +0 -67
  46. package/template/stories/docgen-components/9399-js-proptypes-shape/argTypes.snapshot +0 -39
  47. package/template/stories/docgen-components/9399-js-proptypes-shape/docgen.snapshot +0 -48
  48. package/template/stories/docgen-components/9399-js-proptypes-shape/input.jsx +0 -16
  49. package/template/stories/docgen-components/9399-js-proptypes-shape/properties.snapshot +0 -35
  50. package/template/stories/docgen-components/9465-ts-type-props/argTypes.snapshot +0 -28
  51. package/template/stories/docgen-components/9465-ts-type-props/docgen.snapshot +0 -33
  52. package/template/stories/docgen-components/9465-ts-type-props/input.tsx +0 -12
  53. package/template/stories/docgen-components/9465-ts-type-props/properties.snapshot +0 -24
  54. package/template/stories/docgen-components/9493-ts-display-name/argTypes.snapshot +0 -62
  55. package/template/stories/docgen-components/9493-ts-display-name/docgen.snapshot +0 -50
  56. package/template/stories/docgen-components/9493-ts-display-name/input.tsx +0 -30
  57. package/template/stories/docgen-components/9493-ts-display-name/properties.snapshot +0 -52
  58. package/template/stories/docgen-components/9556-ts-react-default-exports/argTypes.snapshot +0 -28
  59. package/template/stories/docgen-components/9556-ts-react-default-exports/docgen.snapshot +0 -32
  60. package/template/stories/docgen-components/9556-ts-react-default-exports/input.tsx +0 -12
  61. package/template/stories/docgen-components/9556-ts-react-default-exports/properties.snapshot +0 -24
  62. package/template/stories/docgen-components/9575-ts-camel-case/argTypes.snapshot +0 -28
  63. package/template/stories/docgen-components/9575-ts-camel-case/docgen.snapshot +0 -38
  64. package/template/stories/docgen-components/9575-ts-camel-case/input.tsx +0 -26
  65. package/template/stories/docgen-components/9575-ts-camel-case/properties.snapshot +0 -24
  66. package/template/stories/docgen-components/9586-js-react-memo/argTypes.snapshot +0 -41
  67. package/template/stories/docgen-components/9586-js-react-memo/docgen.snapshot +0 -42
  68. package/template/stories/docgen-components/9586-js-react-memo/input.jsx +0 -15
  69. package/template/stories/docgen-components/9586-js-react-memo/properties.snapshot +0 -34
  70. package/template/stories/docgen-components/9591-ts-import-types/Bar.tsx +0 -3
  71. package/template/stories/docgen-components/9591-ts-import-types/argTypes.snapshot +0 -25
  72. package/template/stories/docgen-components/9591-ts-import-types/docgen.snapshot +0 -21
  73. package/template/stories/docgen-components/9591-ts-import-types/input.tsx +0 -10
  74. package/template/stories/docgen-components/9591-ts-import-types/properties.snapshot +0 -21
  75. package/template/stories/docgen-components/9626-js-default-values/argTypes.snapshot +0 -27
  76. package/template/stories/docgen-components/9626-js-default-values/docgen.snapshot +0 -25
  77. package/template/stories/docgen-components/9626-js-default-values/input.jsx +0 -5
  78. package/template/stories/docgen-components/9626-js-default-values/properties.snapshot +0 -21
  79. package/template/stories/docgen-components/9668-js-proptypes-no-jsdoc/argTypes.snapshot +0 -42
  80. package/template/stories/docgen-components/9668-js-proptypes-no-jsdoc/docgen.snapshot +0 -36
  81. package/template/stories/docgen-components/9668-js-proptypes-no-jsdoc/input.jsx +0 -13
  82. package/template/stories/docgen-components/9668-js-proptypes-no-jsdoc/properties.snapshot +0 -35
  83. package/template/stories/docgen-components/9721-ts-deprecated-jsdoc/argTypes.snapshot +0 -34
  84. package/template/stories/docgen-components/9721-ts-deprecated-jsdoc/docgen.snapshot +0 -38
  85. package/template/stories/docgen-components/9721-ts-deprecated-jsdoc/input.tsx +0 -12
  86. package/template/stories/docgen-components/9721-ts-deprecated-jsdoc/properties.snapshot +0 -30
  87. package/template/stories/docgen-components/9764-ts-extend-props/argTypes.snapshot +0 -72
  88. package/template/stories/docgen-components/9764-ts-extend-props/docgen.snapshot +0 -41
  89. package/template/stories/docgen-components/9764-ts-extend-props/input.tsx +0 -17
  90. package/template/stories/docgen-components/9764-ts-extend-props/properties.snapshot +0 -56
  91. package/template/stories/docgen-components/9827-ts-default-values/argTypes.snapshot +0 -72
  92. package/template/stories/docgen-components/9827-ts-default-values/docgen.snapshot +0 -52
  93. package/template/stories/docgen-components/9827-ts-default-values/input.tsx +0 -17
  94. package/template/stories/docgen-components/9827-ts-default-values/properties.snapshot +0 -56
  95. package/template/stories/docgen-components/9832-ts-enum-export/argTypes.snapshot +0 -3
  96. package/template/stories/docgen-components/9832-ts-enum-export/docgen.snapshot +0 -16
  97. package/template/stories/docgen-components/9832-ts-enum-export/input.tsx +0 -8
  98. package/template/stories/docgen-components/9832-ts-enum-export/properties.snapshot +0 -7
  99. package/template/stories/docgen-components/9922-ts-component-props/argTypes.snapshot +0 -25
  100. package/template/stories/docgen-components/9922-ts-component-props/docgen.snapshot +0 -35
  101. package/template/stories/docgen-components/9922-ts-component-props/input.tsx +0 -24
  102. package/template/stories/docgen-components/9922-ts-component-props/properties.snapshot +0 -21
  103. package/template/stories/docgen-components/js-class-component/argTypes.snapshot +0 -386
  104. package/template/stories/docgen-components/js-class-component/docgen.snapshot +0 -252
  105. package/template/stories/docgen-components/js-class-component/input.jsx +0 -57
  106. package/template/stories/docgen-components/js-class-component/properties.snapshot +0 -286
  107. package/template/stories/docgen-components/js-function-component/argTypes.snapshot +0 -386
  108. package/template/stories/docgen-components/js-function-component/docgen.snapshot +0 -236
  109. package/template/stories/docgen-components/js-function-component/input.jsx +0 -50
  110. package/template/stories/docgen-components/js-function-component/properties.snapshot +0 -286
  111. package/template/stories/docgen-components/js-function-component-inline-defaults/argTypes.snapshot +0 -386
  112. package/template/stories/docgen-components/js-function-component-inline-defaults/docgen.snapshot +0 -247
  113. package/template/stories/docgen-components/js-function-component-inline-defaults/input.jsx +0 -65
  114. package/template/stories/docgen-components/js-function-component-inline-defaults/properties.snapshot +0 -286
  115. package/template/stories/docgen-components/js-function-component-inline-defaults-no-propTypes/argTypes.snapshot +0 -237
  116. package/template/stories/docgen-components/js-function-component-inline-defaults-no-propTypes/docgen.snapshot +0 -124
  117. package/template/stories/docgen-components/js-function-component-inline-defaults-no-propTypes/input.jsx +0 -41
  118. package/template/stories/docgen-components/js-function-component-inline-defaults-no-propTypes/properties.snapshot +0 -151
  119. package/template/stories/docgen-components/js-proptypes/docgen.snapshot +0 -1770
  120. package/template/stories/docgen-components/js-proptypes/input.jsx +0 -497
  121. package/template/stories/docgen-components/jsdoc/argTypes.snapshot +0 -1129
  122. package/template/stories/docgen-components/jsdoc/docgen.snapshot +0 -548
  123. package/template/stories/docgen-components/jsdoc/input.jsx +0 -231
  124. package/template/stories/docgen-components/jsdoc/properties.snapshot +0 -1017
  125. package/template/stories/docgen-components/ts-function-component/argTypes.snapshot +0 -396
  126. package/template/stories/docgen-components/ts-function-component/docgen.snapshot +0 -241
  127. package/template/stories/docgen-components/ts-function-component/input.tsx +0 -52
  128. package/template/stories/docgen-components/ts-function-component/properties.snapshot +0 -296
  129. package/template/stories/docgen-components/ts-function-component-inline-defaults/argTypes.snapshot +0 -279
  130. package/template/stories/docgen-components/ts-function-component-inline-defaults/docgen.snapshot +0 -151
  131. package/template/stories/docgen-components/ts-function-component-inline-defaults/input.tsx +0 -80
  132. package/template/stories/docgen-components/ts-function-component-inline-defaults/properties.snapshot +0 -177
  133. package/template/stories/docgen-components/ts-html/argTypes.snapshot +0 -3
  134. package/template/stories/docgen-components/ts-html/docgen.snapshot +0 -12
  135. package/template/stories/docgen-components/ts-html/input.tsx +0 -12
  136. package/template/stories/docgen-components/ts-html/properties.snapshot +0 -7
  137. package/template/stories/docgen-components/ts-jsdoc/argTypes.snapshot +0 -3
  138. package/template/stories/docgen-components/ts-jsdoc/docgen.snapshot +0 -21
  139. package/template/stories/docgen-components/ts-jsdoc/input.tsx +0 -27
  140. package/template/stories/docgen-components/ts-jsdoc/properties.snapshot +0 -7
  141. package/template/stories/docgen-components/ts-types/argTypes.snapshot +0 -656
  142. package/template/stories/docgen-components/ts-types/docgen.snapshot +0 -317
  143. package/template/stories/docgen-components/ts-types/input.tsx +0 -130
  144. package/template/stories/docgen-components/ts-types/properties.snapshot +0 -410
  145. package/template/stories/errors.stories.tsx +0 -37
  146. package/template/stories/hooks.stories.tsx +0 -17
  147. package/template/stories/js-argtypes.stories.jsx +0 -91
  148. package/template/stories/react-mdx.stories.mdx +0 -26
  149. package/template/stories/teardown.stories.tsx +0 -23
  150. package/template/stories/ts-argtypes.stories.tsx +0 -104
@@ -1,656 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`react component properties ts-types 1`] = `
4
- Object {
5
- "aliasesUnion": Object {
6
- "control": Object {
7
- "type": "object",
8
- },
9
- "description": undefined,
10
- "name": "aliasesUnion",
11
- "table": Object {
12
- "defaultValue": Object {
13
- "detail": undefined,
14
- "summary": "'foo'",
15
- },
16
- "jsDocTags": undefined,
17
- "type": Object {
18
- "detail": undefined,
19
- "summary": "unknown",
20
- },
21
- },
22
- "type": Object {
23
- "required": false,
24
- },
25
- },
26
- "any": Object {
27
- "control": Object {
28
- "type": "object",
29
- },
30
- "description": undefined,
31
- "name": "any",
32
- "table": Object {
33
- "defaultValue": Object {
34
- "detail": undefined,
35
- "summary": "'Any value'",
36
- },
37
- "jsDocTags": undefined,
38
- "type": Object {
39
- "detail": undefined,
40
- "summary": "unknown",
41
- },
42
- },
43
- "type": Object {
44
- "required": false,
45
- },
46
- },
47
- "arrayOfComplexObject": Object {
48
- "control": Object {
49
- "type": "object",
50
- },
51
- "description": undefined,
52
- "name": "arrayOfComplexObject",
53
- "table": Object {
54
- "defaultValue": Object {
55
- "detail": undefined,
56
- "summary": "[{ text: 'foo', value: 'bar' }]",
57
- },
58
- "jsDocTags": undefined,
59
- "type": Object {
60
- "detail": undefined,
61
- "summary": "unknown",
62
- },
63
- },
64
- "type": Object {
65
- "required": false,
66
- },
67
- },
68
- "arrayOfPrimitive": Object {
69
- "control": Object {
70
- "type": "object",
71
- },
72
- "description": undefined,
73
- "name": "arrayOfPrimitive",
74
- "table": Object {
75
- "defaultValue": Object {
76
- "detail": undefined,
77
- "summary": "['foo', 'bar']",
78
- },
79
- "jsDocTags": undefined,
80
- "type": Object {
81
- "detail": undefined,
82
- "summary": "unknown",
83
- },
84
- },
85
- "type": Object {
86
- "required": false,
87
- },
88
- },
89
- "bool": Object {
90
- "control": Object {
91
- "type": "object",
92
- },
93
- "description": undefined,
94
- "name": "bool",
95
- "table": Object {
96
- "defaultValue": Object {
97
- "detail": undefined,
98
- "summary": "true",
99
- },
100
- "jsDocTags": undefined,
101
- "type": Object {
102
- "detail": undefined,
103
- "summary": "unknown",
104
- },
105
- },
106
- "type": Object {
107
- "required": false,
108
- },
109
- },
110
- "defaultEnum": Object {
111
- "control": Object {
112
- "type": "object",
113
- },
114
- "description": undefined,
115
- "name": "defaultEnum",
116
- "table": Object {
117
- "defaultValue": Object {
118
- "detail": undefined,
119
- "summary": "DefaultEnum.TopRight",
120
- },
121
- "jsDocTags": undefined,
122
- "type": Object {
123
- "detail": undefined,
124
- "summary": "unknown",
125
- },
126
- },
127
- "type": Object {
128
- "required": false,
129
- },
130
- },
131
- "enumUnion": Object {
132
- "control": Object {
133
- "type": "object",
134
- },
135
- "description": undefined,
136
- "name": "enumUnion",
137
- "table": Object {
138
- "defaultValue": Object {
139
- "detail": undefined,
140
- "summary": "DefaultEnum.TopLeft",
141
- },
142
- "jsDocTags": undefined,
143
- "type": Object {
144
- "detail": undefined,
145
- "summary": "unknown",
146
- },
147
- },
148
- "type": Object {
149
- "required": false,
150
- },
151
- },
152
- "funcWithArgsAndReturns": Object {
153
- "control": Object {
154
- "type": "object",
155
- },
156
- "description": undefined,
157
- "name": "funcWithArgsAndReturns",
158
- "table": Object {
159
- "defaultValue": Object {
160
- "detail": undefined,
161
- "summary": "function concat(a: string, b: string): string {
162
- return a + b;
163
- }",
164
- },
165
- "jsDocTags": undefined,
166
- "type": Object {
167
- "detail": undefined,
168
- "summary": "unknown",
169
- },
170
- },
171
- "type": Object {
172
- "required": false,
173
- },
174
- },
175
- "genericAlias": Object {
176
- "control": Object {
177
- "type": "object",
178
- },
179
- "description": undefined,
180
- "name": "genericAlias",
181
- "table": Object {
182
- "defaultValue": Object {
183
- "detail": undefined,
184
- "summary": "{ value: 'foo' }",
185
- },
186
- "jsDocTags": undefined,
187
- "type": Object {
188
- "detail": undefined,
189
- "summary": "unknown",
190
- },
191
- },
192
- "type": Object {
193
- "required": false,
194
- },
195
- },
196
- "genericInterface": Object {
197
- "control": Object {
198
- "type": "object",
199
- },
200
- "description": undefined,
201
- "name": "genericInterface",
202
- "table": Object {
203
- "defaultValue": Object {
204
- "detail": undefined,
205
- "summary": "{ value: 'A string value' }",
206
- },
207
- "jsDocTags": undefined,
208
- "type": Object {
209
- "detail": undefined,
210
- "summary": "unknown",
211
- },
212
- },
213
- "type": Object {
214
- "required": false,
215
- },
216
- },
217
- "inlinedNumericLiteralUnion": Object {
218
- "control": Object {
219
- "type": "object",
220
- },
221
- "description": undefined,
222
- "name": "inlinedNumericLiteralUnion",
223
- "table": Object {
224
- "defaultValue": Object {
225
- "detail": undefined,
226
- "summary": "1",
227
- },
228
- "jsDocTags": undefined,
229
- "type": Object {
230
- "detail": undefined,
231
- "summary": "unknown",
232
- },
233
- },
234
- "type": Object {
235
- "required": false,
236
- },
237
- },
238
- "inlinedStringLiteralUnion": Object {
239
- "control": Object {
240
- "type": "object",
241
- },
242
- "description": undefined,
243
- "name": "inlinedStringLiteralUnion",
244
- "table": Object {
245
- "defaultValue": Object {
246
- "detail": undefined,
247
- "summary": "'bottom-right'",
248
- },
249
- "jsDocTags": undefined,
250
- "type": Object {
251
- "detail": undefined,
252
- "summary": "unknown",
253
- },
254
- },
255
- "type": Object {
256
- "required": false,
257
- },
258
- },
259
- "interface": Object {
260
- "control": Object {
261
- "type": "object",
262
- },
263
- "description": undefined,
264
- "name": "interface",
265
- "table": Object {
266
- "defaultValue": Object {
267
- "detail": undefined,
268
- "summary": "{ text: 'foo', value: 'bar' }",
269
- },
270
- "jsDocTags": undefined,
271
- "type": Object {
272
- "detail": undefined,
273
- "summary": "unknown",
274
- },
275
- },
276
- "type": Object {
277
- "required": false,
278
- },
279
- },
280
- "intersectionType": Object {
281
- "control": Object {
282
- "type": "object",
283
- },
284
- "description": undefined,
285
- "name": "intersectionType",
286
- "table": Object {
287
- "defaultValue": Object {
288
- "detail": undefined,
289
- "summary": "{ text: 'foo', value: 'bar', name: 'foo-bar' }",
290
- },
291
- "jsDocTags": undefined,
292
- "type": Object {
293
- "detail": undefined,
294
- "summary": "unknown",
295
- },
296
- },
297
- "type": Object {
298
- "required": false,
299
- },
300
- },
301
- "intersectionWithInlineType": Object {
302
- "control": Object {
303
- "type": "object",
304
- },
305
- "description": undefined,
306
- "name": "intersectionWithInlineType",
307
- "table": Object {
308
- "defaultValue": Object {
309
- "detail": undefined,
310
- "summary": "{ text: 'foo', value: 'bar', inlineValue: 'this is inlined' }",
311
- },
312
- "jsDocTags": undefined,
313
- "type": Object {
314
- "detail": undefined,
315
- "summary": "unknown",
316
- },
317
- },
318
- "type": Object {
319
- "required": false,
320
- },
321
- },
322
- "namedNumericLiteralUnion": Object {
323
- "control": Object {
324
- "type": "object",
325
- },
326
- "description": undefined,
327
- "name": "namedNumericLiteralUnion",
328
- "table": Object {
329
- "defaultValue": Object {
330
- "detail": undefined,
331
- "summary": "0",
332
- },
333
- "jsDocTags": undefined,
334
- "type": Object {
335
- "detail": undefined,
336
- "summary": "unknown",
337
- },
338
- },
339
- "type": Object {
340
- "required": false,
341
- },
342
- },
343
- "namedStringLiteralUnion": Object {
344
- "control": Object {
345
- "type": "object",
346
- },
347
- "description": undefined,
348
- "name": "namedStringLiteralUnion",
349
- "table": Object {
350
- "defaultValue": Object {
351
- "detail": undefined,
352
- "summary": "'top-right'",
353
- },
354
- "jsDocTags": undefined,
355
- "type": Object {
356
- "detail": undefined,
357
- "summary": "unknown",
358
- },
359
- },
360
- "type": Object {
361
- "required": false,
362
- },
363
- },
364
- "nullableComplexTypeUndefinedDefaultValue": Object {
365
- "control": Object {
366
- "type": "object",
367
- },
368
- "description": undefined,
369
- "name": "nullableComplexTypeUndefinedDefaultValue",
370
- "table": Object {
371
- "defaultValue": null,
372
- "jsDocTags": undefined,
373
- "type": Object {
374
- "detail": undefined,
375
- "summary": "unknown",
376
- },
377
- },
378
- "type": Object {
379
- "required": false,
380
- },
381
- },
382
- "number": Object {
383
- "control": Object {
384
- "type": "object",
385
- },
386
- "description": undefined,
387
- "name": "number",
388
- "table": Object {
389
- "defaultValue": Object {
390
- "detail": undefined,
391
- "summary": "5",
392
- },
393
- "jsDocTags": undefined,
394
- "type": Object {
395
- "detail": undefined,
396
- "summary": "unknown",
397
- },
398
- },
399
- "type": Object {
400
- "required": false,
401
- },
402
- },
403
- "numericEnum": Object {
404
- "control": Object {
405
- "type": "object",
406
- },
407
- "description": undefined,
408
- "name": "numericEnum",
409
- "table": Object {
410
- "defaultValue": Object {
411
- "detail": undefined,
412
- "summary": "NumericEnum.TopRight",
413
- },
414
- "jsDocTags": undefined,
415
- "type": Object {
416
- "detail": undefined,
417
- "summary": "unknown",
418
- },
419
- },
420
- "type": Object {
421
- "required": false,
422
- },
423
- },
424
- "recordOfComplexObject": Object {
425
- "control": Object {
426
- "type": "object",
427
- },
428
- "description": undefined,
429
- "name": "recordOfComplexObject",
430
- "table": Object {
431
- "defaultValue": Object {
432
- "detail": undefined,
433
- "summary": "{ foo: { text: 'bar', value: 'bar2' } }",
434
- },
435
- "jsDocTags": undefined,
436
- "type": Object {
437
- "detail": undefined,
438
- "summary": "unknown",
439
- },
440
- },
441
- "type": Object {
442
- "required": false,
443
- },
444
- },
445
- "recordOfPrimitive": Object {
446
- "control": Object {
447
- "type": "object",
448
- },
449
- "description": undefined,
450
- "name": "recordOfPrimitive",
451
- "table": Object {
452
- "defaultValue": Object {
453
- "detail": undefined,
454
- "summary": "{ foo: 1, bar: 2 }",
455
- },
456
- "jsDocTags": undefined,
457
- "type": Object {
458
- "detail": undefined,
459
- "summary": "unknown",
460
- },
461
- },
462
- "type": Object {
463
- "required": false,
464
- },
465
- },
466
- "string": Object {
467
- "control": Object {
468
- "type": "object",
469
- },
470
- "description": undefined,
471
- "name": "string",
472
- "table": Object {
473
- "defaultValue": Object {
474
- "detail": undefined,
475
- "summary": "'A string value'",
476
- },
477
- "jsDocTags": undefined,
478
- "type": Object {
479
- "detail": undefined,
480
- "summary": "unknown",
481
- },
482
- },
483
- "type": Object {
484
- "required": false,
485
- },
486
- },
487
- "stringEnum": Object {
488
- "control": Object {
489
- "type": "object",
490
- },
491
- "description": undefined,
492
- "name": "stringEnum",
493
- "table": Object {
494
- "defaultValue": Object {
495
- "detail": undefined,
496
- "summary": "StringEnum.TopRight",
497
- },
498
- "jsDocTags": undefined,
499
- "type": Object {
500
- "detail": undefined,
501
- "summary": "unknown",
502
- },
503
- },
504
- "type": Object {
505
- "required": false,
506
- },
507
- },
508
- "symbol": Object {
509
- "control": Object {
510
- "type": "object",
511
- },
512
- "description": undefined,
513
- "name": "symbol",
514
- "table": Object {
515
- "defaultValue": Object {
516
- "detail": undefined,
517
- "summary": "Symbol('Default symbol')",
518
- },
519
- "jsDocTags": undefined,
520
- "type": Object {
521
- "detail": undefined,
522
- "summary": "unknown",
523
- },
524
- },
525
- "type": Object {
526
- "required": false,
527
- },
528
- },
529
- "tupleOfPrimitive": Object {
530
- "control": Object {
531
- "type": "object",
532
- },
533
- "description": undefined,
534
- "name": "tupleOfPrimitive",
535
- "table": Object {
536
- "defaultValue": Object {
537
- "detail": undefined,
538
- "summary": "['string value', 5]",
539
- },
540
- "jsDocTags": undefined,
541
- "type": Object {
542
- "detail": undefined,
543
- "summary": "unknown",
544
- },
545
- },
546
- "type": Object {
547
- "required": false,
548
- },
549
- },
550
- "tupleWithComplexType": Object {
551
- "control": Object {
552
- "type": "object",
553
- },
554
- "description": undefined,
555
- "name": "tupleWithComplexType",
556
- "table": Object {
557
- "defaultValue": Object {
558
- "detail": undefined,
559
- "summary": "['string value', { text: 'foo', value: 'bar' }]",
560
- },
561
- "jsDocTags": undefined,
562
- "type": Object {
563
- "detail": undefined,
564
- "summary": "unknown",
565
- },
566
- },
567
- "type": Object {
568
- "required": false,
569
- },
570
- },
571
- "typeAlias": Object {
572
- "control": Object {
573
- "type": "object",
574
- },
575
- "description": undefined,
576
- "name": "typeAlias",
577
- "table": Object {
578
- "defaultValue": Object {
579
- "detail": undefined,
580
- "summary": "'foo'",
581
- },
582
- "jsDocTags": undefined,
583
- "type": Object {
584
- "detail": undefined,
585
- "summary": "unknown",
586
- },
587
- },
588
- "type": Object {
589
- "required": false,
590
- },
591
- },
592
- "unionOfComplexType": Object {
593
- "control": Object {
594
- "type": "object",
595
- },
596
- "description": undefined,
597
- "name": "unionOfComplexType",
598
- "table": Object {
599
- "defaultValue": Object {
600
- "detail": undefined,
601
- "summary": "{ text: 'foo', value: 'bar' }",
602
- },
603
- "jsDocTags": undefined,
604
- "type": Object {
605
- "detail": undefined,
606
- "summary": "unknown",
607
- },
608
- },
609
- "type": Object {
610
- "required": false,
611
- },
612
- },
613
- "unionOfPrimitive": Object {
614
- "control": Object {
615
- "type": "object",
616
- },
617
- "description": undefined,
618
- "name": "unionOfPrimitive",
619
- "table": Object {
620
- "defaultValue": Object {
621
- "detail": undefined,
622
- "summary": "'A string value'",
623
- },
624
- "jsDocTags": undefined,
625
- "type": Object {
626
- "detail": undefined,
627
- "summary": "unknown",
628
- },
629
- },
630
- "type": Object {
631
- "required": false,
632
- },
633
- },
634
- "voidFunc": Object {
635
- "control": Object {
636
- "type": "object",
637
- },
638
- "description": undefined,
639
- "name": "voidFunc",
640
- "table": Object {
641
- "defaultValue": Object {
642
- "detail": undefined,
643
- "summary": "() => {}",
644
- },
645
- "jsDocTags": undefined,
646
- "type": Object {
647
- "detail": undefined,
648
- "summary": "unknown",
649
- },
650
- },
651
- "type": Object {
652
- "required": false,
653
- },
654
- },
655
- }
656
- `;