@ttsc/playground 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/react/ConsoleViewer.d.ts +1 -1
- package/lib/src/react/DependencyProgressModal.d.ts +1 -1
- package/lib/src/react/DiagnosticsPanel.d.ts +1 -1
- package/lib/src/react/ExamplePicker.d.ts +1 -1
- package/lib/src/react/LintPane.d.ts +1 -1
- package/lib/src/react/OptionsPanel.d.ts +1 -1
- package/lib/src/react/PlaygroundShell.d.ts +1 -1
- package/lib/src/react/SourceEditor.d.ts +1 -1
- package/package.json +4 -4
|
@@ -3,5 +3,5 @@ interface ConsoleViewerProps {
|
|
|
3
3
|
messages: IConsoleMessage[];
|
|
4
4
|
empty?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function ConsoleViewer({ messages, empty
|
|
6
|
+
export declare function ConsoleViewer({ messages, empty }: ConsoleViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ interface DependencyProgressModalProps {
|
|
|
3
3
|
progress: IPlaygroundDependencyProgress | null;
|
|
4
4
|
packages: readonly string[];
|
|
5
5
|
}
|
|
6
|
-
export declare function DependencyProgressModal({ progress, packages
|
|
6
|
+
export declare function DependencyProgressModal({ progress, packages }: DependencyProgressModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ICompilerService } from "../structures/ICompilerService";
|
|
2
|
-
export declare function DiagnosticsPanel({ diagnostics
|
|
2
|
+
export declare function DiagnosticsPanel({ diagnostics }: {
|
|
3
3
|
diagnostics: ICompilerService.IDiagnostic[];
|
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,5 +5,5 @@ interface ExamplePickerProps {
|
|
|
5
5
|
/** Display labels for groups. Maps `group` key → rendered heading. */
|
|
6
6
|
groupLabels?: Record<string, string>;
|
|
7
7
|
}
|
|
8
|
-
export declare function ExamplePicker({ examples, onPick, groupLabels
|
|
8
|
+
export declare function ExamplePicker({ examples, onPick, groupLabels }: ExamplePickerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { ICompilerService } from "../structures/ICompilerService";
|
|
|
3
3
|
* Renders the lint plugin's findings in a list view. Shown by `PlaygroundShell`
|
|
4
4
|
* when the active tab is "lint". Empty state is the green checkmark.
|
|
5
5
|
*/
|
|
6
|
-
export declare function LintPane({ diagnostics, emptyHint
|
|
6
|
+
export declare function LintPane({ diagnostics, emptyHint }: {
|
|
7
7
|
diagnostics: ICompilerService.IDiagnostic[];
|
|
8
8
|
emptyHint?: string;
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,5 +9,5 @@ interface OptionsPanelProps {
|
|
|
9
9
|
/** Dialog heading. Defaults to "Transform Options". */
|
|
10
10
|
title?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function OptionsPanel({ options, onChange, onClose, toggles, title
|
|
12
|
+
export declare function OptionsPanel({ options, onChange, onClose, toggles, title }: OptionsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { IPlaygroundShellProps } from "../structures/IPlaygroundShellProps";
|
|
2
|
-
export declare function PlaygroundShell({ workerUrl, defaultScript, examples, exampleGroupLabels, optionToggles, defaultOptions, staticEditorLibs, preinstalledPackages, executeBundle, brand, resultCaption
|
|
2
|
+
export declare function PlaygroundShell({ workerUrl, defaultScript, examples, exampleGroupLabels, optionToggles, defaultOptions, staticEditorLibs, preinstalledPackages, executeBundle, brand, resultCaption }: IPlaygroundShellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ISourceEditorProps } from "../structures/ISourceEditorProps";
|
|
2
|
-
export declare function SourceEditor({ value, onChange, extraLibs, path
|
|
2
|
+
export declare function SourceEditor({ value, onChange, extraLibs, path }: ISourceEditorProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttsc/playground",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Reusable React + Web Worker scaffolding for in-browser ttsc playgrounds built on @ttsc/wasm.",
|
|
5
5
|
"main": "lib/src/index.js",
|
|
6
6
|
"types": "lib/src/index.d.ts",
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"react": "^18.0.0",
|
|
39
39
|
"react-dom": "^18.0.0",
|
|
40
40
|
"tgrid": "^1.0.3",
|
|
41
|
-
"@ttsc/wasm": "^0.14.
|
|
41
|
+
"@ttsc/wasm": "^0.14.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@monaco-editor/react": "^4.6.0",
|
|
45
45
|
"@types/node": "^25.3.0",
|
|
46
46
|
"@types/react": "^18.3.1",
|
|
47
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
47
|
+
"@typescript/native-preview": "7.0.0-dev.20260421.2",
|
|
48
48
|
"monaco-editor": "^0.52.0",
|
|
49
49
|
"react": "^18.3.1",
|
|
50
50
|
"react-dom": "^18.3.1",
|
|
51
51
|
"rimraf": "^6.1.2",
|
|
52
52
|
"tgrid": "^1.0.3",
|
|
53
|
-
"@ttsc/wasm": "^0.14.
|
|
53
|
+
"@ttsc/wasm": "^0.14.2"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"ttsc",
|