@fusion.dev/helix 0.4.2 → 0.4.4

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.
Files changed (56) hide show
  1. package/custom-elements.json +119 -119
  2. package/dist/aura/root/aura-root.d.ts +10 -31
  3. package/dist/badge/root/badge-root.css.js +3 -3
  4. package/dist/bar-chart/root/bar-chart-root.css.js +7 -9
  5. package/dist/button/root/button-root.d.ts +1 -1
  6. package/dist/button/root/button-root.js +1 -1
  7. package/dist/button-group/root/button-group-root.css.js +3 -3
  8. package/dist/callout/root/callout-root.css.js +1 -2
  9. package/dist/card/root/card-root.css.js +6 -8
  10. package/dist/carousel/root/carousel-root.css.js +2 -2
  11. package/dist/checkbox/root/checkbox-root.css.js +3 -4
  12. package/dist/copy-button/root/copy-button-root.d.ts +1 -1
  13. package/dist/copy-button/root/copy-button-root.js +1 -1
  14. package/dist/date-input/root/date-input-root.css.js +1 -1
  15. package/dist/date-picker/root/date-picker-root.css.js +1 -1
  16. package/dist/divider/root/divider-root.css.js +2 -2
  17. package/dist/drawer/root/drawer-root.css.js +1 -2
  18. package/dist/file-input/root/file-input-root.css.js +1 -1
  19. package/dist/heatmap/root/heatmap-root.css.js +3 -3
  20. package/dist/icon-button/root/icon-button-root.css.js +1 -2
  21. package/dist/icon-button/root/icon-button-root.d.ts +1 -1
  22. package/dist/icon-button/root/icon-button-root.js +1 -1
  23. package/dist/input/root/input-root.css.js +2 -3
  24. package/dist/kbd/root/kbd-root.css.js +4 -4
  25. package/dist/legend/root/legend-root.css.js +1 -2
  26. package/dist/loader/root/loader-root.css.js +2 -2
  27. package/dist/menu/root/menu-root.css.js +4 -4
  28. package/dist/meter/root/meter-root.css.js +9 -16
  29. package/dist/outline/root/outline-root.css.js +1 -1
  30. package/dist/popover/root/popover-root.css.js +1 -1
  31. package/dist/radio/root/radio-root.css.js +1 -2
  32. package/dist/sandbox/preview/sandbox-preview.d.ts +11 -31
  33. package/dist/sandbox/root/sandbox-root.d.ts +11 -32
  34. package/dist/select/root/select-root.css.js +1 -4
  35. package/dist/slider/root/slider-root.css.js +8 -8
  36. package/dist/sparkline/root/sparkline-root.css.js +1 -2
  37. package/dist/speed-dial/root/speed-dial-root.css.js +1 -1
  38. package/dist/steps/root/steps-root.css.js +4 -6
  39. package/dist/steps/step/step.css.js +2 -2
  40. package/dist/switch/root/switch-root.css.js +3 -4
  41. package/dist/tag/root/tag-root.css.js +9 -10
  42. package/dist/time-input/root/time-input-root.css.js +1 -1
  43. package/dist/toast/item/toast-item.css.js +5 -5
  44. package/dist/toast/root/toast-root.css.js +5 -8
  45. package/dist/toggle/group/toggle-group.css.js +9 -10
  46. package/dist/trend/root/trend-root.css.js +1 -1
  47. package/dist/video/root/video-root.css.js +2 -2
  48. package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -2
  49. package/package.json +16 -21
  50. package/{jsx.d.ts → types/jsx.d.ts} +66 -190
  51. package/{vue.d.ts → types/vue.d.ts} +3 -3
  52. package/elements.css +0 -286
  53. package/helix.css +0 -31
  54. /package/dist/{mixins → shared}/mixin-control-surface/mixin-control-surface.d.ts +0 -0
  55. /package/dist/{mixins → shared}/mixin-control-surface/mixin-control-surface.js +0 -0
  56. /package/{svelte.d.ts → types/svelte.d.ts} +0 -0
