@fusion.dev/helix-docs 0.102.0 → 0.103.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/metrics.mdx +8 -8
- package/dist/sources.generated.js +8 -8
- 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,394 | 51,458 | 43,682 | Element base class, mixins, decorators, floating positioning. |
|
|
62
|
-
| `@fusion.dev/helix-headless` |
|
|
62
|
+
| `@fusion.dev/helix-headless` | 614,201 | 158,766 | 123,682 | 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,
|
|
65
|
+
| `@fusion.dev/helix` | 1,097,910 | 256,295 | 188,281 | 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 15,993 bytes gzipped alone and adds 2,200 to a page that already has Helix on it, so 86 percent of the first one is shared and 14 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,497 gzipped alone, the dearest `data-table` at 59,317, over 102 components. Every family at once is 256,
|
|
88
|
+
Across the tier: the cheapest is `code` at 9,497 gzipped alone, the dearest `data-table` at 59,317, over 102 components. Every family at once is 256,295.
|
|
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 158,
|
|
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 158,766 bytes gzipped whatever else the page does, which is 10 times the median family measured above. The styled tier imports the family it extends instead, all 102 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,026 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -231,7 +231,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
231
231
|
| `list` | 29,720 | 9,805 | 8,638 | 1,726 | 337 | 288 |
|
|
232
232
|
| `listbox` | 94,914 | 30,905 | 25,235 | 10,942 | 3,006 | 2,479 |
|
|
233
233
|
| `loader` | 28,904 | 9,738 | 8,589 | 900 | 225 | 246 |
|
|
234
|
-
| `map` | 33,
|
|
234
|
+
| `map` | 33,409 | 10,915 | 9,601 | 4,257 | 1,017 | 927 |
|
|
235
235
|
| `megamenu` | 59,112 | 20,409 | 18,083 | 4,941 | 1,357 | 1,172 |
|
|
236
236
|
| `menu` | 114,483 | 38,633 | 32,346 | 8,816 | 2,260 | 1,852 |
|
|
237
237
|
| `meter` | 32,094 | 10,588 | 9,348 | 4,099 | 1,050 | 969 |
|
|
@@ -337,7 +337,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
337
337
|
| `list` | 33,786 | 10,751 | 9,455 | 5,782 | 1,293 | 1,149 |
|
|
338
338
|
| `listbox` | 99,183 | 31,900 | 26,099 | 15,204 | 3,977 | 3,305 |
|
|
339
339
|
| `loader` | 32,070 | 10,501 | 9,266 | 4,051 | 995 | 894 |
|
|
340
|
-
| `map` |
|
|
340
|
+
| `map` | 37,176 | 11,792 | 10,393 | 8,006 | 1,922 | 1,638 |
|
|
341
341
|
| `megamenu` | 63,993 | 21,478 | 19,055 | 9,805 | 2,434 | 2,052 |
|
|
342
342
|
| `menu` | 121,860 | 40,208 | 33,685 | 16,174 | 3,786 | 3,208 |
|
|
343
343
|
| `meter` | 37,492 | 11,733 | 10,369 | 9,479 | 2,213 | 2,010 |
|
|
@@ -399,11 +399,11 @@ column is what was removed rather than part of what remains.
|
|
|
399
399
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
400
400
|
|---|---|---|---|---|
|
|
401
401
|
| `@fusion.dev/helix-core` | 990,453 | 153 | 223,524 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
402
|
-
| `@fusion.dev/helix-headless` | 11,
|
|
402
|
+
| `@fusion.dev/helix-headless` | 11,608,074 | 474 | 854,293 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
403
403
|
| `@fusion.dev/helix-icons` | 131,512 | 21 | 44,809 | `svgo` |
|
|
404
404
|
| `@fusion.dev/helix-styles` | 101,298 | 6 | 0 | none |
|
|
405
405
|
| `@fusion.dev/helix-theme` | 465,413 | 8 | 4,703 | none |
|
|
406
|
-
| `@fusion.dev/helix` | 12,
|
|
406
|
+
| `@fusion.dev/helix` | 12,731,977 | 812 | 338,873 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
407
407
|
|
|
408
408
|
## Not measured yet
|
|
409
409
|
|
|
@@ -2125,10 +2125,10 @@ repository does that. The per-component tables are what a page pays.
|
|
|
2125
2125
|
| Package | Raw | Gzip | Brotli | |
|
|
2126
2126
|
|---|---|---|---|---|
|
|
2127
2127
|
| \`@fusion.dev/helix-core\` | 156,394 | 51,458 | 43,682 | Element base class, mixins, decorators, floating positioning. |
|
|
2128
|
-
| \`@fusion.dev/helix-headless\` |
|
|
2128
|
+
| \`@fusion.dev/helix-headless\` | 614,201 | 158,766 | 123,682 | Every headless family, which is what the barrel means. |
|
|
2129
2129
|
| \`@fusion.dev/helix-icons\` | 47,484 | 14,907 | 12,553 | The whole glyph set. |
|
|
2130
2130
|
| \`@fusion.dev/helix-theme\` | 3,288 | 1,571 | 1,355 | The derivation engine. Build time for most consumers, runtime for a theme switcher. |
|
|
2131
|
-
| \`@fusion.dev/helix\` | 1,
|
|
2131
|
+
| \`@fusion.dev/helix\` | 1,097,910 | 256,295 | 188,281 | Every styled family. |
|
|
2132
2132
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Not ours. Here so it can be subtracted from every row above it. |
|
|
2133
2133
|
|
|
2134
2134
|
## The stylesheets
|
|
@@ -2151,9 +2151,9 @@ is the whole cost of adopting the base layer on its own.
|
|
|
2151
2151
|
|
|
2152
2152
|
**Most of a first component is the runtime under it.** The median styled family is 15,993 bytes gzipped alone and adds 2,200 to a page that already has Helix on it, so 86 percent of the first one is shared and 14 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.
|
|
2153
2153
|
|
|
2154
|
-
Across the tier: the cheapest is \`code\` at 9,497 gzipped alone, the dearest \`data-table\` at 59,317, over 102 components. Every family at once is 256,
|
|
2154
|
+
Across the tier: the cheapest is \`code\` at 9,497 gzipped alone, the dearest \`data-table\` at 59,317, over 102 components. Every family at once is 256,295.
|
|
2155
2155
|
|
|
2156
|
-
**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 158,
|
|
2156
|
+
**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 158,766 bytes gzipped whatever else the page does, which is 10 times the median family measured above. The styled tier imports the family it extends instead, all 102 of them, and the check refuses the shape rather than the package name, so the rule follows \`sideEffects\` wherever it goes.
|
|
2157
2157
|
|
|
2158
2158
|
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,026 bytes gzipped alone.
|
|
2159
2159
|
|
|
@@ -2297,7 +2297,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2297
2297
|
| \`list\` | 29,720 | 9,805 | 8,638 | 1,726 | 337 | 288 |
|
|
2298
2298
|
| \`listbox\` | 94,914 | 30,905 | 25,235 | 10,942 | 3,006 | 2,479 |
|
|
2299
2299
|
| \`loader\` | 28,904 | 9,738 | 8,589 | 900 | 225 | 246 |
|
|
2300
|
-
| \`map\` | 33,
|
|
2300
|
+
| \`map\` | 33,409 | 10,915 | 9,601 | 4,257 | 1,017 | 927 |
|
|
2301
2301
|
| \`megamenu\` | 59,112 | 20,409 | 18,083 | 4,941 | 1,357 | 1,172 |
|
|
2302
2302
|
| \`menu\` | 114,483 | 38,633 | 32,346 | 8,816 | 2,260 | 1,852 |
|
|
2303
2303
|
| \`meter\` | 32,094 | 10,588 | 9,348 | 4,099 | 1,050 | 969 |
|
|
@@ -2403,7 +2403,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2403
2403
|
| \`list\` | 33,786 | 10,751 | 9,455 | 5,782 | 1,293 | 1,149 |
|
|
2404
2404
|
| \`listbox\` | 99,183 | 31,900 | 26,099 | 15,204 | 3,977 | 3,305 |
|
|
2405
2405
|
| \`loader\` | 32,070 | 10,501 | 9,266 | 4,051 | 995 | 894 |
|
|
2406
|
-
| \`map\` |
|
|
2406
|
+
| \`map\` | 37,176 | 11,792 | 10,393 | 8,006 | 1,922 | 1,638 |
|
|
2407
2407
|
| \`megamenu\` | 63,993 | 21,478 | 19,055 | 9,805 | 2,434 | 2,052 |
|
|
2408
2408
|
| \`menu\` | 121,860 | 40,208 | 33,685 | 16,174 | 3,786 | 3,208 |
|
|
2409
2409
|
| \`meter\` | 37,492 | 11,733 | 10,369 | 9,479 | 2,213 | 2,010 |
|
|
@@ -2465,11 +2465,11 @@ column is what was removed rather than part of what remains.
|
|
|
2465
2465
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
2466
2466
|
|---|---|---|---|---|
|
|
2467
2467
|
| \`@fusion.dev/helix-core\` | 990,453 | 153 | 223,524 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2468
|
-
| \`@fusion.dev/helix-headless\` | 11,
|
|
2468
|
+
| \`@fusion.dev/helix-headless\` | 11,608,074 | 474 | 854,293 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
2469
2469
|
| \`@fusion.dev/helix-icons\` | 131,512 | 21 | 44,809 | \`svgo\` |
|
|
2470
2470
|
| \`@fusion.dev/helix-styles\` | 101,298 | 6 | 0 | none |
|
|
2471
2471
|
| \`@fusion.dev/helix-theme\` | 465,413 | 8 | 4,703 | none |
|
|
2472
|
-
| \`@fusion.dev/helix\` | 12,
|
|
2472
|
+
| \`@fusion.dev/helix\` | 12,731,977 | 812 | 338,873 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2473
2473
|
|
|
2474
2474
|
## Not measured yet
|
|
2475
2475
|
|
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.
|
|
4
|
+
"version": "0.103.0",
|
|
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.
|
|
40
|
-
"@fusion.dev/helix-testing": "0.
|
|
39
|
+
"@fusion.dev/helix-cem": "0.103.0",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.103.0",
|
|
41
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
43
|
"playwright": "^1.62.1"
|