@fusion.dev/helix-docs 0.59.0 → 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 +12 -12
- package/content/visual-axes.mdx +44 -0
- package/dist/sources.generated.js +56 -12
- package/package.json +3 -3
package/content/metrics.mdx
CHANGED
|
@@ -59,10 +59,10 @@ repository does that. The per-component tables are what a page pays.
|
|
|
59
59
|
| Package | Raw | Gzip | Brotli | |
|
|
60
60
|
|---|---|---|---|---|
|
|
61
61
|
| `@fusion.dev/helix-core` | 156,003 | 51,384 | 43,598 | Element base class, mixins, decorators, floating positioning. |
|
|
62
|
-
| `@fusion.dev/helix-headless` | 604,
|
|
62
|
+
| `@fusion.dev/helix-headless` | 604,476 | 156,936 | 122,329 | Every headless family, which is what the barrel means. |
|
|
63
63
|
| `@fusion.dev/helix-icons` | 47,484 | 14,907 | 12,553 | The whole glyph set. |
|
|
64
64
|
| `@fusion.dev/helix-theme` | 3,288 | 1,571 | 1,355 | The derivation engine. Build time for most consumers, runtime for a theme switcher. |
|
|
65
|
-
| `@fusion.dev/helix` | 1,080,
|
|
65
|
+
| `@fusion.dev/helix` | 1,080,510 | 253,168 | 186,220 | Every styled family. |
|
|
66
66
|
| `lit` | 15,394 | 6,118 | 5,460 | Not ours. Here so it can be subtracted from every row above it. |
|
|
67
67
|
|
|
68
68
|
## The stylesheets
|
|
@@ -85,9 +85,9 @@ is the whole cost of adopting the base layer on its own.
|
|
|
85
85
|
|
|
86
86
|
**Most of a first component is the runtime under it.** The median styled family is 18,837 bytes gzipped alone and adds 2,220 to a page that already has Helix on it, so 88 percent of the first one is shared and 12 percent is the component. Ten typical components are one plus nine additions rather than ten of the first number, and the pair of columns below is what lets that be worked out rather than guessed.
|
|
87
87
|
|
|
88
|
-
Across the tier: the cheapest is `code` at 9,451 gzipped alone, the dearest `data-table` at 59,280, over 100 components. Every family at once is 253,
|
|
88
|
+
Across the tier: the cheapest is `code` at 9,451 gzipped alone, the dearest `data-table` at 59,280, over 100 components. Every family at once is 253,168.
|
|
89
89
|
|
|
90
|
-
**No family imports a barrel, and the `barrels` rule in `fusion workspace` is what keeps it that way.** `@fusion.dev/helix-headless` is `sideEffects` over every module in `dist`, which is true of a file that calls `customElements.define` and which means a bundler may drop none of it: one `import { HelixHeadlessButton } from '@fusion.dev/helix-headless'` costs 156,
|
|
90
|
+
**No family imports a barrel, and the `barrels` rule in `fusion workspace` is what keeps it that way.** `@fusion.dev/helix-headless` is `sideEffects` over every module in `dist`, which is true of a file that calls `customElements.define` and which means a bundler may drop none of it: one `import { HelixHeadlessButton } from '@fusion.dev/helix-headless'` costs 156,936 bytes gzipped whatever else the page does, which is 8 times the median family measured above. The styled tier imports the family it extends instead, all 100 of them, and the check refuses the shape rather than the package name, so the rule follows `sideEffects` wherever it goes.
|
|
91
91
|
|
|
92
92
|
The headless tier never had the problem, and it is the control: `@fusion.dev/helix-core` is `sideEffects: false`, and a headless family is a median of 20,531 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -236,7 +236,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
236
236
|
| `navigation` | 30,254 | 10,225 | 9,039 | 1,361 | 373 | 270 |
|
|
237
237
|
| `notifications` | 91,555 | 29,712 | 24,386 | 11,333 | 2,683 | 2,227 |
|
|
238
238
|
| `number-input` | 88,718 | 29,001 | 23,737 | 7,190 | 1,948 | 1,588 |
|
|
239
|
-
| `object-inspector` | 128,
|
|
239
|
+
| `object-inspector` | 128,505 | 42,925 | 36,132 | 19,158 | 5,146 | 4,343 |
|
|
240
240
|
| `option` | 30,590 | 10,121 | 8,951 | 2,933 | 669 | 440 |
|
|
241
241
|
| `outline` | 33,689 | 11,399 | 10,047 | 4,590 | 1,415 | 1,077 |
|
|
242
242
|
| `pagination` | 136,644 | 43,500 | 36,531 | 27,201 | 6,365 | 5,264 |
|
|
@@ -273,9 +273,9 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
273
273
|
| `tour` | 65,837 | 22,059 | 19,525 | 10,924 | 2,757 | 2,289 |
|
|
274
274
|
| `tree` | 86,417 | 28,562 | 23,363 | 7,191 | 1,998 | 1,559 |
|
|
275
275
|
| `trend` | 75,252 | 25,076 | 20,677 | 1,056 | 298 | 432 |
|
|
276
|
-
| `video` | 139,
|
|
276
|
+
| `video` | 139,846 | 45,052 | 38,013 | 30,442 | 7,363 | 6,318 |
|
|
277
277
|
| `video-playlist` | 121,622 | 40,189 | 33,737 | 14,893 | 3,507 | 2,886 |
|
|
278
|
-
| `virtual-list` | 34,
|
|
278
|
+
| `virtual-list` | 34,221 | 11,557 | 10,170 | 2,413 | 759 | 626 |
|
|
279
279
|
|
|
280
280
|
### Styled tier
|
|
281
281
|
|
|
@@ -340,7 +340,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
340
340
|
| `navigation` | 31,635 | 10,614 | 9,354 | 2,726 | 776 | 551 |
|
|
341
341
|
| `notifications` | 104,511 | 32,059 | 26,461 | 24,276 | 5,036 | 4,268 |
|
|
342
342
|
| `number-input` | 93,500 | 30,132 | 24,759 | 11,960 | 3,059 | 2,497 |
|
|
343
|
-
| `object-inspector` | 142,
|
|
343
|
+
| `object-inspector` | 142,142 | 45,272 | 38,221 | 32,775 | 7,491 | 6,313 |
|
|
344
344
|
| `option` | 33,844 | 11,025 | 9,728 | 6,175 | 1,565 | 1,269 |
|
|
345
345
|
| `orb` | 38,554 | 13,412 | 11,856 | 8,604 | 3,194 | 2,817 |
|
|
346
346
|
| `outline` | 37,429 | 12,173 | 10,768 | 8,313 | 2,221 | 1,744 |
|
|
@@ -380,9 +380,9 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
380
380
|
| `tour` | 75,388 | 23,666 | 20,981 | 20,453 | 4,395 | 3,668 |
|
|
381
381
|
| `tree` | 92,117 | 29,903 | 24,578 | 12,881 | 3,327 | 2,769 |
|
|
382
382
|
| `trend` | 78,409 | 25,784 | 21,316 | 4,205 | 969 | 888 |
|
|
383
|
-
| `video` | 158,
|
|
383
|
+
| `video` | 158,852 | 48,453 | 40,959 | 49,428 | 10,793 | 9,265 |
|
|
384
384
|
| `video-playlist` | 135,523 | 42,690 | 35,871 | 28,774 | 5,971 | 4,981 |
|
|
385
|
-
| `virtual-list` |
|
|
385
|
+
| `virtual-list` | 35,013 | 11,768 | 10,403 | 3,187 | 955 | 789 |
|
|
386
386
|
|
|
387
387
|
## What lands in `node_modules`
|
|
388
388
|
|
|
@@ -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
|
|
@@ -2023,10 +2023,10 @@ repository does that. The per-component tables are what a page pays.
|
|
|
2023
2023
|
| Package | Raw | Gzip | Brotli | |
|
|
2024
2024
|
|---|---|---|---|---|
|
|
2025
2025
|
| \`@fusion.dev/helix-core\` | 156,003 | 51,384 | 43,598 | Element base class, mixins, decorators, floating positioning. |
|
|
2026
|
-
| \`@fusion.dev/helix-headless\` | 604,
|
|
2026
|
+
| \`@fusion.dev/helix-headless\` | 604,476 | 156,936 | 122,329 | Every headless family, which is what the barrel means. |
|
|
2027
2027
|
| \`@fusion.dev/helix-icons\` | 47,484 | 14,907 | 12,553 | The whole glyph set. |
|
|
2028
2028
|
| \`@fusion.dev/helix-theme\` | 3,288 | 1,571 | 1,355 | The derivation engine. Build time for most consumers, runtime for a theme switcher. |
|
|
2029
|
-
| \`@fusion.dev/helix\` | 1,080,
|
|
2029
|
+
| \`@fusion.dev/helix\` | 1,080,510 | 253,168 | 186,220 | Every styled family. |
|
|
2030
2030
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Not ours. Here so it can be subtracted from every row above it. |
|
|
2031
2031
|
|
|
2032
2032
|
## The stylesheets
|
|
@@ -2049,9 +2049,9 @@ is the whole cost of adopting the base layer on its own.
|
|
|
2049
2049
|
|
|
2050
2050
|
**Most of a first component is the runtime under it.** The median styled family is 18,837 bytes gzipped alone and adds 2,220 to a page that already has Helix on it, so 88 percent of the first one is shared and 12 percent is the component. Ten typical components are one plus nine additions rather than ten of the first number, and the pair of columns below is what lets that be worked out rather than guessed.
|
|
2051
2051
|
|
|
2052
|
-
Across the tier: the cheapest is \`code\` at 9,451 gzipped alone, the dearest \`data-table\` at 59,280, over 100 components. Every family at once is 253,
|
|
2052
|
+
Across the tier: the cheapest is \`code\` at 9,451 gzipped alone, the dearest \`data-table\` at 59,280, over 100 components. Every family at once is 253,168.
|
|
2053
2053
|
|
|
2054
|
-
**No family imports a barrel, and the \`barrels\` rule in \`fusion workspace\` is what keeps it that way.** \`@fusion.dev/helix-headless\` is \`sideEffects\` over every module in \`dist\`, which is true of a file that calls \`customElements.define\` and which means a bundler may drop none of it: one \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 156,
|
|
2054
|
+
**No family imports a barrel, and the \`barrels\` rule in \`fusion workspace\` is what keeps it that way.** \`@fusion.dev/helix-headless\` is \`sideEffects\` over every module in \`dist\`, which is true of a file that calls \`customElements.define\` and which means a bundler may drop none of it: one \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 156,936 bytes gzipped whatever else the page does, which is 8 times the median family measured above. The styled tier imports the family it extends instead, all 100 of them, and the check refuses the shape rather than the package name, so the rule follows \`sideEffects\` wherever it goes.
|
|
2055
2055
|
|
|
2056
2056
|
The headless tier never had the problem, and it is the control: \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and a headless family is a median of 20,531 bytes gzipped alone.
|
|
2057
2057
|
|
|
@@ -2200,7 +2200,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2200
2200
|
| \`navigation\` | 30,254 | 10,225 | 9,039 | 1,361 | 373 | 270 |
|
|
2201
2201
|
| \`notifications\` | 91,555 | 29,712 | 24,386 | 11,333 | 2,683 | 2,227 |
|
|
2202
2202
|
| \`number-input\` | 88,718 | 29,001 | 23,737 | 7,190 | 1,948 | 1,588 |
|
|
2203
|
-
| \`object-inspector\` | 128,
|
|
2203
|
+
| \`object-inspector\` | 128,505 | 42,925 | 36,132 | 19,158 | 5,146 | 4,343 |
|
|
2204
2204
|
| \`option\` | 30,590 | 10,121 | 8,951 | 2,933 | 669 | 440 |
|
|
2205
2205
|
| \`outline\` | 33,689 | 11,399 | 10,047 | 4,590 | 1,415 | 1,077 |
|
|
2206
2206
|
| \`pagination\` | 136,644 | 43,500 | 36,531 | 27,201 | 6,365 | 5,264 |
|
|
@@ -2237,9 +2237,9 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2237
2237
|
| \`tour\` | 65,837 | 22,059 | 19,525 | 10,924 | 2,757 | 2,289 |
|
|
2238
2238
|
| \`tree\` | 86,417 | 28,562 | 23,363 | 7,191 | 1,998 | 1,559 |
|
|
2239
2239
|
| \`trend\` | 75,252 | 25,076 | 20,677 | 1,056 | 298 | 432 |
|
|
2240
|
-
| \`video\` | 139,
|
|
2240
|
+
| \`video\` | 139,846 | 45,052 | 38,013 | 30,442 | 7,363 | 6,318 |
|
|
2241
2241
|
| \`video-playlist\` | 121,622 | 40,189 | 33,737 | 14,893 | 3,507 | 2,886 |
|
|
2242
|
-
| \`virtual-list\` | 34,
|
|
2242
|
+
| \`virtual-list\` | 34,221 | 11,557 | 10,170 | 2,413 | 759 | 626 |
|
|
2243
2243
|
|
|
2244
2244
|
### Styled tier
|
|
2245
2245
|
|
|
@@ -2304,7 +2304,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2304
2304
|
| \`navigation\` | 31,635 | 10,614 | 9,354 | 2,726 | 776 | 551 |
|
|
2305
2305
|
| \`notifications\` | 104,511 | 32,059 | 26,461 | 24,276 | 5,036 | 4,268 |
|
|
2306
2306
|
| \`number-input\` | 93,500 | 30,132 | 24,759 | 11,960 | 3,059 | 2,497 |
|
|
2307
|
-
| \`object-inspector\` | 142,
|
|
2307
|
+
| \`object-inspector\` | 142,142 | 45,272 | 38,221 | 32,775 | 7,491 | 6,313 |
|
|
2308
2308
|
| \`option\` | 33,844 | 11,025 | 9,728 | 6,175 | 1,565 | 1,269 |
|
|
2309
2309
|
| \`orb\` | 38,554 | 13,412 | 11,856 | 8,604 | 3,194 | 2,817 |
|
|
2310
2310
|
| \`outline\` | 37,429 | 12,173 | 10,768 | 8,313 | 2,221 | 1,744 |
|
|
@@ -2344,9 +2344,9 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2344
2344
|
| \`tour\` | 75,388 | 23,666 | 20,981 | 20,453 | 4,395 | 3,668 |
|
|
2345
2345
|
| \`tree\` | 92,117 | 29,903 | 24,578 | 12,881 | 3,327 | 2,769 |
|
|
2346
2346
|
| \`trend\` | 78,409 | 25,784 | 21,316 | 4,205 | 969 | 888 |
|
|
2347
|
-
| \`video\` | 158,
|
|
2347
|
+
| \`video\` | 158,852 | 48,453 | 40,959 | 49,428 | 10,793 | 9,265 |
|
|
2348
2348
|
| \`video-playlist\` | 135,523 | 42,690 | 35,871 | 28,774 | 5,971 | 4,981 |
|
|
2349
|
-
| \`virtual-list\` |
|
|
2349
|
+
| \`virtual-list\` | 35,013 | 11,768 | 10,403 | 3,187 | 955 | 789 |
|
|
2350
2350
|
|
|
2351
2351
|
## What lands in \`node_modules\`
|
|
2352
2352
|
|
|
@@ -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"
|