@fusion.dev/helix-docs 0.201.1 → 0.203.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 +236 -236
- package/content/spatial-charts.mdx +4 -0
- package/content/visual-testing.mdx +110 -0
- package/dist/pages.generated.js +6 -0
- package/dist/sources.generated.js +351 -236
- package/package.json +11 -11
|
@@ -4447,7 +4447,7 @@ on its own.
|
|
|
4447
4447
|
|
|
4448
4448
|
| | Raw | Gzip | Brotli |
|
|
4449
4449
|
|---|---|---|---|
|
|
4450
|
-
| Lit and \`@fusion.dev/helix-core\` | 254,802 | 82,008 | 70,
|
|
4450
|
+
| Lit and \`@fusion.dev/helix-core\` | 254,802 | 82,008 | 70,170 |
|
|
4451
4451
|
|
|
4452
4452
|
## Whole packages
|
|
4453
4453
|
|
|
@@ -4458,12 +4458,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
4458
4458
|
|
|
4459
4459
|
| Package | Raw | Gzip | Brotli | |
|
|
4460
4460
|
|---|---|---|---|---|
|
|
4461
|
-
| \`@fusion.dev/helix-core\` | 254,011 | 81,
|
|
4462
|
-
| \`@fusion.dev/helix-headless\` | 1,423,
|
|
4461
|
+
| \`@fusion.dev/helix-core\` | 254,011 | 81,844 | 69,776 | The element base class, mixins, decorators, and floating positioning. |
|
|
4462
|
+
| \`@fusion.dev/helix-headless\` | 1,423,302 | 396,875 | 297,863 | Every headless family. The barrel entry includes all of them. |
|
|
4463
4463
|
| \`@fusion.dev/helix-icons\` | 56,111 | 17,847 | 15,166 | The whole glyph set. |
|
|
4464
4464
|
| \`@fusion.dev/helix-theme\` | 3,626 | 1,597 | 1,384 | The JavaScript that runs the derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
4465
4465
|
| \`fusion_helix_theme_bg.wasm\` | 490,971 | 155,905 | 125,923 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
4466
|
-
| \`@fusion.dev/helix\` | 2,
|
|
4466
|
+
| \`@fusion.dev/helix\` | 2,139,502 | 551,154 | 392,845 | Every styled family. |
|
|
4467
4467
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
4468
4468
|
|
|
4469
4469
|
## Stylesheets
|
|
@@ -4484,11 +4484,11 @@ shows the whole cost of using the base layer on its own.
|
|
|
4484
4484
|
|
|
4485
4485
|
## What the numbers say
|
|
4486
4486
|
|
|
4487
|
-
**Most of your first component is the shared runtime.** The median styled family is 18,850 bytes gzipped alone, and it adds 4,
|
|
4487
|
+
**Most of your first component is the shared runtime.** The median styled family is 18,850 bytes gzipped alone, and it adds 4,386 to a page that already has Helix. The shared runtime is 77 percent of the first component, and the component itself is 23 percent. Ten typical components cost the first number once, plus nine of the added number. The two columns in the tables below let you work that out for your own components.
|
|
4488
4488
|
|
|
4489
|
-
Across the 113 styled components, the smallest is \`code\` at 8,332 bytes gzipped alone, and the largest is \`data-table\` at 66,
|
|
4489
|
+
Across the 113 styled components, the smallest is \`code\` at 8,332 bytes gzipped alone, and the largest is \`data-table\` at 66,818. Every family together is 551,154.
|
|
4490
4490
|
|
|
4491
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 396,
|
|
4491
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 396,875 bytes gzipped, whatever else the page imports. That is 21 times the median family above. All 113 styled families import the headless family they extend directly. The rule checks the shape of the import, so it applies to any package that sets \`sideEffects\`, whatever its name.
|
|
4492
4492
|
|
|
4493
4493
|
The headless tier never had the problem, so it serves as the control. \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and the median headless family is 17,662 bytes gzipped alone.
|
|
4494
4494
|
|
|
@@ -4502,43 +4502,43 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
4502
4502
|
|
|
4503
4503
|
| Component | System | Raw | Gzip | Brotli |
|
|
4504
4504
|
|---|---|---|---|---|
|
|
4505
|
-
| \`button\` | **Helix** | 41,612 | 14,008 | 12,
|
|
4505
|
+
| \`button\` | **Helix** | 41,612 | 14,008 | 12,421 |
|
|
4506
4506
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
4507
4507
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
4508
4508
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
4509
4509
|
| | Web Awesome | 136,044 | 33,730 | 28,760 |
|
|
4510
|
-
| \`checkbox\` | **Helix** | 46,865 | 15,
|
|
4510
|
+
| \`checkbox\` | **Helix** | 46,865 | 15,190 | 13,514 |
|
|
4511
4511
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
4512
4512
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
4513
4513
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
4514
4514
|
| | Web Awesome | 115,251 | 28,728 | 24,420 |
|
|
4515
|
-
| \`dialog\` | **Helix** | 43,407 | 14,
|
|
4515
|
+
| \`dialog\` | **Helix** | 43,407 | 14,901 | 13,269 |
|
|
4516
4516
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
4517
4517
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
4518
4518
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
4519
4519
|
| | Web Awesome | 148,657 | 36,692 | 31,388 |
|
|
4520
|
-
| \`radio\` | **Helix** | 50,349 | 15,
|
|
4520
|
+
| \`radio\` | **Helix** | 50,349 | 15,976 | 14,203 |
|
|
4521
4521
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
4522
4522
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
4523
4523
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
4524
4524
|
| | Web Awesome | 112,026 | 27,416 | 23,128 |
|
|
4525
|
-
| \`switch\` | **Helix** | 43,562 | 14,636 | 13,
|
|
4525
|
+
| \`switch\` | **Helix** | 43,562 | 14,636 | 13,019 |
|
|
4526
4526
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
4527
4527
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
4528
4528
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
4529
4529
|
| | Web Awesome | 45,876 | 15,003 | 13,475 |
|
|
4530
|
-
| \`tabs\` | **Helix** | 55,263 | 17,752 | 15,
|
|
4530
|
+
| \`tabs\` | **Helix** | 55,263 | 17,752 | 15,836 |
|
|
4531
4531
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
4532
4532
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
4533
4533
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
4534
4534
|
| | Web Awesome | 153,439 | 37,030 | 31,737 |
|
|
4535
|
-
| \`tooltip\` | **Helix** | 61,420 | 21,
|
|
4535
|
+
| \`tooltip\` | **Helix** | 61,420 | 21,834 | 19,377 |
|
|
4536
4536
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
4537
4537
|
| | Material Web | | not shipped | |
|
|
4538
4538
|
| | Spectrum | 136,599 | 40,552 | 35,286 |
|
|
4539
4539
|
| | Web Awesome | 70,568 | 24,005 | 21,107 |
|
|
4540
4540
|
|
|
4541
|
-
At least one system is smaller than Helix on \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`. The largest gap is radio against Spectrum, at 5,
|
|
4541
|
+
At least one system is smaller than Helix on \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`. The largest gap is radio against Spectrum, at 5,316 bytes gzipped. 6 of 27 peer measurements are smaller than the Helix row.
|
|
4542
4542
|
|
|
4543
4543
|
Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
4544
4544
|
|
|
@@ -4612,112 +4612,112 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
4612
4612
|
|
|
4613
4613
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4614
4614
|
|---|---|---|---|---|---|---|
|
|
4615
|
-
| \`accordion\` | 31,879 | 11,
|
|
4616
|
-
| \`announcement\` | 36,692 | 13,312 | 11,
|
|
4617
|
-
| \`app-header\` | 32,289 | 11,898 | 10,587 | 5,870 | 1,
|
|
4618
|
-
| \`area-chart\` | 90,301 | 31,
|
|
4619
|
-
| \`avatar\` | 30,463 | 11,595 | 10,
|
|
4620
|
-
| \`badge\` | 27,088 | 10,568 | 9,
|
|
4621
|
-
| \`bar-chart\` | 94,416 | 32,
|
|
4622
|
-
| \`blockquote\` | 24,107 | 9,
|
|
4623
|
-
| \`breadcrumbs\` | 36,279 | 13,907 | 12,
|
|
4624
|
-
| \`button\` | 35,194 | 12,591 | 11,
|
|
4625
|
-
| \`button-group\` | 27,640 | 10,382 | 9,
|
|
4626
|
-
| \`callout\` | 35,256 | 13,593 | 12,
|
|
4627
|
-
| \`canvas\` | 108,483 | 34,750 | 30,
|
|
4628
|
-
| \`card\` | 23,824 | 9,092 | 8,
|
|
4629
|
-
| \`carousel\` | 43,576 | 15,
|
|
4630
|
-
| \`chat\` | 79,390 | 26,446 | 23,
|
|
4631
|
-
| \`checkbox\` | 40,374 | 13,680 | 12,
|
|
4632
|
-
| \`checkbox-group\` | 47,602 | 15,599 | 13,903 | 8,324 | 2,
|
|
4633
|
-
| \`code\` | 20,301 | 8,015 | 7,122 | 138 |
|
|
4634
|
-
| \`code-block\` | 102,738 | 34,
|
|
4635
|
-
| \`color-input\` | 141,792 | 45,090 | 39,
|
|
4636
|
-
| \`color-picker\` | 103,415 | 32,966 | 28,
|
|
4637
|
-
| \`combobox\` | 132,023 | 41,951 | 36,
|
|
4638
|
-
| \`command\` | 99,560 | 31,521 | 27,
|
|
4639
|
-
| \`copy-button\` | 80,548 | 27,648 | 24,494 | 18,340 | 4,
|
|
4640
|
-
| \`data-table\` | 199,900 | 61,426 | 52,
|
|
4641
|
-
| \`date-input\` | 141,223 | 44,511 | 39,
|
|
4642
|
-
| \`date-picker\` | 61,360 | 20,935 | 18,
|
|
4643
|
-
| \`description-list\` | 22,900 | 8,765 | 7,
|
|
4644
|
-
| \`dialog\` | 38,294 | 13,
|
|
4645
|
-
| \`divider\` | 22,991 | 8,923 | 7,
|
|
4646
|
-
| \`donut-chart\` | 89,212 | 31,
|
|
4647
|
-
| \`drawer\` | 42,939 | 15,158 | 13,507 | 7,697 | 2,
|
|
4648
|
-
| \`drilldown\` | 42,756 | 14,
|
|
4649
|
-
| \`empty\` | 24,241 | 9,287 | 8,
|
|
4650
|
-
| \`file-input\` | 57,757 | 20,018 | 17,
|
|
4651
|
-
| \`filter-input\` | 97,846 | 32,818 | 29,
|
|
4652
|
-
| \`format-date\` | 30,158 | 11,290 | 10,
|
|
4653
|
-
| \`graph\` | 75,588 | 24,761 | 21,
|
|
4654
|
-
| \`heatmap\` | 98,128 | 33,
|
|
4655
|
-
| \`icon\` | 82,157 | 28,
|
|
4656
|
-
| \`icon-button\` | 35,305 | 12,620 | 11,
|
|
4657
|
-
| \`image\` | 25,504 | 9,
|
|
4658
|
-
| \`input\` | 46,361 | 15,
|
|
4659
|
-
| \`kbd\` | 27,511 | 10,569 | 9,
|
|
4660
|
-
| \`legend\` | 35,184 | 12,934 | 11,
|
|
4661
|
-
| \`lightbox\` | 55,724 | 18,
|
|
4662
|
-
| \`line-chart\` | 91,335 | 31,
|
|
4663
|
-
| \`list\` | 61,803 | 21,293 | 18,
|
|
4664
|
-
| \`listbox\` | 76,711 | 25,427 | 22,
|
|
4665
|
-
| \`loader\` | 26,379 | 10,040 | 8,
|
|
4666
|
-
| \`log\` | 70,386 | 24,521 | 21,
|
|
4667
|
-
| \`map\` | 79,178 | 24,571 | 21,
|
|
4668
|
-
| \`megamenu\` | 60,
|
|
4669
|
-
| \`menu\` | 97,473 | 32,552 | 28,
|
|
4670
|
-
| \`meter\` | 31,721 | 12,025 | 10,
|
|
4671
|
-
| \`motion-toggle\` | 25,678 | 9,986 | 8,
|
|
4672
|
-
| \`navigation\` | 33,088 | 12,436 | 11,
|
|
4673
|
-
| \`notifications\` | 58,346 | 19,880 | 17,
|
|
4674
|
-
| \`number-input\` | 56,271 | 18,841 | 16,
|
|
4675
|
-
| \`object-inspector\` | 113,929 | 38,373 | 33,
|
|
4676
|
-
| \`option\` | 26,477 | 9,763 | 8,
|
|
4677
|
-
| \`outline\` | 33,612 | 12,597 | 11,
|
|
4678
|
-
| \`pagination\` | 136,258 | 43,650 | 37,
|
|
4679
|
-
| \`pin-input\` | 47,068 | 16,414 | 14,
|
|
4680
|
-
| \`popover\` | 63,853 | 22,981 | 20,
|
|
4681
|
-
| \`progress\` | 28,084 | 10,727 | 9,549 | 2,969 |
|
|
4682
|
-
| \`qr-code\` | 42,719 | 16,647 | 14,833 | 17,001 | 6,
|
|
4683
|
-
| \`quote\` | 22,516 | 8,
|
|
4684
|
-
| \`radio\` | 42,561 | 14,
|
|
4685
|
-
| \`rating\` | 50,257 | 17,292 | 15,
|
|
4686
|
-
| \`scatter-chart\` | 91,226 | 31,675 |
|
|
4687
|
-
| \`scroll-area\` | 30,430 | 11,079 | 9,
|
|
4688
|
-
| \`select\` | 115,289 | 38,174 | 33,
|
|
4689
|
-
| \`skeleton\` | 22,328 | 8,643 | 7,
|
|
4690
|
-
| \`skip-link\` | 23,871 | 9,337 | 8,
|
|
4691
|
-
| \`slider\` | 52,873 | 17,
|
|
4692
|
-
| \`sparkline\` | 47,984 | 17,
|
|
4693
|
-
| \`spatial-bar-chart\` | 101,
|
|
4694
|
-
| \`spatial-heatmap\` | 113,473 | 38,
|
|
4695
|
-
| \`spatial-ribbon-chart\` | 100,738 | 35,
|
|
4696
|
-
| \`spatial-scatter-chart\` | 98,971 | 34,
|
|
4697
|
-
| \`spatial-surface-chart\` | 101,895 | 36,
|
|
4698
|
-
| \`spatial-treemap\` |
|
|
4699
|
-
| \`speed-dial\` | 68,751 | 24,717 | 21,
|
|
4700
|
-
| \`splitter\` | 43,751 | 15,170 | 13,
|
|
4701
|
-
| \`stat\` | 25,255 | 9,674 | 8,
|
|
4702
|
-
| \`steps\` | 53,623 | 18,635 | 16,
|
|
4703
|
-
| \`switch\` | 39,233 | 13,496 | 12,
|
|
4704
|
-
| \`table\` | 118,358 | 37,061 | 32,
|
|
4705
|
-
| \`tabs\` | 46,310 | 15,908 | 14,
|
|
4706
|
-
| \`tag\` | 42,676 | 15,621 | 13,
|
|
4707
|
-
| \`textarea\` | 43,852 | 14,940 | 13,
|
|
4708
|
-
| \`time-input\` | 169,269 | 52,
|
|
4709
|
-
| \`time-picker\` | 99,603 | 31,517 | 27,
|
|
4710
|
-
| \`timeline\` | 31,286 | 11,
|
|
4711
|
-
| \`toast\` | 50,871 | 17,
|
|
4712
|
-
| \`toggle\` | 45,577 | 15,269 | 13,
|
|
4713
|
-
| \`toolbar\` | 31,047 | 11,572 | 10,
|
|
4714
|
-
| \`tooltip\` | 58,616 | 21,089 | 18,
|
|
4715
|
-
| \`tour\` | 83,717 | 28,762 | 25,
|
|
4716
|
-
| \`tree\` | 67,586 | 22,
|
|
4717
|
-
| \`trend\` | 29,717 | 11,568 | 10,331 | 3,485 | 1,
|
|
4718
|
-
| \`video\` | 142,270 | 44,
|
|
4719
|
-
| \`video-playlist\` | 127,686 | 41,
|
|
4720
|
-
| \`virtual-list\` | 63,451 | 21,631 | 19,
|
|
4615
|
+
| \`accordion\` | 31,879 | 11,804 | 10,469 | 5,328 | 1,581 | 1,120 |
|
|
4616
|
+
| \`announcement\` | 36,692 | 13,312 | 11,865 | 4,681 | 1,369 | 1,011 |
|
|
4617
|
+
| \`app-header\` | 32,289 | 11,898 | 10,587 | 5,870 | 1,748 | 1,227 |
|
|
4618
|
+
| \`area-chart\` | 90,301 | 31,727 | 28,086 | 14,057 | 4,343 | 3,410 |
|
|
4619
|
+
| \`avatar\` | 30,463 | 11,595 | 10,390 | 3,957 | 1,214 | 861 |
|
|
4620
|
+
| \`badge\` | 27,088 | 10,568 | 9,411 | 2,942 | 889 | 595 |
|
|
4621
|
+
| \`bar-chart\` | 94,416 | 32,821 | 29,068 | 18,022 | 5,411 | 4,303 |
|
|
4622
|
+
| \`blockquote\` | 24,107 | 9,421 | 8,327 | 2,401 | 878 | 715 |
|
|
4623
|
+
| \`breadcrumbs\` | 36,279 | 13,907 | 12,386 | 7,357 | 2,410 | 1,838 |
|
|
4624
|
+
| \`button\` | 35,194 | 12,591 | 11,206 | 4,922 | 1,424 | 1,022 |
|
|
4625
|
+
| \`button-group\` | 27,640 | 10,382 | 9,203 | 4,926 | 1,515 | 1,003 |
|
|
4626
|
+
| \`callout\` | 35,256 | 13,593 | 12,065 | 2,884 | 964 | 660 |
|
|
4627
|
+
| \`canvas\` | 108,483 | 34,750 | 30,444 | 68,924 | 20,931 | 17,511 |
|
|
4628
|
+
| \`card\` | 23,824 | 9,092 | 8,084 | 2,090 | 627 | 452 |
|
|
4629
|
+
| \`carousel\` | 43,576 | 15,462 | 13,785 | 15,235 | 4,221 | 3,241 |
|
|
4630
|
+
| \`chat\` | 79,390 | 26,446 | 23,395 | 27,455 | 8,022 | 6,195 |
|
|
4631
|
+
| \`checkbox\` | 40,374 | 13,680 | 12,222 | 3,107 | 961 | 599 |
|
|
4632
|
+
| \`checkbox-group\` | 47,602 | 15,599 | 13,903 | 8,324 | 2,349 | 1,554 |
|
|
4633
|
+
| \`code\` | 20,301 | 8,015 | 7,122 | 138 | 67 | 4 |
|
|
4634
|
+
| \`code-block\` | 102,738 | 34,888 | 30,804 | 36,843 | 10,712 | 8,593 |
|
|
4635
|
+
| \`color-input\` | 141,792 | 45,090 | 39,369 | 55,133 | 14,293 | 11,515 |
|
|
4636
|
+
| \`color-picker\` | 103,415 | 32,966 | 28,902 | 47,251 | 12,670 | 10,093 |
|
|
4637
|
+
| \`combobox\` | 132,023 | 41,951 | 36,897 | 35,789 | 9,084 | 7,083 |
|
|
4638
|
+
| \`command\` | 99,560 | 31,521 | 27,759 | 30,059 | 8,103 | 6,310 |
|
|
4639
|
+
| \`copy-button\` | 80,548 | 27,648 | 24,494 | 18,340 | 4,939 | 3,755 |
|
|
4640
|
+
| \`data-table\` | 199,900 | 61,426 | 52,576 | 89,488 | 23,798 | 19,003 |
|
|
4641
|
+
| \`date-input\` | 141,223 | 44,511 | 39,084 | 38,227 | 9,424 | 7,458 |
|
|
4642
|
+
| \`date-picker\` | 61,360 | 20,935 | 18,749 | 20,345 | 5,600 | 4,242 |
|
|
4643
|
+
| \`description-list\` | 22,900 | 8,765 | 7,768 | 1,565 | 491 | 282 |
|
|
4644
|
+
| \`dialog\` | 38,294 | 13,635 | 12,176 | 5,837 | 1,716 | 1,200 |
|
|
4645
|
+
| \`divider\` | 22,991 | 8,923 | 7,890 | 1,415 | 503 | 260 |
|
|
4646
|
+
| \`donut-chart\` | 89,212 | 31,129 | 27,497 | 14,639 | 4,496 | 3,498 |
|
|
4647
|
+
| \`drawer\` | 42,939 | 15,158 | 13,507 | 7,697 | 2,297 | 1,709 |
|
|
4648
|
+
| \`drilldown\` | 42,756 | 14,941 | 13,294 | 9,708 | 2,703 | 1,966 |
|
|
4649
|
+
| \`empty\` | 24,241 | 9,287 | 8,241 | 1,951 | 639 | 399 |
|
|
4650
|
+
| \`file-input\` | 57,757 | 20,018 | 17,802 | 13,093 | 4,122 | 3,220 |
|
|
4651
|
+
| \`filter-input\` | 97,846 | 32,818 | 29,094 | 21,628 | 6,187 | 4,858 |
|
|
4652
|
+
| \`format-date\` | 30,158 | 11,290 | 10,084 | 4,431 | 1,266 | 896 |
|
|
4653
|
+
| \`graph\` | 75,588 | 24,761 | 21,917 | 23,095 | 6,735 | 5,267 |
|
|
4654
|
+
| \`heatmap\` | 98,128 | 33,500 | 29,632 | 18,941 | 5,574 | 4,363 |
|
|
4655
|
+
| \`icon\` | 82,157 | 28,049 | 24,059 | 58,303 | 19,611 | 15,986 |
|
|
4656
|
+
| \`icon-button\` | 35,305 | 12,620 | 11,227 | 5,031 | 1,448 | 1,109 |
|
|
4657
|
+
| \`image\` | 25,504 | 9,479 | 8,406 | 3,822 | 1,133 | 800 |
|
|
4658
|
+
| \`input\` | 46,361 | 15,975 | 14,079 | 7,351 | 2,388 | 1,592 |
|
|
4659
|
+
| \`kbd\` | 27,511 | 10,569 | 9,334 | 3,516 | 1,112 | 710 |
|
|
4660
|
+
| \`legend\` | 35,184 | 12,934 | 11,491 | 2,956 | 979 | 677 |
|
|
4661
|
+
| \`lightbox\` | 55,724 | 18,816 | 16,730 | 16,728 | 4,632 | 3,384 |
|
|
4662
|
+
| \`line-chart\` | 91,335 | 31,880 | 28,243 | 14,760 | 4,399 | 3,452 |
|
|
4663
|
+
| \`list\` | 61,803 | 21,293 | 18,953 | 15,241 | 4,415 | 3,292 |
|
|
4664
|
+
| \`listbox\` | 76,711 | 25,427 | 22,460 | 15,562 | 4,564 | 3,331 |
|
|
4665
|
+
| \`loader\` | 26,379 | 10,040 | 8,908 | 2,774 | 914 | 630 |
|
|
4666
|
+
| \`log\` | 70,386 | 24,521 | 21,751 | 28,353 | 8,957 | 7,442 |
|
|
4667
|
+
| \`map\` | 79,178 | 24,571 | 21,536 | 37,042 | 10,074 | 7,853 |
|
|
4668
|
+
| \`megamenu\` | 60,089 | 21,721 | 19,212 | 8,657 | 2,397 | 1,697 |
|
|
4669
|
+
| \`menu\` | 97,473 | 32,552 | 28,771 | 30,180 | 7,920 | 6,251 |
|
|
4670
|
+
| \`meter\` | 31,721 | 12,025 | 10,727 | 4,893 | 1,410 | 1,230 |
|
|
4671
|
+
| \`motion-toggle\` | 25,678 | 9,986 | 8,876 | 1,426 | 509 | 207 |
|
|
4672
|
+
| \`navigation\` | 33,088 | 12,436 | 11,039 | 3,365 | 1,157 | 712 |
|
|
4673
|
+
| \`notifications\` | 58,346 | 19,880 | 17,741 | 18,207 | 5,058 | 3,804 |
|
|
4674
|
+
| \`number-input\` | 56,271 | 18,841 | 16,804 | 13,522 | 3,584 | 2,682 |
|
|
4675
|
+
| \`object-inspector\` | 113,929 | 38,373 | 33,745 | 35,491 | 10,255 | 8,113 |
|
|
4676
|
+
| \`option\` | 26,477 | 9,763 | 8,666 | 4,523 | 1,184 | 838 |
|
|
4677
|
+
| \`outline\` | 33,612 | 12,597 | 11,183 | 7,856 | 2,559 | 1,830 |
|
|
4678
|
+
| \`pagination\` | 136,258 | 43,650 | 37,950 | 45,379 | 11,839 | 9,352 |
|
|
4679
|
+
| \`pin-input\` | 47,068 | 16,414 | 14,642 | 6,735 | 2,225 | 1,481 |
|
|
4680
|
+
| \`popover\` | 63,853 | 22,981 | 20,334 | 6,373 | 1,854 | 1,368 |
|
|
4681
|
+
| \`progress\` | 28,084 | 10,727 | 9,549 | 2,969 | 910 | 712 |
|
|
4682
|
+
| \`qr-code\` | 42,719 | 16,647 | 14,833 | 17,001 | 6,289 | 5,206 |
|
|
4683
|
+
| \`quote\` | 22,516 | 8,883 | 7,828 | 1,210 | 510 | 245 |
|
|
4684
|
+
| \`radio\` | 42,561 | 14,464 | 12,889 | 3,817 | 1,200 | 741 |
|
|
4685
|
+
| \`rating\` | 50,257 | 17,292 | 15,435 | 8,027 | 2,434 | 1,651 |
|
|
4686
|
+
| \`scatter-chart\` | 91,226 | 31,675 | 27,992 | 16,123 | 4,843 | 3,724 |
|
|
4687
|
+
| \`scroll-area\` | 30,430 | 11,079 | 9,814 | 8,499 | 2,573 | 1,876 |
|
|
4688
|
+
| \`select\` | 115,289 | 38,174 | 33,483 | 26,031 | 7,119 | 5,422 |
|
|
4689
|
+
| \`skeleton\` | 22,328 | 8,643 | 7,683 | 991 | 397 | 236 |
|
|
4690
|
+
| \`skip-link\` | 23,871 | 9,337 | 8,264 | 1,224 | 475 | 324 |
|
|
4691
|
+
| \`slider\` | 52,873 | 17,825 | 15,953 | 13,158 | 3,777 | 2,871 |
|
|
4692
|
+
| \`sparkline\` | 47,984 | 17,499 | 15,650 | 5,979 | 2,127 | 1,506 |
|
|
4693
|
+
| \`spatial-bar-chart\` | 101,617 | 35,955 | 31,688 | 19,779 | 6,524 | 5,169 |
|
|
4694
|
+
| \`spatial-heatmap\` | 113,473 | 38,795 | 34,077 | 31,592 | 9,582 | 7,556 |
|
|
4695
|
+
| \`spatial-ribbon-chart\` | 100,738 | 35,554 | 31,358 | 20,718 | 6,906 | 5,553 |
|
|
4696
|
+
| \`spatial-scatter-chart\` | 98,971 | 34,841 | 30,771 | 19,012 | 6,269 | 4,896 |
|
|
4697
|
+
| \`spatial-surface-chart\` | 101,895 | 36,126 | 31,862 | 21,876 | 7,441 | 5,992 |
|
|
4698
|
+
| \`spatial-treemap\` | 103,011 | 36,754 | 32,342 | 21,297 | 7,375 | 5,818 |
|
|
4699
|
+
| \`speed-dial\` | 68,751 | 24,717 | 21,860 | 10,914 | 2,969 | 2,213 |
|
|
4700
|
+
| \`splitter\` | 43,751 | 15,170 | 13,534 | 14,396 | 3,841 | 2,981 |
|
|
4701
|
+
| \`stat\` | 25,255 | 9,674 | 8,602 | 2,302 | 754 | 403 |
|
|
4702
|
+
| \`steps\` | 53,623 | 18,635 | 16,599 | 13,601 | 3,845 | 2,867 |
|
|
4703
|
+
| \`switch\` | 39,233 | 13,496 | 12,052 | 1,679 | 600 | 304 |
|
|
4704
|
+
| \`table\` | 118,358 | 37,061 | 32,283 | 45,146 | 12,425 | 9,812 |
|
|
4705
|
+
| \`tabs\` | 46,310 | 15,908 | 14,142 | 10,491 | 2,876 | 2,086 |
|
|
4706
|
+
| \`tag\` | 42,676 | 15,621 | 13,971 | 8,453 | 2,545 | 1,882 |
|
|
4707
|
+
| \`textarea\` | 43,852 | 14,940 | 13,329 | 5,401 | 1,603 | 1,163 |
|
|
4708
|
+
| \`time-input\` | 169,269 | 52,676 | 45,759 | 48,509 | 12,418 | 9,743 |
|
|
4709
|
+
| \`time-picker\` | 99,603 | 31,517 | 27,749 | 33,932 | 9,177 | 7,163 |
|
|
4710
|
+
| \`timeline\` | 31,286 | 11,863 | 10,632 | 4,060 | 1,184 | 876 |
|
|
4711
|
+
| \`toast\` | 50,871 | 17,940 | 15,980 | 12,122 | 3,516 | 2,615 |
|
|
4712
|
+
| \`toggle\` | 45,577 | 15,269 | 13,600 | 6,007 | 1,805 | 1,263 |
|
|
4713
|
+
| \`toolbar\` | 31,047 | 11,572 | 10,293 | 5,157 | 1,639 | 1,096 |
|
|
4714
|
+
| \`tooltip\` | 58,616 | 21,089 | 18,713 | 8,432 | 2,348 | 1,708 |
|
|
4715
|
+
| \`tour\` | 83,717 | 28,762 | 25,381 | 19,811 | 5,427 | 4,241 |
|
|
4716
|
+
| \`tree\` | 67,586 | 22,717 | 20,252 | 17,197 | 4,928 | 3,775 |
|
|
4717
|
+
| \`trend\` | 29,717 | 11,568 | 10,331 | 3,485 | 1,071 | 761 |
|
|
4718
|
+
| \`video\` | 142,270 | 44,463 | 38,791 | 66,678 | 16,801 | 13,852 |
|
|
4719
|
+
| \`video-playlist\` | 127,686 | 41,301 | 36,395 | 42,775 | 11,169 | 9,144 |
|
|
4720
|
+
| \`virtual-list\` | 63,451 | 21,631 | 19,228 | 23,304 | 7,149 | 5,808 |
|
|
4721
4721
|
|
|
4722
4722
|
### Styled tier
|
|
4723
4723
|
|
|
@@ -4725,119 +4725,119 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
4725
4725
|
|
|
4726
4726
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4727
4727
|
|---|---|---|---|---|---|---|
|
|
4728
|
-
| \`accordion\` | 35,311 | 12,
|
|
4729
|
-
| \`announcement\` | 41,307 | 14,364 | 12,795 | 9,277 | 2,
|
|
4730
|
-
| \`app-header\` | 37,449 | 13,102 | 11,
|
|
4731
|
-
| \`area-chart\` | 98,393 | 33,
|
|
4732
|
-
| \`aura\` |
|
|
4733
|
-
| \`avatar\` | 33,464 | 12,351 | 11,
|
|
4734
|
-
| \`badge\` | 32,595 | 11,820 | 10,
|
|
4735
|
-
| \`bar-chart\` | 108,944 | 35,725 | 31,
|
|
4736
|
-
| \`blockquote\` | 26,332 | 9,
|
|
4737
|
-
| \`breadcrumbs\` | 43,220 | 15,
|
|
4738
|
-
| \`button\` | 41,612 | 14,008 | 12,
|
|
4739
|
-
| \`button-group\` | 31,138 | 11,066 | 9,
|
|
4740
|
-
| \`callout\` | 39,049 | 14,536 | 12,
|
|
4741
|
-
| \`canvas\` | 129,523 | 38,715 | 33,
|
|
4742
|
-
| \`card\` | 27,725 | 10,099 | 8,
|
|
4743
|
-
| \`carousel\` | 54,063 | 17,260 | 15,
|
|
4744
|
-
| \`chat\` | 94,674 | 29,166 | 25,
|
|
4745
|
-
| \`checkbox\` | 46,865 | 15,
|
|
4746
|
-
| \`checkbox-group\` | 54,826 | 17,
|
|
4747
|
-
| \`code\` | 21,154 | 8,332 | 7,
|
|
4748
|
-
| \`code-block\` | 127,213 | 38,714 | 34,
|
|
4749
|
-
| \`color-input\` | 184,176 | 51,
|
|
4750
|
-
| \`color-picker\` | 140,348 | 38,
|
|
4751
|
-
| \`combobox\` | 147,503 | 44,927 | 39,
|
|
4752
|
-
| \`command\` | 110,838 | 33,878 | 29,
|
|
4753
|
-
| \`copy-button\` | 92,577 | 29,825 | 26,
|
|
4754
|
-
| \`data-table\` | 230,715 | 66,
|
|
4755
|
-
| \`date-input\` | 162,349 | 48,215 | 42,
|
|
4756
|
-
| \`date-picker\` | 69,281 | 22,362 | 20,
|
|
4757
|
-
| \`description-list\` | 25,855 | 9,517 | 8,
|
|
4758
|
-
| \`dialog\` | 43,407 | 14,
|
|
4759
|
-
| \`divider\` | 25,291 | 9,545 | 8,
|
|
4760
|
-
| \`donut-chart\` | 99,170 | 33,262 | 29,
|
|
4761
|
-
| \`drawer\` | 48,772 | 16,542 | 14,
|
|
4762
|
-
| \`drilldown\` | 48,438 | 16,238 | 14,
|
|
4763
|
-
| \`empty\` | 25,550 | 9,761 | 8,
|
|
4764
|
-
| \`file-input\` | 69,285 | 22,419 | 19,
|
|
4765
|
-
| \`filter-input\` | 108,688 | 34,990 | 31,
|
|
4766
|
-
| \`flex\` | 25,740 | 9,193 | 8,
|
|
4767
|
-
| \`format-date\` | 30,414 | 11,403 | 10,
|
|
4768
|
-
| \`graph\` | 91,503 | 27,441 | 24,
|
|
4769
|
-
| \`grid\` | 27,002 | 9,845 | 8,
|
|
4770
|
-
| \`heatmap\` | 106,453 | 35,
|
|
4771
|
-
| \`icon\` | 83,995 | 28,
|
|
4772
|
-
| \`icon-button\` | 43,040 | 13,980 | 12,440 | 12,750 | 2,
|
|
4773
|
-
| \`image\` | 26,892 | 9,946 | 8,
|
|
4774
|
-
| \`input\` | 50,619 | 17,064 | 15,
|
|
4775
|
-
| \`kbd\` | 29,504 | 11,
|
|
4776
|
-
| \`legend\` | 40,423 | 14,
|
|
4777
|
-
| \`lightbox\` | 62,016 | 20,
|
|
4778
|
-
| \`line-chart\` | 102,454 | 34,256 | 30,
|
|
4779
|
-
| \`list\` | 68,150 | 22,813 | 20,
|
|
4780
|
-
| \`listbox\` | 81,154 | 26,541 | 23,
|
|
4781
|
-
| \`loader\` | 29,263 | 10,815 | 9,
|
|
4782
|
-
| \`log\` | 80,816 | 26,666 | 23,
|
|
4783
|
-
| \`map\` | 112,126 | 29,780 | 26,
|
|
4784
|
-
| \`megamenu\` |
|
|
4785
|
-
| \`menu\` | 108,403 | 34,710 | 30,
|
|
4786
|
-
| \`meter\` | 37,896 | 13,376 | 11,
|
|
4787
|
-
| \`motion-toggle\` | 27,312 | 10,459 | 9,
|
|
4788
|
-
| \`navigation\` | 36,814 | 13,267 | 11,
|
|
4789
|
-
| \`notifications\` | 71,839 | 22,
|
|
4790
|
-
| \`number-input\` | 61,253 | 20,025 | 17,
|
|
4791
|
-
| \`object-inspector\` | 130,338 | 41,
|
|
4792
|
-
| \`option\` | 29,672 | 10,761 | 9,
|
|
4793
|
-
| \`orb\` | 36,209 | 13,750 | 12,
|
|
4794
|
-
| \`outline\` | 37,846 | 13,457 | 11,
|
|
4795
|
-
| \`pagination\` | 153,264 | 46,929 | 40,
|
|
4796
|
-
| \`pin-input\` | 50,409 | 17,
|
|
4797
|
-
| \`popover\` | 67,005 | 23,748 | 21,007 | 9,507 | 2,
|
|
4798
|
-
| \`progress\` | 35,232 | 12,380 | 11,
|
|
4799
|
-
| \`qr-code\` | 44,321 | 17,
|
|
4800
|
-
| \`quote\` | 23,074 | 9,
|
|
4801
|
-
| \`radio\` | 50,349 | 15,
|
|
4802
|
-
| \`rating\` | 54,190 | 18,518 | 16,
|
|
4803
|
-
| \`sandbox\` | 106,479 | 32,358 | 28,
|
|
4804
|
-
| \`scatter-chart\` | 100,317 | 33,784 | 29,
|
|
4805
|
-
| \`scroll-area\` | 35,437 | 12,026 | 10,
|
|
4806
|
-
| \`select\` | 124,418 | 40,
|
|
4807
|
-
| \`skeleton\` | 26,090 | 9,663 | 8,
|
|
4808
|
-
| \`skip-link\` | 25,441 | 9,
|
|
4809
|
-
| \`slider\` | 67,842 | 20,
|
|
4810
|
-
| \`sparkline\` | 53,442 | 18,850 | 16,
|
|
4811
|
-
| \`spatial-bar-chart\` | 110,
|
|
4812
|
-
| \`spatial-heatmap\` | 123,212 | 40,986 | 36,
|
|
4813
|
-
| \`spatial-ribbon-chart\` | 109,556 | 37,
|
|
4814
|
-
| \`spatial-scatter-chart\` | 107,852 | 36,
|
|
4815
|
-
| \`spatial-surface-chart\` | 110,231 | 38,
|
|
4816
|
-
| \`spatial-treemap\` | 111,
|
|
4817
|
-
| \`speed-dial\` | 75,797 | 26,
|
|
4818
|
-
| \`splitter\` | 49,804 | 16,207 | 14,
|
|
4819
|
-
| \`stat\` | 28,117 | 10,371 | 9,
|
|
4820
|
-
| \`steps\` | 67,449 | 21,377 | 19,
|
|
4821
|
-
| \`strands\` | 62,788 | 23,354 | 20,
|
|
4822
|
-
| \`switch\` | 43,562 | 14,636 | 13,
|
|
4823
|
-
| \`table\` | 135,900 | 40,155 | 34,
|
|
4824
|
-
| \`tabs\` | 55,263 | 17,752 | 15,
|
|
4825
|
-
| \`tag\` | 47,247 | 16,757 | 14,
|
|
4826
|
-
| \`text\` | 28,756 | 9,942 | 8,
|
|
4827
|
-
| \`textarea\` | 47,785 | 15,
|
|
4828
|
-
| \`time-input\` | 193,597 | 56,836 | 49,
|
|
4829
|
-
| \`time-picker\` | 111,928 | 33,
|
|
4830
|
-
| \`timeline\` | 38,179 | 13,
|
|
4831
|
-
| \`toast\` | 58,767 | 19,783 | 17,
|
|
4832
|
-
| \`toggle\` | 50,439 | 16,509 | 14,
|
|
4833
|
-
| \`toolbar\` | 33,726 | 12,065 | 10,
|
|
4834
|
-
| \`tooltip\` | 61,420 | 21,
|
|
4835
|
-
| \`tour\` | 93,708 | 30,
|
|
4836
|
-
| \`tree\` | 76,275 | 24,651 | 21,
|
|
4837
|
-
| \`trend\` | 31,231 | 12,049 | 10,
|
|
4838
|
-
| \`video\` | 162,777 | 48,
|
|
4839
|
-
| \`video-playlist\` | 143,639 | 44,
|
|
4840
|
-
| \`virtual-list\` | 65,445 | 22,138 | 19,
|
|
4728
|
+
| \`accordion\` | 35,311 | 12,653 | 11,234 | 8,743 | 2,444 | 1,896 |
|
|
4729
|
+
| \`announcement\` | 41,307 | 14,364 | 12,795 | 9,277 | 2,478 | 1,854 |
|
|
4730
|
+
| \`app-header\` | 37,449 | 13,102 | 11,649 | 11,015 | 2,965 | 2,292 |
|
|
4731
|
+
| \`area-chart\` | 98,393 | 33,576 | 29,657 | 22,128 | 6,245 | 4,956 |
|
|
4732
|
+
| \`aura\` | 58,599 | 19,870 | 17,594 | 31,639 | 9,617 | 8,022 |
|
|
4733
|
+
| \`avatar\` | 33,464 | 12,351 | 11,067 | 6,945 | 1,965 | 1,521 |
|
|
4734
|
+
| \`badge\` | 32,595 | 11,820 | 10,543 | 8,436 | 2,150 | 1,735 |
|
|
4735
|
+
| \`bar-chart\` | 108,944 | 35,725 | 31,562 | 32,531 | 8,343 | 6,736 |
|
|
4736
|
+
| \`blockquote\` | 26,332 | 9,968 | 8,809 | 4,611 | 1,417 | 997 |
|
|
4737
|
+
| \`breadcrumbs\` | 43,220 | 15,115 | 13,503 | 14,282 | 3,648 | 2,835 |
|
|
4738
|
+
| \`button\` | 41,612 | 14,008 | 12,421 | 11,321 | 2,870 | 2,171 |
|
|
4739
|
+
| \`button-group\` | 31,138 | 11,066 | 9,811 | 8,407 | 2,206 | 1,675 |
|
|
4740
|
+
| \`callout\` | 39,049 | 14,536 | 12,915 | 6,659 | 1,916 | 1,475 |
|
|
4741
|
+
| \`canvas\` | 129,523 | 38,715 | 33,914 | 89,608 | 24,826 | 20,856 |
|
|
4742
|
+
| \`card\` | 27,725 | 10,099 | 8,970 | 5,976 | 1,633 | 1,265 |
|
|
4743
|
+
| \`carousel\` | 54,063 | 17,260 | 15,431 | 25,704 | 6,036 | 4,744 |
|
|
4744
|
+
| \`chat\` | 94,674 | 29,166 | 25,828 | 42,730 | 10,803 | 8,866 |
|
|
4745
|
+
| \`checkbox\` | 46,865 | 15,190 | 13,514 | 9,580 | 2,484 | 1,885 |
|
|
4746
|
+
| \`checkbox-group\` | 54,826 | 17,244 | 15,391 | 15,537 | 3,997 | 2,949 |
|
|
4747
|
+
| \`code\` | 21,154 | 8,332 | 7,395 | 976 | 381 | 242 |
|
|
4748
|
+
| \`code-block\` | 127,213 | 38,714 | 34,178 | 61,298 | 14,674 | 11,983 |
|
|
4749
|
+
| \`color-input\` | 184,176 | 51,349 | 44,970 | 97,504 | 20,448 | 16,896 |
|
|
4750
|
+
| \`color-picker\` | 140,348 | 38,509 | 33,780 | 84,175 | 18,133 | 15,030 |
|
|
4751
|
+
| \`combobox\` | 147,503 | 44,927 | 39,574 | 51,252 | 12,065 | 9,634 |
|
|
4752
|
+
| \`command\` | 110,838 | 33,878 | 29,855 | 41,331 | 10,481 | 8,396 |
|
|
4753
|
+
| \`copy-button\` | 92,577 | 29,825 | 26,393 | 30,351 | 7,146 | 5,692 |
|
|
4754
|
+
| \`data-table\` | 230,715 | 66,818 | 57,232 | 120,287 | 29,325 | 23,595 |
|
|
4755
|
+
| \`date-input\` | 162,349 | 48,215 | 42,445 | 59,338 | 13,171 | 10,699 |
|
|
4756
|
+
| \`date-picker\` | 69,281 | 22,362 | 20,075 | 28,248 | 7,039 | 5,600 |
|
|
4757
|
+
| \`description-list\` | 25,855 | 9,517 | 8,455 | 4,508 | 1,254 | 916 |
|
|
4758
|
+
| \`dialog\` | 43,407 | 14,901 | 13,269 | 10,933 | 3,021 | 2,383 |
|
|
4759
|
+
| \`divider\` | 25,291 | 9,545 | 8,435 | 3,698 | 1,125 | 780 |
|
|
4760
|
+
| \`donut-chart\` | 99,170 | 33,262 | 29,441 | 24,574 | 6,694 | 5,404 |
|
|
4761
|
+
| \`drawer\` | 48,772 | 16,542 | 14,775 | 13,511 | 3,736 | 2,978 |
|
|
4762
|
+
| \`drilldown\` | 48,438 | 16,238 | 14,445 | 15,376 | 4,007 | 3,120 |
|
|
4763
|
+
| \`empty\` | 25,550 | 9,761 | 8,643 | 3,242 | 1,092 | 798 |
|
|
4764
|
+
| \`file-input\` | 69,285 | 22,419 | 19,918 | 24,610 | 6,500 | 5,209 |
|
|
4765
|
+
| \`filter-input\` | 108,688 | 34,990 | 31,033 | 32,463 | 8,378 | 6,731 |
|
|
4766
|
+
| \`flex\` | 25,740 | 9,193 | 8,149 | 4,762 | 1,033 | 759 |
|
|
4767
|
+
| \`format-date\` | 30,414 | 11,403 | 10,154 | 4,669 | 1,384 | 979 |
|
|
4768
|
+
| \`graph\` | 91,503 | 27,441 | 24,205 | 38,992 | 9,539 | 7,620 |
|
|
4769
|
+
| \`grid\` | 27,002 | 9,845 | 8,746 | 5,637 | 1,436 | 1,110 |
|
|
4770
|
+
| \`heatmap\` | 106,453 | 35,371 | 31,169 | 27,245 | 7,426 | 5,902 |
|
|
4771
|
+
| \`icon\` | 83,995 | 28,567 | 24,463 | 60,128 | 20,163 | 16,471 |
|
|
4772
|
+
| \`icon-button\` | 43,040 | 13,980 | 12,440 | 12,750 | 2,859 | 2,196 |
|
|
4773
|
+
| \`image\` | 26,892 | 9,946 | 8,816 | 5,192 | 1,599 | 1,093 |
|
|
4774
|
+
| \`input\` | 50,619 | 17,064 | 15,047 | 11,592 | 3,502 | 2,580 |
|
|
4775
|
+
| \`kbd\` | 29,504 | 11,108 | 9,828 | 5,494 | 1,668 | 1,134 |
|
|
4776
|
+
| \`legend\` | 40,423 | 14,213 | 12,594 | 8,066 | 2,255 | 1,655 |
|
|
4777
|
+
| \`lightbox\` | 62,016 | 20,155 | 17,914 | 23,004 | 5,961 | 4,458 |
|
|
4778
|
+
| \`line-chart\` | 102,454 | 34,256 | 30,342 | 25,861 | 6,815 | 5,461 |
|
|
4779
|
+
| \`list\` | 68,150 | 22,813 | 20,357 | 21,568 | 5,926 | 4,572 |
|
|
4780
|
+
| \`listbox\` | 81,154 | 26,541 | 23,476 | 19,991 | 5,668 | 4,268 |
|
|
4781
|
+
| \`loader\` | 29,263 | 10,815 | 9,652 | 5,641 | 1,684 | 1,267 |
|
|
4782
|
+
| \`log\` | 80,816 | 26,666 | 23,622 | 38,769 | 11,124 | 9,288 |
|
|
4783
|
+
| \`map\` | 112,126 | 29,780 | 26,169 | 69,978 | 15,410 | 12,552 |
|
|
4784
|
+
| \`megamenu\` | 65,058 | 22,889 | 20,248 | 13,607 | 3,558 | 2,687 |
|
|
4785
|
+
| \`menu\` | 108,403 | 34,710 | 30,648 | 41,092 | 10,114 | 8,133 |
|
|
4786
|
+
| \`meter\` | 37,896 | 13,376 | 11,940 | 11,049 | 2,796 | 2,320 |
|
|
4787
|
+
| \`motion-toggle\` | 27,312 | 10,459 | 9,304 | 3,044 | 972 | 738 |
|
|
4788
|
+
| \`navigation\` | 36,814 | 13,267 | 11,794 | 7,076 | 2,007 | 1,456 |
|
|
4789
|
+
| \`notifications\` | 71,839 | 22,457 | 20,075 | 31,690 | 7,638 | 6,173 |
|
|
4790
|
+
| \`number-input\` | 61,253 | 20,025 | 17,834 | 18,489 | 4,794 | 3,640 |
|
|
4791
|
+
| \`object-inspector\` | 130,338 | 41,205 | 36,248 | 51,885 | 13,166 | 10,690 |
|
|
4792
|
+
| \`option\` | 29,672 | 10,761 | 9,548 | 7,711 | 2,182 | 1,676 |
|
|
4793
|
+
| \`orb\` | 36,209 | 13,750 | 12,299 | 10,015 | 3,713 | 2,982 |
|
|
4794
|
+
| \`outline\` | 37,846 | 13,457 | 11,937 | 12,073 | 3,434 | 2,645 |
|
|
4795
|
+
| \`pagination\` | 153,264 | 46,929 | 40,869 | 62,367 | 15,172 | 12,224 |
|
|
4796
|
+
| \`pin-input\` | 50,409 | 17,316 | 15,472 | 10,057 | 3,147 | 2,471 |
|
|
4797
|
+
| \`popover\` | 67,005 | 23,748 | 21,007 | 9,507 | 2,643 | 1,898 |
|
|
4798
|
+
| \`progress\` | 35,232 | 12,380 | 11,065 | 10,100 | 2,587 | 2,154 |
|
|
4799
|
+
| \`qr-code\` | 44,321 | 17,121 | 15,243 | 18,585 | 6,758 | 5,632 |
|
|
4800
|
+
| \`quote\` | 23,074 | 9,078 | 7,996 | 1,751 | 686 | 560 |
|
|
4801
|
+
| \`radio\` | 50,349 | 15,976 | 14,203 | 11,592 | 2,738 | 2,032 |
|
|
4802
|
+
| \`rating\` | 54,190 | 18,518 | 16,518 | 11,944 | 3,636 | 2,838 |
|
|
4803
|
+
| \`sandbox\` | 106,479 | 32,358 | 28,351 | 74,198 | 20,105 | 16,811 |
|
|
4804
|
+
| \`scatter-chart\` | 100,317 | 33,784 | 29,820 | 25,193 | 6,964 | 5,548 |
|
|
4805
|
+
| \`scroll-area\` | 35,437 | 12,026 | 10,680 | 13,489 | 3,565 | 2,740 |
|
|
4806
|
+
| \`select\` | 124,418 | 40,072 | 35,111 | 35,145 | 9,048 | 7,059 |
|
|
4807
|
+
| \`skeleton\` | 26,090 | 9,663 | 8,592 | 4,738 | 1,387 | 1,010 |
|
|
4808
|
+
| \`skip-link\` | 25,441 | 9,851 | 8,717 | 2,779 | 954 | 664 |
|
|
4809
|
+
| \`slider\` | 67,842 | 20,138 | 17,974 | 28,107 | 6,148 | 4,860 |
|
|
4810
|
+
| \`sparkline\` | 53,442 | 18,850 | 16,823 | 11,419 | 3,468 | 2,776 |
|
|
4811
|
+
| \`spatial-bar-chart\` | 110,587 | 37,973 | 33,508 | 28,731 | 8,549 | 6,859 |
|
|
4812
|
+
| \`spatial-heatmap\` | 123,212 | 40,986 | 36,049 | 41,313 | 11,815 | 9,526 |
|
|
4813
|
+
| \`spatial-ribbon-chart\` | 109,556 | 37,551 | 33,184 | 29,518 | 8,942 | 7,272 |
|
|
4814
|
+
| \`spatial-scatter-chart\` | 107,852 | 36,785 | 32,467 | 27,865 | 8,210 | 6,541 |
|
|
4815
|
+
| \`spatial-surface-chart\` | 110,231 | 38,001 | 33,501 | 30,194 | 9,343 | 7,657 |
|
|
4816
|
+
| \`spatial-treemap\` | 111,937 | 38,783 | 34,108 | 30,203 | 9,395 | 7,622 |
|
|
4817
|
+
| \`speed-dial\` | 75,797 | 26,105 | 23,192 | 17,945 | 4,386 | 3,309 |
|
|
4818
|
+
| \`splitter\` | 49,804 | 16,207 | 14,503 | 20,430 | 4,898 | 3,860 |
|
|
4819
|
+
| \`stat\` | 28,117 | 10,371 | 9,278 | 5,156 | 1,447 | 1,109 |
|
|
4820
|
+
| \`steps\` | 67,449 | 21,377 | 19,021 | 27,416 | 6,615 | 5,356 |
|
|
4821
|
+
| \`strands\` | 62,788 | 23,354 | 20,544 | 38,012 | 13,682 | 11,863 |
|
|
4822
|
+
| \`switch\` | 43,562 | 14,636 | 13,019 | 5,998 | 1,757 | 1,227 |
|
|
4823
|
+
| \`table\` | 135,900 | 40,155 | 34,973 | 62,691 | 15,518 | 12,656 |
|
|
4824
|
+
| \`tabs\` | 55,263 | 17,752 | 15,836 | 19,435 | 4,713 | 3,670 |
|
|
4825
|
+
| \`tag\` | 47,247 | 16,757 | 14,968 | 13,012 | 3,667 | 2,707 |
|
|
4826
|
+
| \`text\` | 28,756 | 9,942 | 8,773 | 7,394 | 1,497 | 1,086 |
|
|
4827
|
+
| \`textarea\` | 47,785 | 15,949 | 14,226 | 9,317 | 2,646 | 2,014 |
|
|
4828
|
+
| \`time-input\` | 193,597 | 56,836 | 49,453 | 72,822 | 16,542 | 13,524 |
|
|
4829
|
+
| \`time-picker\` | 111,928 | 33,946 | 29,850 | 46,251 | 11,610 | 9,378 |
|
|
4830
|
+
| \`timeline\` | 38,179 | 13,326 | 11,929 | 10,945 | 2,702 | 2,141 |
|
|
4831
|
+
| \`toast\` | 58,767 | 19,783 | 17,645 | 20,004 | 5,405 | 4,214 |
|
|
4832
|
+
| \`toggle\` | 50,439 | 16,509 | 14,678 | 10,854 | 3,075 | 2,370 |
|
|
4833
|
+
| \`toolbar\` | 33,726 | 12,065 | 10,721 | 7,821 | 2,144 | 1,624 |
|
|
4834
|
+
| \`tooltip\` | 61,420 | 21,834 | 19,377 | 11,218 | 3,097 | 2,373 |
|
|
4835
|
+
| \`tour\` | 93,708 | 30,741 | 27,223 | 29,780 | 7,466 | 5,900 |
|
|
4836
|
+
| \`tree\` | 76,275 | 24,651 | 21,980 | 25,873 | 6,878 | 5,455 |
|
|
4837
|
+
| \`trend\` | 31,231 | 12,049 | 10,723 | 4,980 | 1,533 | 1,253 |
|
|
4838
|
+
| \`video\` | 162,777 | 48,192 | 42,062 | 87,167 | 20,547 | 17,006 |
|
|
4839
|
+
| \`video-playlist\` | 143,639 | 44,279 | 38,873 | 58,705 | 14,169 | 11,692 |
|
|
4840
|
+
| \`virtual-list\` | 65,445 | 22,138 | 19,670 | 25,281 | 7,639 | 6,140 |
|
|
4841
4841
|
|
|
4842
4842
|
## What an install adds to \`node_modules\`
|
|
4843
4843
|
|
|
@@ -4850,11 +4850,11 @@ stripped column shows the bytes we removed.
|
|
|
4850
4850
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
4851
4851
|
|---|---|---|---|---|
|
|
4852
4852
|
| \`@fusion.dev/helix-core\` | 2,613,946 | 571 | 754,871 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
4853
|
-
| \`@fusion.dev/helix-headless\` | 27,
|
|
4853
|
+
| \`@fusion.dev/helix-headless\` | 27,043,254 | 766 | 2,474,774 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
4854
4854
|
| \`@fusion.dev/helix-icons\` | 150,509 | 21 | 48,154 | \`svgo\` |
|
|
4855
4855
|
| \`@fusion.dev/helix-styles\` | 121,672 | 6 | 0 | none |
|
|
4856
4856
|
| \`@fusion.dev/helix-theme\` | 529,299 | 8 | 5,393 | none |
|
|
4857
|
-
| \`@fusion.dev/helix\` | 28,
|
|
4857
|
+
| \`@fusion.dev/helix\` | 28,575,798 | 1,021 | 564,427 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
4858
4858
|
|
|
4859
4859
|
## Not measured yet
|
|
4860
4860
|
|
|
@@ -7090,6 +7090,10 @@ drag turns and tilts the view, and a press that hardly moves is still a press.
|
|
|
7090
7090
|
On a touch screen, a drag across turns the view, and a drag up or down scrolls
|
|
7091
7091
|
the page.
|
|
7092
7092
|
|
|
7093
|
+
On \`Spatial Bar Chart\` and \`Spatial Treemap\`, the reading is outlined. Where
|
|
7094
|
+
bars or blocks in front hide it, the outline is faint and dashed, so a bar the
|
|
7095
|
+
keys reach behind others still shows where it stands.
|
|
7096
|
+
|
|
7093
7097
|
The plot takes focus, and the keys move the reading:
|
|
7094
7098
|
|
|
7095
7099
|
| Key | Spatial Scatter Chart | Spatial Surface Chart |
|
|
@@ -9007,6 +9011,117 @@ component, separate from \`size\`.
|
|
|
9007
9011
|
|
|
9008
9012
|
**A \`width\` that takes a number is a different property with the same name.** A
|
|
9009
9013
|
canvas and a table column take a length, so they are not on this axis.
|
|
9014
|
+
`,
|
|
9015
|
+
'visual-testing': `---
|
|
9016
|
+
description: Picture every page and component in a real browser, compare each picture with a baseline kept in git, and fail the run when one changes.
|
|
9017
|
+
section: Tooling
|
|
9018
|
+
title: Visual testing
|
|
9019
|
+
---
|
|
9020
|
+
|
|
9021
|
+
# Visual testing
|
|
9022
|
+
|
|
9023
|
+
\`helix visual\` takes pictures of your pages and components in a real browser,
|
|
9024
|
+
compares each one to a baseline kept in your git repository, and fails the run
|
|
9025
|
+
when a picture changes. It ships in \`@fusion.dev/helix-cli\`, and it pictures
|
|
9026
|
+
any web project, with Helix or without it.
|
|
9027
|
+
|
|
9028
|
+
It pictures HTML files, any server's pages, Storybook stories, and entries from
|
|
9029
|
+
a JSON catalog, and it has a GitHub Action.
|
|
9030
|
+
|
|
9031
|
+
## Install
|
|
9032
|
+
|
|
9033
|
+
\`\`\`sh
|
|
9034
|
+
npm install --save-dev @fusion.dev/helix-cli playwright
|
|
9035
|
+
npx playwright install --with-deps chromium
|
|
9036
|
+
\`\`\`
|
|
9037
|
+
|
|
9038
|
+
Capture runs in Playwright, which you install beside the command line. The
|
|
9039
|
+
rest of \`helix\` needs no browser, so Playwright is an optional peer, and
|
|
9040
|
+
\`helix visual test\` names it when it is missing.
|
|
9041
|
+
|
|
9042
|
+
## Commands
|
|
9043
|
+
|
|
9044
|
+
\`\`\`sh
|
|
9045
|
+
helix visual test compare every shot, and fail on a difference
|
|
9046
|
+
helix visual test button only the entries named button
|
|
9047
|
+
helix visual update write only the baselines the comparison rejects
|
|
9048
|
+
helix visual test --shard 0 --of 4 the first of four shards, for CI
|
|
9049
|
+
helix visual report open the report of the last run
|
|
9050
|
+
helix visual compare a.png b.png compare two PNG files, with no browser
|
|
9051
|
+
\`\`\`
|
|
9052
|
+
|
|
9053
|
+
- **\`helix visual test\`** pictures every entry and compares each shot with its
|
|
9054
|
+
baseline. It exits 1 when a shot differs, changes size, has no baseline, or
|
|
9055
|
+
cannot be taken, and writes an image of each difference beside its baseline,
|
|
9056
|
+
named \`<stem><suffix>.diff.png\`. Add \`*.diff.png\` to your \`.gitignore\`.
|
|
9057
|
+
- **\`helix visual update\`** pictures every entry and writes a baseline only
|
|
9058
|
+
where the comparison would fail. Review the files it writes before you
|
|
9059
|
+
commit them.
|
|
9060
|
+
- **\`helix visual report\`** opens the report the last run wrote. \`--markdown\`
|
|
9061
|
+
prints its summary as Markdown, for a CI job's summary page. \`--merge\` takes
|
|
9062
|
+
the reports of a run's shards and prints their changes as one set of groups.
|
|
9063
|
+
- **\`helix visual compare\`** compares two PNG files. \`--diff\` writes the image
|
|
9064
|
+
of the difference, and \`--threshold\` sets how far apart two colors may be
|
|
9065
|
+
and still count as the same pixel.
|
|
9066
|
+
|
|
9067
|
+
Each run ends with one line that says what it compared and what it skipped.
|
|
9068
|
+
\`helix --json visual …\` prints one JSON document on stdout and moves the
|
|
9069
|
+
sentences to stderr.
|
|
9070
|
+
|
|
9071
|
+
## The config
|
|
9072
|
+
|
|
9073
|
+
\`visual.config.ts\`, in the directory you run \`helix visual\` from:
|
|
9074
|
+
|
|
9075
|
+
\`\`\`ts
|
|
9076
|
+
import { defineConfig } from '@fusion.dev/helix-cli/visual'
|
|
9077
|
+
|
|
9078
|
+
export default defineConfig({
|
|
9079
|
+
serve: { '/theme.css': 'dist/theme.css' },
|
|
9080
|
+
shots: [
|
|
9081
|
+
{ name: 'wide', scheme: 'light', width: 1280 },
|
|
9082
|
+
{ name: 'phone', scheme: 'light', width: 390 },
|
|
9083
|
+
{ name: 'dark', scheme: 'dark', width: 1280 },
|
|
9084
|
+
],
|
|
9085
|
+
sources: [
|
|
9086
|
+
{
|
|
9087
|
+
glob: '{name}/example.html',
|
|
9088
|
+
kind: 'html',
|
|
9089
|
+
name: 'components',
|
|
9090
|
+
root: 'src',
|
|
9091
|
+
styles: ['/theme.css'],
|
|
9092
|
+
},
|
|
9093
|
+
],
|
|
9094
|
+
})
|
|
9095
|
+
\`\`\`
|
|
9096
|
+
|
|
9097
|
+
- **\`sources\`** is where the entries come from. \`html\` reads every file its
|
|
9098
|
+
\`glob\` matches under \`root\` and pictures each inside a document that links
|
|
9099
|
+
\`styles\`. \`server\` pictures a server's \`routes\` and every route its
|
|
9100
|
+
\`sitemap\` lists. \`storybook\` pictures every story in a running Storybook.
|
|
9101
|
+
\`catalog\` pictures every \`{ id, url }\` in a JSON file. \`pairs\` compares two
|
|
9102
|
+
renders of each entry with each other.
|
|
9103
|
+
- **\`shots\`** is the pictures taken of each entry: a wide width, a phone
|
|
9104
|
+
width, and dark when you give none. Each baseline is written beside its
|
|
9105
|
+
entry as \`<stem>.<name>.png\`.
|
|
9106
|
+
- **\`serve\`** is URL paths served from disk, relative to the config.
|
|
9107
|
+
- **\`settle.readyProperty\`** names a property your elements carry holding a
|
|
9108
|
+
promise that resolves once they have rendered. The run awaits it before each
|
|
9109
|
+
shot.
|
|
9110
|
+
- **\`aria\`** keeps each entry's accessibility snapshot beside its baselines
|
|
9111
|
+
and compares it as text, so a lost label fails even when no pixel moved.
|
|
9112
|
+
- **\`checks\`** adds judgments that need no baseline: \`code\` fails a code block
|
|
9113
|
+
drawn in one color, \`clipped\` fails a box that cuts off its own text, and
|
|
9114
|
+
\`overlap\` fails two boxes of text or controls that draw over each other.
|
|
9115
|
+
|
|
9116
|
+
The command's own reference, with every option, is the README of
|
|
9117
|
+
\`@fusion.dev/helix-cli\`.
|
|
9118
|
+
|
|
9119
|
+
## How Fusion uses it
|
|
9120
|
+
|
|
9121
|
+
Fusion runs \`helix visual\` on every Helix example and on the site's pages on
|
|
9122
|
+
every push, and keeps the baselines in git. A change to how a component draws
|
|
9123
|
+
fails the run with a picture of the difference, and a retake opens a pull
|
|
9124
|
+
request of new baselines for review.
|
|
9010
9125
|
`,
|
|
9011
9126
|
vue: `---
|
|
9012
9127
|
description: The compiler setting Vue needs, and how Vue passes props and binds events.
|