@modern-js/module-tools-docs 2.2.0 → 2.2.1-beta.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 (293) hide show
  1. package/LICENSE +144 -0
  2. package/doc_build/html/main/index.html +16 -0
  3. package/doc_build/route.json +10 -0
  4. package/doc_build/static/css/main.css +2977 -0
  5. package/doc_build/static/css/main.css.map +1 -0
  6. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +68 -0
  7. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +1 -0
  8. package/doc_build/static/js/async/en_api_config_build-config.js +8406 -0
  9. package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -0
  10. package/doc_build/static/js/async/en_api_config_build-preset.js +7865 -0
  11. package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -0
  12. package/doc_build/static/js/async/en_api_config_design-system.js +47805 -0
  13. package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -0
  14. package/doc_build/static/js/async/en_api_config_plugins.js +1488 -0
  15. package/doc_build/static/js/async/en_api_config_plugins.js.map +1 -0
  16. package/doc_build/static/js/async/en_api_config_testing.js +2139 -0
  17. package/doc_build/static/js/async/en_api_config_testing.js.map +1 -0
  18. package/doc_build/static/js/async/en_api_index.js +51 -0
  19. package/doc_build/static/js/async/en_api_index.js.map +1 -0
  20. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +14360 -0
  21. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -0
  22. package/doc_build/static/js/async/en_guide_advance_asset.js +3972 -0
  23. package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -0
  24. package/doc_build/static/js/async/en_guide_advance_build-umd.js +9857 -0
  25. package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +1 -0
  26. package/doc_build/static/js/async/en_guide_advance_copy.js +6541 -0
  27. package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -0
  28. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +3806 -0
  29. package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +1 -0
  30. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +5304 -0
  31. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -0
  32. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +2526 -0
  33. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -0
  34. package/doc_build/static/js/async/en_guide_advance_theme-config.js +2486 -0
  35. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -0
  36. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +3720 -0
  37. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -0
  38. package/doc_build/static/js/async/en_guide_basic_command-preview.js +3973 -0
  39. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -0
  40. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +3137 -0
  41. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -0
  42. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +2180 -0
  43. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -0
  44. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +3887 -0
  45. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -0
  46. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +2973 -0
  47. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -0
  48. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +4723 -0
  49. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -0
  50. package/doc_build/static/js/async/en_guide_best-practices_components.js +21400 -0
  51. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -0
  52. package/doc_build/static/js/async/en_guide_intro_getting-started.js +2149 -0
  53. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -0
  54. package/doc_build/static/js/async/en_guide_intro_welcome.js +162 -0
  55. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -0
  56. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +96 -0
  57. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -0
  58. package/doc_build/static/js/async/en_index.js +81 -0
  59. package/doc_build/static/js/async/en_index.js.map +1 -0
  60. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +2556 -0
  61. package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +1 -0
  62. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +4173 -0
  63. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +1 -0
  64. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +3815 -0
  65. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -0
  66. package/doc_build/static/js/async/en_plugins_official-list_overview.js +66 -0
  67. package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +1 -0
  68. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +246 -0
  69. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -0
  70. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js +6656 -0
  71. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js.map +1 -0
  72. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +54 -0
  73. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +1 -0
  74. package/doc_build/static/js/async/zh_api_config_build-config.js +11354 -0
  75. package/doc_build/static/js/async/zh_api_config_build-config.js.map +1 -0
  76. package/doc_build/static/js/async/zh_api_config_build-preset.js +7867 -0
  77. package/doc_build/static/js/async/zh_api_config_build-preset.js.map +1 -0
  78. package/doc_build/static/js/async/zh_api_config_design-system.js +48712 -0
  79. package/doc_build/static/js/async/zh_api_config_design-system.js.map +1 -0
  80. package/doc_build/static/js/async/zh_api_config_plugins.js +1488 -0
  81. package/doc_build/static/js/async/zh_api_config_plugins.js.map +1 -0
  82. package/doc_build/static/js/async/zh_api_config_testing.js +2132 -0
  83. package/doc_build/static/js/async/zh_api_config_testing.js.map +1 -0
  84. package/doc_build/static/js/async/zh_api_index.js +52 -0
  85. package/doc_build/static/js/async/zh_api_index.js.map +1 -0
  86. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js +14392 -0
  87. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js.map +1 -0
  88. package/doc_build/static/js/async/zh_guide_advance_asset.js +3972 -0
  89. package/doc_build/static/js/async/zh_guide_advance_asset.js.map +1 -0
  90. package/doc_build/static/js/async/zh_guide_advance_build-umd.js +9859 -0
  91. package/doc_build/static/js/async/zh_guide_advance_build-umd.js.map +1 -0
  92. package/doc_build/static/js/async/zh_guide_advance_copy.js +6541 -0
  93. package/doc_build/static/js/async/zh_guide_advance_copy.js.map +1 -0
  94. package/doc_build/static/js/async/zh_guide_advance_external-dependency.js +3808 -0
  95. package/doc_build/static/js/async/zh_guide_advance_external-dependency.js.map +1 -0
  96. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js +5304 -0
  97. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js.map +1 -0
  98. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js +2526 -0
  99. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js.map +1 -0
  100. package/doc_build/static/js/async/zh_guide_advance_theme-config.js +2477 -0
  101. package/doc_build/static/js/async/zh_guide_advance_theme-config.js.map +1 -0
  102. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js +3711 -0
  103. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js.map +1 -0
  104. package/doc_build/static/js/async/zh_guide_basic_command-preview.js +3805 -0
  105. package/doc_build/static/js/async/zh_guide_basic_command-preview.js.map +1 -0
  106. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js +3142 -0
  107. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js.map +1 -0
  108. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js +2241 -0
  109. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js.map +1 -0
  110. package/doc_build/static/js/async/zh_guide_basic_test-your-project.js +4286 -0
  111. package/doc_build/static/js/async/zh_guide_basic_test-your-project.js.map +1 -0
  112. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js +2979 -0
  113. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js.map +1 -0
  114. package/doc_build/static/js/async/zh_guide_basic_using-storybook.js +4760 -0
  115. package/doc_build/static/js/async/zh_guide_basic_using-storybook.js.map +1 -0
  116. package/doc_build/static/js/async/zh_guide_best-practices_components.js +21100 -0
  117. package/doc_build/static/js/async/zh_guide_best-practices_components.js.map +1 -0
  118. package/doc_build/static/js/async/zh_guide_intro_getting-started.js +2031 -0
  119. package/doc_build/static/js/async/zh_guide_intro_getting-started.js.map +1 -0
  120. package/doc_build/static/js/async/zh_guide_intro_welcome.js +162 -0
  121. package/doc_build/static/js/async/zh_guide_intro_welcome.js.map +1 -0
  122. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js +96 -0
  123. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js.map +1 -0
  124. package/doc_build/static/js/async/zh_index.js +81 -0
  125. package/doc_build/static/js/async/zh_index.js.map +1 -0
  126. package/doc_build/static/js/async/zh_plugins_guide_getting-started.js +2604 -0
  127. package/doc_build/static/js/async/zh_plugins_guide_getting-started.js.map +1 -0
  128. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.js +4169 -0
  129. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.js.map +1 -0
  130. package/doc_build/static/js/async/zh_plugins_guide_setup-function.js +3815 -0
  131. package/doc_build/static/js/async/zh_plugins_guide_setup-function.js.map +1 -0
  132. package/doc_build/static/js/async/zh_plugins_official-list_overview.js +66 -0
  133. package/doc_build/static/js/async/zh_plugins_official-list_overview.js.map +1 -0
  134. package/doc_build/static/js/builder-runtime.js +1375 -0
  135. package/doc_build/static/js/builder-runtime.js.map +1 -0
  136. package/doc_build/static/js/lib-lodash.js +4907 -0
  137. package/doc_build/static/js/lib-lodash.js.map +1 -0
  138. package/doc_build/static/js/lib-polyfill.js +11847 -0
  139. package/doc_build/static/js/lib-polyfill.js.map +1 -0
  140. package/doc_build/static/js/lib-react.js +39510 -0
  141. package/doc_build/static/js/lib-react.js.map +1 -0
  142. package/doc_build/static/js/main.js +8610 -0
  143. package/doc_build/static/js/main.js.map +1 -0
  144. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +7328 -0
  145. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +1 -0
  146. package/doc_build/static/search_index.json +1 -1
  147. package/docs/en/guide/advance/in-depth-about-dev-command.md +65 -12
  148. package/docs/en/guide/basic/before-getting-started.md +4 -14
  149. package/docs/en/guide/basic/command-preview.md +1 -1
  150. package/docs/en/guide/basic/modify-output-product.md +6 -2
  151. package/docs/en/guide/basic/use-micro-generator.md +62 -1
  152. package/docs/en/guide/basic/using-storybook.mdx +4 -4
  153. package/docs/en/guide/intro/getting-started.md +16 -7
  154. package/docs/zh/guide/advance/in-depth-about-dev-command.md +60 -13
  155. package/docs/zh/guide/basic/before-getting-started.md +4 -14
  156. package/docs/zh/guide/basic/command-preview.md +2 -2
  157. package/docs/zh/guide/basic/modify-output-product.md +5 -3
  158. package/docs/zh/guide/basic/publish-your-project.md +4 -4
  159. package/docs/zh/guide/basic/test-your-project.mdx +18 -5
  160. package/docs/zh/guide/basic/use-micro-generator.md +61 -1
  161. package/docs/zh/guide/basic/using-storybook.mdx +13 -10
  162. package/docs/zh/guide/intro/getting-started.md +17 -11
  163. package/package.json +3 -3
  164. package/doc_build/api/config/build-config.html +0 -332
  165. package/doc_build/api/config/build-preset.html +0 -43
  166. package/doc_build/api/config/design-system.html +0 -103
  167. package/doc_build/api/config/plugins.html +0 -7
  168. package/doc_build/api/config/testing.html +0 -21
  169. package/doc_build/api/index.html +0 -1
  170. package/doc_build/api/plugin-api/plugin-hooks.html +0 -113
  171. package/doc_build/en/api/config/build-config.html +0 -316
  172. package/doc_build/en/api/config/build-preset.html +0 -43
  173. package/doc_build/en/api/config/design-system.html +0 -117
  174. package/doc_build/en/api/config/plugins.html +0 -7
  175. package/doc_build/en/api/config/testing.html +0 -21
  176. package/doc_build/en/api/index.html +0 -1
  177. package/doc_build/en/api/plugin-api/plugin-hooks.html +0 -113
  178. package/doc_build/en/guide/advance/asset.html +0 -25
  179. package/doc_build/en/guide/advance/build-umd.html +0 -32
  180. package/doc_build/en/guide/advance/copy.html +0 -42
  181. package/doc_build/en/guide/advance/external-dependency.html +0 -31
  182. package/doc_build/en/guide/advance/in-depth-about-build.html +0 -112
  183. package/doc_build/en/guide/advance/in-depth-about-dev-command.html +0 -12
  184. package/doc_build/en/guide/advance/theme-config.html +0 -29
  185. package/doc_build/en/guide/basic/before-getting-started.html +0 -89
  186. package/doc_build/en/guide/basic/command-preview.html +0 -63
  187. package/doc_build/en/guide/basic/modify-output-product.html +0 -98
  188. package/doc_build/en/guide/basic/publish-your-project.html +0 -50
  189. package/doc_build/en/guide/basic/test-your-project.html +0 -31
  190. package/doc_build/en/guide/basic/use-micro-generator.html +0 -29
  191. package/doc_build/en/guide/basic/using-storybook.html +0 -66
  192. package/doc_build/en/guide/best-practices/components.html +0 -111
  193. package/doc_build/en/guide/intro/getting-started.html +0 -36
  194. package/doc_build/en/guide/intro/welcome.html +0 -13
  195. package/doc_build/en/guide/intro/why-module-engineering-solution.html +0 -9
  196. package/doc_build/en/index.html +0 -1
  197. package/doc_build/en/plugins/guide/getting-started.html +0 -15
  198. package/doc_build/en/plugins/guide/plugin-object.html +0 -14
  199. package/doc_build/en/plugins/guide/setup-function.html +0 -30
  200. package/doc_build/en/plugins/official-list/overview.html +0 -3
  201. package/doc_build/guide/advance/asset.html +0 -25
  202. package/doc_build/guide/advance/build-umd.html +0 -32
  203. package/doc_build/guide/advance/copy.html +0 -42
  204. package/doc_build/guide/advance/external-dependency.html +0 -31
  205. package/doc_build/guide/advance/in-depth-about-build.html +0 -112
  206. package/doc_build/guide/advance/in-depth-about-dev-command.html +0 -14
  207. package/doc_build/guide/advance/theme-config.html +0 -28
  208. package/doc_build/guide/basic/before-getting-started.html +0 -89
  209. package/doc_build/guide/basic/command-preview.html +0 -63
  210. package/doc_build/guide/basic/modify-output-product.html +0 -97
  211. package/doc_build/guide/basic/publish-your-project.html +0 -52
  212. package/doc_build/guide/basic/test-your-project.html +0 -32
  213. package/doc_build/guide/basic/use-micro-generator.html +0 -27
  214. package/doc_build/guide/basic/using-storybook.html +0 -67
  215. package/doc_build/guide/best-practices/components.html +0 -111
  216. package/doc_build/guide/intro/getting-started.html +0 -39
  217. package/doc_build/guide/intro/welcome.html +0 -13
  218. package/doc_build/guide/intro/why-module-engineering-solution.html +0 -9
  219. package/doc_build/index.html +0 -1
  220. package/doc_build/plugins/guide/getting-started.html +0 -15
  221. package/doc_build/plugins/guide/plugin-object.html +0 -14
  222. package/doc_build/plugins/guide/setup-function.html +0 -30
  223. package/doc_build/plugins/official-list/overview.html +0 -3
  224. package/doc_build/static/css/main.edaad072.css +0 -1
  225. package/doc_build/static/js/1607.70af642a.js +0 -2
  226. package/doc_build/static/js/1607.70af642a.js.LICENSE.txt +0 -23
  227. package/doc_build/static/js/async/3799.e31e8293.js +0 -1
  228. package/doc_build/static/js/async/8652.6fbf1cb7.js +0 -1
  229. package/doc_build/static/js/async/en_api_config_build-config.367a5701.js +0 -1
  230. package/doc_build/static/js/async/en_api_config_build-preset.0d78b268.js +0 -1
  231. package/doc_build/static/js/async/en_api_config_design-system.b28d6723.js +0 -1
  232. package/doc_build/static/js/async/en_api_config_plugins.fc95fb77.js +0 -1
  233. package/doc_build/static/js/async/en_api_config_testing.8bc7f316.js +0 -1
  234. package/doc_build/static/js/async/en_api_index.669f0a56.js +0 -1
  235. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.60d0260c.js +0 -1
  236. package/doc_build/static/js/async/en_guide_advance_asset.5ff1d623.js +0 -1
  237. package/doc_build/static/js/async/en_guide_advance_build-umd.c254ed46.js +0 -1
  238. package/doc_build/static/js/async/en_guide_advance_copy.45c0a51d.js +0 -1
  239. package/doc_build/static/js/async/en_guide_advance_external-dependency.a52d3247.js +0 -1
  240. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.51bf3569.js +0 -1
  241. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.aec0b4e1.js +0 -1
  242. package/doc_build/static/js/async/en_guide_advance_theme-config.db0ad9fc.js +0 -1
  243. package/doc_build/static/js/async/en_guide_basic_before-getting-started.a22fc49a.js +0 -1
  244. package/doc_build/static/js/async/en_guide_basic_command-preview.1707ed29.js +0 -1
  245. package/doc_build/static/js/async/en_guide_basic_modify-output-product.ad453d13.js +0 -1
  246. package/doc_build/static/js/async/en_guide_basic_publish-your-project.08c5112f.js +0 -1
  247. package/doc_build/static/js/async/en_guide_basic_test-your-project.f5f6b204.js +0 -1
  248. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.56325139.js +0 -1
  249. package/doc_build/static/js/async/en_guide_basic_using-storybook.9d721554.js +0 -1
  250. package/doc_build/static/js/async/en_guide_best-practices_components.45155af9.js +0 -1
  251. package/doc_build/static/js/async/en_guide_intro_getting-started.f8682be3.js +0 -1
  252. package/doc_build/static/js/async/en_guide_intro_welcome.9cc45924.js +0 -1
  253. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.7f2dae5c.js +0 -1
  254. package/doc_build/static/js/async/en_index.7bd869c4.js +0 -1
  255. package/doc_build/static/js/async/en_plugins_guide_getting-started.b850249c.js +0 -1
  256. package/doc_build/static/js/async/en_plugins_guide_plugin-object.bf6c6221.js +0 -1
  257. package/doc_build/static/js/async/en_plugins_guide_setup-function.80a2bd97.js +0 -1
  258. package/doc_build/static/js/async/en_plugins_official-list_overview.84e5cea0.js +0 -1
  259. package/doc_build/static/js/async/zh_api_config_build-config.048fd5ec.js +0 -1
  260. package/doc_build/static/js/async/zh_api_config_build-preset.7c13584d.js +0 -1
  261. package/doc_build/static/js/async/zh_api_config_design-system.1eecd474.js +0 -1
  262. package/doc_build/static/js/async/zh_api_config_plugins.c22dc4be.js +0 -1
  263. package/doc_build/static/js/async/zh_api_config_testing.a9888eed.js +0 -1
  264. package/doc_build/static/js/async/zh_api_index.22957707.js +0 -1
  265. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.a4d81bf6.js +0 -1
  266. package/doc_build/static/js/async/zh_guide_advance_asset.5b936003.js +0 -1
  267. package/doc_build/static/js/async/zh_guide_advance_build-umd.b6d541ff.js +0 -1
  268. package/doc_build/static/js/async/zh_guide_advance_copy.21a1aea4.js +0 -1
  269. package/doc_build/static/js/async/zh_guide_advance_external-dependency.c7cf5d4b.js +0 -1
  270. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.64e795f3.js +0 -1
  271. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.168ce7dd.js +0 -1
  272. package/doc_build/static/js/async/zh_guide_advance_theme-config.b9570109.js +0 -1
  273. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.6b06b54a.js +0 -1
  274. package/doc_build/static/js/async/zh_guide_basic_command-preview.1199124a.js +0 -1
  275. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.8ccbc8d1.js +0 -1
  276. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.bf11b1c4.js +0 -1
  277. package/doc_build/static/js/async/zh_guide_basic_test-your-project.ae52c47a.js +0 -1
  278. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.a091d57d.js +0 -1
  279. package/doc_build/static/js/async/zh_guide_basic_using-storybook.27829e44.js +0 -1
  280. package/doc_build/static/js/async/zh_guide_best-practices_components.7454d916.js +0 -1
  281. package/doc_build/static/js/async/zh_guide_intro_getting-started.a4c00d9a.js +0 -1
  282. package/doc_build/static/js/async/zh_guide_intro_welcome.71c3fe16.js +0 -1
  283. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.6f8b5ff6.js +0 -1
  284. package/doc_build/static/js/async/zh_index.c19f9dcf.js +0 -1
  285. package/doc_build/static/js/async/zh_plugins_guide_getting-started.099dfaea.js +0 -1
  286. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.963289d5.js +0 -1
  287. package/doc_build/static/js/async/zh_plugins_guide_setup-function.67d07b91.js +0 -1
  288. package/doc_build/static/js/async/zh_plugins_official-list_overview.a7635714.js +0 -1
  289. package/doc_build/static/js/lib-lodash.c5845536.js +0 -1
  290. package/doc_build/static/js/lib-polyfill.b3038509.js +0 -1
  291. package/doc_build/static/js/lib-react.d41ace5e.js +0 -2
  292. package/doc_build/static/js/lib-react.d41ace5e.js.LICENSE.txt +0 -29
  293. package/doc_build/static/js/main.2d3257a4.js +0 -1
