@fusion.dev/helix-docs 0.17.1 → 0.18.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.
@@ -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` | 139,066 | 46,297 | 39,137 | Element base class, mixins, decorators, floating positioning. |
62
- | `@fusion.dev/helix-headless` | 533,145 | 135,135 | 105,903 | Every headless family, which is what the barrel means. |
62
+ | `@fusion.dev/helix-headless` | 533,278 | 135,162 | 105,807 | 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,330 | 225,195 | 164,978 | Every styled family. |
65
+ | `@fusion.dev/helix` | 987,463 | 225,240 | 164,967 | 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 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,195.
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,240.
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 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.
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,162 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
 
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 18,820 bytes gzipped alone.
93
93
 
@@ -268,7 +268,7 @@ Structure, accessibility, state and form participation. No presentation, and no
268
268
  | `tour` | 61,947 | 20,874 | 18,463 | 10,269 | 2,529 | 2,015 |
269
269
  | `tree` | 84,423 | 27,911 | 22,833 | 7,052 | 1,930 | 1,584 |
270
270
  | `trend` | 73,764 | 24,631 | 20,344 | 1,056 | 289 | 295 |
271
- | `video` | 133,542 | 42,977 | 36,328 | 31,100 | 7,221 | 6,362 |
271
+ | `video` | 133,675 | 43,000 | 36,243 | 31,233 | 7,245 | 6,395 |
272
272
  | `video-playlist` | 117,742 | 39,057 | 32,780 | 14,149 | 3,236 | 2,690 |
273
273
  | `virtual-list` | 31,983 | 10,952 | 9,662 | 2,358 | 730 | 628 |
274
274
 
@@ -370,7 +370,7 @@ The headless tier plus presentation. This is what `bun add @fusion.dev/helix` gi
370
370
  | `tour` | 71,764 | 22,526 | 19,965 | 20,070 | 4,165 | 3,525 |
371
371
  | `tree` | 89,446 | 29,091 | 23,871 | 12,063 | 3,109 | 2,562 |
372
372
  | `trend` | 76,797 | 25,297 | 20,860 | 4,081 | 934 | 851 |
373
- | `video` | 150,914 | 46,138 | 38,970 | 48,451 | 10,332 | 9,152 |
373
+ | `video` | 151,047 | 46,167 | 39,026 | 48,584 | 10,358 | 9,243 |
374
374
  | `video-playlist` | 130,350 | 41,294 | 34,655 | 26,738 | 5,425 | 4,733 |
375
375
  | `virtual-list` | 32,815 | 11,180 | 9,827 | 3,172 | 960 | 768 |
376
376
 
@@ -385,11 +385,11 @@ column is what was removed rather than part of what remains.
385
385
  | Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
386
386
  |---|---|---|---|---|
387
387
  | `@fusion.dev/helix-core` | 712,206 | 119 | 167,831 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
388
- | `@fusion.dev/helix-headless` | 8,584,310 | 426 | 716,825 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
388
+ | `@fusion.dev/helix-headless` | 8,586,959 | 426 | 717,130 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
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,588,914 | 734 | 309,474 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
392
+ | `@fusion.dev/helix` | 9,590,525 | 734 | 309,474 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
393
393
 
394
394
  ## Not measured yet
395
395
 
@@ -1913,10 +1913,10 @@ repository does that. The per-component tables are what a page pays.
1913
1913
  | Package | Raw | Gzip | Brotli | |
1914
1914
  |---|---|---|---|---|
1915
1915
  | \`@fusion.dev/helix-core\` | 139,066 | 46,297 | 39,137 | Element base class, mixins, decorators, floating positioning. |
1916
- | \`@fusion.dev/helix-headless\` | 533,145 | 135,135 | 105,903 | Every headless family, which is what the barrel means. |
1916
+ | \`@fusion.dev/helix-headless\` | 533,278 | 135,162 | 105,807 | 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,330 | 225,195 | 164,978 | Every styled family. |
1919
+ | \`@fusion.dev/helix\` | 987,463 | 225,240 | 164,967 | 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,9 +1939,9 @@ 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,195.
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,240.
1943
1943
 
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.
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,162 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
 
1946
1946
  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 18,820 bytes gzipped alone.
1947
1947
 
@@ -2122,7 +2122,7 @@ Structure, accessibility, state and form participation. No presentation, and no
2122
2122
  | \`tour\` | 61,947 | 20,874 | 18,463 | 10,269 | 2,529 | 2,015 |
2123
2123
  | \`tree\` | 84,423 | 27,911 | 22,833 | 7,052 | 1,930 | 1,584 |
2124
2124
  | \`trend\` | 73,764 | 24,631 | 20,344 | 1,056 | 289 | 295 |
2125
- | \`video\` | 133,542 | 42,977 | 36,328 | 31,100 | 7,221 | 6,362 |
2125
+ | \`video\` | 133,675 | 43,000 | 36,243 | 31,233 | 7,245 | 6,395 |
2126
2126
  | \`video-playlist\` | 117,742 | 39,057 | 32,780 | 14,149 | 3,236 | 2,690 |
2127
2127
  | \`virtual-list\` | 31,983 | 10,952 | 9,662 | 2,358 | 730 | 628 |
2128
2128
 
@@ -2224,7 +2224,7 @@ The headless tier plus presentation. This is what \`bun add @fusion.dev/helix\`
2224
2224
  | \`tour\` | 71,764 | 22,526 | 19,965 | 20,070 | 4,165 | 3,525 |
2225
2225
  | \`tree\` | 89,446 | 29,091 | 23,871 | 12,063 | 3,109 | 2,562 |
2226
2226
  | \`trend\` | 76,797 | 25,297 | 20,860 | 4,081 | 934 | 851 |
2227
- | \`video\` | 150,914 | 46,138 | 38,970 | 48,451 | 10,332 | 9,152 |
2227
+ | \`video\` | 151,047 | 46,167 | 39,026 | 48,584 | 10,358 | 9,243 |
2228
2228
  | \`video-playlist\` | 130,350 | 41,294 | 34,655 | 26,738 | 5,425 | 4,733 |
2229
2229
  | \`virtual-list\` | 32,815 | 11,180 | 9,827 | 3,172 | 960 | 768 |
2230
2230
 
@@ -2239,11 +2239,11 @@ column is what was removed rather than part of what remains.
2239
2239
  | Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
2240
2240
  |---|---|---|---|---|
2241
2241
  | \`@fusion.dev/helix-core\` | 712,206 | 119 | 167,831 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
2242
- | \`@fusion.dev/helix-headless\` | 8,584,310 | 426 | 716,825 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
2242
+ | \`@fusion.dev/helix-headless\` | 8,586,959 | 426 | 717,130 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
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,588,914 | 734 | 309,474 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
2246
+ | \`@fusion.dev/helix\` | 9,590,525 | 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.17.1",
4
+ "version": "0.18.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.17.1",
38
+ "@fusion.dev/helix-cem": "0.18.0",
39
39
  "@fusion.dev/scripts": "0.0.0-dev"
40
40
  },
41
41
  "homepage": "https://fusion.dev",