@fusion.dev/helix-docs 0.20.1 → 0.21.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 +5 -5
- package/dist/sources.generated.js +5 -5
- package/package.json +2 -2
package/content/metrics.mdx
CHANGED
|
@@ -62,7 +62,7 @@ repository does that. The per-component tables are what a page pays.
|
|
|
62
62
|
| `@fusion.dev/helix-headless` | 533,028 | 135,092 | 105,692 | 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` |
|
|
65
|
+
| `@fusion.dev/helix` | 989,020 | 225,329 | 165,062 | 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,7 +85,7 @@ 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 13,974 bytes gzipped alone and adds 2,160 to a page that already has Helix on it, so 85 percent of the first one is shared and 15 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,065 gzipped alone, the dearest `data-table` at 51,951, over 95 components. Every family at once is 225,
|
|
88
|
+
Across the tier: the cheapest is `code` at 9,065 gzipped alone, the dearest `data-table` at 51,951, over 95 components. Every family at once is 225,329.
|
|
89
89
|
|
|
90
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 135,092 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 95 of them, and the check refuses the shape rather than the package name, so the rule follows `sideEffects` wherever it goes.
|
|
91
91
|
|
|
@@ -283,7 +283,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
283
283
|
| `app-header` | 30,683 | 10,087 | 8,885 | 4,489 | 1,096 | 862 |
|
|
284
284
|
| `aura` | 87,842 | 30,863 | 26,680 | 60,880 | 21,428 | 18,522 |
|
|
285
285
|
| `avatar` | 32,433 | 10,538 | 9,281 | 6,203 | 1,522 | 1,231 |
|
|
286
|
-
| `badge` |
|
|
286
|
+
| `badge` | 30,065 | 9,970 | 8,761 | 4,249 | 1,014 | 835 |
|
|
287
287
|
| `bar-chart` | 87,351 | 27,295 | 24,040 | 28,057 | 6,473 | 5,517 |
|
|
288
288
|
| `blockquote` | 28,015 | 9,529 | 8,383 | 2,077 | 547 | 453 |
|
|
289
289
|
| `breadcrumbs` | 78,415 | 25,683 | 21,204 | 5,331 | 1,218 | 999 |
|
|
@@ -331,7 +331,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
331
331
|
| `menu` | 116,491 | 38,801 | 32,511 | 14,283 | 3,306 | 2,769 |
|
|
332
332
|
| `meter` | 35,360 | 11,235 | 9,926 | 9,179 | 2,160 | 1,936 |
|
|
333
333
|
| `navigation` | 30,214 | 10,212 | 8,987 | 2,949 | 813 | 713 |
|
|
334
|
-
| `notifications` |
|
|
334
|
+
| `notifications` | 93,030 | 29,780 | 24,596 | 16,675 | 3,777 | 3,220 |
|
|
335
335
|
| `number-input` | 91,787 | 29,672 | 24,278 | 11,900 | 3,035 | 2,417 |
|
|
336
336
|
| `option` | 32,142 | 10,562 | 9,308 | 5,962 | 1,497 | 1,201 |
|
|
337
337
|
| `orb` | 35,668 | 12,611 | 11,162 | 9,445 | 3,512 | 2,984 |
|
|
@@ -389,7 +389,7 @@ column is what was removed rather than part of what remains.
|
|
|
389
389
|
| `@fusion.dev/helix-icons` | 65,943 | 11 | 20,928 | none |
|
|
390
390
|
| `@fusion.dev/helix-styles` | 92,245 | 6 | 0 | none |
|
|
391
391
|
| `@fusion.dev/helix-theme` | 461,551 | 8 | 4,699 | none |
|
|
392
|
-
| `@fusion.dev/helix` | 9,
|
|
392
|
+
| `@fusion.dev/helix` | 9,615,406 | 734 | 309,719 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
393
393
|
|
|
394
394
|
## Not measured yet
|
|
395
395
|
|
|
@@ -1916,7 +1916,7 @@ repository does that. The per-component tables are what a page pays.
|
|
|
1916
1916
|
| \`@fusion.dev/helix-headless\` | 533,028 | 135,092 | 105,692 | Every headless family, which is what the barrel means. |
|
|
1917
1917
|
| \`@fusion.dev/helix-icons\` | 47,484 | 14,907 | 12,553 | The whole glyph set. |
|
|
1918
1918
|
| \`@fusion.dev/helix-theme\` | 3,288 | 1,571 | 1,355 | The derivation engine. Build time for most consumers, runtime for a theme switcher. |
|
|
1919
|
-
| \`@fusion.dev/helix\` |
|
|
1919
|
+
| \`@fusion.dev/helix\` | 989,020 | 225,329 | 165,062 | Every styled family. |
|
|
1920
1920
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Not ours. Here so it can be subtracted from every row above it. |
|
|
1921
1921
|
|
|
1922
1922
|
## The stylesheets
|
|
@@ -1939,7 +1939,7 @@ is the whole cost of adopting the base layer on its own.
|
|
|
1939
1939
|
|
|
1940
1940
|
**Most of a first component is the runtime under it.** The median styled family is 13,974 bytes gzipped alone and adds 2,160 to a page that already has Helix on it, so 85 percent of the first one is shared and 15 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.
|
|
1941
1941
|
|
|
1942
|
-
Across the tier: the cheapest is \`code\` at 9,065 gzipped alone, the dearest \`data-table\` at 51,951, over 95 components. Every family at once is 225,
|
|
1942
|
+
Across the tier: the cheapest is \`code\` at 9,065 gzipped alone, the dearest \`data-table\` at 51,951, over 95 components. Every family at once is 225,329.
|
|
1943
1943
|
|
|
1944
1944
|
**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 135,092 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 95 of them, and the check refuses the shape rather than the package name, so the rule follows \`sideEffects\` wherever it goes.
|
|
1945
1945
|
|
|
@@ -2137,7 +2137,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2137
2137
|
| \`app-header\` | 30,683 | 10,087 | 8,885 | 4,489 | 1,096 | 862 |
|
|
2138
2138
|
| \`aura\` | 87,842 | 30,863 | 26,680 | 60,880 | 21,428 | 18,522 |
|
|
2139
2139
|
| \`avatar\` | 32,433 | 10,538 | 9,281 | 6,203 | 1,522 | 1,231 |
|
|
2140
|
-
| \`badge\` |
|
|
2140
|
+
| \`badge\` | 30,065 | 9,970 | 8,761 | 4,249 | 1,014 | 835 |
|
|
2141
2141
|
| \`bar-chart\` | 87,351 | 27,295 | 24,040 | 28,057 | 6,473 | 5,517 |
|
|
2142
2142
|
| \`blockquote\` | 28,015 | 9,529 | 8,383 | 2,077 | 547 | 453 |
|
|
2143
2143
|
| \`breadcrumbs\` | 78,415 | 25,683 | 21,204 | 5,331 | 1,218 | 999 |
|
|
@@ -2185,7 +2185,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2185
2185
|
| \`menu\` | 116,491 | 38,801 | 32,511 | 14,283 | 3,306 | 2,769 |
|
|
2186
2186
|
| \`meter\` | 35,360 | 11,235 | 9,926 | 9,179 | 2,160 | 1,936 |
|
|
2187
2187
|
| \`navigation\` | 30,214 | 10,212 | 8,987 | 2,949 | 813 | 713 |
|
|
2188
|
-
| \`notifications\` |
|
|
2188
|
+
| \`notifications\` | 93,030 | 29,780 | 24,596 | 16,675 | 3,777 | 3,220 |
|
|
2189
2189
|
| \`number-input\` | 91,787 | 29,672 | 24,278 | 11,900 | 3,035 | 2,417 |
|
|
2190
2190
|
| \`option\` | 32,142 | 10,562 | 9,308 | 5,962 | 1,497 | 1,201 |
|
|
2191
2191
|
| \`orb\` | 35,668 | 12,611 | 11,162 | 9,445 | 3,512 | 2,984 |
|
|
@@ -2243,7 +2243,7 @@ column is what was removed rather than part of what remains.
|
|
|
2243
2243
|
| \`@fusion.dev/helix-icons\` | 65,943 | 11 | 20,928 | none |
|
|
2244
2244
|
| \`@fusion.dev/helix-styles\` | 92,245 | 6 | 0 | none |
|
|
2245
2245
|
| \`@fusion.dev/helix-theme\` | 461,551 | 8 | 4,699 | none |
|
|
2246
|
-
| \`@fusion.dev/helix\` | 9,
|
|
2246
|
+
| \`@fusion.dev/helix\` | 9,615,406 | 734 | 309,719 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2247
2247
|
|
|
2248
2248
|
## Not measured yet
|
|
2249
2249
|
|
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.21.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@fusion.dev/helix-cem": "0.
|
|
38
|
+
"@fusion.dev/helix-cem": "0.21.0",
|
|
39
39
|
"@fusion.dev/scripts": "0.0.0-dev"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://fusion.dev",
|