@fusion.dev/helix-docs 0.246.0 → 0.247.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/content/metrics.mdx +285 -282
- package/content/motion.mdx +170 -10
- package/content/overlays.mdx +5 -2
- package/dist/pages.generated.js +1 -1
- package/dist/sources.generated.js +460 -294
- package/package.json +12 -12
|
@@ -5526,7 +5526,7 @@ on its own.
|
|
|
5526
5526
|
|
|
5527
5527
|
| | Raw | Gzip | Brotli |
|
|
5528
5528
|
|---|---|---|---|
|
|
5529
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
5529
|
+
| Lit and \`@fusion.dev/helix-core\` | 340,858 | 110,969 | 94,373 |
|
|
5530
5530
|
|
|
5531
5531
|
## Whole packages
|
|
5532
5532
|
|
|
@@ -5537,12 +5537,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
5537
5537
|
|
|
5538
5538
|
| Package | Raw | Gzip | Brotli | |
|
|
5539
5539
|
|---|---|---|---|---|
|
|
5540
|
-
| \`@fusion.dev/helix-core\` |
|
|
5541
|
-
| \`@fusion.dev/helix-headless\` | 1,
|
|
5540
|
+
| \`@fusion.dev/helix-core\` | 340,146 | 110,899 | 94,112 | The element base class, mixins, decorators, and floating positioning. |
|
|
5541
|
+
| \`@fusion.dev/helix-headless\` | 1,879,374 | 521,413 | 389,691 | Every headless family. The barrel entry includes all of them. |
|
|
5542
5542
|
| \`@fusion.dev/helix-icons\` | 80,639 | 26,001 | 21,273 | The whole glyph set. |
|
|
5543
5543
|
| \`@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. |
|
|
5544
5544
|
| \`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. |
|
|
5545
|
-
| \`@fusion.dev/helix\` | 2,
|
|
5545
|
+
| \`@fusion.dev/helix\` | 2,931,301 | 741,973 | 523,460 | Every styled family. |
|
|
5546
5546
|
| \`lit\` | 15,396 | 5,990 | 5,419 | Lit itself, listed so you can subtract it from every row above. |
|
|
5547
5547
|
|
|
5548
5548
|
## Stylesheets
|
|
@@ -5556,7 +5556,7 @@ shows the whole cost of using the base layer on its own.
|
|
|
5556
5556
|
| File | Raw | Gzip | Brotli | |
|
|
5557
5557
|
|---|---|---|---|---|
|
|
5558
5558
|
| \`base.css\` | 49,611 | 6,935 | 6,013 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
5559
|
-
| \`elements.css\` | 28,
|
|
5559
|
+
| \`elements.css\` | 28,206 | 3,927 | 3,411 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
5560
5560
|
| \`helix.css\` | 207 | 149 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
5561
5561
|
| \`page-transitions.css\` | 1,928 | 461 | 398 | Moves between the pages of a site. \`helix.css\` leaves it out, so a site opts in. |
|
|
5562
5562
|
| \`primitives.css\` | 11,525 | 1,974 | 1,702 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
@@ -5564,13 +5564,13 @@ shows the whole cost of using the base layer on its own.
|
|
|
5564
5564
|
|
|
5565
5565
|
## What the numbers say
|
|
5566
5566
|
|
|
5567
|
-
**Most of your first component is the shared runtime.** The median styled family is 21,
|
|
5567
|
+
**Most of your first component is the shared runtime.** The median styled family is 21,749 bytes gzipped alone, and it adds 4,645 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.
|
|
5568
5568
|
|
|
5569
|
-
Across the
|
|
5569
|
+
Across the 144 styled components, the smallest is \`code\` at 9,949 bytes gzipped alone, and the largest is \`data-table\` at 141,774. Every family together is 741,973.
|
|
5570
5570
|
|
|
5571
|
-
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
|
|
5571
|
+
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 521,413 bytes gzipped, whatever else the page imports. That is 24 times the median family above. All 144 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.
|
|
5572
5572
|
|
|
5573
|
-
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,
|
|
5573
|
+
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,432 bytes gzipped alone.
|
|
5574
5574
|
|
|
5575
5575
|
## Compared with other systems
|
|
5576
5576
|
|
|
@@ -5582,12 +5582,12 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
5582
5582
|
|
|
5583
5583
|
| Component | System | Raw | Gzip | Brotli |
|
|
5584
5584
|
|---|---|---|---|---|
|
|
5585
|
-
| \`button\` | **Helix** | 52,361 | 16,623 | 15,
|
|
5585
|
+
| \`button\` | **Helix** | 52,361 | 16,623 | 15,010 |
|
|
5586
5586
|
| | Carbon | 133,019 | 20,696 | 17,673 |
|
|
5587
5587
|
| | Material Web | 47,039 | 13,980 | 12,488 |
|
|
5588
5588
|
| | Spectrum | 98,861 | 21,731 | 18,547 |
|
|
5589
5589
|
| | Web Awesome | 136,082 | 34,015 | 28,815 |
|
|
5590
|
-
| \`checkbox\` | **Helix** | 55,683 | 17,
|
|
5590
|
+
| \`checkbox\` | **Helix** | 55,683 | 17,530 | 15,783 |
|
|
5591
5591
|
| | Carbon | 60,226 | 15,349 | 13,476 |
|
|
5592
5592
|
| | Material Web | 43,770 | 13,361 | 11,940 |
|
|
5593
5593
|
| | Spectrum | 60,006 | 14,720 | 12,834 |
|
|
@@ -5597,28 +5597,28 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
5597
5597
|
| | Material Web | 34,234 | 11,327 | 10,171 |
|
|
5598
5598
|
| | Spectrum | 152,934 | 30,766 | 25,567 |
|
|
5599
5599
|
| | Web Awesome | 148,696 | 36,894 | 31,476 |
|
|
5600
|
-
| \`radio\` | **Helix** | 57,401 | 18,004 | 16,
|
|
5600
|
+
| \`radio\` | **Helix** | 57,401 | 18,004 | 16,179 |
|
|
5601
5601
|
| | Carbon | 62,982 | 16,599 | 14,519 |
|
|
5602
5602
|
| | Material Web | 41,029 | 13,048 | 11,659 |
|
|
5603
5603
|
| | Spectrum | 38,765 | 10,485 | 9,337 |
|
|
5604
5604
|
| | Web Awesome | 112,100 | 27,426 | 23,157 |
|
|
5605
|
-
| \`switch\` | **Helix** | 51,624 | 16,
|
|
5605
|
+
| \`switch\` | **Helix** | 51,624 | 16,920 | 15,199 |
|
|
5606
5606
|
| | Carbon | 69,388 | 16,861 | 14,710 |
|
|
5607
5607
|
| | Material Web | 50,129 | 14,355 | 12,869 |
|
|
5608
5608
|
| | Spectrum | 62,390 | 14,852 | 13,259 |
|
|
5609
5609
|
| | Web Awesome | 45,922 | 15,043 | 13,489 |
|
|
5610
|
-
| \`tabs\` | **Helix** |
|
|
5610
|
+
| \`tabs\` | **Helix** | 72,153 | 21,808 | 19,613 |
|
|
5611
5611
|
| | Carbon | 578,657 | 72,708 | 43,044 |
|
|
5612
5612
|
| | Material Web | 38,875 | 12,619 | 11,290 |
|
|
5613
5613
|
| | Spectrum | 64,371 | 17,857 | 16,004 |
|
|
5614
5614
|
| | Web Awesome | 153,457 | 37,241 | 31,779 |
|
|
5615
|
-
| \`tooltip\` | **Helix** | 69,
|
|
5615
|
+
| \`tooltip\` | **Helix** | 69,569 | 23,995 | 21,547 |
|
|
5616
5616
|
| | Carbon | 189,319 | 29,833 | 22,169 |
|
|
5617
5617
|
| | Material Web | | not shipped | |
|
|
5618
5618
|
| | Spectrum | 136,084 | 39,731 | 34,997 |
|
|
5619
5619
|
| | Web Awesome | 70,482 | 23,540 | 21,032 |
|
|
5620
5620
|
|
|
5621
|
-
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
|
|
5621
|
+
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 9,189 bytes gzipped. 15 of 27 peer measurements are smaller than the Helix row.
|
|
5622
5622
|
|
|
5623
5623
|
Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
5624
5624
|
|
|
@@ -5692,127 +5692,127 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
5692
5692
|
|
|
5693
5693
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5694
5694
|
|---|---|---|---|---|---|---|
|
|
5695
|
-
| \`accordion\` | 36,877 | 13,393 | 12,
|
|
5696
|
-
| \`announcement\` | 41,546 | 14,920 | 13,
|
|
5697
|
-
| \`app-header\` | 37,902 | 13,
|
|
5698
|
-
| \`area-chart\` |
|
|
5699
|
-
| \`avatar\` | 36,061 | 13,461 | 12,
|
|
5700
|
-
| \`badge\` | 32,293 | 12,238 | 11,
|
|
5701
|
-
| \`bar-chart\` |
|
|
5702
|
-
| \`blockquote\` | 28,886 | 10,991 | 9,887 | 2,
|
|
5703
|
-
| \`breadcrumbs\` | 42,286 | 15,
|
|
5704
|
-
| \`button\` | 41,734 | 14,707 | 13,
|
|
5705
|
-
| \`button-group\` | 32,755 | 11,
|
|
5706
|
-
| \`callout\` | 40,143 | 15,
|
|
5707
|
-
| \`canvas\` | 183,563 | 57,572 | 50,
|
|
5708
|
-
| \`card\` | 28,591 | 10,
|
|
5709
|
-
| \`carousel\` | 49,497 | 17,
|
|
5710
|
-
| \`chat\` | 149,014 | 48,
|
|
5711
|
-
| \`checkbox\` | 46,004 | 15,
|
|
5712
|
-
| \`checkbox-group\` | 53,187 | 17,451 | 15,
|
|
5713
|
-
| \`code\` | 25,076 | 9,625 | 8,660 | 136 |
|
|
5714
|
-
| \`code-block\` | 113,891 | 38,390 | 34,
|
|
5715
|
-
| \`code-editor\` |
|
|
5716
|
-
| \`code-input\` | 65,943 | 22,616 | 20,
|
|
5717
|
-
| \`color-input\` | 150,046 | 47,613 | 41,
|
|
5718
|
-
| \`color-picker\` | 111,159 | 35,
|
|
5719
|
-
| \`column-manager\` | 67,982 | 23,505 | 21,
|
|
5720
|
-
| \`combobox\` | 160,384 | 50,
|
|
5721
|
-
| \`command\` | 131,823 | 41,
|
|
5722
|
-
| \`copy-button\` | 89,273 | 30,
|
|
5723
|
-
| \`data-table\` |
|
|
5724
|
-
| \`date-input\` | 155,936 | 49,
|
|
5725
|
-
| \`date-picker\` | 67,848 | 22,
|
|
5726
|
-
| \`description-list\` | 27,672 | 10,
|
|
5727
|
-
| \`device-screen\` | 122,918 | 38,
|
|
5728
|
-
| \`dialog\` | 44,220 | 15,647 | 14,
|
|
5729
|
-
| \`divider\` | 28,131 | 10,
|
|
5730
|
-
| \`donut-chart\` | 105,
|
|
5731
|
-
| \`drawer\` |
|
|
5732
|
-
| \`drilldown\` | 48,095 | 16,573 | 14,
|
|
5733
|
-
| \`editor\` |
|
|
5734
|
-
| \`empty\` | 29,214 | 10,
|
|
5735
|
-
| \`file-input\` | 71,384 | 24,
|
|
5736
|
-
| \`filter-input\` | 122,638 | 40,888 | 36,
|
|
5737
|
-
| \`find\` |
|
|
5738
|
-
| \`format-date\` | 35,400 | 13,006 | 11,
|
|
5739
|
-
| \`graph\` | 148,997 | 46,896 | 40,
|
|
5740
|
-
| \`heatmap\` |
|
|
5741
|
-
| \`hover-card\` | 58,111 | 21,
|
|
5742
|
-
| \`icon\` | 111,446 | 37,466 | 31,
|
|
5743
|
-
| \`icon-button\` | 41,843 | 14,752 | 13,
|
|
5744
|
-
| \`image\` | 30,657 | 11,222 | 10,
|
|
5745
|
-
| \`input\` | 62,697 | 21,
|
|
5746
|
-
| \`kbd\` | 34,394 | 12,
|
|
5747
|
-
| \`legend\` | 44,
|
|
5748
|
-
| \`lightbox\` | 61,
|
|
5749
|
-
| \`line-chart\` |
|
|
5750
|
-
| \`list\` | 73,753 | 25,
|
|
5751
|
-
| \`listbox\` | 95,741 | 31,
|
|
5752
|
-
| \`loader\` | 31,630 | 11,
|
|
5753
|
-
| \`log\` | 90,337 | 30,189 | 27,
|
|
5754
|
-
| \`map\` | 163,224 | 48,
|
|
5755
|
-
| \`markdown\` | 151,740 | 50,
|
|
5756
|
-
| \`megamenu\` | 67,580 | 24,168 | 21,
|
|
5757
|
-
| \`menu\` |
|
|
5758
|
-
| \`meter\` | 40,854 | 14,
|
|
5759
|
-
| \`motion-toggle\` | 30,594 | 11,
|
|
5760
|
-
| \`navigation\` |
|
|
5761
|
-
| \`notifications\` | 70,025 | 23,659 | 21,
|
|
5762
|
-
| \`number-input\` | 62,424 | 20,844 | 18,
|
|
5763
|
-
| \`object-inspector\` | 124,600 | 41,
|
|
5764
|
-
| \`option\` | 31,605 | 11,400 | 10,275 | 4,
|
|
5765
|
-
| \`outline\` | 42,
|
|
5766
|
-
| \`pagination\` | 167,
|
|
5767
|
-
| \`pin-input\` | 53,098 | 18,
|
|
5768
|
-
| \`popover\` | 69,738 | 24,590 | 22,
|
|
5769
|
-
| \`progress\` | 35,205 | 13,063 | 11,
|
|
5770
|
-
| \`qr-code\` | 47,814 | 18,
|
|
5771
|
-
| \`quick-filters\` | 45,791 | 16,
|
|
5772
|
-
| \`quote\` | 27,295 | 10,452 | 9,
|
|
5773
|
-
| \`radio\` | 47,667 | 16,
|
|
5774
|
-
| \`rating\` | 56,442 | 19,347 | 17,409 | 8,
|
|
5775
|
-
| \`scatter-chart\` |
|
|
5776
|
-
| \`scroll-area\` | 36,012 | 12,877 | 11,
|
|
5777
|
-
| \`select\` | 135,498 | 44,188 | 38,
|
|
5778
|
-
| \`selection-bar\` | 32,831 | 12,484 | 11,256 | 2,
|
|
5779
|
-
| \`shortcut-overlay\` | 55,763 | 19,
|
|
5780
|
-
| \`skeleton\` | 27,
|
|
5781
|
-
| \`skip-link\` | 28,857 | 10,950 | 9,861 | 1,
|
|
5782
|
-
| \`slider\` | 59,389 | 19,879 | 17,
|
|
5783
|
-
| \`sparkline\` |
|
|
5784
|
-
| \`spatial-bar-chart\` |
|
|
5785
|
-
| \`spatial-heatmap\` |
|
|
5786
|
-
| \`spatial-ribbon-chart\` | 127,
|
|
5787
|
-
| \`spatial-scatter-chart\` |
|
|
5788
|
-
| \`spatial-surface-chart\` | 127,
|
|
5789
|
-
| \`spatial-treemap\` | 129,
|
|
5790
|
-
| \`speed-dial\` | 74,292 | 26,
|
|
5791
|
-
| \`splitter\` | 51,089 | 17,
|
|
5792
|
-
| \`stat\` | 35,926 | 13,
|
|
5793
|
-
| \`steps\` | 60,608 | 20,
|
|
5794
|
-
| \`switch\` | 44,969 | 15,
|
|
5795
|
-
| \`table\` | 134,608 | 41,
|
|
5796
|
-
| \`table-export\` | 69,338 | 22,
|
|
5797
|
-
| \`tabs\` |
|
|
5798
|
-
| \`tag\` | 53,374 | 19,119 | 17,
|
|
5799
|
-
| \`terminal\` |
|
|
5800
|
-
| \`textarea\` | 60,244 | 20,573 | 18,
|
|
5801
|
-
| \`theme-toggle\` | 32,465 | 12,
|
|
5802
|
-
| \`time-input\` | 197,226 | 61,453 | 53,
|
|
5803
|
-
| \`time-picker\` | 119,198 | 37,
|
|
5804
|
-
| \`timeline\` | 42,532 | 15,774 | 14,
|
|
5805
|
-
| \`toast\` |
|
|
5806
|
-
| \`toggle\` |
|
|
5807
|
-
| \`toolbar\` |
|
|
5808
|
-
| \`tooltip\` | 65,278 | 23,
|
|
5809
|
-
| \`tour\` | 91,077 | 30,852 | 27,
|
|
5810
|
-
| \`tree\` | 96,745 | 30,
|
|
5811
|
-
| \`trend\` | 36,847 | 14,046 | 12,
|
|
5812
|
-
| \`video\` |
|
|
5813
|
-
| \`video-playlist\` |
|
|
5814
|
-
| \`view-panel\` | 69,542 | 23,
|
|
5815
|
-
| \`virtual-list\` | 72,480 | 24,003 | 21,
|
|
5695
|
+
| \`accordion\` | 36,877 | 13,393 | 12,053 | 5,368 | 1,580 | 1,145 |
|
|
5696
|
+
| \`announcement\` | 41,546 | 14,920 | 13,435 | 4,734 | 1,479 | 863 |
|
|
5697
|
+
| \`app-header\` | 37,902 | 13,773 | 12,358 | 6,448 | 1,895 | 1,315 |
|
|
5698
|
+
| \`area-chart\` | 115,371 | 40,084 | 35,751 | 15,444 | 4,649 | 3,817 |
|
|
5699
|
+
| \`avatar\` | 36,061 | 13,461 | 12,168 | 3,977 | 1,195 | 871 |
|
|
5700
|
+
| \`badge\` | 32,293 | 12,238 | 11,049 | 2,938 | 881 | 544 |
|
|
5701
|
+
| \`bar-chart\` | 123,901 | 42,850 | 38,237 | 23,608 | 7,279 | 6,024 |
|
|
5702
|
+
| \`blockquote\` | 28,886 | 10,991 | 9,887 | 2,393 | 871 | 591 |
|
|
5703
|
+
| \`breadcrumbs\` | 42,286 | 15,770 | 14,206 | 6,156 | 1,833 | 1,276 |
|
|
5704
|
+
| \`button\` | 41,734 | 14,707 | 13,294 | 5,710 | 1,710 | 1,137 |
|
|
5705
|
+
| \`button-group\` | 32,755 | 11,979 | 10,790 | 4,891 | 1,475 | 1,104 |
|
|
5706
|
+
| \`callout\` | 40,143 | 15,145 | 13,615 | 2,869 | 962 | 652 |
|
|
5707
|
+
| \`canvas\` | 183,563 | 57,572 | 50,214 | 86,550 | 25,423 | 20,697 |
|
|
5708
|
+
| \`card\` | 28,591 | 10,650 | 9,596 | 2,068 | 608 | 476 |
|
|
5709
|
+
| \`carousel\` | 49,497 | 17,382 | 15,705 | 15,483 | 4,135 | 3,198 |
|
|
5710
|
+
| \`chat\` | 149,014 | 48,470 | 42,745 | 43,610 | 11,650 | 9,382 |
|
|
5711
|
+
| \`checkbox\` | 46,004 | 15,590 | 14,032 | 3,148 | 969 | 530 |
|
|
5712
|
+
| \`checkbox-group\` | 53,187 | 17,451 | 15,654 | 8,339 | 2,319 | 1,642 |
|
|
5713
|
+
| \`code\` | 25,076 | 9,625 | 8,660 | 136 | 65 | -38 |
|
|
5714
|
+
| \`code-block\` | 113,891 | 38,390 | 34,134 | 40,499 | 11,835 | 9,642 |
|
|
5715
|
+
| \`code-editor\` | 107,695 | 33,428 | 29,616 | 37,894 | 9,510 | 7,547 |
|
|
5716
|
+
| \`code-input\` | 65,943 | 22,616 | 20,247 | 10,563 | 3,427 | 2,574 |
|
|
5717
|
+
| \`color-input\` | 150,046 | 47,613 | 41,776 | 56,679 | 14,564 | 11,789 |
|
|
5718
|
+
| \`color-picker\` | 111,159 | 35,253 | 31,225 | 48,806 | 12,962 | 10,323 |
|
|
5719
|
+
| \`column-manager\` | 67,982 | 23,505 | 21,013 | 13,262 | 4,037 | 3,135 |
|
|
5720
|
+
| \`combobox\` | 160,384 | 50,995 | 44,778 | 39,403 | 9,763 | 7,604 |
|
|
5721
|
+
| \`command\` | 131,823 | 41,182 | 36,138 | 41,354 | 10,526 | 8,422 |
|
|
5722
|
+
| \`copy-button\` | 89,273 | 30,348 | 27,060 | 19,859 | 5,208 | 4,234 |
|
|
5723
|
+
| \`data-table\` | 416,972 | 121,462 | 100,750 | 229,934 | 59,499 | 46,081 |
|
|
5724
|
+
| \`date-input\` | 155,936 | 49,237 | 43,477 | 39,572 | 9,634 | 7,683 |
|
|
5725
|
+
| \`date-picker\` | 67,848 | 22,963 | 20,732 | 21,032 | 5,542 | 4,401 |
|
|
5726
|
+
| \`description-list\` | 27,672 | 10,350 | 9,311 | 1,548 | 484 | 340 |
|
|
5727
|
+
| \`device-screen\` | 122,918 | 38,747 | 34,333 | 44,127 | 10,474 | 8,249 |
|
|
5728
|
+
| \`dialog\` | 44,220 | 15,647 | 14,027 | 6,453 | 1,951 | 1,417 |
|
|
5729
|
+
| \`divider\` | 28,131 | 10,586 | 9,507 | 1,404 | 489 | 305 |
|
|
5730
|
+
| \`donut-chart\` | 105,899 | 36,279 | 32,442 | 15,670 | 4,640 | 3,852 |
|
|
5731
|
+
| \`drawer\` | 55,376 | 19,348 | 17,317 | 9,828 | 2,818 | 2,109 |
|
|
5732
|
+
| \`drilldown\` | 48,095 | 16,573 | 14,903 | 10,064 | 2,715 | 1,989 |
|
|
5733
|
+
| \`editor\` | 194,725 | 58,188 | 50,491 | 92,757 | 22,631 | 18,184 |
|
|
5734
|
+
| \`empty\` | 29,214 | 10,913 | 9,835 | 1,968 | 646 | 446 |
|
|
5735
|
+
| \`file-input\` | 71,384 | 24,689 | 22,154 | 13,753 | 4,177 | 3,242 |
|
|
5736
|
+
| \`filter-input\` | 122,638 | 40,888 | 36,324 | 25,237 | 6,989 | 5,586 |
|
|
5737
|
+
| \`find\` | 83,724 | 27,566 | 24,566 | 22,156 | 5,633 | 4,504 |
|
|
5738
|
+
| \`format-date\` | 35,400 | 13,006 | 11,731 | 4,474 | 1,250 | 951 |
|
|
5739
|
+
| \`graph\` | 148,997 | 46,896 | 40,888 | 38,272 | 10,063 | 7,991 |
|
|
5740
|
+
| \`heatmap\` | 122,129 | 40,911 | 36,540 | 21,477 | 6,194 | 5,171 |
|
|
5741
|
+
| \`hover-card\` | 58,111 | 21,013 | 18,901 | 3,476 | 988 | 651 |
|
|
5742
|
+
| \`icon\` | 111,446 | 37,466 | 31,949 | 79,590 | 26,333 | 21,501 |
|
|
5743
|
+
| \`icon-button\` | 41,843 | 14,752 | 13,316 | 5,817 | 1,739 | 1,228 |
|
|
5744
|
+
| \`image\` | 30,657 | 11,222 | 10,119 | 3,911 | 1,144 | 860 |
|
|
5745
|
+
| \`input\` | 62,697 | 21,432 | 19,120 | 7,545 | 2,349 | 1,521 |
|
|
5746
|
+
| \`kbd\` | 34,394 | 12,822 | 11,500 | 3,996 | 1,298 | 946 |
|
|
5747
|
+
| \`legend\` | 44,375 | 15,768 | 14,242 | 2,757 | 934 | 580 |
|
|
5748
|
+
| \`lightbox\` | 61,666 | 20,717 | 18,592 | 16,538 | 4,413 | 3,375 |
|
|
5749
|
+
| \`line-chart\` | 119,351 | 41,159 | 36,767 | 18,817 | 5,460 | 4,606 |
|
|
5750
|
+
| \`list\` | 73,753 | 25,287 | 22,487 | 16,354 | 4,532 | 3,425 |
|
|
5751
|
+
| \`listbox\` | 95,741 | 31,520 | 27,877 | 17,825 | 4,807 | 3,713 |
|
|
5752
|
+
| \`loader\` | 31,630 | 11,801 | 10,649 | 2,869 | 942 | 649 |
|
|
5753
|
+
| \`log\` | 90,337 | 30,189 | 27,056 | 38,816 | 11,660 | 9,670 |
|
|
5754
|
+
| \`map\` | 163,224 | 48,419 | 41,772 | 62,302 | 14,766 | 11,446 |
|
|
5755
|
+
| \`markdown\` | 151,740 | 50,130 | 44,293 | 65,808 | 20,482 | 16,723 |
|
|
5756
|
+
| \`megamenu\` | 67,580 | 24,168 | 21,557 | 9,530 | 2,639 | 1,962 |
|
|
5757
|
+
| \`menu\` | 112,396 | 36,466 | 32,490 | 34,701 | 8,864 | 7,098 |
|
|
5758
|
+
| \`meter\` | 40,854 | 14,978 | 13,528 | 6,968 | 2,042 | 1,544 |
|
|
5759
|
+
| \`motion-toggle\` | 30,594 | 11,664 | 10,526 | 1,500 | 525 | 223 |
|
|
5760
|
+
| \`navigation\` | 127,222 | 41,046 | 36,406 | 44,220 | 11,530 | 9,336 |
|
|
5761
|
+
| \`notifications\` | 70,025 | 23,659 | 21,221 | 19,029 | 5,106 | 4,047 |
|
|
5762
|
+
| \`number-input\` | 62,424 | 20,844 | 18,758 | 13,668 | 3,651 | 2,663 |
|
|
5763
|
+
| \`object-inspector\` | 124,600 | 41,420 | 36,712 | 35,349 | 9,730 | 7,799 |
|
|
5764
|
+
| \`option\` | 31,605 | 11,400 | 10,275 | 4,863 | 1,263 | 827 |
|
|
5765
|
+
| \`outline\` | 42,198 | 15,100 | 13,639 | 10,609 | 3,063 | 2,319 |
|
|
5766
|
+
| \`pagination\` | 167,599 | 52,940 | 46,197 | 49,738 | 12,338 | 9,656 |
|
|
5767
|
+
| \`pin-input\` | 53,098 | 18,340 | 16,525 | 7,187 | 2,348 | 1,591 |
|
|
5768
|
+
| \`popover\` | 69,738 | 24,590 | 22,029 | 6,497 | 1,875 | 1,306 |
|
|
5769
|
+
| \`progress\` | 35,205 | 13,063 | 11,786 | 3,629 | 1,112 | 702 |
|
|
5770
|
+
| \`qr-code\` | 47,814 | 18,177 | 16,445 | 16,963 | 6,069 | 5,269 |
|
|
5771
|
+
| \`quick-filters\` | 45,791 | 16,746 | 15,120 | 7,771 | 2,395 | 1,789 |
|
|
5772
|
+
| \`quote\` | 27,295 | 10,452 | 9,384 | 1,199 | 497 | 251 |
|
|
5773
|
+
| \`radio\` | 47,667 | 16,145 | 14,511 | 3,900 | 1,204 | 766 |
|
|
5774
|
+
| \`rating\` | 56,442 | 19,347 | 17,409 | 8,322 | 2,519 | 1,760 |
|
|
5775
|
+
| \`scatter-chart\` | 113,511 | 39,093 | 34,839 | 21,002 | 6,365 | 5,274 |
|
|
5776
|
+
| \`scroll-area\` | 36,012 | 12,877 | 11,587 | 9,021 | 2,624 | 2,034 |
|
|
5777
|
+
| \`select\` | 135,498 | 44,188 | 38,871 | 29,299 | 7,543 | 5,883 |
|
|
5778
|
+
| \`selection-bar\` | 32,831 | 12,484 | 11,256 | 2,363 | 712 | 351 |
|
|
5779
|
+
| \`shortcut-overlay\` | 55,763 | 19,649 | 17,580 | 12,362 | 3,668 | 2,947 |
|
|
5780
|
+
| \`skeleton\` | 27,687 | 10,414 | 9,386 | 1,561 | 529 | 274 |
|
|
5781
|
+
| \`skip-link\` | 28,857 | 10,950 | 9,861 | 1,328 | 478 | 252 |
|
|
5782
|
+
| \`slider\` | 59,389 | 19,879 | 17,944 | 13,674 | 3,768 | 2,909 |
|
|
5783
|
+
| \`sparkline\` | 55,151 | 19,629 | 17,711 | 7,132 | 2,412 | 1,659 |
|
|
5784
|
+
| \`spatial-bar-chart\` | 134,246 | 46,780 | 41,562 | 29,350 | 9,978 | 8,334 |
|
|
5785
|
+
| \`spatial-heatmap\` | 138,138 | 46,220 | 41,095 | 34,806 | 10,501 | 8,472 |
|
|
5786
|
+
| \`spatial-ribbon-chart\` | 127,645 | 44,147 | 39,233 | 24,559 | 8,172 | 6,615 |
|
|
5787
|
+
| \`spatial-scatter-chart\` | 125,083 | 43,116 | 38,267 | 22,062 | 7,107 | 5,870 |
|
|
5788
|
+
| \`spatial-surface-chart\` | 127,932 | 44,276 | 39,307 | 24,947 | 8,305 | 6,846 |
|
|
5789
|
+
| \`spatial-treemap\` | 129,502 | 45,068 | 40,005 | 24,721 | 8,366 | 6,885 |
|
|
5790
|
+
| \`speed-dial\` | 74,292 | 26,233 | 23,472 | 10,923 | 2,865 | 2,186 |
|
|
5791
|
+
| \`splitter\` | 51,089 | 17,444 | 15,764 | 16,159 | 4,207 | 3,456 |
|
|
5792
|
+
| \`stat\` | 35,926 | 13,324 | 11,990 | 6,390 | 2,129 | 1,506 |
|
|
5793
|
+
| \`steps\` | 60,608 | 20,903 | 18,741 | 14,559 | 4,009 | 3,001 |
|
|
5794
|
+
| \`switch\` | 44,969 | 15,421 | 13,870 | 1,833 | 638 | 252 |
|
|
5795
|
+
| \`table\` | 134,608 | 41,692 | 36,511 | 48,314 | 12,945 | 10,267 |
|
|
5796
|
+
| \`table-export\` | 69,338 | 22,459 | 20,130 | 16,989 | 4,471 | 3,490 |
|
|
5797
|
+
| \`tabs\` | 56,320 | 18,802 | 16,871 | 12,133 | 3,155 | 2,382 |
|
|
5798
|
+
| \`tag\` | 53,374 | 19,119 | 17,224 | 8,804 | 2,580 | 1,780 |
|
|
5799
|
+
| \`terminal\` | 147,407 | 46,202 | 40,782 | 54,268 | 13,292 | 10,690 |
|
|
5800
|
+
| \`textarea\` | 60,244 | 20,573 | 18,490 | 5,640 | 1,684 | 1,181 |
|
|
5801
|
+
| \`theme-toggle\` | 32,465 | 12,383 | 11,098 | 2,335 | 814 | 545 |
|
|
5802
|
+
| \`time-input\` | 197,226 | 61,453 | 53,276 | 52,494 | 13,021 | 10,243 |
|
|
5803
|
+
| \`time-picker\` | 119,198 | 37,522 | 33,106 | 37,010 | 9,589 | 7,643 |
|
|
5804
|
+
| \`timeline\` | 42,532 | 15,774 | 14,231 | 4,420 | 1,308 | 880 |
|
|
5805
|
+
| \`toast\` | 82,697 | 28,014 | 24,983 | 22,626 | 6,241 | 5,100 |
|
|
5806
|
+
| \`toggle\` | 55,148 | 18,059 | 16,272 | 6,595 | 1,919 | 1,406 |
|
|
5807
|
+
| \`toolbar\` | 42,792 | 15,143 | 13,631 | 1,665 | 573 | 302 |
|
|
5808
|
+
| \`tooltip\` | 65,278 | 23,082 | 20,754 | 8,858 | 2,444 | 1,854 |
|
|
5809
|
+
| \`tour\` | 91,077 | 30,852 | 27,558 | 21,131 | 5,556 | 4,640 |
|
|
5810
|
+
| \`tree\` | 96,745 | 30,832 | 27,423 | 22,949 | 6,004 | 4,874 |
|
|
5811
|
+
| \`trend\` | 36,847 | 14,046 | 12,621 | 3,481 | 1,143 | 794 |
|
|
5812
|
+
| \`video\` | 158,055 | 48,428 | 42,718 | 70,650 | 17,473 | 14,218 |
|
|
5813
|
+
| \`video-playlist\` | 143,384 | 45,555 | 40,242 | 47,981 | 12,275 | 9,940 |
|
|
5814
|
+
| \`view-panel\` | 69,542 | 23,064 | 20,612 | 16,222 | 4,539 | 3,545 |
|
|
5815
|
+
| \`virtual-list\` | 72,480 | 24,003 | 21,654 | 25,473 | 7,400 | 6,195 |
|
|
5816
5816
|
|
|
5817
5817
|
### Styled tier
|
|
5818
5818
|
|
|
@@ -5820,147 +5820,150 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
5820
5820
|
|
|
5821
5821
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5822
5822
|
|---|---|---|---|---|---|---|
|
|
5823
|
-
| \`accordion\` | 41,510 | 14,530 | 13,
|
|
5824
|
-
| \`announcement\` | 47,097 | 16,
|
|
5825
|
-
| \`app-header\` | 45,572 | 15,
|
|
5826
|
-
| \`area-chart\` |
|
|
5827
|
-
| \`aura\` | 65,616 | 22,
|
|
5828
|
-
| \`avatar\` | 40,063 | 14,
|
|
5829
|
-
| \`badge\` | 38,701 | 13,765 | 12,429 | 9,
|
|
5830
|
-
| \`bar-chart\` |
|
|
5831
|
-
| \`blockquote\` | 31,111 | 11,
|
|
5832
|
-
| \`
|
|
5833
|
-
| \`
|
|
5834
|
-
| \`button
|
|
5835
|
-
| \`
|
|
5836
|
-
| \`
|
|
5837
|
-
| \`
|
|
5838
|
-
| \`
|
|
5839
|
-
| \`
|
|
5840
|
-
| \`
|
|
5841
|
-
| \`checkbox
|
|
5842
|
-
| \`
|
|
5843
|
-
| \`code
|
|
5844
|
-
| \`code-
|
|
5845
|
-
| \`code-
|
|
5846
|
-
| \`
|
|
5847
|
-
| \`color-
|
|
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
|
-
| \`
|
|
5928
|
-
| \`
|
|
5929
|
-
| \`
|
|
5930
|
-
| \`spatial-
|
|
5931
|
-
| \`spatial-
|
|
5932
|
-
| \`spatial-
|
|
5933
|
-
| \`spatial-
|
|
5934
|
-
| \`
|
|
5935
|
-
| \`
|
|
5936
|
-
| \`
|
|
5937
|
-
| \`
|
|
5938
|
-
| \`
|
|
5939
|
-
| \`
|
|
5940
|
-
| \`
|
|
5941
|
-
| \`
|
|
5942
|
-
| \`
|
|
5943
|
-
| \`
|
|
5944
|
-
| \`
|
|
5945
|
-
| \`
|
|
5946
|
-
| \`
|
|
5947
|
-
| \`
|
|
5948
|
-
| \`
|
|
5949
|
-
| \`
|
|
5950
|
-
| \`
|
|
5951
|
-
| \`
|
|
5952
|
-
| \`
|
|
5953
|
-
| \`
|
|
5954
|
-
| \`
|
|
5955
|
-
| \`
|
|
5956
|
-
| \`
|
|
5957
|
-
| \`
|
|
5958
|
-
| \`
|
|
5959
|
-
| \`
|
|
5960
|
-
| \`
|
|
5961
|
-
| \`
|
|
5962
|
-
| \`
|
|
5963
|
-
| \`
|
|
5823
|
+
| \`accordion\` | 41,510 | 14,530 | 13,065 | 9,997 | 2,645 | 2,150 |
|
|
5824
|
+
| \`announcement\` | 47,097 | 16,187 | 14,589 | 10,273 | 2,682 | 1,964 |
|
|
5825
|
+
| \`app-header\` | 45,572 | 15,436 | 13,879 | 14,106 | 3,456 | 2,840 |
|
|
5826
|
+
| \`area-chart\` | 131,999 | 43,359 | 38,551 | 32,052 | 7,975 | 6,439 |
|
|
5827
|
+
| \`aura\` | 65,616 | 22,107 | 19,749 | 33,351 | 9,868 | 8,327 |
|
|
5828
|
+
| \`avatar\` | 40,063 | 14,533 | 13,145 | 7,977 | 2,235 | 1,807 |
|
|
5829
|
+
| \`badge\` | 38,701 | 13,765 | 12,429 | 9,235 | 2,317 | 1,784 |
|
|
5830
|
+
| \`bar-chart\` | 147,699 | 47,308 | 42,147 | 47,393 | 11,863 | 9,669 |
|
|
5831
|
+
| \`blockquote\` | 31,111 | 11,526 | 10,343 | 4,605 | 1,441 | 1,035 |
|
|
5832
|
+
| \`border-beam\` | 29,910 | 11,306 | 10,196 | 3,581 | 1,257 | 908 |
|
|
5833
|
+
| \`breadcrumbs\` | 50,954 | 17,234 | 15,573 | 14,814 | 3,227 | 2,559 |
|
|
5834
|
+
| \`button\` | 52,361 | 16,623 | 15,010 | 16,311 | 3,520 | 2,850 |
|
|
5835
|
+
| \`button-group\` | 38,038 | 12,868 | 11,571 | 10,158 | 2,336 | 1,734 |
|
|
5836
|
+
| \`callout\` | 46,837 | 16,748 | 15,090 | 9,545 | 2,513 | 1,963 |
|
|
5837
|
+
| \`canvas\` | 224,446 | 63,732 | 55,621 | 127,418 | 31,843 | 26,145 |
|
|
5838
|
+
| \`card\` | 36,514 | 12,125 | 10,970 | 9,982 | 2,055 | 1,572 |
|
|
5839
|
+
| \`carousel\` | 62,025 | 19,455 | 17,615 | 27,989 | 6,142 | 5,052 |
|
|
5840
|
+
| \`chat\` | 193,863 | 57,806 | 50,719 | 85,403 | 20,181 | 16,365 |
|
|
5841
|
+
| \`checkbox\` | 55,683 | 17,530 | 15,783 | 12,815 | 2,856 | 2,203 |
|
|
5842
|
+
| \`checkbox-group\` | 63,661 | 19,548 | 17,559 | 18,818 | 4,342 | 3,384 |
|
|
5843
|
+
| \`code\` | 25,945 | 9,949 | 8,970 | 980 | 404 | 241 |
|
|
5844
|
+
| \`code-block\` | 146,658 | 43,129 | 38,257 | 73,244 | 16,716 | 13,606 |
|
|
5845
|
+
| \`code-editor\` | 151,203 | 39,507 | 34,812 | 81,405 | 15,729 | 12,711 |
|
|
5846
|
+
| \`code-input\` | 82,474 | 27,304 | 24,441 | 23,957 | 7,067 | 5,803 |
|
|
5847
|
+
| \`color-input\` | 205,486 | 55,472 | 48,643 | 112,114 | 22,487 | 18,441 |
|
|
5848
|
+
| \`color-picker\` | 158,576 | 41,965 | 37,099 | 96,218 | 19,792 | 16,159 |
|
|
5849
|
+
| \`column-manager\` | 81,429 | 26,088 | 23,351 | 26,702 | 6,517 | 5,306 |
|
|
5850
|
+
| \`combobox\` | 195,994 | 58,901 | 51,805 | 71,877 | 16,876 | 13,572 |
|
|
5851
|
+
| \`command\` | 167,359 | 49,559 | 43,426 | 73,501 | 18,086 | 14,745 |
|
|
5852
|
+
| \`confetti\` | 30,613 | 12,011 | 10,816 | 582 | 269 | 185 |
|
|
5853
|
+
| \`copy-button\` | 109,253 | 33,344 | 29,797 | 39,817 | 8,336 | 6,791 |
|
|
5854
|
+
| \`cursor\` | 27,989 | 10,683 | 9,608 | 2,051 | 737 | 516 |
|
|
5855
|
+
| \`data-table\` | 542,159 | 141,774 | 117,120 | 352,081 | 79,162 | 61,621 |
|
|
5856
|
+
| \`date-input\` | 189,295 | 54,622 | 48,237 | 72,919 | 15,147 | 12,449 |
|
|
5857
|
+
| \`date-picker\` | 79,556 | 25,179 | 22,691 | 32,617 | 7,771 | 6,263 |
|
|
5858
|
+
| \`description-list\` | 30,670 | 11,091 | 10,005 | 4,535 | 1,238 | 817 |
|
|
5859
|
+
| \`device-screen\` | 148,486 | 42,880 | 37,900 | 69,678 | 14,658 | 11,731 |
|
|
5860
|
+
| \`dialog\` | 54,029 | 17,811 | 15,994 | 16,151 | 3,939 | 3,199 |
|
|
5861
|
+
| \`divider\` | 30,429 | 11,204 | 10,081 | 3,685 | 1,108 | 707 |
|
|
5862
|
+
| \`donut-chart\` | 124,340 | 39,854 | 35,652 | 34,101 | 8,256 | 6,826 |
|
|
5863
|
+
| \`drawer\` | 65,224 | 21,291 | 19,132 | 19,658 | 4,661 | 3,843 |
|
|
5864
|
+
| \`drilldown\` | 58,217 | 19,010 | 17,070 | 19,466 | 4,751 | 3,777 |
|
|
5865
|
+
| \`editor\` | 258,572 | 67,233 | 58,223 | 156,586 | 31,807 | 25,759 |
|
|
5866
|
+
| \`empty\` | 30,614 | 11,425 | 10,263 | 3,350 | 1,125 | 750 |
|
|
5867
|
+
| \`file-input\` | 86,167 | 27,616 | 24,821 | 28,527 | 7,042 | 5,820 |
|
|
5868
|
+
| \`filter-input\` | 149,557 | 47,387 | 42,014 | 49,026 | 12,744 | 10,446 |
|
|
5869
|
+
| \`find\` | 119,912 | 32,657 | 28,904 | 58,348 | 10,942 | 8,692 |
|
|
5870
|
+
| \`flex\` | 30,519 | 10,794 | 9,735 | 4,757 | 1,010 | 690 |
|
|
5871
|
+
| \`format-date\` | 35,654 | 13,113 | 11,826 | 4,710 | 1,375 | 939 |
|
|
5872
|
+
| \`graph\` | 184,187 | 52,011 | 45,310 | 73,434 | 15,366 | 12,392 |
|
|
5873
|
+
| \`grid\` | 31,969 | 11,468 | 10,347 | 5,644 | 1,468 | 1,070 |
|
|
5874
|
+
| \`heatmap\` | 136,124 | 43,951 | 39,109 | 35,463 | 9,287 | 7,533 |
|
|
5875
|
+
| \`highlighter\` | 26,591 | 10,137 | 9,121 | 1,535 | 525 | 435 |
|
|
5876
|
+
| \`hover-card\` | 60,918 | 21,689 | 19,511 | 6,266 | 1,663 | 1,166 |
|
|
5877
|
+
| \`icon\` | 113,500 | 38,074 | 32,436 | 81,462 | 26,878 | 22,119 |
|
|
5878
|
+
| \`icon-button\` | 55,726 | 16,808 | 15,141 | 19,678 | 3,699 | 2,931 |
|
|
5879
|
+
| \`image\` | 32,617 | 11,928 | 10,778 | 5,859 | 1,867 | 1,347 |
|
|
5880
|
+
| \`input\` | 82,510 | 26,673 | 23,807 | 24,213 | 6,465 | 5,281 |
|
|
5881
|
+
| \`kbd\` | 36,713 | 13,425 | 12,086 | 6,299 | 1,915 | 1,411 |
|
|
5882
|
+
| \`legend\` | 50,267 | 17,130 | 15,403 | 8,516 | 2,221 | 1,609 |
|
|
5883
|
+
| \`lightbox\` | 71,962 | 23,181 | 20,813 | 26,721 | 6,786 | 5,426 |
|
|
5884
|
+
| \`line-chart\` | 141,826 | 45,452 | 40,481 | 41,185 | 9,891 | 8,026 |
|
|
5885
|
+
| \`list\` | 84,876 | 27,858 | 24,834 | 27,455 | 6,984 | 5,675 |
|
|
5886
|
+
| \`listbox\` | 114,143 | 36,816 | 32,485 | 32,920 | 9,171 | 7,282 |
|
|
5887
|
+
| \`loader\` | 34,749 | 12,607 | 11,416 | 5,970 | 1,742 | 1,253 |
|
|
5888
|
+
| \`log\` | 109,581 | 33,850 | 30,440 | 57,570 | 15,272 | 12,911 |
|
|
5889
|
+
| \`magnetic\` | 28,349 | 10,637 | 9,562 | 1,289 | 414 | 207 |
|
|
5890
|
+
| \`map\` | 214,861 | 56,145 | 48,420 | 113,933 | 22,573 | 18,080 |
|
|
5891
|
+
| \`markdown\` | 201,086 | 57,630 | 50,758 | 115,147 | 28,030 | 22,945 |
|
|
5892
|
+
| \`marquee\` | 29,091 | 10,969 | 9,895 | 2,681 | 891 | 610 |
|
|
5893
|
+
| \`megamenu\` | 75,084 | 25,691 | 22,968 | 17,023 | 4,069 | 3,156 |
|
|
5894
|
+
| \`menu\` | 130,588 | 39,967 | 35,580 | 52,884 | 12,471 | 10,231 |
|
|
5895
|
+
| \`meter\` | 50,135 | 16,756 | 15,114 | 16,228 | 3,747 | 3,046 |
|
|
5896
|
+
| \`motion-toggle\` | 32,514 | 12,240 | 10,991 | 3,402 | 1,083 | 822 |
|
|
5897
|
+
| \`navigation\` | 154,191 | 45,647 | 40,568 | 71,184 | 16,214 | 13,360 |
|
|
5898
|
+
| \`notifications\` | 87,472 | 26,988 | 24,254 | 36,471 | 8,555 | 6,923 |
|
|
5899
|
+
| \`number-input\` | 72,908 | 22,959 | 20,637 | 24,133 | 5,679 | 4,593 |
|
|
5900
|
+
| \`object-inspector\` | 149,850 | 45,315 | 40,079 | 60,573 | 13,738 | 11,172 |
|
|
5901
|
+
| \`option\` | 36,517 | 12,740 | 11,495 | 9,769 | 2,583 | 2,108 |
|
|
5902
|
+
| \`orb\` | 42,161 | 15,667 | 14,148 | 11,115 | 3,936 | 3,359 |
|
|
5903
|
+
| \`outline\` | 48,880 | 16,528 | 14,923 | 17,283 | 4,422 | 3,459 |
|
|
5904
|
+
| \`pagination\` | 207,785 | 61,602 | 53,580 | 86,782 | 20,146 | 16,056 |
|
|
5905
|
+
| \`pattern\` | 38,679 | 13,932 | 12,556 | 12,355 | 3,680 | 3,058 |
|
|
5906
|
+
| \`pin-input\` | 56,789 | 19,335 | 17,416 | 10,865 | 3,335 | 2,624 |
|
|
5907
|
+
| \`popover\` | 75,869 | 25,976 | 23,287 | 12,525 | 3,118 | 2,364 |
|
|
5908
|
+
| \`progress\` | 42,580 | 14,721 | 13,279 | 10,999 | 2,717 | 2,092 |
|
|
5909
|
+
| \`qr-code\` | 49,514 | 18,685 | 16,845 | 18,645 | 6,597 | 5,492 |
|
|
5910
|
+
| \`quick-filters\` | 48,931 | 17,681 | 15,906 | 10,905 | 3,270 | 2,602 |
|
|
5911
|
+
| \`quote\` | 27,851 | 10,644 | 9,568 | 1,738 | 666 | 506 |
|
|
5912
|
+
| \`radio\` | 57,401 | 18,004 | 16,179 | 13,634 | 3,025 | 2,437 |
|
|
5913
|
+
| \`rating\` | 62,174 | 20,895 | 18,792 | 14,037 | 3,953 | 3,064 |
|
|
5914
|
+
| \`reveal\` | 26,361 | 9,982 | 8,989 | 1,305 | 393 | 376 |
|
|
5915
|
+
| \`rotating-text\` | 29,571 | 11,032 | 9,910 | 2,969 | 911 | 528 |
|
|
5916
|
+
| \`sandbox\` | 224,059 | 64,017 | 54,842 | 157,889 | 40,755 | 32,846 |
|
|
5917
|
+
| \`scatter-chart\` | 129,817 | 42,459 | 37,849 | 37,297 | 9,872 | 8,002 |
|
|
5918
|
+
| \`scroll-area\` | 43,992 | 14,264 | 12,845 | 16,990 | 3,979 | 3,186 |
|
|
5919
|
+
| \`scroll-progress\` | 28,153 | 10,614 | 9,539 | 2,383 | 778 | 454 |
|
|
5920
|
+
| \`select\` | 162,530 | 50,775 | 44,628 | 53,029 | 13,324 | 10,656 |
|
|
5921
|
+
| \`selection-bar\` | 35,103 | 13,297 | 11,975 | 4,521 | 1,460 | 1,071 |
|
|
5922
|
+
| \`shimmer-text\` | 26,928 | 10,190 | 9,177 | 1,500 | 465 | 233 |
|
|
5923
|
+
| \`shine\` | 28,286 | 10,665 | 9,600 | 2,052 | 672 | 418 |
|
|
5924
|
+
| \`shortcut-overlay\` | 67,617 | 22,186 | 19,893 | 24,095 | 5,962 | 4,876 |
|
|
5925
|
+
| \`skeleton\` | 40,016 | 13,920 | 12,591 | 12,991 | 3,537 | 2,892 |
|
|
5926
|
+
| \`skip-link\` | 30,427 | 11,452 | 10,274 | 2,881 | 987 | 656 |
|
|
5927
|
+
| \`slider\` | 77,267 | 22,528 | 20,344 | 31,527 | 6,329 | 5,167 |
|
|
5928
|
+
| \`sliding-number\` | 31,421 | 12,114 | 10,903 | 1,781 | 680 | 547 |
|
|
5929
|
+
| \`sparkline\` | 65,554 | 21,971 | 19,837 | 17,530 | 4,629 | 3,737 |
|
|
5930
|
+
| \`spatial-bar-chart\` | 151,129 | 50,200 | 44,579 | 46,235 | 13,440 | 11,189 |
|
|
5931
|
+
| \`spatial-heatmap\` | 153,309 | 49,478 | 44,001 | 49,954 | 13,778 | 11,337 |
|
|
5932
|
+
| \`spatial-ribbon-chart\` | 142,523 | 47,307 | 42,043 | 39,422 | 11,326 | 9,184 |
|
|
5933
|
+
| \`spatial-scatter-chart\` | 140,021 | 46,197 | 41,008 | 36,986 | 10,236 | 8,257 |
|
|
5934
|
+
| \`spatial-surface-chart\` | 141,674 | 47,235 | 41,896 | 38,673 | 11,280 | 9,275 |
|
|
5935
|
+
| \`spatial-treemap\` | 144,467 | 48,218 | 42,742 | 39,676 | 11,520 | 9,416 |
|
|
5936
|
+
| \`speed-dial\` | 82,327 | 27,802 | 24,922 | 18,948 | 4,398 | 3,610 |
|
|
5937
|
+
| \`splitter\` | 58,769 | 18,704 | 16,907 | 23,814 | 5,416 | 4,557 |
|
|
5938
|
+
| \`spotlight\` | 29,078 | 10,875 | 9,759 | 2,018 | 617 | 377 |
|
|
5939
|
+
| \`stat\` | 40,886 | 14,398 | 13,027 | 11,333 | 3,128 | 2,528 |
|
|
5940
|
+
| \`steps\` | 80,697 | 24,435 | 21,912 | 34,643 | 7,515 | 6,159 |
|
|
5941
|
+
| \`strands\` | 69,907 | 25,457 | 22,707 | 39,936 | 14,046 | 11,969 |
|
|
5942
|
+
| \`switch\` | 51,624 | 16,920 | 15,199 | 8,470 | 2,113 | 1,484 |
|
|
5943
|
+
| \`table\` | 163,170 | 46,510 | 40,837 | 76,876 | 17,966 | 14,430 |
|
|
5944
|
+
| \`table-export\` | 92,502 | 26,088 | 23,369 | 40,149 | 8,073 | 6,615 |
|
|
5945
|
+
| \`tabs\` | 72,153 | 21,808 | 19,613 | 27,844 | 5,969 | 5,001 |
|
|
5946
|
+
| \`tag\` | 59,925 | 20,607 | 18,572 | 15,347 | 3,954 | 3,100 |
|
|
5947
|
+
| \`terminal\` | 195,077 | 52,933 | 46,448 | 101,930 | 20,120 | 16,255 |
|
|
5948
|
+
| \`text\` | 33,565 | 11,574 | 10,385 | 7,243 | 1,498 | 1,089 |
|
|
5949
|
+
| \`textarea\` | 77,629 | 25,414 | 22,858 | 19,893 | 5,402 | 4,453 |
|
|
5950
|
+
| \`theme-toggle\` | 34,106 | 12,911 | 11,561 | 3,959 | 1,361 | 968 |
|
|
5951
|
+
| \`tilt\` | 28,304 | 10,652 | 9,570 | 1,244 | 430 | 190 |
|
|
5952
|
+
| \`time-input\` | 246,270 | 71,223 | 61,843 | 98,508 | 22,019 | 17,899 |
|
|
5953
|
+
| \`time-picker\` | 148,402 | 44,411 | 39,105 | 63,193 | 15,708 | 12,737 |
|
|
5954
|
+
| \`timeline\` | 49,559 | 17,263 | 15,547 | 11,444 | 2,783 | 2,153 |
|
|
5955
|
+
| \`toast\` | 103,688 | 31,604 | 28,239 | 43,603 | 10,009 | 8,218 |
|
|
5956
|
+
| \`toggle\` | 63,041 | 19,750 | 17,809 | 14,493 | 3,537 | 2,792 |
|
|
5957
|
+
| \`toolbar\` | 49,716 | 16,586 | 14,860 | 8,571 | 1,952 | 1,459 |
|
|
5958
|
+
| \`tooltip\` | 69,569 | 23,995 | 21,547 | 13,139 | 3,345 | 2,612 |
|
|
5959
|
+
| \`tour\` | 105,940 | 33,502 | 29,966 | 35,974 | 8,267 | 6,585 |
|
|
5960
|
+
| \`tree\` | 117,767 | 34,708 | 30,937 | 43,973 | 10,095 | 8,320 |
|
|
5961
|
+
| \`trend\` | 38,956 | 14,618 | 13,165 | 5,576 | 1,721 | 1,312 |
|
|
5962
|
+
| \`video\` | 188,308 | 53,717 | 47,388 | 100,891 | 22,866 | 18,941 |
|
|
5963
|
+
| \`video-playlist\` | 166,703 | 49,870 | 44,103 | 71,288 | 16,617 | 13,766 |
|
|
5964
|
+
| \`view-panel\` | 91,950 | 26,670 | 23,855 | 38,624 | 8,125 | 6,627 |
|
|
5965
|
+
| \`virtual-list\` | 74,561 | 24,543 | 22,146 | 27,535 | 7,940 | 6,626 |
|
|
5966
|
+
| \`voice-level\` | 38,486 | 14,099 | 12,740 | 7,521 | 2,492 | 1,927 |
|
|
5964
5967
|
|
|
5965
5968
|
## What an install adds to \`node_modules\`
|
|
5966
5969
|
|
|
@@ -5973,12 +5976,12 @@ without its whitespace, and the sizes count each one that way.
|
|
|
5973
5976
|
|
|
5974
5977
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
5975
5978
|
|---|---|---|---|---|
|
|
5976
|
-
| \`@fusion.dev/helix-core\` | 2,
|
|
5977
|
-
| \`@fusion.dev/helix-headless\` |
|
|
5979
|
+
| \`@fusion.dev/helix-core\` | 2,536,259 | 539 | 982,042 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
5980
|
+
| \`@fusion.dev/helix-headless\` | 25,082,616 | 1,158 | 3,248,853 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
5978
5981
|
| \`@fusion.dev/helix-icons\` | 210,151 | 22 | 65,060 | \`svgo\` |
|
|
5979
|
-
| \`@fusion.dev/helix-styles\` | 173,
|
|
5982
|
+
| \`@fusion.dev/helix-styles\` | 173,786 | 7 | 0 | none |
|
|
5980
5983
|
| \`@fusion.dev/helix-theme\` | 457,470 | 8 | 6,260 | none |
|
|
5981
|
-
| \`@fusion.dev/helix\` |
|
|
5984
|
+
| \`@fusion.dev/helix\` | 26,194,612 | 1,311 | 786,347 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
5982
5985
|
|
|
5983
5986
|
## Not measured yet
|
|
5984
5987
|
|
|
@@ -5990,7 +5993,7 @@ We list these gaps so you know what the numbers above leave out.
|
|
|
5990
5993
|
- **No per-component stylesheet bytes.** Each family's CSS is compiled into its JavaScript, so every number above already includes it. \`elements.css\` is the light-DOM layer, and it is in the stylesheet table.
|
|
5991
5994
|
`,
|
|
5992
5995
|
motion: `---
|
|
5993
|
-
description: The duration and easing tokens, how components handle reduced motion, and the functions that move your own elements.
|
|
5996
|
+
description: The duration and easing tokens, how components handle reduced motion, the effects, and the functions that move your own elements.
|
|
5994
5997
|
section: Foundations
|
|
5995
5998
|
title: Motion
|
|
5996
5999
|
---
|
|
@@ -6094,6 +6097,7 @@ Anything that moves continuously without input stops completely:
|
|
|
6094
6097
|
- The aura shader
|
|
6095
6098
|
- Marquees
|
|
6096
6099
|
- The pulse loader
|
|
6100
|
+
- The light on a \`Border Beam\`, whose edge is then lit steadily
|
|
6097
6101
|
|
|
6098
6102
|
The turning \`Loader\` slows to one turn every four seconds. A loader that stops
|
|
6099
6103
|
looks broken, and the turn still shows that work is in progress. The pending
|
|
@@ -6175,13 +6179,60 @@ stylesheet, so its stack has no hooks of this kind.
|
|
|
6175
6179
|
|
|
6176
6180
|
## The wash under the pointer
|
|
6177
6181
|
|
|
6178
|
-
In \`Navigation\` and \`
|
|
6179
|
-
to item as a mouse or pen moves along the row, and fades out
|
|
6180
|
-
leaves. It takes the place of each item's own wash, in the
|
|
6181
|
-
\`--navigation-item-hover-background-color
|
|
6182
|
-
\`--tabs-tab-hover-background-color
|
|
6183
|
-
|
|
6184
|
-
|
|
6182
|
+
In \`Navigation\`, \`Tabs\`, and \`Toggle Group\`, the hover wash is one shape that
|
|
6183
|
+
glides from item to item as a mouse or pen moves along the row, and fades out
|
|
6184
|
+
when the pointer leaves. It takes the place of each item's own wash, in the
|
|
6185
|
+
same color, from \`--navigation-item-hover-background-color\`,
|
|
6186
|
+
\`--tabs-tab-hover-background-color\`, or
|
|
6187
|
+
\`--toggle-group-hover-background-color\`. Arriving from outside the row, it
|
|
6188
|
+
appears under the pointer without sliding. A touch draws no wash, and under
|
|
6189
|
+
reduced motion the wash moves at once.
|
|
6190
|
+
|
|
6191
|
+
In \`Menu\`, the wash marks the row with focus, so it glides as the pointer or
|
|
6192
|
+
the arrow keys move focus, and holds while the pointer crosses a divider. It
|
|
6193
|
+
reads \`--menu-item-hover-background-color\`, and a \`danger\` row keeps its own
|
|
6194
|
+
hue. A submenu that opens beside its row lights its own rows.
|
|
6195
|
+
|
|
6196
|
+
## Focus that travels
|
|
6197
|
+
|
|
6198
|
+
In \`Toolbar\`, \`Tabs\`, and \`Toggle Group\`, the focus ring is one ring that
|
|
6199
|
+
travels from control to control as the arrow keys move focus, so the eye can
|
|
6200
|
+
follow it along the strip. It is each control's own ring, with its corners and
|
|
6201
|
+
its offset, and it shows at full strength in the frame focus arrives. It
|
|
6202
|
+
follows only focus that shows, so a click draws none. Under reduced motion it
|
|
6203
|
+
moves at once, and under forced colors each control draws its own system ring.
|
|
6204
|
+
|
|
6205
|
+
## Loading that ends in place
|
|
6206
|
+
|
|
6207
|
+
A \`Skeleton\` around content crossfades to it when you take \`loading\` off. The
|
|
6208
|
+
placeholder fades out as the content fades in, in the same place, and the
|
|
6209
|
+
box's height moves from the placeholder's to the content's over the same beat,
|
|
6210
|
+
so nothing below it jumps. Setting \`loading\` again crossfades back. Where the
|
|
6211
|
+
content is not on the page until it loads, draw the placeholder yourself in
|
|
6212
|
+
the skeleton's \`placeholder\` slot, laid out as the content will be, and put the
|
|
6213
|
+
skeleton inside the card that holds it so the card's edge moves with the box.
|
|
6214
|
+
The move takes \`--skeleton-reveal-duration\`, \`--helix-duration-slow\` by
|
|
6215
|
+
default, along \`--skeleton-reveal-easing\`, \`--helix-easing-standard\` by
|
|
6216
|
+
default, and \`0ms\` turns it off. Under reduced motion the height changes at
|
|
6217
|
+
once and the two sides crossfade over \`--helix-duration-fade\`.
|
|
6218
|
+
|
|
6219
|
+
## Swipes that carry through
|
|
6220
|
+
|
|
6221
|
+
A touch or a pen drags a \`Toast\` toward the edge its stack sits at, and a
|
|
6222
|
+
\`Drawer\` toward the edge it came from. The surface follows the finger, and past
|
|
6223
|
+
its open end it gives less and less. On release it keeps the speed it had. A
|
|
6224
|
+
quick flick dismisses from any distance and carries the surface off the window
|
|
6225
|
+
at that speed. A slow drag past halfway dismisses too, and the surface gathers
|
|
6226
|
+
pace as it goes. A shorter drag springs back to rest along
|
|
6227
|
+
\`--helix-easing-spring\`, with its speed carried in. A dismissal goes through
|
|
6228
|
+
the component's own close, so a page that cancels \`helix-before-close\` or
|
|
6229
|
+
\`helix-dismiss\` sends the surface back to rest. While a drag and its release
|
|
6230
|
+
run, the component has \`:state(dragging)\`, and a drawer's backdrop fades with
|
|
6231
|
+
\`--drawer-drag-progress\`. Under reduced motion the surface still follows the
|
|
6232
|
+
finger, and then goes or returns at once. \`--drawer-release-duration\` and
|
|
6233
|
+
\`--toast-release-duration\` set the longest a release takes, and \`0ms\` ends it
|
|
6234
|
+
at once. \`DragDismissController\` in \`@fusion.dev/helix-core\` gives a component
|
|
6235
|
+
of your own the same gesture.
|
|
6185
6236
|
|
|
6186
6237
|
## Figures that count
|
|
6187
6238
|
|
|
@@ -6211,6 +6262,36 @@ does not hold. The mark on the end of a line rides with it. Safari does not
|
|
|
6211
6262
|
transition a path's shape, so lines, areas, points, and the mark on a line's
|
|
6212
6263
|
end there take their new place at once.
|
|
6213
6264
|
|
|
6265
|
+
Set \`--chart-move-duration\` and \`--chart-move-easing\` on a chart, or on an
|
|
6266
|
+
element that holds several, to change how long the move takes and its curve.
|
|
6267
|
+
They default to \`--helix-duration-normal\` and \`--helix-easing-decelerate\`, and
|
|
6268
|
+
\`0s\` turns the move off. A \`Line Chart\` drawing its line on and an
|
|
6269
|
+
\`Area Chart\` fading its wash in take 1.6 times the duration, as they take the
|
|
6270
|
+
slow token beside the normal one, so \`0s\` stops them too. Under reduced
|
|
6271
|
+
motion the marks take their new place at once, whatever duration you set.
|
|
6272
|
+
|
|
6273
|
+
As you move across a chart with the pointer or the arrow keys, what marks the
|
|
6274
|
+
reading glides from one reading to the next: the guide and the band of a
|
|
6275
|
+
\`Line Chart\`, an \`Area Chart\`, and a \`Bar Chart\`, the dot and its words on a
|
|
6276
|
+
\`Sparkline\`, and the tooltip of every chart. The glide takes
|
|
6277
|
+
\`--chart-glide-duration\`, \`--helix-duration-fast\` by default, along
|
|
6278
|
+
\`--helix-easing-decelerate\`, and \`0s\` places them at once. When the pointer
|
|
6279
|
+
arrives from outside the chart, or the keys reach it, each is placed on its
|
|
6280
|
+
reading at once. The tooltip shows the new reading's words as it starts to
|
|
6281
|
+
move.
|
|
6282
|
+
|
|
6283
|
+
When a \`Legend\` with \`toggles\` hides a series, the series fades out where it
|
|
6284
|
+
stood over \`--chart-move-duration\`. A \`Bar Chart\`'s columns shrink to the
|
|
6285
|
+
baseline, a stacked segment shrinks to nothing where it stood, an
|
|
6286
|
+
\`Area Chart\`'s band closes, and a \`Donut Chart\` closes its ring over the slice. The
|
|
6287
|
+
marks left and the value axis move to fit what is shown: a number that stays on
|
|
6288
|
+
the axis moves to its new level with its rule, a new number fades in, and a
|
|
6289
|
+
number the new scale drops fades out. A series shown again fades in and grows
|
|
6290
|
+
back. The chart's summary and table say what is shown at once. In Safari, a
|
|
6291
|
+
\`Line Chart\` and an \`Area Chart\` take the new scale at once with their lines,
|
|
6292
|
+
and a hidden series still fades. Under reduced motion the reading's marks and a
|
|
6293
|
+
hidden series take their new place at once.
|
|
6294
|
+
|
|
6214
6295
|
## 3D charts that grow in and follow their readings
|
|
6215
6296
|
|
|
6216
6297
|
The 3D charts draw their own marks, in SVG and through three.js, so their
|
|
@@ -6297,20 +6378,75 @@ reduced motion or where the browser has no view transitions, and rejects
|
|
|
6297
6378
|
where the change does. To keep a header still while the rest of the page
|
|
6298
6379
|
moves, give it a \`view-transition-name\` of its own on every page.
|
|
6299
6380
|
|
|
6381
|
+
## Effects
|
|
6382
|
+
|
|
6383
|
+
These families exist for their motion. Put your content inside one, or place
|
|
6384
|
+
it on the page. Each one respects reduced motion, and each that runs by itself
|
|
6385
|
+
stops while \`Motion Toggle\` has paused the page.
|
|
6386
|
+
|
|
6387
|
+
Light that draws the eye:
|
|
6388
|
+
|
|
6389
|
+
- [Shine](/helix/components/shine) sweeps a band of light across an action.
|
|
6390
|
+
- [Border Beam](/helix/components/border-beam) sends a light around the edge
|
|
6391
|
+
of something running or live.
|
|
6392
|
+
- [Shimmer Text](/helix/components/shimmer-text) sweeps a light across words
|
|
6393
|
+
while the work they name runs.
|
|
6394
|
+
|
|
6395
|
+
Following the pointer:
|
|
6396
|
+
|
|
6397
|
+
- [Spotlight](/helix/components/spotlight) lights the content and the edge
|
|
6398
|
+
nearest the pointer.
|
|
6399
|
+
- [Tilt](/helix/components/tilt) leans content toward the pointer.
|
|
6400
|
+
- [Magnetic](/helix/components/magnetic) draws content a little way toward
|
|
6401
|
+
the pointer.
|
|
6402
|
+
|
|
6403
|
+
Arriving:
|
|
6404
|
+
|
|
6405
|
+
- [Reveal](/helix/components/reveal) brings content in as it scrolls into
|
|
6406
|
+
view.
|
|
6407
|
+
- [Highlighter](/helix/components/highlighter) marks words as they come into
|
|
6408
|
+
view.
|
|
6409
|
+
- [Confetti](/helix/components/confetti) bursts once an action has finished.
|
|
6410
|
+
|
|
6411
|
+
Words and figures:
|
|
6412
|
+
|
|
6413
|
+
- [Rotating Text](/helix/components/rotating-text) turns one word in a line
|
|
6414
|
+
through others.
|
|
6415
|
+
- [Sliding Number](/helix/components/sliding-number) rolls each digit to a new
|
|
6416
|
+
value.
|
|
6417
|
+
|
|
6418
|
+
Backgrounds and the page:
|
|
6419
|
+
|
|
6420
|
+
- [Aura](/helix/components/aura) drifts light in the theme's colors.
|
|
6421
|
+
- [Strands](/helix/components/strands) draws a ribbon of fine strands of light.
|
|
6422
|
+
- [Pattern](/helix/components/pattern) draws hexagons, stars, or contour lines.
|
|
6423
|
+
- [Marquee](/helix/components/marquee) scrolls a row round and round.
|
|
6424
|
+
- [Scroll Progress](/helix/components/scroll-progress) fills a bar as the page
|
|
6425
|
+
scrolls.
|
|
6426
|
+
- [Theme Toggle](/helix/components/theme-toggle) spreads the new color mode
|
|
6427
|
+
from the button.
|
|
6428
|
+
- [Cursor](/helix/components/cursor) shows another person's pointer on a
|
|
6429
|
+
shared surface.
|
|
6430
|
+
|
|
6300
6431
|
## Motion on your own elements
|
|
6301
6432
|
|
|
6302
|
-
|
|
6433
|
+
Seven functions in \`@fusion.dev/helix-core\` give elements you write yourself
|
|
6303
6434
|
the motion Helix's own families have, with no component around them:
|
|
6304
6435
|
|
|
6305
6436
|
- \`moveItems\` slides the items of a list to their new places.
|
|
6306
6437
|
- \`trackIndicator\` sends one mark from item to item.
|
|
6307
6438
|
- \`countTo\` counts a figure to a new number.
|
|
6308
6439
|
- \`followPointer\` writes where a mouse or pen is over an element.
|
|
6440
|
+
- \`burstConfetti\` bursts confetti out of an element once an action is done.
|
|
6441
|
+
- \`flashChange\` lights up an element that changed, and fades.
|
|
6442
|
+
- \`resizeFrom\` moves an element's height from where it was to where it lays
|
|
6443
|
+
out next.
|
|
6309
6444
|
|
|
6310
6445
|
Each one works on any element, in any framework, and needs no Helix
|
|
6311
6446
|
stylesheet. Times and curves default to the tokens above, and to the values
|
|
6312
6447
|
those tokens hold where the page does not load them. Under reduced motion
|
|
6313
|
-
nothing moves, the figure changes at once,
|
|
6448
|
+
nothing moves, the figure changes at once, the pointer is not followed, and no
|
|
6449
|
+
confetti is drawn.
|
|
6314
6450
|
\`moveItems\`, \`followPointer\`, and \`trackIndicator\` return the way to stop.
|
|
6315
6451
|
|
|
6316
6452
|
### Items that move
|
|
@@ -6433,6 +6569,33 @@ followPointer(document.querySelector('.card'))
|
|
|
6433
6569
|
\`data-following\` is on the element while the two are written. A touch is not
|
|
6434
6570
|
followed, since a finger is on the element only while it presses. Pass \`moved\`
|
|
6435
6571
|
and \`left\` to hear the same positions in script.
|
|
6572
|
+
|
|
6573
|
+
### What changed
|
|
6574
|
+
|
|
6575
|
+
\`flashChange\` lights up what changed. Call it on an element after you change
|
|
6576
|
+
it, such as a cell a live feed updated or a sentence an agent rewrote. A quiet
|
|
6577
|
+
wash of the info color holds for \`--helix-duration-slow\` and fades over twice
|
|
6578
|
+
that. The wash is drawn over the element's background and under its text, so
|
|
6579
|
+
nothing moves, and the element looks as it did once the wash is gone. A row is
|
|
6580
|
+
washed through its cells. A second call on the same element carries on from
|
|
6581
|
+
the strength drawn. Under reduced motion the wash still shows, since it says
|
|
6582
|
+
what changed, and it goes over \`--helix-duration-fade\` with no rise.
|
|
6583
|
+
|
|
6584
|
+
\`\`\`js
|
|
6585
|
+
import { flashChange } from '@fusion.dev/helix-core'
|
|
6586
|
+
|
|
6587
|
+
const cell = document.querySelector('#latency')
|
|
6588
|
+
cell.textContent = '224 ms'
|
|
6589
|
+
flashChange(cell)
|
|
6590
|
+
\`\`\`
|
|
6591
|
+
|
|
6592
|
+
Two families do this for you. With \`flash-changes\`, a \`Data Table\` lights up
|
|
6593
|
+
each row whose values change when you set \`rows\` again, and each row that
|
|
6594
|
+
arrives, known by \`row-key\`, and a \`Code Editor\` lights up the lines a new
|
|
6595
|
+
\`value\` or an agent's edit changed, leaving the lines you type alone.
|
|
6596
|
+
\`--data-table-flash-color\` sets a table's wash, and a code editor's follows
|
|
6597
|
+
the theme's info color.
|
|
6598
|
+
|
|
6436
6599
|
`,
|
|
6437
6600
|
'other-frameworks': `---
|
|
6438
6601
|
description: The three rules for using Helix in any framework, and how each framework applies them.
|
|
@@ -6754,8 +6917,11 @@ finished. Select on them to draw an entrance or an exit of your own.
|
|
|
6754
6917
|
## Swiping an overlay away
|
|
6755
6918
|
|
|
6756
6919
|
A touch or a pen swipes a \`Drawer\` toward the edge it came from, and a \`Toast\`
|
|
6757
|
-
message toward the
|
|
6758
|
-
|
|
6920
|
+
message toward the edge its stack sits at. The surface follows the finger, and
|
|
6921
|
+
past its open end it gives less and less. A swipe past halfway, or a quick
|
|
6922
|
+
flick from any distance, closes it through the same cancelable request as its
|
|
6923
|
+
close control, and a refused request springs it back. Let go, it carries on at
|
|
6924
|
+
the speed it was moving, off the window or back to rest. A \`Drawer\` with
|
|
6759
6925
|
\`snap-points\` comes to rest at the nearest point, such as half open, and
|
|
6760
6926
|
\`:state(snapped)\` holds while it rests short of the whole panel. Moving focus
|
|
6761
6927
|
with \`Tab\` to a control past the edge of the window opens it the rest of the
|