@fusion.dev/helix-docs 0.22.0 → 0.24.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/charting.mdx +26 -5
- package/content/intent-reference.mdx +1 -1
- package/content/metrics.mdx +219 -209
- package/content/recipes.mdx +11 -0
- package/content/visual-axes.mdx +1 -1
- package/dist/sources.generated.js +258 -216
- package/package.json +2 -2
package/content/recipes.mdx
CHANGED
|
@@ -100,6 +100,17 @@ scroll pays continuously. Where the effect is about depth rather than texture,
|
|
|
100
100
|
Headings take the type scale, paragraphs take the measure and leading, lists and
|
|
101
101
|
links and inline code all follow. See [Typography](./typography).
|
|
102
102
|
|
|
103
|
+
If you own the markdown renderer, map two things to components, because markup
|
|
104
|
+
can't carry what they need:
|
|
105
|
+
|
|
106
|
+
- **Fenced code** to `helix-code-block`, with the fence's language as its `label`.
|
|
107
|
+
A `<pre>` has no label or copy button.
|
|
108
|
+
- **Alerts** such as `> [!WARNING]` to `helix-callout`. A `<blockquote>` has no
|
|
109
|
+
tone. `NOTE` and `IMPORTANT` become `tone="info"`, `TIP` becomes `success`,
|
|
110
|
+
`WARNING` becomes `warning`, and `CAUTION` becomes `danger`.
|
|
111
|
+
|
|
112
|
+
Prose spaces each one the same as the element it replaces.
|
|
113
|
+
|
|
103
114
|
## Region axes
|
|
104
115
|
|
|
105
116
|
These two are API rather than styling, and they are the reason the base layer is
|
package/content/visual-axes.mdx
CHANGED
|
@@ -11,7 +11,7 @@ vocabularies. You cannot invent a value, and a component may take a subset.
|
|
|
11
11
|
|
|
12
12
|
| Axis | Values |
|
|
13
13
|
|---|---|
|
|
14
|
-
| `emphasis` | `ghost`, `outlined`, `solid`, `subtle` |
|
|
14
|
+
| `emphasis` | `ghost`, `muted`, `outlined`, `solid`, `subtle` |
|
|
15
15
|
| `material` | `frosted`, `glass`, `transparent` |
|
|
16
16
|
| `separation` | `elevated`, `filled`, `outlined`, `plain` |
|
|
17
17
|
| `tone` | The status and intent words: `primary`, `accent`, `neutral`, `danger`, and so on |
|