@storybook/addon-docs 6.5.9 → 7.0.0-alpha.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 (160) hide show
  1. package/blocks.d.ts +1 -1
  2. package/dist/cjs/blocks/Anchor.js +7 -10
  3. package/dist/cjs/blocks/ArgsTable.js +135 -206
  4. package/dist/cjs/blocks/Canvas.js +38 -73
  5. package/dist/cjs/blocks/Description.js +41 -68
  6. package/dist/cjs/blocks/DocsContainer.js +40 -68
  7. package/dist/cjs/blocks/DocsContext.js +1 -1
  8. package/dist/cjs/blocks/DocsPage.js +3 -5
  9. package/dist/cjs/blocks/DocsStory.js +18 -28
  10. package/dist/cjs/blocks/Heading.js +5 -9
  11. package/dist/cjs/blocks/Meta.js +11 -33
  12. package/dist/cjs/blocks/Preview.js +4 -10
  13. package/dist/cjs/blocks/Primary.js +12 -40
  14. package/dist/cjs/blocks/Props.js +4 -10
  15. package/dist/cjs/blocks/Source.js +62 -80
  16. package/dist/cjs/blocks/SourceContainer.js +19 -68
  17. package/dist/cjs/blocks/Stories.js +17 -48
  18. package/dist/cjs/blocks/Story.js +60 -180
  19. package/dist/cjs/blocks/Subheading.js +5 -9
  20. package/dist/cjs/blocks/Subtitle.js +15 -35
  21. package/dist/cjs/blocks/Title.js +12 -36
  22. package/dist/cjs/blocks/Wrapper.js +7 -8
  23. package/dist/cjs/blocks/enhanceSource.js +30 -67
  24. package/dist/cjs/blocks/index.js +28 -34
  25. package/dist/cjs/blocks/mdx.js +86 -97
  26. package/dist/cjs/blocks/types.js +2 -2
  27. package/dist/cjs/blocks/useStory.js +16 -87
  28. package/dist/cjs/blocks/utils.js +4 -25
  29. package/dist/cjs/index.js +1 -7
  30. package/dist/cjs/manager.js +9 -15
  31. package/dist/cjs/preset.js +129 -193
  32. package/dist/cjs/preview.js +5 -87
  33. package/dist/cjs/shared.js +5 -5
  34. package/dist/esm/blocks/Anchor.js +7 -10
  35. package/dist/esm/blocks/ArgsTable.js +133 -182
  36. package/dist/esm/blocks/Canvas.js +34 -46
  37. package/dist/esm/blocks/Description.js +39 -45
  38. package/dist/esm/blocks/DocsContainer.js +36 -44
  39. package/dist/esm/blocks/DocsContext.js +1 -1
  40. package/dist/esm/blocks/DocsPage.js +3 -5
  41. package/dist/esm/blocks/DocsStory.js +18 -27
  42. package/dist/esm/blocks/Heading.js +5 -7
  43. package/dist/esm/blocks/Meta.js +9 -13
  44. package/dist/esm/blocks/Preview.js +5 -10
  45. package/dist/esm/blocks/Primary.js +10 -16
  46. package/dist/esm/blocks/Props.js +5 -10
  47. package/dist/esm/blocks/Source.js +64 -70
  48. package/dist/esm/blocks/SourceContainer.js +17 -50
  49. package/dist/esm/blocks/Stories.js +15 -27
  50. package/dist/esm/blocks/Story.js +58 -151
  51. package/dist/esm/blocks/Subheading.js +5 -7
  52. package/dist/esm/blocks/Subtitle.js +12 -12
  53. package/dist/esm/blocks/Title.js +10 -11
  54. package/dist/esm/blocks/Wrapper.js +7 -8
  55. package/dist/esm/blocks/enhanceSource.js +32 -56
  56. package/dist/esm/blocks/mdx.js +85 -89
  57. package/dist/esm/blocks/types.js +2 -2
  58. package/dist/esm/blocks/useStory.js +16 -73
  59. package/dist/esm/blocks/utils.js +4 -18
  60. package/dist/esm/manager.js +9 -14
  61. package/dist/esm/preset.js +114 -179
  62. package/dist/esm/preview.js +3 -61
  63. package/dist/esm/shared.js +5 -5
  64. package/dist/{ts3.9 → types}/blocks/Anchor.d.ts +0 -0
  65. package/dist/{ts3.9 → types}/blocks/ArgsTable.d.ts +0 -0
  66. package/dist/{ts3.9 → types}/blocks/Canvas.d.ts +0 -0
  67. package/dist/{ts3.9 → types}/blocks/Description.d.ts +0 -0
  68. package/dist/{ts3.9 → types}/blocks/DocsContainer.d.ts +0 -0
  69. package/dist/{ts3.9 → types}/blocks/DocsContext.d.ts +0 -0
  70. package/dist/{ts3.9 → types}/blocks/DocsPage.d.ts +0 -0
  71. package/dist/{ts3.9 → types}/blocks/DocsStory.d.ts +0 -0
  72. package/dist/{ts3.9 → types}/blocks/Heading.d.ts +0 -0
  73. package/dist/{ts3.9 → types}/blocks/Meta.d.ts +0 -0
  74. package/dist/{ts3.9 → types}/blocks/Preview.d.ts +0 -0
  75. package/dist/{ts3.9 → types}/blocks/Primary.d.ts +0 -0
  76. package/dist/{ts3.9 → types}/blocks/Props.d.ts +0 -0
  77. package/dist/{ts3.9 → types}/blocks/Source.d.ts +0 -0
  78. package/dist/{ts3.9 → types}/blocks/SourceContainer.d.ts +0 -0
  79. package/dist/{ts3.9 → types}/blocks/Stories.d.ts +0 -0
  80. package/dist/{ts3.9 → types}/blocks/Story.d.ts +2 -2
  81. package/dist/{ts3.9 → types}/blocks/Subheading.d.ts +0 -0
  82. package/dist/{ts3.9 → types}/blocks/Subtitle.d.ts +0 -0
  83. package/dist/{ts3.9 → types}/blocks/Title.d.ts +0 -0
  84. package/dist/{ts3.9 → types}/blocks/Wrapper.d.ts +0 -0
  85. package/dist/{ts3.9 → types}/blocks/enhanceSource.d.ts +0 -0
  86. package/dist/{ts3.9 → types}/blocks/index.d.ts +0 -0
  87. package/dist/{ts3.9 → types}/blocks/mdx.d.ts +0 -0
  88. package/dist/{ts3.9 → types}/blocks/types.d.ts +0 -0
  89. package/dist/{ts3.9 → types}/blocks/useStory.d.ts +0 -0
  90. package/dist/{ts3.9 → types}/blocks/utils.d.ts +0 -0
  91. package/dist/{ts3.9 → types}/index.d.ts +0 -0
  92. package/dist/{ts3.9 → types}/manager.d.ts +0 -0
  93. package/dist/{ts3.9 → types}/preset.d.ts +2 -1
  94. package/dist/{ts3.9 → types}/preview.d.ts +0 -0
  95. package/dist/{ts3.9 → types}/shared.d.ts +0 -0
  96. package/package.json +17 -24
  97. package/dist/modern/blocks/Anchor.js +0 -8
  98. package/dist/modern/blocks/ArgsTable.js +0 -292
  99. package/dist/modern/blocks/Canvas.js +0 -83
  100. package/dist/modern/blocks/Description.js +0 -107
  101. package/dist/modern/blocks/DocsContainer.js +0 -98
  102. package/dist/modern/blocks/DocsContext.js +0 -16
  103. package/dist/modern/blocks/DocsPage.js +0 -11
  104. package/dist/modern/blocks/DocsStory.js +0 -48
  105. package/dist/modern/blocks/Heading.js +0 -17
  106. package/dist/modern/blocks/Meta.js +0 -31
  107. package/dist/modern/blocks/Preview.js +0 -9
  108. package/dist/modern/blocks/Primary.js +0 -23
  109. package/dist/modern/blocks/Props.js +0 -14
  110. package/dist/modern/blocks/Source.js +0 -154
  111. package/dist/modern/blocks/SourceContainer.js +0 -44
  112. package/dist/modern/blocks/Stories.js +0 -34
  113. package/dist/modern/blocks/Story.js +0 -168
  114. package/dist/modern/blocks/Subheading.js +0 -17
  115. package/dist/modern/blocks/Subtitle.js +0 -23
  116. package/dist/modern/blocks/Title.js +0 -24
  117. package/dist/modern/blocks/Wrapper.js +0 -8
  118. package/dist/modern/blocks/enhanceSource.js +0 -89
  119. package/dist/modern/blocks/index.js +0 -24
  120. package/dist/modern/blocks/mdx.js +0 -204
  121. package/dist/modern/blocks/types.js +0 -2
  122. package/dist/modern/blocks/useStory.js +0 -28
  123. package/dist/modern/blocks/utils.js +0 -29
  124. package/dist/modern/index.js +0 -1
  125. package/dist/modern/manager.js +0 -16
  126. package/dist/modern/preset.js +0 -130
  127. package/dist/modern/preview.js +0 -6
  128. package/dist/modern/shared.js +0 -11
  129. package/dist/ts3.4/blocks/Anchor.d.ts +0 -6
  130. package/dist/ts3.4/blocks/ArgsTable.d.ts +0 -33
  131. package/dist/ts3.4/blocks/Canvas.d.ts +0 -9
  132. package/dist/ts3.4/blocks/Description.d.ts +0 -20
  133. package/dist/ts3.4/blocks/DocsContainer.d.ts +0 -7
  134. package/dist/ts3.4/blocks/DocsContext.d.ts +0 -5
  135. package/dist/ts3.4/blocks/DocsPage.d.ts +0 -2
  136. package/dist/ts3.4/blocks/DocsStory.d.ts +0 -3
  137. package/dist/ts3.4/blocks/Heading.d.ts +0 -6
  138. package/dist/ts3.4/blocks/Meta.d.ts +0 -9
  139. package/dist/ts3.4/blocks/Preview.d.ts +0 -3
  140. package/dist/ts3.4/blocks/Primary.d.ts +0 -6
  141. package/dist/ts3.4/blocks/Props.d.ts +0 -3
  142. package/dist/ts3.4/blocks/Source.d.ts +0 -38
  143. package/dist/ts3.4/blocks/SourceContainer.d.ts +0 -14
  144. package/dist/ts3.4/blocks/Stories.d.ts +0 -7
  145. package/dist/ts3.4/blocks/Story.d.ts +0 -28
  146. package/dist/ts3.4/blocks/Subheading.d.ts +0 -3
  147. package/dist/ts3.4/blocks/Subtitle.d.ts +0 -6
  148. package/dist/ts3.4/blocks/Title.d.ts +0 -8
  149. package/dist/ts3.4/blocks/Wrapper.d.ts +0 -2
  150. package/dist/ts3.4/blocks/enhanceSource.d.ts +0 -3
  151. package/dist/ts3.4/blocks/index.d.ts +0 -24
  152. package/dist/ts3.4/blocks/mdx.d.ts +0 -20
  153. package/dist/ts3.4/blocks/types.d.ts +0 -13
  154. package/dist/ts3.4/blocks/useStory.d.ts +0 -5
  155. package/dist/ts3.4/blocks/utils.d.ts +0 -3
  156. package/dist/ts3.4/index.d.ts +0 -1
  157. package/dist/ts3.4/manager.d.ts +0 -1
  158. package/dist/ts3.4/preset.d.ts +0 -11
  159. package/dist/ts3.4/preview.d.ts +0 -6
  160. package/dist/ts3.4/shared.d.ts +0 -24
