@sveltia/ui 0.15.16 → 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.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.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 +11 -11
|
@@ -1,38 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Alert;
|
|
2
|
+
type Alert = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
status?: "error" | "warning" | "info" | "success" | undefined;
|
|
5
|
+
}, {
|
|
6
|
+
icon: {};
|
|
7
|
+
default: {};
|
|
8
|
+
}>, {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
}, {
|
|
11
|
+
icon: {};
|
|
12
|
+
default: {};
|
|
13
|
+
}> & {
|
|
14
|
+
$$bindings?: string | undefined;
|
|
15
|
+
};
|
|
4
16
|
/**
|
|
5
17
|
* Inline alert message.
|
|
6
18
|
* @see https://w3c.github.io/aria/#alert
|
|
7
19
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
8
20
|
*/
|
|
9
|
-
|
|
21
|
+
declare const Alert: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
22
|
[x: string]: any;
|
|
11
23
|
status?: "error" | "warning" | "info" | "success" | undefined;
|
|
12
24
|
}, {
|
|
25
|
+
icon: {};
|
|
26
|
+
default: {};
|
|
27
|
+
}>, {
|
|
13
28
|
[evt: string]: CustomEvent<any>;
|
|
14
29
|
}, {
|
|
15
30
|
icon: {};
|
|
16
31
|
default: {};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
}, {}, string>;
|
|
33
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
34
|
+
default: any;
|
|
35
|
+
} ? Props extends Record<string, never> ? any : {
|
|
36
|
+
children?: any;
|
|
37
|
+
} : {});
|
|
38
|
+
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> {
|
|
39
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
40
|
+
$$bindings?: Bindings;
|
|
41
|
+
} & Exports;
|
|
42
|
+
(internal: unknown, props: Props & {
|
|
43
|
+
$$events?: Events;
|
|
44
|
+
$$slots?: Slots;
|
|
45
|
+
}): Exports & {
|
|
46
|
+
$set?: any;
|
|
47
|
+
$on?: any;
|
|
27
48
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
slots: {
|
|
32
|
-
icon: {};
|
|
33
|
-
default: {};
|
|
34
|
-
};
|
|
35
|
-
exports?: undefined;
|
|
36
|
-
bindings?: undefined;
|
|
37
|
-
};
|
|
38
|
-
export {};
|
|
49
|
+
z_$$bindings?: Bindings;
|
|
50
|
+
}
|
|
@@ -1,31 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** @typedef {typeof __propDef.slots} ButtonGroupSlots */
|
|
4
|
-
export default class ButtonGroup extends SvelteComponent<{
|
|
1
|
+
export default ButtonGroup;
|
|
2
|
+
type ButtonGroup = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
5
3
|
[x: string]: any;
|
|
6
4
|
class?: string | undefined;
|
|
7
5
|
}, {
|
|
6
|
+
default: {};
|
|
7
|
+
}>, {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
}, {
|
|
10
10
|
default: {};
|
|
11
|
-
}> {
|
|
12
|
-
|
|
13
|
-
export type ButtonGroupProps = typeof __propDef.props;
|
|
14
|
-
export type ButtonGroupEvents = typeof __propDef.events;
|
|
15
|
-
export type ButtonGroupSlots = typeof __propDef.slots;
|
|
16
|
-
import { SvelteComponent } from "svelte";
|
|
17
|
-
declare const __propDef: {
|
|
18
|
-
props: {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
class?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
};
|
|
25
|
-
slots: {
|
|
26
|
-
default: {};
|
|
27
|
-
};
|
|
28
|
-
exports?: undefined;
|
|
29
|
-
bindings?: undefined;
|
|
11
|
+
}> & {
|
|
12
|
+
$$bindings?: string | undefined;
|
|
30
13
|
};
|
|
31
|
-
|
|
14
|
+
declare const ButtonGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
class?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
default: {};
|
|
19
|
+
}>, {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {
|
|
22
|
+
default: {};
|
|
23
|
+
}, {}, string>;
|
|
24
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
25
|
+
default: any;
|
|
26
|
+
} ? Props extends Record<string, never> ? any : {
|
|
27
|
+
children?: any;
|
|
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
|
+
}
|
|
@@ -1,12 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default Button;
|
|
2
|
+
type Button = 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
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
+
type?: "reset" | "submit" | "button" | undefined;
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
role?: string | undefined;
|
|
12
|
+
hidden?: boolean | undefined;
|
|
13
|
+
element?: HTMLButtonElement | undefined;
|
|
14
|
+
readonly?: boolean | undefined;
|
|
15
|
+
pressed?: boolean | "mixed" | undefined;
|
|
16
|
+
keyShortcuts?: string | undefined;
|
|
17
|
+
variant?: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
18
|
+
iconic?: boolean | undefined;
|
|
19
|
+
pill?: boolean | undefined;
|
|
20
|
+
flex?: boolean | undefined;
|
|
21
|
+
popupPosition?: PopupPosition | undefined;
|
|
22
|
+
showPopupBackdrop?: boolean | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
'start-icon': {};
|
|
25
|
+
default: {};
|
|
26
|
+
'end-icon': {};
|
|
27
|
+
popup: {};
|
|
28
|
+
}>, {
|
|
29
|
+
mouseenter: MouseEvent;
|
|
30
|
+
mouseleave: MouseEvent;
|
|
31
|
+
click: MouseEvent;
|
|
32
|
+
dblclick: MouseEvent;
|
|
33
|
+
dragover: DragEvent;
|
|
34
|
+
dragleave: DragEvent;
|
|
35
|
+
dragend: DragEvent;
|
|
36
|
+
drop: DragEvent;
|
|
37
|
+
keydown: KeyboardEvent;
|
|
38
|
+
keyup: KeyboardEvent;
|
|
39
|
+
keypress: KeyboardEvent;
|
|
40
|
+
focus: FocusEvent;
|
|
41
|
+
blur: FocusEvent;
|
|
42
|
+
toggle: Event;
|
|
43
|
+
select: CustomEvent<any>;
|
|
44
|
+
change: CustomEvent<any>;
|
|
45
|
+
} & {
|
|
46
|
+
[evt: string]: CustomEvent<any>;
|
|
47
|
+
}, {
|
|
48
|
+
'start-icon': {};
|
|
49
|
+
default: {};
|
|
50
|
+
'end-icon': {};
|
|
51
|
+
popup: {};
|
|
52
|
+
}> & {
|
|
53
|
+
$$bindings?: string | undefined;
|
|
54
|
+
} & {
|
|
55
|
+
element: HTMLButtonElement | undefined;
|
|
56
|
+
class: string;
|
|
57
|
+
type: "reset" | "submit" | "button";
|
|
58
|
+
role: string;
|
|
59
|
+
name: string | undefined;
|
|
60
|
+
value: string | undefined;
|
|
61
|
+
hidden: boolean | undefined;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
readonly: boolean | undefined;
|
|
64
|
+
pressed: boolean | "mixed" | undefined;
|
|
65
|
+
keyShortcuts: string | undefined;
|
|
66
|
+
label: string;
|
|
67
|
+
variant: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
68
|
+
size: "small" | "medium" | "large" | undefined;
|
|
69
|
+
iconic: boolean;
|
|
70
|
+
pill: boolean;
|
|
71
|
+
flex: boolean;
|
|
72
|
+
popupPosition: PopupPosition;
|
|
73
|
+
showPopupBackdrop: boolean;
|
|
74
|
+
};
|
|
4
75
|
/**
|
|
5
76
|
* A generic button widget based on the HTML `<button>` element.
|
|
6
77
|
* @see https://w3c.github.io/aria/#button
|
|
7
78
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
8
79
|
*/
|
|
9
|
-
|
|
80
|
+
declare const Button: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
81
|
[x: string]: any;
|
|
11
82
|
class?: string | undefined;
|
|
12
83
|
name?: string | undefined;
|
|
@@ -28,6 +99,11 @@ export default class Button extends SvelteComponent<{
|
|
|
28
99
|
popupPosition?: import("../../typedefs").PopupPosition | undefined;
|
|
29
100
|
showPopupBackdrop?: boolean | undefined;
|
|
30
101
|
}, {
|
|
102
|
+
'start-icon': {};
|
|
103
|
+
default: {};
|
|
104
|
+
'end-icon': {};
|
|
105
|
+
popup: {};
|
|
106
|
+
}>, {
|
|
31
107
|
mouseenter: MouseEvent;
|
|
32
108
|
mouseleave: MouseEvent;
|
|
33
109
|
click: MouseEvent;
|
|
@@ -51,119 +127,42 @@ export default class Button extends SvelteComponent<{
|
|
|
51
127
|
default: {};
|
|
52
128
|
'end-icon': {};
|
|
53
129
|
popup: {};
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
get label(): string | undefined;
|
|
91
|
-
/**accessor*/
|
|
92
|
-
set variant(_: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined);
|
|
93
|
-
get variant(): "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
94
|
-
/**accessor*/
|
|
95
|
-
set size(_: "small" | "medium" | "large" | undefined);
|
|
96
|
-
get size(): "small" | "medium" | "large" | undefined;
|
|
97
|
-
/**accessor*/
|
|
98
|
-
set iconic(_: boolean | undefined);
|
|
99
|
-
get iconic(): boolean | undefined;
|
|
100
|
-
/**accessor*/
|
|
101
|
-
set pill(_: boolean | undefined);
|
|
102
|
-
get pill(): boolean | undefined;
|
|
103
|
-
/**accessor*/
|
|
104
|
-
set flex(_: boolean | undefined);
|
|
105
|
-
get flex(): boolean | undefined;
|
|
106
|
-
/**accessor*/
|
|
107
|
-
set popupPosition(_: import("../../typedefs").PopupPosition | undefined);
|
|
108
|
-
get popupPosition(): import("../../typedefs").PopupPosition | undefined;
|
|
109
|
-
/**accessor*/
|
|
110
|
-
set showPopupBackdrop(_: boolean | undefined);
|
|
111
|
-
get showPopupBackdrop(): boolean | undefined;
|
|
112
|
-
}
|
|
113
|
-
export type ButtonProps = typeof __propDef.props;
|
|
114
|
-
export type ButtonEvents = typeof __propDef.events;
|
|
115
|
-
export type ButtonSlots = typeof __propDef.slots;
|
|
116
|
-
import { SvelteComponent } from "svelte";
|
|
117
|
-
declare const __propDef: {
|
|
118
|
-
props: {
|
|
119
|
-
[x: string]: any;
|
|
120
|
-
class?: string | undefined;
|
|
121
|
-
name?: string | undefined;
|
|
122
|
-
disabled?: boolean | undefined;
|
|
123
|
-
label?: string | undefined;
|
|
124
|
-
size?: "small" | "medium" | "large" | undefined;
|
|
125
|
-
type?: "reset" | "submit" | "button" | undefined;
|
|
126
|
-
value?: string | undefined;
|
|
127
|
-
role?: string | undefined;
|
|
128
|
-
hidden?: boolean | undefined;
|
|
129
|
-
element?: HTMLButtonElement | undefined;
|
|
130
|
-
readonly?: boolean | undefined;
|
|
131
|
-
pressed?: boolean | "mixed" | undefined;
|
|
132
|
-
keyShortcuts?: string | undefined;
|
|
133
|
-
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "link" | undefined;
|
|
134
|
-
iconic?: boolean | undefined;
|
|
135
|
-
pill?: boolean | undefined;
|
|
136
|
-
flex?: boolean | undefined;
|
|
137
|
-
popupPosition?: import("../../typedefs").PopupPosition | undefined;
|
|
138
|
-
showPopupBackdrop?: boolean | undefined;
|
|
139
|
-
};
|
|
140
|
-
events: {
|
|
141
|
-
mouseenter: MouseEvent;
|
|
142
|
-
mouseleave: MouseEvent;
|
|
143
|
-
click: MouseEvent;
|
|
144
|
-
dblclick: MouseEvent;
|
|
145
|
-
dragover: DragEvent;
|
|
146
|
-
dragleave: DragEvent;
|
|
147
|
-
dragend: DragEvent;
|
|
148
|
-
drop: DragEvent;
|
|
149
|
-
keydown: KeyboardEvent;
|
|
150
|
-
keyup: KeyboardEvent;
|
|
151
|
-
keypress: KeyboardEvent;
|
|
152
|
-
focus: FocusEvent;
|
|
153
|
-
blur: FocusEvent;
|
|
154
|
-
toggle: Event;
|
|
155
|
-
select: CustomEvent<any>;
|
|
156
|
-
change: CustomEvent<any>;
|
|
157
|
-
} & {
|
|
158
|
-
[evt: string]: CustomEvent<any>;
|
|
159
|
-
};
|
|
160
|
-
slots: {
|
|
161
|
-
'start-icon': {};
|
|
162
|
-
default: {};
|
|
163
|
-
'end-icon': {};
|
|
164
|
-
popup: {};
|
|
130
|
+
}, {
|
|
131
|
+
element: HTMLButtonElement | undefined;
|
|
132
|
+
class: string;
|
|
133
|
+
type: "reset" | "submit" | "button";
|
|
134
|
+
role: string;
|
|
135
|
+
name: string | undefined;
|
|
136
|
+
value: string | undefined;
|
|
137
|
+
hidden: boolean | undefined;
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
readonly: boolean | undefined;
|
|
140
|
+
pressed: boolean | "mixed" | undefined;
|
|
141
|
+
keyShortcuts: string | undefined;
|
|
142
|
+
label: string;
|
|
143
|
+
variant: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
144
|
+
size: "small" | "medium" | "large" | undefined;
|
|
145
|
+
iconic: boolean;
|
|
146
|
+
pill: boolean;
|
|
147
|
+
flex: boolean;
|
|
148
|
+
popupPosition: import("../../typedefs").PopupPosition;
|
|
149
|
+
showPopupBackdrop: boolean;
|
|
150
|
+
}, string>;
|
|
151
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
152
|
+
default: any;
|
|
153
|
+
} ? Props extends Record<string, never> ? any : {
|
|
154
|
+
children?: any;
|
|
155
|
+
} : {});
|
|
156
|
+
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> {
|
|
157
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
158
|
+
$$bindings?: Bindings;
|
|
159
|
+
} & Exports;
|
|
160
|
+
(internal: unknown, props: Props & {
|
|
161
|
+
$$events?: Events;
|
|
162
|
+
$$slots?: Slots;
|
|
163
|
+
}): Exports & {
|
|
164
|
+
$set?: any;
|
|
165
|
+
$on?: any;
|
|
165
166
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
export {};
|
|
167
|
+
z_$$bindings?: Bindings;
|
|
168
|
+
}
|
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default SelectButtonGroup;
|
|
2
|
+
type SelectButtonGroup = 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
|
+
}, {
|
|
11
|
+
default: {};
|
|
12
|
+
}>, {
|
|
13
|
+
change: CustomEvent<any>;
|
|
14
|
+
} & {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {
|
|
17
|
+
default: {};
|
|
18
|
+
}> & {
|
|
19
|
+
$$bindings?: string | undefined;
|
|
20
|
+
};
|
|
4
21
|
/**
|
|
5
22
|
* A variant of `<RadioGroup>`, looking like normal buttons.
|
|
6
23
|
* @see https://w3c.github.io/aria/#radiogroup
|
|
7
24
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
8
25
|
*/
|
|
9
|
-
|
|
26
|
+
declare const SelectButtonGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
27
|
[x: string]: any;
|
|
11
28
|
class?: string | undefined;
|
|
12
29
|
disabled?: boolean | undefined;
|
|
@@ -15,36 +32,29 @@ export default class SelectButtonGroup extends SvelteComponent<{
|
|
|
15
32
|
hidden?: boolean | undefined;
|
|
16
33
|
readonly?: boolean | undefined;
|
|
17
34
|
}, {
|
|
35
|
+
default: {};
|
|
36
|
+
}>, {
|
|
18
37
|
change: CustomEvent<any>;
|
|
19
38
|
} & {
|
|
20
39
|
[evt: string]: CustomEvent<any>;
|
|
21
40
|
}, {
|
|
22
41
|
default: {};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
events: {
|
|
40
|
-
change: CustomEvent<any>;
|
|
41
|
-
} & {
|
|
42
|
-
[evt: string]: CustomEvent<any>;
|
|
43
|
-
};
|
|
44
|
-
slots: {
|
|
45
|
-
default: {};
|
|
42
|
+
}, {}, string>;
|
|
43
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
44
|
+
default: any;
|
|
45
|
+
} ? Props extends Record<string, never> ? any : {
|
|
46
|
+
children?: any;
|
|
47
|
+
} : {});
|
|
48
|
+
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> {
|
|
49
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
50
|
+
$$bindings?: Bindings;
|
|
51
|
+
} & Exports;
|
|
52
|
+
(internal: unknown, props: Props & {
|
|
53
|
+
$$events?: Events;
|
|
54
|
+
$$slots?: Slots;
|
|
55
|
+
}): Exports & {
|
|
56
|
+
$set?: any;
|
|
57
|
+
$on?: any;
|
|
46
58
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
};
|
|
50
|
-
export {};
|
|
59
|
+
z_$$bindings?: Bindings;
|
|
60
|
+
}
|
|
@@ -1,12 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export default SelectButton;
|
|
2
|
+
type SelectButton = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
class?: string | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
8
|
+
value?: string | undefined;
|
|
9
|
+
hidden?: boolean | undefined;
|
|
10
|
+
variant?: "link" | "primary" | "secondary" | "tertiary" | "ghost" | undefined;
|
|
11
|
+
iconic?: boolean | undefined;
|
|
12
|
+
selected?: boolean | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
'start-icon': {
|
|
15
|
+
slot: string;
|
|
16
|
+
};
|
|
17
|
+
default: {};
|
|
18
|
+
'end-icon': {
|
|
19
|
+
slot: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
click: MouseEvent;
|
|
23
|
+
dblclick: MouseEvent;
|
|
24
|
+
select: CustomEvent<any>;
|
|
25
|
+
change: CustomEvent<any>;
|
|
26
|
+
} & {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
}, {
|
|
29
|
+
'start-icon': {
|
|
30
|
+
slot: string;
|
|
31
|
+
};
|
|
32
|
+
default: {};
|
|
33
|
+
'end-icon': {
|
|
34
|
+
slot: string;
|
|
35
|
+
};
|
|
36
|
+
}> & {
|
|
37
|
+
$$bindings?: string | undefined;
|
|
38
|
+
};
|
|
4
39
|
/**
|
|
5
40
|
* A variant of `<Radio>`, looking like a normal button.
|
|
6
41
|
* @see https://w3c.github.io/aria/#radio
|
|
7
42
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
8
43
|
*/
|
|
9
|
-
|
|
44
|
+
declare const SelectButton: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
10
45
|
[x: string]: any;
|
|
11
46
|
class?: string | undefined;
|
|
12
47
|
disabled?: boolean | undefined;
|
|
@@ -18,6 +53,14 @@ export default class SelectButton extends SvelteComponent<{
|
|
|
18
53
|
iconic?: boolean | undefined;
|
|
19
54
|
selected?: boolean | undefined;
|
|
20
55
|
}, {
|
|
56
|
+
'start-icon': {
|
|
57
|
+
slot: string;
|
|
58
|
+
};
|
|
59
|
+
default: {};
|
|
60
|
+
'end-icon': {
|
|
61
|
+
slot: string;
|
|
62
|
+
};
|
|
63
|
+
}>, {
|
|
21
64
|
click: MouseEvent;
|
|
22
65
|
dblclick: MouseEvent;
|
|
23
66
|
select: CustomEvent<any>;
|
|
@@ -32,43 +75,22 @@ export default class SelectButton extends SvelteComponent<{
|
|
|
32
75
|
'end-icon': {
|
|
33
76
|
slot: string;
|
|
34
77
|
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
iconic?: boolean | undefined;
|
|
52
|
-
selected?: boolean | undefined;
|
|
53
|
-
};
|
|
54
|
-
events: {
|
|
55
|
-
click: MouseEvent;
|
|
56
|
-
dblclick: MouseEvent;
|
|
57
|
-
select: CustomEvent<any>;
|
|
58
|
-
change: CustomEvent<any>;
|
|
59
|
-
} & {
|
|
60
|
-
[evt: string]: CustomEvent<any>;
|
|
61
|
-
};
|
|
62
|
-
slots: {
|
|
63
|
-
'start-icon': {
|
|
64
|
-
slot: string;
|
|
65
|
-
};
|
|
66
|
-
default: {};
|
|
67
|
-
'end-icon': {
|
|
68
|
-
slot: string;
|
|
69
|
-
};
|
|
78
|
+
}, {}, string>;
|
|
79
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
80
|
+
default: any;
|
|
81
|
+
} ? Props extends Record<string, never> ? any : {
|
|
82
|
+
children?: any;
|
|
83
|
+
} : {});
|
|
84
|
+
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> {
|
|
85
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
86
|
+
$$bindings?: Bindings;
|
|
87
|
+
} & Exports;
|
|
88
|
+
(internal: unknown, props: Props & {
|
|
89
|
+
$$events?: Events;
|
|
90
|
+
$$slots?: Slots;
|
|
91
|
+
}): Exports & {
|
|
92
|
+
$set?: any;
|
|
93
|
+
$on?: any;
|
|
70
94
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
export {};
|
|
95
|
+
z_$$bindings?: Bindings;
|
|
96
|
+
}
|