@sveltia/ui 0.17.1 → 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.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.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.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.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.json +25 -25
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Grid;
|
|
2
|
-
type Grid = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "element" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The interactive version of `<Table>`.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
|
|
10
5
|
* @see https://w3c.github.io/aria/#grid
|
|
11
6
|
*/
|
|
12
|
-
declare const Grid:
|
|
7
|
+
declare const Grid: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -35,46 +30,4 @@ declare const Grid: $$__sveltets_2_IsomorphicComponent<{
|
|
|
35
30
|
* - Custom `Change` event handler.
|
|
36
31
|
*/
|
|
37
32
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
38
|
-
} & Record<string, any>, {
|
|
39
|
-
[evt: string]: CustomEvent<any>;
|
|
40
|
-
}, {}, {}, "element">;
|
|
41
|
-
type Props = {
|
|
42
|
-
/**
|
|
43
|
-
* - The `class` attribute on the wrapper element.
|
|
44
|
-
*/
|
|
45
|
-
class?: string | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* - Whether to allow selecting more than one `<GridRow>` and/or
|
|
48
|
-
* `<GridCell>`. An alias of the `aria-multiselectable` attribute.
|
|
49
|
-
*/
|
|
50
|
-
selected?: boolean | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* - Whether to select a row by clicking on it.
|
|
53
|
-
*/
|
|
54
|
-
clickToSelect?: boolean | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* - A reference to the wrapper element.
|
|
57
|
-
*/
|
|
58
|
-
element?: HTMLElement | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* - Primary slot content.
|
|
61
|
-
*/
|
|
62
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* - Custom `Change` event handler.
|
|
65
|
-
*/
|
|
66
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
67
|
-
};
|
|
68
|
-
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> {
|
|
69
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
70
|
-
$$bindings?: Bindings;
|
|
71
|
-
} & Exports;
|
|
72
|
-
(internal: unknown, props: Props & {
|
|
73
|
-
$$events?: Events;
|
|
74
|
-
$$slots?: Slots;
|
|
75
|
-
}): Exports & {
|
|
76
|
-
$set?: any;
|
|
77
|
-
$on?: any;
|
|
78
|
-
};
|
|
79
|
-
z_$$bindings?: Bindings;
|
|
80
|
-
}
|
|
33
|
+
} & Record<string, any>, {}, "element">;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export default Icon;
|
|
2
|
-
type Icon = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A Material Symbols icon.
|
|
9
4
|
* @see https://developers.google.com/fonts/docs/material_symbols
|
|
10
5
|
*/
|
|
11
|
-
declare const Icon:
|
|
6
|
+
declare const Icon: import("svelte").Component<{
|
|
12
7
|
/**
|
|
13
8
|
* - The `class` attribute on the `span` element.
|
|
14
9
|
*/
|
|
@@ -17,29 +12,4 @@ declare const Icon: $$__sveltets_2_IsomorphicComponent<{
|
|
|
17
12
|
* - Icon name, e.g. `search`, `expand_more`, `close`, etc.
|
|
18
13
|
*/
|
|
19
14
|
name?: string | undefined;
|
|
20
|
-
} & Record<string, any>, {
|
|
21
|
-
[evt: string]: CustomEvent<any>;
|
|
22
|
-
}, {}, {}, "">;
|
|
23
|
-
type Props = {
|
|
24
|
-
/**
|
|
25
|
-
* - The `class` attribute on the `span` element.
|
|
26
|
-
*/
|
|
27
|
-
class?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* - Icon name, e.g. `search`, `expand_more`, `close`, etc.
|
|
30
|
-
*/
|
|
31
|
-
name?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
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> {
|
|
34
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
35
|
-
$$bindings?: Bindings;
|
|
36
|
-
} & Exports;
|
|
37
|
-
(internal: unknown, props: Props & {
|
|
38
|
-
$$events?: Events;
|
|
39
|
-
$$slots?: Slots;
|
|
40
|
-
}): Exports & {
|
|
41
|
-
$set?: any;
|
|
42
|
-
$on?: any;
|
|
43
|
-
};
|
|
44
|
-
z_$$bindings?: Bindings;
|
|
45
|
-
}
|
|
15
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
export default Listbox;
|
|
2
|
-
type Listbox = SvelteComponent<KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A list widget with selectable options. The equivalent of the HTML `<select multiple>` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
10
5
|
* @see https://w3c.github.io/aria/#listbox
|
|
11
6
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/listbox/
|
|
12
7
|
*/
|
|
13
|
-
declare const Listbox:
|
|
8
|
+
declare const Listbox: import("svelte").Component<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
|
*/
|
|
@@ -61,71 +56,4 @@ declare const Listbox: $$__sveltets_2_IsomorphicComponent<import("../../typedefs
|
|
|
61
56
|
* - Custom `Filter` event handler.
|
|
62
57
|
*/
|
|
63
58
|
onFilter?: ((event: CustomEvent) => void) | undefined;
|
|
64
|
-
} & Record<string, any>, {
|
|
65
|
-
[evt: string]: CustomEvent<any>;
|
|
66
|
-
}, {}, {}, "">;
|
|
67
|
-
type Props = {
|
|
68
|
-
/**
|
|
69
|
-
* - The `class` attribute on the wrapper element.
|
|
70
|
-
*/
|
|
71
|
-
class?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* - Whether to hide the widget. An alias of the `aria-hidden`
|
|
74
|
-
* attribute.
|
|
75
|
-
*/
|
|
76
|
-
hidden?: boolean | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
79
|
-
* attribute.
|
|
80
|
-
*/
|
|
81
|
-
disabled?: boolean | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* - Whether to make the widget read-only. An alias of the
|
|
84
|
-
* `aria-readonly` attribute.
|
|
85
|
-
*/
|
|
86
|
-
readonly?: boolean | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* - Whether to mark the widget required. An alias of the
|
|
89
|
-
* `aria-required` attribute.
|
|
90
|
-
*/
|
|
91
|
-
required?: boolean | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
94
|
-
* `aria-invalid` attribute.
|
|
95
|
-
*/
|
|
96
|
-
invalid?: boolean | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* - Whether to allow selecting more than one `<Option>`. An alias
|
|
99
|
-
* of the `aria-multiselectable` attribute.
|
|
100
|
-
*/
|
|
101
|
-
multiple?: boolean | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* - Search terms to be used to filter the items.
|
|
104
|
-
*/
|
|
105
|
-
searchTerms?: string | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* - Primary slot content.
|
|
108
|
-
*/
|
|
109
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* - Custom `Change` event handler.
|
|
112
|
-
*/
|
|
113
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* - Custom `Filter` event handler.
|
|
116
|
-
*/
|
|
117
|
-
onFilter?: ((event: CustomEvent) => void) | undefined;
|
|
118
|
-
};
|
|
119
|
-
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> {
|
|
120
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
121
|
-
$$bindings?: Bindings;
|
|
122
|
-
} & Exports;
|
|
123
|
-
(internal: unknown, props: Props & {
|
|
124
|
-
$$events?: Events;
|
|
125
|
-
$$slots?: Slots;
|
|
126
|
-
}): Exports & {
|
|
127
|
-
$set?: any;
|
|
128
|
-
$on?: any;
|
|
129
|
-
};
|
|
130
|
-
z_$$bindings?: Bindings;
|
|
131
|
-
}
|
|
59
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export default OptionGroup;
|
|
2
|
-
type OptionGroup = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A group within a `<Listbox>`. The equivalent of the HTML `<optgroup>` element. It can contain one
|
|
9
4
|
* or more `<Option>`s.
|
|
@@ -11,7 +6,7 @@ type OptionGroup = SvelteComponent<Props & Record<string, any>, {
|
|
|
11
6
|
* @see https://w3c.github.io/aria/#listbox
|
|
12
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/listbox/examples/listbox-grouped/
|
|
13
8
|
*/
|
|
14
|
-
declare const OptionGroup:
|
|
9
|
+
declare const OptionGroup: import("svelte").Component<{
|
|
15
10
|
/**
|
|
16
11
|
* - The `class` attribute on the wrapper element.
|
|
17
12
|
*/
|
|
@@ -34,43 +29,4 @@ declare const OptionGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
|
34
29
|
* - Primary slot content.
|
|
35
30
|
*/
|
|
36
31
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
37
|
-
} & Record<string, any>, {
|
|
38
|
-
[evt: string]: CustomEvent<any>;
|
|
39
|
-
}, {}, {}, "">;
|
|
40
|
-
type Props = {
|
|
41
|
-
/**
|
|
42
|
-
* - The `class` attribute on the wrapper element.
|
|
43
|
-
*/
|
|
44
|
-
class?: string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* - Whether to hide the widget. An alias of the `aria-hidden`
|
|
47
|
-
* attribute.
|
|
48
|
-
*/
|
|
49
|
-
hidden?: boolean | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
52
|
-
* attribute.
|
|
53
|
-
*/
|
|
54
|
-
disabled?: boolean | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* - The group’s label to be displayed above the child `<Option>`s.
|
|
57
|
-
*/
|
|
58
|
-
label?: string | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* - Primary slot content.
|
|
61
|
-
*/
|
|
62
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
63
|
-
};
|
|
64
|
-
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> {
|
|
65
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
66
|
-
$$bindings?: Bindings;
|
|
67
|
-
} & Exports;
|
|
68
|
-
(internal: unknown, props: Props & {
|
|
69
|
-
$$events?: Events;
|
|
70
|
-
$$slots?: Slots;
|
|
71
|
-
}): Exports & {
|
|
72
|
-
$set?: any;
|
|
73
|
-
$on?: any;
|
|
74
|
-
};
|
|
75
|
-
z_$$bindings?: Bindings;
|
|
76
|
-
}
|
|
32
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Option;
|
|
2
|
-
type Option = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "hidden" | "selected" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* An option within the `<Listbox>` widget. The equivalent of the HTML `<option>` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
|
|
10
5
|
* @see https://w3c.github.io/aria/#option
|
|
11
6
|
*/
|
|
12
|
-
declare const Option:
|
|
7
|
+
declare const Option: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -35,46 +30,4 @@ declare const Option: $$__sveltets_2_IsomorphicComponent<import("../../typedefs"
|
|
|
35
30
|
* - Check icon slot content.
|
|
36
31
|
*/
|
|
37
32
|
checkIcon?: import("svelte").Snippet<[]> | undefined;
|
|
38
|
-
} & Record<string, any>, {
|
|
39
|
-
[evt: string]: CustomEvent<any>;
|
|
40
|
-
}, {}, {}, "hidden" | "selected">;
|
|
41
|
-
type Props = {
|
|
42
|
-
/**
|
|
43
|
-
* - The `class` attribute on the wrapper element.
|
|
44
|
-
*/
|
|
45
|
-
class?: string | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* - Whether to select the widget. An alias of the `aria-selected`
|
|
48
|
-
* attribute.
|
|
49
|
-
*/
|
|
50
|
-
selected?: boolean | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* - Text label displayed on the item.
|
|
53
|
-
*/
|
|
54
|
-
label: string;
|
|
55
|
-
/**
|
|
56
|
-
* - The value to be searched.
|
|
57
|
-
*/
|
|
58
|
-
searchValue?: string | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* - Whether to wrap a long label.
|
|
61
|
-
*/
|
|
62
|
-
wrap?: boolean | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* - Check icon slot content.
|
|
65
|
-
*/
|
|
66
|
-
checkIcon?: import("svelte").Snippet<[]> | undefined;
|
|
67
|
-
};
|
|
68
|
-
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> {
|
|
69
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
70
|
-
$$bindings?: Bindings;
|
|
71
|
-
} & Exports;
|
|
72
|
-
(internal: unknown, props: Props & {
|
|
73
|
-
$$events?: Events;
|
|
74
|
-
$$slots?: Slots;
|
|
75
|
-
}): Exports & {
|
|
76
|
-
$set?: any;
|
|
77
|
-
$on?: any;
|
|
78
|
-
};
|
|
79
|
-
z_$$bindings?: Bindings;
|
|
80
|
-
}
|
|
33
|
+
} & Record<string, any>, {}, "hidden" | "selected">;
|
|
@@ -1,43 +1,14 @@
|
|
|
1
1
|
export default MenuButton;
|
|
2
|
-
type MenuButton = SvelteComponent<ButtonProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
} & {
|
|
7
|
-
focus: () => void;
|
|
8
|
-
};
|
|
9
2
|
/**
|
|
10
3
|
* A button to open a `<Menu>` widget.
|
|
11
4
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/
|
|
12
5
|
*/
|
|
13
|
-
declare const MenuButton:
|
|
6
|
+
declare const MenuButton: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
14
7
|
/**
|
|
15
8
|
* - The base element of
|
|
16
9
|
* {@link popupPosition}. If omitted, this will be {@link buttonComponent}.
|
|
17
10
|
*/
|
|
18
11
|
popupPositionBaseElement?: HTMLElement | undefined;
|
|
19
12
|
} & Record<string, any>, {
|
|
20
|
-
[evt: string]: CustomEvent<any>;
|
|
21
|
-
}, {}, {
|
|
22
13
|
focus: () => void;
|
|
23
14
|
}, "">;
|
|
24
|
-
type Props = {
|
|
25
|
-
/**
|
|
26
|
-
* - The base element of
|
|
27
|
-
* {@link popupPosition}. If omitted, this will be {@link buttonComponent}.
|
|
28
|
-
*/
|
|
29
|
-
popupPositionBaseElement?: HTMLElement | undefined;
|
|
30
|
-
};
|
|
31
|
-
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> {
|
|
32
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
33
|
-
$$bindings?: Bindings;
|
|
34
|
-
} & Exports;
|
|
35
|
-
(internal: unknown, props: Props & {
|
|
36
|
-
$$events?: Events;
|
|
37
|
-
$$slots?: Slots;
|
|
38
|
-
}): Exports & {
|
|
39
|
-
$set?: any;
|
|
40
|
-
$on?: any;
|
|
41
|
-
};
|
|
42
|
-
z_$$bindings?: Bindings;
|
|
43
|
-
}
|
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
export default MenuItemCheckbox;
|
|
2
|
-
type MenuItemCheckbox = SvelteComponent<ButtonProps & MenuItemProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "checked" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A menu item widget with a checkbox.
|
|
9
4
|
* @see https://w3c.github.io/aria/#menuitemcheckbox
|
|
10
5
|
*/
|
|
11
|
-
declare const MenuItemCheckbox:
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, "checked">;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: Props & {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
6
|
+
declare const MenuItemCheckbox: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").MenuItemProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & Record<string, any>, {}, "checked">;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export default MenuItemGroup;
|
|
2
|
-
type MenuItemGroup = SvelteComponent<KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/** A menu item group. */
|
|
8
|
-
declare const MenuItemGroup:
|
|
3
|
+
declare const MenuItemGroup: import("svelte").Component<import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & {
|
|
9
4
|
/**
|
|
10
5
|
* - The `class` attribute on the wrapper element.
|
|
11
6
|
*/
|
|
@@ -24,39 +19,4 @@ declare const MenuItemGroup: $$__sveltets_2_IsomorphicComponent<import("../../ty
|
|
|
24
19
|
* - Text label displayed above the group items.
|
|
25
20
|
*/
|
|
26
21
|
title?: string | undefined;
|
|
27
|
-
} & Record<string, any>, {
|
|
28
|
-
[evt: string]: CustomEvent<any>;
|
|
29
|
-
}, {}, {}, "">;
|
|
30
|
-
type Props = {
|
|
31
|
-
/**
|
|
32
|
-
* - The `class` attribute on the wrapper element.
|
|
33
|
-
*/
|
|
34
|
-
class?: string | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* - Whether to hide the widget. An alias of the `aria-hidden`
|
|
37
|
-
* attribute.
|
|
38
|
-
*/
|
|
39
|
-
hidden?: boolean | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
42
|
-
* attribute.
|
|
43
|
-
*/
|
|
44
|
-
disabled?: boolean | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* - Text label displayed above the group items.
|
|
47
|
-
*/
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
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> {
|
|
51
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
52
|
-
$$bindings?: Bindings;
|
|
53
|
-
} & Exports;
|
|
54
|
-
(internal: unknown, props: Props & {
|
|
55
|
-
$$events?: Events;
|
|
56
|
-
$$slots?: Slots;
|
|
57
|
-
}): Exports & {
|
|
58
|
-
$set?: any;
|
|
59
|
-
$on?: any;
|
|
60
|
-
};
|
|
61
|
-
z_$$bindings?: Bindings;
|
|
62
|
-
}
|
|
22
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
export default MenuItemRadio;
|
|
2
|
-
type MenuItemRadio = SvelteComponent<ButtonProps & MenuItemProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "checked" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A menu item widget with a radio. Only one item can be selected within the parent `<Menu>` or
|
|
9
4
|
* `<MenuItemGroup>` component.
|
|
10
5
|
* @see https://w3c.github.io/aria/#menuitemradio
|
|
11
6
|
*/
|
|
12
|
-
declare const MenuItemRadio:
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}, {}, "checked">;
|
|
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 MenuItemRadio: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").MenuItemProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & Record<string, any>, {}, "checked">;
|
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
export default MenuItem;
|
|
2
|
-
type MenuItem = SvelteComponent<ButtonProps & MenuItemProps & KeyboardEventHandlers & MouseEventHandlers & FocusEventHandlers & DragEventHandlers & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A menu item widget.
|
|
9
4
|
* @see https://w3c.github.io/aria/#menuitem
|
|
10
5
|
*/
|
|
11
|
-
declare const MenuItem:
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
}, {}, {}, "">;
|
|
14
|
-
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> {
|
|
15
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
-
$$bindings?: Bindings;
|
|
17
|
-
} & Exports;
|
|
18
|
-
(internal: unknown, props: Props & {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
6
|
+
declare const MenuItem: import("svelte").Component<import("../../typedefs").ButtonProps & import("../../typedefs").MenuItemProps & import("../../typedefs").KeyboardEventHandlers & import("../../typedefs").MouseEventHandlers & import("../../typedefs").FocusEventHandlers & import("../../typedefs").DragEventHandlers & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Menu;
|
|
2
|
-
type Menu = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A menu widget.
|
|
9
4
|
* @see https://w3c.github.io/aria/#menu
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
11
6
|
*/
|
|
12
|
-
declare const Menu:
|
|
7
|
+
declare const Menu: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -32,43 +27,4 @@ declare const Menu: $$__sveltets_2_IsomorphicComponent<{
|
|
|
32
27
|
* - Custom `Change` event handler.
|
|
33
28
|
*/
|
|
34
29
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
35
|
-
} & Record<string, any>, {
|
|
36
|
-
[evt: string]: CustomEvent<any>;
|
|
37
|
-
}, {}, {}, "">;
|
|
38
|
-
type Props = {
|
|
39
|
-
/**
|
|
40
|
-
* - The `class` attribute on the wrapper element.
|
|
41
|
-
*/
|
|
42
|
-
class?: string | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* - Whether to hide the widget. An alias of the `aria-hidden`
|
|
45
|
-
* attribute.
|
|
46
|
-
*/
|
|
47
|
-
hidden?: boolean | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
50
|
-
* attribute.
|
|
51
|
-
*/
|
|
52
|
-
disabled?: boolean | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* - Primary slot content.
|
|
55
|
-
*/
|
|
56
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* - Custom `Change` event handler.
|
|
59
|
-
*/
|
|
60
|
-
onChange?: ((event: CustomEvent) => void) | 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>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default RadioGroup;
|
|
2
|
-
type RadioGroup = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The container of `<Radio>`s.
|
|
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 RadioGroup:
|
|
7
|
+
declare const RadioGroup: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -51,62 +46,4 @@ declare const RadioGroup: $$__sveltets_2_IsomorphicComponent<{
|
|
|
51
46
|
* - Custom `Change` event handler.
|
|
52
47
|
*/
|
|
53
48
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
54
|
-
} & Record<string, any>, {
|
|
55
|
-
[evt: string]: CustomEvent<any>;
|
|
56
|
-
}, {}, {}, "">;
|
|
57
|
-
type Props = {
|
|
58
|
-
/**
|
|
59
|
-
* - The `class` attribute on the wrapper element.
|
|
60
|
-
*/
|
|
61
|
-
class?: string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* - Whether to hide the widget.
|
|
64
|
-
*/
|
|
65
|
-
hidden?: boolean | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
68
|
-
* attribute.
|
|
69
|
-
*/
|
|
70
|
-
disabled?: boolean | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* - Whether to make the widget read-only. An alias of the
|
|
73
|
-
* `aria-readonly` attribute.
|
|
74
|
-
*/
|
|
75
|
-
readonly?: boolean | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* - Whether to mark the widget required. An alias of the
|
|
78
|
-
* `aria-required` attribute.
|
|
79
|
-
*/
|
|
80
|
-
required?: boolean | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
83
|
-
* `aria-invalid` attribute.
|
|
84
|
-
*/
|
|
85
|
-
invalid?: boolean | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* - Orientation of the widget. An alias of the
|
|
88
|
-
* `aria-orientation` attribute.
|
|
89
|
-
*/
|
|
90
|
-
orientation?: "vertical" | "horizontal" | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* - Primary slot content.
|
|
93
|
-
*/
|
|
94
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* - Custom `Change` event handler.
|
|
97
|
-
*/
|
|
98
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
99
|
-
};
|
|
100
|
-
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> {
|
|
101
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
102
|
-
$$bindings?: Bindings;
|
|
103
|
-
} & Exports;
|
|
104
|
-
(internal: unknown, props: Props & {
|
|
105
|
-
$$events?: Events;
|
|
106
|
-
$$slots?: Slots;
|
|
107
|
-
}): Exports & {
|
|
108
|
-
$set?: any;
|
|
109
|
-
$on?: any;
|
|
110
|
-
};
|
|
111
|
-
z_$$bindings?: Bindings;
|
|
112
|
-
}
|
|
49
|
+
} & Record<string, any>, {}, "">;
|