@sveltia/ui 0.90.0 → 0.92.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/dist/components/bottom-navigation/bottom-navigation.svelte +3 -9
- package/dist/components/bottom-navigation/bottom-navigation.svelte.d.ts +4 -39
- package/dist/components/button/button-group.svelte +2 -4
- package/dist/components/button/button-group.svelte.d.ts +3 -19
- package/dist/components/button/select-button-group.svelte +2 -13
- package/dist/components/button/select-button-group.svelte.d.ts +5 -67
- package/dist/components/calendar/calendar.d.ts +9 -0
- package/dist/components/calendar/calendar.js +43 -0
- package/dist/components/calendar/calendar.svelte +26 -27
- package/dist/components/checkbox/checkbox-group.svelte +2 -8
- package/dist/components/checkbox/checkbox-group.svelte.d.ts +4 -39
- package/dist/components/dialog/alert-dialog.svelte.d.ts +2 -3
- package/dist/components/dialog/confirmation-dialog.svelte.d.ts +2 -3
- package/dist/components/dialog/dialog.svelte +6 -7
- package/dist/components/dialog/dialog.svelte.d.ts +2 -3
- package/dist/components/dialog/prompt-dialog.svelte +2 -2
- package/dist/components/dialog/prompt-dialog.svelte.d.ts +2 -3
- package/dist/components/disclosure/disclosure.svelte +14 -16
- package/dist/components/disclosure/disclosure.svelte.d.ts +4 -38
- package/dist/components/drawer/drawer.svelte +22 -39
- package/dist/components/drawer/drawer.svelte.d.ts +3 -24
- package/dist/components/grid/grid-body.svelte +2 -3
- package/dist/components/grid/grid-body.svelte.d.ts +3 -18
- package/dist/components/grid/grid-cell.svelte +2 -8
- package/dist/components/grid/grid-cell.svelte.d.ts +3 -22
- package/dist/components/grid/grid-col-header.svelte +2 -4
- package/dist/components/grid/grid-col-header.svelte.d.ts +3 -19
- package/dist/components/grid/grid-foot.svelte +4 -9
- package/dist/components/grid/grid-foot.svelte.d.ts +3 -22
- package/dist/components/grid/grid-head.svelte +4 -9
- package/dist/components/grid/grid-head.svelte.d.ts +3 -22
- package/dist/components/grid/grid-row-header.svelte +2 -8
- package/dist/components/grid/grid-row-header.svelte.d.ts +3 -22
- package/dist/components/grid/grid-row.svelte +4 -5
- package/dist/components/grid/grid-row.svelte.d.ts +3 -19
- package/dist/components/grid/grid.d.ts +10 -0
- package/dist/components/grid/grid.js +11 -0
- package/dist/components/grid/grid.svelte +6 -7
- package/dist/components/grid/grid.svelte.d.ts +5 -21
- package/dist/components/listbox/listbox.svelte +34 -15
- package/dist/components/listbox/listbox.svelte.d.ts +5 -69
- package/dist/components/listbox/option-group.svelte +2 -8
- package/dist/components/listbox/option-group.svelte.d.ts +4 -39
- package/dist/components/listbox/option.svelte +2 -1
- package/dist/components/menu/menu-item-group.svelte +2 -6
- package/dist/components/menu/menu-item-group.svelte.d.ts +3 -22
- package/dist/components/menu/menu-item.svelte +5 -1
- package/dist/components/menu/menu.svelte +2 -8
- package/dist/components/menu/menu.svelte.d.ts +4 -39
- package/dist/components/radio/radio-group.svelte +2 -17
- package/dist/components/radio/radio-group.svelte.d.ts +5 -67
- package/dist/components/radio/radio.svelte +19 -22
- package/dist/components/radio/radio.svelte.d.ts +10 -40
- package/dist/components/resizable-pane/resizable-handle.svelte +42 -49
- package/dist/components/resizable-pane/resizable-pane-group.svelte +44 -58
- package/dist/components/resizable-pane/resizable-pane-group.svelte.d.ts +3 -19
- package/dist/components/resizable-pane/resizable-pane.svelte +2 -5
- package/dist/components/resizable-pane/resizable-pane.svelte.d.ts +3 -19
- package/dist/components/resizable-pane/sizing.d.ts +24 -0
- package/dist/components/resizable-pane/sizing.js +83 -0
- package/dist/components/select/combobox.svelte +35 -39
- package/dist/components/select/select-tags.svelte +3 -13
- package/dist/components/select/select-tags.svelte.d.ts +5 -67
- package/dist/components/slider/slider.d.ts +5 -4
- package/dist/components/slider/slider.js +28 -23
- package/dist/components/slider/slider.svelte +64 -62
- package/dist/components/slider/slider.svelte.d.ts +4 -37
- package/dist/components/switch/switch.svelte +2 -13
- package/dist/components/switch/switch.svelte.d.ts +5 -67
- package/dist/components/table/table-body.svelte +2 -4
- package/dist/components/table/table-body.svelte.d.ts +3 -19
- package/dist/components/table/table-cell.svelte +2 -8
- package/dist/components/table/table-cell.svelte.d.ts +3 -22
- package/dist/components/table/table-col-header.svelte +2 -8
- package/dist/components/table/table-col-header.svelte.d.ts +3 -22
- package/dist/components/table/table-foot.svelte +2 -8
- package/dist/components/table/table-foot.svelte.d.ts +3 -22
- package/dist/components/table/table-head.svelte +2 -8
- package/dist/components/table/table-head.svelte.d.ts +3 -22
- package/dist/components/table/table-part.svelte +2 -4
- package/dist/components/table/table-part.svelte.d.ts +3 -19
- package/dist/components/table/table-row-header.svelte +2 -8
- package/dist/components/table/table-row-header.svelte.d.ts +3 -22
- package/dist/components/table/table-row.svelte +2 -8
- package/dist/components/table/table-row.svelte.d.ts +3 -22
- package/dist/components/table/table.svelte +2 -4
- package/dist/components/table/table.svelte.d.ts +3 -19
- package/dist/components/tabs/tab-box.svelte +2 -4
- package/dist/components/tabs/tab-box.svelte.d.ts +3 -19
- package/dist/components/tabs/tab-list.svelte +2 -7
- package/dist/components/tabs/tab-list.svelte.d.ts +4 -37
- package/dist/components/tabs/tab-panel.svelte +2 -8
- package/dist/components/tabs/tab-panel.svelte.d.ts +3 -22
- package/dist/components/tabs/tab-panels.svelte +2 -8
- package/dist/components/tabs/tab-panels.svelte.d.ts +3 -22
- package/dist/components/text-editor/code-editor.js +14 -7
- package/dist/components/text-editor/code-editor.svelte +14 -22
- package/dist/components/text-editor/code-editor.svelte.d.ts +5 -103
- package/dist/components/text-editor/config.d.ts +73 -0
- package/dist/components/text-editor/config.js +110 -0
- package/dist/components/text-editor/constants.d.ts +40 -6
- package/dist/components/text-editor/constants.js +81 -7
- package/dist/components/text-editor/conversion/editor-components.js +4 -4
- package/dist/components/text-editor/conversion/html/components.d.ts +16 -0
- package/dist/components/text-editor/conversion/html/components.js +87 -0
- package/dist/components/text-editor/conversion/html/export.d.ts +10 -0
- package/dist/components/text-editor/conversion/html/export.js +360 -0
- package/dist/components/text-editor/conversion/html/import-rules.d.ts +12 -0
- package/dist/components/text-editor/conversion/html/import-rules.js +234 -0
- package/dist/components/text-editor/conversion/html/index.d.ts +10 -0
- package/dist/components/text-editor/conversion/html/index.js +33 -0
- package/dist/components/text-editor/conversion/html/paragraph.d.ts +1 -0
- package/dist/components/text-editor/conversion/html/paragraph.js +123 -0
- package/dist/components/text-editor/conversion/html/task-list.d.ts +13 -0
- package/dist/components/text-editor/conversion/html/task-list.js +82 -0
- package/dist/components/text-editor/conversion/html/unsupported.d.ts +2 -0
- package/dist/components/text-editor/conversion/html/unsupported.js +122 -0
- package/dist/components/text-editor/conversion/html/utils.d.ts +6 -0
- package/dist/components/text-editor/conversion/html/utils.js +34 -0
- package/dist/components/text-editor/conversion/import.js +33 -27
- package/dist/components/text-editor/conversion/markdown/block-conversion.d.ts +4 -0
- package/dist/components/text-editor/conversion/markdown/block-conversion.js +154 -0
- package/dist/components/text-editor/conversion/markdown/block-structure.d.ts +16 -0
- package/dist/components/text-editor/conversion/markdown/block-structure.js +254 -0
- package/dist/components/text-editor/conversion/markdown/code-blocks.d.ts +57 -0
- package/dist/components/text-editor/conversion/markdown/code-blocks.js +279 -0
- package/dist/components/text-editor/conversion/markdown/code-spans.d.ts +19 -0
- package/dist/components/text-editor/conversion/markdown/code-spans.js +71 -0
- package/dist/components/text-editor/conversion/markdown/formatting.d.ts +22 -0
- package/dist/components/text-editor/conversion/markdown/formatting.js +451 -0
- package/dist/components/text-editor/conversion/markdown/index.d.ts +10 -0
- package/dist/components/text-editor/conversion/markdown/index.js +55 -0
- package/dist/components/text-editor/conversion/markdown/placeholders.d.ts +2 -0
- package/dist/components/text-editor/conversion/markdown/placeholders.js +229 -0
- package/dist/components/text-editor/conversion/markdown/syntax.d.ts +99 -0
- package/dist/components/text-editor/conversion/markdown/syntax.js +206 -0
- package/dist/components/text-editor/conversion/placeholder-chars.d.ts +43 -0
- package/dist/components/text-editor/conversion/placeholder-chars.js +51 -0
- package/dist/components/text-editor/conversion/transformers/block-escape.d.ts +1 -0
- package/dist/components/text-editor/conversion/transformers/block-escape.js +53 -26
- package/dist/components/text-editor/conversion/transformers/code.d.ts +3 -14
- package/dist/components/text-editor/conversion/transformers/code.js +78 -16
- package/dist/components/text-editor/conversion/transformers/formatted-code.js +3 -18
- package/dist/components/text-editor/conversion/transformers/inline-code.js +3 -1
- package/dist/components/text-editor/conversion/transformers/link.js +3 -1
- package/dist/components/text-editor/conversion/transformers/raw-syntax.d.ts +0 -19
- package/dist/components/text-editor/conversion/transformers/raw-syntax.js +22 -93
- package/dist/components/text-editor/conversion/transformers/table.js +57 -16
- package/dist/components/text-editor/conversion/transformers/task-list.d.ts +24 -0
- package/dist/components/text-editor/conversion/transformers/task-list.js +53 -0
- package/dist/components/text-editor/conversion/update.d.ts +19 -2
- package/dist/components/text-editor/conversion/update.js +64 -40
- package/dist/components/text-editor/core.d.ts +12 -51
- package/dist/components/text-editor/core.js +47 -77
- package/dist/components/text-editor/editing/commands.js +9 -18
- package/dist/components/text-editor/editing/guards.d.ts +7 -0
- package/dist/components/text-editor/editing/guards.js +123 -0
- package/dist/components/text-editor/editing/raw-markdown.d.ts +7 -2
- package/dist/components/text-editor/editing/raw-markdown.js +68 -8
- package/dist/components/text-editor/editing/selection.js +6 -2
- package/dist/components/text-editor/lexical-root.svelte +89 -47
- package/dist/components/text-editor/lexical-root.svelte.d.ts +4 -67
- package/dist/components/text-editor/shiki/{facade.d.ts → engine.d.ts} +8 -8
- package/dist/components/text-editor/shiki/{facade.js → engine.js} +53 -156
- package/dist/components/text-editor/shiki/highlighter.js +5 -5
- package/dist/components/text-editor/shiki/lexical.d.ts +6 -0
- package/dist/components/text-editor/shiki/lexical.js +165 -0
- package/dist/components/text-editor/shiki/preload.js +1 -1
- package/dist/components/text-editor/shiki/source-highlight.svelte.d.ts +15 -0
- package/dist/components/text-editor/shiki/source-highlight.svelte.js +120 -0
- package/dist/components/text-editor/shiki/version.d.ts +1 -1
- package/dist/components/text-editor/shiki/version.js +1 -1
- package/dist/components/text-editor/store.svelte.js +65 -16
- package/dist/components/text-editor/text-editor.svelte +57 -146
- package/dist/components/text-editor/text-editor.svelte.d.ts +9 -105
- package/dist/components/text-editor/toolbar/actions.d.ts +25 -0
- package/dist/components/text-editor/toolbar/actions.js +107 -0
- package/dist/components/text-editor/toolbar/align-menu-button.svelte +16 -14
- package/dist/components/text-editor/toolbar/format-text-button.svelte +27 -19
- package/dist/components/text-editor/toolbar/insert-horizontal-rule-button.svelte +23 -23
- package/dist/components/text-editor/toolbar/insert-item-button.svelte +1 -1
- package/dist/components/text-editor/toolbar/insert-link-button.svelte +47 -51
- package/dist/components/text-editor/toolbar/insert-menu-button.svelte +1 -1
- package/dist/components/text-editor/toolbar/insert-table-button.svelte +35 -52
- package/dist/components/text-editor/toolbar/table-action-menu.svelte +19 -17
- package/dist/components/text-editor/toolbar/text-editor-toolbar.svelte +34 -11
- package/dist/components/text-editor/toolbar/text-editor-toolbar.svelte.d.ts +0 -8
- package/dist/components/text-editor/toolbar/toggle-block-menu-item.svelte +35 -41
- package/dist/components/text-editor/widgets/emoji-autocomplete.svelte +7 -6
- package/dist/components/text-editor/widgets/floating-link-editor.svelte +19 -32
- package/dist/components/text-editor/widgets/table-cell-menu-button.svelte +28 -32
- package/dist/components/text-field/date-time-input.svelte +7 -8
- package/dist/components/text-field/date-time-input.svelte.d.ts +3 -32
- package/dist/components/text-field/number-input.d.ts +0 -2
- package/dist/components/text-field/number-input.js +25 -25
- package/dist/components/text-field/number-input.svelte +18 -9
- package/dist/components/text-field/number-input.svelte.d.ts +1 -1
- package/dist/components/text-field/text-area.d.ts +2 -0
- package/dist/components/text-field/text-area.js +31 -0
- package/dist/components/text-field/text-area.svelte +12 -25
- package/dist/components/text-field/text-area.svelte.d.ts +5 -67
- package/dist/components/toast/toast.svelte +31 -8
- package/dist/components/toast/toast.svelte.d.ts +6 -6
- package/dist/components/toolbar/toolbar.svelte +2 -7
- package/dist/components/toolbar/toolbar.svelte.d.ts +4 -37
- package/dist/components/tree/tree-item.svelte +2 -6
- package/dist/components/tree/tree-item.svelte.d.ts +3 -22
- package/dist/components/tree/tree.svelte +3 -10
- package/dist/components/tree/tree.svelte.d.ts +4 -39
- package/dist/components/util/group.svelte +2 -7
- package/dist/components/util/group.svelte.d.ts +4 -37
- package/dist/components/util/modal.d.ts +9 -0
- package/dist/components/util/modal.js +30 -0
- package/dist/components/util/modal.svelte +16 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/ar.yaml +2 -0
- package/dist/locales/bg.yaml +2 -0
- package/dist/locales/ca.yaml +2 -0
- package/dist/locales/cs.yaml +2 -0
- package/dist/locales/da.yaml +2 -0
- package/dist/locales/de.yaml +2 -0
- package/dist/locales/el.yaml +2 -0
- package/dist/locales/en-CA.yaml +2 -0
- package/dist/locales/en-GB.yaml +2 -0
- package/dist/locales/en-US.yaml +2 -0
- package/dist/locales/en-ZA.yaml +2 -0
- package/dist/locales/es-CO.yaml +2 -0
- package/dist/locales/es-ES.yaml +2 -0
- package/dist/locales/fa.yaml +2 -0
- package/dist/locales/fi.yaml +2 -0
- package/dist/locales/fr.yaml +2 -0
- package/dist/locales/he.yaml +2 -0
- package/dist/locales/hr.yaml +2 -0
- package/dist/locales/hu.yaml +176 -0
- package/dist/locales/it.yaml +2 -0
- package/dist/locales/ja.yaml +2 -0
- package/dist/locales/ko.yaml +2 -0
- package/dist/locales/nl.yaml +2 -0
- package/dist/locales/pl.yaml +2 -0
- package/dist/locales/pt-BR.yaml +2 -0
- package/dist/locales/pt-PT.yaml +2 -0
- package/dist/locales/ru.yaml +2 -0
- package/dist/locales/sk.yaml +2 -0
- package/dist/locales/sv.yaml +2 -0
- package/dist/locales/tr.yaml +2 -0
- package/dist/locales/uk.yaml +2 -0
- package/dist/locales/vi.yaml +2 -0
- package/dist/locales/zh-CN.yaml +2 -0
- package/dist/locales/zh-TW.yaml +2 -0
- package/dist/services/composite-widget.svelte.d.ts +76 -0
- package/dist/services/composite-widget.svelte.js +157 -0
- package/dist/services/focus.d.ts +2 -0
- package/dist/services/focus.js +68 -0
- package/dist/services/group.svelte.d.ts +17 -69
- package/dist/services/group.svelte.js +128 -391
- package/dist/services/label.d.ts +9 -0
- package/dist/services/label.js +22 -0
- package/dist/services/menu.d.ts +8 -0
- package/dist/services/menu.js +237 -0
- package/dist/services/navigation.d.ts +9 -0
- package/dist/services/navigation.js +13 -0
- package/dist/services/number.d.ts +2 -0
- package/dist/services/number.js +27 -0
- package/dist/services/pointer-drag.d.ts +14 -0
- package/dist/services/pointer-drag.js +89 -0
- package/dist/services/popup.svelte.js +123 -103
- package/dist/services/text.d.ts +3 -0
- package/dist/services/text.js +17 -0
- package/dist/services/tree.svelte.d.ts +29 -43
- package/dist/services/tree.svelte.js +58 -105
- package/dist/services/type-ahead.d.ts +10 -1
- package/dist/services/type-ahead.js +56 -34
- package/dist/typedefs.d.ts +108 -6
- package/dist/typedefs.js +63 -6
- package/package.json +5 -5
- package/dist/components/text-editor/conversion/html.d.ts +0 -30
- package/dist/components/text-editor/conversion/html.js +0 -857
- package/dist/components/text-editor/conversion/markdown.d.ts +0 -56
- package/dist/components/text-editor/conversion/markdown.js +0 -949
- package/dist/components/text-editor/toolbar/code-editor-toolbar.svelte +0 -28
- package/dist/components/text-editor/toolbar/code-editor-toolbar.svelte.d.ts +0 -37
- package/dist/components/text-editor/toolbar/insert-component.d.ts +0 -3
- package/dist/components/text-editor/toolbar/insert-component.js +0 -37
|
@@ -9,17 +9,11 @@
|
|
|
9
9
|
import TablePart from './table-part.svelte';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @import {
|
|
12
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @
|
|
17
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
18
|
-
* @property {Snippet} [children] Primary slot content.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @type {Props & Record<string, any>}
|
|
16
|
+
* @type {ContainerProps & Record<string, any>}
|
|
23
17
|
*/
|
|
24
18
|
let {
|
|
25
19
|
/* eslint-disable prefer-const */
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
export default TableFoot;
|
|
2
2
|
type TableFoot = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The equivalent of the HTML `<tfoot>` element.
|
|
8
8
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
|
|
9
9
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
10
10
|
*/
|
|
11
|
-
declare const TableFoot: import("svelte").Component<{
|
|
12
|
-
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
children?: Snippet<[]> | undefined;
|
|
20
|
-
} & Record<string, any>, {}, "">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* The `class` attribute on the wrapper element.
|
|
24
|
-
*/
|
|
25
|
-
class?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Primary slot content.
|
|
28
|
-
*/
|
|
29
|
-
children?: Snippet<[]> | undefined;
|
|
30
|
-
};
|
|
31
|
-
import type { Snippet } from 'svelte';
|
|
11
|
+
declare const TableFoot: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
12
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -9,17 +9,11 @@
|
|
|
9
9
|
import TablePart from './table-part.svelte';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @import {
|
|
12
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @
|
|
17
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
18
|
-
* @property {Snippet} [children] Primary slot content.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @type {Props & Record<string, any>}
|
|
16
|
+
* @type {ContainerProps & Record<string, any>}
|
|
23
17
|
*/
|
|
24
18
|
let {
|
|
25
19
|
/* eslint-disable prefer-const */
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
export default TableHead;
|
|
2
2
|
type TableHead = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The equivalent of the HTML `<thead>` element.
|
|
8
8
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
|
|
9
9
|
* @see https://w3c.github.io/aria/#rowgroup
|
|
10
10
|
*/
|
|
11
|
-
declare const TableHead: import("svelte").Component<{
|
|
12
|
-
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
children?: Snippet<[]> | undefined;
|
|
20
|
-
} & Record<string, any>, {}, "">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* The `class` attribute on the wrapper element.
|
|
24
|
-
*/
|
|
25
|
-
class?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Primary slot content.
|
|
28
|
-
*/
|
|
29
|
-
children?: Snippet<[]> | undefined;
|
|
30
|
-
};
|
|
31
|
-
import type { Snippet } from 'svelte';
|
|
11
|
+
declare const TableHead: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
12
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<script>
|
|
7
7
|
/**
|
|
8
|
-
* @import {
|
|
8
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -17,12 +17,10 @@
|
|
|
17
17
|
* @property {string} role The `role` attribute on the wrapper element.
|
|
18
18
|
* @property {`table-${PartName}` | `grid-${PartName}`} kind The component class name, which also
|
|
19
19
|
* determines the `display` style.
|
|
20
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
21
|
-
* @property {Snippet} [children] Primary slot content.
|
|
22
20
|
*/
|
|
23
21
|
|
|
24
22
|
/**
|
|
25
|
-
* @type {Props & Record<string, any>}
|
|
23
|
+
* @type {ContainerProps & Props & Record<string, any>}
|
|
26
24
|
*/
|
|
27
25
|
let {
|
|
28
26
|
/* eslint-disable prefer-const */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export default TablePart;
|
|
2
2
|
type TablePart = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<ContainerProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The row group, row or cell behind the leaf components of `<Table>` and `<Grid>`, which only differ
|
|
8
8
|
* in their role, class name and `display`. Internal; not exported.
|
|
9
9
|
*/
|
|
10
|
-
declare const TablePart: import("svelte").Component<{
|
|
10
|
+
declare const TablePart: import("svelte").Component<ContainerProps & {
|
|
11
11
|
/**
|
|
12
12
|
* The `role` attribute on the wrapper element.
|
|
13
13
|
*/
|
|
@@ -17,14 +17,6 @@ declare const TablePart: import("svelte").Component<{
|
|
|
17
17
|
* determines the `display` style.
|
|
18
18
|
*/
|
|
19
19
|
kind: `table-${"head" | "foot" | "row" | "col-header" | "row-header" | "cell"}` | `grid-${"head" | "foot" | "row" | "col-header" | "row-header" | "cell"}`;
|
|
20
|
-
/**
|
|
21
|
-
* The `class` attribute on the wrapper element.
|
|
22
|
-
*/
|
|
23
|
-
class?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Primary slot content.
|
|
26
|
-
*/
|
|
27
|
-
children?: Snippet<[]> | undefined;
|
|
28
20
|
} & Record<string, any>, {}, "">;
|
|
29
21
|
type Props = {
|
|
30
22
|
/**
|
|
@@ -36,13 +28,5 @@ type Props = {
|
|
|
36
28
|
* determines the `display` style.
|
|
37
29
|
*/
|
|
38
30
|
kind: `table-${"head" | "foot" | "row" | "col-header" | "row-header" | "cell"}` | `grid-${"head" | "foot" | "row" | "col-header" | "row-header" | "cell"}`;
|
|
39
|
-
/**
|
|
40
|
-
* The `class` attribute on the wrapper element.
|
|
41
|
-
*/
|
|
42
|
-
class?: string | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Primary slot content.
|
|
45
|
-
*/
|
|
46
|
-
children?: Snippet<[]> | undefined;
|
|
47
31
|
};
|
|
48
|
-
import type {
|
|
32
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -8,17 +8,11 @@
|
|
|
8
8
|
import TablePart from './table-part.svelte';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @import {
|
|
11
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @
|
|
16
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
17
|
-
* @property {Snippet} [children] Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @type {Props & Record<string, any>}
|
|
15
|
+
* @type {ContainerProps & Record<string, any>}
|
|
22
16
|
*/
|
|
23
17
|
let {
|
|
24
18
|
/* eslint-disable prefer-const */
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
export default TableRowHeader;
|
|
2
2
|
type TableRowHeader = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The equivalent of the HTML `<th scope="row">` element.
|
|
8
8
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
9
9
|
* @see https://w3c.github.io/aria/#rowheader
|
|
10
10
|
*/
|
|
11
|
-
declare const TableRowHeader: import("svelte").Component<{
|
|
12
|
-
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
children?: Snippet<[]> | undefined;
|
|
20
|
-
} & Record<string, any>, {}, "">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* The `class` attribute on the wrapper element.
|
|
24
|
-
*/
|
|
25
|
-
class?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Primary slot content.
|
|
28
|
-
*/
|
|
29
|
-
children?: Snippet<[]> | undefined;
|
|
30
|
-
};
|
|
31
|
-
import type { Snippet } from 'svelte';
|
|
11
|
+
declare const TableRowHeader: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
12
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -8,17 +8,11 @@
|
|
|
8
8
|
import TablePart from './table-part.svelte';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @import {
|
|
11
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @
|
|
16
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
17
|
-
* @property {Snippet} [children] Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @type {Props & Record<string, any>}
|
|
15
|
+
* @type {ContainerProps & Record<string, any>}
|
|
22
16
|
*/
|
|
23
17
|
let {
|
|
24
18
|
/* eslint-disable prefer-const */
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
export default TableRow;
|
|
2
2
|
type TableRow = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The equivalent of the HTML `<tr>` element.
|
|
8
8
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
|
|
9
9
|
* @see https://w3c.github.io/aria/#row
|
|
10
10
|
*/
|
|
11
|
-
declare const TableRow: import("svelte").Component<{
|
|
12
|
-
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
children?: Snippet<[]> | undefined;
|
|
20
|
-
} & Record<string, any>, {}, "">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* The `class` attribute on the wrapper element.
|
|
24
|
-
*/
|
|
25
|
-
class?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Primary slot content.
|
|
28
|
-
*/
|
|
29
|
-
children?: Snippet<[]> | undefined;
|
|
30
|
-
};
|
|
31
|
-
import type { Snippet } from 'svelte';
|
|
11
|
+
declare const TableRow: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
12
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -6,18 +6,16 @@
|
|
|
6
6
|
-->
|
|
7
7
|
<script>
|
|
8
8
|
/**
|
|
9
|
-
* @import {
|
|
9
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @typedef {object} Props
|
|
14
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
15
14
|
* @property {string} [ariaLabel] The `aria-label` attribute on the wrapper element.
|
|
16
|
-
* @property {Snippet} [children] Primary slot content.
|
|
17
15
|
*/
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
|
-
* @type {Props & Record<string, any>}
|
|
18
|
+
* @type {ContainerProps & Props & Record<string, any>}
|
|
21
19
|
*/
|
|
22
20
|
let {
|
|
23
21
|
/* eslint-disable prefer-const */
|
|
@@ -1,39 +1,23 @@
|
|
|
1
1
|
export default Table;
|
|
2
2
|
type Table = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<ContainerProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The equivalent of the HTML `<table>` element.
|
|
8
8
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
|
|
9
9
|
* @see https://w3c.github.io/aria/#table
|
|
10
10
|
*/
|
|
11
|
-
declare const Table: import("svelte").Component<{
|
|
12
|
-
/**
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
11
|
+
declare const Table: import("svelte").Component<ContainerProps & {
|
|
16
12
|
/**
|
|
17
13
|
* The `aria-label` attribute on the wrapper element.
|
|
18
14
|
*/
|
|
19
15
|
ariaLabel?: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Primary slot content.
|
|
22
|
-
*/
|
|
23
|
-
children?: Snippet<[]> | undefined;
|
|
24
16
|
} & Record<string, any>, {}, "">;
|
|
25
17
|
type Props = {
|
|
26
|
-
/**
|
|
27
|
-
* The `class` attribute on the wrapper element.
|
|
28
|
-
*/
|
|
29
|
-
class?: string | undefined;
|
|
30
18
|
/**
|
|
31
19
|
* The `aria-label` attribute on the wrapper element.
|
|
32
20
|
*/
|
|
33
21
|
ariaLabel?: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Primary slot content.
|
|
36
|
-
*/
|
|
37
|
-
children?: Snippet<[]> | undefined;
|
|
38
22
|
};
|
|
39
|
-
import type {
|
|
23
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -5,19 +5,17 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<script>
|
|
7
7
|
/**
|
|
8
|
-
* @import {
|
|
8
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @typedef {object} Props
|
|
13
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
14
13
|
* @property {'horizontal' | 'vertical'} [orientation] Orientation of the widget. This is
|
|
15
14
|
* typically contrary to `<TabList>`’s `orientation`.
|
|
16
|
-
* @property {Snippet} [children] Primary slot content.
|
|
17
15
|
*/
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
|
-
* @type {Props & Record<string, any>}
|
|
18
|
+
* @type {ContainerProps & Props & Record<string, any>}
|
|
21
19
|
*/
|
|
22
20
|
let {
|
|
23
21
|
/* eslint-disable prefer-const */
|
|
@@ -1,40 +1,24 @@
|
|
|
1
1
|
export default TabBox;
|
|
2
2
|
type TabBox = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<ContainerProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The container of `<TabList>` and `<TabPanels>`. The component name derives from XUL. This can be
|
|
8
8
|
* omitted if not using vertical tabs.
|
|
9
9
|
*/
|
|
10
|
-
declare const TabBox: import("svelte").Component<{
|
|
11
|
-
/**
|
|
12
|
-
* The `class` attribute on the wrapper element.
|
|
13
|
-
*/
|
|
14
|
-
class?: string | undefined;
|
|
10
|
+
declare const TabBox: import("svelte").Component<ContainerProps & {
|
|
15
11
|
/**
|
|
16
12
|
* Orientation of the widget. This is
|
|
17
13
|
* typically contrary to `<TabList>`’s `orientation`.
|
|
18
14
|
*/
|
|
19
15
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Primary slot content.
|
|
22
|
-
*/
|
|
23
|
-
children?: Snippet<[]> | undefined;
|
|
24
16
|
} & Record<string, any>, {}, "">;
|
|
25
17
|
type Props = {
|
|
26
|
-
/**
|
|
27
|
-
* The `class` attribute on the wrapper element.
|
|
28
|
-
*/
|
|
29
|
-
class?: string | undefined;
|
|
30
18
|
/**
|
|
31
19
|
* Orientation of the widget. This is
|
|
32
20
|
* typically contrary to `<TabList>`’s `orientation`.
|
|
33
21
|
*/
|
|
34
22
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Primary slot content.
|
|
37
|
-
*/
|
|
38
|
-
children?: Snippet<[]> | undefined;
|
|
39
23
|
};
|
|
40
|
-
import type {
|
|
24
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -10,25 +10,20 @@
|
|
|
10
10
|
import { getIndicatorStyle } from './tab-list.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* @import {
|
|
13
|
+
* @import { ContainerProps, WidgetStateProps } from '../../typedefs.js';
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @typedef {object} Props
|
|
18
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
19
|
-
* @property {boolean} [hidden] Whether to hide the widget.
|
|
20
|
-
* @property {boolean} [disabled] Whether to disable the widget. An alias of the `aria-disabled`
|
|
21
|
-
* attribute.
|
|
22
18
|
* @property {'horizontal' | 'vertical'} [orientation] Orientation of the widget. An alias of the
|
|
23
19
|
* `aria-orientation` attribute.
|
|
24
20
|
* @property {string} [name] The `data-name` attribute on the wrapper element.
|
|
25
21
|
* @property {string} [ariaLabel] The `aria-label` attribute on the wrapper element.
|
|
26
|
-
* @property {Snippet} [children] Primary slot content.
|
|
27
22
|
* @property {(event: CustomEvent) => void} [onChange] Custom `Change` event handler.
|
|
28
23
|
*/
|
|
29
24
|
|
|
30
25
|
/**
|
|
31
|
-
* @type {Props & Record<string, any>}
|
|
26
|
+
* @type {ContainerProps & WidgetStateProps & Props & Record<string, any>}
|
|
32
27
|
*/
|
|
33
28
|
let {
|
|
34
29
|
/* eslint-disable prefer-const */
|
|
@@ -1,27 +1,14 @@
|
|
|
1
1
|
export default TabList;
|
|
2
2
|
type TabList = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<ContainerProps & WidgetStateProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* A tab list widget.
|
|
8
8
|
* @see https://w3c.github.io/aria/#tablist
|
|
9
9
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/tabs/
|
|
10
10
|
*/
|
|
11
|
-
declare const TabList: import("svelte").Component<{
|
|
12
|
-
/**
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Whether to hide the widget.
|
|
18
|
-
*/
|
|
19
|
-
hidden?: boolean | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
22
|
-
* attribute.
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean | undefined;
|
|
11
|
+
declare const TabList: import("svelte").Component<ContainerProps & WidgetStateProps & {
|
|
25
12
|
/**
|
|
26
13
|
* Orientation of the widget. An alias of the
|
|
27
14
|
* `aria-orientation` attribute.
|
|
@@ -35,29 +22,12 @@ declare const TabList: import("svelte").Component<{
|
|
|
35
22
|
* The `aria-label` attribute on the wrapper element.
|
|
36
23
|
*/
|
|
37
24
|
ariaLabel?: string | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Primary slot content.
|
|
40
|
-
*/
|
|
41
|
-
children?: Snippet<[]> | undefined;
|
|
42
25
|
/**
|
|
43
26
|
* Custom `Change` event handler.
|
|
44
27
|
*/
|
|
45
28
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
46
29
|
} & Record<string, any>, {}, "">;
|
|
47
30
|
type Props = {
|
|
48
|
-
/**
|
|
49
|
-
* The `class` attribute on the wrapper element.
|
|
50
|
-
*/
|
|
51
|
-
class?: string | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to hide the widget.
|
|
54
|
-
*/
|
|
55
|
-
hidden?: boolean | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
58
|
-
* attribute.
|
|
59
|
-
*/
|
|
60
|
-
disabled?: boolean | undefined;
|
|
61
31
|
/**
|
|
62
32
|
* Orientation of the widget. An alias of the
|
|
63
33
|
* `aria-orientation` attribute.
|
|
@@ -71,13 +41,10 @@ type Props = {
|
|
|
71
41
|
* The `aria-label` attribute on the wrapper element.
|
|
72
42
|
*/
|
|
73
43
|
ariaLabel?: string | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Primary slot content.
|
|
76
|
-
*/
|
|
77
|
-
children?: Snippet<[]> | undefined;
|
|
78
44
|
/**
|
|
79
45
|
* Custom `Change` event handler.
|
|
80
46
|
*/
|
|
81
47
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
82
48
|
};
|
|
83
|
-
import type {
|
|
49
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
50
|
+
import type { WidgetStateProps } from '../../typedefs.js';
|
|
@@ -6,17 +6,11 @@
|
|
|
6
6
|
-->
|
|
7
7
|
<script>
|
|
8
8
|
/**
|
|
9
|
-
* @import {
|
|
9
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* @
|
|
14
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
15
|
-
* @property {Snippet} [children] Primary slot content.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @type {Props & Record<string, any>}
|
|
13
|
+
* @type {ContainerProps & Record<string, any>}
|
|
20
14
|
*/
|
|
21
15
|
let {
|
|
22
16
|
/* eslint-disable prefer-const */
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
export default TabPanel;
|
|
2
2
|
type TabPanel = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* A tab content panel.
|
|
8
8
|
* @see https://w3c.github.io/aria/#tabpanel
|
|
9
9
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/tabs/
|
|
10
10
|
*/
|
|
11
|
-
declare const TabPanel: import("svelte").Component<{
|
|
12
|
-
|
|
13
|
-
* The `class` attribute on the wrapper element.
|
|
14
|
-
*/
|
|
15
|
-
class?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Primary slot content.
|
|
18
|
-
*/
|
|
19
|
-
children?: Snippet<[]> | undefined;
|
|
20
|
-
} & Record<string, any>, {}, "">;
|
|
21
|
-
type Props = {
|
|
22
|
-
/**
|
|
23
|
-
* The `class` attribute on the wrapper element.
|
|
24
|
-
*/
|
|
25
|
-
class?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Primary slot content.
|
|
28
|
-
*/
|
|
29
|
-
children?: Snippet<[]> | undefined;
|
|
30
|
-
};
|
|
31
|
-
import type { Snippet } from 'svelte';
|
|
11
|
+
declare const TabPanel: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
12
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
@@ -5,17 +5,11 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<script>
|
|
7
7
|
/**
|
|
8
|
-
* @import {
|
|
8
|
+
* @import { ContainerProps } from '../../typedefs.js';
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @
|
|
13
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
14
|
-
* @property {Snippet} [children] Primary slot content.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @type {Props & Record<string, any>}
|
|
12
|
+
* @type {ContainerProps & Record<string, any>}
|
|
19
13
|
*/
|
|
20
14
|
let {
|
|
21
15
|
/* eslint-disable prefer-const */
|
|
@@ -1,30 +1,11 @@
|
|
|
1
1
|
export default TabPanels;
|
|
2
2
|
type TabPanels = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<
|
|
4
|
+
$set?(props: Partial<ContainerProps & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* The container of `<TabPanel>`s. The component name derives from XUL. This can be omitted if the
|
|
8
8
|
* child tab panels don’t need a sliding animation.
|
|
9
9
|
*/
|
|
10
|
-
declare const TabPanels: import("svelte").Component<{
|
|
11
|
-
|
|
12
|
-
* The `class` attribute on the wrapper element.
|
|
13
|
-
*/
|
|
14
|
-
class?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Primary slot content.
|
|
17
|
-
*/
|
|
18
|
-
children?: Snippet<[]> | undefined;
|
|
19
|
-
} & Record<string, any>, {}, "">;
|
|
20
|
-
type Props = {
|
|
21
|
-
/**
|
|
22
|
-
* The `class` attribute on the wrapper element.
|
|
23
|
-
*/
|
|
24
|
-
class?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Primary slot content.
|
|
27
|
-
*/
|
|
28
|
-
children?: Snippet<[]> | undefined;
|
|
29
|
-
};
|
|
30
|
-
import type { Snippet } from 'svelte';
|
|
10
|
+
declare const TabPanels: import("svelte").Component<ContainerProps & Record<string, any>, {}, "">;
|
|
11
|
+
import type { ContainerProps } from '../../typedefs.js';
|