@fusion.dev/helix-docs 0.248.0 → 0.248.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/README.md +1 -1
- package/content/coding-agents.mdx +3 -3
- package/content/metrics.mdx +283 -283
- package/content/motion.mdx +18 -18
- package/content/sandbox.mdx +2 -2
- package/content/terminals.mdx +1 -1
- package/content/theme-builder.mdx +1 -1
- package/content/using-helix-with-an-agent.mdx +2 -2
- package/dist/sources.generated.js +310 -310
- package/package.json +12 -12
package/content/motion.mdx
CHANGED
|
@@ -392,46 +392,46 @@ stops while `Motion Toggle` has paused the page.
|
|
|
392
392
|
|
|
393
393
|
Light that draws the eye:
|
|
394
394
|
|
|
395
|
-
- [Shine](/
|
|
396
|
-
- [Border Beam](/
|
|
395
|
+
- [Shine](/design/components/shine) sweeps a band of light across an action.
|
|
396
|
+
- [Border Beam](/design/components/border-beam) sends a light around the edge
|
|
397
397
|
of something running or live.
|
|
398
|
-
- [Shimmer Text](/
|
|
398
|
+
- [Shimmer Text](/design/components/shimmer-text) sweeps a light across words
|
|
399
399
|
while the work they name runs.
|
|
400
400
|
|
|
401
401
|
Following the pointer:
|
|
402
402
|
|
|
403
|
-
- [Spotlight](/
|
|
403
|
+
- [Spotlight](/design/components/spotlight) lights the content and the edge
|
|
404
404
|
nearest the pointer.
|
|
405
|
-
- [Tilt](/
|
|
406
|
-
- [Magnetic](/
|
|
405
|
+
- [Tilt](/design/components/tilt) leans content toward the pointer.
|
|
406
|
+
- [Magnetic](/design/components/magnetic) draws content a little way toward
|
|
407
407
|
the pointer.
|
|
408
408
|
|
|
409
409
|
Arriving:
|
|
410
410
|
|
|
411
|
-
- [Reveal](/
|
|
411
|
+
- [Reveal](/design/components/reveal) brings content in as it scrolls into
|
|
412
412
|
view.
|
|
413
|
-
- [Highlighter](/
|
|
413
|
+
- [Highlighter](/design/components/highlighter) marks words as they come into
|
|
414
414
|
view.
|
|
415
|
-
- [Confetti](/
|
|
415
|
+
- [Confetti](/design/components/confetti) bursts once an action has finished.
|
|
416
416
|
|
|
417
417
|
Words and figures:
|
|
418
418
|
|
|
419
|
-
- [Rotating Text](/
|
|
419
|
+
- [Rotating Text](/design/components/rotating-text) turns one word in a line
|
|
420
420
|
through others.
|
|
421
|
-
- [Sliding Number](/
|
|
421
|
+
- [Sliding Number](/design/components/sliding-number) rolls each digit to a new
|
|
422
422
|
value.
|
|
423
423
|
|
|
424
424
|
Backgrounds and the page:
|
|
425
425
|
|
|
426
|
-
- [Aura](/
|
|
427
|
-
- [Strands](/
|
|
428
|
-
- [Pattern](/
|
|
429
|
-
- [Marquee](/
|
|
430
|
-
- [Scroll Progress](/
|
|
426
|
+
- [Aura](/design/components/aura) drifts light in the theme's colors.
|
|
427
|
+
- [Strands](/design/components/strands) draws a ribbon of fine strands of light.
|
|
428
|
+
- [Pattern](/design/components/pattern) draws hexagons, stars, or contour lines.
|
|
429
|
+
- [Marquee](/design/components/marquee) scrolls a row round and round.
|
|
430
|
+
- [Scroll Progress](/design/components/scroll-progress) fills a bar as the page
|
|
431
431
|
scrolls.
|
|
432
|
-
- [Theme Toggle](/
|
|
432
|
+
- [Theme Toggle](/design/components/theme-toggle) spreads the new color mode
|
|
433
433
|
from the button.
|
|
434
|
-
- [Cursor](/
|
|
434
|
+
- [Cursor](/design/components/cursor) shows another person's pointer on a
|
|
435
435
|
shared surface.
|
|
436
436
|
|
|
437
437
|
## Motion on your own elements
|
package/content/sandbox.mdx
CHANGED
|
@@ -6,7 +6,7 @@ title: Sandbox
|
|
|
6
6
|
|
|
7
7
|
# Sandbox
|
|
8
8
|
|
|
9
|
-
[Open the sandbox](/
|
|
9
|
+
[Open the sandbox](/design/sandbox).
|
|
10
10
|
|
|
11
11
|
You can edit every example on a component's page. When you change the markup,
|
|
12
12
|
the preview redraws. When you change the stylesheet beside it, the preview
|
|
@@ -368,7 +368,7 @@ import '@fusion.dev/helix/sandbox'
|
|
|
368
368
|
import '@fusion.dev/helix-sandbox/editor'
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
The [Sandbox reference](/
|
|
371
|
+
The [Sandbox reference](/design/components/sandbox#helix-sandbox-editor) lists
|
|
372
372
|
the editor's properties, events, methods, and states.
|
|
373
373
|
|
|
374
374
|
`highlight` reads the same grammars as the editor. By default each token is a
|
package/content/terminals.mdx
CHANGED
|
@@ -268,7 +268,7 @@ The grid is drawn in the viewport's face, which the styled frame sets from
|
|
|
268
268
|
`--terminal-font-size`, the small text step. It also takes
|
|
269
269
|
`--terminal-block-size`, `--terminal-border-color`,
|
|
270
270
|
`--terminal-header-background-color`, `--terminal-padding`, and
|
|
271
|
-
`--terminal-radius`. The [Terminal reference](/
|
|
271
|
+
`--terminal-radius`. The [Terminal reference](/design/components/terminal) lists
|
|
272
272
|
what each one draws.
|
|
273
273
|
|
|
274
274
|
## Show a command's output
|
|
@@ -6,7 +6,7 @@ title: Theme builder
|
|
|
6
6
|
|
|
7
7
|
# Theme builder
|
|
8
8
|
|
|
9
|
-
[Open the theme builder](/
|
|
9
|
+
[Open the theme builder](/design/theme).
|
|
10
10
|
|
|
11
11
|
When you move a slider, every component in the preview updates. Helix computes
|
|
12
12
|
a theme from a few inputs, and the theme builder shows you the result.
|
|
@@ -48,7 +48,7 @@ Each family's API is in the packages you installed, and on this site:
|
|
|
48
48
|
- `node_modules/@fusion.dev/helix/api.json`, and the `api.json` of each other
|
|
49
49
|
Helix package you installed, which lists the elements it adds to a family,
|
|
50
50
|
such as `helix-sandbox-editor` in `@fusion.dev/helix-sandbox`
|
|
51
|
-
- `https://fusion.dev/
|
|
51
|
+
- `https://fusion.dev/design/components/<family>.md` and `.json`
|
|
52
52
|
|
|
53
53
|
Each lists the import lines, every tag, every property with its literal union,
|
|
54
54
|
every event with its React prop, every slot, part, and custom property, and the
|
|
@@ -239,4 +239,4 @@ of them here would be a second copy that goes stale. Fetch the family.
|
|
|
239
239
|
|
|
240
240
|
**Whether a component fits your case.** Read the examples to decide. Every
|
|
241
241
|
family's `.md` file includes them as text, and
|
|
242
|
-
`https://fusion.dev/
|
|
242
|
+
`https://fusion.dev/design/sandbox?e=<family>.<slug>` opens one for editing.
|