@@ -1,74 +1,34 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.symbol.js");
4
-
5
- require("core-js/modules/es.symbol.description.js");
6
-
7
- require("core-js/modules/es.object.to-string.js");
8
-
9
- require("core-js/modules/es.symbol.iterator.js");
10
-
11
- require("core-js/modules/es.array.iterator.js");
12
-
13
- require("core-js/modules/es.string.iterator.js");
14
-
15
- require("core-js/modules/web.dom-collections.iterator.js");
16
-
17
- require("core-js/modules/es.array.from.js");
18
-
19
- require("core-js/modules/es.function.name.js");
20
-
21
3
  Object.defineProperty(exports, "__esModule", {
22
4
  value: true
23
5
  });
24
6
  exports.enhanceSource = void 0;
25
7
 
26
- require("core-js/modules/es.array.join.js");
27
-
28
- require("core-js/modules/es.array.concat.js");
29
-
30
- require("core-js/modules/es.array.slice.js");
31
-
32
- require("core-js/modules/es.regexp.exec.js");
33
-
34
- require("core-js/modules/es.string.replace.js");
35
-
36
- require("core-js/modules/es.string.split.js");
37
-
38
8
  var _store = require("@storybook/store");
39
9
 
40
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
41
-
42
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
43
-
44
- 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); }
45
-
46
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
47
-
48
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
49
-
50
- 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; }
51
-
52
10
  /**
53
11
  * given a location, extract the text from the full source
54
12
  */
