@fusion.dev/helix-docs 0.144.0 → 0.146.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.
@@ -67,13 +67,20 @@ words are yours to choose. An icon-only control has no other text to name it:
67
67
  ></helix-icon-button>
68
68
  \`\`\`
69
69
 
70
- A button or a form control that renders with no name warns once in the console:
71
- \`<helix-icon-button> has no accessible name\`, followed by the ways to give it
72
- one. The check runs a moment after the control first renders, so a label your
73
- framework writes beside the control in the same pass counts. The warning has the
70
+ A button, a form control, a button group or an open dialog that has no name
71
+ warns once in the console: \`<helix-icon-button> has no accessible name\`,
72
+ followed by the ways to give it one. The check runs a moment after the control
73
+ first renders, so a label your framework writes beside the control in the same
74
+ pass counts. The warning has the
74
75
  kind \`missing-name\`, so \`@fusion.dev/helix-diagnostics\` counts it with the
75
76
  other runtime events.
76
77
 
78
+ The warning prints in development builds only. Vite and webpack ask for the
79
+ \`development\` export condition while you develop, and so do
80
+ \`bun --conditions development\` and \`node --conditions=development\`. A production
81
+ build resolves the check to a function that does nothing and carries none of
82
+ its code.
83
+
77
84
  ### \`label\` and \`aria-label\`
78
85
 
79
86
  \`label\` renders visible text and names the control through that text.
@@ -370,13 +377,14 @@ open.
370
377
 
371
378
  [//]: # (renders)
372
379
 
373
- **28 of the 98 headless families interpolate another family's tag**, across 20 distinct children.
380
+ **31 of the 98 headless families interpolate another family's tag**, across 22 distinct children.
374
381
 
375
382
  | Family | Renders |
376
383
  |---|---|
377
384
  | \`area-chart\`, \`bar-chart\`, \`copy-button\`, \`donut-chart\`, \`heatmap\`, \`line-chart\`, \`scatter-chart\` | \`tooltip\` |
385
+ | \`breadcrumbs\` | \`breadcrumb\` |
378
386
  | \`chat\` | \`chat-message\` |
379
- | \`checkbox-group\` | \`checkbox\` |
387
+ | \`checkbox-group\`, \`table\` | \`checkbox\` |
380
388
  | \`code-block\`, \`object-inspector\` | \`copy-button\` |
381
389
  | \`color-input\` | \`color-picker\` |
382
390
  | \`color-picker\` | \`button\`, \`button-group\`, \`slider\` |
@@ -386,6 +394,7 @@ open.
386
394
  | \`date-input\` | \`date-picker\`, \`tag\` |
387
395
  | \`file-input\` | \`tag\` |
388
396
  | \`filter-input\` | \`divider\`, \`menu\`, \`menu-item\` |
397
+ | \`menu\` | \`kbd\` |
389
398
  | \`notifications\` | \`format-date\` |
390
399
  | \`pagination\` | \`option\`, \`select\` |
391
400
  | \`select\` | \`listbox\` |
@@ -2797,9 +2806,9 @@ Firefox does not provide. There, and where you set no \`locale\`, the week start
2797
2806
  on Sunday. Set \`first-day-of-week\` to choose the day yourself.
2798
2807
 
2799
2808
  \`locale\` formats dates, times, and numbers. It does not translate the words a
2800
- control speaks, such as "Previous month" on a calendar or "Hour" on a time
2801
- wheel. Set those through their properties, such as \`previous-label\` and
2802
- \`next-label\` on Date Picker and Date Input, and \`hour-label\` on Time Picker.
2809
+ control speaks, such as "Previous month" on a calendar. Set those through their
2810
+ properties, such as \`previous-label\` and \`next-label\` on Date Picker and Date
2811
+ Input. A time wheel's name, such as "Hour", comes from the locale.
2803
2812
 
2804
2813
  Formatting uses \`Intl\`, so Helix bundles no locale data, and you have nothing to
2805
2814
  keep up to date.
@@ -3586,7 +3595,7 @@ on its own.
3586
3595
 
3587
3596
  | | Raw | Gzip | Brotli |
3588
3597
  |---|---|---|---|
3589
- | Lit and \`@fusion.dev/helix-core\` | 182,087 | 57,026 | 49,129 |
3598
+ | Lit and \`@fusion.dev/helix-core\` | 193,574 | 59,922 | 51,738 |
3590
3599
 
3591
3600
  ## Whole packages
3592
3601
 
@@ -3597,12 +3606,12 @@ either barrel. The per-component tables show what your page pays.
3597
3606
 
3598
3607
  | Package | Raw | Gzip | Brotli | |
3599
3608
  |---|---|---|---|---|
3600
- | \`@fusion.dev/helix-core\` | 181,641 | 56,641 | 48,897 | The element base class, mixins, decorators, and floating positioning. |
3601
- | \`@fusion.dev/helix-headless\` | 929,891 | 247,016 | 188,830 | Every headless family. The barrel entry includes all of them. |
3609
+ | \`@fusion.dev/helix-core\` | 193,127 | 59,646 | 51,633 | The element base class, mixins, decorators, and floating positioning. |
3610
+ | \`@fusion.dev/helix-headless\` | 1,049,675 | 280,304 | 212,522 | Every headless family. The barrel entry includes all of them. |
3602
3611
  | \`@fusion.dev/helix-icons\` | 55,738 | 17,784 | 15,143 | The whole glyph set. |
3603
3612
  | \`@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
3613
  | \`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,471,844 | 349,349 | 250,882 | Every styled family. |
3614
+ | \`@fusion.dev/helix\` | 1,652,094 | 394,810 | 282,318 | Every styled family. |
3606
3615
  | \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
3607
3616
 
3608
3617
  ## Stylesheets
@@ -3615,21 +3624,21 @@ shows the whole cost of using the base layer on its own.
3615
3624
 
3616
3625
  | File | Raw | Gzip | Brotli | |
3617
3626
  |---|---|---|---|---|
3618
- | \`base.css\` | 30,786 | 4,465 | 3,884 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
3619
- | \`elements.css\` | 8,862 | 1,492 | 1,318 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
3627
+ | \`base.css\` | 31,946 | 4,590 | 3,986 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
3628
+ | \`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
3629
  | \`helix.css\` | 207 | 148 | 118 | The other four stylesheets in one import, in the order they must load. |
3621
3630
  | \`primitives.css\` | 7,510 | 1,402 | 1,201 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
3622
3631
  | \`tokens.css\` | 22,349 | 2,664 | 2,247 | The 193 semantic tokens. Every styled component needs them. |
3623
3632
 
3624
3633
  ## What the numbers say
3625
3634
 
3626
- **Most of your first component is the shared runtime.** The median styled family is 17,001 bytes gzipped alone, and it adds 2,926 to a page that already has Helix. The shared runtime is 83 percent of the first component, and the component itself is 17 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.
3635
+ **Most of your first component is the shared runtime.** The median styled family is 16,593 bytes gzipped alone, and it adds 3,472 to a page that already has Helix. The shared runtime is 79 percent of the first component, and the component itself is 21 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
3636
 
3628
- Across the 104 styled components, the smallest is \`code\` at 10,676 bytes gzipped alone, and the largest is \`data-table\` at 56,196. Every family together is 349,349.
3637
+ Across the 104 styled components, the smallest is \`code\` at 9,709 bytes gzipped alone, and the largest is \`data-table\` at 59,799. Every family together is 394,810.
3629
3638
 
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 247,016 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.
3639
+ 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 280,304 bytes gzipped, whatever else the page imports. That is 17 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
3640
 
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,148 bytes gzipped alone.
3641
+ 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 15,543 bytes gzipped alone.
3633
3642
 
3634
3643
  ## Compared with other systems
3635
3644
 
@@ -3641,43 +3650,43 @@ The table has no whole-library row. That row would compare how many components e
3641
3650
 
3642
3651
  | Component | System | Raw | Gzip | Brotli |
3643
3652
  |---|---|---|---|---|
3644
- | \`button\` | **Helix** | 56,398 | 16,247 | 14,165 |
3653
+ | \`button\` | **Helix** | 45,987 | 15,139 | 13,449 |
3645
3654
  | | Carbon | 133,058 | 20,959 | 17,685 |
3646
3655
  | | Material Web | 47,060 | 14,173 | 12,591 |
3647
3656
  | | Shoelace | 62,628 | 18,287 | 15,805 |
3648
3657
  | | Spectrum | 98,792 | 22,045 | 18,674 |
3649
- | \`checkbox\` | **Helix** | 60,002 | 16,960 | 14,858 |
3658
+ | \`checkbox\` | **Helix** | 49,373 | 15,701 | 13,969 |
3650
3659
  | | Carbon | 60,255 | 15,609 | 13,550 |
3651
3660
  | | Material Web | 43,785 | 13,556 | 12,015 |
3652
3661
  | | Shoelace | 47,614 | 15,177 | 13,301 |
3653
3662
  | | Spectrum | 62,492 | 15,437 | 13,481 |
3654
- | \`dialog\` | **Helix** | 54,741 | 16,320 | 14,276 |
3663
+ | \`dialog\` | **Helix** | 46,501 | 15,697 | 13,964 |
3655
3664
  | | Carbon | 510,866 | 67,390 | 39,189 |
3656
3665
  | | Material Web | 34,238 | 11,510 | 10,229 |
3657
3666
  | | Shoelace | 52,754 | 17,698 | 15,554 |
3658
3667
  | | Spectrum | 155,708 | 31,899 | 26,262 |
3659
- | \`radio\` | **Helix** | 64,144 | 17,850 | 15,648 |
3668
+ | \`radio\` | **Helix** | 52,721 | 16,186 | 14,360 |
3660
3669
  | | Carbon | 63,055 | 16,887 | 14,605 |
3661
3670
  | | Material Web | 41,044 | 13,234 | 11,757 |
3662
3671
  | | Shoelace | 34,865 | 12,027 | 10,559 |
3663
3672
  | | Spectrum | 38,685 | 10,660 | 9,370 |
3664
- | \`switch\` | **Helix** | 57,461 | 16,577 | 14,545 |
3673
+ | \`switch\` | **Helix** | 46,090 | 15,170 | 13,492 |
3665
3674
  | | Carbon | 69,423 | 17,127 | 14,764 |
3666
3675
  | | Material Web | 50,155 | 14,577 | 12,935 |
3667
3676
  | | Shoelace | 37,833 | 11,814 | 10,568 |
3668
3677
  | | Spectrum | 62,322 | 15,059 | 13,321 |
3669
- | \`tabs\` | **Helix** | 55,917 | 16,074 | 14,020 |
3678
+ | \`tabs\` | **Helix** | 49,184 | 15,669 | 13,856 |
3670
3679
  | | Carbon | 578,766 | 73,537 | 43,235 |
3671
3680
  | | Material Web | 38,883 | 12,820 | 11,368 |
3672
3681
  | | Shoelace | 54,573 | 17,140 | 15,068 |
3673
3682
  | | Spectrum | 64,875 | 18,298 | 16,283 |
3674
- | \`tooltip\` | **Helix** | 74,148 | 23,682 | 20,846 |
3683
+ | \`tooltip\` | **Helix** | 64,554 | 22,770 | 20,202 |
3675
3684
  | | Carbon | 189,382 | 30,354 | 22,273 |
3676
3685
  | | Material Web | | not shipped | |
3677
3686
  | | Shoelace | 57,412 | 20,220 | 17,933 |
3678
3687
  | | Spectrum | 136,599 | 40,552 | 35,286 |
3679
3688
 
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,190 bytes gzipped. 15 of 27 peer measurements are smaller than the Helix row.
3689
+ At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 5,526 bytes gzipped. 14 of 27 peer measurements are smaller than the Helix row.
3681
3690
 
3682
3691
  Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
3683
3692
 
@@ -3723,104 +3732,104 @@ Structure, accessibility, state, and form participation. It has no presentation
3723
3732
 
3724
3733
  | Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
3725
3734
  |---|---|---|---|---|---|---|
3726
- | \`accordion\` | 44,701 | 13,626 | 11,933 | 4,240 | 1,216 | 879 |
3727
- | \`announcement\` | 40,721 | 12,427 | 10,877 | 1,422 | 470 | 220 |
3728
- | \`app-header\` | 37,314 | 11,161 | 9,828 | 1,800 | 610 | 304 |
3729
- | \`area-chart\` | 90,369 | 29,258 | 25,668 | 13,495 | 4,140 | 3,231 |
3730
- | \`avatar\` | 40,474 | 12,079 | 10,630 | 4,317 | 1,319 | 916 |
3731
- | \`badge\` | 36,128 | 10,891 | 9,562 | 1,149 | 436 | 150 |
3732
- | \`bar-chart\` | 92,950 | 29,977 | 26,287 | 15,690 | 4,734 | 3,684 |
3733
- | \`blockquote\` | 36,294 | 10,964 | 9,606 | 912 | 368 | 166 |
3734
- | \`breadcrumbs\` | 38,511 | 11,586 | 10,180 | 2,248 | 662 | 420 |
3735
- | \`button\` | 49,106 | 14,753 | 12,864 | 4,710 | 1,442 | 966 |
3736
- | \`button-group\` | 36,012 | 10,792 | 9,472 | 661 | 278 | 17 |
3737
- | \`callout\` | 41,362 | 12,662 | 11,077 | 1,329 | 509 | 341 |
3738
- | \`canvas\` | 97,945 | 28,734 | 25,129 | 50,699 | 15,269 | 12,665 |
3739
- | \`card\` | 37,123 | 11,127 | 9,754 | 1,604 | 507 | 199 |
3740
- | \`carousel\` | 49,032 | 14,602 | 12,873 | 12,343 | 3,380 | 2,522 |
3741
- | \`chat\` | 63,883 | 19,478 | 17,158 | 18,377 | 5,465 | 4,344 |
3742
- | \`checkbox\` | 53,376 | 15,507 | 13,630 | 2,958 | 958 | 510 |
3743
- | \`checkbox-group\` | 58,828 | 16,890 | 14,812 | 7,836 | 2,158 | 1,422 |
3744
- | \`code\` | 34,631 | 10,379 | 9,095 | 451 | 217 | 5 |
3745
- | \`code-block\` | 97,970 | 30,627 | 26,843 | 23,818 | 6,378 | 5,060 |
3746
- | \`color-input\` | 126,667 | 38,020 | 33,193 | 37,761 | 9,575 | 7,587 |
3747
- | \`color-picker\` | 89,459 | 26,331 | 23,074 | 30,390 | 8,129 | 6,339 |
3748
- | \`combobox\` | 124,918 | 36,824 | 32,129 | 35,736 | 8,855 | 6,997 |
3749
- | \`command\` | 86,526 | 24,600 | 21,456 | 26,825 | 7,073 | 5,455 |
3750
- | \`copy-button\` | 91,383 | 28,739 | 25,185 | 17,224 | 4,559 | 3,426 |
3751
- | \`data-table\` | 166,647 | 48,062 | 41,467 | 76,823 | 19,901 | 15,778 |
3752
- | \`date-input\` | 135,874 | 39,621 | 34,569 | 34,269 | 8,259 | 6,505 |
3753
- | \`date-picker\` | 62,134 | 18,124 | 16,067 | 16,799 | 4,429 | 3,354 |
3754
- | \`description-list\` | 36,115 | 10,751 | 9,429 | 1,132 | 329 | 52 |
3755
- | \`dialog\` | 49,122 | 15,045 | 13,119 | 4,950 | 1,588 | 1,070 |
3756
- | \`divider\` | 36,362 | 10,991 | 9,663 | 981 | 387 | 140 |
3757
- | \`donut-chart\` | 88,589 | 28,406 | 24,960 | 13,145 | 3,946 | 3,122 |
3758
- | \`drawer\` | 49,857 | 15,264 | 13,305 | 4,473 | 1,494 | 972 |
3759
- | \`drilldown\` | 52,271 | 15,920 | 13,912 | 6,372 | 1,788 | 1,225 |
3760
- | \`empty\` | 36,800 | 11,098 | 9,726 | 956 | 375 | 156 |
3761
- | \`file-input\` | 70,157 | 21,089 | 18,462 | 13,699 | 4,113 | 3,073 |
3762
- | \`filter-input\` | 122,233 | 36,317 | 31,769 | 32,194 | 8,036 | 6,293 |
3763
- | \`format-date\` | 41,800 | 12,579 | 11,116 | 4,302 | 1,231 | 822 |
3764
- | \`graph\` | 68,878 | 20,642 | 18,131 | 14,811 | 4,762 | 3,746 |
3765
- | \`heatmap\` | 93,526 | 29,776 | 26,031 | 13,605 | 3,880 | 2,960 |
3766
- | \`icon\` | 93,519 | 29,356 | 25,023 | 55,716 | 19,410 | 15,184 |
3767
- | \`icon-button\` | 49,502 | 14,787 | 12,881 | 5,109 | 1,488 | 931 |
3768
- | \`image\` | 39,391 | 11,664 | 10,247 | 3,695 | 1,088 | 699 |
3769
- | \`input\` | 58,901 | 17,599 | 15,313 | 7,196 | 2,442 | 1,597 |
3770
- | \`kbd\` | 39,704 | 12,134 | 10,658 | 3,432 | 1,172 | 699 |
3771
- | \`legend\` | 42,474 | 12,907 | 11,291 | 2,304 | 797 | 399 |
3772
- | \`lightbox\` | 52,296 | 15,432 | 13,574 | 7,865 | 2,197 | 1,462 |
3773
- | \`line-chart\` | 90,719 | 29,240 | 25,692 | 13,695 | 4,083 | 3,203 |
3774
- | \`list\` | 37,108 | 10,989 | 9,641 | 1,766 | 503 | 212 |
3775
- | \`listbox\` | 72,278 | 21,086 | 18,482 | 16,468 | 4,603 | 3,470 |
3776
- | \`loader\` | 38,134 | 11,443 | 10,061 | 1,966 | 701 | 428 |
3777
- | \`map\` | 88,866 | 24,638 | 21,318 | 37,993 | 9,921 | 7,589 |
3778
- | \`megamenu\` | 67,545 | 21,979 | 19,301 | 5,166 | 1,504 | 950 |
3779
- | \`menu\` | 84,482 | 27,139 | 23,697 | 10,758 | 2,901 | 2,034 |
3780
- | \`meter\` | 39,935 | 11,963 | 10,523 | 4,407 | 1,321 | 936 |
3781
- | \`navigation\` | 42,076 | 12,846 | 11,125 | 1,587 | 531 | 233 |
3782
- | \`notifications\` | 60,428 | 17,470 | 15,447 | 15,559 | 4,000 | 3,056 |
3783
- | \`number-input\` | 62,711 | 18,414 | 16,200 | 9,936 | 2,710 | 1,914 |
3784
- | \`object-inspector\` | 107,211 | 33,688 | 29,397 | 26,855 | 7,376 | 5,779 |
3785
- | \`option\` | 39,192 | 11,592 | 10,200 | 3,485 | 905 | 564 |
3786
- | \`outline\` | 41,446 | 12,643 | 11,102 | 4,703 | 1,485 | 1,025 |
3787
- | \`pagination\` | 121,340 | 36,006 | 31,403 | 38,967 | 9,843 | 7,657 |
3788
- | \`pin-input\` | 56,225 | 16,427 | 14,415 | 6,212 | 1,940 | 1,209 |
3789
- | \`popover\` | 72,247 | 23,560 | 20,556 | 3,678 | 1,122 | 667 |
3790
- | \`progress\` | 37,937 | 11,449 | 10,052 | 2,409 | 803 | 484 |
3791
- | \`qr-code\` | 50,196 | 16,089 | 14,139 | 14,937 | 5,517 | 4,541 |
3792
- | \`quote\` | 35,535 | 10,672 | 9,341 | 552 | 293 | 133 |
3793
- | \`radio\` | 55,852 | 16,358 | 14,260 | 3,954 | 1,196 | 751 |
3794
- | \`rating\` | 60,609 | 18,068 | 15,805 | 7,789 | 2,398 | 1,708 |
3795
- | \`scatter-chart\` | 90,002 | 28,914 | 25,377 | 13,985 | 4,210 | 3,261 |
3796
- | \`scroll-area\` | 37,778 | 11,354 | 9,950 | 2,743 | 897 | 591 |
3797
- | \`select\` | 106,032 | 32,233 | 28,217 | 23,738 | 6,133 | 4,792 |
3798
- | \`skeleton\` | 36,541 | 10,963 | 9,654 | 1,190 | 453 | 126 |
3799
- | \`skip-link\` | 36,698 | 11,106 | 9,705 | 1,562 | 631 | 311 |
3800
- | \`slider\` | 57,787 | 16,802 | 14,802 | 7,357 | 2,094 | 1,438 |
3801
- | \`sparkline\` | 43,547 | 13,471 | 11,798 | 2,387 | 913 | 631 |
3802
- | \`speed-dial\` | 70,466 | 23,179 | 20,368 | 4,218 | 1,216 | 728 |
3803
- | \`splitter\` | 50,411 | 14,864 | 13,103 | 10,977 | 2,906 | 2,217 |
3804
- | \`stat\` | 36,863 | 10,988 | 9,645 | 1,511 | 493 | 222 |
3805
- | \`steps\` | 55,412 | 16,440 | 14,377 | 8,459 | 2,323 | 1,635 |
3806
- | \`switch\` | 52,608 | 15,403 | 13,513 | 1,790 | 676 | 308 |
3807
- | \`table\` | 57,260 | 17,241 | 15,170 | 14,844 | 4,328 | 3,413 |
3808
- | \`tabs\` | 49,298 | 14,722 | 12,809 | 4,025 | 1,047 | 747 |
3809
- | \`tag\` | 47,772 | 14,598 | 12,861 | 5,626 | 1,674 | 1,136 |
3810
- | \`textarea\` | 55,171 | 16,121 | 14,138 | 4,676 | 1,440 | 983 |
3811
- | \`time-input\` | 148,716 | 43,305 | 37,532 | 43,009 | 10,737 | 8,330 |
3812
- | \`time-picker\` | 85,174 | 24,617 | 21,538 | 27,375 | 7,292 | 5,587 |
3813
- | \`timeline\` | 38,507 | 11,551 | 10,144 | 2,239 | 643 | 438 |
3814
- | \`toast\` | 53,129 | 16,174 | 14,275 | 8,468 | 2,532 | 1,874 |
3815
- | \`toggle\` | 59,077 | 17,265 | 15,114 | 5,356 | 1,515 | 1,001 |
3816
- | \`toolbar\` | 43,517 | 13,332 | 11,648 | 4,134 | 1,427 | 851 |
3817
- | \`tooltip\` | 71,070 | 22,939 | 20,172 | 8,345 | 2,401 | 1,737 |
3818
- | \`tour\` | 87,778 | 27,527 | 24,134 | 15,948 | 4,335 | 3,270 |
3819
- | \`tree\` | 54,810 | 16,530 | 14,410 | 8,344 | 2,414 | 1,763 |
3820
- | \`trend\` | 38,098 | 11,560 | 10,156 | 2,213 | 709 | 384 |
3821
- | \`video\` | 119,411 | 36,126 | 31,356 | 41,045 | 10,622 | 8,364 |
3822
- | \`video-playlist\` | 92,641 | 28,852 | 25,227 | 17,519 | 4,309 | 3,217 |
3823
- | \`virtual-list\` | 47,934 | 14,791 | 12,860 | 3,995 | 1,384 | 997 |
3735
+ | \`accordion\` | 35,423 | 12,826 | 11,340 | 5,240 | 1,537 | 1,134 |
3736
+ | \`announcement\` | 32,949 | 12,153 | 10,766 | 2,334 | 728 | 465 |
3737
+ | \`app-header\` | 27,775 | 10,422 | 9,235 | 2,353 | 797 | 441 |
3738
+ | \`area-chart\` | 82,110 | 28,769 | 25,449 | 13,609 | 4,251 | 3,223 |
3739
+ | \`avatar\` | 30,163 | 11,082 | 9,856 | 4,150 | 1,236 | 837 |
3740
+ | \`badge\` | 25,996 | 9,988 | 8,834 | 1,166 | 446 | 276 |
3741
+ | \`bar-chart\` | 85,712 | 29,822 | 26,319 | 16,829 | 5,157 | 4,124 |
3742
+ | \`blockquote\` | 26,054 | 9,998 | 8,859 | 912 | 383 | 260 |
3743
+ | \`breadcrumbs\` | 31,881 | 12,006 | 10,663 | 5,723 | 1,992 | 1,429 |
3744
+ | \`button\` | 38,605 | 13,625 | 12,122 | 5,049 | 1,574 | 1,104 |
3745
+ | \`button-group\` | 25,941 | 9,897 | 8,775 | 813 | 370 | 137 |
3746
+ | \`callout\` | 31,820 | 12,008 | 10,597 | 1,329 | 532 | 297 |
3747
+ | \`canvas\` | 91,470 | 28,585 | 25,063 | 52,251 | 15,727 | 13,050 |
3748
+ | \`card\` | 27,130 | 10,217 | 9,043 | 1,851 | 580 | 365 |
3749
+ | \`carousel\` | 42,208 | 14,656 | 13,052 | 15,389 | 4,276 | 3,351 |
3750
+ | \`chat\` | 65,158 | 21,678 | 19,216 | 20,600 | 6,203 | 4,819 |
3751
+ | \`checkbox\` | 42,324 | 14,165 | 12,583 | 3,277 | 1,054 | 615 |
3752
+ | \`checkbox-group\` | 48,181 | 15,555 | 13,831 | 8,402 | 2,358 | 1,613 |
3753
+ | \`code\` | 24,390 | 9,404 | 8,342 | 451 | 227 | 98 |
3754
+ | \`code-block\` | 89,847 | 30,065 | 26,630 | 25,864 | 7,093 | 5,531 |
3755
+ | \`color-input\` | 120,136 | 37,964 | 33,341 | 40,217 | 10,367 | 8,219 |
3756
+ | \`color-picker\` | 82,088 | 26,085 | 23,018 | 32,695 | 8,872 | 6,965 |
3757
+ | \`combobox\` | 120,047 | 36,804 | 32,432 | 39,475 | 9,780 | 7,691 |
3758
+ | \`command\` | 80,751 | 24,427 | 21,471 | 29,428 | 7,708 | 6,017 |
3759
+ | \`copy-button\` | 81,885 | 27,778 | 24,618 | 17,897 | 4,822 | 3,714 |
3760
+ | \`data-table\` | 169,429 | 49,981 | 43,147 | 84,129 | 21,748 | 17,364 |
3761
+ | \`date-input\` | 127,792 | 39,085 | 34,317 | 35,370 | 8,656 | 6,894 |
3762
+ | \`date-picker\` | 52,220 | 17,360 | 15,484 | 16,851 | 4,534 | 3,492 |
3763
+ | \`description-list\` | 27,096 | 10,107 | 8,945 | 1,984 | 627 | 316 |
3764
+ | \`dialog\` | 40,879 | 14,414 | 12,811 | 5,808 | 1,850 | 1,288 |
3765
+ | \`divider\` | 26,188 | 10,050 | 8,888 | 1,046 | 433 | 203 |
3766
+ | \`donut-chart\` | 81,537 | 28,278 | 25,066 | 14,342 | 4,365 | 3,488 |
3767
+ | \`drawer\` | 41,311 | 14,769 | 13,082 | 5,608 | 1,851 | 1,362 |
3768
+ | \`drilldown\` | 41,653 | 14,666 | 13,039 | 6,974 | 1,996 | 1,331 |
3769
+ | \`empty\` | 26,647 | 10,138 | 8,991 | 1,042 | 419 | 236 |
3770
+ | \`file-input\` | 62,374 | 20,646 | 18,328 | 16,194 | 4,891 | 3,694 |
3771
+ | \`filter-input\` | 122,835 | 37,749 | 33,184 | 41,280 | 10,308 | 8,123 |
3772
+ | \`format-date\` | 31,709 | 11,709 | 10,404 | 4,029 | 1,242 | 828 |
3773
+ | \`graph\` | 62,029 | 20,340 | 18,079 | 14,808 | 4,776 | 3,721 |
3774
+ | \`heatmap\` | 84,761 | 29,046 | 25,700 | 14,176 | 4,148 | 3,195 |
3775
+ | \`icon\` | 83,642 | 28,532 | 24,430 | 56,072 | 19,519 | 15,448 |
3776
+ | \`icon-button\` | 39,001 | 13,660 | 12,144 | 5,448 | 1,621 | 1,083 |
3777
+ | \`image\` | 29,459 | 10,836 | 9,612 | 4,000 | 1,274 | 910 |
3778
+ | \`input\` | 48,568 | 16,527 | 14,518 | 7,411 | 2,566 | 1,686 |
3779
+ | \`kbd\` | 30,072 | 11,369 | 10,029 | 3,896 | 1,384 | 909 |
3780
+ | \`legend\` | 36,324 | 13,374 | 11,907 | 3,243 | 1,167 | 785 |
3781
+ | \`lightbox\` | 47,121 | 15,871 | 14,039 | 11,932 | 3,469 | 2,561 |
3782
+ | \`line-chart\` | 83,221 | 28,949 | 25,642 | 14,445 | 4,361 | 3,458 |
3783
+ | \`list\` | 38,215 | 13,672 | 12,149 | 9,041 | 2,688 | 2,015 |
3784
+ | \`listbox\` | 62,592 | 19,927 | 17,722 | 17,522 | 4,867 | 3,709 |
3785
+ | \`loader\` | 28,576 | 10,705 | 9,499 | 2,644 | 944 | 594 |
3786
+ | \`map\` | 79,883 | 23,693 | 20,598 | 38,035 | 10,009 | 7,669 |
3787
+ | \`megamenu\` | 59,654 | 21,572 | 19,051 | 7,054 | 2,083 | 1,406 |
3788
+ | \`menu\` | 83,080 | 28,173 | 24,866 | 18,800 | 4,954 | 3,687 |
3789
+ | \`meter\` | 29,986 | 11,096 | 9,838 | 4,520 | 1,398 | 1,084 |
3790
+ | \`navigation\` | 33,741 | 12,529 | 11,093 | 2,196 | 820 | 531 |
3791
+ | \`notifications\` | 52,218 | 17,085 | 15,214 | 15,863 | 4,166 | 3,253 |
3792
+ | \`number-input\` | 51,957 | 17,267 | 15,301 | 9,740 | 2,691 | 1,909 |
3793
+ | \`object-inspector\` | 107,134 | 35,646 | 31,254 | 34,041 | 9,915 | 7,741 |
3794
+ | \`option\` | 29,099 | 10,679 | 9,475 | 3,487 | 935 | 611 |
3795
+ | \`outline\` | 34,626 | 12,794 | 11,332 | 6,999 | 2,283 | 1,702 |
3796
+ | \`pagination\` | 112,953 | 35,161 | 30,734 | 40,707 | 10,319 | 8,063 |
3797
+ | \`pin-input\` | 45,867 | 15,347 | 13,631 | 6,396 | 2,041 | 1,387 |
3798
+ | \`popover\` | 62,824 | 22,561 | 19,944 | 5,399 | 1,663 | 1,104 |
3799
+ | \`progress\` | 28,074 | 10,603 | 9,386 | 2,609 | 889 | 705 |
3800
+ | \`qr-code\` | 41,476 | 15,779 | 13,951 | 16,453 | 6,132 | 5,004 |
3801
+ | \`quote\` | 25,969 | 10,007 | 8,829 | 1,226 | 581 | 376 |
3802
+ | \`radio\` | 43,945 | 14,629 | 12,962 | 3,911 | 1,202 | 765 |
3803
+ | \`rating\` | 49,624 | 16,604 | 14,718 | 8,315 | 2,525 | 1,783 |
3804
+ | \`scatter-chart\` | 82,495 | 28,617 | 25,255 | 14,851 | 4,532 | 3,492 |
3805
+ | \`scroll-area\` | 34,470 | 12,424 | 11,027 | 8,851 | 2,742 | 2,080 |
3806
+ | \`select\` | 96,990 | 31,255 | 27,502 | 25,121 | 6,555 | 4,986 |
3807
+ | \`skeleton\` | 26,368 | 10,020 | 8,867 | 1,255 | 504 | 245 |
3808
+ | \`skip-link\` | 26,483 | 10,143 | 8,958 | 1,512 | 637 | 417 |
3809
+ | \`slider\` | 46,921 | 15,530 | 13,873 | 7,821 | 2,263 | 1,705 |
3810
+ | \`sparkline\` | 41,635 | 15,324 | 13,611 | 4,695 | 1,778 | 1,324 |
3811
+ | \`speed-dial\` | 60,809 | 22,254 | 19,770 | 4,222 | 1,265 | 790 |
3812
+ | \`splitter\` | 40,164 | 13,759 | 12,216 | 11,515 | 3,109 | 2,487 |
3813
+ | \`stat\` | 27,196 | 10,190 | 9,045 | 1,896 | 644 | 353 |
3814
+ | \`steps\` | 48,069 | 16,143 | 14,337 | 11,292 | 3,182 | 2,401 |
3815
+ | \`switch\` | 41,238 | 13,997 | 12,442 | 1,791 | 695 | 344 |
3816
+ | \`table\` | 66,222 | 20,480 | 18,214 | 21,651 | 5,865 | 4,536 |
3817
+ | \`tabs\` | 40,656 | 13,980 | 12,414 | 5,885 | 1,572 | 1,004 |
3818
+ | \`tag\` | 39,623 | 14,246 | 12,688 | 6,540 | 1,979 | 1,410 |
3819
+ | \`textarea\` | 46,159 | 15,528 | 13,775 | 5,559 | 1,745 | 1,157 |
3820
+ | \`time-input\` | 142,372 | 43,174 | 37,539 | 45,425 | 11,385 | 8,949 |
3821
+ | \`time-picker\` | 75,931 | 23,622 | 20,952 | 28,692 | 7,720 | 5,921 |
3822
+ | \`timeline\` | 29,277 | 10,803 | 9,574 | 3,150 | 807 | 503 |
3823
+ | \`toast\` | 44,585 | 15,809 | 13,988 | 8,606 | 2,681 | 1,954 |
3824
+ | \`toggle\` | 47,735 | 15,698 | 13,936 | 5,878 | 1,722 | 1,225 |
3825
+ | \`toolbar\` | 32,263 | 11,971 | 10,643 | 4,344 | 1,526 | 1,092 |
3826
+ | \`tooltip\` | 61,359 | 21,986 | 19,516 | 8,461 | 2,510 | 1,862 |
3827
+ | \`tour\` | 79,690 | 26,859 | 23,810 | 17,127 | 4,712 | 3,699 |
3828
+ | \`tree\` | 48,344 | 16,359 | 14,493 | 12,015 | 3,467 | 2,614 |
3829
+ | \`trend\` | 28,378 | 10,747 | 9,501 | 2,728 | 877 | 695 |
3830
+ | \`video\` | 121,383 | 37,645 | 32,926 | 52,146 | 13,024 | 10,436 |
3831
+ | \`video-playlist\` | 93,065 | 30,392 | 26,801 | 26,920 | 6,816 | 5,310 |
3832
+ | \`virtual-list\` | 47,544 | 16,611 | 14,739 | 11,130 | 3,551 | 2,670 |
3824
3833
 
3825
3834
  ### Styled tier
3826
3835
 
@@ -3828,110 +3837,110 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
3828
3837
 
3829
3838
  | Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
3830
3839
  |---|---|---|---|---|---|---|
3831
- | \`accordion\` | 48,121 | 14,422 | 12,688 | 7,647 | 2,065 | 1,560 |
3832
- | \`announcement\` | 45,485 | 13,478 | 11,811 | 6,169 | 1,548 | 1,222 |
3833
- | \`app-header\` | 41,202 | 12,052 | 10,574 | 5,673 | 1,515 | 1,108 |
3834
- | \`area-chart\` | 98,228 | 30,935 | 27,181 | 21,331 | 5,831 | 4,582 |
3835
- | \`aura\` | 64,892 | 19,687 | 17,298 | 26,743 | 8,324 | 7,050 |
3836
- | \`avatar\` | 44,061 | 12,836 | 11,293 | 7,891 | 2,116 | 1,661 |
3837
- | \`badge\` | 40,439 | 11,760 | 10,311 | 5,445 | 1,325 | 1,001 |
3838
- | \`bar-chart\` | 106,399 | 32,622 | 28,595 | 29,117 | 7,395 | 5,972 |
3839
- | \`blockquote\` | 37,656 | 11,278 | 9,895 | 2,258 | 693 | 401 |
3840
- | \`breadcrumbs\` | 42,077 | 12,357 | 10,859 | 5,799 | 1,446 | 1,054 |
3841
- | \`button\` | 56,398 | 16,247 | 14,165 | 11,984 | 2,955 | 2,197 |
3842
- | \`button-group\` | 37,688 | 11,167 | 9,792 | 2,320 | 688 | 446 |
3843
- | \`callout\` | 45,299 | 13,583 | 11,889 | 5,248 | 1,441 | 1,084 |
3844
- | \`canvas\` | 118,250 | 32,469 | 28,310 | 70,994 | 18,981 | 15,657 |
3845
- | \`card\` | 40,909 | 12,065 | 10,599 | 5,378 | 1,439 | 1,060 |
3846
- | \`carousel\` | 59,973 | 16,383 | 14,508 | 23,273 | 5,225 | 4,198 |
3847
- | \`chat\` | 78,040 | 21,966 | 19,379 | 32,525 | 7,983 | 6,436 |
3848
- | \`checkbox\` | 60,002 | 16,960 | 14,858 | 9,568 | 2,436 | 1,804 |
3849
- | \`checkbox-group\` | 66,556 | 18,479 | 16,166 | 15,554 | 3,827 | 2,840 |
3850
- | \`code\` | 35,708 | 10,676 | 9,358 | 1,511 | 510 | 280 |
3851
- | \`code-block\` | 117,062 | 33,746 | 29,661 | 42,896 | 9,601 | 7,751 |
3852
- | \`color-input\` | 161,920 | 43,479 | 38,020 | 72,998 | 15,074 | 12,421 |
3853
- | \`color-picker\` | 119,011 | 31,025 | 27,241 | 59,934 | 12,942 | 10,570 |
3854
- | \`combobox\` | 141,827 | 39,737 | 34,754 | 52,627 | 11,802 | 9,495 |
3855
- | \`command\` | 98,519 | 26,850 | 23,518 | 38,807 | 9,390 | 7,486 |
3856
- | \`copy-button\` | 103,331 | 30,817 | 26,998 | 29,157 | 6,650 | 5,227 |
3857
- | \`data-table\` | 208,210 | 56,196 | 47,474 | 118,121 | 28,030 | 21,633 |
3858
- | \`date-input\` | 157,188 | 43,280 | 37,801 | 55,567 | 11,971 | 9,704 |
3859
- | \`date-picker\` | 69,815 | 19,452 | 17,281 | 24,462 | 5,777 | 4,561 |
3860
- | \`description-list\` | 38,493 | 11,308 | 9,902 | 3,500 | 914 | 586 |
3861
- | \`dialog\` | 54,741 | 16,320 | 14,276 | 10,551 | 2,885 | 2,204 |
3862
- | \`divider\` | 38,940 | 11,591 | 10,168 | 3,542 | 990 | 652 |
3863
- | \`donut-chart\` | 98,342 | 30,409 | 26,765 | 22,874 | 5,995 | 4,800 |
3864
- | \`drawer\` | 55,007 | 16,412 | 14,381 | 9,604 | 2,677 | 2,095 |
3865
- | \`drilldown\` | 56,968 | 16,933 | 14,788 | 11,056 | 2,834 | 2,148 |
3866
- | \`empty\` | 38,473 | 11,578 | 10,099 | 2,613 | 857 | 561 |
3867
- | \`file-input\` | 81,761 | 23,313 | 20,426 | 25,298 | 6,337 | 5,024 |
3868
- | \`filter-input\` | 150,189 | 40,993 | 35,691 | 59,777 | 12,607 | 10,072 |
3869
- | \`flex\` | 37,069 | 11,029 | 9,663 | 2,078 | 606 | 316 |
3870
- | \`format-date\` | 42,448 | 12,721 | 11,225 | 4,932 | 1,384 | 975 |
3871
- | \`graph\` | 83,721 | 23,127 | 20,248 | 29,634 | 7,367 | 5,805 |
3872
- | \`grid\` | 38,524 | 11,590 | 10,202 | 3,533 | 1,152 | 854 |
3873
- | \`heatmap\` | 100,985 | 31,285 | 27,393 | 21,043 | 5,417 | 4,248 |
3874
- | \`icon\` | 94,226 | 29,533 | 25,208 | 56,405 | 19,564 | 15,360 |
3875
- | \`icon-button\` | 57,339 | 16,168 | 14,140 | 12,926 | 2,896 | 2,176 |
3876
- | \`image\` | 41,085 | 12,122 | 10,641 | 5,371 | 1,566 | 1,173 |
3877
- | \`input\` | 63,649 | 18,692 | 16,286 | 11,927 | 3,565 | 2,565 |
3878
- | \`kbd\` | 41,118 | 12,584 | 11,043 | 4,829 | 1,629 | 1,121 |
3879
- | \`legend\` | 47,965 | 14,166 | 12,383 | 7,671 | 2,046 | 1,442 |
3880
- | \`lightbox\` | 57,296 | 16,525 | 14,566 | 12,850 | 3,300 | 2,482 |
3881
- | \`line-chart\` | 101,137 | 31,376 | 27,585 | 24,094 | 6,226 | 5,072 |
3882
- | \`list\` | 41,331 | 11,967 | 10,518 | 5,976 | 1,490 | 1,177 |
3883
- | \`listbox\` | 76,796 | 22,106 | 19,326 | 20,975 | 5,632 | 4,354 |
3884
- | \`loader\` | 41,425 | 12,238 | 10,760 | 5,242 | 1,484 | 1,079 |
3885
- | \`map\` | 125,915 | 30,054 | 26,073 | 75,034 | 15,543 | 12,270 |
3886
- | \`megamenu\` | 72,426 | 23,061 | 20,296 | 10,031 | 2,594 | 1,911 |
3887
- | \`menu\` | 92,016 | 28,697 | 25,105 | 18,272 | 4,491 | 3,413 |
3888
- | \`meter\` | 46,018 | 13,184 | 11,630 | 10,472 | 2,578 | 2,052 |
3889
- | \`navigation\` | 43,728 | 13,312 | 11,528 | 3,221 | 1,022 | 622 |
3890
- | \`notifications\` | 73,708 | 19,871 | 17,586 | 28,831 | 6,427 | 5,267 |
3891
- | \`number-input\` | 67,684 | 19,551 | 17,221 | 14,890 | 3,876 | 2,953 |
3892
- | \`object-inspector\` | 122,792 | 36,326 | 31,725 | 42,419 | 10,058 | 8,043 |
3893
- | \`option\` | 42,446 | 12,501 | 11,019 | 6,725 | 1,813 | 1,295 |
3894
- | \`orb\` | 46,363 | 14,669 | 12,905 | 8,724 | 3,373 | 2,779 |
3895
- | \`outline\` | 45,186 | 13,419 | 11,785 | 8,426 | 2,301 | 1,717 |
3896
- | \`pagination\` | 139,323 | 39,095 | 34,021 | 56,933 | 12,979 | 10,410 |
3897
- | \`pin-input\` | 59,673 | 17,283 | 15,193 | 9,643 | 2,818 | 2,023 |
3898
- | \`popover\` | 75,869 | 24,333 | 21,264 | 7,282 | 1,936 | 1,356 |
3899
- | \`progress\` | 43,533 | 12,712 | 11,219 | 7,987 | 2,083 | 1,600 |
3900
- | \`qr-code\` | 51,860 | 16,518 | 14,502 | 16,585 | 5,954 | 4,865 |
3901
- | \`quote\` | 36,215 | 10,843 | 9,481 | 1,216 | 460 | 197 |
3902
- | \`radio\` | 64,144 | 17,850 | 15,648 | 12,236 | 2,730 | 2,072 |
3903
- | \`rating\` | 64,926 | 19,300 | 16,928 | 12,084 | 3,628 | 2,814 |
3904
- | \`sandbox\` | 77,010 | 20,452 | 17,994 | 37,272 | 8,465 | 6,969 |
3905
- | \`scatter-chart\` | 98,869 | 30,809 | 27,023 | 22,828 | 6,117 | 4,881 |
3906
- | \`scroll-area\` | 40,926 | 11,999 | 10,508 | 5,874 | 1,556 | 1,077 |
3907
- | \`select\` | 118,886 | 34,630 | 30,262 | 36,578 | 8,554 | 6,822 |
3908
- | \`skeleton\` | 39,347 | 11,644 | 10,257 | 3,981 | 1,150 | 791 |
3909
- | \`skip-link\` | 38,161 | 11,506 | 10,081 | 3,008 | 1,022 | 664 |
3910
- | \`slider\` | 68,867 | 18,804 | 16,589 | 18,420 | 4,147 | 3,205 |
3911
- | \`sparkline\` | 47,474 | 14,421 | 12,684 | 6,294 | 1,882 | 1,503 |
3912
- | \`speed-dial\` | 134,519 | 43,564 | 36,886 | 66,341 | 21,581 | 17,007 |
3913
- | \`splitter\` | 56,483 | 15,850 | 13,987 | 17,031 | 3,967 | 3,124 |
3914
- | \`stat\` | 40,443 | 11,709 | 10,282 | 5,081 | 1,229 | 889 |
3915
- | \`steps\` | 70,250 | 19,157 | 16,771 | 23,289 | 5,099 | 4,082 |
3916
- | \`switch\` | 57,461 | 16,577 | 14,545 | 6,627 | 1,858 | 1,342 |
3917
- | \`table\` | 63,029 | 18,409 | 16,244 | 20,603 | 5,526 | 4,454 |
3918
- | \`tabs\` | 55,917 | 16,074 | 14,020 | 10,629 | 2,426 | 1,812 |
3919
- | \`tag\` | 52,749 | 15,717 | 13,896 | 10,588 | 2,807 | 2,044 |
3920
- | \`text\` | 40,992 | 11,800 | 10,350 | 6,004 | 1,453 | 998 |
3921
- | \`textarea\` | 58,889 | 17,042 | 14,926 | 8,378 | 2,391 | 1,704 |
3922
- | \`time-input\` | 172,753 | 47,297 | 40,980 | 67,030 | 14,784 | 11,821 |
3923
- | \`time-picker\` | 96,904 | 26,815 | 23,494 | 39,096 | 9,543 | 7,544 |
3924
- | \`timeline\` | 41,820 | 12,294 | 10,765 | 5,538 | 1,397 | 1,058 |
3925
- | \`toast\` | 61,343 | 17,944 | 15,845 | 16,665 | 4,368 | 3,382 |
3926
- | \`toggle\` | 64,719 | 18,533 | 16,240 | 10,987 | 2,817 | 2,127 |
3927
- | \`toolbar\` | 44,810 | 13,631 | 11,889 | 5,409 | 1,735 | 1,212 |
3928
- | \`tooltip\` | 74,148 | 23,682 | 20,846 | 11,405 | 3,162 | 2,426 |
3929
- | \`tour\` | 99,455 | 29,632 | 26,015 | 27,607 | 6,491 | 5,087 |
3930
- | \`tree\` | 60,660 | 17,892 | 15,658 | 14,183 | 3,823 | 2,941 |
3931
- | \`trend\` | 39,907 | 12,024 | 10,551 | 4,003 | 1,179 | 874 |
3932
- | \`video\` | 137,129 | 39,344 | 34,264 | 58,747 | 13,884 | 11,183 |
3933
- | \`video-playlist\` | 105,059 | 31,036 | 27,158 | 29,919 | 6,565 | 5,145 |
3934
- | \`virtual-list\` | 48,726 | 15,007 | 13,061 | 4,770 | 1,587 | 1,099 |
3840
+ | \`accordion\` | 39,648 | 13,717 | 12,166 | 9,452 | 2,459 | 1,956 |
3841
+ | \`announcement\` | 37,714 | 13,213 | 11,692 | 7,081 | 1,807 | 1,416 |
3842
+ | \`app-header\` | 31,665 | 11,326 | 10,023 | 6,226 | 1,738 | 1,322 |
3843
+ | \`area-chart\` | 90,087 | 30,477 | 26,982 | 21,562 | 5,984 | 4,746 |
3844
+ | \`aura\` | 55,272 | 18,976 | 16,767 | 28,121 | 8,833 | 7,475 |
3845
+ | \`avatar\` | 33,752 | 11,841 | 10,478 | 7,724 | 2,038 | 1,583 |
3846
+ | \`badge\` | 31,616 | 11,165 | 9,841 | 6,773 | 1,633 | 1,237 |
3847
+ | \`bar-chart\` | 99,274 | 32,501 | 28,802 | 30,373 | 7,886 | 6,412 |
3848
+ | \`blockquote\` | 27,480 | 10,325 | 9,128 | 2,320 | 714 | 477 |
3849
+ | \`breadcrumbs\` | 36,411 | 12,875 | 11,407 | 10,237 | 2,909 | 2,222 |
3850
+ | \`button\` | 45,987 | 15,139 | 13,449 | 12,413 | 3,124 | 2,350 |
3851
+ | \`button-group\` | 27,619 | 10,269 | 9,095 | 2,472 | 757 | 463 |
3852
+ | \`callout\` | 35,772 | 12,923 | 11,405 | 5,264 | 1,469 | 1,158 |
3853
+ | \`canvas\` | 111,811 | 32,315 | 28,173 | 72,583 | 19,572 | 16,120 |
3854
+ | \`card\` | 30,920 | 11,170 | 9,882 | 5,624 | 1,534 | 1,146 |
3855
+ | \`carousel\` | 53,470 | 16,505 | 14,730 | 26,637 | 6,234 | 4,932 |
3856
+ | \`chat\` | 79,518 | 24,218 | 21,431 | 34,954 | 8,773 | 7,097 |
3857
+ | \`checkbox\` | 49,373 | 15,701 | 13,969 | 10,311 | 2,619 | 1,989 |
3858
+ | \`checkbox-group\` | 56,334 | 17,248 | 15,344 | 16,544 | 4,121 | 3,144 |
3859
+ | \`code\` | 25,513 | 9,709 | 8,603 | 1,556 | 516 | 329 |
3860
+ | \`code-block\` | 110,938 | 33,351 | 29,516 | 46,941 | 10,550 | 8,467 |
3861
+ | \`color-input\` | 156,927 | 43,520 | 38,261 | 76,994 | 15,798 | 13,028 |
3862
+ | \`color-picker\` | 112,915 | 30,856 | 27,252 | 63,513 | 13,715 | 11,191 |
3863
+ | \`combobox\` | 137,388 | 39,769 | 35,011 | 56,798 | 12,779 | 10,333 |
3864
+ | \`command\` | 92,981 | 26,697 | 23,556 | 41,645 | 10,084 | 8,040 |
3865
+ | \`copy-button\` | 95,290 | 30,001 | 26,514 | 31,283 | 7,088 | 5,554 |
3866
+ | \`data-table\` | 219,309 | 59,799 | 50,341 | 133,542 | 31,483 | 24,314 |
3867
+ | \`date-input\` | 149,493 | 42,780 | 37,603 | 57,055 | 12,400 | 10,054 |
3868
+ | \`date-picker\` | 59,901 | 18,687 | 16,655 | 24,514 | 5,925 | 4,668 |
3869
+ | \`description-list\` | 29,802 | 10,712 | 9,489 | 4,675 | 1,233 | 851 |
3870
+ | \`dialog\` | 46,501 | 15,697 | 13,964 | 11,409 | 3,146 | 2,449 |
3871
+ | \`divider\` | 28,768 | 10,650 | 9,394 | 3,607 | 1,044 | 818 |
3872
+ | \`donut-chart\` | 92,006 | 30,393 | 26,916 | 24,787 | 6,534 | 5,257 |
3873
+ | \`drawer\` | 47,737 | 16,225 | 14,466 | 12,015 | 3,314 | 2,646 |
3874
+ | \`drilldown\` | 47,177 | 15,844 | 14,102 | 12,483 | 3,203 | 2,454 |
3875
+ | \`empty\` | 28,323 | 10,625 | 9,379 | 2,699 | 905 | 624 |
3876
+ | \`file-input\` | 74,567 | 22,958 | 20,367 | 28,375 | 7,195 | 5,725 |
3877
+ | \`filter-input\` | 154,784 | 42,931 | 37,576 | 72,853 | 15,284 | 12,395 |
3878
+ | \`flex\` | 30,108 | 10,626 | 9,401 | 5,354 | 1,236 | 884 |
3879
+ | \`format-date\` | 32,358 | 11,850 | 10,514 | 4,659 | 1,414 | 1,008 |
3880
+ | \`graph\` | 77,140 | 22,929 | 20,207 | 29,899 | 7,446 | 5,912 |
3881
+ | \`grid\` | 30,903 | 11,036 | 9,784 | 6,154 | 1,606 | 1,244 |
3882
+ | \`heatmap\` | 92,356 | 30,614 | 27,062 | 21,750 | 5,729 | 4,580 |
3883
+ | \`icon\` | 84,349 | 28,702 | 24,576 | 56,761 | 19,719 | 15,680 |
3884
+ | \`icon-button\` | 47,707 | 15,105 | 13,400 | 14,134 | 3,125 | 2,360 |
3885
+ | \`image\` | 31,155 | 11,301 | 10,008 | 5,676 | 1,756 | 1,277 |
3886
+ | \`input\` | 53,316 | 17,622 | 15,495 | 12,142 | 3,694 | 2,733 |
3887
+ | \`kbd\` | 32,296 | 11,921 | 10,536 | 6,101 | 1,922 | 1,344 |
3888
+ | \`legend\` | 41,820 | 14,643 | 12,910 | 8,608 | 2,426 | 1,759 |
3889
+ | \`lightbox\` | 53,408 | 17,147 | 15,190 | 18,202 | 4,760 | 3,642 |
3890
+ | \`line-chart\` | 94,186 | 31,168 | 27,626 | 25,394 | 6,610 | 5,268 |
3891
+ | \`list\` | 43,351 | 14,851 | 13,191 | 14,157 | 3,877 | 3,029 |
3892
+ | \`listbox\` | 67,349 | 20,979 | 18,642 | 22,266 | 5,923 | 4,560 |
3893
+ | \`loader\` | 31,947 | 11,533 | 10,206 | 5,998 | 1,768 | 1,328 |
3894
+ | \`map\` | 116,933 | 29,086 | 25,357 | 75,073 | 15,487 | 12,386 |
3895
+ | \`megamenu\` | 64,956 | 22,722 | 20,138 | 12,340 | 3,234 | 2,437 |
3896
+ | \`menu\` | 94,419 | 30,294 | 26,742 | 30,132 | 7,145 | 5,585 |
3897
+ | \`meter\` | 36,173 | 12,337 | 10,960 | 10,687 | 2,670 | 2,241 |
3898
+ | \`navigation\` | 35,512 | 13,002 | 11,548 | 3,950 | 1,315 | 891 |
3899
+ | \`notifications\` | 66,278 | 19,550 | 17,442 | 29,914 | 6,700 | 5,373 |
3900
+ | \`number-input\` | 57,367 | 18,461 | 16,401 | 15,131 | 3,925 | 2,998 |
3901
+ | \`object-inspector\` | 125,222 | 38,543 | 33,849 | 52,111 | 12,858 | 10,259 |
3902
+ | \`option\` | 32,356 | 11,597 | 10,269 | 6,728 | 1,839 | 1,424 |
3903
+ | \`orb\` | 37,072 | 14,019 | 12,406 | 9,455 | 3,624 | 2,995 |
3904
+ | \`outline\` | 38,686 | 13,623 | 12,113 | 11,041 | 3,111 | 2,422 |
3905
+ | \`pagination\` | 131,174 | 38,247 | 33,447 | 58,910 | 13,423 | 10,780 |
3906
+ | \`pin-input\` | 49,458 | 16,242 | 14,464 | 9,965 | 2,948 | 2,173 |
3907
+ | \`popover\` | 66,446 | 23,365 | 20,707 | 9,003 | 2,495 | 1,786 |
3908
+ | \`progress\` | 33,746 | 11,886 | 10,543 | 8,261 | 2,186 | 1,724 |
3909
+ | \`qr-code\` | 43,343 | 16,256 | 14,361 | 18,304 | 6,645 | 5,494 |
3910
+ | \`quote\` | 26,748 | 10,201 | 9,004 | 1,987 | 771 | 485 |
3911
+ | \`radio\` | 52,721 | 16,186 | 14,360 | 12,675 | 2,829 | 2,215 |
3912
+ | \`rating\` | 53,941 | 17,838 | 15,865 | 12,610 | 3,777 | 2,924 |
3913
+ | \`sandbox\` | 73,642 | 20,738 | 18,327 | 42,938 | 9,908 | 8,082 |
3914
+ | \`scatter-chart\` | 91,707 | 30,604 | 27,058 | 24,041 | 6,525 | 5,271 |
3915
+ | \`scroll-area\` | 39,737 | 13,392 | 11,914 | 14,098 | 3,720 | 2,900 |
3916
+ | \`select\` | 110,083 | 33,673 | 29,635 | 38,199 | 9,006 | 7,220 |
3917
+ | \`skeleton\` | 29,150 | 10,708 | 9,479 | 4,019 | 1,206 | 941 |
3918
+ | \`skip-link\` | 28,435 | 10,669 | 9,404 | 3,445 | 1,156 | 823 |
3919
+ | \`slider\` | 58,875 | 17,557 | 15,668 | 19,758 | 4,338 | 3,490 |
3920
+ | \`sparkline\` | 47,130 | 16,627 | 14,838 | 10,172 | 3,094 | 2,565 |
3921
+ | \`speed-dial\` | 67,690 | 23,550 | 20,901 | 11,082 | 2,596 | 1,939 |
3922
+ | \`splitter\` | 46,236 | 14,764 | 13,121 | 17,569 | 4,176 | 3,336 |
3923
+ | \`stat\` | 30,837 | 10,934 | 9,708 | 5,523 | 1,398 | 1,120 |
3924
+ | \`steps\` | 63,670 | 19,017 | 16,847 | 26,882 | 6,122 | 4,878 |
3925
+ | \`switch\` | 46,090 | 15,170 | 13,492 | 6,628 | 1,890 | 1,400 |
3926
+ | \`table\` | 80,130 | 22,990 | 20,413 | 35,549 | 8,413 | 6,744 |
3927
+ | \`tabs\` | 49,184 | 15,669 | 13,856 | 14,401 | 3,320 | 2,587 |
3928
+ | \`tag\` | 44,798 | 15,385 | 13,680 | 11,697 | 3,094 | 2,373 |
3929
+ | \`text\` | 32,695 | 11,038 | 9,748 | 7,950 | 1,677 | 1,239 |
3930
+ | \`textarea\` | 50,571 | 16,559 | 14,706 | 9,950 | 2,808 | 2,061 |
3931
+ | \`time-input\` | 167,108 | 47,235 | 41,122 | 70,148 | 15,398 | 12,471 |
3932
+ | \`time-picker\` | 87,900 | 25,845 | 22,888 | 40,652 | 10,014 | 7,910 |
3933
+ | \`timeline\` | 36,697 | 12,228 | 10,837 | 10,557 | 2,278 | 1,776 |
3934
+ | \`toast\` | 53,014 | 17,618 | 15,629 | 17,018 | 4,546 | 3,534 |
3935
+ | \`toggle\` | 53,651 | 16,999 | 15,078 | 11,781 | 3,060 | 2,364 |
3936
+ | \`toolbar\` | 33,825 | 12,355 | 10,931 | 5,891 | 1,912 | 1,357 |
3937
+ | \`tooltip\` | 64,554 | 22,770 | 20,202 | 11,638 | 3,251 | 2,477 |
3938
+ | \`tour\` | 91,457 | 28,984 | 25,677 | 28,876 | 6,896 | 5,519 |
3939
+ | \`tree\` | 56,616 | 18,102 | 16,096 | 20,273 | 5,268 | 4,149 |
3940
+ | \`trend\` | 30,083 | 11,203 | 9,927 | 4,413 | 1,326 | 991 |
3941
+ | \`video\` | 143,075 | 41,445 | 36,267 | 73,821 | 16,806 | 13,730 |
3942
+ | \`video-playlist\` | 109,297 | 33,176 | 29,235 | 43,136 | 9,654 | 7,743 |
3943
+ | \`virtual-list\` | 48,879 | 16,983 | 15,092 | 12,445 | 3,925 | 3,063 |
3935
3944
 
3936
3945
  ## What an install adds to \`node_modules\`
3937
3946
 
@@ -3943,12 +3952,12 @@ stripped column shows the bytes we removed.
3943
3952
 
3944
3953
  | Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
3945
3954
  |---|---|---|---|---|
3946
- | \`@fusion.dev/helix-core\` | 1,637,132 | 231 | 417,937 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
3947
- | \`@fusion.dev/helix-headless\` | 15,882,414 | 561 | 1,363,913 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
3955
+ | \`@fusion.dev/helix-core\` | 1,870,667 | 437 | 498,690 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
3956
+ | \`@fusion.dev/helix-headless\` | 17,383,146 | 631 | 1,609,009 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
3948
3957
  | \`@fusion.dev/helix-icons\` | 149,615 | 21 | 47,843 | \`svgo\` |
3949
- | \`@fusion.dev/helix-styles\` | 106,152 | 6 | 0 | none |
3958
+ | \`@fusion.dev/helix-styles\` | 107,438 | 6 | 0 | none |
3950
3959
  | \`@fusion.dev/helix-theme\` | 528,598 | 8 | 5,393 | none |
3951
- | \`@fusion.dev/helix\` | 16,571,414 | 885 | 383,770 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
3960
+ | \`@fusion.dev/helix\` | 17,913,464 | 905 | 410,028 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
3952
3961
 
3953
3962
  ## Not measured yet
3954
3963
 
@@ -4214,14 +4223,16 @@ press \`Escape\` again.
4214
4223
 
4215
4224
  A modal overlay keeps \`Tab\` inside itself while it is open, and it returns focus
4216
4225
  to the element that opened it. \`Dialog\` does this, and so does \`Drawer\` unless
4217
- you set \`modal="false"\`. The page behind a modal \`Dialog\` or \`Drawer\` does not
4226
+ you set \`modal="false"\`. Set \`dismissible\` on either to draw a close control in
4227
+ the corner by the title. The page behind a modal \`Dialog\` or \`Drawer\` does not
4218
4228
  scroll while it is open.
4219
4229
 
4220
4230
  Opening a \`Popover\` moves focus to the first control in its panel, or to the
4221
4231
  panel where it holds none, and closing it from inside gives focus back to the
4222
- trigger. It does not trap focus unless you set \`modal\`, which keeps \`Tab\` in the
4223
- panel until it closes. When focus moves out of its trigger and its panel, the
4224
- popover closes.
4232
+ trigger, however it closes, setting \`open\` included. It does not trap focus
4233
+ unless you set \`modal\`, which keeps \`Tab\` in the panel until it closes and hides
4234
+ the rest of the page from screen readers meanwhile. When focus moves out of its
4235
+ trigger and its panel, the popover closes.
4225
4236
 
4226
4237
  Press F8 to move focus to the \`Toast\` stack, and press it again to go back.
4227
4238
  Set \`hotkey\` on the stack to use another key. The stack's name says which key
@@ -4234,6 +4245,8 @@ The fields with a panel behave the same way:
4234
4245
  leaves the field, and \`Escape\` returns focus to the field.
4235
4246
  - Opening one of those panels from its trigger, or with \`ArrowDown\`, moves
4236
4247
  focus into the panel.
4248
+ - Inside one of those panels, \`Tab\` moves between the panel's controls and
4249
+ does not leave the panel.
4237
4250
 
4238
4251
  **A tooltip never takes focus.** A tooltip only describes a control, so it
4239
4252
  cannot contain a button. For something with a button in it, use a \`Popover\`.
@@ -4243,6 +4256,9 @@ names it with \`for\`. A Helix trigger is described as soon as it has rendered.
4243
4256
  A plain element in your markup is described the first time a reader points at
4244
4257
  it or focuses it, so the link is never written into markup your server sent.
4245
4258
  Write \`aria-describedby\` yourself to have the link in the server's markup.
4259
+ The pointer can move onto a tooltip's bubble and the bubble stays, so a reader
4260
+ can read it under a magnifier. Set \`hoverable="false"\` to hide it once the
4261
+ pointer reaches it.
4246
4262
 
4247
4263
  ## Keep an overlay open
4248
4264
 
@@ -4277,9 +4293,15 @@ finished. Select on them to draw an entrance or an exit of your own.
4277
4293
  A touch or a pen swipes a \`Drawer\` toward the edge it came from, and a \`Toast\`
4278
4294
  message toward the end of the line. A swipe past halfway, or a quick one, closes
4279
4295
  it through the same cancelable request as its close control. A \`Drawer\` with
4280
- \`snap-points\` comes to rest at the nearest point, such as half open. In a
4296
+ \`snap-points\` comes to rest at the nearest point, such as half open, and
4297
+ \`:state(snapped)\` holds while it rests short of the whole panel. Moving focus
4298
+ with \`Tab\` to a control past the edge of the window opens it the rest of the
4299
+ way, and \`snapTo()\` moves it from script. In a
4281
4300
  \`Lightbox\`, a swipe across the viewer shows the next or the previous item. A
4282
- mouse never swipes, because dragging with a mouse selects text.
4301
+ mouse never swipes, because dragging with a mouse selects text. A \`Lightbox\`
4302
+ with \`max-zoom\` also zooms: pinch the item, or double click or double tap it,
4303
+ and drag it about once zoomed. It swipes only while the item is at its own
4304
+ size.
4283
4305
 
4284
4306
  ## Choose an overlay
4285
4307
 
@@ -4690,6 +4712,30 @@ loading state, no pressed state, and no \`type="submit"\` handling.
4690
4712
  navigation, where an underline on every row would distract. If a link opens a
4691
4713
  new tab or window, say so in the link text, so it does not surprise your users.
4692
4714
 
4715
+ ## Navigation items
4716
+
4717
+ \`\`\`html
4718
+ <helix-navigation label="Sections">
4719
+ <a
4720
+ aria-current="page"
4721
+ href="/guide"
4722
+ >Guide</a>
4723
+ <a href="/api">API</a>
4724
+ </helix-navigation>
4725
+ <button data-navigation-item>Menu</button>
4726
+ \`\`\`
4727
+
4728
+ A link inside \`helix-navigation\` is styled by the page's stylesheet, because the
4729
+ page's styles reach a slotted link before the component's do.
4730
+ \`data-navigation-item\` gives the same look to an element outside a navigation
4731
+ bar. Two custom properties set the text color:
4732
+
4733
+ - \`--navigation-item-color\` colors every destination except the current one.
4734
+ - \`--navigation-item-current-color\` colors the destination marked
4735
+ \`aria-current="page"\`.
4736
+
4737
+ Set them on \`helix-navigation\` or on any element that contains it.
4738
+
4693
4739
  ## Surfaces and layout
4694
4740
 
4695
4741
  \`\`\`html
@@ -5110,6 +5156,15 @@ In a source pane, Tab inserts two spaces. Shift+Tab moves focus back, and
5110
5156
  Escape then Tab moves it forward. The field's description says this to a
5111
5157
  screen reader.
5112
5158
 
5159
+ Each request has a notification once it is applied: \`helix-edit\` after
5160
+ \`helix-before-edit\`, \`helix-split\` after \`helix-before-split\`, and
5161
+ \`helix-panel-resize\` after \`helix-before-panel-resize\`. Listen for these to
5162
+ store the arrangement or the source.
5163
+
5164
+ Set \`controls\` on \`helix-sandbox-terminal\` for a clear button and a level
5165
+ filter above the log. Without them, \`clear()\` empties the log, and \`level\`
5166
+ hides the quieter lines.
5167
+
5113
5168
  ## The frame document
5114
5169
 
5115
5170
  \`helix-sandbox-preview\` loads \`src\` into a sandboxed frame. You provide that
@@ -5132,9 +5187,13 @@ its own frame, and only from an opaque origin, so the frame keeps the sandbox
5132
5187
  it was given. The types are exported from \`@fusion.dev/helix/sandbox\` as
5133
5188
  \`PreviewMessage\` and its members.
5134
5189
 
5135
- A minimal frame follows. \`/helix.css\` is the stylesheet from
5136
- \`@fusion.dev/helix-styles\`, and \`/elements.js\` is a classic script that
5137
- registers your elements, for the reason under "How the preview is isolated".
5190
+ \`servePreview\` from \`@fusion.dev/helix/sandbox\` is that protocol, written for
5191
+ you. Call it once in the frame document, after your elements are defined. It
5192
+ writes each render into \`#preview-root\`, runs the example's scripts, relays
5193
+ its console, reports its height and its presses, and adds the rules for the
5194
+ four layouts. A frame follows. \`/helix.css\` is the stylesheet from
5195
+ \`@fusion.dev/helix-styles\`, and \`/frame.js\` is a classic script you bundle,
5196
+ for the reason under "How the preview is isolated":
5138
5197
 
5139
5198
  \`\`\`html
5140
5199
  <!doctype html>
@@ -5142,21 +5201,24 @@ registers your elements, for the reason under "How the preview is isolated".
5142
5201
  href="/helix.css"
5143
5202
  rel="stylesheet"
5144
5203
  >
5204
+ <div id="preview-root"></div>
5145
5205
  <script
5146
5206
  defer
5147
- src="/elements.js"
5207
+ src="/frame.js"
5148
5208
  ></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
5209
  \`\`\`
5159
5210
 
5211
+ \`\`\`ts
5212
+ // frame.ts, bundled to /frame.js as a classic script
5213
+ import '@fusion.dev/helix' // registers every family, because an example can use any of them
5214
+ import { servePreview } from '@fusion.dev/helix/sandbox'
5215
+
5216
+ servePreview()
5217
+ \`\`\`
5218
+
5219
+ Pass \`onReplace\` to take down what an example mounted before the next one
5220
+ replaces it, and \`onRender\` to act after each render, such as mounting a map.
5221
+
5160
5222
  ## Console output from the example
5161
5223
 
5162
5224
  Logs from the example appear in the console panel. Logs from the page around it
@@ -5745,11 +5807,13 @@ current value. The pair comes from the platform. A native input reflects its
5745
5807
  \`value\` *content attribute* to \`defaultValue\`, and it keeps a dirty flag. Once a
5746
5808
  user has typed, the flag stops the attribute from changing the value.
5747
5809
 
5748
- **A form reset clears a \`value\` or \`checked\` you wrote in markup.** A native
5749
- \`<input value="Ada">\` resets to \`Ada\`, and \`<helix-input value="Ada">\` resets to
5750
- empty, because a Helix control resets to \`default-value\` and \`default-checked\`.
5751
- Write the starting value of a form control as \`default-value\`, or
5752
- \`default-checked\` for a checkbox or a switch.
5810
+ **A form reset returns to a \`value\` or \`checked\` you wrote in markup**, as it
5811
+ does on a native control: \`<input value="Ada">\` and \`<helix-input value="Ada">\`
5812
+ both reset to \`Ada\`. Where \`default-value\` or \`default-checked\` is written, the
5813
+ reset returns to that instead. The attribute is read at the reset, and a
5814
+ framework that sets \`value\` as a property writes no attribute, so write the
5815
+ starting value of a form control as \`default-value\`, or \`default-checked\` for a
5816
+ checkbox or a switch, when a reset has to return to it.
5753
5817
 
5754
5818
  ## State is published as a custom state
5755
5819