@fusion.dev/helix-docs 0.212.2 → 0.214.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/content/metrics.mdx +251 -251
- package/content/sandbox.mdx +5 -1
- package/content/terminals.mdx +6 -0
- package/dist/sources.generated.js +262 -252
- package/package.json +12 -12
package/content/sandbox.mdx
CHANGED
|
@@ -204,7 +204,7 @@ Each request has a notification once it is applied: `helix-edit` after
|
|
|
204
204
|
`helix-panel-resize` after `helix-before-panel-resize`. Listen for these to
|
|
205
205
|
store the arrangement or the source.
|
|
206
206
|
|
|
207
|
-
Set `controls` on `helix-sandbox-
|
|
207
|
+
Set `controls` on `helix-sandbox-console` for a clear button and a level
|
|
208
208
|
filter above the log. Without them, `clear()` empties the log, and `level`
|
|
209
209
|
hides the quieter lines.
|
|
210
210
|
|
|
@@ -297,6 +297,10 @@ Logs from the example appear in the console panel. Logs from the page around it
|
|
|
297
297
|
do not. We patch the console inside the frame on purpose, so the panel shows
|
|
298
298
|
what the example logs and nothing else.
|
|
299
299
|
|
|
300
|
+
The panel is a Log. It keeps the last 200 lines, and a line logged again
|
|
301
|
+
straight after itself is one line with a count. A screen reader hears each new
|
|
302
|
+
line with its level, and a repeat once.
|
|
303
|
+
|
|
300
304
|
## The editor and the highlighter
|
|
301
305
|
|
|
302
306
|
`@fusion.dev/helix-sandbox` is the editor the component pages use, and the
|
package/content/terminals.mdx
CHANGED
|
@@ -332,7 +332,13 @@ Links a program writes as hyperlinks always work. Pass `WebLinksAddon` to
|
|
|
332
332
|
- Control+Shift+F, or Command+F on a Mac, opens the find bar. Enter moves to
|
|
333
333
|
the next match and Shift+Enter to the previous one. Escape closes the bar and
|
|
334
334
|
returns focus to the terminal. Screen readers hear how many matches there are.
|
|
335
|
+
- The find bar's buttons match case, match whole words, and read the field as
|
|
336
|
+
a regular expression in JavaScript's syntax. Each says whether it is on. A
|
|
337
|
+
regular expression that cannot be read is said instead of a count. Set
|
|
338
|
+
`find-match-case`, `find-whole-word`, or `find-regex` to start with one on.
|
|
335
339
|
- Control+Shift+C copies the selection. On a Mac, Command+C does.
|
|
340
|
+
- Control+Shift+V pastes, as it does in the browser, and the program receives
|
|
341
|
+
the text as a paste. On a Mac, Command+V does.
|
|
336
342
|
- Control+M, or Control+Shift+M on a Mac, switches Tab between typing in the
|
|
337
343
|
terminal and moving focus out of it. The status line says when Tab moves
|
|
338
344
|
focus, and screen readers hear each change. The terminal's input describes
|