@fusion.dev/helix-docs 0.193.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/content/charting.mdx +26 -18
- package/content/coding-agents.mdx +71 -30
- package/content/introduction.mdx +1 -0
- package/content/metrics.mdx +226 -226
- package/content/spatial-charts.mdx +30 -6
- package/content/using-helix-with-an-agent.mdx +56 -96
- package/dist/pages.generated.js +2 -2
- package/dist/sources.generated.js +410 -376
- package/package.json +11 -9
|
@@ -728,11 +728,11 @@ Helix has these chart families, and each one has its own API page:
|
|
|
728
728
|
- \`Line Chart\`
|
|
729
729
|
- \`Area Chart\`
|
|
730
730
|
- \`Scatter Chart\`
|
|
731
|
-
- \`Spatial Scatter Chart\`, drawn in three dimensions
|
|
732
|
-
- \`Spatial Surface Chart\`, drawn in three dimensions
|
|
731
|
+
- \`Spatial Scatter Chart\`, drawn in three dimensions
|
|
732
|
+
- \`Spatial Surface Chart\`, drawn in three dimensions
|
|
733
733
|
- \`Donut Chart\`
|
|
734
734
|
- \`Heatmap\`
|
|
735
|
-
- \`Spatial Heatmap
|
|
735
|
+
- \`Spatial Heatmap\`, drawn in three dimensions
|
|
736
736
|
- \`Sparkline\`
|
|
737
737
|
- \`Trend\`
|
|
738
738
|
- \`Legend\`, which all of the charts share
|
|
@@ -756,20 +756,14 @@ Choose a chart by the question it answers.
|
|
|
756
756
|
overlaps the series, and \`Area Chart\` adds them.
|
|
757
757
|
- **Parts of one whole, at one moment.** \`Donut Chart\`.
|
|
758
758
|
- **Whether two measures relate.** \`Scatter Chart\`, with one point per row.
|
|
759
|
-
- **Where rows fall on three measures, and which gather together.** \`
|
|
760
|
-
|
|
761
|
-
three dimensions, such as clusters or embeddings. Its table and its
|
|
762
|
-
|
|
763
|
-
- **How one measure rises and falls over two others.** \`Spatial Surface Chart\`,
|
|
764
|
-
row per place on a grid, drawn as a surface you can turn. Use it for
|
|
765
|
-
over two ranges, such as load by hour and by day. Its table carries
|
|
766
|
-
values.
|
|
767
|
-
|
|
768
|
-
The spatial charts and \`Spatial Heatmap\` draw themselves in 3D in SVG, which a
|
|
769
|
-
server, a print, and a page without WebGL all show. Shift with an arrow turns
|
|
770
|
-
the spatial charts' drawing. \`@fusion.dev/helix-plot\` draws all three with
|
|
771
|
-
three.js instead, lit and in perspective, in a view you can drag round and
|
|
772
|
-
zoom.
|
|
759
|
+
- **Where rows fall on three measures, and which gather together.** \`Spatial
|
|
760
|
+
Scatter Chart\`, with one point per row in a box you can turn. Use it for data
|
|
761
|
+
that has three dimensions, such as clusters or embeddings. Its table and its
|
|
762
|
+
tooltip carry the exact values.
|
|
763
|
+
- **How one measure rises and falls over two others.** \`Spatial Surface Chart\`,
|
|
764
|
+
with one row per place on a grid, drawn as a surface you can turn. Use it for
|
|
765
|
+
a measure over two ranges, such as load by hour and by day. Its table carries
|
|
766
|
+
the exact values.
|
|
773
767
|
- **How each day or check went.** \`Heatmap\`, for uptime, contributions, or
|
|
774
768
|
activity.
|
|
775
769
|
- **The same days, as a relief.** \`Spatial Heatmap\` reads the same table as
|
|
@@ -781,6 +775,12 @@ zoom.
|
|
|
781
775
|
Use \`Trend\` to show which way one measurement moved and whether that is good
|
|
782
776
|
news.
|
|
783
777
|
|
|
778
|
+
The three spatial charts draw themselves in 3D in SVG, which a
|
|
779
|
+
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 three with three.js, lit and
|
|
781
|
+
in perspective, in a view you can drag round and zoom. The
|
|
782
|
+
[spatial charts guide](./spatial-charts) covers both.
|
|
783
|
+
|
|
784
784
|
## Charts read their data from a table
|
|
785
785
|
|
|
786
786
|
\`\`\`html
|
|
@@ -843,8 +843,11 @@ reading a chart is usually read for:
|
|
|
843
843
|
- \`Donut Chart\`: each slice's share of the whole.
|
|
844
844
|
- \`Scatter Chart\`: each series' number of points and how strongly the two
|
|
845
845
|
measures relate.
|
|
846
|
+
- \`Spatial Scatter Chart\`: its three measures and its number of points.
|
|
847
|
+
- \`Spatial Surface Chart\`: its measures, its number of readings, and the range
|
|
848
|
+
of its heights.
|
|
846
849
|
|
|
847
|
-
\`Heatmap\`
|
|
850
|
+
\`Heatmap\` and \`Spatial Heatmap\` are each an image with that name. \`Sparkline\` takes a \`label\` of its own.
|
|
848
851
|
|
|
849
852
|
## Tables that change
|
|
850
853
|
|
|
@@ -900,6 +903,8 @@ These parts change direction:
|
|
|
900
903
|
right
|
|
901
904
|
- \`Line Chart\`, \`Area Chart\`, and \`Sparkline\`, with their end marks
|
|
902
905
|
- \`Heatmap\`'s weeks, which were already a grid laid out along the line
|
|
906
|
+
- \`Spatial Heatmap\`'s weeks in its SVG drawing. A three.js drawing keeps its
|
|
907
|
+
direction, and the chart's labels follow it.
|
|
903
908
|
- A half \`Donut Chart\`, which is read across
|
|
904
909
|
|
|
905
910
|
These parts keep their direction:
|
|
@@ -913,6 +918,9 @@ These parts keep their direction:
|
|
|
913
918
|
number line runs that way in every script. Its axis names read in their own
|
|
914
919
|
direction, so a name in Arabic reads right to left under the far end of the
|
|
915
920
|
plot. Its summary and tooltip follow the page's direction.
|
|
921
|
+
- \`Spatial Scatter Chart\` and \`Spatial Surface Chart\` are laid out as on a
|
|
922
|
+
left-to-right page, because all three of their axes are measures. Their
|
|
923
|
+
summaries and tooltips follow the page's direction.
|
|
916
924
|
|
|
917
925
|
To keep a chart left to right on a right-to-left page, such as a number line in
|
|
918
926
|
a mathematics text, set \`dir="ltr"\` on the chart element. You need nothing else.
|
|
@@ -930,7 +938,7 @@ table and is styled by the token system, and the table is its accessible
|
|
|
930
938
|
representation. When you need a grammar of graphics, use a charting library.
|
|
931
939
|
`,
|
|
932
940
|
'coding-agents': `---
|
|
933
|
-
description:
|
|
941
|
+
description: Install Helix for a coding agent, and the files an agent can read to write Helix code.
|
|
934
942
|
order: 4
|
|
935
943
|
section: Getting started
|
|
936
944
|
title: Coding agents
|
|
@@ -942,6 +950,72 @@ We publish Helix as text for agents that write Helix code, so an agent does not
|
|
|
942
950
|
need to read the rendered website. Three sources give it the library as text.
|
|
943
951
|
We generate all three from the same sources as this site.
|
|
944
952
|
|
|
953
|
+
## Install the plugin
|
|
954
|
+
|
|
955
|
+
Helix's plugin gives an agent the [Helix skill](./using-helix-with-an-agent) and
|
|
956
|
+
the Helix MCP server in one install. The server runs
|
|
957
|
+
\`npx @fusion.dev/helix-cli mcp\`, the command line your project installs, so its
|
|
958
|
+
answers are your version's.
|
|
959
|
+
|
|
960
|
+
| Tool | Install |
|
|
961
|
+
|---|---|
|
|
962
|
+
| Claude Code | \`claude plugin marketplace add project-fusion/fusion\`, then \`claude plugin install helix@fusion\` |
|
|
963
|
+
| Cursor | \`/plugin marketplace add https://github.com/project-fusion/fusion\` in Cursor's agent, then install \`helix\`. A team marketplace can import the repository instead |
|
|
964
|
+
| VS Code | Add \`"chat.plugins.marketplaces": ["project-fusion/fusion"]\` to your settings, search \`@agentPlugins\` in the Extensions view, and install \`helix\` |
|
|
965
|
+
| GitHub Copilot CLI | \`copilot plugin install project-fusion/fusion:helix/plugin\` |
|
|
966
|
+
| Codex | \`codex plugin marketplace add project-fusion/fusion\`, then \`codex plugin add helix@fusion\` |
|
|
967
|
+
| Devin | \`devin plugins install project-fusion/fusion#helix/plugin\` |
|
|
968
|
+
| Gemini CLI | \`gemini skills install https://github.com/project-fusion/fusion.git --path helix/plugin/skills/helix\`, for the skill alone |
|
|
969
|
+
|
|
970
|
+
The plugin follows the latest release of Helix. Its skill points to the copy in
|
|
971
|
+
\`node_modules\`, which matches the version you installed.
|
|
972
|
+
|
|
973
|
+
## Link the skill without a plugin
|
|
974
|
+
|
|
975
|
+
**Point your tool at the skill, and do not copy it.** A copy starts to go stale
|
|
976
|
+
as soon as you paste it, and the skill changes with the library. The skill in
|
|
977
|
+
the package matches the Helix you installed.
|
|
978
|
+
|
|
979
|
+
Most tools read skills from \`.agents/skills\`, and Claude Code and Cline from
|
|
980
|
+
\`.claude/skills\`. Link it into the one your tool reads:
|
|
981
|
+
|
|
982
|
+
\`\`\`sh
|
|
983
|
+
mkdir -p .agents/skills
|
|
984
|
+
ln -s ../../node_modules/@fusion.dev/helix/skills/helix .agents/skills/helix
|
|
985
|
+
\`\`\`
|
|
986
|
+
|
|
987
|
+
Other tools read a file in your repository. Add a line to it that names the
|
|
988
|
+
skill, or this page:
|
|
989
|
+
|
|
990
|
+
\`\`\`md
|
|
991
|
+
Helix: read node_modules/@fusion.dev/helix/skills/helix/SKILL.md before
|
|
992
|
+
writing components, and node_modules/@fusion.dev/helix/api.json for the API.
|
|
993
|
+
\`\`\`
|
|
994
|
+
|
|
995
|
+
| Tool | Where it goes |
|
|
996
|
+
|---|---|
|
|
997
|
+
| Claude Code | \`.claude/skills/helix\`, or a line in \`AGENTS.md\` or \`CLAUDE.md\` |
|
|
998
|
+
| Cursor | \`.cursor/rules/\` |
|
|
999
|
+
| GitHub Copilot | \`.github/copilot-instructions.md\` |
|
|
1000
|
+
| Anything else | Whatever it reads. The line is the same |
|
|
1001
|
+
|
|
1002
|
+
We do not write those files for you, and we chose this on purpose. You would
|
|
1003
|
+
have to maintain a file we generated in your repository against our changes. A
|
|
1004
|
+
tool that rewrote it on install would be a dependency you did not ask for, in a
|
|
1005
|
+
directory you own. You add the link or the line, and you can delete it.
|
|
1006
|
+
|
|
1007
|
+
## Install the Helix MCP server
|
|
1008
|
+
|
|
1009
|
+
\`\`\`sh
|
|
1010
|
+
helix mcp init --client claude
|
|
1011
|
+
\`\`\`
|
|
1012
|
+
|
|
1013
|
+
\`helix mcp\` answers from the Helix packages your project installs: families,
|
|
1014
|
+
examples, import lines, tokens, and the theme a brand color produces. \`--client\`
|
|
1015
|
+
takes \`claude\`, \`cursor\`, or \`vscode\`, and writes the server into the file that
|
|
1016
|
+
client reads. [The Helix MCP server](#the-helix-mcp-server) lists the tools. It runs on your
|
|
1017
|
+
machine, talks to a client you chose, and makes no network requests.
|
|
1018
|
+
|
|
945
1019
|
## The manifest
|
|
946
1020
|
|
|
947
1021
|
\`\`\`
|
|
@@ -1009,37 +1083,12 @@ agent uses most:
|
|
|
1009
1083
|
- \`specifier\` and \`words\` on each element: the line that registers it, and the
|
|
1010
1084
|
properties \`registerWords\` translates
|
|
1011
1085
|
|
|
1012
|
-
## Import every family you write
|
|
1013
|
-
|
|
1014
|
-
Each tag needs its family's entry imported. A family registers its own parts,
|
|
1015
|
-
so \`@fusion.dev/helix/tabs\` registers Tab and Tab Panel. A family does not
|
|
1016
|
-
register another family's elements that you write inside it:
|
|
1017
|
-
|
|
1018
|
-
\`\`\`js
|
|
1019
|
-
import '@fusion.dev/helix/select'
|
|
1020
|
-
import '@fusion.dev/helix/option'
|
|
1021
|
-
\`\`\`
|
|
1022
|
-
|
|
1023
|
-
Without the Option import, the options are unknown elements and the Select
|
|
1024
|
-
offers nothing. The same is true
|
|
1025
|
-
of the layout around an example: a Button inside a Flex needs both imports.
|
|
1026
|
-
Copy the import lines above an example together with its markup.
|
|
1027
|
-
|
|
1028
1086
|
## Check the code you wrote
|
|
1029
1087
|
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
| \`helix scan\` | Unknown tags, attributes, values, slots, parts, hooks, React event props, and tokens, a \`--_helix-\` primitive read, \`[disabled]\` on a form control, a selector on an attribute the element never writes back, and a tag whose entry nothing imports, each with its file and line |
|
|
1035
|
-
| \`helix theme audit\` | Every foreground and background pair in your theme that misses its contrast target |
|
|
1036
|
-
| \`initDiagnostics()\` from \`@fusion.dev/helix-diagnostics\` | The same findings on the running page, and what the library reports as it runs, such as an option nobody imported |
|
|
1037
|
-
|
|
1038
|
-
\`helix scan\` and \`helix theme audit\` exit 1 when they find an error and 0 when
|
|
1039
|
-
they find none. Run them after you write Helix code, and fix each finding
|
|
1040
|
-
before you finish. \`helix scan --file <path>\` reports one file's findings, and
|
|
1041
|
-
\`helix scan --stdin tsx\` reads a snippet from stdin. Both still read the whole
|
|
1042
|
-
project, so an import in another file counts.
|
|
1088
|
+
\`helix scan\`, \`helix diagnostics --once\`, and \`helix theme audit\` check what an
|
|
1089
|
+
agent wrote, and the MCP server runs the same checks.
|
|
1090
|
+
[Using Helix with an agent](./using-helix-with-an-agent#check-the-code-you-wrote)
|
|
1091
|
+
lists what each finds.
|
|
1043
1092
|
|
|
1044
1093
|
## The index
|
|
1045
1094
|
|
|
@@ -3123,6 +3172,7 @@ each framework.
|
|
|
3123
3172
|
| \`@fusion.dev/helix-icons\` | You are drawing an icon outside a component |
|
|
3124
3173
|
| \`@fusion.dev/helix-map\` | You are drawing a map with MapLibre, Leaflet, or a renderer of your own. See [Maps](./maps) |
|
|
3125
3174
|
| \`@fusion.dev/helix-graph\` | You are drawing a graph with Sigma.js, cosmos.gl, three.js, or a renderer of your own. See [Graphs](./graphs) |
|
|
3175
|
+
| \`@fusion.dev/helix-plot\` | You are drawing a spatial chart with three.js. See [Spatial charts](./spatial-charts) |
|
|
3126
3176
|
| \`@fusion.dev/helix-core\` | You are building a new Helix component |
|
|
3127
3177
|
|
|
3128
3178
|
React uses the elements directly. Helix ships a \`jsx.d.ts\` that types every
|
|
@@ -4356,7 +4406,7 @@ on its own.
|
|
|
4356
4406
|
|
|
4357
4407
|
| | Raw | Gzip | Brotli |
|
|
4358
4408
|
|---|---|---|---|
|
|
4359
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
4409
|
+
| Lit and \`@fusion.dev/helix-core\` | 253,599 | 81,597 | 69,746 |
|
|
4360
4410
|
|
|
4361
4411
|
## Whole packages
|
|
4362
4412
|
|
|
@@ -4367,12 +4417,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
4367
4417
|
|
|
4368
4418
|
| Package | Raw | Gzip | Brotli | |
|
|
4369
4419
|
|---|---|---|---|---|
|
|
4370
|
-
| \`@fusion.dev/helix-core\` |
|
|
4371
|
-
| \`@fusion.dev/helix-headless\` | 1,
|
|
4420
|
+
| \`@fusion.dev/helix-core\` | 252,808 | 81,455 | 69,467 | The element base class, mixins, decorators, and floating positioning. |
|
|
4421
|
+
| \`@fusion.dev/helix-headless\` | 1,366,720 | 383,153 | 287,254 | Every headless family. The barrel entry includes all of them. |
|
|
4372
4422
|
| \`@fusion.dev/helix-icons\` | 56,111 | 17,847 | 15,166 | The whole glyph set. |
|
|
4373
4423
|
| \`@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. |
|
|
4374
4424
|
| \`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. |
|
|
4375
|
-
| \`@fusion.dev/helix\` | 2,
|
|
4425
|
+
| \`@fusion.dev/helix\` | 2,050,629 | 531,895 | 379,303 | Every styled family. |
|
|
4376
4426
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
4377
4427
|
|
|
4378
4428
|
## Stylesheets
|
|
@@ -4393,11 +4443,11 @@ shows the whole cost of using the base layer on its own.
|
|
|
4393
4443
|
|
|
4394
4444
|
## What the numbers say
|
|
4395
4445
|
|
|
4396
|
-
**Most of your first component is the shared runtime.** The median styled family is 18,135 bytes gzipped alone, and it adds 4,
|
|
4446
|
+
**Most of your first component is the shared runtime.** The median styled family is 18,135 bytes gzipped alone, and it adds 4,014 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.
|
|
4397
4447
|
|
|
4398
|
-
Across the 108 styled components, the smallest is \`code\` at 8,333 bytes gzipped alone, and the largest is \`data-table\` at 66,818. Every family together is
|
|
4448
|
+
Across the 108 styled components, the smallest is \`code\` at 8,333 bytes gzipped alone, and the largest is \`data-table\` at 66,818. Every family together is 531,895.
|
|
4399
4449
|
|
|
4400
|
-
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
|
|
4450
|
+
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 383,153 bytes gzipped, whatever else the page imports. That is 21 times the median family above. All 108 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.
|
|
4401
4451
|
|
|
4402
4452
|
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,291 bytes gzipped alone.
|
|
4403
4453
|
|
|
@@ -4411,37 +4461,37 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
4411
4461
|
|
|
4412
4462
|
| Component | System | Raw | Gzip | Brotli |
|
|
4413
4463
|
|---|---|---|---|---|
|
|
4414
|
-
| \`button\` | **Helix** | 41,612 | 14,008 | 12,
|
|
4464
|
+
| \`button\` | **Helix** | 41,612 | 14,008 | 12,455 |
|
|
4415
4465
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
4416
4466
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
4417
4467
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
4418
4468
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
4419
|
-
| \`checkbox\` | **Helix** | 46,865 | 15,190 | 13,
|
|
4469
|
+
| \`checkbox\` | **Helix** | 46,865 | 15,190 | 13,518 |
|
|
4420
4470
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
4421
4471
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
4422
4472
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
4423
4473
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
4424
|
-
| \`dialog\` | **Helix** | 43,
|
|
4474
|
+
| \`dialog\` | **Helix** | 43,407 | 14,900 | 13,269 |
|
|
4425
4475
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
4426
4476
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
4427
4477
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
4428
4478
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
4429
|
-
| \`radio\` | **Helix** | 50,349 | 15,975 | 14,
|
|
4479
|
+
| \`radio\` | **Helix** | 50,349 | 15,975 | 14,204 |
|
|
4430
4480
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
4431
4481
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
4432
4482
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
4433
4483
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
4434
|
-
| \`switch\` | **Helix** | 43,562 | 14,637 | 13,
|
|
4484
|
+
| \`switch\` | **Helix** | 43,562 | 14,637 | 13,041 |
|
|
4435
4485
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
4436
4486
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
4437
4487
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
4438
4488
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
4439
|
-
| \`tabs\` | **Helix** | 55,263 | 17,752 | 15,
|
|
4489
|
+
| \`tabs\` | **Helix** | 55,263 | 17,752 | 15,848 |
|
|
4440
4490
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
4441
4491
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
4442
4492
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
4443
4493
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
4444
|
-
| \`tooltip\` | **Helix** | 61,420 | 21,834 | 19,
|
|
4494
|
+
| \`tooltip\` | **Helix** | 61,420 | 21,834 | 19,378 |
|
|
4445
4495
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
4446
4496
|
| | Material Web | | not shipped | |
|
|
4447
4497
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
@@ -4493,107 +4543,107 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
4493
4543
|
|
|
4494
4544
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4495
4545
|
|---|---|---|---|---|---|---|
|
|
4496
|
-
| \`accordion\` | 31,879 | 11,804 | 10,
|
|
4497
|
-
| \`announcement\` | 36,692 | 13,312 | 11,865 | 4,
|
|
4498
|
-
| \`app-header\` | 32,289 | 11,898 | 10,
|
|
4499
|
-
| \`area-chart\` | 90,301 | 31,727 | 28,
|
|
4500
|
-
| \`avatar\` | 30,463 | 11,596 | 10,369 | 3,957 | 1,
|
|
4501
|
-
| \`badge\` | 27,088 | 10,568 | 9,406 | 2,
|
|
4502
|
-
| \`bar-chart\` | 94,416 | 32,821 | 29,
|
|
4503
|
-
| \`blockquote\` | 24,107 | 9,421 | 8,
|
|
4504
|
-
| \`breadcrumbs\` | 36,279 | 13,907 | 12,385 | 7,
|
|
4505
|
-
| \`button\` | 35,194 | 12,591 | 11,200 | 4,
|
|
4506
|
-
| \`button-group\` | 27,640 | 10,382 | 9,
|
|
4507
|
-
| \`callout\` | 35,256 | 13,593 | 12,073 | 2,884 |
|
|
4508
|
-
| \`canvas\` | 108,483 | 34,
|
|
4509
|
-
| \`card\` | 23,
|
|
4510
|
-
| \`carousel\` | 42,748 | 15,233 | 13,
|
|
4511
|
-
| \`chat\` | 79,390 | 26,446 | 23,
|
|
4512
|
-
| \`checkbox\` | 40,374 | 13,681 | 12,199 | 3,107 |
|
|
4513
|
-
| \`checkbox-group\` | 47,602 | 15,
|
|
4514
|
-
| \`code\` | 20,301 | 8,
|
|
4515
|
-
| \`code-block\` | 102,738 | 34,889 | 30,
|
|
4516
|
-
| \`color-input\` | 141,792 | 45,090 | 39,
|
|
4517
|
-
| \`color-picker\` | 103,415 | 32,966 | 28,
|
|
4518
|
-
| \`combobox\` | 132,023 | 41,952 | 36,
|
|
4519
|
-
| \`command\` | 99,
|
|
4520
|
-
| \`copy-button\` | 80,548 | 27,649 | 24,
|
|
4521
|
-
| \`data-table\` | 199,900 | 61,426 | 52,
|
|
4522
|
-
| \`date-input\` | 141,223 | 44,511 | 39,
|
|
4523
|
-
| \`date-picker\` | 61,360 | 20,935 | 18,
|
|
4524
|
-
| \`description-list\` | 22,900 | 8,765 | 7,766 | 1,565 |
|
|
4525
|
-
| \`dialog\` | 38,
|
|
4526
|
-
| \`divider\` | 22,991 | 8,924 | 7,
|
|
4527
|
-
| \`donut-chart\` | 89,212 | 31,129 | 27,
|
|
4528
|
-
| \`drawer\` | 42,
|
|
4529
|
-
| \`drilldown\` | 42,756 | 14,941 | 13,
|
|
4530
|
-
| \`empty\` | 24,
|
|
4531
|
-
| \`file-input\` | 57,757 | 20,
|
|
4532
|
-
| \`filter-input\` | 97,846 | 32,818 | 29,
|
|
4533
|
-
| \`format-date\` | 30,158 | 11,290 | 10,085 | 4,
|
|
4534
|
-
| \`graph\` | 74,369 | 24,503 | 21,
|
|
4535
|
-
| \`heatmap\` | 98,128 | 33,
|
|
4536
|
-
| \`icon\` | 82,157 | 28,
|
|
4537
|
-
| \`icon-button\` | 35,305 | 12,619 | 11,227 | 5,
|
|
4538
|
-
| \`image\` | 25,504 | 9,
|
|
4539
|
-
| \`input\` | 46,361 | 15,975 | 14,
|
|
4540
|
-
| \`kbd\` | 27,511 | 10,569 | 9,
|
|
4541
|
-
| \`legend\` | 35,184 | 12,
|
|
4542
|
-
| \`lightbox\` | 55,724 | 18,816 | 16,
|
|
4543
|
-
| \`line-chart\` | 91,335 | 31,880 | 28,
|
|
4544
|
-
| \`list\` | 61,803 | 21,292 |
|
|
4545
|
-
| \`listbox\` | 76,711 | 25,427 | 22,459 | 15,
|
|
4546
|
-
| \`loader\` | 26,379 | 10,041 | 8,
|
|
4547
|
-
| \`map\` | 78,565 | 24,393 | 21,
|
|
4548
|
-
| \`megamenu\` | 60,027 | 21,
|
|
4549
|
-
| \`menu\` | 97,473 | 32,553 | 28,
|
|
4550
|
-
| \`meter\` | 31,721 | 12,025 | 10,
|
|
4551
|
-
| \`navigation\` | 33,088 | 12,436 | 11,
|
|
4552
|
-
| \`notifications\` | 58,346 | 19,881 | 17,
|
|
4553
|
-
| \`number-input\` | 56,271 | 18,
|
|
4554
|
-
| \`object-inspector\` | 113,929 | 38,373 | 33,
|
|
4555
|
-
| \`option\` | 26,477 | 9,763 | 8,
|
|
4556
|
-
| \`outline\` | 33,612 | 12,597 | 11,
|
|
4557
|
-
| \`pagination\` | 136,258 | 43,
|
|
4558
|
-
| \`pin-input\` | 47,068 | 16,
|
|
4559
|
-
| \`popover\` | 63,
|
|
4560
|
-
| \`progress\` | 28,084 | 10,
|
|
4561
|
-
| \`qr-code\` | 42,719 | 16,647 | 14,
|
|
4562
|
-
| \`quote\` | 22,516 | 8,
|
|
4563
|
-
| \`radio\` | 42,561 | 14,
|
|
4564
|
-
| \`rating\` | 50,257 | 17,291 | 15,429 | 8,028 | 2,
|
|
4565
|
-
| \`scatter-chart\` | 91,226 | 31,
|
|
4566
|
-
| \`scroll-area\` | 30,430 | 11,
|
|
4567
|
-
| \`select\` | 115,289 | 38,
|
|
4568
|
-
| \`skeleton\` | 22,328 | 8,
|
|
4569
|
-
| \`skip-link\` | 23,871 | 9,
|
|
4570
|
-
| \`slider\` | 52,873 | 17,
|
|
4571
|
-
| \`sparkline\` | 47,984 | 17,
|
|
4572
|
-
| \`spatial-heatmap\` |
|
|
4573
|
-
| \`spatial-scatter-chart\` |
|
|
4574
|
-
| \`spatial-surface-chart\` |
|
|
4575
|
-
| \`speed-dial\` | 68,751 | 24,
|
|
4576
|
-
| \`splitter\` | 43,751 | 15,169 | 13,
|
|
4577
|
-
| \`stat\` | 25,255 | 9,675 | 8,
|
|
4578
|
-
| \`steps\` | 53,623 | 18,636 | 16,
|
|
4579
|
-
| \`switch\` | 39,233 | 13,496 | 12,037 | 1,679 |
|
|
4580
|
-
| \`table\` | 118,358 | 37,062 | 32,
|
|
4581
|
-
| \`tabs\` | 46,310 | 15,908 | 14,
|
|
4582
|
-
| \`tag\` | 42,676 | 15,621 | 13,
|
|
4583
|
-
| \`textarea\` | 43,852 | 14,
|
|
4584
|
-
| \`time-input\` | 169,269 | 52,676 | 45,
|
|
4585
|
-
| \`time-picker\` | 99,603 | 31,518 | 27,
|
|
4586
|
-
| \`timeline\` | 31,286 | 11,863 | 10,
|
|
4587
|
-
| \`toast\` | 50,871 | 17,
|
|
4588
|
-
| \`toggle\` | 45,577 | 15,
|
|
4589
|
-
| \`toolbar\` | 31,047 | 11,
|
|
4590
|
-
| \`tooltip\` | 58,616 | 21,090 | 18,
|
|
4591
|
-
| \`tour\` | 83,
|
|
4592
|
-
| \`tree\` | 67,586 | 22,717 | 20,
|
|
4593
|
-
| \`trend\` | 29,717 | 11,568 | 10,
|
|
4594
|
-
| \`video\` | 141,208 | 44,138 | 38,
|
|
4595
|
-
| \`video-playlist\` | 127,686 | 41,
|
|
4596
|
-
| \`virtual-list\` | 63,451 | 21,631 | 19,
|
|
4546
|
+
| \`accordion\` | 31,879 | 11,804 | 10,463 | 5,330 | 1,572 | 1,184 |
|
|
4547
|
+
| \`announcement\` | 36,692 | 13,312 | 11,865 | 4,681 | 1,394 | 1,020 |
|
|
4548
|
+
| \`app-header\` | 32,289 | 11,898 | 10,589 | 5,870 | 1,775 | 1,359 |
|
|
4549
|
+
| \`area-chart\` | 90,301 | 31,727 | 28,047 | 14,060 | 4,347 | 3,474 |
|
|
4550
|
+
| \`avatar\` | 30,463 | 11,596 | 10,369 | 3,957 | 1,201 | 929 |
|
|
4551
|
+
| \`badge\` | 27,088 | 10,568 | 9,406 | 2,944 | 911 | 738 |
|
|
4552
|
+
| \`bar-chart\` | 94,416 | 32,821 | 29,062 | 18,023 | 5,407 | 4,256 |
|
|
4553
|
+
| \`blockquote\` | 24,107 | 9,421 | 8,334 | 2,401 | 903 | 688 |
|
|
4554
|
+
| \`breadcrumbs\` | 36,279 | 13,907 | 12,385 | 7,361 | 2,402 | 1,869 |
|
|
4555
|
+
| \`button\` | 35,194 | 12,591 | 11,200 | 4,926 | 1,455 | 1,098 |
|
|
4556
|
+
| \`button-group\` | 27,640 | 10,382 | 9,204 | 4,929 | 1,517 | 1,139 |
|
|
4557
|
+
| \`callout\` | 35,256 | 13,593 | 12,073 | 2,884 | 985 | 701 |
|
|
4558
|
+
| \`canvas\` | 108,483 | 34,751 | 30,395 | 68,925 | 20,947 | 17,618 |
|
|
4559
|
+
| \`card\` | 23,824 | 9,093 | 8,106 | 2,090 | 641 | 517 |
|
|
4560
|
+
| \`carousel\` | 42,748 | 15,233 | 13,622 | 15,006 | 4,160 | 3,316 |
|
|
4561
|
+
| \`chat\` | 79,390 | 26,446 | 23,403 | 27,457 | 8,045 | 6,324 |
|
|
4562
|
+
| \`checkbox\` | 40,374 | 13,681 | 12,199 | 3,107 | 949 | 620 |
|
|
4563
|
+
| \`checkbox-group\` | 47,602 | 15,601 | 13,897 | 8,324 | 2,378 | 1,814 |
|
|
4564
|
+
| \`code\` | 20,301 | 8,015 | 7,122 | 138 | 79 | 107 |
|
|
4565
|
+
| \`code-block\` | 102,738 | 34,889 | 30,813 | 36,847 | 10,721 | 8,628 |
|
|
4566
|
+
| \`color-input\` | 141,792 | 45,090 | 39,392 | 55,137 | 14,277 | 11,627 |
|
|
4567
|
+
| \`color-picker\` | 103,415 | 32,966 | 28,892 | 47,255 | 12,677 | 10,255 |
|
|
4568
|
+
| \`combobox\` | 132,023 | 41,952 | 36,915 | 35,792 | 9,090 | 7,100 |
|
|
4569
|
+
| \`command\` | 99,560 | 31,521 | 27,740 | 30,062 | 8,097 | 6,482 |
|
|
4570
|
+
| \`copy-button\` | 80,548 | 27,649 | 24,468 | 18,340 | 4,952 | 3,895 |
|
|
4571
|
+
| \`data-table\` | 199,900 | 61,426 | 52,563 | 89,489 | 23,842 | 19,121 |
|
|
4572
|
+
| \`date-input\` | 141,223 | 44,511 | 39,182 | 38,231 | 9,442 | 7,441 |
|
|
4573
|
+
| \`date-picker\` | 61,360 | 20,935 | 18,809 | 20,346 | 5,589 | 4,396 |
|
|
4574
|
+
| \`description-list\` | 22,900 | 8,765 | 7,766 | 1,565 | 517 | 367 |
|
|
4575
|
+
| \`dialog\` | 38,294 | 13,635 | 12,136 | 5,837 | 1,717 | 1,386 |
|
|
4576
|
+
| \`divider\` | 22,991 | 8,924 | 7,882 | 1,415 | 522 | 355 |
|
|
4577
|
+
| \`donut-chart\` | 89,212 | 31,129 | 27,520 | 14,642 | 4,496 | 3,635 |
|
|
4578
|
+
| \`drawer\` | 42,939 | 15,158 | 13,507 | 7,699 | 2,306 | 1,792 |
|
|
4579
|
+
| \`drilldown\` | 42,756 | 14,941 | 13,295 | 9,709 | 2,719 | 2,168 |
|
|
4580
|
+
| \`empty\` | 24,241 | 9,287 | 8,242 | 1,951 | 635 | 457 |
|
|
4581
|
+
| \`file-input\` | 57,757 | 20,020 | 17,808 | 13,094 | 4,117 | 3,389 |
|
|
4582
|
+
| \`filter-input\` | 97,846 | 32,818 | 29,095 | 21,631 | 6,175 | 4,836 |
|
|
4583
|
+
| \`format-date\` | 30,158 | 11,290 | 10,085 | 4,435 | 1,268 | 1,018 |
|
|
4584
|
+
| \`graph\` | 74,369 | 24,503 | 21,694 | 21,879 | 6,449 | 5,239 |
|
|
4585
|
+
| \`heatmap\` | 98,128 | 33,502 | 29,584 | 18,942 | 5,585 | 4,324 |
|
|
4586
|
+
| \`icon\` | 82,157 | 28,049 | 23,964 | 58,303 | 19,562 | 15,886 |
|
|
4587
|
+
| \`icon-button\` | 35,305 | 12,619 | 11,227 | 5,035 | 1,481 | 1,148 |
|
|
4588
|
+
| \`image\` | 25,504 | 9,480 | 8,405 | 3,823 | 1,158 | 913 |
|
|
4589
|
+
| \`input\` | 46,361 | 15,975 | 14,088 | 7,351 | 2,398 | 1,859 |
|
|
4590
|
+
| \`kbd\` | 27,511 | 10,569 | 9,338 | 3,518 | 1,126 | 894 |
|
|
4591
|
+
| \`legend\` | 35,184 | 12,935 | 11,537 | 2,956 | 1,006 | 777 |
|
|
4592
|
+
| \`lightbox\` | 55,724 | 18,816 | 16,720 | 16,731 | 4,656 | 3,449 |
|
|
4593
|
+
| \`line-chart\` | 91,335 | 31,880 | 28,263 | 14,763 | 4,402 | 3,598 |
|
|
4594
|
+
| \`list\` | 61,803 | 21,292 | 18,996 | 15,242 | 4,415 | 3,394 |
|
|
4595
|
+
| \`listbox\` | 76,711 | 25,427 | 22,459 | 15,565 | 4,602 | 3,431 |
|
|
4596
|
+
| \`loader\` | 26,379 | 10,041 | 8,931 | 2,774 | 951 | 694 |
|
|
4597
|
+
| \`map\` | 78,565 | 24,393 | 21,327 | 37,032 | 10,098 | 8,005 |
|
|
4598
|
+
| \`megamenu\` | 60,027 | 21,697 | 19,188 | 8,595 | 2,376 | 1,661 |
|
|
4599
|
+
| \`menu\` | 97,473 | 32,553 | 28,726 | 30,182 | 7,943 | 6,374 |
|
|
4600
|
+
| \`meter\` | 31,721 | 12,025 | 10,720 | 4,893 | 1,450 | 1,162 |
|
|
4601
|
+
| \`navigation\` | 33,088 | 12,436 | 11,036 | 3,365 | 1,147 | 888 |
|
|
4602
|
+
| \`notifications\` | 58,346 | 19,881 | 17,734 | 18,209 | 5,058 | 3,959 |
|
|
4603
|
+
| \`number-input\` | 56,271 | 18,842 | 16,800 | 13,525 | 3,613 | 2,722 |
|
|
4604
|
+
| \`object-inspector\` | 113,929 | 38,373 | 33,775 | 35,495 | 10,278 | 8,449 |
|
|
4605
|
+
| \`option\` | 26,477 | 9,763 | 8,667 | 4,524 | 1,211 | 906 |
|
|
4606
|
+
| \`outline\` | 33,612 | 12,597 | 11,180 | 7,858 | 2,573 | 2,022 |
|
|
4607
|
+
| \`pagination\` | 136,258 | 43,650 | 37,995 | 45,382 | 11,880 | 9,356 |
|
|
4608
|
+
| \`pin-input\` | 47,068 | 16,413 | 14,641 | 6,737 | 2,231 | 1,640 |
|
|
4609
|
+
| \`popover\` | 63,853 | 22,981 | 20,298 | 6,374 | 1,849 | 1,333 |
|
|
4610
|
+
| \`progress\` | 28,084 | 10,728 | 9,551 | 2,969 | 921 | 780 |
|
|
4611
|
+
| \`qr-code\` | 42,719 | 16,647 | 14,829 | 17,005 | 6,287 | 5,239 |
|
|
4612
|
+
| \`quote\` | 22,516 | 8,885 | 7,829 | 1,210 | 523 | 303 |
|
|
4613
|
+
| \`radio\` | 42,561 | 14,465 | 12,870 | 3,817 | 1,196 | 893 |
|
|
4614
|
+
| \`rating\` | 50,257 | 17,291 | 15,429 | 8,028 | 2,436 | 1,827 |
|
|
4615
|
+
| \`scatter-chart\` | 91,226 | 31,675 | 27,948 | 16,128 | 4,818 | 3,855 |
|
|
4616
|
+
| \`scroll-area\` | 30,430 | 11,079 | 9,813 | 8,499 | 2,584 | 2,077 |
|
|
4617
|
+
| \`select\` | 115,289 | 38,175 | 33,443 | 26,034 | 7,129 | 5,412 |
|
|
4618
|
+
| \`skeleton\` | 22,328 | 8,644 | 7,667 | 991 | 403 | 302 |
|
|
4619
|
+
| \`skip-link\` | 23,871 | 9,338 | 8,265 | 1,224 | 496 | 358 |
|
|
4620
|
+
| \`slider\` | 52,873 | 17,828 | 15,916 | 13,158 | 3,776 | 2,971 |
|
|
4621
|
+
| \`sparkline\` | 47,984 | 17,500 | 15,601 | 5,982 | 2,127 | 1,647 |
|
|
4622
|
+
| \`spatial-heatmap\` | 113,453 | 38,788 | 34,093 | 31,595 | 9,606 | 7,748 |
|
|
4623
|
+
| \`spatial-scatter-chart\` | 98,077 | 34,517 | 30,421 | 18,240 | 5,991 | 4,777 |
|
|
4624
|
+
| \`spatial-surface-chart\` | 99,770 | 35,240 | 31,024 | 19,869 | 6,684 | 5,319 |
|
|
4625
|
+
| \`speed-dial\` | 68,751 | 24,717 | 21,875 | 10,914 | 2,935 | 2,294 |
|
|
4626
|
+
| \`splitter\` | 43,751 | 15,169 | 13,535 | 14,395 | 3,866 | 3,046 |
|
|
4627
|
+
| \`stat\` | 25,255 | 9,675 | 8,601 | 2,302 | 760 | 634 |
|
|
4628
|
+
| \`steps\` | 53,623 | 18,636 | 16,600 | 13,604 | 3,825 | 3,076 |
|
|
4629
|
+
| \`switch\` | 39,233 | 13,496 | 12,037 | 1,679 | 629 | 445 |
|
|
4630
|
+
| \`table\` | 118,358 | 37,062 | 32,225 | 45,150 | 12,431 | 10,049 |
|
|
4631
|
+
| \`tabs\` | 46,310 | 15,908 | 14,141 | 10,493 | 2,872 | 2,261 |
|
|
4632
|
+
| \`tag\` | 42,676 | 15,621 | 13,972 | 8,456 | 2,533 | 1,864 |
|
|
4633
|
+
| \`textarea\` | 43,852 | 14,940 | 13,327 | 5,403 | 1,610 | 1,200 |
|
|
4634
|
+
| \`time-input\` | 169,269 | 52,676 | 45,824 | 48,513 | 12,431 | 9,812 |
|
|
4635
|
+
| \`time-picker\` | 99,603 | 31,518 | 27,729 | 33,934 | 9,194 | 7,207 |
|
|
4636
|
+
| \`timeline\` | 31,286 | 11,863 | 10,576 | 4,062 | 1,201 | 899 |
|
|
4637
|
+
| \`toast\` | 50,871 | 17,941 | 16,003 | 12,125 | 3,530 | 2,618 |
|
|
4638
|
+
| \`toggle\` | 45,577 | 15,272 | 13,575 | 6,009 | 1,805 | 1,402 |
|
|
4639
|
+
| \`toolbar\` | 31,047 | 11,573 | 10,294 | 5,159 | 1,672 | 1,278 |
|
|
4640
|
+
| \`tooltip\` | 58,616 | 21,090 | 18,708 | 8,435 | 2,352 | 1,933 |
|
|
4641
|
+
| \`tour\` | 83,717 | 28,762 | 25,377 | 19,810 | 5,445 | 4,244 |
|
|
4642
|
+
| \`tree\` | 67,586 | 22,717 | 20,231 | 17,200 | 4,960 | 3,815 |
|
|
4643
|
+
| \`trend\` | 29,717 | 11,568 | 10,337 | 3,488 | 1,120 | 851 |
|
|
4644
|
+
| \`video\` | 141,208 | 44,138 | 38,481 | 66,219 | 16,730 | 13,790 |
|
|
4645
|
+
| \`video-playlist\` | 127,686 | 41,300 | 36,381 | 42,779 | 11,205 | 9,176 |
|
|
4646
|
+
| \`virtual-list\` | 63,451 | 21,631 | 19,229 | 23,304 | 7,149 | 5,750 |
|
|
4597
4647
|
|
|
4598
4648
|
### Styled tier
|
|
4599
4649
|
|
|
@@ -4601,114 +4651,114 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
4601
4651
|
|
|
4602
4652
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
4603
4653
|
|---|---|---|---|---|---|---|
|
|
4604
|
-
| \`accordion\` | 35,311 | 12,653 | 11,
|
|
4605
|
-
| \`announcement\` | 41,307 | 14,
|
|
4606
|
-
| \`app-header\` | 37,449 | 13,103 | 11,680 | 11,
|
|
4607
|
-
| \`area-chart\` | 98,393 | 33,576 | 29,
|
|
4608
|
-
| \`aura\` | 56,085 | 19,320 | 17,
|
|
4609
|
-
| \`avatar\` | 33,464 | 12,351 | 11,
|
|
4610
|
-
| \`badge\` | 32,595 | 11,
|
|
4611
|
-
| \`bar-chart\` | 108,944 | 35,726 | 31,
|
|
4612
|
-
| \`blockquote\` | 26,332 | 9,968 | 8,824 | 4,
|
|
4613
|
-
| \`breadcrumbs\` | 43,220 | 15,115 | 13,
|
|
4614
|
-
| \`button\` | 41,612 | 14,008 | 12,
|
|
4615
|
-
| \`button-group\` | 31,138 | 11,066 | 9,
|
|
4616
|
-
| \`callout\` | 39,049 | 14,537 | 12,904 | 6,659 | 1,
|
|
4617
|
-
| \`canvas\` | 129,523 | 38,715 | 33,
|
|
4618
|
-
| \`card\` | 27,
|
|
4619
|
-
| \`carousel\` | 53,234 | 17,
|
|
4620
|
-
| \`chat\` | 94,674 | 29,166 | 25,
|
|
4621
|
-
| \`checkbox\` | 46,865 | 15,190 | 13,
|
|
4622
|
-
| \`checkbox-group\` | 54,826 | 17,244 | 15,
|
|
4623
|
-
| \`code\` | 21,154 | 8,333 | 7,
|
|
4624
|
-
| \`code-block\` | 127,213 | 38,
|
|
4625
|
-
| \`color-input\` | 184,176 | 51,349 | 44,
|
|
4626
|
-
| \`color-picker\` | 140,348 | 38,509 | 33,
|
|
4627
|
-
| \`combobox\` | 147,503 | 44,927 | 39,
|
|
4628
|
-
| \`command\` | 110,
|
|
4629
|
-
| \`copy-button\` | 92,577 | 29,
|
|
4630
|
-
| \`data-table\` | 230,715 | 66,818 | 57,251 | 120,
|
|
4631
|
-
| \`date-input\` | 162,349 | 48,
|
|
4632
|
-
| \`date-picker\` | 69,281 | 22,362 | 20,
|
|
4633
|
-
| \`description-list\` | 25,855 | 9,517 | 8,467 | 4,508 | 1,
|
|
4634
|
-
| \`dialog\` | 43,
|
|
4635
|
-
| \`divider\` | 25,291 | 9,545 | 8,433 | 3,
|
|
4636
|
-
| \`donut-chart\` | 99,170 | 33,
|
|
4637
|
-
| \`drawer\` | 48,
|
|
4638
|
-
| \`drilldown\` | 48,438 | 16,238 | 14,452 | 15,
|
|
4639
|
-
| \`empty\` | 25,
|
|
4640
|
-
| \`file-input\` | 69,285 | 22,420 | 19,
|
|
4641
|
-
| \`filter-input\` | 108,688 | 34,991 | 31,
|
|
4642
|
-
| \`flex\` | 25,740 | 9,194 | 8,149 | 4,
|
|
4643
|
-
| \`format-date\` | 30,414 | 11,403 | 10,
|
|
4644
|
-
| \`graph\` | 89,037 | 27,080 | 23,
|
|
4645
|
-
| \`grid\` | 27,002 | 9,
|
|
4646
|
-
| \`heatmap\` | 105,486 | 35,190 | 31,
|
|
4647
|
-
| \`icon\` | 83,995 | 28,566 | 24,
|
|
4648
|
-
| \`icon-button\` | 43,040 | 13,
|
|
4649
|
-
| \`image\` | 26,892 | 9,
|
|
4650
|
-
| \`input\` | 50,619 | 17,064 | 15,061 | 11,
|
|
4651
|
-
| \`kbd\` | 29,504 | 11,109 | 9,
|
|
4652
|
-
| \`legend\` | 40,423 | 14,214 | 12,646 | 8,
|
|
4653
|
-
| \`lightbox\` | 62,016 | 20,155 | 17,
|
|
4654
|
-
| \`line-chart\` | 102,454 | 34,257 | 30,
|
|
4655
|
-
| \`list\` | 68,150 | 22,814 | 20,
|
|
4656
|
-
| \`listbox\` | 81,154 | 26,542 | 23,
|
|
4657
|
-
| \`loader\` | 29,263 | 10,815 | 9,
|
|
4658
|
-
| \`map\` | 111,513 | 29,574 |
|
|
4659
|
-
| \`megamenu\` | 64,996 | 22,
|
|
4660
|
-
| \`menu\` | 108,403 | 34,710 | 30,
|
|
4661
|
-
| \`meter\` | 37,896 | 13,377 | 11,
|
|
4662
|
-
| \`navigation\` | 36,814 | 13,
|
|
4663
|
-
| \`notifications\` | 71,
|
|
4664
|
-
| \`number-input\` | 61,253 | 20,026 | 17,
|
|
4665
|
-
| \`object-inspector\` | 130,338 | 41,205 | 36,
|
|
4666
|
-
| \`option\` | 29,672 | 10,762 | 9,548 | 7,
|
|
4667
|
-
| \`orb\` | 35,265 | 13,
|
|
4668
|
-
| \`outline\` | 37,846 | 13,457 | 11,
|
|
4669
|
-
| \`pagination\` | 153,264 | 46,929 | 40,
|
|
4670
|
-
| \`pin-input\` | 50,409 | 17,316 | 15,
|
|
4671
|
-
| \`popover\` |
|
|
4672
|
-
| \`progress\` | 35,232 | 12,380 | 11,
|
|
4673
|
-
| \`qr-code\` | 44,321 | 17,121 | 15,279 | 18,
|
|
4674
|
-
| \`quote\` | 23,074 | 9,
|
|
4675
|
-
| \`radio\` | 50,349 | 15,975 | 14,
|
|
4676
|
-
| \`rating\` | 54,190 | 18,518 | 16,
|
|
4677
|
-
| \`sandbox\` | 104,428 | 31,486 | 27,
|
|
4678
|
-
| \`scatter-chart\` | 100,317 | 33,
|
|
4679
|
-
| \`scroll-area\` | 35,437 | 12,
|
|
4680
|
-
| \`select\` | 124,418 | 40,
|
|
4681
|
-
| \`skeleton\` | 26,090 | 9,664 | 8,
|
|
4682
|
-
| \`skip-link\` | 25,441 | 9,851 | 8,691 | 2,
|
|
4683
|
-
| \`slider\` | 67,842 | 20,
|
|
4684
|
-
| \`sparkline\` | 53,442 | 18,851 | 16,823 | 11,
|
|
4685
|
-
| \`spatial-heatmap\` |
|
|
4686
|
-
| \`spatial-scatter-chart\` |
|
|
4687
|
-
| \`spatial-surface-chart\` |
|
|
4688
|
-
| \`speed-dial\` | 75,797 | 26,105 | 23,
|
|
4689
|
-
| \`splitter\` | 49,804 | 16,
|
|
4690
|
-
| \`stat\` | 28,117 | 10,371 | 9,280 | 5,
|
|
4691
|
-
| \`steps\` | 67,449 | 21,378 | 19,083 | 27,
|
|
4692
|
-
| \`strands\` | 62,138 | 23,151 | 20,
|
|
4693
|
-
| \`switch\` | 43,562 | 14,637 | 13,
|
|
4694
|
-
| \`table\` | 135,900 | 40,155 | 34,
|
|
4695
|
-
| \`tabs\` | 55,263 | 17,752 | 15,
|
|
4696
|
-
| \`tag\` | 47,247 | 16,757 | 14,
|
|
4697
|
-
| \`text\` | 28,756 | 9,
|
|
4698
|
-
| \`textarea\` | 47,785 | 15,949 | 14,
|
|
4699
|
-
| \`time-input\` | 193,597 | 56,836 | 49,
|
|
4700
|
-
| \`time-picker\` | 111,928 | 33,946 | 29,
|
|
4701
|
-
| \`timeline\` | 38,179 | 13,327 | 11,920 | 10,
|
|
4702
|
-
| \`toast\` | 58,767 | 19,
|
|
4703
|
-
| \`toggle\` | 50,439 | 16,510 | 14,
|
|
4704
|
-
| \`toolbar\` | 33,726 | 12,
|
|
4705
|
-
| \`tooltip\` | 61,420 | 21,834 | 19,
|
|
4706
|
-
| \`tour\` | 93,
|
|
4707
|
-
| \`tree\` | 76,275 | 24,
|
|
4708
|
-
| \`trend\` | 31,231 | 12,049 | 10,723 | 4,
|
|
4709
|
-
| \`video\` | 161,715 | 47,867 | 41,
|
|
4710
|
-
| \`video-playlist\` | 143,639 | 44,
|
|
4711
|
-
| \`virtual-list\` | 65,445 | 22,138 | 19,
|
|
4654
|
+
| \`accordion\` | 35,311 | 12,653 | 11,213 | 8,747 | 2,421 | 1,974 |
|
|
4655
|
+
| \`announcement\` | 41,307 | 14,365 | 12,833 | 9,277 | 2,479 | 2,098 |
|
|
4656
|
+
| \`app-header\` | 37,449 | 13,103 | 11,680 | 11,015 | 2,976 | 2,312 |
|
|
4657
|
+
| \`area-chart\` | 98,393 | 33,576 | 29,645 | 22,133 | 6,229 | 5,122 |
|
|
4658
|
+
| \`aura\` | 56,085 | 19,320 | 17,097 | 29,775 | 9,288 | 7,750 |
|
|
4659
|
+
| \`avatar\` | 33,464 | 12,351 | 11,015 | 6,945 | 1,969 | 1,637 |
|
|
4660
|
+
| \`badge\` | 32,595 | 11,821 | 10,531 | 8,440 | 2,168 | 1,791 |
|
|
4661
|
+
| \`bar-chart\` | 108,944 | 35,726 | 31,614 | 32,532 | 8,362 | 6,849 |
|
|
4662
|
+
| \`blockquote\` | 26,332 | 9,968 | 8,824 | 4,613 | 1,446 | 1,130 |
|
|
4663
|
+
| \`breadcrumbs\` | 43,220 | 15,115 | 13,466 | 14,286 | 3,647 | 2,968 |
|
|
4664
|
+
| \`button\` | 41,612 | 14,008 | 12,455 | 11,325 | 2,891 | 2,244 |
|
|
4665
|
+
| \`button-group\` | 31,138 | 11,066 | 9,811 | 8,410 | 2,209 | 1,781 |
|
|
4666
|
+
| \`callout\` | 39,049 | 14,537 | 12,904 | 6,659 | 1,927 | 1,561 |
|
|
4667
|
+
| \`canvas\` | 129,523 | 38,715 | 33,895 | 89,609 | 24,828 | 20,866 |
|
|
4668
|
+
| \`card\` | 27,725 | 10,100 | 8,971 | 5,976 | 1,632 | 1,380 |
|
|
4669
|
+
| \`carousel\` | 53,234 | 17,023 | 15,249 | 25,477 | 5,978 | 4,835 |
|
|
4670
|
+
| \`chat\` | 94,674 | 29,166 | 25,843 | 42,734 | 10,809 | 8,796 |
|
|
4671
|
+
| \`checkbox\` | 46,865 | 15,190 | 13,518 | 9,580 | 2,490 | 2,004 |
|
|
4672
|
+
| \`checkbox-group\` | 54,826 | 17,244 | 15,367 | 15,537 | 4,010 | 3,053 |
|
|
4673
|
+
| \`code\` | 21,154 | 8,333 | 7,394 | 976 | 401 | 363 |
|
|
4674
|
+
| \`code-block\` | 127,213 | 38,714 | 34,162 | 61,302 | 14,710 | 12,105 |
|
|
4675
|
+
| \`color-input\` | 184,176 | 51,349 | 44,947 | 97,507 | 20,443 | 17,055 |
|
|
4676
|
+
| \`color-picker\` | 140,348 | 38,509 | 33,795 | 84,179 | 18,166 | 15,145 |
|
|
4677
|
+
| \`combobox\` | 147,503 | 44,927 | 39,562 | 51,256 | 12,039 | 9,604 |
|
|
4678
|
+
| \`command\` | 110,838 | 33,879 | 29,833 | 41,333 | 10,476 | 8,429 |
|
|
4679
|
+
| \`copy-button\` | 92,577 | 29,825 | 26,386 | 30,353 | 7,185 | 5,846 |
|
|
4680
|
+
| \`data-table\` | 230,715 | 66,818 | 57,251 | 120,291 | 29,344 | 23,793 |
|
|
4681
|
+
| \`date-input\` | 162,349 | 48,215 | 42,421 | 59,342 | 13,178 | 10,782 |
|
|
4682
|
+
| \`date-picker\` | 69,281 | 22,362 | 20,017 | 28,249 | 7,035 | 5,648 |
|
|
4683
|
+
| \`description-list\` | 25,855 | 9,517 | 8,467 | 4,508 | 1,254 | 993 |
|
|
4684
|
+
| \`dialog\` | 43,407 | 14,900 | 13,269 | 10,933 | 2,993 | 2,331 |
|
|
4685
|
+
| \`divider\` | 25,291 | 9,545 | 8,433 | 3,698 | 1,154 | 849 |
|
|
4686
|
+
| \`donut-chart\` | 99,170 | 33,263 | 29,403 | 24,577 | 6,675 | 5,401 |
|
|
4687
|
+
| \`drawer\` | 48,772 | 16,542 | 14,770 | 13,513 | 3,692 | 2,931 |
|
|
4688
|
+
| \`drilldown\` | 48,438 | 16,238 | 14,452 | 15,379 | 4,017 | 3,101 |
|
|
4689
|
+
| \`empty\` | 25,550 | 9,762 | 8,654 | 3,242 | 1,093 | 801 |
|
|
4690
|
+
| \`file-input\` | 69,285 | 22,420 | 19,917 | 24,613 | 6,514 | 5,384 |
|
|
4691
|
+
| \`filter-input\` | 108,688 | 34,991 | 31,082 | 32,466 | 8,398 | 6,782 |
|
|
4692
|
+
| \`flex\` | 25,740 | 9,194 | 8,149 | 4,762 | 1,034 | 843 |
|
|
4693
|
+
| \`format-date\` | 30,414 | 11,403 | 10,192 | 4,673 | 1,393 | 1,157 |
|
|
4694
|
+
| \`graph\` | 89,037 | 27,080 | 23,924 | 36,529 | 9,140 | 7,407 |
|
|
4695
|
+
| \`grid\` | 27,002 | 9,845 | 8,729 | 5,639 | 1,457 | 1,240 |
|
|
4696
|
+
| \`heatmap\` | 105,486 | 35,190 | 31,062 | 26,279 | 7,237 | 5,798 |
|
|
4697
|
+
| \`icon\` | 83,995 | 28,566 | 24,460 | 60,128 | 20,114 | 16,451 |
|
|
4698
|
+
| \`icon-button\` | 43,040 | 13,980 | 12,450 | 12,754 | 2,864 | 2,249 |
|
|
4699
|
+
| \`image\` | 26,892 | 9,947 | 8,807 | 5,193 | 1,610 | 1,303 |
|
|
4700
|
+
| \`input\` | 50,619 | 17,064 | 15,061 | 11,594 | 3,496 | 2,646 |
|
|
4701
|
+
| \`kbd\` | 29,504 | 11,109 | 9,826 | 5,496 | 1,659 | 1,287 |
|
|
4702
|
+
| \`legend\` | 40,423 | 14,214 | 12,646 | 8,066 | 2,281 | 1,805 |
|
|
4703
|
+
| \`lightbox\` | 62,016 | 20,155 | 17,959 | 23,007 | 5,966 | 4,600 |
|
|
4704
|
+
| \`line-chart\` | 102,454 | 34,257 | 30,362 | 25,865 | 6,819 | 5,621 |
|
|
4705
|
+
| \`list\` | 68,150 | 22,814 | 20,368 | 21,569 | 5,915 | 4,743 |
|
|
4706
|
+
| \`listbox\` | 81,154 | 26,542 | 23,472 | 19,994 | 5,688 | 4,357 |
|
|
4707
|
+
| \`loader\` | 29,263 | 10,815 | 9,652 | 5,641 | 1,700 | 1,373 |
|
|
4708
|
+
| \`map\` | 111,513 | 29,574 | 26,031 | 69,971 | 15,441 | 12,628 |
|
|
4709
|
+
| \`megamenu\` | 64,996 | 22,864 | 20,203 | 13,546 | 3,540 | 2,736 |
|
|
4710
|
+
| \`menu\` | 108,403 | 34,710 | 30,643 | 41,096 | 10,137 | 8,252 |
|
|
4711
|
+
| \`meter\` | 37,896 | 13,377 | 11,956 | 11,049 | 2,800 | 2,325 |
|
|
4712
|
+
| \`navigation\` | 36,814 | 13,269 | 11,770 | 7,076 | 2,010 | 1,606 |
|
|
4713
|
+
| \`notifications\` | 71,839 | 22,457 | 20,073 | 31,694 | 7,653 | 6,283 |
|
|
4714
|
+
| \`number-input\` | 61,253 | 20,026 | 17,873 | 18,492 | 4,793 | 3,691 |
|
|
4715
|
+
| \`object-inspector\` | 130,338 | 41,205 | 36,201 | 51,889 | 13,159 | 10,673 |
|
|
4716
|
+
| \`option\` | 29,672 | 10,762 | 9,548 | 7,712 | 2,201 | 1,867 |
|
|
4717
|
+
| \`orb\` | 35,265 | 13,488 | 12,001 | 9,730 | 3,661 | 3,121 |
|
|
4718
|
+
| \`outline\` | 37,846 | 13,457 | 11,935 | 12,075 | 3,444 | 2,713 |
|
|
4719
|
+
| \`pagination\` | 153,264 | 46,929 | 40,825 | 62,371 | 15,207 | 12,259 |
|
|
4720
|
+
| \`pin-input\` | 50,409 | 17,316 | 15,431 | 10,059 | 3,133 | 2,500 |
|
|
4721
|
+
| \`popover\` | 67,005 | 23,748 | 21,011 | 9,508 | 2,639 | 2,080 |
|
|
4722
|
+
| \`progress\` | 35,232 | 12,380 | 11,029 | 10,100 | 2,593 | 2,251 |
|
|
4723
|
+
| \`qr-code\` | 44,321 | 17,121 | 15,279 | 18,589 | 6,787 | 5,616 |
|
|
4724
|
+
| \`quote\` | 23,074 | 9,079 | 8,008 | 1,751 | 718 | 491 |
|
|
4725
|
+
| \`radio\` | 50,349 | 15,975 | 14,204 | 11,592 | 2,733 | 2,051 |
|
|
4726
|
+
| \`rating\` | 54,190 | 18,518 | 16,487 | 11,945 | 3,653 | 2,939 |
|
|
4727
|
+
| \`sandbox\` | 104,428 | 31,486 | 27,654 | 72,146 | 19,183 | 16,072 |
|
|
4728
|
+
| \`scatter-chart\` | 100,317 | 33,784 | 29,841 | 25,198 | 6,980 | 5,728 |
|
|
4729
|
+
| \`scroll-area\` | 35,437 | 12,025 | 10,713 | 13,489 | 3,555 | 2,960 |
|
|
4730
|
+
| \`select\` | 124,418 | 40,070 | 35,144 | 35,148 | 9,050 | 7,101 |
|
|
4731
|
+
| \`skeleton\` | 26,090 | 9,664 | 8,583 | 4,738 | 1,396 | 1,124 |
|
|
4732
|
+
| \`skip-link\` | 25,441 | 9,851 | 8,691 | 2,779 | 968 | 800 |
|
|
4733
|
+
| \`slider\` | 67,842 | 20,140 | 17,993 | 28,109 | 6,167 | 4,988 |
|
|
4734
|
+
| \`sparkline\` | 53,442 | 18,851 | 16,823 | 11,422 | 3,470 | 2,905 |
|
|
4735
|
+
| \`spatial-heatmap\` | 122,253 | 40,833 | 35,901 | 40,379 | 11,664 | 9,503 |
|
|
4736
|
+
| \`spatial-scatter-chart\` | 105,573 | 36,234 | 31,874 | 25,715 | 7,727 | 6,268 |
|
|
4737
|
+
| \`spatial-surface-chart\` | 106,704 | 36,932 | 32,574 | 26,782 | 8,346 | 6,841 |
|
|
4738
|
+
| \`speed-dial\` | 75,797 | 26,105 | 23,154 | 17,946 | 4,387 | 3,416 |
|
|
4739
|
+
| \`splitter\` | 49,804 | 16,208 | 14,471 | 20,431 | 4,916 | 3,942 |
|
|
4740
|
+
| \`stat\` | 28,117 | 10,371 | 9,280 | 5,156 | 1,472 | 1,211 |
|
|
4741
|
+
| \`steps\` | 67,449 | 21,378 | 19,083 | 27,419 | 6,623 | 5,485 |
|
|
4742
|
+
| \`strands\` | 62,138 | 23,151 | 20,400 | 38,013 | 13,697 | 11,979 |
|
|
4743
|
+
| \`switch\` | 43,562 | 14,637 | 13,041 | 5,998 | 1,760 | 1,423 |
|
|
4744
|
+
| \`table\` | 135,900 | 40,155 | 34,899 | 62,694 | 15,563 | 12,671 |
|
|
4745
|
+
| \`tabs\` | 55,263 | 17,752 | 15,848 | 19,437 | 4,744 | 3,738 |
|
|
4746
|
+
| \`tag\` | 47,247 | 16,757 | 14,960 | 13,015 | 3,632 | 2,927 |
|
|
4747
|
+
| \`text\` | 28,756 | 9,943 | 8,755 | 7,397 | 1,530 | 1,217 |
|
|
4748
|
+
| \`textarea\` | 47,785 | 15,949 | 14,223 | 9,319 | 2,648 | 2,027 |
|
|
4749
|
+
| \`time-input\` | 193,597 | 56,836 | 49,546 | 72,826 | 16,608 | 13,473 |
|
|
4750
|
+
| \`time-picker\` | 111,928 | 33,946 | 29,942 | 46,255 | 11,612 | 9,365 |
|
|
4751
|
+
| \`timeline\` | 38,179 | 13,327 | 11,920 | 10,948 | 2,704 | 2,118 |
|
|
4752
|
+
| \`toast\` | 58,767 | 19,784 | 17,685 | 20,007 | 5,392 | 4,233 |
|
|
4753
|
+
| \`toggle\` | 50,439 | 16,510 | 14,664 | 10,856 | 3,074 | 2,438 |
|
|
4754
|
+
| \`toolbar\` | 33,726 | 12,066 | 10,725 | 7,823 | 2,165 | 1,693 |
|
|
4755
|
+
| \`tooltip\` | 61,420 | 21,834 | 19,378 | 11,221 | 3,098 | 2,557 |
|
|
4756
|
+
| \`tour\` | 93,708 | 30,741 | 27,185 | 29,782 | 7,474 | 5,941 |
|
|
4757
|
+
| \`tree\` | 76,275 | 24,650 | 21,975 | 25,874 | 6,890 | 5,610 |
|
|
4758
|
+
| \`trend\` | 31,231 | 12,049 | 10,723 | 4,983 | 1,581 | 1,212 |
|
|
4759
|
+
| \`video\` | 161,715 | 47,867 | 41,735 | 86,708 | 20,440 | 17,030 |
|
|
4760
|
+
| \`video-playlist\` | 143,639 | 44,278 | 38,910 | 58,711 | 14,179 | 11,678 |
|
|
4761
|
+
| \`virtual-list\` | 65,445 | 22,138 | 19,718 | 25,281 | 7,664 | 6,198 |
|
|
4712
4762
|
|
|
4713
4763
|
## What an install adds to \`node_modules\`
|
|
4714
4764
|
|
|
@@ -4720,12 +4770,12 @@ stripped column shows the bytes we removed.
|
|
|
4720
4770
|
|
|
4721
4771
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
4722
4772
|
|---|---|---|---|---|
|
|
4723
|
-
| \`@fusion.dev/helix-core\` | 2,
|
|
4724
|
-
| \`@fusion.dev/helix-headless\` | 25,
|
|
4773
|
+
| \`@fusion.dev/helix-core\` | 2,603,668 | 569 | 751,479 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
4774
|
+
| \`@fusion.dev/helix-headless\` | 25,880,966 | 730 | 2,329,616 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
4725
4775
|
| \`@fusion.dev/helix-icons\` | 150,509 | 21 | 48,154 | \`svgo\` |
|
|
4726
4776
|
| \`@fusion.dev/helix-styles\` | 121,243 | 6 | 0 | none |
|
|
4727
4777
|
| \`@fusion.dev/helix-theme\` | 529,299 | 8 | 5,393 | none |
|
|
4728
|
-
| \`@fusion.dev/helix\` | 27,
|
|
4778
|
+
| \`@fusion.dev/helix\` | 27,255,887 | 981 | 543,384 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
4729
4779
|
|
|
4730
4780
|
## Not measured yet
|
|
4731
4781
|
|
|
@@ -6819,17 +6869,32 @@ Once three.js has drawn, the chart hides its SVG drawing.
|
|
|
6819
6869
|
| | SVG | three.js |
|
|
6820
6870
|
|---|---|---|
|
|
6821
6871
|
| What it needs | Nothing more than the chart | \`@fusion.dev/helix-plot\`, three.js, and WebGL |
|
|
6822
|
-
| How the view moves | Shift with an arrow
|
|
6872
|
+
| How the view moves | Drag to turn and tilt, and Shift with an arrow to turn a step | Drag to turn, the wheel or a pinch to zoom, and Shift with an arrow to turn a step |
|
|
6823
6873
|
| Light | Shaded by which way each face turns, with no perspective | Lit from above, in perspective |
|
|
6824
6874
|
| Without WebGL | Drawn | Not drawn, and the SVG drawing stays |
|
|
6825
6875
|
|
|
6826
|
-
Start with SVG. Connect three.js where a reader gains from
|
|
6827
|
-
|
|
6876
|
+
Start with SVG. Connect three.js where a reader gains from zooming and from
|
|
6877
|
+
perspective, or where the data is larger than SVG draws smoothly.
|
|
6878
|
+
|
|
6879
|
+
**The SVG drawing turns within a frame or two up to these sizes**, measured in
|
|
6880
|
+
Chromium on an Apple silicon Mac:
|
|
6881
|
+
|
|
6882
|
+
| Chart | Turns within a frame or two | Measured above that |
|
|
6883
|
+
|---|---|---|
|
|
6884
|
+
| \`Spatial Scatter Chart\` | 2,000 points | 5,000 points: 67 ms a turn step |
|
|
6885
|
+
| \`Spatial Surface Chart\` | 900 readings, a grid of 30 by 30 | 1,600 readings: 50 ms, and 3,600: 113 ms |
|
|
6886
|
+
| \`Spatial Heatmap\` | 365 days | 730 days: 50 ms, and 1,825: 132 ms |
|
|
6887
|
+
|
|
6888
|
+
A slower machine reaches these sizes sooner. three.js draws each chart on the
|
|
6889
|
+
graphics card.
|
|
6828
6890
|
|
|
6829
6891
|
## Read a chart with the pointer and the keys
|
|
6830
6892
|
|
|
6831
6893
|
A pointer resting on a reading shows its row in the chart's tooltip, the same
|
|
6832
|
-
tooltip every Helix chart shows. A tap shows it until a tap lands elsewhere.
|
|
6894
|
+
tooltip every Helix chart shows. A tap shows it until a tap lands elsewhere. A
|
|
6895
|
+
drag turns and tilts the view, and a press that hardly moves is still a press.
|
|
6896
|
+
On a touch screen, a drag across turns the view, and a drag up or down scrolls
|
|
6897
|
+
the page.
|
|
6833
6898
|
|
|
6834
6899
|
The plot takes focus, and the keys move the reading:
|
|
6835
6900
|
|
|
@@ -6845,10 +6910,19 @@ The plot takes focus, and the keys move the reading:
|
|
|
6845
6910
|
\`Spatial Heatmap\` takes \`Heatmap\`'s keys, and Shift with an arrow turns its
|
|
6846
6911
|
view, except under \`selection-mode="multiple"\`, where it selects a range.
|
|
6847
6912
|
|
|
6848
|
-
In three.js, a
|
|
6849
|
-
set it happens at once.
|
|
6913
|
+
In three.js, a step of Shift with an arrow moves over a quarter of a second,
|
|
6914
|
+
and with reduced motion set it happens at once. In the SVG drawing, a step
|
|
6915
|
+
happens at once, and a drag turns the view as the pointer moves. Both drawings
|
|
6916
|
+
turn round the middle of the data and keep their size through a drag, so
|
|
6917
|
+
nothing else on the page moves. Once the drag ends, the SVG drawing settles
|
|
6918
|
+
into the space that fits it, at once with reduced motion set. No spatial chart
|
|
6850
6919
|
turns by itself.
|
|
6851
6920
|
|
|
6921
|
+
The numbers and names stand outside the box, along the edges that face the
|
|
6922
|
+
reader, and move to other edges as the view turns. A number that would cover
|
|
6923
|
+
another is left out. \`Spatial Heatmap\` stands its first and last labels under
|
|
6924
|
+
the two ends of its front edge, clear of the relief.
|
|
6925
|
+
|
|
6852
6926
|
## Color a spatial chart
|
|
6853
6927
|
|
|
6854
6928
|
Each chart takes its colors from your theme, and these hooks change them:
|
|
@@ -7944,7 +8018,7 @@ type needs less leading. \`--helix-leading-heading\` expresses that once, so no
|
|
|
7944
8018
|
heading level needs its own multiplier.
|
|
7945
8019
|
`,
|
|
7946
8020
|
'using-helix-with-an-agent': `---
|
|
7947
|
-
description:
|
|
8021
|
+
description: The rules an agent follows to write Helix code, and the five mistakes that look like Helix bugs.
|
|
7948
8022
|
parent: coding-agents
|
|
7949
8023
|
section: Getting started
|
|
7950
8024
|
title: Using Helix with an agent
|
|
@@ -7953,41 +8027,52 @@ title: Using Helix with an agent
|
|
|
7953
8027
|
|
|
7954
8028
|
# Using Helix with an agent
|
|
7955
8029
|
|
|
7956
|
-
This guide is
|
|
8030
|
+
This guide is what an agent reads before writing Helix code. It is also the
|
|
8031
|
+
\`helix\` skill: \`skills/helix/SKILL.md\` in \`@fusion.dev/helix\`, which matches the
|
|
8032
|
+
version installed, and the skill in Helix's plugin for coding agents. [Coding
|
|
8033
|
+
agents](./coding-agents) says how to install the plugin or link the skill.
|
|
7957
8034
|
|
|
7958
|
-
|
|
7959
|
-
- \`skills/helix/SKILL.md\` inside \`@fusion.dev/helix\`, which matches the version
|
|
7960
|
-
you installed and works offline
|
|
8035
|
+
## Use a Helix family wherever one exists
|
|
7961
8036
|
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
8037
|
+
Write a Helix element for everything Helix has a family for, and a native
|
|
8038
|
+
element only for page structure. Before you write a native element, ask whether
|
|
8039
|
+
a family stands in for it:
|
|
7965
8040
|
|
|
7966
|
-
|
|
8041
|
+
- \`helix api find <tag>\`, or the MCP tool \`helix_find\`, answers a native tag
|
|
8042
|
+
with its family: \`button\` finds Button, and \`h1\` finds Text.
|
|
8043
|
+
- Each family's file lists the native elements it replaces under \`replaces\`.
|
|
7967
8044
|
|
|
7968
|
-
|
|
7969
|
-
https://fusion.dev/helix/components/<family>.md
|
|
7970
|
-
https://fusion.dev/helix/components/<family>.json
|
|
7971
|
-
\`\`\`
|
|
8045
|
+
These native elements have families:
|
|
7972
8046
|
|
|
7973
|
-
|
|
8047
|
+
- controls: \`button\`, \`input\` of every visible type, \`select\`, and \`textarea\`
|
|
8048
|
+
- overlays and disclosure: \`dialog\` and \`details\`
|
|
8049
|
+
- text: \`h1\` to \`h6\` and \`p\`, which \`helix-text\` writes with \`as="h1"\` and the
|
|
8050
|
+
rest
|
|
8051
|
+
- content: \`img\`, \`picture\`, \`hr\`, \`ul\`, \`ol\`, \`table\`, \`code\`, \`pre\`, \`kbd\`,
|
|
8052
|
+
\`blockquote\`, \`q\`, \`video\`, \`progress\`, and \`meter\`
|
|
7974
8053
|
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
-
|
|
7978
|
-
- every event, with its class and its React prop
|
|
7979
|
-
- every slot, part, and custom property
|
|
7980
|
-
- the examples, each with the import lines it needs
|
|
8054
|
+
Page structure stays native: \`main\`, \`section\`, \`article\`, \`header\`, \`footer\`,
|
|
8055
|
+
\`nav\`, \`form\`, \`label\`, \`div\`, \`span\`, and \`a\`. So does markup a CMS writes
|
|
8056
|
+
inside \`data-prose\`.
|
|
7981
8057
|
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
8058
|
+
\`helix scan\` and the MCP tool \`helix_check\` report each native element a page
|
|
8059
|
+
writes where an installed family stands in for it, as \`native-element\`.
|
|
8060
|
+
|
|
8061
|
+
## Look up a family before writing its tags
|
|
8062
|
+
|
|
8063
|
+
Each family's API is in the packages you installed, and on this site:
|
|
7986
8064
|
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
8065
|
+
- \`helix api family <family>\`, or the MCP tool \`helix_family\`
|
|
8066
|
+
- \`node_modules/@fusion.dev/helix/api.json\`
|
|
8067
|
+
- \`https://fusion.dev/helix/components/<family>.md\` and \`.json\`
|
|
8068
|
+
|
|
8069
|
+
Each lists the import lines, every tag, every property with its literal union,
|
|
8070
|
+
every event with its React prop, every slot, part, and custom property, and the
|
|
8071
|
+
examples with the imports each one needs.
|
|
8072
|
+
|
|
8073
|
+
**If a tag is not in a family's file, it does not exist.** A property value
|
|
8074
|
+
outside a declared union is invalid. Find a family by name, alias, or purpose
|
|
8075
|
+
with \`helix api find\`, or the MCP tool \`helix_find\`.
|
|
7991
8076
|
|
|
7992
8077
|
## Five mistakes that look like Helix bugs
|
|
7993
8078
|
|
|
@@ -8092,12 +8177,9 @@ Each missing layer has its own symptom:
|
|
|
8092
8177
|
- Unstyled headings mean \`base.css\` is missing.
|
|
8093
8178
|
- No color anywhere means \`primitives.css\` or \`tokens.css\` is missing.
|
|
8094
8179
|
|
|
8095
|
-
To tell the last two apart, look at the stylesheet.
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
to \`rgba(0, 0, 0, 0)\`, because \`tokens.css\` refers to a primitive 297 times and
|
|
8099
|
-
to nothing else. A missing \`primitives.css\` looks like a working install, and
|
|
8100
|
-
\`helix.css\` exists to prevent it.
|
|
8180
|
+
To tell the last two apart, look at the stylesheet. Without \`tokens.css\`,
|
|
8181
|
+
nothing declares \`--helix-color-*\`. Without \`primitives.css\`, every token is
|
|
8182
|
+
declared and every color resolves to transparent.
|
|
8101
8183
|
|
|
8102
8184
|
## Choosing a component family
|
|
8103
8185
|
|
|
@@ -8137,73 +8219,25 @@ You can style a component in three ways. Try them in this order:
|
|
|
8137
8219
|
belong to \`@fusion.dev/helix-styles\`. The underscore marks them as internal.
|
|
8138
8220
|
Read the semantic tokens that refer to them.
|
|
8139
8221
|
|
|
8140
|
-
##
|
|
8141
|
-
|
|
8142
|
-
\`@fusion.dev/helix-styles\` is plain CSS with no JavaScript. It includes recipes
|
|
8143
|
-
for markup that Helix does not render:
|
|
8144
|
-
|
|
8145
|
-
\`\`\`html
|
|
8146
|
-
<button
|
|
8147
|
-
data-button="solid"
|
|
8148
|
-
data-button-tone="primary"
|
|
8149
|
-
>Save</button>
|
|
8150
|
-
<article data-prose><h2>From a CMS</h2></article>
|
|
8151
|
-
<div data-density="sm">…</div>
|
|
8152
|
-
\`\`\`
|
|
8153
|
-
|
|
8154
|
-
A recipe sets appearance only. It has none of these:
|
|
8155
|
-
|
|
8156
|
-
- state
|
|
8157
|
-
- form participation
|
|
8158
|
-
- focus trapping
|
|
8159
|
-
- keyboard handling
|
|
8160
|
-
|
|
8161
|
-
If you are adding a script to a recipe, use the component.
|
|
8162
|
-
|
|
8163
|
-
## Link your tool to this guide
|
|
8164
|
-
|
|
8165
|
-
**Point your tool at the guide, and do not copy it.** A copy starts to go stale
|
|
8166
|
-
as soon as you paste it, and the guide changes with the library.
|
|
8167
|
-
|
|
8168
|
-
The skill in the package matches the Helix you installed. In Claude Code, link
|
|
8169
|
-
it into your project's skills folder:
|
|
8170
|
-
|
|
8171
|
-
\`\`\`sh
|
|
8172
|
-
mkdir -p .claude/skills
|
|
8173
|
-
ln -s ../../node_modules/@fusion.dev/helix/skills/helix .claude/skills/helix
|
|
8174
|
-
\`\`\`
|
|
8175
|
-
|
|
8176
|
-
Other tools read a file in your repository. Add a line to it that names the
|
|
8177
|
-
skill, or this page:
|
|
8222
|
+
## Markup Helix does not render
|
|
8178
8223
|
|
|
8179
|
-
|
|
8180
|
-
Helix
|
|
8181
|
-
|
|
8182
|
-
\`\`\`
|
|
8183
|
-
|
|
8184
|
-
| Tool | Where it goes |
|
|
8185
|
-
|---|---|
|
|
8186
|
-
| Claude Code | \`.claude/skills/helix\`, or a line in \`AGENTS.md\` or \`CLAUDE.md\` |
|
|
8187
|
-
| Cursor | \`.cursor/rules/\` |
|
|
8188
|
-
| GitHub Copilot | \`.github/copilot-instructions.md\` |
|
|
8189
|
-
| Anything else | Whatever it reads. The line is the same |
|
|
8224
|
+
HTML that a CMS or a Markdown library writes, inside an element with
|
|
8225
|
+
\`data-prose\`, takes Helix's typography from \`@fusion.dev/helix-styles\` and needs
|
|
8226
|
+
no Helix elements. Everywhere else, write the Helix element.
|
|
8190
8227
|
|
|
8191
|
-
|
|
8192
|
-
have to maintain a file we generated in your repository against our changes. A
|
|
8193
|
-
tool that rewrote it on install would be a dependency you did not ask for, in a
|
|
8194
|
-
directory you own. You add the link or the line, and you can delete it.
|
|
8228
|
+
## Check the code you wrote
|
|
8195
8229
|
|
|
8196
|
-
|
|
8230
|
+
Run these after you write Helix code, and fix every finding at \`error\` and
|
|
8231
|
+
\`warn\` before you finish. Each prints JSON with \`--json\`.
|
|
8197
8232
|
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8233
|
+
| Command | MCP tool | What it finds |
|
|
8234
|
+
|---|---|---|
|
|
8235
|
+
| \`helix scan\` | \`helix_check\` | Unknown tags, attributes, values, slots, parts, hooks, events, and tokens, a native element a Helix family replaces, a missing import, and the rest, each with its file and line |
|
|
8236
|
+
| \`helix diagnostics --once <url>\` | \`helix_check_page\` | The same on the running page, and what the library logged as it ran |
|
|
8237
|
+
| \`helix theme audit\` | \`helix_audit_theme\` | Every foreground and background pair in your theme that misses its contrast target |
|
|
8201
8238
|
|
|
8202
|
-
\`helix
|
|
8203
|
-
|
|
8204
|
-
takes \`claude\`, \`cursor\`, or \`vscode\`, and writes the server into the file that
|
|
8205
|
-
client reads. [Coding agents](./coding-agents) lists the tools. It runs on your
|
|
8206
|
-
machine, talks to a client you chose, and makes no network requests.
|
|
8239
|
+
\`helix scan --file <path>\` reports one file's findings and still reads the whole
|
|
8240
|
+
project, so an import in another file counts.
|
|
8207
8241
|
|
|
8208
8242
|
## What this guide does not cover
|
|
8209
8243
|
|