@sveltia/ui 0.91.0 → 0.92.1
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/conversion/editor-components.js +4 -4
- package/dist/components/text-editor/conversion/html/export.js +1 -1
- package/dist/components/text-editor/conversion/import.js +32 -26
- 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/update.d.ts +19 -2
- package/dist/components/text-editor/conversion/update.js +63 -39
- package/dist/components/text-editor/core.d.ts +12 -51
- package/dist/components/text-editor/core.js +44 -66
- package/dist/components/text-editor/editing/raw-markdown.d.ts +3 -0
- package/dist/components/text-editor/editing/raw-markdown.js +46 -2
- package/dist/components/text-editor/lexical-root.svelte +49 -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 +53 -145
- package/dist/components/text-editor/text-editor.svelte.d.ts +5 -103
- 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 +26 -24
- 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 +16 -4
- 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 +34 -33
- 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 +33 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/hu.yaml +176 -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 +103 -4
- package/dist/typedefs.js +60 -4
- package/package.json +2 -2
- 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
|
@@ -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
|
/**
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
let {
|
|
35
37
|
/* eslint-disable prefer-const */
|
|
36
38
|
open = $bindable(false),
|
|
37
|
-
dialog = $bindable(),
|
|
39
|
+
dialog: boundDialog = $bindable(),
|
|
38
40
|
class: className,
|
|
39
41
|
role = 'dialog',
|
|
40
42
|
modal = true,
|
|
@@ -55,6 +57,15 @@
|
|
|
55
57
|
/* eslint-enable prefer-const */
|
|
56
58
|
} = $props();
|
|
57
59
|
|
|
60
|
+
/**
|
|
61
|
+
* A reference to the `<dialog>` element. This is kept apart from the bindable `dialog` prop: when
|
|
62
|
+
* the consumer doesn’t bind that prop, Svelte discards the value assigned to it locally as soon
|
|
63
|
+
* as any of the props spread onto this component changes, such as the labelling attributes of a
|
|
64
|
+
* `<Dialog>` whose title has been updated, which would leave the modal unable to open or close.
|
|
65
|
+
* @type {HTMLDialogElement | undefined}
|
|
66
|
+
*/
|
|
67
|
+
let dialog = $state.raw();
|
|
68
|
+
|
|
58
69
|
/**
|
|
59
70
|
* Focus the `<dialog>` element. It has `tabindex="-1"`, so it can receive focus programmatically,
|
|
60
71
|
* allowing assistive technology to announce the modal’s label and description.
|
|
@@ -71,6 +82,10 @@
|
|
|
71
82
|
const showDialog = () => {
|
|
72
83
|
if (modal) {
|
|
73
84
|
dialog?.showModal();
|
|
85
|
+
|
|
86
|
+
if (dialog) {
|
|
87
|
+
rememberModalDialog(dialog);
|
|
88
|
+
}
|
|
74
89
|
} else {
|
|
75
90
|
dialog?.show();
|
|
76
91
|
}
|
|
@@ -202,17 +217,7 @@
|
|
|
202
217
|
// synchronously would let the Enter key that submitted the modal activate the button that
|
|
203
218
|
// opened it, immediately reopening the modal.
|
|
204
219
|
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
|
-
}
|
|
220
|
+
returnFocus(element, dialog);
|
|
216
221
|
});
|
|
217
222
|
};
|
|
218
223
|
|
|
@@ -282,6 +287,9 @@
|
|
|
282
287
|
|
|
283
288
|
if (gen !== generation || !dialog || dialog.open) return;
|
|
284
289
|
|
|
290
|
+
// Clear the return value left by a close that has been cut short by this reopening, so it isn’t
|
|
291
|
+
// taken for the return value of the next close. A finished close clears it itself.
|
|
292
|
+
dialog.returnValue = '';
|
|
285
293
|
showDialog();
|
|
286
294
|
onOpen?.(new CustomEvent('Open'));
|
|
287
295
|
// Force a style recalculation, so the browser has a state to transition from. This is required
|
|
@@ -385,6 +393,7 @@
|
|
|
385
393
|
return () => {
|
|
386
394
|
window.clearTimeout(restoreFocusTimer);
|
|
387
395
|
dialog?.close();
|
|
396
|
+
forgetModalDialog(dialog);
|
|
388
397
|
unmount(placeholder);
|
|
389
398
|
};
|
|
390
399
|
});
|
|
@@ -417,7 +426,13 @@
|
|
|
417
426
|
{#snippet dialogSnippet()}
|
|
418
427
|
{#if mounted}
|
|
419
428
|
<dialog
|
|
420
|
-
bind:this={
|
|
429
|
+
bind:this={
|
|
430
|
+
() => dialog,
|
|
431
|
+
(element) => {
|
|
432
|
+
dialog = element;
|
|
433
|
+
boundDialog = element;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
421
436
|
tabindex="-1"
|
|
422
437
|
{...restProps}
|
|
423
438
|
inert={!setOpenClass}
|
|
@@ -467,6 +482,10 @@
|
|
|
467
482
|
}
|
|
468
483
|
}}
|
|
469
484
|
onclose={() => {
|
|
485
|
+
if (!dialog?.open) {
|
|
486
|
+
forgetModalDialog(dialog);
|
|
487
|
+
}
|
|
488
|
+
|
|
470
489
|
// Closed by `closeDialog()` or on unmount, or already shown again by `openDialog()`
|
|
471
490
|
if (!requestedOpen || !dialog?.isConnected || dialog.open) {
|
|
472
491
|
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';
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Dialog action button labels
|
|
2
|
+
ok: OK
|
|
3
|
+
cancel: Mégse
|
|
4
|
+
close: Bezárás
|
|
5
|
+
|
|
6
|
+
# Button to clear content, e.g. search input or calendar date
|
|
7
|
+
clear: Törlés
|
|
8
|
+
|
|
9
|
+
# Text editor dialog buttons for link/image insertion
|
|
10
|
+
insert: Beszúrás
|
|
11
|
+
update: Frissítés
|
|
12
|
+
remove: Eltávolítás
|
|
13
|
+
|
|
14
|
+
# Combobox dropdown toggle button aria-labels
|
|
15
|
+
collapse: Összecsukás
|
|
16
|
+
expand: Kibontás
|
|
17
|
+
|
|
18
|
+
# Infobar/toast dismiss button label
|
|
19
|
+
dismiss: Elvetés
|
|
20
|
+
|
|
21
|
+
# Alert & infobar status, read out by screen readers before the message (visually hidden)
|
|
22
|
+
alert:
|
|
23
|
+
error: Hiba
|
|
24
|
+
warning: Figyelmeztetés
|
|
25
|
+
info: Információ
|
|
26
|
+
success: Siker
|
|
27
|
+
|
|
28
|
+
# Role descriptions, read out by screen readers in place of the generic “group” role
|
|
29
|
+
role_descriptions:
|
|
30
|
+
disclosure: kibontható panel
|
|
31
|
+
option_group: lehetőségcsoport
|
|
32
|
+
menu_item_group: menüelem-csoport
|
|
33
|
+
checkbox_group: jelölőnégyzet-csoport
|
|
34
|
+
table_head: táblázatfejléc
|
|
35
|
+
table_body: táblázattörzs
|
|
36
|
+
table_foot: táblázatlábléc
|
|
37
|
+
grid_head: rácsfejléc
|
|
38
|
+
grid_body: rácstörzs
|
|
39
|
+
grid_foot: rácslábléc
|
|
40
|
+
|
|
41
|
+
# Emoji suggestion listbox aria-label, shared by the text fields and the text editor
|
|
42
|
+
emoji_suggestions: Emojijavaslatok
|
|
43
|
+
|
|
44
|
+
# Calendar component
|
|
45
|
+
calendar:
|
|
46
|
+
# View switcher group aria-labels and navigation button aria-labels
|
|
47
|
+
year: Év
|
|
48
|
+
previous_decade: Előző évtized
|
|
49
|
+
next_decade: Következő évtized
|
|
50
|
+
month: Hónap
|
|
51
|
+
previous_month: Előző hónap
|
|
52
|
+
next_month: Következő hónap
|
|
53
|
+
# “Today” button label in footer
|
|
54
|
+
today: Ma
|
|
55
|
+
|
|
56
|
+
# Split button component
|
|
57
|
+
split_button:
|
|
58
|
+
# Wrapper aria-label, e.g. “Save Options” when primary button is “Save”
|
|
59
|
+
x_options: 'Beállítások: {$name}'
|
|
60
|
+
# Dropdown toggle aria-label
|
|
61
|
+
more_options: További lehetőségek
|
|
62
|
+
|
|
63
|
+
# Combobox component
|
|
64
|
+
combobox:
|
|
65
|
+
# Placeholder when no option is selected
|
|
66
|
+
select_an_option: Lehetőség kiválasztása…
|
|
67
|
+
# Filter input aria-label
|
|
68
|
+
filter_options: Lehetőségek szűrése
|
|
69
|
+
# Empty state message when filter has no matches
|
|
70
|
+
no_matching_options: Nincs egyező lehetőség
|
|
71
|
+
|
|
72
|
+
# Number input component
|
|
73
|
+
number_input:
|
|
74
|
+
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
|
+
increase: Növelés
|
|
76
|
+
decrease: Csökkentés
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: '{$min} és {$max} között'
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Legalább {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Legfeljebb {$max}
|
|
83
|
+
|
|
84
|
+
# Password input component
|
|
85
|
+
password_input:
|
|
86
|
+
# Visibility toggle button aria-labels
|
|
87
|
+
show_password: Jelszó megjelenítése
|
|
88
|
+
hide_password: Jelszó elrejtése
|
|
89
|
+
|
|
90
|
+
# Secret input component (API keys, tokens, etc.)
|
|
91
|
+
secret_input:
|
|
92
|
+
# Visibility toggle button aria-labels
|
|
93
|
+
show_secret: Titkos érték megjelenítése
|
|
94
|
+
hide_secret: Titkos érték elrejtése
|
|
95
|
+
|
|
96
|
+
# Select tags component (multi-select)
|
|
97
|
+
select_tags:
|
|
98
|
+
# Listbox aria-label
|
|
99
|
+
selected_options: Kiválasztott lehetőségek
|
|
100
|
+
# Remove button aria-label, e.g. “Remove Option 1”
|
|
101
|
+
remove_x: '{$name} eltávolítása'
|
|
102
|
+
|
|
103
|
+
# Text editor component
|
|
104
|
+
text_editor:
|
|
105
|
+
# Toolbar aria-labels
|
|
106
|
+
text_editor: Szövegszerkesztő
|
|
107
|
+
code_editor: Kódszerkesztő
|
|
108
|
+
# Block style menu button and menu aria-labels
|
|
109
|
+
text_style_options: Szövegstílus-beállítások
|
|
110
|
+
show_text_style_options: Szövegstílus-beállítások megjelenítése
|
|
111
|
+
# Block style menu items
|
|
112
|
+
paragraph: Bekezdés
|
|
113
|
+
heading_1: Címsor 1
|
|
114
|
+
heading_2: Címsor 2
|
|
115
|
+
heading_3: Címsor 3
|
|
116
|
+
heading_4: Címsor 4
|
|
117
|
+
heading_5: Címsor 5
|
|
118
|
+
heading_6: Címsor 6
|
|
119
|
+
bulleted_list: Felsorolás
|
|
120
|
+
numbered_list: Számozott lista
|
|
121
|
+
task_list: Feladatlista
|
|
122
|
+
blockquote: Idézet
|
|
123
|
+
code_block: Kódblokk
|
|
124
|
+
# Inline style button aria-labels
|
|
125
|
+
bold: Félkövér
|
|
126
|
+
italic: Dőlt
|
|
127
|
+
underline: Aláhúzott
|
|
128
|
+
strikethrough: Áthúzott
|
|
129
|
+
code: Kód
|
|
130
|
+
link: Hivatkozás
|
|
131
|
+
# Link dialog title
|
|
132
|
+
insert_link: Hivatkozás beszúrása
|
|
133
|
+
# Floating link editor button aria-labels
|
|
134
|
+
edit_link: Hivatkozás szerkesztése
|
|
135
|
+
remove_link: Hivatkozás eltávolítása
|
|
136
|
+
# Link dialog input field labels
|
|
137
|
+
text: Szöveg
|
|
138
|
+
url: URL
|
|
139
|
+
# Link dialog checkbox label and floating link editor button aria-label
|
|
140
|
+
open_in_new_tab: Megnyitás új lapon
|
|
141
|
+
# Table dialog title
|
|
142
|
+
insert_table: Táblázat beszúrása
|
|
143
|
+
# Table dialog input field labels
|
|
144
|
+
rows: Sorok
|
|
145
|
+
columns: Oszlopok
|
|
146
|
+
# Table menu button and menu aria-labels
|
|
147
|
+
table_options: Táblázatbeállítások
|
|
148
|
+
show_table_options: Táblázatbeállítások megjelenítése
|
|
149
|
+
# Table menu items
|
|
150
|
+
insert_row_above: Sor beszúrása fölé
|
|
151
|
+
insert_row_below: Sor beszúrása alá
|
|
152
|
+
insert_column_left: Oszlop beszúrása balra
|
|
153
|
+
insert_column_right: Oszlop beszúrása jobbra
|
|
154
|
+
delete_row: Sor törlése
|
|
155
|
+
delete_column: Oszlop törlése
|
|
156
|
+
delete_table: Táblázat törlése
|
|
157
|
+
# Horizontal rule button aria-label
|
|
158
|
+
insert_horizontal_rule: Vízszintes vonal beszúrása
|
|
159
|
+
# Alignment menu button and menu aria-labels
|
|
160
|
+
alignment_options: Igazítási beállítások
|
|
161
|
+
show_alignment_options: Igazítási beállítások megjelenítése
|
|
162
|
+
# Alignment menu items
|
|
163
|
+
align_left: Balra igazítás
|
|
164
|
+
align_center: Középre igazítás
|
|
165
|
+
align_right: Jobbra igazítás
|
|
166
|
+
align_justify: Sorkizárt igazítás
|
|
167
|
+
# Markdown mode toggle button aria-label
|
|
168
|
+
edit_in_markdown: Szerkesztés Markdownban
|
|
169
|
+
# HTML mode toggle button aria-label
|
|
170
|
+
edit_in_html: Szerkesztés HTML-ben
|
|
171
|
+
# Error message when rich text conversion fails
|
|
172
|
+
converter_error: Nem sikerült bekapcsolni a formázott szöveges módot. Helyette az egyszerű szöveges szerkesztő használható.
|
|
173
|
+
# Language selector aria-label
|
|
174
|
+
language: Nyelv
|
|
175
|
+
# Plain text mode option in language selector
|
|
176
|
+
plain_text: Egyszerű szöveg
|