@sveltia/ui 0.15.16 → 0.16.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/package/components/alert/alert.svelte.d.ts +37 -25
- package/package/components/button/button-group.svelte.d.ts +34 -24
- package/package/components/button/button.svelte.d.ts +118 -119
- package/package/components/button/select-button-group.svelte.d.ts +41 -31
- package/package/components/button/select-button.svelte.d.ts +65 -43
- package/package/components/button/split-button.svelte.d.ts +42 -41
- package/package/components/calendar/calendar.svelte.d.ts +24 -23
- package/package/components/checkbox/checkbox-group.svelte.d.ts +37 -27
- package/package/components/checkbox/checkbox.svelte.d.ts +54 -38
- package/package/components/dialog/alert-dialog.svelte.d.ts +44 -34
- package/package/components/dialog/confirmation-dialog.svelte.d.ts +45 -35
- package/package/components/dialog/dialog.svelte.d.ts +83 -53
- package/package/components/dialog/prompt-dialog.svelte.d.ts +55 -43
- package/package/components/disclosure/disclosure.svelte.d.ts +61 -48
- package/package/components/divider/divider.svelte.d.ts +25 -24
- package/package/components/divider/spacer.svelte.d.ts +24 -23
- package/package/components/drawer/drawer.svelte.d.ts +75 -47
- package/package/components/grid/grid-body.svelte.d.ts +35 -25
- package/package/components/grid/grid-cell.svelte.d.ts +34 -24
- package/package/components/grid/grid-col-header.svelte.d.ts +34 -24
- package/package/components/grid/grid-foot.svelte.d.ts +34 -24
- package/package/components/grid/grid-head.svelte.d.ts +34 -24
- package/package/components/grid/grid-row-header.svelte.d.ts +34 -24
- package/package/components/grid/grid-row.svelte.d.ts +42 -32
- package/package/components/grid/grid.svelte.d.ts +39 -29
- package/package/components/icon/icon.svelte.d.ts +24 -23
- package/package/components/listbox/listbox.svelte.d.ts +45 -35
- package/package/components/listbox/option-group.svelte.d.ts +37 -27
- package/package/components/listbox/option.svelte.d.ts +73 -49
- package/package/components/menu/menu-button.svelte.d.ts +69 -42
- package/package/components/menu/menu-item-checkbox.svelte.d.ts +44 -34
- package/package/components/menu/menu-item-group.svelte.d.ts +37 -27
- package/package/components/menu/menu-item-radio.svelte.d.ts +44 -34
- package/package/components/menu/menu-item.svelte.d.ts +70 -44
- package/package/components/menu/menu.svelte.d.ts +38 -28
- package/package/components/radio/radio-group.svelte.d.ts +42 -32
- package/package/components/radio/radio.svelte.d.ts +45 -35
- package/package/components/select/combobox.svelte.d.ts +53 -37
- package/package/components/select/select-tags.svelte.d.ts +38 -37
- package/package/components/select/select.svelte +1 -1
- package/package/components/select/select.svelte.d.ts +43 -33
- package/package/components/slider/slider.svelte.d.ts +37 -36
- package/package/components/switch/switch.svelte.d.ts +43 -33
- package/package/components/table/table-body.svelte.d.ts +35 -25
- package/package/components/table/table-cell.svelte.d.ts +34 -24
- package/package/components/table/table-col-header.svelte.d.ts +34 -24
- package/package/components/table/table-foot.svelte.d.ts +34 -24
- package/package/components/table/table-head.svelte.d.ts +34 -24
- package/package/components/table/table-row-header.svelte.d.ts +34 -24
- package/package/components/table/table-row.svelte.d.ts +34 -24
- package/package/components/table/table.svelte.d.ts +34 -24
- package/package/components/tabs/tab-box.svelte.d.ts +34 -24
- package/package/components/tabs/tab-list.svelte.d.ts +40 -30
- package/package/components/tabs/tab-panel.svelte.d.ts +34 -24
- package/package/components/tabs/tab-panels.svelte.d.ts +33 -23
- package/package/components/tabs/tab.svelte.d.ts +60 -38
- package/package/components/text-editor/lexical-root.svelte.d.ts +27 -26
- package/package/components/text-editor/text-editor.svelte.d.ts +31 -30
- package/package/components/text-editor/toolbar/editor-toolbar.svelte.d.ts +23 -22
- package/package/components/text-editor/toolbar/format-text-button.svelte.d.ts +22 -21
- package/package/components/text-editor/toolbar/insert-link-button.svelte.d.ts +22 -21
- package/package/components/text-editor/toolbar/toggle-block-menu-item.svelte.d.ts +22 -21
- package/package/components/text-field/number-input.svelte.d.ts +46 -45
- package/package/components/text-field/password-input.svelte.d.ts +40 -39
- package/package/components/text-field/search-bar.svelte.d.ts +62 -66
- package/package/components/text-field/text-area.svelte.d.ts +38 -37
- package/package/components/text-field/text-input.svelte +1 -1
- package/package/components/text-field/text-input.svelte.d.ts +73 -84
- package/package/components/toast/toast.svelte.d.ts +37 -27
- package/package/components/toolbar/toolbar.svelte.d.ts +38 -28
- package/package/components/util/app-shell.svelte.d.ts +37 -27
- package/package/components/util/group.svelte.d.ts +36 -26
- package/package/components/util/modal.svelte.d.ts +70 -63
- package/package/components/util/popup.svelte.d.ts +75 -65
- package/package/components/util/portal.svelte.d.ts +34 -24
- package/package.json +11 -11
|
@@ -1,13 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default PasswordInput;
|
|
2
|
+
type PasswordInput = SvelteComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
7
|
+
required?: boolean | undefined;
|
|
8
|
+
value?: string | undefined;
|
|
9
|
+
hidden?: boolean | undefined;
|
|
10
|
+
readonly?: boolean | undefined;
|
|
11
|
+
flex?: boolean | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
keydown: KeyboardEvent;
|
|
14
|
+
keyup: KeyboardEvent;
|
|
15
|
+
keypress: KeyboardEvent;
|
|
16
|
+
input: Event;
|
|
17
|
+
change: Event;
|
|
18
|
+
} & {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
}, {
|
|
21
|
+
'visibility-icon': {
|
|
22
|
+
slot: string;
|
|
23
|
+
};
|
|
24
|
+
}> & {
|
|
25
|
+
$$bindings?: string | undefined;
|
|
26
|
+
};
|
|
4
27
|
/**
|
|
5
28
|
* The equivalent of the HTML `<input type="password">` element, but it comes with the Show/Hide
|
|
6
29
|
* button.
|
|
7
30
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password
|
|
8
31
|
* @see https://w3c.github.io/aria/#textbox
|
|
9
32
|
*/
|
|
10
|
-
|
|
33
|
+
declare const PasswordInput: $$__sveltets_2_IsomorphicComponent<{
|
|
11
34
|
[x: string]: any;
|
|
12
35
|
class?: string | undefined;
|
|
13
36
|
disabled?: boolean | undefined;
|
|
@@ -29,39 +52,17 @@ export default class PasswordInput extends SvelteComponent<{
|
|
|
29
52
|
'visibility-icon': {
|
|
30
53
|
slot: string;
|
|
31
54
|
};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
invalid?: boolean | undefined;
|
|
44
|
-
required?: boolean | undefined;
|
|
45
|
-
value?: string | undefined;
|
|
46
|
-
hidden?: boolean | undefined;
|
|
47
|
-
readonly?: boolean | undefined;
|
|
48
|
-
flex?: boolean | undefined;
|
|
49
|
-
};
|
|
50
|
-
events: {
|
|
51
|
-
keydown: KeyboardEvent;
|
|
52
|
-
keyup: KeyboardEvent;
|
|
53
|
-
keypress: KeyboardEvent;
|
|
54
|
-
input: Event;
|
|
55
|
-
change: Event;
|
|
56
|
-
} & {
|
|
57
|
-
[evt: string]: CustomEvent<any>;
|
|
55
|
+
}, {}, string>;
|
|
56
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
57
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
58
|
+
$$bindings?: Bindings;
|
|
59
|
+
} & Exports;
|
|
60
|
+
(internal: unknown, props: Props & {
|
|
61
|
+
$$events?: Events;
|
|
62
|
+
$$slots?: Slots;
|
|
63
|
+
}): Exports & {
|
|
64
|
+
$set?: any;
|
|
65
|
+
$on?: any;
|
|
58
66
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
slot: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
exports?: undefined;
|
|
65
|
-
bindings?: undefined;
|
|
66
|
-
};
|
|
67
|
-
export {};
|
|
67
|
+
z_$$bindings?: Bindings;
|
|
68
|
+
}
|
|
@@ -1,13 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default SearchBar;
|
|
2
|
+
type SearchBar = SvelteComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
focus?: (() => void) | undefined;
|
|
7
|
+
invalid?: boolean | undefined;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
value?: string | undefined;
|
|
10
|
+
hidden?: boolean | undefined;
|
|
11
|
+
readonly?: boolean | undefined;
|
|
12
|
+
flex?: boolean | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
keydown: KeyboardEvent;
|
|
15
|
+
keyup: KeyboardEvent;
|
|
16
|
+
keypress: KeyboardEvent;
|
|
17
|
+
input: Event;
|
|
18
|
+
change: Event;
|
|
19
|
+
} & {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {
|
|
22
|
+
'search-icon': {};
|
|
23
|
+
'close-button': {
|
|
24
|
+
slot: string;
|
|
25
|
+
};
|
|
26
|
+
}> & {
|
|
27
|
+
$$bindings?: string | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
class: string;
|
|
30
|
+
flex: boolean;
|
|
31
|
+
hidden: boolean | undefined;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
required: boolean;
|
|
35
|
+
invalid: boolean;
|
|
36
|
+
value: string | undefined;
|
|
37
|
+
focus: () => void;
|
|
38
|
+
};
|
|
4
39
|
/**
|
|
5
40
|
* The equivalent of the HTML `<input type="search">` element. It comes with a magnifier icon and
|
|
6
41
|
* clear button.
|
|
7
42
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
|
|
8
43
|
* @see https://w3c.github.io/aria/#search
|
|
9
44
|
*/
|
|
10
|
-
|
|
45
|
+
declare const SearchBar: $$__sveltets_2_IsomorphicComponent<{
|
|
11
46
|
[x: string]: any;
|
|
12
47
|
class?: string | undefined;
|
|
13
48
|
disabled?: boolean | undefined;
|
|
@@ -31,66 +66,27 @@ export default class SearchBar extends SvelteComponent<{
|
|
|
31
66
|
'close-button': {
|
|
32
67
|
slot: string;
|
|
33
68
|
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
set invalid(_: boolean | undefined);
|
|
56
|
-
get invalid(): boolean | undefined;
|
|
57
|
-
/**accessor*/
|
|
58
|
-
set value(_: string | undefined);
|
|
59
|
-
get value(): string | undefined;
|
|
60
|
-
}
|
|
61
|
-
export type SearchBarProps = typeof __propDef.props;
|
|
62
|
-
export type SearchBarEvents = typeof __propDef.events;
|
|
63
|
-
export type SearchBarSlots = typeof __propDef.slots;
|
|
64
|
-
import { SvelteComponent } from "svelte";
|
|
65
|
-
declare const __propDef: {
|
|
66
|
-
props: {
|
|
67
|
-
[x: string]: any;
|
|
68
|
-
class?: string | undefined;
|
|
69
|
-
disabled?: boolean | undefined;
|
|
70
|
-
focus?: (() => void) | undefined;
|
|
71
|
-
invalid?: boolean | undefined;
|
|
72
|
-
required?: boolean | undefined;
|
|
73
|
-
value?: string | undefined;
|
|
74
|
-
hidden?: boolean | undefined;
|
|
75
|
-
readonly?: boolean | undefined;
|
|
76
|
-
flex?: boolean | undefined;
|
|
77
|
-
};
|
|
78
|
-
events: {
|
|
79
|
-
keydown: KeyboardEvent;
|
|
80
|
-
keyup: KeyboardEvent;
|
|
81
|
-
keypress: KeyboardEvent;
|
|
82
|
-
input: Event;
|
|
83
|
-
change: Event;
|
|
84
|
-
} & {
|
|
85
|
-
[evt: string]: CustomEvent<any>;
|
|
86
|
-
};
|
|
87
|
-
slots: {
|
|
88
|
-
'search-icon': {};
|
|
89
|
-
'close-button': {
|
|
90
|
-
slot: string;
|
|
91
|
-
};
|
|
69
|
+
}, {
|
|
70
|
+
class: string;
|
|
71
|
+
flex: boolean;
|
|
72
|
+
hidden: boolean | undefined;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
readonly: boolean;
|
|
75
|
+
required: boolean;
|
|
76
|
+
invalid: boolean;
|
|
77
|
+
value: string | undefined;
|
|
78
|
+
focus: () => void;
|
|
79
|
+
}, string>;
|
|
80
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
81
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
82
|
+
$$bindings?: Bindings;
|
|
83
|
+
} & Exports;
|
|
84
|
+
(internal: unknown, props: Props & {
|
|
85
|
+
$$events?: Events;
|
|
86
|
+
$$slots?: Slots;
|
|
87
|
+
}): Exports & {
|
|
88
|
+
$set?: any;
|
|
89
|
+
$on?: any;
|
|
92
90
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
96
|
-
export {};
|
|
91
|
+
z_$$bindings?: Bindings;
|
|
92
|
+
}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default TextArea;
|
|
2
|
+
type TextArea = SvelteComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
invalid?: boolean | undefined;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
value?: string | undefined;
|
|
10
|
+
hidden?: boolean | undefined;
|
|
11
|
+
readonly?: boolean | undefined;
|
|
12
|
+
flex?: boolean | undefined;
|
|
13
|
+
autoResize?: boolean | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
keydown: KeyboardEvent;
|
|
16
|
+
keyup: KeyboardEvent;
|
|
17
|
+
keypress: KeyboardEvent;
|
|
18
|
+
input: Event;
|
|
19
|
+
change: Event;
|
|
20
|
+
} & {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {}> & {
|
|
23
|
+
$$bindings?: string | undefined;
|
|
24
|
+
};
|
|
4
25
|
/**
|
|
5
26
|
* A multi-line text field based on the HTML `<textarea>` element, providing the auto-resize support.
|
|
6
27
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
|
|
7
28
|
* @see https://w3c.github.io/aria/#textbox
|
|
8
29
|
* @see https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/
|
|
9
30
|
*/
|
|
10
|
-
|
|
31
|
+
declare const TextArea: $$__sveltets_2_IsomorphicComponent<{
|
|
11
32
|
[x: string]: any;
|
|
12
33
|
class?: string | undefined;
|
|
13
34
|
name?: string | undefined;
|
|
@@ -27,37 +48,17 @@ export default class TextArea extends SvelteComponent<{
|
|
|
27
48
|
change: Event;
|
|
28
49
|
} & {
|
|
29
50
|
[evt: string]: CustomEvent<any>;
|
|
30
|
-
}, {}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
disabled?: boolean | undefined;
|
|
42
|
-
invalid?: boolean | undefined;
|
|
43
|
-
required?: boolean | undefined;
|
|
44
|
-
value?: string | undefined;
|
|
45
|
-
hidden?: boolean | undefined;
|
|
46
|
-
readonly?: boolean | undefined;
|
|
47
|
-
flex?: boolean | undefined;
|
|
48
|
-
autoResize?: boolean | undefined;
|
|
51
|
+
}, {}, {}, string>;
|
|
52
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
53
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
54
|
+
$$bindings?: Bindings;
|
|
55
|
+
} & Exports;
|
|
56
|
+
(internal: unknown, props: Props & {
|
|
57
|
+
$$events?: Events;
|
|
58
|
+
$$slots?: Slots;
|
|
59
|
+
}): Exports & {
|
|
60
|
+
$set?: any;
|
|
61
|
+
$on?: any;
|
|
49
62
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
keyup: KeyboardEvent;
|
|
53
|
-
keypress: KeyboardEvent;
|
|
54
|
-
input: Event;
|
|
55
|
-
change: Event;
|
|
56
|
-
} & {
|
|
57
|
-
[evt: string]: CustomEvent<any>;
|
|
58
|
-
};
|
|
59
|
-
slots: {};
|
|
60
|
-
exports?: undefined;
|
|
61
|
-
bindings?: undefined;
|
|
62
|
-
};
|
|
63
|
-
export {};
|
|
63
|
+
z_$$bindings?: Bindings;
|
|
64
|
+
}
|
|
@@ -1,19 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default TextInput;
|
|
2
|
+
type TextInput = SvelteComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
invalid?: boolean | undefined;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
value?: any;
|
|
10
|
+
role?: "textbox" | "searchbox" | "combobox" | "spinbutton" | undefined;
|
|
11
|
+
hidden?: boolean | undefined;
|
|
12
|
+
element?: HTMLInputElement | undefined;
|
|
13
|
+
readonly?: boolean | undefined;
|
|
14
|
+
keyShortcuts?: string | undefined;
|
|
15
|
+
flex?: boolean | undefined;
|
|
16
|
+
showInlineLabel?: boolean | undefined;
|
|
17
|
+
inputmode?: "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url" | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
keydown: KeyboardEvent;
|
|
20
|
+
keyup: KeyboardEvent;
|
|
21
|
+
keypress: KeyboardEvent;
|
|
22
|
+
input: Event;
|
|
23
|
+
change: Event;
|
|
24
|
+
} & {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
}, {}> & {
|
|
27
|
+
$$bindings?: string | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
element: HTMLInputElement | undefined;
|
|
30
|
+
class: string;
|
|
31
|
+
flex: boolean;
|
|
32
|
+
role: "textbox" | "searchbox" | "combobox" | "spinbutton";
|
|
33
|
+
hidden: boolean | undefined;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
readonly: boolean;
|
|
36
|
+
required: boolean;
|
|
37
|
+
invalid: boolean;
|
|
38
|
+
keyShortcuts: string | undefined;
|
|
39
|
+
name: string | undefined;
|
|
40
|
+
value: any;
|
|
41
|
+
showInlineLabel: boolean;
|
|
42
|
+
inputmode: "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url";
|
|
43
|
+
};
|
|
4
44
|
/**
|
|
5
45
|
* A generic, single-line text field. The equivalent of the HTML `<input type="text">` element.
|
|
6
46
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text
|
|
7
47
|
* @see https://w3c.github.io/aria/#textbox
|
|
8
48
|
*/
|
|
9
|
-
|
|
49
|
+
declare const TextInput: $$__sveltets_2_IsomorphicComponent<{
|
|
10
50
|
[x: string]: any;
|
|
11
51
|
class?: string | undefined;
|
|
12
52
|
name?: string | undefined;
|
|
13
53
|
disabled?: boolean | undefined;
|
|
14
54
|
invalid?: boolean | undefined;
|
|
15
55
|
required?: boolean | undefined;
|
|
16
|
-
value?:
|
|
56
|
+
value?: any;
|
|
17
57
|
role?: "textbox" | "searchbox" | "combobox" | "spinbutton" | undefined;
|
|
18
58
|
hidden?: boolean | undefined;
|
|
19
59
|
element?: HTMLInputElement | undefined;
|
|
@@ -30,83 +70,32 @@ export default class TextInput extends SvelteComponent<{
|
|
|
30
70
|
change: Event;
|
|
31
71
|
} & {
|
|
32
72
|
[evt: string]: CustomEvent<any>;
|
|
33
|
-
}, {}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
set invalid(_: boolean | undefined);
|
|
60
|
-
get invalid(): boolean | undefined;
|
|
61
|
-
/**accessor*/
|
|
62
|
-
set keyShortcuts(_: string | undefined);
|
|
63
|
-
get keyShortcuts(): string | undefined;
|
|
64
|
-
/**accessor*/
|
|
65
|
-
set name(_: string | undefined);
|
|
66
|
-
get name(): string | undefined;
|
|
67
|
-
/**accessor*/
|
|
68
|
-
set value(_: string | number | undefined);
|
|
69
|
-
get value(): string | number | undefined;
|
|
70
|
-
/**accessor*/
|
|
71
|
-
set showInlineLabel(_: boolean | undefined);
|
|
72
|
-
get showInlineLabel(): boolean | undefined;
|
|
73
|
-
/**accessor*/
|
|
74
|
-
set inputmode(_: "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url" | undefined);
|
|
75
|
-
get inputmode(): "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url" | undefined;
|
|
76
|
-
}
|
|
77
|
-
export type TextInputProps = typeof __propDef.props;
|
|
78
|
-
export type TextInputEvents = typeof __propDef.events;
|
|
79
|
-
export type TextInputSlots = typeof __propDef.slots;
|
|
80
|
-
import { SvelteComponent } from "svelte";
|
|
81
|
-
declare const __propDef: {
|
|
82
|
-
props: {
|
|
83
|
-
[x: string]: any;
|
|
84
|
-
class?: string | undefined;
|
|
85
|
-
name?: string | undefined;
|
|
86
|
-
disabled?: boolean | undefined;
|
|
87
|
-
invalid?: boolean | undefined;
|
|
88
|
-
required?: boolean | undefined;
|
|
89
|
-
value?: string | number | undefined;
|
|
90
|
-
role?: "textbox" | "searchbox" | "combobox" | "spinbutton" | undefined;
|
|
91
|
-
hidden?: boolean | undefined;
|
|
92
|
-
element?: HTMLInputElement | undefined;
|
|
93
|
-
readonly?: boolean | undefined;
|
|
94
|
-
keyShortcuts?: string | undefined;
|
|
95
|
-
flex?: boolean | undefined;
|
|
96
|
-
showInlineLabel?: boolean | undefined;
|
|
97
|
-
inputmode?: "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url" | undefined;
|
|
73
|
+
}, {}, {
|
|
74
|
+
element: HTMLInputElement | undefined;
|
|
75
|
+
class: string;
|
|
76
|
+
flex: boolean;
|
|
77
|
+
role: "textbox" | "searchbox" | "combobox" | "spinbutton";
|
|
78
|
+
hidden: boolean | undefined;
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
readonly: boolean;
|
|
81
|
+
required: boolean;
|
|
82
|
+
invalid: boolean;
|
|
83
|
+
keyShortcuts: string | undefined;
|
|
84
|
+
name: string | undefined;
|
|
85
|
+
value: any;
|
|
86
|
+
showInlineLabel: boolean;
|
|
87
|
+
inputmode: "search" | "text" | "email" | "tel" | "numeric" | "decimal" | "url";
|
|
88
|
+
}, string>;
|
|
89
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
90
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
91
|
+
$$bindings?: Bindings;
|
|
92
|
+
} & Exports;
|
|
93
|
+
(internal: unknown, props: Props & {
|
|
94
|
+
$$events?: Events;
|
|
95
|
+
$$slots?: Slots;
|
|
96
|
+
}): Exports & {
|
|
97
|
+
$set?: any;
|
|
98
|
+
$on?: any;
|
|
98
99
|
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
keyup: KeyboardEvent;
|
|
102
|
-
keypress: KeyboardEvent;
|
|
103
|
-
input: Event;
|
|
104
|
-
change: Event;
|
|
105
|
-
} & {
|
|
106
|
-
[evt: string]: CustomEvent<any>;
|
|
107
|
-
};
|
|
108
|
-
slots: {};
|
|
109
|
-
exports?: undefined;
|
|
110
|
-
bindings?: undefined;
|
|
111
|
-
};
|
|
112
|
-
export {};
|
|
100
|
+
z_$$bindings?: Bindings;
|
|
101
|
+
}
|
|
@@ -1,42 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Toast;
|
|
2
|
+
type Toast = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
id?: number | undefined;
|
|
5
|
+
position?: ToastPosition | undefined;
|
|
6
|
+
show?: boolean | undefined;
|
|
7
|
+
duration?: number | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}>, {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
}, {
|
|
13
|
+
default: {};
|
|
14
|
+
}> & {
|
|
15
|
+
$$bindings?: string | undefined;
|
|
16
|
+
};
|
|
4
17
|
/**
|
|
5
18
|
* Toast/snackbar notification. Use the Popover API if possible to acquire a non-modal top layer.
|
|
6
19
|
* @see https://w3c.github.io/aria/#alert
|
|
7
20
|
* @see https://developer.chrome.com/blog/introducing-popover-api/
|
|
8
21
|
*/
|
|
9
|
-
|
|
22
|
+
declare const Toast: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
23
|
[x: string]: any;
|
|
11
24
|
id?: number | undefined;
|
|
12
25
|
position?: import("../../typedefs").ToastPosition | undefined;
|
|
13
26
|
show?: boolean | undefined;
|
|
14
27
|
duration?: number | undefined;
|
|
15
28
|
}, {
|
|
29
|
+
default: {};
|
|
30
|
+
}>, {
|
|
16
31
|
[evt: string]: CustomEvent<any>;
|
|
17
32
|
}, {
|
|
18
33
|
default: {};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
}, {}, string>;
|
|
35
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
36
|
+
default: any;
|
|
37
|
+
} ? Props extends Record<string, never> ? any : {
|
|
38
|
+
children?: any;
|
|
39
|
+
} : {});
|
|
40
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
41
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
42
|
+
$$bindings?: Bindings;
|
|
43
|
+
} & Exports;
|
|
44
|
+
(internal: unknown, props: Props & {
|
|
45
|
+
$$events?: Events;
|
|
46
|
+
$$slots?: Slots;
|
|
47
|
+
}): Exports & {
|
|
48
|
+
$set?: any;
|
|
49
|
+
$on?: any;
|
|
32
50
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
slots: {
|
|
37
|
-
default: {};
|
|
38
|
-
};
|
|
39
|
-
exports?: undefined;
|
|
40
|
-
bindings?: undefined;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
51
|
+
z_$$bindings?: Bindings;
|
|
52
|
+
}
|