package/elements.css DELETED
@@ -1,286 +0,0 @@
1
- /* Generated by fusion/scripts/build-elements-css.mjs. Do not edit.
2
- *
3
- * Import once, beside the base layer, in any app that uses Helix elements:
4
- *
5
- * import '@fusion.dev/helix/elements.css'
6
- *
7
- * Without it, every component renders as unstyled light-DOM content until its
8
- * definition loads and then snaps into place. With it, the element reserves its
9
- * place in the layout and reveals itself already styled.
10
- *
11
- * `visibility` rather than `display`, so the element still takes part in
12
- * layout and the page does not reflow when it upgrades. The content is in the
13
- * markup either way, so a crawler reads it regardless.
14
- */
15
- helix-accordion:not(:defined),
16
- helix-accordion-item:not(:defined),
17
- helix-announcement:not(:defined),
18
- helix-app-header:not(:defined),
19
- helix-aura:not(:defined),
20
- helix-avatar:not(:defined),
21
- helix-avatar-group:not(:defined),
22
- helix-badge:not(:defined),
23
- helix-bar-chart:not(:defined),
24
- helix-blockquote:not(:defined),
25
- helix-breadcrumb:not(:defined),
26
- helix-breadcrumbs:not(:defined),
27
- helix-button:not(:defined),
28
- helix-button-group:not(:defined),
29
- helix-callout:not(:defined),
30
- helix-card:not(:defined),
31
- helix-carousel:not(:defined),
32
- helix-chat:not(:defined),
33
- helix-chat-composer:not(:defined),
34
- helix-chat-message:not(:defined),
35
- helix-checkbox:not(:defined),
36
- helix-checkbox-group:not(:defined),
37
- helix-code:not(:defined),
38
- helix-code-block:not(:defined),
39
- helix-color-input:not(:defined),
40
- helix-color-picker:not(:defined),
41
- helix-combobox:not(:defined),
42
- helix-command:not(:defined),
43
- helix-copy-button:not(:defined),
44
- helix-data-table:not(:defined),
45
- helix-date-input:not(:defined),
46
- helix-date-picker:not(:defined),
47
- helix-dialog:not(:defined),
48
- helix-divider:not(:defined),
49
- helix-donut-chart:not(:defined),
50
- helix-drawer:not(:defined),
51
- helix-drilldown:not(:defined),
52
- helix-drilldown-item:not(:defined),
53
- helix-empty:not(:defined),
54
- helix-file-input:not(:defined),
55
- helix-flex:not(:defined),
56
- helix-format-date:not(:defined),
57
- helix-grid:not(:defined),
58
- helix-heatmap:not(:defined),
59
- helix-icon:not(:defined),
60
- helix-icon-button:not(:defined),
61
- helix-image:not(:defined),
62
- helix-input:not(:defined),
63
- helix-kbd:not(:defined),
64
- helix-legend:not(:defined),
65
- helix-line-chart:not(:defined),
66
- helix-list:not(:defined),
67
- helix-list-item:not(:defined),
68
- helix-listbox:not(:defined),
69
- helix-loader:not(:defined),
70
- helix-megamenu:not(:defined),
71
- helix-menu:not(:defined),
72
- helix-menu-item:not(:defined),
73
- helix-meter:not(:defined),
74
- helix-navigation:not(:defined),
75
- helix-notification:not(:defined),
76
- helix-notifications:not(:defined),
77
- helix-number-input:not(:defined),
78
- helix-option:not(:defined),
79
- helix-option-group:not(:defined),
80
- helix-outline:not(:defined),
81
- helix-pagination:not(:defined),
82
- helix-pagination-size:not(:defined),
83
- helix-pagination-summary:not(:defined),
84
- helix-pin-input:not(:defined),
85
- helix-popover:not(:defined),
86
- helix-progress:not(:defined),
87
- helix-qr-code:not(:defined),
88
- helix-quote:not(:defined),
89
- helix-radio:not(:defined),
90
- helix-radio-group:not(:defined),
91
- helix-rating:not(:defined),
92
- helix-sandbox:not(:defined),
93
- helix-sandbox-preview:not(:defined),
94
- helix-sandbox-source:not(:defined),
95
- helix-sandbox-status-bar:not(:defined),
96
- helix-sandbox-terminal:not(:defined),
97
- helix-sandbox-toolbar:not(:defined),
98
- helix-scroll-area:not(:defined),
99
- helix-select:not(:defined),
100
- helix-skeleton:not(:defined),
101
- helix-slider:not(:defined),
102
- helix-sparkline:not(:defined),
103
- helix-speed-dial:not(:defined),
104
- helix-speed-dial-item:not(:defined),
105
- helix-splitter:not(:defined),
106
- helix-stat:not(:defined),
107
- helix-stat-group:not(:defined),
108
- helix-step:not(:defined),
109
- helix-steps:not(:defined),
110
- helix-switch:not(:defined),
111
- helix-tab:not(:defined),
112
- helix-tab-panel:not(:defined),
113
- helix-table:not(:defined),
114
- helix-table-cell:not(:defined),
115
- helix-table-column:not(:defined),
116
- helix-table-row:not(:defined),
117
- helix-tabs:not(:defined),
118
- helix-tag:not(:defined),
119
- helix-text:not(:defined),
120
- helix-textarea:not(:defined),
121
- helix-time-input:not(:defined),
122
- helix-time-picker:not(:defined),
123
- helix-timeline:not(:defined),
124
- helix-timeline-item:not(:defined),
125
- helix-toast:not(:defined),
126
- helix-toast-item:not(:defined),
127
- helix-toggle:not(:defined),
128
- helix-toggle-group:not(:defined),
129
- helix-toolbar:not(:defined),
130
- helix-tooltip:not(:defined),
131
- helix-tour:not(:defined),
132
- helix-tour-stop:not(:defined),
133
- helix-tree:not(:defined),
134
- helix-tree-item:not(:defined),
135
- helix-trend:not(:defined),
136
- helix-video:not(:defined),
137
- helix-video-playlist:not(:defined),
138
- helix-video-playlist-item:not(:defined),
139
- helix-video-playlist-menu:not(:defined),
140
- helix-virtual-list:not(:defined) {
141
- visibility: hidden;
142
- }
143
-
144
- /* `align` is a legacy presentational hint, and a browser applies it to any
145
- * element it appears on, including one it has never heard of. So a component
146
- * with an `align` property for its own layout silently gets `text-align` as
147
- * well: every `<helix-flex align="center">` was centering its text, which is a
148
- * thing nobody asked for and nothing in the component could be blamed for.
149
- *
150
- * Neutralized here rather than in each component, so the next component with an
151
- * `align` property does not have to remember. Enumerated for the same reason
152
- * the rule above is: CSS cannot select "any custom element".
153
- *
154
- * `:where()` keeps this at zero specificity, so a consumer setting
155
- * `text-align` on the same element still wins.
156
- */
157
- :where(
158
- helix-accordion[align],
159
- helix-accordion-item[align],
160
- helix-announcement[align],
161
- helix-app-header[align],
162
- helix-aura[align],
163
- helix-avatar[align],
164
- helix-avatar-group[align],
165
- helix-badge[align],
166
- helix-bar-chart[align],
167
- helix-blockquote[align],
168
- helix-breadcrumb[align],
169
- helix-breadcrumbs[align],
170
- helix-button[align],
171
- helix-button-group[align],
172
- helix-callout[align],
173
- helix-card[align],
174
- helix-carousel[align],
175
- helix-chat[align],
176
- helix-chat-composer[align],
177
- helix-chat-message[align],
178
- helix-checkbox[align],
179
- helix-checkbox-group[align],
180
- helix-code[align],
181
- helix-code-block[align],
182
- helix-color-input[align],
183
- helix-color-picker[align],
184
- helix-combobox[align],
185
- helix-command[align],
186
- helix-copy-button[align],
187
- helix-data-table[align],
188
- helix-date-input[align],
189
- helix-date-picker[align],
190
- helix-dialog[align],
191
- helix-divider[align],
192
- helix-donut-chart[align],
193
- helix-drawer[align],
194
- helix-drilldown[align],
195
- helix-drilldown-item[align],
196
- helix-empty[align],
197
- helix-file-input[align],
198
- helix-flex[align],
199
- helix-format-date[align],
200
- helix-grid[align],
201
- helix-heatmap[align],
202
- helix-icon[align],
203
- helix-icon-button[align],
204
- helix-image[align],
205
- helix-input[align],
206
- helix-kbd[align],
207
- helix-legend[align],
208
- helix-line-chart[align],
209
- helix-list[align],
210
- helix-list-item[align],
211
- helix-listbox[align],
212
- helix-loader[align],
213
- helix-megamenu[align],
214
- helix-menu[align],
215
- helix-menu-item[align],
216
- helix-meter[align],
217
- helix-navigation[align],
218
- helix-notification[align],
219
- helix-notifications[align],
220
- helix-number-input[align],
221
- helix-option[align],
222
- helix-option-group[align],
223
- helix-outline[align],
224
- helix-pagination[align],
225
- helix-pagination-size[align],
226
- helix-pagination-summary[align],
227
- helix-pin-input[align],
228
- helix-popover[align],
229
- helix-progress[align],
230
- helix-qr-code[align],
231
- helix-quote[align],
232
- helix-radio[align],
233
- helix-radio-group[align],
234
- helix-rating[align],
235
- helix-sandbox[align],
236
- helix-sandbox-preview[align],
237
- helix-sandbox-source[align],
238
- helix-sandbox-status-bar[align],
239
- helix-sandbox-terminal[align],
240
- helix-sandbox-toolbar[align],
241
- helix-scroll-area[align],
242
- helix-select[align],
243
- helix-skeleton[align],
244
- helix-slider[align],
245
- helix-sparkline[align],
246
- helix-speed-dial[align],
247
- helix-speed-dial-item[align],
248
- helix-splitter[align],
249
- helix-stat[align],
250
- helix-stat-group[align],
251
- helix-step[align],
252
- helix-steps[align],
253
- helix-switch[align],
254
- helix-tab[align],
255
- helix-tab-panel[align],
256
- helix-table[align],
257
- helix-table-cell[align],
258
- helix-table-column[align],
259
- helix-table-row[align],
260
- helix-tabs[align],
261
- helix-tag[align],
262
- helix-text[align],
263
- helix-textarea[align],
264
- helix-time-input[align],
265
- helix-time-picker[align],
266
- helix-timeline[align],
267
- helix-timeline-item[align],
268
- helix-toast[align],
269
- helix-toast-item[align],
270
- helix-toggle[align],
271
- helix-toggle-group[align],
272
- helix-toolbar[align],
273
- helix-tooltip[align],
274
- helix-tour[align],
275
- helix-tour-stop[align],
276
- helix-tree[align],
277
- helix-tree-item[align],
278
- helix-trend[align],
279
- helix-video[align],
280
- helix-video-playlist[align],
281
- helix-video-playlist-item[align],
282
- helix-video-playlist-menu[align],
283
- helix-virtual-list[align]
284
- ) {
285
- text-align: inherit;
286
- }
package/helix.css DELETED
@@ -1,31 +0,0 @@
1
- /*
2
- * Every layer Helix needs, in one import.
3
- *
4
- * **Four files in a required order is a list somebody writes three of**, and
5
- * `primitives.css` is the one left out: `tokens.css` refers to a primitive 235
6
- * times, so a consumer who lists the other three gets all 177 semantic tokens
7
- * declared and every one resolving to `rgba(0, 0, 0, 0)`, and no theming at
8
- * all, every public `--helix-seed-*` being read in that file and nowhere else.
9
- *
10
- * The order is the whole content of this file, and it cannot be got wrong from
11
- * outside it.
12
- *
13
- * **It reaches into `@fusion.dev/helix-styles`, and that is a declared dependency
14
- * rather than a hopeful specifier.** This package depends on it, so the
15
- * resolution is guaranteed by the manifest rather than by what happens to be
16
- * installed. Verified through this repository's own toolchain in development
17
- * and in a production build: the primitives, the tokens, the base layer and
18
- * `elements.css` all arrive.
19
- *
20
- * **What it cannot do is be a `<link>`.** A bare specifier in an `@import` is
21
- * resolved by a bundler and never by a browser, so this is for the consumers
22
- * the documentation describes, who import from JavaScript. Anyone serving CSS
23
- * directly takes the four files by path.
24
- *
25
- * The individual files keep their exports. `@fusion.dev/helix-styles/all.css` is the
26
- * three that package owns, for a page that wants Helix's type and color
27
- * without any custom elements; the four singles are there for anyone
28
- * substituting a layer.
29
- */
30
- @import "@fusion.dev/helix-styles/all.css";
31
- @import "./elements.css";
File without changes