@fusion.dev/helix-docs 0.155.0 → 0.157.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/metrics.mdx +218 -218
- package/content/sandbox.mdx +20 -6
- package/dist/sources.generated.js +238 -224
- package/package.json +9 -9
package/content/metrics.mdx
CHANGED
|
@@ -46,7 +46,7 @@ on its own.
|
|
|
46
46
|
|
|
47
47
|
| | Raw | Gzip | Brotli |
|
|
48
48
|
|---|---|---|---|
|
|
49
|
-
| Lit and `@fusion.dev/helix-core` | 234,981 | 72,947 | 62,
|
|
49
|
+
| Lit and `@fusion.dev/helix-core` | 234,981 | 72,947 | 62,661 |
|
|
50
50
|
|
|
51
51
|
## Whole packages
|
|
52
52
|
|
|
@@ -57,12 +57,12 @@ either barrel. The per-component tables show what your page pays.
|
|
|
57
57
|
|
|
58
58
|
| Package | Raw | Gzip | Brotli | |
|
|
59
59
|
|---|---|---|---|---|
|
|
60
|
-
| `@fusion.dev/helix-core` | 234,190 | 72,745 | 62,
|
|
61
|
-
| `@fusion.dev/helix-headless` | 1,
|
|
60
|
+
| `@fusion.dev/helix-core` | 234,190 | 72,745 | 62,230 | The element base class, mixins, decorators, and floating positioning. |
|
|
61
|
+
| `@fusion.dev/helix-headless` | 1,249,840 | 336,473 | 252,911 | Every headless family. The barrel entry includes all of them. |
|
|
62
62
|
| `@fusion.dev/helix-icons` | 56,111 | 17,847 | 15,166 | The whole glyph set. |
|
|
63
63
|
| `@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. |
|
|
64
64
|
| `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. |
|
|
65
|
-
| `@fusion.dev/helix` | 1,
|
|
65
|
+
| `@fusion.dev/helix` | 1,894,989 | 461,448 | 328,343 | Every styled family. |
|
|
66
66
|
| `lit` | 15,394 | 6,118 | 5,460 | Lit itself, listed so you can subtract it from every row above. |
|
|
67
67
|
|
|
68
68
|
## Stylesheets
|
|
@@ -83,11 +83,11 @@ shows the whole cost of using the base layer on its own.
|
|
|
83
83
|
|
|
84
84
|
## What the numbers say
|
|
85
85
|
|
|
86
|
-
**Most of your first component is the shared runtime.** The median styled family is 17,492 bytes gzipped alone, and it adds 3,
|
|
86
|
+
**Most of your first component is the shared runtime.** The median styled family is 17,492 bytes gzipped alone, and it adds 3,714 to a page that already has Helix. The shared runtime is 79 percent of the first component, and the component itself is 21 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.
|
|
87
87
|
|
|
88
|
-
Across the 104 styled components, the smallest is `code` at 8,
|
|
88
|
+
Across the 104 styled components, the smallest is `code` at 8,472 bytes gzipped alone, and the largest is `data-table` at 76,006. Every family together is 461,448.
|
|
89
89
|
|
|
90
|
-
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
|
|
90
|
+
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 336,473 bytes gzipped, whatever else the page imports. That is 19 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.
|
|
91
91
|
|
|
92
92
|
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 16,812 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -101,22 +101,22 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
101
101
|
|
|
102
102
|
| Component | System | Raw | Gzip | Brotli |
|
|
103
103
|
|---|---|---|---|---|
|
|
104
|
-
| `button` | **Helix** | 44,830 | 14,942 | 13,
|
|
104
|
+
| `button` | **Helix** | 44,830 | 14,942 | 13,372 |
|
|
105
105
|
| | Carbon | 133,058 | 20,959 | 17,685 |
|
|
106
106
|
| | Material Web | 47,060 | 14,173 | 12,591 |
|
|
107
107
|
| | Shoelace | 62,628 | 18,287 | 15,805 |
|
|
108
108
|
| | Spectrum | 98,792 | 22,045 | 18,674 |
|
|
109
|
-
| `checkbox` | **Helix** | 48,432 | 15,
|
|
109
|
+
| `checkbox` | **Helix** | 48,432 | 15,531 | 13,861 |
|
|
110
110
|
| | Carbon | 60,255 | 15,609 | 13,550 |
|
|
111
111
|
| | Material Web | 43,785 | 13,556 | 12,015 |
|
|
112
112
|
| | Shoelace | 47,614 | 15,177 | 13,301 |
|
|
113
113
|
| | Spectrum | 62,492 | 15,437 | 13,481 |
|
|
114
|
-
| `dialog` | **Helix** | 45,798 | 15,662 | 13,
|
|
114
|
+
| `dialog` | **Helix** | 45,798 | 15,662 | 13,933 |
|
|
115
115
|
| | Carbon | 510,866 | 67,390 | 39,189 |
|
|
116
116
|
| | Material Web | 34,238 | 11,510 | 10,229 |
|
|
117
117
|
| | Shoelace | 52,754 | 17,698 | 15,554 |
|
|
118
118
|
| | Spectrum | 155,708 | 31,899 | 26,262 |
|
|
119
|
-
| `radio` | **Helix** | 52,044 | 16,
|
|
119
|
+
| `radio` | **Helix** | 52,044 | 16,155 | 14,416 |
|
|
120
120
|
| | Carbon | 63,055 | 16,887 | 14,605 |
|
|
121
121
|
| | Material Web | 41,044 | 13,234 | 11,757 |
|
|
122
122
|
| | Shoelace | 34,865 | 12,027 | 10,559 |
|
|
@@ -126,12 +126,12 @@ The table has no whole-library row. That row would compare how many components e
|
|
|
126
126
|
| | Material Web | 50,155 | 14,577 | 12,935 |
|
|
127
127
|
| | Shoelace | 37,833 | 11,814 | 10,568 |
|
|
128
128
|
| | Spectrum | 62,322 | 15,059 | 13,321 |
|
|
129
|
-
| `tabs` | **Helix** | 58,882 | 18,542 | 16,
|
|
129
|
+
| `tabs` | **Helix** | 58,882 | 18,542 | 16,495 |
|
|
130
130
|
| | Carbon | 578,766 | 73,537 | 43,235 |
|
|
131
131
|
| | Material Web | 38,883 | 12,820 | 11,368 |
|
|
132
132
|
| | Shoelace | 54,573 | 17,140 | 15,068 |
|
|
133
133
|
| | Spectrum | 64,875 | 18,298 | 16,283 |
|
|
134
|
-
| `tooltip` | **Helix** | 61,569 | 21,
|
|
134
|
+
| `tooltip` | **Helix** | 61,569 | 21,794 | 19,332 |
|
|
135
135
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
136
136
|
| | Material Web | | not shipped | |
|
|
137
137
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
@@ -183,104 +183,104 @@ Structure, accessibility, state, and form participation. It has no presentation
|
|
|
183
183
|
|
|
184
184
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
185
185
|
|---|---|---|---|---|---|---|
|
|
186
|
-
| `accordion` | 32,745 | 11,983 | 10,
|
|
187
|
-
| `announcement` | 38,619 | 13,
|
|
188
|
-
| `app-header` | 31,167 | 11,720 | 10,420 | 5,353 | 1,
|
|
189
|
-
| `area-chart` | 90,314 | 31,
|
|
190
|
-
| `avatar` | 31,388 | 11,
|
|
191
|
-
| `badge` | 26,985 | 10,
|
|
192
|
-
| `bar-chart` | 93,279 | 32,361 | 28,
|
|
193
|
-
| `blockquote` | 24,289 | 9,538 | 8,
|
|
194
|
-
| `breadcrumbs` | 36,254 | 13,895 | 12,
|
|
195
|
-
| `button` | 37,708 | 13,495 | 12,
|
|
196
|
-
| `button-group` | 26,475 | 10,143 | 8,967 | 4,060 | 1,
|
|
197
|
-
| `callout` | 34,206 | 13,174 | 11,
|
|
198
|
-
| `canvas` |
|
|
199
|
-
| `card` | 23,959 | 9,173 | 8,113 | 2,422 |
|
|
200
|
-
| `carousel` | 43,284 | 15,479 | 13,
|
|
201
|
-
| `chat` | 71,
|
|
202
|
-
| `checkbox` | 41,603 | 14,
|
|
203
|
-
| `checkbox-group` | 48,227 | 15,745 | 14,
|
|
204
|
-
| `code` | 20,483 | 8,
|
|
205
|
-
| `code-block` | 93,819 | 31,677 | 28,
|
|
206
|
-
| `color-input` | 138,124 | 43,671 | 38,
|
|
207
|
-
| `color-picker` | 99,433 | 31,670 | 27,
|
|
208
|
-
| `combobox` |
|
|
209
|
-
| `command` |
|
|
210
|
-
| `copy-button` | 82,686 | 28,226 |
|
|
211
|
-
| `data-table` |
|
|
212
|
-
| `date-input` | 139,
|
|
213
|
-
| `date-picker` | 56,976 | 19,
|
|
214
|
-
| `description-list` | 23,412 | 8,907 | 7,880 | 2,225 | 643 |
|
|
215
|
-
| `dialog` | 40,318 | 14,394 | 12,
|
|
216
|
-
| `divider` | 23,173 | 9,044 | 8,008 | 1,743 |
|
|
217
|
-
| `donut-chart` | 87,568 | 30,
|
|
218
|
-
| `drawer` | 44,592 | 15,
|
|
219
|
-
| `drilldown` |
|
|
220
|
-
| `empty` | 24,376 | 9,
|
|
221
|
-
| `file-input` | 68,038 | 22,893 | 20,
|
|
222
|
-
| `filter-input` |
|
|
223
|
-
| `format-date` | 29,097 | 10,
|
|
224
|
-
| `graph` |
|
|
225
|
-
| `heatmap` | 94,729 | 32,469 | 28,
|
|
226
|
-
| `icon` | 82,676 | 28,
|
|
227
|
-
| `icon-button` | 38,145 | 13,534 | 12,
|
|
228
|
-
| `image` | 25,686 | 9,596 | 8,494 | 4,155 | 1,
|
|
229
|
-
| `input` | 47,906 | 16,
|
|
230
|
-
| `kbd` | 27,537 | 10,
|
|
231
|
-
| `legend` | 34,902 | 12,
|
|
232
|
-
| `lightbox` | 53,824 | 18,098 | 16,
|
|
233
|
-
| `line-chart` | 91,349 | 31,683 | 28,
|
|
234
|
-
| `list` |
|
|
235
|
-
| `listbox` |
|
|
236
|
-
| `loader` | 27,624 | 10,
|
|
237
|
-
| `map` | 82,
|
|
238
|
-
| `megamenu` |
|
|
239
|
-
| `menu` |
|
|
240
|
-
| `meter` | 32,441 | 12,315 |
|
|
241
|
-
| `navigation` | 34,415 | 12,
|
|
242
|
-
| `notifications` |
|
|
243
|
-
| `number-input` |
|
|
244
|
-
| `object-inspector` | 113,
|
|
245
|
-
| `option` |
|
|
246
|
-
| `outline` | 33,
|
|
247
|
-
| `pagination` |
|
|
248
|
-
| `pin-input` | 47,727 | 16,544 | 14,
|
|
249
|
-
| `popover` | 63,077 | 22,775 | 20,185 | 5,851 | 1,
|
|
250
|
-
| `progress` | 28,718 | 11,
|
|
251
|
-
| `qr-code` | 43,379 | 16,926 | 15,096 | 17,334 | 6,455 | 5,
|
|
252
|
-
| `quote` | 22,698 | 9,
|
|
253
|
-
| `radio` | 43,543 | 14,616 |
|
|
254
|
-
| `rating` | 50,712 | 17,
|
|
255
|
-
| `scatter-chart` | 90,984 | 31,421 | 27,
|
|
256
|
-
| `scroll-area` | 30,549 | 11,169 | 9,
|
|
257
|
-
| `select` |
|
|
258
|
-
| `skeleton` | 22,490 | 8,756 | 7,
|
|
259
|
-
| `skip-link` | 25,535 | 10,013 | 8,877 | 1,551 |
|
|
260
|
-
| `slider` | 50,673 | 17,
|
|
261
|
-
| `sparkline` | 47,807 | 17,538 | 15,679 | 6,099 | 2,
|
|
262
|
-
| `speed-dial` | 70,101 | 25,092 | 22,276 | 11,054 | 2,
|
|
263
|
-
| `splitter` | 42,028 | 14,435 | 12,890 | 14,080 | 3,725 |
|
|
264
|
-
| `stat` | 25,480 | 9,707 | 8,
|
|
265
|
-
| `steps` | 53,281 | 18,
|
|
266
|
-
| `switch` | 40,457 | 13,843 | 12,355 | 1,961 | 706 |
|
|
267
|
-
| `table` |
|
|
268
|
-
| `tabs` | 49,168 | 16,697 | 14,829 | 10,196 | 2,
|
|
269
|
-
| `tag` | 43,396 | 15,823 | 14,
|
|
270
|
-
| `textarea` | 45,364 | 15,415 | 13,
|
|
271
|
-
| `time-input` |
|
|
272
|
-
| `time-picker` |
|
|
273
|
-
| `timeline` |
|
|
274
|
-
| `toast` |
|
|
275
|
-
| `toggle` | 44,477 | 14,658 | 12,
|
|
276
|
-
| `toolbar` | 32,696 | 12,205 | 10,
|
|
277
|
-
| `tooltip` | 58,421 | 21,042 | 18,
|
|
278
|
-
| `tour` | 83,346 | 28,
|
|
279
|
-
| `tree` | 68,464 | 22,776 | 20,
|
|
280
|
-
| `trend` | 30,375 | 11,
|
|
281
|
-
| `video` |
|
|
282
|
-
| `video-playlist` |
|
|
283
|
-
| `virtual-list` |
|
|
186
|
+
| `accordion` | 32,745 | 11,983 | 10,623 | 6,017 | 1,647 | 1,232 |
|
|
187
|
+
| `announcement` | 38,619 | 13,973 | 12,442 | 5,012 | 1,450 | 977 |
|
|
188
|
+
| `app-header` | 31,167 | 11,720 | 10,420 | 5,353 | 1,516 | 1,077 |
|
|
189
|
+
| `area-chart` | 90,314 | 31,515 | 27,820 | 14,461 | 4,417 | 3,468 |
|
|
190
|
+
| `avatar` | 31,388 | 11,882 | 10,597 | 4,559 | 1,294 | 909 |
|
|
191
|
+
| `badge` | 26,985 | 10,575 | 9,395 | 3,276 | 995 | 713 |
|
|
192
|
+
| `bar-chart` | 93,279 | 32,361 | 28,601 | 17,280 | 5,204 | 4,213 |
|
|
193
|
+
| `blockquote` | 24,289 | 9,538 | 8,434 | 2,729 | 970 | 678 |
|
|
194
|
+
| `breadcrumbs` | 36,254 | 13,895 | 12,383 | 7,945 | 2,441 | 1,888 |
|
|
195
|
+
| `button` | 37,708 | 13,495 | 12,035 | 5,106 | 1,497 | 1,036 |
|
|
196
|
+
| `button-group` | 26,475 | 10,143 | 8,967 | 4,060 | 1,285 | 830 |
|
|
197
|
+
| `callout` | 34,206 | 13,174 | 11,718 | 1,971 | 692 | 411 |
|
|
198
|
+
| `canvas` | 98,010 | 31,129 | 27,322 | 58,167 | 17,525 | 14,347 |
|
|
199
|
+
| `card` | 23,959 | 9,173 | 8,113 | 2,422 | 741 | 496 |
|
|
200
|
+
| `carousel` | 43,284 | 15,479 | 13,771 | 15,309 | 4,235 | 3,250 |
|
|
201
|
+
| `chat` | 71,637 | 23,938 | 21,235 | 22,897 | 6,701 | 5,222 |
|
|
202
|
+
| `checkbox` | 41,603 | 14,030 | 12,525 | 3,389 | 1,039 | 549 |
|
|
203
|
+
| `checkbox-group` | 48,227 | 15,745 | 14,026 | 8,887 | 2,349 | 1,680 |
|
|
204
|
+
| `code` | 20,483 | 8,146 | 7,222 | 466 | 210 | 77 |
|
|
205
|
+
| `code-block` | 93,819 | 31,677 | 28,075 | 27,511 | 7,436 | 5,836 |
|
|
206
|
+
| `color-input` | 138,124 | 43,671 | 38,150 | 51,375 | 13,111 | 10,572 |
|
|
207
|
+
| `color-picker` | 99,433 | 31,670 | 27,762 | 43,159 | 11,507 | 9,237 |
|
|
208
|
+
| `combobox` | 143,762 | 44,230 | 38,791 | 45,190 | 11,090 | 8,621 |
|
|
209
|
+
| `command` | 101,159 | 31,194 | 27,460 | 33,952 | 8,775 | 6,840 |
|
|
210
|
+
| `copy-button` | 82,686 | 28,226 | 24,975 | 18,268 | 4,812 | 3,630 |
|
|
211
|
+
| `data-table` | 203,690 | 60,900 | 52,038 | 95,715 | 24,809 | 19,636 |
|
|
212
|
+
| `date-input` | 139,407 | 42,942 | 37,695 | 39,003 | 9,664 | 7,566 |
|
|
213
|
+
| `date-picker` | 56,976 | 19,246 | 17,246 | 17,964 | 4,812 | 3,612 |
|
|
214
|
+
| `description-list` | 23,412 | 8,907 | 7,880 | 2,225 | 643 | 337 |
|
|
215
|
+
| `dialog` | 40,318 | 14,394 | 12,772 | 6,164 | 1,775 | 1,260 |
|
|
216
|
+
| `divider` | 23,173 | 9,044 | 8,008 | 1,743 | 606 | 359 |
|
|
217
|
+
| `donut-chart` | 87,568 | 30,596 | 27,116 | 14,636 | 4,397 | 3,477 |
|
|
218
|
+
| `drawer` | 44,592 | 15,796 | 14,036 | 7,652 | 2,175 | 1,663 |
|
|
219
|
+
| `drilldown` | 44,798 | 15,580 | 13,889 | 10,158 | 2,687 | 2,019 |
|
|
220
|
+
| `empty` | 24,376 | 9,368 | 8,289 | 2,282 | 748 | 498 |
|
|
221
|
+
| `file-input` | 68,038 | 22,893 | 20,320 | 19,416 | 5,735 | 4,525 |
|
|
222
|
+
| `filter-input` | 138,580 | 42,559 | 37,197 | 50,425 | 12,451 | 9,892 |
|
|
223
|
+
| `format-date` | 29,097 | 10,968 | 9,762 | 4,309 | 1,220 | 855 |
|
|
224
|
+
| `graph` | 68,110 | 22,496 | 20,005 | 17,639 | 5,379 | 4,236 |
|
|
225
|
+
| `heatmap` | 94,729 | 32,469 | 28,712 | 17,146 | 4,922 | 3,829 |
|
|
226
|
+
| `icon` | 82,676 | 28,313 | 24,170 | 59,022 | 20,203 | 16,154 |
|
|
227
|
+
| `icon-button` | 38,145 | 13,534 | 12,064 | 5,543 | 1,533 | 1,025 |
|
|
228
|
+
| `image` | 25,686 | 9,596 | 8,494 | 4,155 | 1,226 | 840 |
|
|
229
|
+
| `input` | 47,906 | 16,468 | 14,568 | 7,538 | 2,432 | 1,657 |
|
|
230
|
+
| `kbd` | 27,537 | 10,604 | 9,356 | 3,823 | 1,172 | 778 |
|
|
231
|
+
| `legend` | 34,902 | 12,914 | 11,497 | 3,287 | 1,078 | 745 |
|
|
232
|
+
| `lightbox` | 53,824 | 18,098 | 16,079 | 15,447 | 4,218 | 3,194 |
|
|
233
|
+
| `line-chart` | 91,349 | 31,683 | 28,064 | 15,163 | 4,469 | 3,636 |
|
|
234
|
+
| `list` | 60,646 | 21,011 | 18,763 | 14,761 | 4,196 | 3,281 |
|
|
235
|
+
| `listbox` | 79,245 | 25,590 | 22,665 | 19,224 | 5,305 | 4,017 |
|
|
236
|
+
| `loader` | 27,624 | 10,571 | 9,381 | 2,683 | 900 | 628 |
|
|
237
|
+
| `map` | 82,619 | 24,992 | 21,733 | 40,445 | 10,505 | 8,012 |
|
|
238
|
+
| `megamenu` | 60,088 | 21,680 | 19,207 | 8,927 | 2,447 | 1,744 |
|
|
239
|
+
| `menu` | 93,667 | 31,141 | 27,515 | 26,585 | 6,709 | 5,286 |
|
|
240
|
+
| `meter` | 32,441 | 12,315 | 10,977 | 5,288 | 1,498 | 1,261 |
|
|
241
|
+
| `navigation` | 34,415 | 12,964 | 11,562 | 3,642 | 1,215 | 931 |
|
|
242
|
+
| `notifications` | 57,966 | 19,409 | 17,291 | 18,185 | 4,816 | 3,738 |
|
|
243
|
+
| `number-input` | 55,298 | 18,520 | 16,517 | 12,405 | 3,259 | 2,358 |
|
|
244
|
+
| `object-inspector` | 113,385 | 37,899 | 33,414 | 35,038 | 10,006 | 7,781 |
|
|
245
|
+
| `option` | 27,320 | 9,919 | 8,775 | 5,517 | 1,296 | 910 |
|
|
246
|
+
| `outline` | 33,744 | 12,675 | 11,287 | 6,894 | 2,127 | 1,548 |
|
|
247
|
+
| `pagination` | 135,585 | 42,458 | 36,929 | 46,950 | 11,815 | 9,215 |
|
|
248
|
+
| `pin-input` | 47,727 | 16,544 | 14,772 | 7,044 | 2,233 | 1,625 |
|
|
249
|
+
| `popover` | 63,077 | 22,775 | 20,185 | 5,851 | 1,668 | 1,229 |
|
|
250
|
+
| `progress` | 28,718 | 11,007 | 9,772 | 3,278 | 1,012 | 727 |
|
|
251
|
+
| `qr-code` | 43,379 | 16,926 | 15,096 | 17,334 | 6,455 | 5,381 |
|
|
252
|
+
| `quote` | 22,698 | 9,005 | 7,944 | 1,537 | 619 | 365 |
|
|
253
|
+
| `radio` | 43,543 | 14,616 | 12,994 | 4,379 | 1,266 | 864 |
|
|
254
|
+
| `rating` | 50,712 | 17,382 | 15,477 | 8,135 | 2,416 | 1,745 |
|
|
255
|
+
| `scatter-chart` | 90,984 | 31,421 | 27,697 | 16,224 | 4,816 | 3,745 |
|
|
256
|
+
| `scroll-area` | 30,549 | 11,169 | 9,879 | 8,810 | 2,595 | 1,968 |
|
|
257
|
+
| `select` | 117,876 | 38,164 | 33,501 | 29,856 | 7,880 | 5,909 |
|
|
258
|
+
| `skeleton` | 22,490 | 8,756 | 7,762 | 1,301 | 491 | 207 |
|
|
259
|
+
| `skip-link` | 25,535 | 10,013 | 8,877 | 1,551 | 595 | 356 |
|
|
260
|
+
| `slider` | 50,673 | 17,101 | 15,317 | 10,700 | 2,980 | 2,366 |
|
|
261
|
+
| `sparkline` | 47,807 | 17,538 | 15,679 | 6,099 | 2,061 | 1,620 |
|
|
262
|
+
| `speed-dial` | 70,101 | 25,092 | 22,276 | 11,054 | 2,838 | 2,149 |
|
|
263
|
+
| `splitter` | 42,028 | 14,435 | 12,890 | 14,080 | 3,725 | 2,834 |
|
|
264
|
+
| `stat` | 25,480 | 9,707 | 8,602 | 2,960 | 877 | 577 |
|
|
265
|
+
| `steps` | 53,281 | 18,463 | 16,411 | 12,709 | 3,489 | 2,695 |
|
|
266
|
+
| `switch` | 40,457 | 13,843 | 12,355 | 1,961 | 706 | 340 |
|
|
267
|
+
| `table` | 98,333 | 30,641 | 26,938 | 35,739 | 9,664 | 7,640 |
|
|
268
|
+
| `tabs` | 49,168 | 16,697 | 14,829 | 10,196 | 2,660 | 1,932 |
|
|
269
|
+
| `tag` | 43,396 | 15,823 | 14,097 | 8,617 | 2,396 | 1,785 |
|
|
270
|
+
| `textarea` | 45,364 | 15,415 | 13,757 | 5,556 | 1,604 | 1,080 |
|
|
271
|
+
| `time-input` | 169,771 | 51,487 | 44,544 | 52,437 | 13,114 | 10,243 |
|
|
272
|
+
| `time-picker` | 97,223 | 30,315 | 26,684 | 33,382 | 8,771 | 6,684 |
|
|
273
|
+
| `timeline` | 28,548 | 10,772 | 9,593 | 3,675 | 936 | 588 |
|
|
274
|
+
| `toast` | 50,131 | 17,768 | 15,798 | 10,967 | 3,172 | 2,463 |
|
|
275
|
+
| `toggle` | 44,477 | 14,658 | 12,989 | 6,256 | 1,721 | 1,325 |
|
|
276
|
+
| `toolbar` | 32,696 | 12,205 | 10,873 | 5,485 | 1,672 | 1,241 |
|
|
277
|
+
| `tooltip` | 58,421 | 21,042 | 18,697 | 8,512 | 2,346 | 1,768 |
|
|
278
|
+
| `tour` | 83,346 | 28,537 | 25,275 | 18,989 | 5,147 | 3,962 |
|
|
279
|
+
| `tree` | 68,464 | 22,776 | 20,225 | 17,724 | 5,067 | 3,865 |
|
|
280
|
+
| `trend` | 30,375 | 11,862 | 10,554 | 3,818 | 1,145 | 830 |
|
|
281
|
+
| `video` | 136,669 | 42,335 | 37,012 | 62,815 | 15,556 | 12,523 |
|
|
282
|
+
| `video-playlist` | 107,639 | 34,845 | 30,820 | 36,335 | 9,025 | 6,992 |
|
|
283
|
+
| `virtual-list` | 51,103 | 17,825 | 15,903 | 12,645 | 3,889 | 2,970 |
|
|
284
284
|
|
|
285
285
|
### Styled tier
|
|
286
286
|
|
|
@@ -288,110 +288,110 @@ The headless tier plus presentation. `bun add @fusion.dev/helix` installs this t
|
|
|
288
288
|
|
|
289
289
|
| Family | Alone raw | Alone gzip | Alone brotli | Added raw | Added gzip | Added brotli |
|
|
290
290
|
|---|---|---|---|---|---|---|
|
|
291
|
-
| `accordion` | 36,857 | 12,853 | 11,432 | 10,114 | 2,
|
|
292
|
-
| `announcement` | 43,555 | 15,040 | 13,
|
|
293
|
-
| `app-header` | 36,560 | 12,921 | 11,539 | 10,729 | 2,728 | 2,
|
|
294
|
-
| `area-chart` | 98,956 | 33,
|
|
295
|
-
| `aura` | 51,474 | 17,
|
|
296
|
-
| `avatar` | 35,062 | 12,677 | 11,
|
|
297
|
-
| `badge` | 32,752 | 11,796 | 10,
|
|
298
|
-
| `bar-chart` | 107,347 | 35,
|
|
299
|
-
| `blockquote` | 26,860 | 10,107 | 8,
|
|
300
|
-
| `breadcrumbs` | 43,908 | 15,129 | 13,
|
|
301
|
-
| `button` | 44,830 | 14,942 | 13,
|
|
302
|
-
| `button-group` | 30,331 | 10,
|
|
303
|
-
| `callout` | 38,026 | 14,059 | 12,
|
|
304
|
-
| `canvas` |
|
|
305
|
-
| `card` | 28,213 | 10,189 | 9,050 | 6,662 | 1,692 | 1,
|
|
306
|
-
| `carousel` | 54,175 | 17,280 | 15,
|
|
307
|
-
| `chat` |
|
|
308
|
-
| `checkbox` | 48,432 | 15,
|
|
309
|
-
| `checkbox-group` | 56,127 | 17,391 | 15,485 | 16,779 | 4,
|
|
310
|
-
| `code` | 21,671 | 8,
|
|
311
|
-
| `code-block` | 115,146 | 35,038 | 31,
|
|
312
|
-
| `color-input` | 182,662 | 50,146 | 43,
|
|
313
|
-
| `color-picker` | 138,192 | 37,367 | 32,
|
|
314
|
-
| `combobox` |
|
|
315
|
-
| `command` |
|
|
316
|
-
| `copy-button` | 95,770 | 30,
|
|
317
|
-
| `data-table` |
|
|
318
|
-
| `date-input` | 161,
|
|
319
|
-
| `date-picker` | 64,983 | 20,675 | 18,
|
|
320
|
-
| `description-list` | 27,039 | 9,669 | 8,
|
|
321
|
-
| `dialog` | 45,798 | 15,662 | 13,
|
|
322
|
-
| `divider` | 25,821 | 9,
|
|
323
|
-
| `donut-chart` | 97,699 | 32,
|
|
324
|
-
| `drawer` | 50,788 | 17,
|
|
325
|
-
| `drilldown` |
|
|
326
|
-
| `empty` | 26,021 | 9,826 | 8,678 | 3,909 | 1,176 |
|
|
327
|
-
| `file-input` | 80,966 | 25,343 | 22,
|
|
328
|
-
| `filter-input` |
|
|
329
|
-
| `flex` | 25,978 | 9,321 | 8,
|
|
330
|
-
| `format-date` | 29,681 | 11,
|
|
331
|
-
| `graph` | 82,
|
|
332
|
-
| `grid` | 27,233 | 9,
|
|
333
|
-
| `heatmap` | 102,310 | 34,
|
|
334
|
-
| `icon` | 84,859 | 28,
|
|
335
|
-
| `icon-button` | 46,612 | 14,
|
|
336
|
-
| `image` | 27,417 | 10,071 | 8,
|
|
337
|
-
| `input` | 52,486 | 17,
|
|
338
|
-
| `kbd` | 29,864 | 11,148 | 9,
|
|
339
|
-
| `legend` | 40,308 | 14,
|
|
340
|
-
| `lightbox` | 60,817 | 19,445 | 17,
|
|
341
|
-
| `line-chart` | 102,895 | 34,
|
|
342
|
-
| `list` |
|
|
343
|
-
| `listbox` |
|
|
344
|
-
| `loader` | 30,830 | 11,357 | 10,102 | 5,871 | 1,600 | 1,
|
|
345
|
-
| `map` |
|
|
346
|
-
| `megamenu` |
|
|
347
|
-
| `menu` |
|
|
348
|
-
| `meter` | 38,671 | 13,584 | 12,
|
|
349
|
-
| `navigation` | 36,492 | 13,493 | 11,986 | 5,704 | 1,707 | 1,
|
|
350
|
-
| `notifications` |
|
|
351
|
-
| `number-input` |
|
|
352
|
-
| `object-inspector` |
|
|
353
|
-
| `option` |
|
|
354
|
-
| `orb` | 36,192 | 13,879 | 12,
|
|
355
|
-
| `outline` | 38,
|
|
356
|
-
| `pagination` |
|
|
357
|
-
| `pin-input` | 51,419 | 17,458 | 15,
|
|
358
|
-
| `popover` | 66,578 | 23,
|
|
359
|
-
| `progress` | 36,267 | 12,634 | 11,273 | 10,810 | 2,634 | 2,
|
|
360
|
-
| `qr-code` | 45,317 | 17,
|
|
361
|
-
| `quote` | 23,589 | 9,
|
|
362
|
-
| `radio` | 52,044 | 16,
|
|
363
|
-
| `rating` | 54,853 | 18,568 | 16,
|
|
364
|
-
| `sandbox` |
|
|
365
|
-
| `scatter-chart` | 100,359 | 33,490 | 29,
|
|
366
|
-
| `scroll-area` | 35,927 | 12,124 | 10,775 | 14,171 | 3,614 | 2,
|
|
367
|
-
| `select` |
|
|
368
|
-
| `skeleton` | 26,249 | 9,673 | 8,622 | 5,046 | 1,
|
|
369
|
-
| `skip-link` | 27,440 | 10,
|
|
370
|
-
| `slider` | 66,083 | 19,461 | 17,
|
|
371
|
-
| `sparkline` | 53,434 | 18,855 | 16,820 | 11,709 | 3,
|
|
372
|
-
| `speed-dial` | 78,181 | 26,527 | 23,
|
|
373
|
-
| `splitter` | 48,468 | 15,508 | 13,849 | 20,501 | 4,
|
|
374
|
-
| `stat` | 29,023 | 10,425 | 9,301 | 6,493 | 1,556 | 1,
|
|
375
|
-
| `steps` | 68,554 | 21,280 | 18,
|
|
376
|
-
| `switch` | 45,145 | 14,988 | 13,352 | 6,633 | 1,
|
|
377
|
-
| `table` |
|
|
378
|
-
| `tabs` | 58,882 | 18,542 | 16,
|
|
379
|
-
| `tag` | 48,664 | 16,977 | 15,
|
|
380
|
-
| `text` | 28,979 | 10,064 | 8,
|
|
381
|
-
| `textarea` | 49,617 | 16,410 | 14,
|
|
382
|
-
| `time-input` |
|
|
383
|
-
| `time-picker` |
|
|
384
|
-
| `timeline` |
|
|
385
|
-
| `toast` |
|
|
386
|
-
| `toggle` | 50,029 | 15,
|
|
387
|
-
| `toolbar` | 35,714 | 12,714 | 11,337 | 8,486 | 2,168 | 1,
|
|
388
|
-
| `tooltip` | 61,569 | 21,
|
|
389
|
-
| `tour` | 94,721 | 30,
|
|
390
|
-
| `tree` | 77,877 | 24,737 | 22,
|
|
391
|
-
| `trend` | 32,227 | 12,323 | 10,
|
|
392
|
-
| `video` |
|
|
393
|
-
| `video-playlist` |
|
|
394
|
-
| `virtual-list` |
|
|
291
|
+
| `accordion` | 36,857 | 12,853 | 11,432 | 10,114 | 2,582 | 2,056 |
|
|
292
|
+
| `announcement` | 43,555 | 15,040 | 13,456 | 9,929 | 2,558 | 1,919 |
|
|
293
|
+
| `app-header` | 36,560 | 12,921 | 11,539 | 10,729 | 2,728 | 2,181 |
|
|
294
|
+
| `area-chart` | 98,956 | 33,403 | 29,511 | 23,084 | 6,359 | 5,124 |
|
|
295
|
+
| `aura` | 51,474 | 17,766 | 15,763 | 28,066 | 8,781 | 7,513 |
|
|
296
|
+
| `avatar` | 35,062 | 12,677 | 11,325 | 8,216 | 2,032 | 1,615 |
|
|
297
|
+
| `badge` | 32,752 | 11,796 | 10,507 | 9,034 | 2,172 | 1,761 |
|
|
298
|
+
| `bar-chart` | 107,347 | 35,190 | 31,103 | 31,330 | 8,078 | 6,561 |
|
|
299
|
+
| `blockquote` | 26,860 | 10,107 | 8,937 | 5,285 | 1,465 | 1,112 |
|
|
300
|
+
| `breadcrumbs` | 43,908 | 15,129 | 13,486 | 15,581 | 3,734 | 3,093 |
|
|
301
|
+
| `button` | 44,830 | 14,942 | 13,372 | 12,212 | 2,974 | 2,331 |
|
|
302
|
+
| `button-group` | 30,331 | 10,838 | 9,629 | 7,904 | 1,919 | 1,507 |
|
|
303
|
+
| `callout` | 38,026 | 14,059 | 12,523 | 5,773 | 1,519 | 1,234 |
|
|
304
|
+
| `canvas` | 119,127 | 35,188 | 30,676 | 78,932 | 21,506 | 17,651 |
|
|
305
|
+
| `card` | 28,213 | 10,189 | 9,050 | 6,662 | 1,692 | 1,324 |
|
|
306
|
+
| `carousel` | 54,175 | 17,280 | 15,491 | 26,184 | 6,101 | 4,902 |
|
|
307
|
+
| `chat` | 86,151 | 26,480 | 23,484 | 37,403 | 9,337 | 7,465 |
|
|
308
|
+
| `checkbox` | 48,432 | 15,531 | 13,861 | 10,201 | 2,515 | 1,880 |
|
|
309
|
+
| `checkbox-group` | 56,127 | 17,391 | 15,485 | 16,779 | 4,090 | 3,128 |
|
|
310
|
+
| `code` | 21,671 | 8,472 | 7,490 | 1,639 | 527 | 325 |
|
|
311
|
+
| `code-block` | 115,146 | 35,038 | 31,153 | 48,823 | 10,867 | 8,853 |
|
|
312
|
+
| `color-input` | 182,662 | 50,146 | 43,852 | 95,902 | 19,637 | 16,324 |
|
|
313
|
+
| `color-picker` | 138,192 | 37,367 | 32,791 | 81,912 | 17,310 | 14,183 |
|
|
314
|
+
| `combobox` | 160,958 | 47,305 | 41,517 | 62,374 | 14,194 | 11,340 |
|
|
315
|
+
| `command` | 113,433 | 33,602 | 29,518 | 46,217 | 11,188 | 8,888 |
|
|
316
|
+
| `copy-button` | 95,770 | 30,370 | 26,910 | 31,336 | 7,081 | 5,581 |
|
|
317
|
+
| `data-table` | 274,422 | 76,006 | 62,637 | 165,391 | 39,397 | 29,669 |
|
|
318
|
+
| `date-input` | 161,337 | 46,731 | 41,005 | 60,919 | 13,514 | 10,900 |
|
|
319
|
+
| `date-picker` | 64,983 | 20,675 | 18,477 | 25,951 | 6,251 | 4,951 |
|
|
320
|
+
| `description-list` | 27,039 | 9,669 | 8,577 | 5,841 | 1,361 | 985 |
|
|
321
|
+
| `dialog` | 45,798 | 15,662 | 13,933 | 11,623 | 3,107 | 2,412 |
|
|
322
|
+
| `divider` | 25,821 | 9,693 | 8,547 | 4,374 | 1,199 | 844 |
|
|
323
|
+
| `donut-chart` | 97,699 | 32,670 | 28,887 | 24,746 | 6,559 | 5,297 |
|
|
324
|
+
| `drawer` | 50,788 | 17,195 | 15,323 | 13,833 | 3,693 | 2,963 |
|
|
325
|
+
| `drilldown` | 51,171 | 16,880 | 15,055 | 16,519 | 4,067 | 3,239 |
|
|
326
|
+
| `empty` | 26,021 | 9,826 | 8,678 | 3,909 | 1,176 | 894 |
|
|
327
|
+
| `file-input` | 80,966 | 25,343 | 22,472 | 32,333 | 8,246 | 6,723 |
|
|
328
|
+
| `filter-input` | 174,052 | 48,358 | 42,197 | 85,526 | 18,161 | 14,666 |
|
|
329
|
+
| `flex` | 25,978 | 9,321 | 8,258 | 5,151 | 1,112 | 808 |
|
|
330
|
+
| `format-date` | 29,681 | 11,096 | 9,901 | 4,877 | 1,332 | 1,002 |
|
|
331
|
+
| `graph` | 82,966 | 25,102 | 22,265 | 32,476 | 8,040 | 6,410 |
|
|
332
|
+
| `grid` | 27,233 | 9,978 | 8,825 | 6,019 | 1,476 | 1,204 |
|
|
333
|
+
| `heatmap` | 102,310 | 34,080 | 30,118 | 24,708 | 6,537 | 5,226 |
|
|
334
|
+
| `icon` | 84,859 | 28,840 | 24,678 | 61,198 | 20,774 | 16,586 |
|
|
335
|
+
| `icon-button` | 46,612 | 14,931 | 13,336 | 13,995 | 2,966 | 2,286 |
|
|
336
|
+
| `image` | 27,417 | 10,071 | 8,935 | 5,868 | 1,673 | 1,285 |
|
|
337
|
+
| `input` | 52,486 | 17,525 | 15,470 | 12,104 | 3,553 | 2,565 |
|
|
338
|
+
| `kbd` | 29,864 | 11,148 | 9,870 | 6,135 | 1,683 | 1,290 |
|
|
339
|
+
| `legend` | 40,308 | 14,176 | 12,544 | 8,568 | 2,263 | 1,749 |
|
|
340
|
+
| `lightbox` | 60,817 | 19,445 | 17,284 | 22,419 | 5,624 | 4,314 |
|
|
341
|
+
| `line-chart` | 102,895 | 34,064 | 30,183 | 26,693 | 6,904 | 5,657 |
|
|
342
|
+
| `list` | 67,701 | 22,553 | 20,129 | 21,793 | 5,792 | 4,573 |
|
|
343
|
+
| `listbox` | 84,017 | 26,715 | 23,647 | 23,977 | 6,437 | 4,879 |
|
|
344
|
+
| `loader` | 30,830 | 11,357 | 10,102 | 5,871 | 1,600 | 1,278 |
|
|
345
|
+
| `map` | 119,234 | 30,517 | 26,572 | 77,051 | 16,195 | 12,883 |
|
|
346
|
+
| `megamenu` | 65,411 | 22,859 | 20,250 | 14,231 | 3,647 | 2,864 |
|
|
347
|
+
| `menu` | 105,807 | 33,354 | 29,511 | 38,717 | 8,944 | 7,141 |
|
|
348
|
+
| `meter` | 38,671 | 13,584 | 12,156 | 11,499 | 2,787 | 2,391 |
|
|
349
|
+
| `navigation` | 36,492 | 13,493 | 11,986 | 5,704 | 1,707 | 1,325 |
|
|
350
|
+
| `notifications` | 72,831 | 22,083 | 19,627 | 33,036 | 7,508 | 5,990 |
|
|
351
|
+
| `number-input` | 60,606 | 19,686 | 17,579 | 17,697 | 4,486 | 3,445 |
|
|
352
|
+
| `object-inspector` | 131,000 | 40,779 | 35,899 | 52,641 | 12,903 | 10,250 |
|
|
353
|
+
| `option` | 31,522 | 10,947 | 9,694 | 9,711 | 2,284 | 1,782 |
|
|
354
|
+
| `orb` | 36,192 | 13,879 | 12,411 | 9,445 | 3,551 | 2,838 |
|
|
355
|
+
| `outline` | 38,336 | 13,557 | 12,118 | 11,471 | 3,056 | 2,417 |
|
|
356
|
+
| `pagination` | 155,279 | 45,864 | 39,903 | 66,627 | 15,238 | 12,144 |
|
|
357
|
+
| `pin-input` | 51,419 | 17,458 | 15,643 | 10,717 | 3,207 | 2,430 |
|
|
358
|
+
| `popover` | 66,578 | 23,543 | 20,889 | 9,334 | 2,487 | 1,834 |
|
|
359
|
+
| `progress` | 36,267 | 12,634 | 11,273 | 10,810 | 2,634 | 2,248 |
|
|
360
|
+
| `qr-code` | 45,317 | 17,411 | 15,501 | 19,255 | 6,962 | 5,813 |
|
|
361
|
+
| `quote` | 23,589 | 9,214 | 8,124 | 2,411 | 823 | 599 |
|
|
362
|
+
| `radio` | 52,044 | 16,155 | 14,416 | 12,870 | 2,828 | 2,128 |
|
|
363
|
+
| `rating` | 54,853 | 18,568 | 16,525 | 12,259 | 3,642 | 2,757 |
|
|
364
|
+
| `sandbox` | 84,084 | 24,718 | 21,755 | 51,659 | 12,603 | 10,430 |
|
|
365
|
+
| `scatter-chart` | 100,359 | 33,490 | 29,553 | 25,580 | 6,968 | 5,621 |
|
|
366
|
+
| `scroll-area` | 35,927 | 12,124 | 10,775 | 14,171 | 3,614 | 2,852 |
|
|
367
|
+
| `select` | 133,248 | 40,963 | 35,931 | 45,209 | 10,685 | 8,438 |
|
|
368
|
+
| `skeleton` | 26,249 | 9,673 | 8,622 | 5,046 | 1,372 | 1,039 |
|
|
369
|
+
| `skip-link` | 27,440 | 10,500 | 9,298 | 3,439 | 1,064 | 783 |
|
|
370
|
+
| `slider` | 66,083 | 19,461 | 17,439 | 26,091 | 5,395 | 4,359 |
|
|
371
|
+
| `sparkline` | 53,434 | 18,855 | 16,820 | 11,709 | 3,429 | 2,800 |
|
|
372
|
+
| `speed-dial` | 78,181 | 26,527 | 23,560 | 19,115 | 4,334 | 3,392 |
|
|
373
|
+
| `splitter` | 48,468 | 15,508 | 13,849 | 20,501 | 4,845 | 3,862 |
|
|
374
|
+
| `stat` | 29,023 | 10,425 | 9,301 | 6,493 | 1,556 | 1,216 |
|
|
375
|
+
| `steps` | 68,554 | 21,280 | 18,954 | 27,966 | 6,372 | 5,146 |
|
|
376
|
+
| `switch` | 45,145 | 14,988 | 13,352 | 6,633 | 1,788 | 1,394 |
|
|
377
|
+
| `table` | 115,321 | 33,512 | 29,492 | 52,724 | 12,554 | 10,099 |
|
|
378
|
+
| `tabs` | 58,882 | 18,542 | 16,495 | 19,895 | 4,572 | 3,637 |
|
|
379
|
+
| `tag` | 48,664 | 16,977 | 15,122 | 13,867 | 3,574 | 2,811 |
|
|
380
|
+
| `text` | 28,979 | 10,064 | 8,869 | 7,767 | 1,545 | 1,173 |
|
|
381
|
+
| `textarea` | 49,617 | 16,410 | 14,656 | 9,791 | 2,637 | 1,967 |
|
|
382
|
+
| `time-input` | 196,532 | 55,850 | 48,460 | 79,182 | 17,551 | 14,119 |
|
|
383
|
+
| `time-picker` | 111,265 | 32,864 | 28,885 | 47,416 | 11,346 | 9,142 |
|
|
384
|
+
| `timeline` | 35,889 | 12,186 | 10,862 | 11,006 | 2,319 | 1,863 |
|
|
385
|
+
| `toast` | 58,703 | 19,635 | 17,466 | 19,524 | 5,155 | 4,087 |
|
|
386
|
+
| `toggle` | 50,029 | 15,925 | 14,181 | 11,796 | 3,072 | 2,394 |
|
|
387
|
+
| `toolbar` | 35,714 | 12,714 | 11,337 | 8,486 | 2,168 | 1,684 |
|
|
388
|
+
| `tooltip` | 61,569 | 21,794 | 19,332 | 11,642 | 3,139 | 2,479 |
|
|
389
|
+
| `tour` | 94,721 | 30,634 | 27,141 | 30,345 | 7,310 | 5,740 |
|
|
390
|
+
| `tree` | 77,877 | 24,737 | 22,057 | 27,121 | 7,086 | 5,621 |
|
|
391
|
+
| `trend` | 32,227 | 12,323 | 10,975 | 5,651 | 1,608 | 1,225 |
|
|
392
|
+
| `video` | 158,802 | 46,143 | 40,340 | 84,934 | 19,381 | 15,935 |
|
|
393
|
+
| `video-playlist` | 125,146 | 37,761 | 33,362 | 53,825 | 12,005 | 9,670 |
|
|
394
|
+
| `virtual-list` | 53,068 | 18,304 | 16,308 | 14,592 | 4,372 | 3,361 |
|
|
395
395
|
|
|
396
396
|
## What an install adds to `node_modules`
|
|
397
397
|
|
|
@@ -403,12 +403,12 @@ stripped column shows the bytes we removed.
|
|
|
403
403
|
|
|
404
404
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
405
405
|
|---|---|---|---|---|
|
|
406
|
-
| `@fusion.dev/helix-core` | 2,
|
|
407
|
-
| `@fusion.dev/helix-headless` |
|
|
406
|
+
| `@fusion.dev/helix-core` | 2,317,555 | 525 | 656,164 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
407
|
+
| `@fusion.dev/helix-headless` | 20,283,644 | 676 | 1,954,958 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
408
408
|
| `@fusion.dev/helix-icons` | 150,509 | 21 | 48,154 | `svgo` |
|
|
409
409
|
| `@fusion.dev/helix-styles` | 110,707 | 6 | 0 | none |
|
|
410
410
|
| `@fusion.dev/helix-theme` | 528,598 | 8 | 5,393 | none |
|
|
411
|
-
| `@fusion.dev/helix` |
|
|
411
|
+
| `@fusion.dev/helix` | 20,324,664 | 922 | 408,932 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
412
412
|
|
|
413
413
|
## Not measured yet
|
|
414
414
|
|
package/content/sandbox.mdx
CHANGED
|
@@ -37,9 +37,14 @@ the value to the preview slotted into it. The source pane and the preview do not
|
|
|
37
37
|
reference each other, so you can replace either one or use it alone.
|
|
38
38
|
|
|
39
39
|
The event includes the pane's `name`, so one sandbox can hold several panes
|
|
40
|
-
without tracking which element sent each event.
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
without tracking which element sent each event. The names the sandbox reads:
|
|
41
|
+
|
|
42
|
+
- A pane named `html` sets the preview's markup.
|
|
43
|
+
- A pane named `css` sets its stylesheet.
|
|
44
|
+
- A pane named `js` sets a script, which runs as a module after the markup.
|
|
45
|
+
|
|
46
|
+
The sandbox ignores a pane with any other name, so that pane only displays its
|
|
47
|
+
contents.
|
|
43
48
|
|
|
44
49
|
A pane's text goes in its `value`. The pane renders no children. The sandbox
|
|
45
50
|
also hands each pane's `value` to the preview when it starts, so you write the
|
|
@@ -85,7 +90,16 @@ hides the quieter lines.
|
|
|
85
90
|
|
|
86
91
|
`helix-sandbox-preview` loads `src` into a sandboxed frame. You provide that
|
|
87
92
|
document. It loads the styles and the elements your examples use, and it talks
|
|
88
|
-
to the preview through `postMessage
|
|
93
|
+
to the preview through `postMessage`.
|
|
94
|
+
|
|
95
|
+
Without `src`, the preview loads a built-in document. It runs the example's
|
|
96
|
+
HTML, CSS, and scripts, and reports the console, uncaught errors, the height,
|
|
97
|
+
and presses, so a sandbox renders with nothing to host. It defines no element,
|
|
98
|
+
so set `src` to a document of your own when your examples use Helix
|
|
99
|
+
components. Its script is inline, so a page whose Content Security Policy
|
|
100
|
+
refuses inline scripts needs a `src` too.
|
|
101
|
+
|
|
102
|
+
The messages:
|
|
89
103
|
|
|
90
104
|
| Message | Sent by | What it carries |
|
|
91
105
|
|---|---|---|
|
|
@@ -106,8 +120,8 @@ it was given. The types are exported from `@fusion.dev/helix/sandbox` as
|
|
|
106
120
|
`servePreview` from `@fusion.dev/helix/sandbox` is that protocol, written for
|
|
107
121
|
you. Call it once in the frame document, after your elements are defined. It
|
|
108
122
|
writes each render into `#preview-root`, runs the example's scripts, relays
|
|
109
|
-
its console,
|
|
110
|
-
four layouts. A frame follows. `/helix.css` is the stylesheet from
|
|
123
|
+
its console, its uncaught errors, and its unhandled promise rejections,
|
|
124
|
+
reports its height and its presses, and adds the rules for the four layouts. A frame follows. `/helix.css` is the stylesheet from
|
|
111
125
|
`@fusion.dev/helix-styles`, and `/frame.js` is a classic script you bundle,
|
|
112
126
|
for the reason under "How the preview is isolated":
|
|
113
127
|
|