@fusion.dev/helix-docs 0.144.0 → 0.145.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/building-on-the-headless-tier.mdx +4 -2
- package/content/metrics.mdx +224 -224
- package/content/overlays.mdx +2 -0
- package/content/recipes.mdx +24 -0
- package/content/sandbox.mdx +29 -13
- package/dist/sources.generated.js +283 -239
- package/package.json +9 -9
|
@@ -370,13 +370,14 @@ open.
|
|
|
370
370
|
|
|
371
371
|
[//]: # (renders)
|
|
372
372
|
|
|
373
|
-
**
|
|
373
|
+
**31 of the 98 headless families interpolate another family's tag**, across 22 distinct children.
|
|
374
374
|
|
|
375
375
|
| Family | Renders |
|
|
376
376
|
|---|---|
|
|
377
377
|
| \`area-chart\`, \`bar-chart\`, \`copy-button\`, \`donut-chart\`, \`heatmap\`, \`line-chart\`, \`scatter-chart\` | \`tooltip\` |
|
|
378
|
+
| \`breadcrumbs\` | \`breadcrumb\` |
|
|
378
379
|
| \`chat\` | \`chat-message\` |
|
|
379
|
-
| \`checkbox-group\` | \`checkbox\` |
|
|
380
|
+
| \`checkbox-group\`, \`table\` | \`checkbox\` |
|
|
380
381
|
| \`code-block\`, \`object-inspector\` | \`copy-button\` |
|
|
381
382
|
| \`color-input\` | \`color-picker\` |
|
|
382
383
|
| \`color-picker\` | \`button\`, \`button-group\`, \`slider\` |
|
|
@@ -386,6 +387,7 @@ open.
|
|
|
386
387
|
| \`date-input\` | \`date-picker\`, \`tag\` |
|
|
387
388
|
| \`file-input\` | \`tag\` |
|
|
388
389
|
| \`filter-input\` | \`divider\`, \`menu\`, \`menu-item\` |
|
|
390
|
+
| \`menu\` | \`kbd\` |
|
|
389
391
|
| \`notifications\` | \`format-date\` |
|
|
390
392
|
| \`pagination\` | \`option\`, \`select\` |
|
|
391
393
|
| \`select\` | \`listbox\` |
|
|
@@ -3586,7 +3588,7 @@ on its own.
|
|
|
3586
3588
|
|
|
3587
3589
|
| | Raw | Gzip | Brotli |
|
|
3588
3590
|
|---|---|---|---|
|
|
3589
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
3591
|
+
| Lit and \`@fusion.dev/helix-core\` | 187,432 | 58,155 | 50,073 |
|
|
3590
3592
|
|
|
3591
3593
|
## Whole packages
|
|
3592
3594
|
|
|
@@ -3597,12 +3599,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
3597
3599
|
|
|
3598
3600
|
| Package | Raw | Gzip | Brotli | |
|
|
3599
3601
|
|---|---|---|---|---|
|
|
3600
|
-
| \`@fusion.dev/helix-core\` |
|
|
3601
|
-
| \`@fusion.dev/helix-headless\` |
|
|
3602
|
+
| \`@fusion.dev/helix-core\` | 186,986 | 57,779 | 49,809 | The element base class, mixins, decorators, and floating positioning. |
|
|
3603
|
+
| \`@fusion.dev/helix-headless\` | 992,145 | 263,585 | 200,543 | Every headless family. The barrel entry includes all of them. |
|
|
3602
3604
|
| \`@fusion.dev/helix-icons\` | 55,738 | 17,784 | 15,143 | The whole glyph set. |
|
|
3603
3605
|
| \`@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. |
|
|
3604
3606
|
| \`fusion_helix_theme_bg.wasm\` | 490,270 | 155,600 | 125,779 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
3605
|
-
| \`@fusion.dev/helix\` | 1,
|
|
3607
|
+
| \`@fusion.dev/helix\` | 1,568,947 | 373,763 | 267,263 | Every styled family. |
|
|
3606
3608
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
3607
3609
|
|
|
3608
3610
|
## Stylesheets
|
|
@@ -3615,21 +3617,21 @@ shows the whole cost of using the base layer on its own.
|
|
|
3615
3617
|
|
|
3616
3618
|
| File | Raw | Gzip | Brotli | |
|
|
3617
3619
|
|---|---|---|---|---|
|
|
3618
|
-
| \`base.css\` |
|
|
3619
|
-
| \`elements.css\` | 8,
|
|
3620
|
+
| \`base.css\` | 31,572 | 4,533 | 3,941 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
3621
|
+
| \`elements.css\` | 8,988 | 1,507 | 1,331 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
3620
3622
|
| \`helix.css\` | 207 | 148 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
3621
3623
|
| \`primitives.css\` | 7,510 | 1,402 | 1,201 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
3622
3624
|
| \`tokens.css\` | 22,349 | 2,664 | 2,247 | The 193 semantic tokens. Every styled component needs them. |
|
|
3623
3625
|
|
|
3624
3626
|
## What the numbers say
|
|
3625
3627
|
|
|
3626
|
-
**Most of your first component is the shared runtime.** The median styled family is 17,
|
|
3628
|
+
**Most of your first component is the shared runtime.** The median styled family is 17,557 bytes gzipped alone, and it adds 3,233 to a page that already has Helix. The shared runtime is 82 percent of the first component, and the component itself is 18 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.
|
|
3627
3629
|
|
|
3628
|
-
Across the 104 styled components, the smallest is \`code\` at
|
|
3630
|
+
Across the 104 styled components, the smallest is \`code\` at 11,100 bytes gzipped alone, and the largest is \`data-table\` at 60,538. Every family together is 373,763.
|
|
3629
3631
|
|
|
3630
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion 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
|
|
3632
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion 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 263,585 bytes gzipped, whatever else the page imports. That is 15 times the median family above. All 104 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.
|
|
3631
3633
|
|
|
3632
|
-
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 16,
|
|
3634
|
+
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 16,776 bytes gzipped alone.
|
|
3633
3635
|
|
|
3634
3636
|
## Compared with other systems
|
|
3635
3637
|
|
|
@@ -3641,43 +3643,43 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
3641
3643
|
|
|
3642
3644
|
| Component | System | Raw | Gzip | Brotli |
|
|
3643
3645
|
|---|---|---|---|---|
|
|
3644
|
-
| \`button\` | **Helix** |
|
|
3646
|
+
| \`button\` | **Helix** | 59,087 | 16,738 | 14,534 |
|
|
3645
3647
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
3646
3648
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
3647
3649
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
3648
3650
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
3649
|
-
| \`checkbox\` | **Helix** |
|
|
3651
|
+
| \`checkbox\` | **Helix** | 62,691 | 17,487 | 15,241 |
|
|
3650
3652
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
3651
3653
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
3652
3654
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
3653
3655
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
3654
|
-
| \`dialog\` | **Helix** |
|
|
3656
|
+
| \`dialog\` | **Helix** | 57,430 | 16,792 | 14,604 |
|
|
3655
3657
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
3656
3658
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
3657
3659
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
3658
3660
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
3659
|
-
| \`radio\` | **Helix** |
|
|
3661
|
+
| \`radio\` | **Helix** | 66,658 | 18,229 | 15,925 |
|
|
3660
3662
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
3661
3663
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
3662
3664
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
3663
3665
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
3664
|
-
| \`switch\` | **Helix** |
|
|
3666
|
+
| \`switch\` | **Helix** | 60,150 | 17,097 | 14,895 |
|
|
3665
3667
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
3666
3668
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
3667
3669
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
3668
3670
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
3669
|
-
| \`tabs\` | **Helix** |
|
|
3671
|
+
| \`tabs\` | **Helix** | 61,927 | 17,273 | 15,039 |
|
|
3670
3672
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
3671
3673
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
3672
3674
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
3673
3675
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
3674
|
-
| \`tooltip\` | **Helix** |
|
|
3676
|
+
| \`tooltip\` | **Helix** | 76,823 | 24,103 | 21,174 |
|
|
3675
3677
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
3676
3678
|
| | Material Web | | not shipped | |
|
|
3677
3679
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
3678
3680
|
| | Spectrum | 136,599 | 40,552 | 35,286 |
|
|
3679
3681
|
|
|
3680
|
-
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 7,
|
|
3682
|
+
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 7,569 bytes gzipped. 16 of 27 peer measurements are smaller than the Helix row.
|
|
3681
3683
|
|
|
3682
3684
|
Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
3683
3685
|
|
|
@@ -3723,104 +3725,104 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
3723
3725
|
|
|
3724
3726
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
3725
3727
|
|---|---|---|---|---|---|---|
|
|
3726
|
-
| \`accordion\` |
|
|
3727
|
-
| \`announcement\` |
|
|
3728
|
-
| \`app-header\` |
|
|
3729
|
-
| \`area-chart\` |
|
|
3730
|
-
| \`avatar\` |
|
|
3731
|
-
| \`badge\` |
|
|
3732
|
-
| \`bar-chart\` |
|
|
3733
|
-
| \`blockquote\` |
|
|
3734
|
-
| \`breadcrumbs\` |
|
|
3735
|
-
| \`button\` |
|
|
3736
|
-
| \`button-group\` |
|
|
3737
|
-
| \`callout\` |
|
|
3738
|
-
| \`canvas\` |
|
|
3739
|
-
| \`card\` |
|
|
3740
|
-
| \`carousel\` |
|
|
3741
|
-
| \`chat\` |
|
|
3742
|
-
| \`checkbox\` |
|
|
3743
|
-
| \`checkbox-group\` |
|
|
3744
|
-
| \`code\` |
|
|
3745
|
-
| \`code-block\` |
|
|
3746
|
-
| \`color-input\` |
|
|
3747
|
-
| \`color-picker\` |
|
|
3748
|
-
| \`combobox\` |
|
|
3749
|
-
| \`command\` |
|
|
3750
|
-
| \`copy-button\` |
|
|
3751
|
-
| \`data-table\` |
|
|
3752
|
-
| \`date-input\` |
|
|
3753
|
-
| \`date-picker\` |
|
|
3754
|
-
| \`description-list\` |
|
|
3755
|
-
| \`dialog\` |
|
|
3756
|
-
| \`divider\` |
|
|
3757
|
-
| \`donut-chart\` |
|
|
3758
|
-
| \`drawer\` |
|
|
3759
|
-
| \`drilldown\` |
|
|
3760
|
-
| \`empty\` |
|
|
3761
|
-
| \`file-input\` |
|
|
3762
|
-
| \`filter-input\` |
|
|
3763
|
-
| \`format-date\` |
|
|
3764
|
-
| \`graph\` |
|
|
3765
|
-
| \`heatmap\` |
|
|
3766
|
-
| \`icon\` |
|
|
3767
|
-
| \`icon-button\` |
|
|
3768
|
-
| \`image\` |
|
|
3769
|
-
| \`input\` |
|
|
3770
|
-
| \`kbd\` |
|
|
3771
|
-
| \`legend\` |
|
|
3772
|
-
| \`lightbox\` |
|
|
3773
|
-
| \`line-chart\` |
|
|
3774
|
-
| \`list\` |
|
|
3775
|
-
| \`listbox\` |
|
|
3776
|
-
| \`loader\` |
|
|
3777
|
-
| \`map\` |
|
|
3778
|
-
| \`megamenu\` |
|
|
3779
|
-
| \`menu\` |
|
|
3780
|
-
| \`meter\` |
|
|
3781
|
-
| \`navigation\` |
|
|
3782
|
-
| \`notifications\` |
|
|
3783
|
-
| \`number-input\` |
|
|
3784
|
-
| \`object-inspector\` |
|
|
3785
|
-
| \`option\` |
|
|
3786
|
-
| \`outline\` |
|
|
3787
|
-
| \`pagination\` |
|
|
3788
|
-
| \`pin-input\` |
|
|
3789
|
-
| \`popover\` |
|
|
3790
|
-
| \`progress\` |
|
|
3791
|
-
| \`qr-code\` |
|
|
3792
|
-
| \`quote\` |
|
|
3793
|
-
| \`radio\` |
|
|
3794
|
-
| \`rating\` |
|
|
3795
|
-
| \`scatter-chart\` |
|
|
3796
|
-
| \`scroll-area\` |
|
|
3797
|
-
| \`select\` |
|
|
3798
|
-
| \`skeleton\` |
|
|
3799
|
-
| \`skip-link\` |
|
|
3800
|
-
| \`slider\` |
|
|
3801
|
-
| \`sparkline\` |
|
|
3802
|
-
| \`speed-dial\` |
|
|
3803
|
-
| \`splitter\` |
|
|
3804
|
-
| \`stat\` |
|
|
3805
|
-
| \`steps\` |
|
|
3806
|
-
| \`switch\` |
|
|
3807
|
-
| \`table\` |
|
|
3808
|
-
| \`tabs\` |
|
|
3809
|
-
| \`tag\` |
|
|
3810
|
-
| \`textarea\` |
|
|
3811
|
-
| \`time-input\` |
|
|
3812
|
-
| \`time-picker\` |
|
|
3813
|
-
| \`timeline\` |
|
|
3814
|
-
| \`toast\` |
|
|
3815
|
-
| \`toggle\` |
|
|
3816
|
-
| \`toolbar\` |
|
|
3817
|
-
| \`tooltip\` |
|
|
3818
|
-
| \`tour\` |
|
|
3819
|
-
| \`tree\` |
|
|
3820
|
-
| \`trend\` |
|
|
3821
|
-
| \`video\` |
|
|
3822
|
-
| \`video-playlist\` |
|
|
3823
|
-
| \`virtual-list\` |
|
|
3728
|
+
| \`accordion\` | 48,182 | 14,297 | 12,505 | 4,984 | 1,425 | 1,027 |
|
|
3729
|
+
| \`announcement\` | 45,102 | 13,253 | 11,583 | 2,271 | 666 | 366 |
|
|
3730
|
+
| \`app-header\` | 40,435 | 11,750 | 10,286 | 2,247 | 762 | 416 |
|
|
3731
|
+
| \`area-chart\` | 93,044 | 29,698 | 26,035 | 13,495 | 4,160 | 3,202 |
|
|
3732
|
+
| \`avatar\` | 43,148 | 12,508 | 10,964 | 4,317 | 1,353 | 970 |
|
|
3733
|
+
| \`badge\` | 38,802 | 11,320 | 9,899 | 1,149 | 462 | 169 |
|
|
3734
|
+
| \`bar-chart\` | 95,625 | 30,410 | 26,632 | 15,690 | 4,757 | 3,722 |
|
|
3735
|
+
| \`blockquote\` | 38,968 | 11,387 | 9,960 | 912 | 390 | 223 |
|
|
3736
|
+
| \`breadcrumbs\` | 43,561 | 12,979 | 11,433 | 4,544 | 1,603 | 1,263 |
|
|
3737
|
+
| \`button\` | 51,795 | 15,244 | 13,214 | 4,710 | 1,463 | 1,005 |
|
|
3738
|
+
| \`button-group\` | 38,686 | 11,221 | 9,844 | 661 | 314 | 77 |
|
|
3739
|
+
| \`callout\` | 44,036 | 13,108 | 11,419 | 1,329 | 523 | 261 |
|
|
3740
|
+
| \`canvas\` | 102,108 | 29,682 | 25,917 | 52,193 | 15,722 | 13,044 |
|
|
3741
|
+
| \`card\` | 39,797 | 11,559 | 10,137 | 1,604 | 531 | 315 |
|
|
3742
|
+
| \`carousel\` | 54,081 | 15,710 | 13,854 | 14,651 | 4,009 | 3,111 |
|
|
3743
|
+
| \`chat\` | 76,203 | 22,724 | 19,951 | 20,500 | 6,178 | 4,821 |
|
|
3744
|
+
| \`checkbox\` | 56,065 | 16,037 | 13,985 | 2,958 | 969 | 620 |
|
|
3745
|
+
| \`checkbox-group\` | 61,517 | 17,368 | 15,101 | 7,836 | 2,170 | 1,501 |
|
|
3746
|
+
| \`code\` | 37,305 | 10,814 | 9,479 | 451 | 231 | 86 |
|
|
3747
|
+
| \`code-block\` | 100,659 | 31,094 | 27,245 | 23,817 | 6,443 | 5,060 |
|
|
3748
|
+
| \`color-input\` | 129,357 | 38,449 | 33,511 | 37,761 | 9,644 | 7,541 |
|
|
3749
|
+
| \`color-picker\` | 92,148 | 26,799 | 23,386 | 30,390 | 8,172 | 6,406 |
|
|
3750
|
+
| \`combobox\` | 127,674 | 37,291 | 32,418 | 35,587 | 8,865 | 6,853 |
|
|
3751
|
+
| \`command\` | 89,215 | 25,050 | 21,805 | 26,676 | 7,056 | 5,454 |
|
|
3752
|
+
| \`copy-button\` | 94,025 | 29,170 | 25,483 | 17,176 | 4,558 | 3,424 |
|
|
3753
|
+
| \`data-table\` | 177,658 | 50,785 | 43,702 | 83,800 | 21,866 | 17,318 |
|
|
3754
|
+
| \`date-input\` | 138,630 | 40,115 | 34,906 | 34,269 | 8,334 | 6,560 |
|
|
3755
|
+
| \`date-picker\` | 64,808 | 18,557 | 16,414 | 16,799 | 4,441 | 3,383 |
|
|
3756
|
+
| \`description-list\` | 40,008 | 11,505 | 10,096 | 1,984 | 611 | 311 |
|
|
3757
|
+
| \`dialog\` | 51,811 | 15,529 | 13,433 | 4,950 | 1,603 | 1,104 |
|
|
3758
|
+
| \`divider\` | 39,036 | 11,419 | 9,978 | 981 | 410 | 201 |
|
|
3759
|
+
| \`donut-chart\` | 91,264 | 28,858 | 25,333 | 13,145 | 3,968 | 3,167 |
|
|
3760
|
+
| \`drawer\` | 52,546 | 15,697 | 13,644 | 4,473 | 1,493 | 988 |
|
|
3761
|
+
| \`drilldown\` | 55,170 | 16,411 | 14,315 | 6,516 | 1,848 | 1,203 |
|
|
3762
|
+
| \`empty\` | 39,474 | 11,522 | 10,104 | 956 | 395 | 130 |
|
|
3763
|
+
| \`file-input\` | 72,912 | 21,565 | 18,822 | 13,699 | 4,130 | 3,092 |
|
|
3764
|
+
| \`filter-input\` | 133,282 | 38,923 | 33,905 | 39,353 | 9,810 | 7,662 |
|
|
3765
|
+
| \`format-date\` | 44,474 | 13,019 | 11,437 | 4,302 | 1,250 | 889 |
|
|
3766
|
+
| \`graph\` | 72,758 | 21,404 | 18,752 | 14,811 | 4,748 | 3,673 |
|
|
3767
|
+
| \`heatmap\` | 96,216 | 30,222 | 26,355 | 13,605 | 3,906 | 2,947 |
|
|
3768
|
+
| \`icon\` | 96,193 | 29,774 | 25,428 | 55,716 | 19,403 | 15,205 |
|
|
3769
|
+
| \`icon-button\` | 52,191 | 15,281 | 13,237 | 5,109 | 1,504 | 994 |
|
|
3770
|
+
| \`image\` | 42,343 | 12,216 | 10,739 | 3,973 | 1,227 | 884 |
|
|
3771
|
+
| \`input\` | 61,557 | 18,134 | 15,685 | 7,153 | 2,441 | 1,637 |
|
|
3772
|
+
| \`kbd\` | 42,378 | 12,577 | 11,040 | 3,432 | 1,198 | 697 |
|
|
3773
|
+
| \`legend\` | 45,148 | 13,356 | 11,696 | 2,304 | 823 | 460 |
|
|
3774
|
+
| \`lightbox\` | 54,970 | 15,935 | 13,911 | 7,865 | 2,207 | 1,534 |
|
|
3775
|
+
| \`line-chart\` | 93,394 | 29,685 | 26,039 | 13,695 | 4,104 | 3,262 |
|
|
3776
|
+
| \`list\` | 48,692 | 14,425 | 12,682 | 7,199 | 2,144 | 1,437 |
|
|
3777
|
+
| \`listbox\` | 74,967 | 21,544 | 18,804 | 16,319 | 4,553 | 3,453 |
|
|
3778
|
+
| \`loader\` | 40,808 | 11,871 | 10,403 | 1,966 | 726 | 417 |
|
|
3779
|
+
| \`map\` | 91,646 | 25,104 | 21,696 | 38,033 | 9,990 | 7,610 |
|
|
3780
|
+
| \`megamenu\` | 70,632 | 22,586 | 19,786 | 5,578 | 1,670 | 1,044 |
|
|
3781
|
+
| \`menu\` | 95,195 | 29,728 | 25,881 | 17,573 | 4,578 | 3,401 |
|
|
3782
|
+
| \`meter\` | 42,609 | 12,396 | 10,904 | 4,407 | 1,348 | 968 |
|
|
3783
|
+
| \`navigation\` | 48,387 | 14,631 | 12,723 | 2,154 | 838 | 524 |
|
|
3784
|
+
| \`notifications\` | 63,509 | 17,999 | 15,938 | 15,970 | 4,098 | 3,135 |
|
|
3785
|
+
| \`number-input\` | 65,400 | 18,945 | 16,551 | 9,936 | 2,720 | 1,861 |
|
|
3786
|
+
| \`object-inspector\` | 114,399 | 35,425 | 30,886 | 30,054 | 8,440 | 6,624 |
|
|
3787
|
+
| \`option\` | 41,866 | 12,031 | 10,573 | 3,485 | 935 | 565 |
|
|
3788
|
+
| \`outline\` | 46,216 | 13,754 | 12,092 | 6,690 | 2,163 | 1,520 |
|
|
3789
|
+
| \`pagination\` | 124,374 | 36,548 | 31,753 | 39,162 | 9,921 | 7,799 |
|
|
3790
|
+
| \`pin-input\` | 58,914 | 16,966 | 14,779 | 6,212 | 1,954 | 1,182 |
|
|
3791
|
+
| \`popover\` | 74,937 | 23,994 | 20,915 | 3,678 | 1,132 | 733 |
|
|
3792
|
+
| \`progress\` | 40,611 | 11,884 | 10,467 | 2,409 | 832 | 550 |
|
|
3793
|
+
| \`qr-code\` | 52,870 | 16,531 | 14,518 | 14,937 | 5,498 | 4,506 |
|
|
3794
|
+
| \`quote\` | 38,209 | 11,104 | 9,723 | 552 | 309 | 49 |
|
|
3795
|
+
| \`radio\` | 58,366 | 16,737 | 14,580 | 3,728 | 1,137 | 704 |
|
|
3796
|
+
| \`rating\` | 63,329 | 18,548 | 16,230 | 7,746 | 2,399 | 1,688 |
|
|
3797
|
+
| \`scatter-chart\` | 92,677 | 29,362 | 25,735 | 13,985 | 4,238 | 3,245 |
|
|
3798
|
+
| \`scroll-area\` | 46,343 | 13,511 | 11,835 | 7,808 | 2,377 | 1,838 |
|
|
3799
|
+
| \`select\` | 108,755 | 32,689 | 28,578 | 23,622 | 6,113 | 4,689 |
|
|
3800
|
+
| \`skeleton\` | 39,215 | 11,392 | 9,980 | 1,190 | 486 | 233 |
|
|
3801
|
+
| \`skip-link\` | 39,372 | 11,544 | 10,106 | 1,562 | 649 | 313 |
|
|
3802
|
+
| \`slider\` | 60,476 | 17,333 | 15,200 | 7,357 | 2,100 | 1,551 |
|
|
3803
|
+
| \`sparkline\` | 46,221 | 13,916 | 12,229 | 2,387 | 918 | 630 |
|
|
3804
|
+
| \`speed-dial\` | 73,207 | 23,615 | 20,753 | 4,218 | 1,242 | 720 |
|
|
3805
|
+
| \`splitter\` | 53,638 | 15,614 | 13,630 | 11,451 | 3,064 | 2,338 |
|
|
3806
|
+
| \`stat\` | 39,537 | 11,425 | 10,025 | 1,511 | 519 | 372 |
|
|
3807
|
+
| \`steps\` | 59,661 | 17,391 | 15,117 | 10,031 | 2,763 | 1,998 |
|
|
3808
|
+
| \`switch\` | 55,297 | 15,928 | 13,872 | 1,790 | 686 | 399 |
|
|
3809
|
+
| \`table\` | 78,937 | 22,295 | 19,462 | 22,544 | 6,192 | 4,826 |
|
|
3810
|
+
| \`tabs\` | 53,749 | 15,656 | 13,649 | 5,251 | 1,392 | 928 |
|
|
3811
|
+
| \`tag\` | 50,512 | 15,118 | 13,302 | 5,626 | 1,687 | 1,105 |
|
|
3812
|
+
| \`textarea\` | 57,860 | 16,657 | 14,482 | 4,676 | 1,455 | 962 |
|
|
3813
|
+
| \`time-input\` | 151,472 | 43,753 | 37,870 | 42,860 | 10,709 | 8,441 |
|
|
3814
|
+
| \`time-picker\` | 87,863 | 25,091 | 21,864 | 27,226 | 7,296 | 5,595 |
|
|
3815
|
+
| \`timeline\` | 42,119 | 12,148 | 10,666 | 3,185 | 812 | 480 |
|
|
3816
|
+
| \`toast\` | 56,162 | 16,815 | 14,779 | 7,965 | 2,426 | 1,825 |
|
|
3817
|
+
| \`toggle\` | 61,817 | 17,715 | 15,518 | 5,356 | 1,532 | 1,024 |
|
|
3818
|
+
| \`toolbar\` | 46,413 | 13,924 | 12,054 | 4,344 | 1,524 | 998 |
|
|
3819
|
+
| \`tooltip\` | 73,745 | 23,374 | 20,558 | 8,345 | 2,417 | 1,793 |
|
|
3820
|
+
| \`tour\` | 90,468 | 28,012 | 24,507 | 15,948 | 4,388 | 3,357 |
|
|
3821
|
+
| \`tree\` | 60,625 | 17,888 | 15,566 | 11,410 | 3,282 | 2,472 |
|
|
3822
|
+
| \`trend\` | 40,772 | 11,996 | 10,523 | 2,213 | 727 | 444 |
|
|
3823
|
+
| \`video\` | 132,460 | 39,115 | 33,890 | 50,202 | 12,703 | 10,093 |
|
|
3824
|
+
| \`video-playlist\` | 104,620 | 31,866 | 27,789 | 25,604 | 6,488 | 4,970 |
|
|
3825
|
+
| \`virtual-list\` | 56,040 | 16,855 | 14,660 | 7,855 | 2,560 | 1,858 |
|
|
3824
3826
|
|
|
3825
3827
|
### Styled tier
|
|
3826
3828
|
|
|
@@ -3828,110 +3830,110 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
3828
3830
|
|
|
3829
3831
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
3830
3832
|
|---|---|---|---|---|---|---|
|
|
3831
|
-
| \`accordion\` |
|
|
3832
|
-
| \`announcement\` |
|
|
3833
|
-
| \`app-header\` |
|
|
3834
|
-
| \`area-chart\` |
|
|
3835
|
-
| \`aura\` |
|
|
3836
|
-
| \`avatar\` |
|
|
3837
|
-
| \`badge\` |
|
|
3838
|
-
| \`bar-chart\` |
|
|
3839
|
-
| \`blockquote\` |
|
|
3840
|
-
| \`breadcrumbs\` |
|
|
3841
|
-
| \`button\` |
|
|
3842
|
-
| \`button-group\` |
|
|
3843
|
-
| \`callout\` |
|
|
3844
|
-
| \`canvas\` |
|
|
3845
|
-
| \`card\` |
|
|
3846
|
-
| \`carousel\` |
|
|
3847
|
-
| \`chat\` |
|
|
3848
|
-
| \`checkbox\` |
|
|
3849
|
-
| \`checkbox-group\` |
|
|
3850
|
-
| \`code\` |
|
|
3851
|
-
| \`code-block\` |
|
|
3852
|
-
| \`color-input\` |
|
|
3853
|
-
| \`color-picker\` |
|
|
3854
|
-
| \`combobox\` |
|
|
3855
|
-
| \`command\` |
|
|
3856
|
-
| \`copy-button\` |
|
|
3857
|
-
| \`data-table\` |
|
|
3858
|
-
| \`date-input\` |
|
|
3859
|
-
| \`date-picker\` |
|
|
3860
|
-
| \`description-list\` |
|
|
3861
|
-
| \`dialog\` |
|
|
3862
|
-
| \`divider\` |
|
|
3863
|
-
| \`donut-chart\` |
|
|
3864
|
-
| \`drawer\` |
|
|
3865
|
-
| \`drilldown\` |
|
|
3866
|
-
| \`empty\` |
|
|
3867
|
-
| \`file-input\` |
|
|
3868
|
-
| \`filter-input\` |
|
|
3869
|
-
| \`flex\` |
|
|
3870
|
-
| \`format-date\` |
|
|
3871
|
-
| \`graph\` |
|
|
3872
|
-
| \`grid\` |
|
|
3873
|
-
| \`heatmap\` |
|
|
3874
|
-
| \`icon\` |
|
|
3875
|
-
| \`icon-button\` |
|
|
3876
|
-
| \`image\` |
|
|
3877
|
-
| \`input\` |
|
|
3878
|
-
| \`kbd\` |
|
|
3879
|
-
| \`legend\` |
|
|
3880
|
-
| \`lightbox\` |
|
|
3881
|
-
| \`line-chart\` |
|
|
3882
|
-
| \`list\` |
|
|
3883
|
-
| \`listbox\` |
|
|
3884
|
-
| \`loader\` |
|
|
3885
|
-
| \`map\` |
|
|
3886
|
-
| \`megamenu\` |
|
|
3887
|
-
| \`menu\` |
|
|
3888
|
-
| \`meter\` |
|
|
3889
|
-
| \`navigation\` |
|
|
3890
|
-
| \`notifications\` |
|
|
3891
|
-
| \`number-input\` |
|
|
3892
|
-
| \`object-inspector\` |
|
|
3893
|
-
| \`option\` |
|
|
3894
|
-
| \`orb\` |
|
|
3895
|
-
| \`outline\` |
|
|
3896
|
-
| \`pagination\` |
|
|
3897
|
-
| \`pin-input\` |
|
|
3898
|
-
| \`popover\` |
|
|
3899
|
-
| \`progress\` |
|
|
3900
|
-
| \`qr-code\` |
|
|
3901
|
-
| \`quote\` |
|
|
3902
|
-
| \`radio\` |
|
|
3903
|
-
| \`rating\` |
|
|
3904
|
-
| \`sandbox\` |
|
|
3905
|
-
| \`scatter-chart\` |
|
|
3906
|
-
| \`scroll-area\` |
|
|
3907
|
-
| \`select\` |
|
|
3908
|
-
| \`skeleton\` |
|
|
3909
|
-
| \`skip-link\` |
|
|
3910
|
-
| \`slider\` |
|
|
3911
|
-
| \`sparkline\` |
|
|
3912
|
-
| \`speed-dial\` |
|
|
3913
|
-
| \`splitter\` |
|
|
3914
|
-
| \`stat\` |
|
|
3915
|
-
| \`steps\` |
|
|
3916
|
-
| \`switch\` |
|
|
3917
|
-
| \`table\` |
|
|
3918
|
-
| \`tabs\` |
|
|
3919
|
-
| \`tag\` |
|
|
3920
|
-
| \`text\` |
|
|
3921
|
-
| \`textarea\` |
|
|
3922
|
-
| \`time-input\` |
|
|
3923
|
-
| \`time-picker\` |
|
|
3924
|
-
| \`timeline\` |
|
|
3925
|
-
| \`toast\` |
|
|
3926
|
-
| \`toggle\` |
|
|
3927
|
-
| \`toolbar\` |
|
|
3928
|
-
| \`tooltip\` |
|
|
3929
|
-
| \`tour\` |
|
|
3930
|
-
| \`tree\` |
|
|
3931
|
-
| \`trend\` |
|
|
3932
|
-
| \`video\` |
|
|
3933
|
-
| \`video-playlist\` |
|
|
3934
|
-
| \`virtual-list\` |
|
|
3833
|
+
| \`accordion\` | 51,996 | 15,127 | 13,260 | 8,785 | 2,272 | 1,810 |
|
|
3834
|
+
| \`announcement\` | 49,868 | 14,312 | 12,520 | 7,018 | 1,749 | 1,363 |
|
|
3835
|
+
| \`app-header\` | 44,323 | 12,642 | 11,100 | 6,120 | 1,670 | 1,268 |
|
|
3836
|
+
| \`area-chart\` | 100,903 | 31,364 | 27,476 | 21,331 | 5,874 | 4,708 |
|
|
3837
|
+
| \`aura\` | 68,432 | 20,526 | 18,004 | 27,607 | 8,662 | 7,313 |
|
|
3838
|
+
| \`avatar\` | 46,735 | 13,264 | 11,648 | 7,891 | 2,125 | 1,634 |
|
|
3839
|
+
| \`badge\` | 43,113 | 12,196 | 10,665 | 5,445 | 1,352 | 954 |
|
|
3840
|
+
| \`bar-chart\` | 109,074 | 33,063 | 29,011 | 29,117 | 7,451 | 6,038 |
|
|
3841
|
+
| \`blockquote\` | 40,330 | 11,709 | 10,250 | 2,258 | 711 | 535 |
|
|
3842
|
+
| \`breadcrumbs\` | 47,403 | 13,789 | 12,158 | 8,370 | 2,446 | 1,887 |
|
|
3843
|
+
| \`button\` | 59,087 | 16,738 | 14,534 | 11,984 | 2,987 | 2,212 |
|
|
3844
|
+
| \`button-group\` | 40,362 | 11,601 | 10,176 | 2,320 | 708 | 420 |
|
|
3845
|
+
| \`callout\` | 47,973 | 14,026 | 12,271 | 5,248 | 1,449 | 1,088 |
|
|
3846
|
+
| \`canvas\` | 122,450 | 33,433 | 29,098 | 72,525 | 19,548 | 16,234 |
|
|
3847
|
+
| \`card\` | 43,583 | 12,500 | 10,968 | 5,378 | 1,475 | 1,131 |
|
|
3848
|
+
| \`carousel\` | 65,340 | 17,549 | 15,539 | 25,899 | 5,956 | 4,733 |
|
|
3849
|
+
| \`chat\` | 90,360 | 25,192 | 22,136 | 34,648 | 8,738 | 7,009 |
|
|
3850
|
+
| \`checkbox\` | 62,691 | 17,487 | 15,241 | 9,568 | 2,454 | 1,853 |
|
|
3851
|
+
| \`checkbox-group\` | 69,245 | 18,957 | 16,532 | 15,554 | 3,820 | 2,872 |
|
|
3852
|
+
| \`code\` | 38,382 | 11,100 | 9,739 | 1,511 | 528 | 380 |
|
|
3853
|
+
| \`code-block\` | 119,751 | 34,184 | 29,938 | 42,895 | 9,656 | 7,794 |
|
|
3854
|
+
| \`color-input\` | 164,610 | 43,923 | 38,450 | 72,998 | 15,122 | 12,351 |
|
|
3855
|
+
| \`color-picker\` | 121,700 | 31,494 | 27,592 | 59,934 | 13,000 | 10,504 |
|
|
3856
|
+
| \`combobox\` | 144,583 | 40,222 | 35,165 | 52,478 | 11,819 | 9,370 |
|
|
3857
|
+
| \`command\` | 101,208 | 27,287 | 23,861 | 38,658 | 9,383 | 7,402 |
|
|
3858
|
+
| \`copy-button\` | 105,973 | 31,236 | 27,327 | 29,109 | 6,690 | 5,225 |
|
|
3859
|
+
| \`data-table\` | 226,777 | 60,538 | 50,713 | 132,384 | 31,442 | 24,204 |
|
|
3860
|
+
| \`date-input\` | 159,944 | 43,750 | 38,133 | 55,567 | 12,043 | 9,729 |
|
|
3861
|
+
| \`date-picker\` | 72,489 | 19,877 | 17,653 | 24,462 | 5,777 | 4,621 |
|
|
3862
|
+
| \`description-list\` | 42,710 | 12,098 | 10,595 | 4,675 | 1,215 | 820 |
|
|
3863
|
+
| \`dialog\` | 57,430 | 16,792 | 14,604 | 10,551 | 2,894 | 2,234 |
|
|
3864
|
+
| \`divider\` | 41,614 | 12,030 | 10,535 | 3,542 | 1,016 | 646 |
|
|
3865
|
+
| \`donut-chart\` | 101,017 | 30,850 | 27,095 | 22,874 | 6,025 | 4,828 |
|
|
3866
|
+
| \`drawer\` | 57,696 | 16,843 | 14,687 | 9,604 | 2,690 | 2,104 |
|
|
3867
|
+
| \`drilldown\` | 59,937 | 17,454 | 15,254 | 11,270 | 2,901 | 2,242 |
|
|
3868
|
+
| \`empty\` | 41,147 | 12,013 | 10,486 | 2,613 | 878 | 544 |
|
|
3869
|
+
| \`file-input\` | 84,516 | 23,831 | 20,829 | 25,298 | 6,387 | 5,050 |
|
|
3870
|
+
| \`filter-input\` | 163,717 | 43,928 | 38,177 | 69,415 | 14,735 | 11,870 |
|
|
3871
|
+
| \`flex\` | 42,852 | 11,968 | 10,499 | 5,187 | 1,150 | 761 |
|
|
3872
|
+
| \`format-date\` | 45,122 | 13,167 | 11,570 | 4,932 | 1,413 | 1,065 |
|
|
3873
|
+
| \`graph\` | 87,601 | 23,918 | 20,907 | 29,634 | 7,383 | 5,965 |
|
|
3874
|
+
| \`grid\` | 43,813 | 12,422 | 10,941 | 6,154 | 1,599 | 1,210 |
|
|
3875
|
+
| \`heatmap\` | 103,675 | 31,725 | 27,779 | 21,043 | 5,449 | 4,216 |
|
|
3876
|
+
| \`icon\` | 96,900 | 29,952 | 25,546 | 56,405 | 19,562 | 15,270 |
|
|
3877
|
+
| \`icon-button\` | 60,028 | 16,654 | 14,511 | 12,926 | 2,904 | 2,168 |
|
|
3878
|
+
| \`image\` | 44,037 | 12,680 | 11,118 | 5,649 | 1,696 | 1,170 |
|
|
3879
|
+
| \`input\` | 66,300 | 19,221 | 16,664 | 11,884 | 3,566 | 2,670 |
|
|
3880
|
+
| \`kbd\` | 43,792 | 13,034 | 11,457 | 4,829 | 1,641 | 1,170 |
|
|
3881
|
+
| \`legend\` | 50,639 | 14,618 | 12,770 | 7,671 | 2,071 | 1,529 |
|
|
3882
|
+
| \`lightbox\` | 59,970 | 17,029 | 14,909 | 12,850 | 3,298 | 2,514 |
|
|
3883
|
+
| \`line-chart\` | 103,812 | 31,810 | 27,859 | 24,094 | 6,276 | 4,948 |
|
|
3884
|
+
| \`list\` | 53,824 | 15,600 | 13,715 | 12,315 | 3,316 | 2,496 |
|
|
3885
|
+
| \`listbox\` | 79,485 | 22,558 | 19,736 | 20,826 | 5,586 | 4,308 |
|
|
3886
|
+
| \`loader\` | 44,099 | 12,665 | 11,143 | 5,242 | 1,510 | 1,116 |
|
|
3887
|
+
| \`map\` | 128,697 | 30,515 | 26,414 | 75,074 | 15,527 | 12,408 |
|
|
3888
|
+
| \`megamenu\` | 75,513 | 23,618 | 20,738 | 10,443 | 2,763 | 2,106 |
|
|
3889
|
+
| \`menu\` | 105,201 | 31,674 | 27,636 | 27,568 | 6,582 | 5,122 |
|
|
3890
|
+
| \`meter\` | 48,692 | 13,620 | 11,991 | 10,472 | 2,606 | 2,044 |
|
|
3891
|
+
| \`navigation\` | 50,161 | 15,107 | 13,167 | 3,908 | 1,310 | 903 |
|
|
3892
|
+
| \`notifications\` | 77,423 | 20,438 | 18,074 | 29,875 | 6,613 | 5,353 |
|
|
3893
|
+
| \`number-input\` | 70,373 | 20,083 | 17,564 | 14,890 | 3,882 | 2,932 |
|
|
3894
|
+
| \`object-inspector\` | 131,097 | 38,189 | 33,355 | 46,731 | 11,254 | 9,045 |
|
|
3895
|
+
| \`option\` | 45,120 | 12,942 | 11,368 | 6,725 | 1,839 | 1,332 |
|
|
3896
|
+
| \`orb\` | 50,299 | 15,575 | 13,645 | 9,518 | 3,618 | 2,949 |
|
|
3897
|
+
| \`outline\` | 50,275 | 14,576 | 12,869 | 10,732 | 3,007 | 2,289 |
|
|
3898
|
+
| \`pagination\` | 142,357 | 39,619 | 34,462 | 57,128 | 13,039 | 10,384 |
|
|
3899
|
+
| \`pin-input\` | 62,362 | 17,819 | 15,600 | 9,643 | 2,837 | 2,015 |
|
|
3900
|
+
| \`popover\` | 78,559 | 24,787 | 21,610 | 7,282 | 1,931 | 1,484 |
|
|
3901
|
+
| \`progress\` | 46,207 | 13,149 | 11,553 | 7,987 | 2,106 | 1,705 |
|
|
3902
|
+
| \`qr-code\` | 54,534 | 16,958 | 14,843 | 16,585 | 5,944 | 4,839 |
|
|
3903
|
+
| \`quote\` | 38,889 | 11,276 | 9,854 | 1,216 | 474 | 180 |
|
|
3904
|
+
| \`radio\` | 66,658 | 18,229 | 15,925 | 12,010 | 2,678 | 2,035 |
|
|
3905
|
+
| \`rating\` | 67,641 | 19,771 | 17,249 | 12,041 | 3,616 | 2,780 |
|
|
3906
|
+
| \`sandbox\` | 82,648 | 21,799 | 19,107 | 40,160 | 9,244 | 7,536 |
|
|
3907
|
+
| \`scatter-chart\` | 101,544 | 31,250 | 27,338 | 22,828 | 6,171 | 4,935 |
|
|
3908
|
+
| \`scroll-area\` | 51,608 | 14,461 | 12,733 | 13,055 | 3,345 | 2,582 |
|
|
3909
|
+
| \`select\` | 121,609 | 35,082 | 30,625 | 36,462 | 8,552 | 6,785 |
|
|
3910
|
+
| \`skeleton\` | 42,021 | 12,077 | 10,617 | 3,981 | 1,173 | 833 |
|
|
3911
|
+
| \`skip-link\` | 41,073 | 11,975 | 10,479 | 3,246 | 1,073 | 670 |
|
|
3912
|
+
| \`slider\` | 71,556 | 19,327 | 16,987 | 18,420 | 4,156 | 3,322 |
|
|
3913
|
+
| \`sparkline\` | 50,148 | 14,863 | 13,036 | 6,294 | 1,884 | 1,465 |
|
|
3914
|
+
| \`speed-dial\` | 137,814 | 44,096 | 37,356 | 66,895 | 21,748 | 17,084 |
|
|
3915
|
+
| \`splitter\` | 59,710 | 16,605 | 14,560 | 17,505 | 4,128 | 3,276 |
|
|
3916
|
+
| \`stat\` | 43,117 | 12,145 | 10,642 | 5,081 | 1,258 | 899 |
|
|
3917
|
+
| \`steps\` | 74,508 | 20,100 | 17,552 | 24,865 | 5,588 | 4,386 |
|
|
3918
|
+
| \`switch\` | 60,150 | 17,097 | 14,895 | 6,627 | 1,883 | 1,420 |
|
|
3919
|
+
| \`table\` | 92,421 | 24,743 | 21,642 | 36,018 | 8,625 | 6,933 |
|
|
3920
|
+
| \`tabs\` | 61,927 | 17,273 | 15,039 | 13,418 | 3,051 | 2,349 |
|
|
3921
|
+
| \`tag\` | 55,489 | 16,232 | 14,241 | 10,588 | 2,808 | 2,095 |
|
|
3922
|
+
| \`text\` | 45,640 | 12,441 | 10,881 | 7,984 | 1,684 | 1,209 |
|
|
3923
|
+
| \`textarea\` | 61,578 | 17,564 | 15,311 | 8,378 | 2,407 | 1,784 |
|
|
3924
|
+
| \`time-input\` | 175,509 | 47,749 | 41,289 | 66,881 | 14,780 | 11,858 |
|
|
3925
|
+
| \`time-picker\` | 99,593 | 27,271 | 23,801 | 38,947 | 9,529 | 7,600 |
|
|
3926
|
+
| \`timeline\` | 49,538 | 13,580 | 11,922 | 10,592 | 2,261 | 1,721 |
|
|
3927
|
+
| \`toast\` | 64,376 | 18,574 | 16,317 | 16,162 | 4,267 | 3,375 |
|
|
3928
|
+
| \`toggle\` | 67,459 | 18,981 | 16,563 | 10,987 | 2,815 | 2,180 |
|
|
3929
|
+
| \`toolbar\` | 47,892 | 14,293 | 12,367 | 5,804 | 1,885 | 1,288 |
|
|
3930
|
+
| \`tooltip\` | 76,823 | 24,103 | 21,174 | 11,405 | 3,167 | 2,452 |
|
|
3931
|
+
| \`tour\` | 102,145 | 30,117 | 26,431 | 27,607 | 6,556 | 5,203 |
|
|
3932
|
+
| \`tree\` | 68,362 | 19,519 | 17,079 | 19,134 | 4,965 | 3,978 |
|
|
3933
|
+
| \`trend\` | 42,581 | 12,462 | 10,926 | 4,003 | 1,201 | 919 |
|
|
3934
|
+
| \`video\` | 152,815 | 42,768 | 37,128 | 70,541 | 16,254 | 13,257 |
|
|
3935
|
+
| \`video-playlist\` | 119,515 | 34,478 | 30,107 | 40,483 | 9,181 | 7,326 |
|
|
3936
|
+
| \`virtual-list\` | 57,009 | 17,103 | 14,901 | 8,805 | 2,803 | 2,094 |
|
|
3935
3937
|
|
|
3936
3938
|
## What an install adds to \`node_modules\`
|
|
3937
3939
|
|
|
@@ -3943,12 +3945,12 @@ stripped column shows the bytes we removed.
|
|
|
3943
3945
|
|
|
3944
3946
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
3945
3947
|
|---|---|---|---|---|
|
|
3946
|
-
| \`@fusion.dev/helix-core\` | 1,
|
|
3947
|
-
| \`@fusion.dev/helix-headless\` |
|
|
3948
|
+
| \`@fusion.dev/helix-core\` | 1,688,821 | 235 | 431,863 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
3949
|
+
| \`@fusion.dev/helix-headless\` | 16,659,970 | 597 | 1,492,151 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
3948
3950
|
| \`@fusion.dev/helix-icons\` | 149,615 | 21 | 47,843 | \`svgo\` |
|
|
3949
|
-
| \`@fusion.dev/helix-styles\` |
|
|
3951
|
+
| \`@fusion.dev/helix-styles\` | 107,064 | 6 | 0 | none |
|
|
3950
3952
|
| \`@fusion.dev/helix-theme\` | 528,598 | 8 | 5,393 | none |
|
|
3951
|
-
| \`@fusion.dev/helix\` |
|
|
3953
|
+
| \`@fusion.dev/helix\` | 17,298,599 | 901 | 404,611 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
3952
3954
|
|
|
3953
3955
|
## Not measured yet
|
|
3954
3956
|
|
|
@@ -4234,6 +4236,8 @@ The fields with a panel behave the same way:
|
|
|
4234
4236
|
leaves the field, and \`Escape\` returns focus to the field.
|
|
4235
4237
|
- Opening one of those panels from its trigger, or with \`ArrowDown\`, moves
|
|
4236
4238
|
focus into the panel.
|
|
4239
|
+
- Inside one of those panels, \`Tab\` moves between the panel's controls and
|
|
4240
|
+
does not leave the panel.
|
|
4237
4241
|
|
|
4238
4242
|
**A tooltip never takes focus.** A tooltip only describes a control, so it
|
|
4239
4243
|
cannot contain a button. For something with a button in it, use a \`Popover\`.
|
|
@@ -4690,6 +4694,30 @@ loading state, no pressed state, and no \`type="submit"\` handling.
|
|
|
4690
4694
|
navigation, where an underline on every row would distract. If a link opens a
|
|
4691
4695
|
new tab or window, say so in the link text, so it does not surprise your users.
|
|
4692
4696
|
|
|
4697
|
+
## Navigation items
|
|
4698
|
+
|
|
4699
|
+
\`\`\`html
|
|
4700
|
+
<helix-navigation label="Sections">
|
|
4701
|
+
<a
|
|
4702
|
+
aria-current="page"
|
|
4703
|
+
href="/guide"
|
|
4704
|
+
>Guide</a>
|
|
4705
|
+
<a href="/api">API</a>
|
|
4706
|
+
</helix-navigation>
|
|
4707
|
+
<button data-navigation-item>Menu</button>
|
|
4708
|
+
\`\`\`
|
|
4709
|
+
|
|
4710
|
+
A link inside \`helix-navigation\` is styled by the page's stylesheet, because the
|
|
4711
|
+
page's styles reach a slotted link before the component's do.
|
|
4712
|
+
\`data-navigation-item\` gives the same look to an element outside a navigation
|
|
4713
|
+
bar. Two custom properties set the text color:
|
|
4714
|
+
|
|
4715
|
+
- \`--navigation-item-color\` colors every destination except the current one.
|
|
4716
|
+
- \`--navigation-item-current-color\` colors the destination marked
|
|
4717
|
+
\`aria-current="page"\`.
|
|
4718
|
+
|
|
4719
|
+
Set them on \`helix-navigation\` or on any element that contains it.
|
|
4720
|
+
|
|
4693
4721
|
## Surfaces and layout
|
|
4694
4722
|
|
|
4695
4723
|
\`\`\`html
|
|
@@ -5110,6 +5138,15 @@ In a source pane, Tab inserts two spaces. Shift+Tab moves focus back, and
|
|
|
5110
5138
|
Escape then Tab moves it forward. The field's description says this to a
|
|
5111
5139
|
screen reader.
|
|
5112
5140
|
|
|
5141
|
+
Each request has a notification once it is applied: \`helix-edit\` after
|
|
5142
|
+
\`helix-before-edit\`, \`helix-split\` after \`helix-before-split\`, and
|
|
5143
|
+
\`helix-panel-resize\` after \`helix-before-panel-resize\`. Listen for these to
|
|
5144
|
+
store the arrangement or the source.
|
|
5145
|
+
|
|
5146
|
+
Set \`controls\` on \`helix-sandbox-terminal\` for a clear button and a level
|
|
5147
|
+
filter above the log. Without them, \`clear()\` empties the log, and \`level\`
|
|
5148
|
+
hides the quieter lines.
|
|
5149
|
+
|
|
5113
5150
|
## The frame document
|
|
5114
5151
|
|
|
5115
5152
|
\`helix-sandbox-preview\` loads \`src\` into a sandboxed frame. You provide that
|
|
@@ -5132,9 +5169,13 @@ its own frame, and only from an opaque origin, so the frame keeps the sandbox
|
|
|
5132
5169
|
it was given. The types are exported from \`@fusion.dev/helix/sandbox\` as
|
|
5133
5170
|
\`PreviewMessage\` and its members.
|
|
5134
5171
|
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5172
|
+
\`servePreview\` from \`@fusion.dev/helix/sandbox\` is that protocol, written for
|
|
5173
|
+
you. Call it once in the frame document, after your elements are defined. It
|
|
5174
|
+
writes each render into \`#preview-root\`, runs the example's scripts, relays
|
|
5175
|
+
its console, reports its height and its presses, and adds the rules for the
|
|
5176
|
+
four layouts. A frame follows. \`/helix.css\` is the stylesheet from
|
|
5177
|
+
\`@fusion.dev/helix-styles\`, and \`/frame.js\` is a classic script you bundle,
|
|
5178
|
+
for the reason under "How the preview is isolated":
|
|
5138
5179
|
|
|
5139
5180
|
\`\`\`html
|
|
5140
5181
|
<!doctype html>
|
|
@@ -5142,21 +5183,24 @@ registers your elements, for the reason under "How the preview is isolated".
|
|
|
5142
5183
|
href="/helix.css"
|
|
5143
5184
|
rel="stylesheet"
|
|
5144
5185
|
>
|
|
5186
|
+
<div id="preview-root"></div>
|
|
5145
5187
|
<script
|
|
5146
5188
|
defer
|
|
5147
|
-
src="/
|
|
5189
|
+
src="/frame.js"
|
|
5148
5190
|
></script>
|
|
5149
|
-
<style id="example-styles"></style>
|
|
5150
|
-
<script defer>
|
|
5151
|
-
addEventListener('message', ({ data }) => {
|
|
5152
|
-
if (data?.type !== 'helix-preview-render') return
|
|
5153
|
-
document.getElementById('example-styles').textContent = data.styles
|
|
5154
|
-
document.body.innerHTML = data.source
|
|
5155
|
-
})
|
|
5156
|
-
parent.postMessage({ type: 'helix-preview-ready' }, '*')
|
|
5157
|
-
</script>
|
|
5158
5191
|
\`\`\`
|
|
5159
5192
|
|
|
5193
|
+
\`\`\`ts
|
|
5194
|
+
// frame.ts, bundled to /frame.js as a classic script
|
|
5195
|
+
import '@fusion.dev/helix' // registers every family, because an example can use any of them
|
|
5196
|
+
import { servePreview } from '@fusion.dev/helix/sandbox'
|
|
5197
|
+
|
|
5198
|
+
servePreview()
|
|
5199
|
+
\`\`\`
|
|
5200
|
+
|
|
5201
|
+
Pass \`onReplace\` to take down what an example mounted before the next one
|
|
5202
|
+
replaces it, and \`onRender\` to act after each render, such as mounting a map.
|
|
5203
|
+
|
|
5160
5204
|
## Console output from the example
|
|
5161
5205
|
|
|
5162
5206
|
Logs from the example appear in the console panel. Logs from the page around it
|