@@ -0,0 +1,4723 @@
1
+ "use strict";
2
+ (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["en_guide_basic_using-storybook"],{
3
+
4
+ /***/ "./docs/en/guide/basic/using-storybook.mdx":
5
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
+
7
+ __webpack_require__.r(__webpack_exports__);
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ "CH": function() { return /* binding */ CH; },
10
+ /* harmony export */ "chCodeConfig": function() { return /* binding */ chCodeConfig; },
11
+ /* harmony export */ "content": function() { return /* binding */ content; },
12
+ /* harmony export */ "frontmatter": function() { return /* binding */ frontmatter; },
13
+ /* harmony export */ "title": function() { return /* binding */ title; },
14
+ /* harmony export */ "toc": function() { return /* binding */ toc; }
15
+ /* harmony export */ });
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");
17
+ /* harmony import */ var _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@code-hike+mdx@0.7.4_react@18.2.0/node_modules/@code-hike/mdx/dist/components.esm.mjs");
18
+ /*@jsxRuntime automatic @jsxImportSource react*/
19
+
20
+
21
+ const CH = {
22
+ annotations: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.annotations,
23
+ Spotlight: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Spotlight,
24
+ CodeSlot: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.CodeSlot,
25
+ Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code
26
+ };
27
+ const chCodeConfig = {
28
+ "staticMediaQuery": "not screen, (max-width: 768px)",
29
+ "theme": {
30
+ "name": "nord",
31
+ "type": "dark",
32
+ "semanticHighlighting": true,
33
+ "colors": {
34
+ "focusBorder": "#3b4252",
35
+ "foreground": "#d8dee9",
36
+ "activityBar.background": "#2e3440",
37
+ "activityBar.dropBackground": "#3b4252",
38
+ "activityBar.foreground": "#d8dee9",
39
+ "activityBar.activeBorder": "#88c0d0",
40
+ "activityBar.activeBackground": "#3b4252",
41
+ "activityBarBadge.background": "#88c0d0",
42
+ "activityBarBadge.foreground": "#2e3440",
43
+ "badge.foreground": "#2e3440",
44
+ "badge.background": "#88c0d0",
45
+ "button.background": "#88c0d0ee",
46
+ "button.foreground": "#2e3440",
47
+ "button.hoverBackground": "#88c0d0",
48
+ "button.secondaryBackground": "#434c5e",
49
+ "button.secondaryForeground": "#d8dee9",
50
+ "button.secondaryHoverBackground": "#4c566a",
51
+ "charts.red": "#bf616a",
52
+ "charts.blue": "#81a1c1",
53
+ "charts.yellow": "#ebcb8b",
54
+ "charts.orange": "#d08770",
55
+ "charts.green": "#a3be8c",
56
+ "charts.purple": "#b48ead",
57
+ "charts.foreground": "#d8dee9",
58
+ "charts.lines": "#88c0d0",
59
+ "debugConsole.infoForeground": "#88c0d0",
60
+ "debugConsole.warningForeground": "#ebcb8b",
61
+ "debugConsole.errorForeground": "#bf616a",
62
+ "debugConsole.sourceForeground": "#616e88",
63
+ "debugConsoleInputIcon.foreground": "#81a1c1",
64
+ "debugExceptionWidget.background": "#4c566a",
65
+ "debugExceptionWidget.border": "#2e3440",
66
+ "debugToolBar.background": "#3b4252",
67
+ "descriptionForeground": "#d8dee9e6",
68
+ "diffEditor.insertedTextBackground": "#81a1c133",
69
+ "diffEditor.removedTextBackground": "#bf616a4d",
70
+ "dropdown.background": "#3b4252",
71
+ "dropdown.border": "#3b4252",
72
+ "dropdown.foreground": "#d8dee9",
73
+ "editorActiveLineNumber.foreground": "#d8dee9cc",
74
+ "editorCursor.foreground": "#d8dee9",
75
+ "editorHint.border": "#ebcb8b00",
76
+ "editorHint.foreground": "#ebcb8b",
77
+ "editorIndentGuide.background": "#434c5eb3",
78
+ "editorIndentGuide.activeBackground": "#4c566a",
79
+ "editorInlayHint.background": "#434c5e",
80
+ "editorInlayHint.foreground": "#d8dee9",
81
+ "editorLineNumber.foreground": "#4c566a",
82
+ "editorLineNumber.activeForeground": "#d8dee9",
83
+ "editorWhitespace.foreground": "#4c566ab3",
84
+ "editorWidget.background": "#2e3440",
85
+ "editorWidget.border": "#3b4252",
86
+ "editor.background": "#2e3440",
87
+ "editor.foreground": "#d8dee9",
88
+ "editor.hoverHighlightBackground": "#3b4252",
89
+ "editor.findMatchBackground": "#88c0d066",
90
+ "editor.findMatchHighlightBackground": "#88c0d033",
91
+ "editor.findRangeHighlightBackground": "#88c0d033",
92
+ "editor.lineHighlightBackground": "#3b4252",
93
+ "editor.lineHighlightBorder": "#3b4252",
94
+ "editor.inactiveSelectionBackground": "#434c5ecc",
95
+ "editor.inlineValuesBackground": "#4c566a",
96
+ "editor.inlineValuesForeground": "#eceff4",
97
+ "editor.selectionBackground": "#434c5ecc",
98
+ "editor.selectionHighlightBackground": "#434c5ecc",
99
+ "editor.rangeHighlightBackground": "#434c5e52",
100
+ "editor.wordHighlightBackground": "#81a1c166",
101
+ "editor.wordHighlightStrongBackground": "#81a1c199",
102
+ "editor.stackFrameHighlightBackground": "#5e81ac",
103
+ "editor.focusedStackFrameHighlightBackground": "#5e81ac",
104
+ "editorError.foreground": "#bf616a",
105
+ "editorError.border": "#bf616a00",
106
+ "editorWarning.foreground": "#ebcb8b",
107
+ "editorWarning.border": "#ebcb8b00",
108
+ "editorBracketMatch.background": "#2e344000",
109
+ "editorBracketMatch.border": "#88c0d0",
110
+ "editorBracketHighlight.foreground1": "#8fbcbb",
111
+ "editorBracketHighlight.foreground2": "#88c0d0",
112
+ "editorBracketHighlight.foreground3": "#81a1c1",
113
+ "editorBracketHighlight.foreground4": "#5e81ac",
114
+ "editorBracketHighlight.foreground5": "#8fbcbb",
115
+ "editorBracketHighlight.foreground6": "#88c0d0",
116
+ "editorBracketHighlight.unexpectedBracket.foreground": "#bf616a",
117
+ "editorCodeLens.foreground": "#4c566a",
118
+ "editorGroup.background": "#2e3440",
119
+ "editorGroup.border": "#3b425201",
120
+ "editorGroup.dropBackground": "#3b425299",
121
+ "editorGroupHeader.border": "#3b425200",
122
+ "editorGroupHeader.noTabsBackground": "#2e3440",
123
+ "editorGroupHeader.tabsBackground": "#2e3440",
124
+ "editorGroupHeader.tabsBorder": "#3b425200",
125
+ "editorGutter.background": "#2e3440",
126
+ "editorGutter.modifiedBackground": "#ebcb8b",
127
+ "editorGutter.addedBackground": "#a3be8c",
128
+ "editorGutter.deletedBackground": "#bf616a",
129
+ "editorHoverWidget.background": "#3b4252",
130
+ "editorHoverWidget.border": "#3b4252",
131
+ "editorLink.activeForeground": "#88c0d0",
132
+ "editorMarkerNavigation.background": "#5e81acc0",
133
+ "editorMarkerNavigationError.background": "#bf616ac0",
134
+ "editorMarkerNavigationWarning.background": "#ebcb8bc0",
135
+ "editorOverviewRuler.border": "#3b4252",
136
+ "editorOverviewRuler.currentContentForeground": "#3b4252",
137
+ "editorOverviewRuler.incomingContentForeground": "#3b4252",
138
+ "editorOverviewRuler.findMatchForeground": "#88c0d066",
139
+ "editorOverviewRuler.rangeHighlightForeground": "#88c0d066",
140
+ "editorOverviewRuler.selectionHighlightForeground": "#88c0d066",
141
+ "editorOverviewRuler.wordHighlightForeground": "#88c0d066",
142
+ "editorOverviewRuler.wordHighlightStrongForeground": "#88c0d066",
143
+ "editorOverviewRuler.modifiedForeground": "#ebcb8b",
144
+ "editorOverviewRuler.addedForeground": "#a3be8c",
145
+ "editorOverviewRuler.deletedForeground": "#bf616a",
146
+ "editorOverviewRuler.errorForeground": "#bf616a",
147
+ "editorOverviewRuler.warningForeground": "#ebcb8b",
148
+ "editorOverviewRuler.infoForeground": "#81a1c1",
149
+ "editorRuler.foreground": "#434c5e",
150
+ "editorSuggestWidget.background": "#2e3440",
151
+ "editorSuggestWidget.border": "#3b4252",
152
+ "editorSuggestWidget.foreground": "#d8dee9",
153
+ "editorSuggestWidget.focusHighlightForeground": "#88c0d0",
154
+ "editorSuggestWidget.highlightForeground": "#88c0d0",
155
+ "editorSuggestWidget.selectedBackground": "#434c5e",
156
+ "editorSuggestWidget.selectedForeground": "#d8dee9",
157
+ "extensionButton.prominentForeground": "#d8dee9",
158
+ "extensionButton.prominentBackground": "#434c5e",
159
+ "extensionButton.prominentHoverBackground": "#4c566a",
160
+ "errorForeground": "#bf616a",
161
+ "gitDecoration.modifiedResourceForeground": "#ebcb8b",
162
+ "gitDecoration.deletedResourceForeground": "#bf616a",
163
+ "gitDecoration.untrackedResourceForeground": "#a3be8c",
164
+ "gitDecoration.ignoredResourceForeground": "#d8dee966",
165
+ "gitDecoration.conflictingResourceForeground": "#5e81ac",
166
+ "gitDecoration.submoduleResourceForeground": "#8fbcbb",
167
+ "gitDecoration.stageDeletedResourceForeground": "#bf616a",
168
+ "gitDecoration.stageModifiedResourceForeground": "#ebcb8b",
169
+ "input.background": "#3b4252",
170
+ "input.foreground": "#d8dee9",
171
+ "input.placeholderForeground": "#d8dee999",
172
+ "input.border": "#3b4252",
173
+ "inputOption.activeBackground": "#5e81ac",
174
+ "inputOption.activeBorder": "#5e81ac",
175
+ "inputOption.activeForeground": "#eceff4",
176
+ "inputValidation.errorBackground": "#bf616a",
177
+ "inputValidation.errorBorder": "#bf616a",
178
+ "inputValidation.infoBackground": "#81a1c1",
179
+ "inputValidation.infoBorder": "#81a1c1",
180
+ "inputValidation.warningBackground": "#d08770",
181
+ "inputValidation.warningBorder": "#d08770",
182
+ "keybindingLabel.background": "#4c566a",
183
+ "keybindingLabel.border": "#4c566a",
184
+ "keybindingLabel.bottomBorder": "#4c566a",
185
+ "keybindingLabel.foreground": "#d8dee9",
186
+ "list.activeSelectionBackground": "#88c0d0",
187
+ "list.activeSelectionForeground": "#2e3440",
188
+ "list.inactiveSelectionBackground": "#434c5e",
189
+ "list.inactiveSelectionForeground": "#d8dee9",
190
+ "list.inactiveFocusBackground": "#434c5ecc",
191
+ "list.hoverForeground": "#eceff4",
192
+ "list.focusForeground": "#d8dee9",
193
+ "list.focusBackground": "#88c0d099",
194
+ "list.focusHighlightForeground": "#eceff4",
195
+ "list.hoverBackground": "#3b4252",
196
+ "list.dropBackground": "#88c0d099",
197
+ "list.highlightForeground": "#88c0d0",
198
+ "list.errorForeground": "#bf616a",
199
+ "list.warningForeground": "#ebcb8b",
200
+ "merge.currentHeaderBackground": "#81a1c166",
201
+ "merge.currentContentBackground": "#81a1c14d",
202
+ "merge.incomingHeaderBackground": "#8fbcbb66",
203
+ "merge.incomingContentBackground": "#8fbcbb4d",
204
+ "merge.border": "#3b425200",
205
+ "minimap.background": "#2e3440",
206
+ "minimap.errorHighlight": "#bf616acc",
207
+ "minimap.findMatchHighlight": "#88c0d0",
208
+ "minimap.selectionHighlight": "#88c0d0cc",
209
+ "minimap.warningHighlight": "#ebcb8bcc",
210
+ "minimapGutter.addedBackground": "#a3be8c",
211
+ "minimapGutter.deletedBackground": "#bf616a",
212
+ "minimapGutter.modifiedBackground": "#ebcb8b",
213
+ "minimapSlider.activeBackground": "#434c5eaa",
214
+ "minimapSlider.background": "#434c5e99",
215
+ "minimapSlider.hoverBackground": "#434c5eaa",
216
+ "notification.background": "#3b4252",
217
+ "notification.buttonBackground": "#434c5e",
218
+ "notification.buttonForeground": "#d8dee9",
219
+ "notification.buttonHoverBackground": "#4c566a",
220
+ "notification.errorBackground": "#bf616a",
221
+ "notification.errorForeground": "#2e3440",
222
+ "notification.foreground": "#d8dee9",
223
+ "notification.infoBackground": "#88c0d0",
224
+ "notification.infoForeground": "#2e3440",
225
+ "notification.warningBackground": "#ebcb8b",
226
+ "notification.warningForeground": "#2e3440",
227
+ "notificationCenter.border": "#3b425200",
228
+ "notificationCenterHeader.background": "#2e3440",
229
+ "notificationCenterHeader.foreground": "#88c0d0",
230
+ "notificationLink.foreground": "#88c0d0",
231
+ "notifications.background": "#3b4252",
232
+ "notifications.border": "#2e3440",
233
+ "notifications.foreground": "#d8dee9",
234
+ "notificationToast.border": "#3b425200",
235
+ "panel.background": "#2e3440",
236
+ "panel.border": "#3b4252",
237
+ "panelTitle.activeBorder": "#88c0d000",
238
+ "panelTitle.activeForeground": "#88c0d0",
239
+ "panelTitle.inactiveForeground": "#d8dee9",
240
+ "peekView.border": "#4c566a",
241
+ "peekViewEditor.background": "#2e3440",
242
+ "peekViewEditorGutter.background": "#2e3440",
243
+ "peekViewEditor.matchHighlightBackground": "#88c0d04d",
244
+ "peekViewResult.background": "#2e3440",
245
+ "peekViewResult.fileForeground": "#88c0d0",
246
+ "peekViewResult.lineForeground": "#d8dee966",
247
+ "peekViewResult.matchHighlightBackground": "#88c0d0cc",
248
+ "peekViewResult.selectionBackground": "#434c5e",
249
+ "peekViewResult.selectionForeground": "#d8dee9",
250
+ "peekViewTitle.background": "#3b4252",
251
+ "peekViewTitleDescription.foreground": "#d8dee9",
252
+ "peekViewTitleLabel.foreground": "#88c0d0",
253
+ "pickerGroup.border": "#3b4252",
254
+ "pickerGroup.foreground": "#88c0d0",
255
+ "progressBar.background": "#88c0d0",
256
+ "quickInputList.focusBackground": "#88c0d0",
257
+ "quickInputList.focusForeground": "#2e3440",
258
+ "sash.hoverBorder": "#88c0d0",
259
+ "scrollbar.shadow": "#00000066",
260
+ "scrollbarSlider.activeBackground": "#434c5eaa",
261
+ "scrollbarSlider.background": "#434c5e99",
262
+ "scrollbarSlider.hoverBackground": "#434c5eaa",
263
+ "selection.background": "#88c0d099",
264
+ "sideBar.background": "#2e3440",
265
+ "sideBar.foreground": "#d8dee9",
266
+ "sideBar.border": "#3b4252",
267
+ "sideBarSectionHeader.background": "#3b4252",
268
+ "sideBarSectionHeader.foreground": "#d8dee9",
269
+ "sideBarTitle.foreground": "#d8dee9",
270
+ "statusBar.background": "#3b4252",
271
+ "statusBar.debuggingBackground": "#5e81ac",
272
+ "statusBar.debuggingForeground": "#d8dee9",
273
+ "statusBar.noFolderForeground": "#d8dee9",
274
+ "statusBar.noFolderBackground": "#3b4252",
275
+ "statusBar.foreground": "#d8dee9",
276
+ "statusBarItem.activeBackground": "#4c566a",
277
+ "statusBarItem.hoverBackground": "#434c5e",
278
+ "statusBarItem.prominentBackground": "#3b4252",
279
+ "statusBarItem.prominentHoverBackground": "#434c5e",
280
+ "statusBarItem.errorBackground": "#3b4252",
281
+ "statusBarItem.errorForeground": "#bf616a",
282
+ "statusBarItem.warningBackground": "#ebcb8b",
283
+ "statusBarItem.warningForeground": "#2e3440",
284
+ "statusBar.border": "#3b425200",
285
+ "tab.activeBackground": "#3b4252",
286
+ "tab.activeForeground": "#d8dee9",
287
+ "tab.border": "#3b425200",
288
+ "tab.activeBorder": "#88c0d000",
289
+ "tab.unfocusedActiveBorder": "#88c0d000",
290
+ "tab.inactiveBackground": "#2e3440",
291
+ "tab.inactiveForeground": "#d8dee966",
292
+ "tab.unfocusedActiveForeground": "#d8dee999",
293
+ "tab.unfocusedInactiveForeground": "#d8dee966",
294
+ "tab.hoverBackground": "#3b4252cc",
295
+ "tab.unfocusedHoverBackground": "#3b4252b3",
296
+ "tab.hoverBorder": "#88c0d000",
297
+ "tab.unfocusedHoverBorder": "#88c0d000",
298
+ "tab.activeBorderTop": "#88c0d000",
299
+ "tab.unfocusedActiveBorderTop": "#88c0d000",
300
+ "tab.lastPinnedBorder": "#4c566a",
301
+ "terminal.background": "#2e3440",
302
+ "terminal.foreground": "#d8dee9",
303
+ "terminal.ansiBlack": "#3b4252",
304
+ "terminal.ansiRed": "#bf616a",
305
+ "terminal.ansiGreen": "#a3be8c",
306
+ "terminal.ansiYellow": "#ebcb8b",
307
+ "terminal.ansiBlue": "#81a1c1",
308
+ "terminal.ansiMagenta": "#b48ead",
309
+ "terminal.ansiCyan": "#88c0d0",
310
+ "terminal.ansiWhite": "#e5e9f0",
311
+ "terminal.ansiBrightBlack": "#4c566a",
312
+ "terminal.ansiBrightRed": "#bf616a",
313
+ "terminal.ansiBrightGreen": "#a3be8c",
314
+ "terminal.ansiBrightYellow": "#ebcb8b",
315
+ "terminal.ansiBrightBlue": "#81a1c1",
316
+ "terminal.ansiBrightMagenta": "#b48ead",
317
+ "terminal.ansiBrightCyan": "#8fbcbb",
318
+ "terminal.ansiBrightWhite": "#eceff4",
319
+ "terminal.tab.activeBorder": "#88c0d0",
320
+ "textBlockQuote.background": "#3b4252",
321
+ "textBlockQuote.border": "#81a1c1",
322
+ "textCodeBlock.background": "#4c566a",
323
+ "textLink.activeForeground": "#88c0d0",
324
+ "textLink.foreground": "#88c0d0",
325
+ "textPreformat.foreground": "#8fbcbb",
326
+ "textSeparator.foreground": "#eceff4",
327
+ "titleBar.activeBackground": "#2e3440",
328
+ "titleBar.activeForeground": "#d8dee9",
329
+ "titleBar.border": "#2e344000",
330
+ "titleBar.inactiveBackground": "#2e3440",
331
+ "titleBar.inactiveForeground": "#d8dee966",
332
+ "tree.indentGuidesStroke": "#616e88",
333
+ "walkThrough.embeddedEditorBackground": "#2e3440",
334
+ "welcomePage.buttonBackground": "#434c5e",
335
+ "welcomePage.buttonHoverBackground": "#4c566a",
336
+ "widget.shadow": "#00000066"
337
+ },
338
+ "tokenColors": [{
339
+ "settings": {
340
+ "foreground": "#d8dee9ff",
341
+ "background": "#2e3440ff"
342
+ }
343
+ }, {
344
+ "scope": "emphasis",
345
+ "settings": {
346
+ "fontStyle": "italic"
347
+ }
348
+ }, {
349
+ "scope": "strong",
350
+ "settings": {
351
+ "fontStyle": "bold"
352
+ }
353
+ }, {
354
+ "name": "Comment",
355
+ "scope": "comment",
356
+ "settings": {
357
+ "foreground": "#616E88"
358
+ }
359
+ }, {
360
+ "name": "Constant Character",
361
+ "scope": "constant.character",
362
+ "settings": {
363
+ "foreground": "#EBCB8B"
364
+ }
365
+ }, {
366
+ "name": "Constant Character Escape",
367
+ "scope": "constant.character.escape",
368
+ "settings": {
369
+ "foreground": "#EBCB8B"
370
+ }
371
+ }, {
372
+ "name": "Constant Language",
373
+ "scope": "constant.language",
374
+ "settings": {
375
+ "foreground": "#81A1C1"
376
+ }
377
+ }, {
378
+ "name": "Constant Numeric",
379
+ "scope": "constant.numeric",
380
+ "settings": {
381
+ "foreground": "#B48EAD"
382
+ }
383
+ }, {
384
+ "name": "Constant Regexp",
385
+ "scope": "constant.regexp",
386
+ "settings": {
387
+ "foreground": "#EBCB8B"
388
+ }
389
+ }, {
390
+ "name": "Entity Name Class/Type",
391
+ "scope": ["entity.name.class", "entity.name.type.class"],
392
+ "settings": {
393
+ "foreground": "#8FBCBB"
394
+ }
395
+ }, {
396
+ "name": "Entity Name Function",
397
+ "scope": "entity.name.function",
398
+ "settings": {
399
+ "foreground": "#88C0D0"
400
+ }
401
+ }, {
402
+ "name": "Entity Name Tag",
403
+ "scope": "entity.name.tag",
404
+ "settings": {
405
+ "foreground": "#81A1C1"
406
+ }
407
+ }, {
408
+ "name": "Entity Other Attribute Name",
409
+ "scope": "entity.other.attribute-name",
410
+ "settings": {
411
+ "foreground": "#8FBCBB"
412
+ }
413
+ }, {
414
+ "name": "Entity Other Inherited Class",
415
+ "scope": "entity.other.inherited-class",
416
+ "settings": {
417
+ "fontStyle": "bold",
418
+ "foreground": "#8FBCBB"
419
+ }
420
+ }, {
421
+ "name": "Invalid Deprecated",
422
+ "scope": "invalid.deprecated",
423
+ "settings": {
424
+ "foreground": "#D8DEE9",
425
+ "background": "#EBCB8B"
426
+ }
427
+ }, {
428
+ "name": "Invalid Illegal",
429
+ "scope": "invalid.illegal",
430
+ "settings": {
431
+ "foreground": "#D8DEE9",
432
+ "background": "#BF616A"
433
+ }
434
+ }, {
435
+ "name": "Keyword",
436
+ "scope": "keyword",
437
+ "settings": {
438
+ "foreground": "#81A1C1"
439
+ }
440
+ }, {
441
+ "name": "Keyword Operator",
442
+ "scope": "keyword.operator",
443
+ "settings": {
444
+ "foreground": "#81A1C1"
445
+ }
446
+ }, {
447
+ "name": "Keyword Other New",
448
+ "scope": "keyword.other.new",
449
+ "settings": {
450
+ "foreground": "#81A1C1"
451
+ }
452
+ }, {
453
+ "name": "Markup Bold",
454
+ "scope": "markup.bold",
455
+ "settings": {
456
+ "fontStyle": "bold"
457
+ }
458
+ }, {
459
+ "name": "Markup Changed",
460
+ "scope": "markup.changed",
461
+ "settings": {
462
+ "foreground": "#EBCB8B"
463
+ }
464
+ }, {
465
+ "name": "Markup Deleted",
466
+ "scope": "markup.deleted",
467
+ "settings": {
468
+ "foreground": "#BF616A"
469
+ }
470
+ }, {
471
+ "name": "Markup Inserted",
472
+ "scope": "markup.inserted",
473
+ "settings": {
474
+ "foreground": "#A3BE8C"
475
+ }
476
+ }, {
477
+ "name": "Meta Preprocessor",
478
+ "scope": "meta.preprocessor",
479
+ "settings": {
480
+ "foreground": "#5E81AC"
481
+ }
482
+ }, {
483
+ "name": "Punctuation",
484
+ "scope": "punctuation",
485
+ "settings": {
486
+ "foreground": "#ECEFF4"
487
+ }
488
+ }, {
489
+ "name": "Punctuation Definition Parameters",
490
+ "scope": ["punctuation.definition.method-parameters", "punctuation.definition.function-parameters", "punctuation.definition.parameters"],
491
+ "settings": {
492
+ "foreground": "#ECEFF4"
493
+ }
494
+ }, {
495
+ "name": "Punctuation Definition Tag",
496
+ "scope": "punctuation.definition.tag",
497
+ "settings": {
498
+ "foreground": "#81A1C1"
499
+ }
500
+ }, {
501
+ "name": "Punctuation Definition Comment",
502
+ "scope": ["punctuation.definition.comment", "punctuation.end.definition.comment", "punctuation.start.definition.comment"],
503
+ "settings": {
504
+ "foreground": "#616E88"
505
+ }
506
+ }, {
507
+ "name": "Punctuation Section",
508
+ "scope": "punctuation.section",
509
+ "settings": {
510
+ "foreground": "#ECEFF4"
511
+ }
512
+ }, {
513
+ "name": "Punctuation Section Embedded",
514
+ "scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
515
+ "settings": {
516
+ "foreground": "#81A1C1"
517
+ }
518
+ }, {
519
+ "name": "Punctuation Terminator",
520
+ "scope": "punctuation.terminator",
521
+ "settings": {
522
+ "foreground": "#81A1C1"
523
+ }
524
+ }, {
525
+ "name": "Punctuation Variable",
526
+ "scope": "punctuation.definition.variable",
527
+ "settings": {
528
+ "foreground": "#81A1C1"
529
+ }
530
+ }, {
531
+ "name": "Storage",
532
+ "scope": "storage",
533
+ "settings": {
534
+ "foreground": "#81A1C1"
535
+ }
536
+ }, {
537
+ "name": "String",
538
+ "scope": "string",
539
+ "settings": {
540
+ "foreground": "#A3BE8C"
541
+ }
542
+ }, {
543
+ "name": "String Regexp",
544
+ "scope": "string.regexp",
545
+ "settings": {
546
+ "foreground": "#EBCB8B"
547
+ }
548
+ }, {
549
+ "name": "Support Class",
550
+ "scope": "support.class",
551
+ "settings": {
552
+ "foreground": "#8FBCBB"
553
+ }
554
+ }, {
555
+ "name": "Support Constant",
556
+ "scope": "support.constant",
557
+ "settings": {
558
+ "foreground": "#81A1C1"
559
+ }
560
+ }, {
561
+ "name": "Support Function",
562
+ "scope": "support.function",
563
+ "settings": {
564
+ "foreground": "#88C0D0"
565
+ }
566
+ }, {
567
+ "name": "Support Function Construct",
568
+ "scope": "support.function.construct",
569
+ "settings": {
570
+ "foreground": "#81A1C1"
571
+ }
572
+ }, {
573
+ "name": "Support Type",
574
+ "scope": "support.type",
575
+ "settings": {
576
+ "foreground": "#8FBCBB"
577
+ }
578
+ }, {
579
+ "name": "Support Type Exception",
580
+ "scope": "support.type.exception",
581
+ "settings": {
582
+ "foreground": "#8FBCBB"
583
+ }
584
+ }, {
585
+ "name": "Token Debug",
586
+ "scope": "token.debug-token",
587
+ "settings": {
588
+ "foreground": "#b48ead"
589
+ }
590
+ }, {
591
+ "name": "Token Error",
592
+ "scope": "token.error-token",
593
+ "settings": {
594
+ "foreground": "#bf616a"
595
+ }
596
+ }, {
597
+ "name": "Token Info",
598
+ "scope": "token.info-token",
599
+ "settings": {
600
+ "foreground": "#88c0d0"
601
+ }
602
+ }, {
603
+ "name": "Token Warning",
604
+ "scope": "token.warn-token",
605
+ "settings": {
606
+ "foreground": "#ebcb8b"
607
+ }
608
+ }, {
609
+ "name": "Variable",
610
+ "scope": "variable.other",
611
+ "settings": {
612
+ "foreground": "#D8DEE9"
613
+ }
614
+ }, {
615
+ "name": "Variable Language",
616
+ "scope": "variable.language",
617
+ "settings": {
618
+ "foreground": "#81A1C1"
619
+ }
620
+ }, {
621
+ "name": "Variable Parameter",
622
+ "scope": "variable.parameter",
623
+ "settings": {
624
+ "foreground": "#D8DEE9"
625
+ }
626
+ }, {
627
+ "name": "[C/CPP] Punctuation Separator Pointer-Access",
628
+ "scope": "punctuation.separator.pointer-access.c",
629
+ "settings": {
630
+ "foreground": "#81A1C1"
631
+ }
632
+ }, {
633
+ "name": "[C/CPP] Meta Preprocessor Include",
634
+ "scope": ["source.c meta.preprocessor.include", "source.c string.quoted.other.lt-gt.include"],
635
+ "settings": {
636
+ "foreground": "#8FBCBB"
637
+ }
638
+ }, {
639
+ "name": "[C/CPP] Conditional Directive",
640
+ "scope": ["source.cpp keyword.control.directive.conditional", "source.cpp punctuation.definition.directive", "source.c keyword.control.directive.conditional", "source.c punctuation.definition.directive"],
641
+ "settings": {
642
+ "foreground": "#5E81AC",
643
+ "fontStyle": "bold"
644
+ }
645
+ }, {
646
+ "name": "[CSS] Constant Other Color RGB Value",
647
+ "scope": "source.css constant.other.color.rgb-value",
648
+ "settings": {
649
+ "foreground": "#B48EAD"
650
+ }
651
+ }, {
652
+ "name": "[CSS](Function) Meta Property-Value",
653
+ "scope": "source.css meta.property-value",
654
+ "settings": {
655
+ "foreground": "#88C0D0"
656
+ }
657
+ }, {
658
+ "name": "[CSS] Media Queries",
659
+ "scope": ["source.css keyword.control.at-rule.media", "source.css keyword.control.at-rule.media punctuation.definition.keyword"],
660
+ "settings": {
661
+ "foreground": "#D08770"
662
+ }
663
+ }, {
664
+ "name": "[CSS] Punctuation Definition Keyword",
665
+ "scope": "source.css punctuation.definition.keyword",
666
+ "settings": {
667
+ "foreground": "#81A1C1"
668
+ }
669
+ }, {
670
+ "name": "[CSS] Support Type Property Name",
671
+ "scope": "source.css support.type.property-name",
672
+ "settings": {
673
+ "foreground": "#D8DEE9"
674
+ }
675
+ }, {
676
+ "name": "[diff] Meta Range Context",
677
+ "scope": "source.diff meta.diff.range.context",
678
+ "settings": {
679
+ "foreground": "#8FBCBB"
680
+ }
681
+ }, {
682
+ "name": "[diff] Meta Header From-File",
683
+ "scope": "source.diff meta.diff.header.from-file",
684
+ "settings": {
685
+ "foreground": "#8FBCBB"
686
+ }
687
+ }, {
688
+ "name": "[diff] Punctuation Definition From-File",
689
+ "scope": "source.diff punctuation.definition.from-file",
690
+ "settings": {
691
+ "foreground": "#8FBCBB"
692
+ }
693
+ }, {
694
+ "name": "[diff] Punctuation Definition Range",
695
+ "scope": "source.diff punctuation.definition.range",
696
+ "settings": {
697
+ "foreground": "#8FBCBB"
698
+ }
699
+ }, {
700
+ "name": "[diff] Punctuation Definition Separator",
701
+ "scope": "source.diff punctuation.definition.separator",
702
+ "settings": {
703
+ "foreground": "#81A1C1"
704
+ }
705
+ }, {
706
+ "name": "[Elixir](JakeBecker.elixir-ls) module names",
707
+ "scope": "entity.name.type.module.elixir",
708
+ "settings": {
709
+ "foreground": "#8FBCBB"
710
+ }
711
+ }, {
712
+ "name": "[Elixir](JakeBecker.elixir-ls) module attributes",
713
+ "scope": "variable.other.readwrite.module.elixir",
714
+ "settings": {
715
+ "foreground": "#D8DEE9",
716
+ "fontStyle": "bold"
717
+ }
718
+ }, {
719
+ "name": "[Elixir](JakeBecker.elixir-ls) atoms",
720
+ "scope": "constant.other.symbol.elixir",
721
+ "settings": {
722
+ "foreground": "#D8DEE9",
723
+ "fontStyle": "bold"
724
+ }
725
+ }, {
726
+ "name": "[Elixir](JakeBecker.elixir-ls) modules",
727
+ "scope": "variable.other.constant.elixir",
728
+ "settings": {
729
+ "foreground": "#8FBCBB"
730
+ }
731
+ }, {
732
+ "name": "[Go] String Format Placeholder",
733
+ "scope": "source.go constant.other.placeholder.go",
734
+ "settings": {
735
+ "foreground": "#EBCB8B"
736
+ }
737
+ }, {
738
+ "name": "[Java](JavaDoc) Comment Block Documentation HTML Entities",
739
+ "scope": "source.java comment.block.documentation.javadoc punctuation.definition.entity.html",
740
+ "settings": {
741
+ "foreground": "#81A1C1"
742
+ }
743
+ }, {
744
+ "name": "[Java](JavaDoc) Constant Other",
745
+ "scope": "source.java constant.other",
746
+ "settings": {
747
+ "foreground": "#D8DEE9"
748
+ }
749
+ }, {
750
+ "name": "[Java](JavaDoc) Keyword Other Documentation",
751
+ "scope": "source.java keyword.other.documentation",
752
+ "settings": {
753
+ "foreground": "#8FBCBB"
754
+ }
755
+ }, {
756
+ "name": "[Java](JavaDoc) Keyword Other Documentation Author",
757
+ "scope": "source.java keyword.other.documentation.author.javadoc",
758
+ "settings": {
759
+ "foreground": "#8FBCBB"
760
+ }
761
+ }, {
762
+ "name": "[Java](JavaDoc) Keyword Other Documentation Directive/Custom",
763
+ "scope": ["source.java keyword.other.documentation.directive", "source.java keyword.other.documentation.custom"],
764
+ "settings": {
765
+ "foreground": "#8FBCBB"
766
+ }
767
+ }, {
768
+ "name": "[Java](JavaDoc) Keyword Other Documentation See",
769
+ "scope": "source.java keyword.other.documentation.see.javadoc",
770
+ "settings": {
771
+ "foreground": "#8FBCBB"
772
+ }
773
+ }, {
774
+ "name": "[Java] Meta Method-Call",
775
+ "scope": "source.java meta.method-call meta.method",
776
+ "settings": {
777
+ "foreground": "#88C0D0"
778
+ }
779
+ }, {
780
+ "name": "[Java](JavaDoc) Meta Tag Template Link",
781
+ "scope": ["source.java meta.tag.template.link.javadoc", "source.java string.other.link.title.javadoc"],
782
+ "settings": {
783
+ "foreground": "#8FBCBB"
784
+ }
785
+ }, {
786
+ "name": "[Java](JavaDoc) Meta Tag Template Value",
787
+ "scope": "source.java meta.tag.template.value.javadoc",
788
+ "settings": {
789
+ "foreground": "#88C0D0"
790
+ }
791
+ }, {
792
+ "name": "[Java](JavaDoc) Punctuation Definition Keyword",
793
+ "scope": "source.java punctuation.definition.keyword.javadoc",
794
+ "settings": {
795
+ "foreground": "#8FBCBB"
796
+ }
797
+ }, {
798
+ "name": "[Java](JavaDoc) Punctuation Definition Tag",
799
+ "scope": ["source.java punctuation.definition.tag.begin.javadoc", "source.java punctuation.definition.tag.end.javadoc"],
800
+ "settings": {
801
+ "foreground": "#616E88"
802
+ }
803
+ }, {
804
+ "name": "[Java] Storage Modifier Import",
805
+ "scope": "source.java storage.modifier.import",
806
+ "settings": {
807
+ "foreground": "#8FBCBB"
808
+ }
809
+ }, {
810
+ "name": "[Java] Storage Modifier Package",
811
+ "scope": "source.java storage.modifier.package",
812
+ "settings": {
813
+ "foreground": "#8FBCBB"
814
+ }
815
+ }, {
816
+ "name": "[Java] Storage Type",
817
+ "scope": "source.java storage.type",
818
+ "settings": {
819
+ "foreground": "#8FBCBB"
820
+ }
821
+ }, {
822
+ "name": "[Java] Storage Type Annotation",
823
+ "scope": "source.java storage.type.annotation",
824
+ "settings": {
825
+ "foreground": "#D08770"
826
+ }
827
+ }, {
828
+ "name": "[Java] Storage Type Generic",
829
+ "scope": "source.java storage.type.generic",
830
+ "settings": {
831
+ "foreground": "#8FBCBB"
832
+ }
833
+ }, {
834
+ "name": "[Java] Storage Type Primitive",
835
+ "scope": "source.java storage.type.primitive",
836
+ "settings": {
837
+ "foreground": "#81A1C1"
838
+ }
839
+ }, {
840
+ "name": "[JavaScript] Decorator",
841
+ "scope": ["source.js punctuation.decorator", "source.js meta.decorator variable.other.readwrite", "source.js meta.decorator entity.name.function"],
842
+ "settings": {
843
+ "foreground": "#D08770"
844
+ }
845
+ }, {
846
+ "name": "[JavaScript] Meta Object-Literal Key",
847
+ "scope": "source.js meta.object-literal.key",
848
+ "settings": {
849
+ "foreground": "#88C0D0"
850
+ }
851
+ }, {
852
+ "name": "[JavaScript](JSDoc) Storage Type Class",
853
+ "scope": "source.js storage.type.class.jsdoc",
854
+ "settings": {
855
+ "foreground": "#8FBCBB"
856
+ }
857
+ }, {
858
+ "name": "[JavaScript] String Template Literals Punctuation",
859
+ "scope": ["source.js string.quoted.template punctuation.quasi.element.begin", "source.js string.quoted.template punctuation.quasi.element.end", "source.js string.template punctuation.definition.template-expression"],
860
+ "settings": {
861
+ "foreground": "#81A1C1"
862
+ }
863
+ }, {
864
+ "name": "[JavaScript] Interpolated String Template Punctuation Functions",
865
+ "scope": "source.js string.quoted.template meta.method-call.with-arguments",
866
+ "settings": {
867
+ "foreground": "#ECEFF4"
868
+ }
869
+ }, {
870
+ "name": "[JavaScript] String Template Literal Variable",
871
+ "scope": ["source.js string.template meta.template.expression support.variable.property", "source.js string.template meta.template.expression variable.other.object"],
872
+ "settings": {
873
+ "foreground": "#D8DEE9"
874
+ }
875
+ }, {
876
+ "name": "[JavaScript] Support Type Primitive",
877
+ "scope": "source.js support.type.primitive",
878
+ "settings": {
879
+ "foreground": "#81A1C1"
880
+ }
881
+ }, {
882
+ "name": "[JavaScript] Variable Other Object",
883
+ "scope": "source.js variable.other.object",
884
+ "settings": {
885
+ "foreground": "#D8DEE9"
886
+ }
887
+ }, {
888
+ "name": "[JavaScript] Variable Other Read-Write Alias",
889
+ "scope": "source.js variable.other.readwrite.alias",
890
+ "settings": {
891
+ "foreground": "#8FBCBB"
892
+ }
893
+ }, {
894
+ "name": "[JavaScript] Parentheses in Template Strings",
895
+ "scope": ["source.js meta.embedded.line meta.brace.square", "source.js meta.embedded.line meta.brace.round", "source.js string.quoted.template meta.brace.square", "source.js string.quoted.template meta.brace.round"],
896
+ "settings": {
897
+ "foreground": "#ECEFF4"
898
+ }
899
+ }, {
900
+ "name": "[HTML] Constant Character Entity",
901
+ "scope": "text.html.basic constant.character.entity.html",
902
+ "settings": {
903
+ "foreground": "#EBCB8B"
904
+ }
905
+ }, {
906
+ "name": "[HTML] Constant Other Inline-Data",
907
+ "scope": "text.html.basic constant.other.inline-data",
908
+ "settings": {
909
+ "foreground": "#D08770",
910
+ "fontStyle": "italic"
911
+ }
912
+ }, {
913
+ "name": "[HTML] Meta Tag SGML Doctype",
914
+ "scope": "text.html.basic meta.tag.sgml.doctype",
915
+ "settings": {
916
+ "foreground": "#5E81AC"
917
+ }
918
+ }, {
919
+ "name": "[HTML] Punctuation Definition Entity",
920
+ "scope": "text.html.basic punctuation.definition.entity",
921
+ "settings": {
922
+ "foreground": "#81A1C1"
923
+ }
924
+ }, {
925
+ "name": "[INI] Entity Name Section Group-Title",
926
+ "scope": "source.properties entity.name.section.group-title.ini",
927
+ "settings": {
928
+ "foreground": "#88C0D0"
929
+ }
930
+ }, {
931
+ "name": "[INI] Punctuation Separator Key-Value",
932
+ "scope": "source.properties punctuation.separator.key-value.ini",
933
+ "settings": {
934
+ "foreground": "#81A1C1"
935
+ }
936
+ }, {
937
+ "name": "[Markdown] Markup Fenced Code Block",
938
+ "scope": ["text.html.markdown markup.fenced_code.block", "text.html.markdown markup.fenced_code.block punctuation.definition"],
939
+ "settings": {
940
+ "foreground": "#8FBCBB"
941
+ }
942
+ }, {
943
+ "name": "[Markdown] Markup Heading",
944
+ "scope": "markup.heading",
945
+ "settings": {
946
+ "foreground": "#88C0D0"
947
+ }
948
+ }, {
949
+ "name": "[Markdown] Markup Inline",
950
+ "scope": ["text.html.markdown markup.inline.raw", "text.html.markdown markup.inline.raw punctuation.definition.raw"],
951
+ "settings": {
952
+ "foreground": "#8FBCBB"
953
+ }
954
+ }, {
955
+ "name": "[Markdown] Markup Italic",
956
+ "scope": "text.html.markdown markup.italic",
957
+ "settings": {
958
+ "fontStyle": "italic"
959
+ }
960
+ }, {
961
+ "name": "[Markdown] Markup Link",
962
+ "scope": "text.html.markdown markup.underline.link",
963
+ "settings": {
964
+ "fontStyle": "underline"
965
+ }
966
+ }, {
967
+ "name": "[Markdown] Markup List Numbered/Unnumbered",
968
+ "scope": "text.html.markdown beginning.punctuation.definition.list",
969
+ "settings": {
970
+ "foreground": "#81A1C1"
971
+ }
972
+ }, {
973
+ "name": "[Markdown] Markup Quote Punctuation Definition",
974
+ "scope": "text.html.markdown beginning.punctuation.definition.quote",
975
+ "settings": {
976
+ "foreground": "#8FBCBB"
977
+ }
978
+ }, {
979
+ "name": "[Markdown] Markup Quote Punctuation Definition",
980
+ "scope": "text.html.markdown markup.quote",
981
+ "settings": {
982
+ "foreground": "#616E88"
983
+ }
984
+ }, {
985
+ "name": "[Markdown] Markup Math Constant",
986
+ "scope": "text.html.markdown constant.character.math.tex",
987
+ "settings": {
988
+ "foreground": "#81A1C1"
989
+ }
990
+ }, {
991
+ "name": "[Markdown] Markup Math Definition Marker",
992
+ "scope": ["text.html.markdown punctuation.definition.math.begin", "text.html.markdown punctuation.definition.math.end"],
993
+ "settings": {
994
+ "foreground": "#5E81AC"
995
+ }
996
+ }, {
997
+ "name": "[Markdown] Markup Math Function Definition Marker",
998
+ "scope": "text.html.markdown punctuation.definition.function.math.tex",
999
+ "settings": {
1000
+ "foreground": "#88C0D0"
1001
+ }
1002
+ }, {
1003
+ "name": "[Markdown] Markup Math Operator",
1004
+ "scope": "text.html.markdown punctuation.math.operator.latex",
1005
+ "settings": {
1006
+ "foreground": "#81A1C1"
1007
+ }
1008
+ }, {
1009
+ "name": "[Markdown] Punctuation Definition Heading",
1010
+ "scope": "text.html.markdown punctuation.definition.heading",
1011
+ "settings": {
1012
+ "foreground": "#81A1C1"
1013
+ }
1014
+ }, {
1015
+ "name": "[Markdown] Punctuation Definition Constant/String",
1016
+ "scope": ["text.html.markdown punctuation.definition.constant", "text.html.markdown punctuation.definition.string"],
1017
+ "settings": {
1018
+ "foreground": "#81A1C1"
1019
+ }
1020
+ }, {
1021
+ "name": "[Markdown] String Other Link Description/Title",
1022
+ "scope": ["text.html.markdown constant.other.reference.link", "text.html.markdown string.other.link.description", "text.html.markdown string.other.link.title"],
1023
+ "settings": {
1024
+ "foreground": "#88C0D0"
1025
+ }
1026
+ }, {
1027
+ "name": "[Perl] Perl Sigils",
1028
+ "scope": "source.perl punctuation.definition.variable",
1029
+ "settings": {
1030
+ "foreground": "#D8DEE9"
1031
+ }
1032
+ }, {
1033
+ "name": "[PHP] Meta Function-Call Object",
1034
+ "scope": ["source.php meta.function-call", "source.php meta.function-call.object"],
1035
+ "settings": {
1036
+ "foreground": "#88C0D0"
1037
+ }
1038
+ }, {
1039
+ "name": "[Python] Decorator",
1040
+ "scope": ["source.python entity.name.function.decorator", "source.python meta.function.decorator support.type"],
1041
+ "settings": {
1042
+ "foreground": "#D08770"
1043
+ }
1044
+ }, {
1045
+ "name": "[Python] Function Call",
1046
+ "scope": "source.python meta.function-call.generic",
1047
+ "settings": {
1048
+ "foreground": "#88C0D0"
1049
+ }
1050
+ }, {
1051
+ "name": "[Python] Support Type",
1052
+ "scope": "source.python support.type",
1053
+ "settings": {
1054
+ "foreground": "#88C0D0"
1055
+ }
1056
+ }, {
1057
+ "name": "[Python] Function Parameter",
1058
+ "scope": ["source.python variable.parameter.function.language"],
1059
+ "settings": {
1060
+ "foreground": "#D8DEE9"
1061
+ }
1062
+ }, {
1063
+ "name": "[Python] Function Parameter Special",
1064
+ "scope": ["source.python meta.function.parameters variable.parameter.function.language.special.self"],
1065
+ "settings": {
1066
+ "foreground": "#81A1C1"
1067
+ }
1068
+ }, {
1069
+ "name": "[Rust] Entity types",
1070
+ "scope": "source.rust entity.name.type",
1071
+ "settings": {
1072
+ "foreground": "#8FBCBB"
1073
+ }
1074
+ }, {
1075
+ "name": "[Rust] Macro",
1076
+ "scope": "source.rust meta.macro entity.name.function",
1077
+ "settings": {
1078
+ "fontStyle": "bold",
1079
+ "foreground": "#88C0D0"
1080
+ }
1081
+ }, {
1082
+ "name": "[Rust] Attributes",
1083
+ "scope": ["source.rust meta.attribute", "source.rust meta.attribute punctuation", "source.rust meta.attribute keyword.operator"],
1084
+ "settings": {
1085
+ "foreground": "#5E81AC"
1086
+ }
1087
+ }, {
1088
+ "name": "[Rust] Traits",
1089
+ "scope": "source.rust entity.name.type.trait",
1090
+ "settings": {
1091
+ "fontStyle": "bold"
1092
+ }
1093
+ }, {
1094
+ "name": "[Rust] Interpolation Bracket Curly",
1095
+ "scope": "source.rust punctuation.definition.interpolation",
1096
+ "settings": {
1097
+ "foreground": "#EBCB8B"
1098
+ }
1099
+ }, {
1100
+ "name": "[SCSS] Punctuation Definition Interpolation Bracket Curly",
1101
+ "scope": ["source.css.scss punctuation.definition.interpolation.begin.bracket.curly", "source.css.scss punctuation.definition.interpolation.end.bracket.curly"],
1102
+ "settings": {
1103
+ "foreground": "#81A1C1"
1104
+ }
1105
+ }, {
1106
+ "name": "[SCSS] Variable Interpolation",
1107
+ "scope": "source.css.scss variable.interpolation",
1108
+ "settings": {
1109
+ "foreground": "#D8DEE9",
1110
+ "fontStyle": "italic"
1111
+ }
1112
+ }, {
1113
+ "name": "[TypeScript] Decorators",
1114
+ "scope": ["source.ts punctuation.decorator", "source.ts meta.decorator variable.other.readwrite", "source.ts meta.decorator entity.name.function", "source.tsx punctuation.decorator", "source.tsx meta.decorator variable.other.readwrite", "source.tsx meta.decorator entity.name.function"],
1115
+ "settings": {
1116
+ "foreground": "#D08770"
1117
+ }
1118
+ }, {
1119
+ "name": "[TypeScript] Object-literal keys",
1120
+ "scope": ["source.ts meta.object-literal.key", "source.tsx meta.object-literal.key"],
1121
+ "settings": {
1122
+ "foreground": "#D8DEE9"
1123
+ }
1124
+ }, {
1125
+ "name": "[TypeScript] Object-literal functions",
1126
+ "scope": ["source.ts meta.object-literal.key entity.name.function", "source.tsx meta.object-literal.key entity.name.function"],
1127
+ "settings": {
1128
+ "foreground": "#88C0D0"
1129
+ }
1130
+ }, {
1131
+ "name": "[TypeScript] Type/Class",
1132
+ "scope": ["source.ts support.class", "source.ts support.type", "source.ts entity.name.type", "source.ts entity.name.class", "source.tsx support.class", "source.tsx support.type", "source.tsx entity.name.type", "source.tsx entity.name.class"],
1133
+ "settings": {
1134
+ "foreground": "#8FBCBB"
1135
+ }
1136
+ }, {
1137
+ "name": "[TypeScript] Static Class Support",
1138
+ "scope": ["source.ts support.constant.math", "source.ts support.constant.dom", "source.ts support.constant.json", "source.tsx support.constant.math", "source.tsx support.constant.dom", "source.tsx support.constant.json"],
1139
+ "settings": {
1140
+ "foreground": "#8FBCBB"
1141
+ }
1142
+ }, {
1143
+ "name": "[TypeScript] Variables",
1144
+ "scope": ["source.ts support.variable", "source.tsx support.variable"],
1145
+ "settings": {
1146
+ "foreground": "#D8DEE9"
1147
+ }
1148
+ }, {
1149
+ "name": "[TypeScript] Parentheses in Template Strings",
1150
+ "scope": ["source.ts meta.embedded.line meta.brace.square", "source.ts meta.embedded.line meta.brace.round", "source.tsx meta.embedded.line meta.brace.square", "source.tsx meta.embedded.line meta.brace.round"],
1151
+ "settings": {
1152
+ "foreground": "#ECEFF4"
1153
+ }
1154
+ }, {
1155
+ "name": "[XML] Entity Name Tag Namespace",
1156
+ "scope": "text.xml entity.name.tag.namespace",
1157
+ "settings": {
1158
+ "foreground": "#8FBCBB"
1159
+ }
1160
+ }, {
1161
+ "name": "[XML] Keyword Other Doctype",
1162
+ "scope": "text.xml keyword.other.doctype",
1163
+ "settings": {
1164
+ "foreground": "#5E81AC"
1165
+ }
1166
+ }, {
1167
+ "name": "[XML] Meta Tag Preprocessor",
1168
+ "scope": "text.xml meta.tag.preprocessor entity.name.tag",
1169
+ "settings": {
1170
+ "foreground": "#5E81AC"
1171
+ }
1172
+ }, {
1173
+ "name": "[XML] Entity Name Tag Namespace",
1174
+ "scope": ["text.xml string.unquoted.cdata", "text.xml string.unquoted.cdata punctuation.definition.string"],
1175
+ "settings": {
1176
+ "foreground": "#D08770",
1177
+ "fontStyle": "italic"
1178
+ }
1179
+ }, {
1180
+ "name": "[YAML] Entity Name Tag",
1181
+ "scope": "source.yaml entity.name.tag",
1182
+ "settings": {
1183
+ "foreground": "#8FBCBB"
1184
+ }
1185
+ }]
1186
+ },
1187
+ "autoImport": true,
1188
+ "showCopyButton": true,
1189
+ "skipLanguages": [],
1190
+ "filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/basic/using-storybook.mdx"
1191
+ };
1192
+ const frontmatter = {
1193
+ "sidebar_position": 5
1194
+ };
1195
+ const toc = [{
1196
+ "id": "debugging-code",
1197
+ "text": "Debugging code",
1198
+ "depth": 2
1199
+ }, {
1200
+ "id": "referencing-component-products",
1201
+ "text": "Referencing component products",
1202
+ "depth": 3
1203
+ }, {
1204
+ "id": "referencing-component-source-code",
1205
+ "text": "Referencing component source code",
1206
+ "depth": 3
1207
+ }, {
1208
+ "id": "configure-storybook",
1209
+ "text": "Configure Storybook",
1210
+ "depth": 2
1211
+ }, {
1212
+ "id": "building-storybook-products",
1213
+ "text": "Building Storybook Products",
1214
+ "depth": 2
1215
+ }];
1216
+ const title = `Using Storybook`;
1217
+ const content = "\"---\\nsidebar_position: 5\\n---\\n\\n# Using Storybook\\n\\nFirst of all, if you haven't read the following, take a few minutes to understand it first.\\n\\n- [use micro-generator to enable Storybook debugging](/en/guide/basic/use-micro-generator#storybook-debug)\\n- [`modern dev`](/en/guide/basic/command-preview#modern-dev)\\n\\n[Storybook](https://storybook.js.org/) is a tool dedicated to component debugging, providing around component development.\\n\\n- Develop UIs that are more durable\\n- Test UIs with less effort and no flakes\\n- Document UI for your team to reuse\\n- Share how the UI actually works\\n- Automate UI workflows\\n\\nSo it is a complex and powerful tool.\\n\\nThe modular engineering solution is integrated with Storybook, so you can pretty much follow the official Storybook documentation. However, there are still a few things to keep in mind, which are explained below.\\n\\n## Debugging code\\n\\nThe project code needs to be introduced during the debugging process and can currently be introduced in two ways:\\n\\n- Use of project products\\n- Using the project source code\\n\\nWe prefer to use the first \\\"**use project product**\\\" approach. This is because it is closer to a real-life usage scenario and not only allows you to debug the functionality of the component, but also to verify the correctness of the build product.\\n\\nNext, we will talk about how to use each of these two methods.\\n\\n### Referencing component products\\n\\nIf the TypeScript project `foo` exists.\\n\\n<CH.Spotlight>\\n\\n```json package.json\\n{\\n \\\"name\\\": \\\"foo\\\",\\n \\\"main\\\": \\\"./dist/index.js\\\",\\n \\\"types\\\": \\\"./dist/types/index.d.ts\\\"\\n}\\n```\\n\\n---\\n\\nMake sure the `main` and `types` of `package.json`\\nvalues are real paths.\\n\\n```json package.json\\n{\\n \\\"name\\\": \\\"foo\\\",\\n \\\"main\\\": \\\"./dist/index.js\\\",\\n \\\"types\\\": \\\"./dist/types/index.d.ts\\\"\\n}\\n```\\n\\n---\\n\\nThe source code of the `foo` project.\\n\\n```typescript src/index.ts\\nexport const content = 'hello world';\\n```\\n\\n---\\n\\nMake sure that the `paths` configuration pointing to the project root is set in `stories/tsconfig.json`.\\nThe `key` of `paths` is the same as the project name.\\n\\n```json stories/tsconfig.json focus=7:9\\n{\\n \\\"extends\\\": \\\"../tsconfig.json\\\",\\n \\\"include\\\": [\\\"./\\\"],\\n \\\"compilerOptions\\\": {\\n \\\"jsx\\\": \\\"preserve\\\",\\n \\\"baseUrl\\\": \\\".\\\",\\n \\\"paths\\\": {\\n \\\"foo\\\": [\\\"../\\\"]\\n }\\n }\\n}\\n```\\n\\n---\\n\\nFinally, it is referenced directly in the Story code by the project name.\\n\\n```tsx stories/index.stories.tsx focus=1:1\\nimport { content } from 'foo';\\n\\nconst Component = () => <div>this is a Story Component {content}</div>;\\n\\nexport const YourStory = () => <Component />;\\n\\nexport default {\\n title: 'Your Stories',\\n};\\n```\\n\\n</CH.Spotlight>\\n\\nIf, during development, you encounter a situation where the type definition is not available in real time, at that point.\\n\\nFor `pnpm` projects, `package.json` can be modified as follows.\\n\\n```ts focus=4:7\\n{\\n \\\"name\\\": \\\"foo\\\",\\n \\\"main\\\": \\\"./dist/index.js\\\",\\n \\\"types\\\": \\\"./src/index.ts\\\",\\n \\\"publishConfig\\\": {\\n \\\"types\\\": \\\"./dist/index.d.ts\\\",\\n }\\n}\\n```\\n\\n> For the use of pnpm's `publishConfig`, you can read the following [link](https://pnpm.io/package_json#publishconfig).\\n\\nFor npm and Yarn projects, the values of `types` of `package.json` can only be changed manually in **development phase** and **release phase**.\\n\\nSo why is it possible to reference the product directly?\\n\\n1. the `modern build` command is executed automatically before the `modern dev storybook` command, ensuring the existence of the project build product.\\n2. The project name is added as an alias inside Storybook to ensure that the path to the project's product can be parsed **according to `package.json`**.\\n\\n### Referencing component source code\\n\\nReferencing component source code can be done by means of relative paths to:\\n\\n```ts ./stories/index.tsx\\nimport { content } from '../src';\\n\\nconst Component = () => <div>this is a Story Component {content}</div>;\\n\\nexport const YourStory = () => <Component />;\\n\\nexport default {\\n title: 'Your Stories',\\n};\\n```\\n\\nSo why is the source code approach not recommended?\\n\\nNot only is it impossible to verify that the component product is correct using the component source code, **but also some of the configurations supported by the module project for building the product cannot be fully translated into Storybook internal configuration**. If some of the configurations cannot be converted to each other, there will be unintended results during Storybook debugging.\\n\\n## Configure Storybook\\n\\nStorybook is officially configured for projects through a folder called `.storybook`, which contains various configuration files. **In a module project scenario, Storybook configuration files can be added to the `config/storybook` directory of the project.**\\n\\nFor more information on how to use the various Storybook configuration files, see the following links:\\n\\n- [Configure Storybook](https://storybook.js.org/docs/react/configure/overview)\\n\\n**But there are some limitations to Storybooking in a module project**:\\n\\n- It is currently not possible to change the location of the Story file, i.e., you cannot change the `stories` configuration in the `main.js` file.\\n- Currently you cannot modify Webpack and Babel related configuration, i.e. you cannot modify `webpackFinal` and `babel` configuration in the `main.js` file.\\n\\nIn the future we will consider whether these configurations can be allowed to be modified, but for now we are limiting their use to reduce unpredictable issues.\\n\\n## Building Storybook Products\\n\\nIn addition to Storybook debugging of components or common modules, you can also perform Storybook build tasks with the following commands.\\n\\n```bash\\nmodern build --platform storybook\\n```\\n\\nFor the `modern build --platform` command you can see.\\n\\n- [`modern build`](/en/guide/basic/command-preview#modern-build)\\n\\nAfter the build is complete, you can see the build product files in the `dist/storybook-static` directory.\\n\"";
1218
+ function _createMdxContent(props) {
1219
+ const _components = Object.assign({
1220
+ h1: "h1",
1221
+ a: "a",
1222
+ p: "p",
1223
+ ul: "ul",
1224
+ li: "li",
1225
+ code: "code",
1226
+ h2: "h2",
1227
+ strong: "strong",
1228
+ h3: "h3",
1229
+ blockquote: "blockquote",
1230
+ ol: "ol"
1231
+ }, props.components);
1232
+ if (!CH) _missingMdxReference("CH", false, "39:1-105:16");
1233
+ if (!CH.Code) _missingMdxReference("CH.Code", true, "111:1-120:4");
1234
+ if (!CH.CodeSlot) _missingMdxReference("CH.CodeSlot", true);
1235
+ if (!CH.Spotlight) _missingMdxReference("CH.Spotlight", true, "39:1-105:16");
1236
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1237
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1238
+ id: "using-storybook",
1239
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1240
+ className: "header-anchor",
1241
+ "aria-hidden": "true",
1242
+ href: "#using-storybook",
1243
+ children: "#"
1244
+ }), "Using Storybook"]
1245
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1246
+ children: "First of all, if you haven't read the following, take a few minutes to understand it first."
1247
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1248
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1249
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1250
+ href: "/module-tools/en/guide/basic/use-micro-generator.html#storybook-debug",
1251
+ children: "use micro-generator to enable Storybook debugging"
1252
+ })
1253
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1254
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1255
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-dev-2",
1256
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1257
+ children: "modern dev"
1258
+ })
1259
+ })
1260
+ }), "\n"]
1261
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1262
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1263
+ href: "https://storybook.js.org/",
1264
+ target: "_blank",
1265
+ rel: "nofollow",
1266
+ children: "Storybook"
1267
+ }), " is a tool dedicated to component debugging, providing around component development."]
1268
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1269
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1270
+ children: "Develop UIs that are more durable"
1271
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1272
+ children: "Test UIs with less effort and no flakes"
1273
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1274
+ children: "Document UI for your team to reuse"
1275
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1276
+ children: "Share how the UI actually works"
1277
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1278
+ children: "Automate UI workflows"
1279
+ }), "\n"]
1280
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1281
+ children: "So it is a complex and powerful tool."
1282
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1283
+ children: "The modular engineering solution is integrated with Storybook, so you can pretty much follow the official Storybook documentation. However, there are still a few things to keep in mind, which are explained below."
1284
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1285
+ id: "debugging-code",
1286
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1287
+ className: "header-anchor",
1288
+ "aria-hidden": "true",
1289
+ href: "#debugging-code",
1290
+ children: "#"
1291
+ }), "Debugging code"]
1292
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1293
+ children: "The project code needs to be introduced during the debugging process and can currently be introduced in two ways:"
1294
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1295
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1296
+ children: "Use of project products"
1297
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1298
+ children: "Using the project source code"
1299
+ }), "\n"]
1300
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1301
+ children: ["We prefer to use the first \"", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1302
+ children: "use project product"
1303
+ }), "\" approach. This is because it is closer to a real-life usage scenario and not only allows you to debug the functionality of the component, but also to verify the correctness of the build product."]
1304
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1305
+ children: "Next, we will talk about how to use each of these two methods."
1306
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
1307
+ id: "referencing-component-products",
1308
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1309
+ className: "header-anchor",
1310
+ "aria-hidden": "true",
1311
+ href: "#referencing-component-products",
1312
+ children: "#"
1313
+ }), "Referencing component products"]
1314
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1315
+ children: ["If the TypeScript project ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1316
+ children: "foo"
1317
+ }), " exists."]
1318
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
1319
+ codeConfig: chCodeConfig,
1320
+ editorSteps: [{
1321
+ "northPanel": {
1322
+ "tabs": ["package.json"],
1323
+ "active": "package.json",
1324
+ "heightRatio": 1
1325
+ },
1326
+ "files": [{
1327
+ "name": "package.json",
1328
+ "focus": "",
1329
+ "code": {
1330
+ "lines": [{
1331
+ "tokens": [{
1332
+ "content": "{",
1333
+ "props": {
1334
+ "style": {
1335
+ "color": "#ECEFF4"
1336
+ }
1337
+ }
1338
+ }]
1339
+ }, {
1340
+ "tokens": [{
1341
+ "content": " ",
1342
+ "props": {
1343
+ "style": {
1344
+ "color": "#D8DEE9FF"
1345
+ }
1346
+ }
1347
+ }, {
1348
+ "content": "\"",
1349
+ "props": {
1350
+ "style": {
1351
+ "color": "#ECEFF4"
1352
+ }
1353
+ }
1354
+ }, {
1355
+ "content": "name",
1356
+ "props": {
1357
+ "style": {
1358
+ "color": "#8FBCBB"
1359
+ }
1360
+ }
1361
+ }, {
1362
+ "content": "\"",
1363
+ "props": {
1364
+ "style": {
1365
+ "color": "#ECEFF4"
1366
+ }
1367
+ }
1368
+ }, {
1369
+ "content": ":",
1370
+ "props": {
1371
+ "style": {
1372
+ "color": "#ECEFF4"
1373
+ }
1374
+ }
1375
+ }, {
1376
+ "content": " ",
1377
+ "props": {
1378
+ "style": {
1379
+ "color": "#D8DEE9FF"
1380
+ }
1381
+ }
1382
+ }, {
1383
+ "content": "\"",
1384
+ "props": {
1385
+ "style": {
1386
+ "color": "#ECEFF4"
1387
+ }
1388
+ }
1389
+ }, {
1390
+ "content": "foo",
1391
+ "props": {
1392
+ "style": {
1393
+ "color": "#A3BE8C"
1394
+ }
1395
+ }
1396
+ }, {
1397
+ "content": "\"",
1398
+ "props": {
1399
+ "style": {
1400
+ "color": "#ECEFF4"
1401
+ }
1402
+ }
1403
+ }, {
1404
+ "content": ",",
1405
+ "props": {
1406
+ "style": {
1407
+ "color": "#ECEFF4"
1408
+ }
1409
+ }
1410
+ }]
1411
+ }, {
1412
+ "tokens": [{
1413
+ "content": " ",
1414
+ "props": {
1415
+ "style": {
1416
+ "color": "#D8DEE9FF"
1417
+ }
1418
+ }
1419
+ }, {
1420
+ "content": "\"",
1421
+ "props": {
1422
+ "style": {
1423
+ "color": "#ECEFF4"
1424
+ }
1425
+ }
1426
+ }, {
1427
+ "content": "main",
1428
+ "props": {
1429
+ "style": {
1430
+ "color": "#8FBCBB"
1431
+ }
1432
+ }
1433
+ }, {
1434
+ "content": "\"",
1435
+ "props": {
1436
+ "style": {
1437
+ "color": "#ECEFF4"
1438
+ }
1439
+ }
1440
+ }, {
1441
+ "content": ":",
1442
+ "props": {
1443
+ "style": {
1444
+ "color": "#ECEFF4"
1445
+ }
1446
+ }
1447
+ }, {
1448
+ "content": " ",
1449
+ "props": {
1450
+ "style": {
1451
+ "color": "#D8DEE9FF"
1452
+ }
1453
+ }
1454
+ }, {
1455
+ "content": "\"",
1456
+ "props": {
1457
+ "style": {
1458
+ "color": "#ECEFF4"
1459
+ }
1460
+ }
1461
+ }, {
1462
+ "content": "./dist/index.js",
1463
+ "props": {
1464
+ "style": {
1465
+ "color": "#A3BE8C"
1466
+ }
1467
+ }
1468
+ }, {
1469
+ "content": "\"",
1470
+ "props": {
1471
+ "style": {
1472
+ "color": "#ECEFF4"
1473
+ }
1474
+ }
1475
+ }, {
1476
+ "content": ",",
1477
+ "props": {
1478
+ "style": {
1479
+ "color": "#ECEFF4"
1480
+ }
1481
+ }
1482
+ }]
1483
+ }, {
1484
+ "tokens": [{
1485
+ "content": " ",
1486
+ "props": {
1487
+ "style": {
1488
+ "color": "#D8DEE9FF"
1489
+ }
1490
+ }
1491
+ }, {
1492
+ "content": "\"",
1493
+ "props": {
1494
+ "style": {
1495
+ "color": "#ECEFF4"
1496
+ }
1497
+ }
1498
+ }, {
1499
+ "content": "types",
1500
+ "props": {
1501
+ "style": {
1502
+ "color": "#8FBCBB"
1503
+ }
1504
+ }
1505
+ }, {
1506
+ "content": "\"",
1507
+ "props": {
1508
+ "style": {
1509
+ "color": "#ECEFF4"
1510
+ }
1511
+ }
1512
+ }, {
1513
+ "content": ":",
1514
+ "props": {
1515
+ "style": {
1516
+ "color": "#ECEFF4"
1517
+ }
1518
+ }
1519
+ }, {
1520
+ "content": " ",
1521
+ "props": {
1522
+ "style": {
1523
+ "color": "#D8DEE9FF"
1524
+ }
1525
+ }
1526
+ }, {
1527
+ "content": "\"",
1528
+ "props": {
1529
+ "style": {
1530
+ "color": "#ECEFF4"
1531
+ }
1532
+ }
1533
+ }, {
1534
+ "content": "./dist/types/index.d.ts",
1535
+ "props": {
1536
+ "style": {
1537
+ "color": "#A3BE8C"
1538
+ }
1539
+ }
1540
+ }, {
1541
+ "content": "\"",
1542
+ "props": {
1543
+ "style": {
1544
+ "color": "#ECEFF4"
1545
+ }
1546
+ }
1547
+ }]
1548
+ }, {
1549
+ "tokens": [{
1550
+ "content": "}",
1551
+ "props": {
1552
+ "style": {
1553
+ "color": "#ECEFF4"
1554
+ }
1555
+ }
1556
+ }]
1557
+ }],
1558
+ "lang": "json"
1559
+ },
1560
+ "annotations": []
1561
+ }]
1562
+ }, {
1563
+ "northPanel": {
1564
+ "tabs": ["package.json"],
1565
+ "active": "package.json",
1566
+ "heightRatio": 1
1567
+ },
1568
+ "files": [{
1569
+ "name": "package.json",
1570
+ "focus": "",
1571
+ "code": {
1572
+ "lines": [{
1573
+ "tokens": [{
1574
+ "content": "{",
1575
+ "props": {
1576
+ "style": {
1577
+ "color": "#ECEFF4"
1578
+ }
1579
+ }
1580
+ }]
1581
+ }, {
1582
+ "tokens": [{
1583
+ "content": " ",
1584
+ "props": {
1585
+ "style": {
1586
+ "color": "#D8DEE9FF"
1587
+ }
1588
+ }
1589
+ }, {
1590
+ "content": "\"",
1591
+ "props": {
1592
+ "style": {
1593
+ "color": "#ECEFF4"
1594
+ }
1595
+ }
1596
+ }, {
1597
+ "content": "name",
1598
+ "props": {
1599
+ "style": {
1600
+ "color": "#8FBCBB"
1601
+ }
1602
+ }
1603
+ }, {
1604
+ "content": "\"",
1605
+ "props": {
1606
+ "style": {
1607
+ "color": "#ECEFF4"
1608
+ }
1609
+ }
1610
+ }, {
1611
+ "content": ":",
1612
+ "props": {
1613
+ "style": {
1614
+ "color": "#ECEFF4"
1615
+ }
1616
+ }
1617
+ }, {
1618
+ "content": " ",
1619
+ "props": {
1620
+ "style": {
1621
+ "color": "#D8DEE9FF"
1622
+ }
1623
+ }
1624
+ }, {
1625
+ "content": "\"",
1626
+ "props": {
1627
+ "style": {
1628
+ "color": "#ECEFF4"
1629
+ }
1630
+ }
1631
+ }, {
1632
+ "content": "foo",
1633
+ "props": {
1634
+ "style": {
1635
+ "color": "#A3BE8C"
1636
+ }
1637
+ }
1638
+ }, {
1639
+ "content": "\"",
1640
+ "props": {
1641
+ "style": {
1642
+ "color": "#ECEFF4"
1643
+ }
1644
+ }
1645
+ }, {
1646
+ "content": ",",
1647
+ "props": {
1648
+ "style": {
1649
+ "color": "#ECEFF4"
1650
+ }
1651
+ }
1652
+ }]
1653
+ }, {
1654
+ "tokens": [{
1655
+ "content": " ",
1656
+ "props": {
1657
+ "style": {
1658
+ "color": "#D8DEE9FF"
1659
+ }
1660
+ }
1661
+ }, {
1662
+ "content": "\"",
1663
+ "props": {
1664
+ "style": {
1665
+ "color": "#ECEFF4"
1666
+ }
1667
+ }
1668
+ }, {
1669
+ "content": "main",
1670
+ "props": {
1671
+ "style": {
1672
+ "color": "#8FBCBB"
1673
+ }
1674
+ }
1675
+ }, {
1676
+ "content": "\"",
1677
+ "props": {
1678
+ "style": {
1679
+ "color": "#ECEFF4"
1680
+ }
1681
+ }
1682
+ }, {
1683
+ "content": ":",
1684
+ "props": {
1685
+ "style": {
1686
+ "color": "#ECEFF4"
1687
+ }
1688
+ }
1689
+ }, {
1690
+ "content": " ",
1691
+ "props": {
1692
+ "style": {
1693
+ "color": "#D8DEE9FF"
1694
+ }
1695
+ }
1696
+ }, {
1697
+ "content": "\"",
1698
+ "props": {
1699
+ "style": {
1700
+ "color": "#ECEFF4"
1701
+ }
1702
+ }
1703
+ }, {
1704
+ "content": "./dist/index.js",
1705
+ "props": {
1706
+ "style": {
1707
+ "color": "#A3BE8C"
1708
+ }
1709
+ }
1710
+ }, {
1711
+ "content": "\"",
1712
+ "props": {
1713
+ "style": {
1714
+ "color": "#ECEFF4"
1715
+ }
1716
+ }
1717
+ }, {
1718
+ "content": ",",
1719
+ "props": {
1720
+ "style": {
1721
+ "color": "#ECEFF4"
1722
+ }
1723
+ }
1724
+ }]
1725
+ }, {
1726
+ "tokens": [{
1727
+ "content": " ",
1728
+ "props": {
1729
+ "style": {
1730
+ "color": "#D8DEE9FF"
1731
+ }
1732
+ }
1733
+ }, {
1734
+ "content": "\"",
1735
+ "props": {
1736
+ "style": {
1737
+ "color": "#ECEFF4"
1738
+ }
1739
+ }
1740
+ }, {
1741
+ "content": "types",
1742
+ "props": {
1743
+ "style": {
1744
+ "color": "#8FBCBB"
1745
+ }
1746
+ }
1747
+ }, {
1748
+ "content": "\"",
1749
+ "props": {
1750
+ "style": {
1751
+ "color": "#ECEFF4"
1752
+ }
1753
+ }
1754
+ }, {
1755
+ "content": ":",
1756
+ "props": {
1757
+ "style": {
1758
+ "color": "#ECEFF4"
1759
+ }
1760
+ }
1761
+ }, {
1762
+ "content": " ",
1763
+ "props": {
1764
+ "style": {
1765
+ "color": "#D8DEE9FF"
1766
+ }
1767
+ }
1768
+ }, {
1769
+ "content": "\"",
1770
+ "props": {
1771
+ "style": {
1772
+ "color": "#ECEFF4"
1773
+ }
1774
+ }
1775
+ }, {
1776
+ "content": "./dist/types/index.d.ts",
1777
+ "props": {
1778
+ "style": {
1779
+ "color": "#A3BE8C"
1780
+ }
1781
+ }
1782
+ }, {
1783
+ "content": "\"",
1784
+ "props": {
1785
+ "style": {
1786
+ "color": "#ECEFF4"
1787
+ }
1788
+ }
1789
+ }]
1790
+ }, {
1791
+ "tokens": [{
1792
+ "content": "}",
1793
+ "props": {
1794
+ "style": {
1795
+ "color": "#ECEFF4"
1796
+ }
1797
+ }
1798
+ }]
1799
+ }],
1800
+ "lang": "json"
1801
+ },
1802
+ "annotations": []
1803
+ }],
1804
+ "southPanel": undefined
1805
+ }, {
1806
+ "northPanel": {
1807
+ "tabs": ["package.json", "src/index.ts"],
1808
+ "active": "src/index.ts",
1809
+ "heightRatio": 1
1810
+ },
1811
+ "files": [{
1812
+ "name": "package.json",
1813
+ "focus": "",
1814
+ "code": {
1815
+ "lines": [{
1816
+ "tokens": [{
1817
+ "content": "{",
1818
+ "props": {
1819
+ "style": {
1820
+ "color": "#ECEFF4"
1821
+ }
1822
+ }
1823
+ }]
1824
+ }, {
1825
+ "tokens": [{
1826
+ "content": " ",
1827
+ "props": {
1828
+ "style": {
1829
+ "color": "#D8DEE9FF"
1830
+ }
1831
+ }
1832
+ }, {
1833
+ "content": "\"",
1834
+ "props": {
1835
+ "style": {
1836
+ "color": "#ECEFF4"
1837
+ }
1838
+ }
1839
+ }, {
1840
+ "content": "name",
1841
+ "props": {
1842
+ "style": {
1843
+ "color": "#8FBCBB"
1844
+ }
1845
+ }
1846
+ }, {
1847
+ "content": "\"",
1848
+ "props": {
1849
+ "style": {
1850
+ "color": "#ECEFF4"
1851
+ }
1852
+ }
1853
+ }, {
1854
+ "content": ":",
1855
+ "props": {
1856
+ "style": {
1857
+ "color": "#ECEFF4"
1858
+ }
1859
+ }
1860
+ }, {
1861
+ "content": " ",
1862
+ "props": {
1863
+ "style": {
1864
+ "color": "#D8DEE9FF"
1865
+ }
1866
+ }
1867
+ }, {
1868
+ "content": "\"",
1869
+ "props": {
1870
+ "style": {
1871
+ "color": "#ECEFF4"
1872
+ }
1873
+ }
1874
+ }, {
1875
+ "content": "foo",
1876
+ "props": {
1877
+ "style": {
1878
+ "color": "#A3BE8C"
1879
+ }
1880
+ }
1881
+ }, {
1882
+ "content": "\"",
1883
+ "props": {
1884
+ "style": {
1885
+ "color": "#ECEFF4"
1886
+ }
1887
+ }
1888
+ }, {
1889
+ "content": ",",
1890
+ "props": {
1891
+ "style": {
1892
+ "color": "#ECEFF4"
1893
+ }
1894
+ }
1895
+ }]
1896
+ }, {
1897
+ "tokens": [{
1898
+ "content": " ",
1899
+ "props": {
1900
+ "style": {
1901
+ "color": "#D8DEE9FF"
1902
+ }
1903
+ }
1904
+ }, {
1905
+ "content": "\"",
1906
+ "props": {
1907
+ "style": {
1908
+ "color": "#ECEFF4"
1909
+ }
1910
+ }
1911
+ }, {
1912
+ "content": "main",
1913
+ "props": {
1914
+ "style": {
1915
+ "color": "#8FBCBB"
1916
+ }
1917
+ }
1918
+ }, {
1919
+ "content": "\"",
1920
+ "props": {
1921
+ "style": {
1922
+ "color": "#ECEFF4"
1923
+ }
1924
+ }
1925
+ }, {
1926
+ "content": ":",
1927
+ "props": {
1928
+ "style": {
1929
+ "color": "#ECEFF4"
1930
+ }
1931
+ }
1932
+ }, {
1933
+ "content": " ",
1934
+ "props": {
1935
+ "style": {
1936
+ "color": "#D8DEE9FF"
1937
+ }
1938
+ }
1939
+ }, {
1940
+ "content": "\"",
1941
+ "props": {
1942
+ "style": {
1943
+ "color": "#ECEFF4"
1944
+ }
1945
+ }
1946
+ }, {
1947
+ "content": "./dist/index.js",
1948
+ "props": {
1949
+ "style": {
1950
+ "color": "#A3BE8C"
1951
+ }
1952
+ }
1953
+ }, {
1954
+ "content": "\"",
1955
+ "props": {
1956
+ "style": {
1957
+ "color": "#ECEFF4"
1958
+ }
1959
+ }
1960
+ }, {
1961
+ "content": ",",
1962
+ "props": {
1963
+ "style": {
1964
+ "color": "#ECEFF4"
1965
+ }
1966
+ }
1967
+ }]
1968
+ }, {
1969
+ "tokens": [{
1970
+ "content": " ",
1971
+ "props": {
1972
+ "style": {
1973
+ "color": "#D8DEE9FF"
1974
+ }
1975
+ }
1976
+ }, {
1977
+ "content": "\"",
1978
+ "props": {
1979
+ "style": {
1980
+ "color": "#ECEFF4"
1981
+ }
1982
+ }
1983
+ }, {
1984
+ "content": "types",
1985
+ "props": {
1986
+ "style": {
1987
+ "color": "#8FBCBB"
1988
+ }
1989
+ }
1990
+ }, {
1991
+ "content": "\"",
1992
+ "props": {
1993
+ "style": {
1994
+ "color": "#ECEFF4"
1995
+ }
1996
+ }
1997
+ }, {
1998
+ "content": ":",
1999
+ "props": {
2000
+ "style": {
2001
+ "color": "#ECEFF4"
2002
+ }
2003
+ }
2004
+ }, {
2005
+ "content": " ",
2006
+ "props": {
2007
+ "style": {
2008
+ "color": "#D8DEE9FF"
2009
+ }
2010
+ }
2011
+ }, {
2012
+ "content": "\"",
2013
+ "props": {
2014
+ "style": {
2015
+ "color": "#ECEFF4"
2016
+ }
2017
+ }
2018
+ }, {
2019
+ "content": "./dist/types/index.d.ts",
2020
+ "props": {
2021
+ "style": {
2022
+ "color": "#A3BE8C"
2023
+ }
2024
+ }
2025
+ }, {
2026
+ "content": "\"",
2027
+ "props": {
2028
+ "style": {
2029
+ "color": "#ECEFF4"
2030
+ }
2031
+ }
2032
+ }]
2033
+ }, {
2034
+ "tokens": [{
2035
+ "content": "}",
2036
+ "props": {
2037
+ "style": {
2038
+ "color": "#ECEFF4"
2039
+ }
2040
+ }
2041
+ }]
2042
+ }],
2043
+ "lang": "json"
2044
+ },
2045
+ "annotations": []
2046
+ }, {
2047
+ "name": "src/index.ts",
2048
+ "focus": "",
2049
+ "code": {
2050
+ "lines": [{
2051
+ "tokens": [{
2052
+ "content": "export",
2053
+ "props": {
2054
+ "style": {
2055
+ "color": "#81A1C1"
2056
+ }
2057
+ }
2058
+ }, {
2059
+ "content": " ",
2060
+ "props": {
2061
+ "style": {
2062
+ "color": "#D8DEE9FF"
2063
+ }
2064
+ }
2065
+ }, {
2066
+ "content": "const",
2067
+ "props": {
2068
+ "style": {
2069
+ "color": "#81A1C1"
2070
+ }
2071
+ }
2072
+ }, {
2073
+ "content": " ",
2074
+ "props": {
2075
+ "style": {
2076
+ "color": "#D8DEE9FF"
2077
+ }
2078
+ }
2079
+ }, {
2080
+ "content": "content",
2081
+ "props": {
2082
+ "style": {
2083
+ "color": "#D8DEE9"
2084
+ }
2085
+ }
2086
+ }, {
2087
+ "content": " ",
2088
+ "props": {
2089
+ "style": {
2090
+ "color": "#D8DEE9FF"
2091
+ }
2092
+ }
2093
+ }, {
2094
+ "content": "=",
2095
+ "props": {
2096
+ "style": {
2097
+ "color": "#81A1C1"
2098
+ }
2099
+ }
2100
+ }, {
2101
+ "content": " ",
2102
+ "props": {
2103
+ "style": {
2104
+ "color": "#D8DEE9FF"
2105
+ }
2106
+ }
2107
+ }, {
2108
+ "content": "'",
2109
+ "props": {
2110
+ "style": {
2111
+ "color": "#ECEFF4"
2112
+ }
2113
+ }
2114
+ }, {
2115
+ "content": "hello world",
2116
+ "props": {
2117
+ "style": {
2118
+ "color": "#A3BE8C"
2119
+ }
2120
+ }
2121
+ }, {
2122
+ "content": "'",
2123
+ "props": {
2124
+ "style": {
2125
+ "color": "#ECEFF4"
2126
+ }
2127
+ }
2128
+ }, {
2129
+ "content": ";",
2130
+ "props": {
2131
+ "style": {
2132
+ "color": "#81A1C1"
2133
+ }
2134
+ }
2135
+ }]
2136
+ }],
2137
+ "lang": "typescript"
2138
+ },
2139
+ "annotations": []
2140
+ }],
2141
+ "southPanel": undefined
2142
+ }, {
2143
+ "northPanel": {
2144
+ "tabs": ["package.json", "stories/tsconfig.json"],
2145
+ "active": "stories/tsconfig.json",
2146
+ "heightRatio": 1
2147
+ },
2148
+ "files": [{
2149
+ "name": "package.json",
2150
+ "focus": "",
2151
+ "code": {
2152
+ "lines": [{
2153
+ "tokens": [{
2154
+ "content": "{",
2155
+ "props": {
2156
+ "style": {
2157
+ "color": "#ECEFF4"
2158
+ }
2159
+ }
2160
+ }]
2161
+ }, {
2162
+ "tokens": [{
2163
+ "content": " ",
2164
+ "props": {
2165
+ "style": {
2166
+ "color": "#D8DEE9FF"
2167
+ }
2168
+ }
2169
+ }, {
2170
+ "content": "\"",
2171
+ "props": {
2172
+ "style": {
2173
+ "color": "#ECEFF4"
2174
+ }
2175
+ }
2176
+ }, {
2177
+ "content": "name",
2178
+ "props": {
2179
+ "style": {
2180
+ "color": "#8FBCBB"
2181
+ }
2182
+ }
2183
+ }, {
2184
+ "content": "\"",
2185
+ "props": {
2186
+ "style": {
2187
+ "color": "#ECEFF4"
2188
+ }
2189
+ }
2190
+ }, {
2191
+ "content": ":",
2192
+ "props": {
2193
+ "style": {
2194
+ "color": "#ECEFF4"
2195
+ }
2196
+ }
2197
+ }, {
2198
+ "content": " ",
2199
+ "props": {
2200
+ "style": {
2201
+ "color": "#D8DEE9FF"
2202
+ }
2203
+ }
2204
+ }, {
2205
+ "content": "\"",
2206
+ "props": {
2207
+ "style": {
2208
+ "color": "#ECEFF4"
2209
+ }
2210
+ }
2211
+ }, {
2212
+ "content": "foo",
2213
+ "props": {
2214
+ "style": {
2215
+ "color": "#A3BE8C"
2216
+ }
2217
+ }
2218
+ }, {
2219
+ "content": "\"",
2220
+ "props": {
2221
+ "style": {
2222
+ "color": "#ECEFF4"
2223
+ }
2224
+ }
2225
+ }, {
2226
+ "content": ",",
2227
+ "props": {
2228
+ "style": {
2229
+ "color": "#ECEFF4"
2230
+ }
2231
+ }
2232
+ }]
2233
+ }, {
2234
+ "tokens": [{
2235
+ "content": " ",
2236
+ "props": {
2237
+ "style": {
2238
+ "color": "#D8DEE9FF"
2239
+ }
2240
+ }
2241
+ }, {
2242
+ "content": "\"",
2243
+ "props": {
2244
+ "style": {
2245
+ "color": "#ECEFF4"
2246
+ }
2247
+ }
2248
+ }, {
2249
+ "content": "main",
2250
+ "props": {
2251
+ "style": {
2252
+ "color": "#8FBCBB"
2253
+ }
2254
+ }
2255
+ }, {
2256
+ "content": "\"",
2257
+ "props": {
2258
+ "style": {
2259
+ "color": "#ECEFF4"
2260
+ }
2261
+ }
2262
+ }, {
2263
+ "content": ":",
2264
+ "props": {
2265
+ "style": {
2266
+ "color": "#ECEFF4"
2267
+ }
2268
+ }
2269
+ }, {
2270
+ "content": " ",
2271
+ "props": {
2272
+ "style": {
2273
+ "color": "#D8DEE9FF"
2274
+ }
2275
+ }
2276
+ }, {
2277
+ "content": "\"",
2278
+ "props": {
2279
+ "style": {
2280
+ "color": "#ECEFF4"
2281
+ }
2282
+ }
2283
+ }, {
2284
+ "content": "./dist/index.js",
2285
+ "props": {
2286
+ "style": {
2287
+ "color": "#A3BE8C"
2288
+ }
2289
+ }
2290
+ }, {
2291
+ "content": "\"",
2292
+ "props": {
2293
+ "style": {
2294
+ "color": "#ECEFF4"
2295
+ }
2296
+ }
2297
+ }, {
2298
+ "content": ",",
2299
+ "props": {
2300
+ "style": {
2301
+ "color": "#ECEFF4"
2302
+ }
2303
+ }
2304
+ }]
2305
+ }, {
2306
+ "tokens": [{
2307
+ "content": " ",
2308
+ "props": {
2309
+ "style": {
2310
+ "color": "#D8DEE9FF"
2311
+ }
2312
+ }
2313
+ }, {
2314
+ "content": "\"",
2315
+ "props": {
2316
+ "style": {
2317
+ "color": "#ECEFF4"
2318
+ }
2319
+ }
2320
+ }, {
2321
+ "content": "types",
2322
+ "props": {
2323
+ "style": {
2324
+ "color": "#8FBCBB"
2325
+ }
2326
+ }
2327
+ }, {
2328
+ "content": "\"",
2329
+ "props": {
2330
+ "style": {
2331
+ "color": "#ECEFF4"
2332
+ }
2333
+ }
2334
+ }, {
2335
+ "content": ":",
2336
+ "props": {
2337
+ "style": {
2338
+ "color": "#ECEFF4"
2339
+ }
2340
+ }
2341
+ }, {
2342
+ "content": " ",
2343
+ "props": {
2344
+ "style": {
2345
+ "color": "#D8DEE9FF"
2346
+ }
2347
+ }
2348
+ }, {
2349
+ "content": "\"",
2350
+ "props": {
2351
+ "style": {
2352
+ "color": "#ECEFF4"
2353
+ }
2354
+ }
2355
+ }, {
2356
+ "content": "./dist/types/index.d.ts",
2357
+ "props": {
2358
+ "style": {
2359
+ "color": "#A3BE8C"
2360
+ }
2361
+ }
2362
+ }, {
2363
+ "content": "\"",
2364
+ "props": {
2365
+ "style": {
2366
+ "color": "#ECEFF4"
2367
+ }
2368
+ }
2369
+ }]
2370
+ }, {
2371
+ "tokens": [{
2372
+ "content": "}",
2373
+ "props": {
2374
+ "style": {
2375
+ "color": "#ECEFF4"
2376
+ }
2377
+ }
2378
+ }]
2379
+ }],
2380
+ "lang": "json"
2381
+ },
2382
+ "annotations": []
2383
+ }, {
2384
+ "name": "stories/tsconfig.json",
2385
+ "focus": "7:9",
2386
+ "code": {
2387
+ "lines": [{
2388
+ "tokens": [{
2389
+ "content": "{",
2390
+ "props": {
2391
+ "style": {
2392
+ "color": "#ECEFF4"
2393
+ }
2394
+ }
2395
+ }]
2396
+ }, {
2397
+ "tokens": [{
2398
+ "content": " ",
2399
+ "props": {
2400
+ "style": {
2401
+ "color": "#D8DEE9FF"
2402
+ }
2403
+ }
2404
+ }, {
2405
+ "content": "\"",
2406
+ "props": {
2407
+ "style": {
2408
+ "color": "#ECEFF4"
2409
+ }
2410
+ }
2411
+ }, {
2412
+ "content": "extends",
2413
+ "props": {
2414
+ "style": {
2415
+ "color": "#8FBCBB"
2416
+ }
2417
+ }
2418
+ }, {
2419
+ "content": "\"",
2420
+ "props": {
2421
+ "style": {
2422
+ "color": "#ECEFF4"
2423
+ }
2424
+ }
2425
+ }, {
2426
+ "content": ":",
2427
+ "props": {
2428
+ "style": {
2429
+ "color": "#ECEFF4"
2430
+ }
2431
+ }
2432
+ }, {
2433
+ "content": " ",
2434
+ "props": {
2435
+ "style": {
2436
+ "color": "#D8DEE9FF"
2437
+ }
2438
+ }
2439
+ }, {
2440
+ "content": "\"",
2441
+ "props": {
2442
+ "style": {
2443
+ "color": "#ECEFF4"
2444
+ }
2445
+ }
2446
+ }, {
2447
+ "content": "../tsconfig.json",
2448
+ "props": {
2449
+ "style": {
2450
+ "color": "#A3BE8C"
2451
+ }
2452
+ }
2453
+ }, {
2454
+ "content": "\"",
2455
+ "props": {
2456
+ "style": {
2457
+ "color": "#ECEFF4"
2458
+ }
2459
+ }
2460
+ }, {
2461
+ "content": ",",
2462
+ "props": {
2463
+ "style": {
2464
+ "color": "#ECEFF4"
2465
+ }
2466
+ }
2467
+ }]
2468
+ }, {
2469
+ "tokens": [{
2470
+ "content": " ",
2471
+ "props": {
2472
+ "style": {
2473
+ "color": "#D8DEE9FF"
2474
+ }
2475
+ }
2476
+ }, {
2477
+ "content": "\"",
2478
+ "props": {
2479
+ "style": {
2480
+ "color": "#ECEFF4"
2481
+ }
2482
+ }
2483
+ }, {
2484
+ "content": "include",
2485
+ "props": {
2486
+ "style": {
2487
+ "color": "#8FBCBB"
2488
+ }
2489
+ }
2490
+ }, {
2491
+ "content": "\"",
2492
+ "props": {
2493
+ "style": {
2494
+ "color": "#ECEFF4"
2495
+ }
2496
+ }
2497
+ }, {
2498
+ "content": ":",
2499
+ "props": {
2500
+ "style": {
2501
+ "color": "#ECEFF4"
2502
+ }
2503
+ }
2504
+ }, {
2505
+ "content": " ",
2506
+ "props": {
2507
+ "style": {
2508
+ "color": "#D8DEE9FF"
2509
+ }
2510
+ }
2511
+ }, {
2512
+ "content": "[",
2513
+ "props": {
2514
+ "style": {
2515
+ "color": "#ECEFF4"
2516
+ }
2517
+ }
2518
+ }, {
2519
+ "content": "\"",
2520
+ "props": {
2521
+ "style": {
2522
+ "color": "#ECEFF4"
2523
+ }
2524
+ }
2525
+ }, {
2526
+ "content": "./",
2527
+ "props": {
2528
+ "style": {
2529
+ "color": "#A3BE8C"
2530
+ }
2531
+ }
2532
+ }, {
2533
+ "content": "\"",
2534
+ "props": {
2535
+ "style": {
2536
+ "color": "#ECEFF4"
2537
+ }
2538
+ }
2539
+ }, {
2540
+ "content": "],",
2541
+ "props": {
2542
+ "style": {
2543
+ "color": "#ECEFF4"
2544
+ }
2545
+ }
2546
+ }]
2547
+ }, {
2548
+ "tokens": [{
2549
+ "content": " ",
2550
+ "props": {
2551
+ "style": {
2552
+ "color": "#D8DEE9FF"
2553
+ }
2554
+ }
2555
+ }, {
2556
+ "content": "\"",
2557
+ "props": {
2558
+ "style": {
2559
+ "color": "#ECEFF4"
2560
+ }
2561
+ }
2562
+ }, {
2563
+ "content": "compilerOptions",
2564
+ "props": {
2565
+ "style": {
2566
+ "color": "#8FBCBB"
2567
+ }
2568
+ }
2569
+ }, {
2570
+ "content": "\"",
2571
+ "props": {
2572
+ "style": {
2573
+ "color": "#ECEFF4"
2574
+ }
2575
+ }
2576
+ }, {
2577
+ "content": ":",
2578
+ "props": {
2579
+ "style": {
2580
+ "color": "#ECEFF4"
2581
+ }
2582
+ }
2583
+ }, {
2584
+ "content": " ",
2585
+ "props": {
2586
+ "style": {
2587
+ "color": "#D8DEE9FF"
2588
+ }
2589
+ }
2590
+ }, {
2591
+ "content": "{",
2592
+ "props": {
2593
+ "style": {
2594
+ "color": "#ECEFF4"
2595
+ }
2596
+ }
2597
+ }]
2598
+ }, {
2599
+ "tokens": [{
2600
+ "content": " ",
2601
+ "props": {
2602
+ "style": {
2603
+ "color": "#D8DEE9FF"
2604
+ }
2605
+ }
2606
+ }, {
2607
+ "content": "\"",
2608
+ "props": {
2609
+ "style": {
2610
+ "color": "#ECEFF4"
2611
+ }
2612
+ }
2613
+ }, {
2614
+ "content": "jsx",
2615
+ "props": {
2616
+ "style": {
2617
+ "color": "#8FBCBB"
2618
+ }
2619
+ }
2620
+ }, {
2621
+ "content": "\"",
2622
+ "props": {
2623
+ "style": {
2624
+ "color": "#ECEFF4"
2625
+ }
2626
+ }
2627
+ }, {
2628
+ "content": ":",
2629
+ "props": {
2630
+ "style": {
2631
+ "color": "#ECEFF4"
2632
+ }
2633
+ }
2634
+ }, {
2635
+ "content": " ",
2636
+ "props": {
2637
+ "style": {
2638
+ "color": "#D8DEE9FF"
2639
+ }
2640
+ }
2641
+ }, {
2642
+ "content": "\"",
2643
+ "props": {
2644
+ "style": {
2645
+ "color": "#ECEFF4"
2646
+ }
2647
+ }
2648
+ }, {
2649
+ "content": "preserve",
2650
+ "props": {
2651
+ "style": {
2652
+ "color": "#A3BE8C"
2653
+ }
2654
+ }
2655
+ }, {
2656
+ "content": "\"",
2657
+ "props": {
2658
+ "style": {
2659
+ "color": "#ECEFF4"
2660
+ }
2661
+ }
2662
+ }, {
2663
+ "content": ",",
2664
+ "props": {
2665
+ "style": {
2666
+ "color": "#ECEFF4"
2667
+ }
2668
+ }
2669
+ }]
2670
+ }, {
2671
+ "tokens": [{
2672
+ "content": " ",
2673
+ "props": {
2674
+ "style": {
2675
+ "color": "#D8DEE9FF"
2676
+ }
2677
+ }
2678
+ }, {
2679
+ "content": "\"",
2680
+ "props": {
2681
+ "style": {
2682
+ "color": "#ECEFF4"
2683
+ }
2684
+ }
2685
+ }, {
2686
+ "content": "baseUrl",
2687
+ "props": {
2688
+ "style": {
2689
+ "color": "#8FBCBB"
2690
+ }
2691
+ }
2692
+ }, {
2693
+ "content": "\"",
2694
+ "props": {
2695
+ "style": {
2696
+ "color": "#ECEFF4"
2697
+ }
2698
+ }
2699
+ }, {
2700
+ "content": ":",
2701
+ "props": {
2702
+ "style": {
2703
+ "color": "#ECEFF4"
2704
+ }
2705
+ }
2706
+ }, {
2707
+ "content": " ",
2708
+ "props": {
2709
+ "style": {
2710
+ "color": "#D8DEE9FF"
2711
+ }
2712
+ }
2713
+ }, {
2714
+ "content": "\"",
2715
+ "props": {
2716
+ "style": {
2717
+ "color": "#ECEFF4"
2718
+ }
2719
+ }
2720
+ }, {
2721
+ "content": ".",
2722
+ "props": {
2723
+ "style": {
2724
+ "color": "#A3BE8C"
2725
+ }
2726
+ }
2727
+ }, {
2728
+ "content": "\"",
2729
+ "props": {
2730
+ "style": {
2731
+ "color": "#ECEFF4"
2732
+ }
2733
+ }
2734
+ }, {
2735
+ "content": ",",
2736
+ "props": {
2737
+ "style": {
2738
+ "color": "#ECEFF4"
2739
+ }
2740
+ }
2741
+ }]
2742
+ }, {
2743
+ "tokens": [{
2744
+ "content": " ",
2745
+ "props": {
2746
+ "style": {
2747
+ "color": "#D8DEE9FF"
2748
+ }
2749
+ }
2750
+ }, {
2751
+ "content": "\"",
2752
+ "props": {
2753
+ "style": {
2754
+ "color": "#ECEFF4"
2755
+ }
2756
+ }
2757
+ }, {
2758
+ "content": "paths",
2759
+ "props": {
2760
+ "style": {
2761
+ "color": "#8FBCBB"
2762
+ }
2763
+ }
2764
+ }, {
2765
+ "content": "\"",
2766
+ "props": {
2767
+ "style": {
2768
+ "color": "#ECEFF4"
2769
+ }
2770
+ }
2771
+ }, {
2772
+ "content": ":",
2773
+ "props": {
2774
+ "style": {
2775
+ "color": "#ECEFF4"
2776
+ }
2777
+ }
2778
+ }, {
2779
+ "content": " ",
2780
+ "props": {
2781
+ "style": {
2782
+ "color": "#D8DEE9FF"
2783
+ }
2784
+ }
2785
+ }, {
2786
+ "content": "{",
2787
+ "props": {
2788
+ "style": {
2789
+ "color": "#ECEFF4"
2790
+ }
2791
+ }
2792
+ }]
2793
+ }, {
2794
+ "tokens": [{
2795
+ "content": " ",
2796
+ "props": {
2797
+ "style": {
2798
+ "color": "#D8DEE9FF"
2799
+ }
2800
+ }
2801
+ }, {
2802
+ "content": "\"",
2803
+ "props": {
2804
+ "style": {
2805
+ "color": "#ECEFF4"
2806
+ }
2807
+ }
2808
+ }, {
2809
+ "content": "foo",
2810
+ "props": {
2811
+ "style": {
2812
+ "color": "#8FBCBB"
2813
+ }
2814
+ }
2815
+ }, {
2816
+ "content": "\"",
2817
+ "props": {
2818
+ "style": {
2819
+ "color": "#ECEFF4"
2820
+ }
2821
+ }
2822
+ }, {
2823
+ "content": ":",
2824
+ "props": {
2825
+ "style": {
2826
+ "color": "#ECEFF4"
2827
+ }
2828
+ }
2829
+ }, {
2830
+ "content": " ",
2831
+ "props": {
2832
+ "style": {
2833
+ "color": "#D8DEE9FF"
2834
+ }
2835
+ }
2836
+ }, {
2837
+ "content": "[",
2838
+ "props": {
2839
+ "style": {
2840
+ "color": "#ECEFF4"
2841
+ }
2842
+ }
2843
+ }, {
2844
+ "content": "\"",
2845
+ "props": {
2846
+ "style": {
2847
+ "color": "#ECEFF4"
2848
+ }
2849
+ }
2850
+ }, {
2851
+ "content": "../",
2852
+ "props": {
2853
+ "style": {
2854
+ "color": "#A3BE8C"
2855
+ }
2856
+ }
2857
+ }, {
2858
+ "content": "\"",
2859
+ "props": {
2860
+ "style": {
2861
+ "color": "#ECEFF4"
2862
+ }
2863
+ }
2864
+ }, {
2865
+ "content": "]",
2866
+ "props": {
2867
+ "style": {
2868
+ "color": "#ECEFF4"
2869
+ }
2870
+ }
2871
+ }]
2872
+ }, {
2873
+ "tokens": [{
2874
+ "content": " ",
2875
+ "props": {
2876
+ "style": {
2877
+ "color": "#D8DEE9FF"
2878
+ }
2879
+ }
2880
+ }, {
2881
+ "content": "}",
2882
+ "props": {
2883
+ "style": {
2884
+ "color": "#ECEFF4"
2885
+ }
2886
+ }
2887
+ }]
2888
+ }, {
2889
+ "tokens": [{
2890
+ "content": " ",
2891
+ "props": {
2892
+ "style": {
2893
+ "color": "#D8DEE9FF"
2894
+ }
2895
+ }
2896
+ }, {
2897
+ "content": "}",
2898
+ "props": {
2899
+ "style": {
2900
+ "color": "#ECEFF4"
2901
+ }
2902
+ }
2903
+ }]
2904
+ }, {
2905
+ "tokens": [{
2906
+ "content": "}",
2907
+ "props": {
2908
+ "style": {
2909
+ "color": "#ECEFF4"
2910
+ }
2911
+ }
2912
+ }]
2913
+ }],
2914
+ "lang": "json"
2915
+ },
2916
+ "annotations": []
2917
+ }],
2918
+ "southPanel": undefined
2919
+ }, {
2920
+ "northPanel": {
2921
+ "tabs": ["package.json", "stories/index.stories.tsx"],
2922
+ "active": "stories/index.stories.tsx",
2923
+ "heightRatio": 1
2924
+ },
2925
+ "files": [{
2926
+ "name": "package.json",
2927
+ "focus": "",
2928
+ "code": {
2929
+ "lines": [{
2930
+ "tokens": [{
2931
+ "content": "{",
2932
+ "props": {
2933
+ "style": {
2934
+ "color": "#ECEFF4"
2935
+ }
2936
+ }
2937
+ }]
2938
+ }, {
2939
+ "tokens": [{
2940
+ "content": " ",
2941
+ "props": {
2942
+ "style": {
2943
+ "color": "#D8DEE9FF"
2944
+ }
2945
+ }
2946
+ }, {
2947
+ "content": "\"",
2948
+ "props": {
2949
+ "style": {
2950
+ "color": "#ECEFF4"
2951
+ }
2952
+ }
2953
+ }, {
2954
+ "content": "name",
2955
+ "props": {
2956
+ "style": {
2957
+ "color": "#8FBCBB"
2958
+ }
2959
+ }
2960
+ }, {
2961
+ "content": "\"",
2962
+ "props": {
2963
+ "style": {
2964
+ "color": "#ECEFF4"
2965
+ }
2966
+ }
2967
+ }, {
2968
+ "content": ":",
2969
+ "props": {
2970
+ "style": {
2971
+ "color": "#ECEFF4"
2972
+ }
2973
+ }
2974
+ }, {
2975
+ "content": " ",
2976
+ "props": {
2977
+ "style": {
2978
+ "color": "#D8DEE9FF"
2979
+ }
2980
+ }
2981
+ }, {
2982
+ "content": "\"",
2983
+ "props": {
2984
+ "style": {
2985
+ "color": "#ECEFF4"
2986
+ }
2987
+ }
2988
+ }, {
2989
+ "content": "foo",
2990
+ "props": {
2991
+ "style": {
2992
+ "color": "#A3BE8C"
2993
+ }
2994
+ }
2995
+ }, {
2996
+ "content": "\"",
2997
+ "props": {
2998
+ "style": {
2999
+ "color": "#ECEFF4"
3000
+ }
3001
+ }
3002
+ }, {
3003
+ "content": ",",
3004
+ "props": {
3005
+ "style": {
3006
+ "color": "#ECEFF4"
3007
+ }
3008
+ }
3009
+ }]
3010
+ }, {
3011
+ "tokens": [{
3012
+ "content": " ",
3013
+ "props": {
3014
+ "style": {
3015
+ "color": "#D8DEE9FF"
3016
+ }
3017
+ }
3018
+ }, {
3019
+ "content": "\"",
3020
+ "props": {
3021
+ "style": {
3022
+ "color": "#ECEFF4"
3023
+ }
3024
+ }
3025
+ }, {
3026
+ "content": "main",
3027
+ "props": {
3028
+ "style": {
3029
+ "color": "#8FBCBB"
3030
+ }
3031
+ }
3032
+ }, {
3033
+ "content": "\"",
3034
+ "props": {
3035
+ "style": {
3036
+ "color": "#ECEFF4"
3037
+ }
3038
+ }
3039
+ }, {
3040
+ "content": ":",
3041
+ "props": {
3042
+ "style": {
3043
+ "color": "#ECEFF4"
3044
+ }
3045
+ }
3046
+ }, {
3047
+ "content": " ",
3048
+ "props": {
3049
+ "style": {
3050
+ "color": "#D8DEE9FF"
3051
+ }
3052
+ }
3053
+ }, {
3054
+ "content": "\"",
3055
+ "props": {
3056
+ "style": {
3057
+ "color": "#ECEFF4"
3058
+ }
3059
+ }
3060
+ }, {
3061
+ "content": "./dist/index.js",
3062
+ "props": {
3063
+ "style": {
3064
+ "color": "#A3BE8C"
3065
+ }
3066
+ }
3067
+ }, {
3068
+ "content": "\"",
3069
+ "props": {
3070
+ "style": {
3071
+ "color": "#ECEFF4"
3072
+ }
3073
+ }
3074
+ }, {
3075
+ "content": ",",
3076
+ "props": {
3077
+ "style": {
3078
+ "color": "#ECEFF4"
3079
+ }
3080
+ }
3081
+ }]
3082
+ }, {
3083
+ "tokens": [{
3084
+ "content": " ",
3085
+ "props": {
3086
+ "style": {
3087
+ "color": "#D8DEE9FF"
3088
+ }
3089
+ }
3090
+ }, {
3091
+ "content": "\"",
3092
+ "props": {
3093
+ "style": {
3094
+ "color": "#ECEFF4"
3095
+ }
3096
+ }
3097
+ }, {
3098
+ "content": "types",
3099
+ "props": {
3100
+ "style": {
3101
+ "color": "#8FBCBB"
3102
+ }
3103
+ }
3104
+ }, {
3105
+ "content": "\"",
3106
+ "props": {
3107
+ "style": {
3108
+ "color": "#ECEFF4"
3109
+ }
3110
+ }
3111
+ }, {
3112
+ "content": ":",
3113
+ "props": {
3114
+ "style": {
3115
+ "color": "#ECEFF4"
3116
+ }
3117
+ }
3118
+ }, {
3119
+ "content": " ",
3120
+ "props": {
3121
+ "style": {
3122
+ "color": "#D8DEE9FF"
3123
+ }
3124
+ }
3125
+ }, {
3126
+ "content": "\"",
3127
+ "props": {
3128
+ "style": {
3129
+ "color": "#ECEFF4"
3130
+ }
3131
+ }
3132
+ }, {
3133
+ "content": "./dist/types/index.d.ts",
3134
+ "props": {
3135
+ "style": {
3136
+ "color": "#A3BE8C"
3137
+ }
3138
+ }
3139
+ }, {
3140
+ "content": "\"",
3141
+ "props": {
3142
+ "style": {
3143
+ "color": "#ECEFF4"
3144
+ }
3145
+ }
3146
+ }]
3147
+ }, {
3148
+ "tokens": [{
3149
+ "content": "}",
3150
+ "props": {
3151
+ "style": {
3152
+ "color": "#ECEFF4"
3153
+ }
3154
+ }
3155
+ }]
3156
+ }],
3157
+ "lang": "json"
3158
+ },
3159
+ "annotations": []
3160
+ }, {
3161
+ "name": "stories/index.stories.tsx",
3162
+ "focus": "1:1",
3163
+ "code": {
3164
+ "lines": [{
3165
+ "tokens": [{
3166
+ "content": "import",
3167
+ "props": {
3168
+ "style": {
3169
+ "color": "#81A1C1"
3170
+ }
3171
+ }
3172
+ }, {
3173
+ "content": " ",
3174
+ "props": {
3175
+ "style": {
3176
+ "color": "#D8DEE9FF"
3177
+ }
3178
+ }
3179
+ }, {
3180
+ "content": "{",
3181
+ "props": {
3182
+ "style": {
3183
+ "color": "#ECEFF4"
3184
+ }
3185
+ }
3186
+ }, {
3187
+ "content": " ",
3188
+ "props": {
3189
+ "style": {
3190
+ "color": "#D8DEE9FF"
3191
+ }
3192
+ }
3193
+ }, {
3194
+ "content": "content",
3195
+ "props": {
3196
+ "style": {
3197
+ "color": "#D8DEE9"
3198
+ }
3199
+ }
3200
+ }, {
3201
+ "content": " ",
3202
+ "props": {
3203
+ "style": {
3204
+ "color": "#D8DEE9FF"
3205
+ }
3206
+ }
3207
+ }, {
3208
+ "content": "}",
3209
+ "props": {
3210
+ "style": {
3211
+ "color": "#ECEFF4"
3212
+ }
3213
+ }
3214
+ }, {
3215
+ "content": " ",
3216
+ "props": {
3217
+ "style": {
3218
+ "color": "#D8DEE9FF"
3219
+ }
3220
+ }
3221
+ }, {
3222
+ "content": "from",
3223
+ "props": {
3224
+ "style": {
3225
+ "color": "#81A1C1"
3226
+ }
3227
+ }
3228
+ }, {
3229
+ "content": " ",
3230
+ "props": {
3231
+ "style": {
3232
+ "color": "#D8DEE9FF"
3233
+ }
3234
+ }
3235
+ }, {
3236
+ "content": "'",
3237
+ "props": {
3238
+ "style": {
3239
+ "color": "#ECEFF4"
3240
+ }
3241
+ }
3242
+ }, {
3243
+ "content": "foo",
3244
+ "props": {
3245
+ "style": {
3246
+ "color": "#A3BE8C"
3247
+ }
3248
+ }
3249
+ }, {
3250
+ "content": "'",
3251
+ "props": {
3252
+ "style": {
3253
+ "color": "#ECEFF4"
3254
+ }
3255
+ }
3256
+ }, {
3257
+ "content": ";",
3258
+ "props": {
3259
+ "style": {
3260
+ "color": "#81A1C1"
3261
+ }
3262
+ }
3263
+ }]
3264
+ }, {
3265
+ "tokens": []
3266
+ }, {
3267
+ "tokens": [{
3268
+ "content": "const",
3269
+ "props": {
3270
+ "style": {
3271
+ "color": "#81A1C1"
3272
+ }
3273
+ }
3274
+ }, {
3275
+ "content": " ",
3276
+ "props": {
3277
+ "style": {
3278
+ "color": "#D8DEE9FF"
3279
+ }
3280
+ }
3281
+ }, {
3282
+ "content": "Component",
3283
+ "props": {
3284
+ "style": {
3285
+ "color": "#88C0D0"
3286
+ }
3287
+ }
3288
+ }, {
3289
+ "content": " ",
3290
+ "props": {
3291
+ "style": {
3292
+ "color": "#D8DEE9FF"
3293
+ }
3294
+ }
3295
+ }, {
3296
+ "content": "=",
3297
+ "props": {
3298
+ "style": {
3299
+ "color": "#81A1C1"
3300
+ }
3301
+ }
3302
+ }, {
3303
+ "content": " ",
3304
+ "props": {
3305
+ "style": {
3306
+ "color": "#D8DEE9FF"
3307
+ }
3308
+ }
3309
+ }, {
3310
+ "content": "()",
3311
+ "props": {
3312
+ "style": {
3313
+ "color": "#ECEFF4"
3314
+ }
3315
+ }
3316
+ }, {
3317
+ "content": " ",
3318
+ "props": {
3319
+ "style": {
3320
+ "color": "#D8DEE9FF"
3321
+ }
3322
+ }
3323
+ }, {
3324
+ "content": "=>",
3325
+ "props": {
3326
+ "style": {
3327
+ "color": "#81A1C1"
3328
+ }
3329
+ }
3330
+ }, {
3331
+ "content": " ",
3332
+ "props": {
3333
+ "style": {
3334
+ "color": "#D8DEE9FF"
3335
+ }
3336
+ }
3337
+ }, {
3338
+ "content": "<div>",
3339
+ "props": {
3340
+ "style": {
3341
+ "color": "#81A1C1"
3342
+ }
3343
+ }
3344
+ }, {
3345
+ "content": "this is a Story Component ",
3346
+ "props": {
3347
+ "style": {
3348
+ "color": "#D8DEE9FF"
3349
+ }
3350
+ }
3351
+ }, {
3352
+ "content": "{",
3353
+ "props": {
3354
+ "style": {
3355
+ "color": "#81A1C1"
3356
+ }
3357
+ }
3358
+ }, {
3359
+ "content": "content",
3360
+ "props": {
3361
+ "style": {
3362
+ "color": "#D8DEE9"
3363
+ }
3364
+ }
3365
+ }, {
3366
+ "content": "}</div>;",
3367
+ "props": {
3368
+ "style": {
3369
+ "color": "#81A1C1"
3370
+ }
3371
+ }
3372
+ }]
3373
+ }, {
3374
+ "tokens": []
3375
+ }, {
3376
+ "tokens": [{
3377
+ "content": "export",
3378
+ "props": {
3379
+ "style": {
3380
+ "color": "#81A1C1"
3381
+ }
3382
+ }
3383
+ }, {
3384
+ "content": " ",
3385
+ "props": {
3386
+ "style": {
3387
+ "color": "#D8DEE9FF"
3388
+ }
3389
+ }
3390
+ }, {
3391
+ "content": "const",
3392
+ "props": {
3393
+ "style": {
3394
+ "color": "#81A1C1"
3395
+ }
3396
+ }
3397
+ }, {
3398
+ "content": " ",
3399
+ "props": {
3400
+ "style": {
3401
+ "color": "#D8DEE9FF"
3402
+ }
3403
+ }
3404
+ }, {
3405
+ "content": "YourStory",
3406
+ "props": {
3407
+ "style": {
3408
+ "color": "#88C0D0"
3409
+ }
3410
+ }
3411
+ }, {
3412
+ "content": " ",
3413
+ "props": {
3414
+ "style": {
3415
+ "color": "#D8DEE9FF"
3416
+ }
3417
+ }
3418
+ }, {
3419
+ "content": "=",
3420
+ "props": {
3421
+ "style": {
3422
+ "color": "#81A1C1"
3423
+ }
3424
+ }
3425
+ }, {
3426
+ "content": " ",
3427
+ "props": {
3428
+ "style": {
3429
+ "color": "#D8DEE9FF"
3430
+ }
3431
+ }
3432
+ }, {
3433
+ "content": "()",
3434
+ "props": {
3435
+ "style": {
3436
+ "color": "#ECEFF4"
3437
+ }
3438
+ }
3439
+ }, {
3440
+ "content": " ",
3441
+ "props": {
3442
+ "style": {
3443
+ "color": "#D8DEE9FF"
3444
+ }
3445
+ }
3446
+ }, {
3447
+ "content": "=>",
3448
+ "props": {
3449
+ "style": {
3450
+ "color": "#81A1C1"
3451
+ }
3452
+ }
3453
+ }, {
3454
+ "content": " ",
3455
+ "props": {
3456
+ "style": {
3457
+ "color": "#D8DEE9FF"
3458
+ }
3459
+ }
3460
+ }, {
3461
+ "content": "<",
3462
+ "props": {
3463
+ "style": {
3464
+ "color": "#81A1C1"
3465
+ }
3466
+ }
3467
+ }, {
3468
+ "content": "Component",
3469
+ "props": {
3470
+ "style": {
3471
+ "color": "#8FBCBB"
3472
+ }
3473
+ }
3474
+ }, {
3475
+ "content": " ",
3476
+ "props": {
3477
+ "style": {
3478
+ "color": "#D8DEE9FF"
3479
+ }
3480
+ }
3481
+ }, {
3482
+ "content": "/>;",
3483
+ "props": {
3484
+ "style": {
3485
+ "color": "#81A1C1"
3486
+ }
3487
+ }
3488
+ }]
3489
+ }, {
3490
+ "tokens": []
3491
+ }, {
3492
+ "tokens": [{
3493
+ "content": "export",
3494
+ "props": {
3495
+ "style": {
3496
+ "color": "#81A1C1"
3497
+ }
3498
+ }
3499
+ }, {
3500
+ "content": " ",
3501
+ "props": {
3502
+ "style": {
3503
+ "color": "#D8DEE9FF"
3504
+ }
3505
+ }
3506
+ }, {
3507
+ "content": "default",
3508
+ "props": {
3509
+ "style": {
3510
+ "color": "#81A1C1"
3511
+ }
3512
+ }
3513
+ }, {
3514
+ "content": " ",
3515
+ "props": {
3516
+ "style": {
3517
+ "color": "#D8DEE9FF"
3518
+ }
3519
+ }
3520
+ }, {
3521
+ "content": "{",
3522
+ "props": {
3523
+ "style": {
3524
+ "color": "#ECEFF4"
3525
+ }
3526
+ }
3527
+ }]
3528
+ }, {
3529
+ "tokens": [{
3530
+ "content": " ",
3531
+ "props": {
3532
+ "style": {
3533
+ "color": "#D8DEE9FF"
3534
+ }
3535
+ }
3536
+ }, {
3537
+ "content": "title",
3538
+ "props": {
3539
+ "style": {
3540
+ "color": "#D8DEE9"
3541
+ }
3542
+ }
3543
+ }, {
3544
+ "content": ":",
3545
+ "props": {
3546
+ "style": {
3547
+ "color": "#ECEFF4"
3548
+ }
3549
+ }
3550
+ }, {
3551
+ "content": " ",
3552
+ "props": {
3553
+ "style": {
3554
+ "color": "#D8DEE9FF"
3555
+ }
3556
+ }
3557
+ }, {
3558
+ "content": "'",
3559
+ "props": {
3560
+ "style": {
3561
+ "color": "#ECEFF4"
3562
+ }
3563
+ }
3564
+ }, {
3565
+ "content": "Your Stories",
3566
+ "props": {
3567
+ "style": {
3568
+ "color": "#A3BE8C"
3569
+ }
3570
+ }
3571
+ }, {
3572
+ "content": "'",
3573
+ "props": {
3574
+ "style": {
3575
+ "color": "#ECEFF4"
3576
+ }
3577
+ }
3578
+ }, {
3579
+ "content": ",",
3580
+ "props": {
3581
+ "style": {
3582
+ "color": "#ECEFF4"
3583
+ }
3584
+ }
3585
+ }]
3586
+ }, {
3587
+ "tokens": [{
3588
+ "content": "}",
3589
+ "props": {
3590
+ "style": {
3591
+ "color": "#ECEFF4"
3592
+ }
3593
+ }
3594
+ }, {
3595
+ "content": ";",
3596
+ "props": {
3597
+ "style": {
3598
+ "color": "#81A1C1"
3599
+ }
3600
+ }
3601
+ }]
3602
+ }],
3603
+ "lang": "tsx"
3604
+ },
3605
+ "annotations": []
3606
+ }],
3607
+ "southPanel": undefined
3608
+ }],
3609
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3610
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
3611
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3612
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3613
+ children: ["Make sure the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3614
+ children: "main"
3615
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3616
+ children: "types"
3617
+ }), " of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3618
+ children: "package.json"
3619
+ }), "\nvalues are real paths."]
3620
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3621
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3622
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3623
+ children: ["The source code of the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3624
+ children: "foo"
3625
+ }), " project."]
3626
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3627
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3628
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3629
+ children: ["Make sure that the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3630
+ children: "paths"
3631
+ }), " configuration pointing to the project root is set in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3632
+ children: "stories/tsconfig.json"
3633
+ }), ".\nThe ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3634
+ children: "key"
3635
+ }), " of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3636
+ children: "paths"
3637
+ }), " is the same as the project name."]
3638
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3639
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3640
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3641
+ children: "Finally, it is referenced directly in the Story code by the project name."
3642
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3643
+ })]
3644
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3645
+ children: "If, during development, you encounter a situation where the type definition is not available in real time, at that point."
3646
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3647
+ children: ["For ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3648
+ children: "pnpm"
3649
+ }), " projects, ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3650
+ children: "package.json"
3651
+ }), " can be modified as follows."]
3652
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3653
+ codeConfig: chCodeConfig,
3654
+ northPanel: {
3655
+ "tabs": [""],
3656
+ "active": "",
3657
+ "heightRatio": 1
3658
+ },
3659
+ files: [{
3660
+ "name": "",
3661
+ "focus": "4:7",
3662
+ "code": {
3663
+ "lines": [{
3664
+ "tokens": [{
3665
+ "content": "{",
3666
+ "props": {
3667
+ "style": {
3668
+ "color": "#ECEFF4"
3669
+ }
3670
+ }
3671
+ }]
3672
+ }, {
3673
+ "tokens": [{
3674
+ "content": " ",
3675
+ "props": {
3676
+ "style": {
3677
+ "color": "#D8DEE9FF"
3678
+ }
3679
+ }
3680
+ }, {
3681
+ "content": "\"",
3682
+ "props": {
3683
+ "style": {
3684
+ "color": "#ECEFF4"
3685
+ }
3686
+ }
3687
+ }, {
3688
+ "content": "name",
3689
+ "props": {
3690
+ "style": {
3691
+ "color": "#A3BE8C"
3692
+ }
3693
+ }
3694
+ }, {
3695
+ "content": "\"",
3696
+ "props": {
3697
+ "style": {
3698
+ "color": "#ECEFF4"
3699
+ }
3700
+ }
3701
+ }, {
3702
+ "content": ": ",
3703
+ "props": {
3704
+ "style": {
3705
+ "color": "#D8DEE9FF"
3706
+ }
3707
+ }
3708
+ }, {
3709
+ "content": "\"",
3710
+ "props": {
3711
+ "style": {
3712
+ "color": "#ECEFF4"
3713
+ }
3714
+ }
3715
+ }, {
3716
+ "content": "foo",
3717
+ "props": {
3718
+ "style": {
3719
+ "color": "#A3BE8C"
3720
+ }
3721
+ }
3722
+ }, {
3723
+ "content": "\"",
3724
+ "props": {
3725
+ "style": {
3726
+ "color": "#ECEFF4"
3727
+ }
3728
+ }
3729
+ }, {
3730
+ "content": ",",
3731
+ "props": {
3732
+ "style": {
3733
+ "color": "#ECEFF4"
3734
+ }
3735
+ }
3736
+ }]
3737
+ }, {
3738
+ "tokens": [{
3739
+ "content": " ",
3740
+ "props": {
3741
+ "style": {
3742
+ "color": "#D8DEE9FF"
3743
+ }
3744
+ }
3745
+ }, {
3746
+ "content": "\"",
3747
+ "props": {
3748
+ "style": {
3749
+ "color": "#ECEFF4"
3750
+ }
3751
+ }
3752
+ }, {
3753
+ "content": "main",
3754
+ "props": {
3755
+ "style": {
3756
+ "color": "#A3BE8C"
3757
+ }
3758
+ }
3759
+ }, {
3760
+ "content": "\"",
3761
+ "props": {
3762
+ "style": {
3763
+ "color": "#ECEFF4"
3764
+ }
3765
+ }
3766
+ }, {
3767
+ "content": ": ",
3768
+ "props": {
3769
+ "style": {
3770
+ "color": "#D8DEE9FF"
3771
+ }
3772
+ }
3773
+ }, {
3774
+ "content": "\"",
3775
+ "props": {
3776
+ "style": {
3777
+ "color": "#ECEFF4"
3778
+ }
3779
+ }
3780
+ }, {
3781
+ "content": "./dist/index.js",
3782
+ "props": {
3783
+ "style": {
3784
+ "color": "#A3BE8C"
3785
+ }
3786
+ }
3787
+ }, {
3788
+ "content": "\"",
3789
+ "props": {
3790
+ "style": {
3791
+ "color": "#ECEFF4"
3792
+ }
3793
+ }
3794
+ }, {
3795
+ "content": ",",
3796
+ "props": {
3797
+ "style": {
3798
+ "color": "#ECEFF4"
3799
+ }
3800
+ }
3801
+ }]
3802
+ }, {
3803
+ "tokens": [{
3804
+ "content": " ",
3805
+ "props": {
3806
+ "style": {
3807
+ "color": "#D8DEE9FF"
3808
+ }
3809
+ }
3810
+ }, {
3811
+ "content": "\"",
3812
+ "props": {
3813
+ "style": {
3814
+ "color": "#ECEFF4"
3815
+ }
3816
+ }
3817
+ }, {
3818
+ "content": "types",
3819
+ "props": {
3820
+ "style": {
3821
+ "color": "#A3BE8C"
3822
+ }
3823
+ }
3824
+ }, {
3825
+ "content": "\"",
3826
+ "props": {
3827
+ "style": {
3828
+ "color": "#ECEFF4"
3829
+ }
3830
+ }
3831
+ }, {
3832
+ "content": ": ",
3833
+ "props": {
3834
+ "style": {
3835
+ "color": "#D8DEE9FF"
3836
+ }
3837
+ }
3838
+ }, {
3839
+ "content": "\"",
3840
+ "props": {
3841
+ "style": {
3842
+ "color": "#ECEFF4"
3843
+ }
3844
+ }
3845
+ }, {
3846
+ "content": "./src/index.ts",
3847
+ "props": {
3848
+ "style": {
3849
+ "color": "#A3BE8C"
3850
+ }
3851
+ }
3852
+ }, {
3853
+ "content": "\"",
3854
+ "props": {
3855
+ "style": {
3856
+ "color": "#ECEFF4"
3857
+ }
3858
+ }
3859
+ }, {
3860
+ "content": ",",
3861
+ "props": {
3862
+ "style": {
3863
+ "color": "#ECEFF4"
3864
+ }
3865
+ }
3866
+ }]
3867
+ }, {
3868
+ "tokens": [{
3869
+ "content": " ",
3870
+ "props": {
3871
+ "style": {
3872
+ "color": "#D8DEE9FF"
3873
+ }
3874
+ }
3875
+ }, {
3876
+ "content": "\"",
3877
+ "props": {
3878
+ "style": {
3879
+ "color": "#ECEFF4"
3880
+ }
3881
+ }
3882
+ }, {
3883
+ "content": "publishConfig",
3884
+ "props": {
3885
+ "style": {
3886
+ "color": "#A3BE8C"
3887
+ }
3888
+ }
3889
+ }, {
3890
+ "content": "\"",
3891
+ "props": {
3892
+ "style": {
3893
+ "color": "#ECEFF4"
3894
+ }
3895
+ }
3896
+ }, {
3897
+ "content": ": ",
3898
+ "props": {
3899
+ "style": {
3900
+ "color": "#D8DEE9FF"
3901
+ }
3902
+ }
3903
+ }, {
3904
+ "content": "{",
3905
+ "props": {
3906
+ "style": {
3907
+ "color": "#ECEFF4"
3908
+ }
3909
+ }
3910
+ }]
3911
+ }, {
3912
+ "tokens": [{
3913
+ "content": " ",
3914
+ "props": {
3915
+ "style": {
3916
+ "color": "#D8DEE9FF"
3917
+ }
3918
+ }
3919
+ }, {
3920
+ "content": "\"",
3921
+ "props": {
3922
+ "style": {
3923
+ "color": "#ECEFF4"
3924
+ }
3925
+ }
3926
+ }, {
3927
+ "content": "types",
3928
+ "props": {
3929
+ "style": {
3930
+ "color": "#A3BE8C"
3931
+ }
3932
+ }
3933
+ }, {
3934
+ "content": "\"",
3935
+ "props": {
3936
+ "style": {
3937
+ "color": "#ECEFF4"
3938
+ }
3939
+ }
3940
+ }, {
3941
+ "content": ":",
3942
+ "props": {
3943
+ "style": {
3944
+ "color": "#ECEFF4"
3945
+ }
3946
+ }
3947
+ }, {
3948
+ "content": " ",
3949
+ "props": {
3950
+ "style": {
3951
+ "color": "#D8DEE9FF"
3952
+ }
3953
+ }
3954
+ }, {
3955
+ "content": "\"",
3956
+ "props": {
3957
+ "style": {
3958
+ "color": "#ECEFF4"
3959
+ }
3960
+ }
3961
+ }, {
3962
+ "content": "./dist/index.d.ts",
3963
+ "props": {
3964
+ "style": {
3965
+ "color": "#A3BE8C"
3966
+ }
3967
+ }
3968
+ }, {
3969
+ "content": "\"",
3970
+ "props": {
3971
+ "style": {
3972
+ "color": "#ECEFF4"
3973
+ }
3974
+ }
3975
+ }, {
3976
+ "content": ",",
3977
+ "props": {
3978
+ "style": {
3979
+ "color": "#ECEFF4"
3980
+ }
3981
+ }
3982
+ }]
3983
+ }, {
3984
+ "tokens": [{
3985
+ "content": " ",
3986
+ "props": {
3987
+ "style": {
3988
+ "color": "#D8DEE9FF"
3989
+ }
3990
+ }
3991
+ }, {
3992
+ "content": "}",
3993
+ "props": {
3994
+ "style": {
3995
+ "color": "#ECEFF4"
3996
+ }
3997
+ }
3998
+ }]
3999
+ }, {
4000
+ "tokens": [{
4001
+ "content": "}",
4002
+ "props": {
4003
+ "style": {
4004
+ "color": "#ECEFF4"
4005
+ }
4006
+ }
4007
+ }]
4008
+ }],
4009
+ "lang": "ts"
4010
+ },
4011
+ "annotations": []
4012
+ }]
4013
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.blockquote, {
4014
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4015
+ children: ["For the use of pnpm's ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4016
+ children: "publishConfig"
4017
+ }), ", you can read the following ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4018
+ href: "https://pnpm.io/package_json#publishconfig-1",
4019
+ target: "_blank",
4020
+ rel: "nofollow",
4021
+ children: "link"
4022
+ }), "."]
4023
+ }), "\n"]
4024
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4025
+ children: ["For npm and Yarn projects, the values of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4026
+ children: "types"
4027
+ }), " of ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4028
+ children: "package.json"
4029
+ }), " can only be changed manually in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
4030
+ children: "development phase"
4031
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
4032
+ children: "release phase"
4033
+ }), "."]
4034
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4035
+ children: "So why is it possible to reference the product directly?"
4036
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ol, {
4037
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
4038
+ children: ["the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4039
+ children: "modern build"
4040
+ }), " command is executed automatically before the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4041
+ children: "modern dev storybook"
4042
+ }), " command, ensuring the existence of the project build product."]
4043
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
4044
+ children: ["The project name is added as an alias inside Storybook to ensure that the path to the project's product can be parsed ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.strong, {
4045
+ children: ["according to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4046
+ children: "package.json"
4047
+ })]
4048
+ }), "."]
4049
+ }), "\n"]
4050
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
4051
+ id: "referencing-component-source-code",
4052
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4053
+ className: "header-anchor",
4054
+ "aria-hidden": "true",
4055
+ href: "#referencing-component-source-code",
4056
+ children: "#"
4057
+ }), "Referencing component source code"]
4058
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4059
+ children: "Referencing component source code can be done by means of relative paths to:"
4060
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
4061
+ codeConfig: chCodeConfig,
4062
+ northPanel: {
4063
+ "tabs": ["./stories/index.tsx"],
4064
+ "active": "./stories/index.tsx",
4065
+ "heightRatio": 1
4066
+ },
4067
+ files: [{
4068
+ "name": "./stories/index.tsx",
4069
+ "focus": "",
4070
+ "code": {
4071
+ "lines": [{
4072
+ "tokens": [{
4073
+ "content": "import",
4074
+ "props": {
4075
+ "style": {
4076
+ "color": "#81A1C1"
4077
+ }
4078
+ }
4079
+ }, {
4080
+ "content": " ",
4081
+ "props": {
4082
+ "style": {
4083
+ "color": "#D8DEE9FF"
4084
+ }
4085
+ }
4086
+ }, {
4087
+ "content": "{",
4088
+ "props": {
4089
+ "style": {
4090
+ "color": "#ECEFF4"
4091
+ }
4092
+ }
4093
+ }, {
4094
+ "content": " ",
4095
+ "props": {
4096
+ "style": {
4097
+ "color": "#D8DEE9FF"
4098
+ }
4099
+ }
4100
+ }, {
4101
+ "content": "content",
4102
+ "props": {
4103
+ "style": {
4104
+ "color": "#D8DEE9"
4105
+ }
4106
+ }
4107
+ }, {
4108
+ "content": " ",
4109
+ "props": {
4110
+ "style": {
4111
+ "color": "#D8DEE9FF"
4112
+ }
4113
+ }
4114
+ }, {
4115
+ "content": "}",
4116
+ "props": {
4117
+ "style": {
4118
+ "color": "#ECEFF4"
4119
+ }
4120
+ }
4121
+ }, {
4122
+ "content": " ",
4123
+ "props": {
4124
+ "style": {
4125
+ "color": "#D8DEE9FF"
4126
+ }
4127
+ }
4128
+ }, {
4129
+ "content": "from",
4130
+ "props": {
4131
+ "style": {
4132
+ "color": "#81A1C1"
4133
+ }
4134
+ }
4135
+ }, {
4136
+ "content": " ",
4137
+ "props": {
4138
+ "style": {
4139
+ "color": "#D8DEE9FF"
4140
+ }
4141
+ }
4142
+ }, {
4143
+ "content": "'",
4144
+ "props": {
4145
+ "style": {
4146
+ "color": "#ECEFF4"
4147
+ }
4148
+ }
4149
+ }, {
4150
+ "content": "../src",
4151
+ "props": {
4152
+ "style": {
4153
+ "color": "#A3BE8C"
4154
+ }
4155
+ }
4156
+ }, {
4157
+ "content": "'",
4158
+ "props": {
4159
+ "style": {
4160
+ "color": "#ECEFF4"
4161
+ }
4162
+ }
4163
+ }, {
4164
+ "content": ";",
4165
+ "props": {
4166
+ "style": {
4167
+ "color": "#81A1C1"
4168
+ }
4169
+ }
4170
+ }]
4171
+ }, {
4172
+ "tokens": []
4173
+ }, {
4174
+ "tokens": [{
4175
+ "content": "const",
4176
+ "props": {
4177
+ "style": {
4178
+ "color": "#81A1C1"
4179
+ }
4180
+ }
4181
+ }, {
4182
+ "content": " ",
4183
+ "props": {
4184
+ "style": {
4185
+ "color": "#D8DEE9FF"
4186
+ }
4187
+ }
4188
+ }, {
4189
+ "content": "Component",
4190
+ "props": {
4191
+ "style": {
4192
+ "color": "#88C0D0"
4193
+ }
4194
+ }
4195
+ }, {
4196
+ "content": " ",
4197
+ "props": {
4198
+ "style": {
4199
+ "color": "#D8DEE9FF"
4200
+ }
4201
+ }
4202
+ }, {
4203
+ "content": "=",
4204
+ "props": {
4205
+ "style": {
4206
+ "color": "#81A1C1"
4207
+ }
4208
+ }
4209
+ }, {
4210
+ "content": " ",
4211
+ "props": {
4212
+ "style": {
4213
+ "color": "#D8DEE9FF"
4214
+ }
4215
+ }
4216
+ }, {
4217
+ "content": "()",
4218
+ "props": {
4219
+ "style": {
4220
+ "color": "#ECEFF4"
4221
+ }
4222
+ }
4223
+ }, {
4224
+ "content": " ",
4225
+ "props": {
4226
+ "style": {
4227
+ "color": "#D8DEE9FF"
4228
+ }
4229
+ }
4230
+ }, {
4231
+ "content": "=>",
4232
+ "props": {
4233
+ "style": {
4234
+ "color": "#81A1C1"
4235
+ }
4236
+ }
4237
+ }, {
4238
+ "content": " <",
4239
+ "props": {
4240
+ "style": {
4241
+ "color": "#D8DEE9FF"
4242
+ }
4243
+ }
4244
+ }, {
4245
+ "content": "div",
4246
+ "props": {
4247
+ "style": {
4248
+ "color": "#8FBCBB"
4249
+ }
4250
+ }
4251
+ }, {
4252
+ "content": ">",
4253
+ "props": {
4254
+ "style": {
4255
+ "color": "#D8DEE9FF"
4256
+ }
4257
+ }
4258
+ }, {
4259
+ "content": "this",
4260
+ "props": {
4261
+ "style": {
4262
+ "color": "#81A1C1"
4263
+ }
4264
+ }
4265
+ }, {
4266
+ "content": " ",
4267
+ "props": {
4268
+ "style": {
4269
+ "color": "#D8DEE9FF"
4270
+ }
4271
+ }
4272
+ }, {
4273
+ "content": "is",
4274
+ "props": {
4275
+ "style": {
4276
+ "color": "#D8DEE9"
4277
+ }
4278
+ }
4279
+ }, {
4280
+ "content": " ",
4281
+ "props": {
4282
+ "style": {
4283
+ "color": "#D8DEE9FF"
4284
+ }
4285
+ }
4286
+ }, {
4287
+ "content": "a",
4288
+ "props": {
4289
+ "style": {
4290
+ "color": "#D8DEE9"
4291
+ }
4292
+ }
4293
+ }, {
4294
+ "content": " ",
4295
+ "props": {
4296
+ "style": {
4297
+ "color": "#D8DEE9FF"
4298
+ }
4299
+ }
4300
+ }, {
4301
+ "content": "Story",
4302
+ "props": {
4303
+ "style": {
4304
+ "color": "#D8DEE9"
4305
+ }
4306
+ }
4307
+ }, {
4308
+ "content": " ",
4309
+ "props": {
4310
+ "style": {
4311
+ "color": "#D8DEE9FF"
4312
+ }
4313
+ }
4314
+ }, {
4315
+ "content": "Component",
4316
+ "props": {
4317
+ "style": {
4318
+ "color": "#D8DEE9"
4319
+ }
4320
+ }
4321
+ }, {
4322
+ "content": " ",
4323
+ "props": {
4324
+ "style": {
4325
+ "color": "#D8DEE9FF"
4326
+ }
4327
+ }
4328
+ }, {
4329
+ "content": "{",
4330
+ "props": {
4331
+ "style": {
4332
+ "color": "#ECEFF4"
4333
+ }
4334
+ }
4335
+ }, {
4336
+ "content": "content",
4337
+ "props": {
4338
+ "style": {
4339
+ "color": "#D8DEE9"
4340
+ }
4341
+ }
4342
+ }, {
4343
+ "content": "}",
4344
+ "props": {
4345
+ "style": {
4346
+ "color": "#ECEFF4"
4347
+ }
4348
+ }
4349
+ }, {
4350
+ "content": "</",
4351
+ "props": {
4352
+ "style": {
4353
+ "color": "#81A1C1"
4354
+ }
4355
+ }
4356
+ }, {
4357
+ "content": "div",
4358
+ "props": {
4359
+ "style": {
4360
+ "color": "#D8DEE9"
4361
+ }
4362
+ }
4363
+ }, {
4364
+ "content": ">;",
4365
+ "props": {
4366
+ "style": {
4367
+ "color": "#81A1C1"
4368
+ }
4369
+ }
4370
+ }]
4371
+ }, {
4372
+ "tokens": []
4373
+ }, {
4374
+ "tokens": [{
4375
+ "content": "export",
4376
+ "props": {
4377
+ "style": {
4378
+ "color": "#81A1C1"
4379
+ }
4380
+ }
4381
+ }, {
4382
+ "content": " ",
4383
+ "props": {
4384
+ "style": {
4385
+ "color": "#D8DEE9FF"
4386
+ }
4387
+ }
4388
+ }, {
4389
+ "content": "const",
4390
+ "props": {
4391
+ "style": {
4392
+ "color": "#81A1C1"
4393
+ }
4394
+ }
4395
+ }, {
4396
+ "content": " ",
4397
+ "props": {
4398
+ "style": {
4399
+ "color": "#D8DEE9FF"
4400
+ }
4401
+ }
4402
+ }, {
4403
+ "content": "YourStory",
4404
+ "props": {
4405
+ "style": {
4406
+ "color": "#88C0D0"
4407
+ }
4408
+ }
4409
+ }, {
4410
+ "content": " ",
4411
+ "props": {
4412
+ "style": {
4413
+ "color": "#D8DEE9FF"
4414
+ }
4415
+ }
4416
+ }, {
4417
+ "content": "=",
4418
+ "props": {
4419
+ "style": {
4420
+ "color": "#81A1C1"
4421
+ }
4422
+ }
4423
+ }, {
4424
+ "content": " ",
4425
+ "props": {
4426
+ "style": {
4427
+ "color": "#D8DEE9FF"
4428
+ }
4429
+ }
4430
+ }, {
4431
+ "content": "()",
4432
+ "props": {
4433
+ "style": {
4434
+ "color": "#ECEFF4"
4435
+ }
4436
+ }
4437
+ }, {
4438
+ "content": " ",
4439
+ "props": {
4440
+ "style": {
4441
+ "color": "#D8DEE9FF"
4442
+ }
4443
+ }
4444
+ }, {
4445
+ "content": "=>",
4446
+ "props": {
4447
+ "style": {
4448
+ "color": "#81A1C1"
4449
+ }
4450
+ }
4451
+ }, {
4452
+ "content": " <",
4453
+ "props": {
4454
+ "style": {
4455
+ "color": "#D8DEE9FF"
4456
+ }
4457
+ }
4458
+ }, {
4459
+ "content": "Component",
4460
+ "props": {
4461
+ "style": {
4462
+ "color": "#8FBCBB"
4463
+ }
4464
+ }
4465
+ }, {
4466
+ "content": " />",
4467
+ "props": {
4468
+ "style": {
4469
+ "color": "#D8DEE9FF"
4470
+ }
4471
+ }
4472
+ }, {
4473
+ "content": ";",
4474
+ "props": {
4475
+ "style": {
4476
+ "color": "#81A1C1"
4477
+ }
4478
+ }
4479
+ }]
4480
+ }, {
4481
+ "tokens": []
4482
+ }, {
4483
+ "tokens": [{
4484
+ "content": "export",
4485
+ "props": {
4486
+ "style": {
4487
+ "color": "#81A1C1"
4488
+ }
4489
+ }
4490
+ }, {
4491
+ "content": " ",
4492
+ "props": {
4493
+ "style": {
4494
+ "color": "#D8DEE9FF"
4495
+ }
4496
+ }
4497
+ }, {
4498
+ "content": "default",
4499
+ "props": {
4500
+ "style": {
4501
+ "color": "#81A1C1"
4502
+ }
4503
+ }
4504
+ }, {
4505
+ "content": " ",
4506
+ "props": {
4507
+ "style": {
4508
+ "color": "#D8DEE9FF"
4509
+ }
4510
+ }
4511
+ }, {
4512
+ "content": "{",
4513
+ "props": {
4514
+ "style": {
4515
+ "color": "#ECEFF4"
4516
+ }
4517
+ }
4518
+ }]
4519
+ }, {
4520
+ "tokens": [{
4521
+ "content": " ",
4522
+ "props": {
4523
+ "style": {
4524
+ "color": "#D8DEE9FF"
4525
+ }
4526
+ }
4527
+ }, {
4528
+ "content": "title",
4529
+ "props": {
4530
+ "style": {
4531
+ "color": "#D8DEE9"
4532
+ }
4533
+ }
4534
+ }, {
4535
+ "content": ":",
4536
+ "props": {
4537
+ "style": {
4538
+ "color": "#ECEFF4"
4539
+ }
4540
+ }
4541
+ }, {
4542
+ "content": " ",
4543
+ "props": {
4544
+ "style": {
4545
+ "color": "#D8DEE9FF"
4546
+ }
4547
+ }
4548
+ }, {
4549
+ "content": "'",
4550
+ "props": {
4551
+ "style": {
4552
+ "color": "#ECEFF4"
4553
+ }
4554
+ }
4555
+ }, {
4556
+ "content": "Your Stories",
4557
+ "props": {
4558
+ "style": {
4559
+ "color": "#A3BE8C"
4560
+ }
4561
+ }
4562
+ }, {
4563
+ "content": "'",
4564
+ "props": {
4565
+ "style": {
4566
+ "color": "#ECEFF4"
4567
+ }
4568
+ }
4569
+ }, {
4570
+ "content": ",",
4571
+ "props": {
4572
+ "style": {
4573
+ "color": "#ECEFF4"
4574
+ }
4575
+ }
4576
+ }]
4577
+ }, {
4578
+ "tokens": [{
4579
+ "content": "}",
4580
+ "props": {
4581
+ "style": {
4582
+ "color": "#ECEFF4"
4583
+ }
4584
+ }
4585
+ }, {
4586
+ "content": ";",
4587
+ "props": {
4588
+ "style": {
4589
+ "color": "#81A1C1"
4590
+ }
4591
+ }
4592
+ }]
4593
+ }],
4594
+ "lang": "ts"
4595
+ },
4596
+ "annotations": []
4597
+ }]
4598
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4599
+ children: "So why is the source code approach not recommended?"
4600
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4601
+ children: ["Not only is it impossible to verify that the component product is correct using the component source code, ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
4602
+ children: "but also some of the configurations supported by the module project for building the product cannot be fully translated into Storybook internal configuration"
4603
+ }), ". If some of the configurations cannot be converted to each other, there will be unintended results during Storybook debugging."]
4604
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
4605
+ id: "configure-storybook",
4606
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4607
+ className: "header-anchor",
4608
+ "aria-hidden": "true",
4609
+ href: "#configure-storybook",
4610
+ children: "#"
4611
+ }), "Configure Storybook"]
4612
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4613
+ children: ["Storybook is officially configured for projects through a folder called ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4614
+ children: ".storybook"
4615
+ }), ", which contains various configuration files. ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.strong, {
4616
+ children: ["In a module project scenario, Storybook configuration files can be added to the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4617
+ children: "config/storybook"
4618
+ }), " directory of the project."]
4619
+ })]
4620
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4621
+ children: "For more information on how to use the various Storybook configuration files, see the following links:"
4622
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
4623
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
4624
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4625
+ href: "https://storybook.js.org/docs/react/configure/overview",
4626
+ target: "_blank",
4627
+ rel: "nofollow",
4628
+ children: "Configure Storybook"
4629
+ })
4630
+ }), "\n"]
4631
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4632
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
4633
+ children: "But there are some limitations to Storybooking in a module project"
4634
+ }), ":"]
4635
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
4636
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
4637
+ children: ["It is currently not possible to change the location of the Story file, i.e., you cannot change the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4638
+ children: "stories"
4639
+ }), " configuration in the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4640
+ children: "main.js"
4641
+ }), " file."]
4642
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
4643
+ children: ["Currently you cannot modify Webpack and Babel related configuration, i.e. you cannot modify ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4644
+ children: "webpackFinal"
4645
+ }), " and ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4646
+ children: "babel"
4647
+ }), " configuration in the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4648
+ children: "main.js"
4649
+ }), " file."]
4650
+ }), "\n"]
4651
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4652
+ children: "In the future we will consider whether these configurations can be allowed to be modified, but for now we are limiting their use to reduce unpredictable issues."
4653
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
4654
+ id: "building-storybook-products",
4655
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4656
+ className: "header-anchor",
4657
+ "aria-hidden": "true",
4658
+ href: "#building-storybook-products",
4659
+ children: "#"
4660
+ }), "Building Storybook Products"]
4661
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
4662
+ children: "In addition to Storybook debugging of components or common modules, you can also perform Storybook build tasks with the following commands."
4663
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
4664
+ codeConfig: chCodeConfig,
4665
+ northPanel: {
4666
+ "tabs": [""],
4667
+ "active": "",
4668
+ "heightRatio": 1
4669
+ },
4670
+ files: [{
4671
+ "name": "",
4672
+ "focus": "",
4673
+ "code": {
4674
+ "lines": [{
4675
+ "tokens": [{
4676
+ "content": "modern build --platform storybook",
4677
+ "props": {
4678
+ "style": {
4679
+ "color": "#D8DEE9FF"
4680
+ }
4681
+ }
4682
+ }]
4683
+ }],
4684
+ "lang": "bash"
4685
+ },
4686
+ "annotations": []
4687
+ }]
4688
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4689
+ children: ["For the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4690
+ children: "modern build --platform"
4691
+ }), " command you can see."]
4692
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
4693
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
4694
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
4695
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-build-1",
4696
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4697
+ children: "modern build"
4698
+ })
4699
+ })
4700
+ }), "\n"]
4701
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
4702
+ children: ["After the build is complete, you can see the build product files in the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
4703
+ children: "dist/storybook-static"
4704
+ }), " directory."]
4705
+ })]
4706
+ });
4707
+ }
4708
+ function MDXContent(props = {}) {
4709
+ const {wrapper: MDXLayout} = props.components || ({});
4710
+ return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
4711
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
4712
+ })) : _createMdxContent(props);
4713
+ }
4714
+ /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
4715
+ function _missingMdxReference(id, component, place) {
4716
+ throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/basic/using-storybook.mdx`" : ""));
4717
+ }
4718
+
4719
+
4720
+ /***/ })
4721
+
4722
+ }]);
4723
+ //# sourceMappingURL=en_guide_basic_using-storybook.js.map