@fusion.dev/helix-docs 0.49.1 → 0.50.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 +11 -11
- package/dist/sources.generated.js +11 -11
- 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` | 145,945 | 48,071 | 40,712 | Element base class, mixins, decorators, floating positioning. |
|
|
62
|
-
| `@fusion.dev/helix-headless` | 604,
|
|
62
|
+
| `@fusion.dev/helix-headless` | 604,327 | 156,624 | 121,714 | 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,776 | 253,521 | 185,803 | 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,795 bytes gzipped alone and adds 2,232 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,038, 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,038, over 100 components. Every family at once is 253,521.
|
|
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,624 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
|
|
|
@@ -201,8 +201,8 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
201
201
|
| `checkbox-group` | 39,339 | 12,263 | 10,819 | 4,830 | 1,277 | 957 |
|
|
202
202
|
| `code` | 26,939 | 9,155 | 8,083 | 451 | 84 | 89 |
|
|
203
203
|
| `code-block` | 121,199 | 40,426 | 34,077 | 17,262 | 4,554 | 3,910 |
|
|
204
|
-
| `color-input` | 135,
|
|
205
|
-
| `color-picker` | 102,
|
|
204
|
+
| `color-input` | 135,123 | 43,788 | 36,797 | 25,856 | 6,659 | 5,652 |
|
|
205
|
+
| `color-picker` | 102,648 | 33,113 | 27,287 | 20,230 | 5,420 | 4,621 |
|
|
206
206
|
| `combobox` | 132,271 | 42,733 | 35,933 | 20,354 | 5,070 | 4,132 |
|
|
207
207
|
| `command` | 102,714 | 32,673 | 26,784 | 17,727 | 4,555 | 3,687 |
|
|
208
208
|
| `copy-button` | 115,795 | 38,793 | 32,636 | 11,861 | 2,986 | 2,471 |
|
|
@@ -303,8 +303,8 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
303
303
|
| `checkbox-group` | 41,522 | 12,837 | 11,297 | 6,999 | 1,845 | 1,426 |
|
|
304
304
|
| `code` | 28,016 | 9,451 | 8,325 | 1,511 | 376 | 322 |
|
|
305
305
|
| `code-block` | 137,648 | 43,288 | 36,515 | 33,691 | 7,272 | 6,215 |
|
|
306
|
-
| `color-input` | 168,
|
|
307
|
-
| `color-picker` | 130,
|
|
306
|
+
| `color-input` | 168,626 | 48,946 | 41,341 | 59,342 | 11,856 | 10,174 |
|
|
307
|
+
| `color-picker` | 130,447 | 37,566 | 31,225 | 48,023 | 9,956 | 8,580 |
|
|
308
308
|
| `combobox` | 147,074 | 45,390 | 38,194 | 35,138 | 7,732 | 6,535 |
|
|
309
309
|
| `command` | 113,177 | 34,703 | 28,568 | 28,176 | 6,604 | 5,583 |
|
|
310
310
|
| `copy-button` | 125,799 | 40,567 | 34,118 | 21,847 | 4,700 | 3,965 |
|
|
@@ -351,7 +351,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
351
351
|
| `qr-code` | 41,911 | 14,428 | 12,719 | 14,626 | 5,111 | 4,441 |
|
|
352
352
|
| `quote` | 28,498 | 9,607 | 8,462 | 1,191 | 301 | 193 |
|
|
353
353
|
| `radio` | 45,268 | 13,351 | 11,771 | 10,759 | 2,267 | 1,832 |
|
|
354
|
-
| `rating` | 44,
|
|
354
|
+
| `rating` | 44,808 | 14,184 | 12,535 | 10,730 | 3,097 | 2,539 |
|
|
355
355
|
| `sandbox` | 63,143 | 17,346 | 15,366 | 35,048 | 7,733 | 6,563 |
|
|
356
356
|
| `scatter-chart` | 82,664 | 27,048 | 23,816 | 19,829 | 5,282 | 4,343 |
|
|
357
357
|
| `scroll-area` | 33,234 | 10,788 | 9,483 | 5,874 | 1,455 | 1,149 |
|
|
@@ -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` | 847,310 | 123 | 186,573 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
398
|
-
| `@fusion.dev/helix-headless` | 11,
|
|
398
|
+
| `@fusion.dev/helix-headless` | 11,280,063 | 472 | 860,328 | `@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,297,584 | 798 | 338,319 | `@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\` | 145,945 | 48,071 | 40,712 | Element base class, mixins, decorators, floating positioning. |
|
|
2026
|
-
| \`@fusion.dev/helix-headless\` | 604,
|
|
2026
|
+
| \`@fusion.dev/helix-headless\` | 604,327 | 156,624 | 121,714 | 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,776 | 253,521 | 185,803 | 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,795 bytes gzipped alone and adds 2,232 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,038, 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,038, over 100 components. Every family at once is 253,521.
|
|
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,624 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
|
|
|
@@ -2165,8 +2165,8 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2165
2165
|
| \`checkbox-group\` | 39,339 | 12,263 | 10,819 | 4,830 | 1,277 | 957 |
|
|
2166
2166
|
| \`code\` | 26,939 | 9,155 | 8,083 | 451 | 84 | 89 |
|
|
2167
2167
|
| \`code-block\` | 121,199 | 40,426 | 34,077 | 17,262 | 4,554 | 3,910 |
|
|
2168
|
-
| \`color-input\` | 135,
|
|
2169
|
-
| \`color-picker\` | 102,
|
|
2168
|
+
| \`color-input\` | 135,123 | 43,788 | 36,797 | 25,856 | 6,659 | 5,652 |
|
|
2169
|
+
| \`color-picker\` | 102,648 | 33,113 | 27,287 | 20,230 | 5,420 | 4,621 |
|
|
2170
2170
|
| \`combobox\` | 132,271 | 42,733 | 35,933 | 20,354 | 5,070 | 4,132 |
|
|
2171
2171
|
| \`command\` | 102,714 | 32,673 | 26,784 | 17,727 | 4,555 | 3,687 |
|
|
2172
2172
|
| \`copy-button\` | 115,795 | 38,793 | 32,636 | 11,861 | 2,986 | 2,471 |
|
|
@@ -2267,8 +2267,8 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2267
2267
|
| \`checkbox-group\` | 41,522 | 12,837 | 11,297 | 6,999 | 1,845 | 1,426 |
|
|
2268
2268
|
| \`code\` | 28,016 | 9,451 | 8,325 | 1,511 | 376 | 322 |
|
|
2269
2269
|
| \`code-block\` | 137,648 | 43,288 | 36,515 | 33,691 | 7,272 | 6,215 |
|
|
2270
|
-
| \`color-input\` | 168,
|
|
2271
|
-
| \`color-picker\` | 130,
|
|
2270
|
+
| \`color-input\` | 168,626 | 48,946 | 41,341 | 59,342 | 11,856 | 10,174 |
|
|
2271
|
+
| \`color-picker\` | 130,447 | 37,566 | 31,225 | 48,023 | 9,956 | 8,580 |
|
|
2272
2272
|
| \`combobox\` | 147,074 | 45,390 | 38,194 | 35,138 | 7,732 | 6,535 |
|
|
2273
2273
|
| \`command\` | 113,177 | 34,703 | 28,568 | 28,176 | 6,604 | 5,583 |
|
|
2274
2274
|
| \`copy-button\` | 125,799 | 40,567 | 34,118 | 21,847 | 4,700 | 3,965 |
|
|
@@ -2315,7 +2315,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2315
2315
|
| \`qr-code\` | 41,911 | 14,428 | 12,719 | 14,626 | 5,111 | 4,441 |
|
|
2316
2316
|
| \`quote\` | 28,498 | 9,607 | 8,462 | 1,191 | 301 | 193 |
|
|
2317
2317
|
| \`radio\` | 45,268 | 13,351 | 11,771 | 10,759 | 2,267 | 1,832 |
|
|
2318
|
-
| \`rating\` | 44,
|
|
2318
|
+
| \`rating\` | 44,808 | 14,184 | 12,535 | 10,730 | 3,097 | 2,539 |
|
|
2319
2319
|
| \`sandbox\` | 63,143 | 17,346 | 15,366 | 35,048 | 7,733 | 6,563 |
|
|
2320
2320
|
| \`scatter-chart\` | 82,664 | 27,048 | 23,816 | 19,829 | 5,282 | 4,343 |
|
|
2321
2321
|
| \`scroll-area\` | 33,234 | 10,788 | 9,483 | 5,874 | 1,455 | 1,149 |
|
|
@@ -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\` | 847,310 | 123 | 186,573 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2362
|
-
| \`@fusion.dev/helix-headless\` | 11,
|
|
2362
|
+
| \`@fusion.dev/helix-headless\` | 11,280,063 | 472 | 860,328 | \`@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,297,584 | 798 | 338,319 | \`@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.
|
|
4
|
+
"version": "0.50.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.50.0",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.50.0",
|
|
41
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
43
|
"playwright": "^1.62.1"
|