@fusion.dev/helix-docs 0.162.1 → 0.163.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 +219 -219
- package/content/sandbox.mdx +62 -0
- package/dist/sources.generated.js +281 -219
- 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` | 243,271 | 76,082 | 65,
|
|
49
|
+
| Lit and `@fusion.dev/helix-core` | 243,271 | 76,082 | 65,324 |
|
|
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` | 242,480 | 75,862 | 64,
|
|
61
|
-
| `@fusion.dev/helix-headless` | 1,
|
|
60
|
+
| `@fusion.dev/helix-core` | 242,480 | 75,862 | 64,932 | The element base class, mixins, decorators, and floating positioning. |
|
|
61
|
+
| `@fusion.dev/helix-headless` | 1,304,925 | 352,321 | 263,877 | 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,989,326 | 489,143 | 346,926 | 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
|
|
@@ -85,9 +85,9 @@ shows the whole cost of using the base layer on its own.
|
|
|
85
85
|
|
|
86
86
|
**Most of your first component is the shared runtime.** The median styled family is 17,641 bytes gzipped alone, and it adds 3,896 to a page that already has Helix. The shared runtime is 78 percent of the first component, and the component itself is 22 percent. Ten typical components cost the first number once, plus nine of the added number. The two columns in the tables below let you work that out for your own components.
|
|
87
87
|
|
|
88
|
-
Across the 105 styled components, the smallest is `code` at 8,471 bytes gzipped alone, and the largest is `data-table` at 78,687. Every family together is
|
|
88
|
+
Across the 105 styled components, the smallest is `code` at 8,471 bytes gzipped alone, and the largest is `data-table` at 78,687. Every family together is 489,143.
|
|
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 352,321 bytes gzipped, whatever else the page imports. That is 20 times the median family above. All 105 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,943 bytes gzipped alone.
|
|
93
93
|
|
|
@@ -101,43 +101,43 @@ 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,928 | 14,958 | 13,
|
|
104
|
+
| `button` | **Helix** | 44,928 | 14,958 | 13,334 |
|
|
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,455 | 15,536 | 13,
|
|
109
|
+
| `checkbox` | **Helix** | 48,455 | 15,536 | 13,906 |
|
|
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,991 |
|
|
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,998 | 16,415 | 14,
|
|
119
|
+
| `radio` | **Helix** | 52,998 | 16,415 | 14,651 |
|
|
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 |
|
|
123
123
|
| | Spectrum | 38,685 | 10,660 | 9,370 |
|
|
124
|
-
| `switch` | **Helix** | 45,168 | 14,993 | 13,
|
|
124
|
+
| `switch` | **Helix** | 45,168 | 14,993 | 13,384 |
|
|
125
125
|
| | Carbon | 69,423 | 17,127 | 14,764 |
|
|
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** | 60,289 | 18,
|
|
129
|
+
| `tabs` | **Helix** | 60,289 | 18,861 | 16,768 |
|
|
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,793 | 19,
|
|
134
|
+
| `tooltip` | **Helix** | 61,569 | 21,793 | 19,353 |
|
|
135
135
|
| | Carbon | 189,382 | 30,354 | 22,273 |
|
|
136
136
|
| | Material Web | | not shipped | |
|
|
137
137
|
| | Shoelace | 57,412 | 20,220 | 17,933 |
|
|
138
138
|
| | Spectrum | 136,599 | 40,552 | 35,286 |
|
|
139
139
|
|
|
140
|
-
At least one system is smaller than Helix on `button`, `checkbox`, `dialog`, `radio`, `switch`, `tabs`, `tooltip`. The largest gap is tabs against Material Web, at 6,
|
|
140
|
+
At least one system is smaller than Helix on `button`, `checkbox`, `dialog`, `radio`, `switch`, `tabs`, `tooltip`. The largest gap is tabs against Material Web, at 6,041 bytes gzipped. 14 of 27 peer measurements are smaller than the Helix row.
|
|
141
141
|
|
|
142
142
|
Helix's `radio` family includes Radio Group, so its row carries an element that some peer rows measure without.
|
|
143
143
|
|
|
@@ -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,622 | 6,019 | 1,783 | 1,
|
|
187
|
-
| `announcement` | 38,605 | 13,
|
|
188
|
-
| `app-header` | 33,875 | 12,387 | 11,
|
|
189
|
-
| `area-chart` | 90,314 | 31,515 | 27,
|
|
190
|
-
| `avatar` | 31,388 | 11,881 | 10,
|
|
191
|
-
| `badge` | 26,985 | 10,575 | 9,
|
|
192
|
-
| `bar-chart` | 93,279 | 32,362 | 28,
|
|
193
|
-
| `blockquote` | 24,289 | 9,537 | 8,445 | 2,731 | 1,
|
|
194
|
-
| `breadcrumbs` | 37,187 | 14,185 | 12,
|
|
195
|
-
| `button` | 37,806 | 13,511 | 12,
|
|
196
|
-
| `button-group` | 26,959 | 10,275 | 9,
|
|
197
|
-
| `callout` | 34,192 | 13,
|
|
198
|
-
| `canvas` |
|
|
199
|
-
| `card` | 23,959 | 9,
|
|
200
|
-
| `carousel` | 43,284 | 15,478 | 13,
|
|
201
|
-
| `chat` | 76,
|
|
202
|
-
| `checkbox` | 41,626 | 14,035 | 12,
|
|
203
|
-
| `checkbox-group` | 49,181 | 15,
|
|
204
|
-
| `code` | 20,483 | 8,
|
|
205
|
-
| `code-block` | 97,961 | 33,
|
|
206
|
-
| `color-input` | 141,874 | 44,649 | 38,
|
|
207
|
-
| `color-picker` | 103,180 | 32,
|
|
208
|
-
| `combobox` | 145,615 | 44,
|
|
209
|
-
| `command` | 103,552 | 31,913 | 28,
|
|
210
|
-
| `copy-button` | 82,784 | 28,243 | 25,
|
|
211
|
-
| `data-table` | 205,620 | 61,
|
|
212
|
-
| `date-input` | 151,045 | 46,638 | 40,
|
|
213
|
-
| `date-picker` | 61,252 | 20,771 | 18,
|
|
214
|
-
| `description-list` | 23,412 | 8,907 | 7,
|
|
215
|
-
| `dialog` | 40,318 | 14,
|
|
216
|
-
| `divider` | 23,173 | 9,044 |
|
|
217
|
-
| `donut-chart` | 87,568 | 30,596 | 27,
|
|
218
|
-
| `drawer` | 44,592 | 15,794 | 14,
|
|
219
|
-
| `drilldown` | 44,798 | 15,583 | 13,
|
|
220
|
-
| `empty` | 24,376 | 9,367 | 8,
|
|
221
|
-
| `file-input` | 68,980 | 23,163 | 20,
|
|
222
|
-
| `filter-input` |
|
|
223
|
-
| `format-date` | 29,574 | 11,120 | 9,
|
|
224
|
-
| `graph` | 68,435 | 22,610 | 20,
|
|
225
|
-
| `heatmap` | 94,729 | 32,469 | 28,
|
|
226
|
-
| `icon` | 82,676 | 28,314 | 24,
|
|
227
|
-
| `icon-button` | 38,243 | 13,549 | 12,087 | 5,645 | 1,657 | 1,
|
|
228
|
-
| `image` | 25,686 | 9,596 | 8,
|
|
229
|
-
| `input` | 47,929 | 16,474 | 14,
|
|
230
|
-
| `kbd` | 27,537 | 10,602 | 9,
|
|
231
|
-
| `legend` | 34,902 | 12,915 | 11,499 | 3,289 | 1,153 |
|
|
232
|
-
| `lightbox` | 55,574 | 18,601 | 16,
|
|
233
|
-
| `line-chart` | 91,349 | 31,685 | 28,
|
|
234
|
-
| `list` | 62,672 | 21,571 | 19,
|
|
235
|
-
| `listbox` | 80,959 | 26,144 | 23,
|
|
236
|
-
| `loader` | 27,624 | 10,570 | 9,
|
|
237
|
-
| `map` | 82,
|
|
238
|
-
| `megamenu` | 60,088 | 21,680 | 19,
|
|
239
|
-
| `menu` |
|
|
240
|
-
| `meter` | 32,441 | 12,316 | 10,
|
|
241
|
-
| `navigation` | 34,415 | 12,963 | 11,
|
|
242
|
-
| `notifications` | 59,486 | 19,787 | 17,
|
|
243
|
-
| `number-input` | 55,335 | 18,529 | 16,
|
|
244
|
-
| `object-inspector` | 113,777 | 38,004 | 33,
|
|
245
|
-
| `option` | 27,320 | 9,
|
|
246
|
-
| `outline` | 33,744 | 12,675 | 11,
|
|
247
|
-
| `pagination` | 137,418 | 43,043 | 37,
|
|
248
|
-
| `pin-input` | 47,750 | 16,548 | 14,
|
|
249
|
-
| `popover` | 63,077 | 22,776 | 20,
|
|
250
|
-
| `progress` | 28,742 | 11,015 | 9,784 | 3,305 | 1,088 |
|
|
251
|
-
| `qr-code` | 43,379 | 16,
|
|
252
|
-
| `quote` | 22,698 | 9,004 | 7,
|
|
253
|
-
| `radio` | 44,497 | 14,874 | 13,
|
|
254
|
-
| `rating` | 50,735 | 17,387 | 15,
|
|
255
|
-
| `scatter-chart` | 90,984 | 31,425 | 27,
|
|
256
|
-
| `scroll-area` | 30,549 | 11,168 | 9,
|
|
257
|
-
| `select` | 119,709 | 38,750 | 33,
|
|
258
|
-
| `skeleton` | 22,510 | 8,765 | 7,771 | 1,321 | 540 |
|
|
259
|
-
| `skip-link` | 25,535 | 10,013 | 8,
|
|
260
|
-
| `slider` | 53,576 | 17,965 | 16,
|
|
261
|
-
| `sparkline` | 47,807 | 17,538 | 15,
|
|
262
|
-
| `speed-dial` | 70,101 | 25,089 | 22,
|
|
263
|
-
| `splitter` | 44,037 | 15,347 | 13,
|
|
264
|
-
| `stat` | 25,480 | 9,
|
|
265
|
-
| `steps` | 53,
|
|
266
|
-
| `switch` | 40,480 | 13,850 | 12,
|
|
267
|
-
| `table` | 105,472 | 32,
|
|
268
|
-
| `tabs` | 50,292 | 16,
|
|
269
|
-
| `tag` | 44,315 | 16,
|
|
270
|
-
| `textarea` | 45,387 | 15,422 | 13,766 | 5,560 | 1,
|
|
271
|
-
| `time-input` | 177,629 | 53,
|
|
272
|
-
| `time-picker` | 99,954 | 31,093 | 27,
|
|
273
|
-
| `timeline` | 31,592 | 11,
|
|
274
|
-
| `toast` | 52,045 | 18,210 | 16,
|
|
275
|
-
| `toggle` | 45,823 | 15,
|
|
276
|
-
| `toolbar` | 32,696 | 12,204 | 10,
|
|
277
|
-
| `tooltip` | 58,421 | 21,
|
|
278
|
-
| `tour` | 85,861 | 29,166 | 25,
|
|
279
|
-
| `tree` | 69,440 | 23,073 | 20,
|
|
280
|
-
| `trend` | 30,375 | 11,
|
|
281
|
-
| `video` |
|
|
282
|
-
| `video-playlist` |
|
|
283
|
-
| `virtual-list` | 55,436 | 19,077 | 17,045 | 16,673 | 5,193 | 3,
|
|
186
|
+
| `accordion` | 32,745 | 11,983 | 10,622 | 6,019 | 1,783 | 1,152 |
|
|
187
|
+
| `announcement` | 38,605 | 13,963 | 12,440 | 5,014 | 1,554 | 1,011 |
|
|
188
|
+
| `app-header` | 33,875 | 12,387 | 11,030 | 6,138 | 1,900 | 1,232 |
|
|
189
|
+
| `area-chart` | 90,314 | 31,515 | 27,846 | 14,463 | 4,505 | 3,487 |
|
|
190
|
+
| `avatar` | 31,388 | 11,881 | 10,595 | 4,559 | 1,370 | 899 |
|
|
191
|
+
| `badge` | 26,985 | 10,575 | 9,395 | 3,276 | 1,067 | 689 |
|
|
192
|
+
| `bar-chart` | 93,279 | 32,362 | 28,626 | 17,281 | 5,311 | 4,175 |
|
|
193
|
+
| `blockquote` | 24,289 | 9,537 | 8,445 | 2,731 | 1,055 | 717 |
|
|
194
|
+
| `breadcrumbs` | 37,187 | 14,185 | 12,667 | 8,000 | 2,614 | 1,963 |
|
|
195
|
+
| `button` | 37,806 | 13,511 | 12,051 | 5,208 | 1,603 | 1,032 |
|
|
196
|
+
| `button-group` | 26,959 | 10,275 | 9,086 | 4,550 | 1,520 | 893 |
|
|
197
|
+
| `callout` | 34,192 | 13,166 | 11,682 | 1,971 | 753 | 452 |
|
|
198
|
+
| `canvas` | 102,310 | 32,410 | 28,436 | 62,479 | 18,852 | 15,458 |
|
|
199
|
+
| `card` | 23,959 | 9,173 | 8,133 | 2,422 | 796 | 449 |
|
|
200
|
+
| `carousel` | 43,284 | 15,478 | 13,788 | 15,311 | 4,369 | 3,278 |
|
|
201
|
+
| `chat` | 76,359 | 25,301 | 22,414 | 25,934 | 7,680 | 5,870 |
|
|
202
|
+
| `checkbox` | 41,626 | 14,035 | 12,580 | 3,391 | 1,109 | 543 |
|
|
203
|
+
| `checkbox-group` | 49,181 | 15,984 | 14,280 | 8,941 | 2,523 | 1,643 |
|
|
204
|
+
| `code` | 20,483 | 8,146 | 7,235 | 466 | 239 | -71 |
|
|
205
|
+
| `code-block` | 97,961 | 33,080 | 29,207 | 31,351 | 8,858 | 6,946 |
|
|
206
|
+
| `color-input` | 141,874 | 44,649 | 38,962 | 54,755 | 14,163 | 11,167 |
|
|
207
|
+
| `color-picker` | 103,180 | 32,674 | 28,615 | 46,540 | 12,536 | 9,853 |
|
|
208
|
+
| `combobox` | 145,615 | 44,868 | 39,327 | 45,624 | 11,333 | 8,827 |
|
|
209
|
+
| `command` | 103,552 | 31,913 | 28,032 | 34,443 | 9,029 | 6,958 |
|
|
210
|
+
| `copy-button` | 82,784 | 28,243 | 25,029 | 18,372 | 4,981 | 3,718 |
|
|
211
|
+
| `data-table` | 205,620 | 61,505 | 52,620 | 96,224 | 24,865 | 19,689 |
|
|
212
|
+
| `date-input` | 151,045 | 46,638 | 40,918 | 44,110 | 11,017 | 8,548 |
|
|
213
|
+
| `date-picker` | 61,252 | 20,771 | 18,644 | 20,220 | 5,595 | 4,309 |
|
|
214
|
+
| `description-list` | 23,412 | 8,907 | 7,880 | 2,225 | 686 | 331 |
|
|
215
|
+
| `dialog` | 40,318 | 14,393 | 12,800 | 6,164 | 1,903 | 1,356 |
|
|
216
|
+
| `divider` | 23,173 | 9,044 | 8,008 | 1,745 | 656 | 372 |
|
|
217
|
+
| `donut-chart` | 87,568 | 30,596 | 27,055 | 14,642 | 4,492 | 3,427 |
|
|
218
|
+
| `drawer` | 44,592 | 15,794 | 14,035 | 7,655 | 2,370 | 1,694 |
|
|
219
|
+
| `drilldown` | 44,798 | 15,583 | 13,882 | 10,162 | 2,847 | 1,972 |
|
|
220
|
+
| `empty` | 24,376 | 9,367 | 8,290 | 2,282 | 809 | 537 |
|
|
221
|
+
| `file-input` | 68,980 | 23,163 | 20,560 | 19,472 | 5,885 | 4,452 |
|
|
222
|
+
| `filter-input` | 139,426 | 42,827 | 37,391 | 51,160 | 12,768 | 9,961 |
|
|
223
|
+
| `format-date` | 29,574 | 11,120 | 9,928 | 4,613 | 1,402 | 833 |
|
|
224
|
+
| `graph` | 68,435 | 22,610 | 20,071 | 17,642 | 5,502 | 4,303 |
|
|
225
|
+
| `heatmap` | 94,729 | 32,469 | 28,661 | 17,151 | 5,034 | 3,914 |
|
|
226
|
+
| `icon` | 82,676 | 28,314 | 24,180 | 59,024 | 20,031 | 16,096 |
|
|
227
|
+
| `icon-button` | 38,243 | 13,549 | 12,087 | 5,645 | 1,657 | 1,079 |
|
|
228
|
+
| `image` | 25,686 | 9,596 | 8,494 | 4,159 | 1,309 | 914 |
|
|
229
|
+
| `input` | 47,929 | 16,474 | 14,558 | 7,542 | 2,567 | 1,682 |
|
|
230
|
+
| `kbd` | 27,537 | 10,602 | 9,372 | 3,825 | 1,276 | 808 |
|
|
231
|
+
| `legend` | 34,902 | 12,915 | 11,499 | 3,289 | 1,153 | 818 |
|
|
232
|
+
| `lightbox` | 55,574 | 18,601 | 16,550 | 16,477 | 4,624 | 3,312 |
|
|
233
|
+
| `line-chart` | 91,349 | 31,685 | 28,057 | 15,168 | 4,559 | 3,619 |
|
|
234
|
+
| `list` | 62,672 | 21,571 | 19,216 | 15,912 | 4,676 | 3,517 |
|
|
235
|
+
| `listbox` | 80,959 | 26,144 | 23,153 | 19,501 | 5,530 | 4,051 |
|
|
236
|
+
| `loader` | 27,624 | 10,570 | 9,381 | 2,682 | 976 | 508 |
|
|
237
|
+
| `map` | 82,956 | 25,079 | 21,855 | 40,792 | 10,669 | 8,107 |
|
|
238
|
+
| `megamenu` | 60,088 | 21,680 | 19,198 | 8,930 | 2,531 | 1,657 |
|
|
239
|
+
| `menu` | 94,505 | 31,356 | 27,686 | 27,322 | 6,985 | 5,227 |
|
|
240
|
+
| `meter` | 32,441 | 12,316 | 10,976 | 5,291 | 1,635 | 1,194 |
|
|
241
|
+
| `navigation` | 34,415 | 12,963 | 11,567 | 3,644 | 1,315 | 749 |
|
|
242
|
+
| `notifications` | 59,486 | 19,787 | 17,609 | 18,661 | 5,039 | 3,747 |
|
|
243
|
+
| `number-input` | 55,335 | 18,529 | 16,521 | 12,466 | 3,414 | 2,332 |
|
|
244
|
+
| `object-inspector` | 113,777 | 38,004 | 33,465 | 35,142 | 10,147 | 7,727 |
|
|
245
|
+
| `option` | 27,320 | 9,919 | 8,778 | 5,521 | 1,408 | 866 |
|
|
246
|
+
| `outline` | 33,744 | 12,675 | 11,283 | 6,894 | 2,299 | 1,468 |
|
|
247
|
+
| `pagination` | 137,418 | 43,043 | 37,394 | 47,349 | 12,082 | 9,271 |
|
|
248
|
+
| `pin-input` | 47,750 | 16,548 | 14,781 | 7,048 | 2,379 | 1,622 |
|
|
249
|
+
| `popover` | 63,077 | 22,776 | 20,175 | 5,853 | 1,781 | 1,090 |
|
|
250
|
+
| `progress` | 28,742 | 11,015 | 9,784 | 3,305 | 1,088 | 754 |
|
|
251
|
+
| `qr-code` | 43,379 | 16,926 | 15,039 | 17,336 | 6,509 | 5,344 |
|
|
252
|
+
| `quote` | 22,698 | 9,004 | 7,944 | 1,539 | 696 | 262 |
|
|
253
|
+
| `radio` | 44,497 | 14,874 | 13,263 | 4,432 | 1,382 | 806 |
|
|
254
|
+
| `rating` | 50,735 | 17,387 | 15,491 | 8,141 | 2,517 | 1,768 |
|
|
255
|
+
| `scatter-chart` | 90,984 | 31,425 | 27,713 | 16,225 | 4,898 | 3,771 |
|
|
256
|
+
| `scroll-area` | 30,549 | 11,168 | 9,879 | 8,810 | 2,749 | 1,949 |
|
|
257
|
+
| `select` | 119,709 | 38,750 | 33,940 | 30,253 | 8,111 | 6,006 |
|
|
258
|
+
| `skeleton` | 22,510 | 8,765 | 7,771 | 1,321 | 540 | 176 |
|
|
259
|
+
| `skip-link` | 25,535 | 10,013 | 8,877 | 1,553 | 625 | 385 |
|
|
260
|
+
| `slider` | 53,576 | 17,965 | 16,096 | 13,495 | 3,996 | 2,924 |
|
|
261
|
+
| `sparkline` | 47,807 | 17,538 | 15,679 | 6,103 | 2,238 | 1,598 |
|
|
262
|
+
| `speed-dial` | 70,101 | 25,089 | 22,244 | 11,056 | 2,997 | 2,122 |
|
|
263
|
+
| `splitter` | 44,037 | 15,347 | 13,696 | 14,377 | 3,923 | 2,981 |
|
|
264
|
+
| `stat` | 25,480 | 9,706 | 8,633 | 2,962 | 941 | 566 |
|
|
265
|
+
| `steps` | 53,974 | 18,662 | 16,576 | 13,375 | 3,801 | 2,737 |
|
|
266
|
+
| `switch` | 40,480 | 13,850 | 12,362 | 1,963 | 757 | 334 |
|
|
267
|
+
| `table` | 105,472 | 32,452 | 28,524 | 42,572 | 11,520 | 8,955 |
|
|
268
|
+
| `tabs` | 50,292 | 16,960 | 15,065 | 11,170 | 3,022 | 2,153 |
|
|
269
|
+
| `tag` | 44,315 | 16,106 | 14,383 | 8,673 | 2,568 | 1,787 |
|
|
270
|
+
| `textarea` | 45,387 | 15,422 | 13,766 | 5,560 | 1,733 | 1,081 |
|
|
271
|
+
| `time-input` | 177,629 | 53,955 | 46,650 | 54,912 | 13,782 | 10,732 |
|
|
272
|
+
| `time-picker` | 99,954 | 31,093 | 27,274 | 34,328 | 9,152 | 6,965 |
|
|
273
|
+
| `timeline` | 31,592 | 11,836 | 10,588 | 4,412 | 1,263 | 772 |
|
|
274
|
+
| `toast` | 52,045 | 18,210 | 16,168 | 12,792 | 3,710 | 2,677 |
|
|
275
|
+
| `toggle` | 45,823 | 15,059 | 13,389 | 6,703 | 2,029 | 1,366 |
|
|
276
|
+
| `toolbar` | 32,696 | 12,204 | 10,871 | 5,487 | 1,854 | 1,198 |
|
|
277
|
+
| `tooltip` | 58,421 | 21,041 | 18,729 | 8,513 | 2,490 | 1,755 |
|
|
278
|
+
| `tour` | 85,861 | 29,166 | 25,764 | 20,807 | 5,750 | 4,342 |
|
|
279
|
+
| `tree` | 69,440 | 23,073 | 20,533 | 17,795 | 5,237 | 3,909 |
|
|
280
|
+
| `trend` | 30,375 | 11,863 | 10,555 | 3,822 | 1,308 | 828 |
|
|
281
|
+
| `video` | 137,428 | 42,541 | 37,225 | 63,552 | 15,852 | 12,767 |
|
|
282
|
+
| `video-playlist` | 110,547 | 35,631 | 31,405 | 39,114 | 9,882 | 7,718 |
|
|
283
|
+
| `virtual-list` | 55,436 | 19,077 | 17,045 | 16,673 | 5,193 | 3,987 |
|
|
284
284
|
|
|
285
285
|
### Styled tier
|
|
286
286
|
|
|
@@ -288,111 +288,111 @@ 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,
|
|
292
|
-
| `announcement` | 43,541 | 15,
|
|
293
|
-
| `app-header` | 39,343 | 13,
|
|
294
|
-
| `area-chart` | 98,956 | 33,403 | 29,
|
|
295
|
-
| `aura` | 51,454 | 17,
|
|
296
|
-
| `avatar` | 35,062 | 12,677 | 11,
|
|
297
|
-
| `badge` | 32,752 | 11,796 | 10,
|
|
298
|
-
| `bar-chart` | 107,347 | 35,190 | 31,
|
|
299
|
-
| `blockquote` | 26,860 | 10,106 | 8,
|
|
300
|
-
| `breadcrumbs` | 44,841 | 15,419 | 13,
|
|
301
|
-
| `button` | 44,928 | 14,958 | 13,
|
|
302
|
-
| `button-group` | 30,815 | 10,972 | 9,
|
|
303
|
-
| `callout` | 38,012 | 14,051 | 12,
|
|
304
|
-
| `canvas` |
|
|
305
|
-
| `card` | 28,213 | 10,189 | 9,
|
|
306
|
-
| `carousel` | 54,175 | 17,279 | 15,
|
|
307
|
-
| `chat` | 92,
|
|
308
|
-
| `checkbox` | 48,455 | 15,536 | 13,
|
|
309
|
-
| `checkbox-group` | 57,081 | 17,641 | 15,
|
|
310
|
-
| `code` | 21,671 | 8,471 | 7,
|
|
311
|
-
| `code-block` | 120,939 | 36,672 | 32,
|
|
312
|
-
| `color-input` | 186,414 | 51,
|
|
313
|
-
| `color-picker` | 141,944 | 38,
|
|
314
|
-
| `combobox` | 162,811 | 47,930 | 41,
|
|
315
|
-
| `command` | 115,831 | 34,324 | 30,
|
|
316
|
-
| `copy-button` | 95,868 | 30,384 | 26,
|
|
317
|
-
| `data-table` | 284,721 | 78,687 | 64,
|
|
318
|
-
| `date-input` | 173,944 | 50,480 | 44,
|
|
319
|
-
| `date-picker` | 69,568 | 22,
|
|
320
|
-
| `description-list` | 27,039 | 9,669 | 8,577 | 5,841 | 1,483 |
|
|
321
|
-
| `dialog` | 45,798 | 15,662 | 13,
|
|
322
|
-
| `divider` | 25,821 | 9,692 | 8,572 | 4,376 | 1,328 |
|
|
323
|
-
| `donut-chart` | 97,699 | 32,670 | 28,
|
|
324
|
-
| `drawer` | 50,788 | 17,194 | 15,384 | 13,836 | 3,821 | 2,
|
|
325
|
-
| `drilldown` | 51,171 | 16,881 | 15,
|
|
326
|
-
| `empty` | 26,021 | 9,826 | 8,
|
|
327
|
-
| `file-input` | 81,908 | 25,608 | 22,
|
|
328
|
-
| `filter-input` | 174,
|
|
329
|
-
| `flex` | 25,978 | 9,320 | 8,
|
|
330
|
-
| `format-date` | 30,158 | 11,250 | 10,
|
|
331
|
-
| `graph` | 83,291 | 25,214 | 22,
|
|
332
|
-
| `grid` | 27,233 | 9,978 | 8,
|
|
333
|
-
| `heatmap` | 102,310 | 34,080 | 30,
|
|
334
|
-
| `icon` | 84,859 | 28,841 | 24,
|
|
335
|
-
| `icon-button` | 46,710 | 14,945 | 13,
|
|
336
|
-
| `image` | 27,417 | 10,
|
|
337
|
-
| `input` | 52,509 | 17,531 | 15,
|
|
338
|
-
| `kbd` | 29,864 | 11,147 | 9,
|
|
339
|
-
| `legend` | 40,308 | 14,177 | 12,
|
|
340
|
-
| `lightbox` | 62,568 | 19,959 | 17,
|
|
341
|
-
| `line-chart` | 102,895 | 34,062 | 30,
|
|
342
|
-
| `list` | 69,727 | 23,129 | 20,
|
|
343
|
-
| `listbox` | 85,732 | 27,278 | 24,
|
|
344
|
-
| `loader` | 30,830 | 11,357 | 10,
|
|
345
|
-
| `map` | 119,
|
|
346
|
-
| `megamenu` | 65,411 | 22,859 | 20,
|
|
347
|
-
| `menu` | 106,
|
|
348
|
-
| `meter` | 38,671 | 13,585 | 12,
|
|
349
|
-
| `navigation` | 36,492 | 13,493 | 11,
|
|
350
|
-
| `notifications` | 74,351 | 22,434 | 19,
|
|
351
|
-
| `number-input` | 60,643 | 19,693 | 17,
|
|
352
|
-
| `object-inspector` | 131,392 | 40,886 | 35,
|
|
353
|
-
| `option` | 31,522 | 10,
|
|
354
|
-
| `orb` | 36,192 | 13,879 | 12,
|
|
355
|
-
| `outline` | 38,336 | 13,557 | 12,
|
|
356
|
-
| `pagination` | 157,112 | 46,460 | 40,
|
|
357
|
-
| `pin-input` | 51,442 | 17,
|
|
358
|
-
| `popover` | 66,578 | 23,543 | 20,
|
|
359
|
-
| `progress` | 36,291 | 12,645 | 11,
|
|
360
|
-
| `qr-code` | 45,317 | 17,
|
|
361
|
-
| `quote` | 23,589 | 9,213 | 8,
|
|
362
|
-
| `radio` | 52,998 | 16,415 | 14,
|
|
363
|
-
| `rating` | 54,876 | 18,572 | 16,
|
|
364
|
-
| `sandbox` |
|
|
365
|
-
| `scatter-chart` | 100,359 | 33,
|
|
366
|
-
| `scroll-area` | 35,927 | 12,123 | 10,
|
|
367
|
-
| `select` | 135,081 | 41,
|
|
368
|
-
| `skeleton` | 26,269 | 9,
|
|
369
|
-
| `skip-link` | 27,440 | 10,499 | 9,
|
|
370
|
-
| `slider` | 68,986 | 20,306 | 18,
|
|
371
|
-
| `sparkline` | 53,434 | 18,855 | 16,
|
|
372
|
-
| `speed-dial` | 78,181 | 26,
|
|
373
|
-
| `splitter` | 50,478 | 16,416 | 14,
|
|
374
|
-
| `stat` | 29,023 | 10,425 | 9,
|
|
375
|
-
| `steps` | 69,
|
|
376
|
-
| `strands` | 49,560 | 17,761 | 15,
|
|
377
|
-
| `switch` | 45,168 | 14,993 | 13,
|
|
378
|
-
| `table` | 124,023 | 35,
|
|
379
|
-
| `tabs` | 60,289 | 18,
|
|
380
|
-
| `tag` | 49,583 | 17,259 | 15,
|
|
381
|
-
| `text` | 28,979 | 10,064 | 8,
|
|
382
|
-
| `textarea` | 49,640 | 16,417 | 14,
|
|
383
|
-
| `time-input` | 205,046 | 58,387 | 50,
|
|
384
|
-
| `time-picker` | 113,994 | 33,635 | 29,
|
|
385
|
-
| `timeline` | 39,191 | 13,319 | 11,
|
|
386
|
-
| `toast` | 60,654 | 20,080 | 17,
|
|
387
|
-
| `toggle` | 51,377 | 16,321 | 14,
|
|
388
|
-
| `toolbar` | 35,714 | 12,713 | 11,
|
|
389
|
-
| `tooltip` | 61,569 | 21,793 | 19,
|
|
390
|
-
| `tour` | 97,236 | 31,268 | 27,
|
|
391
|
-
| `tree` | 78,853 | 25,011 | 22,
|
|
392
|
-
| `trend` | 32,227 | 12,323 |
|
|
393
|
-
| `video` | 159,
|
|
394
|
-
| `video-playlist` |
|
|
395
|
-
| `virtual-list` | 57,510 | 19,580 | 17,
|
|
291
|
+
| `accordion` | 36,857 | 12,853 | 11,432 | 10,116 | 2,686 | 1,913 |
|
|
292
|
+
| `announcement` | 43,541 | 15,032 | 13,457 | 9,931 | 2,689 | 1,972 |
|
|
293
|
+
| `app-header` | 39,343 | 13,599 | 12,097 | 11,591 | 3,144 | 2,367 |
|
|
294
|
+
| `area-chart` | 98,956 | 33,403 | 29,449 | 23,086 | 6,434 | 5,169 |
|
|
295
|
+
| `aura` | 51,454 | 17,759 | 15,701 | 27,662 | 8,676 | 7,123 |
|
|
296
|
+
| `avatar` | 35,062 | 12,677 | 11,329 | 8,218 | 2,175 | 1,584 |
|
|
297
|
+
| `badge` | 32,752 | 11,796 | 10,480 | 9,034 | 2,318 | 1,766 |
|
|
298
|
+
| `bar-chart` | 107,347 | 35,190 | 31,135 | 31,330 | 8,154 | 6,490 |
|
|
299
|
+
| `blockquote` | 26,860 | 10,106 | 8,936 | 5,287 | 1,605 | 1,167 |
|
|
300
|
+
| `breadcrumbs` | 44,841 | 15,419 | 13,775 | 15,636 | 3,896 | 3,058 |
|
|
301
|
+
| `button` | 44,928 | 14,958 | 13,334 | 12,314 | 3,104 | 2,302 |
|
|
302
|
+
| `button-group` | 30,815 | 10,972 | 9,751 | 8,394 | 2,223 | 1,584 |
|
|
303
|
+
| `callout` | 38,012 | 14,051 | 12,519 | 5,773 | 1,656 | 1,217 |
|
|
304
|
+
| `canvas` | 124,447 | 36,625 | 31,957 | 84,259 | 22,843 | 18,800 |
|
|
305
|
+
| `card` | 28,213 | 10,189 | 9,048 | 6,662 | 1,816 | 1,289 |
|
|
306
|
+
| `carousel` | 54,175 | 17,279 | 15,411 | 26,186 | 6,221 | 4,856 |
|
|
307
|
+
| `chat` | 92,257 | 28,023 | 24,779 | 41,828 | 10,449 | 8,283 |
|
|
308
|
+
| `checkbox` | 48,455 | 15,536 | 13,906 | 10,203 | 2,659 | 1,903 |
|
|
309
|
+
| `checkbox-group` | 57,081 | 17,641 | 15,716 | 16,834 | 4,254 | 3,087 |
|
|
310
|
+
| `code` | 21,671 | 8,471 | 7,490 | 1,639 | 570 | 313 |
|
|
311
|
+
| `code-block` | 120,939 | 36,672 | 32,406 | 54,316 | 12,561 | 10,098 |
|
|
312
|
+
| `color-input` | 186,414 | 51,069 | 44,659 | 99,287 | 20,695 | 16,882 |
|
|
313
|
+
| `color-picker` | 141,944 | 38,354 | 33,616 | 85,292 | 18,342 | 14,862 |
|
|
314
|
+
| `combobox` | 162,811 | 47,930 | 41,991 | 62,801 | 14,394 | 11,510 |
|
|
315
|
+
| `command` | 115,831 | 34,324 | 30,168 | 46,714 | 11,484 | 9,155 |
|
|
316
|
+
| `copy-button` | 95,868 | 30,384 | 26,918 | 31,439 | 7,189 | 5,506 |
|
|
317
|
+
| `data-table` | 284,721 | 78,687 | 64,403 | 174,117 | 41,821 | 31,183 |
|
|
318
|
+
| `date-input` | 173,944 | 50,480 | 44,306 | 66,988 | 14,917 | 12,050 |
|
|
319
|
+
| `date-picker` | 69,568 | 22,235 | 19,870 | 28,515 | 7,042 | 5,476 |
|
|
320
|
+
| `description-list` | 27,039 | 9,669 | 8,577 | 5,841 | 1,483 | 1,020 |
|
|
321
|
+
| `dialog` | 45,798 | 15,662 | 13,991 | 11,625 | 3,211 | 2,454 |
|
|
322
|
+
| `divider` | 25,821 | 9,692 | 8,572 | 4,376 | 1,328 | 919 |
|
|
323
|
+
| `donut-chart` | 97,699 | 32,670 | 28,862 | 24,752 | 6,627 | 5,191 |
|
|
324
|
+
| `drawer` | 50,788 | 17,194 | 15,384 | 13,836 | 3,821 | 2,932 |
|
|
325
|
+
| `drilldown` | 51,171 | 16,881 | 15,088 | 16,523 | 4,208 | 3,234 |
|
|
326
|
+
| `empty` | 26,021 | 9,826 | 8,678 | 3,909 | 1,281 | 848 |
|
|
327
|
+
| `file-input` | 81,908 | 25,608 | 22,705 | 32,392 | 8,370 | 6,782 |
|
|
328
|
+
| `filter-input` | 174,878 | 48,616 | 42,366 | 86,233 | 18,453 | 14,833 |
|
|
329
|
+
| `flex` | 25,978 | 9,320 | 8,258 | 5,154 | 1,207 | 885 |
|
|
330
|
+
| `format-date` | 30,158 | 11,250 | 10,041 | 5,181 | 1,541 | 1,071 |
|
|
331
|
+
| `graph` | 83,291 | 25,214 | 22,320 | 32,479 | 8,169 | 6,486 |
|
|
332
|
+
| `grid` | 27,233 | 9,978 | 8,825 | 6,021 | 1,637 | 1,187 |
|
|
333
|
+
| `heatmap` | 102,310 | 34,080 | 30,021 | 24,713 | 6,624 | 5,093 |
|
|
334
|
+
| `icon` | 84,859 | 28,841 | 24,748 | 61,200 | 20,510 | 16,718 |
|
|
335
|
+
| `icon-button` | 46,710 | 14,945 | 13,347 | 14,097 | 3,135 | 2,339 |
|
|
336
|
+
| `image` | 27,417 | 10,071 | 8,935 | 5,872 | 1,798 | 1,331 |
|
|
337
|
+
| `input` | 52,509 | 17,531 | 15,513 | 12,105 | 3,677 | 2,620 |
|
|
338
|
+
| `kbd` | 29,864 | 11,147 | 9,875 | 6,137 | 1,825 | 1,244 |
|
|
339
|
+
| `legend` | 40,308 | 14,177 | 12,543 | 8,570 | 2,397 | 1,757 |
|
|
340
|
+
| `lightbox` | 62,568 | 19,959 | 17,738 | 23,449 | 5,989 | 4,512 |
|
|
341
|
+
| `line-chart` | 102,895 | 34,062 | 30,166 | 26,698 | 7,003 | 5,561 |
|
|
342
|
+
| `list` | 69,727 | 23,129 | 20,644 | 22,944 | 6,238 | 4,775 |
|
|
343
|
+
| `listbox` | 85,732 | 27,278 | 24,032 | 24,254 | 6,646 | 4,972 |
|
|
344
|
+
| `loader` | 30,830 | 11,357 | 10,102 | 5,870 | 1,780 | 1,234 |
|
|
345
|
+
| `map` | 119,571 | 30,618 | 26,649 | 77,400 | 16,386 | 13,032 |
|
|
346
|
+
| `megamenu` | 65,411 | 22,859 | 20,259 | 14,235 | 3,750 | 2,669 |
|
|
347
|
+
| `menu` | 106,645 | 33,573 | 29,601 | 39,453 | 9,200 | 7,196 |
|
|
348
|
+
| `meter` | 38,671 | 13,585 | 12,164 | 11,502 | 2,914 | 2,312 |
|
|
349
|
+
| `navigation` | 36,492 | 13,493 | 11,986 | 5,706 | 1,842 | 1,283 |
|
|
350
|
+
| `notifications` | 74,351 | 22,434 | 19,996 | 33,516 | 7,686 | 6,147 |
|
|
351
|
+
| `number-input` | 60,643 | 19,693 | 17,558 | 17,758 | 4,632 | 3,433 |
|
|
352
|
+
| `object-inspector` | 131,392 | 40,886 | 35,950 | 52,741 | 13,063 | 10,403 |
|
|
353
|
+
| `option` | 31,522 | 10,948 | 9,689 | 9,715 | 2,436 | 1,752 |
|
|
354
|
+
| `orb` | 36,192 | 13,879 | 12,417 | 9,445 | 3,662 | 2,955 |
|
|
355
|
+
| `outline` | 38,336 | 13,557 | 12,074 | 11,471 | 3,211 | 2,405 |
|
|
356
|
+
| `pagination` | 157,112 | 46,460 | 40,413 | 67,029 | 15,499 | 12,222 |
|
|
357
|
+
| `pin-input` | 51,442 | 17,462 | 15,592 | 10,721 | 3,337 | 2,452 |
|
|
358
|
+
| `popover` | 66,578 | 23,543 | 20,962 | 9,337 | 2,609 | 1,815 |
|
|
359
|
+
| `progress` | 36,291 | 12,645 | 11,283 | 10,837 | 2,757 | 2,236 |
|
|
360
|
+
| `qr-code` | 45,317 | 17,412 | 15,499 | 19,258 | 7,030 | 5,735 |
|
|
361
|
+
| `quote` | 23,589 | 9,213 | 8,124 | 2,413 | 907 | 519 |
|
|
362
|
+
| `radio` | 52,998 | 16,415 | 14,651 | 12,923 | 2,986 | 2,229 |
|
|
363
|
+
| `rating` | 54,876 | 18,572 | 16,533 | 12,265 | 3,740 | 2,785 |
|
|
364
|
+
| `sandbox` | 90,291 | 26,253 | 23,032 | 57,734 | 14,136 | 11,455 |
|
|
365
|
+
| `scatter-chart` | 100,359 | 33,492 | 29,577 | 25,579 | 7,032 | 5,542 |
|
|
366
|
+
| `scroll-area` | 35,927 | 12,123 | 10,763 | 14,171 | 3,746 | 2,838 |
|
|
367
|
+
| `select` | 135,081 | 41,564 | 36,462 | 45,609 | 10,929 | 8,429 |
|
|
368
|
+
| `skeleton` | 26,269 | 9,683 | 8,610 | 5,066 | 1,496 | 1,132 |
|
|
369
|
+
| `skip-link` | 27,440 | 10,499 | 9,298 | 3,441 | 1,155 | 738 |
|
|
370
|
+
| `slider` | 68,986 | 20,306 | 18,209 | 28,886 | 6,378 | 5,017 |
|
|
371
|
+
| `sparkline` | 53,434 | 18,855 | 16,820 | 11,713 | 3,582 | 2,725 |
|
|
372
|
+
| `speed-dial` | 78,181 | 26,523 | 23,607 | 19,119 | 4,488 | 3,452 |
|
|
373
|
+
| `splitter` | 50,478 | 16,416 | 14,669 | 20,798 | 5,015 | 3,966 |
|
|
374
|
+
| `stat` | 29,023 | 10,425 | 9,301 | 6,495 | 1,691 | 1,177 |
|
|
375
|
+
| `steps` | 69,193 | 21,484 | 19,093 | 28,579 | 6,685 | 5,217 |
|
|
376
|
+
| `strands` | 49,560 | 17,761 | 15,781 | 25,615 | 8,441 | 7,075 |
|
|
377
|
+
| `switch` | 45,168 | 14,993 | 13,384 | 6,635 | 1,948 | 1,308 |
|
|
378
|
+
| `table` | 124,023 | 35,493 | 31,255 | 61,120 | 14,603 | 11,701 |
|
|
379
|
+
| `tabs` | 60,289 | 18,861 | 16,768 | 21,157 | 4,989 | 3,815 |
|
|
380
|
+
| `tag` | 49,583 | 17,259 | 15,377 | 13,923 | 3,742 | 2,846 |
|
|
381
|
+
| `text` | 28,979 | 10,064 | 8,883 | 7,770 | 1,675 | 1,195 |
|
|
382
|
+
| `textarea` | 49,640 | 16,417 | 14,673 | 9,795 | 2,748 | 1,958 |
|
|
383
|
+
| `time-input` | 205,046 | 58,387 | 50,564 | 82,310 | 18,290 | 14,629 |
|
|
384
|
+
| `time-picker` | 113,994 | 33,635 | 29,513 | 48,360 | 11,731 | 9,184 |
|
|
385
|
+
| `timeline` | 39,191 | 13,319 | 11,907 | 12,004 | 2,765 | 2,099 |
|
|
386
|
+
| `toast` | 60,654 | 20,080 | 17,858 | 21,388 | 5,679 | 4,396 |
|
|
387
|
+
| `toggle` | 51,377 | 16,321 | 14,504 | 12,243 | 3,348 | 2,401 |
|
|
388
|
+
| `toolbar` | 35,714 | 12,713 | 11,337 | 8,488 | 2,359 | 1,664 |
|
|
389
|
+
| `tooltip` | 61,569 | 21,793 | 19,353 | 11,643 | 3,266 | 2,473 |
|
|
390
|
+
| `tour` | 97,236 | 31,268 | 27,662 | 32,164 | 7,884 | 6,118 |
|
|
391
|
+
| `tree` | 78,853 | 25,011 | 22,232 | 27,190 | 7,249 | 5,740 |
|
|
392
|
+
| `trend` | 32,227 | 12,323 | 10,976 | 5,655 | 1,796 | 1,293 |
|
|
393
|
+
| `video` | 159,561 | 46,370 | 40,572 | 85,669 | 19,732 | 16,041 |
|
|
394
|
+
| `video-playlist` | 128,270 | 38,586 | 34,016 | 56,813 | 12,854 | 10,368 |
|
|
395
|
+
| `virtual-list` | 57,510 | 19,580 | 17,468 | 18,727 | 5,681 | 4,365 |
|
|
396
396
|
|
|
397
397
|
## What an install adds to `node_modules`
|
|
398
398
|
|
|
@@ -405,11 +405,11 @@ stripped column shows the bytes we removed.
|
|
|
405
405
|
| Package | Unpacked | Files | Source maps stripped | Runtime dependencies |
|
|
406
406
|
|---|---|---|---|---|
|
|
407
407
|
| `@fusion.dev/helix-core` | 2,379,170 | 533 | 683,250 | `@floating-ui/dom`, `@fusion.dev/helix-icons` |
|
|
408
|
-
| `@fusion.dev/helix-headless` | 20,
|
|
408
|
+
| `@fusion.dev/helix-headless` | 20,831,353 | 676 | 2,054,944 | `@fusion.dev/helix-core`, `@fusion.dev/helix-icons`, `uqr` |
|
|
409
409
|
| `@fusion.dev/helix-icons` | 150,509 | 21 | 48,154 | `svgo` |
|
|
410
410
|
| `@fusion.dev/helix-styles` | 110,819 | 6 | 0 | none |
|
|
411
411
|
| `@fusion.dev/helix-theme` | 528,598 | 8 | 5,393 | none |
|
|
412
|
-
| `@fusion.dev/helix` | 20,
|
|
412
|
+
| `@fusion.dev/helix` | 20,969,784 | 940 | 467,010 | `@fusion.dev/helix-core`, `@fusion.dev/helix-headless`, `@fusion.dev/helix-styles` |
|
|
413
413
|
|
|
414
414
|
## Not measured yet
|
|
415
415
|
|
package/content/sandbox.mdx
CHANGED
|
@@ -73,6 +73,59 @@ first edit.
|
|
|
73
73
|
Cancel `helix-before-edit` to refuse an edit. The pane keeps its text, and the
|
|
74
74
|
preview does not receive the refused one.
|
|
75
75
|
|
|
76
|
+
Several source panes are files. The sandbox shows one at a time under a row of
|
|
77
|
+
tabs, each named by the pane's `label` or, without one, its `name`, and `file`
|
|
78
|
+
holds the `name` of the pane shown. The arrow keys move between the tabs, and
|
|
79
|
+
`Home` and `End` go to the first and the last. Choosing a tab sends
|
|
80
|
+
`helix-before-change` with the pane's `name`, which you can cancel, and
|
|
81
|
+
`change` once `file` holds it. The panes not shown carry `hidden`.
|
|
82
|
+
|
|
83
|
+
## Your own editor
|
|
84
|
+
|
|
85
|
+
Any element can be the source pane. Put it in the `source` slot, give it a
|
|
86
|
+
`name`, and dispatch `helix-before-edit` with its text on each change, bubbling,
|
|
87
|
+
as `helix-sandbox-source` does. The sandbox reads its `value` to seed the
|
|
88
|
+
preview, and `helix-caret` from it fills the status bar's position. A wrapper
|
|
89
|
+
around CodeMirror:
|
|
90
|
+
|
|
91
|
+
```ts
|
|
92
|
+
import { HelixBeforeEditEvent } from '@fusion.dev/helix'
|
|
93
|
+
import { EditorView, basicSetup } from 'codemirror'
|
|
94
|
+
|
|
95
|
+
class CodeEditor extends HTMLElement {
|
|
96
|
+
name = this.getAttribute('name') ?? 'html'
|
|
97
|
+
value = this.getAttribute('value') ?? ''
|
|
98
|
+
|
|
99
|
+
connectedCallback() {
|
|
100
|
+
new EditorView({
|
|
101
|
+
doc: this.value,
|
|
102
|
+
extensions: [
|
|
103
|
+
basicSetup,
|
|
104
|
+
EditorView.updateListener.of((update) => {
|
|
105
|
+
if (update.docChanged) {
|
|
106
|
+
this.value = update.state.doc.toString()
|
|
107
|
+
this.dispatchEvent(new HelixBeforeEditEvent({ value: this.value }))
|
|
108
|
+
}
|
|
109
|
+
}),
|
|
110
|
+
],
|
|
111
|
+
parent: this,
|
|
112
|
+
})
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
customElements.define('code-editor', CodeEditor)
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
```html
|
|
119
|
+
<helix-sandbox>
|
|
120
|
+
<code-editor
|
|
121
|
+
name="html"
|
|
122
|
+
slot="source"
|
|
123
|
+
value="<p>Hello</p>"
|
|
124
|
+
></code-editor>
|
|
125
|
+
<helix-sandbox-preview slot="preview"></helix-sandbox-preview>
|
|
126
|
+
</helix-sandbox>
|
|
127
|
+
```
|
|
128
|
+
|
|
76
129
|
In a source pane, Tab inserts two spaces. Shift+Tab moves focus back, and
|
|
77
130
|
Escape then Tab moves it forward. The field's description says this to a
|
|
78
131
|
screen reader.
|
|
@@ -86,6 +139,15 @@ Set `controls` on `helix-sandbox-terminal` for a clear button and a level
|
|
|
86
139
|
filter above the log. Without them, `clear()` empties the log, and `level`
|
|
87
140
|
hides the quieter lines.
|
|
88
141
|
|
|
142
|
+
Set `controls` on `helix-sandbox-preview` for a reload button and a button that
|
|
143
|
+
opens the example in a new tab, in the preview's corner. Without them,
|
|
144
|
+
`reload()` and `open()` do the same. The tab runs the example in a frame
|
|
145
|
+
sandboxed as the preview's own is.
|
|
146
|
+
|
|
147
|
+
An error the example throws and does not catch shows over the preview, in its
|
|
148
|
+
`error` part, until the next source is sent. Hide the part where you draw your
|
|
149
|
+
own message from `:state(failed)`.
|
|
150
|
+
|
|
89
151
|
## The frame document
|
|
90
152
|
|
|
91
153
|
`helix-sandbox-preview` loads `src` into a sandboxed frame. You provide that
|