@nldd/design-system 0.11.0 → 0.13.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/custom-elements.json +2726 -617
- package/dist/components/actions/button-group/button-group.d.ts +4 -3
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +4 -3
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +6 -6
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +3 -0
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/components.js +21704 -19266
- package/dist/components/content/avatar/avatar.d.ts +2 -1
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +12 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +30 -2
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +96 -7
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +35 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +52 -29
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +14 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.diff.d.ts +40 -0
- package/dist/components/content/code-viewer/code-viewer.diff.d.ts.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.diff.js +261 -0
- package/dist/components/content/code-viewer/code-viewer.diff.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.i18n.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.i18n.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.i18n.js +9 -0
- package/dist/components/content/code-viewer/code-viewer.i18n.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +98 -6
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +180 -14
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +5 -4
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +32 -4
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +19 -0
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +19 -4
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +10 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +10 -0
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +2 -0
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{dist-Bo5Jeyfn.js → dist-B5E3q-ea.js} +2 -1
- package/dist/components/{dist-DbNhCpS5.js → dist-BFw_yEMS.js} +2 -1
- package/dist/components/{dist-DnZmcpbQ.js → dist-BNLAXAyO.js} +2 -1
- package/dist/components/{dist-DkqAbJH8.js → dist-BOVSVPSz.js} +1 -1
- package/dist/components/{dist-Ch3gNAuT.js → dist-BPB3rWnd.js} +2 -1
- package/dist/components/{dist-Bud_7w5g.js → dist-BWlUmyq3.js} +34 -2869
- package/dist/components/dist-CC8oiVtm.js +366 -0
- package/dist/components/dist-COKR0tYU.js +2860 -0
- package/dist/components/{dist-CaxHkqR2.js → dist-Co-tsc9S.js} +4 -3
- package/dist/components/{dist-iC2RTM0V.js → dist-D_9ZyZ5v.js} +3 -2
- package/dist/components/{dist-BB5mlo7D.js → dist-Dn9pjiud.js} +3 -2
- package/dist/components/{dist-B2QcygzG.js → dist-Dz28se9B.js} +2 -1
- package/dist/components/{dist-CA0yDFIt.js → dist-IPm8ilWf.js} +3 -2
- package/dist/components/{icon-zNX9A6d3.js → icon-BJHKWhY5.js} +39 -8
- package/dist/components/{icon-button-Cntrg4_E.js → icon-button-DhBIq6lN.js} +75 -2
- package/dist/components/inputs/code-editor/code-editor.d.ts +4 -54
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +22 -262
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +43 -6
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +2 -2
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +86 -10
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.drop.d.ts +34 -0
- package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.drop.js +176 -0
- package/dist/components/inputs/file-field/file-field.drop.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +20 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.js +20 -1
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +283 -15
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +245 -10
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +167 -28
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +22 -0
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.truncate.js +62 -0
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts +16 -0
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.clipboard.js +50 -0
- package/dist/components/inputs/text-editor/text-editor.clipboard.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts +10 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js +141 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +31 -58
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +17 -64
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.drag.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.drag.js +2 -1
- package/dist/components/inputs/text-editor/text-editor.drag.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +55 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +6 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +305 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +126 -315
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.keymap.d.ts +6 -0
- package/dist/components/inputs/text-editor/text-editor.keymap.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.keymap.js +38 -0
- package/dist/components/inputs/text-editor/text-editor.keymap.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +11 -9
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts +1 -17
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +32 -188
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts +52 -0
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.mention.js +186 -0
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +0 -16
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +1 -41
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.selection.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.selection.js +72 -0
- package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js +4 -6
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +301 -60
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.syntax.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.syntax.js +44 -0
- package/dist/components/inputs/text-editor/text-editor.syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts +17 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js +109 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js.map +1 -0
- package/dist/components/layout/page-sections/hero/hero-corner.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +61 -0
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +6 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +16 -0
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +13 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +2 -0
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -2
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +3 -2
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +9 -4
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +18 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +14 -0
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/css/rich-text.css +61 -1
- package/dist/css/themes/donkergeel.css +12 -3
- package/dist/css/themes/geel.css +12 -3
- package/dist/css/themes.css +24 -6
- package/dist/css/variables.css +16 -10
- package/dist/nldd.min.js +2217 -1329
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +34 -4
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +29 -4
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +34 -4
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +29 -4
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +29 -4
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +43 -39
- package/dist/utilities/carried-context.d.ts +20 -0
- package/dist/utilities/carried-context.d.ts.map +1 -0
- package/dist/utilities/carried-context.js +76 -0
- package/dist/utilities/carried-context.js.map +1 -0
- package/dist/utilities/codemirror/codemirror-input.d.ts +90 -0
- package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -0
- package/dist/utilities/codemirror/codemirror-input.js +250 -0
- package/dist/utilities/codemirror/codemirror-input.js.map +1 -0
- package/dist/utilities/codemirror/languages.d.ts +5 -1
- package/dist/utilities/codemirror/languages.d.ts.map +1 -1
- package/dist/utilities/codemirror/languages.js +21 -1
- package/dist/utilities/codemirror/languages.js.map +1 -1
- package/dist/utilities/dismiss-from-title-bar.d.ts +1 -1
- package/dist/utilities/dismiss-from-title-bar.js +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { Decoration, EditorView, ViewPlugin, WidgetType } from '@codemirror/view';
|
|
2
|
+
import { Prec, StateField } from '@codemirror/state';
|
|
3
|
+
import { syntaxTree } from '@codemirror/language';
|
|
4
|
+
import { isMentionLink } from './text-editor.mention.js';
|
|
5
|
+
import { forEachLineStart, treeAdvanced } from './text-editor.syntax.js';
|
|
6
|
+
import { taskBox } from './text-editor.tasks.js';
|
|
7
|
+
/* syntax="hidden": the formatting marks of bold, italic, strikethrough, inline
|
|
8
|
+
* code, links and headings are hidden, a bullet reads as a dot, a quote as a
|
|
9
|
+
* line on the left and a `---` line as a divider.
|
|
10
|
+
* Where the caret or the selection touches a construct, its marks come back,
|
|
11
|
+
* so what you edit is the markdown as it is. The document stays plain markdown;
|
|
12
|
+
* only the picture changes. A read-only or disabled editor has no caret to
|
|
13
|
+
* reveal anything, so there every mark is hidden.
|
|
14
|
+
*
|
|
15
|
+
* A code block loses its closing fence line, since its own tint and edge
|
|
16
|
+
* already say what it is. Its opening line stays as the head of the block, with
|
|
17
|
+
* the language as a label and a copy button, and only its backticks go. A numbered list keeps its numbers, in the color
|
|
18
|
+
* of the text: those are content. */
|
|
19
|
+
/** The marks hidden inside inline constructs, by the construct they belong to. */
|
|
20
|
+
const INLINE_MARKS = {
|
|
21
|
+
EmphasisMark: ['Emphasis', 'StrongEmphasis'],
|
|
22
|
+
StrikethroughMark: ['Strikethrough'],
|
|
23
|
+
CodeMark: ['InlineCode'],
|
|
24
|
+
};
|
|
25
|
+
const hideMark = Decoration.replace({});
|
|
26
|
+
// The character stays, in its mono width, so a wrapped line still aligns; a dot
|
|
27
|
+
// is drawn over it (see .cm-md-bullet).
|
|
28
|
+
const bullet = Decoration.mark({ class: 'cm-md-bullet' });
|
|
29
|
+
// A task reads as its box alone, in the place of the bullet: the bullet and the
|
|
30
|
+
// space after it are taken out, and the line's hanging indent shrinks with them.
|
|
31
|
+
const TASK_PREFIX_RE = /^(\s*)[-*+]\s+\[[ xX]\](\s+)/;
|
|
32
|
+
/** The width of the box in mono advances; matches .cm-md-task-box. */
|
|
33
|
+
const TASK_BOX_WIDTH = 2.5;
|
|
34
|
+
// !important: CodeMirror joins this style with the full-prefix indent of the
|
|
35
|
+
// list into one style attribute, where that one comes last and would win.
|
|
36
|
+
const taskIndentCache = {};
|
|
37
|
+
function taskIndent(length) {
|
|
38
|
+
return (taskIndentCache[length] ?? (taskIndentCache[length] = Decoration.line({
|
|
39
|
+
attributes: {
|
|
40
|
+
style: `text-indent:calc(${length} * var(--_text-editor-marker-advance) * -1) !important;padding-left:calc(${length} * var(--_text-editor-marker-advance)) !important`,
|
|
41
|
+
},
|
|
42
|
+
})));
|
|
43
|
+
}
|
|
44
|
+
// The number of a numbered list is content, so it takes the color of the text
|
|
45
|
+
// rather than the dimmed color of a mark. Only the color: the mono width stays.
|
|
46
|
+
const ordinal = Decoration.mark({ class: 'cm-md-ordinal' });
|
|
47
|
+
// A quote reads as a line on the left. Its `>` keeps its width, so the text
|
|
48
|
+
// starts in the same place whether the line or the marks show. The whole quote
|
|
49
|
+
// is the construct: the caret anywhere in it shows every `>` and drops the line.
|
|
50
|
+
const quoteLine = Decoration.line({ class: 'cm-md-quote-line' });
|
|
51
|
+
const quoteMark = Decoration.mark({ class: 'cm-md-quote-mark-hidden' });
|
|
52
|
+
// With its backticks hidden, inline code gets room inside its tint as padding on
|
|
53
|
+
// the text. Not as a widget: Safari measured the selection wrong beside one.
|
|
54
|
+
const bareCode = Decoration.mark({ class: 'cm-md-code-bare' });
|
|
55
|
+
class RuleWidget extends WidgetType {
|
|
56
|
+
toDOM() {
|
|
57
|
+
const rule = document.createElement('span');
|
|
58
|
+
rule.className = 'cm-md-rule';
|
|
59
|
+
rule.setAttribute('aria-hidden', 'true');
|
|
60
|
+
return rule;
|
|
61
|
+
}
|
|
62
|
+
eq() {
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
ignoreEvent() {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const rule = Decoration.replace({ widget: new RuleWidget() });
|
|
70
|
+
function outermostQuote(node) {
|
|
71
|
+
let outer = node;
|
|
72
|
+
for (let up = node.parent; up; up = up.parent)
|
|
73
|
+
if (up.name === 'Blockquote')
|
|
74
|
+
outer = up;
|
|
75
|
+
return outer;
|
|
76
|
+
}
|
|
77
|
+
function revealsAnything(state) {
|
|
78
|
+
return !state.readOnly && state.facet(EditorView.editable);
|
|
79
|
+
}
|
|
80
|
+
function touchesSelection(state, from, to) {
|
|
81
|
+
return revealsAnything(state) && state.selection.ranges.some((range) => range.from <= to && range.to >= from);
|
|
82
|
+
}
|
|
83
|
+
const hideLine = Decoration.replace({ block: true });
|
|
84
|
+
const hideFence = Decoration.replace({});
|
|
85
|
+
// The language of a code block is information, not markup: its fence line stays
|
|
86
|
+
// as a label in the secondary color, with only the backticks taken out.
|
|
87
|
+
const codeLanguage = Decoration.mark({ class: 'cm-md-code-language' });
|
|
88
|
+
/** The fence lines of every code block the selection does not touch. Taking a
|
|
89
|
+
* whole line out is a block decoration, which only a state field may give. */
|
|
90
|
+
// A code block sits at the top level, in a list item or in a quote; nothing
|
|
91
|
+
// else can hold one, so the walk does not descend into it.
|
|
92
|
+
const FENCE_CONTAINERS = new Set(['Document', 'Blockquote', 'BulletList', 'OrderedList', 'ListItem']);
|
|
93
|
+
function buildHiddenFences(state) {
|
|
94
|
+
const ranges = [];
|
|
95
|
+
syntaxTree(state).iterate({
|
|
96
|
+
enter: (node) => {
|
|
97
|
+
if (node.name !== 'FencedCode')
|
|
98
|
+
return FENCE_CONTAINERS.has(node.name);
|
|
99
|
+
if (touchesSelection(state, node.from, node.to))
|
|
100
|
+
return false;
|
|
101
|
+
const fences = node.node.getChildren('CodeMark').map((mark) => state.doc.lineAt(mark.from));
|
|
102
|
+
const first = state.doc.lineAt(node.from).number;
|
|
103
|
+
const last = state.doc.lineAt(node.to).number;
|
|
104
|
+
// A block with no lines of its own would vanish with its fences.
|
|
105
|
+
if (last - first + 1 <= fences.length)
|
|
106
|
+
return false;
|
|
107
|
+
// The opening line stays, as the head of the block: the language on the
|
|
108
|
+
// left, the copy button on the right (text-editor.code-copy.ts). Only its
|
|
109
|
+
// backticks go.
|
|
110
|
+
const info = node.node.getChild('CodeInfo');
|
|
111
|
+
const open = node.node.getChild('CodeMark');
|
|
112
|
+
for (const [index, line] of fences.entries()) {
|
|
113
|
+
if (index === 0) {
|
|
114
|
+
ranges.push(hideFence.range(open.from, info ? info.from : open.to));
|
|
115
|
+
if (info)
|
|
116
|
+
ranges.push(codeLanguage.range(info.from, info.to));
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
ranges.push(hideLine.range(line.from, line.to));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return false;
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
return Decoration.set(ranges, true);
|
|
126
|
+
}
|
|
127
|
+
/** The code blocks the selection touches, as a key: a caret that moves within
|
|
128
|
+
* a block, or between lines of text, leaves the fences as they are. */
|
|
129
|
+
function touchedFences(state) {
|
|
130
|
+
const touched = [];
|
|
131
|
+
for (const range of state.selection.ranges) {
|
|
132
|
+
syntaxTree(state).iterate({
|
|
133
|
+
from: range.from,
|
|
134
|
+
to: range.to,
|
|
135
|
+
enter: (node) => {
|
|
136
|
+
if (node.name === 'FencedCode')
|
|
137
|
+
touched.push(node.from);
|
|
138
|
+
return node.name !== 'FencedCode' && FENCE_CONTAINERS.has(node.name);
|
|
139
|
+
},
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
return touched.join(',');
|
|
143
|
+
}
|
|
144
|
+
const hiddenFences = StateField.define({
|
|
145
|
+
create: buildHiddenFences,
|
|
146
|
+
update: (value, tr) => {
|
|
147
|
+
if (tr.docChanged || tr.reconfigured || treeAdvanced(tr.startState, tr.state))
|
|
148
|
+
return buildHiddenFences(tr.state);
|
|
149
|
+
if (tr.selection && touchedFences(tr.startState) !== touchedFences(tr.state))
|
|
150
|
+
return buildHiddenFences(tr.state);
|
|
151
|
+
return value;
|
|
152
|
+
},
|
|
153
|
+
provide: (field) => EditorView.decorations.from(field),
|
|
154
|
+
});
|
|
155
|
+
function buildHidden(view) {
|
|
156
|
+
const { state } = view;
|
|
157
|
+
const revealed = (from, to) => touchesSelection(state, from, to);
|
|
158
|
+
const ranges = [];
|
|
159
|
+
for (const { from, to } of view.visibleRanges) {
|
|
160
|
+
syntaxTree(state).iterate({
|
|
161
|
+
from,
|
|
162
|
+
to,
|
|
163
|
+
enter: (node) => {
|
|
164
|
+
const parent = node.node.parent;
|
|
165
|
+
if (node.name === 'HorizontalRule') {
|
|
166
|
+
if (!revealed(node.from, node.to))
|
|
167
|
+
ranges.push(rule.range(node.from, node.to));
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
if (node.name === 'Blockquote') {
|
|
171
|
+
// The outermost quote is the construct; a nested one lies inside it.
|
|
172
|
+
const outer = outermostQuote(node.node);
|
|
173
|
+
if (outer !== node.node || revealed(outer.from, outer.to))
|
|
174
|
+
return;
|
|
175
|
+
forEachLineStart(state, outer.from, outer.to, (lineFrom) => ranges.push(quoteLine.range(lineFrom)));
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
if (!parent)
|
|
179
|
+
return;
|
|
180
|
+
if (node.name === 'QuoteMark') {
|
|
181
|
+
const outer = outermostQuote(node.node);
|
|
182
|
+
const end = state.sliceDoc(node.to, node.to + 1) === ' ' ? node.to + 1 : node.to;
|
|
183
|
+
if (!revealed(outer.from, outer.to))
|
|
184
|
+
ranges.push(quoteMark.range(node.from, end));
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
// A bullet only once it is a real list item, followed by a space, so
|
|
188
|
+
// typing "-" does not flash a dot before a list exists. Its character
|
|
189
|
+
// shows on the line the caret is on.
|
|
190
|
+
if (node.name === 'ListMark' && /^[-*+]$/.test(state.sliceDoc(node.from, node.to)) && /^[ \t]/.test(state.sliceDoc(node.to, node.to + 1))) {
|
|
191
|
+
const line = state.doc.lineAt(node.from);
|
|
192
|
+
if (revealed(line.from, line.to))
|
|
193
|
+
return;
|
|
194
|
+
const task = TASK_PREFIX_RE.exec(line.text);
|
|
195
|
+
const marker = task && node.node.parent?.getChild('Task')?.getChild('TaskMarker');
|
|
196
|
+
if (task && marker) {
|
|
197
|
+
ranges.push(taskIndent(task[1].length + TASK_BOX_WIDTH + task[2].length).range(line.from), hideMark.range(node.from, marker.from), taskBox(state, /x/i.test(state.sliceDoc(marker.from, marker.to))).range(marker.from, marker.to));
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
ranges.push(bullet.range(node.from, node.to));
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (node.name === 'ListMark' && /^\d+[.)]$/.test(state.sliceDoc(node.from, node.to))) {
|
|
204
|
+
ranges.push(ordinal.range(node.from, node.to));
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (node.name === 'HeaderMark' && parent.name.startsWith('ATXHeading')) {
|
|
208
|
+
const end = state.sliceDoc(node.to, node.to + 1) === ' ' ? node.to + 1 : node.to;
|
|
209
|
+
if (!revealed(parent.from, parent.to))
|
|
210
|
+
ranges.push(hideMark.range(node.from, end));
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
// A link shows only its text. A mention is a token of its own already.
|
|
214
|
+
if (node.name === 'Link') {
|
|
215
|
+
const url = node.node.getChild('URL');
|
|
216
|
+
const marks = node.node.getChildren('LinkMark');
|
|
217
|
+
if (!url || marks.length < 2 || isMentionLink(state, node.node))
|
|
218
|
+
return;
|
|
219
|
+
if (!revealed(node.from, node.to)) {
|
|
220
|
+
ranges.push(hideMark.range(marks[0].from, marks[0].to), hideMark.range(marks[1].from, node.to));
|
|
221
|
+
}
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
if (!INLINE_MARKS[node.name]?.includes(parent.name) || revealed(parent.from, parent.to))
|
|
225
|
+
return;
|
|
226
|
+
ranges.push(hideMark.range(node.from, node.to));
|
|
227
|
+
if (node.name === 'CodeMark' && node.from === parent.from) {
|
|
228
|
+
const close = parent.lastChild;
|
|
229
|
+
if (close && close.from > node.to)
|
|
230
|
+
ranges.push(bareCode.range(node.to, close.from));
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return Decoration.set(ranges, true);
|
|
236
|
+
}
|
|
237
|
+
/** How often a wrong selection drawing is mended before the editor lets it be. */
|
|
238
|
+
const MAX_MENDS = 3;
|
|
239
|
+
class HiddenSyntaxPlugin {
|
|
240
|
+
constructor(view) {
|
|
241
|
+
this.view = view;
|
|
242
|
+
// Checked right after the layer is drawn, before the browser paints.
|
|
243
|
+
this.layerObserver = new MutationObserver(() => this.mendSelection());
|
|
244
|
+
this.observing = false;
|
|
245
|
+
this.checked = '';
|
|
246
|
+
this.mends = 0;
|
|
247
|
+
this.decorations = buildHidden(view);
|
|
248
|
+
// The selection layer is made by drawSelection, after this plugin.
|
|
249
|
+
queueMicrotask(() => this.observeLayer());
|
|
250
|
+
}
|
|
251
|
+
observeLayer() {
|
|
252
|
+
if (this.observing)
|
|
253
|
+
return;
|
|
254
|
+
const layer = this.view.dom.querySelector('.cm-selectionLayer');
|
|
255
|
+
if (!layer)
|
|
256
|
+
return;
|
|
257
|
+
this.layerObserver.observe(layer, { childList: true, subtree: true, attributes: true });
|
|
258
|
+
this.observing = true;
|
|
259
|
+
}
|
|
260
|
+
update(update) {
|
|
261
|
+
this.observeLayer();
|
|
262
|
+
if (update.docChanged || update.selectionSet || update.viewportChanged || treeAdvanced(update.startState, update.state) || update.transactions.some((tr) => tr.reconfigured)) {
|
|
263
|
+
this.decorations = buildHidden(update.view);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/** Hidden marks change the width of a line as the caret moves. Safari, in an
|
|
267
|
+
* iframe, then sometimes draws a selection on one visual line as if it ran
|
|
268
|
+
* over three, measured while the line still moved. The first piece starts
|
|
269
|
+
* where the selection starts and the last ends where it ends, so they are
|
|
270
|
+
* joined into one, and the layer is drawn anew so its own record is right. */
|
|
271
|
+
mendSelection() {
|
|
272
|
+
const { view } = this;
|
|
273
|
+
const { from, to, empty } = view.state.selection.main;
|
|
274
|
+
const key = `${from}-${to}-${view.state.doc.length}`;
|
|
275
|
+
if (key !== this.checked) {
|
|
276
|
+
this.checked = key;
|
|
277
|
+
this.mends = 0;
|
|
278
|
+
}
|
|
279
|
+
if (empty || this.mends >= MAX_MENDS)
|
|
280
|
+
return;
|
|
281
|
+
const layer = view.dom.querySelector('.cm-selectionLayer');
|
|
282
|
+
const pieces = layer ? [...layer.querySelectorAll('.cm-selectionBackground')] : [];
|
|
283
|
+
if (pieces.length < 2)
|
|
284
|
+
return;
|
|
285
|
+
const start = view.coordsAtPos(from, 1);
|
|
286
|
+
const end = view.coordsAtPos(to, -1);
|
|
287
|
+
if (!start || !end || Math.abs(start.top - end.top) > 2)
|
|
288
|
+
return;
|
|
289
|
+
this.mends += 1;
|
|
290
|
+
const [first] = pieces;
|
|
291
|
+
const last = pieces[pieces.length - 1];
|
|
292
|
+
first.style.width = `${last.offsetLeft + last.offsetWidth - first.offsetLeft}px`;
|
|
293
|
+
pieces.slice(1).forEach((piece) => piece.remove());
|
|
294
|
+
view.dispatch({ selection: view.state.selection });
|
|
295
|
+
}
|
|
296
|
+
destroy() {
|
|
297
|
+
this.layerObserver.disconnect();
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/** The syntax="hidden" extension. Highest precedence, so hiding a mark wins over
|
|
301
|
+
* the dimmed styling the markdown decorations give it. */
|
|
302
|
+
export function hiddenSyntax() {
|
|
303
|
+
return [Prec.highest(ViewPlugin.fromClass(HiddenSyntaxPlugin, { decorations: (plugin) => plugin.decorations })), hiddenFences];
|
|
304
|
+
}
|
|
305
|
+
//# sourceMappingURL=text-editor.hidden-syntax.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-editor.hidden-syntax.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.hidden-syntax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAuC,MAAM,kBAAkB,CAAC;AACvH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAgC,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,O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,CAAC,EAAE,YAAY,CAAC,CAAC;AAChI,CAAC"}
|
|
@@ -5,6 +5,11 @@ export declare const nlddTextEditorTranslations: {
|
|
|
5
5
|
'components.text-editor.annotation-plural-lowercase': string;
|
|
6
6
|
'components.text-editor.typeahead-start-typing-text': string;
|
|
7
7
|
'components.text-editor.typeahead-no-results-text': string;
|
|
8
|
+
'components.text-editor.code-copy-action': string;
|
|
9
|
+
'components.text-editor.code-copy-success-text': string;
|
|
10
|
+
'components.text-editor.code-copy-failure-text': string;
|
|
11
|
+
'components.text-editor.task-open-label': string;
|
|
12
|
+
'components.text-editor.task-done-label': string;
|
|
8
13
|
};
|
|
9
14
|
export type NLDDTextEditorTranslations = typeof nlddTextEditorTranslations;
|
|
10
15
|
//# sourceMappingURL=text-editor.i18n.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"text-editor.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;CAuBtC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC"}
|
|
@@ -14,5 +14,12 @@ export const nlddTextEditorTranslations = {
|
|
|
14
14
|
// without matches. A list's own emptyText overrides both.
|
|
15
15
|
'components.text-editor.typeahead-start-typing-text': 'Typ om te zoeken',
|
|
16
16
|
'components.text-editor.typeahead-no-results-text': 'Niets gevonden',
|
|
17
|
+
// The copy button on the head of a code block, and what it says after a try.
|
|
18
|
+
'components.text-editor.code-copy-action': 'Kopieer',
|
|
19
|
+
'components.text-editor.code-copy-success-text': 'Gekopieerd',
|
|
20
|
+
'components.text-editor.code-copy-failure-text': 'Kopiëren mislukt',
|
|
21
|
+
// Read by a screen reader in place of a task's box, `- [ ]` and `- [x]`.
|
|
22
|
+
'components.text-editor.task-open-label': 'Taak, open',
|
|
23
|
+
'components.text-editor.task-done-label': 'Taak, afgerond',
|
|
17
24
|
};
|
|
18
25
|
//# sourceMappingURL=text-editor.i18n.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC,iFAAiF;IACjF,mCAAmC;IACnC,8CAA8C,EAAE,mCAAmC;IACnF,4EAA4E;IAC5E,kFAAkF;IAClF,qCAAqC;IACrC,+CAA+C,EAAE,6BAA6B;IAC9E,yFAAyF;IACzF,sDAAsD,EAAE,WAAW;IACnE,oDAAoD,EAAE,YAAY;IAClE,6EAA6E;IAC7E,yEAAyE;IACzE,0DAA0D;IAC1D,oDAAoD,EAAE,kBAAkB;IACxE,kDAAkD,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"text-editor.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC,iFAAiF;IACjF,mCAAmC;IACnC,8CAA8C,EAAE,mCAAmC;IACnF,4EAA4E;IAC5E,kFAAkF;IAClF,qCAAqC;IACrC,+CAA+C,EAAE,6BAA6B;IAC9E,yFAAyF;IACzF,sDAAsD,EAAE,WAAW;IACnE,oDAAoD,EAAE,YAAY;IAClE,6EAA6E;IAC7E,yEAAyE;IACzE,0DAA0D;IAC1D,oDAAoD,EAAE,kBAAkB;IACxE,kDAAkD,EAAE,gBAAgB;IACpE,6EAA6E;IAC7E,yCAAyC,EAAE,SAAS;IACpD,+CAA+C,EAAE,YAAY;IAC7D,+CAA+C,EAAE,kBAAkB;IACnE,yEAAyE;IACzE,wCAAwC,EAAE,YAAY;IACtD,wCAAwC,EAAE,gBAAgB;CAC1D,CAAC"}
|