55
13
  function extractSource(location, lines) {
56
- var start = location.startBody,
57
- end = location.endBody;
14
+ const {
15
+ startBody: start,
16
+ endBody: end
17
+ } = location;
58
18
 
59
19
  if (start.line === end.line && lines[start.line - 1] !== undefined) {
60
20
  return lines[start.line - 1].substring(start.col, end.col);
61
21
  } // NOTE: storysource locations are 1-based not 0-based!
62
22
 
63
23
 
64
- var startLine = lines[start.line - 1];
65
- var endLine = lines[end.line - 1];
24
+ const startLine = lines[start.line - 1];
25
+ const endLine = lines[end.line - 1];
66
26
 
67
27
  if (startLine === undefined || endLine === undefined) {
68
28
  return null;
69
29
  }
70
30
 
71
- return [startLine.substring(start.col)].concat(_toConsumableArray(lines.slice(start.line, end.line - 1)), [endLine.substring(0, end.col)]).join('\n');
31
+ return [startLine.substring(start.col), ...lines.slice(start.line, end.line - 1), endLine.substring(0, end.col)].join('\n');
72
32
  } // ============================================================
73
33
  // END @storybook/source-loader/extract-source
74
34
  // ============================================================
@@ -78,49 +38,52 @@ function extractSource(location, lines) {
78
38
  * Replaces full story id name like: story-kind--story-name -> story-name
79
39
  * @param id
80
40
  */
81
- var storyIdToSanitizedStoryName = function storyIdToSanitizedStoryName(id) {
82
- return id.replace(/^.*?--/, '');
83
- };
84
-
85
- var extract = function extract(targetId, _ref) {
86
- var source = _ref.source,
87
- locationsMap = _ref.locationsMap;
41
+ const storyIdToSanitizedStoryName = id => id.replace(/^.*?--/, '');
88
42
 
43
+ const extract = (targetId, {
44
+ source,
45
+ locationsMap
46
+ }) => {
89
47
  if (!locationsMap) {
90
48
  return source;
91
49
  }
92
50
 
93
- var sanitizedStoryName = storyIdToSanitizedStoryName(targetId);
94
- var location = locationsMap[sanitizedStoryName];
51
+ const sanitizedStoryName = storyIdToSanitizedStoryName(targetId);
52
+ const location = locationsMap[sanitizedStoryName];
95
53
 
96
54
  if (!location) {
97
55
  return source;
98
56
  }
99
57
 
100
- var lines = source.split('\n');
58
+ const lines = source.split('\n');
101
59
  return extractSource(location, lines);
102
60
  };
103
61
 
104
- var enhanceSource = function enhanceSource(story) {
62
+ const enhanceSource = story => {
105
63
  var _docs$source;
106
64
 
107
- var id = story.id,
108
- parameters = story.parameters;
109
- var storySource = parameters.storySource,
110
- _parameters$docs = parameters.docs,
111
- docs = _parameters$docs === void 0 ? {} : _parameters$docs;
112
- var transformSource = docs.transformSource; // no input or user has manually overridden the output
65
+ const {
66
+ id,
67
+ parameters
68
+ } = story;
69
+ const {
70
+ storySource,
71
+ docs = {}
72
+ } = parameters;
73
+ const {
74
+ transformSource
75
+ } = docs; // no input or user has manually overridden the output
113
76
 
114
77
  if (!(storySource !== null && storySource !== void 0 && storySource.source) || (_docs$source = docs.source) !== null && _docs$source !== void 0 && _docs$source.code) {
115
78
  return null;
116
79
  }
117
80
 
118
- var input = extract(id, storySource);
119
- var code = transformSource ? transformSource(input, story) : input;
81
+ const input = extract(id, storySource);
82
+ const code = transformSource ? transformSource(input, story) : input;
120
83
  return {
121
84
  docs: (0, _store.combineParameters)(docs, {
122
85
  source: {
123
- code: code
86
+ code
124
87
  }
125
88
  })
126
89
  };
@@ -1,11 +1,5 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.to-string.js");
4
-
5
- require("core-js/modules/web.dom-collections.for-each.js");
6
-
7
- require("core-js/modules/es.object.keys.js");
8
-
9
3
  Object.defineProperty(exports, "__esModule", {
10
4
  value: true
11
5
  });
@@ -18,31 +12,31 @@ var _exportNames = {
18
12
  };
19
13
  Object.defineProperty(exports, "ColorItem", {
20
14
  enumerable: true,
21
- get: function get() {
15
+ get: function () {
22
16
  return _components.ColorItem;
23
17
  }
24
18
  });
25
19
  Object.defineProperty(exports, "ColorPalette", {
26
20
  enumerable: true,
27
- get: function get() {
21
+ get: function () {
28
22
  return _components.ColorPalette;
29
23
  }
30
24
  });
31
25
  Object.defineProperty(exports, "IconGallery", {
32
26
  enumerable: true,
33
- get: function get() {
27
+ get: function () {
34
28
  return _components.IconGallery;
35
29
  }
36
30
  });
37
31
  Object.defineProperty(exports, "IconItem", {
38
32
  enumerable: true,
39
- get: function get() {
33
+ get: function () {
40
34
  return _components.IconItem;
41
35
  }
42
36
  });
43
37
  Object.defineProperty(exports, "Typeset", {
44
38
  enumerable: true,
45
- get: function get() {
39
+ get: function () {
46
40
  return _components.Typeset;
47
41
  }
48
42
  });
@@ -57,7 +51,7 @@ Object.keys(_Anchor).forEach(function (key) {
57
51
  if (key in exports && exports[key] === _Anchor[key]) return;
58
52
  Object.defineProperty(exports, key, {
59
53
  enumerable: true,
60
- get: function get() {
54
+ get: function () {
61
55
  return _Anchor[key];
62
56
  }
63
57
  });
@@ -71,7 +65,7 @@ Object.keys(_ArgsTable).forEach(function (key) {
71
65
  if (key in exports && exports[key] === _ArgsTable[key]) return;
72
66
  Object.defineProperty(exports, key, {
73
67
  enumerable: true,
74
- get: function get() {
68
+ get: function () {
75
69
  return _ArgsTable[key];
76
70
  }
77
71
  });
@@ -85,7 +79,7 @@ Object.keys(_Canvas).forEach(function (key) {
85
79
  if (key in exports && exports[key] === _Canvas[key]) return;
86
80
  Object.defineProperty(exports, key, {
87
81
  enumerable: true,
88
- get: function get() {
82
+ get: function () {
89
83
  return _Canvas[key];
90
84
  }
91
85
  });
@@ -99,7 +93,7 @@ Object.keys(_Description).forEach(function (key) {
99
93
  if (key in exports && exports[key] === _Description[key]) return;
100
94
  Object.defineProperty(exports, key, {
101
95
  enumerable: true,
102
- get: function get() {
96
+ get: function () {
103
97
  return _Description[key];
104
98
  }
105
99
  });
@@ -113,7 +107,7 @@ Object.keys(_DocsContext).forEach(function (key) {
113
107
  if (key in exports && exports[key] === _DocsContext[key]) return;
114
108
  Object.defineProperty(exports, key, {
115
109
  enumerable: true,
116
- get: function get() {
110
+ get: function () {
117
111
  return _DocsContext[key];
118
112
  }
119
113
  });
@@ -127,7 +121,7 @@ Object.keys(_DocsPage).forEach(function (key) {
127
121
  if (key in exports && exports[key] === _DocsPage[key]) return;
128
122
  Object.defineProperty(exports, key, {
129
123
  enumerable: true,
130
- get: function get() {
124
+ get: function () {
131
125
  return _DocsPage[key];
132
126
  }
133
127
  });
@@ -141,7 +135,7 @@ Object.keys(_DocsContainer).forEach(function (key) {
141
135
  if (key in exports && exports[key] === _DocsContainer[key]) return;
142
136
  Object.defineProperty(exports, key, {
143
137
  enumerable: true,
144
- get: function get() {
138
+ get: function () {
145
139
  return _DocsContainer[key];
146
140
  }
147
141
  });
@@ -155,7 +149,7 @@ Object.keys(_DocsStory).forEach(function (key) {
155
149
  if (key in exports && exports[key] === _DocsStory[key]) return;
156
150
  Object.defineProperty(exports, key, {
157
151
  enumerable: true,
158
- get: function get() {
152
+ get: function () {
159
153
  return _DocsStory[key];
160
154
  }
161
155
  });
@@ -169,7 +163,7 @@ Object.keys(_Heading).forEach(function (key) {
169
163
  if (key in exports && exports[key] === _Heading[key]) return;
170
164
  Object.defineProperty(exports, key, {
171
165
  enumerable: true,
172
- get: function get() {
166
+ get: function () {
173
167
  return _Heading[key];
174
168
  }
175
169
  });
@@ -183,7 +177,7 @@ Object.keys(_Meta).forEach(function (key) {
183
177
  if (key in exports && exports[key] === _Meta[key]) return;
184
178
  Object.defineProperty(exports, key, {
185
179
  enumerable: true,
186
- get: function get() {
180
+ get: function () {
187
181
  return _Meta[key];
188
182
  }
189
183
  });
@@ -197,7 +191,7 @@ Object.keys(_Preview).forEach(function (key) {
197
191
  if (key in exports && exports[key] === _Preview[key]) return;
198
192
  Object.defineProperty(exports, key, {
199
193
  enumerable: true,
200
- get: function get() {
194
+ get: function () {
201
195
  return _Preview[key];
202
196
  }
203
197
  });
@@ -211,7 +205,7 @@ Object.keys(_Primary).forEach(function (key) {
211
205
  if (key in exports && exports[key] === _Primary[key]) return;
212
206
  Object.defineProperty(exports, key, {
213
207
  enumerable: true,
214
- get: function get() {
208
+ get: function () {
215
209
  return _Primary[key];
216
210
  }
217
211
  });
@@ -225,7 +219,7 @@ Object.keys(_Props).forEach(function (key) {
225
219
  if (key in exports && exports[key] === _Props[key]) return;
226
220
  Object.defineProperty(exports, key, {
227
221
  enumerable: true,
228
- get: function get() {
222
+ get: function () {
229
223
  return _Props[key];
230
224
  }
231
225
  });
@@ -239,7 +233,7 @@ Object.keys(_Source).forEach(function (key) {
239
233
  if (key in exports && exports[key] === _Source[key]) return;
240
234
  Object.defineProperty(exports, key, {
241
235
  enumerable: true,
242
- get: function get() {
236
+ get: function () {
243
237
  return _Source[key];
244
238
  }
245
239
  });
@@ -253,7 +247,7 @@ Object.keys(_SourceContainer).forEach(function (key) {
253
247
  if (key in exports && exports[key] === _SourceContainer[key]) return;
254
248
  Object.defineProperty(exports, key, {
255
249
  enumerable: true,
256
- get: function get() {
250
+ get: function () {
257
251
  return _SourceContainer[key];
258
252
  }
259
253
  });
@@ -267,7 +261,7 @@ Object.keys(_Stories).forEach(function (key) {
267
261
  if (key in exports && exports[key] === _Stories[key]) return;
268
262
  Object.defineProperty(exports, key, {
269
263
  enumerable: true,
270
- get: function get() {
264
+ get: function () {
271
265
  return _Stories[key];
272
266
  }
273
267
  });
@@ -281,7 +275,7 @@ Object.keys(_Story).forEach(function (key) {
281
275
  if (key in exports && exports[key] === _Story[key]) return;
282
276
  Object.defineProperty(exports, key, {
283
277
  enumerable: true,
284
- get: function get() {
278
+ get: function () {
285
279
  return _Story[key];
286
280
  }
287
281
  });
@@ -295,7 +289,7 @@ Object.keys(_Subheading).forEach(function (key) {
295
289
  if (key in exports && exports[key] === _Subheading[key]) return;
296
290
  Object.defineProperty(exports, key, {
297
291
  enumerable: true,
298
- get: function get() {
292
+ get: function () {
299
293
  return _Subheading[key];
300
294
  }
301
295
  });
@@ -309,7 +303,7 @@ Object.keys(_Subtitle).forEach(function (key) {
309
303
  if (key in exports && exports[key] === _Subtitle[key]) return;
310
304
  Object.defineProperty(exports, key, {
311
305
  enumerable: true,
312
- get: function get() {
306
+ get: function () {
313
307
  return _Subtitle[key];
314
308
  }
315
309
  });
@@ -323,7 +317,7 @@ Object.keys(_Title).forEach(function (key) {
323
317
  if (key in exports && exports[key] === _Title[key]) return;
324
318
  Object.defineProperty(exports, key, {
325
319
  enumerable: true,
326
- get: function get() {
320
+ get: function () {
327
321
  return _Title[key];
328
322
  }
329
323
  });
@@ -337,7 +331,7 @@ Object.keys(_Wrapper).forEach(function (key) {
337
331
  if (key in exports && exports[key] === _Wrapper[key]) return;
338
332
  Object.defineProperty(exports, key, {
339
333
  enumerable: true,
340
- get: function get() {
334
+ get: function () {
341
335
  return _Wrapper[key];
342
336
  }
343
337
  });
@@ -351,7 +345,7 @@ Object.keys(_types).forEach(function (key) {
351
345
  if (key in exports && exports[key] === _types[key]) return;
352
346
  Object.defineProperty(exports, key, {
353
347
  enumerable: true,
354
- get: function get() {
348
+ get: function () {
355
349
  return _types[key];
356
350
  }
357
351
  });
@@ -365,7 +359,7 @@ Object.keys(_mdx).forEach(function (key) {
365
359
  if (key in exports && exports[key] === _mdx[key]) return;
366
360
  Object.defineProperty(exports, key, {
367
361
  enumerable: true,
368
- get: function get() {
362
+ get: function () {
369
363
  return _mdx[key];
370
364
  }
371
365
  });