@evoke-tech/stencil-ui-kit 0.0.0-stage → 0.2.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/README.md +314 -2
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/evoke-alert_20.cjs.entry.js +1047 -0
- package/dist/cjs/evoke-ui.cjs.js +25 -0
- package/dist/cjs/index-BpJ5gu8f.js +2130 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/collection-manifest.json +32 -0
- package/dist/collection/components/evoke-alert/evoke-alert.css +18 -0
- package/dist/collection/components/evoke-alert/evoke-alert.js +107 -0
- package/dist/collection/components/evoke-app-bar/evoke-app-bar.css +13 -0
- package/dist/collection/components/evoke-app-bar/evoke-app-bar.js +94 -0
- package/dist/collection/components/evoke-badge/evoke-badge.css +13 -0
- package/dist/collection/components/evoke-badge/evoke-badge.js +162 -0
- package/dist/collection/components/evoke-button/evoke-button.css +31 -0
- package/dist/collection/components/evoke-button/evoke-button.js +243 -0
- package/dist/collection/components/evoke-card/evoke-card.css +12 -0
- package/dist/collection/components/evoke-card/evoke-card.js +140 -0
- package/dist/collection/components/evoke-checkbox/evoke-checkbox.css +22 -0
- package/dist/collection/components/evoke-checkbox/evoke-checkbox.js +180 -0
- package/dist/collection/components/evoke-chip/evoke-chip.css +16 -0
- package/dist/collection/components/evoke-chip/evoke-chip.js +149 -0
- package/dist/collection/components/evoke-input/evoke-input.css +25 -0
- package/dist/collection/components/evoke-input/evoke-input.js +324 -0
- package/dist/collection/components/evoke-modal/evoke-modal.css +21 -0
- package/dist/collection/components/evoke-modal/evoke-modal.js +271 -0
- package/dist/collection/components/evoke-pagination/evoke-pagination.css +12 -0
- package/dist/collection/components/evoke-pagination/evoke-pagination.js +156 -0
- package/dist/collection/components/evoke-progress/evoke-progress.css +12 -0
- package/dist/collection/components/evoke-progress/evoke-progress.js +146 -0
- package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.css +20 -0
- package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.js +201 -0
- package/dist/collection/components/evoke-radio-group/evoke-radio-group.css +29 -0
- package/dist/collection/components/evoke-radio-group/evoke-radio-group.js +233 -0
- package/dist/collection/components/evoke-select/evoke-select.css +37 -0
- package/dist/collection/components/evoke-select/evoke-select.js +433 -0
- package/dist/collection/components/evoke-switch/evoke-switch.css +16 -0
- package/dist/collection/components/evoke-switch/evoke-switch.js +151 -0
- package/dist/collection/components/evoke-table/evoke-table.css +20 -0
- package/dist/collection/components/evoke-table/evoke-table.js +222 -0
- package/dist/collection/components/evoke-tabs/evoke-tabs.css +20 -0
- package/dist/collection/components/evoke-tabs/evoke-tabs.js +179 -0
- package/dist/collection/components/evoke-textarea/evoke-textarea.css +19 -0
- package/dist/collection/components/evoke-textarea/evoke-textarea.js +328 -0
- package/dist/collection/components/evoke-toast/evoke-toast.css +24 -0
- package/dist/collection/components/evoke-toast/evoke-toast.js +225 -0
- package/dist/collection/components/evoke-tooltip/evoke-tooltip.css +22 -0
- package/dist/collection/components/evoke-tooltip/evoke-tooltip.js +119 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/icons.js +29 -0
- package/dist/collection/utils/options.js +12 -0
- package/dist/components/evoke-alert.d.ts +11 -0
- package/dist/components/evoke-alert.js +1 -0
- package/dist/components/evoke-app-bar.d.ts +11 -0
- package/dist/components/evoke-app-bar.js +1 -0
- package/dist/components/evoke-badge.d.ts +11 -0
- package/dist/components/evoke-badge.js +1 -0
- package/dist/components/evoke-button.d.ts +11 -0
- package/dist/components/evoke-button.js +1 -0
- package/dist/components/evoke-card.d.ts +11 -0
- package/dist/components/evoke-card.js +1 -0
- package/dist/components/evoke-checkbox.d.ts +11 -0
- package/dist/components/evoke-checkbox.js +1 -0
- package/dist/components/evoke-chip.d.ts +11 -0
- package/dist/components/evoke-chip.js +1 -0
- package/dist/components/evoke-input.d.ts +11 -0
- package/dist/components/evoke-input.js +1 -0
- package/dist/components/evoke-modal.d.ts +11 -0
- package/dist/components/evoke-modal.js +1 -0
- package/dist/components/evoke-pagination.d.ts +11 -0
- package/dist/components/evoke-pagination.js +1 -0
- package/dist/components/evoke-progress.d.ts +11 -0
- package/dist/components/evoke-progress.js +1 -0
- package/dist/components/evoke-quantity-stepper.d.ts +11 -0
- package/dist/components/evoke-quantity-stepper.js +1 -0
- package/dist/components/evoke-radio-group.d.ts +11 -0
- package/dist/components/evoke-radio-group.js +1 -0
- package/dist/components/evoke-select.d.ts +11 -0
- package/dist/components/evoke-select.js +1 -0
- package/dist/components/evoke-switch.d.ts +11 -0
- package/dist/components/evoke-switch.js +1 -0
- package/dist/components/evoke-table.d.ts +11 -0
- package/dist/components/evoke-table.js +1 -0
- package/dist/components/evoke-tabs.d.ts +11 -0
- package/dist/components/evoke-tabs.js +1 -0
- package/dist/components/evoke-textarea.d.ts +11 -0
- package/dist/components/evoke-textarea.js +1 -0
- package/dist/components/evoke-toast.d.ts +11 -0
- package/dist/components/evoke-toast.js +1 -0
- package/dist/components/evoke-tooltip.d.ts +11 -0
- package/dist/components/evoke-tooltip.js +1 -0
- package/dist/components/icons.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/options.js +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/evoke-alert_20.entry.js +1026 -0
- package/dist/esm/evoke-ui.js +21 -0
- package/dist/esm/index-C-5sEjU8.js +2122 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/evoke-ui/evoke-ui.css +1 -0
- package/dist/evoke-ui/evoke-ui.esm.js +1 -0
- package/dist/evoke-ui/index.esm.js +0 -0
- package/dist/evoke-ui/p-0841be89.entry.js +1 -0
- package/dist/evoke-ui/p-C-5sEjU8.js +3 -0
- package/dist/evoke-ui/p-DQuL1Twl.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/themes/bootstrap.css +26 -0
- package/dist/themes/material.css +24 -0
- package/dist/themes/tailwind.css +27 -0
- package/dist/themes/tokens.css +29 -0
- package/dist/types/components/evoke-alert/evoke-alert.d.ts +10 -0
- package/dist/types/components/evoke-app-bar/evoke-app-bar.d.ts +14 -0
- package/dist/types/components/evoke-badge/evoke-badge.d.ts +17 -0
- package/dist/types/components/evoke-button/evoke-button.d.ts +21 -0
- package/dist/types/components/evoke-card/evoke-card.d.ts +15 -0
- package/dist/types/components/evoke-checkbox/evoke-checkbox.d.ts +18 -0
- package/dist/types/components/evoke-chip/evoke-chip.d.ts +14 -0
- package/dist/types/components/evoke-input/evoke-input.d.ts +27 -0
- package/dist/types/components/evoke-modal/evoke-modal.d.ts +32 -0
- package/dist/types/components/evoke-pagination/evoke-pagination.d.ts +15 -0
- package/dist/types/components/evoke-progress/evoke-progress.d.ts +13 -0
- package/dist/types/components/evoke-quantity-stepper/evoke-quantity-stepper.d.ts +18 -0
- package/dist/types/components/evoke-radio-group/evoke-radio-group.d.ts +20 -0
- package/dist/types/components/evoke-select/evoke-select.d.ts +43 -0
- package/dist/types/components/evoke-switch/evoke-switch.d.ts +15 -0
- package/dist/types/components/evoke-table/evoke-table.d.ts +29 -0
- package/dist/types/components/evoke-tabs/evoke-tabs.d.ts +21 -0
- package/dist/types/components/evoke-textarea/evoke-textarea.d.ts +28 -0
- package/dist/types/components/evoke-toast/evoke-toast.d.ts +24 -0
- package/dist/types/components/evoke-tooltip/evoke-tooltip.d.ts +17 -0
- package/dist/types/components.d.ts +1876 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/dist/types/utils/icons.d.ts +25 -0
- package/dist/types/utils/options.d.ts +7 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +65 -4
|
@@ -0,0 +1,1876 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { EvokeIcon } from "./utils/icons";
|
|
9
|
+
import { EvokeOption } from "./utils/options";
|
|
10
|
+
export { EvokeIcon } from "./utils/icons";
|
|
11
|
+
export { EvokeOption } from "./utils/options";
|
|
12
|
+
export namespace Components {
|
|
13
|
+
interface EvokeAlert {
|
|
14
|
+
/**
|
|
15
|
+
* Subtle (tinted background) or solid (filled colour)
|
|
16
|
+
* @default 'subtle'
|
|
17
|
+
*/
|
|
18
|
+
"appearance": 'subtle' | 'solid';
|
|
19
|
+
/**
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
"dismissible": boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @default 'info'
|
|
25
|
+
*/
|
|
26
|
+
"type": 'info' | 'success' | 'warning' | 'danger';
|
|
27
|
+
}
|
|
28
|
+
interface EvokeAppBar {
|
|
29
|
+
/**
|
|
30
|
+
* Light surface, or dark / brand-coloured (navy)
|
|
31
|
+
* @default 'light'
|
|
32
|
+
*/
|
|
33
|
+
"appearance": 'light' | 'dark';
|
|
34
|
+
/**
|
|
35
|
+
* Accessible name for the navigation landmark
|
|
36
|
+
* @default 'Main'
|
|
37
|
+
*/
|
|
38
|
+
"navLabel": string;
|
|
39
|
+
/**
|
|
40
|
+
* Stick to the top of the viewport while scrolling
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
"sticky": boolean;
|
|
44
|
+
}
|
|
45
|
+
interface EvokeBadge {
|
|
46
|
+
/**
|
|
47
|
+
* @default 'danger'
|
|
48
|
+
*/
|
|
49
|
+
"color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
|
|
50
|
+
/**
|
|
51
|
+
* Number to show (count badge)
|
|
52
|
+
* @default 0
|
|
53
|
+
*/
|
|
54
|
+
"count": number;
|
|
55
|
+
/**
|
|
56
|
+
* Show a small status dot instead of a number
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
"dot": boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Screen-reader text, e.g. "3 items in cart". A dot without a label is treated as decorative.
|
|
62
|
+
* @default ''
|
|
63
|
+
*/
|
|
64
|
+
"label": string;
|
|
65
|
+
/**
|
|
66
|
+
* Counts above this show as "max+" (e.g. 99+)
|
|
67
|
+
* @default 99
|
|
68
|
+
*/
|
|
69
|
+
"max": number;
|
|
70
|
+
/**
|
|
71
|
+
* Show the badge even when the count is 0
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
"showZero": boolean;
|
|
75
|
+
}
|
|
76
|
+
interface EvokeButton {
|
|
77
|
+
/**
|
|
78
|
+
* aria-label for the inner button (required when `icon-only`)
|
|
79
|
+
*/
|
|
80
|
+
"accessibleLabel"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Stretch to the full width of the container
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
85
|
+
"block": boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Extra classes for the inner <button>, e.g. "btn btn-lg" (Bootstrap) or "shadow-lg" (Tailwind)
|
|
88
|
+
* @default ''
|
|
89
|
+
*/
|
|
90
|
+
"buttonClass": string;
|
|
91
|
+
/**
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
"disabled": boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Optional leading icon
|
|
97
|
+
*/
|
|
98
|
+
"icon"?: EvokeIcon;
|
|
99
|
+
/**
|
|
100
|
+
* Square button for icon-only use; set `accessible-label` too
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
"iconOnly": boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Shows a spinner and blocks clicks while true
|
|
106
|
+
* @default false
|
|
107
|
+
*/
|
|
108
|
+
"loading": boolean;
|
|
109
|
+
/**
|
|
110
|
+
* @default 'md'
|
|
111
|
+
*/
|
|
112
|
+
"size": 'sm' | 'md' | 'lg';
|
|
113
|
+
/**
|
|
114
|
+
* @default 'button'
|
|
115
|
+
*/
|
|
116
|
+
"type": 'button' | 'submit' | 'reset';
|
|
117
|
+
/**
|
|
118
|
+
* Solid variants (primary, secondary, danger), outline, or ghost (text only, no border)
|
|
119
|
+
* @default 'primary'
|
|
120
|
+
*/
|
|
121
|
+
"variant": 'primary' | 'secondary' | 'danger' | 'outline' | 'ghost';
|
|
122
|
+
}
|
|
123
|
+
interface EvokeCard {
|
|
124
|
+
/**
|
|
125
|
+
* Outlined (border) or elevated (shadow, no border)
|
|
126
|
+
* @default 'outlined'
|
|
127
|
+
*/
|
|
128
|
+
"appearance": 'outlined' | 'elevated';
|
|
129
|
+
/**
|
|
130
|
+
* Extra classes for the card container, e.g. "shadow-md" (Tailwind) or "card" (Bootstrap)
|
|
131
|
+
* @default ''
|
|
132
|
+
*/
|
|
133
|
+
"cardClass": string;
|
|
134
|
+
/**
|
|
135
|
+
* Makes the whole card a button (hover/active/focus states, Enter/Space)
|
|
136
|
+
* @default false
|
|
137
|
+
*/
|
|
138
|
+
"clickable": boolean;
|
|
139
|
+
/**
|
|
140
|
+
* @default ''
|
|
141
|
+
*/
|
|
142
|
+
"heading": string;
|
|
143
|
+
}
|
|
144
|
+
interface EvokeCheckbox {
|
|
145
|
+
/**
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
"checked": boolean;
|
|
149
|
+
/**
|
|
150
|
+
* @default false
|
|
151
|
+
*/
|
|
152
|
+
"disabled": boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Error message shown below the checkbox
|
|
155
|
+
* @default ''
|
|
156
|
+
*/
|
|
157
|
+
"error": string;
|
|
158
|
+
/**
|
|
159
|
+
* Mixed state, e.g. a "select all" box when only some items are selected. Cleared on click.
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
162
|
+
"indeterminate": boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Extra classes for the inner <input>
|
|
165
|
+
* @default ''
|
|
166
|
+
*/
|
|
167
|
+
"inputClass": string;
|
|
168
|
+
/**
|
|
169
|
+
* @default ''
|
|
170
|
+
*/
|
|
171
|
+
"label": string;
|
|
172
|
+
}
|
|
173
|
+
interface EvokeChip {
|
|
174
|
+
/**
|
|
175
|
+
* @default false
|
|
176
|
+
*/
|
|
177
|
+
"disabled": boolean;
|
|
178
|
+
/**
|
|
179
|
+
* @default ''
|
|
180
|
+
*/
|
|
181
|
+
"label": string;
|
|
182
|
+
/**
|
|
183
|
+
* Shows a remove button instead of toggling selection
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
"removable": boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Selected state (filter chip)
|
|
189
|
+
* @default false
|
|
190
|
+
*/
|
|
191
|
+
"selected": boolean;
|
|
192
|
+
}
|
|
193
|
+
interface EvokeInput {
|
|
194
|
+
/**
|
|
195
|
+
* Outlined (default) or filled (tinted background, bottom border)
|
|
196
|
+
* @default 'outlined'
|
|
197
|
+
*/
|
|
198
|
+
"appearance": 'outlined' | 'filled';
|
|
199
|
+
/**
|
|
200
|
+
* @default false
|
|
201
|
+
*/
|
|
202
|
+
"disabled": boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Error message shown below the field (replaces the hint)
|
|
205
|
+
* @default ''
|
|
206
|
+
*/
|
|
207
|
+
"error": string;
|
|
208
|
+
/**
|
|
209
|
+
* Helper text shown below the field
|
|
210
|
+
* @default ''
|
|
211
|
+
*/
|
|
212
|
+
"hint": string;
|
|
213
|
+
/**
|
|
214
|
+
* Optional leading icon
|
|
215
|
+
*/
|
|
216
|
+
"icon"?: EvokeIcon;
|
|
217
|
+
/**
|
|
218
|
+
* Extra classes for the inner <input>, e.g. "form-control" (Bootstrap)
|
|
219
|
+
* @default ''
|
|
220
|
+
*/
|
|
221
|
+
"inputClass": string;
|
|
222
|
+
/**
|
|
223
|
+
* @default ''
|
|
224
|
+
*/
|
|
225
|
+
"label": string;
|
|
226
|
+
/**
|
|
227
|
+
* @default ''
|
|
228
|
+
*/
|
|
229
|
+
"name": string;
|
|
230
|
+
/**
|
|
231
|
+
* @default ''
|
|
232
|
+
*/
|
|
233
|
+
"placeholder": string;
|
|
234
|
+
/**
|
|
235
|
+
* @default false
|
|
236
|
+
*/
|
|
237
|
+
"required": boolean;
|
|
238
|
+
/**
|
|
239
|
+
* @default 'text'
|
|
240
|
+
*/
|
|
241
|
+
"type": string;
|
|
242
|
+
/**
|
|
243
|
+
* @default ''
|
|
244
|
+
*/
|
|
245
|
+
"value": string;
|
|
246
|
+
}
|
|
247
|
+
interface EvokeModal {
|
|
248
|
+
/**
|
|
249
|
+
* @default true
|
|
250
|
+
*/
|
|
251
|
+
"closeOnBackdrop": boolean;
|
|
252
|
+
/**
|
|
253
|
+
* @default ''
|
|
254
|
+
*/
|
|
255
|
+
"heading": string;
|
|
256
|
+
/**
|
|
257
|
+
* Extra classes for the dialog panel
|
|
258
|
+
* @default ''
|
|
259
|
+
*/
|
|
260
|
+
"modalClass": string;
|
|
261
|
+
/**
|
|
262
|
+
* Whether the modal is visible
|
|
263
|
+
* @default false
|
|
264
|
+
*/
|
|
265
|
+
"open": boolean;
|
|
266
|
+
/**
|
|
267
|
+
* Centred dialog, or a drawer sliding in from the right
|
|
268
|
+
* @default 'center'
|
|
269
|
+
*/
|
|
270
|
+
"position": 'center' | 'right';
|
|
271
|
+
/**
|
|
272
|
+
* @default 'md'
|
|
273
|
+
*/
|
|
274
|
+
"size": 'sm' | 'md' | 'lg';
|
|
275
|
+
}
|
|
276
|
+
interface EvokePagination {
|
|
277
|
+
/**
|
|
278
|
+
* Numbered pages, or compact (Prev, "2 of 10", Next)
|
|
279
|
+
* @default 'numbered'
|
|
280
|
+
*/
|
|
281
|
+
"appearance": 'numbered' | 'compact';
|
|
282
|
+
/**
|
|
283
|
+
* @default false
|
|
284
|
+
*/
|
|
285
|
+
"disabled": boolean;
|
|
286
|
+
/**
|
|
287
|
+
* Current page (1-based)
|
|
288
|
+
* @default 1
|
|
289
|
+
*/
|
|
290
|
+
"page": number;
|
|
291
|
+
/**
|
|
292
|
+
* Total number of pages
|
|
293
|
+
* @default 1
|
|
294
|
+
*/
|
|
295
|
+
"total": number;
|
|
296
|
+
}
|
|
297
|
+
interface EvokeProgress {
|
|
298
|
+
/**
|
|
299
|
+
* Unknown duration: animates continuously and ignores `value`
|
|
300
|
+
* @default false
|
|
301
|
+
*/
|
|
302
|
+
"indeterminate": boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Accessible name, e.g. "Uploading"
|
|
305
|
+
* @default 'Loading'
|
|
306
|
+
*/
|
|
307
|
+
"label": string;
|
|
308
|
+
/**
|
|
309
|
+
* Diameter in px for the circular type
|
|
310
|
+
* @default 40
|
|
311
|
+
*/
|
|
312
|
+
"size": number;
|
|
313
|
+
/**
|
|
314
|
+
* Linear bar, or circular spinner / ring
|
|
315
|
+
* @default 'linear'
|
|
316
|
+
*/
|
|
317
|
+
"type": 'linear' | 'circular';
|
|
318
|
+
/**
|
|
319
|
+
* Progress from 0 to 100
|
|
320
|
+
* @default 0
|
|
321
|
+
*/
|
|
322
|
+
"value": number;
|
|
323
|
+
}
|
|
324
|
+
interface EvokeQuantityStepper {
|
|
325
|
+
/**
|
|
326
|
+
* Inline (minus, value, plus) or compact with a quantity dropdown
|
|
327
|
+
* @default 'inline'
|
|
328
|
+
*/
|
|
329
|
+
"appearance": 'inline' | 'compact';
|
|
330
|
+
/**
|
|
331
|
+
* @default false
|
|
332
|
+
*/
|
|
333
|
+
"disabled": boolean;
|
|
334
|
+
/**
|
|
335
|
+
* Accessible name for the control
|
|
336
|
+
* @default 'Quantity'
|
|
337
|
+
*/
|
|
338
|
+
"label": string;
|
|
339
|
+
/**
|
|
340
|
+
* @default 99
|
|
341
|
+
*/
|
|
342
|
+
"max": number;
|
|
343
|
+
/**
|
|
344
|
+
* @default 1
|
|
345
|
+
*/
|
|
346
|
+
"min": number;
|
|
347
|
+
/**
|
|
348
|
+
* @default 1
|
|
349
|
+
*/
|
|
350
|
+
"value": number;
|
|
351
|
+
}
|
|
352
|
+
interface EvokeRadioGroup {
|
|
353
|
+
/**
|
|
354
|
+
* Classic radio circles, or a segmented button group
|
|
355
|
+
* @default 'classic'
|
|
356
|
+
*/
|
|
357
|
+
"appearance": 'classic' | 'segmented';
|
|
358
|
+
/**
|
|
359
|
+
* @default false
|
|
360
|
+
*/
|
|
361
|
+
"disabled": boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Error message shown below the group
|
|
364
|
+
* @default ''
|
|
365
|
+
*/
|
|
366
|
+
"error": string;
|
|
367
|
+
/**
|
|
368
|
+
* Lay classic options out in a row instead of a column
|
|
369
|
+
* @default false
|
|
370
|
+
*/
|
|
371
|
+
"inline": boolean;
|
|
372
|
+
/**
|
|
373
|
+
* @default ''
|
|
374
|
+
*/
|
|
375
|
+
"label": string;
|
|
376
|
+
/**
|
|
377
|
+
* @default ''
|
|
378
|
+
*/
|
|
379
|
+
"name": string;
|
|
380
|
+
/**
|
|
381
|
+
* Options as an array of { label, value, disabled? } or a JSON string of the same
|
|
382
|
+
* @default []
|
|
383
|
+
*/
|
|
384
|
+
"options": EvokeOption[] | string;
|
|
385
|
+
/**
|
|
386
|
+
* @default ''
|
|
387
|
+
*/
|
|
388
|
+
"value": string;
|
|
389
|
+
}
|
|
390
|
+
interface EvokeSelect {
|
|
391
|
+
/**
|
|
392
|
+
* @default false
|
|
393
|
+
*/
|
|
394
|
+
"disabled": boolean;
|
|
395
|
+
/**
|
|
396
|
+
* Error message shown below the field (replaces the hint)
|
|
397
|
+
* @default ''
|
|
398
|
+
*/
|
|
399
|
+
"error": string;
|
|
400
|
+
/**
|
|
401
|
+
* @default ''
|
|
402
|
+
*/
|
|
403
|
+
"hint": string;
|
|
404
|
+
/**
|
|
405
|
+
* @default ''
|
|
406
|
+
*/
|
|
407
|
+
"label": string;
|
|
408
|
+
/**
|
|
409
|
+
* Multi-select: selected values are shown as removable chips
|
|
410
|
+
* @default false
|
|
411
|
+
*/
|
|
412
|
+
"multiple": boolean;
|
|
413
|
+
/**
|
|
414
|
+
* Options as an array of { label, value, disabled? } or a JSON string of the same
|
|
415
|
+
* @default []
|
|
416
|
+
*/
|
|
417
|
+
"options": EvokeOption[] | string;
|
|
418
|
+
/**
|
|
419
|
+
* @default 'Select an option'
|
|
420
|
+
*/
|
|
421
|
+
"placeholder": string;
|
|
422
|
+
/**
|
|
423
|
+
* Adds a search box that filters the options
|
|
424
|
+
* @default false
|
|
425
|
+
*/
|
|
426
|
+
"searchable": boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Extra classes for the inner <select> (single, non-searchable mode), e.g. "form-select"
|
|
429
|
+
* @default ''
|
|
430
|
+
*/
|
|
431
|
+
"selectClass": string;
|
|
432
|
+
/**
|
|
433
|
+
* Selected value (string), or an array of values when `multiple`
|
|
434
|
+
* @default ''
|
|
435
|
+
*/
|
|
436
|
+
"value": string | string[];
|
|
437
|
+
}
|
|
438
|
+
interface EvokeSwitch {
|
|
439
|
+
/**
|
|
440
|
+
* aria-label for a plain toggle that has no visible label
|
|
441
|
+
*/
|
|
442
|
+
"accessibleLabel"?: string;
|
|
443
|
+
/**
|
|
444
|
+
* @default false
|
|
445
|
+
*/
|
|
446
|
+
"checked": boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Secondary text under the label
|
|
449
|
+
* @default ''
|
|
450
|
+
*/
|
|
451
|
+
"description": string;
|
|
452
|
+
/**
|
|
453
|
+
* @default false
|
|
454
|
+
*/
|
|
455
|
+
"disabled": boolean;
|
|
456
|
+
/**
|
|
457
|
+
* Optional visible label. Without a label or description it is a plain toggle.
|
|
458
|
+
* @default ''
|
|
459
|
+
*/
|
|
460
|
+
"label": string;
|
|
461
|
+
}
|
|
462
|
+
interface EvokeTable {
|
|
463
|
+
/**
|
|
464
|
+
* Visually hidden/visible table caption for screen readers
|
|
465
|
+
* @default ''
|
|
466
|
+
*/
|
|
467
|
+
"caption": string;
|
|
468
|
+
/**
|
|
469
|
+
* Columns as an array of { key, label, sortable?, align? } or a JSON string of the same
|
|
470
|
+
* @default []
|
|
471
|
+
*/
|
|
472
|
+
"columns": { key: string; label: string; sortable?: boolean; align?: 'left' | 'center' | 'right' }[] | string;
|
|
473
|
+
/**
|
|
474
|
+
* @default 'No data'
|
|
475
|
+
*/
|
|
476
|
+
"emptyText": string;
|
|
477
|
+
/**
|
|
478
|
+
* Rows as an array of objects keyed by column key, or a JSON string of the same
|
|
479
|
+
* @default []
|
|
480
|
+
*/
|
|
481
|
+
"rows": Record<string, string | number | boolean | null>[] | string;
|
|
482
|
+
/**
|
|
483
|
+
* Allow sorting on columns marked `sortable` (or all columns if none are marked)
|
|
484
|
+
* @default false
|
|
485
|
+
*/
|
|
486
|
+
"sortable": boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Alternate row shading
|
|
489
|
+
* @default false
|
|
490
|
+
*/
|
|
491
|
+
"striped": boolean;
|
|
492
|
+
}
|
|
493
|
+
interface EvokeTabs {
|
|
494
|
+
/**
|
|
495
|
+
* Underline tabs or pill tabs
|
|
496
|
+
* @default 'underline'
|
|
497
|
+
*/
|
|
498
|
+
"appearance": 'underline' | 'pill';
|
|
499
|
+
/**
|
|
500
|
+
* Accessible name for the tab list
|
|
501
|
+
* @default ''
|
|
502
|
+
*/
|
|
503
|
+
"label": string;
|
|
504
|
+
/**
|
|
505
|
+
* Tabs as an array of { label, value, disabled? } or a JSON string of the same
|
|
506
|
+
* @default []
|
|
507
|
+
*/
|
|
508
|
+
"options": EvokeOption[] | string;
|
|
509
|
+
/**
|
|
510
|
+
* Value of the active tab. Defaults to the first enabled tab.
|
|
511
|
+
* @default ''
|
|
512
|
+
*/
|
|
513
|
+
"value": string;
|
|
514
|
+
}
|
|
515
|
+
interface EvokeTextarea {
|
|
516
|
+
/**
|
|
517
|
+
* Grow with the content instead of scrolling
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
"autoGrow": boolean;
|
|
521
|
+
/**
|
|
522
|
+
* @default false
|
|
523
|
+
*/
|
|
524
|
+
"disabled": boolean;
|
|
525
|
+
/**
|
|
526
|
+
* @default ''
|
|
527
|
+
*/
|
|
528
|
+
"error": string;
|
|
529
|
+
/**
|
|
530
|
+
* @default ''
|
|
531
|
+
*/
|
|
532
|
+
"hint": string;
|
|
533
|
+
/**
|
|
534
|
+
* @default ''
|
|
535
|
+
*/
|
|
536
|
+
"label": string;
|
|
537
|
+
/**
|
|
538
|
+
* Max characters; also shows a live "n / max" counter
|
|
539
|
+
*/
|
|
540
|
+
"maxLength"?: number;
|
|
541
|
+
/**
|
|
542
|
+
* @default ''
|
|
543
|
+
*/
|
|
544
|
+
"name": string;
|
|
545
|
+
/**
|
|
546
|
+
* @default ''
|
|
547
|
+
*/
|
|
548
|
+
"placeholder": string;
|
|
549
|
+
/**
|
|
550
|
+
* @default false
|
|
551
|
+
*/
|
|
552
|
+
"required": boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Visible rows (the minimum height when `auto-grow` is on)
|
|
555
|
+
* @default 4
|
|
556
|
+
*/
|
|
557
|
+
"rows": number;
|
|
558
|
+
/**
|
|
559
|
+
* Extra classes for the inner <textarea>
|
|
560
|
+
* @default ''
|
|
561
|
+
*/
|
|
562
|
+
"textareaClass": string;
|
|
563
|
+
/**
|
|
564
|
+
* @default ''
|
|
565
|
+
*/
|
|
566
|
+
"value": string;
|
|
567
|
+
}
|
|
568
|
+
interface EvokeToast {
|
|
569
|
+
/**
|
|
570
|
+
* Label of an action button, e.g. "View cart". Leave empty for a simple message.
|
|
571
|
+
* @default ''
|
|
572
|
+
*/
|
|
573
|
+
"action": string;
|
|
574
|
+
/**
|
|
575
|
+
* Auto-dismiss after this many ms; 0 keeps it open until closed
|
|
576
|
+
* @default 4000
|
|
577
|
+
*/
|
|
578
|
+
"duration": number;
|
|
579
|
+
/**
|
|
580
|
+
* Message text (or use the default slot)
|
|
581
|
+
* @default ''
|
|
582
|
+
*/
|
|
583
|
+
"message": string;
|
|
584
|
+
/**
|
|
585
|
+
* @default false
|
|
586
|
+
*/
|
|
587
|
+
"open": boolean;
|
|
588
|
+
/**
|
|
589
|
+
* @default 'bottom'
|
|
590
|
+
*/
|
|
591
|
+
"position": 'bottom' | 'top';
|
|
592
|
+
/**
|
|
593
|
+
* @default 'info'
|
|
594
|
+
*/
|
|
595
|
+
"type": 'info' | 'success' | 'warning' | 'danger';
|
|
596
|
+
}
|
|
597
|
+
interface EvokeTooltip {
|
|
598
|
+
/**
|
|
599
|
+
* @default 'top'
|
|
600
|
+
*/
|
|
601
|
+
"placement": 'top' | 'bottom' | 'left' | 'right';
|
|
602
|
+
/**
|
|
603
|
+
* @default ''
|
|
604
|
+
*/
|
|
605
|
+
"text": string;
|
|
606
|
+
/**
|
|
607
|
+
* Dark, or light with an arrow
|
|
608
|
+
* @default 'dark'
|
|
609
|
+
*/
|
|
610
|
+
"theme": 'dark' | 'light';
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
export interface EvokeAlertCustomEvent<T> extends CustomEvent<T> {
|
|
614
|
+
detail: T;
|
|
615
|
+
target: HTMLEvokeAlertElement;
|
|
616
|
+
}
|
|
617
|
+
export interface EvokeCardCustomEvent<T> extends CustomEvent<T> {
|
|
618
|
+
detail: T;
|
|
619
|
+
target: HTMLEvokeCardElement;
|
|
620
|
+
}
|
|
621
|
+
export interface EvokeCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
622
|
+
detail: T;
|
|
623
|
+
target: HTMLEvokeCheckboxElement;
|
|
624
|
+
}
|
|
625
|
+
export interface EvokeChipCustomEvent<T> extends CustomEvent<T> {
|
|
626
|
+
detail: T;
|
|
627
|
+
target: HTMLEvokeChipElement;
|
|
628
|
+
}
|
|
629
|
+
export interface EvokeInputCustomEvent<T> extends CustomEvent<T> {
|
|
630
|
+
detail: T;
|
|
631
|
+
target: HTMLEvokeInputElement;
|
|
632
|
+
}
|
|
633
|
+
export interface EvokeModalCustomEvent<T> extends CustomEvent<T> {
|
|
634
|
+
detail: T;
|
|
635
|
+
target: HTMLEvokeModalElement;
|
|
636
|
+
}
|
|
637
|
+
export interface EvokePaginationCustomEvent<T> extends CustomEvent<T> {
|
|
638
|
+
detail: T;
|
|
639
|
+
target: HTMLEvokePaginationElement;
|
|
640
|
+
}
|
|
641
|
+
export interface EvokeQuantityStepperCustomEvent<T> extends CustomEvent<T> {
|
|
642
|
+
detail: T;
|
|
643
|
+
target: HTMLEvokeQuantityStepperElement;
|
|
644
|
+
}
|
|
645
|
+
export interface EvokeRadioGroupCustomEvent<T> extends CustomEvent<T> {
|
|
646
|
+
detail: T;
|
|
647
|
+
target: HTMLEvokeRadioGroupElement;
|
|
648
|
+
}
|
|
649
|
+
export interface EvokeSelectCustomEvent<T> extends CustomEvent<T> {
|
|
650
|
+
detail: T;
|
|
651
|
+
target: HTMLEvokeSelectElement;
|
|
652
|
+
}
|
|
653
|
+
export interface EvokeSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
654
|
+
detail: T;
|
|
655
|
+
target: HTMLEvokeSwitchElement;
|
|
656
|
+
}
|
|
657
|
+
export interface EvokeTableCustomEvent<T> extends CustomEvent<T> {
|
|
658
|
+
detail: T;
|
|
659
|
+
target: HTMLEvokeTableElement;
|
|
660
|
+
}
|
|
661
|
+
export interface EvokeTabsCustomEvent<T> extends CustomEvent<T> {
|
|
662
|
+
detail: T;
|
|
663
|
+
target: HTMLEvokeTabsElement;
|
|
664
|
+
}
|
|
665
|
+
export interface EvokeTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
666
|
+
detail: T;
|
|
667
|
+
target: HTMLEvokeTextareaElement;
|
|
668
|
+
}
|
|
669
|
+
export interface EvokeToastCustomEvent<T> extends CustomEvent<T> {
|
|
670
|
+
detail: T;
|
|
671
|
+
target: HTMLEvokeToastElement;
|
|
672
|
+
}
|
|
673
|
+
declare global {
|
|
674
|
+
interface HTMLEvokeAlertElementEventMap {
|
|
675
|
+
"evokeDismiss": void;
|
|
676
|
+
}
|
|
677
|
+
interface HTMLEvokeAlertElement extends Components.EvokeAlert, HTMLStencilElement {
|
|
678
|
+
addEventListener<K extends keyof HTMLEvokeAlertElementEventMap>(type: K, listener: (this: HTMLEvokeAlertElement, ev: EvokeAlertCustomEvent<HTMLEvokeAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
679
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
680
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
681
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
682
|
+
removeEventListener<K extends keyof HTMLEvokeAlertElementEventMap>(type: K, listener: (this: HTMLEvokeAlertElement, ev: EvokeAlertCustomEvent<HTMLEvokeAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
683
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
684
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
685
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
686
|
+
}
|
|
687
|
+
var HTMLEvokeAlertElement: {
|
|
688
|
+
prototype: HTMLEvokeAlertElement;
|
|
689
|
+
new (): HTMLEvokeAlertElement;
|
|
690
|
+
};
|
|
691
|
+
interface HTMLEvokeAppBarElement extends Components.EvokeAppBar, HTMLStencilElement {
|
|
692
|
+
}
|
|
693
|
+
var HTMLEvokeAppBarElement: {
|
|
694
|
+
prototype: HTMLEvokeAppBarElement;
|
|
695
|
+
new (): HTMLEvokeAppBarElement;
|
|
696
|
+
};
|
|
697
|
+
interface HTMLEvokeBadgeElement extends Components.EvokeBadge, HTMLStencilElement {
|
|
698
|
+
}
|
|
699
|
+
var HTMLEvokeBadgeElement: {
|
|
700
|
+
prototype: HTMLEvokeBadgeElement;
|
|
701
|
+
new (): HTMLEvokeBadgeElement;
|
|
702
|
+
};
|
|
703
|
+
interface HTMLEvokeButtonElement extends Components.EvokeButton, HTMLStencilElement {
|
|
704
|
+
}
|
|
705
|
+
var HTMLEvokeButtonElement: {
|
|
706
|
+
prototype: HTMLEvokeButtonElement;
|
|
707
|
+
new (): HTMLEvokeButtonElement;
|
|
708
|
+
};
|
|
709
|
+
interface HTMLEvokeCardElementEventMap {
|
|
710
|
+
"evokeClick": void;
|
|
711
|
+
}
|
|
712
|
+
interface HTMLEvokeCardElement extends Components.EvokeCard, HTMLStencilElement {
|
|
713
|
+
addEventListener<K extends keyof HTMLEvokeCardElementEventMap>(type: K, listener: (this: HTMLEvokeCardElement, ev: EvokeCardCustomEvent<HTMLEvokeCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
714
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
715
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
716
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
717
|
+
removeEventListener<K extends keyof HTMLEvokeCardElementEventMap>(type: K, listener: (this: HTMLEvokeCardElement, ev: EvokeCardCustomEvent<HTMLEvokeCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
718
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
719
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
720
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
721
|
+
}
|
|
722
|
+
var HTMLEvokeCardElement: {
|
|
723
|
+
prototype: HTMLEvokeCardElement;
|
|
724
|
+
new (): HTMLEvokeCardElement;
|
|
725
|
+
};
|
|
726
|
+
interface HTMLEvokeCheckboxElementEventMap {
|
|
727
|
+
"evokeChange": boolean;
|
|
728
|
+
}
|
|
729
|
+
interface HTMLEvokeCheckboxElement extends Components.EvokeCheckbox, HTMLStencilElement {
|
|
730
|
+
addEventListener<K extends keyof HTMLEvokeCheckboxElementEventMap>(type: K, listener: (this: HTMLEvokeCheckboxElement, ev: EvokeCheckboxCustomEvent<HTMLEvokeCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
731
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
732
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
733
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
734
|
+
removeEventListener<K extends keyof HTMLEvokeCheckboxElementEventMap>(type: K, listener: (this: HTMLEvokeCheckboxElement, ev: EvokeCheckboxCustomEvent<HTMLEvokeCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
735
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
736
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
737
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
738
|
+
}
|
|
739
|
+
var HTMLEvokeCheckboxElement: {
|
|
740
|
+
prototype: HTMLEvokeCheckboxElement;
|
|
741
|
+
new (): HTMLEvokeCheckboxElement;
|
|
742
|
+
};
|
|
743
|
+
interface HTMLEvokeChipElementEventMap {
|
|
744
|
+
"evokeChange": boolean;
|
|
745
|
+
"evokeRemove": void;
|
|
746
|
+
}
|
|
747
|
+
interface HTMLEvokeChipElement extends Components.EvokeChip, HTMLStencilElement {
|
|
748
|
+
addEventListener<K extends keyof HTMLEvokeChipElementEventMap>(type: K, listener: (this: HTMLEvokeChipElement, ev: EvokeChipCustomEvent<HTMLEvokeChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
749
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
750
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
751
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
752
|
+
removeEventListener<K extends keyof HTMLEvokeChipElementEventMap>(type: K, listener: (this: HTMLEvokeChipElement, ev: EvokeChipCustomEvent<HTMLEvokeChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
753
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
754
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
755
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
756
|
+
}
|
|
757
|
+
var HTMLEvokeChipElement: {
|
|
758
|
+
prototype: HTMLEvokeChipElement;
|
|
759
|
+
new (): HTMLEvokeChipElement;
|
|
760
|
+
};
|
|
761
|
+
interface HTMLEvokeInputElementEventMap {
|
|
762
|
+
"evokeInput": string;
|
|
763
|
+
"evokeChange": string;
|
|
764
|
+
}
|
|
765
|
+
interface HTMLEvokeInputElement extends Components.EvokeInput, HTMLStencilElement {
|
|
766
|
+
addEventListener<K extends keyof HTMLEvokeInputElementEventMap>(type: K, listener: (this: HTMLEvokeInputElement, ev: EvokeInputCustomEvent<HTMLEvokeInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
767
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
768
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
769
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
770
|
+
removeEventListener<K extends keyof HTMLEvokeInputElementEventMap>(type: K, listener: (this: HTMLEvokeInputElement, ev: EvokeInputCustomEvent<HTMLEvokeInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
771
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
772
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
773
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
774
|
+
}
|
|
775
|
+
var HTMLEvokeInputElement: {
|
|
776
|
+
prototype: HTMLEvokeInputElement;
|
|
777
|
+
new (): HTMLEvokeInputElement;
|
|
778
|
+
};
|
|
779
|
+
interface HTMLEvokeModalElementEventMap {
|
|
780
|
+
"evokeClose": void;
|
|
781
|
+
}
|
|
782
|
+
interface HTMLEvokeModalElement extends Components.EvokeModal, HTMLStencilElement {
|
|
783
|
+
addEventListener<K extends keyof HTMLEvokeModalElementEventMap>(type: K, listener: (this: HTMLEvokeModalElement, ev: EvokeModalCustomEvent<HTMLEvokeModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
784
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
785
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
786
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
787
|
+
removeEventListener<K extends keyof HTMLEvokeModalElementEventMap>(type: K, listener: (this: HTMLEvokeModalElement, ev: EvokeModalCustomEvent<HTMLEvokeModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
788
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
789
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
790
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
791
|
+
}
|
|
792
|
+
var HTMLEvokeModalElement: {
|
|
793
|
+
prototype: HTMLEvokeModalElement;
|
|
794
|
+
new (): HTMLEvokeModalElement;
|
|
795
|
+
};
|
|
796
|
+
interface HTMLEvokePaginationElementEventMap {
|
|
797
|
+
"evokeChange": number;
|
|
798
|
+
}
|
|
799
|
+
interface HTMLEvokePaginationElement extends Components.EvokePagination, HTMLStencilElement {
|
|
800
|
+
addEventListener<K extends keyof HTMLEvokePaginationElementEventMap>(type: K, listener: (this: HTMLEvokePaginationElement, ev: EvokePaginationCustomEvent<HTMLEvokePaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
801
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
802
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
803
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
804
|
+
removeEventListener<K extends keyof HTMLEvokePaginationElementEventMap>(type: K, listener: (this: HTMLEvokePaginationElement, ev: EvokePaginationCustomEvent<HTMLEvokePaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
805
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
806
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
807
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
808
|
+
}
|
|
809
|
+
var HTMLEvokePaginationElement: {
|
|
810
|
+
prototype: HTMLEvokePaginationElement;
|
|
811
|
+
new (): HTMLEvokePaginationElement;
|
|
812
|
+
};
|
|
813
|
+
interface HTMLEvokeProgressElement extends Components.EvokeProgress, HTMLStencilElement {
|
|
814
|
+
}
|
|
815
|
+
var HTMLEvokeProgressElement: {
|
|
816
|
+
prototype: HTMLEvokeProgressElement;
|
|
817
|
+
new (): HTMLEvokeProgressElement;
|
|
818
|
+
};
|
|
819
|
+
interface HTMLEvokeQuantityStepperElementEventMap {
|
|
820
|
+
"evokeChange": number;
|
|
821
|
+
}
|
|
822
|
+
interface HTMLEvokeQuantityStepperElement extends Components.EvokeQuantityStepper, HTMLStencilElement {
|
|
823
|
+
addEventListener<K extends keyof HTMLEvokeQuantityStepperElementEventMap>(type: K, listener: (this: HTMLEvokeQuantityStepperElement, ev: EvokeQuantityStepperCustomEvent<HTMLEvokeQuantityStepperElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
824
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
825
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
826
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
827
|
+
removeEventListener<K extends keyof HTMLEvokeQuantityStepperElementEventMap>(type: K, listener: (this: HTMLEvokeQuantityStepperElement, ev: EvokeQuantityStepperCustomEvent<HTMLEvokeQuantityStepperElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
828
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
829
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
830
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
831
|
+
}
|
|
832
|
+
var HTMLEvokeQuantityStepperElement: {
|
|
833
|
+
prototype: HTMLEvokeQuantityStepperElement;
|
|
834
|
+
new (): HTMLEvokeQuantityStepperElement;
|
|
835
|
+
};
|
|
836
|
+
interface HTMLEvokeRadioGroupElementEventMap {
|
|
837
|
+
"evokeChange": string;
|
|
838
|
+
}
|
|
839
|
+
interface HTMLEvokeRadioGroupElement extends Components.EvokeRadioGroup, HTMLStencilElement {
|
|
840
|
+
addEventListener<K extends keyof HTMLEvokeRadioGroupElementEventMap>(type: K, listener: (this: HTMLEvokeRadioGroupElement, ev: EvokeRadioGroupCustomEvent<HTMLEvokeRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
841
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
842
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
843
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
844
|
+
removeEventListener<K extends keyof HTMLEvokeRadioGroupElementEventMap>(type: K, listener: (this: HTMLEvokeRadioGroupElement, ev: EvokeRadioGroupCustomEvent<HTMLEvokeRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
845
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
846
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
847
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
848
|
+
}
|
|
849
|
+
var HTMLEvokeRadioGroupElement: {
|
|
850
|
+
prototype: HTMLEvokeRadioGroupElement;
|
|
851
|
+
new (): HTMLEvokeRadioGroupElement;
|
|
852
|
+
};
|
|
853
|
+
interface HTMLEvokeSelectElementEventMap {
|
|
854
|
+
"evokeChange": string | string[];
|
|
855
|
+
}
|
|
856
|
+
interface HTMLEvokeSelectElement extends Components.EvokeSelect, HTMLStencilElement {
|
|
857
|
+
addEventListener<K extends keyof HTMLEvokeSelectElementEventMap>(type: K, listener: (this: HTMLEvokeSelectElement, ev: EvokeSelectCustomEvent<HTMLEvokeSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
858
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
859
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
860
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
861
|
+
removeEventListener<K extends keyof HTMLEvokeSelectElementEventMap>(type: K, listener: (this: HTMLEvokeSelectElement, ev: EvokeSelectCustomEvent<HTMLEvokeSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
862
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
863
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
864
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
865
|
+
}
|
|
866
|
+
var HTMLEvokeSelectElement: {
|
|
867
|
+
prototype: HTMLEvokeSelectElement;
|
|
868
|
+
new (): HTMLEvokeSelectElement;
|
|
869
|
+
};
|
|
870
|
+
interface HTMLEvokeSwitchElementEventMap {
|
|
871
|
+
"evokeChange": boolean;
|
|
872
|
+
}
|
|
873
|
+
interface HTMLEvokeSwitchElement extends Components.EvokeSwitch, HTMLStencilElement {
|
|
874
|
+
addEventListener<K extends keyof HTMLEvokeSwitchElementEventMap>(type: K, listener: (this: HTMLEvokeSwitchElement, ev: EvokeSwitchCustomEvent<HTMLEvokeSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
875
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
876
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
877
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
878
|
+
removeEventListener<K extends keyof HTMLEvokeSwitchElementEventMap>(type: K, listener: (this: HTMLEvokeSwitchElement, ev: EvokeSwitchCustomEvent<HTMLEvokeSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
879
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
880
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
881
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
882
|
+
}
|
|
883
|
+
var HTMLEvokeSwitchElement: {
|
|
884
|
+
prototype: HTMLEvokeSwitchElement;
|
|
885
|
+
new (): HTMLEvokeSwitchElement;
|
|
886
|
+
};
|
|
887
|
+
interface HTMLEvokeTableElementEventMap {
|
|
888
|
+
"evokeSort": { key: string; direction: 'asc' | 'desc' };
|
|
889
|
+
}
|
|
890
|
+
interface HTMLEvokeTableElement extends Components.EvokeTable, HTMLStencilElement {
|
|
891
|
+
addEventListener<K extends keyof HTMLEvokeTableElementEventMap>(type: K, listener: (this: HTMLEvokeTableElement, ev: EvokeTableCustomEvent<HTMLEvokeTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
892
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
893
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
894
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
895
|
+
removeEventListener<K extends keyof HTMLEvokeTableElementEventMap>(type: K, listener: (this: HTMLEvokeTableElement, ev: EvokeTableCustomEvent<HTMLEvokeTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
896
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
897
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
898
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
899
|
+
}
|
|
900
|
+
var HTMLEvokeTableElement: {
|
|
901
|
+
prototype: HTMLEvokeTableElement;
|
|
902
|
+
new (): HTMLEvokeTableElement;
|
|
903
|
+
};
|
|
904
|
+
interface HTMLEvokeTabsElementEventMap {
|
|
905
|
+
"evokeChange": string;
|
|
906
|
+
}
|
|
907
|
+
interface HTMLEvokeTabsElement extends Components.EvokeTabs, HTMLStencilElement {
|
|
908
|
+
addEventListener<K extends keyof HTMLEvokeTabsElementEventMap>(type: K, listener: (this: HTMLEvokeTabsElement, ev: EvokeTabsCustomEvent<HTMLEvokeTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
909
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
910
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
911
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
912
|
+
removeEventListener<K extends keyof HTMLEvokeTabsElementEventMap>(type: K, listener: (this: HTMLEvokeTabsElement, ev: EvokeTabsCustomEvent<HTMLEvokeTabsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
913
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
914
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
915
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
916
|
+
}
|
|
917
|
+
var HTMLEvokeTabsElement: {
|
|
918
|
+
prototype: HTMLEvokeTabsElement;
|
|
919
|
+
new (): HTMLEvokeTabsElement;
|
|
920
|
+
};
|
|
921
|
+
interface HTMLEvokeTextareaElementEventMap {
|
|
922
|
+
"evokeInput": string;
|
|
923
|
+
"evokeChange": string;
|
|
924
|
+
}
|
|
925
|
+
interface HTMLEvokeTextareaElement extends Components.EvokeTextarea, HTMLStencilElement {
|
|
926
|
+
addEventListener<K extends keyof HTMLEvokeTextareaElementEventMap>(type: K, listener: (this: HTMLEvokeTextareaElement, ev: EvokeTextareaCustomEvent<HTMLEvokeTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
927
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
928
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
929
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
930
|
+
removeEventListener<K extends keyof HTMLEvokeTextareaElementEventMap>(type: K, listener: (this: HTMLEvokeTextareaElement, ev: EvokeTextareaCustomEvent<HTMLEvokeTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
931
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
932
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
933
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
934
|
+
}
|
|
935
|
+
var HTMLEvokeTextareaElement: {
|
|
936
|
+
prototype: HTMLEvokeTextareaElement;
|
|
937
|
+
new (): HTMLEvokeTextareaElement;
|
|
938
|
+
};
|
|
939
|
+
interface HTMLEvokeToastElementEventMap {
|
|
940
|
+
"evokeAction": void;
|
|
941
|
+
"evokeClose": void;
|
|
942
|
+
}
|
|
943
|
+
interface HTMLEvokeToastElement extends Components.EvokeToast, HTMLStencilElement {
|
|
944
|
+
addEventListener<K extends keyof HTMLEvokeToastElementEventMap>(type: K, listener: (this: HTMLEvokeToastElement, ev: EvokeToastCustomEvent<HTMLEvokeToastElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
945
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
946
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
947
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
948
|
+
removeEventListener<K extends keyof HTMLEvokeToastElementEventMap>(type: K, listener: (this: HTMLEvokeToastElement, ev: EvokeToastCustomEvent<HTMLEvokeToastElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
949
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
950
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
951
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
952
|
+
}
|
|
953
|
+
var HTMLEvokeToastElement: {
|
|
954
|
+
prototype: HTMLEvokeToastElement;
|
|
955
|
+
new (): HTMLEvokeToastElement;
|
|
956
|
+
};
|
|
957
|
+
interface HTMLEvokeTooltipElement extends Components.EvokeTooltip, HTMLStencilElement {
|
|
958
|
+
}
|
|
959
|
+
var HTMLEvokeTooltipElement: {
|
|
960
|
+
prototype: HTMLEvokeTooltipElement;
|
|
961
|
+
new (): HTMLEvokeTooltipElement;
|
|
962
|
+
};
|
|
963
|
+
interface HTMLElementTagNameMap {
|
|
964
|
+
"evoke-alert": HTMLEvokeAlertElement;
|
|
965
|
+
"evoke-app-bar": HTMLEvokeAppBarElement;
|
|
966
|
+
"evoke-badge": HTMLEvokeBadgeElement;
|
|
967
|
+
"evoke-button": HTMLEvokeButtonElement;
|
|
968
|
+
"evoke-card": HTMLEvokeCardElement;
|
|
969
|
+
"evoke-checkbox": HTMLEvokeCheckboxElement;
|
|
970
|
+
"evoke-chip": HTMLEvokeChipElement;
|
|
971
|
+
"evoke-input": HTMLEvokeInputElement;
|
|
972
|
+
"evoke-modal": HTMLEvokeModalElement;
|
|
973
|
+
"evoke-pagination": HTMLEvokePaginationElement;
|
|
974
|
+
"evoke-progress": HTMLEvokeProgressElement;
|
|
975
|
+
"evoke-quantity-stepper": HTMLEvokeQuantityStepperElement;
|
|
976
|
+
"evoke-radio-group": HTMLEvokeRadioGroupElement;
|
|
977
|
+
"evoke-select": HTMLEvokeSelectElement;
|
|
978
|
+
"evoke-switch": HTMLEvokeSwitchElement;
|
|
979
|
+
"evoke-table": HTMLEvokeTableElement;
|
|
980
|
+
"evoke-tabs": HTMLEvokeTabsElement;
|
|
981
|
+
"evoke-textarea": HTMLEvokeTextareaElement;
|
|
982
|
+
"evoke-toast": HTMLEvokeToastElement;
|
|
983
|
+
"evoke-tooltip": HTMLEvokeTooltipElement;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
declare namespace LocalJSX {
|
|
987
|
+
interface EvokeAlert {
|
|
988
|
+
/**
|
|
989
|
+
* Subtle (tinted background) or solid (filled colour)
|
|
990
|
+
* @default 'subtle'
|
|
991
|
+
*/
|
|
992
|
+
"appearance"?: 'subtle' | 'solid';
|
|
993
|
+
/**
|
|
994
|
+
* @default false
|
|
995
|
+
*/
|
|
996
|
+
"dismissible"?: boolean;
|
|
997
|
+
/**
|
|
998
|
+
* Fired when the dismiss button is clicked
|
|
999
|
+
*/
|
|
1000
|
+
"onEvokeDismiss"?: (event: EvokeAlertCustomEvent<void>) => void;
|
|
1001
|
+
/**
|
|
1002
|
+
* @default 'info'
|
|
1003
|
+
*/
|
|
1004
|
+
"type"?: 'info' | 'success' | 'warning' | 'danger';
|
|
1005
|
+
}
|
|
1006
|
+
interface EvokeAppBar {
|
|
1007
|
+
/**
|
|
1008
|
+
* Light surface, or dark / brand-coloured (navy)
|
|
1009
|
+
* @default 'light'
|
|
1010
|
+
*/
|
|
1011
|
+
"appearance"?: 'light' | 'dark';
|
|
1012
|
+
/**
|
|
1013
|
+
* Accessible name for the navigation landmark
|
|
1014
|
+
* @default 'Main'
|
|
1015
|
+
*/
|
|
1016
|
+
"navLabel"?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* Stick to the top of the viewport while scrolling
|
|
1019
|
+
* @default false
|
|
1020
|
+
*/
|
|
1021
|
+
"sticky"?: boolean;
|
|
1022
|
+
}
|
|
1023
|
+
interface EvokeBadge {
|
|
1024
|
+
/**
|
|
1025
|
+
* @default 'danger'
|
|
1026
|
+
*/
|
|
1027
|
+
"color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
|
|
1028
|
+
/**
|
|
1029
|
+
* Number to show (count badge)
|
|
1030
|
+
* @default 0
|
|
1031
|
+
*/
|
|
1032
|
+
"count"?: number;
|
|
1033
|
+
/**
|
|
1034
|
+
* Show a small status dot instead of a number
|
|
1035
|
+
* @default false
|
|
1036
|
+
*/
|
|
1037
|
+
"dot"?: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* Screen-reader text, e.g. "3 items in cart". A dot without a label is treated as decorative.
|
|
1040
|
+
* @default ''
|
|
1041
|
+
*/
|
|
1042
|
+
"label"?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Counts above this show as "max+" (e.g. 99+)
|
|
1045
|
+
* @default 99
|
|
1046
|
+
*/
|
|
1047
|
+
"max"?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* Show the badge even when the count is 0
|
|
1050
|
+
* @default false
|
|
1051
|
+
*/
|
|
1052
|
+
"showZero"?: boolean;
|
|
1053
|
+
}
|
|
1054
|
+
interface EvokeButton {
|
|
1055
|
+
/**
|
|
1056
|
+
* aria-label for the inner button (required when `icon-only`)
|
|
1057
|
+
*/
|
|
1058
|
+
"accessibleLabel"?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Stretch to the full width of the container
|
|
1061
|
+
* @default false
|
|
1062
|
+
*/
|
|
1063
|
+
"block"?: boolean;
|
|
1064
|
+
/**
|
|
1065
|
+
* Extra classes for the inner <button>, e.g. "btn btn-lg" (Bootstrap) or "shadow-lg" (Tailwind)
|
|
1066
|
+
* @default ''
|
|
1067
|
+
*/
|
|
1068
|
+
"buttonClass"?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* @default false
|
|
1071
|
+
*/
|
|
1072
|
+
"disabled"?: boolean;
|
|
1073
|
+
/**
|
|
1074
|
+
* Optional leading icon
|
|
1075
|
+
*/
|
|
1076
|
+
"icon"?: EvokeIcon;
|
|
1077
|
+
/**
|
|
1078
|
+
* Square button for icon-only use; set `accessible-label` too
|
|
1079
|
+
* @default false
|
|
1080
|
+
*/
|
|
1081
|
+
"iconOnly"?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* Shows a spinner and blocks clicks while true
|
|
1084
|
+
* @default false
|
|
1085
|
+
*/
|
|
1086
|
+
"loading"?: boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* @default 'md'
|
|
1089
|
+
*/
|
|
1090
|
+
"size"?: 'sm' | 'md' | 'lg';
|
|
1091
|
+
/**
|
|
1092
|
+
* @default 'button'
|
|
1093
|
+
*/
|
|
1094
|
+
"type"?: 'button' | 'submit' | 'reset';
|
|
1095
|
+
/**
|
|
1096
|
+
* Solid variants (primary, secondary, danger), outline, or ghost (text only, no border)
|
|
1097
|
+
* @default 'primary'
|
|
1098
|
+
*/
|
|
1099
|
+
"variant"?: 'primary' | 'secondary' | 'danger' | 'outline' | 'ghost';
|
|
1100
|
+
}
|
|
1101
|
+
interface EvokeCard {
|
|
1102
|
+
/**
|
|
1103
|
+
* Outlined (border) or elevated (shadow, no border)
|
|
1104
|
+
* @default 'outlined'
|
|
1105
|
+
*/
|
|
1106
|
+
"appearance"?: 'outlined' | 'elevated';
|
|
1107
|
+
/**
|
|
1108
|
+
* Extra classes for the card container, e.g. "shadow-md" (Tailwind) or "card" (Bootstrap)
|
|
1109
|
+
* @default ''
|
|
1110
|
+
*/
|
|
1111
|
+
"cardClass"?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Makes the whole card a button (hover/active/focus states, Enter/Space)
|
|
1114
|
+
* @default false
|
|
1115
|
+
*/
|
|
1116
|
+
"clickable"?: boolean;
|
|
1117
|
+
/**
|
|
1118
|
+
* @default ''
|
|
1119
|
+
*/
|
|
1120
|
+
"heading"?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* Fired when a `clickable` card is activated
|
|
1123
|
+
*/
|
|
1124
|
+
"onEvokeClick"?: (event: EvokeCardCustomEvent<void>) => void;
|
|
1125
|
+
}
|
|
1126
|
+
interface EvokeCheckbox {
|
|
1127
|
+
/**
|
|
1128
|
+
* @default false
|
|
1129
|
+
*/
|
|
1130
|
+
"checked"?: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* @default false
|
|
1133
|
+
*/
|
|
1134
|
+
"disabled"?: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Error message shown below the checkbox
|
|
1137
|
+
* @default ''
|
|
1138
|
+
*/
|
|
1139
|
+
"error"?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Mixed state, e.g. a "select all" box when only some items are selected. Cleared on click.
|
|
1142
|
+
* @default false
|
|
1143
|
+
*/
|
|
1144
|
+
"indeterminate"?: boolean;
|
|
1145
|
+
/**
|
|
1146
|
+
* Extra classes for the inner <input>
|
|
1147
|
+
* @default ''
|
|
1148
|
+
*/
|
|
1149
|
+
"inputClass"?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* @default ''
|
|
1152
|
+
*/
|
|
1153
|
+
"label"?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Emits the new checked state
|
|
1156
|
+
*/
|
|
1157
|
+
"onEvokeChange"?: (event: EvokeCheckboxCustomEvent<boolean>) => void;
|
|
1158
|
+
}
|
|
1159
|
+
interface EvokeChip {
|
|
1160
|
+
/**
|
|
1161
|
+
* @default false
|
|
1162
|
+
*/
|
|
1163
|
+
"disabled"?: boolean;
|
|
1164
|
+
/**
|
|
1165
|
+
* @default ''
|
|
1166
|
+
*/
|
|
1167
|
+
"label"?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Emits the new selected state (filter chip)
|
|
1170
|
+
*/
|
|
1171
|
+
"onEvokeChange"?: (event: EvokeChipCustomEvent<boolean>) => void;
|
|
1172
|
+
/**
|
|
1173
|
+
* Fired when the remove button is clicked (removable chip)
|
|
1174
|
+
*/
|
|
1175
|
+
"onEvokeRemove"?: (event: EvokeChipCustomEvent<void>) => void;
|
|
1176
|
+
/**
|
|
1177
|
+
* Shows a remove button instead of toggling selection
|
|
1178
|
+
* @default false
|
|
1179
|
+
*/
|
|
1180
|
+
"removable"?: boolean;
|
|
1181
|
+
/**
|
|
1182
|
+
* Selected state (filter chip)
|
|
1183
|
+
* @default false
|
|
1184
|
+
*/
|
|
1185
|
+
"selected"?: boolean;
|
|
1186
|
+
}
|
|
1187
|
+
interface EvokeInput {
|
|
1188
|
+
/**
|
|
1189
|
+
* Outlined (default) or filled (tinted background, bottom border)
|
|
1190
|
+
* @default 'outlined'
|
|
1191
|
+
*/
|
|
1192
|
+
"appearance"?: 'outlined' | 'filled';
|
|
1193
|
+
/**
|
|
1194
|
+
* @default false
|
|
1195
|
+
*/
|
|
1196
|
+
"disabled"?: boolean;
|
|
1197
|
+
/**
|
|
1198
|
+
* Error message shown below the field (replaces the hint)
|
|
1199
|
+
* @default ''
|
|
1200
|
+
*/
|
|
1201
|
+
"error"?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Helper text shown below the field
|
|
1204
|
+
* @default ''
|
|
1205
|
+
*/
|
|
1206
|
+
"hint"?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Optional leading icon
|
|
1209
|
+
*/
|
|
1210
|
+
"icon"?: EvokeIcon;
|
|
1211
|
+
/**
|
|
1212
|
+
* Extra classes for the inner <input>, e.g. "form-control" (Bootstrap)
|
|
1213
|
+
* @default ''
|
|
1214
|
+
*/
|
|
1215
|
+
"inputClass"?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* @default ''
|
|
1218
|
+
*/
|
|
1219
|
+
"label"?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* @default ''
|
|
1222
|
+
*/
|
|
1223
|
+
"name"?: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Emits the new value on commit (blur/enter)
|
|
1226
|
+
*/
|
|
1227
|
+
"onEvokeChange"?: (event: EvokeInputCustomEvent<string>) => void;
|
|
1228
|
+
/**
|
|
1229
|
+
* Emits the new value on every keystroke
|
|
1230
|
+
*/
|
|
1231
|
+
"onEvokeInput"?: (event: EvokeInputCustomEvent<string>) => void;
|
|
1232
|
+
/**
|
|
1233
|
+
* @default ''
|
|
1234
|
+
*/
|
|
1235
|
+
"placeholder"?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* @default false
|
|
1238
|
+
*/
|
|
1239
|
+
"required"?: boolean;
|
|
1240
|
+
/**
|
|
1241
|
+
* @default 'text'
|
|
1242
|
+
*/
|
|
1243
|
+
"type"?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* @default ''
|
|
1246
|
+
*/
|
|
1247
|
+
"value"?: string;
|
|
1248
|
+
}
|
|
1249
|
+
interface EvokeModal {
|
|
1250
|
+
/**
|
|
1251
|
+
* @default true
|
|
1252
|
+
*/
|
|
1253
|
+
"closeOnBackdrop"?: boolean;
|
|
1254
|
+
/**
|
|
1255
|
+
* @default ''
|
|
1256
|
+
*/
|
|
1257
|
+
"heading"?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* Extra classes for the dialog panel
|
|
1260
|
+
* @default ''
|
|
1261
|
+
*/
|
|
1262
|
+
"modalClass"?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Fired when the modal requests to close (backdrop, Esc, or close button)
|
|
1265
|
+
*/
|
|
1266
|
+
"onEvokeClose"?: (event: EvokeModalCustomEvent<void>) => void;
|
|
1267
|
+
/**
|
|
1268
|
+
* Whether the modal is visible
|
|
1269
|
+
* @default false
|
|
1270
|
+
*/
|
|
1271
|
+
"open"?: boolean;
|
|
1272
|
+
/**
|
|
1273
|
+
* Centred dialog, or a drawer sliding in from the right
|
|
1274
|
+
* @default 'center'
|
|
1275
|
+
*/
|
|
1276
|
+
"position"?: 'center' | 'right';
|
|
1277
|
+
/**
|
|
1278
|
+
* @default 'md'
|
|
1279
|
+
*/
|
|
1280
|
+
"size"?: 'sm' | 'md' | 'lg';
|
|
1281
|
+
}
|
|
1282
|
+
interface EvokePagination {
|
|
1283
|
+
/**
|
|
1284
|
+
* Numbered pages, or compact (Prev, "2 of 10", Next)
|
|
1285
|
+
* @default 'numbered'
|
|
1286
|
+
*/
|
|
1287
|
+
"appearance"?: 'numbered' | 'compact';
|
|
1288
|
+
/**
|
|
1289
|
+
* @default false
|
|
1290
|
+
*/
|
|
1291
|
+
"disabled"?: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* Emits the new page number
|
|
1294
|
+
*/
|
|
1295
|
+
"onEvokeChange"?: (event: EvokePaginationCustomEvent<number>) => void;
|
|
1296
|
+
/**
|
|
1297
|
+
* Current page (1-based)
|
|
1298
|
+
* @default 1
|
|
1299
|
+
*/
|
|
1300
|
+
"page"?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* Total number of pages
|
|
1303
|
+
* @default 1
|
|
1304
|
+
*/
|
|
1305
|
+
"total"?: number;
|
|
1306
|
+
}
|
|
1307
|
+
interface EvokeProgress {
|
|
1308
|
+
/**
|
|
1309
|
+
* Unknown duration: animates continuously and ignores `value`
|
|
1310
|
+
* @default false
|
|
1311
|
+
*/
|
|
1312
|
+
"indeterminate"?: boolean;
|
|
1313
|
+
/**
|
|
1314
|
+
* Accessible name, e.g. "Uploading"
|
|
1315
|
+
* @default 'Loading'
|
|
1316
|
+
*/
|
|
1317
|
+
"label"?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* Diameter in px for the circular type
|
|
1320
|
+
* @default 40
|
|
1321
|
+
*/
|
|
1322
|
+
"size"?: number;
|
|
1323
|
+
/**
|
|
1324
|
+
* Linear bar, or circular spinner / ring
|
|
1325
|
+
* @default 'linear'
|
|
1326
|
+
*/
|
|
1327
|
+
"type"?: 'linear' | 'circular';
|
|
1328
|
+
/**
|
|
1329
|
+
* Progress from 0 to 100
|
|
1330
|
+
* @default 0
|
|
1331
|
+
*/
|
|
1332
|
+
"value"?: number;
|
|
1333
|
+
}
|
|
1334
|
+
interface EvokeQuantityStepper {
|
|
1335
|
+
/**
|
|
1336
|
+
* Inline (minus, value, plus) or compact with a quantity dropdown
|
|
1337
|
+
* @default 'inline'
|
|
1338
|
+
*/
|
|
1339
|
+
"appearance"?: 'inline' | 'compact';
|
|
1340
|
+
/**
|
|
1341
|
+
* @default false
|
|
1342
|
+
*/
|
|
1343
|
+
"disabled"?: boolean;
|
|
1344
|
+
/**
|
|
1345
|
+
* Accessible name for the control
|
|
1346
|
+
* @default 'Quantity'
|
|
1347
|
+
*/
|
|
1348
|
+
"label"?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* @default 99
|
|
1351
|
+
*/
|
|
1352
|
+
"max"?: number;
|
|
1353
|
+
/**
|
|
1354
|
+
* @default 1
|
|
1355
|
+
*/
|
|
1356
|
+
"min"?: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* Emits the new quantity
|
|
1359
|
+
*/
|
|
1360
|
+
"onEvokeChange"?: (event: EvokeQuantityStepperCustomEvent<number>) => void;
|
|
1361
|
+
/**
|
|
1362
|
+
* @default 1
|
|
1363
|
+
*/
|
|
1364
|
+
"value"?: number;
|
|
1365
|
+
}
|
|
1366
|
+
interface EvokeRadioGroup {
|
|
1367
|
+
/**
|
|
1368
|
+
* Classic radio circles, or a segmented button group
|
|
1369
|
+
* @default 'classic'
|
|
1370
|
+
*/
|
|
1371
|
+
"appearance"?: 'classic' | 'segmented';
|
|
1372
|
+
/**
|
|
1373
|
+
* @default false
|
|
1374
|
+
*/
|
|
1375
|
+
"disabled"?: boolean;
|
|
1376
|
+
/**
|
|
1377
|
+
* Error message shown below the group
|
|
1378
|
+
* @default ''
|
|
1379
|
+
*/
|
|
1380
|
+
"error"?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* Lay classic options out in a row instead of a column
|
|
1383
|
+
* @default false
|
|
1384
|
+
*/
|
|
1385
|
+
"inline"?: boolean;
|
|
1386
|
+
/**
|
|
1387
|
+
* @default ''
|
|
1388
|
+
*/
|
|
1389
|
+
"label"?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* @default ''
|
|
1392
|
+
*/
|
|
1393
|
+
"name"?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Emits the selected value
|
|
1396
|
+
*/
|
|
1397
|
+
"onEvokeChange"?: (event: EvokeRadioGroupCustomEvent<string>) => void;
|
|
1398
|
+
/**
|
|
1399
|
+
* Options as an array of { label, value, disabled? } or a JSON string of the same
|
|
1400
|
+
* @default []
|
|
1401
|
+
*/
|
|
1402
|
+
"options"?: EvokeOption[] | string;
|
|
1403
|
+
/**
|
|
1404
|
+
* @default ''
|
|
1405
|
+
*/
|
|
1406
|
+
"value"?: string;
|
|
1407
|
+
}
|
|
1408
|
+
interface EvokeSelect {
|
|
1409
|
+
/**
|
|
1410
|
+
* @default false
|
|
1411
|
+
*/
|
|
1412
|
+
"disabled"?: boolean;
|
|
1413
|
+
/**
|
|
1414
|
+
* Error message shown below the field (replaces the hint)
|
|
1415
|
+
* @default ''
|
|
1416
|
+
*/
|
|
1417
|
+
"error"?: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* @default ''
|
|
1420
|
+
*/
|
|
1421
|
+
"hint"?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* @default ''
|
|
1424
|
+
*/
|
|
1425
|
+
"label"?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Multi-select: selected values are shown as removable chips
|
|
1428
|
+
* @default false
|
|
1429
|
+
*/
|
|
1430
|
+
"multiple"?: boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* Emits the selected value (string) or the selected values (string[]) when `multiple`
|
|
1433
|
+
*/
|
|
1434
|
+
"onEvokeChange"?: (event: EvokeSelectCustomEvent<string | string[]>) => void;
|
|
1435
|
+
/**
|
|
1436
|
+
* Options as an array of { label, value, disabled? } or a JSON string of the same
|
|
1437
|
+
* @default []
|
|
1438
|
+
*/
|
|
1439
|
+
"options"?: EvokeOption[] | string;
|
|
1440
|
+
/**
|
|
1441
|
+
* @default 'Select an option'
|
|
1442
|
+
*/
|
|
1443
|
+
"placeholder"?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Adds a search box that filters the options
|
|
1446
|
+
* @default false
|
|
1447
|
+
*/
|
|
1448
|
+
"searchable"?: boolean;
|
|
1449
|
+
/**
|
|
1450
|
+
* Extra classes for the inner <select> (single, non-searchable mode), e.g. "form-select"
|
|
1451
|
+
* @default ''
|
|
1452
|
+
*/
|
|
1453
|
+
"selectClass"?: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Selected value (string), or an array of values when `multiple`
|
|
1456
|
+
* @default ''
|
|
1457
|
+
*/
|
|
1458
|
+
"value"?: string | string[];
|
|
1459
|
+
}
|
|
1460
|
+
interface EvokeSwitch {
|
|
1461
|
+
/**
|
|
1462
|
+
* aria-label for a plain toggle that has no visible label
|
|
1463
|
+
*/
|
|
1464
|
+
"accessibleLabel"?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* @default false
|
|
1467
|
+
*/
|
|
1468
|
+
"checked"?: boolean;
|
|
1469
|
+
/**
|
|
1470
|
+
* Secondary text under the label
|
|
1471
|
+
* @default ''
|
|
1472
|
+
*/
|
|
1473
|
+
"description"?: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* @default false
|
|
1476
|
+
*/
|
|
1477
|
+
"disabled"?: boolean;
|
|
1478
|
+
/**
|
|
1479
|
+
* Optional visible label. Without a label or description it is a plain toggle.
|
|
1480
|
+
* @default ''
|
|
1481
|
+
*/
|
|
1482
|
+
"label"?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Emits the new checked state
|
|
1485
|
+
*/
|
|
1486
|
+
"onEvokeChange"?: (event: EvokeSwitchCustomEvent<boolean>) => void;
|
|
1487
|
+
}
|
|
1488
|
+
interface EvokeTable {
|
|
1489
|
+
/**
|
|
1490
|
+
* Visually hidden/visible table caption for screen readers
|
|
1491
|
+
* @default ''
|
|
1492
|
+
*/
|
|
1493
|
+
"caption"?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Columns as an array of { key, label, sortable?, align? } or a JSON string of the same
|
|
1496
|
+
* @default []
|
|
1497
|
+
*/
|
|
1498
|
+
"columns"?: { key: string; label: string; sortable?: boolean; align?: 'left' | 'center' | 'right' }[] | string;
|
|
1499
|
+
/**
|
|
1500
|
+
* @default 'No data'
|
|
1501
|
+
*/
|
|
1502
|
+
"emptyText"?: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* Fired after a header is sorted: { key, direction } where direction is 'asc' or 'desc'
|
|
1505
|
+
*/
|
|
1506
|
+
"onEvokeSort"?: (event: EvokeTableCustomEvent<{ key: string; direction: 'asc' | 'desc' }>) => void;
|
|
1507
|
+
/**
|
|
1508
|
+
* Rows as an array of objects keyed by column key, or a JSON string of the same
|
|
1509
|
+
* @default []
|
|
1510
|
+
*/
|
|
1511
|
+
"rows"?: Record<string, string | number | boolean | null>[] | string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Allow sorting on columns marked `sortable` (or all columns if none are marked)
|
|
1514
|
+
* @default false
|
|
1515
|
+
*/
|
|
1516
|
+
"sortable"?: boolean;
|
|
1517
|
+
/**
|
|
1518
|
+
* Alternate row shading
|
|
1519
|
+
* @default false
|
|
1520
|
+
*/
|
|
1521
|
+
"striped"?: boolean;
|
|
1522
|
+
}
|
|
1523
|
+
interface EvokeTabs {
|
|
1524
|
+
/**
|
|
1525
|
+
* Underline tabs or pill tabs
|
|
1526
|
+
* @default 'underline'
|
|
1527
|
+
*/
|
|
1528
|
+
"appearance"?: 'underline' | 'pill';
|
|
1529
|
+
/**
|
|
1530
|
+
* Accessible name for the tab list
|
|
1531
|
+
* @default ''
|
|
1532
|
+
*/
|
|
1533
|
+
"label"?: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* Emits the value of the newly selected tab
|
|
1536
|
+
*/
|
|
1537
|
+
"onEvokeChange"?: (event: EvokeTabsCustomEvent<string>) => void;
|
|
1538
|
+
/**
|
|
1539
|
+
* Tabs as an array of { label, value, disabled? } or a JSON string of the same
|
|
1540
|
+
* @default []
|
|
1541
|
+
*/
|
|
1542
|
+
"options"?: EvokeOption[] | string;
|
|
1543
|
+
/**
|
|
1544
|
+
* Value of the active tab. Defaults to the first enabled tab.
|
|
1545
|
+
* @default ''
|
|
1546
|
+
*/
|
|
1547
|
+
"value"?: string;
|
|
1548
|
+
}
|
|
1549
|
+
interface EvokeTextarea {
|
|
1550
|
+
/**
|
|
1551
|
+
* Grow with the content instead of scrolling
|
|
1552
|
+
* @default false
|
|
1553
|
+
*/
|
|
1554
|
+
"autoGrow"?: boolean;
|
|
1555
|
+
/**
|
|
1556
|
+
* @default false
|
|
1557
|
+
*/
|
|
1558
|
+
"disabled"?: boolean;
|
|
1559
|
+
/**
|
|
1560
|
+
* @default ''
|
|
1561
|
+
*/
|
|
1562
|
+
"error"?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* @default ''
|
|
1565
|
+
*/
|
|
1566
|
+
"hint"?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* @default ''
|
|
1569
|
+
*/
|
|
1570
|
+
"label"?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* Max characters; also shows a live "n / max" counter
|
|
1573
|
+
*/
|
|
1574
|
+
"maxLength"?: number;
|
|
1575
|
+
/**
|
|
1576
|
+
* @default ''
|
|
1577
|
+
*/
|
|
1578
|
+
"name"?: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* Emits the new value on commit (blur)
|
|
1581
|
+
*/
|
|
1582
|
+
"onEvokeChange"?: (event: EvokeTextareaCustomEvent<string>) => void;
|
|
1583
|
+
/**
|
|
1584
|
+
* Emits the new value on every keystroke
|
|
1585
|
+
*/
|
|
1586
|
+
"onEvokeInput"?: (event: EvokeTextareaCustomEvent<string>) => void;
|
|
1587
|
+
/**
|
|
1588
|
+
* @default ''
|
|
1589
|
+
*/
|
|
1590
|
+
"placeholder"?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* @default false
|
|
1593
|
+
*/
|
|
1594
|
+
"required"?: boolean;
|
|
1595
|
+
/**
|
|
1596
|
+
* Visible rows (the minimum height when `auto-grow` is on)
|
|
1597
|
+
* @default 4
|
|
1598
|
+
*/
|
|
1599
|
+
"rows"?: number;
|
|
1600
|
+
/**
|
|
1601
|
+
* Extra classes for the inner <textarea>
|
|
1602
|
+
* @default ''
|
|
1603
|
+
*/
|
|
1604
|
+
"textareaClass"?: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* @default ''
|
|
1607
|
+
*/
|
|
1608
|
+
"value"?: string;
|
|
1609
|
+
}
|
|
1610
|
+
interface EvokeToast {
|
|
1611
|
+
/**
|
|
1612
|
+
* Label of an action button, e.g. "View cart". Leave empty for a simple message.
|
|
1613
|
+
* @default ''
|
|
1614
|
+
*/
|
|
1615
|
+
"action"?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Auto-dismiss after this many ms; 0 keeps it open until closed
|
|
1618
|
+
* @default 4000
|
|
1619
|
+
*/
|
|
1620
|
+
"duration"?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* Message text (or use the default slot)
|
|
1623
|
+
* @default ''
|
|
1624
|
+
*/
|
|
1625
|
+
"message"?: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* Fired when the action button is clicked
|
|
1628
|
+
*/
|
|
1629
|
+
"onEvokeAction"?: (event: EvokeToastCustomEvent<void>) => void;
|
|
1630
|
+
/**
|
|
1631
|
+
* Fired when the toast closes (button, action or timeout)
|
|
1632
|
+
*/
|
|
1633
|
+
"onEvokeClose"?: (event: EvokeToastCustomEvent<void>) => void;
|
|
1634
|
+
/**
|
|
1635
|
+
* @default false
|
|
1636
|
+
*/
|
|
1637
|
+
"open"?: boolean;
|
|
1638
|
+
/**
|
|
1639
|
+
* @default 'bottom'
|
|
1640
|
+
*/
|
|
1641
|
+
"position"?: 'bottom' | 'top';
|
|
1642
|
+
/**
|
|
1643
|
+
* @default 'info'
|
|
1644
|
+
*/
|
|
1645
|
+
"type"?: 'info' | 'success' | 'warning' | 'danger';
|
|
1646
|
+
}
|
|
1647
|
+
interface EvokeTooltip {
|
|
1648
|
+
/**
|
|
1649
|
+
* @default 'top'
|
|
1650
|
+
*/
|
|
1651
|
+
"placement"?: 'top' | 'bottom' | 'left' | 'right';
|
|
1652
|
+
/**
|
|
1653
|
+
* @default ''
|
|
1654
|
+
*/
|
|
1655
|
+
"text"?: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* Dark, or light with an arrow
|
|
1658
|
+
* @default 'dark'
|
|
1659
|
+
*/
|
|
1660
|
+
"theme"?: 'dark' | 'light';
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
interface EvokeAlertAttributes {
|
|
1664
|
+
"type": 'info' | 'success' | 'warning' | 'danger';
|
|
1665
|
+
"appearance": 'subtle' | 'solid';
|
|
1666
|
+
"dismissible": boolean;
|
|
1667
|
+
}
|
|
1668
|
+
interface EvokeAppBarAttributes {
|
|
1669
|
+
"appearance": 'light' | 'dark';
|
|
1670
|
+
"sticky": boolean;
|
|
1671
|
+
"navLabel": string;
|
|
1672
|
+
}
|
|
1673
|
+
interface EvokeBadgeAttributes {
|
|
1674
|
+
"count": number;
|
|
1675
|
+
"max": number;
|
|
1676
|
+
"dot": boolean;
|
|
1677
|
+
"showZero": boolean;
|
|
1678
|
+
"color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
|
|
1679
|
+
"label": string;
|
|
1680
|
+
}
|
|
1681
|
+
interface EvokeButtonAttributes {
|
|
1682
|
+
"variant": 'primary' | 'secondary' | 'danger' | 'outline' | 'ghost';
|
|
1683
|
+
"size": 'sm' | 'md' | 'lg';
|
|
1684
|
+
"type": 'button' | 'submit' | 'reset';
|
|
1685
|
+
"disabled": boolean;
|
|
1686
|
+
"loading": boolean;
|
|
1687
|
+
"icon": EvokeIcon;
|
|
1688
|
+
"iconOnly": boolean;
|
|
1689
|
+
"accessibleLabel": string;
|
|
1690
|
+
"block": boolean;
|
|
1691
|
+
"buttonClass": string;
|
|
1692
|
+
}
|
|
1693
|
+
interface EvokeCardAttributes {
|
|
1694
|
+
"heading": string;
|
|
1695
|
+
"appearance": 'outlined' | 'elevated';
|
|
1696
|
+
"clickable": boolean;
|
|
1697
|
+
"cardClass": string;
|
|
1698
|
+
}
|
|
1699
|
+
interface EvokeCheckboxAttributes {
|
|
1700
|
+
"label": string;
|
|
1701
|
+
"checked": boolean;
|
|
1702
|
+
"indeterminate": boolean;
|
|
1703
|
+
"disabled": boolean;
|
|
1704
|
+
"error": string;
|
|
1705
|
+
"inputClass": string;
|
|
1706
|
+
}
|
|
1707
|
+
interface EvokeChipAttributes {
|
|
1708
|
+
"label": string;
|
|
1709
|
+
"selected": boolean;
|
|
1710
|
+
"removable": boolean;
|
|
1711
|
+
"disabled": boolean;
|
|
1712
|
+
}
|
|
1713
|
+
interface EvokeInputAttributes {
|
|
1714
|
+
"label": string;
|
|
1715
|
+
"value": string;
|
|
1716
|
+
"type": string;
|
|
1717
|
+
"name": string;
|
|
1718
|
+
"placeholder": string;
|
|
1719
|
+
"disabled": boolean;
|
|
1720
|
+
"required": boolean;
|
|
1721
|
+
"appearance": 'outlined' | 'filled';
|
|
1722
|
+
"error": string;
|
|
1723
|
+
"hint": string;
|
|
1724
|
+
"icon": EvokeIcon;
|
|
1725
|
+
"inputClass": string;
|
|
1726
|
+
}
|
|
1727
|
+
interface EvokeModalAttributes {
|
|
1728
|
+
"open": boolean;
|
|
1729
|
+
"heading": string;
|
|
1730
|
+
"position": 'center' | 'right';
|
|
1731
|
+
"size": 'sm' | 'md' | 'lg';
|
|
1732
|
+
"closeOnBackdrop": boolean;
|
|
1733
|
+
"modalClass": string;
|
|
1734
|
+
}
|
|
1735
|
+
interface EvokePaginationAttributes {
|
|
1736
|
+
"page": number;
|
|
1737
|
+
"total": number;
|
|
1738
|
+
"appearance": 'numbered' | 'compact';
|
|
1739
|
+
"disabled": boolean;
|
|
1740
|
+
}
|
|
1741
|
+
interface EvokeProgressAttributes {
|
|
1742
|
+
"type": 'linear' | 'circular';
|
|
1743
|
+
"value": number;
|
|
1744
|
+
"indeterminate": boolean;
|
|
1745
|
+
"label": string;
|
|
1746
|
+
"size": number;
|
|
1747
|
+
}
|
|
1748
|
+
interface EvokeQuantityStepperAttributes {
|
|
1749
|
+
"value": number;
|
|
1750
|
+
"min": number;
|
|
1751
|
+
"max": number;
|
|
1752
|
+
"appearance": 'inline' | 'compact';
|
|
1753
|
+
"disabled": boolean;
|
|
1754
|
+
"label": string;
|
|
1755
|
+
}
|
|
1756
|
+
interface EvokeRadioGroupAttributes {
|
|
1757
|
+
"label": string;
|
|
1758
|
+
"options": EvokeOption[] | string;
|
|
1759
|
+
"value": string;
|
|
1760
|
+
"name": string;
|
|
1761
|
+
"disabled": boolean;
|
|
1762
|
+
"appearance": 'classic' | 'segmented';
|
|
1763
|
+
"inline": boolean;
|
|
1764
|
+
"error": string;
|
|
1765
|
+
}
|
|
1766
|
+
interface EvokeSelectAttributes {
|
|
1767
|
+
"label": string;
|
|
1768
|
+
"options": EvokeOption[] | string;
|
|
1769
|
+
"value": string | string[];
|
|
1770
|
+
"placeholder": string;
|
|
1771
|
+
"multiple": boolean;
|
|
1772
|
+
"searchable": boolean;
|
|
1773
|
+
"disabled": boolean;
|
|
1774
|
+
"error": string;
|
|
1775
|
+
"hint": string;
|
|
1776
|
+
"selectClass": string;
|
|
1777
|
+
}
|
|
1778
|
+
interface EvokeSwitchAttributes {
|
|
1779
|
+
"checked": boolean;
|
|
1780
|
+
"label": string;
|
|
1781
|
+
"description": string;
|
|
1782
|
+
"disabled": boolean;
|
|
1783
|
+
"accessibleLabel": string;
|
|
1784
|
+
}
|
|
1785
|
+
interface EvokeTableAttributes {
|
|
1786
|
+
"columns": { key: string; label: string; sortable?: boolean; align?: 'left' | 'center' | 'right' }[] | string;
|
|
1787
|
+
"rows": Record<string, string | number | boolean | null>[] | string;
|
|
1788
|
+
"striped": boolean;
|
|
1789
|
+
"sortable": boolean;
|
|
1790
|
+
"caption": string;
|
|
1791
|
+
"emptyText": string;
|
|
1792
|
+
}
|
|
1793
|
+
interface EvokeTabsAttributes {
|
|
1794
|
+
"options": EvokeOption[] | string;
|
|
1795
|
+
"value": string;
|
|
1796
|
+
"appearance": 'underline' | 'pill';
|
|
1797
|
+
"label": string;
|
|
1798
|
+
}
|
|
1799
|
+
interface EvokeTextareaAttributes {
|
|
1800
|
+
"label": string;
|
|
1801
|
+
"value": string;
|
|
1802
|
+
"name": string;
|
|
1803
|
+
"placeholder": string;
|
|
1804
|
+
"rows": number;
|
|
1805
|
+
"autoGrow": boolean;
|
|
1806
|
+
"maxLength": number;
|
|
1807
|
+
"disabled": boolean;
|
|
1808
|
+
"required": boolean;
|
|
1809
|
+
"error": string;
|
|
1810
|
+
"hint": string;
|
|
1811
|
+
"textareaClass": string;
|
|
1812
|
+
}
|
|
1813
|
+
interface EvokeToastAttributes {
|
|
1814
|
+
"open": boolean;
|
|
1815
|
+
"message": string;
|
|
1816
|
+
"type": 'info' | 'success' | 'warning' | 'danger';
|
|
1817
|
+
"action": string;
|
|
1818
|
+
"duration": number;
|
|
1819
|
+
"position": 'bottom' | 'top';
|
|
1820
|
+
}
|
|
1821
|
+
interface EvokeTooltipAttributes {
|
|
1822
|
+
"text": string;
|
|
1823
|
+
"placement": 'top' | 'bottom' | 'left' | 'right';
|
|
1824
|
+
"theme": 'dark' | 'light';
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
interface IntrinsicElements {
|
|
1828
|
+
"evoke-alert": Omit<EvokeAlert, keyof EvokeAlertAttributes> & { [K in keyof EvokeAlert & keyof EvokeAlertAttributes]?: EvokeAlert[K] } & { [K in keyof EvokeAlert & keyof EvokeAlertAttributes as `attr:${K}`]?: EvokeAlertAttributes[K] } & { [K in keyof EvokeAlert & keyof EvokeAlertAttributes as `prop:${K}`]?: EvokeAlert[K] };
|
|
1829
|
+
"evoke-app-bar": Omit<EvokeAppBar, keyof EvokeAppBarAttributes> & { [K in keyof EvokeAppBar & keyof EvokeAppBarAttributes]?: EvokeAppBar[K] } & { [K in keyof EvokeAppBar & keyof EvokeAppBarAttributes as `attr:${K}`]?: EvokeAppBarAttributes[K] } & { [K in keyof EvokeAppBar & keyof EvokeAppBarAttributes as `prop:${K}`]?: EvokeAppBar[K] };
|
|
1830
|
+
"evoke-badge": Omit<EvokeBadge, keyof EvokeBadgeAttributes> & { [K in keyof EvokeBadge & keyof EvokeBadgeAttributes]?: EvokeBadge[K] } & { [K in keyof EvokeBadge & keyof EvokeBadgeAttributes as `attr:${K}`]?: EvokeBadgeAttributes[K] } & { [K in keyof EvokeBadge & keyof EvokeBadgeAttributes as `prop:${K}`]?: EvokeBadge[K] };
|
|
1831
|
+
"evoke-button": Omit<EvokeButton, keyof EvokeButtonAttributes> & { [K in keyof EvokeButton & keyof EvokeButtonAttributes]?: EvokeButton[K] } & { [K in keyof EvokeButton & keyof EvokeButtonAttributes as `attr:${K}`]?: EvokeButtonAttributes[K] } & { [K in keyof EvokeButton & keyof EvokeButtonAttributes as `prop:${K}`]?: EvokeButton[K] };
|
|
1832
|
+
"evoke-card": Omit<EvokeCard, keyof EvokeCardAttributes> & { [K in keyof EvokeCard & keyof EvokeCardAttributes]?: EvokeCard[K] } & { [K in keyof EvokeCard & keyof EvokeCardAttributes as `attr:${K}`]?: EvokeCardAttributes[K] } & { [K in keyof EvokeCard & keyof EvokeCardAttributes as `prop:${K}`]?: EvokeCard[K] };
|
|
1833
|
+
"evoke-checkbox": Omit<EvokeCheckbox, keyof EvokeCheckboxAttributes> & { [K in keyof EvokeCheckbox & keyof EvokeCheckboxAttributes]?: EvokeCheckbox[K] } & { [K in keyof EvokeCheckbox & keyof EvokeCheckboxAttributes as `attr:${K}`]?: EvokeCheckboxAttributes[K] } & { [K in keyof EvokeCheckbox & keyof EvokeCheckboxAttributes as `prop:${K}`]?: EvokeCheckbox[K] };
|
|
1834
|
+
"evoke-chip": Omit<EvokeChip, keyof EvokeChipAttributes> & { [K in keyof EvokeChip & keyof EvokeChipAttributes]?: EvokeChip[K] } & { [K in keyof EvokeChip & keyof EvokeChipAttributes as `attr:${K}`]?: EvokeChipAttributes[K] } & { [K in keyof EvokeChip & keyof EvokeChipAttributes as `prop:${K}`]?: EvokeChip[K] };
|
|
1835
|
+
"evoke-input": Omit<EvokeInput, keyof EvokeInputAttributes> & { [K in keyof EvokeInput & keyof EvokeInputAttributes]?: EvokeInput[K] } & { [K in keyof EvokeInput & keyof EvokeInputAttributes as `attr:${K}`]?: EvokeInputAttributes[K] } & { [K in keyof EvokeInput & keyof EvokeInputAttributes as `prop:${K}`]?: EvokeInput[K] };
|
|
1836
|
+
"evoke-modal": Omit<EvokeModal, keyof EvokeModalAttributes> & { [K in keyof EvokeModal & keyof EvokeModalAttributes]?: EvokeModal[K] } & { [K in keyof EvokeModal & keyof EvokeModalAttributes as `attr:${K}`]?: EvokeModalAttributes[K] } & { [K in keyof EvokeModal & keyof EvokeModalAttributes as `prop:${K}`]?: EvokeModal[K] };
|
|
1837
|
+
"evoke-pagination": Omit<EvokePagination, keyof EvokePaginationAttributes> & { [K in keyof EvokePagination & keyof EvokePaginationAttributes]?: EvokePagination[K] } & { [K in keyof EvokePagination & keyof EvokePaginationAttributes as `attr:${K}`]?: EvokePaginationAttributes[K] } & { [K in keyof EvokePagination & keyof EvokePaginationAttributes as `prop:${K}`]?: EvokePagination[K] };
|
|
1838
|
+
"evoke-progress": Omit<EvokeProgress, keyof EvokeProgressAttributes> & { [K in keyof EvokeProgress & keyof EvokeProgressAttributes]?: EvokeProgress[K] } & { [K in keyof EvokeProgress & keyof EvokeProgressAttributes as `attr:${K}`]?: EvokeProgressAttributes[K] } & { [K in keyof EvokeProgress & keyof EvokeProgressAttributes as `prop:${K}`]?: EvokeProgress[K] };
|
|
1839
|
+
"evoke-quantity-stepper": Omit<EvokeQuantityStepper, keyof EvokeQuantityStepperAttributes> & { [K in keyof EvokeQuantityStepper & keyof EvokeQuantityStepperAttributes]?: EvokeQuantityStepper[K] } & { [K in keyof EvokeQuantityStepper & keyof EvokeQuantityStepperAttributes as `attr:${K}`]?: EvokeQuantityStepperAttributes[K] } & { [K in keyof EvokeQuantityStepper & keyof EvokeQuantityStepperAttributes as `prop:${K}`]?: EvokeQuantityStepper[K] };
|
|
1840
|
+
"evoke-radio-group": Omit<EvokeRadioGroup, keyof EvokeRadioGroupAttributes> & { [K in keyof EvokeRadioGroup & keyof EvokeRadioGroupAttributes]?: EvokeRadioGroup[K] } & { [K in keyof EvokeRadioGroup & keyof EvokeRadioGroupAttributes as `attr:${K}`]?: EvokeRadioGroupAttributes[K] } & { [K in keyof EvokeRadioGroup & keyof EvokeRadioGroupAttributes as `prop:${K}`]?: EvokeRadioGroup[K] };
|
|
1841
|
+
"evoke-select": Omit<EvokeSelect, keyof EvokeSelectAttributes> & { [K in keyof EvokeSelect & keyof EvokeSelectAttributes]?: EvokeSelect[K] } & { [K in keyof EvokeSelect & keyof EvokeSelectAttributes as `attr:${K}`]?: EvokeSelectAttributes[K] } & { [K in keyof EvokeSelect & keyof EvokeSelectAttributes as `prop:${K}`]?: EvokeSelect[K] };
|
|
1842
|
+
"evoke-switch": Omit<EvokeSwitch, keyof EvokeSwitchAttributes> & { [K in keyof EvokeSwitch & keyof EvokeSwitchAttributes]?: EvokeSwitch[K] } & { [K in keyof EvokeSwitch & keyof EvokeSwitchAttributes as `attr:${K}`]?: EvokeSwitchAttributes[K] } & { [K in keyof EvokeSwitch & keyof EvokeSwitchAttributes as `prop:${K}`]?: EvokeSwitch[K] };
|
|
1843
|
+
"evoke-table": Omit<EvokeTable, keyof EvokeTableAttributes> & { [K in keyof EvokeTable & keyof EvokeTableAttributes]?: EvokeTable[K] } & { [K in keyof EvokeTable & keyof EvokeTableAttributes as `attr:${K}`]?: EvokeTableAttributes[K] } & { [K in keyof EvokeTable & keyof EvokeTableAttributes as `prop:${K}`]?: EvokeTable[K] };
|
|
1844
|
+
"evoke-tabs": Omit<EvokeTabs, keyof EvokeTabsAttributes> & { [K in keyof EvokeTabs & keyof EvokeTabsAttributes]?: EvokeTabs[K] } & { [K in keyof EvokeTabs & keyof EvokeTabsAttributes as `attr:${K}`]?: EvokeTabsAttributes[K] } & { [K in keyof EvokeTabs & keyof EvokeTabsAttributes as `prop:${K}`]?: EvokeTabs[K] };
|
|
1845
|
+
"evoke-textarea": Omit<EvokeTextarea, keyof EvokeTextareaAttributes> & { [K in keyof EvokeTextarea & keyof EvokeTextareaAttributes]?: EvokeTextarea[K] } & { [K in keyof EvokeTextarea & keyof EvokeTextareaAttributes as `attr:${K}`]?: EvokeTextareaAttributes[K] } & { [K in keyof EvokeTextarea & keyof EvokeTextareaAttributes as `prop:${K}`]?: EvokeTextarea[K] };
|
|
1846
|
+
"evoke-toast": Omit<EvokeToast, keyof EvokeToastAttributes> & { [K in keyof EvokeToast & keyof EvokeToastAttributes]?: EvokeToast[K] } & { [K in keyof EvokeToast & keyof EvokeToastAttributes as `attr:${K}`]?: EvokeToastAttributes[K] } & { [K in keyof EvokeToast & keyof EvokeToastAttributes as `prop:${K}`]?: EvokeToast[K] };
|
|
1847
|
+
"evoke-tooltip": Omit<EvokeTooltip, keyof EvokeTooltipAttributes> & { [K in keyof EvokeTooltip & keyof EvokeTooltipAttributes]?: EvokeTooltip[K] } & { [K in keyof EvokeTooltip & keyof EvokeTooltipAttributes as `attr:${K}`]?: EvokeTooltipAttributes[K] } & { [K in keyof EvokeTooltip & keyof EvokeTooltipAttributes as `prop:${K}`]?: EvokeTooltip[K] };
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
export { LocalJSX as JSX };
|
|
1851
|
+
declare module "@stencil/core" {
|
|
1852
|
+
export namespace JSX {
|
|
1853
|
+
interface IntrinsicElements {
|
|
1854
|
+
"evoke-alert": LocalJSX.IntrinsicElements["evoke-alert"] & JSXBase.HTMLAttributes<HTMLEvokeAlertElement>;
|
|
1855
|
+
"evoke-app-bar": LocalJSX.IntrinsicElements["evoke-app-bar"] & JSXBase.HTMLAttributes<HTMLEvokeAppBarElement>;
|
|
1856
|
+
"evoke-badge": LocalJSX.IntrinsicElements["evoke-badge"] & JSXBase.HTMLAttributes<HTMLEvokeBadgeElement>;
|
|
1857
|
+
"evoke-button": LocalJSX.IntrinsicElements["evoke-button"] & JSXBase.HTMLAttributes<HTMLEvokeButtonElement>;
|
|
1858
|
+
"evoke-card": LocalJSX.IntrinsicElements["evoke-card"] & JSXBase.HTMLAttributes<HTMLEvokeCardElement>;
|
|
1859
|
+
"evoke-checkbox": LocalJSX.IntrinsicElements["evoke-checkbox"] & JSXBase.HTMLAttributes<HTMLEvokeCheckboxElement>;
|
|
1860
|
+
"evoke-chip": LocalJSX.IntrinsicElements["evoke-chip"] & JSXBase.HTMLAttributes<HTMLEvokeChipElement>;
|
|
1861
|
+
"evoke-input": LocalJSX.IntrinsicElements["evoke-input"] & JSXBase.HTMLAttributes<HTMLEvokeInputElement>;
|
|
1862
|
+
"evoke-modal": LocalJSX.IntrinsicElements["evoke-modal"] & JSXBase.HTMLAttributes<HTMLEvokeModalElement>;
|
|
1863
|
+
"evoke-pagination": LocalJSX.IntrinsicElements["evoke-pagination"] & JSXBase.HTMLAttributes<HTMLEvokePaginationElement>;
|
|
1864
|
+
"evoke-progress": LocalJSX.IntrinsicElements["evoke-progress"] & JSXBase.HTMLAttributes<HTMLEvokeProgressElement>;
|
|
1865
|
+
"evoke-quantity-stepper": LocalJSX.IntrinsicElements["evoke-quantity-stepper"] & JSXBase.HTMLAttributes<HTMLEvokeQuantityStepperElement>;
|
|
1866
|
+
"evoke-radio-group": LocalJSX.IntrinsicElements["evoke-radio-group"] & JSXBase.HTMLAttributes<HTMLEvokeRadioGroupElement>;
|
|
1867
|
+
"evoke-select": LocalJSX.IntrinsicElements["evoke-select"] & JSXBase.HTMLAttributes<HTMLEvokeSelectElement>;
|
|
1868
|
+
"evoke-switch": LocalJSX.IntrinsicElements["evoke-switch"] & JSXBase.HTMLAttributes<HTMLEvokeSwitchElement>;
|
|
1869
|
+
"evoke-table": LocalJSX.IntrinsicElements["evoke-table"] & JSXBase.HTMLAttributes<HTMLEvokeTableElement>;
|
|
1870
|
+
"evoke-tabs": LocalJSX.IntrinsicElements["evoke-tabs"] & JSXBase.HTMLAttributes<HTMLEvokeTabsElement>;
|
|
1871
|
+
"evoke-textarea": LocalJSX.IntrinsicElements["evoke-textarea"] & JSXBase.HTMLAttributes<HTMLEvokeTextareaElement>;
|
|
1872
|
+
"evoke-toast": LocalJSX.IntrinsicElements["evoke-toast"] & JSXBase.HTMLAttributes<HTMLEvokeToastElement>;
|
|
1873
|
+
"evoke-tooltip": LocalJSX.IntrinsicElements["evoke-tooltip"] & JSXBase.HTMLAttributes<HTMLEvokeTooltipElement>;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
}
|