@fusion.dev/helix-docs 0.227.0 → 0.229.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 +5 -4
- package/content/elevation-and-material.mdx +6 -3
- package/content/installation.mdx +8 -2
- package/content/metrics.mdx +263 -263
- package/content/shape-and-borders.mdx +3 -4
- package/content/size-and-density.mdx +1 -2
- package/content/space-and-size.mdx +3 -2
- package/content/surfaces-and-separation.mdx +11 -11
- package/content/theming.mdx +3 -1
- package/content/visual-axes.mdx +21 -17
- package/dist/sources.generated.js +324 -309
- package/package.json +12 -12
|
@@ -1417,9 +1417,9 @@ The surfaces above it form an ordered ladder:
|
|
|
1417
1417
|
| --- | --- | --- |
|
|
1418
1418
|
| \`--helix-color-background\` | <span data-token-swatch style={{ background: 'var(--helix-color-background)' }} /> | The page background. Every other surface sits on it. |
|
|
1419
1419
|
| \`--helix-color-surface\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface)' }} /> | A surface on the page, such as a card or a panel. The separation policy sets it apart with a fill, a border, or a shadow. |
|
|
1420
|
-
| \`--helix-color-surface-raised\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-raised)' }} /> | A raised
|
|
1420
|
+
| \`--helix-color-surface-raised\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-raised)' }} /> | A panel raised inside a surface, such as a card inside a card. Its fill is one step down the ramp. |
|
|
1421
1421
|
| \`--helix-color-surface-overlay\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-overlay)' }} /> | A surface over the page, such as a menu, a popover, or a dialog. Its edge and its shadow set it apart. |
|
|
1422
|
-
| \`--helix-color-surface-sunken\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-sunken)' }} /> | A recessed surface
|
|
1422
|
+
| \`--helix-color-surface-sunken\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-sunken)' }} /> | A recessed surface, such as a track or a groove. Its fill sets it apart. A field reads \`well\`. |
|
|
1423
1423
|
|
|
1424
1424
|
[//]: # (/tokens)
|
|
1425
1425
|
|
|
@@ -1440,7 +1440,8 @@ Inks are the colors that go on grounds. The base ink is \`foreground\`.
|
|
|
1440
1440
|
placeholder, a hint, or a caption. The engine solves it to the contrast
|
|
1441
1441
|
target.
|
|
1442
1442
|
- \`foreground-subtle\` recedes further. It is for marks that are not text, such
|
|
1443
|
-
as a separator, a chevron, or a grip
|
|
1443
|
+
as a separator, a chevron, or a grip. A disabled control fades whole, through
|
|
1444
|
+
\`--helix-opacity-disabled\`.
|
|
1444
1445
|
It is a fixed step of the gray ramp, and the engine does not solve it, so its
|
|
1445
1446
|
contrast is not guaranteed. Use \`foreground-muted\` for text that is read.
|
|
1446
1447
|
- Text on a filled color takes the ink named for that fill:
|
|
@@ -1532,7 +1533,7 @@ readable grays has room for one quiet ink, and \`foreground-muted\` is that ink,
|
|
|
1532
1533
|
\`foreground-subtle\` stays a fixed step of the stylesheet's gray ramp and its
|
|
1533
1534
|
contrast is not guaranteed. A component paints its quiet text in
|
|
1534
1535
|
\`foreground-muted\`, and keeps \`foreground-subtle\` for marks that are not text and
|
|
1535
|
-
for
|
|
1536
|
+
for a mark that recedes.
|
|
1536
1537
|
|
|
1537
1538
|
The engine can solve only the pairs it knows about, so we check two things:
|
|
1538
1539
|
|
|
@@ -2155,6 +2156,7 @@ for the cases the top layer does not cover:
|
|
|
2155
2156
|
| \`--helix-shadow-lg\` | \`0 12px 32px var(--_helix-shadow-ink-lg)\` |
|
|
2156
2157
|
| \`--helix-shadow-surface\` | \`var(--helix-shadow-none)\` |
|
|
2157
2158
|
| \`--helix-shadow-floating\` | \`var(--helix-shadow-lg)\` |
|
|
2159
|
+
| \`--helix-shadow-raised\` | \`var(--helix-shadow-floating)\` |
|
|
2158
2160
|
|
|
2159
2161
|
[//]: # (/tokens)
|
|
2160
2162
|
|
|
@@ -2164,19 +2166,21 @@ separation](./surfaces-and-separation).
|
|
|
2164
2166
|
|
|
2165
2167
|
## Material
|
|
2166
2168
|
|
|
2167
|
-
|
|
2169
|
+
Ten tokens describe translucency:
|
|
2168
2170
|
|
|
2169
2171
|
[//]: # (tokens:material)
|
|
2170
2172
|
|
|
2171
2173
|
| Token | Value | For |
|
|
2172
2174
|
| --- | --- | --- |
|
|
2173
|
-
| \`--helix-material-backdrop\` | \`blur(var(--helix-material-blur-md)) saturate(1.5)\` | The
|
|
2175
|
+
| \`--helix-material-backdrop\` | \`blur(var(--helix-material-blur-md)) saturate(1.5)\` | The blur and saturation behind a translucent surface. |
|
|
2174
2176
|
| \`--helix-material-opacity\` | \`1\` | How opaque a translucent surface is. |
|
|
2175
2177
|
| \`--helix-material-blur-sm\` | \`8px\` | The lightest backdrop blur. |
|
|
2176
2178
|
| \`--helix-material-blur-md\` | \`16px\` | The backdrop blur behind a modal. |
|
|
2177
2179
|
| \`--helix-material-blur-lg\` | \`32px\` | The heaviest backdrop blur. |
|
|
2178
|
-
| \`--helix-material-translucent\` | \`color-mix(in oklab,
|
|
2180
|
+
| \`--helix-material-translucent\` | \`light-dark(color-mix(in oklab, oklch(1 0 0) 30%, transparent), color-mix(in oklab, oklch(0.182 var(--helix-seed-neutral-chroma, 0) var(--helix-seed-neutral-hue, 258)) 60%, transparent))\` | The translucent background, for a surface that shows what is behind it. |
|
|
2179
2181
|
| \`--helix-material-translucent-strong\` | \`color-mix(in oklab, light-dark(oklch(1 0 0), oklch(0.182 var(--helix-seed-neutral-chroma, 0) var(--helix-seed-neutral-hue, 258))) 88%, transparent)\` | The stronger translucent background, for a surface that shows less of what is behind it. |
|
|
2182
|
+
| \`--helix-material-modal\` | \`light-dark(var(--helix-material-translucent-strong), var(--helix-material-translucent))\` | The glass of a Dialog or Drawer, which sits over its own scrim. |
|
|
2183
|
+
| \`--helix-material-panel\` | \`light-dark(color-mix(in oklab, oklch(1 0 0) 72%, transparent), var(--helix-material-translucent))\` | The glass of a panel over the page, such as a Menu, Popover, or Tooltip. |
|
|
2180
2184
|
| \`--helix-material-border\` | \`light-dark(color-mix(in oklab, oklch(0.15 var(--helix-seed-neutral-chroma, 0) var(--helix-seed-neutral-hue, 258)) 14%, transparent), color-mix(in oklab, oklch(1 0 0) 12%, transparent))\` | The border a translucent surface needs to keep a visible edge. |
|
|
2181
2185
|
|
|
2182
2186
|
[//]: # (/tokens)
|
|
@@ -3512,10 +3516,16 @@ If you do not have a project yet, the scaffolder writes one with Helix
|
|
|
3512
3516
|
installed, the stylesheets imported, and every element registered:
|
|
3513
3517
|
|
|
3514
3518
|
\`\`\`sh
|
|
3515
|
-
npm create @fusion.dev/helix-app@latest
|
|
3519
|
+
npm create @fusion.dev/helix-app@latest
|
|
3520
|
+
\`\`\`
|
|
3521
|
+
|
|
3522
|
+
The command asks for a project name and a template. To skip the questions, name
|
|
3523
|
+
both:
|
|
3524
|
+
|
|
3525
|
+
\`\`\`sh
|
|
3526
|
+
npm create @fusion.dev/helix-app@latest my-app --template react-vite
|
|
3516
3527
|
\`\`\`
|
|
3517
3528
|
|
|
3518
|
-
Leave out \`--template\`, and the command lists the templates and writes nothing.
|
|
3519
3529
|
Each template starts with the same three pages:
|
|
3520
3530
|
|
|
3521
3531
|
- a landing page
|
|
@@ -5236,7 +5246,7 @@ on its own.
|
|
|
5236
5246
|
|
|
5237
5247
|
| | Raw | Gzip | Brotli |
|
|
5238
5248
|
|---|---|---|---|
|
|
5239
|
-
| Lit and \`@fusion.dev/helix-core\` | 295,
|
|
5249
|
+
| Lit and \`@fusion.dev/helix-core\` | 295,976 | 95,937 | 82,276 |
|
|
5240
5250
|
|
|
5241
5251
|
## Whole packages
|
|
5242
5252
|
|
|
@@ -5247,12 +5257,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
5247
5257
|
|
|
5248
5258
|
| Package | Raw | Gzip | Brotli | |
|
|
5249
5259
|
|---|---|---|---|---|
|
|
5250
|
-
| \`@fusion.dev/helix-core\` | 295,
|
|
5251
|
-
| \`@fusion.dev/helix-headless\` | 1,699,
|
|
5260
|
+
| \`@fusion.dev/helix-core\` | 295,185 | 95,717 | 82,039 | The element base class, mixins, decorators, and floating positioning. |
|
|
5261
|
+
| \`@fusion.dev/helix-headless\` | 1,699,516 | 468,456 | 352,516 | Every headless family. The barrel entry includes all of them. |
|
|
5252
5262
|
| \`@fusion.dev/helix-icons\` | 77,621 | 24,510 | 20,384 | The whole glyph set. |
|
|
5253
|
-
| \`@fusion.dev/helix-theme\` |
|
|
5254
|
-
| \`fusion_helix_theme_bg.wasm\` | 412,026 | 152,
|
|
5255
|
-
| \`@fusion.dev/helix\` | 2,
|
|
5263
|
+
| \`@fusion.dev/helix-theme\` | 3,934 | 1,681 | 1,504 | The JavaScript that runs the derivation engine. Most sites run it at build time, and a theme switcher runs it in the browser. |
|
|
5264
|
+
| \`fusion_helix_theme_bg.wasm\` | 412,026 | 152,292 | 123,106 | The derivation engine itself, in WebAssembly. The entry above loads it when the engine runs. |
|
|
5265
|
+
| \`@fusion.dev/helix\` | 2,529,538 | 646,637 | 460,613 | Every styled family. |
|
|
5256
5266
|
| \`lit\` | 15,396 | 5,990 | 5,419 | Lit itself, listed so you can subtract it from every row above. |
|
|
5257
5267
|
|
|
5258
5268
|
## Stylesheets
|
|
@@ -5265,21 +5275,21 @@ shows the whole cost of using the base layer on its own.
|
|
|
5265
5275
|
|
|
5266
5276
|
| File | Raw | Gzip | Brotli | |
|
|
5267
5277
|
|---|---|---|---|---|
|
|
5268
|
-
| \`base.css\` |
|
|
5269
|
-
| \`elements.css\` |
|
|
5278
|
+
| \`base.css\` | 40,063 | 5,632 | 4,871 | The base layer. It styles markup Helix does not render, and it works with no JavaScript. |
|
|
5279
|
+
| \`elements.css\` | 25,548 | 3,544 | 3,075 | Hides each element until its definition loads. It is generated from the tags in \`@fusion.dev/helix\`. |
|
|
5270
5280
|
| \`helix.css\` | 207 | 149 | 118 | The other four stylesheets in one import, in the order they must load. |
|
|
5271
|
-
| \`primitives.css\` |
|
|
5272
|
-
| \`tokens.css\` |
|
|
5281
|
+
| \`primitives.css\` | 8,425 | 1,562 | 1,336 | The primitive layer. It is private, and it ships because \`tokens.css\` refers to it. |
|
|
5282
|
+
| \`tokens.css\` | 25,264 | 3,172 | 2,648 | The 218 semantic tokens. Every styled component needs them. |
|
|
5273
5283
|
|
|
5274
5284
|
## What the numbers say
|
|
5275
5285
|
|
|
5276
|
-
**Most of your first component is the shared runtime.** The median styled family is
|
|
5286
|
+
**Most of your first component is the shared runtime.** The median styled family is 23,033 bytes gzipped alone, and it adds 5,635 to a page that already has Helix. The shared runtime is 76 percent of the first component, and the component itself is 24 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.
|
|
5277
5287
|
|
|
5278
|
-
Across the 122 styled components, the smallest is \`code\` at 9,
|
|
5288
|
+
Across the 122 styled components, the smallest is \`code\` at 9,891 bytes gzipped alone, and the largest is \`data-table\` at 77,433. Every family together is 646,637.
|
|
5279
5289
|
|
|
5280
|
-
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 468,
|
|
5290
|
+
No family imports a barrel. The \`barrels\` rule in \`fusion x workspace\` enforces that. \`@fusion.dev/helix-headless\` marks every module in \`dist\` as having side effects, which is true of a file that calls \`customElements.define\`. A bundler can remove none of it. One \`import { HelixHeadlessButton } from '@fusion.dev/helix-headless'\` costs 468,456 bytes gzipped, whatever else the page imports. That is 20 times the median family above. All 122 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.
|
|
5281
5291
|
|
|
5282
|
-
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,
|
|
5292
|
+
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,090 bytes gzipped alone.
|
|
5283
5293
|
|
|
5284
5294
|
## Compared with other systems
|
|
5285
5295
|
|
|
@@ -5291,43 +5301,43 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
5291
5301
|
|
|
5292
5302
|
| Component | System | Raw | Gzip | Brotli |
|
|
5293
5303
|
|---|---|---|---|---|
|
|
5294
|
-
| \`button\` | **Helix** |
|
|
5304
|
+
| \`button\` | **Helix** | 51,030 | 16,394 | 14,782 |
|
|
5295
5305
|
| | Carbon | 133,019 | 20,696 | 17,673 |
|
|
5296
5306
|
| | Material Web | 47,039 | 13,980 | 12,488 |
|
|
5297
5307
|
| | Spectrum | 98,861 | 21,731 | 18,547 |
|
|
5298
5308
|
| | Web Awesome | 136,082 | 34,015 | 28,815 |
|
|
5299
|
-
| \`checkbox\` | **Helix** |
|
|
5309
|
+
| \`checkbox\` | **Helix** | 53,351 | 17,195 | 15,450 |
|
|
5300
5310
|
| | Carbon | 60,226 | 15,349 | 13,476 |
|
|
5301
5311
|
| | Material Web | 43,770 | 13,361 | 11,940 |
|
|
5302
5312
|
| | Spectrum | 60,006 | 14,720 | 12,834 |
|
|
5303
5313
|
| | Web Awesome | 115,313 | 28,720 | 24,391 |
|
|
5304
|
-
| \`dialog\` | **Helix** |
|
|
5314
|
+
| \`dialog\` | **Helix** | 49,001 | 16,607 | 14,965 |
|
|
5305
5315
|
| | Carbon | 510,751 | 66,753 | 39,054 |
|
|
5306
5316
|
| | Material Web | 34,234 | 11,327 | 10,171 |
|
|
5307
5317
|
| | Spectrum | 152,934 | 30,766 | 25,567 |
|
|
5308
5318
|
| | Web Awesome | 148,696 | 36,894 | 31,476 |
|
|
5309
|
-
| \`radio\` | **Helix** | 55,
|
|
5319
|
+
| \`radio\` | **Helix** | 55,902 | 17,740 | 15,918 |
|
|
5310
5320
|
| | Carbon | 62,982 | 16,599 | 14,519 |
|
|
5311
5321
|
| | Material Web | 41,029 | 13,048 | 11,659 |
|
|
5312
5322
|
| | Spectrum | 38,765 | 10,485 | 9,337 |
|
|
5313
5323
|
| | Web Awesome | 112,100 | 27,426 | 23,157 |
|
|
5314
|
-
| \`switch\` | **Helix** |
|
|
5324
|
+
| \`switch\` | **Helix** | 50,303 | 16,733 | 15,038 |
|
|
5315
5325
|
| | Carbon | 69,388 | 16,861 | 14,710 |
|
|
5316
5326
|
| | Material Web | 50,129 | 14,355 | 12,869 |
|
|
5317
5327
|
| | Spectrum | 62,390 | 14,852 | 13,259 |
|
|
5318
5328
|
| | Web Awesome | 45,922 | 15,043 | 13,489 |
|
|
5319
|
-
| \`tabs\` | **Helix** |
|
|
5329
|
+
| \`tabs\` | **Helix** | 62,387 | 19,678 | 17,707 |
|
|
5320
5330
|
| | Carbon | 578,657 | 72,708 | 43,044 |
|
|
5321
5331
|
| | Material Web | 38,875 | 12,619 | 11,290 |
|
|
5322
5332
|
| | Spectrum | 64,371 | 17,857 | 16,004 |
|
|
5323
5333
|
| | Web Awesome | 153,457 | 37,241 | 31,779 |
|
|
5324
|
-
| \`tooltip\` | **Helix** | 67,
|
|
5334
|
+
| \`tooltip\` | **Helix** | 67,875 | 23,746 | 21,328 |
|
|
5325
5335
|
| | Carbon | 189,319 | 29,833 | 22,169 |
|
|
5326
5336
|
| | Material Web | | not shipped | |
|
|
5327
5337
|
| | Spectrum | 136,084 | 39,731 | 34,997 |
|
|
5328
5338
|
| | Web Awesome | 70,482 | 23,540 | 21,032 |
|
|
5329
5339
|
|
|
5330
|
-
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 7,
|
|
5340
|
+
At least one system is smaller than Helix on \`button\`, \`checkbox\`, \`dialog\`, \`radio\`, \`switch\`, \`tabs\`, \`tooltip\`. The largest gap is radio against Spectrum, at 7,255 bytes gzipped. 14 of 27 peer measurements are smaller than the Helix row.
|
|
5331
5341
|
|
|
5332
5342
|
Helix's \`radio\` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
5333
5343
|
|
|
@@ -5401,120 +5411,120 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
5401
5411
|
|
|
5402
5412
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5403
5413
|
|---|---|---|---|---|---|---|
|
|
5404
|
-
| \`accordion\` | 36,788 | 13,361 | 12,020 | 5,369 | 1,
|
|
5405
|
-
| \`announcement\` | 41,
|
|
5406
|
-
| \`app-header\` | 37,460 | 13,637 | 12,256 | 6,103 | 1,
|
|
5407
|
-
| \`area-chart\` | 110,876 | 38,
|
|
5408
|
-
| \`avatar\` | 35,972 | 13,427 | 12,
|
|
5409
|
-
| \`badge\` | 32,204 | 12,
|
|
5410
|
-
| \`bar-chart\` | 118,895 | 41,035 | 36,
|
|
5411
|
-
| \`blockquote\` | 28,797 | 10,962 | 9,
|
|
5412
|
-
| \`breadcrumbs\` | 42,197 | 15,744 | 14,225 | 7,912 | 2,
|
|
5413
|
-
| \`button\` | 41,599 | 14,659 | 13,
|
|
5414
|
-
| \`button-group\` | 32,666 | 11,956 | 10,770 | 4,897 | 1,
|
|
5415
|
-
| \`callout\` | 40,054 | 15,113 | 13,
|
|
5416
|
-
| \`canvas\` | 179,
|
|
5417
|
-
| \`card\` | 28,502 | 10,629 | 9,573 | 2,074 |
|
|
5418
|
-
| \`carousel\` | 49,408 | 17,356 | 15,
|
|
5419
|
-
| \`chat\` | 141,862 | 46,119 | 40,
|
|
5420
|
-
| \`checkbox\` | 45,
|
|
5421
|
-
| \`checkbox-group\` |
|
|
5422
|
-
| \`code\` | 24,987 | 9,
|
|
5423
|
-
| \`code-block\` | 113,571 | 38,287 | 34,
|
|
5424
|
-
| \`code-editor\` | 101,
|
|
5425
|
-
| \`code-input\` | 65,
|
|
5426
|
-
| \`color-input\` | 149,
|
|
5427
|
-
| \`color-picker\` |
|
|
5428
|
-
| \`combobox\` | 150,
|
|
5429
|
-
| \`command\` | 127,
|
|
5430
|
-
| \`copy-button\` | 88,951 | 30,
|
|
5431
|
-
| \`data-table\` | 221,
|
|
5432
|
-
| \`date-input\` | 147,
|
|
5433
|
-
| \`date-picker\` | 67,
|
|
5434
|
-
| \`description-list\` | 27,583 | 10,321 | 9,292 | 1,554 |
|
|
5435
|
-
| \`device-screen\` | 122,587 | 38,605 | 34,
|
|
5436
|
-
| \`dialog\` | 43,110 | 15,
|
|
5437
|
-
| \`divider\` | 28,042 | 10,561 | 9,492 | 1,410 |
|
|
5438
|
-
| \`donut-chart\` | 104,235 | 35,
|
|
5439
|
-
| \`drawer\` | 47,598 | 16,648 | 14,
|
|
5440
|
-
| \`drilldown\` | 48,006 | 16,533 | 14,
|
|
5441
|
-
| \`editor\` | 178,365 | 54,257 | 47,
|
|
5442
|
-
| \`empty\` | 29,125 | 10,883 | 9,801 | 1,974 |
|
|
5443
|
-
| \`file-input\` | 63,
|
|
5444
|
-
| \`filter-input\` | 113,
|
|
5445
|
-
| \`find\` | 78,192 | 25,912 | 23,
|
|
5446
|
-
| \`format-date\` | 35,311 | 12,970 | 11,
|
|
5447
|
-
| \`graph\` | 146,422 | 46,082 | 40,
|
|
5448
|
-
| \`heatmap\` | 113,308 | 38,184 | 34,
|
|
5449
|
-
| \`icon\` | 108,395 | 36,072 | 30,
|
|
5450
|
-
| \`icon-button\` | 41,708 | 14,
|
|
5451
|
-
| \`image\` | 30,
|
|
5452
|
-
| \`input\` | 62,
|
|
5453
|
-
| \`kbd\` | 34,229 | 12,
|
|
5454
|
-
| \`legend\` | 44,093 | 15,
|
|
5455
|
-
| \`lightbox\` | 60,994 | 20,
|
|
5456
|
-
| \`line-chart\` | 113,879 | 39,
|
|
5457
|
-
| \`list\` | 67,
|
|
5458
|
-
| \`listbox\` | 94,
|
|
5459
|
-
| \`loader\` | 31,541 | 11,
|
|
5460
|
-
| \`log\` | 89,716 | 30,000 | 26,
|
|
5461
|
-
| \`map\` | 159,
|
|
5462
|
-
| \`markdown\` | 140,272 | 47,304 | 41,
|
|
5463
|
-
| \`megamenu\` | 65,596 | 23,
|
|
5464
|
-
| \`menu\` | 106,453 | 34,
|
|
5465
|
-
| \`meter\` | 38,
|
|
5466
|
-
| \`motion-toggle\` | 30,535 | 11,627 | 10,
|
|
5467
|
-
| \`navigation\` | 37,912 | 13,969 | 12,
|
|
5468
|
-
| \`notifications\` | 64,044 | 21,590 | 19,
|
|
5469
|
-
| \`number-input\` | 61,
|
|
5470
|
-
| \`object-inspector\` | 124,337 | 41,342 | 36,
|
|
5471
|
-
| \`option\` | 31,
|
|
5472
|
-
| \`outline\` | 41,449 | 14,
|
|
5473
|
-
| \`pagination\` | 154,
|
|
5474
|
-
| \`pin-input\` | 52,
|
|
5475
|
-
| \`popover\` | 69,330 | 24,448 | 21,878 | 6,480 | 1,
|
|
5476
|
-
| \`progress\` | 33,407 | 12,448 | 11,
|
|
5477
|
-
| \`qr-code\` | 47,683 | 18,
|
|
5478
|
-
| \`quote\` | 27,206 | 10,
|
|
5479
|
-
| \`radio\` | 47,
|
|
5480
|
-
| \`rating\` | 56,
|
|
5481
|
-
| \`scatter-chart\` | 110,294 | 37,
|
|
5482
|
-
| \`scroll-area\` | 35,923 | 12,
|
|
5483
|
-
| \`select\` |
|
|
5484
|
-
| \`shortcut-overlay\` | 54,311 | 19,106 | 17,
|
|
5485
|
-
| \`skeleton\` | 26,984 | 10,208 | 9,193 | 954 |
|
|
5486
|
-
| \`skip-link\` | 28,768 | 10,
|
|
5487
|
-
| \`slider\` | 59,
|
|
5488
|
-
| \`sparkline\` | 53,331 | 19,123 | 17,
|
|
5489
|
-
| \`spatial-bar-chart\` | 125,627 | 43,813 | 38,
|
|
5490
|
-
| \`spatial-heatmap\` | 128,676 | 43,
|
|
5491
|
-
| \`spatial-ribbon-chart\` | 116,031 | 40,
|
|
5492
|
-
| \`spatial-scatter-chart\` | 114,102 | 39,
|
|
5493
|
-
| \`spatial-surface-chart\` | 117,034 | 40,
|
|
5494
|
-
| \`spatial-treemap\` | 118,137 | 41,301 | 36,
|
|
5495
|
-
| \`speed-dial\` | 74,018 | 26,161 | 23,
|
|
5496
|
-
| \`splitter\` | 49,870 | 17,059 | 15,
|
|
5497
|
-
| \`stat\` | 30,366 | 11,365 | 10,271 | 2,291 |
|
|
5498
|
-
| \`steps\` | 60,474 | 20,856 | 18,
|
|
5499
|
-
| \`switch\` | 44,
|
|
5500
|
-
| \`table\` | 125,
|
|
5501
|
-
| \`tabs\` | 51,456 | 17,513 | 15,
|
|
5502
|
-
| \`tag\` | 47,412 | 17,109 | 15,
|
|
5503
|
-
| \`terminal\` | 141,582 | 44,590 | 39,
|
|
5504
|
-
| \`textarea\` |
|
|
5505
|
-
| \`time-input\` | 187,
|
|
5506
|
-
| \`time-picker\` | 117,
|
|
5507
|
-
| \`timeline\` | 36,581 | 13,679 | 12,
|
|
5508
|
-
| \`toast\` | 74,603 | 25,177 | 22,
|
|
5509
|
-
| \`toggle\` | 51,
|
|
5510
|
-
| \`toolbar\` | 37,383 | 13,551 | 12,
|
|
5511
|
-
| \`tooltip\` | 65,000 | 22,983 | 20,661 | 8,862 | 2,
|
|
5512
|
-
| \`tour\` | 90,755 | 30,739 | 27,
|
|
5513
|
-
| \`tree\` | 72,738 | 24,341 | 21,
|
|
5514
|
-
| \`trend\` | 35,034 | 13,356 | 12,086 | 3,577 | 1,
|
|
5515
|
-
| \`video\` | 152,045 | 46,721 | 41,
|
|
5516
|
-
| \`video-playlist\` | 137,298 | 43,792 | 38,
|
|
5517
|
-
| \`virtual-list\` | 72,396 | 23,976 | 21,
|
|
5414
|
+
| \`accordion\` | 36,788 | 13,361 | 12,020 | 5,369 | 1,500 | 1,268 |
|
|
5415
|
+
| \`announcement\` | 41,457 | 14,900 | 13,441 | 4,740 | 1,396 | 1,071 |
|
|
5416
|
+
| \`app-header\` | 37,460 | 13,637 | 12,256 | 6,103 | 1,854 | 1,444 |
|
|
5417
|
+
| \`area-chart\` | 110,876 | 38,447 | 34,332 | 14,781 | 4,513 | 3,608 |
|
|
5418
|
+
| \`avatar\` | 35,972 | 13,427 | 12,201 | 3,980 | 1,220 | 956 |
|
|
5419
|
+
| \`badge\` | 32,204 | 12,203 | 11,028 | 2,941 | 892 | 597 |
|
|
5420
|
+
| \`bar-chart\` | 118,895 | 41,035 | 36,573 | 22,275 | 6,940 | 5,773 |
|
|
5421
|
+
| \`blockquote\` | 28,797 | 10,962 | 9,858 | 2,400 | 867 | 659 |
|
|
5422
|
+
| \`breadcrumbs\` | 42,197 | 15,744 | 14,225 | 7,912 | 2,475 | 1,982 |
|
|
5423
|
+
| \`button\` | 41,599 | 14,659 | 13,252 | 5,695 | 1,671 | 1,281 |
|
|
5424
|
+
| \`button-group\` | 32,666 | 11,956 | 10,770 | 4,897 | 1,448 | 1,021 |
|
|
5425
|
+
| \`callout\` | 40,054 | 15,113 | 13,581 | 2,875 | 978 | 561 |
|
|
5426
|
+
| \`canvas\` | 179,748 | 56,211 | 49,040 | 86,218 | 25,126 | 20,782 |
|
|
5427
|
+
| \`card\` | 28,502 | 10,629 | 9,573 | 2,074 | 604 | 427 |
|
|
5428
|
+
| \`carousel\` | 49,408 | 17,356 | 15,663 | 15,477 | 4,228 | 3,212 |
|
|
5429
|
+
| \`chat\` | 141,862 | 46,119 | 40,754 | 44,186 | 12,178 | 9,824 |
|
|
5430
|
+
| \`checkbox\` | 45,880 | 15,551 | 13,986 | 3,154 | 968 | 531 |
|
|
5431
|
+
| \`checkbox-group\` | 53,063 | 17,409 | 15,636 | 8,351 | 2,348 | 1,637 |
|
|
5432
|
+
| \`code\` | 24,987 | 9,594 | 8,634 | 136 | 56 | 26 |
|
|
5433
|
+
| \`code-block\` | 113,571 | 38,287 | 34,058 | 40,487 | 11,876 | 9,671 |
|
|
5434
|
+
| \`code-editor\` | 101,908 | 31,761 | 28,181 | 37,299 | 9,458 | 7,537 |
|
|
5435
|
+
| \`code-input\` | 65,819 | 22,562 | 20,231 | 10,559 | 3,404 | 2,667 |
|
|
5436
|
+
| \`color-input\` | 149,663 | 47,505 | 41,673 | 56,692 | 14,677 | 11,731 |
|
|
5437
|
+
| \`color-picker\` | 111,024 | 35,190 | 31,228 | 48,828 | 13,094 | 10,515 |
|
|
5438
|
+
| \`combobox\` | 150,681 | 47,679 | 42,037 | 37,524 | 9,357 | 7,554 |
|
|
5439
|
+
| \`command\` | 127,865 | 40,054 | 35,177 | 38,275 | 9,850 | 7,958 |
|
|
5440
|
+
| \`copy-button\` | 88,951 | 30,220 | 26,967 | 19,839 | 5,288 | 4,277 |
|
|
5441
|
+
| \`data-table\` | 221,226 | 67,370 | 58,093 | 93,818 | 24,748 | 19,768 |
|
|
5442
|
+
| \`date-input\` | 147,341 | 46,050 | 40,733 | 38,735 | 9,429 | 7,512 |
|
|
5443
|
+
| \`date-picker\` | 67,521 | 22,828 | 20,640 | 20,821 | 5,655 | 4,443 |
|
|
5444
|
+
| \`description-list\` | 27,583 | 10,321 | 9,292 | 1,554 | 472 | 276 |
|
|
5445
|
+
| \`device-screen\` | 122,587 | 38,605 | 34,154 | 46,259 | 11,425 | 8,971 |
|
|
5446
|
+
| \`dialog\` | 43,110 | 15,224 | 13,683 | 6,075 | 1,764 | 1,350 |
|
|
5447
|
+
| \`divider\` | 28,042 | 10,561 | 9,492 | 1,410 | 470 | 260 |
|
|
5448
|
+
| \`donut-chart\` | 104,235 | 35,856 | 32,052 | 15,091 | 4,581 | 3,810 |
|
|
5449
|
+
| \`drawer\` | 47,598 | 16,648 | 14,967 | 7,778 | 2,247 | 1,726 |
|
|
5450
|
+
| \`drilldown\` | 48,006 | 16,533 | 14,855 | 10,059 | 2,751 | 2,044 |
|
|
5451
|
+
| \`editor\` | 178,365 | 54,257 | 47,093 | 83,366 | 20,555 | 16,494 |
|
|
5452
|
+
| \`empty\` | 29,125 | 10,883 | 9,801 | 1,974 | 617 | 573 |
|
|
5453
|
+
| \`file-input\` | 63,427 | 21,818 | 19,663 | 13,323 | 4,171 | 3,269 |
|
|
5454
|
+
| \`filter-input\` | 113,201 | 37,956 | 33,740 | 21,667 | 6,137 | 4,804 |
|
|
5455
|
+
| \`find\` | 78,192 | 25,912 | 23,118 | 21,809 | 5,725 | 4,648 |
|
|
5456
|
+
| \`format-date\` | 35,311 | 12,970 | 11,694 | 4,462 | 1,232 | 956 |
|
|
5457
|
+
| \`graph\` | 146,422 | 46,082 | 40,298 | 40,018 | 10,961 | 8,725 |
|
|
5458
|
+
| \`heatmap\` | 113,308 | 38,184 | 34,075 | 19,434 | 5,625 | 4,515 |
|
|
5459
|
+
| \`icon\` | 108,395 | 36,072 | 30,978 | 78,520 | 25,847 | 20,937 |
|
|
5460
|
+
| \`icon-button\` | 41,708 | 14,700 | 13,261 | 5,802 | 1,690 | 1,221 |
|
|
5461
|
+
| \`image\` | 30,568 | 11,189 | 10,097 | 3,918 | 1,148 | 885 |
|
|
5462
|
+
| \`input\` | 62,380 | 21,324 | 19,014 | 7,350 | 2,348 | 1,635 |
|
|
5463
|
+
| \`kbd\` | 34,229 | 12,745 | 11,457 | 3,926 | 1,223 | 797 |
|
|
5464
|
+
| \`legend\` | 44,093 | 15,635 | 14,129 | 2,764 | 880 | 700 |
|
|
5465
|
+
| \`lightbox\` | 60,994 | 20,491 | 18,414 | 16,839 | 4,590 | 3,477 |
|
|
5466
|
+
| \`line-chart\` | 113,879 | 39,280 | 35,063 | 17,183 | 5,116 | 4,210 |
|
|
5467
|
+
| \`list\` | 67,337 | 23,179 | 20,653 | 15,580 | 4,413 | 3,380 |
|
|
5468
|
+
| \`listbox\` | 94,196 | 31,117 | 27,549 | 16,516 | 4,661 | 3,574 |
|
|
5469
|
+
| \`loader\` | 31,541 | 11,771 | 10,632 | 2,875 | 935 | 643 |
|
|
5470
|
+
| \`log\` | 89,716 | 30,000 | 26,857 | 40,360 | 12,455 | 10,428 |
|
|
5471
|
+
| \`map\` | 159,902 | 47,425 | 40,946 | 63,297 | 15,403 | 11,765 |
|
|
5472
|
+
| \`markdown\` | 140,272 | 47,304 | 41,835 | 62,608 | 19,520 | 16,181 |
|
|
5473
|
+
| \`megamenu\` | 65,596 | 23,361 | 20,892 | 8,742 | 2,377 | 1,651 |
|
|
5474
|
+
| \`menu\` | 106,453 | 34,786 | 30,995 | 32,752 | 8,412 | 6,802 |
|
|
5475
|
+
| \`meter\` | 38,842 | 14,273 | 12,906 | 6,317 | 1,806 | 1,458 |
|
|
5476
|
+
| \`motion-toggle\` | 30,535 | 11,627 | 10,462 | 1,539 | 538 | 222 |
|
|
5477
|
+
| \`navigation\` | 37,912 | 13,969 | 12,528 | 3,497 | 1,143 | 792 |
|
|
5478
|
+
| \`notifications\` | 64,044 | 21,590 | 19,442 | 18,695 | 5,087 | 4,084 |
|
|
5479
|
+
| \`number-input\` | 61,693 | 20,615 | 18,576 | 13,492 | 3,618 | 2,620 |
|
|
5480
|
+
| \`object-inspector\` | 124,337 | 41,342 | 36,581 | 37,188 | 10,583 | 8,522 |
|
|
5481
|
+
| \`option\` | 31,108 | 11,303 | 10,187 | 4,449 | 1,159 | 769 |
|
|
5482
|
+
| \`outline\` | 41,449 | 14,805 | 13,355 | 10,620 | 3,123 | 2,394 |
|
|
5483
|
+
| \`pagination\` | 154,896 | 49,153 | 43,004 | 47,321 | 12,189 | 9,605 |
|
|
5484
|
+
| \`pin-input\` | 52,973 | 18,297 | 16,471 | 7,187 | 2,336 | 1,744 |
|
|
5485
|
+
| \`popover\` | 69,330 | 24,448 | 21,878 | 6,480 | 1,830 | 1,258 |
|
|
5486
|
+
| \`progress\` | 33,407 | 12,448 | 11,243 | 3,075 | 920 | 690 |
|
|
5487
|
+
| \`qr-code\` | 47,683 | 18,137 | 16,367 | 16,927 | 6,231 | 5,202 |
|
|
5488
|
+
| \`quote\` | 27,206 | 10,426 | 9,378 | 1,205 | 491 | 340 |
|
|
5489
|
+
| \`radio\` | 47,436 | 16,068 | 14,448 | 3,799 | 1,202 | 721 |
|
|
5490
|
+
| \`rating\` | 56,262 | 19,297 | 17,333 | 8,272 | 2,503 | 1,806 |
|
|
5491
|
+
| \`scatter-chart\` | 110,294 | 37,893 | 33,793 | 20,721 | 6,415 | 5,193 |
|
|
5492
|
+
| \`scroll-area\` | 35,923 | 12,851 | 11,556 | 9,027 | 2,665 | 2,044 |
|
|
5493
|
+
| \`select\` | 133,127 | 43,582 | 38,339 | 27,346 | 7,308 | 5,821 |
|
|
5494
|
+
| \`shortcut-overlay\` | 54,311 | 19,106 | 17,122 | 11,631 | 3,450 | 2,645 |
|
|
5495
|
+
| \`skeleton\` | 26,984 | 10,208 | 9,193 | 954 | 342 | 259 |
|
|
5496
|
+
| \`skip-link\` | 28,768 | 10,917 | 9,827 | 1,334 | 482 | 289 |
|
|
5497
|
+
| \`slider\` | 59,265 | 19,843 | 17,919 | 13,667 | 3,834 | 2,926 |
|
|
5498
|
+
| \`sparkline\` | 53,331 | 19,123 | 17,302 | 5,968 | 2,051 | 1,572 |
|
|
5499
|
+
| \`spatial-bar-chart\` | 125,627 | 43,813 | 38,931 | 28,914 | 9,736 | 8,062 |
|
|
5500
|
+
| \`spatial-heatmap\` | 128,676 | 43,336 | 38,620 | 32,104 | 9,616 | 7,778 |
|
|
5501
|
+
| \`spatial-ribbon-chart\` | 116,031 | 40,303 | 35,889 | 21,327 | 7,069 | 5,791 |
|
|
5502
|
+
| \`spatial-scatter-chart\` | 114,102 | 39,465 | 35,179 | 19,459 | 6,272 | 5,037 |
|
|
5503
|
+
| \`spatial-surface-chart\` | 117,034 | 40,688 | 36,245 | 22,328 | 7,450 | 6,125 |
|
|
5504
|
+
| \`spatial-treemap\` | 118,137 | 41,301 | 36,749 | 21,742 | 7,332 | 5,976 |
|
|
5505
|
+
| \`speed-dial\` | 74,018 | 26,161 | 23,398 | 11,107 | 2,920 | 2,205 |
|
|
5506
|
+
| \`splitter\` | 49,870 | 17,059 | 15,405 | 15,021 | 3,904 | 3,156 |
|
|
5507
|
+
| \`stat\` | 30,366 | 11,365 | 10,271 | 2,291 | 723 | 417 |
|
|
5508
|
+
| \`steps\` | 60,474 | 20,856 | 18,679 | 14,540 | 4,057 | 3,081 |
|
|
5509
|
+
| \`switch\` | 44,845 | 15,379 | 13,815 | 1,839 | 647 | 352 |
|
|
5510
|
+
| \`table\` | 125,871 | 39,017 | 34,309 | 45,249 | 12,336 | 10,011 |
|
|
5511
|
+
| \`tabs\` | 51,456 | 17,513 | 15,733 | 10,607 | 2,805 | 2,075 |
|
|
5512
|
+
| \`tag\` | 47,412 | 17,109 | 15,426 | 8,490 | 2,486 | 1,887 |
|
|
5513
|
+
| \`terminal\` | 141,582 | 44,590 | 39,304 | 54,204 | 13,424 | 10,842 |
|
|
5514
|
+
| \`textarea\` | 60,120 | 20,534 | 18,465 | 5,642 | 1,649 | 1,148 |
|
|
5515
|
+
| \`time-input\` | 187,214 | 58,094 | 50,516 | 50,348 | 12,609 | 10,049 |
|
|
5516
|
+
| \`time-picker\` | 117,251 | 37,109 | 32,751 | 35,292 | 9,374 | 7,440 |
|
|
5517
|
+
| \`timeline\` | 36,581 | 13,679 | 12,364 | 4,128 | 1,187 | 816 |
|
|
5518
|
+
| \`toast\` | 74,603 | 25,177 | 22,489 | 20,050 | 5,576 | 4,441 |
|
|
5519
|
+
| \`toggle\` | 51,200 | 16,980 | 15,343 | 6,038 | 1,776 | 1,401 |
|
|
5520
|
+
| \`toolbar\` | 37,383 | 13,551 | 12,197 | 1,406 | 491 | 426 |
|
|
5521
|
+
| \`tooltip\` | 65,000 | 22,983 | 20,661 | 8,862 | 2,422 | 1,917 |
|
|
5522
|
+
| \`tour\` | 90,755 | 30,739 | 27,492 | 21,104 | 5,653 | 4,432 |
|
|
5523
|
+
| \`tree\` | 72,738 | 24,341 | 21,768 | 17,539 | 4,871 | 3,911 |
|
|
5524
|
+
| \`trend\` | 35,034 | 13,356 | 12,086 | 3,577 | 1,128 | 832 |
|
|
5525
|
+
| \`video\` | 152,045 | 46,721 | 41,237 | 69,404 | 17,300 | 13,981 |
|
|
5526
|
+
| \`video-playlist\` | 137,298 | 43,792 | 38,753 | 45,878 | 11,730 | 9,454 |
|
|
5527
|
+
| \`virtual-list\` | 72,396 | 23,976 | 21,628 | 25,472 | 7,518 | 6,222 |
|
|
5518
5528
|
|
|
5519
5529
|
### Styled tier
|
|
5520
5530
|
|
|
@@ -5522,128 +5532,128 @@ The headless tier plus presentation. \`bun add @fusion.dev/helix\` installs this
|
|
|
5522
5532
|
|
|
5523
5533
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
5524
5534
|
|---|---|---|---|---|---|---|
|
|
5525
|
-
| \`accordion\` | 40,
|
|
5526
|
-
| \`announcement\` | 46,
|
|
5527
|
-
| \`app-header\` |
|
|
5528
|
-
| \`area-chart\` |
|
|
5529
|
-
| \`aura\` | 64,
|
|
5530
|
-
| \`avatar\` | 38,970 | 14,169 | 12,846 | 6,964 | 1,
|
|
5531
|
-
| \`badge\` | 37,710 | 13,446 | 12,
|
|
5532
|
-
| \`bar-chart\` | 135,
|
|
5533
|
-
| \`blockquote\` | 31,018 | 11,503 | 10,350 | 4,608 | 1,
|
|
5534
|
-
| \`breadcrumbs\` | 49,
|
|
5535
|
-
| \`button\` |
|
|
5536
|
-
| \`button-group\` |
|
|
5537
|
-
| \`callout\` |
|
|
5538
|
-
| \`canvas\` |
|
|
5539
|
-
| \`card\` | 32,
|
|
5540
|
-
| \`carousel\` |
|
|
5541
|
-
| \`chat\` |
|
|
5542
|
-
| \`checkbox\` |
|
|
5543
|
-
| \`checkbox-group\` |
|
|
5544
|
-
| \`code\` | 25,
|
|
5545
|
-
| \`code-block\` |
|
|
5546
|
-
| \`code-editor\` |
|
|
5547
|
-
| \`code-input\` |
|
|
5548
|
-
| \`color-input\` |
|
|
5549
|
-
| \`color-picker\` |
|
|
5550
|
-
| \`combobox\` |
|
|
5551
|
-
| \`command\` |
|
|
5552
|
-
| \`copy-button\` |
|
|
5553
|
-
| \`data-table\` |
|
|
5554
|
-
| \`date-input\` |
|
|
5555
|
-
| \`date-picker\` |
|
|
5556
|
-
| \`description-list\` | 30,533 | 11,064 | 9,
|
|
5557
|
-
| \`device-screen\` |
|
|
5558
|
-
| \`dialog\` |
|
|
5559
|
-
| \`divider\` | 30,340 | 11,
|
|
5560
|
-
| \`donut-chart\` |
|
|
5561
|
-
| \`drawer\` | 53,
|
|
5562
|
-
| \`drilldown\` | 53,
|
|
5563
|
-
| \`editor\` |
|
|
5564
|
-
| \`empty\` | 30,432 | 11,353 | 10,212 | 3,263 | 1,
|
|
5565
|
-
| \`file-input\` |
|
|
5566
|
-
| \`filter-input\` |
|
|
5567
|
-
| \`find\` |
|
|
5568
|
-
| \`flex\` | 30,430 | 10,756 | 9,
|
|
5569
|
-
| \`format-date\` | 35,565 | 13,094 | 11,
|
|
5570
|
-
| \`graph\` |
|
|
5571
|
-
| \`grid\` | 31,880 | 11,
|
|
5572
|
-
| \`heatmap\` |
|
|
5573
|
-
| \`icon\` | 110,428 | 36,672 | 31,
|
|
5574
|
-
| \`icon-button\` |
|
|
5575
|
-
| \`image\` |
|
|
5576
|
-
| \`input\` |
|
|
5577
|
-
| \`kbd\` | 36,435 | 13,329 | 11,949 | 6,116 | 1,
|
|
5578
|
-
| \`legend\` | 49,
|
|
5579
|
-
| \`lightbox\` | 67,
|
|
5580
|
-
| \`line-chart\` |
|
|
5581
|
-
| \`list\` | 73,
|
|
5582
|
-
| \`listbox\` | 110,
|
|
5583
|
-
| \`loader\` | 34,424 | 12,530 | 11,320 | 5,740 | 1,
|
|
5584
|
-
| \`log\` |
|
|
5585
|
-
| \`map\` |
|
|
5586
|
-
| \`markdown\` |
|
|
5587
|
-
| \`megamenu\` | 70,
|
|
5588
|
-
| \`menu\` | 118,
|
|
5589
|
-
| \`meter\` | 47,
|
|
5590
|
-
| \`motion-toggle\` | 32,
|
|
5591
|
-
| \`navigation\` | 41,636 | 14,818 | 13,
|
|
5592
|
-
| \`notifications\` |
|
|
5593
|
-
| \`number-input\` |
|
|
5594
|
-
| \`object-inspector\` |
|
|
5595
|
-
| \`option\` | 34,
|
|
5596
|
-
| \`orb\` | 40,942 | 15,257 | 13,
|
|
5597
|
-
| \`outline\` | 47,
|
|
5598
|
-
| \`pagination\` |
|
|
5599
|
-
| \`pin-input\` | 56,
|
|
5600
|
-
| \`popover\` | 73,
|
|
5601
|
-
| \`progress\` | 40,587 | 14,105 | 12,770 | 10,242 | 2,
|
|
5602
|
-
| \`qr-code\` | 49,283 | 18,619 | 16,
|
|
5603
|
-
| \`quote\` | 27,762 | 10,613 | 9,
|
|
5604
|
-
| \`radio\` | 55,
|
|
5605
|
-
| \`rating\` | 60,
|
|
5606
|
-
| \`sandbox\` |
|
|
5607
|
-
| \`scatter-chart\` | 121,
|
|
5608
|
-
| \`scroll-area\` | 43,
|
|
5609
|
-
| \`select\` |
|
|
5610
|
-
| \`shortcut-overlay\` | 62,
|
|
5611
|
-
| \`skeleton\` | 30,931 | 11,286 | 10,172 | 4,716 | 1,
|
|
5612
|
-
| \`skip-link\` | 30,338 | 11,428 | 10,251 | 2,887 |
|
|
5613
|
-
| \`slider\` |
|
|
5614
|
-
| \`sparkline\` | 58,
|
|
5615
|
-
| \`spatial-bar-chart\` |
|
|
5616
|
-
| \`spatial-heatmap\` | 139,
|
|
5617
|
-
| \`spatial-ribbon-chart\` |
|
|
5618
|
-
| \`spatial-scatter-chart\` |
|
|
5619
|
-
| \`spatial-surface-chart\` | 126,
|
|
5620
|
-
| \`spatial-treemap\` |
|
|
5621
|
-
| \`speed-dial\` | 81,
|
|
5622
|
-
| \`splitter\` | 56,
|
|
5623
|
-
| \`stat\` | 33,
|
|
5624
|
-
| \`steps\` |
|
|
5625
|
-
| \`strands\` | 68,
|
|
5626
|
-
| \`switch\` |
|
|
5627
|
-
| \`table\` |
|
|
5628
|
-
| \`tabs\` |
|
|
5629
|
-
| \`tag\` |
|
|
5630
|
-
| \`terminal\` |
|
|
5631
|
-
| \`text\` | 33,
|
|
5632
|
-
| \`textarea\` |
|
|
5633
|
-
| \`time-input\` |
|
|
5634
|
-
| \`time-picker\` |
|
|
5635
|
-
| \`timeline\` | 43,
|
|
5636
|
-
| \`toast\` |
|
|
5637
|
-
| \`toggle\` |
|
|
5638
|
-
| \`toolbar\` |
|
|
5639
|
-
| \`tooltip\` | 67,
|
|
5640
|
-
| \`tour\` |
|
|
5641
|
-
| \`tree\` |
|
|
5642
|
-
| \`trend\` | 36,950 | 13,914 | 12,545 | 5,472 | 1,
|
|
5643
|
-
| \`video\` |
|
|
5644
|
-
| \`video-playlist\` | 154,
|
|
5645
|
-
| \`virtual-list\` | 74,
|
|
5646
|
-
| \`voice-level\` | 38,
|
|
5535
|
+
| \`accordion\` | 40,600 | 14,334 | 12,888 | 9,171 | 2,497 | 1,910 |
|
|
5536
|
+
| \`announcement\` | 46,675 | 16,077 | 14,492 | 9,940 | 2,595 | 2,014 |
|
|
5537
|
+
| \`app-header\` | 43,126 | 14,954 | 13,451 | 11,751 | 3,151 | 2,432 |
|
|
5538
|
+
| \`area-chart\` | 121,093 | 40,629 | 36,210 | 24,994 | 6,721 | 5,472 |
|
|
5539
|
+
| \`aura\` | 64,208 | 21,759 | 19,457 | 32,028 | 9,693 | 8,035 |
|
|
5540
|
+
| \`avatar\` | 38,970 | 14,169 | 12,846 | 6,964 | 1,976 | 1,565 |
|
|
5541
|
+
| \`badge\` | 37,710 | 13,446 | 12,155 | 8,435 | 2,127 | 1,645 |
|
|
5542
|
+
| \`bar-chart\` | 135,950 | 44,333 | 39,456 | 39,312 | 10,339 | 8,515 |
|
|
5543
|
+
| \`blockquote\` | 31,018 | 11,503 | 10,350 | 4,608 | 1,428 | 1,077 |
|
|
5544
|
+
| \`breadcrumbs\` | 49,161 | 16,991 | 15,346 | 14,866 | 3,803 | 3,181 |
|
|
5545
|
+
| \`button\` | 51,030 | 16,394 | 14,782 | 15,106 | 3,437 | 2,606 |
|
|
5546
|
+
| \`button-group\` | 37,634 | 12,817 | 11,530 | 9,849 | 2,312 | 1,780 |
|
|
5547
|
+
| \`callout\` | 44,389 | 16,178 | 14,565 | 7,192 | 2,043 | 1,564 |
|
|
5548
|
+
| \`canvas\` | 215,795 | 61,865 | 54,178 | 122,251 | 30,991 | 25,725 |
|
|
5549
|
+
| \`card\` | 32,549 | 11,648 | 10,478 | 6,106 | 1,627 | 1,316 |
|
|
5550
|
+
| \`carousel\` | 60,368 | 19,217 | 17,432 | 26,419 | 6,153 | 4,977 |
|
|
5551
|
+
| \`chat\` | 181,657 | 54,542 | 48,170 | 81,296 | 19,801 | 16,268 |
|
|
5552
|
+
| \`checkbox\` | 53,351 | 17,195 | 15,450 | 10,607 | 2,652 | 1,970 |
|
|
5553
|
+
| \`checkbox-group\` | 61,265 | 19,201 | 17,201 | 16,544 | 4,143 | 3,163 |
|
|
5554
|
+
| \`code\` | 25,799 | 9,891 | 8,913 | 929 | 370 | 265 |
|
|
5555
|
+
| \`code-block\` | 143,335 | 42,639 | 37,815 | 70,227 | 16,338 | 13,361 |
|
|
5556
|
+
| \`code-editor\` | 138,604 | 36,527 | 32,373 | 73,989 | 14,489 | 11,702 |
|
|
5557
|
+
| \`code-input\` | 81,581 | 27,048 | 24,259 | 23,193 | 6,957 | 5,727 |
|
|
5558
|
+
| \`color-input\` | 198,405 | 54,552 | 47,858 | 105,421 | 21,620 | 17,778 |
|
|
5559
|
+
| \`color-picker\` | 153,625 | 41,385 | 36,641 | 91,429 | 19,362 | 15,878 |
|
|
5560
|
+
| \`combobox\` | 178,926 | 54,255 | 47,765 | 62,619 | 15,047 | 12,240 |
|
|
5561
|
+
| \`command\` | 155,896 | 46,983 | 41,226 | 63,008 | 15,878 | 13,078 |
|
|
5562
|
+
| \`copy-button\` | 106,147 | 32,910 | 29,359 | 37,011 | 8,097 | 6,485 |
|
|
5563
|
+
| \`data-table\` | 271,191 | 77,433 | 66,560 | 140,748 | 34,007 | 27,400 |
|
|
5564
|
+
| \`date-input\` | 170,564 | 50,063 | 44,450 | 61,929 | 13,503 | 11,101 |
|
|
5565
|
+
| \`date-picker\` | 76,199 | 24,403 | 22,029 | 29,479 | 7,242 | 5,836 |
|
|
5566
|
+
| \`description-list\` | 30,533 | 11,064 | 9,991 | 4,493 | 1,242 | 949 |
|
|
5567
|
+
| \`device-screen\` | 145,112 | 42,411 | 37,492 | 68,767 | 15,273 | 12,202 |
|
|
5568
|
+
| \`dialog\` | 49,001 | 16,607 | 14,965 | 11,944 | 3,173 | 2,520 |
|
|
5569
|
+
| \`divider\` | 30,340 | 11,172 | 10,047 | 3,691 | 1,120 | 872 |
|
|
5570
|
+
| \`donut-chart\` | 116,228 | 38,270 | 34,223 | 27,077 | 7,076 | 5,772 |
|
|
5571
|
+
| \`drawer\` | 53,803 | 18,099 | 16,284 | 13,961 | 3,737 | 3,079 |
|
|
5572
|
+
| \`drilldown\` | 53,845 | 17,855 | 16,023 | 15,887 | 4,054 | 3,169 |
|
|
5573
|
+
| \`editor\` | 228,892 | 61,095 | 53,129 | 133,875 | 27,574 | 22,529 |
|
|
5574
|
+
| \`empty\` | 30,432 | 11,353 | 10,212 | 3,263 | 1,087 | 749 |
|
|
5575
|
+
| \`file-input\` | 75,855 | 24,371 | 21,965 | 25,731 | 6,707 | 5,425 |
|
|
5576
|
+
| \`filter-input\` | 136,421 | 43,728 | 38,855 | 41,747 | 11,105 | 9,139 |
|
|
5577
|
+
| \`find\` | 107,805 | 29,817 | 26,511 | 51,429 | 9,819 | 7,898 |
|
|
5578
|
+
| \`flex\` | 30,430 | 10,756 | 9,707 | 4,761 | 1,028 | 764 |
|
|
5579
|
+
| \`format-date\` | 35,565 | 13,094 | 11,839 | 4,698 | 1,352 | 1,044 |
|
|
5580
|
+
| \`graph\` | 178,021 | 50,865 | 44,428 | 71,596 | 15,869 | 12,803 |
|
|
5581
|
+
| \`grid\` | 31,880 | 11,439 | 10,342 | 5,650 | 1,438 | 1,267 |
|
|
5582
|
+
| \`heatmap\` | 122,989 | 40,321 | 35,919 | 29,095 | 7,750 | 6,305 |
|
|
5583
|
+
| \`icon\` | 110,428 | 36,672 | 31,490 | 80,371 | 26,383 | 21,306 |
|
|
5584
|
+
| \`icon-button\` | 54,438 | 16,620 | 14,942 | 18,516 | 3,642 | 2,912 |
|
|
5585
|
+
| \`image\` | 32,388 | 11,869 | 10,678 | 5,714 | 1,809 | 1,556 |
|
|
5586
|
+
| \`input\` | 78,473 | 25,926 | 23,129 | 20,299 | 5,974 | 4,744 |
|
|
5587
|
+
| \`kbd\` | 36,435 | 13,329 | 11,949 | 6,116 | 1,815 | 1,404 |
|
|
5588
|
+
| \`legend\` | 49,997 | 16,998 | 15,281 | 8,529 | 2,243 | 1,703 |
|
|
5589
|
+
| \`lightbox\` | 67,329 | 21,838 | 19,602 | 23,164 | 5,917 | 4,611 |
|
|
5590
|
+
| \`line-chart\` | 127,265 | 42,007 | 37,486 | 30,553 | 7,917 | 6,582 |
|
|
5591
|
+
| \`list\` | 73,821 | 24,719 | 22,074 | 22,050 | 5,973 | 4,818 |
|
|
5592
|
+
| \`listbox\` | 110,742 | 35,801 | 31,681 | 29,770 | 8,381 | 6,738 |
|
|
5593
|
+
| \`loader\` | 34,424 | 12,530 | 11,320 | 5,740 | 1,693 | 1,405 |
|
|
5594
|
+
| \`log\` | 107,047 | 33,190 | 29,784 | 57,694 | 15,780 | 13,216 |
|
|
5595
|
+
| \`map\` | 208,581 | 54,758 | 47,294 | 111,964 | 22,649 | 18,240 |
|
|
5596
|
+
| \`markdown\` | 174,602 | 52,374 | 46,355 | 96,924 | 24,684 | 20,620 |
|
|
5597
|
+
| \`megamenu\` | 70,840 | 24,557 | 22,009 | 13,968 | 3,578 | 2,820 |
|
|
5598
|
+
| \`menu\` | 118,652 | 37,203 | 33,165 | 44,935 | 10,897 | 8,895 |
|
|
5599
|
+
| \`meter\` | 47,448 | 16,021 | 14,486 | 14,914 | 3,596 | 2,970 |
|
|
5600
|
+
| \`motion-toggle\` | 32,193 | 12,119 | 10,871 | 3,179 | 1,034 | 783 |
|
|
5601
|
+
| \`navigation\` | 41,636 | 14,818 | 13,266 | 7,206 | 1,970 | 1,544 |
|
|
5602
|
+
| \`notifications\` | 78,786 | 24,298 | 21,861 | 33,423 | 7,860 | 6,392 |
|
|
5603
|
+
| \`number-input\` | 67,521 | 21,947 | 19,701 | 19,310 | 4,939 | 3,739 |
|
|
5604
|
+
| \`object-inspector\` | 146,083 | 44,742 | 39,547 | 58,906 | 14,058 | 11,411 |
|
|
5605
|
+
| \`option\` | 34,685 | 12,348 | 11,143 | 8,019 | 2,208 | 1,694 |
|
|
5606
|
+
| \`orb\` | 40,942 | 15,257 | 13,793 | 9,996 | 3,673 | 3,075 |
|
|
5607
|
+
| \`outline\` | 47,977 | 16,188 | 14,615 | 17,130 | 4,487 | 3,617 |
|
|
5608
|
+
| \`pagination\` | 186,601 | 56,219 | 49,160 | 75,892 | 18,444 | 14,888 |
|
|
5609
|
+
| \`pin-input\` | 56,548 | 19,258 | 17,335 | 10,743 | 3,309 | 2,525 |
|
|
5610
|
+
| \`popover\` | 73,176 | 25,353 | 22,698 | 10,308 | 2,725 | 2,039 |
|
|
5611
|
+
| \`progress\` | 40,587 | 14,105 | 12,770 | 10,242 | 2,580 | 2,191 |
|
|
5612
|
+
| \`qr-code\` | 49,283 | 18,619 | 16,827 | 18,509 | 6,707 | 5,582 |
|
|
5613
|
+
| \`quote\` | 27,762 | 10,613 | 9,534 | 1,744 | 683 | 529 |
|
|
5614
|
+
| \`radio\` | 55,902 | 17,740 | 15,918 | 12,259 | 2,875 | 2,192 |
|
|
5615
|
+
| \`rating\` | 60,614 | 20,592 | 18,531 | 12,608 | 3,786 | 2,884 |
|
|
5616
|
+
| \`sandbox\` | 216,655 | 62,180 | 53,446 | 153,172 | 40,132 | 32,562 |
|
|
5617
|
+
| \`scatter-chart\` | 121,685 | 40,323 | 35,962 | 32,096 | 8,931 | 7,310 |
|
|
5618
|
+
| \`scroll-area\` | 43,914 | 14,246 | 12,843 | 17,001 | 4,127 | 3,298 |
|
|
5619
|
+
| \`select\` | 154,991 | 49,124 | 43,184 | 45,913 | 11,930 | 9,640 |
|
|
5620
|
+
| \`shortcut-overlay\` | 62,236 | 20,843 | 18,755 | 19,541 | 5,202 | 4,242 |
|
|
5621
|
+
| \`skeleton\` | 30,931 | 11,286 | 10,172 | 4,716 | 1,374 | 1,132 |
|
|
5622
|
+
| \`skip-link\` | 30,338 | 11,428 | 10,251 | 2,887 | 998 | 719 |
|
|
5623
|
+
| \`slider\` | 75,152 | 22,320 | 20,144 | 29,529 | 6,410 | 5,172 |
|
|
5624
|
+
| \`sparkline\` | 58,829 | 20,447 | 18,463 | 11,447 | 3,392 | 2,800 |
|
|
5625
|
+
| \`spatial-bar-chart\` | 138,709 | 46,486 | 41,319 | 41,972 | 12,435 | 10,378 |
|
|
5626
|
+
| \`spatial-heatmap\` | 139,774 | 45,715 | 40,658 | 43,190 | 12,067 | 10,057 |
|
|
5627
|
+
| \`spatial-ribbon-chart\` | 127,017 | 42,634 | 37,941 | 32,302 | 9,444 | 7,825 |
|
|
5628
|
+
| \`spatial-scatter-chart\` | 125,146 | 41,751 | 37,143 | 30,483 | 8,579 | 6,990 |
|
|
5629
|
+
| \`spatial-surface-chart\` | 126,901 | 42,847 | 38,247 | 32,177 | 9,627 | 8,049 |
|
|
5630
|
+
| \`spatial-treemap\` | 129,227 | 43,665 | 38,859 | 32,816 | 9,730 | 8,095 |
|
|
5631
|
+
| \`speed-dial\` | 81,227 | 27,567 | 24,682 | 18,300 | 4,375 | 3,532 |
|
|
5632
|
+
| \`splitter\` | 56,486 | 18,178 | 16,437 | 21,625 | 5,047 | 3,987 |
|
|
5633
|
+
| \`stat\` | 33,307 | 12,096 | 10,939 | 5,221 | 1,504 | 1,090 |
|
|
5634
|
+
| \`steps\` | 77,940 | 24,019 | 21,481 | 31,995 | 7,276 | 5,946 |
|
|
5635
|
+
| \`strands\` | 68,951 | 25,199 | 22,450 | 39,059 | 13,862 | 12,041 |
|
|
5636
|
+
| \`switch\` | 50,303 | 16,733 | 15,038 | 7,279 | 2,021 | 1,730 |
|
|
5637
|
+
| \`table\` | 145,996 | 42,519 | 37,439 | 65,370 | 15,966 | 13,105 |
|
|
5638
|
+
| \`tabs\` | 62,387 | 19,678 | 17,707 | 21,535 | 5,016 | 4,027 |
|
|
5639
|
+
| \`tag\` | 52,308 | 18,329 | 16,541 | 13,374 | 3,681 | 2,789 |
|
|
5640
|
+
| \`terminal\` | 181,074 | 49,926 | 43,999 | 93,676 | 18,901 | 15,365 |
|
|
5641
|
+
| \`text\` | 33,428 | 11,521 | 10,321 | 7,202 | 1,486 | 1,158 |
|
|
5642
|
+
| \`textarea\` | 76,541 | 25,139 | 22,603 | 18,934 | 5,352 | 4,426 |
|
|
5643
|
+
| \`time-input\` | 224,986 | 66,011 | 57,400 | 85,076 | 19,677 | 16,129 |
|
|
5644
|
+
| \`time-picker\` | 141,895 | 43,036 | 37,915 | 56,909 | 14,479 | 11,827 |
|
|
5645
|
+
| \`timeline\` | 43,501 | 15,167 | 13,674 | 11,045 | 2,685 | 2,190 |
|
|
5646
|
+
| \`toast\` | 92,525 | 28,483 | 25,418 | 37,969 | 8,918 | 7,337 |
|
|
5647
|
+
| \`toggle\` | 56,561 | 18,350 | 16,546 | 11,389 | 3,145 | 2,471 |
|
|
5648
|
+
| \`toolbar\` | 41,311 | 14,252 | 12,846 | 5,317 | 1,210 | 915 |
|
|
5649
|
+
| \`tooltip\` | 67,875 | 23,746 | 21,328 | 11,719 | 3,179 | 2,556 |
|
|
5650
|
+
| \`tour\` | 103,763 | 33,065 | 29,540 | 34,100 | 8,031 | 6,513 |
|
|
5651
|
+
| \`tree\` | 82,083 | 26,421 | 23,571 | 26,861 | 6,982 | 5,746 |
|
|
5652
|
+
| \`trend\` | 36,950 | 13,914 | 12,545 | 5,472 | 1,650 | 1,247 |
|
|
5653
|
+
| \`video\` | 174,654 | 50,781 | 44,844 | 91,996 | 21,206 | 17,558 |
|
|
5654
|
+
| \`video-playlist\` | 154,474 | 47,022 | 41,630 | 63,049 | 15,002 | 12,274 |
|
|
5655
|
+
| \`virtual-list\` | 74,438 | 24,495 | 22,117 | 27,499 | 8,047 | 6,569 |
|
|
5656
|
+
| \`voice-level\` | 38,397 | 14,073 | 12,743 | 7,527 | 2,468 | 2,057 |
|
|
5647
5657
|
|
|
5648
5658
|
## What an install adds to \`node_modules\`
|
|
5649
5659
|
|
|
@@ -5656,12 +5666,12 @@ without its whitespace, and the sizes count each one that way.
|
|
|
5656
5666
|
|
|
5657
5667
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
5658
5668
|
|---|---|---|---|---|
|
|
5659
|
-
| \`@fusion.dev/helix-core\` | 2,
|
|
5660
|
-
| \`@fusion.dev/helix-headless\` | 23,
|
|
5669
|
+
| \`@fusion.dev/helix-core\` | 2,241,154 | 493 | 840,404 | \`@floating-ui/dom\`, \`@fusion.dev/helix-icons\`, \`tslib\` |
|
|
5670
|
+
| \`@fusion.dev/helix-headless\` | 23,422,463 | 1,082 | 2,941,851 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-icons\`, \`tslib\`, \`uqr\` |
|
|
5661
5671
|
| \`@fusion.dev/helix-icons\` | 202,243 | 22 | 63,839 | \`svgo\` |
|
|
5662
|
-
| \`@fusion.dev/helix-styles\` |
|
|
5663
|
-
| \`@fusion.dev/helix-theme\` | 453,
|
|
5664
|
-
| \`@fusion.dev/helix\` | 23,
|
|
5672
|
+
| \`@fusion.dev/helix-styles\` | 141,390 | 6 | 0 | none |
|
|
5673
|
+
| \`@fusion.dev/helix-theme\` | 453,016 | 8 | 6,257 | none |
|
|
5674
|
+
| \`@fusion.dev/helix\` | 23,614,639 | 1,159 | 647,957 | \`@fusion.dev/helix-core\`, \`@fusion.dev/helix-headless\`, \`@fusion.dev/helix-styles\`, \`tslib\` |
|
|
5665
5675
|
|
|
5666
5676
|
## Not measured yet
|
|
5667
5677
|
|
|
@@ -7575,7 +7585,7 @@ This makes every card, dialog, input, and button squarer at once, because \`sm\`
|
|
|
7575
7585
|
See [Deriving a theme](./theming).
|
|
7576
7586
|
|
|
7577
7587
|
Setting \`--helix-radii-md\` changes only what uses \`md\`. Buttons, inputs, and
|
|
7578
|
-
dialogs use \`sm\`, and cards use \`
|
|
7588
|
+
dialogs use \`sm\`, and cards use \`md\`, so none of them change. Each step is
|
|
7579
7589
|
computed from the seed on its own, so overriding one step changes only that
|
|
7580
7590
|
step. To change the rounding everywhere, set the seed.
|
|
7581
7591
|
|
|
@@ -7592,9 +7602,8 @@ step. To change the rounding everywhere, set the seed.
|
|
|
7592
7602
|
They all have the same corner, whatever their size. You compare a radius with
|
|
7593
7603
|
the corners next to it, so the size of the panel does not matter.
|
|
7594
7604
|
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
does not change them.
|
|
7605
|
+
An avatar and a radio are circles by design, so they read \`--helix-radii-full\`.
|
|
7606
|
+
A theme that squares off everything else does not change them.
|
|
7598
7607
|
|
|
7599
7608
|
## Border widths
|
|
7600
7609
|
|
|
@@ -7662,8 +7671,7 @@ Size does three jobs:
|
|
|
7662
7671
|
- Emphasis shows which control matters most. The \`emphasis\` axis sets it. A
|
|
7663
7672
|
filled primary button marks the important action much more clearly than eight
|
|
7664
7673
|
more pixels of height.
|
|
7665
|
-
- Fit depends on the region. A toolbar is tight
|
|
7666
|
-
row is tighter still. The region sets the fit for every control in it.
|
|
7674
|
+
- Fit depends on the region. A toolbar is tight and a hero is spacious. The region sets the fit for every control in it.
|
|
7667
7675
|
- Optical role applies only to things that are not controls. An avatar at 24 in
|
|
7668
7676
|
a list and at 96 on a profile are two different pictures. That is why
|
|
7669
7677
|
\`Avatar\`, \`Loader\`, and \`Orb\` keep a \`size\`.
|
|
@@ -7757,6 +7765,7 @@ up one step of padding taller than the input beside it.
|
|
|
7757
7765
|
| \`--helix-space-xl\` | \`calc(2rem * var(--helix-seed-density, 1))\` |
|
|
7758
7766
|
| \`--helix-space-2xl\` | \`calc(3rem * var(--helix-seed-density, 1))\` |
|
|
7759
7767
|
| \`--helix-space-3xl\` | \`calc(4rem * var(--helix-seed-density, 1))\` |
|
|
7768
|
+
| \`--helix-space-field\` | \`var(--helix-space-sm)\` |
|
|
7760
7769
|
| \`--helix-space-control\` | \`var(--helix-space-md)\` |
|
|
7761
7770
|
|
|
7762
7771
|
[//]: # (/tokens)
|
|
@@ -7766,7 +7775,7 @@ arithmetic, such as \`space-4\` being twice \`space-2\`. That stops being true a
|
|
|
7766
7775
|
soon as the scale is tuned, and it leads to a \`space-4.5\` the first time
|
|
7767
7776
|
something does not fit.
|
|
7768
7777
|
|
|
7769
|
-
\`--helix-space-control\`
|
|
7778
|
+
\`--helix-space-control\` and \`--helix-space-field\` are two more of a different kind. It is the inset a
|
|
7770
7779
|
control uses, and it follows the region's density. It is not a step on the
|
|
7771
7780
|
scale. See [Size and density](./size-and-density).
|
|
7772
7781
|
|
|
@@ -7782,7 +7791,7 @@ Use the space tokens for gap, padding, and margin:
|
|
|
7782
7791
|
|
|
7783
7792
|
## Size
|
|
7784
7793
|
|
|
7785
|
-
|
|
7794
|
+
Almost all of the size tokens name a specific
|
|
7786
7795
|
thing:
|
|
7787
7796
|
|
|
7788
7797
|
- \`--helix-size-control\`
|
|
@@ -8304,11 +8313,11 @@ title: Surfaces and separation
|
|
|
8304
8313
|
|
|
8305
8314
|
# Surfaces and separation
|
|
8306
8315
|
|
|
8307
|
-
**Separate each surface from what is behind it with
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
shadow
|
|
8316
|
+
**Separate each surface from what is behind it with four things: a fill, an
|
|
8317
|
+
edge, a lift, and space.** A design language leads with one of them. Helix leads
|
|
8318
|
+
with an edge for surfaces on the page and a lift for surfaces above it. A card
|
|
8319
|
+
has a hairline border and no shadow. A menu has a shadow and a hairline border,
|
|
8320
|
+
because a shadow cannot show on a near-black page. The surface ladder below sets the ground color
|
|
8312
8321
|
for each place a surface can sit.
|
|
8313
8322
|
|
|
8314
8323
|
## The four ways to separate a surface
|
|
@@ -8357,16 +8366,16 @@ A surface's ground color token names where the surface sits:
|
|
|
8357
8366
|
| --- | --- | --- |
|
|
8358
8367
|
| \`--helix-color-background\` | <span data-token-swatch style={{ background: 'var(--helix-color-background)' }} /> | The page background. Every other surface sits on it. |
|
|
8359
8368
|
| \`--helix-color-surface\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface)' }} /> | A surface on the page, such as a card or a panel. The separation policy sets it apart with a fill, a border, or a shadow. |
|
|
8360
|
-
| \`--helix-color-surface-raised\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-raised)' }} /> | A raised
|
|
8369
|
+
| \`--helix-color-surface-raised\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-raised)' }} /> | A panel raised inside a surface, such as a card inside a card. Its fill is one step down the ramp. |
|
|
8361
8370
|
| \`--helix-color-surface-overlay\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-overlay)' }} /> | A surface over the page, such as a menu, a popover, or a dialog. Its edge and its shadow set it apart. |
|
|
8362
|
-
| \`--helix-color-surface-sunken\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-sunken)' }} /> | A recessed surface
|
|
8371
|
+
| \`--helix-color-surface-sunken\` | <span data-token-swatch style={{ background: 'var(--helix-color-surface-sunken)' }} /> | A recessed surface, such as a track or a groove. Its fill sets it apart. A field reads \`well\`. |
|
|
8363
8372
|
|
|
8364
8373
|
[//]: # (/tokens)
|
|
8365
8374
|
|
|
8366
|
-
**\`raised\` goes one step down the ramp.** A
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8375
|
+
**\`raised\` goes one step down the ramp.** A panel inside a surface has a surface
|
|
8376
|
+
on every side. Only its fill separates it, and on a white page a fill has to be a
|
|
8377
|
+
step darker to be seen. A lit row is different: it takes \`hover\`, a wash measured
|
|
8378
|
+
against whatever it sits on. \`overlay\` works the other way. Its edge and its shadow separate it, so on
|
|
8370
8379
|
a white page it is white.
|
|
8371
8380
|
|
|
8372
8381
|
## Using the page color inside a component
|
|
@@ -9128,7 +9137,9 @@ Tuned does not guarantee contrast. CSS has no contrast function.
|
|
|
9128
9137
|
\`oklch(from …)\` can step and rotate a color, but it cannot search for the
|
|
9129
9138
|
lightness that meets a target. The contrast figures built into the ramp were
|
|
9130
9139
|
measured on one blue seed, so they are exact for that seed and approximate for
|
|
9131
|
-
any other.
|
|
9140
|
+
any other. The label on a solid button turns black on a seed lighter than L 0.68.
|
|
9141
|
+
The focus ring still follows the seed, so use the verified engine for a very
|
|
9142
|
+
light brand, where the ring measures 1.23:1 on white.
|
|
9132
9143
|
|
|
9133
9144
|
**Verified** uses the theme engine. It searches for each color that meets its
|
|
9134
9145
|
target, measures every pair, and returns the theme with any violations:
|
|
@@ -10401,8 +10412,9 @@ reached the same rule in their own declarations, so the rule is stated here.
|
|
|
10401
10412
|
|
|
10402
10413
|
**A family that reports a status accepts only the status values.** \`Callout\` and
|
|
10403
10414
|
\`Toast\` both state this. A callout reports a status and never a brand role, so
|
|
10404
|
-
it accepts
|
|
10405
|
-
value the family cannot draw is worse
|
|
10415
|
+
it accepts five of the seven tones, the four statuses and \`neutral\`, which is a
|
|
10416
|
+
note that reports no status. Accepting a value the family cannot draw is worse
|
|
10417
|
+
than leaving the value out.
|
|
10406
10418
|
|
|
10407
10419
|
**A family whose resting state has no tone does not need \`neutral\`.** \`Text\`
|
|
10408
10420
|
gives this reason for having no \`default\` value. A value that matches no rule
|
|
@@ -10446,13 +10458,13 @@ and this section explains why.
|
|
|
10446
10458
|
| Value | What it draws |
|
|
10447
10459
|
|---|---|
|
|
10448
10460
|
| \`elevated\` | A surface lifted off the page, with a shadow under it |
|
|
10449
|
-
| \`filled\` | A ground of its own, and no edge |
|
|
10450
|
-
| \`outlined\` | An edge
|
|
10451
|
-
| \`plain\` |
|
|
10461
|
+
| \`filled\` | A ground of its own, and no edge. What the ground is belongs to the family |
|
|
10462
|
+
| \`outlined\` | An edge and no fill. A family whose text or thumb needs its ground to read, such as Log or Toggle Group, does not offer it. On Card, this differs from unset, which has a fill and an edge |
|
|
10463
|
+
| \`plain\` | No frame of its own. A family keeps what its content needs to stay readable, and its reference says what stays |
|
|
10452
10464
|
|
|
10453
10465
|
**Most families leave out \`elevated\` because of what the value means.** A shadow
|
|
10454
10466
|
shows that the box floats above the page. That is true of a card picked up off a
|
|
10455
|
-
grid and of
|
|
10467
|
+
grid and of a node on a board. It is false of:
|
|
10456
10468
|
|
|
10457
10469
|
- a row in a feed
|
|
10458
10470
|
- a groove a thumb sits in
|
|
@@ -10460,7 +10472,7 @@ grid and of an announcement laid over the content. It is false of:
|
|
|
10460
10472
|
- a bar across a video
|
|
10461
10473
|
|
|
10462
10474
|
A family that accepts only the other three values needs no reason for it. A
|
|
10463
|
-
family that accepts \`elevated\` has made a choice, and \`Card\` and \`
|
|
10475
|
+
family that accepts \`elevated\` has made a choice, and \`Card\` and \`Canvas Node\`
|
|
10464
10476
|
both accept it.
|
|
10465
10477
|
|
|
10466
10478
|
## What each nesting value does
|
|
@@ -10490,7 +10502,7 @@ value changes meaning partway along.
|
|
|
10490
10502
|
| Value | What it draws |
|
|
10491
10503
|
|---|---|
|
|
10492
10504
|
| \`solid\` | The tone as a full ground, with the ink flipped to read on it |
|
|
10493
|
-
| \`subtle\` | A wash of the tone and no edge, the quietest thing that still has a surface |
|
|
10505
|
+
| \`subtle\` | A wash of the tone and no edge, the quietest thing that still has a surface. A chart mark keeps its edge |
|
|
10494
10506
|
| \`outlined\` | An edge in the tone |
|
|
10495
10507
|
| \`ghost\` | Nothing at rest, the tone carried by the ink alone |
|
|
10496
10508
|
| \`muted\` | Quieter ink, where there is no surface to quiet |
|
|
@@ -10501,8 +10513,9 @@ fill stays under the edge, because the area shows a value and removing the fill
|
|
|
10501
10513
|
would hide that value. In both cases, \`outlined\` sets how much ink the element
|
|
10502
10514
|
uses, based on what the element needs the ink for.
|
|
10503
10515
|
|
|
10504
|
-
**\`muted\` is for something whose only ink is its letterforms.**
|
|
10505
|
-
|
|
10516
|
+
**\`muted\` is for something whose only ink is its letterforms.** Text takes it,
|
|
10517
|
+
because everything else has a surface to make quieter first. Spatial Bar Chart
|
|
10518
|
+
also takes it, to draw neutral bars with one lit in its tone. Leaving it off
|
|
10506
10519
|
other families is intentional.
|
|
10507
10520
|
|
|
10508
10521
|
## What each material draws
|
|
@@ -10516,7 +10529,7 @@ smeared, and a filter behind an opaque ground cannot be seen. With no
|
|
|
10516
10529
|
| Value | What it draws |
|
|
10517
10530
|
|---|---|
|
|
10518
10531
|
| \`glass\` | A translucent ground and the backdrop filter that makes it read |
|
|
10519
|
-
| \`frosted\` | The same pair turned up, a heavier ground under a heavier blur |
|
|
10532
|
+
| \`frosted\` | The same pair turned up, a heavier ground under a heavier blur. A Dialog or Drawer's \`glass\` is already as heavy in light, so there the two differ by blur alone |
|
|
10520
10533
|
| \`transparent\` | Neither, so the page shows through structure and spacing |
|
|
10521
10534
|
|
|
10522
10535
|
Use \`frosted\` for a surface that has to stay readable over a busy page. A theme
|
|
@@ -10547,15 +10560,17 @@ the width the splitter actually has.
|
|
|
10547
10560
|
|
|
10548
10561
|
## What each size draws
|
|
10549
10562
|
|
|
10550
|
-
\`size\` applies to pictures and regions, and never to
|
|
10551
|
-
|
|
10563
|
+
\`size\` applies to pictures and regions, and never to one control. Toolbar and
|
|
10564
|
+
Button Group take it because they are regions: it sets every control inside
|
|
10565
|
+
them at once, as \`data-density\` does for a block. That rule sets the scope of
|
|
10566
|
+
the axis. One of the four values is a different kind of step.
|
|
10552
10567
|
|
|
10553
10568
|
| Value | What it draws |
|
|
10554
10569
|
|---|---|
|
|
10555
10570
|
| \`sm\` | The small step |
|
|
10556
|
-
| \`md\` | The middle step, and the resting state for
|
|
10571
|
+
| \`md\` | The middle step, and the resting state for most families. Toolbar rests at \`sm\`, being dense by nature |
|
|
10557
10572
|
| \`lg\` | The large step |
|
|
10558
|
-
| \`full\` | The whole region, less the same inset every other step already leaves |
|
|
10573
|
+
| \`full\` | The whole width of the region, less the same inset every other step already leaves |
|
|
10559
10574
|
|
|
10560
10575
|
**\`full\` is one more step on the \`size\` axis.** A takeover dialog is the same
|
|
10561
10576
|
setting taken further, so it belongs on this axis. A separate \`fullscreen\`
|
|
@@ -10578,7 +10593,7 @@ The table at the top describes \`tone\` in words and names four of its values.
|
|
|
10578
10593
|
| \`danger\` | Destructive, or already wrong |
|
|
10579
10594
|
|
|
10580
10595
|
The first three are intents, and the last four are statuses. A family that
|
|
10581
|
-
accepts a subset
|
|
10596
|
+
accepts a subset usually chooses between these two groups. The section on \`neutral\`
|
|
10582
10597
|
above says when to accept it.
|
|
10583
10598
|
|
|
10584
10599
|
## What each width value does
|
|
@@ -10589,7 +10604,7 @@ component, separate from \`size\`.
|
|
|
10589
10604
|
|
|
10590
10605
|
| Value | What it draws |
|
|
10591
10606
|
|---|---|
|
|
10592
|
-
| \`auto\` | As wide as its content. This is the resting behavior, written out |
|
|
10607
|
+
| \`auto\` | As wide as its content. This is the resting behavior on most families, written out. On Description List, which fills the row at rest, it is the departure |
|
|
10593
10608
|
| \`full\` | All the inline space its parent gives it |
|
|
10594
10609
|
|
|
10595
10610
|
**A \`width\` that takes a number is a different property with the same name.** A
|