@fusion.dev/helix-docs 0.46.1 → 0.47.1
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` | 602,
|
|
62
|
+
| `@fusion.dev/helix-headless` | 602,629 | 156,161 | 121,473 | 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,078,907 | 253,018 | 185,627 | 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,773 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
|
|
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,018.
|
|
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,161 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
|
|
|
@@ -195,7 +195,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
195
195
|
| `button-group` | 28,320 | 9,574 | 8,438 | 661 | 141 | 155 |
|
|
196
196
|
| `callout` | 75,643 | 25,209 | 20,789 | 912 | 240 | 126 |
|
|
197
197
|
| `card` | 28,354 | 9,585 | 8,456 | 694 | 158 | 71 |
|
|
198
|
-
| `carousel` | 83,
|
|
198
|
+
| `carousel` | 83,565 | 27,639 | 22,750 | 8,716 | 2,303 | 1,841 |
|
|
199
199
|
| `chat` | 99,050 | 32,965 | 27,143 | 17,711 | 5,158 | 4,315 |
|
|
200
200
|
| `checkbox` | 36,296 | 11,600 | 10,225 | 2,306 | 676 | 436 |
|
|
201
201
|
| `checkbox-group` | 39,339 | 12,263 | 10,819 | 4,830 | 1,277 | 957 |
|
|
@@ -271,7 +271,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
271
271
|
| `toolbar` | 30,362 | 10,282 | 9,077 | 2,933 | 946 | 625 |
|
|
272
272
|
| `tooltip` | 60,071 | 20,695 | 18,350 | 6,432 | 1,810 | 1,412 |
|
|
273
273
|
| `tour` | 65,809 | 22,037 | 19,486 | 11,006 | 2,772 | 2,295 |
|
|
274
|
-
| `tree` | 86,
|
|
274
|
+
| `tree` | 86,296 | 28,497 | 23,295 | 7,195 | 1,988 | 1,576 |
|
|
275
275
|
| `trend` | 75,252 | 25,074 | 20,688 | 1,056 | 281 | 277 |
|
|
276
276
|
| `video` | 139,429 | 44,864 | 37,871 | 33,883 | 8,223 | 7,069 |
|
|
277
277
|
| `video-playlist` | 121,695 | 40,174 | 33,715 | 14,997 | 3,505 | 2,902 |
|
|
@@ -287,7 +287,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
287
287
|
| `announcement` | 81,276 | 26,717 | 21,919 | 5,742 | 1,367 | 1,231 |
|
|
288
288
|
| `app-header` | 32,804 | 10,623 | 9,384 | 5,121 | 1,229 | 1,000 |
|
|
289
289
|
| `area-chart` | 82,139 | 27,209 | 23,974 | 18,433 | 5,021 | 4,183 |
|
|
290
|
-
| `aura` |
|
|
290
|
+
| `aura` | 94,970 | 32,811 | 28,423 | 66,522 | 23,030 | 19,960 |
|
|
291
291
|
| `avatar` | 34,548 | 11,085 | 9,786 | 6,832 | 1,699 | 1,422 |
|
|
292
292
|
| `badge` | 31,553 | 10,365 | 9,117 | 4,249 | 1,004 | 803 |
|
|
293
293
|
| `bar-chart` | 89,147 | 28,500 | 25,266 | 25,447 | 6,349 | 5,401 |
|
|
@@ -297,7 +297,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
297
297
|
| `button-group` | 29,996 | 9,950 | 8,778 | 2,320 | 528 | 510 |
|
|
298
298
|
| `callout` | 77,642 | 25,753 | 21,306 | 2,895 | 764 | 706 |
|
|
299
299
|
| `card` | 31,587 | 10,409 | 9,159 | 3,915 | 976 | 823 |
|
|
300
|
-
| `carousel` | 93,
|
|
300
|
+
| `carousel` | 93,228 | 29,218 | 24,202 | 18,368 | 3,875 | 3,286 |
|
|
301
301
|
| `chat` | 113,166 | 35,452 | 29,289 | 31,812 | 7,678 | 6,460 |
|
|
302
302
|
| `checkbox` | 42,340 | 12,992 | 11,454 | 8,334 | 2,076 | 1,669 |
|
|
303
303
|
| `checkbox-group` | 41,522 | 12,837 | 11,297 | 6,999 | 1,845 | 1,426 |
|
|
@@ -378,7 +378,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
378
378
|
| `toolbar` | 31,654 | 10,582 | 9,325 | 4,208 | 1,251 | 996 |
|
|
379
379
|
| `tooltip` | 63,149 | 21,446 | 18,957 | 9,492 | 2,554 | 2,101 |
|
|
380
380
|
| `tour` | 75,360 | 23,647 | 20,978 | 20,537 | 4,386 | 3,613 |
|
|
381
|
-
| `tree` |
|
|
381
|
+
| `tree` | 91,996 | 29,841 | 24,458 | 12,885 | 3,318 | 2,763 |
|
|
382
382
|
| `trend` | 78,409 | 25,784 | 21,292 | 4,205 | 943 | 806 |
|
|
383
383
|
| `video` | 158,416 | 48,268 | 40,844 | 52,850 | 11,682 | 10,140 |
|
|
384
384
|
| `video-playlist` | 135,595 | 42,681 | 35,890 | 28,876 | 5,984 | 5,001 |
|
|
@@ -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,217,398 | 472 | 857,136 | `@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,248,608 | 798 | 338,163 | `@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\` | 602,
|
|
2026
|
+
| \`@fusion.dev/helix-headless\` | 602,629 | 156,161 | 121,473 | 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,
|
|
2029
|
+
| \`@fusion.dev/helix\` | 1,078,907 | 253,018 | 185,627 | 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,773 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
|
|
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,018.
|
|
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,161 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
|
|
|
@@ -2159,7 +2159,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2159
2159
|
| \`button-group\` | 28,320 | 9,574 | 8,438 | 661 | 141 | 155 |
|
|
2160
2160
|
| \`callout\` | 75,643 | 25,209 | 20,789 | 912 | 240 | 126 |
|
|
2161
2161
|
| \`card\` | 28,354 | 9,585 | 8,456 | 694 | 158 | 71 |
|
|
2162
|
-
| \`carousel\` | 83,
|
|
2162
|
+
| \`carousel\` | 83,565 | 27,639 | 22,750 | 8,716 | 2,303 | 1,841 |
|
|
2163
2163
|
| \`chat\` | 99,050 | 32,965 | 27,143 | 17,711 | 5,158 | 4,315 |
|
|
2164
2164
|
| \`checkbox\` | 36,296 | 11,600 | 10,225 | 2,306 | 676 | 436 |
|
|
2165
2165
|
| \`checkbox-group\` | 39,339 | 12,263 | 10,819 | 4,830 | 1,277 | 957 |
|
|
@@ -2235,7 +2235,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2235
2235
|
| \`toolbar\` | 30,362 | 10,282 | 9,077 | 2,933 | 946 | 625 |
|
|
2236
2236
|
| \`tooltip\` | 60,071 | 20,695 | 18,350 | 6,432 | 1,810 | 1,412 |
|
|
2237
2237
|
| \`tour\` | 65,809 | 22,037 | 19,486 | 11,006 | 2,772 | 2,295 |
|
|
2238
|
-
| \`tree\` | 86,
|
|
2238
|
+
| \`tree\` | 86,296 | 28,497 | 23,295 | 7,195 | 1,988 | 1,576 |
|
|
2239
2239
|
| \`trend\` | 75,252 | 25,074 | 20,688 | 1,056 | 281 | 277 |
|
|
2240
2240
|
| \`video\` | 139,429 | 44,864 | 37,871 | 33,883 | 8,223 | 7,069 |
|
|
2241
2241
|
| \`video-playlist\` | 121,695 | 40,174 | 33,715 | 14,997 | 3,505 | 2,902 |
|
|
@@ -2251,7 +2251,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2251
2251
|
| \`announcement\` | 81,276 | 26,717 | 21,919 | 5,742 | 1,367 | 1,231 |
|
|
2252
2252
|
| \`app-header\` | 32,804 | 10,623 | 9,384 | 5,121 | 1,229 | 1,000 |
|
|
2253
2253
|
| \`area-chart\` | 82,139 | 27,209 | 23,974 | 18,433 | 5,021 | 4,183 |
|
|
2254
|
-
| \`aura\` |
|
|
2254
|
+
| \`aura\` | 94,970 | 32,811 | 28,423 | 66,522 | 23,030 | 19,960 |
|
|
2255
2255
|
| \`avatar\` | 34,548 | 11,085 | 9,786 | 6,832 | 1,699 | 1,422 |
|
|
2256
2256
|
| \`badge\` | 31,553 | 10,365 | 9,117 | 4,249 | 1,004 | 803 |
|
|
2257
2257
|
| \`bar-chart\` | 89,147 | 28,500 | 25,266 | 25,447 | 6,349 | 5,401 |
|
|
@@ -2261,7 +2261,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2261
2261
|
| \`button-group\` | 29,996 | 9,950 | 8,778 | 2,320 | 528 | 510 |
|
|
2262
2262
|
| \`callout\` | 77,642 | 25,753 | 21,306 | 2,895 | 764 | 706 |
|
|
2263
2263
|
| \`card\` | 31,587 | 10,409 | 9,159 | 3,915 | 976 | 823 |
|
|
2264
|
-
| \`carousel\` | 93,
|
|
2264
|
+
| \`carousel\` | 93,228 | 29,218 | 24,202 | 18,368 | 3,875 | 3,286 |
|
|
2265
2265
|
| \`chat\` | 113,166 | 35,452 | 29,289 | 31,812 | 7,678 | 6,460 |
|
|
2266
2266
|
| \`checkbox\` | 42,340 | 12,992 | 11,454 | 8,334 | 2,076 | 1,669 |
|
|
2267
2267
|
| \`checkbox-group\` | 41,522 | 12,837 | 11,297 | 6,999 | 1,845 | 1,426 |
|
|
@@ -2342,7 +2342,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2342
2342
|
| \`toolbar\` | 31,654 | 10,582 | 9,325 | 4,208 | 1,251 | 996 |
|
|
2343
2343
|
| \`tooltip\` | 63,149 | 21,446 | 18,957 | 9,492 | 2,554 | 2,101 |
|
|
2344
2344
|
| \`tour\` | 75,360 | 23,647 | 20,978 | 20,537 | 4,386 | 3,613 |
|
|
2345
|
-
| \`tree\` |
|
|
2345
|
+
| \`tree\` | 91,996 | 29,841 | 24,458 | 12,885 | 3,318 | 2,763 |
|
|
2346
2346
|
| \`trend\` | 78,409 | 25,784 | 21,292 | 4,205 | 943 | 806 |
|
|
2347
2347
|
| \`video\` | 158,416 | 48,268 | 40,844 | 52,850 | 11,682 | 10,140 |
|
|
2348
2348
|
| \`video-playlist\` | 135,595 | 42,681 | 35,890 | 28,876 | 5,984 | 5,001 |
|
|
@@ -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,217,398 | 472 | 857,136 | \`@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,248,608 | 798 | 338,163 | \`@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.47.1",
|
|
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.47.1",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.47.1",
|
|
41
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
42
42
|
"lit": "^3.2.1",
|
|
43
43
|
"playwright": "^1.62.1"
|