@fusion.dev/helix-docs 0.140.0 → 0.142.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/color.mdx +10 -5
- package/content/intent-reference.mdx +15 -6
- package/content/maps.mdx +3 -3
- package/content/metrics.mdx +226 -225
- package/content/surfaces-and-separation.mdx +1 -1
- package/content/theme-builder.mdx +5 -0
- package/content/theming.mdx +33 -4
- package/dist/sources.generated.js +293 -244
- package/package.json +9 -9
|
@@ -837,14 +837,18 @@ separation](./surfaces-and-separation).
|
|
|
837
837
|
Inks are the colors that go on grounds. The base ink is \`foreground\`.
|
|
838
838
|
|
|
839
839
|
- \`foreground-muted\` and \`foreground-subtle\` are for text that recedes.
|
|
840
|
-
-
|
|
840
|
+
- Text on a filled color takes the ink named for that fill:
|
|
841
|
+
- \`foreground-on-primary\` on \`primary-surface\`
|
|
842
|
+
- \`foreground-on-accent\` on \`accent-surface\`
|
|
843
|
+
- \`foreground-on-status\` on the four status fills
|
|
841
844
|
|
|
842
845
|
### Intent
|
|
843
846
|
|
|
844
847
|
Intent colors show what something means.
|
|
845
848
|
|
|
846
849
|
- \`primary\` and \`accent\` are for emphasis. Each has \`-hover\`, \`-active\`, and
|
|
847
|
-
\`-subtle\` variants.
|
|
850
|
+
\`-subtle\` variants. With no brand color set, both are ink: near-black in
|
|
851
|
+
light mode and near-white in dark mode.
|
|
848
852
|
- \`info\`, \`success\`, \`warning\`, and \`danger\` are for status. Each has a
|
|
849
853
|
\`-surface\` and a \`-surface-hover\` variant for the tinted box that holds the
|
|
850
854
|
message.
|
|
@@ -873,9 +877,10 @@ OKLCH lets the theme engine *solve* for a palette from your brand color. See
|
|
|
873
877
|
|
|
874
878
|
## How the engine meets contrast targets
|
|
875
879
|
|
|
876
|
-
The engine measures each ink against the ground it will be painted on.
|
|
877
|
-
|
|
878
|
-
the target.
|
|
880
|
+
The engine measures each ink against the ground it will be painted on. A brand
|
|
881
|
+
color that already meets the target there is used as it is. For any other color,
|
|
882
|
+
the engine searches for the lightness that meets the target. Every pair it
|
|
883
|
+
produces meets the target.
|
|
879
884
|
|
|
880
885
|
The engine can solve only the pairs it knows about, so we check two things:
|
|
881
886
|
|
|
@@ -2356,16 +2361,17 @@ const theme = engine.derive({ brand: '#2563eb' })
|
|
|
2356
2361
|
|
|
2357
2362
|
[Deriving a theme](./theming) shows how Node loads the engine.
|
|
2358
2363
|
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
\`brand\`
|
|
2364
|
+
**Every input is optional.** With no \`brand\`, the theme is ink: the primary
|
|
2365
|
+
color is near-black in light mode and near-white in dark mode. Every other field
|
|
2366
|
+
has a default, computed from \`brand\` or from the Helix design language, so an
|
|
2367
|
+
empty intent, \`{}\`, is a valid theme.
|
|
2362
2368
|
|
|
2363
2369
|
## Color
|
|
2364
2370
|
|
|
2365
2371
|
| Field | What it controls |
|
|
2366
2372
|
|---|---|
|
|
2367
|
-
| \`brand\` | Your main brand color.
|
|
2368
|
-
| \`accent\` | The second emphasis color. Defaults to the brand color. \`{ from: 'brand', rotate: 180 }\` gives the complementary color |
|
|
2373
|
+
| \`brand\` | Your main brand color, or \`{ light, dark }\` for a different one in each mode. Without one, the theme is ink, and so is a mode the pair leaves out |
|
|
2374
|
+
| \`accent\` | The second emphasis color. Defaults to the brand color, or to ink with no brand. \`{ from: 'brand', rotate: 180 }\` gives the complementary color, and needs a brand |
|
|
2369
2375
|
| \`background\` | The page's color, \`{ light, dark }\`, for a page that is not pure white or pure black. The surfaces keep their contrast with it, and the grays take its tint. A page no text color can reach the contrast target on is refused |
|
|
2370
2376
|
| \`neutral\` | The gray ramp, which can be tinted toward the brand. With \`background\`, it takes the page's tint |
|
|
2371
2377
|
| \`status\` | \`info\`, \`success\`, \`warning\`, and \`danger\`. A color pins one. An object adjusts its hue while it keeps its meaning |
|
|
@@ -2373,6 +2379,12 @@ computed from \`brand\` or from the Helix design language. A theme that sets onl
|
|
|
2373
2379
|
| \`scheme\` | \`'light'\` or \`'dark'\`, for a theme that has only one mode |
|
|
2374
2380
|
| \`tokens\` | Literal overrides by token name, for values no other field sets |
|
|
2375
2381
|
|
|
2382
|
+
**A brand color that already meets the contrast target is used as it is.**
|
|
2383
|
+
Where it clears every surface it lands on, it is the primary color, and where
|
|
2384
|
+
its label clears on it, it is the fill. A navy brand stays navy on a light page.
|
|
2385
|
+
A color that does not meet the target keeps its hue and chroma, and its
|
|
2386
|
+
lightness moves only as far as the target needs.
|
|
2387
|
+
|
|
2376
2388
|
\`accent\` can be defined relative to the brand. \`status\` colors cannot. If
|
|
2377
2389
|
\`danger\` rotated with the brand, your users would have to learn a new warning
|
|
2378
2390
|
color for each product.
|
|
@@ -2385,7 +2397,9 @@ settings:
|
|
|
2385
2397
|
- \`scale\` multiplies the chroma the brand color supplies.
|
|
2386
2398
|
|
|
2387
2399
|
Both apply to every derived color, including the brand color, because in a
|
|
2388
|
-
monotone theme the brand is gray too.
|
|
2400
|
+
monotone theme the brand is gray too. A gray brand is solved like any other, to
|
|
2401
|
+
the gray nearest the page that meets the contrast target, which is a mid gray.
|
|
2402
|
+
For black and white, leave out \`brand\`. Neither applies to a color you pinned. A
|
|
2389
2403
|
pinned color is used exactly as you set it.
|
|
2390
2404
|
|
|
2391
2405
|
## Contrast
|
|
@@ -2815,15 +2829,15 @@ fixes a sanitizing flaw in earlier versions, so use 6.4.1 or later.
|
|
|
2815
2829
|
- Land uses \`surface\`.
|
|
2816
2830
|
- Water uses \`info\`.
|
|
2817
2831
|
- Parks use \`success\`.
|
|
2818
|
-
- Main roads use \`primary\`, your brand color.
|
|
2832
|
+
- Main roads use \`primary\`, your brand color, or ink with no brand.
|
|
2819
2833
|
- Smaller roads, buildings, borders, and labels use \`foreground\`.
|
|
2820
2834
|
|
|
2821
2835
|
It also draws landmarks, highway signs, and neighborhood names:
|
|
2822
2836
|
|
|
2823
2837
|
- A landmark is an icon on a disc and its name, in a color for its kind:
|
|
2824
2838
|
parks, museums, schools, hotels, hospitals, stations, and stadiums from zoom
|
|
2825
|
-
14, and food and shops from zoom 16. Each color is a fixed hue at
|
|
2826
|
-
|
|
2839
|
+
14, and food and shops from zoom 16. Each color is a fixed hue at the
|
|
2840
|
+
lightness of \`primary\`, so the kinds stay apart in any theme.
|
|
2827
2841
|
- A highway's number is on its sign, drawn to the Federal Highway
|
|
2828
2842
|
Administration's outlines: the red and blue Interstate shield, the white US
|
|
2829
2843
|
route shield, the white circle of a state route, and a plain plate for other
|
|
@@ -3391,7 +3405,7 @@ on its own.
|
|
|
3391
3405
|
|
|
3392
3406
|
| | Raw | Gzip | Brotli |
|
|
3393
3407
|
|---|---|---|---|
|
|
3394
|
-
| Lit and \`@fusion.dev/helix-core\` | 186,211 | 59,378 | 50,
|
|
3408
|
+
| Lit and \`@fusion.dev/helix-core\` | 186,211 | 59,378 | 50,307 |
|
|
3395
3409
|
|
|
3396
3410
|
## Whole packages
|
|
3397
3411
|
|
|
@@ -3402,11 +3416,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
3402
3416
|
|
|
3403
3417
|
| Package | Raw | Gzip | Brotli | |
|
|
3404
3418
|
|---|---|---|---|---|
|
|
3405
|
-
| \`@fusion.dev/helix-core\` | 185,764 | 59,007 | 50,
|
|
3406
|
-
| \`@fusion.dev/helix-headless\` | 749,
|
|
3419
|
+
| \`@fusion.dev/helix-core\` | 185,764 | 59,007 | 50,015 | The element base class, mixins, decorators, and floating positioning. |
|
|
3420
|
+
| \`@fusion.dev/helix-headless\` | 749,093 | 194,398 | 150,586 | Every headless family. The barrel entry includes all of them. |
|
|
3407
3421
|
| \`@fusion.dev/helix-icons\` | 55,565 | 17,727 | 14,864 | The whole glyph set. |
|
|
3408
|
-
| \`@fusion.dev/helix-theme\` | 3,626 | 1,597 | 1,384 | The derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
3409
|
-
|
|
|
3422
|
+
| \`@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. |
|
|
3423
|
+
| \`fusion_helix_theme_bg.wasm\` | 490,270 | 155,600 | 125,779 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
3424
|
+
| \`@fusion.dev/helix\` | 1,296,493 | 303,277 | 221,913 | Every styled family. |
|
|
3410
3425
|
| \`lit\` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
3411
3426
|
|
|
3412
3427
|
## Stylesheets
|
|
@@ -3419,19 +3434,19 @@ shows the whole cost of using the base layer on its own.
|
|
|
3419
3434
|
|
|
3420
3435
|
| File | Raw | Gzip | Brotli | |
|
|
3421
3436
|
|---|---|---|---|---|
|
|
3422
|
-
| \`base.css\` | 30,
|
|
3437
|
+
| \`base.css\` | 30,786 | 4,465 | 3,884 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
3423
3438
|
| \`elements.css\` | 8,807 | 1,488 | 1,318 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
3424
3439
|
| \`helix.css\` | 207 | 148 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
3425
|
-
| \`primitives.css\` |
|
|
3426
|
-
| \`tokens.css\` |
|
|
3440
|
+
| \`primitives.css\` | 7,510 | 1,402 | 1,201 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
3441
|
+
| \`tokens.css\` | 22,349 | 2,664 | 2,247 | The 193 semantic tokens. Every styled component needs them. |
|
|
3427
3442
|
|
|
3428
3443
|
## What the numbers say
|
|
3429
3444
|
|
|
3430
|
-
**Most of your first component is the shared runtime.** The median styled family is 21,
|
|
3445
|
+
**Most of your first component is the shared runtime.** The median styled family is 21,977 bytes gzipped alone, and it adds 2,262 to a page that already has Helix. The shared runtime is 90 percent of the first component, and the component itself is 10 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.
|
|
3431
3446
|
|
|
3432
|
-
Across the 104 styled components, the smallest is \`code\` at 10,492 bytes gzipped alone, and the largest is \`data-table\` at 64,440. Every family together is 303,
|
|
3447
|
+
Across the 104 styled components, the smallest is \`code\` at 10,492 bytes gzipped alone, and the largest is \`data-table\` at 64,440. Every family together is 303,277.
|
|
3433
3448
|
|
|
3434
|
-
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 194,
|
|
3449
|
+
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 194,398 bytes gzipped, whatever else the page imports. That is 9 times the median family above. All 104 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.
|
|
3435
3450
|
|
|
3436
3451
|
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 22,536 bytes gzipped alone.
|
|
3437
3452
|
|
|
@@ -3445,37 +3460,37 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
3445
3460
|
|
|
3446
3461
|
| Component | System | Raw | Gzip | Brotli |
|
|
3447
3462
|
|---|---|---|---|---|
|
|
3448
|
-
| \`button\` | **Helix** | 45,
|
|
3463
|
+
| \`button\` | **Helix** | 45,627 | 13,160 | 11,529 |
|
|
3449
3464
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
3450
3465
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
3451
3466
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
3452
3467
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
3453
|
-
| \`checkbox\` | **Helix** | 50,794 | 14,479 | 12,
|
|
3468
|
+
| \`checkbox\` | **Helix** | 50,794 | 14,479 | 12,747 |
|
|
3454
3469
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
3455
3470
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
3456
3471
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
3457
3472
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
3458
|
-
| \`dialog\` | **Helix** | 42,582 | 12,668 | 11,
|
|
3473
|
+
| \`dialog\` | **Helix** | 42,582 | 12,668 | 11,149 |
|
|
3459
3474
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
3460
3475
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
3461
3476
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
3462
3477
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
3463
|
-
| \`radio\` | **Helix** | 54,213 | 14,925 | 13,
|
|
3478
|
+
| \`radio\` | **Helix** | 54,213 | 14,925 | 13,149 |
|
|
3464
3479
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
3465
3480
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
3466
3481
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
3467
3482
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
3468
|
-
| \`switch\` | **Helix** | 47,
|
|
3483
|
+
| \`switch\` | **Helix** | 47,784 | 13,981 | 12,294 |
|
|
3469
3484
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
3470
3485
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
3471
3486
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
3472
3487
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
3473
|
-
| \`tabs\` | **Helix** | 48,895 | 14,048 | 12,
|
|
3488
|
+
| \`tabs\` | **Helix** | 48,895 | 14,048 | 12,307 |
|
|
3474
3489
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
3475
3490
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
3476
3491
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
3477
3492
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
3478
|
-
| \`tooltip\` | **Helix** | 69,601 | 22,599 | 19,
|
|
3493
|
+
| \`tooltip\` | **Helix** | 69,601 | 22,599 | 19,940 |
|
|
3479
3494
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
3480
3495
|
| | Material Web | | not shipped | |
|
|
3481
3496
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
@@ -3525,104 +3540,104 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
3525
3540
|
|
|
3526
3541
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
3527
3542
|
|---|---|---|---|---|---|---|
|
|
3528
|
-
| \`accordion\` | 94,146 | 30,
|
|
3529
|
-
| \`announcement\` | 91,561 | 29,855 | 24,
|
|
3530
|
-
| \`app-header\` | 35,147 | 10,
|
|
3531
|
-
| \`area-chart\` | 81,239 | 26,783 | 23,
|
|
3532
|
-
| \`avatar\` | 37,234 | 11,387 | 10,
|
|
3533
|
-
| \`badge\` | 34,683 | 10,703 | 9,
|
|
3534
|
-
| \`bar-chart\` | 82,848 | 27,
|
|
3535
|
-
| \`blockquote\` | 34,697 | 10,730 | 9,
|
|
3536
|
-
| \`breadcrumbs\` | 90,601 | 29,203 | 23,
|
|
3537
|
-
| \`button\` | 39,369 | 11,986 | 10,
|
|
3538
|
-
| \`button-group\` | 34,553 | 10,610 | 9,
|
|
3539
|
-
| \`callout\` | 89,
|
|
3540
|
-
| \`canvas\` | 95,827 | 28,300 | 24,
|
|
3541
|
-
| \`card\` | 34,587 | 10,627 | 9,
|
|
3542
|
-
| \`carousel\` | 100,004 | 32,186 | 26,
|
|
3543
|
-
| \`chat\` | 113,488 | 37,076 | 30,
|
|
3544
|
-
| \`checkbox\` | 44,186 | 13,038 | 11,
|
|
3545
|
-
| \`checkbox-group\` | 47,310 | 13,
|
|
3546
|
-
| \`code\` | 33,172 | 10,
|
|
3547
|
-
| \`code-block\` | 135,605 | 44,
|
|
3548
|
-
| \`color-input\` | 153,
|
|
3549
|
-
| \`color-picker\` | 119,
|
|
3550
|
-
| \`combobox\` | 148,369 | 46,
|
|
3551
|
-
| \`command\` | 118,287 | 36,947 | 30,
|
|
3552
|
-
| \`copy-button\` | 130,185 | 42,566 | 35,
|
|
3553
|
-
| \`data-table\` | 188,875 | 57,
|
|
3554
|
-
| \`date-input\` | 146,628 | 46,371 | 39,
|
|
3555
|
-
| \`date-picker\` | 101,780 | 32,896 | 26,
|
|
3556
|
-
| \`description-list\` | 34,656 | 10,565 | 9,
|
|
3557
|
-
| \`dialog\` | 38,205 | 11,
|
|
3558
|
-
| \`divider\` | 34,903 | 10,809 | 9,498 | 981 | 255 |
|
|
3559
|
-
| \`donut-chart\` | 78,982 | 25,781 | 22,
|
|
3560
|
-
| \`drawer\` | 36,958 | 11,299 | 9,
|
|
3561
|
-
| \`drilldown\` | 98,646 | 32,
|
|
3562
|
-
| \`empty\` | 35,150 | 10,853 | 9,
|
|
3563
|
-
| \`file-input\` | 102,144 | 32,877 | 26,
|
|
3564
|
-
| \`filter-input\` | 158,975 | 49,
|
|
3565
|
-
| \`format-date\` | 38,166 | 11,770 | 10,
|
|
3566
|
-
| \`graph\` | 116,500 | 37,045 | 30,
|
|
3567
|
-
| \`heatmap\` | 80,204 | 25,
|
|
3568
|
-
| \`icon\` | 89,288 | 28,882 | 23,
|
|
3569
|
-
| \`icon-button\` | 39,768 | 12,
|
|
3570
|
-
| \`image\` | 36,726 | 11,156 | 9,804 | 3,157 |
|
|
3571
|
-
| \`input\` | 101,182 | 32,362 | 26,
|
|
3572
|
-
| \`kbd\` | 36,507 | 11,395 | 10,
|
|
3573
|
-
| \`legend\` | 38,559 | 11,901 | 10,
|
|
3574
|
-
| \`lightbox\` | 42,999 | 12,
|
|
3575
|
-
| \`line-chart\` | 80,779 | 26,486 | 23,
|
|
3576
|
-
| \`list\` | 35,609 | 10,806 | 9,
|
|
3577
|
-
| \`listbox\` | 109,996 | 35,061 | 28,
|
|
3578
|
-
| \`loader\` | 34,793 | 10,731 | 9,
|
|
3579
|
-
| \`map\` | 135,023 | 40,242 | 33,
|
|
3580
|
-
| \`megamenu\` | 65,092 | 21,481 | 18,
|
|
3581
|
-
| \`menu\` | 128,815 | 42,454 | 35,
|
|
3582
|
-
| \`meter\` | 37,983 | 11,582 | 10,180 | 4,100 | 1,
|
|
3583
|
-
| \`navigation\` | 36,542 | 11,280 | 9,892 | 1,417 | 341 |
|
|
3584
|
-
| \`notifications\` | 105,825 | 33,645 | 27,
|
|
3585
|
-
| \`number-input\` | 104,106 | 33,173 | 27,
|
|
3586
|
-
| \`object-inspector\` | 143,395 | 46,771 | 39,
|
|
3587
|
-
| \`option\` | 36,848 | 11,
|
|
3588
|
-
| \`outline\` | 39,911 | 12,458 | 10,
|
|
3589
|
-
| \`pagination\` | 152,465 | 47,581 | 40,
|
|
3590
|
-
| \`pin-input\` | 46,366 | 13,784 | 12,
|
|
3591
|
-
| \`popover\` | 62,296 | 20,724 | 18,
|
|
3592
|
-
| \`progress\` | 35,834 | 11,003 | 9,
|
|
3593
|
-
| \`qr-code\` | 46,483 | 15,044 | 13,
|
|
3594
|
-
| \`quote\` | 34,076 | 10,491 | 9,
|
|
3595
|
-
| \`radio\` | 45,916 | 13,427 | 11,
|
|
3596
|
-
| \`rating\` | 48,121 | 14,397 | 12,
|
|
3597
|
-
| \`scatter-chart\` | 80,683 | 26,413 | 23,
|
|
3598
|
-
| \`scroll-area\` | 36,319 | 11,164 | 9,
|
|
3599
|
-
| \`select\` | 140,575 | 45,
|
|
3600
|
-
| \`skeleton\` | 33,265 | 10,227 | 8,965 | 544 | 105 |
|
|
3601
|
-
| \`skip-link\` | 34,855 | 10,796 | 9,
|
|
3602
|
-
| \`slider\` | 46,905 | 13,
|
|
3603
|
-
| \`sparkline\` | 40,978 | 12,925 | 11,384 | 2,387 | 793 |
|
|
3604
|
-
| \`speed-dial\` | 120,323 | 40,071 | 33,
|
|
3605
|
-
| \`splitter\` | 44,358 | 13,240 | 11,
|
|
3606
|
-
| \`stat\` | 35,041 | 10,666 | 9,
|
|
3607
|
-
| \`steps\` | 98,861 | 31,678 | 25,
|
|
3608
|
-
| \`switch\` | 43,417 | 12,
|
|
3609
|
-
| \`table\` | 100,971 | 32,855 | 26,
|
|
3610
|
-
| \`tabs\` | 42,654 | 12,774 | 11,
|
|
3611
|
-
| \`tag\` | 90,014 | 29,133 | 23,
|
|
3612
|
-
| \`textarea\` | 45,604 | 13,423 | 11,
|
|
3613
|
-
| \`time-input\` | 159,758 | 49,
|
|
3614
|
-
| \`time-picker\` | 118,842 | 37,643 | 30,
|
|
3615
|
-
| \`timeline\` | 90,450 | 29,131 | 23,
|
|
3616
|
-
| \`toast\` | 93,807 | 30,268 | 24,
|
|
3617
|
-
| \`toggle\` | 47,603 | 13,958 | 12,
|
|
3618
|
-
| \`toolbar\` | 36,647 | 11,354 | 9,
|
|
3619
|
-
| \`tooltip\` | 66,523 | 21,
|
|
3620
|
-
| \`tour\` | 72,280 | 23,251 | 20,
|
|
3621
|
-
| \`tree\` | 100,665 | 32,488 | 26,
|
|
3622
|
-
| \`trend\` | 89,328 | 28,928 | 23,
|
|
3623
|
-
| \`video\` | 157,146 | 49,283 | 41,
|
|
3624
|
-
| \`video-playlist\` | 136,305 | 44,
|
|
3625
|
-
| \`virtual-list\` | 40,597 | 12,665 | 11,
|
|
3543
|
+
| \`accordion\` | 94,146 | 30,683 | 25,048 | 2,875 | 725 | 525 |
|
|
3544
|
+
| \`announcement\` | 91,561 | 29,855 | 24,330 | 1,386 | 365 | 257 |
|
|
3545
|
+
| \`app-header\` | 35,147 | 10,774 | 9,501 | 1,248 | 260 | 223 |
|
|
3546
|
+
| \`area-chart\` | 81,239 | 26,783 | 23,588 | 11,166 | 3,382 | 2,786 |
|
|
3547
|
+
| \`avatar\` | 37,234 | 11,387 | 10,034 | 3,296 | 894 | 656 |
|
|
3548
|
+
| \`badge\` | 34,683 | 10,703 | 9,380 | 1,163 | 300 | 222 |
|
|
3549
|
+
| \`bar-chart\` | 82,848 | 27,158 | 23,975 | 12,769 | 3,695 | 3,043 |
|
|
3550
|
+
| \`blockquote\` | 34,697 | 10,730 | 9,428 | 774 | 176 | 120 |
|
|
3551
|
+
| \`breadcrumbs\` | 90,601 | 29,203 | 23,983 | 1,965 | 443 | 351 |
|
|
3552
|
+
| \`button\` | 39,369 | 11,986 | 10,532 | 3,195 | 817 | 669 |
|
|
3553
|
+
| \`button-group\` | 34,553 | 10,610 | 9,335 | 661 | 140 | 70 |
|
|
3554
|
+
| \`callout\` | 89,781 | 29,092 | 23,925 | 975 | 274 | 162 |
|
|
3555
|
+
| \`canvas\` | 95,827 | 28,300 | 24,845 | 50,036 | 14,959 | 12,534 |
|
|
3556
|
+
| \`card\` | 34,587 | 10,627 | 9,329 | 694 | 139 | 138 |
|
|
3557
|
+
| \`carousel\` | 100,004 | 32,186 | 26,391 | 10,943 | 2,734 | 2,273 |
|
|
3558
|
+
| \`chat\` | 113,488 | 37,076 | 30,421 | 17,449 | 5,101 | 4,161 |
|
|
3559
|
+
| \`checkbox\` | 44,186 | 13,038 | 11,448 | 2,821 | 785 | 560 |
|
|
3560
|
+
| \`checkbox-group\` | 47,310 | 13,724 | 12,081 | 5,425 | 1,365 | 1,028 |
|
|
3561
|
+
| \`code\` | 33,172 | 10,193 | 8,966 | 451 | 78 | 11 |
|
|
3562
|
+
| \`code-block\` | 135,605 | 44,216 | 37,314 | 17,443 | 4,510 | 3,792 |
|
|
3563
|
+
| \`color-input\` | 153,586 | 48,219 | 40,693 | 25,853 | 6,031 | 5,035 |
|
|
3564
|
+
| \`color-picker\` | 119,956 | 37,674 | 30,993 | 19,676 | 4,707 | 3,874 |
|
|
3565
|
+
| \`combobox\` | 148,369 | 46,881 | 39,333 | 21,175 | 5,213 | 4,199 |
|
|
3566
|
+
| \`command\` | 118,287 | 36,947 | 30,248 | 18,064 | 4,593 | 3,693 |
|
|
3567
|
+
| \`copy-button\` | 130,185 | 42,566 | 35,793 | 12,019 | 2,959 | 2,458 |
|
|
3568
|
+
| \`data-table\` | 188,875 | 57,528 | 48,602 | 57,535 | 14,589 | 12,096 |
|
|
3569
|
+
| \`date-input\` | 146,628 | 46,371 | 39,066 | 19,212 | 4,831 | 4,021 |
|
|
3570
|
+
| \`date-picker\` | 101,780 | 32,896 | 26,896 | 9,900 | 2,706 | 2,074 |
|
|
3571
|
+
| \`description-list\` | 34,656 | 10,565 | 9,263 | 1,132 | 172 | 72 |
|
|
3572
|
+
| \`dialog\` | 38,205 | 11,660 | 10,229 | 2,717 | 777 | 605 |
|
|
3573
|
+
| \`divider\` | 34,903 | 10,809 | 9,498 | 981 | 255 | 210 |
|
|
3574
|
+
| \`donut-chart\` | 78,982 | 25,781 | 22,706 | 10,339 | 2,969 | 2,458 |
|
|
3575
|
+
| \`drawer\` | 36,958 | 11,299 | 9,898 | 1,761 | 470 | 375 |
|
|
3576
|
+
| \`drilldown\` | 98,646 | 32,042 | 26,061 | 5,704 | 1,493 | 1,238 |
|
|
3577
|
+
| \`empty\` | 35,150 | 10,853 | 9,527 | 956 | 243 | 93 |
|
|
3578
|
+
| \`file-input\` | 102,144 | 32,877 | 26,913 | 6,266 | 1,808 | 1,383 |
|
|
3579
|
+
| \`filter-input\` | 158,975 | 49,595 | 41,851 | 28,070 | 6,798 | 5,653 |
|
|
3580
|
+
| \`format-date\` | 38,166 | 11,770 | 10,403 | 2,868 | 694 | 545 |
|
|
3581
|
+
| \`graph\` | 116,500 | 37,045 | 30,481 | 11,480 | 3,231 | 2,707 |
|
|
3582
|
+
| \`heatmap\` | 80,204 | 25,983 | 22,871 | 10,997 | 2,991 | 2,473 |
|
|
3583
|
+
| \`icon\` | 89,288 | 28,882 | 23,682 | 1,018 | 246 | 233 |
|
|
3584
|
+
| \`icon-button\` | 39,768 | 12,019 | 10,552 | 3,594 | 857 | 686 |
|
|
3585
|
+
| \`image\` | 36,726 | 11,156 | 9,804 | 3,157 | 811 | 573 |
|
|
3586
|
+
| \`input\` | 101,182 | 32,362 | 26,482 | 4,746 | 1,276 | 928 |
|
|
3587
|
+
| \`kbd\` | 36,507 | 11,395 | 10,035 | 2,976 | 915 | 698 |
|
|
3588
|
+
| \`legend\` | 38,559 | 11,901 | 10,462 | 1,080 | 276 | 203 |
|
|
3589
|
+
| \`lightbox\` | 42,999 | 12,950 | 11,349 | 4,807 | 1,236 | 976 |
|
|
3590
|
+
| \`line-chart\` | 80,779 | 26,486 | 23,366 | 10,792 | 3,085 | 2,519 |
|
|
3591
|
+
| \`list\` | 35,609 | 10,806 | 9,499 | 1,726 | 332 | 179 |
|
|
3592
|
+
| \`listbox\` | 109,996 | 35,061 | 28,720 | 11,263 | 3,065 | 2,402 |
|
|
3593
|
+
| \`loader\` | 34,793 | 10,731 | 9,435 | 900 | 230 | 100 |
|
|
3594
|
+
| \`map\` | 135,023 | 40,242 | 33,340 | 33,030 | 7,707 | 6,233 |
|
|
3595
|
+
| \`megamenu\` | 65,092 | 21,481 | 18,935 | 4,941 | 1,278 | 960 |
|
|
3596
|
+
| \`menu\` | 128,815 | 42,454 | 35,585 | 8,856 | 2,186 | 1,736 |
|
|
3597
|
+
| \`meter\` | 37,983 | 11,582 | 10,180 | 4,100 | 1,064 | 841 |
|
|
3598
|
+
| \`navigation\` | 36,542 | 11,280 | 9,892 | 1,417 | 341 | 173 |
|
|
3599
|
+
| \`notifications\` | 105,825 | 33,645 | 27,486 | 11,384 | 2,616 | 2,095 |
|
|
3600
|
+
| \`number-input\` | 104,106 | 33,173 | 27,128 | 7,671 | 1,990 | 1,534 |
|
|
3601
|
+
| \`object-inspector\` | 143,395 | 46,771 | 39,474 | 19,705 | 5,248 | 4,362 |
|
|
3602
|
+
| \`option\` | 36,848 | 11,172 | 9,860 | 2,959 | 665 | 435 |
|
|
3603
|
+
| \`outline\` | 39,911 | 12,458 | 10,950 | 4,628 | 1,325 | 1,029 |
|
|
3604
|
+
| \`pagination\` | 152,465 | 47,581 | 40,058 | 27,823 | 6,528 | 5,228 |
|
|
3605
|
+
| \`pin-input\` | 46,366 | 13,784 | 12,123 | 5,242 | 1,562 | 1,109 |
|
|
3606
|
+
| \`popover\` | 62,296 | 20,724 | 18,262 | 1,899 | 512 | 373 |
|
|
3607
|
+
| \`progress\` | 35,834 | 11,003 | 9,690 | 1,951 | 489 | 399 |
|
|
3608
|
+
| \`qr-code\` | 46,483 | 15,044 | 13,227 | 12,984 | 4,827 | 3,940 |
|
|
3609
|
+
| \`quote\` | 34,076 | 10,491 | 9,201 | 552 | 118 | 6 |
|
|
3610
|
+
| \`radio\` | 45,916 | 13,427 | 11,812 | 2,874 | 726 | 540 |
|
|
3611
|
+
| \`rating\` | 48,121 | 14,397 | 12,649 | 6,689 | 1,880 | 1,438 |
|
|
3612
|
+
| \`scatter-chart\` | 80,683 | 26,413 | 23,273 | 11,471 | 3,371 | 2,735 |
|
|
3613
|
+
| \`scroll-area\` | 36,319 | 11,164 | 9,804 | 2,743 | 736 | 544 |
|
|
3614
|
+
| \`select\` | 140,575 | 45,037 | 37,768 | 16,146 | 4,083 | 3,234 |
|
|
3615
|
+
| \`skeleton\` | 33,265 | 10,227 | 8,965 | 544 | 105 | 25 |
|
|
3616
|
+
| \`skip-link\` | 34,855 | 10,796 | 9,481 | 1,178 | 333 | 249 |
|
|
3617
|
+
| \`slider\` | 46,905 | 13,806 | 12,176 | 5,628 | 1,517 | 1,226 |
|
|
3618
|
+
| \`sparkline\` | 40,978 | 12,925 | 11,384 | 2,387 | 793 | 617 |
|
|
3619
|
+
| \`speed-dial\` | 120,323 | 40,071 | 33,762 | 3,743 | 918 | 710 |
|
|
3620
|
+
| \`splitter\` | 44,358 | 13,240 | 11,673 | 10,283 | 2,586 | 2,114 |
|
|
3621
|
+
| \`stat\` | 35,041 | 10,666 | 9,363 | 1,148 | 184 | 91 |
|
|
3622
|
+
| \`steps\` | 98,861 | 31,678 | 25,899 | 6,295 | 1,469 | 1,153 |
|
|
3623
|
+
| \`switch\` | 43,417 | 12,921 | 11,341 | 1,650 | 514 | 404 |
|
|
3624
|
+
| \`table\` | 100,971 | 32,855 | 26,761 | 10,159 | 2,795 | 2,324 |
|
|
3625
|
+
| \`tabs\` | 42,654 | 12,774 | 11,190 | 3,925 | 822 | 656 |
|
|
3626
|
+
| \`tag\` | 90,014 | 29,133 | 23,787 | 908 | 198 | 143 |
|
|
3627
|
+
| \`textarea\` | 45,604 | 13,423 | 11,760 | 3,997 | 1,064 | 873 |
|
|
3628
|
+
| \`time-input\` | 159,758 | 49,619 | 41,831 | 29,051 | 7,092 | 5,867 |
|
|
3629
|
+
| \`time-picker\` | 118,842 | 37,643 | 30,835 | 19,136 | 5,108 | 4,225 |
|
|
3630
|
+
| \`timeline\` | 90,450 | 29,131 | 23,959 | 1,809 | 361 | 264 |
|
|
3631
|
+
| \`toast\` | 93,807 | 30,268 | 24,791 | 4,078 | 949 | 738 |
|
|
3632
|
+
| \`toggle\` | 47,603 | 13,958 | 12,288 | 3,342 | 815 | 602 |
|
|
3633
|
+
| \`toolbar\` | 36,647 | 11,354 | 9,982 | 2,624 | 704 | 507 |
|
|
3634
|
+
| \`tooltip\` | 66,523 | 21,821 | 19,248 | 6,494 | 1,748 | 1,368 |
|
|
3635
|
+
| \`tour\` | 72,280 | 23,251 | 20,432 | 11,097 | 2,771 | 2,167 |
|
|
3636
|
+
| \`tree\` | 100,665 | 32,488 | 26,470 | 7,224 | 1,878 | 1,479 |
|
|
3637
|
+
| \`trend\` | 89,328 | 28,928 | 23,769 | 1,056 | 268 | 264 |
|
|
3638
|
+
| \`video\` | 157,146 | 49,283 | 41,779 | 32,577 | 7,665 | 6,504 |
|
|
3639
|
+
| \`video-playlist\` | 136,305 | 44,054 | 36,969 | 14,942 | 3,424 | 2,721 |
|
|
3640
|
+
| \`virtual-list\` | 40,597 | 12,665 | 11,142 | 2,413 | 718 | 481 |
|
|
3626
3641
|
|
|
3627
3642
|
### Styled tier
|
|
3628
3643
|
|
|
@@ -3630,110 +3645,110 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
3630
3645
|
|
|
3631
3646
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
3632
3647
|
|---|---|---|---|---|---|---|
|
|
3633
|
-
| \`accordion\` | 97,484 | 31,527 | 25,
|
|
3634
|
-
| \`announcement\` | 96,325 | 30,966 | 25,
|
|
3635
|
-
| \`app-header\` | 39,037 | 11,664 | 10,
|
|
3636
|
-
| \`area-chart\` | 88,624 | 28,374 |
|
|
3637
|
-
| \`aura\` | 102,
|
|
3638
|
-
| \`avatar\` | 40,820 | 12,
|
|
3639
|
-
| \`badge\` |
|
|
3640
|
-
| \`bar-chart\` | 95,653 | 29,690 | 26,
|
|
3641
|
-
| \`blockquote\` | 35,853 | 11,017 | 9,681 | 1,914 | 481 |
|
|
3642
|
-
| \`breadcrumbs\` | 94,168 | 30,039 | 24,
|
|
3643
|
-
| \`button\` | 45,
|
|
3644
|
-
| \`button-group\` | 36,229 | 10,989 | 9,644 | 2,320 | 527 |
|
|
3645
|
-
| \`callout\` | 91,
|
|
3646
|
-
| \`canvas\` | 116,132 | 32,041 | 27,
|
|
3647
|
-
| \`card\` | 37,868 | 11,
|
|
3648
|
-
| \`carousel\` | 110,792 | 33,934 |
|
|
3649
|
-
| \`chat\` | 127,645 | 39,597 | 32,
|
|
3650
|
-
| \`checkbox\` | 50,794 | 14,479 | 12,
|
|
3651
|
-
| \`checkbox-group\` | 49,591 | 14,
|
|
3652
|
-
| \`code\` | 34,249 | 10,492 | 9,
|
|
3653
|
-
| \`code-block\` | 152,
|
|
3654
|
-
| \`color-input\` | 187,
|
|
3655
|
-
| \`color-picker\` | 148,
|
|
3656
|
-
| \`combobox\` | 163,625 | 49,536 | 41,
|
|
3657
|
-
| \`command\` | 129,039 | 39,047 | 32,
|
|
3658
|
-
| \`copy-button\` | 140,
|
|
3659
|
-
| \`data-table\` | 227,144 | 64,440 | 54,
|
|
3660
|
-
| \`date-input\` | 162,787 | 49,387 | 41,
|
|
3661
|
-
| \`date-picker\` | 107,397 | 34,083 | 27,
|
|
3662
|
-
| \`description-list\` | 37,034 | 11,136 | 9,
|
|
3663
|
-
| \`dialog\` | 42,582 | 12,668 | 11,
|
|
3664
|
-
| \`divider\` | 37,059 | 11,328 | 9,
|
|
3665
|
-
| \`donut-chart\` | 88,088 | 27,
|
|
3666
|
-
| \`drawer\` | 41,221 | 12,296 | 10,809 | 6,007 | 1,482 | 1,
|
|
3667
|
-
| \`drilldown\` | 103,343 | 33,
|
|
3668
|
-
| \`empty\` | 36,590 | 11,297 | 9,
|
|
3669
|
-
| \`file-input\` | 113,670 | 35,207 | 28,
|
|
3670
|
-
| \`filter-input\` | 187,314 | 54,
|
|
3671
|
-
| \`flex\` | 35,610 | 10,843 | 9,
|
|
3672
|
-
| \`format-date\` | 38,814 | 11,917 | 10,
|
|
3673
|
-
| \`graph\` | 131,342 | 39,600 | 32,
|
|
3674
|
-
| \`grid\` | 36,203 | 11,
|
|
3675
|
-
| \`heatmap\` | 87,000 | 27,374 | 24,
|
|
3676
|
-
| \`icon\` | 89,994 | 29,073 | 23,
|
|
3677
|
-
| \`icon-button\` | 45,
|
|
3678
|
-
| \`image\` | 38,428 | 11,
|
|
3679
|
-
| \`input\` | 107,548 | 33,803 | 27,
|
|
3680
|
-
| \`kbd\` | 37,919 | 11,
|
|
3681
|
-
| \`legend\` | 43,375 | 13,019 | 11,
|
|
3682
|
-
| \`lightbox\` | 46,011 | 13,699 | 11,
|
|
3683
|
-
| \`line-chart\` | 90,551 | 28,485 | 25,
|
|
3684
|
-
| \`list\` | 39,692 | 11,749 | 10,
|
|
3685
|
-
| \`listbox\` | 114,516 | 36,116 | 29,
|
|
3686
|
-
| \`loader\` | 37,959 | 11,498 | 10,
|
|
3687
|
-
| \`map\` |
|
|
3688
|
-
| \`megamenu\` | 69,973 | 22,584 | 19,
|
|
3689
|
-
| \`menu\` | 136,343 | 44,
|
|
3690
|
-
| \`meter\` | 43,381 | 12,
|
|
3691
|
-
| \`navigation\` | 38,193 | 11,742 | 10,
|
|
3692
|
-
| \`notifications\` | 118,939 | 36,071 | 29,
|
|
3693
|
-
| \`number-input\` | 108,991 | 34,360 | 28,
|
|
3694
|
-
| \`object-inspector\` | 157,
|
|
3695
|
-
| \`option\` | 40,102 | 12,078 | 10,
|
|
3696
|
-
| \`orb\` | 44,808 | 14,467 | 12,
|
|
3697
|
-
| \`outline\` | 43,651 | 13,234 | 11,
|
|
3698
|
-
| \`pagination\` | 170,448 | 50,616 | 42,
|
|
3699
|
-
| \`pin-input\` | 49,531 | 14,
|
|
3700
|
-
| \`popover\` | 64,
|
|
3701
|
-
| \`progress\` | 40,863 | 12,174 | 10,
|
|
3702
|
-
| \`qr-code\` | 48,148 | 15,475 | 13,
|
|
3703
|
-
| \`quote\` | 34,731 | 10,653 | 9,342 | 1,191 | 291 |
|
|
3704
|
-
| \`radio\` | 54,213 | 14,925 | 13,
|
|
3705
|
-
| \`rating\` | 52,430 | 15,623 | 13,
|
|
3706
|
-
| \`sandbox\` | 70,095 | 18,502 | 16,
|
|
3707
|
-
| \`scatter-chart\` | 89,076 | 28,
|
|
3708
|
-
| \`scroll-area\` | 39,467 | 11,819 | 10,
|
|
3709
|
-
| \`select\` | 153,428 | 47,
|
|
3710
|
-
| \`skeleton\` | 35,783 | 10,980 | 9,
|
|
3711
|
-
| \`skip-link\` | 36,318 | 11,
|
|
3712
|
-
| \`slider\` | 57,985 | 15,
|
|
3713
|
-
| \`sparkline\` | 44,898 | 13,878 | 12,
|
|
3714
|
-
| \`speed-dial\` | 127,
|
|
3715
|
-
| \`splitter\` | 50,430 | 14,234 | 12,
|
|
3716
|
-
| \`stat\` | 38,466 | 11,377 | 10,026 | 4,565 | 916 |
|
|
3717
|
-
| \`steps\` | 112,
|
|
3718
|
-
| \`switch\` | 47,
|
|
3719
|
-
| \`table\` | 106,565 | 34,049 | 27,
|
|
3720
|
-
| \`tabs\` | 48,895 | 14,048 | 12,
|
|
3721
|
-
| \`tag\` | 93,365 | 30,080 | 24,
|
|
3722
|
-
| \`text\` | 37,730 | 11,196 | 9,
|
|
3723
|
-
| \`textarea\` | 49,038 | 14,
|
|
3724
|
-
| \`time-input\` | 181,396 | 53,205 | 44,
|
|
3725
|
-
| \`time-picker\` | 130,570 | 39,823 | 32,
|
|
3726
|
-
| \`timeline\` | 93,763 | 29,912 | 24,
|
|
3727
|
-
| \`toast\` | 101,341 | 31,985 | 26,
|
|
3728
|
-
| \`toggle\` | 52,798 | 15,
|
|
3729
|
-
| \`toolbar\` | 37,939 | 11,649 | 10,232 | 3,899 | 1,021 |
|
|
3730
|
-
| \`tooltip\` | 69,601 | 22,599 | 19,
|
|
3731
|
-
| \`tour\` | 81,
|
|
3732
|
-
| \`tree\` | 106,515 | 33,905 | 27,
|
|
3733
|
-
| \`trend\` | 92,548 | 29,699 | 24,
|
|
3734
|
-
| \`video\` | 176,566 | 52,
|
|
3735
|
-
| \`video-playlist\` | 150,421 | 46,636 | 39,
|
|
3736
|
-
| \`virtual-list\` | 41,389 | 12,878 | 11,
|
|
3648
|
+
| \`accordion\` | 97,484 | 31,527 | 25,720 | 6,204 | 1,539 | 1,224 |
|
|
3649
|
+
| \`announcement\` | 96,325 | 30,966 | 25,285 | 6,133 | 1,433 | 1,253 |
|
|
3650
|
+
| \`app-header\` | 39,037 | 11,664 | 10,276 | 5,121 | 1,173 | 920 |
|
|
3651
|
+
| \`area-chart\` | 88,624 | 28,374 | 25,107 | 18,528 | 4,995 | 4,085 |
|
|
3652
|
+
| \`aura\` | 102,182 | 34,152 | 29,576 | 65,492 | 23,022 | 19,678 |
|
|
3653
|
+
| \`avatar\` | 40,820 | 12,142 | 10,668 | 6,872 | 1,666 | 1,331 |
|
|
3654
|
+
| \`badge\` | 38,056 | 11,452 | 10,036 | 4,519 | 1,047 | 783 |
|
|
3655
|
+
| \`bar-chart\` | 95,653 | 29,690 | 26,180 | 25,550 | 6,313 | 5,269 |
|
|
3656
|
+
| \`blockquote\` | 35,853 | 11,017 | 9,681 | 1,914 | 481 | 343 |
|
|
3657
|
+
| \`breadcrumbs\` | 94,168 | 30,039 | 24,651 | 5,518 | 1,237 | 964 |
|
|
3658
|
+
| \`button\` | 45,627 | 13,160 | 11,529 | 9,435 | 2,011 | 1,550 |
|
|
3659
|
+
| \`button-group\` | 36,229 | 10,989 | 9,644 | 2,320 | 527 | 399 |
|
|
3660
|
+
| \`callout\` | 91,867 | 29,665 | 24,435 | 3,044 | 803 | 671 |
|
|
3661
|
+
| \`canvas\` | 116,132 | 32,041 | 27,994 | 70,330 | 18,726 | 15,688 |
|
|
3662
|
+
| \`card\` | 37,868 | 11,465 | 10,065 | 3,963 | 987 | 911 |
|
|
3663
|
+
| \`carousel\` | 110,792 | 33,934 | 27,992 | 21,720 | 4,518 | 3,808 |
|
|
3664
|
+
| \`chat\` | 127,645 | 39,597 | 32,623 | 31,592 | 7,644 | 6,393 |
|
|
3665
|
+
| \`checkbox\` | 50,794 | 14,479 | 12,747 | 9,413 | 2,242 | 1,902 |
|
|
3666
|
+
| \`checkbox-group\` | 49,591 | 14,307 | 12,571 | 7,692 | 1,940 | 1,481 |
|
|
3667
|
+
| \`code\` | 34,249 | 10,492 | 9,217 | 1,511 | 371 | 205 |
|
|
3668
|
+
| \`code-block\` | 152,056 | 47,070 | 39,706 | 33,873 | 7,293 | 6,166 |
|
|
3669
|
+
| \`color-input\` | 187,784 | 53,476 | 45,374 | 60,032 | 11,434 | 9,656 |
|
|
3670
|
+
| \`color-picker\` | 148,452 | 42,352 | 35,077 | 48,165 | 9,437 | 7,975 |
|
|
3671
|
+
| \`combobox\` | 163,625 | 49,536 | 41,777 | 36,412 | 7,971 | 6,579 |
|
|
3672
|
+
| \`command\` | 129,039 | 39,047 | 32,118 | 28,805 | 6,714 | 5,583 |
|
|
3673
|
+
| \`copy-button\` | 140,190 | 44,376 | 37,309 | 22,010 | 4,707 | 3,839 |
|
|
3674
|
+
| \`data-table\` | 227,144 | 64,440 | 54,243 | 95,535 | 21,432 | 17,399 |
|
|
3675
|
+
| \`date-input\` | 162,787 | 49,387 | 41,713 | 35,359 | 7,915 | 6,640 |
|
|
3676
|
+
| \`date-picker\` | 107,397 | 34,083 | 27,925 | 15,499 | 3,867 | 3,227 |
|
|
3677
|
+
| \`description-list\` | 37,034 | 11,136 | 9,767 | 3,502 | 769 | 588 |
|
|
3678
|
+
| \`dialog\` | 42,582 | 12,668 | 11,149 | 7,079 | 1,783 | 1,444 |
|
|
3679
|
+
| \`divider\` | 37,059 | 11,328 | 9,883 | 3,120 | 770 | 661 |
|
|
3680
|
+
| \`donut-chart\` | 88,088 | 27,652 | 24,448 | 19,422 | 4,910 | 4,046 |
|
|
3681
|
+
| \`drawer\` | 41,221 | 12,296 | 10,809 | 6,007 | 1,482 | 1,236 |
|
|
3682
|
+
| \`drilldown\` | 103,343 | 33,143 | 27,043 | 10,391 | 2,512 | 2,045 |
|
|
3683
|
+
| \`empty\` | 36,590 | 11,297 | 9,906 | 2,380 | 703 | 532 |
|
|
3684
|
+
| \`file-input\` | 113,670 | 35,207 | 28,858 | 17,794 | 4,073 | 3,385 |
|
|
3685
|
+
| \`filter-input\` | 187,314 | 54,146 | 45,758 | 56,402 | 11,409 | 9,430 |
|
|
3686
|
+
| \`flex\` | 35,610 | 10,843 | 9,518 | 2,078 | 453 | 288 |
|
|
3687
|
+
| \`format-date\` | 38,814 | 11,917 | 10,521 | 3,498 | 869 | 597 |
|
|
3688
|
+
| \`graph\` | 131,342 | 39,600 | 32,625 | 26,303 | 5,764 | 4,954 |
|
|
3689
|
+
| \`grid\` | 36,203 | 11,032 | 9,682 | 2,667 | 625 | 548 |
|
|
3690
|
+
| \`heatmap\` | 87,000 | 27,374 | 24,209 | 17,773 | 4,424 | 3,704 |
|
|
3691
|
+
| \`icon\` | 89,994 | 29,073 | 23,803 | 1,707 | 413 | 249 |
|
|
3692
|
+
| \`icon-button\` | 45,786 | 13,032 | 11,450 | 9,596 | 1,871 | 1,524 |
|
|
3693
|
+
| \`image\` | 38,428 | 11,636 | 10,203 | 4,841 | 1,286 | 983 |
|
|
3694
|
+
| \`input\` | 107,548 | 33,803 | 27,666 | 11,102 | 2,659 | 2,146 |
|
|
3695
|
+
| \`kbd\` | 37,919 | 11,849 | 10,401 | 4,373 | 1,374 | 1,102 |
|
|
3696
|
+
| \`legend\` | 43,375 | 13,019 | 11,402 | 5,790 | 1,390 | 1,065 |
|
|
3697
|
+
| \`lightbox\` | 46,011 | 13,699 | 11,982 | 7,803 | 1,988 | 1,691 |
|
|
3698
|
+
| \`line-chart\` | 90,551 | 28,485 | 25,178 | 20,543 | 5,161 | 4,248 |
|
|
3699
|
+
| \`list\` | 39,692 | 11,749 | 10,316 | 5,799 | 1,305 | 1,028 |
|
|
3700
|
+
| \`listbox\` | 114,516 | 36,116 | 29,507 | 15,768 | 4,062 | 3,193 |
|
|
3701
|
+
| \`loader\` | 37,959 | 11,498 | 10,113 | 4,051 | 995 | 850 |
|
|
3702
|
+
| \`map\` | 172,078 | 45,778 | 38,214 | 70,072 | 13,195 | 10,982 |
|
|
3703
|
+
| \`megamenu\` | 69,973 | 22,584 | 19,943 | 9,806 | 2,356 | 1,940 |
|
|
3704
|
+
| \`menu\` | 136,343 | 44,103 | 36,938 | 16,360 | 3,787 | 3,120 |
|
|
3705
|
+
| \`meter\` | 43,381 | 12,723 | 11,216 | 9,480 | 2,236 | 1,950 |
|
|
3706
|
+
| \`navigation\` | 38,193 | 11,742 | 10,309 | 3,051 | 806 | 599 |
|
|
3707
|
+
| \`notifications\` | 118,939 | 36,071 | 29,654 | 24,488 | 5,037 | 4,318 |
|
|
3708
|
+
| \`number-input\` | 108,991 | 34,360 | 28,109 | 12,537 | 3,136 | 2,412 |
|
|
3709
|
+
| \`object-inspector\` | 157,035 | 49,044 | 41,533 | 33,323 | 7,593 | 6,290 |
|
|
3710
|
+
| \`option\` | 40,102 | 12,078 | 10,633 | 6,203 | 1,565 | 1,227 |
|
|
3711
|
+
| \`orb\` | 44,808 | 14,467 | 12,827 | 8,624 | 3,203 | 2,739 |
|
|
3712
|
+
| \`outline\` | 43,651 | 13,234 | 11,666 | 8,351 | 2,118 | 1,707 |
|
|
3713
|
+
| \`pagination\` | 170,448 | 50,616 | 42,697 | 45,787 | 9,636 | 7,884 |
|
|
3714
|
+
| \`pin-input\` | 49,531 | 14,596 | 12,812 | 8,390 | 2,385 | 1,811 |
|
|
3715
|
+
| \`popover\` | 64,967 | 21,370 | 18,889 | 4,552 | 1,174 | 940 |
|
|
3716
|
+
| \`progress\` | 40,863 | 12,174 | 10,738 | 6,962 | 1,676 | 1,351 |
|
|
3717
|
+
| \`qr-code\` | 48,148 | 15,475 | 13,626 | 14,629 | 5,259 | 4,338 |
|
|
3718
|
+
| \`quote\` | 34,731 | 10,653 | 9,342 | 1,191 | 291 | 170 |
|
|
3719
|
+
| \`radio\` | 54,213 | 14,925 | 13,149 | 11,161 | 2,282 | 1,825 |
|
|
3720
|
+
| \`rating\` | 52,430 | 15,623 | 13,762 | 10,984 | 3,118 | 2,550 |
|
|
3721
|
+
| \`sandbox\` | 70,095 | 18,502 | 16,376 | 35,720 | 7,874 | 6,644 |
|
|
3722
|
+
| \`scatter-chart\` | 89,076 | 28,201 | 24,812 | 19,840 | 5,218 | 4,151 |
|
|
3723
|
+
| \`scroll-area\` | 39,467 | 11,819 | 10,362 | 5,874 | 1,383 | 1,076 |
|
|
3724
|
+
| \`select\` | 153,428 | 47,408 | 39,903 | 28,985 | 6,519 | 5,382 |
|
|
3725
|
+
| \`skeleton\` | 35,783 | 10,980 | 9,662 | 2,242 | 595 | 514 |
|
|
3726
|
+
| \`skip-link\` | 36,318 | 11,203 | 9,793 | 2,624 | 721 | 509 |
|
|
3727
|
+
| \`slider\` | 57,985 | 15,794 | 13,955 | 16,691 | 3,550 | 2,975 |
|
|
3728
|
+
| \`sparkline\` | 44,898 | 13,878 | 12,223 | 6,293 | 1,748 | 1,435 |
|
|
3729
|
+
| \`speed-dial\` | 127,953 | 41,580 | 34,957 | 11,355 | 2,362 | 1,845 |
|
|
3730
|
+
| \`splitter\` | 50,430 | 14,234 | 12,600 | 16,337 | 3,634 | 3,026 |
|
|
3731
|
+
| \`stat\` | 38,466 | 11,377 | 10,026 | 4,565 | 916 | 741 |
|
|
3732
|
+
| \`steps\` | 112,667 | 34,217 | 28,069 | 20,087 | 3,975 | 3,300 |
|
|
3733
|
+
| \`switch\` | 47,784 | 13,981 | 12,294 | 6,002 | 1,571 | 1,193 |
|
|
3734
|
+
| \`table\` | 106,565 | 34,049 | 27,858 | 15,748 | 3,973 | 3,328 |
|
|
3735
|
+
| \`tabs\` | 48,895 | 14,048 | 12,307 | 10,154 | 2,153 | 1,662 |
|
|
3736
|
+
| \`tag\` | 93,365 | 30,080 | 24,585 | 4,244 | 1,062 | 876 |
|
|
3737
|
+
| \`text\` | 37,730 | 11,196 | 9,827 | 4,200 | 929 | 671 |
|
|
3738
|
+
| \`textarea\` | 49,038 | 14,260 | 12,528 | 7,416 | 1,937 | 1,499 |
|
|
3739
|
+
| \`time-input\` | 181,396 | 53,205 | 44,990 | 50,671 | 10,793 | 8,954 |
|
|
3740
|
+
| \`time-picker\` | 130,570 | 39,823 | 32,754 | 30,854 | 7,357 | 6,058 |
|
|
3741
|
+
| \`timeline\` | 93,763 | 29,912 | 24,586 | 5,110 | 1,130 | 964 |
|
|
3742
|
+
| \`toast\` | 101,341 | 31,985 | 26,187 | 11,599 | 2,621 | 2,077 |
|
|
3743
|
+
| \`toggle\` | 52,798 | 15,150 | 13,334 | 8,526 | 2,061 | 1,650 |
|
|
3744
|
+
| \`toolbar\` | 37,939 | 11,649 | 10,232 | 3,899 | 1,021 | 823 |
|
|
3745
|
+
| \`tooltip\` | 69,601 | 22,599 | 19,940 | 9,554 | 2,494 | 1,994 |
|
|
3746
|
+
| \`tour\` | 81,996 | 24,885 | 21,939 | 20,795 | 4,495 | 3,592 |
|
|
3747
|
+
| \`tree\` | 106,515 | 33,905 | 27,704 | 13,067 | 3,290 | 2,729 |
|
|
3748
|
+
| \`trend\` | 92,548 | 29,699 | 24,398 | 4,271 | 981 | 828 |
|
|
3749
|
+
| \`video\` | 176,566 | 52,762 | 44,869 | 51,979 | 11,227 | 9,576 |
|
|
3750
|
+
| \`video-playlist\` | 150,421 | 46,636 | 39,281 | 29,040 | 5,998 | 4,992 |
|
|
3751
|
+
| \`virtual-list\` | 41,389 | 12,878 | 11,354 | 3,187 | 935 | 643 |
|
|
3737
3752
|
|
|
3738
3753
|
## What an install adds to \`node_modules\`
|
|
3739
3754
|
|
|
@@ -3745,12 +3760,12 @@ stripped column shows the bytes we removed.
|
|
|
3745
3760
|
|
|
3746
3761
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
3747
3762
|
|---|---|---|---|---|
|
|
3748
|
-
| \`@fusion.dev/helix-core\` | 1,219,
|
|
3749
|
-
| \`@fusion.dev/helix-headless\` | 13,
|
|
3763
|
+
| \`@fusion.dev/helix-core\` | 1,219,204 | 179 | 274,659 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\` |
|
|
3764
|
+
| \`@fusion.dev/helix-headless\` | 13,709,247 | 511 | 1,079,071 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`uqr\` |
|
|
3750
3765
|
| \`@fusion.dev/helix-icons\` | 150,162 | 21 | 50,346 | \`svgo\` |
|
|
3751
|
-
| \`@fusion.dev/helix-styles\` |
|
|
3752
|
-
| \`@fusion.dev/helix-theme\` |
|
|
3753
|
-
| \`@fusion.dev/helix\` | 14,
|
|
3766
|
+
| \`@fusion.dev/helix-styles\` | 106,097 | 6 | 0 | none |
|
|
3767
|
+
| \`@fusion.dev/helix-theme\` | 528,598 | 8 | 5,393 | none |
|
|
3768
|
+
| \`@fusion.dev/helix\` | 14,852,492 | 877 | 373,887 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\` |
|
|
3754
3769
|
|
|
3755
3770
|
## Not measured yet
|
|
3756
3771
|
|
|
@@ -5575,7 +5590,7 @@ its own components, and the same applies to anything you build with it.
|
|
|
5575
5590
|
|
|
5576
5591
|
The theme engine measures each ink against the ground it is actually painted
|
|
5577
5592
|
on. The ladder records which pairs occur. For example, \`foreground\` on
|
|
5578
|
-
\`surface-overlay\` is a real pair, and \`foreground-on-
|
|
5593
|
+
\`surface-overlay\` is a real pair, and \`foreground-on-primary\` on \`surface\` is
|
|
5579
5594
|
not. See [Color](./color).
|
|
5580
5595
|
`,
|
|
5581
5596
|
svelte: `---
|
|
@@ -5675,6 +5690,11 @@ drawn with the theme, and the stylesheet the theme generates beside it.
|
|
|
5675
5690
|
The Color scheme field picks which half you see: light, dark, or the site's own
|
|
5676
5691
|
mode. See [Color modes](./color-modes).
|
|
5677
5692
|
|
|
5693
|
+
The builder starts from ink, the palette Helix draws with no brand color:
|
|
5694
|
+
near-black in light mode and near-white in dark. Turn on **Brand color** to
|
|
5695
|
+
derive the palette from a color of your own. The accent angle is measured from
|
|
5696
|
+
the brand, so it applies only with one.
|
|
5697
|
+
|
|
5678
5698
|
## A page of your own color
|
|
5679
5699
|
|
|
5680
5700
|
The Light page and Dark page fields give the page a color, such as a warm cream
|
|
@@ -5758,6 +5778,22 @@ title: Deriving a theme
|
|
|
5758
5778
|
|
|
5759
5779
|
Helix computes your color tokens from a few inputs, such as your brand color.
|
|
5760
5780
|
|
|
5781
|
+
## Without a brand color
|
|
5782
|
+
|
|
5783
|
+
With no brand color set, Helix draws in ink. The primary color is near-black in
|
|
5784
|
+
light mode and near-white in dark mode, and a filled button is the opposite of
|
|
5785
|
+
the page, with the page's own color for its label. The neutral ramp supplies
|
|
5786
|
+
both, so a gray with a tint gives a tinted ink. Set a brand color to replace the
|
|
5787
|
+
ink, as a seed in CSS or as \`brand\` in the theme engine.
|
|
5788
|
+
|
|
5789
|
+
Before ink, the default was a blue. To keep it, set it as your seed:
|
|
5790
|
+
|
|
5791
|
+
\`\`\`css
|
|
5792
|
+
:root {
|
|
5793
|
+
--helix-seed-brand: oklch(0.539 0.19 258);
|
|
5794
|
+
}
|
|
5795
|
+
\`\`\`
|
|
5796
|
+
|
|
5761
5797
|
When a design system ships two hundred fixed color values, you theme it by
|
|
5762
5798
|
changing them one at a time. A change to one value can break the contrast of a
|
|
5763
5799
|
component elsewhere, and nothing tells you.
|
|
@@ -5788,8 +5824,9 @@ resolved at the root. The stylesheet declares the ramp again on each
|
|
|
5788
5824
|
|
|
5789
5825
|
Tuned does not guarantee contrast. CSS has no contrast function.
|
|
5790
5826
|
\`oklch(from …)\` can step and rotate a color, but it cannot search for the
|
|
5791
|
-
lightness that meets a target. The contrast figures built into the ramp
|
|
5792
|
-
exact for
|
|
5827
|
+
lightness that meets a target. The contrast figures built into the ramp were
|
|
5828
|
+
measured on one blue seed, so they are exact for that seed and approximate for
|
|
5829
|
+
any other.
|
|
5793
5830
|
|
|
5794
5831
|
**Verified** uses the theme engine. It searches for each color that meets its
|
|
5795
5832
|
target, measures every pair, and returns the theme with any violations:
|
|
@@ -5860,6 +5897,16 @@ console.log(css[':root'])
|
|
|
5860
5897
|
A value that is not a color and still changes with the mode, such as the edge
|
|
5861
5898
|
of a floating surface, is set by rules after the block, one for each mode.
|
|
5862
5899
|
|
|
5900
|
+
The CLI writes the same block. \`helix theme init\` writes a \`helix.theme.json\`,
|
|
5901
|
+
with your brand color if you pass \`--brand\`. \`helix theme build\` derives it in
|
|
5902
|
+
both modes, unless the file names a \`scheme\`, and refuses to write a theme with
|
|
5903
|
+
a pair that misses its target:
|
|
5904
|
+
|
|
5905
|
+
\`\`\`sh
|
|
5906
|
+
helix theme init --brand '#0b3d91'
|
|
5907
|
+
helix theme build --out theme.css
|
|
5908
|
+
\`\`\`
|
|
5909
|
+
|
|
5863
5910
|
## Color one section
|
|
5864
5911
|
|
|
5865
5912
|
A section in a color of its own, such as a deep teal band on a cream page, is a
|
|
@@ -5899,8 +5946,10 @@ Equal numeric steps in sRGB do not look like equal steps. That makes scales and
|
|
|
5899
5946
|
contrast math in sRGB unreliable. Helix computes themes in OKLCH for this
|
|
5900
5947
|
reason. Colors are written in OKLCH and converted to other formats on output.
|
|
5901
5948
|
|
|
5902
|
-
The engine keeps your brand color's hue and chroma
|
|
5903
|
-
|
|
5949
|
+
The engine keeps your brand color's hue and chroma. Where the color already
|
|
5950
|
+
meets the contrast target, the engine uses it as it is: a navy brand stays navy
|
|
5951
|
+
on a light page. Where it does not, the engine changes only its lightness, by as
|
|
5952
|
+
little as the target needs. Your brand color stays recognizable, and its
|
|
5904
5953
|
contrast is guaranteed.
|
|
5905
5954
|
|
|
5906
5955
|
## Errors the engine prevents
|