@fusion.dev/helix-docs 0.10.0 → 0.10.2
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 +4 -4
- package/dist/sources.generated.js +4 -4
- 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` | 523,719 | 133,055 | 104,253 | 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` | 971,
|
|
65
|
+
| `@fusion.dev/helix` | 971,505 | 222,084 | 163,039 | 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,914 bytes gzipped alone and adds 2,450 to a page that already has Helix on it, so 82 percent of the first one is shared and 18 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,725, over 94 components. Every family at once is 222,
|
|
88
|
+
Across the tier: the cheapest is `code` at 9,065 gzipped alone, the dearest `data-table` at 51,725, over 94 components. Every family at once is 222,084.
|
|
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 133,055 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 94 of them, and the check refuses the shape rather than the package name, so the rule follows `sideEffects` wherever it goes.
|
|
91
91
|
|
|
@@ -291,7 +291,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
291
291
|
| `callout` | 76,172 | 25,232 | 20,980 | 2,913 | 999 | 686 |
|
|
292
292
|
| `card` | 30,099 | 10,015 | 8,818 | 3,915 | 1,176 | 844 |
|
|
293
293
|
| `carousel` | 89,716 | 28,261 | 23,587 | 16,487 | 3,956 | 3,065 |
|
|
294
|
-
| `chat` | 96,
|
|
294
|
+
| `chat` | 96,496 | 30,132 | 24,968 | 21,071 | 4,910 | 3,802 |
|
|
295
295
|
| `checkbox` | 40,820 | 12,584 | 11,096 | 8,410 | 2,364 | 1,667 |
|
|
296
296
|
| `checkbox-group` | 39,793 | 12,366 | 10,895 | 6,888 | 2,183 | 1,429 |
|
|
297
297
|
| `code` | 26,546 | 9,065 | 7,981 | 1,529 | 528 | 264 |
|
|
@@ -387,7 +387,7 @@ column is what was removed rather than part of what remains.
|
|
|
387
387
|
| `@fusion.dev/helix-icons` | 65,943 | 11 | 20,928 | none |
|
|
388
388
|
| `@fusion.dev/helix-styles` | 90,313 | 6 | 0 | none |
|
|
389
389
|
| `@fusion.dev/helix-theme` | 461,551 | 8 | 4,699 | none |
|
|
390
|
-
| `@fusion.dev/helix` | 9,
|
|
390
|
+
| `@fusion.dev/helix` | 9,406,109 | 726 | 306,664 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
391
391
|
|
|
392
392
|
## Not measured yet
|
|
393
393
|
|
|
@@ -1916,7 +1916,7 @@ repository does that. The per-component tables are what a page pays.
|
|
|
1916
1916
|
| \`@fusion.dev/helix-headless\` | 523,719 | 133,055 | 104,253 | 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\` | 971,
|
|
1919
|
+
| \`@fusion.dev/helix\` | 971,505 | 222,084 | 163,039 | 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,914 bytes gzipped alone and adds 2,450 to a page that already has Helix on it, so 82 percent of the first one is shared and 18 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,725, over 94 components. Every family at once is 222,
|
|
1942
|
+
Across the tier: the cheapest is \`code\` at 9,065 gzipped alone, the dearest \`data-table\` at 51,725, over 94 components. Every family at once is 222,084.
|
|
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 133,055 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 94 of them, and the check refuses the shape rather than the package name, so the rule follows \`sideEffects\` wherever it goes.
|
|
1945
1945
|
|
|
@@ -2145,7 +2145,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2145
2145
|
| \`callout\` | 76,172 | 25,232 | 20,980 | 2,913 | 999 | 686 |
|
|
2146
2146
|
| \`card\` | 30,099 | 10,015 | 8,818 | 3,915 | 1,176 | 844 |
|
|
2147
2147
|
| \`carousel\` | 89,716 | 28,261 | 23,587 | 16,487 | 3,956 | 3,065 |
|
|
2148
|
-
| \`chat\` | 96,
|
|
2148
|
+
| \`chat\` | 96,496 | 30,132 | 24,968 | 21,071 | 4,910 | 3,802 |
|
|
2149
2149
|
| \`checkbox\` | 40,820 | 12,584 | 11,096 | 8,410 | 2,364 | 1,667 |
|
|
2150
2150
|
| \`checkbox-group\` | 39,793 | 12,366 | 10,895 | 6,888 | 2,183 | 1,429 |
|
|
2151
2151
|
| \`code\` | 26,546 | 9,065 | 7,981 | 1,529 | 528 | 264 |
|
|
@@ -2241,7 +2241,7 @@ column is what was removed rather than part of what remains.
|
|
|
2241
2241
|
| \`@fusion.dev/helix-icons\` | 65,943 | 11 | 20,928 | none |
|
|
2242
2242
|
| \`@fusion.dev/helix-styles\` | 90,313 | 6 | 0 | none |
|
|
2243
2243
|
| \`@fusion.dev/helix-theme\` | 461,551 | 8 | 4,699 | none |
|
|
2244
|
-
| \`@fusion.dev/helix\` | 9,
|
|
2244
|
+
| \`@fusion.dev/helix\` | 9,406,109 | 726 | 306,664 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2245
2245
|
|
|
2246
2246
|
## Not measured yet
|
|
2247
2247
|
|
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.10.
|
|
4
|
+
"version": "0.10.2",
|
|
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.10.
|
|
38
|
+
"@fusion.dev/helix-cem": "0.10.2",
|
|
39
39
|
"@fusion.dev/scripts": "0.0.0-dev"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://fusion.dev",
|