Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/docs/src/repl/repl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Repl = component$((props: ReplProps) => {
});

return (
<div class="repl">
<>
<ReplInputPanel
input={input}
store={store}
Expand All @@ -114,7 +114,7 @@ export const Repl = component$((props: ReplProps) => {
/>
<ReplOutputPanel input={input} store={store} />
<ReplDetailPanel input={input} store={store} />
</div>
</>
);
});

Expand Down
20 changes: 11 additions & 9 deletions packages/docs/src/routes/examples/[...id]/index!.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,17 @@ export default component$(() => {
</div>

<main class="examples-repl">
<Repl
input={store}
enableSsrOutput={false}
enableClientOutput={false}
enableHtmlOutput={false}
enableCopyToPlayground={true}
enableDownload={true}
enableInputDelete={false}
/>
<div class="repl">
<Repl
input={store}
enableSsrOutput={false}
enableClientOutput={false}
enableHtmlOutput={false}
enableCopyToPlayground={true}
enableDownload={true}
enableInputDelete={false}
/>
</div>
</main>
</div>
<PanelToggle panelStore={panelStore} />
Expand Down
32 changes: 17 additions & 15 deletions packages/docs/src/routes/playground/index!.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,23 @@ export default component$(() => {
>
<Header />

<Repl
input={store}
// style={{
// gridTemplateColumns: `${store.colLeft}% ${100 - store.colLeft}%`,
// }}
// class={{
// 'repl-panel-output': panelStore.active === 'Output',
// 'repl-panel-console': panelStore.active === 'Console',
// // might be removed ?
// repl: true,
// }}
enableCopyToPlayground={false}
enableDownload={true}
enableInputDelete={true}
/>
<div
class={{
'repl-panel-output': panelStore.active === 'Output',
'repl-panel-console': panelStore.active === 'Console',
repl: true,
}}
style={{
gridTemplateColumns: `${store.colLeft}% ${100 - store.colLeft}%`,
}}
>
<Repl
input={store}
enableCopyToPlayground={false}
enableDownload={true}
enableInputDelete={true}
/>
</div>

<div
class="repl-col-resize-bar"
Expand Down
20 changes: 11 additions & 9 deletions packages/docs/src/routes/tutorial/layout!.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ export default component$(() => {
<TutorialContentFooter store={store} />
</div>
<div class="tutorial-repl-panel">
<Repl
input={store}
enableHtmlOutput={store.app.enableHtmlOutput}
enableClientOutput={store.app.enableClientOutput}
enableSsrOutput={store.app.enableSsrOutput}
enableCopyToPlayground={true}
enableDownload={true}
enableInputDelete={false}
/>
<div class="repl">
<Repl
input={store}
enableHtmlOutput={store.app.enableHtmlOutput}
enableClientOutput={store.app.enableClientOutput}
enableSsrOutput={store.app.enableSsrOutput}
enableCopyToPlayground={true}
enableDownload={true}
enableInputDelete={false}
/>
</div>
<div class="tutorial-repl-footer" />
</div>
</main>
Expand Down