@sveltia/ui 0.3.2 → 0.5.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 +55 -0
- package/package/components/alert/alert.svelte.d.ts +36 -0
- package/package/components/button/button.svelte +1 -1
- package/package/components/button/button.svelte.d.ts +6 -6
- package/package/components/button/select-button-group.svelte.d.ts +4 -4
- package/package/components/button/select-button.svelte.d.ts +2 -2
- package/package/components/calendar/calendar.svelte +1 -2
- package/package/components/calendar/calendar.svelte.d.ts +2 -2
- package/package/components/checkbox/checkbox-group.svelte.d.ts +2 -2
- package/package/components/checkbox/checkbox.svelte +2 -1
- package/package/components/checkbox/checkbox.svelte.d.ts +8 -6
- package/package/components/dialog/dialog.svelte +2 -1
- package/package/components/dialog/dialog.svelte.d.ts +6 -4
- package/package/components/disclosure/disclosure.svelte +7 -1
- package/package/components/disclosure/disclosure.svelte.d.ts +6 -4
- package/package/components/divider/divider.svelte +6 -1
- package/package/components/divider/divider.svelte.d.ts +4 -2
- package/package/components/divider/spacer.svelte +1 -1
- package/package/components/divider/spacer.svelte.d.ts +4 -2
- package/package/components/drawer/drawer.svelte +2 -1
- package/package/components/drawer/drawer.svelte.d.ts +6 -4
- package/package/components/icon/icon.svelte +1 -0
- package/package/components/icon/icon.svelte.d.ts +8 -6
- package/package/components/listbox/listbox.svelte.d.ts +2 -2
- package/package/components/listbox/option-group.svelte.d.ts +4 -4
- package/package/components/listbox/option.svelte.d.ts +4 -4
- package/package/components/menu/menu-button.svelte.d.ts +2 -2
- package/package/components/menu/menu-item-checkbox.svelte.d.ts +2 -2
- package/package/components/menu/menu-item-group.svelte.d.ts +4 -4
- package/package/components/menu/menu-item-radio.svelte.d.ts +2 -2
- package/package/components/menu/menu-item.svelte.d.ts +4 -4
- package/package/components/menu/menu.svelte.d.ts +2 -2
- package/package/components/radio/radio-group.svelte +1 -0
- package/package/components/radio/radio-group.svelte.d.ts +4 -2
- package/package/components/radio/radio.svelte +2 -1
- package/package/components/radio/radio.svelte.d.ts +8 -6
- package/package/components/select/combobox.svelte +1 -1
- package/package/components/select/combobox.svelte.d.ts +8 -5
- package/package/components/select/select.svelte.d.ts +4 -4
- package/package/components/slider/slider.svelte +7 -3
- package/package/components/slider/slider.svelte.d.ts +6 -4
- package/package/components/switch/switch.svelte +1 -0
- package/package/components/switch/switch.svelte.d.ts +6 -4
- package/package/components/table/table-body.svelte.d.ts +2 -2
- package/package/components/table/table-cell.svelte.d.ts +2 -2
- package/package/components/table/table-col-header.svelte.d.ts +2 -2
- package/package/components/table/table-foot.svelte.d.ts +2 -2
- package/package/components/table/table-head.svelte.d.ts +2 -2
- package/package/components/table/table-row-header.svelte.d.ts +2 -2
- package/package/components/table/table-row.svelte.d.ts +2 -2
- package/package/components/table/table.svelte.d.ts +2 -2
- package/package/components/tabs/tab-list.svelte.d.ts +4 -4
- package/package/components/tabs/tab-panel.svelte.d.ts +2 -2
- package/package/components/tabs/tab.svelte.d.ts +2 -2
- package/package/components/text-field/markdown-editor.svelte.d.ts +2 -2
- package/package/components/text-field/number-input.svelte.d.ts +4 -4
- package/package/components/text-field/password-input.svelte.d.ts +4 -4
- package/package/components/text-field/search-bar.svelte.d.ts +4 -4
- package/package/components/text-field/text-area.svelte.d.ts +4 -4
- package/package/components/text-field/text-input.svelte.d.ts +6 -6
- package/package/components/toolbar/toolbar.svelte.d.ts +2 -2
- package/package/components/util/app-shell.svelte +23 -21
- package/package/components/util/app-shell.svelte.d.ts +4 -4
- package/package/components/util/group.svelte.d.ts +2 -2
- package/package/components/util/popup.d.ts +1 -0
- package/package/components/util/popup.svelte.d.ts +2 -2
- package/package/components/util/portal.svelte.d.ts +2 -2
- package/package/index.d.ts +1 -0
- package/package/index.js +1 -0
- package/package/styles/variables.scss +21 -21
- package/package.json +26 -18
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/** @typedef {typeof __propDef.events} MenuItemGroupEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} MenuItemGroupSlots */
|
|
4
4
|
/** A menu item group. */
|
|
5
|
-
export default class MenuItemGroup extends
|
|
5
|
+
export default class MenuItemGroup extends SvelteComponent<{
|
|
6
6
|
[x: string]: any;
|
|
7
|
-
title?: string;
|
|
8
7
|
class?: string;
|
|
8
|
+
title?: string;
|
|
9
9
|
ariaLabel?: string;
|
|
10
10
|
}, {
|
|
11
11
|
[evt: string]: CustomEvent<any>;
|
|
@@ -16,12 +16,12 @@ export default class MenuItemGroup extends SvelteComponentTyped<{
|
|
|
16
16
|
export type MenuItemGroupProps = typeof __propDef.props;
|
|
17
17
|
export type MenuItemGroupEvents = typeof __propDef.events;
|
|
18
18
|
export type MenuItemGroupSlots = typeof __propDef.slots;
|
|
19
|
-
import {
|
|
19
|
+
import { SvelteComponent } from "svelte";
|
|
20
20
|
declare const __propDef: {
|
|
21
21
|
props: {
|
|
22
22
|
[x: string]: any;
|
|
23
|
-
title?: string;
|
|
24
23
|
class?: string;
|
|
24
|
+
title?: string;
|
|
25
25
|
ariaLabel?: string;
|
|
26
26
|
};
|
|
27
27
|
events: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* `<MenuItemGroup>` component.
|
|
7
7
|
* @see https://w3c.github.io/aria/#menuitemradio
|
|
8
8
|
*/
|
|
9
|
-
export default class MenuItemRadio extends
|
|
9
|
+
export default class MenuItemRadio extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -20,7 +20,7 @@ export default class MenuItemRadio extends SvelteComponentTyped<{
|
|
|
20
20
|
export type MenuItemRadioProps = typeof __propDef.props;
|
|
21
21
|
export type MenuItemRadioEvents = typeof __propDef.events;
|
|
22
22
|
export type MenuItemRadioSlots = typeof __propDef.slots;
|
|
23
|
-
import {
|
|
23
|
+
import { SvelteComponent } from "svelte";
|
|
24
24
|
declare const __propDef: {
|
|
25
25
|
props: {
|
|
26
26
|
[x: string]: any;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* A menu item widget.
|
|
6
6
|
* @see https://w3c.github.io/aria/#menuitem
|
|
7
7
|
*/
|
|
8
|
-
export default class MenuItem extends
|
|
8
|
+
export default class MenuItem extends SvelteComponent<{
|
|
9
9
|
[x: string]: any;
|
|
10
|
-
label?: string;
|
|
11
10
|
class?: string;
|
|
11
|
+
label?: string;
|
|
12
12
|
role?: "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
13
13
|
checked?: boolean;
|
|
14
14
|
iconName?: string;
|
|
@@ -24,12 +24,12 @@ export default class MenuItem extends SvelteComponentTyped<{
|
|
|
24
24
|
export type MenuItemProps = typeof __propDef.props;
|
|
25
25
|
export type MenuItemEvents = typeof __propDef.events;
|
|
26
26
|
export type MenuItemSlots = typeof __propDef.slots;
|
|
27
|
-
import {
|
|
27
|
+
import { SvelteComponent } from "svelte";
|
|
28
28
|
declare const __propDef: {
|
|
29
29
|
props: {
|
|
30
30
|
[x: string]: any;
|
|
31
|
-
label?: string;
|
|
32
31
|
class?: string;
|
|
32
|
+
label?: string;
|
|
33
33
|
role?: ('menuitem' | 'menuitemcheckbox' | 'menuitemradio');
|
|
34
34
|
checked?: boolean;
|
|
35
35
|
iconName?: string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#menu
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
8
8
|
*/
|
|
9
|
-
export default class Menu extends
|
|
9
|
+
export default class Menu extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
element?: HTMLElement;
|
|
@@ -25,7 +25,7 @@ export default class Menu extends SvelteComponentTyped<{
|
|
|
25
25
|
export type MenuProps = typeof __propDef.props;
|
|
26
26
|
export type MenuEvents = typeof __propDef.events;
|
|
27
27
|
export type MenuSlots = typeof __propDef.slots;
|
|
28
|
-
import {
|
|
28
|
+
import { SvelteComponent } from "svelte";
|
|
29
29
|
declare const __propDef: {
|
|
30
30
|
props: {
|
|
31
31
|
[x: string]: any;
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#radiogroup
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
8
8
|
*/
|
|
9
|
-
export default class RadioGroup extends
|
|
9
|
+
export default class RadioGroup extends SvelteComponent<{
|
|
10
|
+
[x: string]: any;
|
|
10
11
|
class?: string;
|
|
11
12
|
element?: HTMLElement;
|
|
12
13
|
orientation?: "vertical" | "horizontal";
|
|
@@ -21,9 +22,10 @@ export default class RadioGroup extends SvelteComponentTyped<{
|
|
|
21
22
|
export type RadioGroupProps = typeof __propDef.props;
|
|
22
23
|
export type RadioGroupEvents = typeof __propDef.events;
|
|
23
24
|
export type RadioGroupSlots = typeof __propDef.slots;
|
|
24
|
-
import {
|
|
25
|
+
import { SvelteComponent } from "svelte";
|
|
25
26
|
declare const __propDef: {
|
|
26
27
|
props: {
|
|
28
|
+
[x: string]: any;
|
|
27
29
|
class?: string;
|
|
28
30
|
element?: HTMLElement | null;
|
|
29
31
|
orientation?: ('horizontal' | 'vertical');
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
<input type="hidden" {name} {value} />
|
|
43
43
|
{/if}
|
|
44
44
|
|
|
45
|
-
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
|
46
45
|
<span
|
|
47
46
|
class="sui radio {className}"
|
|
47
|
+
role="none"
|
|
48
|
+
{...$$restProps}
|
|
48
49
|
on:click={(event) => {
|
|
49
50
|
if (!(/** @type {HTMLElement} */ (event.target).matches('button'))) {
|
|
50
51
|
buttonComponent.element.click();
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
* @see https://w3c.github.io/aria/#radio
|
|
8
8
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/radio/
|
|
9
9
|
*/
|
|
10
|
-
export default class Radio extends
|
|
10
|
+
export default class Radio extends SvelteComponent<{
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
class?: string;
|
|
13
|
+
name?: string;
|
|
11
14
|
label?: string;
|
|
12
15
|
disabled?: boolean;
|
|
13
|
-
name?: string;
|
|
14
16
|
value?: string;
|
|
15
|
-
class?: string;
|
|
16
17
|
selected?: boolean;
|
|
17
18
|
}, {
|
|
18
19
|
[evt: string]: CustomEvent<any>;
|
|
@@ -23,14 +24,15 @@ export default class Radio extends SvelteComponentTyped<{
|
|
|
23
24
|
export type RadioProps = typeof __propDef.props;
|
|
24
25
|
export type RadioEvents = typeof __propDef.events;
|
|
25
26
|
export type RadioSlots = typeof __propDef.slots;
|
|
26
|
-
import {
|
|
27
|
+
import { SvelteComponent } from "svelte";
|
|
27
28
|
declare const __propDef: {
|
|
28
29
|
props: {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
class?: string;
|
|
32
|
+
name?: string;
|
|
29
33
|
label?: string | null;
|
|
30
34
|
disabled?: boolean;
|
|
31
|
-
name?: string;
|
|
32
35
|
value?: string | null;
|
|
33
|
-
class?: string;
|
|
34
36
|
selected?: boolean;
|
|
35
37
|
};
|
|
36
38
|
events: {
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#combobox
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/
|
|
8
8
|
*/
|
|
9
|
-
export default class Combobox extends
|
|
9
|
+
export default class Combobox extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
|
+
class?: string;
|
|
11
12
|
label?: string;
|
|
12
13
|
position?: PopupPosition;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
value?: string | number;
|
|
15
|
-
class?: string;
|
|
16
16
|
readOnly?: boolean;
|
|
17
17
|
}, {
|
|
18
18
|
change: CustomEvent<any>;
|
|
@@ -25,15 +25,18 @@ export default class Combobox extends SvelteComponentTyped<{
|
|
|
25
25
|
export type ComboboxProps = typeof __propDef.props;
|
|
26
26
|
export type ComboboxEvents = typeof __propDef.events;
|
|
27
27
|
export type ComboboxSlots = typeof __propDef.slots;
|
|
28
|
-
import {
|
|
28
|
+
import { SvelteComponent } from "svelte";
|
|
29
29
|
declare const __propDef: {
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Where to show the dropdown menu.
|
|
32
|
+
* @type {PopupPosition}
|
|
33
|
+
*/ props: {
|
|
31
34
|
[x: string]: any;
|
|
35
|
+
class?: string;
|
|
32
36
|
label?: string;
|
|
33
37
|
position?: PopupPosition;
|
|
34
38
|
disabled?: boolean;
|
|
35
39
|
value?: (string | number | undefined);
|
|
36
|
-
class?: string;
|
|
37
40
|
readOnly?: boolean;
|
|
38
41
|
};
|
|
39
42
|
events: {
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
7
7
|
* @see https://w3c.github.io/aria/#combobox
|
|
8
8
|
*/
|
|
9
|
-
export default class Select extends
|
|
9
|
+
export default class Select extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
|
+
class?: string;
|
|
11
12
|
label?: string;
|
|
12
13
|
value?: string;
|
|
13
|
-
class?: string;
|
|
14
14
|
}, {
|
|
15
15
|
change: CustomEvent<any>;
|
|
16
16
|
} & {
|
|
@@ -22,13 +22,13 @@ export default class Select extends SvelteComponentTyped<{
|
|
|
22
22
|
export type SelectProps = typeof __propDef.props;
|
|
23
23
|
export type SelectEvents = typeof __propDef.events;
|
|
24
24
|
export type SelectSlots = typeof __propDef.slots;
|
|
25
|
-
import {
|
|
25
|
+
import { SvelteComponent } from "svelte";
|
|
26
26
|
declare const __propDef: {
|
|
27
27
|
props: {
|
|
28
28
|
[x: string]: any;
|
|
29
|
+
class?: string;
|
|
29
30
|
label?: string;
|
|
30
31
|
value?: string | null;
|
|
31
|
-
class?: string;
|
|
32
32
|
};
|
|
33
33
|
events: {
|
|
34
34
|
change: CustomEvent<any>;
|
|
@@ -215,11 +215,15 @@
|
|
|
215
215
|
}}
|
|
216
216
|
/>
|
|
217
217
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
<div
|
|
219
|
+
class="sui slider {className}"
|
|
220
|
+
role="none"
|
|
221
|
+
{...$$restProps}
|
|
222
|
+
on:click|preventDefault|stopPropagation
|
|
223
|
+
>
|
|
221
224
|
<div
|
|
222
225
|
class="base"
|
|
226
|
+
role="none"
|
|
223
227
|
bind:this={base}
|
|
224
228
|
on:click|preventDefault|stopPropagation={(event) => {
|
|
225
229
|
onClick(event);
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/slider/
|
|
10
10
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/slider-multithumb/
|
|
11
11
|
*/
|
|
12
|
-
export default class Slider extends
|
|
13
|
-
|
|
12
|
+
export default class Slider extends SvelteComponent<{
|
|
13
|
+
[x: string]: any;
|
|
14
14
|
class?: string;
|
|
15
|
+
value?: number;
|
|
15
16
|
sliderLabel?: string;
|
|
16
17
|
values?: [number, number];
|
|
17
18
|
sliderLabels?: [string, string];
|
|
@@ -29,11 +30,12 @@ export default class Slider extends SvelteComponentTyped<{
|
|
|
29
30
|
export type SliderProps = typeof __propDef.props;
|
|
30
31
|
export type SliderEvents = typeof __propDef.events;
|
|
31
32
|
export type SliderSlots = typeof __propDef.slots;
|
|
32
|
-
import {
|
|
33
|
+
import { SvelteComponent } from "svelte";
|
|
33
34
|
declare const __propDef: {
|
|
34
35
|
props: {
|
|
35
|
-
|
|
36
|
+
[x: string]: any;
|
|
36
37
|
class?: string;
|
|
38
|
+
value?: number;
|
|
37
39
|
sliderLabel?: string;
|
|
38
40
|
values?: [number, number];
|
|
39
41
|
sliderLabels?: [string, string];
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#switch
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/switch/
|
|
8
8
|
*/
|
|
9
|
-
export default class Switch extends
|
|
9
|
+
export default class Switch extends SvelteComponent<{
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
class?: string;
|
|
10
12
|
label?: string;
|
|
11
13
|
disabled?: boolean;
|
|
12
|
-
class?: string;
|
|
13
14
|
checked?: boolean;
|
|
14
15
|
}, {
|
|
15
16
|
[evt: string]: CustomEvent<any>;
|
|
@@ -20,12 +21,13 @@ export default class Switch extends SvelteComponentTyped<{
|
|
|
20
21
|
export type SwitchProps = typeof __propDef.props;
|
|
21
22
|
export type SwitchEvents = typeof __propDef.events;
|
|
22
23
|
export type SwitchSlots = typeof __propDef.slots;
|
|
23
|
-
import {
|
|
24
|
+
import { SvelteComponent } from "svelte";
|
|
24
25
|
declare const __propDef: {
|
|
25
26
|
props: {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
class?: string;
|
|
26
29
|
label?: string;
|
|
27
30
|
disabled?: boolean;
|
|
28
|
-
class?: string;
|
|
29
31
|
checked?: boolean;
|
|
30
32
|
};
|
|
31
33
|
events: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
|
|
7
7
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
8
8
|
*/
|
|
9
|
-
export default class TableBody extends
|
|
9
|
+
export default class TableBody extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableBody extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableBodyProps = typeof __propDef.props;
|
|
19
19
|
export type TableBodyEvents = typeof __propDef.events;
|
|
20
20
|
export type TableBodySlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
|
|
7
7
|
* @see https://w3c.github.io/aria/#gridcell
|
|
8
8
|
*/
|
|
9
|
-
export default class TableCell extends
|
|
9
|
+
export default class TableCell extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableCell extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableCellProps = typeof __propDef.props;
|
|
19
19
|
export type TableCellEvents = typeof __propDef.events;
|
|
20
20
|
export type TableCellSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
7
7
|
* @see https://w3c.github.io/aria/#columnheader
|
|
8
8
|
*/
|
|
9
|
-
export default class TableColHeader extends
|
|
9
|
+
export default class TableColHeader extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableColHeader extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableColHeaderProps = typeof __propDef.props;
|
|
19
19
|
export type TableColHeaderEvents = typeof __propDef.events;
|
|
20
20
|
export type TableColHeaderSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
|
|
7
7
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
8
8
|
*/
|
|
9
|
-
export default class TableFoot extends
|
|
9
|
+
export default class TableFoot extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableFoot extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableFootProps = typeof __propDef.props;
|
|
19
19
|
export type TableFootEvents = typeof __propDef.events;
|
|
20
20
|
export type TableFootSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
|
|
7
7
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
8
8
|
*/
|
|
9
|
-
export default class TableHead extends
|
|
9
|
+
export default class TableHead extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableHead extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableHeadProps = typeof __propDef.props;
|
|
19
19
|
export type TableHeadEvents = typeof __propDef.events;
|
|
20
20
|
export type TableHeadSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
7
7
|
* @see https://w3c.github.io/aria/#rowheader
|
|
8
8
|
*/
|
|
9
|
-
export default class TableRowHeader extends
|
|
9
|
+
export default class TableRowHeader extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TableRowHeader extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TableRowHeaderProps = typeof __propDef.props;
|
|
19
19
|
export type TableRowHeaderEvents = typeof __propDef.events;
|
|
20
20
|
export type TableRowHeaderSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
|
|
7
7
|
* @see https://w3c.github.io/aria/#row
|
|
8
8
|
*/
|
|
9
|
-
export default class TableRow extends
|
|
9
|
+
export default class TableRow extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -20,7 +20,7 @@ export default class TableRow extends SvelteComponentTyped<{
|
|
|
20
20
|
export type TableRowProps = typeof __propDef.props;
|
|
21
21
|
export type TableRowEvents = typeof __propDef.events;
|
|
22
22
|
export type TableRowSlots = typeof __propDef.slots;
|
|
23
|
-
import {
|
|
23
|
+
import { SvelteComponent } from "svelte";
|
|
24
24
|
declare const __propDef: {
|
|
25
25
|
props: {
|
|
26
26
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
|
|
7
7
|
* @see https://w3c.github.io/aria/#grid
|
|
8
8
|
*/
|
|
9
|
-
export default class Table extends
|
|
9
|
+
export default class Table extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
element?: HTMLElement;
|
|
@@ -19,7 +19,7 @@ export default class Table extends SvelteComponentTyped<{
|
|
|
19
19
|
export type TableProps = typeof __propDef.props;
|
|
20
20
|
export type TableEvents = typeof __propDef.events;
|
|
21
21
|
export type TableSlots = typeof __propDef.slots;
|
|
22
|
-
import {
|
|
22
|
+
import { SvelteComponent } from "svelte";
|
|
23
23
|
declare const __propDef: {
|
|
24
24
|
props: {
|
|
25
25
|
[x: string]: any;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#tablist
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/tabs/
|
|
8
8
|
*/
|
|
9
|
-
export default class TabList extends
|
|
9
|
+
export default class TabList extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
|
-
name?: string;
|
|
12
11
|
class?: string;
|
|
12
|
+
name?: string;
|
|
13
13
|
element?: HTMLElement;
|
|
14
14
|
orientation?: "vertical" | "horizontal";
|
|
15
15
|
}, {
|
|
@@ -35,12 +35,12 @@ export default class TabList extends SvelteComponentTyped<{
|
|
|
35
35
|
export type TabListProps = typeof __propDef.props;
|
|
36
36
|
export type TabListEvents = typeof __propDef.events;
|
|
37
37
|
export type TabListSlots = typeof __propDef.slots;
|
|
38
|
-
import {
|
|
38
|
+
import { SvelteComponent } from "svelte";
|
|
39
39
|
declare const __propDef: {
|
|
40
40
|
props: {
|
|
41
41
|
[x: string]: any;
|
|
42
|
-
name?: string;
|
|
43
42
|
class?: string;
|
|
43
|
+
name?: string;
|
|
44
44
|
element?: HTMLElement | null;
|
|
45
45
|
orientation?: ('horizontal' | 'vertical');
|
|
46
46
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#tabpanel
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/tabs/
|
|
8
8
|
*/
|
|
9
|
-
export default class TabPanel extends
|
|
9
|
+
export default class TabPanel extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -18,7 +18,7 @@ export default class TabPanel extends SvelteComponentTyped<{
|
|
|
18
18
|
export type TabPanelProps = typeof __propDef.props;
|
|
19
19
|
export type TabPanelEvents = typeof __propDef.events;
|
|
20
20
|
export type TabPanelSlots = typeof __propDef.slots;
|
|
21
|
-
import {
|
|
21
|
+
import { SvelteComponent } from "svelte";
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
[x: string]: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://w3c.github.io/aria/#tab
|
|
7
7
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/tabs/
|
|
8
8
|
*/
|
|
9
|
-
export default class Tab extends
|
|
9
|
+
export default class Tab extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
class?: string;
|
|
12
12
|
}, {
|
|
@@ -24,7 +24,7 @@ export default class Tab extends SvelteComponentTyped<{
|
|
|
24
24
|
export type TabProps = typeof __propDef.props;
|
|
25
25
|
export type TabEvents = typeof __propDef.events;
|
|
26
26
|
export type TabSlots = typeof __propDef.slots;
|
|
27
|
-
import {
|
|
27
|
+
import { SvelteComponent } from "svelte";
|
|
28
28
|
declare const __propDef: {
|
|
29
29
|
props: {
|
|
30
30
|
[x: string]: any;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/** @typedef {typeof __propDef.events} MarkdownEditorEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} MarkdownEditorSlots */
|
|
4
4
|
/** A Markdown text editor. */
|
|
5
|
-
export default class MarkdownEditor extends
|
|
5
|
+
export default class MarkdownEditor extends SvelteComponent<{
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
value?: string;
|
|
8
8
|
}, {
|
|
@@ -12,7 +12,7 @@ export default class MarkdownEditor extends SvelteComponentTyped<{
|
|
|
12
12
|
export type MarkdownEditorProps = typeof __propDef.props;
|
|
13
13
|
export type MarkdownEditorEvents = typeof __propDef.events;
|
|
14
14
|
export type MarkdownEditorSlots = typeof __propDef.slots;
|
|
15
|
-
import {
|
|
15
|
+
import { SvelteComponent } from "svelte";
|
|
16
16
|
declare const __propDef: {
|
|
17
17
|
props: {
|
|
18
18
|
disabled?: boolean;
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number
|
|
7
7
|
* @see https://w3c.github.io/aria/#textbox
|
|
8
8
|
*/
|
|
9
|
-
export default class NumberInput extends
|
|
9
|
+
export default class NumberInput extends SvelteComponent<{
|
|
10
10
|
[x: string]: any;
|
|
11
|
+
class?: string;
|
|
11
12
|
disabled?: boolean;
|
|
12
13
|
value?: string;
|
|
13
|
-
class?: string;
|
|
14
14
|
min?: any;
|
|
15
15
|
max?: any;
|
|
16
16
|
step?: number;
|
|
@@ -24,13 +24,13 @@ export default class NumberInput extends SvelteComponentTyped<{
|
|
|
24
24
|
export type NumberInputProps = typeof __propDef.props;
|
|
25
25
|
export type NumberInputEvents = typeof __propDef.events;
|
|
26
26
|
export type NumberInputSlots = typeof __propDef.slots;
|
|
27
|
-
import {
|
|
27
|
+
import { SvelteComponent } from "svelte";
|
|
28
28
|
declare const __propDef: {
|
|
29
29
|
props: {
|
|
30
30
|
[x: string]: any;
|
|
31
|
+
class?: string;
|
|
31
32
|
disabled?: boolean;
|
|
32
33
|
value?: string | null;
|
|
33
|
-
class?: string;
|
|
34
34
|
min?: any;
|
|
35
35
|
max?: any;
|
|
36
36
|
step?: number;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password
|
|
8
8
|
* @see https://w3c.github.io/aria/#textbox
|
|
9
9
|
*/
|
|
10
|
-
export default class PasswordInput extends
|
|
10
|
+
export default class PasswordInput extends SvelteComponent<{
|
|
11
11
|
[x: string]: any;
|
|
12
|
-
value?: string;
|
|
13
12
|
class?: string;
|
|
13
|
+
value?: string;
|
|
14
14
|
}, {
|
|
15
15
|
input: Event;
|
|
16
16
|
keypress: KeyboardEvent;
|
|
@@ -22,12 +22,12 @@ export default class PasswordInput extends SvelteComponentTyped<{
|
|
|
22
22
|
export type PasswordInputProps = typeof __propDef.props;
|
|
23
23
|
export type PasswordInputEvents = typeof __propDef.events;
|
|
24
24
|
export type PasswordInputSlots = typeof __propDef.slots;
|
|
25
|
-
import {
|
|
25
|
+
import { SvelteComponent } from "svelte";
|
|
26
26
|
declare const __propDef: {
|
|
27
27
|
props: {
|
|
28
28
|
[x: string]: any;
|
|
29
|
-
value?: string | null;
|
|
30
29
|
class?: string;
|
|
30
|
+
value?: string | null;
|
|
31
31
|
};
|
|
32
32
|
events: {
|
|
33
33
|
input: Event;
|