@fusion.dev/helix-docs 0.105.0 → 0.107.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/iconography.mdx +7 -7
- package/content/maps.mdx +259 -14
- package/content/metrics.mdx +223 -223
- package/dist/sources.generated.js +489 -244
- package/package.json +3 -3
|
@@ -1594,12 +1594,12 @@ title: Iconography
|
|
|
1594
1594
|
<helix-icon name="trash"></helix-icon>
|
|
1595
1595
|
\`\`\`
|
|
1596
1596
|
|
|
1597
|
-
Helix has
|
|
1598
|
-
weight. We keep Phosphor's own geometry. Rescaling to a 24 box
|
|
1599
|
-
optical weight of every glyph, and the set would stop matching
|
|
1600
|
-
the bold weight because Phosphor's regular weight is a
|
|
1601
|
-
medium weight of Helix text. An icon that looks lighter than
|
|
1602
|
-
it does not work as a mark.
|
|
1597
|
+
Helix has 125 glyphs, 120 of them from Phosphor, drawn on a 256 box at
|
|
1598
|
+
Phosphor's bold weight. We keep Phosphor's own geometry. Rescaling to a 24 box
|
|
1599
|
+
would change the optical weight of every glyph, and the set would stop matching
|
|
1600
|
+
Phosphor. We use the bold weight because Phosphor's regular weight is a
|
|
1601
|
+
hairline beside the medium weight of Helix text. An icon that looks lighter than
|
|
1602
|
+
the words next to it does not work as a mark.
|
|
1603
1603
|
|
|
1604
1604
|
## Size and color come from the surrounding text
|
|
1605
1605
|
|
|
@@ -1674,7 +1674,7 @@ both are set, \`icon\` wins.
|
|
|
1674
1674
|
|
|
1675
1675
|
\`icon\` also keeps your bundle small. \`name\` looks up glyphs in an index of the
|
|
1676
1676
|
whole set, and no bundler can tree-shake that index. If you render one icon by
|
|
1677
|
-
\`name\`, you ship the whole set:
|
|
1677
|
+
\`name\`, you ship the whole set: 17 kB gzipped for 125 glyphs. With \`icon\`, you
|
|
1678
1678
|
ship only the glyph you import.
|
|
1679
1679
|
|
|
1680
1680
|
\`icon\` also draws glyphs from outside this set. Anything that exports the same
|
|
@@ -2282,7 +2282,7 @@ title: Maps
|
|
|
2282
2282
|
# Maps
|
|
2283
2283
|
|
|
2284
2284
|
Helix Maps puts a frame around a map drawn by MapLibre, Leaflet, or a renderer of
|
|
2285
|
-
your own. The frame adds
|
|
2285
|
+
your own. The frame adds a column of controls and a place for the map credit. You
|
|
2286
2286
|
add places, routes, areas, live positions, and data as elements inside the
|
|
2287
2287
|
frame, and \`@fusion.dev/helix-map\` connects the frame to the renderer and styles
|
|
2288
2288
|
the map with your theme.
|
|
@@ -2300,7 +2300,11 @@ Add the map frame, an element for MapLibre to draw in, and your places:
|
|
|
2300
2300
|
\`\`\`html
|
|
2301
2301
|
<helix-map label="Our stores">
|
|
2302
2302
|
<div id="map"></div>
|
|
2303
|
-
<helix-map-marker
|
|
2303
|
+
<helix-map-marker
|
|
2304
|
+
label="Flagship"
|
|
2305
|
+
lat="30.2672"
|
|
2306
|
+
lng="-97.7431"
|
|
2307
|
+
></helix-map-marker>
|
|
2304
2308
|
</helix-map>
|
|
2305
2309
|
\`\`\`
|
|
2306
2310
|
|
|
@@ -2330,8 +2334,8 @@ followTheme(map, frame, style)
|
|
|
2330
2334
|
|
|
2331
2335
|
\`connectMap\` links the frame to the renderer:
|
|
2332
2336
|
|
|
2333
|
-
- The frame's pan and
|
|
2334
|
-
motion settings. The map moves without animation when a user has asked for
|
|
2337
|
+
- The frame's pan, zoom, rotate, and tilt buttons and keys move the map, using
|
|
2338
|
+
your theme's motion settings. The map moves without animation when a user has asked for
|
|
2335
2339
|
reduced motion.
|
|
2336
2340
|
- The renderer's own keyboard handling and zoom buttons are turned off, so the
|
|
2337
2341
|
frame's controls are the only ones.
|
|
@@ -2354,11 +2358,41 @@ you already have. Leaflet draws routes, areas, and points only when you pass it
|
|
|
2354
2358
|
- Main roads use \`primary\`, your brand color.
|
|
2355
2359
|
- Smaller roads, buildings, borders, and labels use \`foreground\`.
|
|
2356
2360
|
|
|
2361
|
+
It also draws landmarks, highway signs, and neighborhood names:
|
|
2362
|
+
|
|
2363
|
+
- A landmark is an icon on a disc and its name, in a color for its kind:
|
|
2364
|
+
parks, museums, schools, hotels, hospitals, stations, and stadiums from zoom
|
|
2365
|
+
14, and food and shops from zoom 16. Each color is a fixed hue at your brand
|
|
2366
|
+
color's lightness, so the kinds stay apart in any theme.
|
|
2367
|
+
- A highway's number is on its sign, drawn to the Federal Highway
|
|
2368
|
+
Administration's outlines: the red and blue Interstate shield, the white US
|
|
2369
|
+
route shield, the white circle of a state route, and a plain plate for other
|
|
2370
|
+
roads.
|
|
2371
|
+
- Neighborhoods are in spaced capitals, quieter than the towns.
|
|
2372
|
+
|
|
2357
2373
|
The same call builds a light map for a light theme and a dark map for a dark
|
|
2358
2374
|
theme. Map labels meet a contrast target of 4.5 against the land. Pass
|
|
2359
2375
|
\`contrast\` to change it, \`language\` to choose which name each place is labeled
|
|
2360
2376
|
with, and \`tiles\` and \`glyphs\` to use your own tile server.
|
|
2361
2377
|
|
|
2378
|
+
Pass \`font\` to draw the labels in your theme's typeface. MapLibre draws the
|
|
2379
|
+
letters in the page from the font your page has loaded, so there are no glyph
|
|
2380
|
+
files to fetch. \`mapFontFrom(frame)\` reads the typeface from your theme, and
|
|
2381
|
+
\`fontReady(font)\` waits until its weights are loaded. Wait for it before you
|
|
2382
|
+
create the map, because MapLibre keeps each letter as first drawn:
|
|
2383
|
+
|
|
2384
|
+
\`\`\`js
|
|
2385
|
+
const font = mapFontFrom(frame)
|
|
2386
|
+
await fontReady(font)
|
|
2387
|
+
const map = new maplibregl.Map({ container: 'map', style: mapLibreStyle(colors, { font }) })
|
|
2388
|
+
\`\`\`
|
|
2389
|
+
|
|
2390
|
+
The style draws the world as a globe when the map is zoomed out. The globe turns
|
|
2391
|
+
into the flat map as the map zooms in. \`connectMap\` hides markers on the far side
|
|
2392
|
+
of the globe, and a keyboard user who moves to one turns the globe to show it.
|
|
2393
|
+
Pass \`globe: false\` for a flat map at every zoom. MapLibre 4 has no globe, so
|
|
2394
|
+
pass it there too.
|
|
2395
|
+
|
|
2362
2396
|
\`followTheme(map, frame, style)\` restyles the map when your theme changes. It
|
|
2363
2397
|
watches for a new color mode, class, or theme value on the frame or its
|
|
2364
2398
|
ancestors, and for a change in the system's light or dark setting. If your page
|
|
@@ -2369,6 +2403,42 @@ changes its theme another way, such as by replacing a stylesheet, call
|
|
|
2369
2403
|
a frame or two after the page loads. If the colors never become available, it
|
|
2370
2404
|
reports which one is missing.
|
|
2371
2405
|
|
|
2406
|
+
## Draw the map before it loads
|
|
2407
|
+
|
|
2408
|
+
\`mapSnapshot(view)\` draws the map on your server as an SVG, from the same tiles
|
|
2409
|
+
and in the same colors as \`mapLibreStyle\`. Put it in the frame after the element
|
|
2410
|
+
MapLibre draws in, and the page shows a map from its first paint. \`connectMap\`
|
|
2411
|
+
fades it out once MapLibre has drawn its tiles.
|
|
2412
|
+
|
|
2413
|
+
\`\`\`js
|
|
2414
|
+
import { mapSnapshot } from '@fusion.dev/helix-map/snapshot'
|
|
2415
|
+
|
|
2416
|
+
const view = {
|
|
2417
|
+
center: { lat: 30.27, lng: -97.74 },
|
|
2418
|
+
height: 700,
|
|
2419
|
+
pitch: 45,
|
|
2420
|
+
width: 1200,
|
|
2421
|
+
zoom: 14,
|
|
2422
|
+
}
|
|
2423
|
+
const snapshot = await mapSnapshot(view)
|
|
2424
|
+
// Inside helix-map, after <div id="map"></div>, write the snapshot's markup.
|
|
2425
|
+
\`\`\`
|
|
2426
|
+
|
|
2427
|
+
Give MapLibre the same \`center\`, \`zoom\`, \`pitch\`, and \`bearing\`, and the snapshot
|
|
2428
|
+
lines up with the map that replaces it. \`width\` and \`height\` are the box it is
|
|
2429
|
+
drawn for, and a smaller box shows its middle. A snapshot draws the land, water,
|
|
2430
|
+
parks, buildings, and roads, and leaves the labels to MapLibre. Its colors are
|
|
2431
|
+
your theme's tokens, so it is light or dark with the page and follows a theme
|
|
2432
|
+
change. It resolves to an empty string when the tiles cannot be read.
|
|
2433
|
+
|
|
2434
|
+
In a framework that renders the markup for you, such as React, put the snapshot
|
|
2435
|
+
in an element that is a direct child of the frame and has the
|
|
2436
|
+
\`data-helix-map-snapshot\` attribute. \`connectMap\` hides that element, and leaves
|
|
2437
|
+
removing it to your framework.
|
|
2438
|
+
|
|
2439
|
+
A snapshot is a flat map. A map zoomed out past about 6 is a globe in MapLibre,
|
|
2440
|
+
so draw snapshots of city and street views.
|
|
2441
|
+
|
|
2372
2442
|
## What you can add to a map
|
|
2373
2443
|
|
|
2374
2444
|
| Element | What it adds |
|
|
@@ -2378,13 +2448,23 @@ reports which one is missing.
|
|
|
2378
2448
|
| \`helix-map-area\` | A shape, such as a delivery zone |
|
|
2379
2449
|
| \`helix-map-position\` | A moving point or arrow, such as a vehicle |
|
|
2380
2450
|
| \`helix-map-points\` | Thousands of places loaded from GeoJSON |
|
|
2451
|
+
| \`helix-map-buildings\` | The map's buildings, raised to their heights in 3D |
|
|
2452
|
+
| \`helix-map-raster\` | Map tiles over the map, such as weather radar or satellite imagery |
|
|
2453
|
+
| \`helix-map-terrain\` | Hills and mountains, shaded and raised in 3D |
|
|
2454
|
+
| \`helix-map-contours\` | Contour lines, each at one height |
|
|
2455
|
+
| \`helix-map-landcover\` | What covers the ground: forest, grass, farmland, sand, rock, and ice |
|
|
2381
2456
|
|
|
2382
2457
|
Each element takes \`tone\`, such as \`primary\` or \`danger\`, for its color.
|
|
2383
2458
|
|
|
2384
2459
|
### Markers
|
|
2385
2460
|
|
|
2386
2461
|
\`\`\`html
|
|
2387
|
-
<helix-map-marker
|
|
2462
|
+
<helix-map-marker
|
|
2463
|
+
label="Texas Capitol"
|
|
2464
|
+
lat="30.2747"
|
|
2465
|
+
lng="-97.7405"
|
|
2466
|
+
shape="ring"
|
|
2467
|
+
>
|
|
2388
2468
|
<span slot="icon">B</span>
|
|
2389
2469
|
</helix-map-marker>
|
|
2390
2470
|
\`\`\`
|
|
@@ -2415,8 +2495,8 @@ panel, pass \`clusterZoom: false\` to \`connectMap\` and listen for
|
|
|
2415
2495
|
|
|
2416
2496
|
\`\`\`html
|
|
2417
2497
|
<helix-map-route
|
|
2418
|
-
label="Depot to Mission"
|
|
2419
2498
|
description="4.2 km"
|
|
2499
|
+
label="Depot to Mission"
|
|
2420
2500
|
points="37.7955,-122.3937 37.7644,-122.427"
|
|
2421
2501
|
progress="0.4"
|
|
2422
2502
|
></helix-map-route>
|
|
@@ -2435,12 +2515,12 @@ service such as OSRM or Valhalla.
|
|
|
2435
2515
|
|
|
2436
2516
|
\`\`\`html
|
|
2437
2517
|
<helix-map-position
|
|
2518
|
+
accuracy="30"
|
|
2519
|
+
description="Two stops away"
|
|
2520
|
+
heading="90"
|
|
2438
2521
|
label="Van 12"
|
|
2439
2522
|
lat="37.78"
|
|
2440
2523
|
lng="-122.41"
|
|
2441
|
-
heading="90"
|
|
2442
|
-
accuracy="30"
|
|
2443
|
-
description="Two stops away"
|
|
2444
2524
|
></helix-map-position>
|
|
2445
2525
|
\`\`\`
|
|
2446
2526
|
|
|
@@ -2452,7 +2532,11 @@ readers announce its \`description\` when it changes, at most once every
|
|
|
2452
2532
|
### Thousands of points
|
|
2453
2533
|
|
|
2454
2534
|
\`\`\`html
|
|
2455
|
-
<helix-map-points
|
|
2535
|
+
<helix-map-points
|
|
2536
|
+
cluster
|
|
2537
|
+
label="Food and drink"
|
|
2538
|
+
src="/places.geojson"
|
|
2539
|
+
></helix-map-points>
|
|
2456
2540
|
\`\`\`
|
|
2457
2541
|
|
|
2458
2542
|
Use \`helix-map-points\` for more places than markers can handle. MapLibre draws
|
|
@@ -2462,16 +2546,176 @@ count zooms in to it. Pressing a point sends \`helix-activate\` from the layer
|
|
|
2462
2546
|
with the point's id, or with the property named by \`name-key\`. Leaflet draws
|
|
2463
2547
|
each point on its own, which works for hundreds of points.
|
|
2464
2548
|
|
|
2549
|
+
### Buildings in 3D
|
|
2550
|
+
|
|
2551
|
+
\`\`\`html
|
|
2552
|
+
<helix-map-buildings></helix-map-buildings>
|
|
2553
|
+
\`\`\`
|
|
2554
|
+
|
|
2555
|
+
\`helix-map-buildings\` raises the buildings in the map's tiles to the heights the
|
|
2556
|
+
tiles record, in your theme's raised surface color. Set \`tone\` to color them by
|
|
2557
|
+
meaning. The buildings appear from zoom 13. To see their height, tilt the map by
|
|
2558
|
+
setting \`pitch\` when you create it:
|
|
2559
|
+
|
|
2560
|
+
\`\`\`js
|
|
2561
|
+
const map = new maplibregl.Map({ container: 'map', pitch: 55, style, zoom: 15.5 })
|
|
2562
|
+
\`\`\`
|
|
2563
|
+
|
|
2564
|
+
To let users tilt the map, add \`tilt\` to the frame's \`controls\`:
|
|
2565
|
+
|
|
2566
|
+
\`\`\`html
|
|
2567
|
+
<helix-map
|
|
2568
|
+
controls="zoom compass tilt fullscreen"
|
|
2569
|
+
label="Downtown Austin in 3D"
|
|
2570
|
+
>
|
|
2571
|
+
\`\`\`
|
|
2572
|
+
|
|
2573
|
+
The 3D button is a toggle. Pressed, it tilts the map 50 degrees toward the
|
|
2574
|
+
horizon and raises the buildings. Pressed again, it makes the map flat, and the
|
|
2575
|
+
buildings are the map's own flat footprints. Raised terrain lies flat with them,
|
|
2576
|
+
and keeps its shading. The compass's needle points north as the map turns, and
|
|
2577
|
+
pressing the compass turns the map back to north.
|
|
2578
|
+
|
|
2579
|
+
Leaflet draws maps flat and does not rotate, so a Leaflet map shows no
|
|
2580
|
+
buildings, and the compass and the 3D button do nothing.
|
|
2581
|
+
|
|
2582
|
+
### Weather and other tile overlays
|
|
2583
|
+
|
|
2584
|
+
\`\`\`html
|
|
2585
|
+
<helix-map-raster
|
|
2586
|
+
attribution="Radar from Example Weather"
|
|
2587
|
+
frames="https://tiles.example/radar-50m/{z}/{x}/{y}.png https://tiles.example/radar-now/{z}/{x}/{y}.png"
|
|
2588
|
+
label="Weather radar"
|
|
2589
|
+
></helix-map-raster>
|
|
2590
|
+
\`\`\`
|
|
2591
|
+
|
|
2592
|
+
\`helix-map-raster\` draws map tiles over the land and roads, and under your
|
|
2593
|
+
routes, areas, and place names. Set \`src\` to one tile URL, or \`frames\` to
|
|
2594
|
+
several, and set \`playing\` to show the frames in order, \`interval\` milliseconds
|
|
2595
|
+
each. Every frame's tiles load once, so the loop plays without a blank frame.
|
|
2596
|
+
|
|
2597
|
+
- Put the tile provider's credit in \`attribution\`. The frame shows it beside
|
|
2598
|
+
the map's credit.
|
|
2599
|
+
- The frames do not play while the user has asked for reduced motion.
|
|
2600
|
+
- Content that moves for more than five seconds needs a way to pause it, so
|
|
2601
|
+
give \`playing\` a control on your page.
|
|
2602
|
+
|
|
2603
|
+
### Satellite imagery and map types
|
|
2604
|
+
|
|
2605
|
+
\`\`\`html
|
|
2606
|
+
<helix-map-raster
|
|
2607
|
+
attribution="Imagery from USGS The National Map"
|
|
2608
|
+
ground
|
|
2609
|
+
label="Satellite imagery"
|
|
2610
|
+
max-zoom="16"
|
|
2611
|
+
opacity="1"
|
|
2612
|
+
src="https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}"
|
|
2613
|
+
></helix-map-raster>
|
|
2614
|
+
\`\`\`
|
|
2615
|
+
|
|
2616
|
+
Set \`ground\` on \`helix-map-raster\` to make its tiles the map's imagery. Imagery
|
|
2617
|
+
is a map type, which the frame's \`map-type\` attribute chooses:
|
|
2618
|
+
|
|
2619
|
+
- Absent, the Standard map: your themed map, without the imagery.
|
|
2620
|
+
- \`hybrid\`: the imagery in place of the map's land, under its roads and names.
|
|
2621
|
+
- \`satellite\`: the imagery alone, without the roads and names.
|
|
2622
|
+
|
|
2623
|
+
With \`layers\` in the frame's \`controls\`, the layers menu opens with a card for
|
|
2624
|
+
each map type, showing a picture of the map in it. Set \`max-zoom\` to the deepest
|
|
2625
|
+
zoom your provider has tiles for, and the map enlarges those tiles when a user
|
|
2626
|
+
zooms in further.
|
|
2627
|
+
|
|
2628
|
+
The imagery above is from the U.S. Geological Survey. It is in the public domain
|
|
2629
|
+
and covers the United States. Some providers put \`{y}\` before \`{x}\` in their
|
|
2630
|
+
tile URLs, as this one does.
|
|
2631
|
+
|
|
2632
|
+
### Terrain
|
|
2633
|
+
|
|
2634
|
+
\`\`\`html
|
|
2635
|
+
<helix-map-terrain
|
|
2636
|
+
attribution="Elevation from 3DEP and SRTM data, courtesy of the U.S. Geological Survey"
|
|
2637
|
+
max-zoom="15"
|
|
2638
|
+
raised
|
|
2639
|
+
src="https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"
|
|
2640
|
+
></helix-map-terrain>
|
|
2641
|
+
\`\`\`
|
|
2642
|
+
|
|
2643
|
+
\`helix-map-terrain\` shades the land by its slopes, so hills and valleys show on a
|
|
2644
|
+
flat map. Set \`raised\` to raise the ground to its real height as well, and tilt
|
|
2645
|
+
the map to see it. Set \`exaggeration\` to raise it more than its real height,
|
|
2646
|
+
such as \`1.5\`. Routes, areas, and buildings lie on the raised ground.
|
|
2647
|
+
|
|
2648
|
+
The elevation tiles above are Terrain Tiles on AWS, which are free to use and
|
|
2649
|
+
cover the world. Their tiles store heights in the \`terrarium\` encoding, which is
|
|
2650
|
+
the default. For tiles in the Mapbox encoding, set \`encoding="mapbox"\`. Credit
|
|
2651
|
+
the sources your map shows: in the United States, the U.S. Geological Survey.
|
|
2652
|
+
|
|
2653
|
+
Leaflet draws maps flat, so a Leaflet map shows no terrain.
|
|
2654
|
+
|
|
2655
|
+
### Contour lines
|
|
2656
|
+
|
|
2657
|
+
\`\`\`html
|
|
2658
|
+
<helix-map-contours
|
|
2659
|
+
max-zoom="15"
|
|
2660
|
+
src="https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"
|
|
2661
|
+
unit="feet"
|
|
2662
|
+
></helix-map-contours>
|
|
2663
|
+
\`\`\`
|
|
2664
|
+
|
|
2665
|
+
\`helix-map-contours\` draws lines of equal height from the same elevation tiles
|
|
2666
|
+
as terrain. The lines are closer together as the map zooms in, from 500 meters
|
|
2667
|
+
apart over a region to 5 meters at street level. Every fifth line is heavier and
|
|
2668
|
+
labeled with its height, in meters, or in feet with \`unit="feet"\`. They show
|
|
2669
|
+
from zoom 9, and lie on the ground when it is raised.
|
|
2670
|
+
|
|
2671
|
+
### Land cover
|
|
2672
|
+
|
|
2673
|
+
\`\`\`html
|
|
2674
|
+
<helix-map-landcover></helix-map-landcover>
|
|
2675
|
+
\`\`\`
|
|
2676
|
+
|
|
2677
|
+
\`helix-map-landcover\` colors the ground by what covers it: forest and grass in
|
|
2678
|
+
greens, farmland in wheat, wetland in teal, sand in tan, rock in gray, and ice
|
|
2679
|
+
in pale blue. Each color is mixed into your theme's land color. It draws over
|
|
2680
|
+
parks and under water and roads, so a park shows its meadows and forests.
|
|
2681
|
+
|
|
2682
|
+
### Turn layers on and off
|
|
2683
|
+
|
|
2684
|
+
\`\`\`html
|
|
2685
|
+
<helix-map
|
|
2686
|
+
controls="zoom compass layers fullscreen"
|
|
2687
|
+
label="Downtown Austin"
|
|
2688
|
+
>
|
|
2689
|
+
\`\`\`
|
|
2690
|
+
|
|
2691
|
+
Add \`layers\` to the frame's \`controls\` for a layers button. It opens a menu with
|
|
2692
|
+
a tile for each layer: a picture of what the layer draws, and its \`label\`. A
|
|
2693
|
+
tile is lit while its layer is shown. Pressing a tile sets its layer's \`hidden\`
|
|
2694
|
+
attribute, and \`connectMap\` does not draw a hidden layer. Write \`hidden\` on a
|
|
2695
|
+
layer to start it turned off.
|
|
2696
|
+
|
|
2697
|
+
Give layers the same \`group\` to show them as one tile, such as a route and the
|
|
2698
|
+
dotted legs at its ends. The tile takes the name of the first layer in the
|
|
2699
|
+
group, and shows or hides every layer in it. Keep labels short, such as
|
|
2700
|
+
"Walking route", and put the rest in \`description\`, which screen readers read
|
|
2701
|
+
after the label.
|
|
2702
|
+
|
|
2465
2703
|
## Keyboard and screen readers
|
|
2466
2704
|
|
|
2467
2705
|
- The frame is one tab stop. Arrow keys pan the map, and the plus and minus keys
|
|
2468
|
-
zoom it.
|
|
2706
|
+
zoom it. Shift with Left or Right rotates the map, and Shift with Up or Down
|
|
2707
|
+
tilts it.
|
|
2469
2708
|
- The markers are one tab stop. Arrow keys move between them in the order you
|
|
2470
2709
|
wrote them. The map pans to show a marker that is off screen.
|
|
2471
2710
|
- A points layer is one tab stop over the points and counts in view. Arrow keys
|
|
2472
2711
|
move top to bottom and along each line. Enter on a count zooms in to it.
|
|
2473
|
-
- Screen readers find
|
|
2474
|
-
|
|
2712
|
+
- Screen readers find the map's shown layers in a list inside the frame, named
|
|
2713
|
+
by their \`label\` and \`description\`.
|
|
2714
|
+
- With a pointer, dragging is the only way to move and turn the map. Where your
|
|
2715
|
+
map has to work without dragging, as WCAG 2.2 asks at level AA, add \`pan\` and
|
|
2716
|
+
\`rotate\` to \`controls\` for buttons around the compass that move and turn it.
|
|
2717
|
+
- In the layers menu, Tab moves between the tiles, Space or Enter turns a layer
|
|
2718
|
+
on or off, and Escape closes the menu.
|
|
2475
2719
|
|
|
2476
2720
|
## Write a driver
|
|
2477
2721
|
|
|
@@ -2491,7 +2735,8 @@ animation. Each optional method turns on a feature:
|
|
|
2491
2735
|
| \`layers\` | Drawing routes, areas, and points |
|
|
2492
2736
|
| \`credits\` | The map credit in the frame's footer |
|
|
2493
2737
|
| \`silenceKeyboard\`, \`focusTarget\`, \`replaceZoom\` | Using the frame's keys and zoom buttons |
|
|
2494
|
-
| \`bearing\` | Arrows that stay correct when the map is rotated |
|
|
2738
|
+
| \`bearing\` | Arrows that stay correct when the map is rotated, and the Face north arrow |
|
|
2739
|
+
| \`rotate\`, \`tilt\` | The rotate, Face north, and tilt buttons and keys |
|
|
2495
2740
|
|
|
2496
2741
|
Without \`project\`, markers stay hidden. To animate a move your page makes
|
|
2497
2742
|
itself, read the same motion with \`motionOf(element, pace)\`.
|
|
@@ -2544,7 +2789,7 @@ on its own.
|
|
|
2544
2789
|
|
|
2545
2790
|
| | Raw | Gzip | Brotli |
|
|
2546
2791
|
|---|---|---|---|
|
|
2547
|
-
| Lit and \`@fusion.dev/helix-core\` |
|
|
2792
|
+
| Lit and \`@fusion.dev/helix-core\` | 176,094 | 56,735 | 48,133 |
|
|
2548
2793
|
|
|
2549
2794
|
## Whole packages
|
|
2550
2795
|
|
|
@@ -2555,11 +2800,11 @@ either barrel. The per-component tables show what your page pays.
|
|
|
2555
2800
|
|
|
2556
2801
|
| Package | Raw | Gzip | Brotli | |
|
|
2557
2802
|
|---|---|---|---|---|
|
|
2558
|
-
| \`@fusion.dev/helix-core\` |
|
|
2559
|
-
| \`@fusion.dev/helix-headless\` |
|
|
2560
|
-
| \`@fusion.dev/helix-icons\` |
|
|
2803
|
+
| \`@fusion.dev/helix-core\` | 175,648 | 56,340 | 47,876 | The element base class, mixins, decorators, and floating positioning. |
|
|
2804
|
+
| \`@fusion.dev/helix-headless\` | 715,674 | 185,346 | 144,163 | Every headless family. The barrel entry includes all of them. |
|
|
2805
|
+
| \`@fusion.dev/helix-icons\` | 55,565 | 17,727 | 14,864 | The whole glyph set. |
|
|
2561
2806
|
| \`@fusion.dev/helix-theme\` | 3,288 | 1,571 | 1,355 | The derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
2562
|
-
| \`@fusion.dev/helix\` | 1,
|
|
2807
|
+
| \`@fusion.dev/helix\` | 1,245,495 | 291,270 | 213,669 | Every styled family. |
|
|
2563
2808
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
2564
2809
|
|
|
2565
2810
|
## Stylesheets
|
|
@@ -2573,20 +2818,20 @@ shows the whole cost of using the base layer on its own.
|
|
|
2573
2818
|
| File | Raw | Gzip | Brotli | |
|
|
2574
2819
|
|---|---|---|---|---|
|
|
2575
2820
|
| \`base.css\` | 30,672 | 4,430 | 3,844 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
2576
|
-
| \`elements.css\` | 8,
|
|
2821
|
+
| \`elements.css\` | 8,760 | 1,482 | 1,323 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
2577
2822
|
| \`helix.css\` | 207 | 148 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
2578
2823
|
| \`primitives.css\` | 6,390 | 1,260 | 1,084 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
2579
2824
|
| \`tokens.css\` | 20,987 | 2,567 | 2,138 | The 191 semantic tokens. Every styled component needs them. |
|
|
2580
2825
|
|
|
2581
2826
|
## What the numbers say
|
|
2582
2827
|
|
|
2583
|
-
**Most of your first component is the shared runtime.** The median styled family is
|
|
2828
|
+
**Most of your first component is the shared runtime.** The median styled family is 20,604 bytes gzipped alone, and it adds 2,233 to a page that already has Helix. The shared runtime is 89 percent of the first component, and the component itself is 11 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.
|
|
2584
2829
|
|
|
2585
|
-
Across the 103 styled components, the smallest is \`code\` at 9,
|
|
2830
|
+
Across the 103 styled components, the smallest is \`code\` at 9,782 bytes gzipped alone, and the largest is \`data-table\` at 62,714. Every family together is 291,270.
|
|
2586
2831
|
|
|
2587
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs
|
|
2832
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 185,346 bytes gzipped, whatever else the page imports. That is 9 times the median family above. All 103 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.
|
|
2588
2833
|
|
|
2589
|
-
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
|
|
2834
|
+
The headless tier never had the problem, so it serves as the control. \`@fusion.dev/helix-core\` is \`sideEffects: false\`, and the median headless family is 21,055 bytes gzipped alone.
|
|
2590
2835
|
|
|
2591
2836
|
## Compared with other systems
|
|
2592
2837
|
|
|
@@ -2598,43 +2843,43 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
2598
2843
|
|
|
2599
2844
|
| Component | System | Raw | Gzip | Brotli |
|
|
2600
2845
|
|---|---|---|---|---|
|
|
2601
|
-
| \`button\` | **Helix** |
|
|
2846
|
+
| \`button\` | **Helix** | 42,297 | 12,358 | 10,881 |
|
|
2602
2847
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
2603
2848
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
2604
2849
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
2605
2850
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
2606
|
-
| \`checkbox\` | **Helix** | 46,
|
|
2851
|
+
| \`checkbox\` | **Helix** | 46,701 | 13,549 | 11,892 |
|
|
2607
2852
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
2608
2853
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
2609
2854
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
2610
2855
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
2611
|
-
| \`dialog\` | **Helix** | 39,
|
|
2856
|
+
| \`dialog\` | **Helix** | 39,531 | 11,977 | 10,564 |
|
|
2612
2857
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
2613
2858
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
2614
2859
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
2615
2860
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
2616
|
-
| \`radio\` | **Helix** | 50,
|
|
2861
|
+
| \`radio\` | **Helix** | 50,567 | 14,074 | 12,400 |
|
|
2617
2862
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
2618
2863
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
2619
2864
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
2620
2865
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
2621
|
-
| \`switch\` | **Helix** |
|
|
2866
|
+
| \`switch\` | **Helix** | 44,077 | 13,135 | 11,529 |
|
|
2622
2867
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
2623
2868
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
2624
2869
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
2625
2870
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
2626
|
-
| \`tabs\` | **Helix** | 45,
|
|
2871
|
+
| \`tabs\` | **Helix** | 45,842 | 13,332 | 11,742 |
|
|
2627
2872
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
2628
2873
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
2629
2874
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
2630
2875
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
2631
|
-
| \`tooltip\` | **Helix** | 66,
|
|
2876
|
+
| \`tooltip\` | **Helix** | 66,422 | 21,810 | 19,328 |
|
|
2632
2877
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
2633
2878
|
| | Material Web | | not shipped | |
|
|
2634
2879
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
2635
2880
|
| | Spectrum | 136,599 | 40,552 | 35,286 |
|
|
2636
2881
|
|
|
2637
|
-
At least one system is smaller than Helix on \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 3,
|
|
2882
|
+
At least one system is smaller than Helix on \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 3,414 bytes gzipped. 7 of 28 peer measurements are smaller than the Helix row.
|
|
2638
2883
|
|
|
2639
2884
|
- **Carbon** \`@carbon/web-components@2.61.0\`. Its dialog is Modal, its radio is Radio Button, and its switch is Toggle.
|
|
2640
2885
|
- **Material Web** \`@material/web@2.5.0\`. Ships no tooltip. Its button is measured as the filled one, there being no single button element.
|
|
@@ -2678,103 +2923,103 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
2678
2923
|
|
|
2679
2924
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
2680
2925
|
|---|---|---|---|---|---|---|
|
|
2681
|
-
| \`accordion\` |
|
|
2682
|
-
| \`announcement\` |
|
|
2683
|
-
| \`app-header\` |
|
|
2684
|
-
| \`area-chart\` |
|
|
2685
|
-
| \`avatar\` |
|
|
2686
|
-
| \`badge\` | 31,
|
|
2687
|
-
| \`bar-chart\` | 79,
|
|
2688
|
-
| \`blockquote\` | 31,
|
|
2689
|
-
| \`breadcrumbs\` |
|
|
2690
|
-
| \`button\` |
|
|
2691
|
-
| \`button-group\` | 31,
|
|
2692
|
-
| \`callout\` |
|
|
2693
|
-
| \`canvas\` |
|
|
2694
|
-
| \`card\` | 31,
|
|
2695
|
-
| \`carousel\` |
|
|
2696
|
-
| \`chat\` |
|
|
2697
|
-
| \`checkbox\` |
|
|
2698
|
-
| \`checkbox-group\` |
|
|
2699
|
-
| \`code\` |
|
|
2700
|
-
| \`code-block\` |
|
|
2701
|
-
| \`color-input\` |
|
|
2702
|
-
| \`color-picker\` |
|
|
2703
|
-
| \`combobox\` |
|
|
2704
|
-
| \`command\` |
|
|
2705
|
-
| \`copy-button\` |
|
|
2706
|
-
| \`data-table\` | 174
|
|
2707
|
-
| \`date-input\` |
|
|
2708
|
-
| \`date-picker\` |
|
|
2709
|
-
| \`description-list\` | 31,
|
|
2710
|
-
| \`dialog\` |
|
|
2711
|
-
| \`divider\` | 31,
|
|
2712
|
-
| \`donut-chart\` | 75,
|
|
2713
|
-
| \`drawer\` | 33,
|
|
2714
|
-
| \`drilldown\` |
|
|
2715
|
-
| \`empty\` |
|
|
2716
|
-
| \`file-input\` |
|
|
2717
|
-
| \`filter-input\` |
|
|
2718
|
-
| \`format-date\` |
|
|
2719
|
-
| \`heatmap\` |
|
|
2720
|
-
| \`icon\` |
|
|
2721
|
-
| \`icon-button\` | 36,
|
|
2722
|
-
| \`image\` | 33,
|
|
2723
|
-
| \`input\` |
|
|
2724
|
-
| \`kbd\` | 33,
|
|
2725
|
-
| \`legend\` | 35,
|
|
2726
|
-
| \`lightbox\` | 39,
|
|
2727
|
-
| \`line-chart\` | 77,
|
|
2728
|
-
| \`list\` | 32,
|
|
2729
|
-
| \`listbox\` |
|
|
2730
|
-
| \`loader\` | 31,
|
|
2731
|
-
| \`map\` |
|
|
2732
|
-
| \`megamenu\` | 61,
|
|
2733
|
-
| \`menu\` |
|
|
2734
|
-
| \`meter\` | 34,
|
|
2735
|
-
| \`navigation\` | 33,
|
|
2736
|
-
| \`notifications\` |
|
|
2737
|
-
| \`number-input\` |
|
|
2738
|
-
| \`object-inspector\` |
|
|
2739
|
-
| \`option\` | 33,
|
|
2740
|
-
| \`outline\` | 36,
|
|
2741
|
-
| \`pagination\` |
|
|
2742
|
-
| \`pin-input\` |
|
|
2743
|
-
| \`popover\` |
|
|
2744
|
-
| \`progress\` | 32,
|
|
2745
|
-
| \`qr-code\` | 43,
|
|
2746
|
-
| \`quote\` |
|
|
2747
|
-
| \`radio\` | 42,
|
|
2748
|
-
| \`rating\` | 44,
|
|
2749
|
-
| \`scatter-chart\` | 77,
|
|
2750
|
-
| \`scroll-area\` |
|
|
2751
|
-
| \`select\` |
|
|
2752
|
-
| \`skeleton\` |
|
|
2753
|
-
| \`skip-link\` | 31,
|
|
2754
|
-
| \`slider\` | 43,
|
|
2755
|
-
| \`sparkline\` | 37,
|
|
2756
|
-
| \`speed-dial\` |
|
|
2757
|
-
| \`splitter\` |
|
|
2758
|
-
| \`stat\` | 31,
|
|
2759
|
-
| \`steps\` |
|
|
2760
|
-
| \`switch\` | 39,
|
|
2761
|
-
| \`table\` |
|
|
2762
|
-
| \`tabs\` | 39,
|
|
2763
|
-
| \`tag\` |
|
|
2764
|
-
| \`textarea\` | 42,
|
|
2765
|
-
| \`time-input\` |
|
|
2766
|
-
| \`time-picker\` |
|
|
2767
|
-
| \`timeline\` |
|
|
2768
|
-
| \`toast\` |
|
|
2769
|
-
| \`toggle\` | 44,
|
|
2770
|
-
| \`toolbar\` | 33,
|
|
2771
|
-
| \`tooltip\` |
|
|
2772
|
-
| \`tour\` |
|
|
2773
|
-
| \`tree\` |
|
|
2774
|
-
| \`trend\` |
|
|
2775
|
-
| \`video\` |
|
|
2776
|
-
| \`video-playlist\` |
|
|
2777
|
-
| \`virtual-list\` | 37,
|
|
2926
|
+
| \`accordion\` | 91,094 | 29,961 | 24,447 | 2,875 | 746 | 648 |
|
|
2927
|
+
| \`announcement\` | 88,510 | 29,143 | 23,730 | 1,386 | 360 | 271 |
|
|
2928
|
+
| \`app-header\` | 32,096 | 10,066 | 8,865 | 1,248 | 299 | 205 |
|
|
2929
|
+
| \`area-chart\` | 78,018 | 26,017 | 22,902 | 11,004 | 3,383 | 2,774 |
|
|
2930
|
+
| \`avatar\` | 34,145 | 10,660 | 9,402 | 3,257 | 893 | 753 |
|
|
2931
|
+
| \`badge\` | 31,632 | 10,004 | 8,783 | 1,163 | 301 | 269 |
|
|
2932
|
+
| \`bar-chart\` | 79,669 | 26,387 | 23,299 | 12,644 | 3,738 | 3,095 |
|
|
2933
|
+
| \`blockquote\` | 31,646 | 10,021 | 8,813 | 774 | 178 | 144 |
|
|
2934
|
+
| \`breadcrumbs\` | 87,550 | 28,471 | 23,352 | 1,965 | 464 | 316 |
|
|
2935
|
+
| \`button\` | 36,204 | 11,250 | 9,854 | 3,095 | 813 | 639 |
|
|
2936
|
+
| \`button-group\` | 31,502 | 9,910 | 8,724 | 661 | 145 | 32 |
|
|
2937
|
+
| \`callout\` | 86,670 | 28,326 | 23,244 | 914 | 249 | 266 |
|
|
2938
|
+
| \`canvas\` | 84,235 | 25,521 | 22,341 | 46,815 | 14,028 | 11,911 |
|
|
2939
|
+
| \`card\` | 31,536 | 9,922 | 8,751 | 694 | 143 | 135 |
|
|
2940
|
+
| \`carousel\` | 96,953 | 31,454 | 25,821 | 10,942 | 2,796 | 2,278 |
|
|
2941
|
+
| \`chat\` | 110,261 | 36,277 | 29,701 | 17,447 | 5,130 | 4,237 |
|
|
2942
|
+
| \`checkbox\` | 40,192 | 12,129 | 10,643 | 2,335 | 673 | 446 |
|
|
2943
|
+
| \`checkbox-group\` | 43,317 | 12,822 | 11,295 | 4,939 | 1,284 | 894 |
|
|
2944
|
+
| \`code\` | 30,121 | 9,492 | 8,354 | 451 | 84 | 97 |
|
|
2945
|
+
| \`code-block\` | 132,294 | 43,489 | 36,582 | 17,201 | 4,527 | 3,861 |
|
|
2946
|
+
| \`color-input\` | 149,793 | 47,470 | 39,966 | 25,273 | 5,960 | 5,020 |
|
|
2947
|
+
| \`color-picker\` | 116,284 | 36,859 | 30,323 | 19,215 | 4,647 | 3,875 |
|
|
2948
|
+
| \`combobox\` | 144,980 | 46,194 | 38,769 | 21,033 | 5,273 | 4,211 |
|
|
2949
|
+
| \`command\` | 114,976 | 36,164 | 29,584 | 17,997 | 4,638 | 3,804 |
|
|
2950
|
+
| \`copy-button\` | 126,892 | 41,852 | 35,201 | 11,796 | 2,942 | 2,347 |
|
|
2951
|
+
| \`data-table\` | 183,174 | 56,117 | 47,455 | 55,522 | 14,122 | 11,635 |
|
|
2952
|
+
| \`date-input\` | 143,336 | 45,714 | 38,337 | 19,132 | 4,881 | 3,996 |
|
|
2953
|
+
| \`date-picker\` | 98,729 | 32,189 | 26,267 | 9,900 | 2,757 | 2,231 |
|
|
2954
|
+
| \`description-list\` | 31,605 | 9,858 | 8,685 | 1,132 | 208 | 130 |
|
|
2955
|
+
| \`dialog\` | 35,154 | 10,963 | 9,662 | 2,717 | 802 | 639 |
|
|
2956
|
+
| \`divider\` | 31,852 | 10,099 | 8,872 | 981 | 251 | 167 |
|
|
2957
|
+
| \`donut-chart\` | 75,801 | 24,975 | 22,109 | 10,214 | 2,990 | 2,493 |
|
|
2958
|
+
| \`drawer\` | 33,907 | 10,598 | 9,310 | 1,761 | 481 | 407 |
|
|
2959
|
+
| \`drilldown\` | 95,565 | 31,332 | 25,473 | 5,704 | 1,526 | 1,130 |
|
|
2960
|
+
| \`empty\` | 32,099 | 10,157 | 8,916 | 956 | 241 | 227 |
|
|
2961
|
+
| \`file-input\` | 98,837 | 32,117 | 26,213 | 6,170 | 1,786 | 1,412 |
|
|
2962
|
+
| \`filter-input\` | 155,578 | 48,898 | 41,127 | 27,973 | 6,807 | 5,647 |
|
|
2963
|
+
| \`format-date\` | 35,115 | 11,078 | 9,788 | 2,867 | 729 | 551 |
|
|
2964
|
+
| \`heatmap\` | 77,023 | 25,205 | 22,244 | 10,872 | 3,019 | 2,401 |
|
|
2965
|
+
| \`icon\` | 86,237 | 28,154 | 23,061 | 1,018 | 250 | 189 |
|
|
2966
|
+
| \`icon-button\` | 36,603 | 11,278 | 9,942 | 3,494 | 850 | 636 |
|
|
2967
|
+
| \`image\` | 33,675 | 10,457 | 9,201 | 3,156 | 826 | 627 |
|
|
2968
|
+
| \`input\` | 97,927 | 31,604 | 25,803 | 4,702 | 1,307 | 962 |
|
|
2969
|
+
| \`kbd\` | 33,456 | 10,687 | 9,426 | 2,976 | 973 | 733 |
|
|
2970
|
+
| \`legend\` | 35,508 | 11,188 | 9,838 | 1,080 | 280 | 201 |
|
|
2971
|
+
| \`lightbox\` | 39,872 | 12,217 | 10,697 | 4,807 | 1,271 | 1,017 |
|
|
2972
|
+
| \`line-chart\` | 77,599 | 25,717 | 22,776 | 10,667 | 3,097 | 2,589 |
|
|
2973
|
+
| \`list\` | 32,558 | 10,095 | 8,878 | 1,726 | 362 | 269 |
|
|
2974
|
+
| \`listbox\` | 106,688 | 34,289 | 27,995 | 11,194 | 3,052 | 2,438 |
|
|
2975
|
+
| \`loader\` | 31,742 | 10,028 | 8,830 | 900 | 233 | 132 |
|
|
2976
|
+
| \`map\` | 122,721 | 37,175 | 30,653 | 29,314 | 6,725 | 5,608 |
|
|
2977
|
+
| \`megamenu\` | 61,983 | 20,721 | 18,296 | 4,941 | 1,356 | 981 |
|
|
2978
|
+
| \`menu\` | 125,668 | 41,786 | 35,006 | 8,848 | 2,234 | 1,840 |
|
|
2979
|
+
| \`meter\` | 34,932 | 10,876 | 9,580 | 4,099 | 1,058 | 859 |
|
|
2980
|
+
| \`navigation\` | 33,436 | 10,558 | 9,284 | 1,361 | 349 | 257 |
|
|
2981
|
+
| \`notifications\` | 102,744 | 32,907 | 26,890 | 11,383 | 2,676 | 2,227 |
|
|
2982
|
+
| \`number-input\` | 100,853 | 32,415 | 26,475 | 7,625 | 2,030 | 1,508 |
|
|
2983
|
+
| \`object-inspector\` | 139,942 | 46,072 | 38,783 | 19,463 | 5,189 | 4,378 |
|
|
2984
|
+
| \`option\` | 33,772 | 10,461 | 9,217 | 2,933 | 672 | 480 |
|
|
2985
|
+
| \`outline\` | 36,860 | 11,745 | 10,369 | 4,628 | 1,392 | 1,144 |
|
|
2986
|
+
| \`pagination\` | 148,933 | 46,856 | 39,303 | 27,534 | 6,482 | 5,267 |
|
|
2987
|
+
| \`pin-input\` | 43,108 | 13,048 | 11,486 | 5,194 | 1,552 | 1,216 |
|
|
2988
|
+
| \`popover\` | 59,189 | 19,958 | 17,628 | 1,899 | 507 | 347 |
|
|
2989
|
+
| \`progress\` | 32,783 | 10,304 | 9,102 | 1,951 | 481 | 369 |
|
|
2990
|
+
| \`qr-code\` | 43,432 | 14,343 | 12,661 | 12,983 | 4,719 | 4,069 |
|
|
2991
|
+
| \`quote\` | 31,025 | 9,783 | 8,610 | 552 | 123 | 104 |
|
|
2992
|
+
| \`radio\` | 42,370 | 12,589 | 11,040 | 2,822 | 733 | 464 |
|
|
2993
|
+
| \`rating\` | 44,843 | 13,635 | 12,041 | 6,605 | 1,900 | 1,477 |
|
|
2994
|
+
| \`scatter-chart\` | 77,503 | 25,634 | 22,597 | 11,346 | 3,421 | 2,737 |
|
|
2995
|
+
| \`scroll-area\` | 33,268 | 10,471 | 9,200 | 2,743 | 765 | 567 |
|
|
2996
|
+
| \`select\` | 137,043 | 44,268 | 37,080 | 15,857 | 4,039 | 3,124 |
|
|
2997
|
+
| \`skeleton\` | 30,214 | 9,526 | 8,422 | 544 | 117 | 36 |
|
|
2998
|
+
| \`skip-link\` | 31,804 | 10,088 | 8,868 | 1,178 | 357 | 240 |
|
|
2999
|
+
| \`slider\` | 43,602 | 13,061 | 11,532 | 5,535 | 1,517 | 1,205 |
|
|
3000
|
+
| \`sparkline\` | 37,927 | 12,212 | 10,794 | 2,387 | 781 | 631 |
|
|
3001
|
+
| \`speed-dial\` | 117,214 | 39,375 | 33,131 | 3,743 | 960 | 624 |
|
|
3002
|
+
| \`splitter\` | 41,307 | 12,532 | 11,098 | 10,282 | 2,625 | 2,168 |
|
|
3003
|
+
| \`stat\` | 31,990 | 9,962 | 8,782 | 1,148 | 213 | 119 |
|
|
3004
|
+
| \`steps\` | 95,678 | 30,919 | 25,246 | 6,177 | 1,502 | 1,164 |
|
|
3005
|
+
| \`switch\` | 39,809 | 12,087 | 10,643 | 1,550 | 472 | 410 |
|
|
3006
|
+
| \`table\` | 97,348 | 31,852 | 25,954 | 9,616 | 2,614 | 2,191 |
|
|
3007
|
+
| \`tabs\` | 39,606 | 12,059 | 10,597 | 3,925 | 893 | 641 |
|
|
3008
|
+
| \`tag\` | 86,950 | 28,406 | 23,212 | 895 | 198 | 155 |
|
|
3009
|
+
| \`textarea\` | 42,350 | 12,677 | 11,152 | 3,953 | 1,090 | 749 |
|
|
3010
|
+
| \`time-input\` | 156,280 | 48,922 | 41,124 | 28,815 | 7,097 | 5,819 |
|
|
3011
|
+
| \`time-picker\` | 115,443 | 36,869 | 30,195 | 18,980 | 5,124 | 4,167 |
|
|
3012
|
+
| \`timeline\` | 87,399 | 28,392 | 23,278 | 1,809 | 398 | 322 |
|
|
3013
|
+
| \`toast\` | 90,756 | 29,542 | 24,147 | 4,078 | 977 | 763 |
|
|
3014
|
+
| \`toggle\` | 44,405 | 13,199 | 11,591 | 3,342 | 854 | 628 |
|
|
3015
|
+
| \`toolbar\` | 33,596 | 10,655 | 9,386 | 2,624 | 781 | 479 |
|
|
3016
|
+
| \`tooltip\` | 63,344 | 21,055 | 18,665 | 6,369 | 1,774 | 1,363 |
|
|
3017
|
+
| \`tour\` | 69,061 | 22,424 | 19,808 | 10,945 | 2,781 | 2,269 |
|
|
3018
|
+
| \`tree\` | 97,584 | 31,762 | 25,849 | 7,223 | 1,962 | 1,541 |
|
|
3019
|
+
| \`trend\` | 86,277 | 28,181 | 23,125 | 1,056 | 289 | 336 |
|
|
3020
|
+
| \`video\` | 153,867 | 48,625 | 41,162 | 32,513 | 7,710 | 6,651 |
|
|
3021
|
+
| \`video-playlist\` | 133,158 | 43,416 | 36,409 | 14,933 | 3,508 | 2,872 |
|
|
3022
|
+
| \`virtual-list\` | 37,403 | 11,898 | 10,492 | 2,413 | 727 | 521 |
|
|
2778
3023
|
|
|
2779
3024
|
### Styled tier
|
|
2780
3025
|
|
|
@@ -2782,109 +3027,109 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
2782
3027
|
|
|
2783
3028
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
2784
3029
|
|---|---|---|---|---|---|---|
|
|
2785
|
-
| \`accordion\` |
|
|
2786
|
-
| \`announcement\` |
|
|
2787
|
-
| \`app-header\` | 35,
|
|
2788
|
-
| \`area-chart\` | 85,
|
|
2789
|
-
| \`aura\` |
|
|
2790
|
-
| \`avatar\` | 37,
|
|
2791
|
-
| \`badge\` | 34,
|
|
2792
|
-
| \`bar-chart\` | 92,
|
|
2793
|
-
| \`blockquote\` | 32,
|
|
2794
|
-
| \`breadcrumbs\` |
|
|
2795
|
-
| \`button\` |
|
|
2796
|
-
| \`button-group\` |
|
|
2797
|
-
| \`callout\` |
|
|
2798
|
-
| \`canvas\` |
|
|
2799
|
-
| \`card\` | 34,
|
|
2800
|
-
| \`carousel\` |
|
|
2801
|
-
| \`chat\` |
|
|
2802
|
-
| \`checkbox\` | 46,
|
|
2803
|
-
| \`checkbox-group\` | 45,
|
|
2804
|
-
| \`code\` |
|
|
2805
|
-
| \`code-block\` |
|
|
2806
|
-
| \`color-input\` |
|
|
2807
|
-
| \`color-picker\` |
|
|
2808
|
-
| \`combobox\` |
|
|
2809
|
-
| \`command\` |
|
|
2810
|
-
| \`copy-button\` |
|
|
2811
|
-
| \`data-table\` |
|
|
2812
|
-
| \`date-input\` |
|
|
2813
|
-
| \`date-picker\` |
|
|
2814
|
-
| \`description-list\` | 33,
|
|
2815
|
-
| \`dialog\` | 39,
|
|
2816
|
-
| \`divider\` |
|
|
2817
|
-
| \`donut-chart\` | 84,
|
|
2818
|
-
| \`drawer\` |
|
|
2819
|
-
| \`drilldown\` |
|
|
2820
|
-
| \`empty\` | 33,
|
|
2821
|
-
| \`file-input\` |
|
|
2822
|
-
| \`filter-input\` |
|
|
2823
|
-
| \`flex\` | 32,
|
|
2824
|
-
| \`format-date\` | 35,
|
|
2825
|
-
| \`grid\` |
|
|
2826
|
-
| \`heatmap\` | 83,
|
|
2827
|
-
| \`icon\` |
|
|
2828
|
-
| \`icon-button\` | 42,
|
|
2829
|
-
| \`image\` | 35,
|
|
2830
|
-
| \`input\` |
|
|
2831
|
-
| \`kbd\` | 34,
|
|
2832
|
-
| \`legend\` |
|
|
2833
|
-
| \`lightbox\` | 42,
|
|
2834
|
-
| \`line-chart\` | 87,
|
|
2835
|
-
| \`list\` | 36,
|
|
2836
|
-
| \`listbox\` |
|
|
2837
|
-
| \`loader\` | 34,
|
|
2838
|
-
| \`map\` |
|
|
2839
|
-
| \`megamenu\` | 66,
|
|
2840
|
-
| \`menu\` |
|
|
2841
|
-
| \`meter\` |
|
|
2842
|
-
| \`navigation\` | 34,
|
|
2843
|
-
| \`notifications\` |
|
|
2844
|
-
| \`number-input\` |
|
|
2845
|
-
| \`object-inspector\` |
|
|
2846
|
-
| \`option\` |
|
|
2847
|
-
| \`orb\` | 41,
|
|
2848
|
-
| \`outline\` | 40,
|
|
2849
|
-
| \`pagination\` |
|
|
2850
|
-
| \`pin-input\` |
|
|
2851
|
-
| \`popover\` | 61,
|
|
2852
|
-
| \`progress\` | 37,
|
|
2853
|
-
| \`qr-code\` |
|
|
2854
|
-
| \`quote\` | 31,
|
|
2855
|
-
| \`radio\` | 50,
|
|
2856
|
-
| \`rating\` |
|
|
2857
|
-
| \`sandbox\` |
|
|
2858
|
-
| \`scatter-chart\` | 85,
|
|
2859
|
-
| \`scroll-area\` | 36,
|
|
2860
|
-
| \`select\` |
|
|
2861
|
-
| \`skeleton\` | 32,
|
|
2862
|
-
| \`skip-link\` |
|
|
2863
|
-
| \`slider\` | 54,
|
|
2864
|
-
| \`sparkline\` | 41,
|
|
2865
|
-
| \`speed-dial\` |
|
|
2866
|
-
| \`splitter\` | 47,
|
|
2867
|
-
| \`stat\` | 34,
|
|
2868
|
-
| \`steps\` |
|
|
2869
|
-
| \`switch\` |
|
|
2870
|
-
| \`table\` |
|
|
2871
|
-
| \`tabs\` | 45,
|
|
2872
|
-
| \`tag\` |
|
|
2873
|
-
| \`text\` | 34,
|
|
2874
|
-
| \`textarea\` | 45,
|
|
2875
|
-
| \`time-input\` |
|
|
2876
|
-
| \`time-picker\` |
|
|
2877
|
-
| \`timeline\` |
|
|
2878
|
-
| \`toast\` |
|
|
2879
|
-
| \`toggle\` | 49,
|
|
2880
|
-
| \`toolbar\` | 34,
|
|
2881
|
-
| \`tooltip\` | 66,
|
|
2882
|
-
| \`tour\` | 78,
|
|
2883
|
-
| \`tree\` |
|
|
2884
|
-
| \`trend\` |
|
|
2885
|
-
| \`video\` |
|
|
2886
|
-
| \`video-playlist\` |
|
|
2887
|
-
| \`virtual-list\` |
|
|
3030
|
+
| \`accordion\` | 94,436 | 30,803 | 25,127 | 6,204 | 1,544 | 1,281 |
|
|
3031
|
+
| \`announcement\` | 93,072 | 30,238 | 24,620 | 5,932 | 1,416 | 1,192 |
|
|
3032
|
+
| \`app-header\` | 35,986 | 10,967 | 9,679 | 5,121 | 1,230 | 975 |
|
|
3033
|
+
| \`area-chart\` | 85,404 | 27,630 | 24,345 | 18,366 | 5,024 | 4,121 |
|
|
3034
|
+
| \`aura\` | 99,123 | 33,456 | 29,000 | 65,483 | 23,039 | 19,659 |
|
|
3035
|
+
| \`avatar\` | 37,731 | 11,417 | 10,082 | 6,833 | 1,651 | 1,391 |
|
|
3036
|
+
| \`badge\` | 34,736 | 10,707 | 9,390 | 4,250 | 1,014 | 791 |
|
|
3037
|
+
| \`bar-chart\` | 92,473 | 28,931 | 25,584 | 25,425 | 6,335 | 5,249 |
|
|
3038
|
+
| \`blockquote\` | 32,802 | 10,316 | 9,102 | 1,914 | 482 | 367 |
|
|
3039
|
+
| \`breadcrumbs\` | 91,116 | 29,289 | 24,028 | 5,518 | 1,250 | 1,004 |
|
|
3040
|
+
| \`button\` | 42,297 | 12,358 | 10,881 | 9,170 | 1,923 | 1,560 |
|
|
3041
|
+
| \`button-group\` | 33,178 | 10,286 | 9,051 | 2,320 | 538 | 379 |
|
|
3042
|
+
| \`callout\` | 88,671 | 28,886 | 23,724 | 2,899 | 776 | 645 |
|
|
3043
|
+
| \`canvas\` | 103,414 | 29,000 | 25,323 | 65,979 | 17,556 | 14,869 |
|
|
3044
|
+
| \`card\` | 34,769 | 10,747 | 9,440 | 3,915 | 989 | 841 |
|
|
3045
|
+
| \`carousel\` | 107,741 | 33,201 | 27,421 | 21,719 | 4,565 | 3,880 |
|
|
3046
|
+
| \`chat\` | 124,418 | 38,793 | 31,978 | 31,590 | 7,665 | 6,407 |
|
|
3047
|
+
| \`checkbox\` | 46,701 | 13,549 | 11,892 | 8,828 | 2,103 | 1,710 |
|
|
3048
|
+
| \`checkbox-group\` | 45,500 | 13,393 | 11,759 | 7,108 | 1,840 | 1,412 |
|
|
3049
|
+
| \`code\` | 31,198 | 9,782 | 8,614 | 1,511 | 387 | 289 |
|
|
3050
|
+
| \`code-block\` | 148,744 | 46,385 | 38,986 | 33,630 | 7,268 | 6,139 |
|
|
3051
|
+
| \`color-input\` | 183,376 | 52,599 | 44,584 | 58,836 | 11,203 | 9,512 |
|
|
3052
|
+
| \`color-picker\` | 144,164 | 41,370 | 34,268 | 47,089 | 9,202 | 7,817 |
|
|
3053
|
+
| \`combobox\` | 159,990 | 48,783 | 41,021 | 36,020 | 7,936 | 6,553 |
|
|
3054
|
+
| \`command\` | 125,630 | 38,230 | 31,442 | 28,637 | 6,743 | 5,562 |
|
|
3055
|
+
| \`copy-button\` | 136,896 | 43,653 | 36,646 | 21,784 | 4,665 | 3,972 |
|
|
3056
|
+
| \`data-table\` | 220,801 | 62,714 | 52,791 | 92,882 | 20,663 | 16,995 |
|
|
3057
|
+
| \`date-input\` | 159,249 | 48,641 | 41,040 | 35,034 | 7,876 | 6,501 |
|
|
3058
|
+
| \`date-picker\` | 104,346 | 33,365 | 27,288 | 15,499 | 3,909 | 3,160 |
|
|
3059
|
+
| \`description-list\` | 33,983 | 10,434 | 9,183 | 3,502 | 796 | 605 |
|
|
3060
|
+
| \`dialog\` | 39,531 | 11,977 | 10,564 | 7,079 | 1,814 | 1,563 |
|
|
3061
|
+
| \`divider\` | 34,008 | 10,622 | 9,326 | 3,120 | 774 | 678 |
|
|
3062
|
+
| \`donut-chart\` | 84,908 | 26,866 | 23,761 | 19,297 | 4,956 | 4,091 |
|
|
3063
|
+
| \`drawer\` | 38,170 | 11,601 | 10,221 | 6,007 | 1,505 | 1,265 |
|
|
3064
|
+
| \`drilldown\` | 100,262 | 32,421 | 26,422 | 10,393 | 2,555 | 2,122 |
|
|
3065
|
+
| \`empty\` | 33,539 | 10,599 | 9,295 | 2,380 | 698 | 551 |
|
|
3066
|
+
| \`file-input\` | 110,117 | 34,378 | 28,171 | 17,451 | 3,989 | 3,327 |
|
|
3067
|
+
| \`filter-input\` | 183,791 | 53,397 | 45,052 | 56,180 | 11,403 | 9,421 |
|
|
3068
|
+
| \`flex\` | 32,559 | 10,138 | 8,909 | 2,078 | 468 | 364 |
|
|
3069
|
+
| \`format-date\` | 35,763 | 11,219 | 9,943 | 3,497 | 885 | 697 |
|
|
3070
|
+
| \`grid\` | 33,013 | 10,291 | 9,069 | 2,528 | 609 | 570 |
|
|
3071
|
+
| \`heatmap\` | 83,821 | 26,607 | 23,580 | 17,648 | 4,473 | 3,629 |
|
|
3072
|
+
| \`icon\` | 86,943 | 28,331 | 23,193 | 1,707 | 425 | 316 |
|
|
3073
|
+
| \`icon-button\` | 42,618 | 12,294 | 10,791 | 9,495 | 1,850 | 1,552 |
|
|
3074
|
+
| \`image\` | 35,377 | 10,931 | 9,621 | 4,840 | 1,317 | 1,060 |
|
|
3075
|
+
| \`input\` | 104,194 | 33,015 | 26,960 | 10,963 | 2,662 | 2,100 |
|
|
3076
|
+
| \`kbd\` | 34,868 | 11,148 | 9,814 | 4,373 | 1,429 | 1,235 |
|
|
3077
|
+
| \`legend\` | 40,324 | 12,300 | 10,784 | 5,790 | 1,413 | 1,075 |
|
|
3078
|
+
| \`lightbox\` | 42,885 | 12,979 | 11,350 | 7,805 | 2,026 | 1,721 |
|
|
3079
|
+
| \`line-chart\` | 87,370 | 27,730 | 24,433 | 20,419 | 5,167 | 4,214 |
|
|
3080
|
+
| \`list\` | 36,624 | 11,044 | 9,710 | 5,782 | 1,310 | 1,168 |
|
|
3081
|
+
| \`listbox\` | 111,107 | 35,309 | 28,775 | 15,602 | 4,061 | 3,343 |
|
|
3082
|
+
| \`loader\` | 34,908 | 10,789 | 9,500 | 4,051 | 1,014 | 844 |
|
|
3083
|
+
| \`map\` | 156,143 | 42,153 | 35,047 | 62,720 | 11,792 | 9,859 |
|
|
3084
|
+
| \`megamenu\` | 66,864 | 21,788 | 19,283 | 9,805 | 2,435 | 2,020 |
|
|
3085
|
+
| \`menu\` | 133,195 | 43,427 | 36,394 | 16,355 | 3,832 | 3,154 |
|
|
3086
|
+
| \`meter\` | 40,330 | 12,019 | 10,617 | 9,479 | 2,233 | 1,931 |
|
|
3087
|
+
| \`navigation\` | 34,817 | 10,954 | 9,632 | 2,726 | 763 | 540 |
|
|
3088
|
+
| \`notifications\` | 115,855 | 35,336 | 28,991 | 24,486 | 5,085 | 4,287 |
|
|
3089
|
+
| \`number-input\` | 105,635 | 33,578 | 27,453 | 12,396 | 3,149 | 2,506 |
|
|
3090
|
+
| \`object-inspector\` | 153,579 | 48,310 | 40,755 | 33,080 | 7,549 | 6,299 |
|
|
3091
|
+
| \`option\` | 37,026 | 11,371 | 10,028 | 6,176 | 1,567 | 1,334 |
|
|
3092
|
+
| \`orb\` | 41,755 | 13,764 | 12,150 | 8,623 | 3,220 | 2,793 |
|
|
3093
|
+
| \`outline\` | 40,600 | 12,532 | 11,084 | 8,351 | 2,202 | 1,753 |
|
|
3094
|
+
| \`pagination\` | 166,818 | 49,878 | 41,998 | 45,401 | 9,557 | 7,918 |
|
|
3095
|
+
| \`pin-input\` | 46,175 | 13,840 | 12,186 | 8,244 | 2,351 | 1,819 |
|
|
3096
|
+
| \`popover\` | 61,825 | 20,604 | 18,244 | 4,517 | 1,174 | 1,004 |
|
|
3097
|
+
| \`progress\` | 37,812 | 11,474 | 10,153 | 6,962 | 1,680 | 1,508 |
|
|
3098
|
+
| \`qr-code\` | 45,095 | 14,767 | 13,013 | 14,629 | 5,167 | 4,380 |
|
|
3099
|
+
| \`quote\` | 31,680 | 9,948 | 8,744 | 1,191 | 293 | 148 |
|
|
3100
|
+
| \`radio\` | 50,567 | 14,074 | 12,400 | 11,010 | 2,264 | 1,817 |
|
|
3101
|
+
| \`rating\` | 49,057 | 14,833 | 13,064 | 10,802 | 3,090 | 2,572 |
|
|
3102
|
+
| \`sandbox\` | 67,042 | 17,834 | 15,810 | 35,718 | 7,929 | 6,736 |
|
|
3103
|
+
| \`scatter-chart\` | 85,895 | 27,442 | 24,218 | 19,718 | 5,251 | 4,358 |
|
|
3104
|
+
| \`scroll-area\` | 36,416 | 11,121 | 9,800 | 5,874 | 1,445 | 1,147 |
|
|
3105
|
+
| \`select\` | 149,798 | 46,656 | 39,120 | 28,601 | 6,454 | 5,257 |
|
|
3106
|
+
| \`skeleton\` | 32,732 | 10,282 | 9,043 | 2,242 | 616 | 472 |
|
|
3107
|
+
| \`skip-link\` | 33,267 | 10,490 | 9,214 | 2,624 | 757 | 648 |
|
|
3108
|
+
| \`slider\` | 54,584 | 15,031 | 13,273 | 16,500 | 3,526 | 2,952 |
|
|
3109
|
+
| \`sparkline\` | 41,845 | 13,167 | 11,589 | 6,293 | 1,766 | 1,499 |
|
|
3110
|
+
| \`speed-dial\` | 124,846 | 40,915 | 34,302 | 11,356 | 2,407 | 1,956 |
|
|
3111
|
+
| \`splitter\` | 47,379 | 13,536 | 12,018 | 16,336 | 3,660 | 3,070 |
|
|
3112
|
+
| \`stat\` | 34,806 | 10,587 | 9,343 | 3,954 | 849 | 744 |
|
|
3113
|
+
| \`steps\` | 109,296 | 33,391 | 27,447 | 19,784 | 3,926 | 3,283 |
|
|
3114
|
+
| \`switch\` | 44,077 | 13,135 | 11,529 | 5,803 | 1,545 | 1,370 |
|
|
3115
|
+
| \`table\` | 102,942 | 33,035 | 26,943 | 15,204 | 3,812 | 3,154 |
|
|
3116
|
+
| \`tabs\` | 45,842 | 13,332 | 11,742 | 10,154 | 2,208 | 1,761 |
|
|
3117
|
+
| \`tag\` | 90,153 | 29,299 | 23,951 | 4,083 | 1,021 | 870 |
|
|
3118
|
+
| \`text\` | 34,466 | 10,420 | 9,152 | 3,987 | 846 | 651 |
|
|
3119
|
+
| \`textarea\` | 45,687 | 13,497 | 11,850 | 7,277 | 1,925 | 1,489 |
|
|
3120
|
+
| \`time-input\` | 177,672 | 52,463 | 44,279 | 50,189 | 10,722 | 8,957 |
|
|
3121
|
+
| \`time-picker\` | 127,073 | 39,031 | 32,060 | 30,598 | 7,327 | 6,161 |
|
|
3122
|
+
| \`timeline\` | 90,712 | 29,168 | 23,939 | 5,110 | 1,145 | 944 |
|
|
3123
|
+
| \`toast\` | 98,289 | 31,259 | 25,616 | 11,599 | 2,619 | 2,152 |
|
|
3124
|
+
| \`toggle\` | 49,502 | 14,379 | 12,704 | 8,427 | 2,067 | 1,689 |
|
|
3125
|
+
| \`toolbar\` | 34,888 | 10,956 | 9,633 | 3,899 | 1,093 | 937 |
|
|
3126
|
+
| \`tooltip\` | 66,422 | 21,810 | 19,328 | 9,429 | 2,504 | 2,074 |
|
|
3127
|
+
| \`tour\` | 78,612 | 24,031 | 21,218 | 20,478 | 4,430 | 3,561 |
|
|
3128
|
+
| \`tree\` | 103,434 | 33,177 | 27,065 | 13,069 | 3,361 | 2,713 |
|
|
3129
|
+
| \`trend\` | 89,496 | 28,957 | 23,734 | 4,271 | 999 | 890 |
|
|
3130
|
+
| \`video\` | 173,285 | 52,095 | 44,174 | 51,911 | 11,251 | 9,651 |
|
|
3131
|
+
| \`video-playlist\` | 147,275 | 45,994 | 38,622 | 29,031 | 6,080 | 5,111 |
|
|
3132
|
+
| \`virtual-list\` | 38,195 | 12,105 | 10,634 | 3,187 | 947 | 691 |
|
|
2888
3133
|
|
|
2889
3134
|
## What an install adds to \`node_modules\`
|
|
2890
3135
|
|
|
@@ -2896,12 +3141,12 @@ stripped column shows the bytes we removed.
|
|
|
2896
3141
|
|
|
2897
3142
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
2898
3143
|
|---|---|---|---|---|
|
|
2899
|
-
| \`@fusion.dev/helix-core\` | 1,
|
|
2900
|
-
| \`@fusion.dev/helix-headless\` |
|
|
2901
|
-
| \`@fusion.dev/helix-icons\` |
|
|
2902
|
-
| \`@fusion.dev/helix-styles\` |
|
|
3144
|
+
| \`@fusion.dev/helix-core\` | 1,127,867 | 165 | 249,701 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
3145
|
+
| \`@fusion.dev/helix-headless\` | 13,046,911 | 504 | 1,032,260 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
3146
|
+
| \`@fusion.dev/helix-icons\` | 150,162 | 21 | 50,346 | \`svgo\` |
|
|
3147
|
+
| \`@fusion.dev/helix-styles\` | 102,108 | 6 | 0 | none |
|
|
2903
3148
|
| \`@fusion.dev/helix-theme\` | 465,413 | 8 | 4,703 | none |
|
|
2904
|
-
| \`@fusion.dev/helix\` |
|
|
3149
|
+
| \`@fusion.dev/helix\` | 14,179,532 | 868 | 362,883 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
2905
3150
|
|
|
2906
3151
|
## Not measured yet
|
|
2907
3152
|
|