@sveltia/ui 0.17.0 → 0.17.2
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 +2 -36
- package/package/components/button/button-group.svelte.d.ts +2 -32
- package/package/components/button/button.svelte.d.ts +1 -21
- package/package/components/button/select-button-group.svelte.d.ts +2 -60
- package/package/components/button/select-button.svelte.d.ts +2 -29
- package/package/components/button/split-button.svelte.d.ts +2 -41
- package/package/components/calendar/calendar.svelte.d.ts +2 -28
- package/package/components/checkbox/checkbox-group.svelte.d.ts +2 -46
- package/package/components/checkbox/checkbox.svelte.d.ts +2 -55
- package/package/components/dialog/alert-dialog.svelte.d.ts +1 -21
- package/package/components/dialog/confirmation-dialog.svelte.d.ts +1 -21
- package/package/components/dialog/dialog.svelte +1 -1
- package/package/components/dialog/dialog.svelte.d.ts +1 -21
- package/package/components/dialog/prompt-dialog.svelte.d.ts +2 -40
- package/package/components/disclosure/disclosure.svelte.d.ts +2 -59
- package/package/components/divider/divider.svelte.d.ts +2 -38
- package/package/components/divider/spacer.svelte.d.ts +2 -32
- package/package/components/drawer/drawer.svelte +1 -1
- package/package/components/drawer/drawer.svelte.d.ts +2 -73
- package/package/components/grid/grid-body.svelte.d.ts +2 -36
- package/package/components/grid/grid-cell.svelte.d.ts +2 -32
- package/package/components/grid/grid-col-header.svelte.d.ts +2 -32
- package/package/components/grid/grid-foot.svelte.d.ts +2 -32
- package/package/components/grid/grid-head.svelte.d.ts +2 -32
- package/package/components/grid/grid-row-header.svelte.d.ts +2 -32
- package/package/components/grid/grid-row.svelte.d.ts +2 -45
- package/package/components/grid/grid.svelte +3 -1
- package/package/components/grid/grid.svelte.d.ts +2 -49
- package/package/components/icon/icon.svelte.d.ts +2 -32
- package/package/components/listbox/listbox.svelte.d.ts +2 -74
- package/package/components/listbox/option-group.svelte.d.ts +2 -46
- package/package/components/listbox/option.svelte.d.ts +2 -49
- package/package/components/menu/menu-button.svelte.d.ts +1 -30
- package/package/components/menu/menu-item-checkbox.svelte.d.ts +1 -21
- package/package/components/menu/menu-item-group.svelte.d.ts +2 -42
- package/package/components/menu/menu-item-radio.svelte.d.ts +1 -21
- package/package/components/menu/menu-item.svelte.d.ts +1 -21
- package/package/components/menu/menu.svelte +3 -1
- package/package/components/menu/menu.svelte.d.ts +2 -46
- package/package/components/radio/radio-group.svelte +3 -1
- package/package/components/radio/radio-group.svelte.d.ts +2 -65
- package/package/components/radio/radio.svelte.d.ts +2 -70
- package/package/components/select/combobox.svelte.d.ts +1 -21
- package/package/components/select/select-tags.svelte.d.ts +2 -81
- package/package/components/select/select.svelte.d.ts +1 -21
- package/package/components/slider/slider.svelte.d.ts +2 -95
- package/package/components/switch/switch.svelte.d.ts +2 -64
- package/package/components/table/table-body.svelte.d.ts +2 -36
- package/package/components/table/table-cell.svelte.d.ts +2 -32
- package/package/components/table/table-col-header.svelte.d.ts +2 -32
- package/package/components/table/table-foot.svelte.d.ts +2 -32
- package/package/components/table/table-head.svelte.d.ts +2 -32
- package/package/components/table/table-row-header.svelte.d.ts +2 -32
- package/package/components/table/table-row.svelte.d.ts +2 -32
- package/package/components/table/table.svelte.d.ts +2 -32
- package/package/components/tabs/tab-box.svelte.d.ts +2 -37
- package/package/components/tabs/tab-list.svelte.d.ts +2 -54
- package/package/components/tabs/tab-panel.svelte.d.ts +2 -32
- package/package/components/tabs/tab-panels.svelte.d.ts +2 -32
- package/package/components/tabs/tab.svelte.d.ts +2 -29
- package/package/components/text-editor/lexical-root.svelte.d.ts +2 -60
- package/package/components/text-editor/text-editor.svelte.d.ts +2 -72
- package/package/components/text-editor/toolbar/editor-toolbar.svelte.d.ts +2 -38
- package/package/components/text-editor/toolbar/format-text-button.svelte.d.ts +2 -28
- package/package/components/text-editor/toolbar/insert-link-button.svelte.d.ts +1 -21
- package/package/components/text-editor/toolbar/toggle-block-menu-item.svelte.d.ts +2 -28
- package/package/components/text-field/number-input.svelte.d.ts +2 -45
- package/package/components/text-field/password-input.svelte.d.ts +2 -28
- package/package/components/text-field/search-bar.svelte.d.ts +1 -33
- package/package/components/text-field/text-area.svelte.d.ts +2 -73
- package/package/components/text-field/text-input.svelte +0 -2
- package/package/components/text-field/text-input.svelte.d.ts +1 -21
- package/package/components/toast/toast.svelte.d.ts +2 -46
- package/package/components/toolbar/toolbar.svelte.d.ts +2 -50
- package/package/components/util/app-shell.svelte.d.ts +2 -33
- package/package/components/util/group.svelte.d.ts +2 -41
- package/package/components/util/modal.svelte.d.ts +1 -23
- package/package/components/util/placeholder.svelte.d.ts +2 -28
- package/package/components/util/popup.svelte +1 -1
- package/package/components/util/popup.svelte.d.ts +3 -68
- package/package/typedefs.d.ts +4 -4
- package/package/typedefs.js +1 -1
- package/package.json +26 -26
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export default EditorToolbar;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const EditorToolbar: $$__sveltets_2_IsomorphicComponent<{
|
|
2
|
+
declare const EditorToolbar: import("svelte").Component<{
|
|
8
3
|
/**
|
|
9
4
|
* - Whether to hide the widget.
|
|
10
5
|
*/
|
|
@@ -19,35 +14,4 @@ declare const EditorToolbar: $$__sveltets_2_IsomorphicComponent<{
|
|
|
19
14
|
* `aria-readonly` attribute.
|
|
20
15
|
*/
|
|
21
16
|
readonly?: boolean | undefined;
|
|
22
|
-
} & Record<string, any>, {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
}, {}, {}, "">;
|
|
25
|
-
type Props = {
|
|
26
|
-
/**
|
|
27
|
-
* - Whether to hide the widget.
|
|
28
|
-
*/
|
|
29
|
-
hidden?: boolean | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
32
|
-
* attribute.
|
|
33
|
-
*/
|
|
34
|
-
disabled?: boolean | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* - Whether to make the widget read-only. An alias of the
|
|
37
|
-
* `aria-readonly` attribute.
|
|
38
|
-
*/
|
|
39
|
-
readonly?: boolean | undefined;
|
|
40
|
-
};
|
|
41
|
-
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> {
|
|
42
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
43
|
-
$$bindings?: Bindings;
|
|
44
|
-
} & Exports;
|
|
45
|
-
(internal: unknown, props: Props & {
|
|
46
|
-
$$events?: Events;
|
|
47
|
-
$$slots?: Slots;
|
|
48
|
-
}): Exports & {
|
|
49
|
-
$set?: any;
|
|
50
|
-
$on?: any;
|
|
51
|
-
};
|
|
52
|
-
z_$$bindings?: Bindings;
|
|
53
|
-
}
|
|
17
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
export default FormatTextButton;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const FormatTextButton: $$__sveltets_2_IsomorphicComponent<{
|
|
2
|
+
declare const FormatTextButton: import("svelte").Component<{
|
|
8
3
|
/**
|
|
9
4
|
* - Button type.
|
|
10
5
|
*/
|
|
11
6
|
type: import("../../../typedefs").TextEditorFormatType;
|
|
12
|
-
} & Record<string, any>, {
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "">;
|
|
15
|
-
type Props = {
|
|
16
|
-
/**
|
|
17
|
-
* - Button type.
|
|
18
|
-
*/
|
|
19
|
-
type: import("../../../typedefs").TextEditorFormatType;
|
|
20
|
-
};
|
|
21
|
-
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> {
|
|
22
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
23
|
-
$$bindings?: Bindings;
|
|
24
|
-
} & Exports;
|
|
25
|
-
(internal: unknown, props: Props & {
|
|
26
|
-
$$events?: Events;
|
|
27
|
-
$$slots?: Slots;
|
|
28
|
-
}): Exports & {
|
|
29
|
-
$set?: any;
|
|
30
|
-
$on?: any;
|
|
31
|
-
};
|
|
32
|
-
z_$$bindings?: Bindings;
|
|
33
|
-
}
|
|
7
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,22 +1,2 @@
|
|
|
1
1
|
export default InsertLinkButton;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const InsertLinkButton: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
}, {}, {}, "">;
|
|
10
|
-
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> {
|
|
11
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
12
|
-
$$bindings?: Bindings;
|
|
13
|
-
} & Exports;
|
|
14
|
-
(internal: unknown, props: {
|
|
15
|
-
$$events?: Events;
|
|
16
|
-
$$slots?: Slots;
|
|
17
|
-
}): Exports & {
|
|
18
|
-
$set?: any;
|
|
19
|
-
$on?: any;
|
|
20
|
-
};
|
|
21
|
-
z_$$bindings?: Bindings;
|
|
22
|
-
}
|
|
2
|
+
declare const InsertLinkButton: import("svelte").Component<Record<string, never>, {}, "">;
|
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
export default ToggleBlockMenuItem;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const ToggleBlockMenuItem: $$__sveltets_2_IsomorphicComponent<{
|
|
2
|
+
declare const ToggleBlockMenuItem: import("svelte").Component<{
|
|
8
3
|
/**
|
|
9
4
|
* - Button type.
|
|
10
5
|
*/
|
|
11
6
|
type: import("../../../typedefs").TextEditorBlockType;
|
|
12
|
-
} & Record<string, any>, {
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "">;
|
|
15
|
-
type Props = {
|
|
16
|
-
/**
|
|
17
|
-
* - Button type.
|
|
18
|
-
*/
|
|
19
|
-
type: import("../../../typedefs").TextEditorBlockType;
|
|
20
|
-
};
|
|
21
|
-
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> {
|
|
22
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
23
|
-
$$bindings?: Bindings;
|
|
24
|
-
} & Exports;
|
|
25
|
-
(internal: unknown, props: Props & {
|
|
26
|
-
$$events?: Events;
|
|
27
|
-
$$slots?: Slots;
|
|
28
|
-
}): Exports & {
|
|
29
|
-
$set?: any;
|
|
30
|
-
$on?: any;
|
|
31
|
-
};
|
|
32
|
-
z_$$bindings?: Bindings;
|
|
33
|
-
}
|
|
7
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default NumberInput;
|
|
2
|
-
type NumberInput = SvelteComponent<TextInputProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "invalid" | "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<input type="number">` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number
|
|
10
5
|
* @see https://w3c.github.io/aria/#textbox
|
|
11
6
|
*/
|
|
12
|
-
declare const NumberInput:
|
|
7
|
+
declare const NumberInput: import("svelte").Component<import("../../typedefs").TextInputProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & {
|
|
13
8
|
/**
|
|
14
9
|
* - Minimum allowed value.
|
|
15
10
|
*/
|
|
@@ -31,42 +26,4 @@ declare const NumberInput: $$__sveltets_2_IsomorphicComponent<import("../../type
|
|
|
31
26
|
* - Decrease icon slot content.
|
|
32
27
|
*/
|
|
33
28
|
decreaseIcon?: import("svelte").Snippet<[]> | undefined;
|
|
34
|
-
} & Record<string, any>, {
|
|
35
|
-
[evt: string]: CustomEvent<any>;
|
|
36
|
-
}, {}, {}, "invalid" | "value">;
|
|
37
|
-
type Props = {
|
|
38
|
-
/**
|
|
39
|
-
* - Minimum allowed value.
|
|
40
|
-
*/
|
|
41
|
-
min?: number | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* - Maximum allowed value.
|
|
44
|
-
*/
|
|
45
|
-
max?: number | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* - Value to be added or removed when using the up/down arrow key or
|
|
48
|
-
* button.
|
|
49
|
-
*/
|
|
50
|
-
step?: number | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* - Increase icon slot content.
|
|
53
|
-
*/
|
|
54
|
-
increaseIcon?: import("svelte").Snippet<[]> | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* - Decrease icon slot content.
|
|
57
|
-
*/
|
|
58
|
-
decreaseIcon?: import("svelte").Snippet<[]> | undefined;
|
|
59
|
-
};
|
|
60
|
-
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> {
|
|
61
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
62
|
-
$$bindings?: Bindings;
|
|
63
|
-
} & Exports;
|
|
64
|
-
(internal: unknown, props: Props & {
|
|
65
|
-
$$events?: Events;
|
|
66
|
-
$$slots?: Slots;
|
|
67
|
-
}): Exports & {
|
|
68
|
-
$set?: any;
|
|
69
|
-
$on?: any;
|
|
70
|
-
};
|
|
71
|
-
z_$$bindings?: Bindings;
|
|
72
|
-
}
|
|
29
|
+
} & Record<string, any>, {}, "invalid" | "value">;
|
|
@@ -1,39 +1,13 @@
|
|
|
1
1
|
export default PasswordInput;
|
|
2
|
-
type PasswordInput = SvelteComponent<TextInputProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<input type="password">` element, but it comes with the Show/Hide
|
|
9
4
|
* button.
|
|
10
5
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password
|
|
11
6
|
* @see https://w3c.github.io/aria/#textbox
|
|
12
7
|
*/
|
|
13
|
-
declare const PasswordInput:
|
|
8
|
+
declare const PasswordInput: import("svelte").Component<import("../../typedefs").TextInputProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & {
|
|
14
9
|
/**
|
|
15
10
|
* - Visibility icon slot content.
|
|
16
11
|
*/
|
|
17
12
|
visibilityIcon?: import("svelte").Snippet<[]> | undefined;
|
|
18
|
-
} & Record<string, any>, {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
}, {}, {}, "value">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* - Visibility icon slot content.
|
|
24
|
-
*/
|
|
25
|
-
visibilityIcon?: import("svelte").Snippet<[]> | undefined;
|
|
26
|
-
};
|
|
27
|
-
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> {
|
|
28
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
29
|
-
$$bindings?: Bindings;
|
|
30
|
-
} & Exports;
|
|
31
|
-
(internal: unknown, props: Props & {
|
|
32
|
-
$$events?: Events;
|
|
33
|
-
$$slots?: Slots;
|
|
34
|
-
}): Exports & {
|
|
35
|
-
$set?: any;
|
|
36
|
-
$on?: any;
|
|
37
|
-
};
|
|
38
|
-
z_$$bindings?: Bindings;
|
|
39
|
-
}
|
|
13
|
+
} & Record<string, any>, {}, "value">;
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
export default SearchBar;
|
|
2
|
-
type SearchBar = SvelteComponent<TextInputProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
} & {
|
|
7
|
-
focus: () => void;
|
|
8
|
-
};
|
|
9
2
|
/**
|
|
10
3
|
* The equivalent of the HTML `<input type="search">` element. It comes with a magnifier icon and
|
|
11
4
|
* clear button.
|
|
12
5
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
|
|
13
6
|
* @see https://w3c.github.io/aria/#search
|
|
14
7
|
*/
|
|
15
|
-
declare const SearchBar:
|
|
8
|
+
declare const SearchBar: import("svelte").Component<import("../../typedefs").TextInputProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & {
|
|
16
9
|
/**
|
|
17
10
|
* - Search icon slot content.
|
|
18
11
|
*/
|
|
@@ -22,30 +15,5 @@ declare const SearchBar: $$__sveltets_2_IsomorphicComponent<import("../../typede
|
|
|
22
15
|
*/
|
|
23
16
|
closeIcon?: import("svelte").Snippet<[]> | undefined;
|
|
24
17
|
} & Record<string, any>, {
|
|
25
|
-
[evt: string]: CustomEvent<any>;
|
|
26
|
-
}, {}, {
|
|
27
18
|
focus: () => void;
|
|
28
19
|
}, "value">;
|
|
29
|
-
type Props = {
|
|
30
|
-
/**
|
|
31
|
-
* - Search icon slot content.
|
|
32
|
-
*/
|
|
33
|
-
searchIcon?: import("svelte").Snippet<[]> | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* - Close icon slot content.
|
|
36
|
-
*/
|
|
37
|
-
closeIcon?: import("svelte").Snippet<[]> | undefined;
|
|
38
|
-
};
|
|
39
|
-
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> {
|
|
40
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
41
|
-
$$bindings?: Bindings;
|
|
42
|
-
} & Exports;
|
|
43
|
-
(internal: unknown, props: Props & {
|
|
44
|
-
$$events?: Events;
|
|
45
|
-
$$slots?: Slots;
|
|
46
|
-
}): Exports & {
|
|
47
|
-
$set?: any;
|
|
48
|
-
$on?: any;
|
|
49
|
-
};
|
|
50
|
-
z_$$bindings?: Bindings;
|
|
51
|
-
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
export default TextArea;
|
|
2
|
-
type TextArea = SvelteComponent<KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A multi-line text field based on the HTML `<textarea>` element, providing the auto-resize support.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
|
|
10
5
|
* @see https://w3c.github.io/aria/#textbox
|
|
11
6
|
* @see https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/
|
|
12
7
|
*/
|
|
13
|
-
declare const TextArea:
|
|
8
|
+
declare const TextArea: import("svelte").Component<import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & {
|
|
14
9
|
/**
|
|
15
10
|
* - Input value.
|
|
16
11
|
*/
|
|
@@ -60,70 +55,4 @@ declare const TextArea: $$__sveltets_2_IsomorphicComponent<import("../../typedef
|
|
|
60
55
|
* - Primary slot content.
|
|
61
56
|
*/
|
|
62
57
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
63
|
-
} & Record<string, any>, {
|
|
64
|
-
[evt: string]: CustomEvent<any>;
|
|
65
|
-
}, {}, {}, "value">;
|
|
66
|
-
type Props = {
|
|
67
|
-
/**
|
|
68
|
-
* - Input value.
|
|
69
|
-
*/
|
|
70
|
-
value?: string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* - Make the text input container flexible.
|
|
73
|
-
*/
|
|
74
|
-
flex?: boolean | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* - The `name` attribute on the `<textarea>` element.
|
|
77
|
-
*/
|
|
78
|
-
name?: string | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* - Whether to automatically resize the `<textarea>` based on
|
|
81
|
-
* the content.
|
|
82
|
-
*/
|
|
83
|
-
autoResize?: boolean | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* - The `class` attribute on the wrapper element.
|
|
86
|
-
*/
|
|
87
|
-
class?: string | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* - Whether to hide the widget.
|
|
90
|
-
*/
|
|
91
|
-
hidden?: boolean | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
94
|
-
* attribute.
|
|
95
|
-
*/
|
|
96
|
-
disabled?: boolean | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* - Whether to make the widget read-only. An alias of the
|
|
99
|
-
* `aria-readonly` attribute.
|
|
100
|
-
*/
|
|
101
|
-
readonly?: boolean | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* - Whether to mark the widget required. An alias of the
|
|
104
|
-
* `aria-required` attribute.
|
|
105
|
-
*/
|
|
106
|
-
required?: boolean | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
109
|
-
* `aria-invalid` attribute.
|
|
110
|
-
*/
|
|
111
|
-
invalid?: boolean | undefined;
|
|
112
|
-
/**
|
|
113
|
-
* - Primary slot content.
|
|
114
|
-
*/
|
|
115
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
116
|
-
};
|
|
117
|
-
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> {
|
|
118
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
119
|
-
$$bindings?: Bindings;
|
|
120
|
-
} & Exports;
|
|
121
|
-
(internal: unknown, props: Props & {
|
|
122
|
-
$$events?: Events;
|
|
123
|
-
$$slots?: Slots;
|
|
124
|
-
}): Exports & {
|
|
125
|
-
$set?: any;
|
|
126
|
-
$on?: any;
|
|
127
|
-
};
|
|
128
|
-
z_$$bindings?: Bindings;
|
|
129
|
-
}
|
|
58
|
+
} & Record<string, any>, {}, "value">;
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
invalid = false,
|
|
31
31
|
'aria-label': ariaLabel,
|
|
32
32
|
children,
|
|
33
|
-
onChange,
|
|
34
33
|
...restProps
|
|
35
34
|
/* eslint-enable prefer-const */
|
|
36
35
|
} = $props();
|
|
@@ -62,7 +61,6 @@
|
|
|
62
61
|
aria-readonly={readonly}
|
|
63
62
|
aria-required={required}
|
|
64
63
|
aria-invalid={invalid}
|
|
65
|
-
{onChange}
|
|
66
64
|
use:activateKeyShortcuts={keyShortcuts}
|
|
67
65
|
/>
|
|
68
66
|
{#if ariaLabel && showInlineLabel}
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
export default TextInput;
|
|
2
|
-
type TextInput = SvelteComponent<TextInputProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | "element" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A generic, single-line text field. The equivalent of the HTML `<input type="text">` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text
|
|
10
5
|
* @see https://w3c.github.io/aria/#textbox
|
|
11
6
|
*/
|
|
12
|
-
declare const TextInput:
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "value" | "element">;
|
|
15
|
-
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> {
|
|
16
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
17
|
-
$$bindings?: Bindings;
|
|
18
|
-
} & Exports;
|
|
19
|
-
(internal: unknown, props: Props & {
|
|
20
|
-
$$events?: Events;
|
|
21
|
-
$$slots?: Slots;
|
|
22
|
-
}): Exports & {
|
|
23
|
-
$set?: any;
|
|
24
|
-
$on?: any;
|
|
25
|
-
};
|
|
26
|
-
z_$$bindings?: Bindings;
|
|
27
|
-
}
|
|
7
|
+
declare const TextInput: import("svelte").Component<import("../../typedefs").TextInputProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & Record<string, any>, {}, "value" | "element">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Toast;
|
|
2
|
-
type Toast = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "show" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* Toast/snackbar notification. Use the Popover API if possible to acquire a non-modal top layer.
|
|
9
4
|
* @see https://w3c.github.io/aria/#alert
|
|
10
5
|
* @see https://developer.chrome.com/blog/introducing-popover-api/
|
|
11
6
|
*/
|
|
12
|
-
declare const Toast:
|
|
7
|
+
declare const Toast: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The toast ID. If updated, the timer that hides
|
|
15
10
|
* the toast will be reset, meaning the same toast can be displayed for a longer period of time.
|
|
@@ -32,43 +27,4 @@ declare const Toast: $$__sveltets_2_IsomorphicComponent<{
|
|
|
32
27
|
* - Primary slot content.
|
|
33
28
|
*/
|
|
34
29
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
35
|
-
} & Record<string, any>, {
|
|
36
|
-
[evt: string]: CustomEvent<any>;
|
|
37
|
-
}, {}, {}, "show">;
|
|
38
|
-
type Props = {
|
|
39
|
-
/**
|
|
40
|
-
* - The toast ID. If updated, the timer that hides
|
|
41
|
-
* the toast will be reset, meaning the same toast can be displayed for a longer period of time.
|
|
42
|
-
*/
|
|
43
|
-
id?: string | number | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* - Whether to show the toast.
|
|
46
|
-
*/
|
|
47
|
-
show?: boolean | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* - Duration to automatically hide the toast. Use `0` to hide it
|
|
50
|
-
* manually from the consumer.
|
|
51
|
-
*/
|
|
52
|
-
duration?: number | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* - Position of the toast.
|
|
55
|
-
*/
|
|
56
|
-
position?: import("../../typedefs").ToastPosition | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* - Primary slot content.
|
|
59
|
-
*/
|
|
60
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
61
|
-
};
|
|
62
|
-
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> {
|
|
63
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
64
|
-
$$bindings?: Bindings;
|
|
65
|
-
} & Exports;
|
|
66
|
-
(internal: unknown, props: Props & {
|
|
67
|
-
$$events?: Events;
|
|
68
|
-
$$slots?: Slots;
|
|
69
|
-
}): Exports & {
|
|
70
|
-
$set?: any;
|
|
71
|
-
$on?: any;
|
|
72
|
-
};
|
|
73
|
-
z_$$bindings?: Bindings;
|
|
74
|
-
}
|
|
30
|
+
} & Record<string, any>, {}, "show">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Toolbar;
|
|
2
|
-
type Toolbar = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A toolbar layout that can contain `<Button>`, `<Select>` and other widgets.
|
|
9
4
|
* @see https://w3c.github.io/aria/#toolbar
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/
|
|
11
6
|
*/
|
|
12
|
-
declare const Toolbar:
|
|
7
|
+
declare const Toolbar: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -36,47 +31,4 @@ declare const Toolbar: $$__sveltets_2_IsomorphicComponent<{
|
|
|
36
31
|
* - Primary slot content.
|
|
37
32
|
*/
|
|
38
33
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
39
|
-
} & Record<string, any>, {
|
|
40
|
-
[evt: string]: CustomEvent<any>;
|
|
41
|
-
}, {}, {}, "">;
|
|
42
|
-
type Props = {
|
|
43
|
-
/**
|
|
44
|
-
* - The `class` attribute on the wrapper element.
|
|
45
|
-
*/
|
|
46
|
-
class?: string | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* - Whether to hide the widget.
|
|
49
|
-
*/
|
|
50
|
-
hidden?: boolean | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
53
|
-
* attribute.
|
|
54
|
-
*/
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* - Orientation of the widget. An alias of
|
|
58
|
-
* the `aria-orientation` attribute.
|
|
59
|
-
*/
|
|
60
|
-
orientation?: "vertical" | "horizontal" | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* - The style variant of the toolbar.
|
|
63
|
-
*/
|
|
64
|
-
variant?: "primary" | "secondary" | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* - Primary slot content.
|
|
67
|
-
*/
|
|
68
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
69
|
-
};
|
|
70
|
-
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> {
|
|
71
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
72
|
-
$$bindings?: Bindings;
|
|
73
|
-
} & Exports;
|
|
74
|
-
(internal: unknown, props: Props & {
|
|
75
|
-
$$events?: Events;
|
|
76
|
-
$$slots?: Slots;
|
|
77
|
-
}): Exports & {
|
|
78
|
-
$set?: any;
|
|
79
|
-
$on?: any;
|
|
80
|
-
};
|
|
81
|
-
z_$$bindings?: Bindings;
|
|
82
|
-
}
|
|
34
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default AppShell;
|
|
2
|
-
type AppShell = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* Provide an application’s shell that makes the web app more like a native app. It also handles the
|
|
9
4
|
* dark/light mode switching. This component has to be placed directly under `<body>` (or
|
|
10
5
|
* `<div style="display:contents">` in a SvelteKit app).
|
|
11
6
|
*/
|
|
12
|
-
declare const AppShell:
|
|
7
|
+
declare const AppShell: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - Orientation of the app
|
|
15
10
|
* shell’s children..
|
|
@@ -19,30 +14,4 @@ declare const AppShell: $$__sveltets_2_IsomorphicComponent<{
|
|
|
19
14
|
* - Primary slot content.
|
|
20
15
|
*/
|
|
21
16
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
22
|
-
} & Record<string, any>, {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
}, {}, {}, "">;
|
|
25
|
-
type Props = {
|
|
26
|
-
/**
|
|
27
|
-
* - Orientation of the app
|
|
28
|
-
* shell’s children..
|
|
29
|
-
*/
|
|
30
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* - Primary slot content.
|
|
33
|
-
*/
|
|
34
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
35
|
-
};
|
|
36
|
-
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> {
|
|
37
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
38
|
-
$$bindings?: Bindings;
|
|
39
|
-
} & Exports;
|
|
40
|
-
(internal: unknown, props: Props & {
|
|
41
|
-
$$events?: Events;
|
|
42
|
-
$$slots?: Slots;
|
|
43
|
-
}): Exports & {
|
|
44
|
-
$set?: any;
|
|
45
|
-
$on?: any;
|
|
46
|
-
};
|
|
47
|
-
z_$$bindings?: Bindings;
|
|
48
|
-
}
|
|
17
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export default Group;
|
|
2
|
-
type Group = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A generic group layout.
|
|
9
4
|
* @see https://w3c.github.io/aria/#group
|
|
10
5
|
*/
|
|
11
|
-
declare const Group:
|
|
6
|
+
declare const Group: import("svelte").Component<{
|
|
12
7
|
/**
|
|
13
8
|
* - The `class` attribute on the wrapper element.
|
|
14
9
|
*/
|
|
@@ -26,38 +21,4 @@ declare const Group: $$__sveltets_2_IsomorphicComponent<{
|
|
|
26
21
|
* - Primary slot content.
|
|
27
22
|
*/
|
|
28
23
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
29
|
-
} & Record<string, any>, {
|
|
30
|
-
[evt: string]: CustomEvent<any>;
|
|
31
|
-
}, {}, {}, "">;
|
|
32
|
-
type Props = {
|
|
33
|
-
/**
|
|
34
|
-
* - The `class` attribute on the wrapper element.
|
|
35
|
-
*/
|
|
36
|
-
class?: string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* - Whether to hide the widget.
|
|
39
|
-
*/
|
|
40
|
-
hidden?: boolean | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
43
|
-
* attribute.
|
|
44
|
-
*/
|
|
45
|
-
disabled?: boolean | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* - Primary slot content.
|
|
48
|
-
*/
|
|
49
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
50
|
-
};
|
|
51
|
-
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> {
|
|
52
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
53
|
-
$$bindings?: Bindings;
|
|
54
|
-
} & Exports;
|
|
55
|
-
(internal: unknown, props: Props & {
|
|
56
|
-
$$events?: Events;
|
|
57
|
-
$$slots?: Slots;
|
|
58
|
-
}): Exports & {
|
|
59
|
-
$set?: any;
|
|
60
|
-
$on?: any;
|
|
61
|
-
};
|
|
62
|
-
z_$$bindings?: Bindings;
|
|
63
|
-
}
|
|
24
|
+
} & Record<string, any>, {}, "">;
|