@fusion.dev/helix-docs 0.234.0 → 0.235.1
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/content/angular.mdx +1 -1
- package/content/canvases.mdx +19 -3
- package/content/metrics.mdx +250 -250
- package/content/sandbox.mdx +13 -3
- package/content/terminals.mdx +16 -3
- package/dist/sources.generated.js +299 -260
- package/package.json +12 -12
package/content/sandbox.mdx
CHANGED
|
@@ -97,17 +97,27 @@ is a file the scripts import by a relative path:
|
|
|
97
97
|
|
|
98
98
|
```html
|
|
99
99
|
<helix-sandbox>
|
|
100
|
-
<helix-sandbox-source
|
|
100
|
+
<helix-sandbox-source
|
|
101
|
+
label="main.js"
|
|
102
|
+
name="js"
|
|
103
|
+
slot="source"
|
|
104
|
+
>
|
|
101
105
|
import confetti from 'canvas-confetti'
|
|
102
106
|
import { cheer } from './cheer.js'
|
|
103
107
|
|
|
104
108
|
confetti()
|
|
105
109
|
cheer()
|
|
106
110
|
</helix-sandbox-source>
|
|
107
|
-
<helix-sandbox-source
|
|
111
|
+
<helix-sandbox-source
|
|
112
|
+
name="cheer.js"
|
|
113
|
+
slot="source"
|
|
114
|
+
>
|
|
108
115
|
export const cheer = () => console.log('Done')
|
|
109
116
|
</helix-sandbox-source>
|
|
110
|
-
<helix-sandbox-source
|
|
117
|
+
<helix-sandbox-source
|
|
118
|
+
name="package.json"
|
|
119
|
+
slot="source"
|
|
120
|
+
>
|
|
111
121
|
{ "dependencies": { "canvas-confetti": "^1.9" } }
|
|
112
122
|
</helix-sandbox-source>
|
|
113
123
|
<helix-sandbox-preview slot="preview"></helix-sandbox-preview>
|
package/content/terminals.mdx
CHANGED
|
@@ -278,7 +278,13 @@ ran. The frame draws no cursor and sends no input. Set `columns` and `rows` to
|
|
|
278
278
|
draw the output at the size the command ran at:
|
|
279
279
|
|
|
280
280
|
```html
|
|
281
|
-
<helix-terminal
|
|
281
|
+
<helix-terminal
|
|
282
|
+
columns="80"
|
|
283
|
+
controls="find copy"
|
|
284
|
+
label="bun run build"
|
|
285
|
+
readonly
|
|
286
|
+
rows="12"
|
|
287
|
+
>
|
|
282
288
|
<div id="transcript"></div>
|
|
283
289
|
</helix-terminal>
|
|
284
290
|
```
|
|
@@ -294,8 +300,15 @@ buttons beside it:
|
|
|
294
300
|
|
|
295
301
|
```html
|
|
296
302
|
<div class="pane">
|
|
297
|
-
<helix-terminal
|
|
298
|
-
|
|
303
|
+
<helix-terminal
|
|
304
|
+
fill
|
|
305
|
+
label="zsh"
|
|
306
|
+
separation="plain"
|
|
307
|
+
>
|
|
308
|
+
<helix-icon-button
|
|
309
|
+
label="New terminal"
|
|
310
|
+
slot="actions"
|
|
311
|
+
>
|
|
299
312
|
<helix-icon name="plus"></helix-icon>
|
|
300
313
|
</helix-icon-button>
|
|
301
314
|
<div id="terminal"></div>
|