@fusion.dev/helix-docs 0.215.3 → 0.217.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/building-on-the-headless-tier.mdx +4 -3
- package/content/diagnostics.mdx +6 -0
- package/content/metrics.mdx +262 -254
- package/content/sandbox.mdx +20 -0
- package/content/undo.mdx +72 -0
- package/dist/pages.generated.js +6 -0
- package/dist/sources.generated.js +365 -257
- package/package.json +12 -12
|
@@ -54,7 +54,7 @@ names the tag to define.
|
|
|
54
54
|
|
|
55
55
|
[//]: # (renders)
|
|
56
56
|
|
|
57
|
-
**
|
|
57
|
+
**45 of the 112 headless families interpolate another family's tag**, across 27 distinct children.
|
|
58
58
|
|
|
59
59
|
| Family | Renders |
|
|
60
60
|
|---|---|
|
|
@@ -64,10 +64,11 @@ names the tag to define.
|
|
|
64
64
|
| `chat` | `chat-message` |
|
|
65
65
|
| `checkbox-group`, `table` | `checkbox` |
|
|
66
66
|
| `code-block`, `object-inspector` | `copy-button` |
|
|
67
|
+
| `code-editor`, `terminal` | `button`, `icon-button`, `toolbar` |
|
|
67
68
|
| `color-input` | `color-picker` |
|
|
68
69
|
| `color-picker` | `button`, `button-group`, `slider` |
|
|
69
70
|
| `combobox` | `listbox`, `tag` |
|
|
70
|
-
| `command` | `dialog`, `listbox` |
|
|
71
|
+
| `command` | `dialog`, `listbox`, `option`, `option-group` |
|
|
71
72
|
| `data-table` | `checkbox`, `pagination` |
|
|
72
73
|
| `date-input` | `date-picker`, `tag` |
|
|
73
74
|
| `file-input` | `tag` |
|
|
@@ -77,8 +78,8 @@ names the tag to define.
|
|
|
77
78
|
| `notifications` | `format-date` |
|
|
78
79
|
| `pagination` | `option`, `select` |
|
|
79
80
|
| `select` | `listbox` |
|
|
81
|
+
| `shortcut-overlay` | `dialog` |
|
|
80
82
|
| `steps`, `tour` | `button` |
|
|
81
|
-
| `terminal` | `button`, `icon-button`, `toolbar` |
|
|
82
83
|
| `time-input` | `tag`, `time-picker` |
|
|
83
84
|
| `time-picker` | `listbox`, `option` |
|
|
84
85
|
| `video`, `video-playlist` | `menu`, `menu-item` |
|
package/content/diagnostics.mdx
CHANGED
|
@@ -152,6 +152,10 @@ helix scan: 1 error, 0 warnings, 0 info, and 0 unsettled, in 42 files
|
|
|
152
152
|
- **`--file <path>` reports one file's findings**, and still reads the whole
|
|
153
153
|
project, so an import in another file counts. `--stdin <language>` checks a
|
|
154
154
|
snippet.
|
|
155
|
+
- **`--fix` writes the fixes it can into your source**, then reports what is
|
|
156
|
+
left. For `unlinked-trigger` it adds `aria-describedby` to the trigger, and
|
|
157
|
+
an `id` to the tooltip where it has none. A tag it cannot find exactly once,
|
|
158
|
+
such as an `id` set in an expression, is left for you.
|
|
155
159
|
|
|
156
160
|
It exits 1 on a finding at `error`, and 3 where it cannot run, such as where no
|
|
157
161
|
installed Helix package has lint data.
|
|
@@ -204,11 +208,13 @@ run `helix scan --out` after it to add your code's run.
|
|
|
204
208
|
| `primitive-token` | error | scan | A rule reads a `--_helix-` primitive, which is internal to `@fusion.dev/helix-styles` |
|
|
205
209
|
| `unforwarded-part` | warn | both | The headless tag publishes a part the styled tag does not forward, which is a gap in Helix |
|
|
206
210
|
| `unimported-tag` | warn | scan | An element is written, and nothing in the project imports the entry that registers it |
|
|
211
|
+
| `served-column-width` | warn | scan | A column in a table that serves its rows sets `width`, and the table sets no `columns`, so the columns move when it upgrades |
|
|
207
212
|
| `unknown-attribute` | error | both | A Helix element carries an attribute it does not take |
|
|
208
213
|
| `unknown-event` | error | scan | A React `on` prop names an event the element does not dispatch |
|
|
209
214
|
| `unknown-slot` | error | scan | A child names a slot its Helix element does not have, so it is not drawn |
|
|
210
215
|
| `unknown-tag` | error | both | A rule or an element names a tag no installed package lists |
|
|
211
216
|
| `unknown-token` | error | scan | A rule reads or sets a `--helix-` name the token set does not have |
|
|
217
|
+
| `unlinked-trigger` | warn | scan | A tooltip's `for` names a plain element that does not name the tooltip in `aria-describedby`, so the page at rest meets the trigger undescribed. `helix scan --fix` writes the link |
|
|
212
218
|
| `unreflected-attribute` | warn | both | A rule selects a Helix element by an attribute it never writes back, so it matches only markup a server wrote |
|
|
213
219
|
|
|
214
220
|
**A button inside a button is judged where the markup settles it.** Button,
|