@fusion.dev/helix-docs 0.16.6 → 0.17.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 +8 -8
- package/dist/sources.generated.js +8 -8
- 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,145 | 135,135 | 105,903 | 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` | 987,
|
|
65
|
+
| `@fusion.dev/helix` | 987,330 | 225,195 | 164,978 | 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,195.
|
|
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,135 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
|
|
|
@@ -278,7 +278,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
278
278
|
|
|
279
279
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
280
280
|
|---|---|---|---|---|---|---|
|
|
281
|
-
| `accordion` | 80,
|
|
281
|
+
| `accordion` | 80,591 | 26,672 | 21,819 | 6,431 | 1,679 | 1,397 |
|
|
282
282
|
| `announcement` | 79,088 | 26,163 | 21,469 | 5,042 | 1,240 | 1,036 |
|
|
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 |
|
|
@@ -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` | 89,748 | 28,342 | 23,514 | 16,517 | 3,536 | 3,104 |
|
|
295
|
-
| `chat` | 96,
|
|
295
|
+
| `chat` | 96,648 | 30,236 | 24,984 | 21,221 | 4,549 | 3,839 |
|
|
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 |
|
|
@@ -311,7 +311,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
311
311
|
| `drawer` | 33,140 | 10,768 | 9,487 | 5,647 | 1,410 | 1,207 |
|
|
312
312
|
| `drilldown` | 85,015 | 27,868 | 22,914 | 9,402 | 2,310 | 1,875 |
|
|
313
313
|
| `empty` | 28,295 | 9,601 | 8,463 | 2,107 | 563 | 454 |
|
|
314
|
-
| `file-input` | 96,
|
|
314
|
+
| `file-input` | 96,102 | 30,451 | 25,071 | 16,922 | 3,890 | 3,329 |
|
|
315
315
|
| `filter-input` | 127,135 | 40,741 | 34,245 | 21,133 | 4,692 | 3,952 |
|
|
316
316
|
| `flex` | 27,799 | 9,392 | 8,240 | 1,987 | 466 | 396 |
|
|
317
317
|
| `format-date` | 31,029 | 10,471 | 9,280 | 3,433 | 859 | 696 |
|
|
@@ -332,12 +332,12 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
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
334
|
| `notifications` | 92,935 | 29,781 | 24,591 | 16,580 | 3,777 | 3,279 |
|
|
335
|
-
| `number-input` | 91,
|
|
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 |
|
|
338
338
|
| `outline` | 35,566 | 11,582 | 10,202 | 8,249 | 2,152 | 1,771 |
|
|
339
339
|
| `pagination` | 150,030 | 45,365 | 38,081 | 43,687 | 9,002 | 7,681 |
|
|
340
|
-
| `pin-input` | 40,
|
|
340
|
+
| `pin-input` | 40,647 | 12,800 | 11,309 | 8,230 | 2,331 | 1,872 |
|
|
341
341
|
| `popover` | 55,826 | 19,462 | 17,177 | 4,604 | 1,223 | 1,014 |
|
|
342
342
|
| `progress` | 33,160 | 10,749 | 9,508 | 6,980 | 1,670 | 1,472 |
|
|
343
343
|
| `qr-code` | 40,238 | 13,974 | 12,313 | 14,442 | 5,051 | 4,401 |
|
|
@@ -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` | 90,390 | 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,592,266 | 734 | 309,474 | `@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,145 | 135,135 | 105,903 | 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\` | 987,
|
|
1919
|
+
| \`@fusion.dev/helix\` | 987,330 | 225,195 | 164,978 | 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,195.
|
|
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,135 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
|
|
|
@@ -2132,7 +2132,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2132
2132
|
|
|
2133
2133
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
2134
2134
|
|---|---|---|---|---|---|---|
|
|
2135
|
-
| \`accordion\` | 80,
|
|
2135
|
+
| \`accordion\` | 80,591 | 26,672 | 21,819 | 6,431 | 1,679 | 1,397 |
|
|
2136
2136
|
| \`announcement\` | 79,088 | 26,163 | 21,469 | 5,042 | 1,240 | 1,036 |
|
|
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 |
|
|
@@ -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\` | 89,748 | 28,342 | 23,514 | 16,517 | 3,536 | 3,104 |
|
|
2149
|
-
| \`chat\` | 96,
|
|
2149
|
+
| \`chat\` | 96,648 | 30,236 | 24,984 | 21,221 | 4,549 | 3,839 |
|
|
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 |
|
|
@@ -2165,7 +2165,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2165
2165
|
| \`drawer\` | 33,140 | 10,768 | 9,487 | 5,647 | 1,410 | 1,207 |
|
|
2166
2166
|
| \`drilldown\` | 85,015 | 27,868 | 22,914 | 9,402 | 2,310 | 1,875 |
|
|
2167
2167
|
| \`empty\` | 28,295 | 9,601 | 8,463 | 2,107 | 563 | 454 |
|
|
2168
|
-
| \`file-input\` | 96,
|
|
2168
|
+
| \`file-input\` | 96,102 | 30,451 | 25,071 | 16,922 | 3,890 | 3,329 |
|
|
2169
2169
|
| \`filter-input\` | 127,135 | 40,741 | 34,245 | 21,133 | 4,692 | 3,952 |
|
|
2170
2170
|
| \`flex\` | 27,799 | 9,392 | 8,240 | 1,987 | 466 | 396 |
|
|
2171
2171
|
| \`format-date\` | 31,029 | 10,471 | 9,280 | 3,433 | 859 | 696 |
|
|
@@ -2186,12 +2186,12 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
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
2188
|
| \`notifications\` | 92,935 | 29,781 | 24,591 | 16,580 | 3,777 | 3,279 |
|
|
2189
|
-
| \`number-input\` | 91,
|
|
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 |
|
|
2192
2192
|
| \`outline\` | 35,566 | 11,582 | 10,202 | 8,249 | 2,152 | 1,771 |
|
|
2193
2193
|
| \`pagination\` | 150,030 | 45,365 | 38,081 | 43,687 | 9,002 | 7,681 |
|
|
2194
|
-
| \`pin-input\` | 40,
|
|
2194
|
+
| \`pin-input\` | 40,647 | 12,800 | 11,309 | 8,230 | 2,331 | 1,872 |
|
|
2195
2195
|
| \`popover\` | 55,826 | 19,462 | 17,177 | 4,604 | 1,223 | 1,014 |
|
|
2196
2196
|
| \`progress\` | 33,160 | 10,749 | 9,508 | 6,980 | 1,670 | 1,472 |
|
|
2197
2197
|
| \`qr-code\` | 40,238 | 13,974 | 12,313 | 14,442 | 5,051 | 4,401 |
|
|
@@ -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\` | 90,390 | 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,592,266 | 734 | 309,474 | \`@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.17.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.17.0",
|
|
39
39
|
"@fusion.dev/scripts": "0.0.0-dev"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://fusion.dev",
|