@sveltia/ui 0.15.15 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/components/alert/alert.svelte.d.ts +37 -25
- package/package/components/button/button-group.svelte.d.ts +34 -24
- package/package/components/button/button.svelte.d.ts +118 -119
- package/package/components/button/select-button-group.svelte.d.ts +41 -31
- package/package/components/button/select-button.svelte.d.ts +65 -43
- package/package/components/button/split-button.svelte.d.ts +42 -41
- package/package/components/calendar/calendar.svelte.d.ts +24 -23
- package/package/components/checkbox/checkbox-group.svelte.d.ts +37 -27
- package/package/components/checkbox/checkbox.svelte +1 -1
- package/package/components/checkbox/checkbox.svelte.d.ts +54 -38
- package/package/components/dialog/alert-dialog.svelte.d.ts +44 -34
- package/package/components/dialog/confirmation-dialog.svelte.d.ts +45 -35
- package/package/components/dialog/dialog.svelte.d.ts +83 -53
- package/package/components/dialog/prompt-dialog.svelte.d.ts +55 -43
- package/package/components/disclosure/disclosure.svelte.d.ts +61 -48
- package/package/components/divider/divider.svelte.d.ts +25 -24
- package/package/components/divider/spacer.svelte.d.ts +24 -23
- package/package/components/drawer/drawer.svelte.d.ts +75 -47
- package/package/components/grid/grid-body.svelte.d.ts +35 -25
- package/package/components/grid/grid-cell.svelte.d.ts +34 -24
- package/package/components/grid/grid-col-header.svelte.d.ts +34 -24
- package/package/components/grid/grid-foot.svelte.d.ts +34 -24
- package/package/components/grid/grid-head.svelte.d.ts +34 -24
- package/package/components/grid/grid-row-header.svelte.d.ts +34 -24
- package/package/components/grid/grid-row.svelte.d.ts +42 -32
- package/package/components/grid/grid.svelte.d.ts +39 -29
- package/package/components/icon/icon.svelte.d.ts +24 -23
- package/package/components/listbox/listbox.svelte.d.ts +45 -35
- package/package/components/listbox/option-group.svelte.d.ts +37 -27
- package/package/components/listbox/option.svelte.d.ts +73 -49
- package/package/components/menu/menu-button.svelte.d.ts +69 -42
- package/package/components/menu/menu-item-checkbox.svelte.d.ts +44 -34
- package/package/components/menu/menu-item-group.svelte +1 -1
- package/package/components/menu/menu-item-group.svelte.d.ts +37 -27
- package/package/components/menu/menu-item-radio.svelte.d.ts +44 -34
- package/package/components/menu/menu-item.svelte.d.ts +70 -44
- package/package/components/menu/menu.svelte.d.ts +38 -28
- package/package/components/radio/radio-group.svelte.d.ts +42 -32
- package/package/components/radio/radio.svelte.d.ts +45 -35
- package/package/components/select/combobox.svelte.d.ts +53 -37
- package/package/components/select/select-tags.svelte.d.ts +38 -37
- package/package/components/select/select.svelte +1 -1
- package/package/components/select/select.svelte.d.ts +43 -33
- package/package/components/slider/slider.svelte.d.ts +37 -36
- package/package/components/switch/switch.svelte.d.ts +43 -33
- package/package/components/table/table-body.svelte.d.ts +35 -25
- package/package/components/table/table-cell.svelte.d.ts +34 -24
- package/package/components/table/table-col-header.svelte.d.ts +34 -24
- package/package/components/table/table-foot.svelte.d.ts +34 -24
- package/package/components/table/table-head.svelte.d.ts +34 -24
- package/package/components/table/table-row-header.svelte.d.ts +34 -24
- package/package/components/table/table-row.svelte.d.ts +34 -24
- package/package/components/table/table.svelte.d.ts +34 -24
- package/package/components/tabs/tab-box.svelte.d.ts +34 -24
- package/package/components/tabs/tab-list.svelte.d.ts +40 -30
- package/package/components/tabs/tab-panel.svelte.d.ts +34 -24
- package/package/components/tabs/tab-panels.svelte.d.ts +33 -23
- package/package/components/tabs/tab.svelte.d.ts +60 -38
- package/package/components/text-editor/lexical-root.svelte.d.ts +27 -26
- package/package/components/text-editor/text-editor.svelte.d.ts +31 -30
- package/package/components/text-editor/toolbar/editor-toolbar.svelte.d.ts +23 -22
- package/package/components/text-editor/toolbar/format-text-button.svelte.d.ts +22 -21
- package/package/components/text-editor/toolbar/insert-link-button.svelte.d.ts +22 -21
- package/package/components/text-editor/toolbar/toggle-block-menu-item.svelte.d.ts +22 -21
- package/package/components/text-field/number-input.svelte.d.ts +46 -45
- package/package/components/text-field/password-input.svelte.d.ts +40 -39
- package/package/components/text-field/search-bar.svelte.d.ts +62 -66
- package/package/components/text-field/text-area.svelte.d.ts +38 -37
- package/package/components/text-field/text-input.svelte +1 -1
- package/package/components/text-field/text-input.svelte.d.ts +73 -84
- package/package/components/toast/toast.svelte.d.ts +37 -27
- package/package/components/toolbar/toolbar.svelte.d.ts +38 -28
- package/package/components/util/app-shell.svelte.d.ts +37 -27
- package/package/components/util/group.svelte.d.ts +36 -26
- package/package/components/util/modal.svelte.d.ts +70 -63
- package/package/components/util/popup.svelte.d.ts +75 -65
- package/package/components/util/portal.svelte.d.ts +34 -24
- package/package.json +24 -24
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Icon;
|
|
2
|
+
type Icon = SvelteComponent<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> & {
|
|
9
|
+
$$bindings?: string | undefined;
|
|
10
|
+
};
|
|
4
11
|
/**
|
|
5
12
|
* A Material Symbols icon.
|
|
6
13
|
* @see https://developers.google.com/fonts/docs/material_symbols
|
|
7
14
|
*/
|
|
8
|
-
|
|
15
|
+
declare const Icon: $$__sveltets_2_IsomorphicComponent<{
|
|
9
16
|
[x: string]: any;
|
|
10
17
|
class?: string | undefined;
|
|
11
18
|
name?: string | undefined;
|
|
12
19
|
}, {
|
|
13
20
|
[evt: string]: CustomEvent<any>;
|
|
14
|
-
}, {}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
events: {
|
|
27
|
-
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {}, {}, string>;
|
|
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;
|
|
28
32
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
bindings?: undefined;
|
|
32
|
-
};
|
|
33
|
-
export {};
|
|
33
|
+
z_$$bindings?: Bindings;
|
|
34
|
+
}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Listbox;
|
|
2
|
+
type Listbox = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
7
|
+
multiple?: boolean | undefined;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
hidden?: boolean | undefined;
|
|
10
|
+
readonly?: boolean | undefined;
|
|
11
|
+
searchTerms?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
default: {};
|
|
14
|
+
}>, {
|
|
15
|
+
click: MouseEvent;
|
|
16
|
+
filter: Event | KeyboardEvent | UIEvent | ErrorEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | ClipboardEvent | DragEvent | FormDataEvent | PointerEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent;
|
|
17
|
+
change: CustomEvent<any>;
|
|
18
|
+
} & {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
}, {
|
|
21
|
+
default: {};
|
|
22
|
+
}> & {
|
|
23
|
+
$$bindings?: string | undefined;
|
|
24
|
+
};
|
|
4
25
|
/**
|
|
5
26
|
* A list widget with selectable options. The equivalent of the HTML `<select multiple>` element.
|
|
6
27
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
7
28
|
* @see https://w3c.github.io/aria/#listbox
|
|
8
29
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/listbox/
|
|
9
30
|
*/
|
|
10
|
-
|
|
31
|
+
declare const Listbox: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
11
32
|
[x: string]: any;
|
|
12
33
|
class?: string | undefined;
|
|
13
34
|
disabled?: boolean | undefined;
|
|
@@ -18,6 +39,8 @@ export default class Listbox extends SvelteComponent<{
|
|
|
18
39
|
readonly?: boolean | undefined;
|
|
19
40
|
searchTerms?: string | undefined;
|
|
20
41
|
}, {
|
|
42
|
+
default: {};
|
|
43
|
+
}>, {
|
|
21
44
|
click: MouseEvent;
|
|
22
45
|
filter: Event | KeyboardEvent | UIEvent | ErrorEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | ClipboardEvent | DragEvent | FormDataEvent | PointerEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent;
|
|
23
46
|
change: CustomEvent<any>;
|
|
@@ -25,35 +48,22 @@ export default class Listbox extends SvelteComponent<{
|
|
|
25
48
|
[evt: string]: CustomEvent<any>;
|
|
26
49
|
}, {
|
|
27
50
|
default: {};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
searchTerms?: string | undefined;
|
|
45
|
-
};
|
|
46
|
-
events: {
|
|
47
|
-
click: MouseEvent;
|
|
48
|
-
filter: Event | KeyboardEvent | UIEvent | ErrorEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | ClipboardEvent | DragEvent | FormDataEvent | PointerEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent;
|
|
49
|
-
change: CustomEvent<any>;
|
|
50
|
-
} & {
|
|
51
|
-
[evt: string]: CustomEvent<any>;
|
|
51
|
+
}, {}, string>;
|
|
52
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
53
|
+
default: any;
|
|
54
|
+
} ? Props extends Record<string, never> ? any : {
|
|
55
|
+
children?: any;
|
|
56
|
+
} : {});
|
|
57
|
+
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> {
|
|
58
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
59
|
+
$$bindings?: Bindings;
|
|
60
|
+
} & Exports;
|
|
61
|
+
(internal: unknown, props: Props & {
|
|
62
|
+
$$events?: Events;
|
|
63
|
+
$$slots?: Slots;
|
|
64
|
+
}): Exports & {
|
|
65
|
+
$set?: any;
|
|
66
|
+
$on?: any;
|
|
52
67
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
};
|
|
56
|
-
exports?: undefined;
|
|
57
|
-
bindings?: undefined;
|
|
58
|
-
};
|
|
59
|
-
export {};
|
|
68
|
+
z_$$bindings?: Bindings;
|
|
69
|
+
}
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default OptionGroup;
|
|
2
|
+
type OptionGroup = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
hidden?: boolean | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}>, {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
}, {
|
|
13
|
+
default: {};
|
|
14
|
+
}> & {
|
|
15
|
+
$$bindings?: string | undefined;
|
|
16
|
+
};
|
|
4
17
|
/**
|
|
5
18
|
* A group within a `<Listbox>`. The equivalent of the HTML `<optgroup>` element. It can contain one
|
|
6
19
|
* or more `<Option>`s.
|
|
@@ -8,37 +21,34 @@
|
|
|
8
21
|
* @see https://w3c.github.io/aria/#listbox
|
|
9
22
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/listbox/examples/listbox-grouped/
|
|
10
23
|
*/
|
|
11
|
-
|
|
24
|
+
declare const OptionGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
12
25
|
[x: string]: any;
|
|
13
26
|
class?: string | undefined;
|
|
14
27
|
disabled?: boolean | undefined;
|
|
15
28
|
label?: string | undefined;
|
|
16
29
|
hidden?: boolean | undefined;
|
|
17
30
|
}, {
|
|
31
|
+
default: {};
|
|
32
|
+
}>, {
|
|
18
33
|
[evt: string]: CustomEvent<any>;
|
|
19
34
|
}, {
|
|
20
35
|
default: {};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
}, {}, string>;
|
|
37
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
38
|
+
default: any;
|
|
39
|
+
} ? Props extends Record<string, never> ? any : {
|
|
40
|
+
children?: any;
|
|
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;
|
|
34
52
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
};
|
|
38
|
-
slots: {
|
|
39
|
-
default: {};
|
|
40
|
-
};
|
|
41
|
-
exports?: undefined;
|
|
42
|
-
bindings?: undefined;
|
|
43
|
-
};
|
|
44
|
-
export {};
|
|
53
|
+
z_$$bindings?: Bindings;
|
|
54
|
+
}
|
|
@@ -1,12 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Option;
|
|
2
|
+
type Option = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
label: string;
|
|
5
|
+
class?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
value?: string | undefined;
|
|
8
|
+
hidden?: boolean | undefined;
|
|
9
|
+
selected?: boolean | undefined;
|
|
10
|
+
searchValue?: string | undefined;
|
|
11
|
+
wrap?: boolean | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
'check-icon': {};
|
|
14
|
+
'start-icon': {
|
|
15
|
+
slot: string;
|
|
16
|
+
};
|
|
17
|
+
default: {};
|
|
18
|
+
'end-icon': {
|
|
19
|
+
slot: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
click: MouseEvent;
|
|
23
|
+
dblclick: MouseEvent;
|
|
24
|
+
focus: FocusEvent;
|
|
25
|
+
blur: FocusEvent;
|
|
26
|
+
dragover: DragEvent;
|
|
27
|
+
dragleave: DragEvent;
|
|
28
|
+
dragend: DragEvent;
|
|
29
|
+
drop: DragEvent;
|
|
30
|
+
select: CustomEvent<any>;
|
|
31
|
+
change: CustomEvent<any>;
|
|
32
|
+
} & {
|
|
33
|
+
[evt: string]: CustomEvent<any>;
|
|
34
|
+
}, {
|
|
35
|
+
'check-icon': {};
|
|
36
|
+
'start-icon': {
|
|
37
|
+
slot: string;
|
|
38
|
+
};
|
|
39
|
+
default: {};
|
|
40
|
+
'end-icon': {
|
|
41
|
+
slot: string;
|
|
42
|
+
};
|
|
43
|
+
}> & {
|
|
44
|
+
$$bindings?: string | undefined;
|
|
45
|
+
};
|
|
4
46
|
/**
|
|
5
47
|
* An option within the `<Listbox>` widget. The equivalent of the HTML `<option>` element.
|
|
6
48
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
|
|
7
49
|
* @see https://w3c.github.io/aria/#option
|
|
8
50
|
*/
|
|
9
|
-
|
|
51
|
+
declare const Option: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
52
|
[x: string]: any;
|
|
11
53
|
label: string;
|
|
12
54
|
class?: string | undefined;
|
|
@@ -17,6 +59,15 @@ export default class Option extends SvelteComponent<{
|
|
|
17
59
|
searchValue?: string | undefined;
|
|
18
60
|
wrap?: boolean | undefined;
|
|
19
61
|
}, {
|
|
62
|
+
'check-icon': {};
|
|
63
|
+
'start-icon': {
|
|
64
|
+
slot: string;
|
|
65
|
+
};
|
|
66
|
+
default: {};
|
|
67
|
+
'end-icon': {
|
|
68
|
+
slot: string;
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
20
71
|
click: MouseEvent;
|
|
21
72
|
dblclick: MouseEvent;
|
|
22
73
|
focus: FocusEvent;
|
|
@@ -38,49 +89,22 @@ export default class Option extends SvelteComponent<{
|
|
|
38
89
|
'end-icon': {
|
|
39
90
|
slot: string;
|
|
40
91
|
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
wrap?: boolean | undefined;
|
|
58
|
-
};
|
|
59
|
-
events: {
|
|
60
|
-
click: MouseEvent;
|
|
61
|
-
dblclick: MouseEvent;
|
|
62
|
-
focus: FocusEvent;
|
|
63
|
-
blur: FocusEvent;
|
|
64
|
-
dragover: DragEvent;
|
|
65
|
-
dragleave: DragEvent;
|
|
66
|
-
dragend: DragEvent;
|
|
67
|
-
drop: DragEvent;
|
|
68
|
-
select: CustomEvent<any>;
|
|
69
|
-
change: CustomEvent<any>;
|
|
70
|
-
} & {
|
|
71
|
-
[evt: string]: CustomEvent<any>;
|
|
92
|
+
}, {}, string>;
|
|
93
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
94
|
+
default: any;
|
|
95
|
+
} ? Props extends Record<string, never> ? any : {
|
|
96
|
+
children?: any;
|
|
97
|
+
} : {});
|
|
98
|
+
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> {
|
|
99
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
100
|
+
$$bindings?: Bindings;
|
|
101
|
+
} & Exports;
|
|
102
|
+
(internal: unknown, props: Props & {
|
|
103
|
+
$$events?: Events;
|
|
104
|
+
$$slots?: Slots;
|
|
105
|
+
}): Exports & {
|
|
106
|
+
$set?: any;
|
|
107
|
+
$on?: any;
|
|
72
108
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
'start-icon': {
|
|
76
|
-
slot: string;
|
|
77
|
-
};
|
|
78
|
-
default: {};
|
|
79
|
-
'end-icon': {
|
|
80
|
-
slot: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
exports?: undefined;
|
|
84
|
-
bindings?: undefined;
|
|
85
|
-
};
|
|
86
|
-
export {};
|
|
109
|
+
z_$$bindings?: Bindings;
|
|
110
|
+
}
|
|
@@ -1,11 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default MenuButton;
|
|
2
|
+
type MenuButton = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
focus?: (() => void) | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
+
hidden?: boolean | undefined;
|
|
10
|
+
variant?: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
11
|
+
iconic?: boolean | undefined;
|
|
12
|
+
popupPosition?: PopupPosition | undefined;
|
|
13
|
+
showPopupBackdrop?: boolean | undefined;
|
|
14
|
+
popupPositionBaseElement?: HTMLElement | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
'start-icon': {
|
|
17
|
+
slot: string;
|
|
18
|
+
};
|
|
19
|
+
default: {};
|
|
20
|
+
'end-icon': {
|
|
21
|
+
slot: string;
|
|
22
|
+
};
|
|
23
|
+
popup: {};
|
|
24
|
+
}>, {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
}, {
|
|
27
|
+
'start-icon': {
|
|
28
|
+
slot: string;
|
|
29
|
+
};
|
|
30
|
+
default: {};
|
|
31
|
+
'end-icon': {
|
|
32
|
+
slot: string;
|
|
33
|
+
};
|
|
34
|
+
popup: {};
|
|
35
|
+
}> & {
|
|
36
|
+
$$bindings?: string | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
focus: () => void;
|
|
39
|
+
};
|
|
4
40
|
/**
|
|
5
41
|
* A button to open a `<Menu>` widget.
|
|
6
42
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/
|
|
7
43
|
*/
|
|
8
|
-
|
|
44
|
+
declare const MenuButton: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
9
45
|
[x: string]: any;
|
|
10
46
|
class?: string | undefined;
|
|
11
47
|
disabled?: boolean | undefined;
|
|
@@ -18,8 +54,6 @@ export default class MenuButton extends SvelteComponent<{
|
|
|
18
54
|
popupPosition?: import("../../typedefs").PopupPosition | undefined;
|
|
19
55
|
showPopupBackdrop?: boolean | undefined;
|
|
20
56
|
popupPositionBaseElement?: HTMLElement | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
57
|
}, {
|
|
24
58
|
'start-icon': {
|
|
25
59
|
slot: string;
|
|
@@ -29,42 +63,35 @@ export default class MenuButton extends SvelteComponent<{
|
|
|
29
63
|
slot: string;
|
|
30
64
|
};
|
|
31
65
|
popup: {};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export type MenuButtonSlots = typeof __propDef.slots;
|
|
38
|
-
import { SvelteComponent } from "svelte";
|
|
39
|
-
declare const __propDef: {
|
|
40
|
-
props: {
|
|
41
|
-
[x: string]: any;
|
|
42
|
-
class?: string | undefined;
|
|
43
|
-
disabled?: boolean | undefined;
|
|
44
|
-
focus?: (() => void) | undefined;
|
|
45
|
-
label?: string | undefined;
|
|
46
|
-
size?: "small" | "medium" | "large" | undefined;
|
|
47
|
-
hidden?: boolean | undefined;
|
|
48
|
-
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "link" | undefined;
|
|
49
|
-
iconic?: boolean | undefined;
|
|
50
|
-
popupPosition?: import("../../typedefs").PopupPosition | undefined;
|
|
51
|
-
showPopupBackdrop?: boolean | undefined;
|
|
52
|
-
popupPositionBaseElement?: HTMLElement | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
[evt: string]: CustomEvent<any>;
|
|
68
|
+
}, {
|
|
69
|
+
'start-icon': {
|
|
70
|
+
slot: string;
|
|
53
71
|
};
|
|
54
|
-
|
|
55
|
-
|
|
72
|
+
default: {};
|
|
73
|
+
'end-icon': {
|
|
74
|
+
slot: string;
|
|
56
75
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
76
|
+
popup: {};
|
|
77
|
+
}, {
|
|
78
|
+
focus: () => void;
|
|
79
|
+
}, string>;
|
|
80
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
81
|
+
default: any;
|
|
82
|
+
} ? Props extends Record<string, never> ? any : {
|
|
83
|
+
children?: any;
|
|
84
|
+
} : {});
|
|
85
|
+
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> {
|
|
86
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
87
|
+
$$bindings?: Bindings;
|
|
88
|
+
} & Exports;
|
|
89
|
+
(internal: unknown, props: Props & {
|
|
90
|
+
$$events?: Events;
|
|
91
|
+
$$slots?: Slots;
|
|
92
|
+
}): Exports & {
|
|
93
|
+
$set?: any;
|
|
94
|
+
$on?: any;
|
|
66
95
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
};
|
|
70
|
-
export {};
|
|
96
|
+
z_$$bindings?: Bindings;
|
|
97
|
+
}
|
|
@@ -1,11 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default MenuItemCheckbox;
|
|
2
|
+
type MenuItemCheckbox = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
checked?: boolean | undefined;
|
|
8
|
+
hidden?: boolean | undefined;
|
|
9
|
+
iconName?: string | undefined;
|
|
10
|
+
iconLabel?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
default: {};
|
|
13
|
+
}>, {
|
|
14
|
+
click: MouseEvent;
|
|
15
|
+
select: CustomEvent<any>;
|
|
16
|
+
change: CustomEvent<any>;
|
|
17
|
+
} & {
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
}, {
|
|
20
|
+
default: {};
|
|
21
|
+
}> & {
|
|
22
|
+
$$bindings?: string | undefined;
|
|
23
|
+
};
|
|
4
24
|
/**
|
|
5
25
|
* A menu item widget with a checkbox.
|
|
6
26
|
* @see https://w3c.github.io/aria/#menuitemcheckbox
|
|
7
27
|
*/
|
|
8
|
-
|
|
28
|
+
declare const MenuItemCheckbox: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
9
29
|
[x: string]: any;
|
|
10
30
|
class?: string | undefined;
|
|
11
31
|
disabled?: boolean | undefined;
|
|
@@ -15,6 +35,8 @@ export default class MenuItemCheckbox extends SvelteComponent<{
|
|
|
15
35
|
iconName?: string | undefined;
|
|
16
36
|
iconLabel?: string | undefined;
|
|
17
37
|
}, {
|
|
38
|
+
default: {};
|
|
39
|
+
}>, {
|
|
18
40
|
click: MouseEvent;
|
|
19
41
|
select: CustomEvent<any>;
|
|
20
42
|
change: CustomEvent<any>;
|
|
@@ -22,34 +44,22 @@ export default class MenuItemCheckbox extends SvelteComponent<{
|
|
|
22
44
|
[evt: string]: CustomEvent<any>;
|
|
23
45
|
}, {
|
|
24
46
|
default: {};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
};
|
|
42
|
-
events: {
|
|
43
|
-
click: MouseEvent;
|
|
44
|
-
select: CustomEvent<any>;
|
|
45
|
-
change: CustomEvent<any>;
|
|
46
|
-
} & {
|
|
47
|
-
[evt: string]: CustomEvent<any>;
|
|
47
|
+
}, {}, string>;
|
|
48
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
49
|
+
default: any;
|
|
50
|
+
} ? Props extends Record<string, never> ? any : {
|
|
51
|
+
children?: any;
|
|
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;
|
|
48
63
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
};
|
|
52
|
-
exports?: undefined;
|
|
53
|
-
bindings?: undefined;
|
|
54
|
-
};
|
|
55
|
-
export {};
|
|
64
|
+
z_$$bindings?: Bindings;
|
|
65
|
+
}
|