@fusion.dev/helix-docs 0.33.0 → 0.33.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 +9 -9
- package/dist/sources.generated.js +9 -9
- package/package.json +4 -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,460 | 47,853 | 40,503 | Element base class, mixins, decorators, floating positioning. |
|
|
62
|
-
| `@fusion.dev/helix-headless` | 601,
|
|
62
|
+
| `@fusion.dev/helix-headless` | 601,064 | 155,480 | 121,032 | 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,072,613 | 250,984 | 183,841 | 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,709 bytes gzipped alone and adds 2,213 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,408 gzipped alone, the dearest `data-table` at 58,933, over 100 components. Every family at once is 250,
|
|
88
|
+
Across the tier: the cheapest is `code` at 9,408 gzipped alone, the dearest `data-table` at 58,933, over 100 components. Every family at once is 250,984.
|
|
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 155,
|
|
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 155,480 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,496 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -200,7 +200,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
200
200
|
| `checkbox` | 36,225 | 11,556 | 10,213 | 2,306 | 680 | 452 |
|
|
201
201
|
| `checkbox-group` | 39,239 | 12,202 | 10,772 | 4,801 | 1,266 | 828 |
|
|
202
202
|
| `code` | 26,868 | 9,113 | 8,043 | 451 | 79 | 61 |
|
|
203
|
-
| `code-block` | 121,
|
|
203
|
+
| `code-block` | 121,128 | 40,399 | 34,067 | 17,262 | 4,547 | 3,752 |
|
|
204
204
|
| `color-input` | 134,246 | 43,598 | 36,618 | 25,050 | 6,488 | 5,459 |
|
|
205
205
|
| `color-picker` | 101,771 | 32,905 | 27,144 | 19,424 | 5,234 | 4,422 |
|
|
206
206
|
| `combobox` | 132,091 | 42,672 | 35,833 | 20,245 | 5,031 | 4,061 |
|
|
@@ -297,12 +297,12 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
|
|
|
297
297
|
| `button-group` | 29,925 | 9,910 | 8,725 | 2,320 | 530 | 409 |
|
|
298
298
|
| `callout` | 77,571 | 25,713 | 21,229 | 2,895 | 765 | 657 |
|
|
299
299
|
| `card` | 31,516 | 10,370 | 9,122 | 3,915 | 977 | 767 |
|
|
300
|
-
| `carousel` |
|
|
300
|
+
| `carousel` | 93,170 | 29,154 | 24,175 | 18,382 | 3,848 | 3,237 |
|
|
301
301
|
| `chat` | 113,046 | 35,381 | 29,317 | 31,764 | 7,657 | 6,404 |
|
|
302
302
|
| `checkbox` | 42,269 | 12,948 | 11,411 | 8,334 | 2,062 | 1,731 |
|
|
303
303
|
| `checkbox-group` | 41,422 | 12,772 | 11,262 | 6,970 | 1,835 | 1,296 |
|
|
304
304
|
| `code` | 27,945 | 9,408 | 8,291 | 1,511 | 367 | 267 |
|
|
305
|
-
| `code-block` |
|
|
305
|
+
| `code-block` | 137,628 | 43,256 | 36,440 | 33,742 | 7,252 | 6,162 |
|
|
306
306
|
| `color-input` | 167,660 | 48,717 | 41,179 | 58,447 | 11,656 | 10,079 |
|
|
307
307
|
| `color-picker` | 129,481 | 37,338 | 31,054 | 47,128 | 9,736 | 8,341 |
|
|
308
308
|
| `combobox` | 146,894 | 45,314 | 38,009 | 35,029 | 7,688 | 6,518 |
|
|
@@ -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` | 837,166 | 123 | 184,846 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
398
|
-
| `@fusion.dev/helix-headless` | 11,
|
|
398
|
+
| `@fusion.dev/helix-headless` | 11,013,446 | 472 | 852,998 | `@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` | 11,
|
|
402
|
+
| `@fusion.dev/helix` | 11,991,681 | 798 | 336,307 | `@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,460 | 47,853 | 40,503 | Element base class, mixins, decorators, floating positioning. |
|
|
2026
|
-
| \`@fusion.dev/helix-headless\` | 601,
|
|
2026
|
+
| \`@fusion.dev/helix-headless\` | 601,064 | 155,480 | 121,032 | 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,072,613 | 250,984 | 183,841 | 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,709 bytes gzipped alone and adds 2,213 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,408 gzipped alone, the dearest \`data-table\` at 58,933, over 100 components. Every family at once is 250,
|
|
2052
|
+
Across the tier: the cheapest is \`code\` at 9,408 gzipped alone, the dearest \`data-table\` at 58,933, over 100 components. Every family at once is 250,984.
|
|
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 155,
|
|
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 155,480 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,496 bytes gzipped alone.
|
|
2057
2057
|
|
|
@@ -2164,7 +2164,7 @@ Structure, accessibility, state and form participation. No presentation, and no
|
|
|
2164
2164
|
| \`checkbox\` | 36,225 | 11,556 | 10,213 | 2,306 | 680 | 452 |
|
|
2165
2165
|
| \`checkbox-group\` | 39,239 | 12,202 | 10,772 | 4,801 | 1,266 | 828 |
|
|
2166
2166
|
| \`code\` | 26,868 | 9,113 | 8,043 | 451 | 79 | 61 |
|
|
2167
|
-
| \`code-block\` | 121,
|
|
2167
|
+
| \`code-block\` | 121,128 | 40,399 | 34,067 | 17,262 | 4,547 | 3,752 |
|
|
2168
2168
|
| \`color-input\` | 134,246 | 43,598 | 36,618 | 25,050 | 6,488 | 5,459 |
|
|
2169
2169
|
| \`color-picker\` | 101,771 | 32,905 | 27,144 | 19,424 | 5,234 | 4,422 |
|
|
2170
2170
|
| \`combobox\` | 132,091 | 42,672 | 35,833 | 20,245 | 5,031 | 4,061 |
|
|
@@ -2261,12 +2261,12 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
|
|
|
2261
2261
|
| \`button-group\` | 29,925 | 9,910 | 8,725 | 2,320 | 530 | 409 |
|
|
2262
2262
|
| \`callout\` | 77,571 | 25,713 | 21,229 | 2,895 | 765 | 657 |
|
|
2263
2263
|
| \`card\` | 31,516 | 10,370 | 9,122 | 3,915 | 977 | 767 |
|
|
2264
|
-
| \`carousel\` |
|
|
2264
|
+
| \`carousel\` | 93,170 | 29,154 | 24,175 | 18,382 | 3,848 | 3,237 |
|
|
2265
2265
|
| \`chat\` | 113,046 | 35,381 | 29,317 | 31,764 | 7,657 | 6,404 |
|
|
2266
2266
|
| \`checkbox\` | 42,269 | 12,948 | 11,411 | 8,334 | 2,062 | 1,731 |
|
|
2267
2267
|
| \`checkbox-group\` | 41,422 | 12,772 | 11,262 | 6,970 | 1,835 | 1,296 |
|
|
2268
2268
|
| \`code\` | 27,945 | 9,408 | 8,291 | 1,511 | 367 | 267 |
|
|
2269
|
-
| \`code-block\` |
|
|
2269
|
+
| \`code-block\` | 137,628 | 43,256 | 36,440 | 33,742 | 7,252 | 6,162 |
|
|
2270
2270
|
| \`color-input\` | 167,660 | 48,717 | 41,179 | 58,447 | 11,656 | 10,079 |
|
|
2271
2271
|
| \`color-picker\` | 129,481 | 37,338 | 31,054 | 47,128 | 9,736 | 8,341 |
|
|
2272
2272
|
| \`combobox\` | 146,894 | 45,314 | 38,009 | 35,029 | 7,688 | 6,518 |
|
|
@@ -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\` | 837,166 | 123 | 184,846 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
2362
|
-
| \`@fusion.dev/helix-headless\` | 11,
|
|
2362
|
+
| \`@fusion.dev/helix-headless\` | 11,013,446 | 472 | 852,998 | \`@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\` | 11,
|
|
2366
|
+
| \`@fusion.dev/helix\` | 11,991,681 | 798 | 336,307 | \`@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.33.
|
|
4
|
+
"version": "0.33.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.types.json",
|
|
29
29
|
"docs": "bun scripts/build-docs.mjs",
|
|
30
|
+
"docs-check": "bun scripts/build-docs.mjs --check",
|
|
30
31
|
"metrics": "build-metrics",
|
|
31
32
|
"peers": "bun scripts/build-peers.mjs",
|
|
32
33
|
"test": "bun test src",
|
|
@@ -35,8 +36,8 @@
|
|
|
35
36
|
},
|
|
36
37
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@fusion.dev/helix-cem": "0.33.
|
|
39
|
-
"@fusion.dev/helix-testing": "0.33.
|
|
39
|
+
"@fusion.dev/helix-cem": "0.33.2",
|
|
40
|
+
"@fusion.dev/helix-testing": "0.33.2",
|
|
40
41
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
41
42
|
"lit": "^3.2.1",
|
|
42
43
|
"playwright": "^1.62.1"
|