@immediately-run/sandpack-react 2.20.0

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 (582) hide show
  1. package/README.md +60 -0
  2. package/dist/.ir-build-stamp.json +6 -0
  3. package/dist/index.d.ts +1771 -0
  4. package/dist/index.js +5544 -0
  5. package/dist/index.mjs +5440 -0
  6. package/dist/src/components/CodeEditor/CodeMirror.d.ts +50 -0
  7. package/dist/src/components/CodeEditor/CodeMirror.d.ts.map +1 -0
  8. package/dist/src/components/CodeEditor/highlightDecorators.d.ts +4 -0
  9. package/dist/src/components/CodeEditor/highlightDecorators.d.ts.map +1 -0
  10. package/dist/src/components/CodeEditor/highlightInlineError.d.ts +3 -0
  11. package/dist/src/components/CodeEditor/highlightInlineError.d.ts.map +1 -0
  12. package/dist/src/components/CodeEditor/index.d.ts +50 -0
  13. package/dist/src/components/CodeEditor/index.d.ts.map +1 -0
  14. package/dist/src/components/CodeEditor/languages-mocks.d.ts +9 -0
  15. package/dist/src/components/CodeEditor/languages-mocks.d.ts.map +1 -0
  16. package/dist/src/components/CodeEditor/styles.css.d.ts +6 -0
  17. package/dist/src/components/CodeEditor/styles.css.d.ts.map +1 -0
  18. package/dist/src/components/CodeEditor/useSyntaxHighlight.d.ts +7 -0
  19. package/dist/src/components/CodeEditor/useSyntaxHighlight.d.ts.map +1 -0
  20. package/dist/src/components/CodeEditor/utils.d.ts +16 -0
  21. package/dist/src/components/CodeEditor/utils.d.ts.map +1 -0
  22. package/dist/src/components/CodeViewer/index.d.ts +28 -0
  23. package/dist/src/components/CodeViewer/index.d.ts.map +1 -0
  24. package/dist/src/components/Console/ConsoleList.css.d.ts +29 -0
  25. package/dist/src/components/Console/ConsoleList.css.d.ts.map +1 -0
  26. package/dist/src/components/Console/ConsoleList.d.ts +6 -0
  27. package/dist/src/components/Console/ConsoleList.d.ts.map +1 -0
  28. package/dist/src/components/Console/Header.css.d.ts +5 -0
  29. package/dist/src/components/Console/Header.css.d.ts.map +1 -0
  30. package/dist/src/components/Console/Header.d.ts +7 -0
  31. package/dist/src/components/Console/Header.d.ts.map +1 -0
  32. package/dist/src/components/Console/SandpackConsole.css.d.ts +4 -0
  33. package/dist/src/components/Console/SandpackConsole.css.d.ts.map +1 -0
  34. package/dist/src/components/Console/SandpackConsole.d.ts +27 -0
  35. package/dist/src/components/Console/SandpackConsole.d.ts.map +1 -0
  36. package/dist/src/components/Console/StdoutList.css.d.ts +2 -0
  37. package/dist/src/components/Console/StdoutList.css.d.ts.map +1 -0
  38. package/dist/src/components/Console/StdoutList.d.ts +8 -0
  39. package/dist/src/components/Console/StdoutList.d.ts.map +1 -0
  40. package/dist/src/components/Console/index.d.ts +3 -0
  41. package/dist/src/components/Console/index.d.ts.map +1 -0
  42. package/dist/src/components/Console/useSandpackConsole.d.ts +16 -0
  43. package/dist/src/components/Console/useSandpackConsole.d.ts.map +1 -0
  44. package/dist/src/components/Console/utils/constraints.d.ts +14 -0
  45. package/dist/src/components/Console/utils/constraints.d.ts.map +1 -0
  46. package/dist/src/components/Console/utils/fromConsoleToString.d.ts +13 -0
  47. package/dist/src/components/Console/utils/fromConsoleToString.d.ts.map +1 -0
  48. package/dist/src/components/Console/utils/getType.d.ts +8 -0
  49. package/dist/src/components/Console/utils/getType.d.ts.map +1 -0
  50. package/dist/src/components/Console/utils/transformers.d.ts +5 -0
  51. package/dist/src/components/Console/utils/transformers.d.ts.map +1 -0
  52. package/dist/src/components/FileExplorer/File.css.d.ts +2 -0
  53. package/dist/src/components/FileExplorer/File.css.d.ts.map +1 -0
  54. package/dist/src/components/FileExplorer/File.d.ts +11 -0
  55. package/dist/src/components/FileExplorer/File.d.ts.map +1 -0
  56. package/dist/src/components/FileExplorer/FileExplorer.css.d.ts +2 -0
  57. package/dist/src/components/FileExplorer/FileExplorer.css.d.ts.map +1 -0
  58. package/dist/src/components/FileExplorer/ModuleList.d.ts +25 -0
  59. package/dist/src/components/FileExplorer/ModuleList.d.ts.map +1 -0
  60. package/dist/src/components/FileExplorer/index.d.ts +13 -0
  61. package/dist/src/components/FileExplorer/index.d.ts.map +1 -0
  62. package/dist/src/components/FileExplorer/utils.d.ts +17 -0
  63. package/dist/src/components/FileExplorer/utils.d.ts.map +1 -0
  64. package/dist/src/components/FileTabs/FileTabs.css.d.ts +6 -0
  65. package/dist/src/components/FileTabs/FileTabs.css.d.ts.map +1 -0
  66. package/dist/src/components/FileTabs/index.d.ts +19 -0
  67. package/dist/src/components/FileTabs/index.d.ts.map +1 -0
  68. package/dist/src/components/Navigator/Navigator.css.d.ts +4 -0
  69. package/dist/src/components/Navigator/Navigator.css.d.ts.map +1 -0
  70. package/dist/src/components/Navigator/index.d.ts +8 -0
  71. package/dist/src/components/Navigator/index.d.ts.map +1 -0
  72. package/dist/src/components/Navigator/utils.d.ts +2 -0
  73. package/dist/src/components/Navigator/utils.d.ts.map +1 -0
  74. package/dist/src/components/Preview/Preview.css.d.ts +4 -0
  75. package/dist/src/components/Preview/Preview.css.d.ts.map +1 -0
  76. package/dist/src/components/Preview/index.d.ts +31 -0
  77. package/dist/src/components/Preview/index.d.ts.map +1 -0
  78. package/dist/src/components/ReactDevTools/ReactDevTools.css.d.ts +2 -0
  79. package/dist/src/components/ReactDevTools/ReactDevTools.css.d.ts.map +1 -0
  80. package/dist/src/components/ReactDevTools/index.d.ts +8 -0
  81. package/dist/src/components/ReactDevTools/index.d.ts.map +1 -0
  82. package/dist/src/components/Tests/Describes.css.d.ts +3 -0
  83. package/dist/src/components/Tests/Describes.css.d.ts.map +1 -0
  84. package/dist/src/components/Tests/Describes.d.ts +11 -0
  85. package/dist/src/components/Tests/Describes.d.ts.map +1 -0
  86. package/dist/src/components/Tests/FormattedError.css.d.ts +2 -0
  87. package/dist/src/components/Tests/FormattedError.css.d.ts.map +1 -0
  88. package/dist/src/components/Tests/FormattedError.d.ts +9 -0
  89. package/dist/src/components/Tests/FormattedError.d.ts.map +1 -0
  90. package/dist/src/components/Tests/Header.css.d.ts +5 -0
  91. package/dist/src/components/Tests/Header.css.d.ts.map +1 -0
  92. package/dist/src/components/Tests/Header.d.ts +18 -0
  93. package/dist/src/components/Tests/Header.d.ts.map +1 -0
  94. package/dist/src/components/Tests/RunButton.d.ts +5 -0
  95. package/dist/src/components/Tests/RunButton.d.ts.map +1 -0
  96. package/dist/src/components/Tests/SandpackTests.css.d.ts +4 -0
  97. package/dist/src/components/Tests/SandpackTests.css.d.ts.map +1 -0
  98. package/dist/src/components/Tests/SandpackTests.d.ts +18 -0
  99. package/dist/src/components/Tests/SandpackTests.d.ts.map +1 -0
  100. package/dist/src/components/Tests/Specs.css.d.ts +9 -0
  101. package/dist/src/components/Tests/Specs.css.d.ts.map +1 -0
  102. package/dist/src/components/Tests/Specs.d.ts +17 -0
  103. package/dist/src/components/Tests/Specs.d.ts.map +1 -0
  104. package/dist/src/components/Tests/Summary.css.d.ts +4 -0
  105. package/dist/src/components/Tests/Summary.css.d.ts.map +1 -0
  106. package/dist/src/components/Tests/Summary.d.ts +20 -0
  107. package/dist/src/components/Tests/Summary.d.ts.map +1 -0
  108. package/dist/src/components/Tests/Tests.css.d.ts +6 -0
  109. package/dist/src/components/Tests/Tests.css.d.ts.map +1 -0
  110. package/dist/src/components/Tests/Tests.d.ts +17 -0
  111. package/dist/src/components/Tests/Tests.d.ts.map +1 -0
  112. package/dist/src/components/Tests/index.d.ts +2 -0
  113. package/dist/src/components/Tests/index.d.ts.map +1 -0
  114. package/dist/src/components/Tests/style.css.d.ts +8 -0
  115. package/dist/src/components/Tests/style.css.d.ts.map +1 -0
  116. package/dist/src/components/Tests/style.d.ts +3 -0
  117. package/dist/src/components/Tests/style.d.ts.map +1 -0
  118. package/dist/src/components/Tests/utils.d.ts +14 -0
  119. package/dist/src/components/Tests/utils.d.ts.map +1 -0
  120. package/dist/src/components/TranspiledCode/TranspiledCode.css.d.ts +2 -0
  121. package/dist/src/components/TranspiledCode/TranspiledCode.css.d.ts.map +1 -0
  122. package/dist/src/components/TranspiledCode/index.d.ts +4 -0
  123. package/dist/src/components/TranspiledCode/index.d.ts.map +1 -0
  124. package/dist/src/components/common/DependenciesProgress.css.d.ts +2 -0
  125. package/dist/src/components/common/DependenciesProgress.css.d.ts.map +1 -0
  126. package/dist/src/components/common/DependenciesProgress.d.ts +4 -0
  127. package/dist/src/components/common/DependenciesProgress.d.ts.map +1 -0
  128. package/dist/src/components/common/ErrorOverlay.d.ts +6 -0
  129. package/dist/src/components/common/ErrorOverlay.d.ts.map +1 -0
  130. package/dist/src/components/common/Layout.css.d.ts +2 -0
  131. package/dist/src/components/common/Layout.css.d.ts.map +1 -0
  132. package/dist/src/components/common/Layout.d.ts +8 -0
  133. package/dist/src/components/common/Layout.d.ts.map +1 -0
  134. package/dist/src/components/common/Loading.css.d.ts +4 -0
  135. package/dist/src/components/common/Loading.css.d.ts.map +1 -0
  136. package/dist/src/components/common/Loading.d.ts +5 -0
  137. package/dist/src/components/common/Loading.d.ts.map +1 -0
  138. package/dist/src/components/common/LoadingOverlay.css.d.ts +5 -0
  139. package/dist/src/components/common/LoadingOverlay.css.d.ts.map +1 -0
  140. package/dist/src/components/common/LoadingOverlay.d.ts +12 -0
  141. package/dist/src/components/common/LoadingOverlay.d.ts.map +1 -0
  142. package/dist/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts +3 -0
  143. package/dist/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts.map +1 -0
  144. package/dist/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts +7 -0
  145. package/dist/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts.map +1 -0
  146. package/dist/src/components/common/OpenInCodeSandboxButton/index.d.ts +3 -0
  147. package/dist/src/components/common/OpenInCodeSandboxButton/index.d.ts.map +1 -0
  148. package/dist/src/components/common/RoundedButton.d.ts +3 -0
  149. package/dist/src/components/common/RoundedButton.d.ts.map +1 -0
  150. package/dist/src/components/common/RunButton.css.d.ts +2 -0
  151. package/dist/src/components/common/RunButton.css.d.ts.map +1 -0
  152. package/dist/src/components/common/RunButton.d.ts +3 -0
  153. package/dist/src/components/common/RunButton.d.ts.map +1 -0
  154. package/dist/src/components/common/Stack.css.d.ts +2 -0
  155. package/dist/src/components/common/Stack.css.d.ts.map +1 -0
  156. package/dist/src/components/common/Stack.d.ts +7 -0
  157. package/dist/src/components/common/Stack.d.ts.map +1 -0
  158. package/dist/src/components/common/index.d.ts +9 -0
  159. package/dist/src/components/common/index.d.ts.map +1 -0
  160. package/dist/src/components/icons/index.d.ts +16 -0
  161. package/dist/src/components/icons/index.d.ts.map +1 -0
  162. package/dist/src/components/index.d.ts +10 -0
  163. package/dist/src/components/index.d.ts.map +1 -0
  164. package/dist/src/contexts/sandpackContext.d.ts +11 -0
  165. package/dist/src/contexts/sandpackContext.d.ts.map +1 -0
  166. package/dist/src/contexts/utils/testHelpers.d.ts +9 -0
  167. package/dist/src/contexts/utils/testHelpers.d.ts.map +1 -0
  168. package/dist/src/contexts/utils/useAppState.d.ts +15 -0
  169. package/dist/src/contexts/utils/useAppState.d.ts.map +1 -0
  170. package/dist/src/contexts/utils/useClient.d.ts +32 -0
  171. package/dist/src/contexts/utils/useClient.d.ts.map +1 -0
  172. package/dist/src/contexts/utils/useFiles.d.ts +41 -0
  173. package/dist/src/contexts/utils/useFiles.d.ts.map +1 -0
  174. package/dist/src/hooks/index.d.ts +12 -0
  175. package/dist/src/hooks/index.d.ts.map +1 -0
  176. package/dist/src/hooks/useActiveCode.d.ts +21 -0
  177. package/dist/src/hooks/useActiveCode.d.ts.map +1 -0
  178. package/dist/src/hooks/useErrorMessage.d.ts +5 -0
  179. package/dist/src/hooks/useErrorMessage.d.ts.map +1 -0
  180. package/dist/src/hooks/useLoadingOverlayState.d.ts +7 -0
  181. package/dist/src/hooks/useLoadingOverlayState.d.ts.map +1 -0
  182. package/dist/src/hooks/useSandpack.d.ts +14 -0
  183. package/dist/src/hooks/useSandpack.d.ts.map +1 -0
  184. package/dist/src/hooks/useSandpackClient.d.ts +23 -0
  185. package/dist/src/hooks/useSandpackClient.d.ts.map +1 -0
  186. package/dist/src/hooks/useSandpackNavigation.d.ts +9 -0
  187. package/dist/src/hooks/useSandpackNavigation.d.ts.map +1 -0
  188. package/dist/src/hooks/useSandpackPreviewProgress.d.ts +5 -0
  189. package/dist/src/hooks/useSandpackPreviewProgress.d.ts.map +1 -0
  190. package/dist/src/hooks/useSandpackShell.d.ts +8 -0
  191. package/dist/src/hooks/useSandpackShell.d.ts.map +1 -0
  192. package/dist/src/hooks/useSandpackShellStdout.d.ts +12 -0
  193. package/dist/src/hooks/useSandpackShellStdout.d.ts.map +1 -0
  194. package/dist/src/hooks/useSandpackTheme.d.ts +10 -0
  195. package/dist/src/hooks/useSandpackTheme.d.ts.map +1 -0
  196. package/dist/src/hooks/useTranspiledCode.d.ts +5 -0
  197. package/dist/src/hooks/useTranspiledCode.d.ts.map +1 -0
  198. package/dist/src/index.d.ts +15 -0
  199. package/dist/src/index.d.ts.map +1 -0
  200. package/dist/src/presets/Sandpack.css.d.ts +20 -0
  201. package/dist/src/presets/Sandpack.css.d.ts.map +1 -0
  202. package/dist/src/presets/Sandpack.d.ts +3 -0
  203. package/dist/src/presets/Sandpack.d.ts.map +1 -0
  204. package/dist/src/presets/index.d.ts +2 -0
  205. package/dist/src/presets/index.d.ts.map +1 -0
  206. package/dist/src/setup.jest.d.ts +2 -0
  207. package/dist/src/setup.jest.d.ts.map +1 -0
  208. package/dist/src/styles/__generated__/cssText.d.ts +7 -0
  209. package/dist/src/styles/__generated__/cssText.d.ts.map +1 -0
  210. package/dist/src/styles/constants.d.ts +10 -0
  211. package/dist/src/styles/constants.d.ts.map +1 -0
  212. package/dist/src/styles/getSandpackCssText.d.ts +16 -0
  213. package/dist/src/styles/getSandpackCssText.d.ts.map +1 -0
  214. package/dist/src/styles/index.d.ts +65 -0
  215. package/dist/src/styles/index.d.ts.map +1 -0
  216. package/dist/src/styles/shared.css.d.ts +22 -0
  217. package/dist/src/styles/shared.css.d.ts.map +1 -0
  218. package/dist/src/styles/themeContext.css.d.ts +17 -0
  219. package/dist/src/styles/themeContext.css.d.ts.map +1 -0
  220. package/dist/src/styles/themeContext.d.ts +21 -0
  221. package/dist/src/styles/themeContext.d.ts.map +1 -0
  222. package/dist/src/styles/vars.css.d.ts +98 -0
  223. package/dist/src/styles/vars.css.d.ts.map +1 -0
  224. package/dist/src/templates/common.d.ts +6 -0
  225. package/dist/src/templates/common.d.ts.map +1 -0
  226. package/dist/src/templates/index.d.ts +549 -0
  227. package/dist/src/templates/index.d.ts.map +1 -0
  228. package/dist/src/templates/node/astro.d.ts +22 -0
  229. package/dist/src/templates/node/astro.d.ts.map +1 -0
  230. package/dist/src/templates/node/nexjs.d.ts +22 -0
  231. package/dist/src/templates/node/nexjs.d.ts.map +1 -0
  232. package/dist/src/templates/node/node.d.ts +13 -0
  233. package/dist/src/templates/node/node.d.ts.map +1 -0
  234. package/dist/src/templates/node/vite-preact-ts.d.ts +34 -0
  235. package/dist/src/templates/node/vite-preact-ts.d.ts.map +1 -0
  236. package/dist/src/templates/node/vite-preact.d.ts +25 -0
  237. package/dist/src/templates/node/vite-preact.d.ts.map +1 -0
  238. package/dist/src/templates/node/vite-react-ts.d.ts +34 -0
  239. package/dist/src/templates/node/vite-react-ts.d.ts.map +1 -0
  240. package/dist/src/templates/node/vite-react.d.ts +25 -0
  241. package/dist/src/templates/node/vite-react.d.ts.map +1 -0
  242. package/dist/src/templates/node/vite-svelte-ts.d.ts +37 -0
  243. package/dist/src/templates/node/vite-svelte-ts.d.ts.map +1 -0
  244. package/dist/src/templates/node/vite-svelte.d.ts +25 -0
  245. package/dist/src/templates/node/vite-svelte.d.ts.map +1 -0
  246. package/dist/src/templates/node/vite-vue-ts.d.ts +34 -0
  247. package/dist/src/templates/node/vite-vue-ts.d.ts.map +1 -0
  248. package/dist/src/templates/node/vite-vue.d.ts +25 -0
  249. package/dist/src/templates/node/vite-vue.d.ts.map +1 -0
  250. package/dist/src/templates/node/vite.d.ts +19 -0
  251. package/dist/src/templates/node/vite.d.ts.map +1 -0
  252. package/dist/src/templates/runtime/angular.d.ts +31 -0
  253. package/dist/src/templates/runtime/angular.d.ts.map +1 -0
  254. package/dist/src/templates/runtime/react-typescript.d.ts +25 -0
  255. package/dist/src/templates/runtime/react-typescript.d.ts.map +1 -0
  256. package/dist/src/templates/runtime/react.d.ts +22 -0
  257. package/dist/src/templates/runtime/react.d.ts.map +1 -0
  258. package/dist/src/templates/runtime/solid.d.ts +22 -0
  259. package/dist/src/templates/runtime/solid.d.ts.map +1 -0
  260. package/dist/src/templates/runtime/svelte.d.ts +22 -0
  261. package/dist/src/templates/runtime/svelte.d.ts.map +1 -0
  262. package/dist/src/templates/runtime/tests-ts.d.ts +20 -0
  263. package/dist/src/templates/runtime/tests-ts.d.ts.map +1 -0
  264. package/dist/src/templates/runtime/vanilla-typescript.d.ts +22 -0
  265. package/dist/src/templates/runtime/vanilla-typescript.d.ts.map +1 -0
  266. package/dist/src/templates/runtime/vanilla.d.ts +19 -0
  267. package/dist/src/templates/runtime/vanilla.d.ts.map +1 -0
  268. package/dist/src/templates/runtime/vue-ts.d.ts +26 -0
  269. package/dist/src/templates/runtime/vue-ts.d.ts.map +1 -0
  270. package/dist/src/templates/runtime/vue.d.ts +22 -0
  271. package/dist/src/templates/runtime/vue.d.ts.map +1 -0
  272. package/dist/src/templates/static.d.ts +16 -0
  273. package/dist/src/templates/static.d.ts.map +1 -0
  274. package/dist/src/themes/index.d.ts +14 -0
  275. package/dist/src/themes/index.d.ts.map +1 -0
  276. package/dist/src/types.d.ts +477 -0
  277. package/dist/src/types.d.ts.map +1 -0
  278. package/dist/src/utils/ansi-to-react.d.ts +13 -0
  279. package/dist/src/utils/ansi-to-react.d.ts.map +1 -0
  280. package/dist/src/utils/array.d.ts +2 -0
  281. package/dist/src/utils/array.d.ts.map +1 -0
  282. package/dist/src/utils/classNames.d.ts +6 -0
  283. package/dist/src/utils/classNames.d.ts.map +1 -0
  284. package/dist/src/utils/createSandpackFS.d.ts +35 -0
  285. package/dist/src/utils/createSandpackFS.d.ts.map +1 -0
  286. package/dist/src/utils/storyHelpers.d.ts +9 -0
  287. package/dist/src/utils/storyHelpers.d.ts.map +1 -0
  288. package/dist/src/utils/stringUtils.d.ts +10 -0
  289. package/dist/src/utils/stringUtils.d.ts.map +1 -0
  290. package/dist/src/utils/useAsyncSandpackId.d.ts +9 -0
  291. package/dist/src/utils/useAsyncSandpackId.d.ts.map +1 -0
  292. package/dist/styles.css +890 -0
  293. package/dist/unstyled/index.js +5942 -0
  294. package/dist/unstyled/index.mjs +5838 -0
  295. package/dist/unstyled/src/components/CodeEditor/CodeMirror.d.ts +50 -0
  296. package/dist/unstyled/src/components/CodeEditor/CodeMirror.d.ts.map +1 -0
  297. package/dist/unstyled/src/components/CodeEditor/highlightDecorators.d.ts +4 -0
  298. package/dist/unstyled/src/components/CodeEditor/highlightDecorators.d.ts.map +1 -0
  299. package/dist/unstyled/src/components/CodeEditor/highlightInlineError.d.ts +3 -0
  300. package/dist/unstyled/src/components/CodeEditor/highlightInlineError.d.ts.map +1 -0
  301. package/dist/unstyled/src/components/CodeEditor/index.d.ts +50 -0
  302. package/dist/unstyled/src/components/CodeEditor/index.d.ts.map +1 -0
  303. package/dist/unstyled/src/components/CodeEditor/languages-mocks.d.ts +9 -0
  304. package/dist/unstyled/src/components/CodeEditor/languages-mocks.d.ts.map +1 -0
  305. package/dist/unstyled/src/components/CodeEditor/styles.css.d.ts +6 -0
  306. package/dist/unstyled/src/components/CodeEditor/styles.css.d.ts.map +1 -0
  307. package/dist/unstyled/src/components/CodeEditor/useSyntaxHighlight.d.ts +7 -0
  308. package/dist/unstyled/src/components/CodeEditor/useSyntaxHighlight.d.ts.map +1 -0
  309. package/dist/unstyled/src/components/CodeEditor/utils.d.ts +16 -0
  310. package/dist/unstyled/src/components/CodeEditor/utils.d.ts.map +1 -0
  311. package/dist/unstyled/src/components/CodeViewer/index.d.ts +28 -0
  312. package/dist/unstyled/src/components/CodeViewer/index.d.ts.map +1 -0
  313. package/dist/unstyled/src/components/Console/ConsoleList.css.d.ts +29 -0
  314. package/dist/unstyled/src/components/Console/ConsoleList.css.d.ts.map +1 -0
  315. package/dist/unstyled/src/components/Console/ConsoleList.d.ts +6 -0
  316. package/dist/unstyled/src/components/Console/ConsoleList.d.ts.map +1 -0
  317. package/dist/unstyled/src/components/Console/Header.css.d.ts +5 -0
  318. package/dist/unstyled/src/components/Console/Header.css.d.ts.map +1 -0
  319. package/dist/unstyled/src/components/Console/Header.d.ts +7 -0
  320. package/dist/unstyled/src/components/Console/Header.d.ts.map +1 -0
  321. package/dist/unstyled/src/components/Console/SandpackConsole.css.d.ts +4 -0
  322. package/dist/unstyled/src/components/Console/SandpackConsole.css.d.ts.map +1 -0
  323. package/dist/unstyled/src/components/Console/SandpackConsole.d.ts +27 -0
  324. package/dist/unstyled/src/components/Console/SandpackConsole.d.ts.map +1 -0
  325. package/dist/unstyled/src/components/Console/StdoutList.css.d.ts +2 -0
  326. package/dist/unstyled/src/components/Console/StdoutList.css.d.ts.map +1 -0
  327. package/dist/unstyled/src/components/Console/StdoutList.d.ts +8 -0
  328. package/dist/unstyled/src/components/Console/StdoutList.d.ts.map +1 -0
  329. package/dist/unstyled/src/components/Console/index.d.ts +3 -0
  330. package/dist/unstyled/src/components/Console/index.d.ts.map +1 -0
  331. package/dist/unstyled/src/components/Console/useSandpackConsole.d.ts +16 -0
  332. package/dist/unstyled/src/components/Console/useSandpackConsole.d.ts.map +1 -0
  333. package/dist/unstyled/src/components/Console/utils/constraints.d.ts +14 -0
  334. package/dist/unstyled/src/components/Console/utils/constraints.d.ts.map +1 -0
  335. package/dist/unstyled/src/components/Console/utils/fromConsoleToString.d.ts +13 -0
  336. package/dist/unstyled/src/components/Console/utils/fromConsoleToString.d.ts.map +1 -0
  337. package/dist/unstyled/src/components/Console/utils/getType.d.ts +8 -0
  338. package/dist/unstyled/src/components/Console/utils/getType.d.ts.map +1 -0
  339. package/dist/unstyled/src/components/Console/utils/transformers.d.ts +5 -0
  340. package/dist/unstyled/src/components/Console/utils/transformers.d.ts.map +1 -0
  341. package/dist/unstyled/src/components/FileExplorer/File.css.d.ts +2 -0
  342. package/dist/unstyled/src/components/FileExplorer/File.css.d.ts.map +1 -0
  343. package/dist/unstyled/src/components/FileExplorer/File.d.ts +11 -0
  344. package/dist/unstyled/src/components/FileExplorer/File.d.ts.map +1 -0
  345. package/dist/unstyled/src/components/FileExplorer/FileExplorer.css.d.ts +2 -0
  346. package/dist/unstyled/src/components/FileExplorer/FileExplorer.css.d.ts.map +1 -0
  347. package/dist/unstyled/src/components/FileExplorer/ModuleList.d.ts +25 -0
  348. package/dist/unstyled/src/components/FileExplorer/ModuleList.d.ts.map +1 -0
  349. package/dist/unstyled/src/components/FileExplorer/index.d.ts +13 -0
  350. package/dist/unstyled/src/components/FileExplorer/index.d.ts.map +1 -0
  351. package/dist/unstyled/src/components/FileExplorer/utils.d.ts +17 -0
  352. package/dist/unstyled/src/components/FileExplorer/utils.d.ts.map +1 -0
  353. package/dist/unstyled/src/components/FileTabs/FileTabs.css.d.ts +6 -0
  354. package/dist/unstyled/src/components/FileTabs/FileTabs.css.d.ts.map +1 -0
  355. package/dist/unstyled/src/components/FileTabs/index.d.ts +19 -0
  356. package/dist/unstyled/src/components/FileTabs/index.d.ts.map +1 -0
  357. package/dist/unstyled/src/components/Navigator/Navigator.css.d.ts +4 -0
  358. package/dist/unstyled/src/components/Navigator/Navigator.css.d.ts.map +1 -0
  359. package/dist/unstyled/src/components/Navigator/index.d.ts +8 -0
  360. package/dist/unstyled/src/components/Navigator/index.d.ts.map +1 -0
  361. package/dist/unstyled/src/components/Navigator/utils.d.ts +2 -0
  362. package/dist/unstyled/src/components/Navigator/utils.d.ts.map +1 -0
  363. package/dist/unstyled/src/components/Preview/Preview.css.d.ts +4 -0
  364. package/dist/unstyled/src/components/Preview/Preview.css.d.ts.map +1 -0
  365. package/dist/unstyled/src/components/Preview/index.d.ts +31 -0
  366. package/dist/unstyled/src/components/Preview/index.d.ts.map +1 -0
  367. package/dist/unstyled/src/components/ReactDevTools/ReactDevTools.css.d.ts +2 -0
  368. package/dist/unstyled/src/components/ReactDevTools/ReactDevTools.css.d.ts.map +1 -0
  369. package/dist/unstyled/src/components/ReactDevTools/index.d.ts +8 -0
  370. package/dist/unstyled/src/components/ReactDevTools/index.d.ts.map +1 -0
  371. package/dist/unstyled/src/components/Tests/Describes.css.d.ts +3 -0
  372. package/dist/unstyled/src/components/Tests/Describes.css.d.ts.map +1 -0
  373. package/dist/unstyled/src/components/Tests/Describes.d.ts +11 -0
  374. package/dist/unstyled/src/components/Tests/Describes.d.ts.map +1 -0
  375. package/dist/unstyled/src/components/Tests/FormattedError.css.d.ts +2 -0
  376. package/dist/unstyled/src/components/Tests/FormattedError.css.d.ts.map +1 -0
  377. package/dist/unstyled/src/components/Tests/FormattedError.d.ts +9 -0
  378. package/dist/unstyled/src/components/Tests/FormattedError.d.ts.map +1 -0
  379. package/dist/unstyled/src/components/Tests/Header.css.d.ts +5 -0
  380. package/dist/unstyled/src/components/Tests/Header.css.d.ts.map +1 -0
  381. package/dist/unstyled/src/components/Tests/Header.d.ts +18 -0
  382. package/dist/unstyled/src/components/Tests/Header.d.ts.map +1 -0
  383. package/dist/unstyled/src/components/Tests/RunButton.d.ts +5 -0
  384. package/dist/unstyled/src/components/Tests/RunButton.d.ts.map +1 -0
  385. package/dist/unstyled/src/components/Tests/SandpackTests.css.d.ts +4 -0
  386. package/dist/unstyled/src/components/Tests/SandpackTests.css.d.ts.map +1 -0
  387. package/dist/unstyled/src/components/Tests/SandpackTests.d.ts +18 -0
  388. package/dist/unstyled/src/components/Tests/SandpackTests.d.ts.map +1 -0
  389. package/dist/unstyled/src/components/Tests/Specs.css.d.ts +9 -0
  390. package/dist/unstyled/src/components/Tests/Specs.css.d.ts.map +1 -0
  391. package/dist/unstyled/src/components/Tests/Specs.d.ts +17 -0
  392. package/dist/unstyled/src/components/Tests/Specs.d.ts.map +1 -0
  393. package/dist/unstyled/src/components/Tests/Summary.css.d.ts +4 -0
  394. package/dist/unstyled/src/components/Tests/Summary.css.d.ts.map +1 -0
  395. package/dist/unstyled/src/components/Tests/Summary.d.ts +20 -0
  396. package/dist/unstyled/src/components/Tests/Summary.d.ts.map +1 -0
  397. package/dist/unstyled/src/components/Tests/Tests.css.d.ts +6 -0
  398. package/dist/unstyled/src/components/Tests/Tests.css.d.ts.map +1 -0
  399. package/dist/unstyled/src/components/Tests/Tests.d.ts +17 -0
  400. package/dist/unstyled/src/components/Tests/Tests.d.ts.map +1 -0
  401. package/dist/unstyled/src/components/Tests/index.d.ts +2 -0
  402. package/dist/unstyled/src/components/Tests/index.d.ts.map +1 -0
  403. package/dist/unstyled/src/components/Tests/style.css.d.ts +8 -0
  404. package/dist/unstyled/src/components/Tests/style.css.d.ts.map +1 -0
  405. package/dist/unstyled/src/components/Tests/style.d.ts +3 -0
  406. package/dist/unstyled/src/components/Tests/style.d.ts.map +1 -0
  407. package/dist/unstyled/src/components/Tests/utils.d.ts +14 -0
  408. package/dist/unstyled/src/components/Tests/utils.d.ts.map +1 -0
  409. package/dist/unstyled/src/components/TranspiledCode/TranspiledCode.css.d.ts +2 -0
  410. package/dist/unstyled/src/components/TranspiledCode/TranspiledCode.css.d.ts.map +1 -0
  411. package/dist/unstyled/src/components/TranspiledCode/index.d.ts +4 -0
  412. package/dist/unstyled/src/components/TranspiledCode/index.d.ts.map +1 -0
  413. package/dist/unstyled/src/components/common/DependenciesProgress.css.d.ts +2 -0
  414. package/dist/unstyled/src/components/common/DependenciesProgress.css.d.ts.map +1 -0
  415. package/dist/unstyled/src/components/common/DependenciesProgress.d.ts +4 -0
  416. package/dist/unstyled/src/components/common/DependenciesProgress.d.ts.map +1 -0
  417. package/dist/unstyled/src/components/common/ErrorOverlay.d.ts +6 -0
  418. package/dist/unstyled/src/components/common/ErrorOverlay.d.ts.map +1 -0
  419. package/dist/unstyled/src/components/common/Layout.css.d.ts +2 -0
  420. package/dist/unstyled/src/components/common/Layout.css.d.ts.map +1 -0
  421. package/dist/unstyled/src/components/common/Layout.d.ts +8 -0
  422. package/dist/unstyled/src/components/common/Layout.d.ts.map +1 -0
  423. package/dist/unstyled/src/components/common/Loading.css.d.ts +4 -0
  424. package/dist/unstyled/src/components/common/Loading.css.d.ts.map +1 -0
  425. package/dist/unstyled/src/components/common/Loading.d.ts +5 -0
  426. package/dist/unstyled/src/components/common/Loading.d.ts.map +1 -0
  427. package/dist/unstyled/src/components/common/LoadingOverlay.css.d.ts +5 -0
  428. package/dist/unstyled/src/components/common/LoadingOverlay.css.d.ts.map +1 -0
  429. package/dist/unstyled/src/components/common/LoadingOverlay.d.ts +12 -0
  430. package/dist/unstyled/src/components/common/LoadingOverlay.d.ts.map +1 -0
  431. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts +3 -0
  432. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts.map +1 -0
  433. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts +7 -0
  434. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts.map +1 -0
  435. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/index.d.ts +3 -0
  436. package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/index.d.ts.map +1 -0
  437. package/dist/unstyled/src/components/common/RoundedButton.d.ts +3 -0
  438. package/dist/unstyled/src/components/common/RoundedButton.d.ts.map +1 -0
  439. package/dist/unstyled/src/components/common/RunButton.css.d.ts +2 -0
  440. package/dist/unstyled/src/components/common/RunButton.css.d.ts.map +1 -0
  441. package/dist/unstyled/src/components/common/RunButton.d.ts +3 -0
  442. package/dist/unstyled/src/components/common/RunButton.d.ts.map +1 -0
  443. package/dist/unstyled/src/components/common/Stack.css.d.ts +2 -0
  444. package/dist/unstyled/src/components/common/Stack.css.d.ts.map +1 -0
  445. package/dist/unstyled/src/components/common/Stack.d.ts +7 -0
  446. package/dist/unstyled/src/components/common/Stack.d.ts.map +1 -0
  447. package/dist/unstyled/src/components/common/index.d.ts +9 -0
  448. package/dist/unstyled/src/components/common/index.d.ts.map +1 -0
  449. package/dist/unstyled/src/components/icons/index.d.ts +16 -0
  450. package/dist/unstyled/src/components/icons/index.d.ts.map +1 -0
  451. package/dist/unstyled/src/components/index.d.ts +10 -0
  452. package/dist/unstyled/src/components/index.d.ts.map +1 -0
  453. package/dist/unstyled/src/contexts/sandpackContext.d.ts +11 -0
  454. package/dist/unstyled/src/contexts/sandpackContext.d.ts.map +1 -0
  455. package/dist/unstyled/src/contexts/utils/testHelpers.d.ts +9 -0
  456. package/dist/unstyled/src/contexts/utils/testHelpers.d.ts.map +1 -0
  457. package/dist/unstyled/src/contexts/utils/useAppState.d.ts +15 -0
  458. package/dist/unstyled/src/contexts/utils/useAppState.d.ts.map +1 -0
  459. package/dist/unstyled/src/contexts/utils/useClient.d.ts +32 -0
  460. package/dist/unstyled/src/contexts/utils/useClient.d.ts.map +1 -0
  461. package/dist/unstyled/src/contexts/utils/useFiles.d.ts +41 -0
  462. package/dist/unstyled/src/contexts/utils/useFiles.d.ts.map +1 -0
  463. package/dist/unstyled/src/hooks/index.d.ts +12 -0
  464. package/dist/unstyled/src/hooks/index.d.ts.map +1 -0
  465. package/dist/unstyled/src/hooks/useActiveCode.d.ts +21 -0
  466. package/dist/unstyled/src/hooks/useActiveCode.d.ts.map +1 -0
  467. package/dist/unstyled/src/hooks/useErrorMessage.d.ts +5 -0
  468. package/dist/unstyled/src/hooks/useErrorMessage.d.ts.map +1 -0
  469. package/dist/unstyled/src/hooks/useLoadingOverlayState.d.ts +7 -0
  470. package/dist/unstyled/src/hooks/useLoadingOverlayState.d.ts.map +1 -0
  471. package/dist/unstyled/src/hooks/useSandpack.d.ts +14 -0
  472. package/dist/unstyled/src/hooks/useSandpack.d.ts.map +1 -0
  473. package/dist/unstyled/src/hooks/useSandpackClient.d.ts +23 -0
  474. package/dist/unstyled/src/hooks/useSandpackClient.d.ts.map +1 -0
  475. package/dist/unstyled/src/hooks/useSandpackNavigation.d.ts +9 -0
  476. package/dist/unstyled/src/hooks/useSandpackNavigation.d.ts.map +1 -0
  477. package/dist/unstyled/src/hooks/useSandpackPreviewProgress.d.ts +5 -0
  478. package/dist/unstyled/src/hooks/useSandpackPreviewProgress.d.ts.map +1 -0
  479. package/dist/unstyled/src/hooks/useSandpackShell.d.ts +8 -0
  480. package/dist/unstyled/src/hooks/useSandpackShell.d.ts.map +1 -0
  481. package/dist/unstyled/src/hooks/useSandpackShellStdout.d.ts +12 -0
  482. package/dist/unstyled/src/hooks/useSandpackShellStdout.d.ts.map +1 -0
  483. package/dist/unstyled/src/hooks/useSandpackTheme.d.ts +10 -0
  484. package/dist/unstyled/src/hooks/useSandpackTheme.d.ts.map +1 -0
  485. package/dist/unstyled/src/hooks/useTranspiledCode.d.ts +5 -0
  486. package/dist/unstyled/src/hooks/useTranspiledCode.d.ts.map +1 -0
  487. package/dist/unstyled/src/index.d.ts +15 -0
  488. package/dist/unstyled/src/index.d.ts.map +1 -0
  489. package/dist/unstyled/src/presets/Sandpack.css.d.ts +20 -0
  490. package/dist/unstyled/src/presets/Sandpack.css.d.ts.map +1 -0
  491. package/dist/unstyled/src/presets/Sandpack.d.ts +3 -0
  492. package/dist/unstyled/src/presets/Sandpack.d.ts.map +1 -0
  493. package/dist/unstyled/src/presets/index.d.ts +2 -0
  494. package/dist/unstyled/src/presets/index.d.ts.map +1 -0
  495. package/dist/unstyled/src/setup.jest.d.ts +2 -0
  496. package/dist/unstyled/src/setup.jest.d.ts.map +1 -0
  497. package/dist/unstyled/src/styles/__generated__/cssText.d.ts +7 -0
  498. package/dist/unstyled/src/styles/__generated__/cssText.d.ts.map +1 -0
  499. package/dist/unstyled/src/styles/constants.d.ts +10 -0
  500. package/dist/unstyled/src/styles/constants.d.ts.map +1 -0
  501. package/dist/unstyled/src/styles/getSandpackCssText.d.ts +16 -0
  502. package/dist/unstyled/src/styles/getSandpackCssText.d.ts.map +1 -0
  503. package/dist/unstyled/src/styles/index.d.ts +65 -0
  504. package/dist/unstyled/src/styles/index.d.ts.map +1 -0
  505. package/dist/unstyled/src/styles/shared.css.d.ts +22 -0
  506. package/dist/unstyled/src/styles/shared.css.d.ts.map +1 -0
  507. package/dist/unstyled/src/styles/themeContext.css.d.ts +17 -0
  508. package/dist/unstyled/src/styles/themeContext.css.d.ts.map +1 -0
  509. package/dist/unstyled/src/styles/themeContext.d.ts +21 -0
  510. package/dist/unstyled/src/styles/themeContext.d.ts.map +1 -0
  511. package/dist/unstyled/src/styles/vars.css.d.ts +98 -0
  512. package/dist/unstyled/src/styles/vars.css.d.ts.map +1 -0
  513. package/dist/unstyled/src/templates/common.d.ts +6 -0
  514. package/dist/unstyled/src/templates/common.d.ts.map +1 -0
  515. package/dist/unstyled/src/templates/index.d.ts +549 -0
  516. package/dist/unstyled/src/templates/index.d.ts.map +1 -0
  517. package/dist/unstyled/src/templates/node/astro.d.ts +22 -0
  518. package/dist/unstyled/src/templates/node/astro.d.ts.map +1 -0
  519. package/dist/unstyled/src/templates/node/nexjs.d.ts +22 -0
  520. package/dist/unstyled/src/templates/node/nexjs.d.ts.map +1 -0
  521. package/dist/unstyled/src/templates/node/node.d.ts +13 -0
  522. package/dist/unstyled/src/templates/node/node.d.ts.map +1 -0
  523. package/dist/unstyled/src/templates/node/vite-preact-ts.d.ts +34 -0
  524. package/dist/unstyled/src/templates/node/vite-preact-ts.d.ts.map +1 -0
  525. package/dist/unstyled/src/templates/node/vite-preact.d.ts +25 -0
  526. package/dist/unstyled/src/templates/node/vite-preact.d.ts.map +1 -0
  527. package/dist/unstyled/src/templates/node/vite-react-ts.d.ts +34 -0
  528. package/dist/unstyled/src/templates/node/vite-react-ts.d.ts.map +1 -0
  529. package/dist/unstyled/src/templates/node/vite-react.d.ts +25 -0
  530. package/dist/unstyled/src/templates/node/vite-react.d.ts.map +1 -0
  531. package/dist/unstyled/src/templates/node/vite-svelte-ts.d.ts +37 -0
  532. package/dist/unstyled/src/templates/node/vite-svelte-ts.d.ts.map +1 -0
  533. package/dist/unstyled/src/templates/node/vite-svelte.d.ts +25 -0
  534. package/dist/unstyled/src/templates/node/vite-svelte.d.ts.map +1 -0
  535. package/dist/unstyled/src/templates/node/vite-vue-ts.d.ts +34 -0
  536. package/dist/unstyled/src/templates/node/vite-vue-ts.d.ts.map +1 -0
  537. package/dist/unstyled/src/templates/node/vite-vue.d.ts +25 -0
  538. package/dist/unstyled/src/templates/node/vite-vue.d.ts.map +1 -0
  539. package/dist/unstyled/src/templates/node/vite.d.ts +19 -0
  540. package/dist/unstyled/src/templates/node/vite.d.ts.map +1 -0
  541. package/dist/unstyled/src/templates/runtime/angular.d.ts +31 -0
  542. package/dist/unstyled/src/templates/runtime/angular.d.ts.map +1 -0
  543. package/dist/unstyled/src/templates/runtime/react-typescript.d.ts +25 -0
  544. package/dist/unstyled/src/templates/runtime/react-typescript.d.ts.map +1 -0
  545. package/dist/unstyled/src/templates/runtime/react.d.ts +22 -0
  546. package/dist/unstyled/src/templates/runtime/react.d.ts.map +1 -0
  547. package/dist/unstyled/src/templates/runtime/solid.d.ts +22 -0
  548. package/dist/unstyled/src/templates/runtime/solid.d.ts.map +1 -0
  549. package/dist/unstyled/src/templates/runtime/svelte.d.ts +22 -0
  550. package/dist/unstyled/src/templates/runtime/svelte.d.ts.map +1 -0
  551. package/dist/unstyled/src/templates/runtime/tests-ts.d.ts +20 -0
  552. package/dist/unstyled/src/templates/runtime/tests-ts.d.ts.map +1 -0
  553. package/dist/unstyled/src/templates/runtime/vanilla-typescript.d.ts +22 -0
  554. package/dist/unstyled/src/templates/runtime/vanilla-typescript.d.ts.map +1 -0
  555. package/dist/unstyled/src/templates/runtime/vanilla.d.ts +19 -0
  556. package/dist/unstyled/src/templates/runtime/vanilla.d.ts.map +1 -0
  557. package/dist/unstyled/src/templates/runtime/vue-ts.d.ts +26 -0
  558. package/dist/unstyled/src/templates/runtime/vue-ts.d.ts.map +1 -0
  559. package/dist/unstyled/src/templates/runtime/vue.d.ts +22 -0
  560. package/dist/unstyled/src/templates/runtime/vue.d.ts.map +1 -0
  561. package/dist/unstyled/src/templates/static.d.ts +16 -0
  562. package/dist/unstyled/src/templates/static.d.ts.map +1 -0
  563. package/dist/unstyled/src/themes/index.d.ts +14 -0
  564. package/dist/unstyled/src/themes/index.d.ts.map +1 -0
  565. package/dist/unstyled/src/types.d.ts +477 -0
  566. package/dist/unstyled/src/types.d.ts.map +1 -0
  567. package/dist/unstyled/src/utils/ansi-to-react.d.ts +13 -0
  568. package/dist/unstyled/src/utils/ansi-to-react.d.ts.map +1 -0
  569. package/dist/unstyled/src/utils/array.d.ts +2 -0
  570. package/dist/unstyled/src/utils/array.d.ts.map +1 -0
  571. package/dist/unstyled/src/utils/classNames.d.ts +6 -0
  572. package/dist/unstyled/src/utils/classNames.d.ts.map +1 -0
  573. package/dist/unstyled/src/utils/createSandpackFS.d.ts +35 -0
  574. package/dist/unstyled/src/utils/createSandpackFS.d.ts.map +1 -0
  575. package/dist/unstyled/src/utils/storyHelpers.d.ts +9 -0
  576. package/dist/unstyled/src/utils/storyHelpers.d.ts.map +1 -0
  577. package/dist/unstyled/src/utils/stringUtils.d.ts +10 -0
  578. package/dist/unstyled/src/utils/stringUtils.d.ts.map +1 -0
  579. package/dist/unstyled/src/utils/useAsyncSandpackId.d.ts +9 -0
  580. package/dist/unstyled/src/utils/useAsyncSandpackId.d.ts.map +1 -0
  581. package/dist/unstyled.d.ts +1 -0
  582. package/package.json +108 -0
