@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.
- package/README.md +60 -0
- package/dist/.ir-build-stamp.json +6 -0
- package/dist/index.d.ts +1771 -0
- package/dist/index.js +5544 -0
- package/dist/index.mjs +5440 -0
- package/dist/src/components/CodeEditor/CodeMirror.d.ts +50 -0
- package/dist/src/components/CodeEditor/CodeMirror.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/highlightDecorators.d.ts +4 -0
- package/dist/src/components/CodeEditor/highlightDecorators.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/highlightInlineError.d.ts +3 -0
- package/dist/src/components/CodeEditor/highlightInlineError.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/index.d.ts +50 -0
- package/dist/src/components/CodeEditor/index.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/languages-mocks.d.ts +9 -0
- package/dist/src/components/CodeEditor/languages-mocks.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/styles.css.d.ts +6 -0
- package/dist/src/components/CodeEditor/styles.css.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/useSyntaxHighlight.d.ts +7 -0
- package/dist/src/components/CodeEditor/useSyntaxHighlight.d.ts.map +1 -0
- package/dist/src/components/CodeEditor/utils.d.ts +16 -0
- package/dist/src/components/CodeEditor/utils.d.ts.map +1 -0
- package/dist/src/components/CodeViewer/index.d.ts +28 -0
- package/dist/src/components/CodeViewer/index.d.ts.map +1 -0
- package/dist/src/components/Console/ConsoleList.css.d.ts +29 -0
- package/dist/src/components/Console/ConsoleList.css.d.ts.map +1 -0
- package/dist/src/components/Console/ConsoleList.d.ts +6 -0
- package/dist/src/components/Console/ConsoleList.d.ts.map +1 -0
- package/dist/src/components/Console/Header.css.d.ts +5 -0
- package/dist/src/components/Console/Header.css.d.ts.map +1 -0
- package/dist/src/components/Console/Header.d.ts +7 -0
- package/dist/src/components/Console/Header.d.ts.map +1 -0
- package/dist/src/components/Console/SandpackConsole.css.d.ts +4 -0
- package/dist/src/components/Console/SandpackConsole.css.d.ts.map +1 -0
- package/dist/src/components/Console/SandpackConsole.d.ts +27 -0
- package/dist/src/components/Console/SandpackConsole.d.ts.map +1 -0
- package/dist/src/components/Console/StdoutList.css.d.ts +2 -0
- package/dist/src/components/Console/StdoutList.css.d.ts.map +1 -0
- package/dist/src/components/Console/StdoutList.d.ts +8 -0
- package/dist/src/components/Console/StdoutList.d.ts.map +1 -0
- package/dist/src/components/Console/index.d.ts +3 -0
- package/dist/src/components/Console/index.d.ts.map +1 -0
- package/dist/src/components/Console/useSandpackConsole.d.ts +16 -0
- package/dist/src/components/Console/useSandpackConsole.d.ts.map +1 -0
- package/dist/src/components/Console/utils/constraints.d.ts +14 -0
- package/dist/src/components/Console/utils/constraints.d.ts.map +1 -0
- package/dist/src/components/Console/utils/fromConsoleToString.d.ts +13 -0
- package/dist/src/components/Console/utils/fromConsoleToString.d.ts.map +1 -0
- package/dist/src/components/Console/utils/getType.d.ts +8 -0
- package/dist/src/components/Console/utils/getType.d.ts.map +1 -0
- package/dist/src/components/Console/utils/transformers.d.ts +5 -0
- package/dist/src/components/Console/utils/transformers.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/File.css.d.ts +2 -0
- package/dist/src/components/FileExplorer/File.css.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/File.d.ts +11 -0
- package/dist/src/components/FileExplorer/File.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/FileExplorer.css.d.ts +2 -0
- package/dist/src/components/FileExplorer/FileExplorer.css.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/ModuleList.d.ts +25 -0
- package/dist/src/components/FileExplorer/ModuleList.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/index.d.ts +13 -0
- package/dist/src/components/FileExplorer/index.d.ts.map +1 -0
- package/dist/src/components/FileExplorer/utils.d.ts +17 -0
- package/dist/src/components/FileExplorer/utils.d.ts.map +1 -0
- package/dist/src/components/FileTabs/FileTabs.css.d.ts +6 -0
- package/dist/src/components/FileTabs/FileTabs.css.d.ts.map +1 -0
- package/dist/src/components/FileTabs/index.d.ts +19 -0
- package/dist/src/components/FileTabs/index.d.ts.map +1 -0
- package/dist/src/components/Navigator/Navigator.css.d.ts +4 -0
- package/dist/src/components/Navigator/Navigator.css.d.ts.map +1 -0
- package/dist/src/components/Navigator/index.d.ts +8 -0
- package/dist/src/components/Navigator/index.d.ts.map +1 -0
- package/dist/src/components/Navigator/utils.d.ts +2 -0
- package/dist/src/components/Navigator/utils.d.ts.map +1 -0
- package/dist/src/components/Preview/Preview.css.d.ts +4 -0
- package/dist/src/components/Preview/Preview.css.d.ts.map +1 -0
- package/dist/src/components/Preview/index.d.ts +31 -0
- package/dist/src/components/Preview/index.d.ts.map +1 -0
- package/dist/src/components/ReactDevTools/ReactDevTools.css.d.ts +2 -0
- package/dist/src/components/ReactDevTools/ReactDevTools.css.d.ts.map +1 -0
- package/dist/src/components/ReactDevTools/index.d.ts +8 -0
- package/dist/src/components/ReactDevTools/index.d.ts.map +1 -0
- package/dist/src/components/Tests/Describes.css.d.ts +3 -0
- package/dist/src/components/Tests/Describes.css.d.ts.map +1 -0
- package/dist/src/components/Tests/Describes.d.ts +11 -0
- package/dist/src/components/Tests/Describes.d.ts.map +1 -0
- package/dist/src/components/Tests/FormattedError.css.d.ts +2 -0
- package/dist/src/components/Tests/FormattedError.css.d.ts.map +1 -0
- package/dist/src/components/Tests/FormattedError.d.ts +9 -0
- package/dist/src/components/Tests/FormattedError.d.ts.map +1 -0
- package/dist/src/components/Tests/Header.css.d.ts +5 -0
- package/dist/src/components/Tests/Header.css.d.ts.map +1 -0
- package/dist/src/components/Tests/Header.d.ts +18 -0
- package/dist/src/components/Tests/Header.d.ts.map +1 -0
- package/dist/src/components/Tests/RunButton.d.ts +5 -0
- package/dist/src/components/Tests/RunButton.d.ts.map +1 -0
- package/dist/src/components/Tests/SandpackTests.css.d.ts +4 -0
- package/dist/src/components/Tests/SandpackTests.css.d.ts.map +1 -0
- package/dist/src/components/Tests/SandpackTests.d.ts +18 -0
- package/dist/src/components/Tests/SandpackTests.d.ts.map +1 -0
- package/dist/src/components/Tests/Specs.css.d.ts +9 -0
- package/dist/src/components/Tests/Specs.css.d.ts.map +1 -0
- package/dist/src/components/Tests/Specs.d.ts +17 -0
- package/dist/src/components/Tests/Specs.d.ts.map +1 -0
- package/dist/src/components/Tests/Summary.css.d.ts +4 -0
- package/dist/src/components/Tests/Summary.css.d.ts.map +1 -0
- package/dist/src/components/Tests/Summary.d.ts +20 -0
- package/dist/src/components/Tests/Summary.d.ts.map +1 -0
- package/dist/src/components/Tests/Tests.css.d.ts +6 -0
- package/dist/src/components/Tests/Tests.css.d.ts.map +1 -0
- package/dist/src/components/Tests/Tests.d.ts +17 -0
- package/dist/src/components/Tests/Tests.d.ts.map +1 -0
- package/dist/src/components/Tests/index.d.ts +2 -0
- package/dist/src/components/Tests/index.d.ts.map +1 -0
- package/dist/src/components/Tests/style.css.d.ts +8 -0
- package/dist/src/components/Tests/style.css.d.ts.map +1 -0
- package/dist/src/components/Tests/style.d.ts +3 -0
- package/dist/src/components/Tests/style.d.ts.map +1 -0
- package/dist/src/components/Tests/utils.d.ts +14 -0
- package/dist/src/components/Tests/utils.d.ts.map +1 -0
- package/dist/src/components/TranspiledCode/TranspiledCode.css.d.ts +2 -0
- package/dist/src/components/TranspiledCode/TranspiledCode.css.d.ts.map +1 -0
- package/dist/src/components/TranspiledCode/index.d.ts +4 -0
- package/dist/src/components/TranspiledCode/index.d.ts.map +1 -0
- package/dist/src/components/common/DependenciesProgress.css.d.ts +2 -0
- package/dist/src/components/common/DependenciesProgress.css.d.ts.map +1 -0
- package/dist/src/components/common/DependenciesProgress.d.ts +4 -0
- package/dist/src/components/common/DependenciesProgress.d.ts.map +1 -0
- package/dist/src/components/common/ErrorOverlay.d.ts +6 -0
- package/dist/src/components/common/ErrorOverlay.d.ts.map +1 -0
- package/dist/src/components/common/Layout.css.d.ts +2 -0
- package/dist/src/components/common/Layout.css.d.ts.map +1 -0
- package/dist/src/components/common/Layout.d.ts +8 -0
- package/dist/src/components/common/Layout.d.ts.map +1 -0
- package/dist/src/components/common/Loading.css.d.ts +4 -0
- package/dist/src/components/common/Loading.css.d.ts.map +1 -0
- package/dist/src/components/common/Loading.d.ts +5 -0
- package/dist/src/components/common/Loading.d.ts.map +1 -0
- package/dist/src/components/common/LoadingOverlay.css.d.ts +5 -0
- package/dist/src/components/common/LoadingOverlay.css.d.ts.map +1 -0
- package/dist/src/components/common/LoadingOverlay.d.ts +12 -0
- package/dist/src/components/common/LoadingOverlay.d.ts.map +1 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts +3 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts.map +1 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts +7 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts.map +1 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/index.d.ts +3 -0
- package/dist/src/components/common/OpenInCodeSandboxButton/index.d.ts.map +1 -0
- package/dist/src/components/common/RoundedButton.d.ts +3 -0
- package/dist/src/components/common/RoundedButton.d.ts.map +1 -0
- package/dist/src/components/common/RunButton.css.d.ts +2 -0
- package/dist/src/components/common/RunButton.css.d.ts.map +1 -0
- package/dist/src/components/common/RunButton.d.ts +3 -0
- package/dist/src/components/common/RunButton.d.ts.map +1 -0
- package/dist/src/components/common/Stack.css.d.ts +2 -0
- package/dist/src/components/common/Stack.css.d.ts.map +1 -0
- package/dist/src/components/common/Stack.d.ts +7 -0
- package/dist/src/components/common/Stack.d.ts.map +1 -0
- package/dist/src/components/common/index.d.ts +9 -0
- package/dist/src/components/common/index.d.ts.map +1 -0
- package/dist/src/components/icons/index.d.ts +16 -0
- package/dist/src/components/icons/index.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +10 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/contexts/sandpackContext.d.ts +11 -0
- package/dist/src/contexts/sandpackContext.d.ts.map +1 -0
- package/dist/src/contexts/utils/testHelpers.d.ts +9 -0
- package/dist/src/contexts/utils/testHelpers.d.ts.map +1 -0
- package/dist/src/contexts/utils/useAppState.d.ts +15 -0
- package/dist/src/contexts/utils/useAppState.d.ts.map +1 -0
- package/dist/src/contexts/utils/useClient.d.ts +32 -0
- package/dist/src/contexts/utils/useClient.d.ts.map +1 -0
- package/dist/src/contexts/utils/useFiles.d.ts +41 -0
- package/dist/src/contexts/utils/useFiles.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +12 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/useActiveCode.d.ts +21 -0
- package/dist/src/hooks/useActiveCode.d.ts.map +1 -0
- package/dist/src/hooks/useErrorMessage.d.ts +5 -0
- package/dist/src/hooks/useErrorMessage.d.ts.map +1 -0
- package/dist/src/hooks/useLoadingOverlayState.d.ts +7 -0
- package/dist/src/hooks/useLoadingOverlayState.d.ts.map +1 -0
- package/dist/src/hooks/useSandpack.d.ts +14 -0
- package/dist/src/hooks/useSandpack.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackClient.d.ts +23 -0
- package/dist/src/hooks/useSandpackClient.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackNavigation.d.ts +9 -0
- package/dist/src/hooks/useSandpackNavigation.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackPreviewProgress.d.ts +5 -0
- package/dist/src/hooks/useSandpackPreviewProgress.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackShell.d.ts +8 -0
- package/dist/src/hooks/useSandpackShell.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackShellStdout.d.ts +12 -0
- package/dist/src/hooks/useSandpackShellStdout.d.ts.map +1 -0
- package/dist/src/hooks/useSandpackTheme.d.ts +10 -0
- package/dist/src/hooks/useSandpackTheme.d.ts.map +1 -0
- package/dist/src/hooks/useTranspiledCode.d.ts +5 -0
- package/dist/src/hooks/useTranspiledCode.d.ts.map +1 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/presets/Sandpack.css.d.ts +20 -0
- package/dist/src/presets/Sandpack.css.d.ts.map +1 -0
- package/dist/src/presets/Sandpack.d.ts +3 -0
- package/dist/src/presets/Sandpack.d.ts.map +1 -0
- package/dist/src/presets/index.d.ts +2 -0
- package/dist/src/presets/index.d.ts.map +1 -0
- package/dist/src/setup.jest.d.ts +2 -0
- package/dist/src/setup.jest.d.ts.map +1 -0
- package/dist/src/styles/__generated__/cssText.d.ts +7 -0
- package/dist/src/styles/__generated__/cssText.d.ts.map +1 -0
- package/dist/src/styles/constants.d.ts +10 -0
- package/dist/src/styles/constants.d.ts.map +1 -0
- package/dist/src/styles/getSandpackCssText.d.ts +16 -0
- package/dist/src/styles/getSandpackCssText.d.ts.map +1 -0
- package/dist/src/styles/index.d.ts +65 -0
- package/dist/src/styles/index.d.ts.map +1 -0
- package/dist/src/styles/shared.css.d.ts +22 -0
- package/dist/src/styles/shared.css.d.ts.map +1 -0
- package/dist/src/styles/themeContext.css.d.ts +17 -0
- package/dist/src/styles/themeContext.css.d.ts.map +1 -0
- package/dist/src/styles/themeContext.d.ts +21 -0
- package/dist/src/styles/themeContext.d.ts.map +1 -0
- package/dist/src/styles/vars.css.d.ts +98 -0
- package/dist/src/styles/vars.css.d.ts.map +1 -0
- package/dist/src/templates/common.d.ts +6 -0
- package/dist/src/templates/common.d.ts.map +1 -0
- package/dist/src/templates/index.d.ts +549 -0
- package/dist/src/templates/index.d.ts.map +1 -0
- package/dist/src/templates/node/astro.d.ts +22 -0
- package/dist/src/templates/node/astro.d.ts.map +1 -0
- package/dist/src/templates/node/nexjs.d.ts +22 -0
- package/dist/src/templates/node/nexjs.d.ts.map +1 -0
- package/dist/src/templates/node/node.d.ts +13 -0
- package/dist/src/templates/node/node.d.ts.map +1 -0
- package/dist/src/templates/node/vite-preact-ts.d.ts +34 -0
- package/dist/src/templates/node/vite-preact-ts.d.ts.map +1 -0
- package/dist/src/templates/node/vite-preact.d.ts +25 -0
- package/dist/src/templates/node/vite-preact.d.ts.map +1 -0
- package/dist/src/templates/node/vite-react-ts.d.ts +34 -0
- package/dist/src/templates/node/vite-react-ts.d.ts.map +1 -0
- package/dist/src/templates/node/vite-react.d.ts +25 -0
- package/dist/src/templates/node/vite-react.d.ts.map +1 -0
- package/dist/src/templates/node/vite-svelte-ts.d.ts +37 -0
- package/dist/src/templates/node/vite-svelte-ts.d.ts.map +1 -0
- package/dist/src/templates/node/vite-svelte.d.ts +25 -0
- package/dist/src/templates/node/vite-svelte.d.ts.map +1 -0
- package/dist/src/templates/node/vite-vue-ts.d.ts +34 -0
- package/dist/src/templates/node/vite-vue-ts.d.ts.map +1 -0
- package/dist/src/templates/node/vite-vue.d.ts +25 -0
- package/dist/src/templates/node/vite-vue.d.ts.map +1 -0
- package/dist/src/templates/node/vite.d.ts +19 -0
- package/dist/src/templates/node/vite.d.ts.map +1 -0
- package/dist/src/templates/runtime/angular.d.ts +31 -0
- package/dist/src/templates/runtime/angular.d.ts.map +1 -0
- package/dist/src/templates/runtime/react-typescript.d.ts +25 -0
- package/dist/src/templates/runtime/react-typescript.d.ts.map +1 -0
- package/dist/src/templates/runtime/react.d.ts +22 -0
- package/dist/src/templates/runtime/react.d.ts.map +1 -0
- package/dist/src/templates/runtime/solid.d.ts +22 -0
- package/dist/src/templates/runtime/solid.d.ts.map +1 -0
- package/dist/src/templates/runtime/svelte.d.ts +22 -0
- package/dist/src/templates/runtime/svelte.d.ts.map +1 -0
- package/dist/src/templates/runtime/tests-ts.d.ts +20 -0
- package/dist/src/templates/runtime/tests-ts.d.ts.map +1 -0
- package/dist/src/templates/runtime/vanilla-typescript.d.ts +22 -0
- package/dist/src/templates/runtime/vanilla-typescript.d.ts.map +1 -0
- package/dist/src/templates/runtime/vanilla.d.ts +19 -0
- package/dist/src/templates/runtime/vanilla.d.ts.map +1 -0
- package/dist/src/templates/runtime/vue-ts.d.ts +26 -0
- package/dist/src/templates/runtime/vue-ts.d.ts.map +1 -0
- package/dist/src/templates/runtime/vue.d.ts +22 -0
- package/dist/src/templates/runtime/vue.d.ts.map +1 -0
- package/dist/src/templates/static.d.ts +16 -0
- package/dist/src/templates/static.d.ts.map +1 -0
- package/dist/src/themes/index.d.ts +14 -0
- package/dist/src/themes/index.d.ts.map +1 -0
- package/dist/src/types.d.ts +477 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/utils/ansi-to-react.d.ts +13 -0
- package/dist/src/utils/ansi-to-react.d.ts.map +1 -0
- package/dist/src/utils/array.d.ts +2 -0
- package/dist/src/utils/array.d.ts.map +1 -0
- package/dist/src/utils/classNames.d.ts +6 -0
- package/dist/src/utils/classNames.d.ts.map +1 -0
- package/dist/src/utils/createSandpackFS.d.ts +35 -0
- package/dist/src/utils/createSandpackFS.d.ts.map +1 -0
- package/dist/src/utils/storyHelpers.d.ts +9 -0
- package/dist/src/utils/storyHelpers.d.ts.map +1 -0
- package/dist/src/utils/stringUtils.d.ts +10 -0
- package/dist/src/utils/stringUtils.d.ts.map +1 -0
- package/dist/src/utils/useAsyncSandpackId.d.ts +9 -0
- package/dist/src/utils/useAsyncSandpackId.d.ts.map +1 -0
- package/dist/styles.css +890 -0
- package/dist/unstyled/index.js +5942 -0
- package/dist/unstyled/index.mjs +5838 -0
- package/dist/unstyled/src/components/CodeEditor/CodeMirror.d.ts +50 -0
- package/dist/unstyled/src/components/CodeEditor/CodeMirror.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/highlightDecorators.d.ts +4 -0
- package/dist/unstyled/src/components/CodeEditor/highlightDecorators.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/highlightInlineError.d.ts +3 -0
- package/dist/unstyled/src/components/CodeEditor/highlightInlineError.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/index.d.ts +50 -0
- package/dist/unstyled/src/components/CodeEditor/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/languages-mocks.d.ts +9 -0
- package/dist/unstyled/src/components/CodeEditor/languages-mocks.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/styles.css.d.ts +6 -0
- package/dist/unstyled/src/components/CodeEditor/styles.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/useSyntaxHighlight.d.ts +7 -0
- package/dist/unstyled/src/components/CodeEditor/useSyntaxHighlight.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeEditor/utils.d.ts +16 -0
- package/dist/unstyled/src/components/CodeEditor/utils.d.ts.map +1 -0
- package/dist/unstyled/src/components/CodeViewer/index.d.ts +28 -0
- package/dist/unstyled/src/components/CodeViewer/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/ConsoleList.css.d.ts +29 -0
- package/dist/unstyled/src/components/Console/ConsoleList.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/ConsoleList.d.ts +6 -0
- package/dist/unstyled/src/components/Console/ConsoleList.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/Header.css.d.ts +5 -0
- package/dist/unstyled/src/components/Console/Header.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/Header.d.ts +7 -0
- package/dist/unstyled/src/components/Console/Header.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/SandpackConsole.css.d.ts +4 -0
- package/dist/unstyled/src/components/Console/SandpackConsole.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/SandpackConsole.d.ts +27 -0
- package/dist/unstyled/src/components/Console/SandpackConsole.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/StdoutList.css.d.ts +2 -0
- package/dist/unstyled/src/components/Console/StdoutList.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/StdoutList.d.ts +8 -0
- package/dist/unstyled/src/components/Console/StdoutList.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/index.d.ts +3 -0
- package/dist/unstyled/src/components/Console/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/useSandpackConsole.d.ts +16 -0
- package/dist/unstyled/src/components/Console/useSandpackConsole.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/utils/constraints.d.ts +14 -0
- package/dist/unstyled/src/components/Console/utils/constraints.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/utils/fromConsoleToString.d.ts +13 -0
- package/dist/unstyled/src/components/Console/utils/fromConsoleToString.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/utils/getType.d.ts +8 -0
- package/dist/unstyled/src/components/Console/utils/getType.d.ts.map +1 -0
- package/dist/unstyled/src/components/Console/utils/transformers.d.ts +5 -0
- package/dist/unstyled/src/components/Console/utils/transformers.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/File.css.d.ts +2 -0
- package/dist/unstyled/src/components/FileExplorer/File.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/File.d.ts +11 -0
- package/dist/unstyled/src/components/FileExplorer/File.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/FileExplorer.css.d.ts +2 -0
- package/dist/unstyled/src/components/FileExplorer/FileExplorer.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/ModuleList.d.ts +25 -0
- package/dist/unstyled/src/components/FileExplorer/ModuleList.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/index.d.ts +13 -0
- package/dist/unstyled/src/components/FileExplorer/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileExplorer/utils.d.ts +17 -0
- package/dist/unstyled/src/components/FileExplorer/utils.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileTabs/FileTabs.css.d.ts +6 -0
- package/dist/unstyled/src/components/FileTabs/FileTabs.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/FileTabs/index.d.ts +19 -0
- package/dist/unstyled/src/components/FileTabs/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Navigator/Navigator.css.d.ts +4 -0
- package/dist/unstyled/src/components/Navigator/Navigator.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Navigator/index.d.ts +8 -0
- package/dist/unstyled/src/components/Navigator/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Navigator/utils.d.ts +2 -0
- package/dist/unstyled/src/components/Navigator/utils.d.ts.map +1 -0
- package/dist/unstyled/src/components/Preview/Preview.css.d.ts +4 -0
- package/dist/unstyled/src/components/Preview/Preview.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Preview/index.d.ts +31 -0
- package/dist/unstyled/src/components/Preview/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/ReactDevTools/ReactDevTools.css.d.ts +2 -0
- package/dist/unstyled/src/components/ReactDevTools/ReactDevTools.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/ReactDevTools/index.d.ts +8 -0
- package/dist/unstyled/src/components/ReactDevTools/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Describes.css.d.ts +3 -0
- package/dist/unstyled/src/components/Tests/Describes.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Describes.d.ts +11 -0
- package/dist/unstyled/src/components/Tests/Describes.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/FormattedError.css.d.ts +2 -0
- package/dist/unstyled/src/components/Tests/FormattedError.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/FormattedError.d.ts +9 -0
- package/dist/unstyled/src/components/Tests/FormattedError.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Header.css.d.ts +5 -0
- package/dist/unstyled/src/components/Tests/Header.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Header.d.ts +18 -0
- package/dist/unstyled/src/components/Tests/Header.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/RunButton.d.ts +5 -0
- package/dist/unstyled/src/components/Tests/RunButton.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/SandpackTests.css.d.ts +4 -0
- package/dist/unstyled/src/components/Tests/SandpackTests.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/SandpackTests.d.ts +18 -0
- package/dist/unstyled/src/components/Tests/SandpackTests.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Specs.css.d.ts +9 -0
- package/dist/unstyled/src/components/Tests/Specs.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Specs.d.ts +17 -0
- package/dist/unstyled/src/components/Tests/Specs.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Summary.css.d.ts +4 -0
- package/dist/unstyled/src/components/Tests/Summary.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Summary.d.ts +20 -0
- package/dist/unstyled/src/components/Tests/Summary.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Tests.css.d.ts +6 -0
- package/dist/unstyled/src/components/Tests/Tests.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/Tests.d.ts +17 -0
- package/dist/unstyled/src/components/Tests/Tests.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/index.d.ts +2 -0
- package/dist/unstyled/src/components/Tests/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/style.css.d.ts +8 -0
- package/dist/unstyled/src/components/Tests/style.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/style.d.ts +3 -0
- package/dist/unstyled/src/components/Tests/style.d.ts.map +1 -0
- package/dist/unstyled/src/components/Tests/utils.d.ts +14 -0
- package/dist/unstyled/src/components/Tests/utils.d.ts.map +1 -0
- package/dist/unstyled/src/components/TranspiledCode/TranspiledCode.css.d.ts +2 -0
- package/dist/unstyled/src/components/TranspiledCode/TranspiledCode.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/TranspiledCode/index.d.ts +4 -0
- package/dist/unstyled/src/components/TranspiledCode/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/DependenciesProgress.css.d.ts +2 -0
- package/dist/unstyled/src/components/common/DependenciesProgress.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/DependenciesProgress.d.ts +4 -0
- package/dist/unstyled/src/components/common/DependenciesProgress.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/ErrorOverlay.d.ts +6 -0
- package/dist/unstyled/src/components/common/ErrorOverlay.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Layout.css.d.ts +2 -0
- package/dist/unstyled/src/components/common/Layout.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Layout.d.ts +8 -0
- package/dist/unstyled/src/components/common/Layout.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Loading.css.d.ts +4 -0
- package/dist/unstyled/src/components/common/Loading.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Loading.d.ts +5 -0
- package/dist/unstyled/src/components/common/Loading.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/LoadingOverlay.css.d.ts +5 -0
- package/dist/unstyled/src/components/common/LoadingOverlay.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/LoadingOverlay.d.ts +12 -0
- package/dist/unstyled/src/components/common/LoadingOverlay.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts +3 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/OpenInCodeSandboxButton.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts +7 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/index.d.ts +3 -0
- package/dist/unstyled/src/components/common/OpenInCodeSandboxButton/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/RoundedButton.d.ts +3 -0
- package/dist/unstyled/src/components/common/RoundedButton.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/RunButton.css.d.ts +2 -0
- package/dist/unstyled/src/components/common/RunButton.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/RunButton.d.ts +3 -0
- package/dist/unstyled/src/components/common/RunButton.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Stack.css.d.ts +2 -0
- package/dist/unstyled/src/components/common/Stack.css.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/Stack.d.ts +7 -0
- package/dist/unstyled/src/components/common/Stack.d.ts.map +1 -0
- package/dist/unstyled/src/components/common/index.d.ts +9 -0
- package/dist/unstyled/src/components/common/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/icons/index.d.ts +16 -0
- package/dist/unstyled/src/components/icons/index.d.ts.map +1 -0
- package/dist/unstyled/src/components/index.d.ts +10 -0
- package/dist/unstyled/src/components/index.d.ts.map +1 -0
- package/dist/unstyled/src/contexts/sandpackContext.d.ts +11 -0
- package/dist/unstyled/src/contexts/sandpackContext.d.ts.map +1 -0
- package/dist/unstyled/src/contexts/utils/testHelpers.d.ts +9 -0
- package/dist/unstyled/src/contexts/utils/testHelpers.d.ts.map +1 -0
- package/dist/unstyled/src/contexts/utils/useAppState.d.ts +15 -0
- package/dist/unstyled/src/contexts/utils/useAppState.d.ts.map +1 -0
- package/dist/unstyled/src/contexts/utils/useClient.d.ts +32 -0
- package/dist/unstyled/src/contexts/utils/useClient.d.ts.map +1 -0
- package/dist/unstyled/src/contexts/utils/useFiles.d.ts +41 -0
- package/dist/unstyled/src/contexts/utils/useFiles.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/index.d.ts +12 -0
- package/dist/unstyled/src/hooks/index.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useActiveCode.d.ts +21 -0
- package/dist/unstyled/src/hooks/useActiveCode.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useErrorMessage.d.ts +5 -0
- package/dist/unstyled/src/hooks/useErrorMessage.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useLoadingOverlayState.d.ts +7 -0
- package/dist/unstyled/src/hooks/useLoadingOverlayState.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpack.d.ts +14 -0
- package/dist/unstyled/src/hooks/useSandpack.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackClient.d.ts +23 -0
- package/dist/unstyled/src/hooks/useSandpackClient.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackNavigation.d.ts +9 -0
- package/dist/unstyled/src/hooks/useSandpackNavigation.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackPreviewProgress.d.ts +5 -0
- package/dist/unstyled/src/hooks/useSandpackPreviewProgress.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackShell.d.ts +8 -0
- package/dist/unstyled/src/hooks/useSandpackShell.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackShellStdout.d.ts +12 -0
- package/dist/unstyled/src/hooks/useSandpackShellStdout.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useSandpackTheme.d.ts +10 -0
- package/dist/unstyled/src/hooks/useSandpackTheme.d.ts.map +1 -0
- package/dist/unstyled/src/hooks/useTranspiledCode.d.ts +5 -0
- package/dist/unstyled/src/hooks/useTranspiledCode.d.ts.map +1 -0
- package/dist/unstyled/src/index.d.ts +15 -0
- package/dist/unstyled/src/index.d.ts.map +1 -0
- package/dist/unstyled/src/presets/Sandpack.css.d.ts +20 -0
- package/dist/unstyled/src/presets/Sandpack.css.d.ts.map +1 -0
- package/dist/unstyled/src/presets/Sandpack.d.ts +3 -0
- package/dist/unstyled/src/presets/Sandpack.d.ts.map +1 -0
- package/dist/unstyled/src/presets/index.d.ts +2 -0
- package/dist/unstyled/src/presets/index.d.ts.map +1 -0
- package/dist/unstyled/src/setup.jest.d.ts +2 -0
- package/dist/unstyled/src/setup.jest.d.ts.map +1 -0
- package/dist/unstyled/src/styles/__generated__/cssText.d.ts +7 -0
- package/dist/unstyled/src/styles/__generated__/cssText.d.ts.map +1 -0
- package/dist/unstyled/src/styles/constants.d.ts +10 -0
- package/dist/unstyled/src/styles/constants.d.ts.map +1 -0
- package/dist/unstyled/src/styles/getSandpackCssText.d.ts +16 -0
- package/dist/unstyled/src/styles/getSandpackCssText.d.ts.map +1 -0
- package/dist/unstyled/src/styles/index.d.ts +65 -0
- package/dist/unstyled/src/styles/index.d.ts.map +1 -0
- package/dist/unstyled/src/styles/shared.css.d.ts +22 -0
- package/dist/unstyled/src/styles/shared.css.d.ts.map +1 -0
- package/dist/unstyled/src/styles/themeContext.css.d.ts +17 -0
- package/dist/unstyled/src/styles/themeContext.css.d.ts.map +1 -0
- package/dist/unstyled/src/styles/themeContext.d.ts +21 -0
- package/dist/unstyled/src/styles/themeContext.d.ts.map +1 -0
- package/dist/unstyled/src/styles/vars.css.d.ts +98 -0
- package/dist/unstyled/src/styles/vars.css.d.ts.map +1 -0
- package/dist/unstyled/src/templates/common.d.ts +6 -0
- package/dist/unstyled/src/templates/common.d.ts.map +1 -0
- package/dist/unstyled/src/templates/index.d.ts +549 -0
- package/dist/unstyled/src/templates/index.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/astro.d.ts +22 -0
- package/dist/unstyled/src/templates/node/astro.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/nexjs.d.ts +22 -0
- package/dist/unstyled/src/templates/node/nexjs.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/node.d.ts +13 -0
- package/dist/unstyled/src/templates/node/node.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-preact-ts.d.ts +34 -0
- package/dist/unstyled/src/templates/node/vite-preact-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-preact.d.ts +25 -0
- package/dist/unstyled/src/templates/node/vite-preact.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-react-ts.d.ts +34 -0
- package/dist/unstyled/src/templates/node/vite-react-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-react.d.ts +25 -0
- package/dist/unstyled/src/templates/node/vite-react.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-svelte-ts.d.ts +37 -0
- package/dist/unstyled/src/templates/node/vite-svelte-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-svelte.d.ts +25 -0
- package/dist/unstyled/src/templates/node/vite-svelte.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-vue-ts.d.ts +34 -0
- package/dist/unstyled/src/templates/node/vite-vue-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite-vue.d.ts +25 -0
- package/dist/unstyled/src/templates/node/vite-vue.d.ts.map +1 -0
- package/dist/unstyled/src/templates/node/vite.d.ts +19 -0
- package/dist/unstyled/src/templates/node/vite.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/angular.d.ts +31 -0
- package/dist/unstyled/src/templates/runtime/angular.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/react-typescript.d.ts +25 -0
- package/dist/unstyled/src/templates/runtime/react-typescript.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/react.d.ts +22 -0
- package/dist/unstyled/src/templates/runtime/react.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/solid.d.ts +22 -0
- package/dist/unstyled/src/templates/runtime/solid.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/svelte.d.ts +22 -0
- package/dist/unstyled/src/templates/runtime/svelte.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/tests-ts.d.ts +20 -0
- package/dist/unstyled/src/templates/runtime/tests-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/vanilla-typescript.d.ts +22 -0
- package/dist/unstyled/src/templates/runtime/vanilla-typescript.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/vanilla.d.ts +19 -0
- package/dist/unstyled/src/templates/runtime/vanilla.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/vue-ts.d.ts +26 -0
- package/dist/unstyled/src/templates/runtime/vue-ts.d.ts.map +1 -0
- package/dist/unstyled/src/templates/runtime/vue.d.ts +22 -0
- package/dist/unstyled/src/templates/runtime/vue.d.ts.map +1 -0
- package/dist/unstyled/src/templates/static.d.ts +16 -0
- package/dist/unstyled/src/templates/static.d.ts.map +1 -0
- package/dist/unstyled/src/themes/index.d.ts +14 -0
- package/dist/unstyled/src/themes/index.d.ts.map +1 -0
- package/dist/unstyled/src/types.d.ts +477 -0
- package/dist/unstyled/src/types.d.ts.map +1 -0
- package/dist/unstyled/src/utils/ansi-to-react.d.ts +13 -0
- package/dist/unstyled/src/utils/ansi-to-react.d.ts.map +1 -0
- package/dist/unstyled/src/utils/array.d.ts +2 -0
- package/dist/unstyled/src/utils/array.d.ts.map +1 -0
- package/dist/unstyled/src/utils/classNames.d.ts +6 -0
- package/dist/unstyled/src/utils/classNames.d.ts.map +1 -0
- package/dist/unstyled/src/utils/createSandpackFS.d.ts +35 -0
- package/dist/unstyled/src/utils/createSandpackFS.d.ts.map +1 -0
- package/dist/unstyled/src/utils/storyHelpers.d.ts +9 -0
- package/dist/unstyled/src/utils/storyHelpers.d.ts.map +1 -0
- package/dist/unstyled/src/utils/stringUtils.d.ts +10 -0
- package/dist/unstyled/src/utils/stringUtils.d.ts.map +1 -0
- package/dist/unstyled/src/utils/useAsyncSandpackId.d.ts +9 -0
- package/dist/unstyled/src/utils/useAsyncSandpackId.d.ts.map +1 -0
- package/dist/unstyled.d.ts +1 -0
- package/package.json +108 -0
package/dist/styles.css
ADDED
|
@@ -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
|
+
}
|