@fusion.dev/helix 0.138.0 → 0.140.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/custom-elements.json +2371 -1
- package/dist/checkbox/root/checkbox-root.css.js +1 -1
- package/lint.json +1 -0
- package/package.json +8 -6
- package/types/jsx.d.ts +4 -0
- package/types/svelte.d.ts +178 -158
package/types/svelte.d.ts
CHANGED
|
@@ -4,167 +4,187 @@
|
|
|
4
4
|
// types already describe, so this augments `SvelteHTMLElements` with them
|
|
5
5
|
// rather than emitting a second copy that could disagree.
|
|
6
6
|
import type { CustomElements } from '@fusion.dev/helix/jsx'
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements'
|
|
8
|
+
|
|
9
|
+
// React's spellings, which Svelte reads another way or not at all.
|
|
10
|
+
type ReactOnly = 'className' | 'htmlFor' | 'key' | 'ref' | 'suppressHydrationWarning'
|
|
11
|
+
|
|
12
|
+
// The element a tag makes, where the DOM lib knows it.
|
|
13
|
+
type ElementOf<Tag extends string> = Tag extends keyof HTMLElementTagNameMap
|
|
14
|
+
? HTMLElementTagNameMap[Tag]
|
|
15
|
+
: HTMLElement
|
|
16
|
+
|
|
17
|
+
// Svelte's attributes and lowercase events, then the Helix props and
|
|
18
|
+
// `onhelix-*` handlers Svelte's do not name. `onClick` and the other
|
|
19
|
+
// camel-case handlers are React's, and Svelte would read each as an event
|
|
20
|
+
// with a capital letter.
|
|
21
|
+
type Helix<Tag extends keyof CustomElements> = HTMLAttributes<ElementOf<Tag>> & {
|
|
22
|
+
[Key in keyof CustomElements[Tag] as Key extends
|
|
23
|
+
| keyof HTMLAttributes<ElementOf<Tag>>
|
|
24
|
+
| ReactOnly
|
|
25
|
+
| `on${Uppercase<string>}${string}`
|
|
26
|
+
? never
|
|
27
|
+
: Key]: CustomElements[Tag][Key]
|
|
28
|
+
}
|
|
7
29
|
|
|
8
30
|
declare module 'svelte/elements' {
|
|
9
31
|
interface SvelteHTMLElements {
|
|
10
|
-
'helix-accordion-item':
|
|
11
|
-
'helix-accordion':
|
|
12
|
-
'helix-announcement':
|
|
13
|
-
'helix-app-header':
|
|
14
|
-
'helix-area-chart':
|
|
15
|
-
'helix-aura':
|
|
16
|
-
'helix-avatar-group':
|
|
17
|
-
'helix-avatar':
|
|
18
|
-
'helix-badge':
|
|
19
|
-
'helix-bar-chart':
|
|
20
|
-
'helix-blockquote':
|
|
21
|
-
'helix-breadcrumb':
|
|
22
|
-
'helix-breadcrumbs':
|
|
23
|
-
'helix-button-group':
|
|
24
|
-
'helix-button':
|
|
25
|
-
'helix-callout':
|
|
26
|
-
'helix-canvas-edge':
|
|
27
|
-
'helix-canvas-node':
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'helix-
|
|
31
|
-
'helix-
|
|
32
|
-
'helix-
|
|
33
|
-
'helix-chat
|
|
34
|
-
'helix-
|
|
35
|
-
'helix-
|
|
36
|
-
'helix-
|
|
37
|
-
'helix-
|
|
38
|
-
'helix-
|
|
39
|
-
'helix-
|
|
40
|
-
'helix-
|
|
41
|
-
'helix-
|
|
42
|
-
'helix-
|
|
43
|
-
'helix-
|
|
44
|
-
'helix-
|
|
45
|
-
'helix-
|
|
46
|
-
'helix-
|
|
47
|
-
'helix-
|
|
48
|
-
'helix-
|
|
49
|
-
'helix-
|
|
50
|
-
'helix-
|
|
51
|
-
'helix-
|
|
52
|
-
'helix-
|
|
53
|
-
'helix-
|
|
54
|
-
'helix-
|
|
55
|
-
'helix-
|
|
56
|
-
'helix-
|
|
57
|
-
'helix-
|
|
58
|
-
'helix-filter-
|
|
59
|
-
'helix-filter-
|
|
60
|
-
'helix-filter-
|
|
61
|
-
'helix-
|
|
62
|
-
'helix-
|
|
63
|
-
'helix-
|
|
64
|
-
'helix-
|
|
65
|
-
'helix-
|
|
66
|
-
'helix-
|
|
67
|
-
'helix-
|
|
68
|
-
'helix-
|
|
69
|
-
'helix-
|
|
70
|
-
'helix-
|
|
71
|
-
'helix-
|
|
72
|
-
'helix-
|
|
73
|
-
'helix-
|
|
74
|
-
'helix-
|
|
75
|
-
'helix-
|
|
76
|
-
'helix-
|
|
77
|
-
'helix-
|
|
78
|
-
'helix-
|
|
79
|
-
'helix-
|
|
80
|
-
'helix-
|
|
81
|
-
'helix-map-
|
|
82
|
-
'helix-map-
|
|
83
|
-
'helix-map-
|
|
84
|
-
'helix-map-
|
|
85
|
-
'helix-map-
|
|
86
|
-
'helix-map-
|
|
87
|
-
'helix-map
|
|
88
|
-
'helix-map-
|
|
89
|
-
'helix-map':
|
|
90
|
-
'helix-
|
|
91
|
-
'helix-
|
|
92
|
-
'helix-
|
|
93
|
-
'helix-
|
|
94
|
-
'helix-
|
|
95
|
-
'helix-
|
|
96
|
-
'helix-
|
|
97
|
-
'helix-
|
|
98
|
-
'helix-
|
|
99
|
-
'helix-
|
|
100
|
-
'helix-
|
|
101
|
-
'helix-
|
|
102
|
-
'helix-
|
|
103
|
-
'helix-
|
|
104
|
-
'helix-
|
|
105
|
-
'helix-
|
|
106
|
-
'helix-pagination':
|
|
107
|
-
'helix-
|
|
108
|
-
'helix-
|
|
109
|
-
'helix-
|
|
110
|
-
'helix-
|
|
111
|
-
'helix-
|
|
112
|
-
'helix-
|
|
113
|
-
'helix-
|
|
114
|
-
'helix-
|
|
115
|
-
'helix-
|
|
116
|
-
'helix-
|
|
117
|
-
'helix-sandbox-
|
|
118
|
-
'helix-sandbox':
|
|
119
|
-
'helix-sandbox-
|
|
120
|
-
'helix-sandbox-
|
|
121
|
-
'helix-
|
|
122
|
-
'helix-
|
|
123
|
-
'helix-
|
|
124
|
-
'helix-
|
|
125
|
-
'helix-
|
|
126
|
-
'helix-
|
|
127
|
-
'helix-
|
|
128
|
-
'helix-
|
|
129
|
-
'helix-
|
|
130
|
-
'helix-
|
|
131
|
-
'helix-
|
|
132
|
-
'helix-
|
|
133
|
-
'helix-
|
|
134
|
-
'helix-
|
|
135
|
-
'helix-
|
|
136
|
-
'helix-
|
|
137
|
-
'helix-
|
|
138
|
-
'helix-table
|
|
139
|
-
'helix-table-
|
|
140
|
-
'helix-
|
|
141
|
-
'helix-
|
|
142
|
-
'helix-tab
|
|
143
|
-
'helix-
|
|
144
|
-
'helix-
|
|
145
|
-
'helix-
|
|
146
|
-
'helix-
|
|
147
|
-
'helix-
|
|
148
|
-
'helix-
|
|
149
|
-
'helix-
|
|
150
|
-
'helix-
|
|
151
|
-
'helix-
|
|
152
|
-
'helix-
|
|
153
|
-
'helix-
|
|
154
|
-
'helix-
|
|
155
|
-
'helix-
|
|
156
|
-
'helix-
|
|
157
|
-
'helix-
|
|
158
|
-
'helix-
|
|
159
|
-
'helix-
|
|
160
|
-
'helix-
|
|
161
|
-
'helix-
|
|
162
|
-
'helix-
|
|
163
|
-
'helix-video-playlist
|
|
164
|
-
'helix-video
|
|
165
|
-
'helix-
|
|
166
|
-
'helix-video': CustomElements['helix-video']
|
|
167
|
-
'helix-virtual-list': CustomElements['helix-virtual-list']
|
|
32
|
+
'helix-accordion-item': Helix<'helix-accordion-item'>
|
|
33
|
+
'helix-accordion': Helix<'helix-accordion'>
|
|
34
|
+
'helix-announcement': Helix<'helix-announcement'>
|
|
35
|
+
'helix-app-header': Helix<'helix-app-header'>
|
|
36
|
+
'helix-area-chart': Helix<'helix-area-chart'>
|
|
37
|
+
'helix-aura': Helix<'helix-aura'>
|
|
38
|
+
'helix-avatar-group': Helix<'helix-avatar-group'>
|
|
39
|
+
'helix-avatar': Helix<'helix-avatar'>
|
|
40
|
+
'helix-badge': Helix<'helix-badge'>
|
|
41
|
+
'helix-bar-chart': Helix<'helix-bar-chart'>
|
|
42
|
+
'helix-blockquote': Helix<'helix-blockquote'>
|
|
43
|
+
'helix-breadcrumb': Helix<'helix-breadcrumb'>
|
|
44
|
+
'helix-breadcrumbs': Helix<'helix-breadcrumbs'>
|
|
45
|
+
'helix-button-group': Helix<'helix-button-group'>
|
|
46
|
+
'helix-button': Helix<'helix-button'>
|
|
47
|
+
'helix-callout': Helix<'helix-callout'>
|
|
48
|
+
'helix-canvas-edge': Helix<'helix-canvas-edge'>
|
|
49
|
+
'helix-canvas-node': Helix<'helix-canvas-node'>
|
|
50
|
+
'helix-canvas': Helix<'helix-canvas'>
|
|
51
|
+
'helix-card': Helix<'helix-card'>
|
|
52
|
+
'helix-carousel': Helix<'helix-carousel'>
|
|
53
|
+
'helix-chat-composer': Helix<'helix-chat-composer'>
|
|
54
|
+
'helix-chat-message': Helix<'helix-chat-message'>
|
|
55
|
+
'helix-chat': Helix<'helix-chat'>
|
|
56
|
+
'helix-checkbox-group': Helix<'helix-checkbox-group'>
|
|
57
|
+
'helix-checkbox': Helix<'helix-checkbox'>
|
|
58
|
+
'helix-code-block': Helix<'helix-code-block'>
|
|
59
|
+
'helix-code': Helix<'helix-code'>
|
|
60
|
+
'helix-color-input': Helix<'helix-color-input'>
|
|
61
|
+
'helix-color-picker': Helix<'helix-color-picker'>
|
|
62
|
+
'helix-combobox': Helix<'helix-combobox'>
|
|
63
|
+
'helix-command': Helix<'helix-command'>
|
|
64
|
+
'helix-copy-button': Helix<'helix-copy-button'>
|
|
65
|
+
'helix-data-table': Helix<'helix-data-table'>
|
|
66
|
+
'helix-date-input': Helix<'helix-date-input'>
|
|
67
|
+
'helix-date-picker': Helix<'helix-date-picker'>
|
|
68
|
+
'helix-description-list-item': Helix<'helix-description-list-item'>
|
|
69
|
+
'helix-description-list': Helix<'helix-description-list'>
|
|
70
|
+
'helix-dialog': Helix<'helix-dialog'>
|
|
71
|
+
'helix-divider': Helix<'helix-divider'>
|
|
72
|
+
'helix-donut-chart': Helix<'helix-donut-chart'>
|
|
73
|
+
'helix-drawer': Helix<'helix-drawer'>
|
|
74
|
+
'helix-drilldown-item': Helix<'helix-drilldown-item'>
|
|
75
|
+
'helix-drilldown': Helix<'helix-drilldown'>
|
|
76
|
+
'helix-empty': Helix<'helix-empty'>
|
|
77
|
+
'helix-file-input': Helix<'helix-file-input'>
|
|
78
|
+
'helix-filter-chip': Helix<'helix-filter-chip'>
|
|
79
|
+
'helix-filter-field': Helix<'helix-filter-field'>
|
|
80
|
+
'helix-filter-menu': Helix<'helix-filter-menu'>
|
|
81
|
+
'helix-filter-operator': Helix<'helix-filter-operator'>
|
|
82
|
+
'helix-filter-input': Helix<'helix-filter-input'>
|
|
83
|
+
'helix-flex': Helix<'helix-flex'>
|
|
84
|
+
'helix-format-date': Helix<'helix-format-date'>
|
|
85
|
+
'helix-graph': Helix<'helix-graph'>
|
|
86
|
+
'helix-grid': Helix<'helix-grid'>
|
|
87
|
+
'helix-heatmap': Helix<'helix-heatmap'>
|
|
88
|
+
'helix-icon-button': Helix<'helix-icon-button'>
|
|
89
|
+
'helix-icon': Helix<'helix-icon'>
|
|
90
|
+
'helix-image': Helix<'helix-image'>
|
|
91
|
+
'helix-input': Helix<'helix-input'>
|
|
92
|
+
'helix-kbd': Helix<'helix-kbd'>
|
|
93
|
+
'helix-legend': Helix<'helix-legend'>
|
|
94
|
+
'helix-lightbox-item': Helix<'helix-lightbox-item'>
|
|
95
|
+
'helix-lightbox': Helix<'helix-lightbox'>
|
|
96
|
+
'helix-line-chart': Helix<'helix-line-chart'>
|
|
97
|
+
'helix-list-item': Helix<'helix-list-item'>
|
|
98
|
+
'helix-list': Helix<'helix-list'>
|
|
99
|
+
'helix-listbox': Helix<'helix-listbox'>
|
|
100
|
+
'helix-loader': Helix<'helix-loader'>
|
|
101
|
+
'helix-map-area': Helix<'helix-map-area'>
|
|
102
|
+
'helix-map-buildings': Helix<'helix-map-buildings'>
|
|
103
|
+
'helix-map-contours': Helix<'helix-map-contours'>
|
|
104
|
+
'helix-map-landcover': Helix<'helix-map-landcover'>
|
|
105
|
+
'helix-map-marker': Helix<'helix-map-marker'>
|
|
106
|
+
'helix-map-points': Helix<'helix-map-points'>
|
|
107
|
+
'helix-map-position': Helix<'helix-map-position'>
|
|
108
|
+
'helix-map-raster': Helix<'helix-map-raster'>
|
|
109
|
+
'helix-map': Helix<'helix-map'>
|
|
110
|
+
'helix-map-route': Helix<'helix-map-route'>
|
|
111
|
+
'helix-map-terrain': Helix<'helix-map-terrain'>
|
|
112
|
+
'helix-megamenu': Helix<'helix-megamenu'>
|
|
113
|
+
'helix-menu-item': Helix<'helix-menu-item'>
|
|
114
|
+
'helix-menu': Helix<'helix-menu'>
|
|
115
|
+
'helix-meter': Helix<'helix-meter'>
|
|
116
|
+
'helix-navigation': Helix<'helix-navigation'>
|
|
117
|
+
'helix-notification-group': Helix<'helix-notification-group'>
|
|
118
|
+
'helix-notification': Helix<'helix-notification'>
|
|
119
|
+
'helix-notifications': Helix<'helix-notifications'>
|
|
120
|
+
'helix-number-input': Helix<'helix-number-input'>
|
|
121
|
+
'helix-object-inspector': Helix<'helix-object-inspector'>
|
|
122
|
+
'helix-option-group': Helix<'helix-option-group'>
|
|
123
|
+
'helix-option': Helix<'helix-option'>
|
|
124
|
+
'helix-orb': Helix<'helix-orb'>
|
|
125
|
+
'helix-outline': Helix<'helix-outline'>
|
|
126
|
+
'helix-pagination': Helix<'helix-pagination'>
|
|
127
|
+
'helix-pagination-size': Helix<'helix-pagination-size'>
|
|
128
|
+
'helix-pagination-summary': Helix<'helix-pagination-summary'>
|
|
129
|
+
'helix-pin-input': Helix<'helix-pin-input'>
|
|
130
|
+
'helix-popover': Helix<'helix-popover'>
|
|
131
|
+
'helix-progress': Helix<'helix-progress'>
|
|
132
|
+
'helix-qr-code': Helix<'helix-qr-code'>
|
|
133
|
+
'helix-quote': Helix<'helix-quote'>
|
|
134
|
+
'helix-radio-group': Helix<'helix-radio-group'>
|
|
135
|
+
'helix-radio': Helix<'helix-radio'>
|
|
136
|
+
'helix-rating': Helix<'helix-rating'>
|
|
137
|
+
'helix-sandbox-preview': Helix<'helix-sandbox-preview'>
|
|
138
|
+
'helix-sandbox': Helix<'helix-sandbox'>
|
|
139
|
+
'helix-sandbox-source': Helix<'helix-sandbox-source'>
|
|
140
|
+
'helix-sandbox-status-bar': Helix<'helix-sandbox-status-bar'>
|
|
141
|
+
'helix-sandbox-terminal': Helix<'helix-sandbox-terminal'>
|
|
142
|
+
'helix-sandbox-toolbar': Helix<'helix-sandbox-toolbar'>
|
|
143
|
+
'helix-scatter-chart': Helix<'helix-scatter-chart'>
|
|
144
|
+
'helix-scroll-area': Helix<'helix-scroll-area'>
|
|
145
|
+
'helix-select': Helix<'helix-select'>
|
|
146
|
+
'helix-skeleton': Helix<'helix-skeleton'>
|
|
147
|
+
'helix-skip-link': Helix<'helix-skip-link'>
|
|
148
|
+
'helix-slider': Helix<'helix-slider'>
|
|
149
|
+
'helix-sparkline': Helix<'helix-sparkline'>
|
|
150
|
+
'helix-speed-dial-item': Helix<'helix-speed-dial-item'>
|
|
151
|
+
'helix-speed-dial': Helix<'helix-speed-dial'>
|
|
152
|
+
'helix-splitter': Helix<'helix-splitter'>
|
|
153
|
+
'helix-stat-group': Helix<'helix-stat-group'>
|
|
154
|
+
'helix-stat': Helix<'helix-stat'>
|
|
155
|
+
'helix-steps': Helix<'helix-steps'>
|
|
156
|
+
'helix-step': Helix<'helix-step'>
|
|
157
|
+
'helix-switch': Helix<'helix-switch'>
|
|
158
|
+
'helix-table-cell': Helix<'helix-table-cell'>
|
|
159
|
+
'helix-table-column': Helix<'helix-table-column'>
|
|
160
|
+
'helix-table': Helix<'helix-table'>
|
|
161
|
+
'helix-table-row': Helix<'helix-table-row'>
|
|
162
|
+
'helix-tab-panel': Helix<'helix-tab-panel'>
|
|
163
|
+
'helix-tabs': Helix<'helix-tabs'>
|
|
164
|
+
'helix-tab': Helix<'helix-tab'>
|
|
165
|
+
'helix-tag': Helix<'helix-tag'>
|
|
166
|
+
'helix-text': Helix<'helix-text'>
|
|
167
|
+
'helix-textarea': Helix<'helix-textarea'>
|
|
168
|
+
'helix-time-input': Helix<'helix-time-input'>
|
|
169
|
+
'helix-time-picker': Helix<'helix-time-picker'>
|
|
170
|
+
'helix-timeline-item': Helix<'helix-timeline-item'>
|
|
171
|
+
'helix-timeline': Helix<'helix-timeline'>
|
|
172
|
+
'helix-toast-item': Helix<'helix-toast-item'>
|
|
173
|
+
'helix-toast': Helix<'helix-toast'>
|
|
174
|
+
'helix-toggle-group': Helix<'helix-toggle-group'>
|
|
175
|
+
'helix-toggle': Helix<'helix-toggle'>
|
|
176
|
+
'helix-toolbar': Helix<'helix-toolbar'>
|
|
177
|
+
'helix-tooltip': Helix<'helix-tooltip'>
|
|
178
|
+
'helix-tour': Helix<'helix-tour'>
|
|
179
|
+
'helix-tour-stop': Helix<'helix-tour-stop'>
|
|
180
|
+
'helix-tree-item': Helix<'helix-tree-item'>
|
|
181
|
+
'helix-tree': Helix<'helix-tree'>
|
|
182
|
+
'helix-trend': Helix<'helix-trend'>
|
|
183
|
+
'helix-video-playlist-item': Helix<'helix-video-playlist-item'>
|
|
184
|
+
'helix-video-playlist-menu': Helix<'helix-video-playlist-menu'>
|
|
185
|
+
'helix-video-playlist': Helix<'helix-video-playlist'>
|
|
186
|
+
'helix-video': Helix<'helix-video'>
|
|
187
|
+
'helix-virtual-list': Helix<'helix-virtual-list'>
|
|
168
188
|
}
|
|
169
189
|
}
|
|
170
190
|
|