@fusion.dev/helix-docs 0.59.1 → 0.59.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/content/metrics.mdx +2 -2
- package/content/visual-axes.mdx +44 -0
- package/dist/sources.generated.js +46 -2
- package/package.json +3 -3
package/content/metrics.mdx
CHANGED
|
@@ -395,11 +395,11 @@ column is what was removed rather than part of what remains.
|
|
|
395
395
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
396
396
|
|---|---|---|---|---|
|
|
397
397
|
| `@fusion.dev/helix-core` | 983,274 | 153 | 222,331 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
398
|
-
| `@fusion.dev/helix-headless` | 11,
|
|
398
|
+
| `@fusion.dev/helix-headless` | 11,353,229 | 464 | 836,734 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
399
399
|
| `@fusion.dev/helix-icons` | 65,943 | 11 | 20,928 | none |
|
|
400
400
|
| `@fusion.dev/helix-styles` | 101,139 | 6 | 0 | none |
|
|
401
401
|
| `@fusion.dev/helix-theme` | 465,413 | 8 | 4,703 | none |
|
|
402
|
-
| `@fusion.dev/helix` | 12,
|
|
402
|
+
| `@fusion.dev/helix` | 12,470,065 | 796 | 333,806 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
403
403
|
|
|
404
404
|
## Not measured yet
|
|
405
405
|
|
package/content/visual-axes.mdx
CHANGED
|
@@ -87,6 +87,29 @@ write it with nothing painted.
|
|
|
87
87
|
and never of controls, which take their height from the region they sit in
|
|
88
88
|
through `data-density`, so it lives only where something is painted.
|
|
89
89
|
|
|
90
|
+
## When a family takes `neutral`
|
|
91
|
+
|
|
92
|
+
`tone` is the one axis whose vocabulary the table above leaves open, and
|
|
93
|
+
`neutral` is the value families have kept deciding about one at a time. Three
|
|
94
|
+
have argued it at their own declarations and arrived at the same rule, so it
|
|
95
|
+
belongs here once instead.
|
|
96
|
+
|
|
97
|
+
**A family that reports a status takes the status words and stops.** `Callout`
|
|
98
|
+
and `Toast` say it in nearly the same sentence: a callout reports a status and
|
|
99
|
+
never a brand role, so it takes four of the seven. There is no neutral status,
|
|
100
|
+
and a value that could not be drawn is worse than a value that cannot be named.
|
|
101
|
+
|
|
102
|
+
**A family whose resting state is already untoned does not need it.** `Text`
|
|
103
|
+
gives that reason against its own missing `default`: a value matching no rule
|
|
104
|
+
would fall through to the inherited ink and read as working while saying
|
|
105
|
+
nothing. The absent attribute is the resting case and says it better.
|
|
106
|
+
|
|
107
|
+
**`neutral` is for a thing that carries a tone without reporting one**: a gray
|
|
108
|
+
tag beside six colored ones, a button that is a button rather than the primary
|
|
109
|
+
action. `Announcement` spells its own out rather than leaving the attribute off,
|
|
110
|
+
which is what makes the tone sayable rather than only reachable, and that is the
|
|
111
|
+
whole of when this value is worth taking.
|
|
112
|
+
|
|
90
113
|
## What each shape is
|
|
91
114
|
|
|
92
115
|
`shape` is the axis whose values are geometries that look alike in a table and
|
|
@@ -107,6 +130,27 @@ not on a page, so it is worth saying what each one draws.
|
|
|
107
130
|
`square` too, in the same registered axis. Membership is what a check can see,
|
|
108
131
|
so nothing could have caught that, and a table is what stops it happening again.
|
|
109
132
|
|
|
133
|
+
## What each separation draws
|
|
134
|
+
|
|
135
|
+
`separation` says where a box ends, and `elevated` is the value nearly every
|
|
136
|
+
family leaves out, so it is worth saying what each one draws and what that
|
|
137
|
+
omission is about.
|
|
138
|
+
|
|
139
|
+
| Value | What it draws |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `elevated` | A surface lifted off the page, with a shadow under it |
|
|
142
|
+
| `filled` | A ground of its own, and no edge |
|
|
143
|
+
| `outlined` | An edge over the ground it already has |
|
|
144
|
+
| `plain` | Neither, so the box ends where its content does |
|
|
145
|
+
|
|
146
|
+
**Leaving `elevated` out is a fact about the value rather than about the family
|
|
147
|
+
that skips it.** A shadow says the box floats above the page, which is true of a
|
|
148
|
+
card picked up off a grid and of an announcement laid over the content, and
|
|
149
|
+
false of a row in a feed, a groove a thumb sits in, a checkbox, or a bar across
|
|
150
|
+
a video. A family taking the other three and stopping is following the value,
|
|
151
|
+
not departing from the axis, and owes no argument for it. A family that *does*
|
|
152
|
+
take it is the one saying something, and `Card` and `Announcement` both do.
|
|
153
|
+
|
|
110
154
|
## What a step inward means
|
|
111
155
|
|
|
112
156
|
`nesting` is the one axis whose values are three readings of the same fact, so
|
|
@@ -2359,11 +2359,11 @@ column is what was removed rather than part of what remains.
|
|
|
2359
2359
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
2360
2360
|
|---|---|---|---|---|
|
|
2361
2361
|
| \`@fusion.dev/helix-core\` | 983,274 | 153 | 222,331 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2362
|
-
| \`@fusion.dev/helix-headless\` | 11,
|
|
2362
|
+
| \`@fusion.dev/helix-headless\` | 11,353,229 | 464 | 836,734 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
2363
2363
|
| \`@fusion.dev/helix-icons\` | 65,943 | 11 | 20,928 | none |
|
|
2364
2364
|
| \`@fusion.dev/helix-styles\` | 101,139 | 6 | 0 | none |
|
|
2365
2365
|
| \`@fusion.dev/helix-theme\` | 465,413 | 8 | 4,703 | none |
|
|
2366
|
-
| \`@fusion.dev/helix\` | 12,
|
|
2366
|
+
| \`@fusion.dev/helix\` | 12,470,065 | 796 | 333,806 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2367
2367
|
|
|
2368
2368
|
## Not measured yet
|
|
2369
2369
|
|
|
@@ -5156,6 +5156,29 @@ write it with nothing painted.
|
|
|
5156
5156
|
and never of controls, which take their height from the region they sit in
|
|
5157
5157
|
through \`data-density\`, so it lives only where something is painted.
|
|
5158
5158
|
|
|
5159
|
+
## When a family takes \`neutral\`
|
|
5160
|
+
|
|
5161
|
+
\`tone\` is the one axis whose vocabulary the table above leaves open, and
|
|
5162
|
+
\`neutral\` is the value families have kept deciding about one at a time. Three
|
|
5163
|
+
have argued it at their own declarations and arrived at the same rule, so it
|
|
5164
|
+
belongs here once instead.
|
|
5165
|
+
|
|
5166
|
+
**A family that reports a status takes the status words and stops.** \`Callout\`
|
|
5167
|
+
and \`Toast\` say it in nearly the same sentence: a callout reports a status and
|
|
5168
|
+
never a brand role, so it takes four of the seven. There is no neutral status,
|
|
5169
|
+
and a value that could not be drawn is worse than a value that cannot be named.
|
|
5170
|
+
|
|
5171
|
+
**A family whose resting state is already untoned does not need it.** \`Text\`
|
|
5172
|
+
gives that reason against its own missing \`default\`: a value matching no rule
|
|
5173
|
+
would fall through to the inherited ink and read as working while saying
|
|
5174
|
+
nothing. The absent attribute is the resting case and says it better.
|
|
5175
|
+
|
|
5176
|
+
**\`neutral\` is for a thing that carries a tone without reporting one**: a gray
|
|
5177
|
+
tag beside six colored ones, a button that is a button rather than the primary
|
|
5178
|
+
action. \`Announcement\` spells its own out rather than leaving the attribute off,
|
|
5179
|
+
which is what makes the tone sayable rather than only reachable, and that is the
|
|
5180
|
+
whole of when this value is worth taking.
|
|
5181
|
+
|
|
5159
5182
|
## What each shape is
|
|
5160
5183
|
|
|
5161
5184
|
\`shape\` is the axis whose values are geometries that look alike in a table and
|
|
@@ -5176,6 +5199,27 @@ not on a page, so it is worth saying what each one draws.
|
|
|
5176
5199
|
\`square\` too, in the same registered axis. Membership is what a check can see,
|
|
5177
5200
|
so nothing could have caught that, and a table is what stops it happening again.
|
|
5178
5201
|
|
|
5202
|
+
## What each separation draws
|
|
5203
|
+
|
|
5204
|
+
\`separation\` says where a box ends, and \`elevated\` is the value nearly every
|
|
5205
|
+
family leaves out, so it is worth saying what each one draws and what that
|
|
5206
|
+
omission is about.
|
|
5207
|
+
|
|
5208
|
+
| Value | What it draws |
|
|
5209
|
+
|---|---|
|
|
5210
|
+
| \`elevated\` | A surface lifted off the page, with a shadow under it |
|
|
5211
|
+
| \`filled\` | A ground of its own, and no edge |
|
|
5212
|
+
| \`outlined\` | An edge over the ground it already has |
|
|
5213
|
+
| \`plain\` | Neither, so the box ends where its content does |
|
|
5214
|
+
|
|
5215
|
+
**Leaving \`elevated\` out is a fact about the value rather than about the family
|
|
5216
|
+
that skips it.** A shadow says the box floats above the page, which is true of a
|
|
5217
|
+
card picked up off a grid and of an announcement laid over the content, and
|
|
5218
|
+
false of a row in a feed, a groove a thumb sits in, a checkbox, or a bar across
|
|
5219
|
+
a video. A family taking the other three and stopping is following the value,
|
|
5220
|
+
not departing from the axis, and owes no argument for it. A family that *does*
|
|
5221
|
+
take it is the one saying something, and \`Card\` and \`Announcement\` both do.
|
|
5222
|
+
|
|
5179
5223
|
## What a step inward means
|
|
5180
5224
|
|
|
5181
5225
|
\`nesting\` is the one axis whose values are three readings of the same fact, so
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-docs",
|
|
3
3
|
"description": "Versioned documentation content and registry for Helix.",
|
|
4
|
-
"version": "0.59.
|
|
4
|
+
"version": "0.59.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@fusion.dev/helix-cem": "0.59.
|
|
40
|
-
"@fusion.dev/helix-testing": "0.59.
|
|
39
|
+
"@fusion.dev/helix-cem": "0.59.2",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.59.2",
|
|
41
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
43
|
"playwright": "^1.62.1"
|