@storybook/addon-docs 6.5.0-alpha.4 → 6.5.0-alpha.40

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 (175) hide show
  1. package/README.md +4 -13
  2. package/angular/README.md +0 -6
  3. package/dist/cjs/blocks/Anchor.js +1 -1
  4. package/dist/cjs/blocks/ArgsTable.js +13 -9
  5. package/dist/cjs/blocks/Canvas.js +13 -11
  6. package/dist/cjs/blocks/Description.js +6 -6
  7. package/dist/cjs/blocks/DocsContainer.js +8 -6
  8. package/dist/cjs/blocks/Heading.js +2 -2
  9. package/dist/cjs/blocks/Meta.js +8 -6
  10. package/dist/cjs/blocks/Primary.js +7 -7
  11. package/dist/cjs/blocks/Source.js +8 -8
  12. package/dist/cjs/blocks/SourceContainer.js +9 -7
  13. package/dist/cjs/blocks/Stories.js +14 -7
  14. package/dist/cjs/blocks/Story.js +10 -8
  15. package/dist/cjs/blocks/Subheading.js +2 -2
  16. package/dist/cjs/blocks/Subtitle.js +5 -5
  17. package/dist/cjs/blocks/Title.js +8 -8
  18. package/dist/cjs/blocks/enhanceSource.js +5 -5
  19. package/dist/cjs/blocks/index.js +6 -4
  20. package/dist/cjs/blocks/mdx.js +17 -9
  21. package/dist/cjs/blocks/useStory.js +8 -6
  22. package/dist/cjs/blocks/utils.js +3 -3
  23. package/dist/cjs/frameworks/angular/compodoc.js +8 -8
  24. package/dist/cjs/frameworks/angular/config.js +1 -1
  25. package/dist/cjs/frameworks/angular/index.js +2 -0
  26. package/dist/cjs/frameworks/angular/prepareForInline.js +2 -2
  27. package/dist/cjs/frameworks/angular/sourceDecorator.js +7 -7
  28. package/dist/cjs/frameworks/common/config.js +8 -8
  29. package/dist/cjs/frameworks/common/preset.js +157 -111
  30. package/dist/cjs/frameworks/ember/jsondoc.js +3 -1
  31. package/dist/cjs/frameworks/html/sourceDecorator.js +2 -2
  32. package/dist/cjs/frameworks/react/config.js +1 -1
  33. package/dist/cjs/frameworks/react/extractArgTypes.js +2 -0
  34. package/dist/cjs/frameworks/react/extractProps.js +2 -2
  35. package/dist/cjs/frameworks/react/jsxDecorator.js +12 -10
  36. package/dist/cjs/frameworks/react/lib/captions.js +1 -1
  37. package/dist/cjs/frameworks/react/lib/componentTypes.js +1 -1
  38. package/dist/cjs/frameworks/react/lib/defaultValues/createFromRawDefaultProp.js +7 -7
  39. package/dist/cjs/frameworks/react/lib/defaultValues/index.js +2 -0
  40. package/dist/cjs/frameworks/react/lib/defaultValues/prettyIdentifier.js +2 -2
  41. package/dist/cjs/frameworks/react/lib/generateCode.js +3 -3
  42. package/dist/cjs/frameworks/react/lib/index.js +2 -0
  43. package/dist/cjs/frameworks/react/lib/inspection/acornParser.js +7 -7
  44. package/dist/cjs/frameworks/react/lib/inspection/index.js +2 -0
  45. package/dist/cjs/frameworks/react/propTypes/createType.js +4 -2
  46. package/dist/cjs/frameworks/react/propTypes/generateFuncSignature.js +2 -2
  47. package/dist/cjs/frameworks/react/propTypes/sortProps.js +2 -0
  48. package/dist/cjs/frameworks/react/react-argtypes.stories.js +10 -8
  49. package/dist/cjs/frameworks/svelte/config.js +1 -1
  50. package/dist/cjs/frameworks/svelte/extractArgTypes.js +4 -1
  51. package/dist/cjs/frameworks/svelte/prepareForInline.js +1 -2
  52. package/dist/cjs/frameworks/svelte/preset.js +2 -2
  53. package/dist/cjs/frameworks/svelte/sourceDecorator.js +7 -5
  54. package/dist/cjs/frameworks/svelte/svelte-docgen-loader.js +7 -7
  55. package/dist/cjs/frameworks/vue/config.js +1 -1
  56. package/dist/cjs/frameworks/vue/extractArgTypes.js +6 -4
  57. package/dist/cjs/frameworks/vue/preset.js +2 -0
  58. package/dist/cjs/frameworks/vue/sourceDecorator.js +12 -12
  59. package/dist/cjs/frameworks/vue3/extractArgTypes.js +2 -0
  60. package/dist/cjs/frameworks/vue3/prepareForInline.js +5 -5
  61. package/dist/cjs/frameworks/vue3/preset.js +2 -0
  62. package/dist/cjs/frameworks/web-components/custom-elements.js +5 -3
  63. package/dist/cjs/frameworks/web-components/prepareForInline.js +8 -8
  64. package/dist/cjs/frameworks/web-components/sourceDecorator.js +2 -2
  65. package/dist/cjs/index.js +2 -0
  66. package/dist/cjs/lib/convert/flow/convert.js +3 -1
  67. package/dist/cjs/lib/convert/flow/index.js +2 -0
  68. package/dist/cjs/lib/convert/proptypes/convert.js +2 -2
  69. package/dist/cjs/lib/convert/proptypes/index.js +2 -0
  70. package/dist/cjs/lib/convert/typescript/convert.js +2 -0
  71. package/dist/cjs/lib/convert/typescript/index.js +2 -0
  72. package/dist/cjs/lib/convert/utils.js +2 -2
  73. package/dist/cjs/lib/docgen/createPropDef.js +3 -1
  74. package/dist/cjs/lib/docgen/extractDocgenProps.js +3 -1
  75. package/dist/cjs/lib/docgen/flow/createType.js +2 -2
  76. package/dist/cjs/lib/docgen/index.js +2 -0
  77. package/dist/cjs/lib/docgen/typeScript/createType.js +2 -2
  78. package/dist/cjs/lib/docgen/utils/defaultValue.js +3 -0
  79. package/dist/cjs/lib/docgen/utils/docgenInfo.js +2 -2
  80. package/dist/cjs/lib/docgen/utils/index.js +2 -0
  81. package/dist/cjs/lib/index.js +2 -0
  82. package/dist/cjs/lib/jsdocParser.js +2 -2
  83. package/dist/cjs/lib/utils.js +6 -5
  84. package/dist/esm/blocks/ArgsTable.js +5 -3
  85. package/dist/esm/blocks/Canvas.js +5 -3
  86. package/dist/esm/blocks/DocsContainer.js +3 -2
  87. package/dist/esm/blocks/Heading.js +1 -1
  88. package/dist/esm/blocks/Meta.js +3 -2
  89. package/dist/esm/blocks/Primary.js +1 -0
  90. package/dist/esm/blocks/Source.js +1 -0
  91. package/dist/esm/blocks/SourceContainer.js +3 -2
  92. package/dist/esm/blocks/Stories.js +7 -0
  93. package/dist/esm/blocks/Story.js +4 -3
  94. package/dist/esm/blocks/Subheading.js +1 -1
  95. package/dist/esm/blocks/Title.js +1 -1
  96. package/dist/esm/blocks/enhanceSource.js +3 -3
  97. package/dist/esm/blocks/mdx.js +15 -8
  98. package/dist/esm/blocks/useStory.js +15 -15
  99. package/dist/esm/blocks/utils.js +1 -1
  100. package/dist/esm/frameworks/angular/compodoc.js +4 -4
  101. package/dist/esm/frameworks/angular/prepareForInline.js +1 -1
  102. package/dist/esm/frameworks/angular/sourceDecorator.js +1 -1
  103. package/dist/esm/frameworks/common/config.js +1 -1
  104. package/dist/esm/frameworks/common/preset.js +153 -109
  105. package/dist/esm/frameworks/ember/jsondoc.js +1 -0
  106. package/dist/esm/frameworks/html/sourceDecorator.js +2 -2
  107. package/dist/esm/frameworks/react/extractArgTypes.js +1 -0
  108. package/dist/esm/frameworks/react/extractProps.js +1 -1
  109. package/dist/esm/frameworks/react/jsxDecorator.js +5 -4
  110. package/dist/esm/frameworks/react/lib/defaultValues/createFromRawDefaultProp.js +3 -3
  111. package/dist/esm/frameworks/react/lib/generateCode.js +1 -1
  112. package/dist/esm/frameworks/react/lib/inspection/acornParser.js +2 -2
  113. package/dist/esm/frameworks/react/propTypes/createType.js +2 -1
  114. package/dist/esm/frameworks/react/propTypes/generateFuncSignature.js +1 -1
  115. package/dist/esm/frameworks/react/propTypes/sortProps.js +1 -0
  116. package/dist/esm/frameworks/react/react-argtypes.stories.js +4 -3
  117. package/dist/esm/frameworks/svelte/extractArgTypes.js +2 -0
  118. package/dist/esm/frameworks/svelte/prepareForInline.js +2 -3
  119. package/dist/esm/frameworks/svelte/preset.js +1 -1
  120. package/dist/esm/frameworks/svelte/sourceDecorator.js +4 -3
  121. package/dist/esm/frameworks/svelte/svelte-docgen-loader.js +1 -1
  122. package/dist/esm/frameworks/vue/extractArgTypes.js +4 -3
  123. package/dist/esm/frameworks/vue/preset.js +1 -0
  124. package/dist/esm/frameworks/vue/sourceDecorator.js +6 -6
  125. package/dist/esm/frameworks/vue3/extractArgTypes.js +1 -0
  126. package/dist/esm/frameworks/vue3/preset.js +1 -0
  127. package/dist/esm/frameworks/web-components/custom-elements.js +2 -1
  128. package/dist/esm/frameworks/web-components/prepareForInline.js +6 -6
  129. package/dist/esm/frameworks/web-components/sourceDecorator.js +1 -1
  130. package/dist/esm/lib/convert/flow/convert.js +2 -1
  131. package/dist/esm/lib/convert/proptypes/convert.js +1 -1
  132. package/dist/esm/lib/convert/typescript/convert.js +1 -0
  133. package/dist/esm/lib/convert/utils.js +1 -1
  134. package/dist/esm/lib/docgen/createPropDef.js +1 -0
  135. package/dist/esm/lib/docgen/extractDocgenProps.js +1 -0
  136. package/dist/esm/lib/docgen/flow/createType.js +1 -1
  137. package/dist/esm/lib/docgen/typeScript/createType.js +1 -1
  138. package/dist/esm/lib/docgen/utils/defaultValue.js +1 -0
  139. package/dist/esm/lib/jsdocParser.js +1 -1
  140. package/dist/esm/lib/utils.js +1 -1
  141. package/dist/modern/blocks/Canvas.js +3 -1
  142. package/dist/modern/blocks/Stories.js +5 -0
  143. package/dist/modern/blocks/mdx.js +12 -7
  144. package/dist/modern/frameworks/common/preset.js +10 -9
  145. package/dist/modern/frameworks/html/sourceDecorator.js +2 -2
  146. package/dist/modern/frameworks/react/jsxDecorator.js +3 -1
  147. package/dist/modern/frameworks/react/lib/inspection/acornParser.js +1 -2
  148. package/dist/modern/frameworks/svelte/extractArgTypes.js +1 -0
  149. package/dist/modern/frameworks/svelte/prepareForInline.js +2 -3
  150. package/dist/modern/frameworks/vue/extractArgTypes.js +1 -1
  151. package/dist/ts3.4/frameworks/angular/config.d.ts +0 -1
  152. package/dist/ts3.4/frameworks/common/config.d.ts +0 -1
  153. package/dist/ts3.4/frameworks/common/preset.d.ts +12 -1
  154. package/dist/ts3.4/frameworks/svelte/config.d.ts +0 -1
  155. package/dist/ts3.4/frameworks/vue/config.d.ts +0 -1
  156. package/dist/ts3.4/frameworks/vue3/config.d.ts +0 -1
  157. package/dist/ts3.4/frameworks/web-components/config.d.ts +0 -1
  158. package/dist/ts3.9/frameworks/angular/config.d.ts +0 -1
  159. package/dist/ts3.9/frameworks/common/config.d.ts +0 -1
  160. package/dist/ts3.9/frameworks/common/preset.d.ts +12 -1
  161. package/dist/ts3.9/frameworks/svelte/config.d.ts +0 -1
  162. package/dist/ts3.9/frameworks/vue/config.d.ts +0 -1
  163. package/dist/ts3.9/frameworks/vue3/config.d.ts +0 -1
  164. package/dist/ts3.9/frameworks/web-components/config.d.ts +0 -1
  165. package/package.json +36 -39
  166. package/register.js +1 -0
  167. package/{dist/cjs/frameworks/svelte → svelte}/HOC.svelte +0 -0
  168. package/dist/cjs/frameworks/svelte/sample/MockButton.svelte +0 -45
  169. package/dist/cjs/typings.d.js +0 -1
  170. package/dist/esm/frameworks/svelte/HOC.svelte +0 -7
  171. package/dist/esm/frameworks/svelte/sample/MockButton.svelte +0 -45
  172. package/dist/esm/typings.d.js +0 -0
  173. package/dist/modern/frameworks/svelte/HOC.svelte +0 -7
  174. package/dist/modern/frameworks/svelte/sample/MockButton.svelte +0 -45
  175. package/dist/modern/typings.d.js +0 -0
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.trimQuotes = void 0;
7
7
 
