@fusion.dev/helix-docs 0.229.0 → 0.230.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/maps.mdx +1 -1
- package/content/metrics.mdx +259 -259
- package/content/typography.mdx +2 -2
- package/content/visual-axes.mdx +13 -12
- package/dist/sources.generated.js +275 -274
- package/package.json +12 -12
package/content/typography.mdx
CHANGED
|
@@ -60,12 +60,12 @@ inside `[data-prose]`, with no changes to the content.
|
|
|
60
60
|
Use `Text` when a heading's element and its appearance need to differ. A
|
|
61
61
|
section's second heading may need to look smaller and keep its place in the
|
|
62
62
|
outline. A `<p>` may need to look like a caption. `as` chooses the element, and
|
|
63
|
-
`
|
|
63
|
+
`scale` chooses the ramp:
|
|
64
64
|
|
|
65
65
|
```html
|
|
66
66
|
<helix-text
|
|
67
67
|
as="h3"
|
|
68
|
-
|
|
68
|
+
scale="body"
|
|
69
69
|
>Reads as body, outlines as a heading</helix-text>
|
|
70
70
|
```
|
|
71
71
|
|
package/content/visual-axes.mdx
CHANGED
|
@@ -66,25 +66,26 @@ sit on two axes:
|
|
|
66
66
|
If you are adding a property and cannot decide which axis it belongs on, it is
|
|
67
67
|
usually two properties.
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## Name a choice between widgets for what it chooses
|
|
70
70
|
|
|
71
71
|
```html
|
|
72
|
-
<helix-tabs
|
|
73
|
-
<helix-time-picker
|
|
72
|
+
<helix-tabs marker="segmented">…</helix-tabs>
|
|
73
|
+
<helix-time-picker picker="wheels">…</helix-time-picker>
|
|
74
|
+
<helix-splitter handle="grip">…</helix-splitter>
|
|
74
75
|
```
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
example:
|
|
77
|
+
These words have no registry, because their values belong to the families that take them:
|
|
78
78
|
|
|
79
|
-
- `
|
|
80
|
-
- `
|
|
81
|
-
- `
|
|
79
|
+
- `marker` is how the current item is marked, on Tabs, Navigation, Outline, and Steps.
|
|
80
|
+
- `layout` is how parts are arranged, on Code Block, Megamenu, Spatial Bar Chart, and Button Group.
|
|
81
|
+
- `picker` is which control picks, on Time Input and Time Picker.
|
|
82
|
+
- `stroke` is the line's style, on Canvas Edge and Map Route.
|
|
83
|
+
- `handle` is what you grab, on Splitter.
|
|
84
|
+
- `pattern` is which drawing, on Aura, Strands, Voice Level, and Loader.
|
|
82
85
|
|
|
83
|
-
A
|
|
84
|
-
wherever it is made, so `variant` can appear on either tier.
|
|
86
|
+
A choice between two widgets changes structure wherever it is made, so these can appear on either tier.
|
|
85
87
|
|
|
86
|
-
**Do not use
|
|
87
|
-
problem `appearance` had.
|
|
88
|
+
**Do not use one of these for anything an axis already covers, and do not name a property `variant`.** A word that names no choice is the problem `appearance` had.
|
|
88
89
|
|
|
89
90
|
## Axes on both tiers
|
|
90
91
|
|