@fusion.dev/helix-docs 0.241.3 → 0.242.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 +1 -1
- package/content/color-modes.mdx +17 -0
- package/content/metrics.mdx +284 -267
- package/content/motion.mdx +118 -3
- package/dist/sources.generated.js +420 -271
- package/package.json +12 -12
|
@@ -475,7 +475,7 @@ names the tag to define.
|
|
|
475
475
|
|
|
476
476
|
[//]: # (renders)
|
|
477
477
|
|
|
478
|
-
**52 of the
|
|
478
|
+
**52 of the 121 headless families interpolate another family's tag**, across 30 distinct children.
|
|
479
479
|
|
|
480
480
|
| Family | Renders |
|
|
481
481
|
|---|---|
|
|
@@ -1789,6 +1789,23 @@ Because \`color-scheme\` inherits, **the attribute works on any element**:
|
|
|
1789
1789
|
The theme builder uses the same attribute to show a component in light and dark
|
|
1790
1790
|
mode side by side in one document.
|
|
1791
1791
|
|
|
1792
|
+
## Switch the mode from the page
|
|
1793
|
+
|
|
1794
|
+
\`Theme Toggle\` is a button that switches the page between light and dark. A
|
|
1795
|
+
press spreads the new mode in a circle from the button, and \`transition\` picks
|
|
1796
|
+
\`wipe\`, \`fade\`, or \`none\` instead. To switch from your own code, call
|
|
1797
|
+
\`setColorMode\`, which takes the same transitions:
|
|
1798
|
+
|
|
1799
|
+
\`\`\`js
|
|
1800
|
+
import { colorMode, setColorMode } from '@fusion.dev/helix-core'
|
|
1801
|
+
|
|
1802
|
+
setColorMode(colorMode() === 'dark' ? 'light' : 'dark', { transition: 'fade' })
|
|
1803
|
+
\`\`\`
|
|
1804
|
+
|
|
1805
|
+
Both write \`data-color-mode\` on the document element, and change it at once
|
|
1806
|
+
under reduced motion. To keep a reader's choice across visits, listen for the
|
|
1807
|
+
toggle's \`change\` event and write the mode into the page you serve next.
|
|
1808
|
+
|
|
1792
1809
|
## Follow the operating system
|
|
1793
1810
|
|
|
1794
1811
|
When you do not set a mode, \`:root\` declares \`color-scheme: light dark\`, and the
|
|
@@ -5507,7 +5524,7 @@ on its own.
|
|
|
5507
5524
|
|
|
5508
5525
|
| | Raw | Gzip | Brotli |
|
|
5509
5526
|
|---|---|---|---|
|
|
5510
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
5527
|
+
| Lit and \`@fusion.dev/helix-core\` | 315,631 | 102,090 | 87,279 |
|
|
5511
5528
|
|
|
5512
5529
|
## Whole packages
|
|
5513
5530
|
|
|
@@ -5518,12 +5535,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
5518
5535
|
|
|
5519
5536
|
| Package | Raw | Gzip | Brotli | |
|
|
5520
5537
|
|---|---|---|---|---|
|
|
5521
|
-
| \`@fusion.dev/helix-core\` |
|
|
5522
|
-
| \`@fusion.dev/helix-headless\` | 1,
|
|
5538
|
+
| \`@fusion.dev/helix-core\` | 314,839 | 101,957 | 86,854 | The element base class, mixins, decorators, and floating positioning. |
|
|
5539
|
+
| \`@fusion.dev/helix-headless\` | 1,837,800 | 508,341 | 380,278 | Every headless family. The barrel entry includes all of them. |
|
|
5523
5540
|
| \`@fusion.dev/helix-icons\` | 80,639 | 26,001 | 21,273 | The whole glyph set. |
|
|
5524
5541
|
| \`@fusion.dev/helix-theme\` | 3,934 | 1,681 | 1,504 | The JavaScript that runs the derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
5525
5542
|
| \`fusion_helix_theme_bg.wasm\` | 416,286 | 153,551 | 124,048 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
5526
|
-
| \`@fusion.dev/helix\` | 2,
|
|
5543
|
+
| \`@fusion.dev/helix\` | 2,868,682 | 724,099 | 511,225 | Every styled family. |
|
|
5527
5544
|
| \`lit\` | 15,396 | 5,990 | 5,419 | Lit itself, listed so you can subtract it from every row above. |
|
|
5528
5545
|
|
|
5529
5546
|
## Stylesheets
|
|
@@ -5536,21 +5553,22 @@ shows the whole cost of using the base layer on its own.
|
|
|
5536
5553
|
|
|
5537
5554
|
| File | Raw | Gzip | Brotli | |
|
|
5538
5555
|
|---|---|---|---|---|
|
|
5539
|
-
| \`base.css\` |
|
|
5540
|
-
| \`elements.css\` |
|
|
5556
|
+
| \`base.css\` | 49,611 | 6,935 | 6,013 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
5557
|
+
| \`elements.css\` | 28,039 | 3,899 | 3,402 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
5541
5558
|
| \`helix.css\` | 207 | 149 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
5559
|
+
| \`page-transitions.css\` | 1,928 | 461 | 398 | Moves between the pages of a site. \`helix.css\` leaves it out, so a site opts in. |
|
|
5542
5560
|
| \`primitives.css\` | 11,525 | 1,974 | 1,702 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
5543
5561
|
| \`tokens.css\` | 33,159 | 4,121 | 3,454 | The 244 semantic tokens. Every styled component needs them. |
|
|
5544
5562
|
|
|
5545
5563
|
## What the numbers say
|
|
5546
5564
|
|
|
5547
|
-
**Most of your first component is the shared runtime.** The median styled family is
|
|
5565
|
+
**Most of your first component is the shared runtime.** The median styled family is 21,693 bytes gzipped alone, and it adds 5,007 to a page that already has Helix. The shared runtime is 77 percent of the first component, and the component itself is 23 percent. Ten typical components cost the first number once, plus nine of the added number. The two columns in the tables below let you work that out for your own components.
|
|
5548
5566
|
|
|
5549
|
-
Across the
|
|
5567
|
+
Across the 141 styled components, the smallest is \`code\` at 9,950 bytes gzipped alone, and the largest is \`data-table\` at 139,447. Every family together is 724,099.
|
|
5550
5568
|
|
|
5551
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs
|
|
5569
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 508,341 bytes gzipped, whatever else the page imports. That is 23 times the median family above. All 141 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.
|
|
5552
5570
|
|
|
5553
|
-
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 21,
|
|
5571
|
+
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 21,428 bytes gzipped alone.
|
|
5554
5572
|
|
|
5555
5573
|
## Compared with other systems
|
|
5556
5574
|
|
|
@@ -5562,17 +5580,17 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
5562
5580
|
|
|
5563
5581
|
| Component | System | Raw | Gzip | Brotli |
|
|
5564
5582
|
|---|---|---|---|---|
|
|
5565
|
-
| \`button\` | **Helix** | 52,361 | 16,
|
|
5583
|
+
| \`button\` | **Helix** | 52,361 | 16,623 | 15,021 |
|
|
5566
5584
|
| | Carbon | 133,019 | 20,696 | 17,673 |
|
|
5567
5585
|
| | Material Web | 47,039 | 13,980 | 12,488 |
|
|
5568
5586
|
| | Spectrum | 98,861 | 21,731 | 18,547 |
|
|
5569
5587
|
| | Web Awesome | 136,082 | 34,015 | 28,815 |
|
|
5570
|
-
| \`checkbox\` | **Helix** | 55,683 | 17,
|
|
5588
|
+
| \`checkbox\` | **Helix** | 55,683 | 17,531 | 15,779 |
|
|
5571
5589
|
| | Carbon | 60,226 | 15,349 | 13,476 |
|
|
5572
5590
|
| | Material Web | 43,770 | 13,361 | 11,940 |
|
|
5573
5591
|
| | Spectrum | 60,006 | 14,720 | 12,834 |
|
|
5574
5592
|
| | Web Awesome | 115,313 | 28,720 | 24,391 |
|
|
5575
|
-
| \`dialog\` | **Helix** |
|
|
5593
|
+
| \`dialog\` | **Helix** | 54,029 | 17,813 | 16,004 |
|
|
5576
5594
|
| | Carbon | 510,751 | 66,753 | 39,054 |
|
|
5577
5595
|
| | Material Web | 34,234 | 11,327 | 10,171 |
|
|
5578
5596
|
| | Spectrum | 152,934 | 30,766 | 25,567 |
|
|
@@ -5582,23 +5600,23 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
5582
5600
|
| | Material Web | 41,029 | 13,048 | 11,659 |
|
|
5583
5601
|
| | Spectrum | 38,765 | 10,485 | 9,337 |
|
|
5584
5602
|
| | Web Awesome | 112,100 | 27,426 | 23,157 |
|
|
5585
|
-
| \`switch\` | **Helix** | 51,
|
|
5603
|
+
| \`switch\` | **Helix** | 51,624 | 16,919 | 15,202 |
|
|
5586
5604
|
| | Carbon | 69,388 | 16,861 | 14,710 |
|
|
5587
5605
|
| | Material Web | 50,129 | 14,355 | 12,869 |
|
|
5588
5606
|
| | Spectrum | 62,390 | 14,852 | 13,259 |
|
|
5589
5607
|
| | Web Awesome | 45,922 | 15,043 | 13,489 |
|
|
5590
|
-
| \`tabs\` | **Helix** |
|
|
5608
|
+
| \`tabs\` | **Helix** | 69,538 | 21,305 | 19,194 |
|
|
5591
5609
|
| | Carbon | 578,657 | 72,708 | 43,044 |
|
|
5592
5610
|
| | Material Web | 38,875 | 12,619 | 11,290 |
|
|
5593
5611
|
| | Spectrum | 64,371 | 17,857 | 16,004 |
|
|
5594
5612
|
| | Web Awesome | 153,457 | 37,241 | 31,779 |
|
|
5595
|
-
| \`tooltip\` | **Helix** | 69,419 | 23,
|
|
5613
|
+
| \`tooltip\` | **Helix** | 69,419 | 23,977 | 21,572 |
|
|
5596
5614
|
| | Carbon | 189,319 | 29,833 | 22,169 |
|
|
5597
5615
|
| | Material Web | | not shipped | |
|
|
5598
5616
|
| | Spectrum | 136,084 | 39,731 | 34,997 |
|
|
5599
5617
|
| | Web Awesome | 70,482 | 23,540 | 21,032 |
|
|
5600
5618
|
|
|
5601
|
-
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is tabs against Material Web, at
|
|
5619
|
+
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is tabs against Material Web, at 8,686 bytes gzipped. 15 of 27 peer measurements are smaller than the Helix row.
|
|
5602
5620
|
|
|
5603
5621
|
Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
5604
5622
|
|
|
@@ -5672,125 +5690,127 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
5672
5690
|
|
|
5673
5691
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5674
5692
|
|---|---|---|---|---|---|---|
|
|
5675
|
-
| \`accordion\` | 36,877 | 13,393 | 12,
|
|
5676
|
-
| \`announcement\` | 41,546 | 14,920 | 13,
|
|
5677
|
-
| \`app-header\` | 37,902 | 13,
|
|
5678
|
-
| \`area-chart\` | 111,993 | 38,
|
|
5679
|
-
| \`avatar\` | 36,061 | 13,
|
|
5680
|
-
| \`badge\` | 32,293 | 12,
|
|
5681
|
-
| \`bar-chart\` | 120,038 | 41,
|
|
5682
|
-
| \`blockquote\` | 28,886 | 10,
|
|
5683
|
-
| \`breadcrumbs\` | 42,286 | 15,
|
|
5684
|
-
| \`button\` | 41,734 | 14,
|
|
5685
|
-
| \`button-group\` | 32,755 | 11,
|
|
5686
|
-
| \`callout\` | 40,143 | 15,143 | 13,
|
|
5687
|
-
| \`canvas\` | 183,563 | 57,
|
|
5688
|
-
| \`card\` | 28,591 | 10,651 | 9,
|
|
5689
|
-
| \`carousel\` | 49,497 | 17,
|
|
5690
|
-
| \`chat\` |
|
|
5691
|
-
| \`checkbox\` | 46,004 | 15,
|
|
5692
|
-
| \`checkbox-group\` | 53,187 | 17,
|
|
5693
|
-
| \`code\` | 25,076 | 9,
|
|
5694
|
-
| \`code-block\` | 113,891 | 38,
|
|
5695
|
-
| \`code-editor\` | 102,
|
|
5696
|
-
| \`code-input\` | 65,943 | 22,614 | 20,
|
|
5697
|
-
| \`color-input\` | 150,046 | 47,
|
|
5698
|
-
| \`color-picker\` | 111,159 | 35,
|
|
5699
|
-
| \`column-manager\` |
|
|
5700
|
-
| \`combobox\` |
|
|
5701
|
-
| \`command\` | 131,823 | 41,
|
|
5702
|
-
| \`copy-button\` | 89,273 | 30,
|
|
5703
|
-
| \`data-table\` |
|
|
5704
|
-
| \`date-input\` |
|
|
5705
|
-
| \`date-picker\` | 67,
|
|
5706
|
-
| \`description-list\` | 27,672 | 10,
|
|
5707
|
-
| \`device-screen\` | 122,918 | 38,
|
|
5708
|
-
| \`dialog\` | 44,220 | 15,
|
|
5709
|
-
| \`divider\` | 28,131 | 10,
|
|
5710
|
-
| \`donut-chart\` | 105,451 | 36,
|
|
5711
|
-
| \`drawer\` | 48,845 | 17,
|
|
5712
|
-
| \`drilldown\` | 48,095 | 16,
|
|
5713
|
-
| \`editor\` |
|
|
5714
|
-
| \`empty\` | 29,214 | 10,
|
|
5715
|
-
| \`file-input\` |
|
|
5716
|
-
| \`filter-input\` |
|
|
5717
|
-
| \`find\` | 78,
|
|
5718
|
-
| \`format-date\` | 35,400 | 13,
|
|
5719
|
-
| \`graph\` | 148,
|
|
5720
|
-
| \`heatmap\` | 114,394 | 38,616 | 34,
|
|
5721
|
-
| \`
|
|
5722
|
-
| \`icon
|
|
5723
|
-
| \`
|
|
5724
|
-
| \`
|
|
5725
|
-
| \`
|
|
5726
|
-
| \`
|
|
5727
|
-
| \`
|
|
5728
|
-
| \`
|
|
5729
|
-
| \`
|
|
5730
|
-
| \`
|
|
5731
|
-
| \`
|
|
5732
|
-
| \`
|
|
5733
|
-
| \`
|
|
5734
|
-
| \`
|
|
5735
|
-
| \`
|
|
5736
|
-
| \`
|
|
5737
|
-
| \`
|
|
5738
|
-
| \`
|
|
5739
|
-
| \`
|
|
5740
|
-
| \`
|
|
5741
|
-
| \`
|
|
5742
|
-
| \`
|
|
5743
|
-
| \`
|
|
5744
|
-
| \`
|
|
5745
|
-
| \`
|
|
5746
|
-
| \`
|
|
5747
|
-
| \`
|
|
5748
|
-
| \`
|
|
5749
|
-
| \`
|
|
5750
|
-
| \`
|
|
5751
|
-
| \`
|
|
5752
|
-
| \`
|
|
5753
|
-
| \`
|
|
5754
|
-
| \`
|
|
5755
|
-
| \`
|
|
5756
|
-
| \`
|
|
5757
|
-
| \`
|
|
5758
|
-
| \`
|
|
5759
|
-
| \`
|
|
5760
|
-
| \`
|
|
5761
|
-
| \`
|
|
5762
|
-
| \`
|
|
5763
|
-
| \`
|
|
5764
|
-
| \`spatial-
|
|
5765
|
-
| \`spatial-
|
|
5766
|
-
| \`spatial-
|
|
5767
|
-
| \`spatial-
|
|
5768
|
-
| \`spatial-
|
|
5769
|
-
| \`
|
|
5770
|
-
| \`
|
|
5771
|
-
| \`
|
|
5772
|
-
| \`
|
|
5773
|
-
| \`
|
|
5774
|
-
| \`
|
|
5775
|
-
| \`table
|
|
5776
|
-
| \`
|
|
5777
|
-
| \`
|
|
5778
|
-
| \`
|
|
5779
|
-
| \`
|
|
5780
|
-
| \`
|
|
5781
|
-
| \`
|
|
5782
|
-
| \`
|
|
5783
|
-
| \`
|
|
5784
|
-
| \`
|
|
5785
|
-
| \`
|
|
5786
|
-
| \`
|
|
5787
|
-
| \`
|
|
5788
|
-
| \`
|
|
5789
|
-
| \`
|
|
5790
|
-
| \`
|
|
5791
|
-
| \`
|
|
5792
|
-
| \`
|
|
5793
|
-
| \`
|
|
5693
|
+
| \`accordion\` | 36,877 | 13,393 | 12,049 | 5,367 | 1,482 | 1,101 |
|
|
5694
|
+
| \`announcement\` | 41,546 | 14,920 | 13,473 | 4,742 | 1,426 | 896 |
|
|
5695
|
+
| \`app-header\` | 37,902 | 13,775 | 12,357 | 6,453 | 1,897 | 1,223 |
|
|
5696
|
+
| \`area-chart\` | 111,993 | 38,848 | 34,660 | 14,870 | 4,570 | 3,561 |
|
|
5697
|
+
| \`avatar\` | 36,061 | 13,460 | 12,165 | 3,982 | 1,192 | 742 |
|
|
5698
|
+
| \`badge\` | 32,293 | 12,238 | 11,055 | 2,943 | 845 | 559 |
|
|
5699
|
+
| \`bar-chart\` | 120,038 | 41,420 | 36,991 | 22,369 | 6,951 | 5,738 |
|
|
5700
|
+
| \`blockquote\` | 28,886 | 10,990 | 9,883 | 2,396 | 867 | 599 |
|
|
5701
|
+
| \`breadcrumbs\` | 42,286 | 15,771 | 14,258 | 7,908 | 2,517 | 1,911 |
|
|
5702
|
+
| \`button\` | 41,734 | 14,707 | 13,304 | 5,703 | 1,667 | 1,107 |
|
|
5703
|
+
| \`button-group\` | 32,755 | 11,980 | 10,788 | 4,899 | 1,429 | 889 |
|
|
5704
|
+
| \`callout\` | 40,143 | 15,143 | 13,614 | 2,877 | 959 | 630 |
|
|
5705
|
+
| \`canvas\` | 183,563 | 57,572 | 50,232 | 86,536 | 25,294 | 20,633 |
|
|
5706
|
+
| \`card\` | 28,591 | 10,651 | 9,599 | 2,076 | 608 | 224 |
|
|
5707
|
+
| \`carousel\` | 49,497 | 17,392 | 15,714 | 15,477 | 4,227 | 3,127 |
|
|
5708
|
+
| \`chat\` | 149,014 | 48,468 | 42,687 | 45,363 | 12,443 | 9,835 |
|
|
5709
|
+
| \`checkbox\` | 46,004 | 15,590 | 14,028 | 3,148 | 934 | 466 |
|
|
5710
|
+
| \`checkbox-group\` | 53,187 | 17,451 | 15,672 | 8,349 | 2,306 | 1,593 |
|
|
5711
|
+
| \`code\` | 25,076 | 9,625 | 8,660 | 136 | 58 | -112 |
|
|
5712
|
+
| \`code-block\` | 113,891 | 38,389 | 34,133 | 40,490 | 11,841 | 9,512 |
|
|
5713
|
+
| \`code-editor\` | 102,235 | 31,873 | 28,270 | 37,443 | 9,502 | 7,508 |
|
|
5714
|
+
| \`code-input\` | 65,943 | 22,614 | 20,274 | 10,556 | 3,404 | 2,569 |
|
|
5715
|
+
| \`color-input\` | 150,046 | 47,612 | 41,822 | 56,716 | 14,560 | 11,768 |
|
|
5716
|
+
| \`color-picker\` | 111,159 | 35,256 | 31,248 | 48,842 | 13,038 | 10,355 |
|
|
5717
|
+
| \`column-manager\` | 67,982 | 23,507 | 21,042 | 15,014 | 4,853 | 3,665 |
|
|
5718
|
+
| \`combobox\` | 160,384 | 50,995 | 44,840 | 41,162 | 10,564 | 8,321 |
|
|
5719
|
+
| \`command\` | 131,823 | 41,182 | 36,144 | 41,341 | 10,623 | 8,523 |
|
|
5720
|
+
| \`copy-button\` | 89,273 | 30,349 | 27,066 | 19,845 | 5,282 | 4,187 |
|
|
5721
|
+
| \`data-table\` | 410,356 | 119,365 | 99,212 | 228,402 | 59,348 | 45,871 |
|
|
5722
|
+
| \`date-input\` | 155,936 | 49,235 | 43,429 | 41,330 | 10,425 | 8,298 |
|
|
5723
|
+
| \`date-picker\` | 67,848 | 22,963 | 20,699 | 21,028 | 5,684 | 4,423 |
|
|
5724
|
+
| \`description-list\` | 27,672 | 10,350 | 9,314 | 1,556 | 470 | 133 |
|
|
5725
|
+
| \`device-screen\` | 122,918 | 38,747 | 34,330 | 45,893 | 11,329 | 8,772 |
|
|
5726
|
+
| \`dialog\` | 44,220 | 15,646 | 14,010 | 6,455 | 1,889 | 1,404 |
|
|
5727
|
+
| \`divider\` | 28,131 | 10,587 | 9,519 | 1,410 | 458 | 160 |
|
|
5728
|
+
| \`donut-chart\` | 105,451 | 36,159 | 32,336 | 15,656 | 4,717 | 3,751 |
|
|
5729
|
+
| \`drawer\` | 48,845 | 17,091 | 15,350 | 8,325 | 2,429 | 1,906 |
|
|
5730
|
+
| \`drilldown\` | 48,095 | 16,573 | 14,879 | 10,063 | 2,736 | 2,027 |
|
|
5731
|
+
| \`editor\` | 188,049 | 56,446 | 48,965 | 91,066 | 22,216 | 17,745 |
|
|
5732
|
+
| \`empty\` | 29,214 | 10,914 | 9,831 | 1,968 | 602 | 281 |
|
|
5733
|
+
| \`file-input\` | 71,384 | 24,690 | 22,130 | 15,513 | 5,044 | 3,870 |
|
|
5734
|
+
| \`filter-input\` | 122,638 | 40,886 | 36,311 | 25,236 | 7,113 | 5,544 |
|
|
5735
|
+
| \`find\` | 78,472 | 26,020 | 23,225 | 21,911 | 5,722 | 4,504 |
|
|
5736
|
+
| \`format-date\` | 35,400 | 13,006 | 11,723 | 4,469 | 1,241 | 853 |
|
|
5737
|
+
| \`graph\` | 148,997 | 46,896 | 40,881 | 40,034 | 10,982 | 8,608 |
|
|
5738
|
+
| \`heatmap\` | 114,394 | 38,616 | 34,450 | 19,877 | 5,781 | 4,510 |
|
|
5739
|
+
| \`hover-card\` | 58,111 | 21,014 | 18,937 | 3,475 | 973 | 732 |
|
|
5740
|
+
| \`icon\` | 111,446 | 37,465 | 31,939 | 79,598 | 26,590 | 21,514 |
|
|
5741
|
+
| \`icon-button\` | 41,843 | 14,751 | 13,320 | 5,810 | 1,684 | 1,275 |
|
|
5742
|
+
| \`image\` | 30,657 | 11,221 | 10,147 | 3,910 | 1,133 | 870 |
|
|
5743
|
+
| \`input\` | 62,697 | 21,428 | 19,144 | 7,538 | 2,368 | 1,535 |
|
|
5744
|
+
| \`kbd\` | 34,394 | 12,820 | 11,497 | 3,998 | 1,275 | 791 |
|
|
5745
|
+
| \`legend\` | 44,300 | 15,741 | 14,213 | 2,762 | 881 | 588 |
|
|
5746
|
+
| \`lightbox\` | 61,323 | 20,608 | 18,533 | 16,531 | 4,515 | 3,280 |
|
|
5747
|
+
| \`line-chart\` | 115,302 | 39,767 | 35,496 | 17,580 | 5,247 | 4,219 |
|
|
5748
|
+
| \`list\` | 73,753 | 25,287 | 22,515 | 16,341 | 4,587 | 3,555 |
|
|
5749
|
+
| \`listbox\` | 95,741 | 31,518 | 27,885 | 17,814 | 4,914 | 3,799 |
|
|
5750
|
+
| \`loader\` | 31,630 | 11,800 | 10,657 | 2,877 | 897 | 627 |
|
|
5751
|
+
| \`log\` | 90,337 | 30,181 | 27,097 | 40,569 | 12,496 | 10,286 |
|
|
5752
|
+
| \`map\` | 163,226 | 48,421 | 41,743 | 64,058 | 15,445 | 12,049 |
|
|
5753
|
+
| \`markdown\` | 151,740 | 50,130 | 44,306 | 65,796 | 20,446 | 16,683 |
|
|
5754
|
+
| \`megamenu\` | 67,580 | 24,167 | 21,575 | 9,535 | 2,628 | 1,842 |
|
|
5755
|
+
| \`menu\` | 107,411 | 35,115 | 31,316 | 33,424 | 8,643 | 6,876 |
|
|
5756
|
+
| \`meter\` | 40,854 | 14,978 | 13,521 | 6,964 | 2,017 | 1,536 |
|
|
5757
|
+
| \`motion-toggle\` | 30,594 | 11,665 | 10,488 | 1,508 | 498 | 282 |
|
|
5758
|
+
| \`navigation\` | 125,791 | 40,714 | 36,158 | 42,912 | 11,294 | 9,129 |
|
|
5759
|
+
| \`notifications\` | 70,025 | 23,658 | 21,223 | 19,019 | 5,223 | 4,015 |
|
|
5760
|
+
| \`number-input\` | 62,424 | 20,844 | 18,739 | 13,666 | 3,680 | 2,573 |
|
|
5761
|
+
| \`object-inspector\` | 124,600 | 41,419 | 36,694 | 37,109 | 10,548 | 8,335 |
|
|
5762
|
+
| \`option\` | 31,605 | 11,400 | 10,272 | 4,856 | 1,242 | 833 |
|
|
5763
|
+
| \`outline\` | 42,186 | 15,093 | 13,640 | 10,619 | 3,073 | 2,238 |
|
|
5764
|
+
| \`pagination\` | 167,587 | 52,931 | 46,124 | 51,477 | 13,134 | 10,266 |
|
|
5765
|
+
| \`pin-input\` | 53,098 | 18,341 | 16,524 | 7,186 | 2,337 | 1,637 |
|
|
5766
|
+
| \`popover\` | 69,738 | 24,589 | 22,024 | 6,502 | 1,822 | 1,276 |
|
|
5767
|
+
| \`progress\` | 35,205 | 13,062 | 11,783 | 3,634 | 1,087 | 723 |
|
|
5768
|
+
| \`qr-code\` | 47,814 | 18,177 | 16,407 | 16,971 | 6,177 | 5,136 |
|
|
5769
|
+
| \`quick-filters\` | 45,791 | 16,745 | 15,107 | 7,773 | 2,396 | 1,771 |
|
|
5770
|
+
| \`quote\` | 27,295 | 10,451 | 9,402 | 1,205 | 485 | 273 |
|
|
5771
|
+
| \`radio\` | 47,667 | 16,144 | 14,501 | 3,902 | 1,181 | 847 |
|
|
5772
|
+
| \`rating\` | 56,442 | 19,347 | 17,418 | 8,320 | 2,495 | 1,891 |
|
|
5773
|
+
| \`scatter-chart\` | 111,017 | 38,123 | 34,074 | 20,721 | 6,420 | 5,031 |
|
|
5774
|
+
| \`scroll-area\` | 36,012 | 12,877 | 11,595 | 9,029 | 2,679 | 2,017 |
|
|
5775
|
+
| \`select\` | 135,498 | 44,188 | 38,805 | 29,297 | 7,689 | 5,928 |
|
|
5776
|
+
| \`selection-bar\` | 32,831 | 12,482 | 11,257 | 2,369 | 682 | 383 |
|
|
5777
|
+
| \`shortcut-overlay\` | 55,763 | 19,648 | 17,589 | 12,350 | 3,695 | 2,836 |
|
|
5778
|
+
| \`skeleton\` | 27,249 | 10,306 | 9,299 | 1,130 | 423 | 199 |
|
|
5779
|
+
| \`skip-link\` | 28,857 | 10,948 | 9,858 | 1,334 | 469 | 203 |
|
|
5780
|
+
| \`slider\` | 59,389 | 19,879 | 17,954 | 13,669 | 3,840 | 2,954 |
|
|
5781
|
+
| \`sparkline\` | 54,703 | 19,498 | 17,604 | 7,137 | 2,378 | 1,613 |
|
|
5782
|
+
| \`spatial-bar-chart\` | 127,894 | 44,722 | 39,782 | 29,285 | 9,916 | 8,147 |
|
|
5783
|
+
| \`spatial-heatmap\` | 129,762 | 43,761 | 38,910 | 32,547 | 9,776 | 7,929 |
|
|
5784
|
+
| \`spatial-ribbon-chart\` | 118,924 | 41,429 | 36,854 | 22,333 | 7,438 | 5,939 |
|
|
5785
|
+
| \`spatial-scatter-chart\` | 117,001 | 40,668 | 36,281 | 20,467 | 6,641 | 5,268 |
|
|
5786
|
+
| \`spatial-surface-chart\` | 119,934 | 41,879 | 37,371 | 23,348 | 7,848 | 6,391 |
|
|
5787
|
+
| \`spatial-treemap\` | 121,037 | 42,466 | 37,850 | 22,753 | 7,709 | 6,227 |
|
|
5788
|
+
| \`speed-dial\` | 74,292 | 26,234 | 23,497 | 10,921 | 2,876 | 2,056 |
|
|
5789
|
+
| \`splitter\` | 51,089 | 17,444 | 15,779 | 16,157 | 4,295 | 3,493 |
|
|
5790
|
+
| \`stat\` | 35,926 | 13,323 | 11,991 | 6,395 | 2,089 | 1,554 |
|
|
5791
|
+
| \`steps\` | 60,608 | 20,904 | 18,722 | 14,559 | 4,065 | 3,310 |
|
|
5792
|
+
| \`switch\` | 44,969 | 15,421 | 13,848 | 1,839 | 632 | 229 |
|
|
5793
|
+
| \`table\` | 134,608 | 41,691 | 36,484 | 48,308 | 12,993 | 10,361 |
|
|
5794
|
+
| \`table-export\` | 69,338 | 22,460 | 20,121 | 16,983 | 4,513 | 3,402 |
|
|
5795
|
+
| \`tabs\` | 54,713 | 18,418 | 16,526 | 11,903 | 3,158 | 2,337 |
|
|
5796
|
+
| \`tag\` | 53,374 | 19,119 | 17,239 | 8,797 | 2,594 | 1,894 |
|
|
5797
|
+
| \`terminal\` | 142,096 | 44,743 | 39,508 | 53,960 | 13,299 | 10,680 |
|
|
5798
|
+
| \`textarea\` | 60,244 | 20,573 | 18,452 | 5,645 | 1,648 | 1,096 |
|
|
5799
|
+
| \`theme-toggle\` | 32,465 | 12,383 | 11,100 | 2,343 | 818 | 441 |
|
|
5800
|
+
| \`time-input\` | 197,226 | 61,458 | 53,280 | 54,252 | 13,740 | 10,917 |
|
|
5801
|
+
| \`time-picker\` | 119,198 | 37,523 | 33,085 | 36,995 | 9,655 | 7,659 |
|
|
5802
|
+
| \`timeline\` | 42,532 | 15,773 | 14,181 | 4,419 | 1,278 | 825 |
|
|
5803
|
+
| \`toast\` | 77,981 | 26,247 | 23,450 | 22,936 | 6,519 | 5,165 |
|
|
5804
|
+
| \`toggle\` | 53,465 | 17,680 | 15,943 | 6,384 | 1,847 | 1,285 |
|
|
5805
|
+
| \`toolbar\` | 37,481 | 13,587 | 12,236 | 1,406 | 465 | 228 |
|
|
5806
|
+
| \`tooltip\` | 65,278 | 23,081 | 20,782 | 8,865 | 2,432 | 1,834 |
|
|
5807
|
+
| \`tour\` | 91,077 | 30,852 | 27,571 | 21,117 | 5,704 | 4,391 |
|
|
5808
|
+
| \`tree\` | 96,745 | 30,832 | 27,403 | 22,938 | 6,178 | 4,869 |
|
|
5809
|
+
| \`trend\` | 36,847 | 14,045 | 12,644 | 3,486 | 1,114 | 714 |
|
|
5810
|
+
| \`video\` | 153,003 | 47,049 | 41,522 | 69,311 | 17,140 | 14,041 |
|
|
5811
|
+
| \`video-playlist\` | 138,374 | 44,182 | 39,058 | 46,672 | 11,963 | 9,622 |
|
|
5812
|
+
| \`view-panel\` | 69,542 | 23,063 | 20,618 | 16,220 | 4,586 | 3,401 |
|
|
5813
|
+
| \`virtual-list\` | 72,480 | 24,002 | 21,643 | 25,467 | 7,514 | 6,066 |
|
|
5794
5814
|
|
|
5795
5815
|
### Styled tier
|
|
5796
5816
|
|
|
@@ -5798,133 +5818,147 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
5798
5818
|
|
|
5799
5819
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5800
5820
|
|---|---|---|---|---|---|---|
|
|
5801
|
-
| \`accordion\` | 41,
|
|
5802
|
-
| \`announcement\` | 47,097 | 16,
|
|
5803
|
-
| \`app-header\` | 45,572 | 15,434 | 13,
|
|
5804
|
-
| \`area-chart\` |
|
|
5805
|
-
| \`aura\` | 65,616 | 22,
|
|
5806
|
-
| \`avatar\` |
|
|
5807
|
-
| \`badge\` | 38,
|
|
5808
|
-
| \`bar-chart\` | 141,119 | 45,614 | 40,
|
|
5809
|
-
| \`blockquote\` | 31,111 | 11,
|
|
5810
|
-
| \`breadcrumbs\` | 50,954 | 17,
|
|
5811
|
-
| \`button\` | 52,361 | 16,
|
|
5812
|
-
| \`button-group\` | 38,038 | 12,
|
|
5813
|
-
| \`callout\` |
|
|
5814
|
-
| \`canvas\` | 224,
|
|
5815
|
-
| \`card\` | 36,514 | 12,
|
|
5816
|
-
| \`carousel\` |
|
|
5817
|
-
| \`chat\` |
|
|
5818
|
-
| \`checkbox\` | 55,683 | 17,
|
|
5819
|
-
| \`checkbox-group\` | 63,661 | 19,
|
|
5820
|
-
| \`code\` | 25,945 | 9,
|
|
5821
|
-
| \`code-block\` | 146,
|
|
5822
|
-
| \`code-editor\` | 144,
|
|
5823
|
-
| \`code-input\` | 82,474 | 27,303 | 24,
|
|
5824
|
-
| \`color-input\` | 205,
|
|
5825
|
-
| \`color-picker\` | 158,
|
|
5826
|
-
| \`column-manager\` |
|
|
5827
|
-
| \`combobox\` |
|
|
5828
|
-
| \`command\` |
|
|
5829
|
-
| \`copy-button\` |
|
|
5830
|
-
| \`
|
|
5831
|
-
| \`
|
|
5832
|
-
| \`date-
|
|
5833
|
-
| \`
|
|
5834
|
-
| \`
|
|
5835
|
-
| \`
|
|
5836
|
-
| \`
|
|
5837
|
-
| \`
|
|
5838
|
-
| \`
|
|
5839
|
-
| \`
|
|
5840
|
-
| \`
|
|
5841
|
-
| \`
|
|
5842
|
-
| \`
|
|
5843
|
-
| \`
|
|
5844
|
-
| \`
|
|
5845
|
-
| \`
|
|
5846
|
-
| \`
|
|
5847
|
-
| \`
|
|
5848
|
-
| \`
|
|
5849
|
-
| \`
|
|
5850
|
-
| \`
|
|
5851
|
-
| \`
|
|
5852
|
-
| \`
|
|
5853
|
-
| \`
|
|
5854
|
-
| \`
|
|
5855
|
-
| \`
|
|
5856
|
-
| \`
|
|
5857
|
-
| \`
|
|
5858
|
-
| \`
|
|
5859
|
-
| \`
|
|
5860
|
-
| \`
|
|
5861
|
-
| \`
|
|
5862
|
-
| \`
|
|
5863
|
-
| \`
|
|
5864
|
-
| \`
|
|
5865
|
-
| \`
|
|
5866
|
-
| \`
|
|
5867
|
-
| \`
|
|
5868
|
-
| \`
|
|
5869
|
-
| \`
|
|
5870
|
-
| \`
|
|
5871
|
-
| \`
|
|
5872
|
-
| \`
|
|
5873
|
-
| \`
|
|
5874
|
-
| \`
|
|
5875
|
-
| \`
|
|
5876
|
-
| \`
|
|
5877
|
-
| \`
|
|
5878
|
-
| \`
|
|
5879
|
-
| \`
|
|
5880
|
-
| \`
|
|
5881
|
-
| \`
|
|
5882
|
-
| \`
|
|
5883
|
-
| \`
|
|
5884
|
-
| \`
|
|
5885
|
-
| \`
|
|
5886
|
-
| \`
|
|
5887
|
-
| \`
|
|
5888
|
-
| \`
|
|
5889
|
-
| \`
|
|
5890
|
-
| \`
|
|
5891
|
-
| \`
|
|
5892
|
-
| \`
|
|
5893
|
-
| \`
|
|
5894
|
-
| \`
|
|
5895
|
-
| \`
|
|
5896
|
-
| \`
|
|
5897
|
-
| \`
|
|
5898
|
-
| \`
|
|
5899
|
-
| \`
|
|
5900
|
-
| \`
|
|
5901
|
-
| \`
|
|
5902
|
-
| \`
|
|
5903
|
-
| \`
|
|
5904
|
-
| \`
|
|
5905
|
-
| \`
|
|
5906
|
-
| \`
|
|
5907
|
-
| \`
|
|
5908
|
-
| \`
|
|
5909
|
-
| \`
|
|
5910
|
-
| \`
|
|
5911
|
-
| \`
|
|
5912
|
-
| \`
|
|
5913
|
-
| \`
|
|
5914
|
-
| \`
|
|
5915
|
-
| \`
|
|
5916
|
-
| \`
|
|
5917
|
-
| \`
|
|
5918
|
-
| \`
|
|
5919
|
-
| \`
|
|
5920
|
-
| \`
|
|
5921
|
-
| \`
|
|
5922
|
-
| \`
|
|
5923
|
-
| \`
|
|
5924
|
-
| \`
|
|
5925
|
-
| \`
|
|
5926
|
-
| \`
|
|
5927
|
-
| \`
|
|
5821
|
+
| \`accordion\` | 41,510 | 14,530 | 13,090 | 9,990 | 2,647 | 1,958 |
|
|
5822
|
+
| \`announcement\` | 47,097 | 16,187 | 14,607 | 10,275 | 2,717 | 2,021 |
|
|
5823
|
+
| \`app-header\` | 45,572 | 15,434 | 13,902 | 14,105 | 3,567 | 2,729 |
|
|
5824
|
+
| \`area-chart\` | 126,026 | 41,821 | 37,277 | 28,895 | 7,603 | 6,040 |
|
|
5825
|
+
| \`aura\` | 65,616 | 22,120 | 19,781 | 33,344 | 10,022 | 8,238 |
|
|
5826
|
+
| \`avatar\` | 40,063 | 14,532 | 13,146 | 7,970 | 2,251 | 1,788 |
|
|
5827
|
+
| \`badge\` | 38,701 | 13,765 | 12,456 | 9,240 | 2,339 | 1,861 |
|
|
5828
|
+
| \`bar-chart\` | 141,119 | 45,614 | 40,552 | 43,440 | 11,230 | 9,229 |
|
|
5829
|
+
| \`blockquote\` | 31,111 | 11,527 | 10,347 | 4,604 | 1,396 | 1,120 |
|
|
5830
|
+
| \`breadcrumbs\` | 50,954 | 17,231 | 15,562 | 16,556 | 4,012 | 3,237 |
|
|
5831
|
+
| \`button\` | 52,361 | 16,623 | 15,021 | 16,310 | 3,605 | 2,810 |
|
|
5832
|
+
| \`button-group\` | 38,038 | 12,868 | 11,597 | 10,166 | 2,330 | 1,830 |
|
|
5833
|
+
| \`callout\` | 46,837 | 16,747 | 15,091 | 9,553 | 2,550 | 1,914 |
|
|
5834
|
+
| \`canvas\` | 224,296 | 63,715 | 55,641 | 127,253 | 31,699 | 26,148 |
|
|
5835
|
+
| \`card\` | 36,514 | 12,125 | 10,941 | 9,984 | 2,080 | 1,590 |
|
|
5836
|
+
| \`carousel\` | 62,025 | 19,456 | 17,633 | 27,983 | 6,345 | 4,966 |
|
|
5837
|
+
| \`chat\` | 193,556 | 57,729 | 50,627 | 86,856 | 20,812 | 16,880 |
|
|
5838
|
+
| \`checkbox\` | 55,683 | 17,531 | 15,779 | 12,817 | 2,931 | 2,204 |
|
|
5839
|
+
| \`checkbox-group\` | 63,661 | 19,547 | 17,557 | 18,814 | 4,471 | 3,464 |
|
|
5840
|
+
| \`code\` | 25,945 | 9,950 | 8,964 | 986 | 389 | 209 |
|
|
5841
|
+
| \`code-block\` | 146,508 | 43,117 | 38,308 | 73,082 | 16,523 | 13,612 |
|
|
5842
|
+
| \`code-editor\` | 144,717 | 37,730 | 33,281 | 79,914 | 15,336 | 12,513 |
|
|
5843
|
+
| \`code-input\` | 82,474 | 27,303 | 24,465 | 23,956 | 7,194 | 5,939 |
|
|
5844
|
+
| \`color-input\` | 205,486 | 55,468 | 48,583 | 112,139 | 22,592 | 18,447 |
|
|
5845
|
+
| \`color-picker\` | 158,576 | 41,964 | 37,111 | 96,249 | 19,886 | 16,264 |
|
|
5846
|
+
| \`column-manager\` | 81,429 | 26,090 | 23,364 | 28,444 | 7,473 | 5,890 |
|
|
5847
|
+
| \`combobox\` | 195,994 | 58,900 | 51,732 | 73,631 | 17,569 | 14,333 |
|
|
5848
|
+
| \`command\` | 167,359 | 49,559 | 43,383 | 73,499 | 18,004 | 14,727 |
|
|
5849
|
+
| \`copy-button\` | 109,103 | 33,330 | 29,770 | 39,655 | 8,409 | 6,760 |
|
|
5850
|
+
| \`cursor\` | 27,989 | 10,683 | 9,600 | 2,053 | 754 | 500 |
|
|
5851
|
+
| \`data-table\` | 533,830 | 139,447 | 115,419 | 348,840 | 78,657 | 61,497 |
|
|
5852
|
+
| \`date-input\` | 189,295 | 54,622 | 48,306 | 74,674 | 15,725 | 12,933 |
|
|
5853
|
+
| \`date-picker\` | 79,556 | 25,181 | 22,684 | 32,617 | 7,929 | 6,328 |
|
|
5854
|
+
| \`description-list\` | 30,670 | 11,090 | 10,003 | 4,543 | 1,213 | 835 |
|
|
5855
|
+
| \`device-screen\` | 148,336 | 42,863 | 37,885 | 71,288 | 15,313 | 12,282 |
|
|
5856
|
+
| \`dialog\` | 54,029 | 17,813 | 16,004 | 16,155 | 4,054 | 3,097 |
|
|
5857
|
+
| \`divider\` | 30,429 | 11,204 | 10,080 | 3,687 | 1,102 | 807 |
|
|
5858
|
+
| \`donut-chart\` | 122,821 | 39,596 | 35,391 | 33,010 | 8,218 | 6,684 |
|
|
5859
|
+
| \`drawer\` | 58,400 | 18,989 | 17,078 | 17,870 | 4,350 | 3,586 |
|
|
5860
|
+
| \`drilldown\` | 57,909 | 18,876 | 16,941 | 19,760 | 5,007 | 4,075 |
|
|
5861
|
+
| \`editor\` | 249,321 | 65,193 | 56,437 | 152,319 | 31,102 | 25,129 |
|
|
5862
|
+
| \`empty\` | 30,614 | 11,423 | 10,263 | 3,352 | 1,109 | 792 |
|
|
5863
|
+
| \`file-input\` | 86,167 | 27,617 | 24,739 | 30,277 | 8,019 | 6,507 |
|
|
5864
|
+
| \`filter-input\` | 149,557 | 47,386 | 42,016 | 49,012 | 12,759 | 10,545 |
|
|
5865
|
+
| \`find\` | 113,637 | 30,971 | 27,415 | 57,069 | 10,848 | 8,571 |
|
|
5866
|
+
| \`flex\` | 30,519 | 10,793 | 9,710 | 4,759 | 1,018 | 818 |
|
|
5867
|
+
| \`format-date\` | 35,654 | 13,113 | 11,832 | 4,705 | 1,370 | 1,009 |
|
|
5868
|
+
| \`graph\` | 184,037 | 52,004 | 45,311 | 75,052 | 15,987 | 13,035 |
|
|
5869
|
+
| \`grid\` | 31,969 | 11,470 | 10,340 | 5,652 | 1,444 | 1,254 |
|
|
5870
|
+
| \`heatmap\` | 127,484 | 41,517 | 36,960 | 32,947 | 8,687 | 6,888 |
|
|
5871
|
+
| \`highlighter\` | 26,591 | 10,136 | 9,121 | 1,535 | 528 | 323 |
|
|
5872
|
+
| \`hover-card\` | 60,918 | 21,689 | 19,474 | 6,271 | 1,665 | 1,216 |
|
|
5873
|
+
| \`icon\` | 113,500 | 38,075 | 32,504 | 81,470 | 27,104 | 21,885 |
|
|
5874
|
+
| \`icon-button\` | 55,726 | 16,806 | 15,140 | 19,677 | 3,808 | 2,963 |
|
|
5875
|
+
| \`image\` | 32,617 | 11,928 | 10,752 | 5,852 | 1,858 | 1,477 |
|
|
5876
|
+
| \`input\` | 82,510 | 26,675 | 23,753 | 24,206 | 6,705 | 5,273 |
|
|
5877
|
+
| \`kbd\` | 36,713 | 13,425 | 12,065 | 6,301 | 1,918 | 1,510 |
|
|
5878
|
+
| \`legend\` | 50,192 | 17,103 | 15,362 | 8,515 | 2,208 | 1,680 |
|
|
5879
|
+
| \`lightbox\` | 71,619 | 23,082 | 20,688 | 26,714 | 6,936 | 5,388 |
|
|
5880
|
+
| \`line-chart\` | 133,721 | 43,672 | 38,997 | 35,883 | 9,186 | 7,496 |
|
|
5881
|
+
| \`list\` | 84,876 | 27,858 | 24,857 | 27,442 | 7,157 | 5,545 |
|
|
5882
|
+
| \`listbox\` | 114,143 | 36,815 | 32,541 | 32,916 | 9,245 | 7,360 |
|
|
5883
|
+
| \`loader\` | 34,749 | 12,606 | 11,411 | 5,972 | 1,717 | 1,431 |
|
|
5884
|
+
| \`log\` | 109,581 | 33,850 | 30,366 | 59,325 | 15,958 | 13,579 |
|
|
5885
|
+
| \`magnetic\` | 28,349 | 10,637 | 9,567 | 1,289 | 400 | 137 |
|
|
5886
|
+
| \`map\` | 214,711 | 56,131 | 48,443 | 115,520 | 23,314 | 18,677 |
|
|
5887
|
+
| \`markdown\` | 200,936 | 57,612 | 50,739 | 114,981 | 27,986 | 23,011 |
|
|
5888
|
+
| \`marquee\` | 29,091 | 10,969 | 9,921 | 2,681 | 902 | 689 |
|
|
5889
|
+
| \`megamenu\` | 75,084 | 25,690 | 22,957 | 17,020 | 4,154 | 3,121 |
|
|
5890
|
+
| \`menu\` | 124,053 | 38,441 | 34,215 | 50,052 | 12,030 | 9,855 |
|
|
5891
|
+
| \`meter\` | 50,135 | 16,754 | 15,111 | 16,224 | 3,858 | 3,080 |
|
|
5892
|
+
| \`motion-toggle\` | 32,514 | 12,241 | 11,037 | 3,406 | 1,054 | 770 |
|
|
5893
|
+
| \`navigation\` | 151,210 | 45,217 | 40,133 | 68,321 | 15,710 | 13,042 |
|
|
5894
|
+
| \`notifications\` | 87,472 | 26,986 | 24,256 | 36,459 | 8,619 | 6,954 |
|
|
5895
|
+
| \`number-input\` | 72,908 | 22,960 | 20,665 | 24,129 | 5,827 | 4,585 |
|
|
5896
|
+
| \`object-inspector\` | 149,700 | 45,300 | 40,023 | 62,183 | 14,353 | 11,714 |
|
|
5897
|
+
| \`option\` | 36,517 | 12,742 | 11,502 | 9,766 | 2,580 | 2,113 |
|
|
5898
|
+
| \`orb\` | 41,074 | 15,298 | 13,826 | 10,032 | 3,644 | 2,947 |
|
|
5899
|
+
| \`outline\` | 48,868 | 16,522 | 14,946 | 17,285 | 4,520 | 3,443 |
|
|
5900
|
+
| \`pagination\` | 207,773 | 61,594 | 53,487 | 88,532 | 20,925 | 16,672 |
|
|
5901
|
+
| \`pattern\` | 38,679 | 13,930 | 12,582 | 12,357 | 3,816 | 3,198 |
|
|
5902
|
+
| \`pin-input\` | 56,789 | 19,335 | 17,458 | 10,858 | 3,354 | 2,554 |
|
|
5903
|
+
| \`popover\` | 75,869 | 25,975 | 23,248 | 12,518 | 3,229 | 2,508 |
|
|
5904
|
+
| \`progress\` | 42,580 | 14,721 | 13,284 | 10,992 | 2,735 | 2,276 |
|
|
5905
|
+
| \`qr-code\` | 49,514 | 18,685 | 16,919 | 18,653 | 6,702 | 5,552 |
|
|
5906
|
+
| \`quick-filters\` | 48,931 | 17,681 | 15,933 | 10,896 | 3,314 | 2,584 |
|
|
5907
|
+
| \`quote\` | 27,851 | 10,644 | 9,572 | 1,746 | 663 | 481 |
|
|
5908
|
+
| \`radio\` | 57,401 | 18,005 | 16,141 | 13,636 | 3,079 | 2,411 |
|
|
5909
|
+
| \`rating\` | 62,174 | 20,897 | 18,819 | 14,042 | 4,065 | 3,051 |
|
|
5910
|
+
| \`reveal\` | 26,361 | 9,981 | 9,003 | 1,305 | 376 | 201 |
|
|
5911
|
+
| \`rotating-text\` | 29,288 | 10,920 | 9,841 | 2,687 | 816 | 540 |
|
|
5912
|
+
| \`sandbox\` | 224,059 | 64,015 | 54,815 | 159,630 | 41,567 | 33,488 |
|
|
5913
|
+
| \`scatter-chart\` | 126,065 | 41,314 | 36,909 | 35,759 | 9,694 | 7,885 |
|
|
5914
|
+
| \`scroll-area\` | 43,992 | 14,263 | 12,859 | 16,992 | 4,112 | 3,167 |
|
|
5915
|
+
| \`scroll-progress\` | 28,153 | 10,613 | 9,523 | 2,389 | 796 | 517 |
|
|
5916
|
+
| \`select\` | 162,530 | 50,775 | 44,610 | 53,020 | 13,372 | 10,686 |
|
|
5917
|
+
| \`selection-bar\` | 35,103 | 13,297 | 11,972 | 4,529 | 1,446 | 1,015 |
|
|
5918
|
+
| \`shimmer-text\` | 26,928 | 10,190 | 9,181 | 1,500 | 467 | 330 |
|
|
5919
|
+
| \`shine\` | 28,286 | 10,665 | 9,600 | 2,052 | 682 | 436 |
|
|
5920
|
+
| \`shortcut-overlay\` | 67,617 | 22,184 | 19,907 | 24,082 | 6,202 | 4,986 |
|
|
5921
|
+
| \`skeleton\` | 35,927 | 12,782 | 11,538 | 9,619 | 2,737 | 2,177 |
|
|
5922
|
+
| \`skip-link\` | 30,427 | 11,452 | 10,269 | 2,889 | 967 | 595 |
|
|
5923
|
+
| \`slider\` | 77,267 | 22,528 | 20,330 | 31,522 | 6,557 | 5,361 |
|
|
5924
|
+
| \`sliding-number\` | 31,421 | 12,114 | 10,911 | 3,547 | 1,407 | 1,120 |
|
|
5925
|
+
| \`sparkline\` | 63,466 | 21,693 | 19,610 | 15,882 | 4,628 | 3,521 |
|
|
5926
|
+
| \`spatial-bar-chart\` | 144,372 | 48,091 | 42,782 | 45,742 | 13,173 | 11,071 |
|
|
5927
|
+
| \`spatial-heatmap\` | 144,531 | 46,949 | 41,731 | 47,289 | 12,940 | 10,610 |
|
|
5928
|
+
| \`spatial-ribbon-chart\` | 133,388 | 44,478 | 39,676 | 36,789 | 10,572 | 8,493 |
|
|
5929
|
+
| \`spatial-scatter-chart\` | 131,525 | 43,678 | 38,753 | 34,971 | 9,705 | 7,925 |
|
|
5930
|
+
| \`spatial-surface-chart\` | 133,262 | 44,728 | 39,853 | 36,656 | 10,769 | 8,726 |
|
|
5931
|
+
| \`spatial-treemap\` | 135,600 | 45,562 | 40,482 | 37,308 | 10,866 | 8,778 |
|
|
5932
|
+
| \`speed-dial\` | 82,327 | 27,807 | 24,929 | 18,933 | 4,458 | 3,534 |
|
|
5933
|
+
| \`splitter\` | 58,769 | 18,703 | 16,963 | 23,812 | 5,582 | 4,538 |
|
|
5934
|
+
| \`stat\` | 40,886 | 14,399 | 12,979 | 11,338 | 3,204 | 2,509 |
|
|
5935
|
+
| \`steps\` | 80,697 | 24,433 | 21,897 | 34,631 | 7,669 | 6,215 |
|
|
5936
|
+
| \`strands\` | 69,907 | 25,456 | 22,681 | 39,932 | 13,945 | 12,075 |
|
|
5937
|
+
| \`switch\` | 51,624 | 16,919 | 15,202 | 8,478 | 2,159 | 1,602 |
|
|
5938
|
+
| \`table\` | 163,170 | 46,509 | 40,799 | 76,869 | 17,893 | 14,727 |
|
|
5939
|
+
| \`table-export\` | 92,502 | 26,088 | 23,383 | 40,141 | 8,244 | 6,563 |
|
|
5940
|
+
| \`tabs\` | 69,538 | 21,305 | 19,194 | 26,609 | 6,070 | 4,765 |
|
|
5941
|
+
| \`tag\` | 59,925 | 20,608 | 18,573 | 15,340 | 4,063 | 3,212 |
|
|
5942
|
+
| \`terminal\` | 188,591 | 51,265 | 45,022 | 100,436 | 19,871 | 16,000 |
|
|
5943
|
+
| \`text\` | 33,565 | 11,573 | 10,388 | 7,248 | 1,489 | 1,108 |
|
|
5944
|
+
| \`textarea\` | 77,629 | 25,416 | 22,872 | 19,896 | 5,567 | 4,507 |
|
|
5945
|
+
| \`theme-toggle\` | 34,106 | 12,912 | 11,573 | 3,961 | 1,329 | 990 |
|
|
5946
|
+
| \`tilt\` | 28,304 | 10,651 | 9,572 | 1,244 | 412 | 296 |
|
|
5947
|
+
| \`time-input\` | 246,270 | 71,223 | 61,769 | 100,253 | 22,765 | 18,595 |
|
|
5948
|
+
| \`time-picker\` | 148,402 | 44,413 | 39,066 | 63,177 | 15,581 | 12,706 |
|
|
5949
|
+
| \`timeline\` | 49,559 | 17,278 | 15,525 | 11,437 | 2,765 | 2,174 |
|
|
5950
|
+
| \`toast\` | 98,678 | 29,879 | 26,643 | 43,622 | 10,262 | 8,363 |
|
|
5951
|
+
| \`toggle\` | 60,353 | 19,261 | 17,356 | 13,261 | 3,464 | 2,656 |
|
|
5952
|
+
| \`toolbar\` | 43,378 | 14,751 | 13,265 | 7,288 | 1,608 | 1,288 |
|
|
5953
|
+
| \`tooltip\` | 69,419 | 23,977 | 21,572 | 12,988 | 3,367 | 2,559 |
|
|
5954
|
+
| \`tour\` | 105,940 | 33,502 | 29,979 | 35,970 | 8,408 | 6,646 |
|
|
5955
|
+
| \`tree\` | 117,767 | 34,702 | 30,880 | 43,966 | 10,169 | 8,232 |
|
|
5956
|
+
| \`trend\` | 38,956 | 14,617 | 13,168 | 5,575 | 1,710 | 1,249 |
|
|
5957
|
+
| \`video\` | 181,706 | 52,159 | 46,045 | 97,996 | 22,454 | 18,505 |
|
|
5958
|
+
| \`video-playlist\` | 160,138 | 48,296 | 42,644 | 68,415 | 15,981 | 13,339 |
|
|
5959
|
+
| \`view-panel\` | 91,950 | 26,671 | 23,850 | 38,616 | 8,273 | 6,608 |
|
|
5960
|
+
| \`virtual-list\` | 74,559 | 24,536 | 22,167 | 27,531 | 8,011 | 6,701 |
|
|
5961
|
+
| \`voice-level\` | 38,486 | 14,100 | 12,735 | 7,529 | 2,464 | 1,979 |
|
|
5928
5962
|
|
|
5929
5963
|
## What an install adds to \`node_modules\`
|
|
5930
5964
|
|
|
@@ -5937,12 +5971,12 @@ without its whitespace, and the sizes count each one that way.
|
|
|
5937
5971
|
|
|
5938
5972
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
5939
5973
|
|---|---|---|---|---|
|
|
5940
|
-
| \`@fusion.dev/helix-core\` | 2,
|
|
5941
|
-
| \`@fusion.dev/helix-headless\` | 24,
|
|
5974
|
+
| \`@fusion.dev/helix-core\` | 2,383,815 | 513 | 905,002 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
5975
|
+
| \`@fusion.dev/helix-headless\` | 24,831,881 | 1,156 | 3,202,765 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
5942
5976
|
| \`@fusion.dev/helix-icons\` | 210,151 | 22 | 65,060 | \`svgo\` |
|
|
5943
|
-
| \`@fusion.dev/helix-styles\` |
|
|
5977
|
+
| \`@fusion.dev/helix-styles\` | 173,619 | 7 | 0 | none |
|
|
5944
5978
|
| \`@fusion.dev/helix-theme\` | 457,470 | 8 | 6,260 | none |
|
|
5945
|
-
| \`@fusion.dev/helix\` |
|
|
5979
|
+
| \`@fusion.dev/helix\` | 25,754,875 | 1,285 | 763,123 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
5946
5980
|
|
|
5947
5981
|
## Not measured yet
|
|
5948
5982
|
|
|
@@ -6101,15 +6135,130 @@ they settle.
|
|
|
6101
6135
|
A graph layout that runs past five seconds also offers its own button, in the
|
|
6102
6136
|
graph's frame, that stops it where the notes stand.
|
|
6103
6137
|
|
|
6138
|
+
## Rows, tags, and items that move
|
|
6139
|
+
|
|
6140
|
+
When you sort, add, remove, or hide the rows of a \`List\`, the tags of a
|
|
6141
|
+
\`Tag.Group\`, the items of a \`Tree\`, the rows of \`Notifications\`, or the entries
|
|
6142
|
+
of a \`Timeline\`, each one slides from where it was to where it is now. A tree's branch carries its rows with it. A \`Table\` or a Data
|
|
6143
|
+
Table that sorts moves its rows the same way, each row's cells together, and a
|
|
6144
|
+
Data Table needs \`row-key\` to know a row across the change. A row, a tag, or an
|
|
6145
|
+
item you add fades in. A list you render again with all new elements appears
|
|
6146
|
+
at once.
|
|
6147
|
+
|
|
6148
|
+
Each family times the move from two hooks of its own, which the styled tier
|
|
6149
|
+
sets from the tokens:
|
|
6150
|
+
|
|
6151
|
+
| Hook | Default |
|
|
6152
|
+
| --- | --- |
|
|
6153
|
+
| \`--list-move-duration\`, \`--tag-group-move-duration\`, \`--tree-move-duration\`, \`--table-move-duration\`, \`--data-table-move-duration\`, \`--notifications-move-duration\`, \`--timeline-move-duration\` | \`--helix-duration-normal\` |
|
|
6154
|
+
| \`--list-move-easing\`, \`--tag-group-move-easing\`, \`--tree-move-easing\`, \`--table-move-easing\`, \`--data-table-move-easing\`, \`--notifications-move-easing\`, \`--timeline-move-easing\` | \`--helix-easing-standard\` |
|
|
6155
|
+
|
|
6156
|
+
Set them on the element to change one list, or on a selector to change many:
|
|
6157
|
+
|
|
6158
|
+
\`\`\`css
|
|
6159
|
+
helix-list {
|
|
6160
|
+
--list-move-duration: 320ms;
|
|
6161
|
+
--list-move-easing: var(--helix-easing-spring);
|
|
6162
|
+
}
|
|
6163
|
+
\`\`\`
|
|
6164
|
+
|
|
6165
|
+
\`0ms\` turns the move off. The headless tier sets none of the hooks, so its
|
|
6166
|
+
rows do not move until you set them. With reduced motion set, nothing moves,
|
|
6167
|
+
even where a hook holds a duration of its own.
|
|
6168
|
+
|
|
6169
|
+
\`Toast\` makes room for a message and closes the gap after one in its own
|
|
6170
|
+
stylesheet, so its stack has no hooks of this kind.
|
|
6171
|
+
|
|
6172
|
+
## The wash under the pointer
|
|
6173
|
+
|
|
6174
|
+
In \`Navigation\` and \`Tabs\`, the hover wash is one shape that glides from item
|
|
6175
|
+
to item as a mouse or pen moves along the row, and fades out when the pointer
|
|
6176
|
+
leaves. It takes the place of each item's own wash, in the same color, from
|
|
6177
|
+
\`--navigation-item-hover-background-color\` or
|
|
6178
|
+
\`--tabs-tab-hover-background-color\`. Arriving from outside the row, it appears
|
|
6179
|
+
under the pointer without sliding. A touch draws no wash, and under reduced
|
|
6180
|
+
motion the wash moves at once.
|
|
6181
|
+
|
|
6182
|
+
## Figures that count
|
|
6183
|
+
|
|
6184
|
+
A new \`value\` on a \`Stat\` or a \`Trend\` counts to the new number from the one
|
|
6185
|
+
before. A screen reader reads only the new number. The count takes
|
|
6186
|
+
\`--stat-count-duration\` or \`--trend-count-duration\`, \`--helix-duration-slow\` by
|
|
6187
|
+
default, along \`--stat-count-easing\` or \`--trend-count-easing\`,
|
|
6188
|
+
\`--helix-easing-decelerate\` by default, so the figure slows as it arrives.
|
|
6189
|
+
\`0ms\` changes the figure at once, as reduced motion does. A figure you put in
|
|
6190
|
+
the slot changes at once.
|
|
6191
|
+
|
|
6192
|
+
The number a \`Progress\` or a \`Meter\` shows under \`show-value\` counts the same
|
|
6193
|
+
way, at the pace of the fill, from \`--progress-count-duration\` and
|
|
6194
|
+
\`--meter-count-duration\`, which the styled tier sets from the fill's own
|
|
6195
|
+
duration. A \`Badge\` whose count changes swells and settles over
|
|
6196
|
+
\`--badge-bump-duration\`.
|
|
6197
|
+
|
|
6198
|
+
## Charts that follow their readings
|
|
6199
|
+
|
|
6200
|
+
When a chart's readings change, its marks move from the old readings to the
|
|
6201
|
+
new: the bars of a \`Bar Chart\` and a \`Sparkline\`, the line and area of a
|
|
6202
|
+
\`Line Chart\`, an \`Area Chart\` and a \`Sparkline\`, the slices of a
|
|
6203
|
+
\`Donut Chart\`, and the points of a \`Scatter Chart\`. A \`Heatmap\` cell takes its
|
|
6204
|
+
new color the same way. Every move uses \`--helix-easing-decelerate\`, which
|
|
6205
|
+
never passes the value it is heading for, so no frame draws a reading the data
|
|
6206
|
+
does not hold. The mark on the end of a line rides with it. Safari does not
|
|
6207
|
+
transition a path's shape, so lines, areas, points, and the mark on a line's
|
|
6208
|
+
end there take their new place at once.
|
|
6209
|
+
|
|
6104
6210
|
## Starting styles and view transitions
|
|
6105
6211
|
|
|
6106
6212
|
Overlays use \`@starting-style\` to animate in. It sets a starting value and needs
|
|
6107
6213
|
no duration token of its own. The transition that runs from it uses the tokens
|
|
6108
6214
|
above.
|
|
6109
6215
|
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6216
|
+
Helix starts one view transition, when the page changes color mode. A view
|
|
6217
|
+
transition draws the whole document twice and runs between the two pictures,
|
|
6218
|
+
so a component that started one for its own sake would cancel the page's own,
|
|
6219
|
+
or have its own canceled. The color mode belongs to the whole document, so
|
|
6220
|
+
changing it is the one move that is the document's to make. \`Theme Toggle\` and
|
|
6221
|
+
\`setColorMode\` from \`@fusion.dev/helix-core\` spread the new mode in a circle
|
|
6222
|
+
from the button, wipe it across, or fade it, and change it at once under
|
|
6223
|
+
reduced motion. Any other view transition is yours to start from your own
|
|
6224
|
+
code, and the next section covers the one most sites want.
|
|
6225
|
+
|
|
6226
|
+
## Moving between pages
|
|
6227
|
+
|
|
6228
|
+
A site can move from one page to the next as a fade or a slide. Import the
|
|
6229
|
+
page transition sheet after \`helix.css\`, on every page that takes part:
|
|
6230
|
+
|
|
6231
|
+
\`\`\`css
|
|
6232
|
+
@import '@fusion.dev/helix-styles/helix.css';
|
|
6233
|
+
@import '@fusion.dev/helix-styles/page-transitions.css';
|
|
6234
|
+
\`\`\`
|
|
6235
|
+
|
|
6236
|
+
A link to another page on the same origin then fades the new page over the
|
|
6237
|
+
old one, with no script, in browsers with cross-document view transitions.
|
|
6238
|
+
Other browsers load the new page as before. The sheet stays out of \`helix.css\`
|
|
6239
|
+
because the rule that turns it on speaks for the whole document and cannot be
|
|
6240
|
+
scoped, so it is a site's choice to make. Under reduced motion the sheet turns
|
|
6241
|
+
nothing on.
|
|
6242
|
+
|
|
6243
|
+
For a slide, write \`data-page-transition="slide"\` on the \`html\` element of the
|
|
6244
|
+
page being arrived at. The new page comes in from the inline end and the old
|
|
6245
|
+
one leaves toward the inline start. \`slide-back\` travels the other way, for a
|
|
6246
|
+
step back, and right-to-left pages mirror both. The move takes
|
|
6247
|
+
\`--helix-duration-slow\`.
|
|
6248
|
+
|
|
6249
|
+
A router that changes the page in place, without loading a new document,
|
|
6250
|
+
calls \`changePage\` from \`@fusion.dev/helix-core\` around the change:
|
|
6251
|
+
|
|
6252
|
+
\`\`\`ts
|
|
6253
|
+
import { changePage } from '@fusion.dev/helix-core'
|
|
6254
|
+
|
|
6255
|
+
await changePage(() => router.show(next), { transition: 'slide' })
|
|
6256
|
+
\`\`\`
|
|
6257
|
+
|
|
6258
|
+
It names the way for the length of the move, changes the page at once under
|
|
6259
|
+
reduced motion or where the browser has no view transitions, and rejects
|
|
6260
|
+
where the change does. To keep a header still while the rest of the page
|
|
6261
|
+
moves, give it a \`view-transition-name\` of its own on every page.
|
|
6113
6262
|
`,
|
|
6114
6263
|
'other-frameworks': `---
|
|
6115
6264
|
description: The three rules for using Helix in any framework, and how each framework applies them.
|