@fusion.dev/helix-docs 0.198.0 → 0.199.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/building-on-the-headless-tier.mdx +2 -2
- package/content/charting.mdx +28 -2
- package/content/metrics.mdx +237 -229
- package/content/motion.mdx +38 -0
- package/content/spatial-charts.mdx +110 -4
- package/dist/sources.generated.js +415 -237
- package/package.json +11 -11
|
@@ -377,11 +377,11 @@ open.
|
|
|
377
377
|
|
|
378
378
|
[//]: # (renders)
|
|
379
379
|
|
|
380
|
-
**
|
|
380
|
+
**37 of the 105 headless families interpolate another family's tag**, across 22 distinct children.
|
|
381
381
|
|
|
382
382
|
| Family | Renders |
|
|
383
383
|
|---|---|
|
|
384
|
-
| \`area-chart\`, \`bar-chart\`, \`copy-button\`, \`donut-chart\`, \`heatmap\`, \`line-chart\`, \`scatter-chart\`, \`spatial-heatmap\`, \`spatial-scatter-chart\`, \`spatial-surface-chart\` | \`tooltip\` |
|
|
384
|
+
| \`area-chart\`, \`bar-chart\`, \`copy-button\`, \`donut-chart\`, \`heatmap\`, \`line-chart\`, \`scatter-chart\`, \`spatial-bar-chart\`, \`spatial-heatmap\`, \`spatial-ribbon-chart\`, \`spatial-scatter-chart\`, \`spatial-surface-chart\`, \`spatial-treemap\` | \`tooltip\` |
|
|
385
385
|
| \`breadcrumbs\` | \`breadcrumb\` |
|
|
386
386
|
| \`chat\` | \`chat-message\` |
|
|
387
387
|
| \`checkbox-group\`, \`table\` | \`checkbox\` |
|
|
@@ -725,12 +725,15 @@ title: Charting
|
|
|
725
725
|
Helix has these chart families, and each one has its own API page:
|
|
726
726
|
|
|
727
727
|
- \`Bar Chart\`
|
|
728
|
+
- \`Spatial Bar Chart\`, drawn in three dimensions
|
|
728
729
|
- \`Line Chart\`
|
|
730
|
+
- \`Spatial Ribbon Chart\`, drawn in three dimensions
|
|
729
731
|
- \`Area Chart\`
|
|
730
732
|
- \`Scatter Chart\`
|
|
731
733
|
- \`Spatial Scatter Chart\`, drawn in three dimensions
|
|
732
734
|
- \`Spatial Surface Chart\`, drawn in three dimensions
|
|
733
735
|
- \`Donut Chart\`
|
|
736
|
+
- \`Spatial Treemap\`, drawn in three dimensions
|
|
734
737
|
- \`Heatmap\`
|
|
735
738
|
- \`Spatial Heatmap\`, drawn in three dimensions
|
|
736
739
|
- \`Sparkline\`
|
|
@@ -746,15 +749,29 @@ Choose a chart by the question it answers.
|
|
|
746
749
|
|
|
747
750
|
- **How much, compared.** \`Bar Chart\`. A bar's length is its value, so it always
|
|
748
751
|
starts at zero.
|
|
752
|
+
- **How much, across two sets of names.** \`Spatial Bar Chart\`, with a bar for
|
|
753
|
+
each category and series, standing in a box you can turn. Use it where the
|
|
754
|
+
shape across both matters more than any one value. \`Bar Chart\` is read more
|
|
755
|
+
exactly.
|
|
749
756
|
- **How something moved over time.** \`Line Chart\`. It measures from the data's
|
|
750
757
|
own range, so a small change still shows. Its \`area\` puts a light wash under
|
|
751
758
|
each line. Each wash is drawn from the floor on its own and overlaps the
|
|
752
759
|
others.
|
|
760
|
+
- **How several series moved over the same places, each apart.** \`Spatial
|
|
761
|
+
Ribbon Chart\`, with a ribbon for each series, one behind another, in a box
|
|
762
|
+
you can turn. Use it where series cross and a line chart tangles them. \`Line
|
|
763
|
+
Chart\` is read more exactly.
|
|
753
764
|
- **How a total is made up over time.** \`Area Chart\`. Each column is stacked on
|
|
754
765
|
the one below, so the top edge is the total and a band's thickness is its
|
|
755
766
|
share. Use it when the parts add up to a total. \`Line Chart\` with \`area\`
|
|
756
767
|
overlaps the series, and \`Area Chart\` adds them.
|
|
757
768
|
- **Parts of one whole, at one moment.** \`Donut Chart\`.
|
|
769
|
+
- **How large each item is within its group, and how it stands on a second
|
|
770
|
+
measure.** \`Spatial Treemap\`, with a block for each row, its area its size
|
|
771
|
+
and its height the second measure, gathered by group on a floor you can
|
|
772
|
+
turn. Use it where many items share a whole, such as each service's
|
|
773
|
+
requests and its response time. Its table and its tooltip carry the exact
|
|
774
|
+
values.
|
|
758
775
|
- **Whether two measures relate.** \`Scatter Chart\`, with one point per row.
|
|
759
776
|
- **Where rows fall on three measures, and which gather together.** \`Spatial
|
|
760
777
|
Scatter Chart\`, with one point per row in a box you can turn. Use it for data
|
|
@@ -775,9 +792,9 @@ Choose a chart by the question it answers.
|
|
|
775
792
|
Use \`Trend\` to show which way one measurement moved and whether that is good
|
|
776
793
|
news.
|
|
777
794
|
|
|
778
|
-
The
|
|
795
|
+
The six spatial charts draw themselves in 3D in SVG, which a
|
|
779
796
|
print and a page without WebGL show too, and a drag or Shift with an arrow
|
|
780
|
-
turns. \`@fusion.dev/helix-plot\` can also draw all
|
|
797
|
+
turns. \`@fusion.dev/helix-plot\` can also draw all six with three.js, lit and
|
|
781
798
|
in perspective, in a view you can drag round and zoom. The
|
|
782
799
|
[spatial charts guide](./spatial-charts) covers both.
|
|
783
800
|
|
|
@@ -843,9 +860,15 @@ reading a chart is usually read for:
|
|
|
843
860
|
- \`Donut Chart\`: each slice's share of the whole.
|
|
844
861
|
- \`Scatter Chart\`: each series' number of points and how strongly the two
|
|
845
862
|
measures relate.
|
|
863
|
+
- \`Spatial Bar Chart\`: its number of bars, series, and categories, and the
|
|
864
|
+
range of its values.
|
|
865
|
+
- \`Spatial Ribbon Chart\`: its number of readings, series, and places, and the
|
|
866
|
+
range of its values.
|
|
846
867
|
- \`Spatial Scatter Chart\`: its three measures and its number of points.
|
|
847
868
|
- \`Spatial Surface Chart\`: its measures, its number of readings, and the range
|
|
848
869
|
of its heights.
|
|
870
|
+
- \`Spatial Treemap\`: its number of items and groups, and the range of their
|
|
871
|
+
sizes.
|
|
849
872
|
|
|
850
873
|
\`Heatmap\` and \`Spatial Heatmap\` are each an image with that name. \`Sparkline\` takes a \`label\` of its own.
|
|
851
874
|
|
|
@@ -921,6 +944,9 @@ These parts keep their direction:
|
|
|
921
944
|
- \`Spatial Scatter Chart\` and \`Spatial Surface Chart\` are laid out as on a
|
|
922
945
|
left-to-right page, because all three of their axes are measures. Their
|
|
923
946
|
summaries and tooltips follow the page's direction.
|
|
947
|
+
- \`Spatial Bar Chart\`, \`Spatial Ribbon Chart\`, and \`Spatial Treemap\` are laid
|
|
948
|
+
out as on a left-to-right page too, since each drawing is a box you turn. Its summary and tooltip follow the page's
|
|
949
|
+
direction.
|
|
924
950
|
|
|
925
951
|
To keep a chart left to right on a right-to-left page, such as a number line in
|
|
926
952
|
a mathematics text, set \`dir="ltr"\` on the chart element. You need nothing else.
|
|
@@ -4420,7 +4446,7 @@ on its own.
|
|
|
4420
4446
|
|
|
4421
4447
|
| | Raw | Gzip | Brotli |
|
|
4422
4448
|
|---|---|---|---|
|
|
4423
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
4449
|
+
| Lit and \`@fusion.dev/helix-core\` | 254,802 | 82,008 | 70,124 |
|
|
4424
4450
|
|
|
4425
4451
|
## Whole packages
|
|
4426
4452
|
|
|
@@ -4431,12 +4457,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
4431
4457
|
|
|
4432
4458
|
| Package | Raw | Gzip | Brotli | |
|
|
4433
4459
|
|---|---|---|---|---|
|
|
4434
|
-
| \`@fusion.dev/helix-core\` |
|
|
4435
|
-
| \`@fusion.dev/helix-headless\` | 1,
|
|
4460
|
+
| \`@fusion.dev/helix-core\` | 254,011 | 81,843 | 69,740 | The element base class, mixins, decorators, and floating positioning. |
|
|
4461
|
+
| \`@fusion.dev/helix-headless\` | 1,397,717 | 388,834 | 292,233 | Every headless family. The barrel entry includes all of them. |
|
|
4436
4462
|
| \`@fusion.dev/helix-icons\` | 56,111 | 17,847 | 15,166 | The whole glyph set. |
|
|
4437
4463
|
| \`@fusion.dev/helix-theme\` | 3,626 | 1,597 | 1,384 | The JavaScript that runs the derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
4438
4464
|
| \`fusion_helix_theme_bg.wasm\` | 490,971 | 155,905 | 125,923 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
4439
|
-
| \`@fusion.dev/helix\` | 2,
|
|
4465
|
+
| \`@fusion.dev/helix\` | 2,099,700 | 539,672 | 385,251 | Every styled family. |
|
|
4440
4466
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
4441
4467
|
|
|
4442
4468
|
## Stylesheets
|
|
@@ -4450,20 +4476,20 @@ shows the whole cost of using the base layer on its own.
|
|
|
4450
4476
|
| File | Raw | Gzip | Brotli | |
|
|
4451
4477
|
|---|---|---|---|---|
|
|
4452
4478
|
| \`base.css\` | 34,352 | 4,806 | 4,174 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
4453
|
-
| \`elements.css\` | 19,
|
|
4479
|
+
| \`elements.css\` | 19,482 | 2,915 | 2,603 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
4454
4480
|
| \`helix.css\` | 207 | 148 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
4455
4481
|
| \`primitives.css\` | 7,511 | 1,401 | 1,221 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
4456
4482
|
| \`tokens.css\` | 22,747 | 2,757 | 2,314 | The 197 semantic tokens. Every styled component needs them. |
|
|
4457
4483
|
|
|
4458
4484
|
## What the numbers say
|
|
4459
4485
|
|
|
4460
|
-
**Most of your first component is the shared runtime.** The median styled family is 18,
|
|
4486
|
+
**Most of your first component is the shared runtime.** The median styled family is 18,684 bytes gzipped alone, and it adds 4,196 to a page that already has Helix. The shared runtime is 78 percent of the first component, and the component itself is 22 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.
|
|
4461
4487
|
|
|
4462
|
-
Across the
|
|
4488
|
+
Across the 112 styled components, the smallest is \`code\` at 8,333 bytes gzipped alone, and the largest is \`data-table\` at 66,816. Every family together is 539,672.
|
|
4463
4489
|
|
|
4464
|
-
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
|
|
4490
|
+
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 388,834 bytes gzipped, whatever else the page imports. That is 21 times the median family above. All 112 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.
|
|
4465
4491
|
|
|
4466
|
-
The headless tier never had the problem, so it serves as the control. \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and the median headless family is 17,
|
|
4492
|
+
The headless tier never had the problem, so it serves as the control. \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and the median headless family is 17,500 bytes gzipped alone.
|
|
4467
4493
|
|
|
4468
4494
|
## Compared with other systems
|
|
4469
4495
|
|
|
@@ -4475,37 +4501,37 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
4475
4501
|
|
|
4476
4502
|
| Component | System | Raw | Gzip | Brotli |
|
|
4477
4503
|
|---|---|---|---|---|
|
|
4478
|
-
| \`button\` | **Helix** | 41,612 | 14,
|
|
4504
|
+
| \`button\` | **Helix** | 41,612 | 14,009 | 12,471 |
|
|
4479
4505
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
4480
4506
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
4481
4507
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
4482
4508
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
4483
|
-
| \`checkbox\` | **Helix** | 46,865 | 15,190 | 13,
|
|
4509
|
+
| \`checkbox\` | **Helix** | 46,865 | 15,190 | 13,513 |
|
|
4484
4510
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
4485
4511
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
4486
4512
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
4487
4513
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
4488
|
-
| \`dialog\` | **Helix** | 43,407 | 14,900 | 13,
|
|
4514
|
+
| \`dialog\` | **Helix** | 43,407 | 14,900 | 13,275 |
|
|
4489
4515
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
4490
4516
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
4491
4517
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
4492
4518
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
4493
|
-
| \`radio\` | **Helix** | 50,349 | 15,975 | 14,
|
|
4519
|
+
| \`radio\` | **Helix** | 50,349 | 15,975 | 14,240 |
|
|
4494
4520
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
4495
4521
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
4496
4522
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
4497
4523
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
4498
|
-
| \`switch\` | **Helix** | 43,562 | 14,
|
|
4524
|
+
| \`switch\` | **Helix** | 43,562 | 14,639 | 13,034 |
|
|
4499
4525
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
4500
4526
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
4501
4527
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
4502
4528
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
4503
|
-
| \`tabs\` | **Helix** | 55,263 | 17,
|
|
4529
|
+
| \`tabs\` | **Helix** | 55,263 | 17,752 | 15,830 |
|
|
4504
4530
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
4505
4531
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
4506
4532
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
4507
4533
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
4508
|
-
| \`tooltip\` | **Helix** | 61,420 | 21,
|
|
4534
|
+
| \`tooltip\` | **Helix** | 61,420 | 21,835 | 19,354 |
|
|
4509
4535
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
4510
4536
|
| | Material Web | | not shipped | |
|
|
4511
4537
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
@@ -4557,107 +4583,111 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
4557
4583
|
|
|
4558
4584
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4559
4585
|
|---|---|---|---|---|---|---|
|
|
4560
|
-
| \`accordion\` | 31,879 | 11,804 | 10,
|
|
4561
|
-
| \`announcement\` | 36,692 | 13,312 | 11,
|
|
4562
|
-
| \`app-header\` | 32,289 | 11,
|
|
4563
|
-
| \`area-chart\` | 90,301 | 31,728 | 28,
|
|
4564
|
-
| \`avatar\` | 30,463 | 11,596 | 10,
|
|
4565
|
-
| \`badge\` | 27,088 | 10,568 | 9,
|
|
4566
|
-
| \`bar-chart\` | 94,416 | 32,822 | 29,
|
|
4567
|
-
| \`blockquote\` | 24,107 | 9,421 | 8,
|
|
4568
|
-
| \`breadcrumbs\` | 36,279 | 13,907 | 12,
|
|
4569
|
-
| \`button\` | 35,194 | 12,591 | 11,
|
|
4570
|
-
| \`button-group\` | 27,640 | 10,
|
|
4571
|
-
| \`callout\` | 35,256 | 13,
|
|
4572
|
-
| \`canvas\` | 108,483 | 34,751 | 30,
|
|
4573
|
-
| \`card\` | 23,824 | 9,093 | 8,
|
|
4574
|
-
| \`carousel\` |
|
|
4575
|
-
| \`chat\` | 79,390 | 26,446 | 23,
|
|
4576
|
-
| \`checkbox\` | 40,374 | 13,681 | 12,199 | 3,107 |
|
|
4577
|
-
| \`checkbox-group\` | 47,602 | 15,
|
|
4578
|
-
| \`code\` | 20,301 | 8,
|
|
4579
|
-
| \`code-block\` | 102,738 | 34,890 | 30,
|
|
4580
|
-
| \`color-input\` | 141,792 | 45,
|
|
4581
|
-
| \`color-picker\` | 103,415 | 32,966 | 28,
|
|
4582
|
-
| \`combobox\` | 132,023 | 41,
|
|
4583
|
-
| \`command\` | 99,560 | 31,
|
|
4584
|
-
| \`copy-button\` | 80,548 | 27,
|
|
4585
|
-
| \`data-table\` | 199,900 | 61,
|
|
4586
|
-
| \`date-input\` | 141,223 | 44,
|
|
4587
|
-
| \`date-picker\` | 61,360 | 20,
|
|
4588
|
-
| \`description-list\` | 22,900 | 8,765 | 7,
|
|
4589
|
-
| \`dialog\` | 38,294 | 13,
|
|
4590
|
-
| \`divider\` | 22,991 | 8,924 | 7,
|
|
4591
|
-
| \`donut-chart\` | 89,212 | 31,130 | 27,
|
|
4592
|
-
| \`drawer\` | 42,939 | 15,158 | 13,
|
|
4593
|
-
| \`drilldown\` | 42,756 | 14,
|
|
4594
|
-
| \`empty\` | 24,241 | 9,287 | 8,
|
|
4595
|
-
| \`file-input\` | 57,757 | 20,019 | 17,
|
|
4596
|
-
| \`filter-input\` | 97,846 | 32,819 | 29,
|
|
4597
|
-
| \`format-date\` | 30,158 | 11,
|
|
4598
|
-
| \`graph\` |
|
|
4599
|
-
| \`heatmap\` | 98,128 | 33,501 | 29,
|
|
4600
|
-
| \`icon\` | 82,157 | 28,051 |
|
|
4601
|
-
| \`icon-button\` | 35,305 | 12,619 | 11,
|
|
4602
|
-
| \`image\` | 25,504 | 9,
|
|
4603
|
-
| \`input\` | 46,361 | 15,
|
|
4604
|
-
| \`kbd\` | 27,511 | 10,570 | 9,336 | 3,
|
|
4605
|
-
| \`legend\` | 35,184 | 12,935 | 11,
|
|
4606
|
-
| \`lightbox\` | 55,724 | 18,
|
|
4607
|
-
| \`line-chart\` | 91,335 | 31,881 | 28,
|
|
4608
|
-
| \`list\` | 61,803 | 21,
|
|
4609
|
-
| \`listbox\` | 76,711 | 25,427 | 22,459 | 15,
|
|
4610
|
-
| \`loader\` | 26,379 | 10,041 | 8,
|
|
4611
|
-
| \`map\` |
|
|
4612
|
-
| \`megamenu\` | 60,027 | 21,698 | 19,
|
|
4613
|
-
| \`menu\` | 97,473 | 32,
|
|
4614
|
-
| \`meter\` | 31,721 | 12,
|
|
4615
|
-
| \`
|
|
4616
|
-
| \`
|
|
4617
|
-
| \`
|
|
4618
|
-
| \`
|
|
4619
|
-
| \`
|
|
4620
|
-
| \`
|
|
4621
|
-
| \`
|
|
4622
|
-
| \`
|
|
4623
|
-
| \`
|
|
4624
|
-
| \`
|
|
4625
|
-
| \`
|
|
4626
|
-
| \`
|
|
4627
|
-
| \`
|
|
4628
|
-
| \`
|
|
4629
|
-
| \`
|
|
4630
|
-
| \`
|
|
4631
|
-
| \`
|
|
4632
|
-
| \`
|
|
4633
|
-
| \`
|
|
4634
|
-
| \`
|
|
4635
|
-
| \`
|
|
4636
|
-
| \`
|
|
4637
|
-
| \`spatial-
|
|
4638
|
-
| \`spatial-
|
|
4639
|
-
| \`
|
|
4640
|
-
| \`
|
|
4641
|
-
| \`
|
|
4642
|
-
| \`
|
|
4643
|
-
| \`
|
|
4644
|
-
| \`
|
|
4645
|
-
| \`
|
|
4646
|
-
| \`
|
|
4647
|
-
| \`
|
|
4648
|
-
| \`
|
|
4649
|
-
| \`
|
|
4650
|
-
| \`
|
|
4651
|
-
| \`
|
|
4652
|
-
| \`
|
|
4653
|
-
| \`
|
|
4654
|
-
| \`
|
|
4655
|
-
| \`
|
|
4656
|
-
| \`
|
|
4657
|
-
| \`
|
|
4658
|
-
| \`
|
|
4659
|
-
| \`
|
|
4660
|
-
| \`
|
|
4586
|
+
| \`accordion\` | 31,879 | 11,804 | 10,467 | 5,328 | 1,581 | 1,129 |
|
|
4587
|
+
| \`announcement\` | 36,692 | 13,312 | 11,852 | 4,681 | 1,368 | 971 |
|
|
4588
|
+
| \`app-header\` | 32,289 | 11,899 | 10,593 | 5,870 | 1,748 | 1,415 |
|
|
4589
|
+
| \`area-chart\` | 90,301 | 31,728 | 28,049 | 14,057 | 4,342 | 3,413 |
|
|
4590
|
+
| \`avatar\` | 30,463 | 11,596 | 10,422 | 3,957 | 1,214 | 842 |
|
|
4591
|
+
| \`badge\` | 27,088 | 10,568 | 9,404 | 2,942 | 889 | 714 |
|
|
4592
|
+
| \`bar-chart\` | 94,416 | 32,822 | 29,081 | 18,022 | 5,410 | 4,290 |
|
|
4593
|
+
| \`blockquote\` | 24,107 | 9,421 | 8,325 | 2,401 | 878 | 666 |
|
|
4594
|
+
| \`breadcrumbs\` | 36,279 | 13,907 | 12,381 | 7,357 | 2,410 | 1,955 |
|
|
4595
|
+
| \`button\` | 35,194 | 12,591 | 11,200 | 4,922 | 1,424 | 1,087 |
|
|
4596
|
+
| \`button-group\` | 27,640 | 10,383 | 9,202 | 4,926 | 1,515 | 1,011 |
|
|
4597
|
+
| \`callout\` | 35,256 | 13,594 | 12,065 | 2,884 | 964 | 679 |
|
|
4598
|
+
| \`canvas\` | 108,483 | 34,751 | 30,333 | 68,924 | 20,931 | 17,550 |
|
|
4599
|
+
| \`card\` | 23,824 | 9,093 | 8,073 | 2,090 | 626 | 470 |
|
|
4600
|
+
| \`carousel\` | 43,576 | 15,460 | 13,829 | 15,235 | 4,221 | 3,195 |
|
|
4601
|
+
| \`chat\` | 79,390 | 26,446 | 23,423 | 27,455 | 8,022 | 6,269 |
|
|
4602
|
+
| \`checkbox\` | 40,374 | 13,681 | 12,199 | 3,107 | 960 | 496 |
|
|
4603
|
+
| \`checkbox-group\` | 47,602 | 15,601 | 13,904 | 8,324 | 2,348 | 1,712 |
|
|
4604
|
+
| \`code\` | 20,301 | 8,016 | 7,121 | 138 | 66 | 82 |
|
|
4605
|
+
| \`code-block\` | 102,738 | 34,890 | 30,857 | 36,843 | 10,711 | 8,664 |
|
|
4606
|
+
| \`color-input\` | 141,792 | 45,091 | 39,344 | 55,133 | 14,293 | 11,537 |
|
|
4607
|
+
| \`color-picker\` | 103,415 | 32,966 | 28,897 | 47,251 | 12,670 | 10,163 |
|
|
4608
|
+
| \`combobox\` | 132,023 | 41,951 | 36,920 | 35,789 | 9,085 | 7,051 |
|
|
4609
|
+
| \`command\` | 99,560 | 31,522 | 27,689 | 30,059 | 8,104 | 6,346 |
|
|
4610
|
+
| \`copy-button\` | 80,548 | 27,650 | 24,480 | 18,340 | 4,939 | 3,716 |
|
|
4611
|
+
| \`data-table\` | 199,900 | 61,424 | 52,563 | 89,488 | 23,799 | 18,957 |
|
|
4612
|
+
| \`date-input\` | 141,223 | 44,512 | 39,127 | 38,227 | 9,424 | 7,467 |
|
|
4613
|
+
| \`date-picker\` | 61,360 | 20,934 | 18,769 | 20,345 | 5,600 | 4,331 |
|
|
4614
|
+
| \`description-list\` | 22,900 | 8,765 | 7,765 | 1,565 | 492 | 230 |
|
|
4615
|
+
| \`dialog\` | 38,294 | 13,635 | 12,155 | 5,837 | 1,715 | 1,279 |
|
|
4616
|
+
| \`divider\` | 22,991 | 8,924 | 7,882 | 1,415 | 503 | 373 |
|
|
4617
|
+
| \`donut-chart\` | 89,212 | 31,130 | 27,546 | 14,639 | 4,496 | 3,508 |
|
|
4618
|
+
| \`drawer\` | 42,939 | 15,158 | 13,502 | 7,697 | 2,296 | 1,776 |
|
|
4619
|
+
| \`drilldown\` | 42,756 | 14,939 | 13,338 | 9,708 | 2,702 | 2,074 |
|
|
4620
|
+
| \`empty\` | 24,241 | 9,287 | 8,239 | 1,951 | 639 | 464 |
|
|
4621
|
+
| \`file-input\` | 57,757 | 20,019 | 17,810 | 13,093 | 4,122 | 3,204 |
|
|
4622
|
+
| \`filter-input\` | 97,846 | 32,819 | 29,116 | 21,628 | 6,186 | 4,901 |
|
|
4623
|
+
| \`format-date\` | 30,158 | 11,291 | 10,085 | 4,431 | 1,266 | 951 |
|
|
4624
|
+
| \`graph\` | 75,588 | 24,761 | 21,951 | 23,095 | 6,734 | 5,326 |
|
|
4625
|
+
| \`heatmap\` | 98,128 | 33,501 | 29,563 | 18,941 | 5,574 | 4,378 |
|
|
4626
|
+
| \`icon\` | 82,157 | 28,051 | 24,029 | 58,303 | 19,611 | 16,087 |
|
|
4627
|
+
| \`icon-button\` | 35,305 | 12,619 | 11,226 | 5,031 | 1,447 | 1,037 |
|
|
4628
|
+
| \`image\` | 25,504 | 9,479 | 8,410 | 3,822 | 1,132 | 875 |
|
|
4629
|
+
| \`input\` | 46,361 | 15,973 | 14,088 | 7,351 | 2,387 | 1,740 |
|
|
4630
|
+
| \`kbd\` | 27,511 | 10,570 | 9,336 | 3,516 | 1,111 | 762 |
|
|
4631
|
+
| \`legend\` | 35,184 | 12,935 | 11,488 | 2,956 | 979 | 772 |
|
|
4632
|
+
| \`lightbox\` | 55,724 | 18,815 | 16,716 | 16,728 | 4,631 | 3,457 |
|
|
4633
|
+
| \`line-chart\` | 91,335 | 31,881 | 28,228 | 14,760 | 4,398 | 3,497 |
|
|
4634
|
+
| \`list\` | 61,803 | 21,294 | 19,004 | 15,241 | 4,415 | 3,445 |
|
|
4635
|
+
| \`listbox\` | 76,711 | 25,427 | 22,459 | 15,562 | 4,563 | 3,307 |
|
|
4636
|
+
| \`loader\` | 26,379 | 10,041 | 8,929 | 2,774 | 914 | 703 |
|
|
4637
|
+
| \`map\` | 79,178 | 24,570 | 21,476 | 37,042 | 10,074 | 7,990 |
|
|
4638
|
+
| \`megamenu\` | 60,027 | 21,698 | 19,218 | 8,595 | 2,368 | 1,709 |
|
|
4639
|
+
| \`menu\` | 97,473 | 32,551 | 28,719 | 30,180 | 7,920 | 6,319 |
|
|
4640
|
+
| \`meter\` | 31,721 | 12,026 | 10,715 | 4,893 | 1,409 | 1,147 |
|
|
4641
|
+
| \`motion-toggle\` | 25,678 | 9,986 | 8,879 | 1,426 | 509 | 253 |
|
|
4642
|
+
| \`navigation\` | 33,088 | 12,436 | 11,045 | 3,365 | 1,157 | 899 |
|
|
4643
|
+
| \`notifications\` | 58,346 | 19,881 | 17,743 | 18,207 | 5,058 | 3,923 |
|
|
4644
|
+
| \`number-input\` | 56,271 | 18,842 | 16,796 | 13,522 | 3,584 | 2,663 |
|
|
4645
|
+
| \`object-inspector\` | 113,929 | 38,373 | 33,767 | 35,491 | 10,255 | 8,128 |
|
|
4646
|
+
| \`option\` | 26,477 | 9,763 | 8,659 | 4,523 | 1,184 | 893 |
|
|
4647
|
+
| \`outline\` | 33,612 | 12,597 | 11,174 | 7,856 | 2,559 | 1,947 |
|
|
4648
|
+
| \`pagination\` | 136,258 | 43,649 | 37,989 | 45,379 | 11,839 | 9,375 |
|
|
4649
|
+
| \`pin-input\` | 47,068 | 16,413 | 14,639 | 6,735 | 2,225 | 1,540 |
|
|
4650
|
+
| \`popover\` | 63,853 | 22,982 | 20,330 | 6,373 | 1,853 | 1,345 |
|
|
4651
|
+
| \`progress\` | 28,084 | 10,728 | 9,547 | 2,969 | 910 | 751 |
|
|
4652
|
+
| \`qr-code\` | 42,719 | 16,647 | 14,839 | 17,001 | 6,289 | 5,196 |
|
|
4653
|
+
| \`quote\` | 22,516 | 8,884 | 7,828 | 1,210 | 511 | 397 |
|
|
4654
|
+
| \`radio\` | 42,561 | 14,464 | 12,878 | 3,817 | 1,200 | 747 |
|
|
4655
|
+
| \`rating\` | 50,257 | 17,291 | 15,435 | 8,027 | 2,434 | 1,740 |
|
|
4656
|
+
| \`scatter-chart\` | 91,226 | 31,676 | 27,945 | 16,123 | 4,842 | 3,801 |
|
|
4657
|
+
| \`scroll-area\` | 30,430 | 11,078 | 9,811 | 8,499 | 2,573 | 2,010 |
|
|
4658
|
+
| \`select\` | 115,289 | 38,175 | 33,448 | 26,031 | 7,119 | 5,386 |
|
|
4659
|
+
| \`skeleton\` | 22,328 | 8,644 | 7,662 | 991 | 396 | 193 |
|
|
4660
|
+
| \`skip-link\` | 23,871 | 9,338 | 8,269 | 1,224 | 475 | 318 |
|
|
4661
|
+
| \`slider\` | 52,873 | 17,827 | 15,913 | 13,158 | 3,777 | 2,926 |
|
|
4662
|
+
| \`sparkline\` | 47,984 | 17,500 | 15,642 | 5,979 | 2,127 | 1,669 |
|
|
4663
|
+
| \`spatial-bar-chart\` | 101,564 | 35,946 | 31,611 | 19,726 | 6,511 | 5,161 |
|
|
4664
|
+
| \`spatial-heatmap\` | 113,473 | 38,795 | 34,082 | 31,592 | 9,583 | 7,708 |
|
|
4665
|
+
| \`spatial-ribbon-chart\` | 100,738 | 35,554 | 31,341 | 20,718 | 6,906 | 5,589 |
|
|
4666
|
+
| \`spatial-scatter-chart\` | 98,971 | 34,841 | 30,684 | 19,012 | 6,269 | 5,005 |
|
|
4667
|
+
| \`spatial-surface-chart\` | 101,895 | 36,126 | 31,832 | 21,876 | 7,442 | 6,018 |
|
|
4668
|
+
| \`spatial-treemap\` | 102,958 | 36,743 | 32,357 | 21,244 | 7,366 | 5,799 |
|
|
4669
|
+
| \`speed-dial\` | 68,751 | 24,718 | 21,955 | 10,914 | 2,968 | 2,215 |
|
|
4670
|
+
| \`splitter\` | 43,751 | 15,169 | 13,536 | 14,396 | 3,840 | 3,010 |
|
|
4671
|
+
| \`stat\` | 25,255 | 9,675 | 8,625 | 2,302 | 754 | 412 |
|
|
4672
|
+
| \`steps\` | 53,623 | 18,634 | 16,597 | 13,601 | 3,845 | 3,059 |
|
|
4673
|
+
| \`switch\` | 39,233 | 13,496 | 12,036 | 1,679 | 600 | 326 |
|
|
4674
|
+
| \`table\` | 118,358 | 37,062 | 32,210 | 45,146 | 12,425 | 10,003 |
|
|
4675
|
+
| \`tabs\` | 46,310 | 15,910 | 14,139 | 10,491 | 2,876 | 2,199 |
|
|
4676
|
+
| \`tag\` | 42,676 | 15,621 | 13,996 | 8,453 | 2,544 | 1,881 |
|
|
4677
|
+
| \`textarea\` | 43,852 | 14,940 | 13,327 | 5,401 | 1,602 | 1,120 |
|
|
4678
|
+
| \`time-input\` | 169,269 | 52,675 | 45,814 | 48,509 | 12,419 | 9,836 |
|
|
4679
|
+
| \`time-picker\` | 99,603 | 31,518 | 27,740 | 33,932 | 9,178 | 7,212 |
|
|
4680
|
+
| \`timeline\` | 31,286 | 11,863 | 10,579 | 4,060 | 1,184 | 871 |
|
|
4681
|
+
| \`toast\` | 50,871 | 17,940 | 16,005 | 12,122 | 3,515 | 2,744 |
|
|
4682
|
+
| \`toggle\` | 45,577 | 15,271 | 13,602 | 6,007 | 1,805 | 1,339 |
|
|
4683
|
+
| \`toolbar\` | 31,047 | 11,573 | 10,294 | 5,157 | 1,639 | 1,230 |
|
|
4684
|
+
| \`tooltip\` | 58,616 | 21,090 | 18,710 | 8,432 | 2,348 | 1,804 |
|
|
4685
|
+
| \`tour\` | 83,717 | 28,763 | 25,373 | 19,811 | 5,427 | 4,199 |
|
|
4686
|
+
| \`tree\` | 67,586 | 22,717 | 20,254 | 17,197 | 4,927 | 3,824 |
|
|
4687
|
+
| \`trend\` | 29,717 | 11,569 | 10,318 | 3,485 | 1,070 | 820 |
|
|
4688
|
+
| \`video\` | 142,270 | 44,463 | 38,776 | 66,678 | 16,801 | 13,957 |
|
|
4689
|
+
| \`video-playlist\` | 127,686 | 41,297 | 36,361 | 42,775 | 11,170 | 9,037 |
|
|
4690
|
+
| \`virtual-list\` | 63,451 | 21,632 | 19,238 | 23,304 | 7,149 | 5,681 |
|
|
4661
4691
|
|
|
4662
4692
|
### Styled tier
|
|
4663
4693
|
|
|
@@ -4665,114 +4695,118 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
4665
4695
|
|
|
4666
4696
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4667
4697
|
|---|---|---|---|---|---|---|
|
|
4668
|
-
| \`accordion\` | 35,311 | 12,653 | 11,211 | 8,
|
|
4669
|
-
| \`announcement\` | 41,307 | 14,365 | 12,
|
|
4670
|
-
| \`app-header\` | 37,449 | 13,103 | 11,
|
|
4671
|
-
| \`area-chart\` | 98,393 | 33,576 | 29,
|
|
4672
|
-
| \`aura\` | 56,
|
|
4673
|
-
| \`avatar\` | 33,464 | 12,351 | 11,
|
|
4674
|
-
| \`badge\` | 32,595 | 11,
|
|
4675
|
-
| \`bar-chart\` | 108,944 | 35,726 | 31,
|
|
4676
|
-
| \`blockquote\` | 26,332 | 9,
|
|
4677
|
-
| \`breadcrumbs\` | 43,220 | 15,115 | 13,
|
|
4678
|
-
| \`button\` | 41,612 | 14,
|
|
4679
|
-
| \`button-group\` | 31,138 | 11,066 | 9,
|
|
4680
|
-
| \`callout\` | 39,049 | 14,536 | 12,
|
|
4681
|
-
| \`canvas\` | 129,523 | 38,716 | 33,
|
|
4682
|
-
| \`card\` | 27,725 | 10,100 | 8,
|
|
4683
|
-
| \`carousel\` |
|
|
4684
|
-
| \`chat\` | 94,674 | 29,
|
|
4685
|
-
| \`checkbox\` | 46,865 | 15,190 | 13,
|
|
4686
|
-
| \`checkbox-group\` | 54,826 | 17,
|
|
4687
|
-
| \`code\` | 21,154 | 8,333 | 7,
|
|
4688
|
-
| \`code-block\` | 127,213 | 38,715 | 34,
|
|
4689
|
-
| \`color-input\` | 184,176 | 51,349 | 44,
|
|
4690
|
-
| \`color-picker\` | 140,348 | 38,509 | 33,
|
|
4691
|
-
| \`combobox\` | 147,503 | 44,927 | 39,
|
|
4692
|
-
| \`command\` | 110,838 | 33,879 | 29,
|
|
4693
|
-
| \`copy-button\` | 92,577 | 29,
|
|
4694
|
-
| \`data-table\` | 230,715 | 66,
|
|
4695
|
-
| \`date-input\` | 162,349 | 48,
|
|
4696
|
-
| \`date-picker\` | 69,281 | 22,
|
|
4697
|
-
| \`description-list\` | 25,855 | 9,517 | 8,
|
|
4698
|
-
| \`dialog\` | 43,407 | 14,900 | 13,
|
|
4699
|
-
| \`divider\` | 25,291 | 9,545 | 8,433 | 3,698 | 1,
|
|
4700
|
-
| \`donut-chart\` | 99,170 | 33,263 | 29,404 | 24,
|
|
4701
|
-
| \`drawer\` | 48,772 | 16,543 | 14,790 | 13,
|
|
4702
|
-
| \`drilldown\` | 48,438 | 16,
|
|
4703
|
-
| \`empty\` | 25,550 | 9,762 | 8,
|
|
4704
|
-
| \`file-input\` | 69,285 | 22,420 | 19,
|
|
4705
|
-
| \`filter-input\` | 108,688 | 34,991 |
|
|
4706
|
-
| \`flex\` | 25,740 | 9,194 | 8,
|
|
4707
|
-
| \`format-date\` | 30,414 | 11,403 | 10,
|
|
4708
|
-
| \`graph\` |
|
|
4709
|
-
| \`grid\` | 27,002 | 9,846 | 8,
|
|
4710
|
-
| \`heatmap\` |
|
|
4711
|
-
| \`icon\` | 83,995 | 28,568 | 24,
|
|
4712
|
-
| \`icon-button\` | 43,040 | 13,981 | 12,
|
|
4713
|
-
| \`image\` | 26,892 | 9,947 | 8,
|
|
4714
|
-
| \`input\` | 50,619 | 17,063 | 15,
|
|
4715
|
-
| \`kbd\` | 29,504 | 11,109 | 9,
|
|
4716
|
-
| \`legend\` | 40,423 | 14,214 | 12,
|
|
4717
|
-
| \`lightbox\` | 62,016 | 20,
|
|
4718
|
-
| \`line-chart\` | 102,454 | 34,257 | 30,
|
|
4719
|
-
| \`list\` | 68,150 | 22,
|
|
4720
|
-
| \`listbox\` | 81,154 | 26,542 | 23,
|
|
4721
|
-
| \`loader\` | 29,263 | 10,816 | 9,
|
|
4722
|
-
| \`map\` |
|
|
4723
|
-
| \`megamenu\` | 64,996 | 22,865 | 20,
|
|
4724
|
-
| \`menu\` | 108,403 | 34,
|
|
4725
|
-
| \`meter\` | 37,896 | 13,377 | 11,
|
|
4726
|
-
| \`
|
|
4727
|
-
| \`
|
|
4728
|
-
| \`
|
|
4729
|
-
| \`
|
|
4730
|
-
| \`
|
|
4731
|
-
| \`
|
|
4732
|
-
| \`
|
|
4733
|
-
| \`
|
|
4734
|
-
| \`
|
|
4735
|
-
| \`
|
|
4736
|
-
| \`
|
|
4737
|
-
| \`
|
|
4738
|
-
| \`
|
|
4739
|
-
| \`
|
|
4740
|
-
| \`
|
|
4741
|
-
| \`
|
|
4742
|
-
| \`
|
|
4743
|
-
| \`
|
|
4744
|
-
| \`
|
|
4745
|
-
| \`
|
|
4746
|
-
| \`
|
|
4747
|
-
| \`
|
|
4748
|
-
| \`
|
|
4749
|
-
| \`
|
|
4750
|
-
| \`spatial-
|
|
4751
|
-
| \`spatial-
|
|
4752
|
-
| \`
|
|
4753
|
-
| \`
|
|
4754
|
-
| \`
|
|
4755
|
-
| \`
|
|
4756
|
-
| \`
|
|
4757
|
-
| \`
|
|
4758
|
-
| \`
|
|
4759
|
-
| \`
|
|
4760
|
-
| \`
|
|
4761
|
-
| \`
|
|
4762
|
-
| \`
|
|
4763
|
-
| \`
|
|
4764
|
-
| \`
|
|
4765
|
-
| \`
|
|
4766
|
-
| \`
|
|
4767
|
-
| \`
|
|
4768
|
-
| \`
|
|
4769
|
-
| \`
|
|
4770
|
-
| \`
|
|
4771
|
-
| \`
|
|
4772
|
-
| \`
|
|
4773
|
-
| \`
|
|
4774
|
-
| \`
|
|
4775
|
-
| \`
|
|
4698
|
+
| \`accordion\` | 35,311 | 12,653 | 11,211 | 8,743 | 2,444 | 1,917 |
|
|
4699
|
+
| \`announcement\` | 41,307 | 14,365 | 12,819 | 9,277 | 2,478 | 1,938 |
|
|
4700
|
+
| \`app-header\` | 37,449 | 13,103 | 11,679 | 11,015 | 2,965 | 2,310 |
|
|
4701
|
+
| \`area-chart\` | 98,393 | 33,576 | 29,690 | 22,128 | 6,245 | 5,009 |
|
|
4702
|
+
| \`aura\` | 56,731 | 19,524 | 17,351 | 29,771 | 9,256 | 7,747 |
|
|
4703
|
+
| \`avatar\` | 33,464 | 12,351 | 11,018 | 6,945 | 1,965 | 1,582 |
|
|
4704
|
+
| \`badge\` | 32,595 | 11,821 | 10,534 | 8,436 | 2,150 | 1,677 |
|
|
4705
|
+
| \`bar-chart\` | 108,944 | 35,726 | 31,500 | 32,531 | 8,343 | 6,790 |
|
|
4706
|
+
| \`blockquote\` | 26,332 | 9,968 | 8,821 | 4,611 | 1,417 | 1,120 |
|
|
4707
|
+
| \`breadcrumbs\` | 43,220 | 15,115 | 13,527 | 14,282 | 3,648 | 2,945 |
|
|
4708
|
+
| \`button\` | 41,612 | 14,009 | 12,471 | 11,321 | 2,870 | 2,184 |
|
|
4709
|
+
| \`button-group\` | 31,138 | 11,066 | 9,804 | 8,407 | 2,205 | 1,636 |
|
|
4710
|
+
| \`callout\` | 39,049 | 14,536 | 12,947 | 6,659 | 1,916 | 1,513 |
|
|
4711
|
+
| \`canvas\` | 129,523 | 38,716 | 33,880 | 89,608 | 24,826 | 20,788 |
|
|
4712
|
+
| \`card\` | 27,725 | 10,100 | 8,937 | 5,976 | 1,633 | 1,230 |
|
|
4713
|
+
| \`carousel\` | 54,063 | 17,259 | 15,485 | 25,704 | 6,036 | 4,826 |
|
|
4714
|
+
| \`chat\` | 94,674 | 29,167 | 25,834 | 42,730 | 10,802 | 8,662 |
|
|
4715
|
+
| \`checkbox\` | 46,865 | 15,190 | 13,513 | 9,580 | 2,483 | 1,903 |
|
|
4716
|
+
| \`checkbox-group\` | 54,826 | 17,245 | 15,401 | 15,537 | 3,997 | 3,064 |
|
|
4717
|
+
| \`code\` | 21,154 | 8,333 | 7,401 | 976 | 381 | 360 |
|
|
4718
|
+
| \`code-block\` | 127,213 | 38,715 | 34,174 | 61,298 | 14,675 | 11,973 |
|
|
4719
|
+
| \`color-input\` | 184,176 | 51,349 | 44,889 | 97,504 | 20,447 | 17,090 |
|
|
4720
|
+
| \`color-picker\` | 140,348 | 38,509 | 33,787 | 84,175 | 18,134 | 15,102 |
|
|
4721
|
+
| \`combobox\` | 147,503 | 44,927 | 39,525 | 51,252 | 12,065 | 9,705 |
|
|
4722
|
+
| \`command\` | 110,838 | 33,879 | 29,864 | 41,331 | 10,481 | 8,515 |
|
|
4723
|
+
| \`copy-button\` | 92,577 | 29,826 | 26,404 | 30,351 | 7,146 | 5,816 |
|
|
4724
|
+
| \`data-table\` | 230,715 | 66,816 | 57,250 | 120,287 | 29,326 | 23,689 |
|
|
4725
|
+
| \`date-input\` | 162,349 | 48,216 | 42,465 | 59,338 | 13,171 | 10,748 |
|
|
4726
|
+
| \`date-picker\` | 69,281 | 22,361 | 19,982 | 28,248 | 7,038 | 5,625 |
|
|
4727
|
+
| \`description-list\` | 25,855 | 9,517 | 8,437 | 4,508 | 1,254 | 939 |
|
|
4728
|
+
| \`dialog\` | 43,407 | 14,900 | 13,275 | 10,933 | 3,021 | 2,441 |
|
|
4729
|
+
| \`divider\` | 25,291 | 9,545 | 8,433 | 3,698 | 1,124 | 1,002 |
|
|
4730
|
+
| \`donut-chart\` | 99,170 | 33,263 | 29,404 | 24,574 | 6,693 | 5,328 |
|
|
4731
|
+
| \`drawer\` | 48,772 | 16,543 | 14,790 | 13,511 | 3,736 | 2,996 |
|
|
4732
|
+
| \`drilldown\` | 48,438 | 16,237 | 14,491 | 15,376 | 4,007 | 3,016 |
|
|
4733
|
+
| \`empty\` | 25,550 | 9,762 | 8,622 | 3,242 | 1,092 | 855 |
|
|
4734
|
+
| \`file-input\` | 69,285 | 22,420 | 19,922 | 24,610 | 6,500 | 5,276 |
|
|
4735
|
+
| \`filter-input\` | 108,688 | 34,991 | 31,054 | 32,463 | 8,378 | 6,804 |
|
|
4736
|
+
| \`flex\` | 25,740 | 9,194 | 8,156 | 4,762 | 1,032 | 751 |
|
|
4737
|
+
| \`format-date\` | 30,414 | 11,403 | 10,200 | 4,669 | 1,383 | 1,071 |
|
|
4738
|
+
| \`graph\` | 91,503 | 27,441 | 24,174 | 38,992 | 9,539 | 7,769 |
|
|
4739
|
+
| \`grid\` | 27,002 | 9,846 | 8,741 | 5,637 | 1,435 | 1,212 |
|
|
4740
|
+
| \`heatmap\` | 106,453 | 35,371 | 31,233 | 27,245 | 7,426 | 6,004 |
|
|
4741
|
+
| \`icon\` | 83,995 | 28,568 | 24,516 | 60,128 | 20,162 | 16,357 |
|
|
4742
|
+
| \`icon-button\` | 43,040 | 13,981 | 12,451 | 12,750 | 2,859 | 2,291 |
|
|
4743
|
+
| \`image\` | 26,892 | 9,947 | 8,815 | 5,192 | 1,599 | 1,278 |
|
|
4744
|
+
| \`input\` | 50,619 | 17,063 | 15,092 | 11,592 | 3,501 | 2,588 |
|
|
4745
|
+
| \`kbd\` | 29,504 | 11,109 | 9,820 | 5,494 | 1,668 | 1,275 |
|
|
4746
|
+
| \`legend\` | 40,423 | 14,214 | 12,618 | 8,066 | 2,255 | 1,711 |
|
|
4747
|
+
| \`lightbox\` | 62,016 | 20,154 | 17,930 | 23,004 | 5,960 | 4,536 |
|
|
4748
|
+
| \`line-chart\` | 102,454 | 34,257 | 30,339 | 25,861 | 6,815 | 5,632 |
|
|
4749
|
+
| \`list\` | 68,150 | 22,815 | 20,363 | 21,568 | 5,925 | 4,651 |
|
|
4750
|
+
| \`listbox\` | 81,154 | 26,542 | 23,425 | 19,991 | 5,668 | 4,281 |
|
|
4751
|
+
| \`loader\` | 29,263 | 10,816 | 9,642 | 5,641 | 1,684 | 1,339 |
|
|
4752
|
+
| \`map\` | 112,126 | 29,779 | 26,146 | 69,978 | 15,410 | 12,550 |
|
|
4753
|
+
| \`megamenu\` | 64,996 | 22,865 | 20,221 | 13,545 | 3,529 | 2,736 |
|
|
4754
|
+
| \`menu\` | 108,403 | 34,708 | 30,637 | 41,092 | 10,114 | 8,167 |
|
|
4755
|
+
| \`meter\` | 37,896 | 13,377 | 11,940 | 11,049 | 2,795 | 2,339 |
|
|
4756
|
+
| \`motion-toggle\` | 27,312 | 10,459 | 9,283 | 3,044 | 972 | 714 |
|
|
4757
|
+
| \`navigation\` | 36,814 | 13,270 | 11,781 | 7,076 | 2,006 | 1,537 |
|
|
4758
|
+
| \`notifications\` | 71,839 | 22,457 | 20,077 | 31,690 | 7,637 | 6,169 |
|
|
4759
|
+
| \`number-input\` | 61,253 | 20,026 | 17,847 | 18,489 | 4,793 | 3,636 |
|
|
4760
|
+
| \`object-inspector\` | 130,338 | 41,203 | 36,226 | 51,885 | 13,166 | 10,699 |
|
|
4761
|
+
| \`option\` | 29,672 | 10,762 | 9,563 | 7,711 | 2,181 | 1,733 |
|
|
4762
|
+
| \`orb\` | 36,209 | 13,750 | 12,314 | 10,015 | 3,713 | 3,058 |
|
|
4763
|
+
| \`outline\` | 37,846 | 13,458 | 11,936 | 12,073 | 3,434 | 2,658 |
|
|
4764
|
+
| \`pagination\` | 153,264 | 46,927 | 40,833 | 62,367 | 15,173 | 12,313 |
|
|
4765
|
+
| \`pin-input\` | 50,409 | 17,316 | 15,429 | 10,057 | 3,146 | 2,400 |
|
|
4766
|
+
| \`popover\` | 67,005 | 23,749 | 21,012 | 9,507 | 2,642 | 2,024 |
|
|
4767
|
+
| \`progress\` | 35,232 | 12,380 | 11,024 | 10,100 | 2,587 | 2,168 |
|
|
4768
|
+
| \`qr-code\` | 44,321 | 17,121 | 15,276 | 18,585 | 6,758 | 5,613 |
|
|
4769
|
+
| \`quote\` | 23,074 | 9,078 | 8,002 | 1,751 | 686 | 530 |
|
|
4770
|
+
| \`radio\` | 50,349 | 15,975 | 14,240 | 11,592 | 2,738 | 2,029 |
|
|
4771
|
+
| \`rating\` | 54,190 | 18,516 | 16,486 | 11,944 | 3,635 | 2,865 |
|
|
4772
|
+
| \`sandbox\` | 104,428 | 31,486 | 27,630 | 72,147 | 19,191 | 16,145 |
|
|
4773
|
+
| \`scatter-chart\` | 100,317 | 33,785 | 29,885 | 25,193 | 6,964 | 5,639 |
|
|
4774
|
+
| \`scroll-area\` | 35,437 | 12,024 | 10,689 | 13,489 | 3,564 | 2,774 |
|
|
4775
|
+
| \`select\` | 124,418 | 40,070 | 35,143 | 35,145 | 9,049 | 7,122 |
|
|
4776
|
+
| \`skeleton\` | 26,090 | 9,664 | 8,581 | 4,738 | 1,387 | 1,067 |
|
|
4777
|
+
| \`skip-link\` | 25,441 | 9,851 | 8,716 | 2,779 | 953 | 715 |
|
|
4778
|
+
| \`slider\` | 67,842 | 20,140 | 18,012 | 28,107 | 6,148 | 4,859 |
|
|
4779
|
+
| \`sparkline\` | 53,442 | 18,851 | 16,822 | 11,419 | 3,468 | 2,797 |
|
|
4780
|
+
| \`spatial-bar-chart\` | 110,308 | 37,931 | 33,428 | 28,452 | 8,506 | 6,965 |
|
|
4781
|
+
| \`spatial-heatmap\` | 123,212 | 40,987 | 36,034 | 41,313 | 11,816 | 9,580 |
|
|
4782
|
+
| \`spatial-ribbon-chart\` | 109,556 | 37,551 | 33,084 | 29,518 | 8,943 | 7,203 |
|
|
4783
|
+
| \`spatial-scatter-chart\` | 107,852 | 36,785 | 32,419 | 27,865 | 8,210 | 6,548 |
|
|
4784
|
+
| \`spatial-surface-chart\` | 110,231 | 38,001 | 33,557 | 30,194 | 9,344 | 7,713 |
|
|
4785
|
+
| \`spatial-treemap\` | 111,658 | 38,742 | 34,046 | 29,924 | 9,353 | 7,595 |
|
|
4786
|
+
| \`speed-dial\` | 75,797 | 26,106 | 23,190 | 17,945 | 4,385 | 3,392 |
|
|
4787
|
+
| \`splitter\` | 49,804 | 16,208 | 14,473 | 20,430 | 4,897 | 3,922 |
|
|
4788
|
+
| \`stat\` | 28,117 | 10,372 | 9,241 | 5,156 | 1,447 | 1,085 |
|
|
4789
|
+
| \`steps\` | 67,449 | 21,378 | 19,040 | 27,416 | 6,615 | 5,311 |
|
|
4790
|
+
| \`strands\` | 62,788 | 23,354 | 20,573 | 38,012 | 13,681 | 11,851 |
|
|
4791
|
+
| \`switch\` | 43,562 | 14,639 | 13,034 | 5,998 | 1,756 | 1,323 |
|
|
4792
|
+
| \`table\` | 135,900 | 40,156 | 34,932 | 62,691 | 15,519 | 12,698 |
|
|
4793
|
+
| \`tabs\` | 55,263 | 17,752 | 15,830 | 19,435 | 4,713 | 3,794 |
|
|
4794
|
+
| \`tag\` | 47,247 | 16,758 | 14,985 | 13,012 | 3,667 | 2,716 |
|
|
4795
|
+
| \`text\` | 28,756 | 9,943 | 8,753 | 7,394 | 1,497 | 1,159 |
|
|
4796
|
+
| \`textarea\` | 47,785 | 15,949 | 14,224 | 9,317 | 2,646 | 2,039 |
|
|
4797
|
+
| \`time-input\` | 193,597 | 56,836 | 49,529 | 72,822 | 16,543 | 13,496 |
|
|
4798
|
+
| \`time-picker\` | 111,928 | 33,947 | 29,864 | 46,251 | 11,611 | 9,305 |
|
|
4799
|
+
| \`timeline\` | 38,179 | 13,327 | 11,917 | 10,945 | 2,702 | 2,099 |
|
|
4800
|
+
| \`toast\` | 58,767 | 19,783 | 17,646 | 20,004 | 5,404 | 4,277 |
|
|
4801
|
+
| \`toggle\` | 50,439 | 16,508 | 14,677 | 10,854 | 3,075 | 2,443 |
|
|
4802
|
+
| \`toolbar\` | 33,726 | 12,066 | 10,715 | 7,821 | 2,144 | 1,593 |
|
|
4803
|
+
| \`tooltip\` | 61,420 | 21,835 | 19,354 | 11,218 | 3,096 | 2,388 |
|
|
4804
|
+
| \`tour\` | 93,708 | 30,741 | 27,178 | 29,780 | 7,465 | 5,938 |
|
|
4805
|
+
| \`tree\` | 76,275 | 24,652 | 21,961 | 25,873 | 6,878 | 5,497 |
|
|
4806
|
+
| \`trend\` | 31,231 | 12,050 | 10,721 | 4,980 | 1,533 | 1,211 |
|
|
4807
|
+
| \`video\` | 162,777 | 48,192 | 42,040 | 87,167 | 20,548 | 17,106 |
|
|
4808
|
+
| \`video-playlist\` | 143,639 | 44,277 | 38,941 | 58,705 | 14,169 | 11,719 |
|
|
4809
|
+
| \`virtual-list\` | 65,445 | 22,139 | 19,698 | 25,281 | 7,639 | 6,214 |
|
|
4776
4810
|
|
|
4777
4811
|
## What an install adds to \`node_modules\`
|
|
4778
4812
|
|
|
@@ -4784,12 +4818,12 @@ stripped column shows the bytes we removed.
|
|
|
4784
4818
|
|
|
4785
4819
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
4786
4820
|
|---|---|---|---|---|
|
|
4787
|
-
| \`@fusion.dev/helix-core\` | 2,
|
|
4788
|
-
| \`@fusion.dev/helix-headless\` |
|
|
4821
|
+
| \`@fusion.dev/helix-core\` | 2,613,946 | 571 | 754,871 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
4822
|
+
| \`@fusion.dev/helix-headless\` | 26,627,974 | 752 | 2,413,305 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
4789
4823
|
| \`@fusion.dev/helix-icons\` | 150,509 | 21 | 48,154 | \`svgo\` |
|
|
4790
|
-
| \`@fusion.dev/helix-styles\` | 121,
|
|
4824
|
+
| \`@fusion.dev/helix-styles\` | 121,521 | 6 | 0 | none |
|
|
4791
4825
|
| \`@fusion.dev/helix-theme\` | 529,299 | 8 | 5,393 | none |
|
|
4792
|
-
| \`@fusion.dev/helix\` |
|
|
4826
|
+
| \`@fusion.dev/helix\` | 28,181,409 | 1,005 | 553,667 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
4793
4827
|
|
|
4794
4828
|
## Not measured yet
|
|
4795
4829
|
|
|
@@ -4894,6 +4928,44 @@ The turning \`Loader\` slows to one turn every four seconds. A loader that stops
|
|
|
4894
4928
|
looks broken, and the turn still shows that work is in progress. The pending
|
|
4895
4929
|
ring on \`IconButton\` slows the same way.
|
|
4896
4930
|
|
|
4931
|
+
## Pause the page's motion
|
|
4932
|
+
|
|
4933
|
+
Motion that starts by itself and runs longer than five seconds needs a way to
|
|
4934
|
+
pause it, under WCAG 2.2.2. \`Motion Toggle\` pauses all of it on the page at
|
|
4935
|
+
once, and a second press lets it run again:
|
|
4936
|
+
|
|
4937
|
+
\`\`\`html
|
|
4938
|
+
<helix-motion-toggle>Pause motion</helix-motion-toggle>
|
|
4939
|
+
\`\`\`
|
|
4940
|
+
|
|
4941
|
+
While the page's motion is paused:
|
|
4942
|
+
|
|
4943
|
+
- \`Carousel\` stops rotating under \`autoplay\`.
|
|
4944
|
+
- \`Video\` pauses a video that started itself, and plays it again after.
|
|
4945
|
+
- \`Aura\`, \`Orb\`, and \`Strands\` hold the frame they show.
|
|
4946
|
+
- A graph that \`connectGraph\` lays out stops where its notes stand, and its
|
|
4947
|
+
three.js view stops turning.
|
|
4948
|
+
- A map layer's \`frames\` stop on the frame they show.
|
|
4949
|
+
|
|
4950
|
+
The choice is the page's, held on the document element as
|
|
4951
|
+
\`data-helix-motion="paused"\`. Set it in your markup to start the page paused,
|
|
4952
|
+
or call \`pauseMotion\` from \`@fusion.dev/helix-core\`, and select on the
|
|
4953
|
+
attribute to pause motion of your own:
|
|
4954
|
+
|
|
4955
|
+
\`\`\`js
|
|
4956
|
+
import { pauseMotion } from '@fusion.dev/helix-core'
|
|
4957
|
+
|
|
4958
|
+
pauseMotion()
|
|
4959
|
+
pauseMotion(false)
|
|
4960
|
+
\`\`\`
|
|
4961
|
+
|
|
4962
|
+
With reduced motion set, \`Carousel\` and \`Video\` do not start by themselves,
|
|
4963
|
+
and a graph lays out its notes with the drawing hidden, then shows them where
|
|
4964
|
+
they settle.
|
|
4965
|
+
|
|
4966
|
+
A graph layout that runs past five seconds also offers its own button, in the
|
|
4967
|
+
graph's frame, that stops it where the notes stand.
|
|
4968
|
+
|
|
4897
4969
|
## Starting styles and view transitions
|
|
4898
4970
|
|
|
4899
4971
|
Overlays use \`@starting-style\` to animate in. It sets a starting value and needs
|
|
@@ -6773,19 +6845,30 @@ title: Spatial charts
|
|
|
6773
6845
|
|
|
6774
6846
|
# Spatial charts
|
|
6775
6847
|
|
|
6776
|
-
Helix has
|
|
6848
|
+
Helix has six charts drawn in three dimensions. Each reads its numbers from a
|
|
6777
6849
|
table in the document, as every Helix chart does:
|
|
6778
6850
|
|
|
6851
|
+
- \`Spatial Bar Chart\` stands a bar for each category and series, each as tall
|
|
6852
|
+
as its value, such as signups by region and by quarter.
|
|
6779
6853
|
- \`Spatial Heatmap\` draws a strip of days as a relief, each day a prism as tall
|
|
6780
6854
|
as its reading.
|
|
6855
|
+
- \`Spatial Ribbon Chart\` draws a ribbon for each series, one behind another,
|
|
6856
|
+
its top following the values across, such as latency by region over two
|
|
6857
|
+
weeks.
|
|
6781
6858
|
- \`Spatial Scatter Chart\` places each row as a point in a box, by three measures
|
|
6782
6859
|
at once.
|
|
6783
6860
|
- \`Spatial Surface Chart\` draws one measure as a surface over two others, such
|
|
6784
6861
|
as load by hour and by day.
|
|
6862
|
+
- \`Spatial Treemap\` shares a floor out among blocks, each as large as one
|
|
6863
|
+
measure and as tall as another, gathered by group, such as each service's
|
|
6864
|
+
requests and its response time.
|
|
6785
6865
|
|
|
6786
6866
|
Each chart draws itself in SVG. \`@fusion.dev/helix-plot\` can also draw it with
|
|
6787
6867
|
three.js, in a view you can drag round and zoom.
|
|
6788
6868
|
|
|
6869
|
+
**Every spatial chart is experimental**, so its API can change.
|
|
6870
|
+
[Versioning](./versioning#stability) lists each status.
|
|
6871
|
+
|
|
6789
6872
|
## Draw a spatial chart
|
|
6790
6873
|
|
|
6791
6874
|
Put the table in the document, and point the chart at it with \`for\`:
|
|
@@ -6815,12 +6898,25 @@ Put the table in the document, and point the chart at it with \`for\`:
|
|
|
6815
6898
|
|
|
6816
6899
|
Each chart reads its columns in its own way:
|
|
6817
6900
|
|
|
6901
|
+
- **Spatial Bar Chart** reads its table as \`Bar Chart\` does: each row is a
|
|
6902
|
+
category, and each numeric column a series. Categories run across and series
|
|
6903
|
+
back in depth, the first series in front, so one series is a single row of
|
|
6904
|
+
bars.
|
|
6905
|
+
- **Spatial Ribbon Chart** reads its table as \`Line Chart\` does: each row is a
|
|
6906
|
+
place along the ribbons, and each numeric column a series. Places run across
|
|
6907
|
+
and series back in depth, the first series in front. A place with no reading
|
|
6908
|
+
ends a ribbon short.
|
|
6818
6909
|
- **Spatial Scatter Chart** takes the first three numeric columns as across, up,
|
|
6819
6910
|
and in depth. \`group-by\` names a column of text that colors each point by its
|
|
6820
6911
|
group.
|
|
6821
6912
|
- **Spatial Surface Chart** takes the first numeric column as across, the second
|
|
6822
6913
|
as depth, and the third as the height. A place on the grid with no reading
|
|
6823
6914
|
leaves a hole.
|
|
6915
|
+
- **Spatial Treemap** takes the first numeric column as each block's size, its
|
|
6916
|
+
share of the floor, and the second as its height. \`group-by\` names a column
|
|
6917
|
+
of text that gathers its rows into one part of the floor, in one color. With
|
|
6918
|
+
no second numeric column, the blocks stand as one slab. A row with no size
|
|
6919
|
+
is left out.
|
|
6824
6920
|
- **Spatial Heatmap** reads its table as \`Heatmap\` does, down each column of
|
|
6825
6921
|
\`rows\` and then across. Its table goes inside it.
|
|
6826
6922
|
|
|
@@ -6858,9 +6954,12 @@ Each chart has its own connector and driver:
|
|
|
6858
6954
|
|
|
6859
6955
|
| Chart | Connector | Driver |
|
|
6860
6956
|
|---|---|---|
|
|
6957
|
+
| \`Spatial Bar Chart\` | \`connectSpatialBarChart\` | \`threeBarDriver\` |
|
|
6861
6958
|
| \`Spatial Heatmap\` | \`connectSpatialHeatmap\` | \`threeHeatmapDriver\` |
|
|
6959
|
+
| \`Spatial Ribbon Chart\` | \`connectSpatialRibbonChart\` | \`threeRibbonDriver\` |
|
|
6862
6960
|
| \`Spatial Scatter Chart\` | \`connectSpatialScatterChart\` | \`threeScatterDriver\` |
|
|
6863
6961
|
| \`Spatial Surface Chart\` | \`connectSpatialSurfaceChart\` | \`threeSurfaceDriver\` |
|
|
6962
|
+
| \`Spatial Treemap\` | \`connectSpatialTreemap\` | \`threeTreemapDriver\` |
|
|
6864
6963
|
|
|
6865
6964
|
\`Spatial Heatmap\` takes the element in its \`renderer\` slot, because its table
|
|
6866
6965
|
is inside it:
|
|
@@ -6898,10 +6997,60 @@ Chromium on an Apple silicon Mac:
|
|
|
6898
6997
|
| \`Spatial Scatter Chart\` | 2,000 points | 5,000 points: 67 ms a turn step |
|
|
6899
6998
|
| \`Spatial Surface Chart\` | 900 readings, a grid of 30 by 30 | 1,600 readings: 50 ms, and 3,600: 113 ms |
|
|
6900
6999
|
| \`Spatial Heatmap\` | 365 days | 730 days: 50 ms, and 1,825: 132 ms |
|
|
7000
|
+
| \`Spatial Bar Chart\` | 400 bars | 800 bars: 66 ms, and 1,600: 124 ms |
|
|
7001
|
+
| \`Spatial Ribbon Chart\` | 800 readings | 1,600 readings: 50 ms, and 3,200: 83 ms |
|
|
7002
|
+
| \`Spatial Treemap\` | 400 blocks | 800 blocks: 68 ms, and 1,600: 151 ms |
|
|
6901
7003
|
|
|
6902
7004
|
A slower machine reaches these sizes sooner. three.js draws each chart on the
|
|
6903
7005
|
graphics card.
|
|
6904
7006
|
|
|
7007
|
+
## Read a place more closely
|
|
7008
|
+
|
|
7009
|
+
Two options help you read where a reading stands:
|
|
7010
|
+
|
|
7011
|
+
- \`drop-lines\` on \`Spatial Scatter Chart\` draws a line from each point straight
|
|
7012
|
+
down to the floor, in its group's color, so where a point stands across and in
|
|
7013
|
+
depth reads off the floor's grid.
|
|
7014
|
+
- \`contours\` on \`Spatial Surface Chart\` draws the surface's contour lines on it,
|
|
7015
|
+
at each tick of its height, so its shape reads as on a map, and two places at
|
|
7016
|
+
the same height read as such.
|
|
7017
|
+
|
|
7018
|
+
three.js draws both as well.
|
|
7019
|
+
|
|
7020
|
+
## Draw a chart for a landing page
|
|
7021
|
+
|
|
7022
|
+
\`no-box\` draws \`Spatial Bar Chart\`, \`Spatial Ribbon Chart\`, \`Spatial Scatter
|
|
7023
|
+
Chart\`, \`Spatial Surface Chart\`, or \`Spatial Treemap\` with no box, grid,
|
|
7024
|
+
numbers, or names, and nothing behind it, so the readings stand on the page as
|
|
7025
|
+
a picture does:
|
|
7026
|
+
|
|
7027
|
+
\`\`\`html
|
|
7028
|
+
<helix-spatial-surface-chart
|
|
7029
|
+
emphasis="outlined"
|
|
7030
|
+
for="load"
|
|
7031
|
+
label="Load over a week"
|
|
7032
|
+
no-box
|
|
7033
|
+
></helix-spatial-surface-chart>
|
|
7034
|
+
\`\`\`
|
|
7035
|
+
|
|
7036
|
+
The table, the summary, the tooltip, and the keys still carry every value, and
|
|
7037
|
+
three.js draws no box either. \`Spatial Heatmap\` has no box, and its \`start\` and
|
|
7038
|
+
\`end\` slots are the only names it draws, so leave them empty for the same
|
|
7039
|
+
picture.
|
|
7040
|
+
|
|
7041
|
+
## When a 3D bar or ribbon chart fits
|
|
7042
|
+
|
|
7043
|
+
A flat \`Bar Chart\` is read more exactly. Studies of 3D bars measure readers
|
|
7044
|
+
judging a value less closely than on flat ones, and a bar can stand behind
|
|
7045
|
+
another. Use \`Spatial Bar Chart\` where the shape across two sets of names
|
|
7046
|
+
matters more than any one value, such as which regions grew in which quarters.
|
|
7047
|
+
A drag turns the view to show a bar another hides, and the tooltip and the
|
|
7048
|
+
table carry every exact value.
|
|
7049
|
+
|
|
7050
|
+
The same holds for \`Spatial Ribbon Chart\` beside \`Line Chart\`. Use it where
|
|
7051
|
+
series cross often enough that their lines tangle, and each in its own depth
|
|
7052
|
+
reads apart.
|
|
7053
|
+
|
|
6905
7054
|
## Read a chart with the pointer and the keys
|
|
6906
7055
|
|
|
6907
7056
|
A pointer resting on a reading shows its row in the chart's tooltip, the same
|
|
@@ -6921,6 +7070,15 @@ The plot takes focus, and the keys move the reading:
|
|
|
6921
7070
|
| Enter, Space | Presses the point | Presses the place |
|
|
6922
7071
|
| Escape | Lets the reading go | Lets the reading go |
|
|
6923
7072
|
|
|
7073
|
+
\`Spatial Bar Chart\` reads as \`Spatial Surface Chart\` does: the left and right
|
|
7074
|
+
arrows move from category to category, and the down and up arrows from series to
|
|
7075
|
+
series. \`Spatial Ribbon Chart\` reads the same way, from place to place along a
|
|
7076
|
+
ribbon and from ribbon to ribbon.
|
|
7077
|
+
|
|
7078
|
+
\`Spatial Treemap\` reads as \`Spatial Scatter Chart\` does: the left and right
|
|
7079
|
+
arrows move from item to item in the table's order, and the down and up arrows
|
|
7080
|
+
among the item's measures.
|
|
7081
|
+
|
|
6924
7082
|
\`Spatial Heatmap\` takes \`Heatmap\`'s keys, and Shift with an arrow turns its
|
|
6925
7083
|
view, except under \`selection-mode="multiple"\`, where it selects a range.
|
|
6926
7084
|
|
|
@@ -6928,8 +7086,9 @@ In three.js, a step of Shift with an arrow moves over a quarter of a second,
|
|
|
6928
7086
|
and with reduced motion set it happens at once. In the SVG drawing, a step
|
|
6929
7087
|
happens at once, and a drag turns the view as the pointer moves. Both drawings
|
|
6930
7088
|
turn round the middle of the data and keep their size through a drag, so
|
|
6931
|
-
nothing else on the page moves. Once
|
|
6932
|
-
|
|
7089
|
+
nothing else on the page moves. Once a drag or a step ends, each settles into
|
|
7090
|
+
the space that fits it, at once with reduced motion set. three.js keeps the
|
|
7091
|
+
zoom you chose. No spatial chart
|
|
6933
7092
|
turns by itself.
|
|
6934
7093
|
|
|
6935
7094
|
The numbers and names stand outside the box, along the edges that face the
|
|
@@ -6941,17 +7100,36 @@ the two ends of its front edge, clear of the relief.
|
|
|
6941
7100
|
|
|
6942
7101
|
Each chart takes its colors from your theme, and these hooks change them:
|
|
6943
7102
|
|
|
7103
|
+
- **Spatial Bar Chart**: each series takes a series color,
|
|
7104
|
+
\`--chart-series-1\` and on, and each face of a bar is that color darkened by
|
|
7105
|
+
how far it turns from the light.
|
|
7106
|
+
- **Spatial Ribbon Chart**: each series takes a series color, \`--chart-series-1\`
|
|
7107
|
+
and on, and each face of a ribbon is that color darkened by how far it turns
|
|
7108
|
+
from the light.
|
|
6944
7109
|
- **Spatial Scatter Chart**: each group takes a series color,
|
|
6945
7110
|
\`--chart-series-1\` and on.
|
|
6946
7111
|
- **Spatial Surface Chart**: the surface is shaded from \`--spatial-surface-chart-low\`
|
|
6947
7112
|
to \`--spatial-surface-chart-high\`.
|
|
7113
|
+
- **Spatial Treemap**: each group takes a series color, \`--chart-series-1\` and
|
|
7114
|
+
on, and each face of a block is that color darkened by how far it turns from
|
|
7115
|
+
the light.
|
|
6948
7116
|
- **Spatial Heatmap**: each day takes its tone's color, as on \`Heatmap\`:
|
|
6949
7117
|
\`--heatmap-tone-1\` to \`--heatmap-tone-5\` along the ramp, or a named tone such
|
|
6950
7118
|
as \`--heatmap-tone-success\`. \`--spatial-heatmap-left-shade\` and
|
|
6951
7119
|
\`--spatial-heatmap-right-shade\` set how much less light each side of a prism
|
|
6952
7120
|
is than its top.
|
|
6953
7121
|
|
|
6954
|
-
|
|
7122
|
+
\`emphasis\` and \`material\` change how the marks are drawn, as on every chart:
|
|
7123
|
+
|
|
7124
|
+
- \`emphasis="outlined"\` draws each mark as its edge over a fill faded toward
|
|
7125
|
+
the page. On \`Spatial Surface Chart\` it is a wireframe.
|
|
7126
|
+
- \`emphasis="subtle"\` draws a faint wash under the same edge, which shows what
|
|
7127
|
+
stands behind a prism, a point, or a fold of the surface.
|
|
7128
|
+
- \`material="glass"\` lets the most of what is behind each mark through, and
|
|
7129
|
+
\`material="frosted"\` less.
|
|
7130
|
+
|
|
7131
|
+
three.js reads the same colors, \`emphasis\`, and \`material\`, so the two drawings
|
|
7132
|
+
agree. It lights the
|
|
6955
7133
|
prisms and the surface itself, so the two shade hooks apply to the SVG drawing
|
|
6956
7134
|
alone.
|
|
6957
7135
|
|