8
- require("core-js/modules/es.string.replace.js");
9
-
10
8
  require("core-js/modules/es.regexp.exec.js");
11
9
 
10
+ require("core-js/modules/es.string.replace.js");
11
+
12
12
  var QUOTE_REGEX = /^['"]|['"]$/g;
13
13
 
14
14
  var trimQuotes = function trimQuotes(str) {
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getPropDefFactory = exports.unknownFactory = exports.flowFactory = exports.tsFactory = exports.javaScriptFactory = void 0;
6
+ exports.unknownFactory = exports.tsFactory = exports.javaScriptFactory = exports.getPropDefFactory = exports.flowFactory = void 0;
7
7
 
8
8
  require("core-js/modules/es.function.name.js");
9
9
 
10
+ require("core-js/modules/es.object.to-string.js");
11
+
10
12
  require("core-js/modules/es.symbol.js");
11
13
 
12
14
  require("core-js/modules/es.symbol.description.js");
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.extractComponentDescription = extractComponentDescription;
7
- exports.extractComponentProps = exports.extractComponentSectionObject = exports.extractComponentSectionArray = void 0;
7
+ exports.extractComponentSectionObject = exports.extractComponentSectionArray = exports.extractComponentProps = void 0;
8
8
 
9
9
  require("core-js/modules/es.array.map.js");
10
10
 
@@ -16,6 +16,8 @@ require("core-js/modules/es.object.keys.js");
16
16
 
17
17
  require("core-js/modules/es.array.filter.js");
18
18
 
19
+ require("core-js/modules/es.object.to-string.js");
20
+
19
21
  require("core-js/modules/es.symbol.js");
20
22
 
21
23
  require("core-js/modules/es.symbol.description.js");
@@ -11,10 +11,10 @@ require("core-js/modules/es.array.join.js");
11
11
 
12
12
  require("core-js/modules/es.array.map.js");
13
13
 
14
- require("core-js/modules/es.string.replace.js");
15
-
16
14
  require("core-js/modules/es.regexp.exec.js");
17
15
 
16
+ require("core-js/modules/es.string.replace.js");
17
+
18
18
  var _utils = require("../../utils");
19
19
 
20
20
  var FlowTypesType;
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.to-string.js");
4
+
3
5
  require("core-js/modules/web.dom-collections.for-each.js");
4
6
 
5
7
  require("core-js/modules/es.object.keys.js");
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.createType = createType;
7
7
 
8
- require("core-js/modules/es.string.replace.js");
9
-
10
8
  require("core-js/modules/es.regexp.exec.js");
11
9
 
10
+ require("core-js/modules/es.string.replace.js");
11
+
12
12
  require("core-js/modules/es.function.name.js");
13
13
 
14
14
  var _utils = require("../../utils");
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.isDefaultValueBlacklisted = isDefaultValueBlacklisted;
7
+
8
+ require("core-js/modules/es.object.to-string.js");
9
+
7
10
  var BLACKLIST = ['null', 'undefined'];
8
11
 
9
12
  function isDefaultValueBlacklisted(value) {
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.getDocgenDescription = getDocgenDescription;
7
+ exports.getDocgenSection = getDocgenSection;
6
8
  exports.hasDocgen = hasDocgen;
7
9
  exports.isValidDocgenSection = isValidDocgenSection;
8
- exports.getDocgenSection = getDocgenSection;
9
- exports.getDocgenDescription = getDocgenDescription;
10
10
 
11
11
  require("core-js/modules/es.object.keys.js");
12
12
 
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.to-string.js");
4
+
3
5
  require("core-js/modules/web.dom-collections.for-each.js");
4
6
 
5
7
  require("core-js/modules/es.object.keys.js");
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.to-string.js");
4
+
3
5
  require("core-js/modules/web.dom-collections.for-each.js");
4
6
 
5
7
  require("core-js/modules/es.object.keys.js");
@@ -15,10 +15,10 @@ require("core-js/modules/es.symbol.description.js");
15
15
 
16
16
  require("core-js/modules/es.function.name.js");
17
17
 
18
- require("core-js/modules/es.string.replace.js");
19
-
20
18
  require("core-js/modules/es.regexp.exec.js");
21
19
 
20
+ require("core-js/modules/es.string.replace.js");
21
+
22
22
  require("core-js/modules/es.array.map.js");
23
23
 
24
24
  require("core-js/modules/es.array.concat.js");
@@ -3,15 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.isTooLongForTypeSummary = isTooLongForTypeSummary;
7
- exports.isTooLongForDefaultValueSummary = isTooLongForDefaultValueSummary;
6
+ exports.MAX_TYPE_SUMMARY_LENGTH = exports.MAX_DEFAULT_VALUE_SUMMARY_LENGTH = void 0;
8
7
  exports.createSummaryValue = createSummaryValue;
9
- exports.normalizeNewlines = exports.MAX_DEFAULT_VALUE_SUMMARY_LENGTH = exports.MAX_TYPE_SUMMARY_LENGTH = void 0;
10
-
11
- require("core-js/modules/es.string.replace.js");
8
+ exports.isTooLongForDefaultValueSummary = isTooLongForDefaultValueSummary;
9
+ exports.isTooLongForTypeSummary = isTooLongForTypeSummary;
10
+ exports.normalizeNewlines = void 0;
12
11
 
13
12
  require("core-js/modules/es.regexp.exec.js");
14
13
 
14
+ require("core-js/modules/es.string.replace.js");
15
+
15
16
  var MAX_TYPE_SUMMARY_LENGTH = 90;
16
17
  exports.MAX_TYPE_SUMMARY_LENGTH = MAX_TYPE_SUMMARY_LENGTH;
17
18
  var MAX_DEFAULT_VALUE_SUMMARY_LENGTH = 50;
@@ -5,18 +5,20 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
5
5
  import "core-js/modules/es.array.includes.js";
6
6
  import "core-js/modules/es.string.includes.js";
7
7
  import "core-js/modules/es.object.assign.js";
8
+ import "core-js/modules/es.array.sort.js";
8
9
  import "core-js/modules/es.array.find.js";
10
+ import "core-js/modules/es.object.to-string.js";
9
11
  import "core-js/modules/es.object.values.js";
10
12
  import "core-js/modules/es.symbol.js";
11
13
  import "core-js/modules/es.symbol.description.js";
12
- import "core-js/modules/es.object.to-string.js";
13
14
  import "core-js/modules/es.symbol.iterator.js";
14
- import "core-js/modules/es.string.iterator.js";
15
15
  import "core-js/modules/es.array.iterator.js";
16
+ import "core-js/modules/es.string.iterator.js";
16
17
  import "core-js/modules/web.dom-collections.iterator.js";
17
18
  import "core-js/modules/es.array.slice.js";
18
19
  import "core-js/modules/es.function.name.js";
19
20
  import "core-js/modules/es.array.from.js";
21
+ import "core-js/modules/es.regexp.exec.js";
20
22
 
21
23
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22
24
 
@@ -26,7 +28,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
26
28
 
27
29
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
28
30
 
29
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
31
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
30
32
 
31
33
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
32
34
 
@@ -1,9 +1,11 @@
1
+ import "core-js/modules/es.object.keys.js";
2
+ import "core-js/modules/es.symbol.js";
3
+ var _excluded = ["withSource", "mdxSource", "children"];
1
4
  import "core-js/modules/es.object.assign.js";
2
5
  import "core-js/modules/es.array.filter.js";
6
+ import "core-js/modules/es.object.to-string.js";
3
7
  import "core-js/modules/es.function.name.js";
4
8
  import "core-js/modules/es.array.map.js";
5
- import "core-js/modules/es.object.keys.js";
6
- import "core-js/modules/es.symbol.js";
7
9
 
8
10
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
11
 
@@ -23,7 +25,7 @@ var getPreviewProps = function getPreviewProps(_ref, docsContext, sourceContext)
23
25
  var withSource = _ref.withSource,
24
26
  mdxSource = _ref.mdxSource,
25
27
  children = _ref.children,
26
- props = _objectWithoutProperties(_ref, ["withSource", "mdxSource", "children"]);
28
+ props = _objectWithoutProperties(_ref, _excluded);
27
29
 
28
30
  var mdxComponentAnnotations = docsContext.mdxComponentAnnotations,
29
31
  mdxStoryNameToKey = docsContext.mdxStoryNameToKey;
@@ -6,11 +6,12 @@ var _templateObject;
6
6
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
7
7
 
8
8
  import "core-js/modules/es.object.assign.js";
9
- import "core-js/modules/web.url.js";
9
+ import "core-js/modules/es.array.iterator.js";
10
10
  import "core-js/modules/es.object.to-string.js";
11
11
  import "core-js/modules/es.string.iterator.js";
12
- import "core-js/modules/es.array.iterator.js";
13
12
  import "core-js/modules/web.dom-collections.iterator.js";
13
+ import "core-js/modules/web.url.js";
14
+ import "core-js/modules/web.url-search-params.js";
14
15
  import React, { useEffect } from 'react';
15
16
  import global from 'global';
16
17
  import deprecate from 'util-deprecate';
@@ -1,5 +1,5 @@
1
- import "core-js/modules/es.string.replace.js";
2
1
  import "core-js/modules/es.regexp.exec.js";
2
+ import "core-js/modules/es.string.replace.js";
3
3
  import React from 'react';
4
4
  import { H2 } from '@storybook/components';
5
5
  import { HeaderMdx } from './mdx';
@@ -1,8 +1,9 @@
1
- import "core-js/modules/web.url.js";
1
+ import "core-js/modules/es.array.iterator.js";
2
2
  import "core-js/modules/es.object.to-string.js";
3
3
  import "core-js/modules/es.string.iterator.js";
4
- import "core-js/modules/es.array.iterator.js";
5
4
  import "core-js/modules/web.dom-collections.iterator.js";
5
+ import "core-js/modules/web.url.js";
6
+ import "core-js/modules/web.url-search-params.js";
6
7
  import React, { useContext } from 'react';
7
8
  import global from 'global';
8
9
  import { Anchor } from './Anchor';
@@ -2,6 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import "core-js/modules/es.function.name.js";
4
4
  import "core-js/modules/es.array.find.js";
5
+ import "core-js/modules/es.object.to-string.js";
5
6
  import "core-js/modules/es.object.assign.js";
6
7
  import React, { useContext } from 'react';
7
8
  import { DocsContext } from './DocsContext';
@@ -1,4 +1,5 @@
1
1
  import "core-js/modules/es.array.filter.js";
2
+ import "core-js/modules/es.object.to-string.js";
2
3
  import "core-js/modules/es.array.map.js";
3
4
  import "core-js/modules/es.array.join.js";
4
5
  import React, { useContext } from 'react';
@@ -5,12 +5,13 @@ import "core-js/modules/es.symbol.js";
5
5
  import "core-js/modules/es.symbol.description.js";
6
6
  import "core-js/modules/es.object.to-string.js";
7
7
  import "core-js/modules/es.symbol.iterator.js";
8
- import "core-js/modules/es.string.iterator.js";
9
8
  import "core-js/modules/es.array.iterator.js";
9
+ import "core-js/modules/es.string.iterator.js";
10
10
  import "core-js/modules/web.dom-collections.iterator.js";
11
11
  import "core-js/modules/es.array.slice.js";
12
12
  import "core-js/modules/es.function.name.js";
13
13
  import "core-js/modules/es.array.from.js";
14
+ import "core-js/modules/es.regexp.exec.js";
14
15
 
15
16
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
17
 
@@ -20,7 +21,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
20
21
 
21
22
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
22
23
 
23
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
24
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
24
25
 
25
26
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
27
 
@@ -1,5 +1,7 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
+ import "core-js/modules/es.array.filter.js";
4
+ import "core-js/modules/es.object.to-string.js";
3
5
  import "core-js/modules/es.array.slice.js";
4
6
  import "core-js/modules/es.array.map.js";
5
7
  import "core-js/modules/es.object.assign.js";
@@ -16,6 +18,11 @@ export var Stories = function Stories(_ref) {
16
18
  componentStories = _useContext.componentStories;
17
19
 
18
20
  var stories = componentStories();
21
+ stories = stories.filter(function (story) {
22
+ var _story$parameters, _story$parameters$doc;
23
+
24
+ return !((_story$parameters = story.parameters) !== null && _story$parameters !== void 0 && (_story$parameters$doc = _story$parameters.docs) !== null && _story$parameters$doc !== void 0 && _story$parameters$doc.disable);
25
+ });
19
26
  if (!includePrimary) stories = stories.slice(1);
20
27
 
21
28
  if (!stories || stories.length === 0) {
@@ -6,16 +6,16 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
6
6
 
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
8
 
9
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
9
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
10
10
 
11
11
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
12
 
13
13
  import "core-js/modules/es.function.name.js";
14
14
  import "core-js/modules/es.object.assign.js";
15
- import "core-js/modules/es.promise.js";
16
15
  import "core-js/modules/es.object.to-string.js";
17
- import "core-js/modules/es.string.iterator.js";
16
+ import "core-js/modules/es.promise.js";
18
17
  import "core-js/modules/es.array.iterator.js";
18
+ import "core-js/modules/es.string.iterator.js";
19
19
  import "core-js/modules/web.dom-collections.iterator.js";
20
20
  import "core-js/modules/es.array.concat.js";
21
21
  import "core-js/modules/es.symbol.js";
@@ -23,6 +23,7 @@ import "core-js/modules/es.symbol.description.js";
23
23
  import "core-js/modules/es.symbol.iterator.js";
24
24
  import "core-js/modules/es.array.slice.js";
25
25
  import "core-js/modules/es.array.from.js";
26
+ import "core-js/modules/es.regexp.exec.js";
26
27
  import React, { useContext, useRef, useEffect, useState } from 'react';
27
28
  import { MDXProvider } from '@mdx-js/react';
28
29
  import global from 'global';
@@ -1,5 +1,5 @@
1
- import "core-js/modules/es.string.replace.js";
2
1
  import "core-js/modules/es.regexp.exec.js";
2
+ import "core-js/modules/es.string.replace.js";
3
3
  import React from 'react';
4
4
  import { H3 } from '@storybook/components';
5
5
  import { HeaderMdx } from './mdx';
@@ -1,5 +1,5 @@
1
- import "core-js/modules/es.string.split.js";
2
1
  import "core-js/modules/es.regexp.exec.js";
2
+ import "core-js/modules/es.string.split.js";
3
3
  import "core-js/modules/es.string.trim.js";
4
4
  import React, { useContext } from 'react';
5
5
  import { Title as PureTitle } from '@storybook/components';
@@ -4,7 +4,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
4
4
 
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
6
 
7
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
7
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
8
8
 
9
9
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
10
10
 
@@ -13,15 +13,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
13
13
  import "core-js/modules/es.array.join.js";
14
14
  import "core-js/modules/es.array.concat.js";
15
15
  import "core-js/modules/es.array.slice.js";
16
- import "core-js/modules/es.string.replace.js";
17
16
  import "core-js/modules/es.regexp.exec.js";
17
+ import "core-js/modules/es.string.replace.js";
18
18
  import "core-js/modules/es.string.split.js";
19
19
  import "core-js/modules/es.symbol.js";
20
20
  import "core-js/modules/es.symbol.description.js";
21
21
  import "core-js/modules/es.object.to-string.js";
22
22
  import "core-js/modules/es.symbol.iterator.js";
23
- import "core-js/modules/es.string.iterator.js";
24
23
  import "core-js/modules/es.array.iterator.js";
24
+ import "core-js/modules/es.string.iterator.js";
25
25
  import "core-js/modules/web.dom-collections.iterator.js";
26
26
  import "core-js/modules/es.array.from.js";
27
27
  import "core-js/modules/es.function.name.js";
@@ -1,14 +1,21 @@
1
+ import "core-js/modules/es.object.keys.js";
2
+ import "core-js/modules/es.symbol.js";
3
+ var _excluded = ["children"],
4
+ _excluded2 = ["className", "children"],
5
+ _excluded3 = ["href", "target", "children"],
6
+ _excluded4 = ["as", "id", "children"],
7
+ _excluded5 = ["as", "id", "children"];
8
+
1
9
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
10
 
3
11
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
12
 
5
13
  import "core-js/modules/es.object.assign.js";
6
- import "core-js/modules/es.string.match.js";
7
14
  import "core-js/modules/es.regexp.exec.js";
15
+ import "core-js/modules/es.string.match.js";
8
16
  import "core-js/modules/es.string.split.js";
9
17
  import "core-js/modules/es.string.starts-with.js";
10
- import "core-js/modules/es.object.keys.js";
11
- import "core-js/modules/es.symbol.js";
18
+ import "core-js/modules/es.object.to-string.js";
12
19
 
13
20
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
14
21
 
@@ -33,7 +40,7 @@ export var assertIsFn = function assertIsFn(val) {
33
40
 
34
41
  export var AddContext = function AddContext(props) {
35
42
  var children = props.children,
36
- rest = _objectWithoutProperties(props, ["children"]);
43
+ rest = _objectWithoutProperties(props, _excluded);
37
44
 
38
45
  var parentContext = React.useContext(DocsContext);
39
46
  return /*#__PURE__*/React.createElement(DocsContext.Provider, {
@@ -43,7 +50,7 @@ export var AddContext = function AddContext(props) {
43
50
  export var CodeOrSourceMdx = function CodeOrSourceMdx(_ref) {
44
51
  var className = _ref.className,
45
52
  children = _ref.children,
46
- rest = _objectWithoutProperties(_ref, ["className", "children"]);
53
+ rest = _objectWithoutProperties(_ref, _excluded2);
47
54
 
48
55
  // markdown-to-jsx does not add className to inline code
49
56
  if (typeof className !== 'string' && (typeof children !== 'string' || !children.match(/[\n\r]/g))) {
@@ -87,7 +94,7 @@ export var AnchorMdx = function AnchorMdx(props) {
87
94
  var href = props.href,
88
95
  target = props.target,
89
96
  children = props.children,
90
- rest = _objectWithoutProperties(props, ["href", "target", "children"]);
97
+ rest = _objectWithoutProperties(props, _excluded3);
91
98
 
92
99
  if (href) {
93
100
  // Enable scrolling for in-page anchors.
@@ -140,7 +147,7 @@ var HeaderWithOcticonAnchor = function HeaderWithOcticonAnchor(_ref3) {
140
147
  var as = _ref3.as,
141
148
  id = _ref3.id,
142
149
  children = _ref3.children,
143
- rest = _objectWithoutProperties(_ref3, ["as", "id", "children"]);
150
+ rest = _objectWithoutProperties(_ref3, _excluded4);
144
151
 
145
152
  // @ts-ignore
146
153
  var OcticonHeader = OcticonHeaders[as];
@@ -176,7 +183,7 @@ export var HeaderMdx = function HeaderMdx(props) {
176
183
  var as = props.as,
177
184
  id = props.id,
178
185
  children = props.children,
179
- rest = _objectWithoutProperties(props, ["as", "id", "children"]); // An id should have been added on every header by the "remark-slug" plugin.
186
+ rest = _objectWithoutProperties(props, _excluded5); // An id should have been added on every header by the "remark-slug" plugin.
180
187
 
181
188
 
182
189
  if (id) {
@@ -6,20 +6,6 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
6
6
 
7
7
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
8
8
 
9
- import "core-js/modules/es.promise.js";
10
- import "core-js/modules/es.object.to-string.js";
11
- import "core-js/modules/es.string.iterator.js";
12
- import "core-js/modules/es.array.iterator.js";
13
- import "core-js/modules/web.dom-collections.iterator.js";
14
- import "core-js/modules/es.array.map.js";
15
- import "core-js/modules/es.object.assign.js";
16
- import "core-js/modules/es.symbol.js";
17
- import "core-js/modules/es.symbol.description.js";
18
- import "core-js/modules/es.symbol.iterator.js";
19
- import "core-js/modules/es.array.slice.js";
20
- import "core-js/modules/es.function.name.js";
21
- import "core-js/modules/es.array.from.js";
22
-
23
9
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
24
10
 
25
11
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -28,10 +14,24 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
28
14
 
29
15
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
30
16
 
31
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
17
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
32
18
 
33
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
34
20
 
21
+ import "core-js/modules/es.object.to-string.js";
22
+ import "core-js/modules/es.array.iterator.js";
23
+ import "core-js/modules/es.promise.js";
24
+ import "core-js/modules/es.string.iterator.js";
25
+ import "core-js/modules/web.dom-collections.iterator.js";
26
+ import "core-js/modules/es.array.map.js";
27
+ import "core-js/modules/es.object.assign.js";
28
+ import "core-js/modules/es.symbol.js";
29
+ import "core-js/modules/es.symbol.description.js";
30
+ import "core-js/modules/es.symbol.iterator.js";
31
+ import "core-js/modules/es.array.slice.js";
32
+ import "core-js/modules/es.function.name.js";
33
+ import "core-js/modules/es.array.from.js";
34
+ import "core-js/modules/es.regexp.exec.js";
35
35
  import { useState, useEffect } from 'react';
36
36
  export function useStory(storyId, context) {
37
37
  var stories = useStories([storyId], context);
@@ -1,7 +1,7 @@
1
1
  import "core-js/modules/es.array.join.js";
2
2
  import "core-js/modules/es.array.map.js";
3
- import "core-js/modules/es.string.split.js";
4
3
  import "core-js/modules/es.regexp.exec.js";
4
+ import "core-js/modules/es.string.split.js";
5
5
  import "core-js/modules/es.array.slice.js";
6
6
  import "core-js/modules/es.array.includes.js";
7
7
  import "core-js/modules/es.string.includes.js";
@@ -1,12 +1,13 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
2
 
3
3
  import "core-js/modules/es.function.name.js";
4
4
  import "core-js/modules/es.array.find.js";
5
+ import "core-js/modules/es.object.to-string.js";
5
6
  import "core-js/modules/es.array.map.js";
6
7
  import "core-js/modules/es.array.concat.js";
7
8
  import "core-js/modules/es.array.join.js";
8
- import "core-js/modules/es.string.split.js";
9
9
  import "core-js/modules/es.regexp.exec.js";
10
+ import "core-js/modules/es.string.split.js";
10
11
  import "core-js/modules/es.array.includes.js";
11
12
  import "core-js/modules/es.number.constructor.js";
12
13
  import "core-js/modules/web.dom-collections.for-each.js";
@@ -14,10 +15,9 @@ import "core-js/modules/es.string.replace.js";
14
15
  import "core-js/modules/es.object.assign.js";
15
16
  import "core-js/modules/es.symbol.js";
16
17
  import "core-js/modules/es.symbol.description.js";
17
- import "core-js/modules/es.object.to-string.js";
18
18
  import "core-js/modules/es.symbol.iterator.js";
19
- import "core-js/modules/es.string.iterator.js";
20
19
  import "core-js/modules/es.array.iterator.js";
20
+ import "core-js/modules/es.string.iterator.js";
21
21
  import "core-js/modules/web.dom-collections.iterator.js";
22
22
 
23
23
  /* eslint-disable no-underscore-dangle */
@@ -1,7 +1,7 @@
1
1
  import "regenerator-runtime/runtime.js";
2
2
  import "core-js/modules/es.array.concat.js";
3
- import "core-js/modules/es.promise.js";
4
3
  import "core-js/modules/es.object.to-string.js";
4
+ import "core-js/modules/es.promise.js";
5
5
 
6
6
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
7
7
 
@@ -1,6 +1,6 @@
1
1
  import "regenerator-runtime/runtime.js";
2
- import "core-js/modules/es.promise.js";
3
2
  import "core-js/modules/es.object.to-string.js";
3
+ import "core-js/modules/es.promise.js";
4
4
 
5
5
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
6
6
 
@@ -1,6 +1,6 @@
1
1
  import "regenerator-runtime/runtime.js";
2
- import "core-js/modules/es.promise.js";
3
2
  import "core-js/modules/es.object.to-string.js";
3
+ import "core-js/modules/es.promise.js";
4
4
 
5
5
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
6
6