@sveltia/ui 0.17.0 → 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 +3 -1
- 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 +3 -1
- package/package/components/menu/menu.svelte.d.ts +2 -46
- package/package/components/radio/radio-group.svelte +3 -1
- 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 +0 -2
- 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/typedefs.d.ts +4 -4
- package/package/typedefs.js +1 -1
- package/package.json +26 -26
|
@@ -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>, {}, "">;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
export default Radio;
|
|
2
|
-
type Radio = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<input type="radio">` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
|
|
10
5
|
* @see https://w3c.github.io/aria/#radio
|
|
11
6
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
12
7
|
*/
|
|
13
|
-
declare const Radio:
|
|
8
|
+
declare const Radio: import("svelte").Component<{
|
|
14
9
|
/**
|
|
15
10
|
* - The `class` attribute on the wrapper element.
|
|
16
11
|
*/
|
|
@@ -57,67 +52,4 @@ declare const Radio: $$__sveltets_2_IsomorphicComponent<{
|
|
|
57
52
|
* - Custom `Select` event handler.
|
|
58
53
|
*/
|
|
59
54
|
onSelect?: ((event: CustomEvent) => void) | undefined;
|
|
60
|
-
} & Record<string, any>, {
|
|
61
|
-
[evt: string]: CustomEvent<any>;
|
|
62
|
-
}, {}, {}, "">;
|
|
63
|
-
type Props = {
|
|
64
|
-
/**
|
|
65
|
-
* - The `class` attribute on the wrapper element.
|
|
66
|
-
*/
|
|
67
|
-
class?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* - Whether to hide the widget.
|
|
70
|
-
*/
|
|
71
|
-
hidden?: boolean | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
74
|
-
* attribute.
|
|
75
|
-
*/
|
|
76
|
-
disabled?: boolean | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* - Whether to check the widget. An alias of the `aria-checked`
|
|
79
|
-
* attribute.
|
|
80
|
-
*/
|
|
81
|
-
checked?: boolean | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* - The `name` attribute on the `<button>` element.
|
|
84
|
-
*/
|
|
85
|
-
name?: string | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* - The `value` attribute on the `<button>` element.
|
|
88
|
-
*/
|
|
89
|
-
value?: string | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* - Text label displayed next to the checkbox.
|
|
92
|
-
*/
|
|
93
|
-
label?: string | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* - Primary slot content.
|
|
96
|
-
*/
|
|
97
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* - Default slot content.
|
|
100
|
-
*/
|
|
101
|
-
default?: import("svelte").Snippet<[]> | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* - Custom `Change` event handler.
|
|
104
|
-
*/
|
|
105
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* - Custom `Select` event handler.
|
|
108
|
-
*/
|
|
109
|
-
onSelect?: ((event: CustomEvent) => void) | undefined;
|
|
110
|
-
};
|
|
111
|
-
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> {
|
|
112
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
113
|
-
$$bindings?: Bindings;
|
|
114
|
-
} & Exports;
|
|
115
|
-
(internal: unknown, props: Props & {
|
|
116
|
-
$$events?: Events;
|
|
117
|
-
$$slots?: Slots;
|
|
118
|
-
}): Exports & {
|
|
119
|
-
$set?: any;
|
|
120
|
-
$on?: any;
|
|
121
|
-
};
|
|
122
|
-
z_$$bindings?: Bindings;
|
|
123
|
-
}
|
|
55
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
export default Combobox;
|
|
2
|
-
type Combobox = SvelteComponent<ComboboxProps & TextInputProps & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A variant of the `<Select>` widget with an auto-complete text input field.
|
|
9
4
|
* @see https://w3c.github.io/aria/#combobox
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/
|
|
11
6
|
* @todo Add DOM API compatibility.
|
|
12
7
|
*/
|
|
13
|
-
declare const Combobox:
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
}, {}, {}, "value">;
|
|
16
|
-
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
17
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
18
|
-
$$bindings?: Bindings;
|
|
19
|
-
} & Exports;
|
|
20
|
-
(internal: unknown, props: Props & {
|
|
21
|
-
$$events?: Events;
|
|
22
|
-
$$slots?: Slots;
|
|
23
|
-
}): Exports & {
|
|
24
|
-
$set?: any;
|
|
25
|
-
$on?: any;
|
|
26
|
-
};
|
|
27
|
-
z_$$bindings?: Bindings;
|
|
28
|
-
}
|
|
8
|
+
declare const Combobox: import("svelte").Component<import("../../typedefs").ComboboxProps & import("../../typedefs").TextInputProps & Record<string, any>, {}, "value">;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export default SelectTags;
|
|
2
|
-
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "values" | undefined;
|
|
6
|
-
};
|
|
7
|
-
declare const SelectTags: $$__sveltets_2_IsomorphicComponent<{
|
|
2
|
+
declare const SelectTags: import("svelte").Component<{
|
|
8
3
|
/**
|
|
9
4
|
* - Available
|
|
10
5
|
* options.
|
|
@@ -62,78 +57,4 @@ declare const SelectTags: $$__sveltets_2_IsomorphicComponent<{
|
|
|
62
57
|
* - Custom `RemoveValue` event handler.
|
|
63
58
|
*/
|
|
64
59
|
onRemoveValue?: ((event: CustomEvent) => void) | undefined;
|
|
65
|
-
} & Record<string, any>, {
|
|
66
|
-
[evt: string]: CustomEvent<any>;
|
|
67
|
-
}, {}, {}, "values">;
|
|
68
|
-
type Props = {
|
|
69
|
-
/**
|
|
70
|
-
* - Available
|
|
71
|
-
* options.
|
|
72
|
-
*/
|
|
73
|
-
options: {
|
|
74
|
-
label: string;
|
|
75
|
-
value: string;
|
|
76
|
-
searchValue?: string;
|
|
77
|
-
}[];
|
|
78
|
-
/**
|
|
79
|
-
* - Selected option values.
|
|
80
|
-
*/
|
|
81
|
-
values?: string[] | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* - Maximum number of selectable options.
|
|
84
|
-
*/
|
|
85
|
-
max?: number | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* - The `class` attribute on the wrapper element.
|
|
88
|
-
*/
|
|
89
|
-
class?: string | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* - Whether to hide the widget.
|
|
92
|
-
*/
|
|
93
|
-
hidden?: boolean | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
96
|
-
* attribute.
|
|
97
|
-
*/
|
|
98
|
-
disabled?: boolean | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* - Whether to make the widget read-only. An alias of the
|
|
101
|
-
* `aria-readonly` attribute.
|
|
102
|
-
*/
|
|
103
|
-
readonly?: boolean | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* - Whether to mark the widget required. An alias of the
|
|
106
|
-
* `aria-required` attribute.
|
|
107
|
-
*/
|
|
108
|
-
required?: boolean | undefined;
|
|
109
|
-
/**
|
|
110
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
111
|
-
* `aria-invalid` attribute.
|
|
112
|
-
*/
|
|
113
|
-
invalid?: boolean | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* - Primary slot content.
|
|
116
|
-
*/
|
|
117
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* - Custom `AddValue` event handler.
|
|
120
|
-
*/
|
|
121
|
-
onAddValue?: ((event: CustomEvent) => void) | undefined;
|
|
122
|
-
/**
|
|
123
|
-
* - Custom `RemoveValue` event handler.
|
|
124
|
-
*/
|
|
125
|
-
onRemoveValue?: ((event: CustomEvent) => void) | undefined;
|
|
126
|
-
};
|
|
127
|
-
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> {
|
|
128
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
129
|
-
$$bindings?: Bindings;
|
|
130
|
-
} & Exports;
|
|
131
|
-
(internal: unknown, props: Props & {
|
|
132
|
-
$$events?: Events;
|
|
133
|
-
$$slots?: Slots;
|
|
134
|
-
}): Exports & {
|
|
135
|
-
$set?: any;
|
|
136
|
-
$on?: any;
|
|
137
|
-
};
|
|
138
|
-
z_$$bindings?: Bindings;
|
|
139
|
-
}
|
|
60
|
+
} & Record<string, any>, {}, "values">;
|
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
export default Select;
|
|
2
|
-
type Select = SvelteComponent<ComboboxProps & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A select-only variant of `<Combobox>`. The equivalent of the HTML `<select>` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
10
5
|
* @see https://w3c.github.io/aria/#combobox
|
|
11
6
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
|
|
12
7
|
*/
|
|
13
|
-
declare const Select:
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
}, {}, {}, "value">;
|
|
16
|
-
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
17
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
18
|
-
$$bindings?: Bindings;
|
|
19
|
-
} & Exports;
|
|
20
|
-
(internal: unknown, props: Props & {
|
|
21
|
-
$$events?: Events;
|
|
22
|
-
$$slots?: Slots;
|
|
23
|
-
}): Exports & {
|
|
24
|
-
$set?: any;
|
|
25
|
-
$on?: any;
|
|
26
|
-
};
|
|
27
|
-
z_$$bindings?: Bindings;
|
|
28
|
-
}
|
|
8
|
+
declare const Select: import("svelte").Component<import("../../typedefs").ComboboxProps & Record<string, any>, {}, "value">;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export default Slider;
|
|
2
|
-
type Slider = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "value" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<input type="range">` element, but it comes with the multi-thumb
|
|
9
4
|
* support.
|
|
@@ -12,7 +7,7 @@ type Slider = SvelteComponent<Props & Record<string, any>, {
|
|
|
12
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/slider/
|
|
13
8
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/slider-multithumb/
|
|
14
9
|
*/
|
|
15
|
-
declare const Slider:
|
|
10
|
+
declare const Slider: import("svelte").Component<{
|
|
16
11
|
/**
|
|
17
12
|
* - Current value.
|
|
18
13
|
*/
|
|
@@ -84,92 +79,4 @@ declare const Slider: $$__sveltets_2_IsomorphicComponent<{
|
|
|
84
79
|
values?: number[];
|
|
85
80
|
value?: number;
|
|
86
81
|
}) => void) | undefined;
|
|
87
|
-
} & Record<string, any>, {
|
|
88
|
-
[evt: string]: CustomEvent<any>;
|
|
89
|
-
}, {}, {}, "value">;
|
|
90
|
-
type Props = {
|
|
91
|
-
/**
|
|
92
|
-
* - Current value.
|
|
93
|
-
*/
|
|
94
|
-
value?: number | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* - Minimum allowed value. An alias of the `aria-valuemin` attribute.
|
|
97
|
-
*/
|
|
98
|
-
min?: number | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* - Maximum allowed value. An alias of the `aria-valuemax` attribute.
|
|
101
|
-
*/
|
|
102
|
-
max?: number | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* - `aria-label` on the slider.
|
|
105
|
-
*/
|
|
106
|
-
sliderLabel?: string | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* - Value list for a multi-thumb slider.
|
|
109
|
-
*/
|
|
110
|
-
values?: [number, number] | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* - `aria-label` on a multi-thumb slider.
|
|
113
|
-
*/
|
|
114
|
-
sliderLabels?: [string, string] | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* - Step option like `<input type="range">`.
|
|
117
|
-
*/
|
|
118
|
-
step?: number | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* - Visible labels on the slider.
|
|
121
|
-
*/
|
|
122
|
-
optionLabels?: string[] | number[] | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* - Make the text input container flexible.
|
|
125
|
-
*/
|
|
126
|
-
flex?: boolean | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* - The `class` attribute on the wrapper element.
|
|
129
|
-
*/
|
|
130
|
-
class?: string | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* - Whether to hide the widget.
|
|
133
|
-
*/
|
|
134
|
-
hidden?: boolean | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
137
|
-
* attribute.
|
|
138
|
-
*/
|
|
139
|
-
disabled?: boolean | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* - Whether to make the widget read-only. An alias of the
|
|
142
|
-
* `aria-readonly` attribute.
|
|
143
|
-
*/
|
|
144
|
-
readonly?: boolean | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
147
|
-
* `aria-invalid` attribute.
|
|
148
|
-
*/
|
|
149
|
-
invalid?: boolean | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* - Primary slot content.
|
|
152
|
-
*/
|
|
153
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* - `change` event
|
|
156
|
-
* handler.
|
|
157
|
-
*/
|
|
158
|
-
onChange?: ((detail: {
|
|
159
|
-
values?: number[];
|
|
160
|
-
value?: number;
|
|
161
|
-
}) => void) | undefined;
|
|
162
|
-
};
|
|
163
|
-
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> {
|
|
164
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
165
|
-
$$bindings?: Bindings;
|
|
166
|
-
} & Exports;
|
|
167
|
-
(internal: unknown, props: Props & {
|
|
168
|
-
$$events?: Events;
|
|
169
|
-
$$slots?: Slots;
|
|
170
|
-
}): Exports & {
|
|
171
|
-
$set?: any;
|
|
172
|
-
$on?: any;
|
|
173
|
-
};
|
|
174
|
-
z_$$bindings?: Bindings;
|
|
175
|
-
}
|
|
82
|
+
} & Record<string, any>, {}, "value">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default Switch;
|
|
2
|
-
type Switch = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "checked" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* A variant of `<Checkbox>`, looking like a switch that can be often seen on mobile apps.
|
|
9
4
|
* @see https://w3c.github.io/aria/#switch
|
|
10
5
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/switch/
|
|
11
6
|
*/
|
|
12
|
-
declare const Switch:
|
|
7
|
+
declare const Switch: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - Text label displayed next to the switch.
|
|
15
10
|
*/
|
|
@@ -50,61 +45,4 @@ declare const Switch: $$__sveltets_2_IsomorphicComponent<{
|
|
|
50
45
|
* - Custom `Change` event handler.
|
|
51
46
|
*/
|
|
52
47
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
53
|
-
} & Record<string, any>, {
|
|
54
|
-
[evt: string]: CustomEvent<any>;
|
|
55
|
-
}, {}, {}, "checked">;
|
|
56
|
-
type Props = {
|
|
57
|
-
/**
|
|
58
|
-
* - Text label displayed next to the switch.
|
|
59
|
-
*/
|
|
60
|
-
label?: string | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* - The `class` attribute on the wrapper element.
|
|
63
|
-
*/
|
|
64
|
-
class?: string | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* - Whether to hide the widget.
|
|
67
|
-
*/
|
|
68
|
-
hidden?: boolean | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* - Whether to disable the widget. An alias of the `aria-disabled`
|
|
71
|
-
* attribute.
|
|
72
|
-
*/
|
|
73
|
-
disabled?: boolean | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* - Whether to make the widget read-only. An alias of the
|
|
76
|
-
* `aria-readonly` attribute.
|
|
77
|
-
*/
|
|
78
|
-
readonly?: boolean | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* - Whether to mark the widget required. An alias of the
|
|
81
|
-
* `aria-required` attribute.
|
|
82
|
-
*/
|
|
83
|
-
required?: boolean | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* - Whether to mark the widget invalid. An alias of the
|
|
86
|
-
* `aria-invalid` attribute.
|
|
87
|
-
*/
|
|
88
|
-
invalid?: boolean | undefined;
|
|
89
|
-
/**
|
|
90
|
-
* - Primary slot content.
|
|
91
|
-
*/
|
|
92
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* - Custom `Change` event handler.
|
|
95
|
-
*/
|
|
96
|
-
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
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;
|
|
108
|
-
};
|
|
109
|
-
z_$$bindings?: Bindings;
|
|
110
|
-
}
|
|
48
|
+
} & Record<string, any>, {}, "checked">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default TableBody;
|
|
2
|
-
type TableBody = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<tbody>` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
|
|
10
5
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
11
6
|
*/
|
|
12
|
-
declare const TableBody:
|
|
7
|
+
declare const TableBody: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -22,33 +17,4 @@ declare const TableBody: $$__sveltets_2_IsomorphicComponent<{
|
|
|
22
17
|
* - Primary slot content.
|
|
23
18
|
*/
|
|
24
19
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
25
|
-
} & Record<string, any>, {
|
|
26
|
-
[evt: string]: CustomEvent<any>;
|
|
27
|
-
}, {}, {}, "">;
|
|
28
|
-
type Props = {
|
|
29
|
-
/**
|
|
30
|
-
* - The `class` attribute on the wrapper element.
|
|
31
|
-
*/
|
|
32
|
-
class?: string | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* - Display label for the row group.
|
|
35
|
-
*/
|
|
36
|
-
label?: string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* - Primary slot content.
|
|
39
|
-
*/
|
|
40
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
41
|
-
};
|
|
42
|
-
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
43
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
44
|
-
$$bindings?: Bindings;
|
|
45
|
-
} & Exports;
|
|
46
|
-
(internal: unknown, props: Props & {
|
|
47
|
-
$$events?: Events;
|
|
48
|
-
$$slots?: Slots;
|
|
49
|
-
}): Exports & {
|
|
50
|
-
$set?: any;
|
|
51
|
-
$on?: any;
|
|
52
|
-
};
|
|
53
|
-
z_$$bindings?: Bindings;
|
|
54
|
-
}
|
|
20
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default TableCell;
|
|
2
|
-
type TableCell = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<td>` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
|
|
10
5
|
* @see https://w3c.github.io/aria/#cell
|
|
11
6
|
*/
|
|
12
|
-
declare const TableCell:
|
|
7
|
+
declare const TableCell: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -18,29 +13,4 @@ declare const TableCell: $$__sveltets_2_IsomorphicComponent<{
|
|
|
18
13
|
* - Primary slot content.
|
|
19
14
|
*/
|
|
20
15
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
21
|
-
} & Record<string, any>, {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
|
-
}, {}, {}, "">;
|
|
24
|
-
type Props = {
|
|
25
|
-
/**
|
|
26
|
-
* - The `class` attribute on the wrapper element.
|
|
27
|
-
*/
|
|
28
|
-
class?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* - Primary slot content.
|
|
31
|
-
*/
|
|
32
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
33
|
-
};
|
|
34
|
-
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> {
|
|
35
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
36
|
-
$$bindings?: Bindings;
|
|
37
|
-
} & Exports;
|
|
38
|
-
(internal: unknown, props: Props & {
|
|
39
|
-
$$events?: Events;
|
|
40
|
-
$$slots?: Slots;
|
|
41
|
-
}): Exports & {
|
|
42
|
-
$set?: any;
|
|
43
|
-
$on?: any;
|
|
44
|
-
};
|
|
45
|
-
z_$$bindings?: Bindings;
|
|
46
|
-
}
|
|
16
|
+
} & Record<string, any>, {}, "">;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
export default TableColHeader;
|
|
2
|
-
type TableColHeader = SvelteComponent<Props & Record<string, any>, {
|
|
3
|
-
[evt: string]: CustomEvent<any>;
|
|
4
|
-
}, {}> & {
|
|
5
|
-
$$bindings?: "" | undefined;
|
|
6
|
-
};
|
|
7
2
|
/**
|
|
8
3
|
* The equivalent of the HTML `<th scope="col">` element.
|
|
9
4
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
10
5
|
* @see https://w3c.github.io/aria/#columnheader
|
|
11
6
|
*/
|
|
12
|
-
declare const TableColHeader:
|
|
7
|
+
declare const TableColHeader: import("svelte").Component<{
|
|
13
8
|
/**
|
|
14
9
|
* - The `class` attribute on the wrapper element.
|
|
15
10
|
*/
|
|
@@ -18,29 +13,4 @@ declare const TableColHeader: $$__sveltets_2_IsomorphicComponent<{
|
|
|
18
13
|
* - Primary slot content.
|
|
19
14
|
*/
|
|
20
15
|
children?: import("svelte").Snippet<[]> | undefined;
|
|
21
|
-
} & Record<string, any>, {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
|
-
}, {}, {}, "">;
|
|
24
|
-
type Props = {
|
|
25
|
-
/**
|
|
26
|
-
* - The `class` attribute on the wrapper element.
|
|
27
|
-
*/
|
|
28
|
-
class?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* - Primary slot content.
|
|
31
|
-
*/
|
|
32
|
-
children?: import("svelte").Snippet<[]> | undefined;
|
|
33
|
-
};
|
|
34
|
-
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> {
|
|
35
|
-
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
36
|
-
$$bindings?: Bindings;
|
|
37
|
-
} & Exports;
|
|
38
|
-
(internal: unknown, props: Props & {
|
|
39
|
-
$$events?: Events;
|
|
40
|
-
$$slots?: Slots;
|
|
41
|
-
}): Exports & {
|
|
42
|
-
$set?: any;
|
|
43
|
-
$on?: any;
|
|
44
|
-
};
|
|
45
|
-
z_$$bindings?: Bindings;
|
|
46
|
-
}
|
|
16
|
+
} & Record<string, any>, {}, "">;
|