@fusion.dev/helix-docs 0.20.0 → 0.20.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 +6 -6
- package/dist/sources.generated.js +6 -6
- 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` | 988,268 | 225,276 | 164,954 | 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
|
|
@@ -75,7 +75,7 @@ is the whole cost of adopting the base layer on its own.
|
|
|
75
75
|
|
|
76
76
|
| File | Raw | Gzip | Brotli | |
|
|
77
77
|
|---|---|---|---|---|
|
|
78
|
-
| `base.css` |
|
|
78
|
+
| `base.css` | 24,948 | 3,798 | 3,295 | The base layer. Recipes for markup Helix does not render, usable with no JavaScript at all. |
|
|
79
79
|
| `elements.css` | 7,137 | 1,224 | 1,101 | Hides each element until its definition loads, generated from the tags in `@fusion.dev/helix`. |
|
|
80
80
|
| `helix.css` | 207 | 148 | 118 | The four above in one import, in the order they have to be in. |
|
|
81
81
|
| `primitives.css` | 6,275 | 1,234 | 1,062 | The primitive layer. Private, shipped because `tokens.css` resolves into it. |
|
|
@@ -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,276.
|
|
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
|
|
|
@@ -292,7 +292,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
292
292
|
| `callout` | 76,172 | 25,338 | 20,952 | 2,913 | 784 | 674 |
|
|
293
293
|
| `card` | 30,099 | 10,015 | 8,818 | 3,915 | 978 | 788 |
|
|
294
294
|
| `carousel` | 90,758 | 28,397 | 23,548 | 17,527 | 3,590 | 3,007 |
|
|
295
|
-
| `chat` |
|
|
295
|
+
| `chat` | 97,033 | 30,305 | 25,056 | 21,606 | 4,618 | 3,949 |
|
|
296
296
|
| `checkbox` | 40,733 | 12,575 | 11,075 | 8,324 | 2,066 | 1,759 |
|
|
297
297
|
| `checkbox-group` | 39,815 | 12,374 | 10,903 | 6,889 | 1,839 | 1,424 |
|
|
298
298
|
| `code` | 26,546 | 9,065 | 7,981 | 1,529 | 392 | 354 |
|
|
@@ -387,9 +387,9 @@ column is what was removed rather than part of what remains.
|
|
|
387
387
|
| `@fusion.dev/helix-core` | 712,206 | 119 | 167,831 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
388
388
|
| `@fusion.dev/helix-headless` | 8,606,998 | 426 | 716,801 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
389
389
|
| `@fusion.dev/helix-icons` | 65,943 | 11 | 20,928 | none |
|
|
390
|
-
| `@fusion.dev/helix-styles` |
|
|
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,608,559 | 734 | 309,632 | `@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\` | 988,268 | 225,276 | 164,954 | 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
|
|
@@ -1929,7 +1929,7 @@ is the whole cost of adopting the base layer on its own.
|
|
|
1929
1929
|
|
|
1930
1930
|
| File | Raw | Gzip | Brotli | |
|
|
1931
1931
|
|---|---|---|---|---|
|
|
1932
|
-
| \`base.css\` |
|
|
1932
|
+
| \`base.css\` | 24,948 | 3,798 | 3,295 | The base layer. Recipes for markup Helix does not render, usable with no JavaScript at all. |
|
|
1933
1933
|
| \`elements.css\` | 7,137 | 1,224 | 1,101 | Hides each element until its definition loads, generated from the tags in \`@fusion.dev/helix\`. |
|
|
1934
1934
|
| \`helix.css\` | 207 | 148 | 118 | The four above in one import, in the order they have to be in. |
|
|
1935
1935
|
| \`primitives.css\` | 6,275 | 1,234 | 1,062 | The primitive layer. Private, shipped because \`tokens.css\` resolves into it. |
|
|
@@ -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,276.
|
|
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
|
|
|
@@ -2146,7 +2146,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2146
2146
|
| \`callout\` | 76,172 | 25,338 | 20,952 | 2,913 | 784 | 674 |
|
|
2147
2147
|
| \`card\` | 30,099 | 10,015 | 8,818 | 3,915 | 978 | 788 |
|
|
2148
2148
|
| \`carousel\` | 90,758 | 28,397 | 23,548 | 17,527 | 3,590 | 3,007 |
|
|
2149
|
-
| \`chat\` |
|
|
2149
|
+
| \`chat\` | 97,033 | 30,305 | 25,056 | 21,606 | 4,618 | 3,949 |
|
|
2150
2150
|
| \`checkbox\` | 40,733 | 12,575 | 11,075 | 8,324 | 2,066 | 1,759 |
|
|
2151
2151
|
| \`checkbox-group\` | 39,815 | 12,374 | 10,903 | 6,889 | 1,839 | 1,424 |
|
|
2152
2152
|
| \`code\` | 26,546 | 9,065 | 7,981 | 1,529 | 392 | 354 |
|
|
@@ -2241,9 +2241,9 @@ column is what was removed rather than part of what remains.
|
|
|
2241
2241
|
| \`@fusion.dev/helix-core\` | 712,206 | 119 | 167,831 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2242
2242
|
| \`@fusion.dev/helix-headless\` | 8,606,998 | 426 | 716,801 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
2243
2243
|
| \`@fusion.dev/helix-icons\` | 65,943 | 11 | 20,928 | none |
|
|
2244
|
-
| \`@fusion.dev/helix-styles\` |
|
|
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,608,559 | 734 | 309,632 | \`@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.20.
|
|
4
|
+
"version": "0.20.1",
|
|
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.20.
|
|
38
|
+
"@fusion.dev/helix-cem": "0.20.1",
|
|
39
39
|
"@fusion.dev/scripts": "0.0.0-dev"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://fusion.dev",
|