@@ -4,7 +4,7 @@ declare module '@silintl/ui-components' {
4
4
5
5
export type actions = typeof writable < any [ ] >
6
6
7
- interface ButtonProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
7
+ interface ButtonProps {
8
8
appendIcon ?: string
9
9
disabled ?: boolean
10
10
outlined ?: boolean
@@ -19,7 +19,7 @@ declare module '@silintl/ui-components' {
19
19
20
20
export function isAboveTablet ( ) : boolean
21
21
22
- interface CardProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
22
+ interface CardProps {
23
23
secondary ?: string
24
24
outlined ?: boolean
25
25
color ?: string
@@ -28,7 +28,7 @@ declare module '@silintl/ui-components' {
28
28
}
29
29
export class Card extends SvelteComponentTyped < CardProps > { }
30
30
31
- interface CheckboxProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
31
+ interface CheckboxProps {
32
32
label ?: string
33
33
checked ?: boolean
34
34
disabled ?: boolean
@@ -37,7 +37,7 @@ declare module '@silintl/ui-components' {
37
37
export class Checkbox extends SvelteComponentTyped < CheckboxProps > { }
38
38
39
39
//Datatable
40
- interface DatatableProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
40
+ interface DatatableProps {
41
41
label ?: string
42
42
numberOfCheckboxes ?: number
43
43
}
@@ -47,14 +47,14 @@ declare module '@silintl/ui-components' {
47
47
type HeaderProps = svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] >
48
48
export class Header extends SvelteComponentTyped < HeaderProps > { }
49
49
50
- interface DatatableCheckboxProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
50
+ interface DatatableCheckboxProps {
51
51
disabled ?: boolean
52
52
rowId ?: string
53
53
}
54
54
export class Checkbox extends SvelteComponentTyped < DatatableCheckboxProps > { }
55
55
56
56
export namespace Header {
57
- interface ItemProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
57
+ interface ItemProps {
58
58
numeric ?: boolean
59
59
columnID ?: string
60
60
sortable ?: boolean
@@ -67,13 +67,13 @@ declare module '@silintl/ui-components' {
67
67
export class Data extends SvelteComponentTyped < DataProps > { }
68
68
69
69
export namespace Data {
70
- interface RowProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
70
+ interface RowProps {
71
71
clickable ?: boolean
72
72
}
73
73
export class Row extends SvelteComponentTyped < RowProps > { }
74
74
75
75
export namespace Row {
76
- interface ItemProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
76
+ interface ItemProps {
77
77
numeric ?: boolean
78
78
colspan ?: number
79
79
}
@@ -82,7 +82,7 @@ declare module '@silintl/ui-components' {
82
82
}
83
83
}
84
84
85
- interface DateInputProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
85
+ interface DateInputProps {
86
86
color ?: string
87
87
borderColor ?: string
88
88
errorColor ?: string
@@ -104,7 +104,7 @@ declare module '@silintl/ui-components' {
104
104
action : string
105
105
class : string
106
106
}
107
- interface AlertProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
107
+ interface AlertProps {
108
108
open ?: boolean
109
109
title ?: string
110
110
titleIcon ?: string
@@ -113,14 +113,14 @@ declare module '@silintl/ui-components' {
113
113
}
114
114
export class Alert extends SvelteComponentTyped < AlertProps > { }
115
115
116
- interface SimpleProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
116
+ interface SimpleProps {
117
117
open ?: boolean
118
118
title ?: string
119
119
}
120
120
export class Simple extends SvelteComponentTyped < SimpleProps > { }
121
121
}
122
122
123
- interface DrawerProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
123
+ interface DrawerProps {
124
124
title ?: string
125
125
subtitle ?: string
126
126
menuItems ?: {
@@ -144,7 +144,7 @@ declare module '@silintl/ui-components' {
144
144
}
145
145
export class Drawer extends SvelteComponentTyped < DrawerProps > { }
146
146
147
- interface FabProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
147
+ interface FabProps {
148
148
icon ?: string
149
149
label ?: string
150
150
mini ?: boolean
@@ -155,7 +155,7 @@ declare module '@silintl/ui-components' {
155
155
}
156
156
export class Fab extends SvelteComponentTyped < FabProps > { }
157
157
158
- interface IconButtonProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
158
+ interface IconButtonProps {
159
159
ariaLabel ?: string
160
160
disabled ?: boolean
161
161
icon ?: string
@@ -164,7 +164,7 @@ declare module '@silintl/ui-components' {
164
164
}
165
165
export class IconButton extends SvelteComponentTyped < IconButtonProps > { }
166
166
167
- interface ListProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
167
+ interface ListProps {
168
168
twoLine ?: boolean
169
169
avatar ?: boolean
170
170
}
@@ -177,14 +177,14 @@ declare module '@silintl/ui-components' {
177
177
action ?: VoidFunction
178
178
subtitle ?: string
179
179
}
180
- interface MenuProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
180
+ interface MenuProps {
181
181
menuItems ?: MenuItem [ ]
182
182
menuOpen ?: boolean
183
183
currentUrl ?: string
184
184
}
185
185
export class Menu extends SvelteComponentTyped < MenuProps > { }
186
186
187
- interface MoneyInputProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
187
+ interface MoneyInputProps {
188
188
label ?: string
189
189
value ?: number
190
190
name ?: string
@@ -200,53 +200,53 @@ declare module '@silintl/ui-components' {
200
200
export class MoneyInput extends SvelteComponentTyped < MoneyInputProps > { }
201
201
202
202
export namespace Progress {
203
- type CircularProps = svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] >
203
+ type CircularProps = { }
204
204
export class Circular extends SvelteComponentTyped < CircularProps > { }
205
205
206
- interface LinearProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
206
+ interface LinearProps {
207
207
indeterminate ?: boolean
208
208
value ?: number
209
209
}
210
210
export class Linear extends SvelteComponentTyped < LinearProps > { }
211
211
}
212
212
213
- interface SelectProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
213
+ interface SelectProps {
214
214
options ?: { name : string ; id : number } [ ]
215
215
width ?: string
216
216
disabled ?: boolean
217
217
selectedID ?: string
218
218
}
219
219
export class Select extends SvelteComponentTyped < SelectProps > { }
220
220
221
- interface SwitchProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
221
+ interface SwitchProps {
222
222
label ?: string
223
223
disabled ?: boolean
224
224
selected ?: boolean
225
225
}
226
226
export class Switch extends SvelteComponentTyped < SwitchProps > { }
227
227
228
- interface SnackbarProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
228
+ interface SnackbarProps {
229
229
// no exported members
230
230
}
231
231
export class Snackbar extends SvelteComponentTyped < SnackbarProps > { }
232
232
233
- interface TabBarProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
233
+ interface TabBarProps {
234
234
tab ?: number
235
235
}
236
236
export class TabBar extends SvelteComponentTyped < TabBarProps > { }
237
237
238
238
export namespace TabBar {
239
- interface ScrollerProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > { }
239
+ interface ScrollerProps { }
240
240
export class Scroller extends SvelteComponentTyped < ScrollerProps > { }
241
241
242
- interface TabProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
242
+ interface TabProps {
243
243
active ?: boolean
244
244
label ?: string
245
245
}
246
246
export class Tab extends SvelteComponentTyped < TabProps > { }
247
247
}
248
248
249
- interface TextAreaProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
249
+ interface TextAreaProps {
250
250
label ?: string
251
251
value ?: string
252
252
name ?: string
@@ -260,7 +260,7 @@ declare module '@silintl/ui-components' {
260
260
}
261
261
export class TextArea extends SvelteComponentTyped < TextAreaProps > { }
262
262
263
- interface TextFieldProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
263
+ interface TextFieldProps {
264
264
label ?: string
265
265
value ?: string
266
266
name ?: string
@@ -273,37 +273,37 @@ declare module '@silintl/ui-components' {
273
273
}
274
274
export class TextField extends SvelteComponentTyped < TextFieldProps > { }
275
275
276
- interface TooltipProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
276
+ interface TooltipProps {
277
277
tooltipID ?: string
278
278
positionX ?: 'start' | 'center' | 'end'
279
279
positionY ?: 'above' | 'below'
280
280
}
281
281
export class Tooltip extends SvelteComponentTyped < TooltipProps > { }
282
282
283
283
export namespace Tooltip {
284
- interface TooltipWrapperProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
284
+ interface TooltipWrapperProps {
285
285
ariaDescribedBy ?: string
286
286
}
287
287
export class Wrapper extends SvelteComponentTyped < TooltipWrapperProps > { }
288
288
}
289
289
290
- interface TopAppBarProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
290
+ interface TopAppBarProps {
291
291
bgColorIsVariant ?: boolean
292
292
dense ?: boolean
293
293
fixed ?: boolean
294
294
navIconBreakpointClass ?: string
295
295
}
296
296
export class TopAppBar extends SvelteComponentTyped < TopAppBarProps > { }
297
297
298
- interface BadgeProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
298
+ interface BadgeProps {
299
299
color ?: string
300
300
borderRadius ?: string
301
301
padding ?: string
302
302
bordered ?: boolean
303
303
}
304
304
export class Badge extends SvelteComponentTyped < BadgeProps > { }
305
305
306
- interface CustomCardProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
306
+ interface CustomCardProps {
307
307
src ?: string
308
308
alt ?: string
309
309
title ?: string
@@ -314,22 +314,22 @@ declare module '@silintl/ui-components' {
314
314
}
315
315
export class CustomCard extends SvelteComponentTyped < CustomCardProps > { }
316
316
317
- interface FileDropAreaProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
317
+ interface FileDropAreaProps {
318
318
raised ?: boolean
319
319
outlined ?: boolean
320
320
mimeType ?: string
321
321
uploading ?: boolean
322
322
}
323
323
export class FileDropArea extends SvelteComponentTyped < FileDropAreaProps > { }
324
324
325
- interface FormProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
325
+ interface FormProps {
326
326
id ?: string
327
327
saveToLocalStorage ?: boolean
328
328
success ?: boolean
329
329
}
330
330
export class Form extends SvelteComponentTyped < FormProps > { }
331
331
332
- interface PageProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
332
+ interface PageProps {
333
333
loading ?: boolean
334
334
title ?: string
335
335
layout ?: string
@@ -338,14 +338,14 @@ declare module '@silintl/ui-components' {
338
338
}
339
339
export class Page extends SvelteComponentTyped < PageProps > { }
340
340
341
- interface StaticChipProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
341
+ interface StaticChipProps {
342
342
bgColor ?: string
343
343
}
344
344
export class StaticChip extends SvelteComponentTyped < StaticChipProps > { }
345
345
346
346
export function setNotice ( label : string , action ?: string , callback ?: Function ) : void
347
347
348
- interface SearchableSelectProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
348
+ interface SearchableSelectProps {
349
349
choice ?: string
350
350
disabled ?: boolean
351
351
maxlength ?: string
@@ -359,13 +359,13 @@ declare module '@silintl/ui-components' {
359
359
360
360
type steps = 'title' | 'content' | 'left' | 'right' | 'previous' | 'next' | 'target'
361
361
362
- interface TourProps extends svelte . JSX . HTMLAttributes < HTMLElementTagNameMap [ 'div' ] > {
362
+ interface TourProps {
363
363
steps ?: { [ key in steps ] : string | number } [ ]
364
364
data ?: { [ key : string ] : string }
365
365
}
366
366
export class Tour extends SvelteComponentTyped < TourProps > { }
367
367
}
368
368
369
- module '@silintl/ui-components/random' {
369
+ declare module '@silintl/ui-components/random' {
370
370
export function generateRandomID ( prefix ?: string ) : string
371
371
}
0 commit comments