@nldd/design-system 0.10.0 → 0.12.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 +3084 -784
- package/dist/components/actions/button/button.d.ts +10 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +23 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +22 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts +1 -0
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +20 -2
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +10 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +23 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +10 -3
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +8 -0
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +20 -0
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +4 -0
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/components.js +2857 -1993
- 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 +134 -1
- 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 +13 -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 +9 -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 +9 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +6 -21
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +3 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.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 +14 -0
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +45 -6
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +13 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +18 -2
- package/dist/components/content/tooltip/tooltip.template.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-D_ZGezHx.js → icon-DFhgRf3P.js} +19 -7
- package/dist/components/{icon-button-BVhiOwX9.js → icon-button-Sxkh5cVr.js} +526 -61
- 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 +9 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +29 -5
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +11 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +30 -1
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +18 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +12 -0
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +10 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +25 -1
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +20 -3
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- 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.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 +257 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.js +93 -313
- 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 +26 -186
- 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 +62 -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 +185 -64
- 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/toggle-button/toggle-button.d.ts +10 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +25 -1
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +21 -7
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/container/container.d.ts +2 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +9 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +13 -0
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +9 -5
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +16 -15
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +9 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +16 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +16 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +23 -18
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +19 -21
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +2 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +5 -2
- 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 +19 -1
- 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.styles.js +4 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +7 -5
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +61 -1
- package/dist/css/themes/bruin.css +108 -64
- package/dist/css/themes/donkerblauw.css +108 -64
- package/dist/css/themes/donkerbruin.css +88 -64
- package/dist/css/themes/donkergeel.css +149 -94
- package/dist/css/themes/donkergroen.css +93 -64
- package/dist/css/themes/geel.css +149 -94
- package/dist/css/themes/groen.css +108 -64
- package/dist/css/themes/hemelblauw.css +108 -64
- package/dist/css/themes/lichtblauw.css +111 -64
- package/dist/css/themes/mintgroen.css +111 -64
- package/dist/css/themes/mosgroen.css +108 -64
- package/dist/css/themes/oranje.css +162 -99
- package/dist/css/themes/paars.css +115 -64
- package/dist/css/themes/robijnrood.css +159 -96
- package/dist/css/themes/rood.css +159 -96
- package/dist/css/themes/roze.css +118 -64
- package/dist/css/themes/violet.css +93 -64
- package/dist/css/themes.css +2047 -1247
- package/dist/css/variables.css +142 -70
- package/dist/nldd.min.js +1468 -998
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +5 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +5 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/types/vue.d.ts +138 -32
- 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/theme.js +1 -1
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/shortcut.d.ts +50 -0
- package/dist/utilities/shortcut.d.ts.map +1 -0
- package/dist/utilities/shortcut.js +77 -0
- package/dist/utilities/shortcut.js.map +1 -0
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../src/translations/en-US.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../src/translations/en-US.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CA6M/C,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -23,6 +23,11 @@ export const enUS = {
|
|
|
23
23
|
'components.code-viewer.copy-action': 'Copy',
|
|
24
24
|
'components.code-viewer.copy-success-text': 'Copied',
|
|
25
25
|
'components.code-viewer.copy-failure-text': 'Copy failed',
|
|
26
|
+
'components.code-viewer.diff-summary-text': '{added} {addedNoun} added, {removed} {removedNoun} removed',
|
|
27
|
+
'components.code-viewer.line-singular-lowercase': 'line',
|
|
28
|
+
'components.code-viewer.line-plural-lowercase': 'lines',
|
|
29
|
+
'components.code-viewer.added-line-label': 'Added, line {number}',
|
|
30
|
+
'components.code-viewer.removed-line-label': 'Removed, line {number}',
|
|
26
31
|
'components.image.error-text': 'Image did not load',
|
|
27
32
|
'components.rich-text.table-scroll-label': 'Scrollable table',
|
|
28
33
|
'components.token.dismiss-action': 'Remove',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.js","sourceRoot":"","sources":["../../src/translations/en-US.ts"],"names":[],"mappings":"AAeA,MAAM,CAAC,MAAM,IAAI,GAAmC;IACnD,qDAAqD,EAAE,oBAAoB;IAC3E,sDAAsD,EAAE,iBAAiB;IACzE,8DAA8D,EAAE,qCAAqC;IACrG,0DAA0D,EAAE,oBAAoB;IAChF,2DAA2D,EAAE,iBAAiB;IAC9E,mEAAmE,EAAE,qCAAqC;IAC1G,4BAA4B,EAAE,sBAAsB;IACpD,6BAA6B,EAAE,MAAM;IACrC,+BAA+B,EAAE,kBAAkB;IACnD,qCAAqC,EAAE,iBAAiB;IACxD,qCAAqC,EAAE,cAAc;IACrD,oCAAoC,EAAE,MAAM;IAC5C,sDAAsD,EAAE,oBAAoB;IAC5E,uDAAuD,EAAE,iBAAiB;IAC1E,+DAA+D,EAAE,qCAAqC;IACtG,wCAAwC,EAAE,mBAAmB;IAC7D,gDAAgD,EAAE,aAAa;IAC/D,qDAAqD,EAAE,oBAAoB;IAC3E,sDAAsD,EAAE,iBAAiB;IACzE,8DAA8D,EAAE,qCAAqC;IACrG,q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oC,EAAE,WAAW;IACjD,wCAAwC,EAAE,YAAY;IACtD,uCAAuC,EAAE,qBAAqB;IAC9D,mCAAmC,EAAE,iBAAiB;IACtD,mCAAmC,EAAE,mBAAmB;IACxD,wCAAwC,EAAE,YAAY;IACtD,6BAA6B,EAAE,MAAM;IACrC,qDAAqD,EAAE,iBAAiB;IACxE,2CAA2C,EAAE,MAAM;IACnD,2CAA2C,EAAE,MAAM;IACnD,0CAA0C,EAAE,iEAAiE;IAC7G,sDAAsD,EAAE,eAAe;IACvE,yDAAyD,EAAE,OAAO;IAClE,6CAA6C,EAAE,SAAS;IACxD,qCAAqC,EAAE,cAAc;IACrD,kCAAkC,EAAE,MAAM;IAC1C,oDAAoD,EAAE,aAAa;IACnE,kDAAkD,EAAE,MAAM;IAC1D,wCAAwC,EAAE,OAAO;IACjD,sCAAsC,EAAE,eAAe;IACvD,+CAA+C,EAAE,UAAU;IAC3D,2CAA2C,EAAE,OAAO;IACpD,uCAAuC,EAAE,SAAS;IAClD,0CAA0C,EAAE,UAAU;IACtD,kDAAkD,EAAE,UAAU;IAC9D,8CAA8C,EAAE,OAAO;IACvD,0CAA0C,EAAE,SAAS;IACrD,6CAA6C,EAAE,UAAU;IACzD,sCAAsC,EAAE,UAAU;IAClD,uCAAuC,EAAE,WAAW;IACpD,0CAA0C,EAAE,cAAc;IAC1D,yCAAyC,EAAE,OAAO;IAClD,kCAAkC,EAAE,2BAA2B;CAC/D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -179,6 +179,11 @@ export declare const nl: {
|
|
|
179
179
|
'components.code-viewer.copy-action': string;
|
|
180
180
|
'components.code-viewer.copy-success-text': string;
|
|
181
181
|
'components.code-viewer.copy-failure-text': string;
|
|
182
|
+
'components.code-viewer.diff-summary-text': string;
|
|
183
|
+
'components.code-viewer.line-singular-lowercase': string;
|
|
184
|
+
'components.code-viewer.line-plural-lowercase': string;
|
|
185
|
+
'components.code-viewer.added-line-label': string;
|
|
186
|
+
'components.code-viewer.removed-line-label': string;
|
|
182
187
|
'components.avatar.link-hint-new-tab-lowercase-label': string;
|
|
183
188
|
'components.avatar.link-hint-external-lowercase-label': string;
|
|
184
189
|
'components.avatar.link-hint-external-new-tab-lowercase-label': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nl.generated.d.ts","sourceRoot":"","sources":["../../src/translations/nl.generated.ts"],"names":[],"mappings":"AAqDA,wDAAwD;AACxD,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"nl.generated.d.ts","sourceRoot":"","sources":["../../src/translations/nl.generated.ts"],"names":[],"mappings":"AAqDA,wDAAwD;AACxD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDd,CAAC;AAEF,+CAA+C;AAC/C,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,EAAE,CAAC;AAE7C,eAAe,EAAE,CAAC"}
|
package/dist/types/vue.d.ts
CHANGED
|
@@ -378,6 +378,20 @@ declare module 'vue' {
|
|
|
378
378
|
'accessible-label'?: NLDDButton['accessibleLabel'];
|
|
379
379
|
/** Accessible label for the button, overrides text for screen readers */
|
|
380
380
|
'accessibleLabel'?: NLDDButton['accessibleLabel'];
|
|
381
|
+
/** Keyboard shortcut hint shown right after the text, e.g. 'Cmd+S'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name, as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. Keep it for the few main actions of a screen (save, search); a hint on every button is noise. */
|
|
382
|
+
'shortcut'?: NLDDButton['shortcut'];
|
|
383
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
384
|
+
'shortcut-mac'?: NLDDButton['shortcutMac'];
|
|
385
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
386
|
+
'shortcutMac'?: NLDDButton['shortcutMac'];
|
|
387
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
388
|
+
'shortcut-windows'?: NLDDButton['shortcutWindows'];
|
|
389
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
390
|
+
'shortcutWindows'?: NLDDButton['shortcutWindows'];
|
|
391
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
392
|
+
'shortcut-linux'?: NLDDButton['shortcutLinux'];
|
|
393
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
394
|
+
'shortcutLinux'?: NLDDButton['shortcutLinux'];
|
|
381
395
|
/** When set, renders an <a> element instead of <button> */
|
|
382
396
|
'href'?: NLDDButton['href'];
|
|
383
397
|
/** Link target (e.g. '_blank'); only used when href is set. With '_blank' the button adds a visually hidden "opens in new tab" announcement for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off. */
|
|
@@ -524,6 +538,18 @@ declare module 'vue' {
|
|
|
524
538
|
};
|
|
525
539
|
|
|
526
540
|
type NLDDCodeEditorProps = {
|
|
541
|
+
/** Wrap long lines instead of horizontal scroll */
|
|
542
|
+
'wrap'?: NLDDCodeEditor['wrap'];
|
|
543
|
+
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
544
|
+
'resize'?: NLDDCodeEditor['resize'];
|
|
545
|
+
/** 'simple' (default, bare) | 'input-field' (framed surface) */
|
|
546
|
+
'appearance'?: NLDDCodeEditor['appearance'];
|
|
547
|
+
/** Highlight grammar (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python). Empty disables highlighting. */
|
|
548
|
+
'language'?: NLDDCodeEditor['language'];
|
|
549
|
+
/** Show a line-number gutter */
|
|
550
|
+
'line-numbers'?: NLDDCodeEditor['lineNumbers'];
|
|
551
|
+
/** Show a line-number gutter */
|
|
552
|
+
'lineNumbers'?: NLDDCodeEditor['lineNumbers'];
|
|
527
553
|
/** Editor content */
|
|
528
554
|
'value'?: NLDDCodeEditor['value'];
|
|
529
555
|
/** Sets the id on the editable element. Set automatically by nldd-form-field. */
|
|
@@ -540,20 +566,8 @@ declare module 'vue' {
|
|
|
540
566
|
'readonly'?: NLDDCodeEditor['readonly'];
|
|
541
567
|
/** Required state */
|
|
542
568
|
'required'?: NLDDCodeEditor['required'];
|
|
543
|
-
/** Wrap long lines instead of horizontal scroll */
|
|
544
|
-
'wrap'?: NLDDCodeEditor['wrap'];
|
|
545
569
|
/** Minimum visible rows (the floor in every resize mode). Default: 6. */
|
|
546
570
|
'rows'?: NLDDCodeEditor['rows'];
|
|
547
|
-
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
548
|
-
'resize'?: NLDDCodeEditor['resize'];
|
|
549
|
-
/** 'simple' (default, bare) | 'input-field' (framed surface) */
|
|
550
|
-
'appearance'?: NLDDCodeEditor['appearance'];
|
|
551
|
-
/** Highlight grammar (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python). Empty disables highlighting. */
|
|
552
|
-
'language'?: NLDDCodeEditor['language'];
|
|
553
|
-
/** Show a line-number gutter */
|
|
554
|
-
'line-numbers'?: NLDDCodeEditor['lineNumbers'];
|
|
555
|
-
/** Show a line-number gutter */
|
|
556
|
-
'lineNumbers'?: NLDDCodeEditor['lineNumbers'];
|
|
557
571
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
558
572
|
'accessible-label'?: NLDDCodeEditor['accessibleLabel'];
|
|
559
573
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
@@ -574,6 +588,8 @@ declare module 'vue' {
|
|
|
574
588
|
'appearance'?: NLDDCodeViewer['appearance'];
|
|
575
589
|
/** Grammar to highlight with. Empty disables highlighting. */
|
|
576
590
|
'language'?: NLDDCodeViewer['language'];
|
|
591
|
+
/** The content is a unified diff: shown with line colors, old and new line numbers, and the changed words marked. */
|
|
592
|
+
'diff'?: NLDDCodeViewer['diff'];
|
|
577
593
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
578
594
|
'no-copy'?: NLDDCodeViewer['noCopy'];
|
|
579
595
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
@@ -726,6 +742,10 @@ declare module 'vue' {
|
|
|
726
742
|
'max-width'?: NLDDContainer['maxWidth'];
|
|
727
743
|
/** Maximum width as a CSS length (e.g. '480px') */
|
|
728
744
|
'maxWidth'?: NLDDContainer['maxWidth'];
|
|
745
|
+
/** Minimum height as a CSS length (e.g. '240px'), padding included. Reserves the room that content still on its way will take; vertical-alignment then places the children within it. */
|
|
746
|
+
'min-height'?: NLDDContainer['minHeight'];
|
|
747
|
+
/** Minimum height as a CSS length (e.g. '240px'), padding included. Reserves the room that content still on its way will take; vertical-alignment then places the children within it. */
|
|
748
|
+
'minHeight'?: NLDDContainer['minHeight'];
|
|
729
749
|
/** Gap between children. One distance for all of them, so it fits children of one kind; for a stack of different kinds, space each seam with nldd-spacer instead. */
|
|
730
750
|
'gap'?: NLDDContainer['gap'];
|
|
731
751
|
/** Gap at sm breakpoint */
|
|
@@ -1330,6 +1350,20 @@ declare module 'vue' {
|
|
|
1330
1350
|
'tooltip-timing'?: NLDDIconButton['tooltipTiming'];
|
|
1331
1351
|
/** Forwarded to the inner nldd-tooltip's `timing`: 'delay' (the default, a 700 ms show-delay), 'instant', or 'never' (suppress the visual tooltip; screen readers still get the aria-label). Use 'never' when the surrounding context already explains the button (e.g. spin buttons in nldd-number-field, the chevron in nldd-split-button). */
|
|
1332
1352
|
'tooltipTiming'?: NLDDIconButton['tooltipTiming'];
|
|
1353
|
+
/** Keyboard shortcut hint shown in the tooltip after the text, e.g. 'Alt+P'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Presentatiemodus Alt P"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
1354
|
+
'shortcut'?: NLDDIconButton['shortcut'];
|
|
1355
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
1356
|
+
'shortcut-mac'?: NLDDIconButton['shortcutMac'];
|
|
1357
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
1358
|
+
'shortcutMac'?: NLDDIconButton['shortcutMac'];
|
|
1359
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
1360
|
+
'shortcut-windows'?: NLDDIconButton['shortcutWindows'];
|
|
1361
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
1362
|
+
'shortcutWindows'?: NLDDIconButton['shortcutWindows'];
|
|
1363
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
1364
|
+
'shortcut-linux'?: NLDDIconButton['shortcutLinux'];
|
|
1365
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
1366
|
+
'shortcutLinux'?: NLDDIconButton['shortcutLinux'];
|
|
1333
1367
|
/** When set, renders an <a> element instead of <button> */
|
|
1334
1368
|
'href'?: NLDDIconButton['href'];
|
|
1335
1369
|
/** Link target (e.g. '_blank'); only used when href is set. With '_blank' the "opens in new tab" announcement is folded into the aria-label for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off. */
|
|
@@ -1485,7 +1519,7 @@ declare module 'vue' {
|
|
|
1485
1519
|
};
|
|
1486
1520
|
|
|
1487
1521
|
type NLDDKeyboardShortcutProps = {
|
|
1488
|
-
/** Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
|
|
1522
|
+
/** Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P'). End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++' works too). For more complex cases, such as a combo with several '+' keys, use the default slot with your own <kbd> elements instead of the keys attribute. */
|
|
1489
1523
|
'keys'?: NLDDKeyboardShortcut['keys'];
|
|
1490
1524
|
/** Optional override for macOS (iPhone/iPad/iPod included). */
|
|
1491
1525
|
'mac-keys'?: NLDDKeyboardShortcut['macKeys'];
|
|
@@ -2443,6 +2477,20 @@ declare module 'vue' {
|
|
|
2443
2477
|
'show-search-button'?: NLDDSearchField['showSearchButton'];
|
|
2444
2478
|
/** When set, shows a search button on the right */
|
|
2445
2479
|
'showSearchButton'?: NLDDSearchField['showSearchButton'];
|
|
2480
|
+
/** Keyboard shortcut hint shown at the right end of the empty field, e.g. 'Cmd+K' or '/'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up focusing the field in your app. Hidden while the field has focus or a value, and on touch-only devices. Joins the field's description for screen readers. */
|
|
2481
|
+
'shortcut'?: NLDDSearchField['shortcut'];
|
|
2482
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2483
|
+
'shortcut-mac'?: NLDDSearchField['shortcutMac'];
|
|
2484
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2485
|
+
'shortcutMac'?: NLDDSearchField['shortcutMac'];
|
|
2486
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2487
|
+
'shortcut-windows'?: NLDDSearchField['shortcutWindows'];
|
|
2488
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2489
|
+
'shortcutWindows'?: NLDDSearchField['shortcutWindows'];
|
|
2490
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2491
|
+
'shortcut-linux'?: NLDDSearchField['shortcutLinux'];
|
|
2492
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2493
|
+
'shortcutLinux'?: NLDDSearchField['shortcutLinux'];
|
|
2446
2494
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2447
2495
|
'translations'?: NLDDSearchField['translations'];
|
|
2448
2496
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
@@ -2539,6 +2587,20 @@ declare module 'vue' {
|
|
|
2539
2587
|
'text'?: NLDDSegmentedControlItem['text'];
|
|
2540
2588
|
/** Icon name for nldd-icon */
|
|
2541
2589
|
'icon'?: NLDDSegmentedControlItem['icon'];
|
|
2590
|
+
/** Keyboard shortcut hint shown in the tooltip, e.g. 'Cmd+B'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Vet Cmd B"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
2591
|
+
'shortcut'?: NLDDSegmentedControlItem['shortcut'];
|
|
2592
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2593
|
+
'shortcut-mac'?: NLDDSegmentedControlItem['shortcutMac'];
|
|
2594
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2595
|
+
'shortcutMac'?: NLDDSegmentedControlItem['shortcutMac'];
|
|
2596
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2597
|
+
'shortcut-windows'?: NLDDSegmentedControlItem['shortcutWindows'];
|
|
2598
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2599
|
+
'shortcutWindows'?: NLDDSegmentedControlItem['shortcutWindows'];
|
|
2600
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2601
|
+
'shortcut-linux'?: NLDDSegmentedControlItem['shortcutLinux'];
|
|
2602
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2603
|
+
'shortcutLinux'?: NLDDSegmentedControlItem['shortcutLinux'];
|
|
2542
2604
|
/** When item is activated; detail: { value: string, checked: boolean } */
|
|
2543
2605
|
'onItemChange'?: (event: CustomEvent) => void;
|
|
2544
2606
|
};
|
|
@@ -2732,6 +2794,20 @@ declare module 'vue' {
|
|
|
2732
2794
|
'width'?: NLDDSplitButton['width'];
|
|
2733
2795
|
/** Button text for the primary action */
|
|
2734
2796
|
'text'?: NLDDSplitButton['text'];
|
|
2797
|
+
/** Keyboard shortcut hint for the primary action, shown right after its text, e.g. 'Cmd+S'. Forwarded to the inner nldd-button; display only, wire up the handling in your app. */
|
|
2798
|
+
'shortcut'?: NLDDSplitButton['shortcut'];
|
|
2799
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2800
|
+
'shortcut-mac'?: NLDDSplitButton['shortcutMac'];
|
|
2801
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
2802
|
+
'shortcutMac'?: NLDDSplitButton['shortcutMac'];
|
|
2803
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2804
|
+
'shortcut-windows'?: NLDDSplitButton['shortcutWindows'];
|
|
2805
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
2806
|
+
'shortcutWindows'?: NLDDSplitButton['shortcutWindows'];
|
|
2807
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2808
|
+
'shortcut-linux'?: NLDDSplitButton['shortcutLinux'];
|
|
2809
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
2810
|
+
'shortcutLinux'?: NLDDSplitButton['shortcutLinux'];
|
|
2735
2811
|
/** Icon name shown before the text on the primary action button */
|
|
2736
2812
|
'icon'?: NLDDSplitButton['icon'];
|
|
2737
2813
|
/** Translations; unset keys fall back to Dutch */
|
|
@@ -3085,6 +3161,22 @@ declare module 'vue' {
|
|
|
3085
3161
|
};
|
|
3086
3162
|
|
|
3087
3163
|
type NLDDTextEditorProps = {
|
|
3164
|
+
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3165
|
+
'no-spellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3166
|
+
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3167
|
+
'noSpellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3168
|
+
/** Wrap long lines (default true; prose wraps) */
|
|
3169
|
+
'wrap'?: NLDDTextEditor['wrap'];
|
|
3170
|
+
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
3171
|
+
'resize'?: NLDDTextEditor['resize'];
|
|
3172
|
+
/** 'simple' (default, bare) | 'input-field' (framed surface) */
|
|
3173
|
+
'appearance'?: NLDDTextEditor['appearance'];
|
|
3174
|
+
/** 'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left; with the caret anywhere in it, its `>` marks show instead, in the same place. A `---` line reads as a divider until the caret is on it, and a code block loses its ``` fence lines until the caret is in it, since its own tint and edge already say what it is. The numbers of a numbered list stay: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way. */
|
|
3175
|
+
'syntax'?: NLDDTextEditor['syntax'];
|
|
3176
|
+
/** Enable the annotation overlay (off by default). Annotations only render when this is set. */
|
|
3177
|
+
'annotatable'?: NLDDTextEditor['annotatable'];
|
|
3178
|
+
/** Override the editor's assistive-tech strings (the open-in-new-tab link badge and the annotation count badge). Unset keys fall back to Dutch. */
|
|
3179
|
+
'translations'?: NLDDTextEditor['translations'];
|
|
3088
3180
|
/** Editor content (markdown) */
|
|
3089
3181
|
'value'?: NLDDTextEditor['value'];
|
|
3090
3182
|
/** Sets the id on the editable element. Set automatically by nldd-form-field. */
|
|
@@ -3101,26 +3193,12 @@ declare module 'vue' {
|
|
|
3101
3193
|
'readonly'?: NLDDTextEditor['readonly'];
|
|
3102
3194
|
/** Required state */
|
|
3103
3195
|
'required'?: NLDDTextEditor['required'];
|
|
3104
|
-
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3105
|
-
'no-spellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3106
|
-
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3107
|
-
'noSpellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3108
|
-
/** Wrap long lines (default true; prose wraps) */
|
|
3109
|
-
'wrap'?: NLDDTextEditor['wrap'];
|
|
3110
3196
|
/** Minimum visible rows (the floor in every resize mode). Default: 6. */
|
|
3111
3197
|
'rows'?: NLDDTextEditor['rows'];
|
|
3112
|
-
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
3113
|
-
'resize'?: NLDDTextEditor['resize'];
|
|
3114
|
-
/** 'simple' (default, bare) | 'input-field' (framed surface) */
|
|
3115
|
-
'appearance'?: NLDDTextEditor['appearance'];
|
|
3116
3198
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
3117
3199
|
'accessible-label'?: NLDDTextEditor['accessibleLabel'];
|
|
3118
3200
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
3119
3201
|
'accessibleLabel'?: NLDDTextEditor['accessibleLabel'];
|
|
3120
|
-
/** Enable the annotation overlay (off by default). Annotations only render when this is set. */
|
|
3121
|
-
'annotatable'?: NLDDTextEditor['annotatable'];
|
|
3122
|
-
/** Override the editor's assistive-tech strings (the open-in-new-tab link badge and the annotation count badge). Unset keys fall back to Dutch. */
|
|
3123
|
-
'translations'?: NLDDTextEditor['translations'];
|
|
3124
3202
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3125
3203
|
'invalid'?: NLDDTextEditor['invalid'];
|
|
3126
3204
|
/** Consumer-supplied */
|
|
@@ -3406,6 +3484,20 @@ declare module 'vue' {
|
|
|
3406
3484
|
'accessible-label'?: NLDDToggleButton['accessibleLabel'];
|
|
3407
3485
|
/** Accessible label; required for icon-only usage */
|
|
3408
3486
|
'accessibleLabel'?: NLDDToggleButton['accessibleLabel'];
|
|
3487
|
+
/** Keyboard shortcut hint shown in the tooltip, e.g. 'Cmd+B'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Vet Cmd B"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
3488
|
+
'shortcut'?: NLDDToggleButton['shortcut'];
|
|
3489
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
3490
|
+
'shortcut-mac'?: NLDDToggleButton['shortcutMac'];
|
|
3491
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
3492
|
+
'shortcutMac'?: NLDDToggleButton['shortcutMac'];
|
|
3493
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
3494
|
+
'shortcut-windows'?: NLDDToggleButton['shortcutWindows'];
|
|
3495
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
3496
|
+
'shortcutWindows'?: NLDDToggleButton['shortcutWindows'];
|
|
3497
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3498
|
+
'shortcut-linux'?: NLDDToggleButton['shortcutLinux'];
|
|
3499
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3500
|
+
'shortcutLinux'?: NLDDToggleButton['shortcutLinux'];
|
|
3409
3501
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3410
3502
|
'invalid'?: NLDDToggleButton['invalid'];
|
|
3411
3503
|
/** Set by nldd-form-field. A consumer never writes this. */
|
|
@@ -3583,6 +3675,20 @@ declare module 'vue' {
|
|
|
3583
3675
|
type NLDDTooltipProps = {
|
|
3584
3676
|
/** Tooltip text */
|
|
3585
3677
|
'text'?: NLDDTooltip['text'];
|
|
3678
|
+
/** Keyboard shortcut hint shown after the text, e.g. 'Cmd+P'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key. Joins the description of a light-DOM trigger. Hidden on touch-only devices, where it isn't invokable. */
|
|
3679
|
+
'shortcut'?: NLDDTooltip['shortcut'];
|
|
3680
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
3681
|
+
'shortcut-mac'?: NLDDTooltip['shortcutMac'];
|
|
3682
|
+
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
3683
|
+
'shortcutMac'?: NLDDTooltip['shortcutMac'];
|
|
3684
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
3685
|
+
'shortcut-windows'?: NLDDTooltip['shortcutWindows'];
|
|
3686
|
+
/** Override of `shortcut` on Windows (falls back to `shortcut`). */
|
|
3687
|
+
'shortcutWindows'?: NLDDTooltip['shortcutWindows'];
|
|
3688
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3689
|
+
'shortcut-linux'?: NLDDTooltip['shortcutLinux'];
|
|
3690
|
+
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3691
|
+
'shortcutLinux'?: NLDDTooltip['shortcutLinux'];
|
|
3586
3692
|
/** Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback ("Copied", for instance). Reset it to false to restore the hover behavior. */
|
|
3587
3693
|
'open'?: NLDDTooltip['open'];
|
|
3588
3694
|
/** Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices) */
|
|
@@ -3790,7 +3896,7 @@ declare module 'vue' {
|
|
|
3790
3896
|
};
|
|
3791
3897
|
|
|
3792
3898
|
export interface GlobalComponents {
|
|
3793
|
-
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. The default indicator is a simple icon-sized circle that follows the shared `--context-content-color` channel (set by list-item / table / menu on their content), falling back to `currentColor` wherever that channel is unset (buttons, rich-text, standalone) — so a spinner inside a cell tracks the row's state-aware content color, while embedders relying on currentColor are unaffected. An optional label sits below (hidden unless `show-text` is set).
|
|
3899
|
+
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. Sizing: fills its parent where the parent lets it (a flex column such as `nldd-container`, a grid, or a fixed height) and centers itself there. Where the parent has no height of its own, give it one: a `min-height` matching the content you expect, such as `<nldd-container min-height="240px">`. As a safety net the host already takes the indicator's size (circle, plus the label with `show-text`) during the delay, so nothing shifts when it fades in; once `complete` is set it gives that space up. Label size follows `size`, not the surrounding text, so the circle and its label keep the same proportion everywhere: body-xs at 16 and 20, body-sm at 24 and 28, body-md from 32. Keep the label short; a longer explanation belongs in the area as regular text. The default indicator is a simple icon-sized circle that follows the shared `--context-content-color` channel (set by list-item / table / menu on their content), falling back to `currentColor` wherever that channel is unset (buttons, rich-text, standalone) — so a spinner inside a cell tracks the row's state-aware content color, while embedders relying on currentColor are unaffected. An optional label sits below (hidden unless `show-text` is set). The indicator is always indeterminate; when you know the progress, show `nldd-progress-bar` or `nldd-progress-circle` instead. Icon alignment: the visible ring already sits at 5/6 of its box (the SVG's r=9 plus a 2-unit stroke in a 24 view-box, the same optical inset a filled icon glyph has), so a standalone spinner lines up with an icon or an `icon-aligned` `nldd-avatar` on the same grid — no extra option needed (unlike `nldd-avatar`, which fills edge-to-edge and opts in via `icon-aligned`). Overlay mode: put content in the default slot and the indicator wraps it — it becomes a `position: relative` container, renders the spinner over a dimming backdrop (opt out with `no-backdrop`), and makes the content `inert` so its controls can't be focused or clicked. Toggle loading with `complete` (`?complete=${!isLoading}`). With no slotted content it stays the standalone placeholder described above. Reconnect behavior: every `connectedCallback` resets the timer and hides the indicator again. If a consumer toggles the element via a conditional render (remove + re-insert) the indicator disappears and re-fades after another delay. Keep the element mounted and toggle visibility / `hidden` instead if you want the timer to run only once. Accessibility: while connected and not `complete` the host is a polite live region (`role="status"`). The label (`text`, or the translated "Laden" fallback) always renders as the region's content — visually hidden when `show-text` is off (the default) — so assistive tech announces the loading state when the indicator appears. Set `complete` (or unmount) to clear it. */
|
|
3794
3900
|
'nldd-activity-indicator': DefineComponent<NLDDActivityIndicatorProps>;
|
|
3795
3901
|
/** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role="img"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon. */
|
|
3796
3902
|
'nldd-avatar': DefineComponent<NLDDAvatarProps>;
|
|
@@ -3826,7 +3932,7 @@ declare module 'vue' {
|
|
|
3826
3932
|
'nldd-checkbox-field': DefineComponent<NLDDCheckboxFieldProps>;
|
|
3827
3933
|
/** A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Default `appearance="simple"` is a bare, flush editor (no frame, no focus ring) for use inside an nldd-form-field or a consumer composition that owns its own chrome and focus treatment; the caret is rendered as a prominent accent as the focus cue. `appearance="input-field"` adds the framed surface (border ring, tinted fill, inner padding, radius) and a focus ring for standalone use. The simple variant has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line). */
|
|
3828
3934
|
'nldd-code-editor': DefineComponent<NLDDCodeEditorProps>;
|
|
3829
|
-
/** A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme. */
|
|
3935
|
+
/** A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. Set `diff` when the content is a unified diff, as git and pull request tools hand it out. The viewer shows the code it changes: an added line green and a removed line red, a column with the old and one with the new line number, a column with the `+` or `−`, and the `@@` header of each hunk between them. Within a removed line that is directly followed by an added one, the words that differ are marked, unless more than half of the line changed. File headers (`diff --git`, `---`, `+++`) are left out: name the file in the page around the viewer, and give each file of a multi-file diff a viewer of its own. `language` still highlights the code. A screen reader hears a summary first ("2 regels toegevoegd, 1 regel verwijderd") and "Toegevoegd" or "Verwijderd" with the line number before each changed line. A selection copies the code; the copy button copies the diff. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme. */
|
|
3830
3936
|
'nldd-code-viewer': DefineComponent<NLDDCodeViewerProps>;
|
|
3831
3937
|
/** A container for displaying collections of items. Supports grid, stack, lanes and horizontal scroll layouts. Use it for a set of equal blocks, usually `nldd-card`s, instead of a CSS grid of your own: the collection sets the columns from `item-min-width` and the available width, and the gap per breakpoint. A grid keeps as many columns as fit, also when there are fewer items, so a page of results lines up with the next. For a fixed set of a few cards without paging, such as three points on a landing page, use `nldd-container layout="grid"` instead: its empty columns collapse, so the cards fill the row. In grid and stack modes, items are paginated via a load-more button. In horizontal scroll, the prev/next controls and the edge fade appear only when the items overflow the container. Use horizontal scroll for items that together serve one purpose, such as the events of one agenda; it is not a carousel for unrelated highlights, which the design guidelines advise against. With `lazy-load`, the next items are automatically loaded when the load-more button comes into view. */
|
|
3832
3938
|
'nldd-collection': DefineComponent<NLDDCollectionProps>;
|
|
@@ -3904,7 +4010,7 @@ declare module 'vue' {
|
|
|
3904
4010
|
'nldd-multi-line-text-field': DefineComponent<NLDDMultiLineTextFieldProps>;
|
|
3905
4011
|
/** A four-column layout with a primary sidebar, secondary sidebar, main content area, and inspector. The sidebars show navigation or lists, the main area shows primary content, and the inspector shows additional details or properties of the selection. Panes are shown automatically when content is slotted into them. When they stop fitting, panes drop in a fixed order: the inspector goes first, then the primary sidebar collapses into the secondary sidebar. If that still does not fit, the view stacks and shows one pane at a time: main when it has content, otherwise the secondary sidebar, otherwise the primary sidebar. Use <code>nldd-split-view-pane</code> as direct children for automatic back button handling. */
|
|
3906
4012
|
'nldd-navigation-split-view': DefineComponent<NLDDNavigationSplitViewProps>;
|
|
3907
|
-
/** A short message that arrives over the interface and leaves on its own: a save that worked, a request that failed. Not a banner, which stands in the page and stays there — this one floats, stacks, and goes away. It places itself. Write it wherever it belongs in your code and it moves to one shared area: top right from md, full width across the top below that. Nothing about the position is settable, so notifications from anywhere in an application land in the same place and stack in the same order. A modal overlay is the one thing that moves it. An nldd-sheet, nldd-window or nldd-modal-dialog paints in the browser's top layer, above the whole page and out of reach of any z-index, and while one is open everything outside it is inert. So the area goes in: into the topmost overlay that is open, and back down as they close. A notification already on screen travels with it, and one raised from inside a sheet is readable and reachable where it is raised. More than one is a deck, not a list: the front one is readable and the older ones peek out below it, so a burst of messages takes the room of roughly one. The newest is in front. Behind it a notification is a bare surface, cut to the height of the one in front; dismiss the front and it slides up into the place that came free while its message fades in, because it was standing there all along. Under the front notification sits a strip as wide as the deck and as tall as the deck is when it fans out. Pointing at it fans the deck out to fill it, which is the only hint that there is more here than the message you can read; clicking it, or moving focus into the area, lays the whole deck out as a list. Clicking or tabbing away puts it back. The notification itself is not a button: a click on the message you are reading does nothing. Only the front of the deck counts down, and only while the deck is closed: open means someone is reading. The rest wait, so nothing disappears from under the one you are reading. `critical` never leaves on its own: a failure is worth reading, and the count-down would take it away while you were. That also keeps this within WCAG 2.2.1, which allows a time limit when what disappears is not essential. The clock pauses while a pointer moves over the notification and while focus is inside it, and resumes where it left off rather than starting over. A pointer that merely happens to rest where the notification appears does not count: it never moved, so nobody is reading. role follows the variant: `critical` becomes role="alert", the rest role="status". Focus never moves on its own. Escape dismisses the notification that focus is in. `NLDDNotification.show({ text, supportingText, variant, icon, duration, actions })` raises a notification without an element to manage: it creates one, shows it, and removes it once it is dismissed. An action is `{ text, onClick }`, at most 2, and a click on one also takes the notification away. It returns a handle with `dismiss()` and `update(options)`. An update changes the message, puts the notification in front and starts its clock over, so a status that changes often is one notification that keeps up instead of a new one sliding in each time; one that has already left arrives again. Use `show()` from a framework. Because a notification places itself, an element that a framework rendered is no longer where that framework left it: a keyed list (`v-for` with a `:key`) then fails on its next render, and a removed row leaves its notification on screen. */
|
|
4013
|
+
/** A short message that arrives over the interface and leaves on its own: a save that worked, a request that failed. Not a banner, which stands in the page and stays there — this one floats, stacks, and goes away. It places itself. Write it wherever it belongs in your code and it moves to one shared area: top right from md, where it slides in from the right, and full width across the top below that, where it drops in from the top. Nothing about the position is settable, so notifications from anywhere in an application land in the same place and stack in the same order. A modal overlay is the one thing that moves it. An nldd-sheet, nldd-window or nldd-modal-dialog paints in the browser's top layer, above the whole page and out of reach of any z-index, and while one is open everything outside it is inert. So the area goes in: into the topmost overlay that is open, and back down as they close. A notification already on screen travels with it, and one raised from inside a sheet is readable and reachable where it is raised. More than one is a deck, not a list: the front one is readable and the older ones peek out below it, so a burst of messages takes the room of roughly one. The newest is in front. Behind it a notification is a bare surface, cut to the height of the one in front; dismiss the front and it slides up into the place that came free while its message fades in, because it was standing there all along. Under the front notification sits a strip as wide as the deck and as tall as the deck is when it fans out. Pointing at it fans the deck out to fill it, which is the only hint that there is more here than the message you can read; clicking it, or moving focus into the area, lays the whole deck out as a list. Clicking or tabbing away puts it back. The notification itself is not a button: a click on the message you are reading does nothing. Only the front of the deck counts down, and only while the deck is closed: open means someone is reading. The rest wait, so nothing disappears from under the one you are reading. `critical` never leaves on its own: a failure is worth reading, and the count-down would take it away while you were. That also keeps this within WCAG 2.2.1, which allows a time limit when what disappears is not essential. The clock pauses while a pointer moves over the notification and while focus is inside it, and resumes where it left off rather than starting over. A pointer that merely happens to rest where the notification appears does not count: it never moved, so nobody is reading. role follows the variant: `critical` becomes role="alert", the rest role="status". Focus never moves on its own. Escape dismisses the notification that focus is in. `NLDDNotification.show({ text, supportingText, variant, icon, duration, actions })` raises a notification without an element to manage: it creates one, shows it, and removes it once it is dismissed. An action is `{ text, onClick }`, at most 2, and a click on one also takes the notification away. It returns a handle with `dismiss()` and `update(options)`. An update changes the message, puts the notification in front and starts its clock over, so a status that changes often is one notification that keeps up instead of a new one sliding in each time; one that has already left arrives again. Use `show()` from a framework. Because a notification places itself, an element that a framework rendered is no longer where that framework left it: a keyed list (`v-for` with a `:key`) then fails on its next render, and a removed row leaves its notification on screen. */
|
|
3908
4014
|
'nldd-notification': DefineComponent<NLDDNotificationProps>;
|
|
3909
4015
|
/** A numeric input field with decrement and increment buttons. */
|
|
3910
4016
|
'nldd-number-field': DefineComponent<NLDDNumberFieldProps>;
|
|
@@ -3938,7 +4044,7 @@ declare module 'vue' {
|
|
|
3938
4044
|
'nldd-radio-button-field': DefineComponent<NLDDRadioButtonFieldProps>;
|
|
3939
4045
|
/** Groups nldd-radio-button-field elements, handles keyboard navigation, and forwards name and disabled state to all child fields. Use inside nldd-form-field which provides the group label. */
|
|
3940
4046
|
'nldd-radio-button-group': DefineComponent<NLDDRadioButtonGroupProps>;
|
|
3941
|
-
/** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. */
|
|
4047
|
+
/** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. An element with `data-mention` reads as a mention: the name in the mention color with the @ icon in front of it. Use `<a href="…" data-mention>` when the person has a page to go to: it becomes the tinted token nldd-text-editor shows, and the tint is what says you can follow it. Use `<span data-mention>` when not: it keeps the color and the icon, without the tint. Write the name without the `@`: the rich text draws it. A mention in the editor's value, `[@Name](user:id)`, comes out of a markdown renderer as a link to `user:id`, which goes nowhere, so turn it into one of these yourself. */
|
|
3942
4048
|
'nldd-rich-text': DefineComponent<NLDDRichTextProps>;
|
|
3943
4049
|
/** A search input with a leading search icon, an optional dismiss button, and an optional search button. */
|
|
3944
4050
|
'nldd-search-field': DefineComponent<NLDDSearchFieldProps>;
|
|
@@ -3995,7 +4101,7 @@ declare module 'vue' {
|
|
|
3995
4101
|
'nldd-text': DefineComponent<NLDDTextProps>;
|
|
3996
4102
|
/** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text) accepts either a string attribute or slotted DOM content. The slot is the source of truth: if the consumer provides slotted content, it replaces the attribute-based render for that region. Use slots when you need inline elements like `<nldd-tag>`, `<a>` or `<nldd-icon>` mixed with text. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path — slotted content is rendered as-is. */
|
|
3997
4103
|
'nldd-text-cell': DefineComponent<NLDDTextCellProps>;
|
|
3998
|
-
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `appearance="simple"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `appearance="input-field"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a
|
|
4104
|
+
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `appearance="simple"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `appearance="input-field"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href="…" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. */
|
|
3999
4105
|
'nldd-text-editor': DefineComponent<NLDDTextEditorProps>;
|
|
4000
4106
|
'nldd-text-field': DefineComponent<NLDDTextFieldProps>;
|
|
4001
4107
|
/** A text field for a time. The value is always 24-hour `HH:mm`, which is how Dutch shows it too, so unlike nldd-date-field there is nothing to convert. Typing is not masked: input is accepted generously and normalized only when the field is left. Error messages belong to nldd-form-field, not here. This field reflects only `invalid` / `valid`, like nldd-text-field. What you do in the picker is a preview until you leave it. The field shows the time right away but commits it on close. "Klaar" and Enter keep the choice, and so does a click outside once you have picked something. Cancel and Escape put the old time back. On an empty field the wheels open at `min`, or otherwise at the current time rounded to `step`, which does not fill in the field yet. */
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type PropertyValues } from 'lit';
|
|
2
|
+
import { EditorView } from '@codemirror/view';
|
|
3
|
+
import { type Extension } from '@codemirror/state';
|
|
4
|
+
import { type FormValue } from '../form-associated-mixin.js';
|
|
5
|
+
import { NLDDCodeMirrorElement } from './codemirror-element.js';
|
|
6
|
+
declare const NLDDCodeMirrorInput_base: typeof NLDDCodeMirrorElement & (abstract new (...args: any[]) => NLDDCodeMirrorElement & import("../form-associated-mixin.js").FormAssociatedElement) & (abstract new (...args: any[]) => import("../described-by-mixin.js").DescribedElement);
|
|
7
|
+
/**
|
|
8
|
+
* Shared base for the CodeMirror editors that are form controls
|
|
9
|
+
* (nldd-code-editor, nldd-text-editor). nldd-code-viewer is not one, so this
|
|
10
|
+
* sits between NLDDCodeMirrorElement and the two editors.
|
|
11
|
+
*
|
|
12
|
+
* It owns what a form control needs and both editors did the same way: the
|
|
13
|
+
* value and its `input`/`change` events, editable and read-only, the
|
|
14
|
+
* placeholder, the textbox attributes (label, id, aria-readonly,
|
|
15
|
+
* aria-required), form association and reset, a press on the padding that
|
|
16
|
+
* starts editing, and the warning for a missing label. A subclass adds its own
|
|
17
|
+
* extensions after `inputExtensions()` and can shape three things:
|
|
18
|
+
* `docToValue()`, `contentAttributes()` and `beforeChangeCheck()`.
|
|
19
|
+
*/
|
|
20
|
+
export declare abstract class NLDDCodeMirrorInput extends NLDDCodeMirrorInput_base {
|
|
21
|
+
static shadowRootOptions: {
|
|
22
|
+
delegatesFocus: boolean;
|
|
23
|
+
clonable?: boolean;
|
|
24
|
+
customElementRegistry?: CustomElementRegistry;
|
|
25
|
+
mode: ShadowRootMode;
|
|
26
|
+
serializable?: boolean;
|
|
27
|
+
slotAssignment?: SlotAssignmentMode;
|
|
28
|
+
};
|
|
29
|
+
/** Says this is the control an nldd-form-field is about, so the field can
|
|
30
|
+
* find it, name it and move focus into it. See nldd-form-field. */
|
|
31
|
+
static isFormInput: boolean;
|
|
32
|
+
value: string;
|
|
33
|
+
inputId: string;
|
|
34
|
+
placeholder: string;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
name: string;
|
|
37
|
+
readonly: boolean;
|
|
38
|
+
required: boolean;
|
|
39
|
+
rows: number;
|
|
40
|
+
accessibleLabel: string;
|
|
41
|
+
/**
|
|
42
|
+
* Marks the control as invalid.
|
|
43
|
+
*
|
|
44
|
+
* Announced and not drawn. What is wrong belongs in an
|
|
45
|
+
* nldd-validation-list, in words: a red ring around a single
|
|
46
|
+
* checkbox or radio would say the option is wrong, while it is the question
|
|
47
|
+
* that is unanswered. `aria-invalid` still goes on the control, because
|
|
48
|
+
* choosing not to show something is not a reason to keep quiet about it.
|
|
49
|
+
*/
|
|
50
|
+
invalid: boolean;
|
|
51
|
+
private _initialValue;
|
|
52
|
+
private _valueAtFocus;
|
|
53
|
+
private _accessibleLabelWarned;
|
|
54
|
+
private _editableCompartment;
|
|
55
|
+
private _placeholderCompartment;
|
|
56
|
+
private _attrsCompartment;
|
|
57
|
+
/** The custom property the visible row count goes into, named after the tag. */
|
|
58
|
+
protected abstract readonly rowsProperty: string;
|
|
59
|
+
/** The value for a document. Default: the document itself. */
|
|
60
|
+
protected docToValue(doc: string): string;
|
|
61
|
+
/** Attributes of the content element beyond label, id, aria-readonly and
|
|
62
|
+
* aria-required. Default: none. */
|
|
63
|
+
protected contentAttributes(): Record<string, string>;
|
|
64
|
+
/** Runs on blur, before the value is compared with the one at focus, so a
|
|
65
|
+
* subclass can settle the document first. Default: nothing. */
|
|
66
|
+
protected beforeChangeCheck(_view: EditorView): void;
|
|
67
|
+
/** The extensions every input needs. A subclass puts these in its own
|
|
68
|
+
* `buildExtensions()`, next to what is its own. */
|
|
69
|
+
protected inputExtensions(): Extension[];
|
|
70
|
+
private _editableExtension;
|
|
71
|
+
private _placeholderExtension;
|
|
72
|
+
private _attrsExtension;
|
|
73
|
+
/** Build the textbox attributes again, after something `contentAttributes()`
|
|
74
|
+
* reads has changed. */
|
|
75
|
+
protected refreshContentAttributes(): void;
|
|
76
|
+
firstUpdated(): void;
|
|
77
|
+
protected onEditorMounted(): void;
|
|
78
|
+
updated(changed: PropertyValues): void;
|
|
79
|
+
private _onDocChanged;
|
|
80
|
+
private _emitChange;
|
|
81
|
+
private _onScrollerPointerDown;
|
|
82
|
+
private _checkAccessibleLabel;
|
|
83
|
+
formValue(): FormValue;
|
|
84
|
+
formResetCallback(): void;
|
|
85
|
+
formStateRestoreCallback(state: File | string | FormData | null): void;
|
|
86
|
+
/** CodeMirror builds the textbox; the host is only its container. */
|
|
87
|
+
describedTarget(): Element | null;
|
|
88
|
+
}
|
|
89
|
+
export {};
|
|
90
|
+
//# sourceMappingURL=codemirror-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codemirror-input.d.ts","sourceRoot":"","sources":["../../../src/utilities/codemirror/codemirror-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAgC,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAG7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAEhE;;;;;;;;;;;;GAYG;AACH,8BAAsB,mBAAoB,SAAQ,wBAAkD;IACnG,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF;wEACoE;IACpE,MAAM,CAAC,WAAW,UAAQ;IAG1B,KAAK,SAAM;IAGX,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,QAAQ,UAAS;IAGjB,IAAI,SAAM;IAGV,QAAQ,UAAS;IAGjB,QAAQ,UAAS;IAGjB,IAAI,SAAK;IAGT,eAAe,SAAM;IAErB;;;;;;;;OAQG;IAEH,OAAO,UAAS;IAEhB,OAAO,CAAC,aAAa,CAAM;IAC3B,OAAO,CAAC,aAAa,CAAM;IAC3B,OAAO,CAAC,sBAAsB,CAAS;IAEvC,OAAO,CAAC,oBAAoB,CAAqB;IACjD,OAAO,CAAC,uBAAuB,CAAqB;IACpD,OAAO,CAAC,iBAAiB,CAAqB;IAE9C,gFAAgF;IAChF,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAEjD,8D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