deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
@@ -0,0 +1,4 @@
/// <reference types="react" />
export declare const DependenciesProgress: React.FC<{
clientId?: string;
}>;
@@ -0,0 +1,5 @@
import * as React from "react";
export type ErrorOverlayProps = React.HTMLAttributes<HTMLDivElement> & {
children?: React.ReactNode;
};
export declare const ErrorOverlay: React.FC<ErrorOverlayProps>;
@@ -0,0 +1,57 @@
import * as React from "react";
export interface SandpackLayoutProps extends React.HtmlHTMLAttributes<unknown> {
children?: React.ReactNode;
}
export declare const layoutClassName: import("@stitches/core/types/styled-component").CssComponent<never, {}, {}, {
[x: string]: string | number | {
flexGrow: number;
flexShrink: number;
flexBasis: string;
height: string;
overflow: string;
"@media print": {
height: string;
display: string;
};
"@media screen and (max-width: 768px)": {
"&:not(.sp-preview, .sp-editor, .sp-preset-column)": {
height: string;
};
minWidth: string;
flex?: undefined;
};
flex?: undefined;
minWidth?: undefined;
} | {
flex: number;
minWidth: number;
"@media screen and (max-width: 768px)": {
flex: number;
"&:not(.sp-preview, .sp-editor, .sp-preset-column)"?: undefined;
minWidth?: undefined;
};
flexGrow?: undefined;
flexShrink?: undefined;
flexBasis?: undefined;
height?: undefined;
overflow?: undefined;
"@media print"?: undefined;
};
border: string;
display: string;
flexWrap: string;
alignItems: string;
borderRadius: string;
overflow: string;
position: string;
backgroundColor: string;
gap: number;
"> .sp-file-explorer": {
flex: number;
minWidth: number;
"@media screen and (max-width: 768px)": {
flex: number;
};
};
}>;
export declare const SandpackLayout: React.ForwardRefExoticComponent<SandpackLayoutProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
import * as React from "react";
export declare const Loading: ({ className, showOpenInCodeSandbox, ...props }: React.HTMLAttributes<HTMLDivElement> & {
showOpenInCodeSandbox: boolean;
}) => JSX.Element;
@@ -0,0 +1,11 @@
import * as React from "react";
export interface LoadingOverlayProps {
clientId?: string;
/**
* It enforces keeping the loading state visible,
* which is helpful for external loading states.
*/
loading?: boolean;
showOpenInCodeSandbox: boolean;
}
export declare const LoadingOverlay: React.FC<LoadingOverlayProps & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
/// <reference types="react" />
export declare const OpenInCodeSandboxButton: () => JSX.Element | null;
@@ -0,0 +1,6 @@
import * as React from "react";
import type { SandpackState } from "../../../types";
export declare const UnstyledOpenInCodeSandboxButton: React.FC<React.HtmlHTMLAttributes<unknown>>;
export declare const ExportToWorkspaceButton: React.FC<React.HtmlHTMLAttributes<unknown> & {
state: SandpackState;
}>;
@@ -0,0 +1,2 @@
export { OpenInCodeSandboxButton } from "./OpenInCodeSandboxButton";
export { UnstyledOpenInCodeSandboxButton } from "./UnstyledOpenInCodeSandboxButton";
@@ -0,0 +1,2 @@
import React from "react";
export declare const RoundedButton: React.FC<React.PropsWithChildren & React.ButtonHTMLAttributes<unknown>>;
@@ -0,0 +1,2 @@
import * as React from "react";
export declare const RunButton: React.FC<React.PropsWithChildren & React.ButtonHTMLAttributes<unknown>>;
@@ -0,0 +1,15 @@
import * as React from "react";
export declare const stackClassName: import("@stitches/core/types/styled-component").CssComponent<never, {}, {}, {
display: string;
flexDirection: string;
width: string;
position: string;
backgroundColor: string;
gap: number;
"&:has(.sp-stack)": {
backgroundColor: string;
};
}>;
export declare const SandpackStack: React.FC<React.HTMLAttributes<HTMLDivElement> & {
children?: React.ReactNode;
}>;
@@ -0,0 +1,8 @@
export * from "./Layout";
export * from "./Stack";
export * from "./ErrorOverlay";
export * from "./LoadingOverlay";
export * from "./OpenInCodeSandboxButton";
export * from "./RunButton";
export * from "./RoundedButton";
export * from "./DependenciesProgress";