@sveltia/ui 0.17.1 → 0.18.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 +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.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 +8 -1
- 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.d.ts +2 -46
- 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 +1 -1
- 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 +2 -5
- 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 +0 -3
- 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.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 +8 -8
- 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 +1 -0
- 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/styles/variables.scss +8 -8
- package/package.json +32 -27
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Alert;
|
|
2
|
-
type Alert = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* Inline alert message.
|
|
9
4
|
* @see https://w3c.github.io/aria/#alert
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
11
6
|
*/
|
|
12
|
-
declare const Alert:
|
|
7
|
+
declare const Alert: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - Alert status.
|
|
15
10
|
*/
|
|
@@ -22,33 +17,4 @@ declare const Alert: $$__sveltets_2_IsomorphicComponent<{
|
|
|
22
17
|
* - Icon slot content.
|
|
23
18
|
*/
|
|
24
19
|
icon?: import("svelte").Snippet<[]> | undefined;
|
|
25
|
-
} & Record<string, any>, {
|
|
26
|
-
[evt: string]: CustomEvent<any>;
|
|
27
|
-
}, {}, {}, "">;
|
|
28
|
-
type Props = {
|
|
29
|
-
/**
|
|
30
|
-
* - Alert status.
|
|
31
|
-
*/
|
|
32
|
-
status: "error" | "warning" | "info" | "success";
|
|
33
|
-
/**
|
|
34
|
-
* - Primary slot content.
|
|
35
|
-
*/
|
|
36
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* - Icon slot content.
|
|
39
|
-
*/
|
|
40
|
-
icon?: import("svelte").Snippet<[]> | undefined;
|
|
41
|
-
};
|
|
42
|
-
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> {
|
|
43
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
44
|
-
$$bindings?: Bindings;
|
|
45
|
-
} & Exports;
|
|
46
|
-
(internal: unknown, props: Props & {
|
|
47
|
-
$$events?: Events;
|
|
48
|
-
$$slots?: Slots;
|
|
49
|
-
}): Exports & {
|
|
50
|
-
$set?: any;
|
|
51
|
-
$on?: any;
|
|
52
|
-
};
|
|
53
|
-
z_$$bindings?: Bindings;
|
|
54
|
-
}
|
|
20
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export default ButtonGroup;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const ButtonGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
2
|
+
declare const ButtonGroup: import("svelte").Component<{
|
|
8
3
|
/**
|
|
9
4
|
* - The `class` attribute on the wrapper element.
|
|
10
5
|
*/
|
|
@@ -13,29 +8,4 @@ declare const ButtonGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
|
13
8
|
* - Primary slot content.
|
|
14
9
|
*/
|
|
15
10
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
16
|
-
} & Record<string, any>, {
|
|
17
|
-
[evt: string]: CustomEvent<any>;
|
|
18
|
-
}, {}, {}, "">;
|
|
19
|
-
type Props = {
|
|
20
|
-
/**
|
|
21
|
-
* - The `class` attribute on the wrapper element.
|
|
22
|
-
*/
|
|
23
|
-
class?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* - Primary slot content.
|
|
26
|
-
*/
|
|
27
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
28
|
-
};
|
|
29
|
-
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> {
|
|
30
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
31
|
-
$$bindings?: Bindings;
|
|
32
|
-
} & Exports;
|
|
33
|
-
(internal: unknown, props: Props & {
|
|
34
|
-
$$events?: Events;
|
|
35
|
-
$$slots?: Slots;
|
|
36
|
-
}): Exports & {
|
|
37
|
-
$set?: any;
|
|
38
|
-
$on?: any;
|
|
39
|
-
};
|
|
40
|
-
z_$$bindings?: Bindings;
|
|
41
|
-
}
|
|
11
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
export default Button;
|
|
2
|
-
type Button = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "element" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A generic button widget based on the HTML `<button>` element.
|
|
9
4
|
* @see https://w3c.github.io/aria/#button
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
11
6
|
*/
|
|
12
|
-
declare const Button:
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "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 Button: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & Record<string, any>, {}, "element">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default SelectButtonGroup;
|
|
2
|
-
type SelectButtonGroup = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A variant of `<RadioGroup>`, looking like normal buttons.
|
|
9
4
|
* @see https://w3c.github.io/aria/#radiogroup
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
11
6
|
*/
|
|
12
|
-
declare const SelectButtonGroup:
|
|
7
|
+
declare const SelectButtonGroup: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -46,57 +41,4 @@ declare const SelectButtonGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
|
46
41
|
* - Custom `Change` event handler.
|
|
47
42
|
*/
|
|
48
43
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
49
|
-
} & Record<string, any>, {
|
|
50
|
-
[evt: string]: CustomEvent<any>;
|
|
51
|
-
}, {}, {}, "">;
|
|
52
|
-
type Props = {
|
|
53
|
-
/**
|
|
54
|
-
* - The `class` attribute on the wrapper element.
|
|
55
|
-
*/
|
|
56
|
-
class?: string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* - Whether to hide the widget.
|
|
59
|
-
*/
|
|
60
|
-
hidden?: boolean | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
63
|
-
* attribute.
|
|
64
|
-
*/
|
|
65
|
-
disabled?: boolean | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* - Whether to make the widget read-only. An alias of the
|
|
68
|
-
* `aria-readonly` attribute.
|
|
69
|
-
*/
|
|
70
|
-
readonly?: boolean | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* - Whether to mark the widget required. An alias of the
|
|
73
|
-
* `aria-required` attribute.
|
|
74
|
-
*/
|
|
75
|
-
required?: boolean | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
78
|
-
* `aria-invalid` attribute.
|
|
79
|
-
*/
|
|
80
|
-
invalid?: boolean | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* - Primary slot content.
|
|
83
|
-
*/
|
|
84
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* - Custom `Change` event handler.
|
|
87
|
-
*/
|
|
88
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
89
|
-
};
|
|
90
|
-
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> {
|
|
91
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
92
|
-
$$bindings?: Bindings;
|
|
93
|
-
} & Exports;
|
|
94
|
-
(internal: unknown, props: Props & {
|
|
95
|
-
$$events?: Events;
|
|
96
|
-
$$slots?: Slots;
|
|
97
|
-
}): Exports & {
|
|
98
|
-
$set?: any;
|
|
99
|
-
$on?: any;
|
|
100
|
-
};
|
|
101
|
-
z_$$bindings?: Bindings;
|
|
102
|
-
}
|
|
44
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,40 +1,13 @@
|
|
|
1
1
|
export default SelectButton;
|
|
2
|
-
type SelectButton = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "selected" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A variant of `<Radio>`, looking like a normal button.
|
|
9
4
|
* @see https://w3c.github.io/aria/#radio
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
11
6
|
*/
|
|
12
|
-
declare const SelectButton:
|
|
7
|
+
declare const SelectButton: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
13
8
|
/**
|
|
14
9
|
* - Whether to select the widget. An alias of the `aria-checked`
|
|
15
10
|
* attribute. Because the UI is a button, we expose `selected` instead of `checked`.
|
|
16
11
|
*/
|
|
17
12
|
selected?: boolean | undefined;
|
|
18
|
-
} & Record<string, any>, {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
}, {}, {}, "selected">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* - Whether to select the widget. An alias of the `aria-checked`
|
|
24
|
-
* attribute. Because the UI is a button, we expose `selected` instead of `checked`.
|
|
25
|
-
*/
|
|
26
|
-
selected?: boolean | undefined;
|
|
27
|
-
};
|
|
28
|
-
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> {
|
|
29
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
30
|
-
$$bindings?: Bindings;
|
|
31
|
-
} & Exports;
|
|
32
|
-
(internal: unknown, props: Props & {
|
|
33
|
-
$$events?: Events;
|
|
34
|
-
$$slots?: Slots;
|
|
35
|
-
}): Exports & {
|
|
36
|
-
$set?: any;
|
|
37
|
-
$on?: any;
|
|
38
|
-
};
|
|
39
|
-
z_$$bindings?: Bindings;
|
|
40
|
-
}
|
|
13
|
+
} & Record<string, any>, {}, "selected">;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
export default SplitButton;
|
|
2
|
-
type SplitButton = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A combination of a normal `<Button>` (default action) and an arrow-only `<MenuButton>` (different
|
|
9
4
|
* actions). For example, Microsoft Word has the Paste button along with the Keep Source Formatting,
|
|
10
5
|
* Match Formatting and Keep Text Only options.
|
|
11
6
|
* @see https://www.google.com/search?q=split+button&tbm=isch
|
|
12
7
|
*/
|
|
13
|
-
declare const SplitButton:
|
|
8
|
+
declare const SplitButton: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
14
9
|
/**
|
|
15
10
|
* - Where to show the dropdown
|
|
16
11
|
* menu.
|
|
@@ -28,38 +23,4 @@ declare const SplitButton: $$__sveltets_2_IsomorphicComponent<import("../../type
|
|
|
28
23
|
* - Popup slot content.
|
|
29
24
|
*/
|
|
30
25
|
popup?: import("svelte").Snippet<[]> | undefined;
|
|
31
|
-
} & Record<string, any>, {
|
|
32
|
-
[evt: string]: CustomEvent<any>;
|
|
33
|
-
}, {}, {}, "">;
|
|
34
|
-
type Props = {
|
|
35
|
-
/**
|
|
36
|
-
* - Where to show the dropdown
|
|
37
|
-
* menu.
|
|
38
|
-
*/
|
|
39
|
-
popupPosition?: import("../../typedefs").PopupPosition | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* - Whether to show the backdrop for the popup.
|
|
42
|
-
*/
|
|
43
|
-
showPopupBackdrop?: boolean | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* - Chevron slot content.
|
|
46
|
-
*/
|
|
47
|
-
chevronIcon?: import("svelte").Snippet<[]> | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* - Popup slot content.
|
|
50
|
-
*/
|
|
51
|
-
popup?: import("svelte").Snippet<[]> | undefined;
|
|
52
|
-
};
|
|
53
|
-
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> {
|
|
54
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
55
|
-
$$bindings?: Bindings;
|
|
56
|
-
} & Exports;
|
|
57
|
-
(internal: unknown, props: Props & {
|
|
58
|
-
$$events?: Events;
|
|
59
|
-
$$slots?: Slots;
|
|
60
|
-
}): Exports & {
|
|
61
|
-
$set?: any;
|
|
62
|
-
$on?: any;
|
|
63
|
-
};
|
|
64
|
-
z_$$bindings?: Bindings;
|
|
65
|
-
}
|
|
26
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,34 +1,8 @@
|
|
|
1
1
|
export default Calendar;
|
|
2
|
-
type Calendar = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/** A calendar (date picker) widget. */
|
|
8
|
-
declare const Calendar:
|
|
3
|
+
declare const Calendar: import("svelte").Component<{
|
|
9
4
|
/**
|
|
10
5
|
* - Date.
|
|
11
6
|
*/
|
|
12
7
|
value?: string | undefined;
|
|
13
|
-
} & Record<string, any>, {
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
}, {}, {}, "value">;
|
|
16
|
-
type Props = {
|
|
17
|
-
/**
|
|
18
|
-
* - Date.
|
|
19
|
-
*/
|
|
20
|
-
value?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
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> {
|
|
23
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
24
|
-
$$bindings?: Bindings;
|
|
25
|
-
} & Exports;
|
|
26
|
-
(internal: unknown, props: Props & {
|
|
27
|
-
$$events?: Events;
|
|
28
|
-
$$slots?: Slots;
|
|
29
|
-
}): Exports & {
|
|
30
|
-
$set?: any;
|
|
31
|
-
$on?: any;
|
|
32
|
-
};
|
|
33
|
-
z_$$bindings?: Bindings;
|
|
34
|
-
}
|
|
8
|
+
} & Record<string, any>, {}, "value">;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export default CheckboxGroup;
|
|
2
|
-
type CheckboxGroup = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/** The layout container of `<Checkbox>`es. */
|
|
8
|
-
declare const CheckboxGroup:
|
|
3
|
+
declare const CheckboxGroup: import("svelte").Component<{
|
|
9
4
|
/**
|
|
10
5
|
* - The `class` attribute on the wrapper element.
|
|
11
6
|
*/
|
|
@@ -28,43 +23,4 @@ declare const CheckboxGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
|
28
23
|
* - Primary slot content.
|
|
29
24
|
*/
|
|
30
25
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
31
|
-
} & Record<string, any>, {
|
|
32
|
-
[evt: string]: CustomEvent<any>;
|
|
33
|
-
}, {}, {}, "">;
|
|
34
|
-
type Props = {
|
|
35
|
-
/**
|
|
36
|
-
* - The `class` attribute on the wrapper element.
|
|
37
|
-
*/
|
|
38
|
-
class?: string | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* - Whether to hide the widget. An alias of the `aria-hidden`
|
|
41
|
-
* attribute.
|
|
42
|
-
*/
|
|
43
|
-
hidden?: boolean | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
46
|
-
* attribute.
|
|
47
|
-
*/
|
|
48
|
-
disabled?: boolean | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* - Orientation of the widget.
|
|
51
|
-
*/
|
|
52
|
-
orientation?: "vertical" | "horizontal" | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* - Primary slot content.
|
|
55
|
-
*/
|
|
56
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
57
|
-
};
|
|
58
|
-
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> {
|
|
59
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
60
|
-
$$bindings?: Bindings;
|
|
61
|
-
} & Exports;
|
|
62
|
-
(internal: unknown, props: Props & {
|
|
63
|
-
$$events?: Events;
|
|
64
|
-
$$slots?: Slots;
|
|
65
|
-
}): Exports & {
|
|
66
|
-
$set?: any;
|
|
67
|
-
$on?: any;
|
|
68
|
-
};
|
|
69
|
-
z_$$bindings?: Bindings;
|
|
70
|
-
}
|
|
26
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
export default Checkbox;
|
|
2
|
-
type Checkbox = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "checked" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<input type="checkbox">` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox
|
|
10
5
|
* @see https://w3c.github.io/aria/#checkbox
|
|
11
6
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/
|
|
12
7
|
*/
|
|
13
|
-
declare const Checkbox:
|
|
8
|
+
declare const Checkbox: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
14
9
|
/**
|
|
15
10
|
* - The `class` attribute on the wrapper element.
|
|
16
11
|
*/
|
|
@@ -42,52 +37,4 @@ declare const Checkbox: $$__sveltets_2_IsomorphicComponent<import("../../typedef
|
|
|
42
37
|
* - Check icon slot content.
|
|
43
38
|
*/
|
|
44
39
|
checkIcon?: import("svelte").Snippet<[]> | undefined;
|
|
45
|
-
} & Record<string, any>, {
|
|
46
|
-
[evt: string]: CustomEvent<any>;
|
|
47
|
-
}, {}, {}, "checked">;
|
|
48
|
-
type Props = {
|
|
49
|
-
/**
|
|
50
|
-
* - The `class` attribute on the wrapper element.
|
|
51
|
-
*/
|
|
52
|
-
class?: string | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* - Whether to mark the widget required. An alias of the
|
|
55
|
-
* `aria-required` attribute.
|
|
56
|
-
*/
|
|
57
|
-
required?: boolean | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
60
|
-
* `aria-invalid` attribute.
|
|
61
|
-
*/
|
|
62
|
-
invalid?: boolean | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* - Whether to check the widget. An alias of the
|
|
65
|
-
* `aria-checked` attribute.
|
|
66
|
-
*/
|
|
67
|
-
checked?: boolean | "mixed" | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* - Text label displayed next to the checkbox.
|
|
70
|
-
*/
|
|
71
|
-
label?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* - `aria-label` attribute.
|
|
74
|
-
*/
|
|
75
|
-
"aria-label"?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* - Check icon slot content.
|
|
78
|
-
*/
|
|
79
|
-
checkIcon?: import("svelte").Snippet<[]> | undefined;
|
|
80
|
-
};
|
|
81
|
-
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> {
|
|
82
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
83
|
-
$$bindings?: Bindings;
|
|
84
|
-
} & Exports;
|
|
85
|
-
(internal: unknown, props: Props & {
|
|
86
|
-
$$events?: Events;
|
|
87
|
-
$$slots?: Slots;
|
|
88
|
-
}): Exports & {
|
|
89
|
-
$set?: any;
|
|
90
|
-
$on?: any;
|
|
91
|
-
};
|
|
92
|
-
z_$$bindings?: Bindings;
|
|
93
|
-
}
|
|
40
|
+
} & Record<string, any>, {}, "checked">;
|
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
export default AlertDialog;
|
|
2
|
-
type AlertDialog = SvelteComponent<ModalProps & DialogProps & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "open" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A modal alert dialog. It only shows the OK button, just like `window.alert()`.
|
|
9
4
|
* @see https://w3c.github.io/aria/#alertdialog
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/
|
|
11
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Window/alert
|
|
12
7
|
*/
|
|
13
|
-
declare const AlertDialog:
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
}, {}, {}, "open">;
|
|
16
|
-
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> {
|
|
17
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
18
|
-
$$bindings?: Bindings;
|
|
19
|
-
} & Exports;
|
|
20
|
-
(internal: unknown, props: Props & {
|
|
21
|
-
$$events?: Events;
|
|
22
|
-
$$slots?: Slots;
|
|
23
|
-
}): Exports & {
|
|
24
|
-
$set?: any;
|
|
25
|
-
$on?: any;
|
|
26
|
-
};
|
|
27
|
-
z_$$bindings?: Bindings;
|
|
28
|
-
}
|
|
8
|
+
declare const AlertDialog: import("svelte").Component<import("../../typedefs").ModalProps & import("../../typedefs").DialogProps & Record<string, any>, {}, "open">;
|
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
export default ConfirmationDialog;
|
|
2
|
-
type ConfirmationDialog = SvelteComponent<ModalProps & DialogProps & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "open" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A modal confirmation dialog. It shows the OK and Cancel buttons, just like `window.confirm()`.
|
|
9
4
|
* @see https://w3c.github.io/aria/#alertdialog
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/
|
|
11
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm
|
|
12
7
|
*/
|
|
13
|
-
declare const ConfirmationDialog:
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
}, {}, {}, "open">;
|
|
16
|
-
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> {
|
|
17
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
18
|
-
$$bindings?: Bindings;
|
|
19
|
-
} & Exports;
|
|
20
|
-
(internal: unknown, props: Props & {
|
|
21
|
-
$$events?: Events;
|
|
22
|
-
$$slots?: Slots;
|
|
23
|
-
}): Exports & {
|
|
24
|
-
$set?: any;
|
|
25
|
-
$on?: any;
|
|
26
|
-
};
|
|
27
|
-
z_$$bindings?: Bindings;
|
|
28
|
-
}
|
|
8
|
+
declare const ConfirmationDialog: import("svelte").Component<import("../../typedefs").ModalProps & import("../../typedefs").DialogProps & Record<string, any>, {}, "open">;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
export default Dialog;
|
|
2
|
-
type Dialog = SvelteComponent<ModalProps & DialogProps & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | "open" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A feedback dialog widget based on the HTML `<dialog>` element.
|
|
9
4
|
* @see https://w3c.github.io/aria/#dialog
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
11
6
|
*/
|
|
12
|
-
declare const Dialog:
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "value" | "open">;
|
|
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 Dialog: import("svelte").Component<import("../../typedefs").ModalProps & import("../../typedefs").DialogProps & Record<string, any>, {}, "value" | "open">;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export default PromptDialog;
|
|
2
|
-
type PromptDialog = SvelteComponent<ModalProps & DialogProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & InputEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | "open" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A modal prompt dialog. It shows the OK and Cancel buttons as well as a textbox, just like
|
|
9
4
|
* `window.prompt()`.
|
|
@@ -11,7 +6,7 @@ type PromptDialog = SvelteComponent<ModalProps & DialogProps & KeyboardEventHand
|
|
|
11
6
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/
|
|
12
7
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt
|
|
13
8
|
*/
|
|
14
|
-
declare const PromptDialog:
|
|
9
|
+
declare const PromptDialog: import("svelte").Component<import("../../typedefs").ModalProps & import("../../typedefs").DialogProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & import("../../typedefs").InputEventHandlers & {
|
|
15
10
|
/**
|
|
16
11
|
* - Value entered on the textbox.
|
|
17
12
|
*/
|
|
@@ -28,37 +23,4 @@ declare const PromptDialog: $$__sveltets_2_IsomorphicComponent<import("../../typ
|
|
|
28
23
|
* - Input slot content.
|
|
29
24
|
*/
|
|
30
25
|
input?: import("svelte").Snippet<[]> | undefined;
|
|
31
|
-
} & Record<string, any>, {
|
|
32
|
-
[evt: string]: CustomEvent<any>;
|
|
33
|
-
}, {}, {}, "value" | "open">;
|
|
34
|
-
type Props = {
|
|
35
|
-
/**
|
|
36
|
-
* - Value entered on the textbox.
|
|
37
|
-
*/
|
|
38
|
-
value?: string | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* - Extra attributes for the `<TextInput>`.
|
|
41
|
-
*/
|
|
42
|
-
textboxAttrs?: object | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* - Primary slot content.
|
|
45
|
-
*/
|
|
46
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* - Input slot content.
|
|
49
|
-
*/
|
|
50
|
-
input?: import("svelte").Snippet<[]> | undefined;
|
|
51
|
-
};
|
|
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;
|
|
62
|
-
};
|
|
63
|
-
z_$$bindings?: Bindings;
|
|
64
|
-
}
|
|
26
|
+
} & Record<string, any>, {}, "value" | "open">;
|