@@ -0,0 +1,890 @@
1
+ @keyframes shared_fadeIn__1k8iis4 {
2
+ 0% {
3
+ opacity: 0;
4
+ }
5
+ 100% {
6
+ opacity: 1;
7
+ }
8
+ }
9
+ .shared_iconStandaloneClassName__1k8iis0 svg {
10
+ margin: auto;
11
+ }
12
+ .shared_buttonClassName__1k8iis1 {
13
+ appearance: none;
14
+ outline: none;
15
+ display: flex;
16
+ align-items: center;
17
+ font-size: inherit;
18
+ font-family: inherit;
19
+ background-color: transparent;
20
+ transition: color var(--sp-transitions-default), background var(--sp-transitions-default);
21
+ cursor: pointer;
22
+ color: var(--sp-colors-clickable);
23
+ border: 0;
24
+ text-decoration: none;
25
+ }
26
+ .shared_buttonClassName__1k8iis1:disabled {
27
+ color: var(--sp-colors-disabled);
28
+ }
29
+ .shared_buttonClassName__1k8iis1:hover:not(:disabled,[data-active='true']) {
30
+ color: var(--sp-colors-hover);
31
+ }
32
+ .shared_buttonClassName__1k8iis1[data-active="true"] {
33
+ color: var(--sp-colors-accent);
34
+ }
35
+ .shared_buttonClassName__1k8iis1.shared_iconStandaloneClassName__1k8iis0 {
36
+ padding: var(--sp-space-1);
37
+ height: var(--sp-space-7);
38
+ display: flex;
39
+ }
40
+ .shared_buttonClassName__1k8iis1.shared_iconStandaloneClassName__1k8iis0.shared_buttonClassName__1k8iis1:not(:has(span)) {
41
+ width: var(--sp-space-7);
42
+ }
43
+ .shared_buttonClassName__1k8iis1.shared_iconStandaloneClassName__1k8iis0.shared_buttonClassName__1k8iis1:has(svg + span) {
44
+ padding-right: var(--sp-space-3);
45
+ padding-left: var(--sp-space-2);
46
+ gap: var(--sp-space-1);
47
+ }
48
+ .shared_buttonClassName__1k8iis1 svg {
49
+ min-width: var(--sp-space-4);
50
+ width: var(--sp-space-4);
51
+ height: var(--sp-space-4);
52
+ }
53
+ .shared_roundedButtonClassName__1k8iis2 {
54
+ background-color: var(--sp-colors-surface2);
55
+ border-radius: 99999px;
56
+ border: 1px solid var(--sp-colors-surface3);
57
+ }
58
+ .shared_roundedButtonClassName__1k8iis2[data-active="true"] {
59
+ color: var(--sp-colors-surface1);
60
+ background: var(--sp-colors-accent);
61
+ }
62
+ .shared_roundedButtonClassName__1k8iis2:hover:not(:disabled,[data-active='true']) {
63
+ background-color: var(--sp-colors-surface3);
64
+ }
65
+ .shared_iconClassName__1k8iis3 {
66
+ padding: 0;
67
+ }
68
+ .shared_absoluteClassName__1k8iis5 {
69
+ position: absolute;
70
+ bottom: 0;
71
+ left: 0;
72
+ right: 0;
73
+ top: 0;
74
+ margin: 0;
75
+ overflow: auto;
76
+ height: 100%;
77
+ z-index: var(--sp-zIndices-top);
78
+ }
79
+ .shared_errorBaseClassName__1k8iis6 {
80
+ white-space: pre-wrap;
81
+ padding: var(--sp-space-10);
82
+ background-color: var(--sp-colors-surface1);
83
+ display: flex;
84
+ gap: var(--sp-space-2);
85
+ flex-direction: column;
86
+ }
87
+ .shared_errorBaseClassName__1k8iis6 .shared_buttonClassName__1k8iis1 {
88
+ width: auto;
89
+ gap: var(--sp-space-2);
90
+ padding: 0 var(--sp-space-3) 0 var(--sp-space-2);
91
+ margin-top: var(--sp-space-1);
92
+ }
93
+ .shared_errorClassName_solidBg_true__1k8iis8 {
94
+ background-color: var(--sp-colors-errorSurface);
95
+ }
96
+ .shared_errorBundlerClassName__1k8iis9 {
97
+ padding: var(--sp-space-10);
98
+ background-color: var(--sp-colors-surface1);
99
+ }
100
+ .shared_errorBundlerClassName__1k8iis9 .shared_buttonClassName__1k8iis1 {
101
+ margin-top: var(--sp-space-6);
102
+ width: auto;
103
+ gap: var(--sp-space-2);
104
+ padding: 0 var(--sp-space-3) 0 var(--sp-space-2);
105
+ }
106
+ .shared_errorMessageBaseClassName__1k8iisa {
107
+ animation: shared_fadeIn__1k8iis4 150ms ease;
108
+ color: var(--sp-colors-error);
109
+ display: flex;
110
+ flex-direction: column;
111
+ gap: var(--sp-space-3);
112
+ }
113
+ .shared_errorMessageBaseClassName__1k8iisa a {
114
+ color: inherit;
115
+ }
116
+ .shared_errorMessageBaseClassName__1k8iisa p {
117
+ margin: 0;
118
+ }
119
+ .shared_errorMessageClassName_errorCode_true__1k8iisc {
120
+ font-family: var(--sp-font-mono);
121
+ }
122
+ .styles_placeholderClassName__1158igi0 {
123
+ margin: 0;
124
+ display: block;
125
+ font-family: var(--sp-font-mono);
126
+ font-size: var(--sp-font-size);
127
+ color: var(--sp-syntax-color-plain);
128
+ line-height: var(--sp-font-lineHeight);
129
+ }
130
+ .styles_tokensClassName__1158igi1 .sp-syntax-string {
131
+ color: var(--sp-syntax-color-string);
132
+ font-style: var(--sp-syntax-fontStyle-string);
133
+ }
134
+ .styles_tokensClassName__1158igi1 .sp-syntax-plain {
135
+ color: var(--sp-syntax-color-plain);
136
+ font-style: var(--sp-syntax-fontStyle-plain);
137
+ }
138
+ .styles_tokensClassName__1158igi1 .sp-syntax-comment {
139
+ color: var(--sp-syntax-color-comment);
140
+ font-style: var(--sp-syntax-fontStyle-comment);
141
+ }
142
+ .styles_tokensClassName__1158igi1 .sp-syntax-keyword {
143
+ color: var(--sp-syntax-color-keyword);
144
+ font-style: var(--sp-syntax-fontStyle-keyword);
145
+ }
146
+ .styles_tokensClassName__1158igi1 .sp-syntax-definition {
147
+ color: var(--sp-syntax-color-definition);
148
+ font-style: var(--sp-syntax-fontStyle-definition);
149
+ }
150
+ .styles_tokensClassName__1158igi1 .sp-syntax-punctuation {
151
+ color: var(--sp-syntax-color-punctuation);
152
+ font-style: var(--sp-syntax-fontStyle-punctuation);
153
+ }
154
+ .styles_tokensClassName__1158igi1 .sp-syntax-property {
155
+ color: var(--sp-syntax-color-property);
156
+ font-style: var(--sp-syntax-fontStyle-property);
157
+ }
158
+ .styles_tokensClassName__1158igi1 .sp-syntax-tag {
159
+ color: var(--sp-syntax-color-tag);
160
+ font-style: var(--sp-syntax-fontStyle-tag);
161
+ }
162
+ .styles_tokensClassName__1158igi1 .sp-syntax-static {
163
+ color: var(--sp-syntax-color-static);
164
+ font-style: var(--sp-syntax-fontStyle-static);
165
+ }
166
+ .styles_editorClassName__1158igi2 {
167
+ flex: 1;
168
+ position: relative;
169
+ overflow: auto;
170
+ background: var(--sp-colors-surface1);
171
+ }
172
+ .styles_editorClassName__1158igi2 .cm-scroller {
173
+ padding: var(--sp-space-4) 0;
174
+ }
175
+ .styles_editorClassName__1158igi2 .styles_placeholderClassName__1158igi0 {
176
+ padding: var(--sp-space-4) 0;
177
+ }
178
+ .styles_cmClassName__1158igi3 {
179
+ margin: 0;
180
+ outline: none;
181
+ height: 100%;
182
+ }
183
+ .styles_readOnlyClassName__1158igi4 {
184
+ font-family: var(--sp-font-mono);
185
+ font-size: 0.8em;
186
+ position: absolute;
187
+ right: var(--sp-space-2);
188
+ bottom: var(--sp-space-2);
189
+ z-index: var(--sp-zIndices-top);
190
+ color: var(--sp-colors-clickable);
191
+ background-color: var(--sp-colors-surface2);
192
+ border-radius: 99999px;
193
+ padding: calc(var(--sp-space-1) / 2) var(--sp-space-2);
194
+ }
195
+ .styles_readOnlyClassName__1158igi4 + .shared_buttonClassName__1k8iis1 {
196
+ right: calc(var(--sp-space-11) * 2);
197
+ }
198
+ @media screen and (max-width: 768px) {
199
+ @supports (-webkit-overflow-scrolling: touch) {
200
+ .styles_editorClassName__1158igi2 .cm-content {
201
+ font-size: 16px;
202
+ }
203
+ }
204
+ }
205
+ .FileExplorer_fileExplorerClassName__1pwpsvh0 {
206
+ padding: var(--sp-space-3);
207
+ overflow: auto;
208
+ height: 100%;
209
+ }
210
+ .File_explorerClassName__8d8oz50 {
211
+ border-radius: 0;
212
+ width: 100%;
213
+ padding: 0;
214
+ margin-bottom: var(--sp-space-2);
215
+ }
216
+ .File_explorerClassName__8d8oz50 span {
217
+ text-overflow: ellipsis;
218
+ white-space: nowrap;
219
+ overflow: hidden;
220
+ }
221
+ .File_explorerClassName__8d8oz50 svg {
222
+ margin-right: var(--sp-space-1);
223
+ }
224
+ .FileTabs_tabsClassName__1m6ibz50 {
225
+ border-bottom: 1px solid var(--sp-colors-surface2);
226
+ background: var(--sp-colors-surface1);
227
+ }
228
+ .FileTabs_tabsScrollableClassName__1m6ibz51 {
229
+ padding: 0 var(--sp-space-2);
230
+ overflow: auto;
231
+ display: flex;
232
+ flex-wrap: nowrap;
233
+ align-items: stretch;
234
+ min-height: 40px;
235
+ margin-bottom: -1px;
236
+ }
237
+ .FileTabs_closeButtonClassName__1m6ibz52 {
238
+ padding: 0 var(--sp-space-1) 0 var(--sp-space-1);
239
+ border-radius: var(--sp-border-radius);
240
+ margin-left: var(--sp-space-1);
241
+ width: var(--sp-space-5);
242
+ visibility: hidden;
243
+ cursor: pointer;
244
+ position: absolute;
245
+ right: 0px;
246
+ }
247
+ .FileTabs_closeButtonClassName__1m6ibz52 svg {
248
+ width: var(--sp-space-3);
249
+ height: var(--sp-space-3);
250
+ display: block;
251
+ position: relative;
252
+ top: 1px;
253
+ }
254
+ .FileTabs_tabContainer__1m6ibz53 {
255
+ display: flex;
256
+ align-items: center;
257
+ outline: none;
258
+ position: relative;
259
+ padding-right: 20px;
260
+ margin: 1px 0;
261
+ }
262
+ .FileTabs_tabContainer__1m6ibz53:has(button:focus) {
263
+ outline: var(--sp-colors-accent) auto 1px;
264
+ }
265
+ .FileTabs_tabButton__1m6ibz54 {
266
+ padding: 0 var(--sp-space-2);
267
+ height: var(--sp-layout-headerHeight);
268
+ white-space: nowrap;
269
+ }
270
+ .FileTabs_tabButton__1m6ibz54:focus {
271
+ outline: none;
272
+ }
273
+ .FileTabs_tabButton__1m6ibz54:hover ~ .FileTabs_closeButtonClassName__1m6ibz52 {
274
+ visibility: visible;
275
+ }
276
+ .Navigator_navigatorClassName__ea2c3l0 {
277
+ display: flex;
278
+ align-items: center;
279
+ height: var(--sp-layout-headerHeight);
280
+ border-bottom: 1px solid var(--sp-colors-surface2);
281
+ padding: var(--sp-space-3) var(--sp-space-2);
282
+ background: var(--sp-colors-surface1);
283
+ }
284
+ .Navigator_inputClassName__ea2c3l1 {
285
+ background-color: var(--sp-colors-surface2);
286
+ color: var(--sp-colors-clickable);
287
+ padding: var(--sp-space-1) var(--sp-space-3);
288
+ border-radius: 99999px;
289
+ border: 1px solid var(--sp-colors-surface2);
290
+ height: 24px;
291
+ line-height: 24px;
292
+ font-size: inherit;
293
+ outline: none;
294
+ flex: 1;
295
+ margin-left: var(--sp-space-4);
296
+ width: 0;
297
+ transition: background var(--sp-transitions-default);
298
+ }
299
+ .Navigator_inputClassName__ea2c3l1:hover {
300
+ background-color: var(--sp-colors-surface3);
301
+ }
302
+ .Navigator_inputClassName__ea2c3l1:focus {
303
+ background-color: var(--sp-colors-surface1);
304
+ border: 1px solid var(--sp-colors-accent);
305
+ color: var(--sp-colors-base);
306
+ }
307
+ .Navigator_navigatorButtonClassName__ea2c3l2 {
308
+ min-width: var(--sp-space-6);
309
+ justify-content: center;
310
+ }
311
+ .TranspiledCode_transpiledCodeClassName__171z4by0 {
312
+ display: flex;
313
+ flex-direction: column;
314
+ width: 100%;
315
+ position: relative;
316
+ overflow: auto;
317
+ min-height: 160px;
318
+ flex: 1;
319
+ }
320
+ .TranspiledCode_transpiledCodeClassName__171z4by0 .sp-stack {
321
+ height: 100%;
322
+ }
323
+ .themeContext_wrapperClassName__o6teyx0 {
324
+ all: initial;
325
+ font-size: var(--sp-font-size);
326
+ font-family: var(--sp-font-body);
327
+ display: block;
328
+ box-sizing: border-box;
329
+ text-rendering: optimizeLegibility;
330
+ -webkit-tap-highlight-color: transparent;
331
+ -webkit-font-smoothing: subpixel-antialiased;
332
+ }
333
+ .themeContext_wrapperClassName__o6teyx0.sp-wrapper:focus {
334
+ outline: 0;
335
+ }
336
+ .themeContext_wrapperClassName_variant_dark__o6teyx1 {
337
+ color-scheme: dark;
338
+ }
339
+ .themeContext_wrapperClassName_variant_light__o6teyx2 {
340
+ color-scheme: light;
341
+ }
342
+ .sp-wrapper * {
343
+ box-sizing: border-box;
344
+ }
345
+ @media screen and (min-resolution: 2dppx) {
346
+ .themeContext_wrapperClassName__o6teyx0 {
347
+ -webkit-font-smoothing: antialiased;
348
+ -moz-osx-font-smoothing: grayscale;
349
+ }
350
+ }
351
+ .ConsoleList_consoleItemBaseClassName__a55oje0 {
352
+ width: 100%;
353
+ padding: var(--sp-space-3) var(--sp-space-2);
354
+ font-size: .8em;
355
+ position: relative;
356
+ }
357
+ .ConsoleList_consoleItemBaseClassName__a55oje0:not(:first-child):after {
358
+ content: "";
359
+ position: absolute;
360
+ top: 0;
361
+ left: 0;
362
+ right: 0;
363
+ height: 1px;
364
+ background: var(--sp-colors-surface3);
365
+ }
366
+ .ConsoleList_consoleItemBaseClassName__a55oje0 .sp-cm {
367
+ padding: 0;
368
+ }
369
+ .ConsoleList_consoleItemBaseClassName__a55oje0 .cm-editor {
370
+ background: none;
371
+ }
372
+ .ConsoleList_consoleItemBaseClassName__a55oje0 .cm-content {
373
+ padding: 0;
374
+ }
375
+ .ConsoleList_consoleItemBaseClassName__a55oje0 .sp-pre-placeholder {
376
+ margin: 0 !important;
377
+ font-size: 1em;
378
+ }
379
+ .ConsoleList_consoleItemClassName_variant_error__a55oje2 {
380
+ color: var(--sp-colors-error);
381
+ background: var(--sp-colors-errorSurface);
382
+ }
383
+ .ConsoleList_consoleItemClassName_variant_error__a55oje2:not(:first-child):after {
384
+ background: var(--sp-colors-error);
385
+ opacity: 0.07;
386
+ }
387
+ .ConsoleList_consoleItemClassName_variant_warning__a55oje3 {
388
+ color: var(--sp-colors-warning);
389
+ background: var(--sp-colors-warningSurface);
390
+ }
391
+ .ConsoleList_consoleItemClassName_variant_warning__a55oje3:not(:first-child):after {
392
+ background: var(--sp-colors-warning);
393
+ opacity: 0.07;
394
+ }
395
+ .ConsoleList_consoleItemClassName_variant_clear__a55oje4 {
396
+ font-style: italic;
397
+ }
398
+ .SandpackConsole_consoleWrapperClassName__1rwyb0b0 {
399
+ height: 100%;
400
+ background: var(--sp-colors-surface1);
401
+ }
402
+ .SandpackConsole_consoleWrapperClassName__1rwyb0b0 iframe {
403
+ display: none;
404
+ }
405
+ .SandpackConsole_consoleWrapperClassName__1rwyb0b0 .sp-bridge-frame {
406
+ display: block;
407
+ border: 0;
408
+ position: absolute;
409
+ left: var(--sp-space-2);
410
+ bottom: var(--sp-space-2);
411
+ z-index: var(--sp-zIndices-top);
412
+ height: 12px;
413
+ width: 30%;
414
+ mix-blend-mode: multiply;
415
+ pointer-events: none;
416
+ }
417
+ .SandpackConsole_consoleListClassName__1rwyb0b1 {
418
+ overflow: auto;
419
+ scroll-behavior: smooth;
420
+ }
421
+ .SandpackConsole_consoleActionsClassName__1rwyb0b2 {
422
+ position: absolute;
423
+ bottom: var(--sp-space-2);
424
+ right: var(--sp-space-2);
425
+ display: flex;
426
+ gap: var(--sp-space-2);
427
+ }
428
+ .Header_wrapperClassName__168y0ls0 {
429
+ justify-content: space-between;
430
+ border-bottom: 1px solid var(--sp-colors-surface2);
431
+ padding: 0 var(--sp-space-2);
432
+ font-family: var(--sp-font-mono);
433
+ height: var(--sp-layout-headerHeight);
434
+ min-height: var(--sp-layout-headerHeight);
435
+ overflow-x: auto;
436
+ white-space: nowrap;
437
+ }
438
+ .Header_flexClassName__168y0ls1 {
439
+ display: flex;
440
+ flex-direction: row;
441
+ align-items: center;
442
+ gap: var(--sp-space-2);
443
+ }
444
+ .Header_headerButtonClassName__168y0ls2 {
445
+ padding: var(--sp-space-1) var(--sp-space-3);
446
+ }
447
+ .Header_headerTitleClassName__168y0ls3 {
448
+ line-height: 1;
449
+ margin: 0;
450
+ color: var(--sp-colors-base);
451
+ font-size: var(--sp-font-size);
452
+ display: flex;
453
+ align-items: center;
454
+ gap: var(--sp-space-2);
455
+ }
456
+ .Preview_previewClassName__okq46l0 {
457
+ flex: 1;
458
+ display: flex;
459
+ flex-direction: column;
460
+ background: white;
461
+ overflow: auto;
462
+ position: relative;
463
+ }
464
+ .Preview_previewClassName__okq46l0 .sp-bridge-frame {
465
+ border: 0;
466
+ position: absolute;
467
+ left: var(--sp-space-2);
468
+ bottom: var(--sp-space-2);
469
+ z-index: var(--sp-zIndices-top);
470
+ height: 12px;
471
+ width: 30%;
472
+ mix-blend-mode: multiply;
473
+ pointer-events: none;
474
+ }
475
+ .Preview_previewIframe__okq46l1 {
476
+ border: 0;
477
+ outline: 0;
478
+ width: 100%;
479
+ height: 100%;
480
+ min-height: 160px;
481
+ max-height: 2000px;
482
+ flex: 1;
483
+ }
484
+ .Preview_previewActionsClassName__okq46l2 {
485
+ display: flex;
486
+ position: absolute;
487
+ bottom: var(--sp-space-2);
488
+ right: var(--sp-space-2);
489
+ z-index: var(--sp-zIndices-overlay);
490
+ gap: var(--sp-space-2);
491
+ }
492
+ .Header_wrapperClassName__980zcy0 {
493
+ justify-content: space-between;
494
+ border-bottom: 1px solid var(--sp-colors-surface2);
495
+ padding: 0 var(--sp-space-2);
496
+ font-family: var(--sp-font-mono);
497
+ height: var(--sp-layout-headerHeight);
498
+ min-height: var(--sp-layout-headerHeight);
499
+ overflow-x: auto;
500
+ white-space: nowrap;
501
+ }
502
+ .Header_flexClassName__980zcy1 {
503
+ display: flex;
504
+ flex-direction: row;
505
+ align-items: center;
506
+ gap: var(--sp-space-2);
507
+ }
508
+ .Header_headerButtonClassName__980zcy2 {
509
+ padding: var(--sp-space-1) var(--sp-space-3);
510
+ }
511
+ .Header_headerTitleClassName__980zcy3 {
512
+ line-height: 1;
513
+ margin: 0;
514
+ color: var(--sp-colors-base);
515
+ font-size: var(--sp-font-size);
516
+ display: flex;
517
+ align-items: center;
518
+ gap: var(--sp-space-2);
519
+ }
520
+ .SandpackTests_previewActionsClassName__15f2eyn0 {
521
+ display: flex;
522
+ position: absolute;
523
+ bottom: var(--sp-space-2);
524
+ right: var(--sp-space-2);
525
+ z-index: var(--sp-zIndices-overlay);
526
+ }
527
+ .SandpackTests_previewActionsClassName__15f2eyn0 > * {
528
+ margin-left: var(--sp-space-2);
529
+ }
530
+ .SandpackTests_containerClassName__15f2eyn1 {
531
+ padding: var(--sp-space-4);
532
+ height: 100%;
533
+ overflow: auto;
534
+ display: flex;
535
+ flex-direction: column;
536
+ position: relative;
537
+ font-family: var(--sp-font-mono);
538
+ }
539
+ .SandpackTests_fileErrorContainerClassName__15f2eyn2 {
540
+ font-weight: bold;
541
+ color: var(--sp-colors-base);
542
+ }
543
+ .Describes_nameClassName__x4qg2e0 {
544
+ color: var(--sp-colors-hover);
545
+ margin-bottom: var(--sp-space-2);
546
+ }
547
+ .Describes_containerClassName__x4qg2e1 {
548
+ margin-left: var(--sp-space-4);
549
+ }
550
+ .FormattedError_containerClassName__wotmtq0 {
551
+ color: var(--sp-colors-hover);
552
+ font-size: var(--sp-font-size);
553
+ padding: var(--sp-space-2);
554
+ white-space: pre-wrap;
555
+ }
556
+ .style_color_status_pass__yw4byb1 {
557
+ color: var(--test-pass);
558
+ }
559
+ .style_color_status_fail__yw4byb2 {
560
+ color: var(--test-fail);
561
+ }
562
+ .style_color_status_skip__yw4byb3 {
563
+ color: var(--test-skip);
564
+ }
565
+ .style_color_status_title__yw4byb4 {
566
+ color: var(--test-title);
567
+ }
568
+ .style_background_status_pass__yw4byb6 {
569
+ background: var(--test-pass);
570
+ color: var(--sp-colors-surface1);
571
+ }
572
+ .style_background_status_fail__yw4byb7 {
573
+ background: var(--test-fail);
574
+ color: var(--sp-colors-surface1);
575
+ }
576
+ .style_background_status_run__yw4byb8 {
577
+ background: var(--test-run);
578
+ color: var(--sp-colors-surface1);
579
+ }
580
+ .Tests_testContainerClassName__h69kcf0 {
581
+ margin-left: var(--sp-space-4);
582
+ }
583
+ .Tests_containerClassName__h69kcf1 {
584
+ margin-bottom: var(--sp-space-2);
585
+ color: var(--sp-colors-clickable);
586
+ }
587
+ .Tests_testClassName__h69kcf2 {
588
+ margin-bottom: var(--sp-space-2);
589
+ color: var(--sp-colors-hover);
590
+ }
591
+ .Tests_durationClassName__h69kcf3 {
592
+ margin-left: var(--sp-space-2);
593
+ }
594
+ .Tests_gapRightClassName__h69kcf4 {
595
+ margin-right: var(--sp-space-2);
596
+ }
597
+ .Specs_fileContainer__bnnkgt0 {
598
+ display: flex;
599
+ flex-direction: row;
600
+ align-items: center;
601
+ margin-bottom: var(--sp-space-2);
602
+ }
603
+ .Specs_gapBottomClassName__bnnkgt1 {
604
+ margin-bottom: var(--sp-space-2);
605
+ }
606
+ .Specs_failTestClassName__bnnkgt2 {
607
+ font-weight: bold;
608
+ }
609
+ .Specs_labelClassName__bnnkgt3 {
610
+ border-radius: calc(var(--sp-border-radius) / 2);
611
+ }
612
+ .Specs_specLabelClassName__bnnkgt4 {
613
+ padding: var(--sp-space-1) var(--sp-space-2);
614
+ font-family: var(--sp-font-mono);
615
+ text-transform: uppercase;
616
+ margin-right: var(--sp-space-2);
617
+ }
618
+ .Specs_filePathButtonClassName__bnnkgt5 {
619
+ font-family: var(--sp-font-mono);
620
+ cursor: pointer;
621
+ display: inline-block;
622
+ }
623
+ .Specs_filePathClassName__bnnkgt6 {
624
+ color: var(--sp-colors-clickable);
625
+ text-decoration-style: dotted;
626
+ text-decoration-line: underline;
627
+ }
628
+ .Specs_fileNameClassName__bnnkgt7 {
629
+ color: var(--sp-colors-hover);
630
+ font-weight: bold;
631
+ text-decoration-style: dotted;
632
+ text-decoration-line: underline;
633
+ }
634
+ .Summary_gapBottomClassName__fw7v4p0 {
635
+ margin-bottom: var(--sp-space-2);
636
+ }
637
+ .Summary_labelClassName__fw7v4p1 {
638
+ font-weight: bold;
639
+ color: var(--sp-colors-hover);
640
+ white-space: pre-wrap;
641
+ }
642
+ .Summary_containerClassName__fw7v4p2 {
643
+ font-weight: bold;
644
+ color: var(--sp-colors-clickable);
645
+ }
646
+ .Stack_stackClassName__1meovy70 {
647
+ display: flex;
648
+ flex-direction: column;
649
+ width: 100%;
650
+ position: relative;
651
+ background-color: var(--sp-colors-surface1);
652
+ gap: 1px;
653
+ }
654
+ .Stack_stackClassName__1meovy70:has(.sp-stack) {
655
+ background-color: var(--sp-colors-surface2);
656
+ }
657
+ .StdoutList_consoleItemClassName__uwwcmc0 {
658
+ width: 100%;
659
+ padding: var(--sp-space-3) var(--sp-space-2);
660
+ font-size: .85em;
661
+ position: relative;
662
+ white-space: pre;
663
+ }
664
+ .StdoutList_consoleItemClassName__uwwcmc0:not(:first-child):after {
665
+ content: "";
666
+ position: absolute;
667
+ top: 0;
668
+ left: 0;
669
+ right: 0;
670
+ height: 1px;
671
+ background: var(--sp-colors-surface3);
672
+ }
673
+ @keyframes Loading_cubeRotate__1rpktzp2 {
674
+ 0% {
675
+ transform: rotateX(-25.5deg) rotateY(45deg);
676
+ }
677
+ 100% {
678
+ transform: rotateX(-25.5deg) rotateY(405deg);
679
+ }
680
+ }
681
+ .Loading_cubeClassName__1rpktzp0 {
682
+ transform: translate(-4px, 9px) scale(0.13, 0.13);
683
+ }
684
+ .Loading_cubeClassName__1rpktzp0 * {
685
+ position: absolute;
686
+ width: 96px;
687
+ height: 96px;
688
+ }
689
+ .Loading_wrapperClassName__1rpktzp1 {
690
+ position: absolute;
691
+ right: var(--sp-space-2);
692
+ bottom: var(--sp-space-2);
693
+ z-index: var(--sp-zIndices-top);
694
+ width: 32px;
695
+ height: 32px;
696
+ border-radius: var(--sp-border-radius);
697
+ }
698
+ .Loading_wrapperClassName__1rpktzp1 .Loading_cubeClassName__1rpktzp0 {
699
+ display: flex;
700
+ }
701
+ .Loading_wrapperClassName__1rpktzp1 .sp-button.shared_buttonClassName__1k8iis1 {
702
+ display: none;
703
+ }
704
+ .Loading_wrapperClassName__1rpktzp1:hover .sp-button.shared_buttonClassName__1k8iis1 {
705
+ display: flex;
706
+ }
707
+ .Loading_wrapperClassName__1rpktzp1:hover .sp-button.shared_buttonClassName__1k8iis1 > span {
708
+ display: none;
709
+ }
710
+ .Loading_wrapperClassName__1rpktzp1:hover .Loading_cubeClassName__1rpktzp0 {
711
+ display: none;
712
+ }
713
+ .Loading_sidesClassNames__1rpktzp3 {
714
+ animation: Loading_cubeRotate__1rpktzp2 1s linear infinite;
715
+ animation-fill-mode: forwards;
716
+ transform-style: preserve-3d;
717
+ transform: rotateX(-25.5deg) rotateY(45deg);
718
+ }
719
+ .Loading_sidesClassNames__1rpktzp3 * {
720
+ border: 10px solid var(--sp-colors-clickable);
721
+ border-radius: 8px;
722
+ background: var(--sp-colors-surface1);
723
+ }
724
+ .Loading_sidesClassNames__1rpktzp3 .top {
725
+ transform: rotateX(90deg) translateZ(44px);
726
+ transform-origin: 50% 50%;
727
+ }
728
+ .Loading_sidesClassNames__1rpktzp3 .bottom {
729
+ transform: rotateX(-90deg) translateZ(44px);
730
+ transform-origin: 50% 50%;
731
+ }
732
+ .Loading_sidesClassNames__1rpktzp3 .front {
733
+ transform: rotateY(0deg) translateZ(44px);
734
+ transform-origin: 50% 50%;
735
+ }
736
+ .Loading_sidesClassNames__1rpktzp3 .back {
737
+ transform: rotateY(-180deg) translateZ(44px);
738
+ transform-origin: 50% 50%;
739
+ }
740
+ .Loading_sidesClassNames__1rpktzp3 .left {
741
+ transform: rotateY(-90deg) translateZ(44px);
742
+ transform-origin: 50% 50%;
743
+ }
744
+ .Loading_sidesClassNames__1rpktzp3 .right {
745
+ transform: rotateY(90deg) translateZ(44px);
746
+ transform-origin: 50% 50%;
747
+ }
748
+ .LoadingOverlay_loadingClassName__1hjqjqt0 {
749
+ background-color: var(--sp-colors-surface1);
750
+ }
751
+ .LoadingOverlay_errorTitleClassName__1hjqjqt1 {
752
+ font-weight: bold;
753
+ }
754
+ .LoadingOverlay_stdoutPreview__1hjqjqt2 {
755
+ position: absolute;
756
+ left: 0;
757
+ right: 0;
758
+ bottom: var(--sp-space-8);
759
+ overflow: auto;
760
+ opacity: 0.5;
761
+ overflow-x: hidden;
762
+ }
763
+ .LoadingOverlay_progressClassName__1hjqjqt3 {
764
+ position: absolute;
765
+ left: var(--sp-space-5);
766
+ bottom: var(--sp-space-4);
767
+ z-index: var(--sp-zIndices-top);
768
+ color: var(--sp-colors-clickable);
769
+ animation: shared_fadeIn__1k8iis4 150ms ease;
770
+ font-family: var(--sp-font-mono);
771
+ font-size: .8em;
772
+ width: 75%;
773
+ }
774
+ .LoadingOverlay_progressClassName__1hjqjqt3 p {
775
+ white-space: nowrap;
776
+ margin: 0;
777
+ text-overflow: ellipsis;
778
+ overflow: hidden;
779
+ }
780
+ .RunButton_runButtonClassName__1n5rx6v0 {
781
+ position: absolute;
782
+ bottom: var(--sp-space-2);
783
+ right: var(--sp-space-2);
784
+ padding-right: var(--sp-space-3);
785
+ }
786
+ .DependenciesProgress_progressClassName__1la8xb60 {
787
+ position: absolute;
788
+ left: var(--sp-space-5);
789
+ bottom: var(--sp-space-4);
790
+ z-index: var(--sp-zIndices-top);
791
+ color: var(--sp-colors-clickable);
792
+ animation: shared_fadeIn__1k8iis4 150ms ease;
793
+ font-family: var(--sp-font-mono);
794
+ font-size: .8em;
795
+ width: 75%;
796
+ }
797
+ .DependenciesProgress_progressClassName__1la8xb60 p {
798
+ white-space: nowrap;
799
+ margin: 0;
800
+ text-overflow: ellipsis;
801
+ overflow: hidden;
802
+ }
803
+ .Layout_layoutClassName__2z9wg30 {
804
+ border: 1px solid var(--sp-colors-surface2);
805
+ display: flex;
806
+ flex-wrap: wrap;
807
+ align-items: stretch;
808
+ border-radius: var(--sp-border-radius);
809
+ overflow: hidden;
810
+ position: relative;
811
+ background-color: var(--sp-colors-surface2);
812
+ gap: 1px;
813
+ }
814
+ .Layout_layoutClassName__2z9wg30 > .Stack_stackClassName__1meovy70 {
815
+ flex-grow: 1;
816
+ flex-shrink: 1;
817
+ flex-basis: 0;
818
+ height: var(--sp-layout-height);
819
+ overflow: hidden;
820
+ }
821
+ .Layout_layoutClassName__2z9wg30 > .sp-file-explorer {
822
+ flex: 0.2;
823
+ min-width: 200px;
824
+ }
825
+ @media print {
826
+ .Layout_layoutClassName__2z9wg30 > .Stack_stackClassName__1meovy70 {
827
+ height: auto;
828
+ display: block;
829
+ }
830
+ }
831
+ @media screen and (max-width: 768px) {
832
+ .Layout_layoutClassName__2z9wg30 > .Stack_stackClassName__1meovy70 {
833
+ min-width: 100%;
834
+ }
835
+ .Layout_layoutClassName__2z9wg30 > .Stack_stackClassName__1meovy70:not(.sp-preview, .sp-editor, .sp-preset-column) {
836
+ height: calc(var(--sp-layout-height) / 2);
837
+ }
838
+ .Layout_layoutClassName__2z9wg30 > .sp-file-explorer {
839
+ flex: 1;
840
+ }
841
+ }
842
+ .Sandpack_dragHandler__e54iki0 {
843
+ position: absolute;
844
+ z-index: var(--sp-zIndices-top);
845
+ }
846
+ .Sandpack_dragHandler_direction_vertical__e54iki1 {
847
+ right: 0;
848
+ left: 0;
849
+ height: 10px;
850
+ cursor: ns-resize;
851
+ }
852
+ .Sandpack_dragHandler_direction_horizontal__e54iki2 {
853
+ top: 0;
854
+ bottom: 0;
855
+ width: 10px;
856
+ cursor: ew-resize;
857
+ }
858
+ .Sandpack_buttonCounter__e54iki3 {
859
+ position: relative;
860
+ }
861
+ .Sandpack_buttonCounter__e54iki3 strong {
862
+ background: var(--sp-colors-clickable);
863
+ color: var(--sp-colors-surface1);
864
+ min-width: 12px;
865
+ height: 12px;
866
+ padding: 0 2px;
867
+ border-radius: 12px;
868
+ font-size: 8px;
869
+ line-height: 12px;
870
+ position: absolute;
871
+ top: 0;
872
+ right: 0;
873
+ font-weight: normal;
874
+ }
875
+ .Sandpack_consoleWrapper__e54iki4 {
876
+ width: 100%;
877
+ overflow: hidden;
878
+ }
879
+ .Sandpack_rtlLayoutClassName__e54iki5 {
880
+ flex-direction: row-reverse;
881
+ }
882
+ @media screen and (max-width: 768px) {
883
+ .Sandpack_dragHandler__e54iki0 {
884
+ display: none;
885
+ }
886
+ .Sandpack_rtlLayoutClassName__e54iki5 {
887
+ flex-flow: wrap-reverse !important;
888
+ flex-direction: initial;
889
+ }
890
+ }