@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
|
@@ -14,16 +14,12 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @import { Snippet } from 'svelte';
|
|
16
16
|
* @import { Attachment } from 'svelte/attachments';
|
|
17
|
-
* @import { CommonEventHandlers } from '../../typedefs.js';
|
|
17
|
+
* @import { CommonEventHandlers, WidgetStateProps } from '../../typedefs.js';
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @typedef {object} Props
|
|
22
22
|
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
23
|
-
* @property {boolean} [hidden] Whether to hide the widget. An alias of the `aria-hidden`
|
|
24
|
-
* attribute.
|
|
25
|
-
* @property {boolean} [disabled] Whether to disable the widget. An alias of the `aria-disabled`
|
|
26
|
-
* attribute.
|
|
27
23
|
* @property {boolean} [selected] Whether to select the item. An alias of the `aria-selected`
|
|
28
24
|
* attribute.
|
|
29
25
|
* @property {boolean} [expanded] Whether to expand the item. An alias of the `aria-expanded`
|
|
@@ -46,7 +42,7 @@
|
|
|
46
42
|
*/
|
|
47
43
|
|
|
48
44
|
/**
|
|
49
|
-
* @type {CommonEventHandlers & Props & Record<string, any>}
|
|
45
|
+
* @type {CommonEventHandlers & WidgetStateProps & Props & Record<string, any>}
|
|
50
46
|
*/
|
|
51
47
|
let {
|
|
52
48
|
/* eslint-disable prefer-const */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default TreeItem;
|
|
2
2
|
type TreeItem = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<KeyboardEventHandlers & MouseEventHandlers & PointerEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<KeyboardEventHandlers & MouseEventHandlers & PointerEventHandlers & FocusEventHandlers & DragEventHandlers & WidgetStateProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* An item (node) within the `<Tree>` widget. An item that has the `items` slot content becomes a
|
|
@@ -9,21 +9,11 @@ type TreeItem = {
|
|
|
9
9
|
* @see https://w3c.github.io/aria/#treeitem
|
|
10
10
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/treeview/
|
|
11
11
|
*/
|
|
12
|
-
declare const TreeItem: import("svelte").Component<import("../../typedefs.js").KeyboardEventHandlers & import("../../typedefs.js").MouseEventHandlers & import("../../typedefs.js").PointerEventHandlers & import("../../typedefs.js").FocusEventHandlers & import("../../typedefs.js").DragEventHandlers & {
|
|
12
|
+
declare const TreeItem: import("svelte").Component<import("../../typedefs.js").KeyboardEventHandlers & import("../../typedefs.js").MouseEventHandlers & import("../../typedefs.js").PointerEventHandlers & import("../../typedefs.js").FocusEventHandlers & import("../../typedefs.js").DragEventHandlers & WidgetStateProps & {
|
|
13
13
|
/**
|
|
14
14
|
* The `class` attribute on the wrapper element.
|
|
15
15
|
*/
|
|
16
16
|
class?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Whether to hide the widget. An alias of the `aria-hidden`
|
|
19
|
-
* attribute.
|
|
20
|
-
*/
|
|
21
|
-
hidden?: boolean | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
24
|
-
* attribute.
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean | undefined;
|
|
27
17
|
/**
|
|
28
18
|
* Whether to select the item. An alias of the `aria-selected`
|
|
29
19
|
* attribute.
|
|
@@ -88,16 +78,6 @@ type Props = {
|
|
|
88
78
|
* The `class` attribute on the wrapper element.
|
|
89
79
|
*/
|
|
90
80
|
class?: string | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Whether to hide the widget. An alias of the `aria-hidden`
|
|
93
|
-
* attribute.
|
|
94
|
-
*/
|
|
95
|
-
hidden?: boolean | undefined;
|
|
96
|
-
/**
|
|
97
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
98
|
-
* attribute.
|
|
99
|
-
*/
|
|
100
|
-
disabled?: boolean | undefined;
|
|
101
81
|
/**
|
|
102
82
|
* Whether to select the item. An alias of the `aria-selected`
|
|
103
83
|
* attribute.
|
|
@@ -157,4 +137,5 @@ type Props = {
|
|
|
157
137
|
*/
|
|
158
138
|
onExpand?: ((event: CustomEvent) => void) | undefined;
|
|
159
139
|
};
|
|
140
|
+
import type { WidgetStateProps } from '../../typedefs.js';
|
|
160
141
|
import type { Snippet } from 'svelte';
|
|
@@ -9,18 +9,12 @@
|
|
|
9
9
|
import { activateTree } from '../../services/tree.svelte.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @import {
|
|
13
|
-
* @import { CommonEventHandlers } from '../../typedefs.js';
|
|
12
|
+
* @import { CommonEventHandlers, ContainerProps, WidgetStateProps } from '../../typedefs.js';
|
|
14
13
|
*/
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
16
|
* @typedef {object} Props
|
|
18
17
|
* @property {HTMLElement} [element] A reference to the wrapper element.
|
|
19
|
-
* @property {string} [class] The `class` attribute on the wrapper element.
|
|
20
|
-
* @property {boolean} [hidden] Whether to hide the widget. An alias of the `aria-hidden`
|
|
21
|
-
* attribute.
|
|
22
|
-
* @property {boolean} [disabled] Whether to disable the widget. An alias of the `aria-disabled`
|
|
23
|
-
* attribute.
|
|
24
18
|
* @property {boolean} [readonly] Whether to make the widget read-only. An alias of the
|
|
25
19
|
* `aria-readonly` attribute.
|
|
26
20
|
* @property {boolean} [multiple] Whether to allow selecting more than one `<TreeItem>`. An alias
|
|
@@ -32,12 +26,11 @@
|
|
|
32
26
|
* itself, rather than its chevron, is clicked or activated with the Enter key.
|
|
33
27
|
* @property {string} [ariaLabel] The `aria-label` attribute on the wrapper element. Required
|
|
34
28
|
* unless the `aria-labelledby` attribute is provided.
|
|
35
|
-
* @property {Snippet} [children] Primary slot content.
|
|
36
29
|
* @property {(event: CustomEvent) => void} [onChange] Custom `Change` event handler.
|
|
37
30
|
*/
|
|
38
31
|
|
|
39
32
|
/**
|
|
40
|
-
* @type {CommonEventHandlers & Props & Record<string, any>}
|
|
33
|
+
* @type {CommonEventHandlers & ContainerProps & WidgetStateProps & Props & Record<string, any>}
|
|
41
34
|
*/
|
|
42
35
|
let {
|
|
43
36
|
/* eslint-disable prefer-const */
|
|
@@ -78,7 +71,7 @@
|
|
|
78
71
|
onChange={(/** @type {CustomEvent} */ event) => {
|
|
79
72
|
onChange?.(event);
|
|
80
73
|
}}
|
|
81
|
-
{@attach activateTree({ clickToSelect, selectionFollowsFocus, expandOnSelect })}
|
|
74
|
+
{@attach activateTree(() => ({ clickToSelect, selectionFollowsFocus, expandOnSelect }))}
|
|
82
75
|
>
|
|
83
76
|
<div role="none" class="inner" inert={disabled}>
|
|
84
77
|
{@render children?.()}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default Tree;
|
|
2
2
|
type Tree = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
-
$set?(props: Partial<KeyboardEventHandlers & MouseEventHandlers & PointerEventHandlers & FocusEventHandlers & DragEventHandlers & Props & Record<string, any>>): void;
|
|
4
|
+
$set?(props: Partial<KeyboardEventHandlers & MouseEventHandlers & PointerEventHandlers & FocusEventHandlers & DragEventHandlers & ContainerProps & WidgetStateProps & Props & Record<string, any>>): void;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* A tree view widget that displays a hierarchical list of items, which can be expanded, collapsed
|
|
@@ -9,25 +9,11 @@ type Tree = {
|
|
|
9
9
|
* @see https://w3c.github.io/aria/#tree
|
|
10
10
|
* @see https://www.w3.org/WAI/ARIA/apg/patterns/treeview/
|
|
11
11
|
*/
|
|
12
|
-
declare const Tree: import("svelte").Component<import("../../typedefs.js").KeyboardEventHandlers & import("../../typedefs.js").MouseEventHandlers & import("../../typedefs.js").PointerEventHandlers & import("../../typedefs.js").FocusEventHandlers & import("../../typedefs.js").DragEventHandlers & {
|
|
12
|
+
declare const Tree: import("svelte").Component<import("../../typedefs.js").KeyboardEventHandlers & import("../../typedefs.js").MouseEventHandlers & import("../../typedefs.js").PointerEventHandlers & import("../../typedefs.js").FocusEventHandlers & import("../../typedefs.js").DragEventHandlers & ContainerProps & WidgetStateProps & {
|
|
13
13
|
/**
|
|
14
14
|
* A reference to the wrapper element.
|
|
15
15
|
*/
|
|
16
16
|
element?: HTMLElement | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The `class` attribute on the wrapper element.
|
|
19
|
-
*/
|
|
20
|
-
class?: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Whether to hide the widget. An alias of the `aria-hidden`
|
|
23
|
-
* attribute.
|
|
24
|
-
*/
|
|
25
|
-
hidden?: boolean | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
28
|
-
* attribute.
|
|
29
|
-
*/
|
|
30
|
-
disabled?: boolean | undefined;
|
|
31
17
|
/**
|
|
32
18
|
* Whether to make the widget read-only. An alias of the
|
|
33
19
|
* `aria-readonly` attribute.
|
|
@@ -57,10 +43,6 @@ declare const Tree: import("svelte").Component<import("../../typedefs.js").Keybo
|
|
|
57
43
|
* unless the `aria-labelledby` attribute is provided.
|
|
58
44
|
*/
|
|
59
45
|
ariaLabel?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* Primary slot content.
|
|
62
|
-
*/
|
|
63
|
-
children?: Snippet<[]> | undefined;
|
|
64
46
|
/**
|
|
65
47
|
* Custom `Change` event handler.
|
|
66
48
|
*/
|
|
@@ -71,20 +53,6 @@ type Props = {
|
|
|
71
53
|
* A reference to the wrapper element.
|
|
72
54
|
*/
|
|
73
55
|
element?: HTMLElement | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* The `class` attribute on the wrapper element.
|
|
76
|
-
*/
|
|
77
|
-
class?: string | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Whether to hide the widget. An alias of the `aria-hidden`
|
|
80
|
-
* attribute.
|
|
81
|
-
*/
|
|
82
|
-
hidden?: boolean | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
85
|
-
* attribute.
|
|
86
|
-
*/
|
|
87
|
-
disabled?: boolean | undefined;
|
|
88
56
|
/**
|
|
89
57
|
* Whether to make the widget read-only. An alias of the
|
|
90
58
|
* `aria-readonly` attribute.
|
|
@@ -114,13 +82,10 @@ type Props = {
|
|
|
114
82
|
* unless the `aria-labelledby` attribute is provided.
|
|
115
83
|
*/
|
|
116
84
|
ariaLabel?: string | undefined;
|
|
117
|
-
/**
|
|
118
|
-
* Primary slot content.
|
|
119
|
-
*/
|
|
120
|
-
children?: Snippet<[]> | undefined;
|
|
121
85
|
/**
|
|
122
86
|
* Custom `Change` event handler.
|
|
123
87
|
*/
|
|
124
88
|
onChange?: ((event: CustomEvent) => void) | undefined;
|
|
125
89
|
};
|
|
126
|
-
import type {
|
|
90
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
91
|
+
import type { WidgetStateProps } from '../../typedefs.js';
|
|
@@ -5,21 +5,16 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<script>
|
|
7
7
|
/**
|
|
8
|
-
* @import {
|
|
8
|
+
* @import { ContainerProps, WidgetStateProps } 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
|
-
* @property {boolean} [hidden] Whether to hide the widget.
|
|
15
|
-
* @property {boolean} [disabled] Whether to disable the widget. An alias of the `aria-disabled`
|
|
16
|
-
* attribute.
|
|
17
13
|
* @property {string} [ariaLabel] The `aria-label` attribute on the wrapper element.
|
|
18
|
-
* @property {Snippet} [children] Primary slot content.
|
|
19
14
|
*/
|
|
20
15
|
|
|
21
16
|
/**
|
|
22
|
-
* @type {Props & Record<string, any>}
|
|
17
|
+
* @type {ContainerProps & WidgetStateProps & Props & Record<string, any>}
|
|
23
18
|
*/
|
|
24
19
|
let {
|
|
25
20
|
/* eslint-disable prefer-const */
|
|
@@ -1,56 +1,23 @@
|
|
|
1
1
|
export default Group;
|
|
2
2
|
type Group = {
|
|
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 generic group layout.
|
|
8
8
|
* @see https://w3c.github.io/aria/#group
|
|
9
9
|
*/
|
|
10
|
-
declare const Group: import("svelte").Component<{
|
|
11
|
-
/**
|
|
12
|
-
* The `class` attribute on the wrapper element.
|
|
13
|
-
*/
|
|
14
|
-
class?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Whether to hide the widget.
|
|
17
|
-
*/
|
|
18
|
-
hidden?: boolean | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
21
|
-
* attribute.
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean | undefined;
|
|
10
|
+
declare const Group: import("svelte").Component<ContainerProps & WidgetStateProps & {
|
|
24
11
|
/**
|
|
25
12
|
* The `aria-label` attribute on the wrapper element.
|
|
26
13
|
*/
|
|
27
14
|
ariaLabel?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Primary slot content.
|
|
30
|
-
*/
|
|
31
|
-
children?: Snippet<[]> | undefined;
|
|
32
15
|
} & Record<string, any>, {}, "">;
|
|
33
16
|
type Props = {
|
|
34
|
-
/**
|
|
35
|
-
* The `class` attribute on the wrapper element.
|
|
36
|
-
*/
|
|
37
|
-
class?: string | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Whether to hide the widget.
|
|
40
|
-
*/
|
|
41
|
-
hidden?: boolean | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Whether to disable the widget. An alias of the `aria-disabled`
|
|
44
|
-
* attribute.
|
|
45
|
-
*/
|
|
46
|
-
disabled?: boolean | undefined;
|
|
47
17
|
/**
|
|
48
18
|
* The `aria-label` attribute on the wrapper element.
|
|
49
19
|
*/
|
|
50
20
|
ariaLabel?: string | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* Primary slot content.
|
|
53
|
-
*/
|
|
54
|
-
children?: Snippet<[]> | undefined;
|
|
55
21
|
};
|
|
56
|
-
import type {
|
|
22
|
+
import type { ContainerProps } from '../../typedefs.js';
|
|
23
|
+
import type { WidgetStateProps } from '../../typedefs.js';
|
|
@@ -3,3 +3,12 @@ export function getTransitionTimeout({ transitionDuration, transitionDelay }: {
|
|
|
3
3
|
transitionDuration: string;
|
|
4
4
|
transitionDelay: string;
|
|
5
5
|
}): number;
|
|
6
|
+
/**
|
|
7
|
+
* The modal `<dialog>` elements shown by `<Modal>`, in the order they were opened, the topmost
|
|
8
|
+
* last. The elements are placed in the document in the order the components are mounted, which
|
|
9
|
+
* tells nothing about which one is on top, so others like `<Toast>` can look here instead.
|
|
10
|
+
* @type {HTMLDialogElement[]}
|
|
11
|
+
*/
|
|
12
|
+
export const openModalDialogs: HTMLDialogElement[];
|
|
13
|
+
export function forgetModalDialog(dialog: HTMLDialogElement | undefined): void;
|
|
14
|
+
export function rememberModalDialog(dialog: HTMLDialogElement): void;
|
|
@@ -20,3 +20,33 @@ export const getLongestTime = (value) =>
|
|
|
20
20
|
*/
|
|
21
21
|
export const getTransitionTimeout = ({ transitionDuration, transitionDelay }) =>
|
|
22
22
|
getLongestTime(transitionDuration) + getLongestTime(transitionDelay) + 100;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The modal `<dialog>` elements shown by `<Modal>`, in the order they were opened, the topmost
|
|
26
|
+
* last. The elements are placed in the document in the order the components are mounted, which
|
|
27
|
+
* tells nothing about which one is on top, so others like `<Toast>` can look here instead.
|
|
28
|
+
* @type {HTMLDialogElement[]}
|
|
29
|
+
*/
|
|
30
|
+
export const openModalDialogs = [];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Remove the given `<dialog>` element from {@link openModalDialogs}.
|
|
34
|
+
* @param {HTMLDialogElement | undefined} dialog Element.
|
|
35
|
+
*/
|
|
36
|
+
export const forgetModalDialog = (dialog) => {
|
|
37
|
+
const index = dialog ? openModalDialogs.indexOf(dialog) : -1;
|
|
38
|
+
|
|
39
|
+
if (index > -1) {
|
|
40
|
+
openModalDialogs.splice(index, 1);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Add the given `<dialog>` element to {@link openModalDialogs} as the topmost one, moving it there
|
|
46
|
+
* if it’s already in the list.
|
|
47
|
+
* @param {HTMLDialogElement} dialog Element.
|
|
48
|
+
*/
|
|
49
|
+
export const rememberModalDialog = (dialog) => {
|
|
50
|
+
forgetModalDialog(dialog);
|
|
51
|
+
openModalDialogs.push(dialog);
|
|
52
|
+
};
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
unmount,
|
|
22
22
|
untrack,
|
|
23
23
|
} from 'svelte';
|
|
24
|
-
|
|
24
|
+
// Aliased, since the component has a `restoreFocus` prop of its own
|
|
25
|
+
import { restoreFocus as returnFocus } from '../../services/focus.js';
|
|
26
|
+
import { forgetModalDialog, getTransitionTimeout, rememberModalDialog } from './modal.js';
|
|
25
27
|
import Placeholder from './placeholder.svelte';
|
|
26
28
|
|
|
27
29
|
/**
|
|
@@ -71,6 +73,10 @@
|
|
|
71
73
|
const showDialog = () => {
|
|
72
74
|
if (modal) {
|
|
73
75
|
dialog?.showModal();
|
|
76
|
+
|
|
77
|
+
if (dialog) {
|
|
78
|
+
rememberModalDialog(dialog);
|
|
79
|
+
}
|
|
74
80
|
} else {
|
|
75
81
|
dialog?.show();
|
|
76
82
|
}
|
|
@@ -202,17 +208,7 @@
|
|
|
202
208
|
// synchronously would let the Enter key that submitted the modal activate the button that
|
|
203
209
|
// opened it, immediately reopening the modal.
|
|
204
210
|
restoreFocusTimer = window.setTimeout(() => {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
if (!element.isConnected) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// Only take the focus back if it’s still inside the modal, or nowhere because the modal took
|
|
212
|
-
// it down with itself. If it has already moved on, pulling it back would undo what happened.
|
|
213
|
-
if (!activeElement || activeElement === document.body || dialog?.contains(activeElement)) {
|
|
214
|
-
element.focus();
|
|
215
|
-
}
|
|
211
|
+
returnFocus(element, dialog);
|
|
216
212
|
});
|
|
217
213
|
};
|
|
218
214
|
|
|
@@ -282,6 +278,9 @@
|
|
|
282
278
|
|
|
283
279
|
if (gen !== generation || !dialog || dialog.open) return;
|
|
284
280
|
|
|
281
|
+
// Clear the return value left by a close that has been cut short by this reopening, so it isn’t
|
|
282
|
+
// taken for the return value of the next close. A finished close clears it itself.
|
|
283
|
+
dialog.returnValue = '';
|
|
285
284
|
showDialog();
|
|
286
285
|
onOpen?.(new CustomEvent('Open'));
|
|
287
286
|
// Force a style recalculation, so the browser has a state to transition from. This is required
|
|
@@ -385,6 +384,7 @@
|
|
|
385
384
|
return () => {
|
|
386
385
|
window.clearTimeout(restoreFocusTimer);
|
|
387
386
|
dialog?.close();
|
|
387
|
+
forgetModalDialog(dialog);
|
|
388
388
|
unmount(placeholder);
|
|
389
389
|
};
|
|
390
390
|
});
|
|
@@ -467,6 +467,10 @@
|
|
|
467
467
|
}
|
|
468
468
|
}}
|
|
469
469
|
onclose={() => {
|
|
470
|
+
if (!dialog?.open) {
|
|
471
|
+
forgetModalDialog(dialog);
|
|
472
|
+
}
|
|
473
|
+
|
|
470
474
|
// Closed by `closeDialog()` or on unmount, or already shown again by `openDialog()`
|
|
471
475
|
if (!requestedOpen || !dialog?.isConnected || dialog.open) {
|
|
472
476
|
return;
|
package/dist/index.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export { default as VisibilityObserver } from "./components/util/visibility-obse
|
|
|
87
87
|
export { IMPORT_UPDATE_TAG } from "./components/text-editor/constants.js";
|
|
88
88
|
export { loadCodeHighlighter } from "./components/text-editor/shiki/preload.js";
|
|
89
89
|
export { setCodeHighlighterCacheEnabled } from "./components/text-editor/shiki/cache.js";
|
|
90
|
-
export { highlightCodeToHTML } from "./components/text-editor/shiki/
|
|
90
|
+
export { highlightCodeToHTML } from "./components/text-editor/shiki/engine.js";
|
|
91
91
|
export { setCodeHighlighterLoaders } from "./components/text-editor/shiki/loader.js";
|
|
92
92
|
export { setFontURLs } from "./components/util/fonts.js";
|
|
93
93
|
export * from "./typedefs.js";
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ export { default as VisibilityObserver } from './components/util/visibility-obse
|
|
|
87
87
|
export { IMPORT_UPDATE_TAG } from './components/text-editor/constants.js';
|
|
88
88
|
export { loadCodeHighlighter } from './components/text-editor/shiki/preload.js';
|
|
89
89
|
export { setCodeHighlighterCacheEnabled } from './components/text-editor/shiki/cache.js';
|
|
90
|
-
export { highlightCodeToHTML } from './components/text-editor/shiki/
|
|
90
|
+
export { highlightCodeToHTML } from './components/text-editor/shiki/engine.js';
|
|
91
91
|
export { setCodeHighlighterLoaders } from './components/text-editor/shiki/loader.js';
|
|
92
92
|
export { setFontURLs } from './components/util/fonts.js';
|
|
93
93
|
export { initLocales, strings } from './services/i18n.js';
|
package/dist/locales/ar.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: عنوان 6
|
|
119
119
|
bulleted_list: قائمة نقطية
|
|
120
120
|
numbered_list: قائمة مرقمة
|
|
121
|
+
task_list: قائمة مهام
|
|
121
122
|
blockquote: اقتباس
|
|
122
123
|
code_block: كتلة برمجية
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: عريض
|
|
125
126
|
italic: مائل
|
|
127
|
+
underline: تسطير
|
|
126
128
|
strikethrough: يتوسطه خط
|
|
127
129
|
code: كود
|
|
128
130
|
link: رابط
|
package/dist/locales/bg.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Заглавие 6
|
|
119
119
|
bulleted_list: Неномериран списък
|
|
120
120
|
numbered_list: Номериран списък
|
|
121
|
+
task_list: Списък със задачи
|
|
121
122
|
blockquote: Цитат
|
|
122
123
|
code_block: Блок с код
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Получер
|
|
125
126
|
italic: Курсив
|
|
127
|
+
underline: Подчертан
|
|
126
128
|
strikethrough: Зачертан
|
|
127
129
|
code: Код
|
|
128
130
|
link: Връзка
|
package/dist/locales/ca.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Encapçalament 6
|
|
119
119
|
bulleted_list: Llista amb pics
|
|
120
120
|
numbered_list: Llista numerada
|
|
121
|
+
task_list: Llista de tasques
|
|
121
122
|
blockquote: Bloc de cita
|
|
122
123
|
code_block: Bloc de codi
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Negreta
|
|
125
126
|
italic: Cursiva
|
|
127
|
+
underline: Subratllat
|
|
126
128
|
strikethrough: Barrat
|
|
127
129
|
code: Codi
|
|
128
130
|
link: Enllaç
|
package/dist/locales/cs.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Nadpis 6
|
|
119
119
|
bulleted_list: Seznam s odrážkami
|
|
120
120
|
numbered_list: Číslovaný seznam
|
|
121
|
+
task_list: Seznam úkolů
|
|
121
122
|
blockquote: Citace
|
|
122
123
|
code_block: Blok kódu
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Tučné
|
|
125
126
|
italic: Kurzíva
|
|
127
|
+
underline: Podtržené
|
|
126
128
|
strikethrough: Přeškrtnuté
|
|
127
129
|
code: Kód
|
|
128
130
|
link: Odkaz
|
package/dist/locales/da.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Overskrift 6
|
|
119
119
|
bulleted_list: Punktopstilling
|
|
120
120
|
numbered_list: Nummereret liste
|
|
121
|
+
task_list: Opgaveliste
|
|
121
122
|
blockquote: Citat
|
|
122
123
|
code_block: Kodeblok
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Fed
|
|
125
126
|
italic: Kursiv
|
|
127
|
+
underline: Understreget
|
|
126
128
|
strikethrough: Gennemstreget
|
|
127
129
|
code: Kode
|
|
128
130
|
link: Link
|
package/dist/locales/de.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Überschrift 6
|
|
119
119
|
bulleted_list: Aufzählungsliste
|
|
120
120
|
numbered_list: Nummerierte Liste
|
|
121
|
+
task_list: Aufgabenliste
|
|
121
122
|
blockquote: Zitat
|
|
122
123
|
code_block: Code-Block
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Fett
|
|
125
126
|
italic: Kursiv
|
|
127
|
+
underline: Unterstrichen
|
|
126
128
|
strikethrough: Durchgestrichen
|
|
127
129
|
code: Code
|
|
128
130
|
link: Link
|
package/dist/locales/el.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Επικεφαλίδα 6
|
|
119
119
|
bulleted_list: Λίστα με κουκίδες
|
|
120
120
|
numbered_list: Αριθμημένη λίστα
|
|
121
|
+
task_list: Λίστα εργασιών
|
|
121
122
|
blockquote: Παράθεση
|
|
122
123
|
code_block: Μπλόκ κώδικα
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Έντονα
|
|
125
126
|
italic: Πλάγια
|
|
127
|
+
underline: Υπογράμμιση
|
|
126
128
|
strikethrough: Διακριτή διαγραφή
|
|
127
129
|
code: Κώδικας
|
|
128
130
|
link: Σύνδεσμος
|
package/dist/locales/en-CA.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Heading 6
|
|
119
119
|
bulleted_list: Bulleted List
|
|
120
120
|
numbered_list: Numbered List
|
|
121
|
+
task_list: Task List
|
|
121
122
|
blockquote: Block Quote
|
|
122
123
|
code_block: Code Block
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Bold
|
|
125
126
|
italic: Italic
|
|
127
|
+
underline: Underline
|
|
126
128
|
strikethrough: Strikethrough
|
|
127
129
|
code: Code
|
|
128
130
|
link: Link
|
package/dist/locales/en-GB.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Heading 6
|
|
119
119
|
bulleted_list: Bulleted List
|
|
120
120
|
numbered_list: Numbered List
|
|
121
|
+
task_list: Task List
|
|
121
122
|
blockquote: Block Quote
|
|
122
123
|
code_block: Code Block
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Bold
|
|
125
126
|
italic: Italic
|
|
127
|
+
underline: Underline
|
|
126
128
|
strikethrough: Strikethrough
|
|
127
129
|
code: Code
|
|
128
130
|
link: Link
|
package/dist/locales/en-US.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Heading 6
|
|
119
119
|
bulleted_list: Bulleted List
|
|
120
120
|
numbered_list: Numbered List
|
|
121
|
+
task_list: Task List
|
|
121
122
|
blockquote: Block Quote
|
|
122
123
|
code_block: Code Block
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Bold
|
|
125
126
|
italic: Italic
|
|
127
|
+
underline: Underline
|
|
126
128
|
strikethrough: Strikethrough
|
|
127
129
|
code: Code
|
|
128
130
|
link: Link
|
package/dist/locales/en-ZA.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Heading 6
|
|
119
119
|
bulleted_list: Bulleted List
|
|
120
120
|
numbered_list: Numbered List
|
|
121
|
+
task_list: Task List
|
|
121
122
|
blockquote: Block Quote
|
|
122
123
|
code_block: Code Block
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Bold
|
|
125
126
|
italic: Italic
|
|
127
|
+
underline: Underline
|
|
126
128
|
strikethrough: Strikethrough
|
|
127
129
|
code: Code
|
|
128
130
|
link: Link
|
package/dist/locales/es-CO.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Encabezado 6
|
|
119
119
|
bulleted_list: Lista con viñetas
|
|
120
120
|
numbered_list: Lista numerada
|
|
121
|
+
task_list: Lista de tareas
|
|
121
122
|
blockquote: Cita
|
|
122
123
|
code_block: Bloque de código
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Negrita
|
|
125
126
|
italic: Cursiva
|
|
127
|
+
underline: Subrayado
|
|
126
128
|
strikethrough: Tachado
|
|
127
129
|
code: Código
|
|
128
130
|
link: Enlace
|
package/dist/locales/es-ES.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Encabezado 6
|
|
119
119
|
bulleted_list: Lista con viñetas
|
|
120
120
|
numbered_list: Lista numerada
|
|
121
|
+
task_list: Lista de tareas
|
|
121
122
|
blockquote: Cita
|
|
122
123
|
code_block: Bloque de código
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Negrita
|
|
125
126
|
italic: Cursiva
|
|
127
|
+
underline: Subrayado
|
|
126
128
|
strikethrough: Tachado
|
|
127
129
|
code: Código
|
|
128
130
|
link: Enlace
|
package/dist/locales/fa.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: سرتیتر ۶
|
|
119
119
|
bulleted_list: فهرست نشانهدار
|
|
120
120
|
numbered_list: فهرست شمارهدار
|
|
121
|
+
task_list: فهرست کارها
|
|
121
122
|
blockquote: نقلقول
|
|
122
123
|
code_block: بلوک کد
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: ضخیم
|
|
125
126
|
italic: مورب
|
|
127
|
+
underline: زیرخط
|
|
126
128
|
strikethrough: خطخورده
|
|
127
129
|
code: کد
|
|
128
130
|
link: پیوند
|
package/dist/locales/fi.yaml
CHANGED
|
@@ -118,11 +118,13 @@ text_editor:
|
|
|
118
118
|
heading_6: Otsikko 6
|
|
119
119
|
bulleted_list: Luettelomerkitty luettelo
|
|
120
120
|
numbered_list: Numeroitu luettelo
|
|
121
|
+
task_list: Tehtäväluettelo
|
|
121
122
|
blockquote: Lainaus
|
|
122
123
|
code_block: Koodilohko
|
|
123
124
|
# Inline style button aria-labels
|
|
124
125
|
bold: Lihavointi
|
|
125
126
|
italic: Kursivointi
|
|
127
|
+
underline: Alleviivaus
|
|
126
128
|
strikethrough: Yliviivaus
|
|
127
129
|
code: Koodi
|
|
128
130
|
link: Linkki
|