@fusion.dev/helix-docs 0.126.0 → 0.128.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 +9 -9
- package/dist/sources.generated.js +9 -9
- package/package.json +9 -9
package/content/metrics.mdx
CHANGED
|
@@ -58,10 +58,10 @@ either barrel. The per-component tables show what your page pays.
|
|
|
58
58
|
| Package | Raw | Gzip | Brotli | |
|
|
59
59
|
|---|---|---|---|---|
|
|
60
60
|
| `@fusion.dev/helix-core` | 183,475 | 58,165 | 49,355 | The element base class, mixins, decorators, and floating positioning. |
|
|
61
|
-
| `@fusion.dev/helix-headless` |
|
|
61
|
+
| `@fusion.dev/helix-headless` | 744,132 | 192,737 | 149,437 | Every headless family. The barrel entry includes all of them. |
|
|
62
62
|
| `@fusion.dev/helix-icons` | 55,565 | 17,727 | 14,864 | The whole glyph set. |
|
|
63
63
|
| `@fusion.dev/helix-theme` | 3,626 | 1,597 | 1,384 | The derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
64
|
-
| `@fusion.dev/helix` | 1,
|
|
64
|
+
| `@fusion.dev/helix` | 1,284,280 | 300,626 | 219,859 | Every styled family. |
|
|
65
65
|
| `lit` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
66
66
|
|
|
67
67
|
## Stylesheets
|
|
@@ -84,9 +84,9 @@ shows the whole cost of using the base layer on its own.
|
|
|
84
84
|
|
|
85
85
|
**Most of your first component is the shared runtime.** The median styled family is 21,356 bytes gzipped alone, and it adds 2,261 to a page that already has Helix. The shared runtime is 89 percent of the first component, and the component itself is 11 percent. Ten typical components cost the first number once, plus nine of the added number. The two columns in the tables below let you work that out for your own components.
|
|
86
86
|
|
|
87
|
-
Across the 104 styled components, the smallest is `code` at 9,914 bytes gzipped alone, and the largest is `data-table` at 63,755. Every family together is 300,
|
|
87
|
+
Across the 104 styled components, the smallest is `code` at 9,914 bytes gzipped alone, and the largest is `data-table` at 63,755. Every family together is 300,626.
|
|
88
88
|
|
|
89
|
-
No family imports a barrel. The `barrels` rule in `fusion workspace` enforces that. `@fusion.dev/helix-headless` marks every module in `dist` as having side effects, which is true of a file that calls `customElements.define`. A bundler can remove none of it. One `import { HelixHeadlessButton } from '@fusion.dev/helix-headless'` costs 192,
|
|
89
|
+
No family imports a barrel. The `barrels` rule in `fusion workspace` enforces that. `@fusion.dev/helix-headless` marks every module in `dist` as having side effects, which is true of a file that calls `customElements.define`. A bundler can remove none of it. One `import { HelixHeadlessButton } from '@fusion.dev/helix-headless'` costs 192,737 bytes gzipped, whatever else the page imports. That is 9 times the median family above. All 104 styled families import the headless family they extend directly. The rule checks the shape of the import, so it applies to any package that sets `sideEffects`, whatever its name.
|
|
90
90
|
|
|
91
91
|
The headless tier never had the problem, so it serves as the control. `@fusion.dev/helix-core` is `sideEffects: false`, and the median headless family is 21,912 bytes gzipped alone.
|
|
92
92
|
|
|
@@ -218,7 +218,7 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
218
218
|
| `file-input` | 100,268 | 32,315 | 26,350 | 6,215 | 1,789 | 1,480 |
|
|
219
219
|
| `filter-input` | 157,062 | 49,093 | 41,414 | 28,023 | 6,778 | 5,636 |
|
|
220
220
|
| `format-date` | 36,341 | 11,211 | 9,892 | 2,867 | 691 | 553 |
|
|
221
|
-
| `graph` |
|
|
221
|
+
| `graph` | 112,930 | 35,999 | 29,558 | 9,932 | 2,821 | 2,319 |
|
|
222
222
|
| `heatmap` | 78,249 | 25,359 | 22,345 | 10,872 | 2,971 | 2,475 |
|
|
223
223
|
| `icon` | 87,463 | 28,303 | 23,183 | 1,018 | 244 | 228 |
|
|
224
224
|
| `icon-button` | 37,931 | 11,453 | 10,064 | 3,581 | 851 | 639 |
|
|
@@ -325,7 +325,7 @@ The headless tier plus presentation. `bun add @fusion.dev/helix` installs this t
|
|
|
325
325
|
| `filter-input` | 185,398 | 53,627 | 45,167 | 56,353 | 11,389 | 9,420 |
|
|
326
326
|
| `flex` | 33,785 | 10,276 | 9,018 | 2,078 | 453 | 336 |
|
|
327
327
|
| `format-date` | 36,989 | 11,363 | 10,057 | 3,497 | 861 | 615 |
|
|
328
|
-
| `graph` |
|
|
328
|
+
| `graph` | 122,855 | 38,028 | 31,296 | 19,840 | 4,869 | 4,247 |
|
|
329
329
|
| `grid` | 34,378 | 10,455 | 9,189 | 2,667 | 624 | 559 |
|
|
330
330
|
| `heatmap` | 85,047 | 26,758 | 23,628 | 17,648 | 4,428 | 3,689 |
|
|
331
331
|
| `icon` | 88,169 | 28,489 | 23,351 | 1,707 | 425 | 309 |
|
|
@@ -400,12 +400,12 @@ stripped column shows the bytes we removed.
|
|
|
400
400
|
|
|
401
401
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
402
402
|
|---|---|---|---|---|
|
|
403
|
-
| `@fusion.dev/helix-core` | 1,190,
|
|
404
|
-
| `@fusion.dev/helix-headless` | 13,
|
|
403
|
+
| `@fusion.dev/helix-core` | 1,190,142 | 171 | 266,582 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
404
|
+
| `@fusion.dev/helix-headless` | 13,487,232 | 510 | 1,074,142 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
405
405
|
| `@fusion.dev/helix-icons` | 150,162 | 21 | 50,346 | `svgo` |
|
|
406
406
|
| `@fusion.dev/helix-styles` | 102,155 | 6 | 0 | none |
|
|
407
407
|
| `@fusion.dev/helix-theme` | 500,416 | 8 | 5,191 | none |
|
|
408
|
-
| `@fusion.dev/helix` | 14,
|
|
408
|
+
| `@fusion.dev/helix` | 14,601,142 | 876 | 373,588 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
409
409
|
|
|
410
410
|
## Not measured yet
|
|
411
411
|
|
|
@@ -2958,10 +2958,10 @@ either barrel. The per-component tables show what your page pays.
|
|
|
2958
2958
|
| Package | Raw | Gzip | Brotli | |
|
|
2959
2959
|
|---|---|---|---|---|
|
|
2960
2960
|
| \`@fusion.dev/helix-core\` | 183,475 | 58,165 | 49,355 | The element base class, mixins, decorators, and floating positioning. |
|
|
2961
|
-
| \`@fusion.dev/helix-headless\` |
|
|
2961
|
+
| \`@fusion.dev/helix-headless\` | 744,132 | 192,737 | 149,437 | Every headless family. The barrel entry includes all of them. |
|
|
2962
2962
|
| \`@fusion.dev/helix-icons\` | 55,565 | 17,727 | 14,864 | The whole glyph set. |
|
|
2963
2963
|
| \`@fusion.dev/helix-theme\` | 3,626 | 1,597 | 1,384 | The derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
2964
|
-
| \`@fusion.dev/helix\` | 1,
|
|
2964
|
+
| \`@fusion.dev/helix\` | 1,284,280 | 300,626 | 219,859 | Every styled family. |
|
|
2965
2965
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
2966
2966
|
|
|
2967
2967
|
## Stylesheets
|
|
@@ -2984,9 +2984,9 @@ shows the whole cost of using the base layer on its own.
|
|
|
2984
2984
|
|
|
2985
2985
|
**Most of your first component is the shared runtime.** The median styled family is 21,356 bytes gzipped alone, and it adds 2,261 to a page that already has Helix. The shared runtime is 89 percent of the first component, and the component itself is 11 percent. Ten typical components cost the first number once, plus nine of the added number. The two columns in the tables below let you work that out for your own components.
|
|
2986
2986
|
|
|
2987
|
-
Across the 104 styled components, the smallest is \`code\` at 9,914 bytes gzipped alone, and the largest is \`data-table\` at 63,755. Every family together is 300,
|
|
2987
|
+
Across the 104 styled components, the smallest is \`code\` at 9,914 bytes gzipped alone, and the largest is \`data-table\` at 63,755. Every family together is 300,626.
|
|
2988
2988
|
|
|
2989
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 192,
|
|
2989
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 192,737 bytes gzipped, whatever else the page imports. That is 9 times the median family above. All 104 styled families import the headless family they extend directly. The rule checks the shape of the import, so it applies to any package that sets \`sideEffects\`, whatever its name.
|
|
2990
2990
|
|
|
2991
2991
|
The headless tier never had the problem, so it serves as the control. \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and the median headless family is 21,912 bytes gzipped alone.
|
|
2992
2992
|
|
|
@@ -3118,7 +3118,7 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
3118
3118
|
| \`file-input\` | 100,268 | 32,315 | 26,350 | 6,215 | 1,789 | 1,480 |
|
|
3119
3119
|
| \`filter-input\` | 157,062 | 49,093 | 41,414 | 28,023 | 6,778 | 5,636 |
|
|
3120
3120
|
| \`format-date\` | 36,341 | 11,211 | 9,892 | 2,867 | 691 | 553 |
|
|
3121
|
-
| \`graph\` |
|
|
3121
|
+
| \`graph\` | 112,930 | 35,999 | 29,558 | 9,932 | 2,821 | 2,319 |
|
|
3122
3122
|
| \`heatmap\` | 78,249 | 25,359 | 22,345 | 10,872 | 2,971 | 2,475 |
|
|
3123
3123
|
| \`icon\` | 87,463 | 28,303 | 23,183 | 1,018 | 244 | 228 |
|
|
3124
3124
|
| \`icon-button\` | 37,931 | 11,453 | 10,064 | 3,581 | 851 | 639 |
|
|
@@ -3225,7 +3225,7 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
3225
3225
|
| \`filter-input\` | 185,398 | 53,627 | 45,167 | 56,353 | 11,389 | 9,420 |
|
|
3226
3226
|
| \`flex\` | 33,785 | 10,276 | 9,018 | 2,078 | 453 | 336 |
|
|
3227
3227
|
| \`format-date\` | 36,989 | 11,363 | 10,057 | 3,497 | 861 | 615 |
|
|
3228
|
-
| \`graph\` |
|
|
3228
|
+
| \`graph\` | 122,855 | 38,028 | 31,296 | 19,840 | 4,869 | 4,247 |
|
|
3229
3229
|
| \`grid\` | 34,378 | 10,455 | 9,189 | 2,667 | 624 | 559 |
|
|
3230
3230
|
| \`heatmap\` | 85,047 | 26,758 | 23,628 | 17,648 | 4,428 | 3,689 |
|
|
3231
3231
|
| \`icon\` | 88,169 | 28,489 | 23,351 | 1,707 | 425 | 309 |
|
|
@@ -3300,12 +3300,12 @@ stripped column shows the bytes we removed.
|
|
|
3300
3300
|
|
|
3301
3301
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
3302
3302
|
|---|---|---|---|---|
|
|
3303
|
-
| \`@fusion.dev/helix-core\` | 1,190,
|
|
3304
|
-
| \`@fusion.dev/helix-headless\` | 13,
|
|
3303
|
+
| \`@fusion.dev/helix-core\` | 1,190,142 | 171 | 266,582 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
3304
|
+
| \`@fusion.dev/helix-headless\` | 13,487,232 | 510 | 1,074,142 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
3305
3305
|
| \`@fusion.dev/helix-icons\` | 150,162 | 21 | 50,346 | \`svgo\` |
|
|
3306
3306
|
| \`@fusion.dev/helix-styles\` | 102,155 | 6 | 0 | none |
|
|
3307
3307
|
| \`@fusion.dev/helix-theme\` | 500,416 | 8 | 5,191 | none |
|
|
3308
|
-
| \`@fusion.dev/helix\` | 14,
|
|
3308
|
+
| \`@fusion.dev/helix\` | 14,601,142 | 876 | 373,588 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
3309
3309
|
|
|
3310
3310
|
## Not measured yet
|
|
3311
3311
|
|
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.128.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
},
|
|
37
37
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@fusion.dev/helix": "0.
|
|
40
|
-
"@fusion.dev/helix-cem": "0.
|
|
41
|
-
"@fusion.dev/helix-headless": "0.
|
|
42
|
-
"@fusion.dev/helix-icons": "0.
|
|
43
|
-
"@fusion.dev/helix-map": "0.
|
|
44
|
-
"@fusion.dev/helix-styles": "0.
|
|
45
|
-
"@fusion.dev/helix-testing": "0.
|
|
46
|
-
"@fusion.dev/helix-theme": "0.
|
|
39
|
+
"@fusion.dev/helix": "0.128.0",
|
|
40
|
+
"@fusion.dev/helix-cem": "0.128.0",
|
|
41
|
+
"@fusion.dev/helix-headless": "0.128.0",
|
|
42
|
+
"@fusion.dev/helix-icons": "0.128.0",
|
|
43
|
+
"@fusion.dev/helix-map": "0.128.0",
|
|
44
|
+
"@fusion.dev/helix-styles": "0.128.0",
|
|
45
|
+
"@fusion.dev/helix-testing": "0.128.0",
|
|
46
|
+
"@fusion.dev/helix-theme": "0.128.0",
|
|
47
47
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
48
48
|
"lit": "^3.2.1",
|
|
49
49
|
"playwright": "^1.62.1"
|