@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,38 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default MenuItemGroup;
|
|
2
|
+
type MenuItemGroup = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
title?: 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
|
/** A menu item group. */
|
|
5
|
-
|
|
18
|
+
declare const MenuItemGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
6
19
|
[x: string]: any;
|
|
7
20
|
class?: string | undefined;
|
|
8
21
|
disabled?: boolean | undefined;
|
|
9
22
|
title?: string | undefined;
|
|
10
23
|
hidden?: boolean | undefined;
|
|
11
24
|
}, {
|
|
25
|
+
default: {};
|
|
26
|
+
}>, {
|
|
12
27
|
[evt: string]: CustomEvent<any>;
|
|
13
28
|
}, {
|
|
14
29
|
default: {};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
}, {}, string>;
|
|
31
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
32
|
+
default: any;
|
|
33
|
+
} ? Props extends Record<string, never> ? any : {
|
|
34
|
+
children?: any;
|
|
35
|
+
} : {});
|
|
36
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
37
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
38
|
+
$$bindings?: Bindings;
|
|
39
|
+
} & Exports;
|
|
40
|
+
(internal: unknown, props: Props & {
|
|
41
|
+
$$events?: Events;
|
|
42
|
+
$$slots?: Slots;
|
|
43
|
+
}): Exports & {
|
|
44
|
+
$set?: any;
|
|
45
|
+
$on?: any;
|
|
28
46
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
slots: {
|
|
33
|
-
default: {};
|
|
34
|
-
};
|
|
35
|
-
exports?: undefined;
|
|
36
|
-
bindings?: undefined;
|
|
37
|
-
};
|
|
38
|
-
export {};
|
|
47
|
+
z_$$bindings?: Bindings;
|
|
48
|
+
}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default MenuItemRadio;
|
|
2
|
+
type MenuItemRadio = 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 radio. Only one item can be selected within the parent `<Menu>` or
|
|
6
26
|
* `<MenuItemGroup>` component.
|
|
7
27
|
* @see https://w3c.github.io/aria/#menuitemradio
|
|
8
28
|
*/
|
|
9
|
-
|
|
29
|
+
declare const MenuItemRadio: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
30
|
[x: string]: any;
|
|
11
31
|
class?: string | undefined;
|
|
12
32
|
disabled?: boolean | undefined;
|
|
@@ -16,6 +36,8 @@ export default class MenuItemRadio extends SvelteComponent<{
|
|
|
16
36
|
iconName?: string | undefined;
|
|
17
37
|
iconLabel?: string | undefined;
|
|
18
38
|
}, {
|
|
39
|
+
default: {};
|
|
40
|
+
}>, {
|
|
19
41
|
click: MouseEvent;
|
|
20
42
|
select: CustomEvent<any>;
|
|
21
43
|
change: CustomEvent<any>;
|
|
@@ -23,34 +45,22 @@ export default class MenuItemRadio extends SvelteComponent<{
|
|
|
23
45
|
[evt: string]: CustomEvent<any>;
|
|
24
46
|
}, {
|
|
25
47
|
default: {};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
};
|
|
43
|
-
events: {
|
|
44
|
-
click: MouseEvent;
|
|
45
|
-
select: CustomEvent<any>;
|
|
46
|
-
change: CustomEvent<any>;
|
|
47
|
-
} & {
|
|
48
|
-
[evt: string]: CustomEvent<any>;
|
|
48
|
+
}, {}, string>;
|
|
49
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
50
|
+
default: any;
|
|
51
|
+
} ? Props extends Record<string, never> ? any : {
|
|
52
|
+
children?: any;
|
|
53
|
+
} : {});
|
|
54
|
+
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> {
|
|
55
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
56
|
+
$$bindings?: Bindings;
|
|
57
|
+
} & Exports;
|
|
58
|
+
(internal: unknown, props: Props & {
|
|
59
|
+
$$events?: Events;
|
|
60
|
+
$$slots?: Slots;
|
|
61
|
+
}): Exports & {
|
|
62
|
+
$set?: any;
|
|
63
|
+
$on?: any;
|
|
49
64
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
exports?: undefined;
|
|
54
|
-
bindings?: undefined;
|
|
55
|
-
};
|
|
56
|
-
export {};
|
|
65
|
+
z_$$bindings?: Bindings;
|
|
66
|
+
}
|
|
@@ -1,11 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default MenuItem;
|
|
2
|
+
type MenuItem = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
role?: "menuitem" | "menuitemcheckbox" | "menuitemradio" | undefined;
|
|
8
|
+
hidden?: boolean | undefined;
|
|
9
|
+
iconName?: string | undefined;
|
|
10
|
+
iconLabel?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
'start-icon': {
|
|
13
|
+
slot: string;
|
|
14
|
+
};
|
|
15
|
+
default: {};
|
|
16
|
+
'end-icon': {
|
|
17
|
+
slot: string;
|
|
18
|
+
};
|
|
19
|
+
'chevron-icon': {};
|
|
20
|
+
children: {};
|
|
21
|
+
}>, {
|
|
22
|
+
click: MouseEvent;
|
|
23
|
+
focus: FocusEvent;
|
|
24
|
+
blur: FocusEvent;
|
|
25
|
+
select: CustomEvent<any>;
|
|
26
|
+
change: CustomEvent<any>;
|
|
27
|
+
} & {
|
|
28
|
+
[evt: string]: CustomEvent<any>;
|
|
29
|
+
}, {
|
|
30
|
+
'start-icon': {
|
|
31
|
+
slot: string;
|
|
32
|
+
};
|
|
33
|
+
default: {};
|
|
34
|
+
'end-icon': {
|
|
35
|
+
slot: string;
|
|
36
|
+
};
|
|
37
|
+
'chevron-icon': {};
|
|
38
|
+
children: {};
|
|
39
|
+
}> & {
|
|
40
|
+
$$bindings?: string | undefined;
|
|
41
|
+
};
|
|
4
42
|
/**
|
|
5
43
|
* A menu item widget.
|
|
6
44
|
* @see https://w3c.github.io/aria/#menuitem
|
|
7
45
|
*/
|
|
8
|
-
|
|
46
|
+
declare const MenuItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
9
47
|
[x: string]: any;
|
|
10
48
|
class?: string | undefined;
|
|
11
49
|
disabled?: boolean | undefined;
|
|
@@ -15,6 +53,16 @@ export default class MenuItem extends SvelteComponent<{
|
|
|
15
53
|
iconName?: string | undefined;
|
|
16
54
|
iconLabel?: string | undefined;
|
|
17
55
|
}, {
|
|
56
|
+
'start-icon': {
|
|
57
|
+
slot: string;
|
|
58
|
+
};
|
|
59
|
+
default: {};
|
|
60
|
+
'end-icon': {
|
|
61
|
+
slot: string;
|
|
62
|
+
};
|
|
63
|
+
'chevron-icon': {};
|
|
64
|
+
children: {};
|
|
65
|
+
}>, {
|
|
18
66
|
click: MouseEvent;
|
|
19
67
|
focus: FocusEvent;
|
|
20
68
|
blur: FocusEvent;
|
|
@@ -32,44 +80,22 @@ export default class MenuItem extends SvelteComponent<{
|
|
|
32
80
|
};
|
|
33
81
|
'chevron-icon': {};
|
|
34
82
|
children: {};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
};
|
|
52
|
-
events: {
|
|
53
|
-
click: MouseEvent;
|
|
54
|
-
focus: FocusEvent;
|
|
55
|
-
blur: FocusEvent;
|
|
56
|
-
select: CustomEvent<any>;
|
|
57
|
-
change: CustomEvent<any>;
|
|
58
|
-
} & {
|
|
59
|
-
[evt: string]: CustomEvent<any>;
|
|
83
|
+
}, {}, string>;
|
|
84
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
85
|
+
default: any;
|
|
86
|
+
} ? Props extends Record<string, never> ? any : {
|
|
87
|
+
children?: any;
|
|
88
|
+
} : {});
|
|
89
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
90
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
91
|
+
$$bindings?: Bindings;
|
|
92
|
+
} & Exports;
|
|
93
|
+
(internal: unknown, props: Props & {
|
|
94
|
+
$$events?: Events;
|
|
95
|
+
$$slots?: Slots;
|
|
96
|
+
}): Exports & {
|
|
97
|
+
$set?: any;
|
|
98
|
+
$on?: any;
|
|
60
99
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
slot: string;
|
|
64
|
-
};
|
|
65
|
-
default: {};
|
|
66
|
-
'end-icon': {
|
|
67
|
-
slot: string;
|
|
68
|
-
};
|
|
69
|
-
'chevron-icon': {};
|
|
70
|
-
children: {};
|
|
71
|
-
};
|
|
72
|
-
exports?: undefined;
|
|
73
|
-
bindings?: undefined;
|
|
74
|
-
};
|
|
75
|
-
export {};
|
|
100
|
+
z_$$bindings?: Bindings;
|
|
101
|
+
}
|
|
@@ -1,44 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Menu;
|
|
2
|
+
type Menu = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
hidden?: boolean | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
default: {};
|
|
9
|
+
}>, {
|
|
10
|
+
change: CustomEvent<any>;
|
|
11
|
+
} & {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {
|
|
14
|
+
default: {};
|
|
15
|
+
}> & {
|
|
16
|
+
$$bindings?: string | undefined;
|
|
17
|
+
};
|
|
4
18
|
/**
|
|
5
19
|
* A menu widget.
|
|
6
20
|
* @see https://w3c.github.io/aria/#menu
|
|
7
21
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
8
22
|
*/
|
|
9
|
-
|
|
23
|
+
declare const Menu: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
24
|
[x: string]: any;
|
|
11
25
|
class?: string | undefined;
|
|
12
26
|
disabled?: boolean | undefined;
|
|
13
27
|
hidden?: boolean | undefined;
|
|
14
28
|
}, {
|
|
29
|
+
default: {};
|
|
30
|
+
}>, {
|
|
15
31
|
change: CustomEvent<any>;
|
|
16
32
|
} & {
|
|
17
33
|
[evt: string]: CustomEvent<any>;
|
|
18
34
|
}, {
|
|
19
35
|
default: {};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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;
|
|
32
52
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} & {
|
|
36
|
-
[evt: string]: CustomEvent<any>;
|
|
37
|
-
};
|
|
38
|
-
slots: {
|
|
39
|
-
default: {};
|
|
40
|
-
};
|
|
41
|
-
exports?: undefined;
|
|
42
|
-
bindings?: undefined;
|
|
43
|
-
};
|
|
44
|
-
export {};
|
|
53
|
+
z_$$bindings?: Bindings;
|
|
54
|
+
}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default RadioGroup;
|
|
2
|
+
type RadioGroup = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
7
|
+
required?: boolean | undefined;
|
|
8
|
+
hidden?: boolean | undefined;
|
|
9
|
+
readonly?: boolean | undefined;
|
|
10
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
default: {};
|
|
13
|
+
}>, {
|
|
14
|
+
change: CustomEvent<any>;
|
|
15
|
+
} & {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {
|
|
18
|
+
default: {};
|
|
19
|
+
}> & {
|
|
20
|
+
$$bindings?: string | undefined;
|
|
21
|
+
};
|
|
4
22
|
/**
|
|
5
23
|
* The container of `<Radio>`s.
|
|
6
24
|
* @see https://w3c.github.io/aria/#radiogroup
|
|
7
25
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
8
26
|
*/
|
|
9
|
-
|
|
27
|
+
declare const RadioGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
28
|
[x: string]: any;
|
|
11
29
|
class?: string | undefined;
|
|
12
30
|
disabled?: boolean | undefined;
|
|
@@ -16,37 +34,29 @@ export default class RadioGroup extends SvelteComponent<{
|
|
|
16
34
|
readonly?: boolean | undefined;
|
|
17
35
|
orientation?: "vertical" | "horizontal" | undefined;
|
|
18
36
|
}, {
|
|
37
|
+
default: {};
|
|
38
|
+
}>, {
|
|
19
39
|
change: CustomEvent<any>;
|
|
20
40
|
} & {
|
|
21
41
|
[evt: string]: CustomEvent<any>;
|
|
22
42
|
}, {
|
|
23
43
|
default: {};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
41
|
-
events: {
|
|
42
|
-
change: CustomEvent<any>;
|
|
43
|
-
} & {
|
|
44
|
-
[evt: string]: CustomEvent<any>;
|
|
45
|
-
};
|
|
46
|
-
slots: {
|
|
47
|
-
default: {};
|
|
44
|
+
}, {}, string>;
|
|
45
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
46
|
+
default: any;
|
|
47
|
+
} ? Props extends Record<string, never> ? any : {
|
|
48
|
+
children?: any;
|
|
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;
|
|
48
60
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
};
|
|
52
|
-
export {};
|
|
61
|
+
z_$$bindings?: Bindings;
|
|
62
|
+
}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Radio;
|
|
2
|
+
type Radio = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
checked?: boolean | undefined;
|
|
9
|
+
value?: string | undefined;
|
|
10
|
+
hidden?: boolean | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
default: {};
|
|
13
|
+
}>, {
|
|
14
|
+
focus: FocusEvent;
|
|
15
|
+
blur: FocusEvent;
|
|
16
|
+
select: CustomEvent<any>;
|
|
17
|
+
change: CustomEvent<any>;
|
|
18
|
+
} & {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
}, {
|
|
21
|
+
default: {};
|
|
22
|
+
}> & {
|
|
23
|
+
$$bindings?: string | undefined;
|
|
24
|
+
};
|
|
4
25
|
/**
|
|
5
26
|
* The equivalent of the HTML `<input type="radio">` element.
|
|
6
27
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
|
|
7
28
|
* @see https://w3c.github.io/aria/#radio
|
|
8
29
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
9
30
|
*/
|
|
10
|
-
|
|
31
|
+
declare const Radio: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
11
32
|
[x: string]: any;
|
|
12
33
|
class?: string | undefined;
|
|
13
34
|
name?: string | undefined;
|
|
@@ -17,6 +38,8 @@ export default class Radio extends SvelteComponent<{
|
|
|
17
38
|
value?: string | undefined;
|
|
18
39
|
hidden?: boolean | undefined;
|
|
19
40
|
}, {
|
|
41
|
+
default: {};
|
|
42
|
+
}>, {
|
|
20
43
|
focus: FocusEvent;
|
|
21
44
|
blur: FocusEvent;
|
|
22
45
|
select: CustomEvent<any>;
|
|
@@ -25,35 +48,22 @@ export default class Radio 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
|
-
};
|
|
45
|
-
events: {
|
|
46
|
-
focus: FocusEvent;
|
|
47
|
-
blur: FocusEvent;
|
|
48
|
-
select: CustomEvent<any>;
|
|
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
|
+
}
|