@fusion.dev/helix-docs 0.53.2 → 0.53.4
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 +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` | 147,226 | 48,349 | 40,887 | Element base class, mixins, decorators, floating positioning. |
|
|
62
|
-
| `@fusion.dev/helix-headless` | 603,
|
|
62
|
+
| `@fusion.dev/helix-headless` | 603,952 | 156,668 | 121,897 | 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,081,
|
|
65
|
+
| `@fusion.dev/helix` | 1,081,187 | 253,753 | 186,141 | 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,826 bytes gzipped alone and adds 2,205 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,152, 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,152, over 100 components. Every family at once is 253,753.
|
|
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,668 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,532 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -236,7 +236,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
236
236
|
| `navigation` | 30,198 | 10,203 | 9,003 | 1,361 | 358 | 280 |
|
|
237
237
|
| `notifications` | 91,555 | 29,712 | 24,386 | 11,333 | 2,683 | 2,208 |
|
|
238
238
|
| `number-input` | 88,606 | 28,974 | 23,707 | 7,190 | 1,949 | 1,574 |
|
|
239
|
-
| `object-inspector` | 128,
|
|
239
|
+
| `object-inspector` | 128,498 | 42,912 | 36,095 | 19,370 | 5,204 | 4,408 |
|
|
240
240
|
| `option` | 30,590 | 10,121 | 8,951 | 2,933 | 671 | 468 |
|
|
241
241
|
| `outline` | 33,522 | 11,334 | 10,014 | 4,633 | 1,419 | 1,089 |
|
|
242
242
|
| `pagination` | 136,532 | 43,463 | 36,483 | 27,201 | 6,341 | 5,186 |
|
|
@@ -340,7 +340,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
340
340
|
| `navigation` | 31,579 | 10,593 | 9,325 | 2,726 | 765 | 611 |
|
|
341
341
|
| `notifications` | 104,511 | 32,059 | 26,461 | 24,276 | 5,021 | 4,279 |
|
|
342
342
|
| `number-input` | 93,388 | 30,109 | 24,667 | 11,960 | 3,047 | 2,532 |
|
|
343
|
-
| `object-inspector` | 142,
|
|
343
|
+
| `object-inspector` | 142,136 | 45,245 | 38,212 | 32,987 | 7,525 | 6,387 |
|
|
344
344
|
| `option` | 33,844 | 11,025 | 9,728 | 6,175 | 1,562 | 1,240 |
|
|
345
345
|
| `orb` | 37,854 | 13,150 | 11,636 | 10,144 | 3,611 | 3,127 |
|
|
346
346
|
| `outline` | 37,262 | 12,108 | 10,683 | 8,356 | 2,226 | 1,793 |
|
|
@@ -394,12 +394,12 @@ column is what was removed rather than part of what remains.
|
|
|
394
394
|
|
|
395
395
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
396
396
|
|---|---|---|---|---|
|
|
397
|
-
| `@fusion.dev/helix-core` | 878,
|
|
398
|
-
| `@fusion.dev/helix-headless` | 11,372,
|
|
397
|
+
| `@fusion.dev/helix-core` | 878,078 | 129 | 190,771 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
398
|
+
| `@fusion.dev/helix-headless` | 11,372,975 | 472 | 859,430 | `@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,391,991 | 798 | 338,969 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
403
403
|
|
|
404
404
|
## Not measured yet
|
|
405
405
|
|
|
@@ -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\` | 147,226 | 48,349 | 40,887 | Element base class, mixins, decorators, floating positioning. |
|
|
2026
|
-
| \`@fusion.dev/helix-headless\` | 603,
|
|
2026
|
+
| \`@fusion.dev/helix-headless\` | 603,952 | 156,668 | 121,897 | 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,081,
|
|
2029
|
+
| \`@fusion.dev/helix\` | 1,081,187 | 253,753 | 186,141 | 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,826 bytes gzipped alone and adds 2,205 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,152, 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,152, over 100 components. Every family at once is 253,753.
|
|
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,668 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,532 bytes gzipped alone.
|
|
2057
2057
|
|
|
@@ -2200,7 +2200,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2200
2200
|
| \`navigation\` | 30,198 | 10,203 | 9,003 | 1,361 | 358 | 280 |
|
|
2201
2201
|
| \`notifications\` | 91,555 | 29,712 | 24,386 | 11,333 | 2,683 | 2,208 |
|
|
2202
2202
|
| \`number-input\` | 88,606 | 28,974 | 23,707 | 7,190 | 1,949 | 1,574 |
|
|
2203
|
-
| \`object-inspector\` | 128,
|
|
2203
|
+
| \`object-inspector\` | 128,498 | 42,912 | 36,095 | 19,370 | 5,204 | 4,408 |
|
|
2204
2204
|
| \`option\` | 30,590 | 10,121 | 8,951 | 2,933 | 671 | 468 |
|
|
2205
2205
|
| \`outline\` | 33,522 | 11,334 | 10,014 | 4,633 | 1,419 | 1,089 |
|
|
2206
2206
|
| \`pagination\` | 136,532 | 43,463 | 36,483 | 27,201 | 6,341 | 5,186 |
|
|
@@ -2304,7 +2304,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2304
2304
|
| \`navigation\` | 31,579 | 10,593 | 9,325 | 2,726 | 765 | 611 |
|
|
2305
2305
|
| \`notifications\` | 104,511 | 32,059 | 26,461 | 24,276 | 5,021 | 4,279 |
|
|
2306
2306
|
| \`number-input\` | 93,388 | 30,109 | 24,667 | 11,960 | 3,047 | 2,532 |
|
|
2307
|
-
| \`object-inspector\` | 142,
|
|
2307
|
+
| \`object-inspector\` | 142,136 | 45,245 | 38,212 | 32,987 | 7,525 | 6,387 |
|
|
2308
2308
|
| \`option\` | 33,844 | 11,025 | 9,728 | 6,175 | 1,562 | 1,240 |
|
|
2309
2309
|
| \`orb\` | 37,854 | 13,150 | 11,636 | 10,144 | 3,611 | 3,127 |
|
|
2310
2310
|
| \`outline\` | 37,262 | 12,108 | 10,683 | 8,356 | 2,226 | 1,793 |
|
|
@@ -2358,12 +2358,12 @@ column is what was removed rather than part of what remains.
|
|
|
2358
2358
|
|
|
2359
2359
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
2360
2360
|
|---|---|---|---|---|
|
|
2361
|
-
| \`@fusion.dev/helix-core\` | 878,
|
|
2362
|
-
| \`@fusion.dev/helix-headless\` | 11,372,
|
|
2361
|
+
| \`@fusion.dev/helix-core\` | 878,078 | 129 | 190,771 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2362
|
+
| \`@fusion.dev/helix-headless\` | 11,372,975 | 472 | 859,430 | \`@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,391,991 | 798 | 338,969 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2367
2367
|
|
|
2368
2368
|
## Not measured yet
|
|
2369
2369
|
|
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.53.
|
|
4
|
+
"version": "0.53.4",
|
|
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.53.
|
|
40
|
-
"@fusion.dev/helix-testing": "0.53.
|
|
39
|
+
"@fusion.dev/helix-cem": "0.53.4",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.53.4",
|
|
41
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
43
|
"playwright": "^1.62.1"
|