@nldd/design-system 0.30.1 → 0.32.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 +2319 -110
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
- package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-Bc53Pa5u.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
- package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.js} +1307 -903
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-B06CiuOY.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/identity/identity.d.ts +1 -1
- package/dist/components/content/identity/identity.js +1 -1
- package/dist/components/content/image/image.d.ts +2 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +5 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +3 -1
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +10 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +32 -4
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +15 -5
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +10 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +16 -6
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +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 +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -2
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +1 -1
- package/dist/components/inputs/switch/switch.js +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -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.commands.d.ts +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 +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -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 +3 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +67 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -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 +41 -12
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.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 +116 -12
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +40 -33
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +61 -23
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +6 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +4 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
- 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 +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.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 +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/rich-text.css +2 -3
- package/dist/css/themes/donkergeel.css +5 -6
- package/dist/css/themes/geel.css +5 -6
- package/dist/css/themes.css +10 -12
- package/dist/css/variables.css +24 -15
- package/dist/nldd.min.js +1006 -846
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -44
- package/dist/types/vue.d.ts +213 -55
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +23 -18
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +49 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/press-feedback.d.ts +16 -0
- package/dist/utilities/press-feedback.d.ts.map +1 -0
- package/dist/utilities/press-feedback.js +27 -0
- package/dist/utilities/press-feedback.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -6
- package/lint/rule.schema.json +2 -1
- package/package.json +1 -1
package/dist/types/vue.d.ts
CHANGED
|
@@ -327,32 +327,34 @@ declare module 'vue' {
|
|
|
327
327
|
type NLDDBarSplitViewProps = {
|
|
328
328
|
/** Background color variant (default: inherit) */
|
|
329
329
|
'background'?: NLDDBarSplitView['background'];
|
|
330
|
-
/**
|
|
331
|
-
'
|
|
332
|
-
/**
|
|
333
|
-
'
|
|
334
|
-
/**
|
|
335
|
-
'
|
|
336
|
-
/**
|
|
330
|
+
/** Hides this pane below this breakpoint: `sm` | `md` | `lg`, or a length in px, rem or em that the view's width is compared with. The same attribute as on a cell: `hide-below="md"` is hidden in sm and shown from md up. `sm` is the open edge and never hides. */
|
|
331
|
+
'hide-below'?: NLDDBarSplitView['hideBelow'];
|
|
332
|
+
/** Hides this pane below this breakpoint: `sm` | `md` | `lg`, or a length in px, rem or em that the view's width is compared with. The same attribute as on a cell: `hide-below="md"` is hidden in sm and shown from md up. `sm` is the open edge and never hides. */
|
|
333
|
+
'hideBelow'?: NLDDBarSplitView['hideBelow'];
|
|
334
|
+
/** Hides this pane above this breakpoint: `sm` | `md` | `lg`, or a length. `hide-above="sm"` is shown in sm only. `lg` is the open edge and never hides. Together with `hide-below` it keeps a pane to one breakpoint: `hide-below="md" hide-above="md"` shows it in md only. */
|
|
335
|
+
'hide-above'?: NLDDBarSplitView['hideAbove'];
|
|
336
|
+
/** Hides this pane above this breakpoint: `sm` | `md` | `lg`, or a length. `hide-above="sm"` is shown in sm only. `lg` is the open edge and never hides. Together with `hide-below` it keeps a pane to one breakpoint: `hide-below="md" hide-above="md"` shows it in md only. */
|
|
337
|
+
'hideAbove'?: NLDDBarSplitView['hideAbove'];
|
|
338
|
+
/** Position of this pane at sm (lower comes first) */
|
|
337
339
|
'sm-order'?: NLDDBarSplitView['smOrder'];
|
|
338
|
-
/** Position of this
|
|
340
|
+
/** Position of this pane at sm (lower comes first) */
|
|
339
341
|
'smOrder'?: NLDDBarSplitView['smOrder'];
|
|
340
|
-
/** Position of this
|
|
342
|
+
/** Position of this pane at md (lower comes first) */
|
|
341
343
|
'md-order'?: NLDDBarSplitView['mdOrder'];
|
|
342
|
-
/** Position of this
|
|
344
|
+
/** Position of this pane at md (lower comes first) */
|
|
343
345
|
'mdOrder'?: NLDDBarSplitView['mdOrder'];
|
|
344
|
-
/** Position of this
|
|
346
|
+
/** Position of this pane at lg (lower comes first) */
|
|
345
347
|
'lg-order'?: NLDDBarSplitView['lgOrder'];
|
|
346
|
-
/** Position of this
|
|
348
|
+
/** Position of this pane at lg (lower comes first) */
|
|
347
349
|
'lgOrder'?: NLDDBarSplitView['lgOrder'];
|
|
348
350
|
};
|
|
349
351
|
|
|
350
352
|
type NLDDBlockquoteProps = {
|
|
351
|
-
/** Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are */
|
|
353
|
+
/** Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows, and its distance from the border with it, three quarters of its line height; the attribution and the border stay as they are */
|
|
352
354
|
'size'?: NLDDBlockquote['size'];
|
|
353
|
-
/** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height
|
|
355
|
+
/** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height, the space between paragraphs and its distance from the border; the attribution and the border stay as they are. An invalid value falls back to `size` */
|
|
354
356
|
'sm-custom-size'?: NLDDBlockquote['smCustomSize'];
|
|
355
|
-
/** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height
|
|
357
|
+
/** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height, the space between paragraphs and its distance from the border; the attribution and the border stay as they are. An invalid value falls back to `size` */
|
|
356
358
|
'smCustomSize'?: NLDDBlockquote['smCustomSize'];
|
|
357
359
|
/** The same, at md */
|
|
358
360
|
'md-custom-size'?: NLDDBlockquote['mdCustomSize'];
|
|
@@ -580,7 +582,7 @@ declare module 'vue' {
|
|
|
580
582
|
};
|
|
581
583
|
|
|
582
584
|
type NLDDCheckboxProps = {
|
|
583
|
-
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the
|
|
585
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the content area of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
584
586
|
'color'?: NLDDCheckbox['color'];
|
|
585
587
|
/** Accessible label forwarded as aria-label to the native input. */
|
|
586
588
|
'accessible-label'?: NLDDCheckbox['accessibleLabel'];
|
|
@@ -617,12 +619,18 @@ declare module 'vue' {
|
|
|
617
619
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
618
620
|
'describedByParts'?: NLDDCheckbox['describedByParts'];
|
|
619
621
|
'internals'?: NLDDCheckbox['internals'];
|
|
622
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
623
|
+
'validity'?: NLDDCheckbox['validity'];
|
|
624
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
625
|
+
'validationMessage'?: NLDDCheckbox['validationMessage'];
|
|
626
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
627
|
+
'willValidate'?: NLDDCheckbox['willValidate'];
|
|
620
628
|
/** Fired when the checkbox state changes; detail: { checked: boolean, value: string } */
|
|
621
629
|
'onChange'?: (event: CustomEvent) => void;
|
|
622
630
|
};
|
|
623
631
|
|
|
624
632
|
type NLDDCheckboxFieldProps = {
|
|
625
|
-
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the
|
|
633
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the content area of nldd-hero. Passed to the control inside. */
|
|
626
634
|
'color'?: NLDDCheckboxField['color'];
|
|
627
635
|
/** Label text for the checkbox */
|
|
628
636
|
'label'?: NLDDCheckboxField['label'];
|
|
@@ -651,6 +659,12 @@ declare module 'vue' {
|
|
|
651
659
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
652
660
|
'describedByParts'?: NLDDCheckboxField['describedByParts'];
|
|
653
661
|
'internals'?: NLDDCheckboxField['internals'];
|
|
662
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
663
|
+
'validity'?: NLDDCheckboxField['validity'];
|
|
664
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
665
|
+
'validationMessage'?: NLDDCheckboxField['validationMessage'];
|
|
666
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
667
|
+
'willValidate'?: NLDDCheckboxField['willValidate'];
|
|
654
668
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
655
669
|
'onChange'?: (event: CustomEvent) => void;
|
|
656
670
|
};
|
|
@@ -724,6 +738,12 @@ declare module 'vue' {
|
|
|
724
738
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
725
739
|
'describedByParts'?: NLDDCodeEditor['describedByParts'];
|
|
726
740
|
'internals'?: NLDDCodeEditor['internals'];
|
|
741
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
742
|
+
'validity'?: NLDDCodeEditor['validity'];
|
|
743
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
744
|
+
'validationMessage'?: NLDDCodeEditor['validationMessage'];
|
|
745
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
746
|
+
'willValidate'?: NLDDCodeEditor['willValidate'];
|
|
727
747
|
/** When the content changes (detail: { value }) */
|
|
728
748
|
'onInput'?: (event: CustomEvent) => void;
|
|
729
749
|
/** When the content is committed on blur (detail: { value }) */
|
|
@@ -862,6 +882,12 @@ declare module 'vue' {
|
|
|
862
882
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
863
883
|
'describedByParts'?: NLDDComboBox['describedByParts'];
|
|
864
884
|
'internals'?: NLDDComboBox['internals'];
|
|
885
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
886
|
+
'validity'?: NLDDComboBox['validity'];
|
|
887
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
888
|
+
'validationMessage'?: NLDDComboBox['validationMessage'];
|
|
889
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
890
|
+
'willValidate'?: NLDDComboBox['willValidate'];
|
|
865
891
|
/** When the input value changes; detail: { value: string } */
|
|
866
892
|
'onInput'?: (event: CustomEvent) => void;
|
|
867
893
|
/** When an option is selected or a custom value is committed; detail: { value: string } */
|
|
@@ -1109,6 +1135,12 @@ declare module 'vue' {
|
|
|
1109
1135
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1110
1136
|
'describedByParts'?: NLDDDateField['describedByParts'];
|
|
1111
1137
|
'internals'?: NLDDDateField['internals'];
|
|
1138
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
1139
|
+
'validity'?: NLDDDateField['validity'];
|
|
1140
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
1141
|
+
'validationMessage'?: NLDDDateField['validationMessage'];
|
|
1142
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
1143
|
+
'willValidate'?: NLDDDateField['willValidate'];
|
|
1112
1144
|
/** On every change. detail: { value } with the ISO date, or '' while there is no valid date. */
|
|
1113
1145
|
'onInput'?: (event: CustomEvent) => void;
|
|
1114
1146
|
/** When the value is committed. detail: { value } with the ISO date, or ''. */
|
|
@@ -1161,6 +1193,12 @@ declare module 'vue' {
|
|
|
1161
1193
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1162
1194
|
'describedByParts'?: NLDDDatePicker['describedByParts'];
|
|
1163
1195
|
'internals'?: NLDDDatePicker['internals'];
|
|
1196
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
1197
|
+
'validity'?: NLDDDatePicker['validity'];
|
|
1198
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
1199
|
+
'validationMessage'?: NLDDDatePicker['validationMessage'];
|
|
1200
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
1201
|
+
'willValidate'?: NLDDDatePicker['willValidate'];
|
|
1164
1202
|
/** When a date or a complete period has been chosen. detail: { value } or { start, end }. */
|
|
1165
1203
|
'onChange'?: (event: CustomEvent) => void;
|
|
1166
1204
|
/** Also on the intermediate step of a period, when only the start date is set. */
|
|
@@ -1331,6 +1369,12 @@ declare module 'vue' {
|
|
|
1331
1369
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1332
1370
|
'describedByParts'?: NLDDFileField['describedByParts'];
|
|
1333
1371
|
'internals'?: NLDDFileField['internals'];
|
|
1372
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
1373
|
+
'validity'?: NLDDFileField['validity'];
|
|
1374
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
1375
|
+
'validationMessage'?: NLDDFileField['validationMessage'];
|
|
1376
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
1377
|
+
'willValidate'?: NLDDFileField['willValidate'];
|
|
1334
1378
|
/** When the chosen files change, including a clear; detail: { files: File[], paths: string[] } */
|
|
1335
1379
|
'onChange'?: (event: CustomEvent) => void;
|
|
1336
1380
|
};
|
|
@@ -1453,14 +1497,16 @@ declare module 'vue' {
|
|
|
1453
1497
|
};
|
|
1454
1498
|
|
|
1455
1499
|
type NLDDHeroProps = {
|
|
1456
|
-
/** Surface color of the
|
|
1500
|
+
/** Surface color of the content area: 'accent' (default), the accent color of the theme, or 'base', the base surface */
|
|
1457
1501
|
'main-background'?: NLDDHero['mainBackground'];
|
|
1458
|
-
/** Surface color of the
|
|
1502
|
+
/** Surface color of the content area: 'accent' (default), the accent color of the theme, or 'base', the base surface */
|
|
1459
1503
|
'mainBackground'?: NLDDHero['mainBackground'];
|
|
1460
|
-
/** Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the
|
|
1504
|
+
/** Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the content area leaves free. With media it applies in every position: with a content area that overlaps the image takes the corner of `bottom-left`, `bottom-center` or `bottom-right`, and the content area keeps its distance from the edge and stays square; a centered content area gets its corner on the side of the corner of the image. A content area on the image stands against its edge, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A content area along the same edge as the rounded corner of the image stops before the curve, at the content area's padding from it; a content area along a full side, a `main-width="full"` strip and the content area on mobile stay square. On mobile a bottom corner moves to the top, and the content area stands under the image, as wide as it, instead of overlapping it. Without media the content area is the whole hero: the corner applies in every position, at half the radius, and the hero chooses top-right, or top-left for a content area on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the content area, or with `width="full"` */
|
|
1461
1505
|
'corner'?: NLDDHero['corner'];
|
|
1462
|
-
/**
|
|
1463
|
-
'
|
|
1506
|
+
/** Where the content area stands, and how it relates to the image (default: 'overlap-left'). The 'overlap-' positions let it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content; the image then has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and a content area shorter than `overlap-size` ends inside the image and says so in development. The other positions keep the content area on the image; 'left'/'right' span its full height */
|
|
1507
|
+
'main-position'?: NLDDHero['mainPosition'];
|
|
1508
|
+
/** Where the content area stands, and how it relates to the image (default: 'overlap-left'). The 'overlap-' positions let it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content; the image then has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and a content area shorter than `overlap-size` ends inside the image and says so in development. The other positions keep the content area on the image; 'left'/'right' span its full height */
|
|
1509
|
+
'mainPosition'?: NLDDHero['mainPosition'];
|
|
1464
1510
|
/** Body max-width; 'full' removes the bound (section API) */
|
|
1465
1511
|
'width'?: NLDDHero['width'];
|
|
1466
1512
|
/** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
|
|
@@ -1471,18 +1517,14 @@ declare module 'vue' {
|
|
|
1471
1517
|
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1472
1518
|
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1473
1519
|
'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
|
|
1474
|
-
/** Width of the
|
|
1520
|
+
/** Width of the content area (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow content area, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
|
|
1475
1521
|
'main-width'?: NLDDHero['mainWidth'];
|
|
1476
|
-
/** Width of the
|
|
1522
|
+
/** Width of the content area (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow content area, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
|
|
1477
1523
|
'mainWidth'?: NLDDHero['mainWidth'];
|
|
1478
|
-
/** With
|
|
1524
|
+
/** With an overlap position: how far the content area falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a content area shorter than this ends inside the image */
|
|
1479
1525
|
'overlap-size'?: NLDDHero['overlapSize'];
|
|
1480
|
-
/** With
|
|
1526
|
+
/** With an overlap position: how far the content area falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a content area shorter than this ends inside the image */
|
|
1481
1527
|
'overlapSize'?: NLDDHero['overlapSize'];
|
|
1482
|
-
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1483
|
-
'main-position'?: NLDDHero['mainPosition'];
|
|
1484
|
-
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1485
|
-
'mainPosition'?: NLDDHero['mainPosition'];
|
|
1486
1528
|
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
1487
1529
|
'media-src'?: NLDDHero['mediaSrc'];
|
|
1488
1530
|
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
@@ -1559,7 +1601,7 @@ declare module 'vue' {
|
|
|
1559
1601
|
'customColor'?: NLDDIcon['customColor'];
|
|
1560
1602
|
/** `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). */
|
|
1561
1603
|
'size'?: NLDDIcon['size'];
|
|
1562
|
-
/** Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-
|
|
1604
|
+
/** Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is the tile times `--semantics-tiles-corner-ratio`, as on an organization `nldd-avatar` and `nldd-keyboard-shortcut`: square by default. */
|
|
1563
1605
|
'tile'?: NLDDIcon['tile'];
|
|
1564
1606
|
/** The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon. */
|
|
1565
1607
|
'icon'?: NLDDIcon['icon'];
|
|
@@ -1705,7 +1747,7 @@ declare module 'vue' {
|
|
|
1705
1747
|
};
|
|
1706
1748
|
|
|
1707
1749
|
type NLDDImageProps = {
|
|
1708
|
-
/**
|
|
1750
|
+
/** Shape of the image (default: 'rectangle'). 'rectangle' takes `--semantics-images-corner-radius`, as an image in nldd-rich-text does. 'circle' makes a circle of a square image and an ellipse of any other */
|
|
1709
1751
|
'shape'?: NLDDImage['shape'];
|
|
1710
1752
|
/** Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own. */
|
|
1711
1753
|
'width'?: NLDDImage['width'];
|
|
@@ -2312,6 +2354,12 @@ declare module 'vue' {
|
|
|
2312
2354
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2313
2355
|
'describedByParts'?: NLDDMultiLineTextField['describedByParts'];
|
|
2314
2356
|
'internals'?: NLDDMultiLineTextField['internals'];
|
|
2357
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
2358
|
+
'validity'?: NLDDMultiLineTextField['validity'];
|
|
2359
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
2360
|
+
'validationMessage'?: NLDDMultiLineTextField['validationMessage'];
|
|
2361
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
2362
|
+
'willValidate'?: NLDDMultiLineTextField['willValidate'];
|
|
2315
2363
|
/** When value changes */
|
|
2316
2364
|
'onInput'?: (event: CustomEvent) => void;
|
|
2317
2365
|
/** When value is committed (blur) */
|
|
@@ -2370,7 +2418,7 @@ declare module 'vue' {
|
|
|
2370
2418
|
'spinButtons'?: NLDDNumberField['spinButtons'];
|
|
2371
2419
|
/** Size: 'sm' | 'md' (default: 'md') */
|
|
2372
2420
|
'size'?: NLDDNumberField['size'];
|
|
2373
|
-
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
2421
|
+
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px'). Without it the value gets room for the longest number from `min` to `max`, with the decimals of `step`, and at least 56px (80px with `spin-buttons="none"`), the same in every browser */
|
|
2374
2422
|
'width'?: NLDDNumberField['width'];
|
|
2375
2423
|
/** Accessible label (aria-label) forwarded to the native input */
|
|
2376
2424
|
'accessible-label'?: NLDDNumberField['accessibleLabel'];
|
|
@@ -2407,6 +2455,12 @@ declare module 'vue' {
|
|
|
2407
2455
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2408
2456
|
'describedByParts'?: NLDDNumberField['describedByParts'];
|
|
2409
2457
|
'internals'?: NLDDNumberField['internals'];
|
|
2458
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
2459
|
+
'validity'?: NLDDNumberField['validity'];
|
|
2460
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
2461
|
+
'validationMessage'?: NLDDNumberField['validationMessage'];
|
|
2462
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
2463
|
+
'willValidate'?: NLDDNumberField['willValidate'];
|
|
2410
2464
|
/** When the value changes (typing, +/- button, or on-commit correction); not for typing that reads as the same number, such as `1.0` after `1`. detail: { value: number | null }, null when the field is empty */
|
|
2411
2465
|
'onInput'?: (event: CustomEvent) => void;
|
|
2412
2466
|
/** When the value is committed (blur/Enter or +/- button), clamped to [min, max]; an emptied field, or text that is no number (such as `-` or `1e`), commits as empty: null. From empty, + and - start at 0, or at the nearer end of the range when 0 lies outside it. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number | null } */
|
|
@@ -2591,6 +2645,12 @@ declare module 'vue' {
|
|
|
2591
2645
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2592
2646
|
'describedByParts'?: NLDDOneTimeCodeField['describedByParts'];
|
|
2593
2647
|
'internals'?: NLDDOneTimeCodeField['internals'];
|
|
2648
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
2649
|
+
'validity'?: NLDDOneTimeCodeField['validity'];
|
|
2650
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
2651
|
+
'validationMessage'?: NLDDOneTimeCodeField['validationMessage'];
|
|
2652
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
2653
|
+
'willValidate'?: NLDDOneTimeCodeField['willValidate'];
|
|
2594
2654
|
/** When the code changes; detail: { value: string } */
|
|
2595
2655
|
'onInput'?: (event: CustomEvent) => void;
|
|
2596
2656
|
/** When the code is committed; detail: { value: string } */
|
|
@@ -2717,6 +2777,12 @@ declare module 'vue' {
|
|
|
2717
2777
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2718
2778
|
'describedByParts'?: NLDDPasswordField['describedByParts'];
|
|
2719
2779
|
'internals'?: NLDDPasswordField['internals'];
|
|
2780
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
2781
|
+
'validity'?: NLDDPasswordField['validity'];
|
|
2782
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
2783
|
+
'validationMessage'?: NLDDPasswordField['validationMessage'];
|
|
2784
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
2785
|
+
'willValidate'?: NLDDPasswordField['willValidate'];
|
|
2720
2786
|
/** When the input value changes ({ detail: { value } }) */
|
|
2721
2787
|
'onInput'?: (event: CustomEvent) => void;
|
|
2722
2788
|
/** When the input value is committed ({ detail: { value } }) */
|
|
@@ -2858,7 +2924,7 @@ declare module 'vue' {
|
|
|
2858
2924
|
};
|
|
2859
2925
|
|
|
2860
2926
|
type NLDDRadioButtonProps = {
|
|
2861
|
-
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the
|
|
2927
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the content area of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
2862
2928
|
'color'?: NLDDRadioButton['color'];
|
|
2863
2929
|
/** Accessible label, set as aria-label on this element: it is the radio. */
|
|
2864
2930
|
'accessible-label'?: NLDDRadioButton['accessibleLabel'];
|
|
@@ -2893,12 +2959,18 @@ declare module 'vue' {
|
|
|
2893
2959
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2894
2960
|
'describedByParts'?: NLDDRadioButton['describedByParts'];
|
|
2895
2961
|
'internals'?: NLDDRadioButton['internals'];
|
|
2962
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
2963
|
+
'validity'?: NLDDRadioButton['validity'];
|
|
2964
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
2965
|
+
'validationMessage'?: NLDDRadioButton['validationMessage'];
|
|
2966
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
2967
|
+
'willValidate'?: NLDDRadioButton['willValidate'];
|
|
2896
2968
|
/** When checked state changes; detail: { checked: boolean, value: string, name: string } */
|
|
2897
2969
|
'onChange'?: (event: CustomEvent) => void;
|
|
2898
2970
|
};
|
|
2899
2971
|
|
|
2900
2972
|
type NLDDRadioButtonFieldProps = {
|
|
2901
|
-
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the
|
|
2973
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the content area of nldd-hero. Passed to the control inside. */
|
|
2902
2974
|
'color'?: NLDDRadioButtonField['color'];
|
|
2903
2975
|
/** Label text for the radio button */
|
|
2904
2976
|
'label'?: NLDDRadioButtonField['label'];
|
|
@@ -2925,6 +2997,12 @@ declare module 'vue' {
|
|
|
2925
2997
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2926
2998
|
'describedByParts'?: NLDDRadioButtonField['describedByParts'];
|
|
2927
2999
|
'internals'?: NLDDRadioButtonField['internals'];
|
|
3000
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3001
|
+
'validity'?: NLDDRadioButtonField['validity'];
|
|
3002
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3003
|
+
'validationMessage'?: NLDDRadioButtonField['validationMessage'];
|
|
3004
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3005
|
+
'willValidate'?: NLDDRadioButtonField['willValidate'];
|
|
2928
3006
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
2929
3007
|
'onChange'?: (event: CustomEvent) => void;
|
|
2930
3008
|
};
|
|
@@ -3034,6 +3112,12 @@ declare module 'vue' {
|
|
|
3034
3112
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3035
3113
|
'describedByParts'?: NLDDSearchField['describedByParts'];
|
|
3036
3114
|
'internals'?: NLDDSearchField['internals'];
|
|
3115
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3116
|
+
'validity'?: NLDDSearchField['validity'];
|
|
3117
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3118
|
+
'validationMessage'?: NLDDSearchField['validationMessage'];
|
|
3119
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3120
|
+
'willValidate'?: NLDDSearchField['willValidate'];
|
|
3037
3121
|
/** When the input value changes; detail: { value: string } */
|
|
3038
3122
|
'onInput'?: (event: CustomEvent) => void;
|
|
3039
3123
|
/** When the input value is committed; detail: { value: string } */
|
|
@@ -3074,6 +3158,12 @@ declare module 'vue' {
|
|
|
3074
3158
|
/** Selected values for checkbox type. Use property binding: .values=${['New York', 'Amsterdam']} Does not reflect to an attribute, so it is safe for values containing spaces or special characters. */
|
|
3075
3159
|
'values'?: NLDDSegmentedControl['values'];
|
|
3076
3160
|
'internals'?: NLDDSegmentedControl['internals'];
|
|
3161
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3162
|
+
'validity'?: NLDDSegmentedControl['validity'];
|
|
3163
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3164
|
+
'validationMessage'?: NLDDSegmentedControl['validationMessage'];
|
|
3165
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3166
|
+
'willValidate'?: NLDDSegmentedControl['willValidate'];
|
|
3077
3167
|
/** When selection changes; detail: { value: string } for radio, detail: { values: string[] } for checkbox */
|
|
3078
3168
|
'onChange'?: (event: CustomEvent) => void;
|
|
3079
3169
|
};
|
|
@@ -3357,6 +3447,12 @@ declare module 'vue' {
|
|
|
3357
3447
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3358
3448
|
'describedByParts'?: NLDDSlider['describedByParts'];
|
|
3359
3449
|
'internals'?: NLDDSlider['internals'];
|
|
3450
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3451
|
+
'validity'?: NLDDSlider['validity'];
|
|
3452
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3453
|
+
'validationMessage'?: NLDDSlider['validationMessage'];
|
|
3454
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3455
|
+
'willValidate'?: NLDDSlider['willValidate'];
|
|
3360
3456
|
/** While a thumb moves; detail: { value } or, with `range`, { startValue, endValue } */
|
|
3361
3457
|
'onInput'?: (event: CustomEvent) => void;
|
|
3362
3458
|
/** When a thumb is let go, or a key moved it; detail as for input */
|
|
@@ -3584,6 +3680,12 @@ declare module 'vue' {
|
|
|
3584
3680
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3585
3681
|
'describedByParts'?: NLDDStepper['describedByParts'];
|
|
3586
3682
|
'internals'?: NLDDStepper['internals'];
|
|
3683
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3684
|
+
'validity'?: NLDDStepper['validity'];
|
|
3685
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3686
|
+
'validationMessage'?: NLDDStepper['validationMessage'];
|
|
3687
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3688
|
+
'willValidate'?: NLDDStepper['willValidate'];
|
|
3587
3689
|
/** When the value changes; detail: { value: number } */
|
|
3588
3690
|
'onChange'?: (event: CustomEvent) => void;
|
|
3589
3691
|
};
|
|
@@ -3610,6 +3712,12 @@ declare module 'vue' {
|
|
|
3610
3712
|
/** Disabled state for all swatches */
|
|
3611
3713
|
'disabled'?: NLDDSwatchPicker['disabled'];
|
|
3612
3714
|
'internals'?: NLDDSwatchPicker['internals'];
|
|
3715
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3716
|
+
'validity'?: NLDDSwatchPicker['validity'];
|
|
3717
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3718
|
+
'validationMessage'?: NLDDSwatchPicker['validationMessage'];
|
|
3719
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3720
|
+
'willValidate'?: NLDDSwatchPicker['willValidate'];
|
|
3613
3721
|
/** When the choice changes; detail: { value: string } */
|
|
3614
3722
|
'onChange'?: (event: CustomEvent) => void;
|
|
3615
3723
|
};
|
|
@@ -3641,7 +3749,7 @@ declare module 'vue' {
|
|
|
3641
3749
|
};
|
|
3642
3750
|
|
|
3643
3751
|
type NLDDSwitchProps = {
|
|
3644
|
-
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the
|
|
3752
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the content area of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
3645
3753
|
'color'?: NLDDSwitch['color'];
|
|
3646
3754
|
/** Switch size: 'xs' | 'sm' (default: 'sm') */
|
|
3647
3755
|
'size'?: NLDDSwitch['size'];
|
|
@@ -3676,12 +3784,18 @@ declare module 'vue' {
|
|
|
3676
3784
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3677
3785
|
'describedByParts'?: NLDDSwitch['describedByParts'];
|
|
3678
3786
|
'internals'?: NLDDSwitch['internals'];
|
|
3787
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3788
|
+
'validity'?: NLDDSwitch['validity'];
|
|
3789
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3790
|
+
'validationMessage'?: NLDDSwitch['validationMessage'];
|
|
3791
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3792
|
+
'willValidate'?: NLDDSwitch['willValidate'];
|
|
3679
3793
|
/** When the switch state changes; detail: { checked: boolean, value: string } */
|
|
3680
3794
|
'onChange'?: (event: CustomEvent) => void;
|
|
3681
3795
|
};
|
|
3682
3796
|
|
|
3683
3797
|
type NLDDSwitchFieldProps = {
|
|
3684
|
-
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the
|
|
3798
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the content area of nldd-hero. Passed to the control inside. */
|
|
3685
3799
|
'color'?: NLDDSwitchField['color'];
|
|
3686
3800
|
/** Label text for the switch */
|
|
3687
3801
|
'label'?: NLDDSwitchField['label'];
|
|
@@ -3708,6 +3822,12 @@ declare module 'vue' {
|
|
|
3708
3822
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3709
3823
|
'describedByParts'?: NLDDSwitchField['describedByParts'];
|
|
3710
3824
|
'internals'?: NLDDSwitchField['internals'];
|
|
3825
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
3826
|
+
'validity'?: NLDDSwitchField['validity'];
|
|
3827
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
3828
|
+
'validationMessage'?: NLDDSwitchField['validationMessage'];
|
|
3829
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
3830
|
+
'willValidate'?: NLDDSwitchField['willValidate'];
|
|
3711
3831
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
3712
3832
|
'onChange'?: (event: CustomEvent) => void;
|
|
3713
3833
|
};
|
|
@@ -3919,7 +4039,7 @@ declare module 'vue' {
|
|
|
3919
4039
|
'embedded'?: NLDDTextEditor['embedded'];
|
|
3920
4040
|
/** Wrap long lines (default true; prose wraps) */
|
|
3921
4041
|
'wrap'?: NLDDTextEditor['wrap'];
|
|
3922
|
-
/** 'hidden' (default) or 'visible'. 'visible': every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`), for people who write markdown. '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 per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way. */
|
|
4042
|
+
/** 'hidden' (default) or 'visible'. 'visible': every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`), for people who write markdown. 'hidden': the marks of bold, italic, strikethrough, highlight, 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 per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way. */
|
|
3923
4043
|
'syntax'?: NLDDTextEditor['syntax'];
|
|
3924
4044
|
/** Enable the annotation overlay (off by default). Annotations only render when this is set. */
|
|
3925
4045
|
'annotatable'?: NLDDTextEditor['annotatable'];
|
|
@@ -3927,7 +4047,7 @@ declare module 'vue' {
|
|
|
3927
4047
|
'no-spellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3928
4048
|
/** 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. */
|
|
3929
4049
|
'noSpellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3930
|
-
/** Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box
|
|
4050
|
+
/** Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box, the copy button of a code block and the text of a variable without a value). Unset keys fall back to Dutch. */
|
|
3931
4051
|
'translations'?: NLDDTextEditor['translations'];
|
|
3932
4052
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3933
4053
|
'accessible-description'?: NLDDTextEditor['accessibleDescription'];
|
|
@@ -3979,9 +4099,17 @@ declare module 'vue' {
|
|
|
3979
4099
|
'typeaheads'?: NLDDTextEditor['typeaheads'];
|
|
3980
4100
|
/** Consumer-supplied annotations (W3C-style overlay). Property only (set via JS). Render only when `annotatable` is on. The text stays clean; these render as a light tint and a count badge, anchored by offset and mapped through edits. IMPORTANT: assign a NEW array to apply changes. Lit dirty-checks this property by identity, so mutating the existing array in place (`editor.annotations.push(next)`, `editor.annotations[0].end = 9`, …) does NOT trigger a re-render. Always replace it: `editor.annotations = [...editor.annotations, next]`. */
|
|
3981
4101
|
'annotations'?: NLDDTextEditor['annotations'];
|
|
4102
|
+
/** The data the text can name as `{{key}}`, each with its label and, once known, its value. Property only. Assign a new array to apply a change. */
|
|
4103
|
+
'variables'?: NLDDTextEditor['variables'];
|
|
3982
4104
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3983
4105
|
'describedByParts'?: NLDDTextEditor['describedByParts'];
|
|
3984
4106
|
'internals'?: NLDDTextEditor['internals'];
|
|
4107
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4108
|
+
'validity'?: NLDDTextEditor['validity'];
|
|
4109
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4110
|
+
'validationMessage'?: NLDDTextEditor['validationMessage'];
|
|
4111
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4112
|
+
'willValidate'?: NLDDTextEditor['willValidate'];
|
|
3985
4113
|
/** When the user changes the content (detail: { value }). Setting `value` or calling `applyChanges()` does not fire it. */
|
|
3986
4114
|
'onInput'?: (event: CustomEvent) => void;
|
|
3987
4115
|
/** When the content is committed on blur (detail: { value }) */
|
|
@@ -4056,6 +4184,12 @@ declare module 'vue' {
|
|
|
4056
4184
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4057
4185
|
'describedByParts'?: NLDDTextField['describedByParts'];
|
|
4058
4186
|
'internals'?: NLDDTextField['internals'];
|
|
4187
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4188
|
+
'validity'?: NLDDTextField['validity'];
|
|
4189
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4190
|
+
'validationMessage'?: NLDDTextField['validationMessage'];
|
|
4191
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4192
|
+
'willValidate'?: NLDDTextField['willValidate'];
|
|
4059
4193
|
/** When input value changes */
|
|
4060
4194
|
'onInput'?: (event: CustomEvent) => void;
|
|
4061
4195
|
/** When input value is committed */
|
|
@@ -4116,6 +4250,12 @@ declare module 'vue' {
|
|
|
4116
4250
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4117
4251
|
'describedByParts'?: NLDDTimeField['describedByParts'];
|
|
4118
4252
|
'internals'?: NLDDTimeField['internals'];
|
|
4253
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4254
|
+
'validity'?: NLDDTimeField['validity'];
|
|
4255
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4256
|
+
'validationMessage'?: NLDDTimeField['validationMessage'];
|
|
4257
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4258
|
+
'willValidate'?: NLDDTimeField['willValidate'];
|
|
4119
4259
|
/** On every change. detail: { value } with `HH:mm`, or '' while there is no valid time. */
|
|
4120
4260
|
'onInput'?: (event: CustomEvent) => void;
|
|
4121
4261
|
/** When the value is committed: on leaving the field, and on closing the picker in a way that keeps the choice. detail: { value } with `HH:mm`, or ''. */
|
|
@@ -4156,6 +4296,12 @@ declare module 'vue' {
|
|
|
4156
4296
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4157
4297
|
'describedByParts'?: NLDDTimePicker['describedByParts'];
|
|
4158
4298
|
'internals'?: NLDDTimePicker['internals'];
|
|
4299
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4300
|
+
'validity'?: NLDDTimePicker['validity'];
|
|
4301
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4302
|
+
'validationMessage'?: NLDDTimePicker['validationMessage'];
|
|
4303
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4304
|
+
'willValidate'?: NLDDTimePicker['willValidate'];
|
|
4159
4305
|
/** On every change: scrolling, the arrow keys. detail: { value } with `HH:mm`. */
|
|
4160
4306
|
'onInput'?: (event: CustomEvent) => void;
|
|
4161
4307
|
/** When the choice is confirmed: a click on a value or on the selection, or Enter. detail: { value } with `HH:mm`. Scrolling only fires `input`, because otherwise a field showing the picker in a popover would commit as soon as you stopped scrolling. */
|
|
@@ -4320,6 +4466,12 @@ declare module 'vue' {
|
|
|
4320
4466
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4321
4467
|
'describedByParts'?: NLDDToggleButton['describedByParts'];
|
|
4322
4468
|
'internals'?: NLDDToggleButton['internals'];
|
|
4469
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4470
|
+
'validity'?: NLDDToggleButton['validity'];
|
|
4471
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4472
|
+
'validationMessage'?: NLDDToggleButton['validationMessage'];
|
|
4473
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4474
|
+
'willValidate'?: NLDDToggleButton['willValidate'];
|
|
4323
4475
|
/** When selection changes; detail: { selected: boolean, value: string }. With `type="button"` or `"checkbox"` it is cancelable: `preventDefault()` keeps the old state, so the app decides, for instance once a server has accepted the change. Set `selected` yourself then. A radio is always chosen, since its group has already moved on. */
|
|
4324
4476
|
'onChange'?: (event: CustomEvent) => void;
|
|
4325
4477
|
};
|
|
@@ -4428,6 +4580,12 @@ declare module 'vue' {
|
|
|
4428
4580
|
/** What nldd-form-field and nldd-validation-list say about this control, in the order it is read: elements to point at, and texts that sit in a shadow root no reference from here can reach, such as the supporting label of a field. Each text becomes a hidden element in this shadow root. Written by `contributeInputDescribedBy`; a consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4429
4581
|
'describedByParts'?: NLDDTokenField['describedByParts'];
|
|
4430
4582
|
'internals'?: NLDDTokenField['internals'];
|
|
4583
|
+
/** The verdict on the value, as on a native input. Where `value` cannot tell an empty field from one with text that is no value (a date field reads '' for both), `validity.badInput` can. */
|
|
4584
|
+
'validity'?: NLDDTokenField['validity'];
|
|
4585
|
+
/** The message that goes with `validity`; empty when the value is valid. */
|
|
4586
|
+
'validationMessage'?: NLDDTokenField['validationMessage'];
|
|
4587
|
+
/** False when the field is barred from validation, such as when it is disabled. */
|
|
4588
|
+
'willValidate'?: NLDDTokenField['willValidate'];
|
|
4431
4589
|
/** When the selected values change; detail: { values: string[] } */
|
|
4432
4590
|
'onChange'?: (event: CustomEvent) => void;
|
|
4433
4591
|
/** When the input text changes; detail: { value: string } */
|
|
@@ -4531,9 +4689,9 @@ declare module 'vue' {
|
|
|
4531
4689
|
'noLogo'?: NLDDTopNavigationBar['noLogo'];
|
|
4532
4690
|
/** Limits the bar content to a max-width so it lines up with the page sections. 'full' fills the entire width, or pass your own CSS length. */
|
|
4533
4691
|
'width'?: NLDDTopNavigationBar['width'];
|
|
4534
|
-
/** Title of the wordmark next to the logo. Without it the logo stands alone. */
|
|
4692
|
+
/** Title of the wordmark next to the logo, from md up. Without it the logo stands alone. */
|
|
4535
4693
|
'logo-title'?: NLDDTopNavigationBar['logoTitle'];
|
|
4536
|
-
/** Title of the wordmark next to the logo. Without it the logo stands alone. */
|
|
4694
|
+
/** Title of the wordmark next to the logo, from md up. Without it the logo stands alone. */
|
|
4537
4695
|
'logoTitle'?: NLDDTopNavigationBar['logoTitle'];
|
|
4538
4696
|
/** Subtitle under the wordmark title. Only visible when there is a wordmark. */
|
|
4539
4697
|
'logo-subtitle'?: NLDDTopNavigationBar['logoSubtitle'];
|
|
@@ -4551,9 +4709,9 @@ declare module 'vue' {
|
|
|
4551
4709
|
'logo-href'?: NLDDTopNavigationBar['logoHref'];
|
|
4552
4710
|
/** URL for the logo and wordmark. Without it they are not a link but an image with an accessible label. Leave it out when `website-href` already goes to the same page: two links to the start page side by side are two tab stops and the same link twice in a screen reader's list of links. */
|
|
4553
4711
|
'logoHref'?: NLDDTopNavigationBar['logoHref'];
|
|
4554
|
-
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen
|
|
4712
|
+
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen it has a line of its own, centered (under the ribbon, or alone without a logo), and a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4555
4713
|
'website-title'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4556
|
-
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen
|
|
4714
|
+
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen it has a line of its own, centered (under the ribbon, or alone without a logo), and a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4557
4715
|
'websiteTitle'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4558
4716
|
/** URL for the website title. Without it the title stays plain text. */
|
|
4559
4717
|
'website-href'?: NLDDTopNavigationBar['websiteHref'];
|
|
@@ -4752,7 +4910,7 @@ declare module 'vue' {
|
|
|
4752
4910
|
'nldd-badge': DefineComponent<NLDDBadgeProps>;
|
|
4753
4911
|
/** An inline notification with a tinted background per variant. Use for persistent, page-level feedback (e.g. an error summary at the top of a form). Banner is more visually present than nldd-inline-dialog: the tinted color catches the eye. If you need a quieter component, pick a different one rather than overriding the banner's ARIA. Layout: icon left, text + supporting text + optional rich content + actions in the center, optional dismiss button right. Buttons wrap to a second row on narrow viewports via nldd-button-group's flex wrapping. role and aria-live are set automatically from the variant: - critical → role="alert" (interrupts screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a less prominent component, use one. aria-atomic="true" is also set so that updates to the structured region (icon + heading + supporting-text + actions) are announced as one unit rather than as a partial subtree. Trade-off: any programmatic content mutation re-reads the entire banner. Banners are designed for short, heading-scale copy. If you slot in a paragraph of rich body text and then toggle variant or supporting-text at runtime, AT will re-announce the whole thing. Keep banner content concise, or render long-form messages in a different surface. */
|
|
4754
4912
|
'nldd-banner': DefineComponent<NLDDBannerProps>;
|
|
4755
|
-
/** A vertical split view with a main area and an unlimited number of bar
|
|
4913
|
+
/** A vertical split view with a main area and an unlimited number of bar panes. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar (directly above and/or below main), at every breakpoint including sm. Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar"). Use slot="bar-1", slot="bar-2" if no meaningful name applies. The main pane always uses slot="main". An nldd-status-bar is a bar of its own and comes first, above the toolbar. Sets --context-background-color, which cascades to all descendants. */
|
|
4756
4914
|
'nldd-bar-split-view': DefineComponent<NLDDBarSplitViewProps>;
|
|
4757
4915
|
/** Shows a quote with an optional source attribution. The quote is at most 30em wide, measured in its own letters, so a line holds about the same number of characters at every size, custom sizes included. Within that, it takes the width of its parent. */
|
|
4758
4916
|
'nldd-blockquote': DefineComponent<NLDDBlockquoteProps>;
|
|
@@ -4790,7 +4948,7 @@ declare module 'vue' {
|
|
|
4790
4948
|
'nldd-container': DefineComponent<NLDDContainerProps>;
|
|
4791
4949
|
/** A text field for a date, with an optional calendar in a popover. The value is always ISO (yyyy-mm-dd); on screen it shows the Dutch notation (dd-mm-yyyy). Typing is not masked: input is accepted generously (`31-12-2026`, `31/12/2026`, `31122026`, ISO too) and normalized only when the field is left. Masking per keystroke makes the caret jump, makes backspace unpredictable and confuses screen readers. After a choice in the calendar the chosen day stays lit a moment before the calendar closes, so you see what you picked. The value and `change` do not wait for it. Error messages belong to nldd-form-field, not here. This field reflects only `invalid` / `valid`, like nldd-text-field. `value` holds a valid date or nothing, so an empty field and one with text that is no date both read as ''. `validity` tells them apart: `badInput` for text that is no date, `rangeUnderflow` / `rangeOverflow` for a date outside `min` / `max`, and with `range` and `required` `valueMissing` for a period with only a start. A form does not submit then, and nldd-form marks the field invalid. Without a submit, as in a filter that applies at once, the moment is yours: `field.invalid = !field.validity.valid` on `change`, with a message of your own in the nldd-form-field. */
|
|
4792
4950
|
'nldd-date-field': DefineComponent<NLDDDateFieldProps>;
|
|
4793
|
-
/** A calendar for picking a date or a period. The component works on its own (inline on a page, in a filter
|
|
4951
|
+
/** A calendar for picking a date or a period. The component works on its own (inline on a page, in a filter area) and also sits in the popover of nldd-date-field. Values are always ISO (yyyy-mm-dd). With `range` the user picks a start and an end date in two steps. Arrow keys move by day and by week, Home and End to the edges of the week, PageUp and PageDown by month, and with Shift by year; Enter and Space pick. The month title is a live region, so a screen reader hears which month has focus while paging. Dates that `isDateUnavailable` rules out stay reachable by keyboard, so an arrow key never silently skips a run of them. */
|
|
4794
4952
|
'nldd-date-picker': DefineComponent<NLDDDatePickerProps>;
|
|
4795
4953
|
/** A cell component for displaying a title-description pair in lists. `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"`. A cell of `width="full"` takes the room the row has left, but not less than 160px, so its text stays readable: about 20 characters. In a row too narrow for that the row runs wider than its box, which is the sign to hide a cell at that width (`hide-below`) or to combine two. In `nldd-table` the columns set the width, so a cell there has no floor. A `width="fit-content"` cell is as wide as its text on one line, and never narrower than its longest word. `min-width` always wins: `0` lets the cell shrink freely, so a long URL breaks; `min-content` keeps the longest word whole; `max-content` keeps the text on one line. A `max-width` below 160px lowers the floor with it. Text breaks at spaces and hyphens. A word wider than the cell breaks between two letters, without a hyphen. Set `hyphens` to break long words by syllable instead. The cell gives the element in a slot its font and color, and styles nothing inside it. For a link, code or bold text in the description, put an `nldd-text` in the slot, with a `<p>` in it: that brings the inline styles of nldd-text, in the text style of the cell. A `size`, `color` or `weight` on the nldd-text does nothing there. */
|
|
4796
4954
|
'nldd-description-cell': DefineComponent<NLDDDescriptionCellProps>;
|
|
@@ -4813,14 +4971,14 @@ declare module 'vue' {
|
|
|
4813
4971
|
'nldd-form-section': DefineComponent<NLDDFormSectionProps>;
|
|
4814
4972
|
/** A section that spans the full width without horizontal padding. Useful for background colors, images, or other content that runs edge to edge. Vertical padding and gap are responsive. Like every section it goes in an nldd-page, never in another section, and lays out by the width of that page. */
|
|
4815
4973
|
'nldd-full-bleed-section': DefineComponent<NLDDFullBleedSectionProps>;
|
|
4816
|
-
/** The section that says what a page is for: it names the main goal of what you can find there, draws the eye and is the visual welcome. It has a media area and a
|
|
4974
|
+
/** The section that says what a page is for: it names the main goal of what you can find there, draws the eye and is the visual welcome. It has a media area and a content area (the main) that can stand in eleven positions. The areas are rectangular; `corner` rounds one corner of each. Use it on pages where a visitor first has to know where they are, such as a home or a topic page; where the title already does that, a section with a title is enough. Like every section it goes in an nldd-page, never in another section, and lays out by the width of that page. The image in a hero sets the mood and is never the main content, so the content area always stands on it. Over an image the content area keeps a section gap from its edges, so it reads as a content area on the image rather than a frame cut out of it; with `main-width="full"` it is a strip across the whole image, the same gap from the sides. On mobile the image comes first and the content area below it, indented by the section gap and overlapping the image by 48px. For an image beside text without that relation, use a section with an image beside text instead. Without media the main fills the whole area. With `main-background="base"` the content area gets the highlight border of a card, with or without media, so its edge shows where it stands on the base surface. The hero is the head of a page and sits right under the top bar, so on md and lg its top padding is half that of the other page sections: the full distance is meant to separate two sections, and under the top bar it reads as a gap. On sm the top keeps the full distance, as the other sections do. The bottom keeps the full distance to the section below. Set `padding-top` to place a hero elsewhere. By default the content area falls over the bottom of the image and runs on below it (`main-position="overlap-left"`, `overlap-center` or `overlap-right`), so the image keeps its height whatever the content. The other positions keep the content area on the image, for a short content area or one that stands at the top or along a side. The height of a hero comes from its image: `media-aspect-ratio`, or a fixed `media-height`. The `height` of the other page sections is not used here: as a minimum height for the whole hero it stretched the content area once that sat below the image. A hero given `height` says so in development. The content area takes the accent color of the theme, closest to its reference color in both modes, with a pure white or black content color that it passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A Rijkshuisstijl color per hero is gone: the theme picks the color for the whole site, and a hero given one says so in development. */
|
|
4817
4975
|
'nldd-hero': DefineComponent<NLDDHeroProps>;
|
|
4818
4976
|
/** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it: an `nldd-icon-cell`, a button, a menu item. `size="full"` names that default explicitly. `size="inherit"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon takes `--context-content-color`, the text color that the surface, button, link or selected row around it passes on, as `nldd-text` does. A parent of your own that sets `color` sets that context too. Set `color` to one of the other functional semantics (`secondary`, `accent`, `critical`, `warning`, `success`), which follow the surface as well, or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For a color the design system cannot know (the jacket of a cable, a color someone picked), set `custom-color` to any CSS color. */
|
|
4819
4977
|
'nldd-icon': DefineComponent<NLDDIconProps>;
|
|
4820
4978
|
'nldd-icon-button': DefineComponent<NLDDIconButtonProps>;
|
|
4821
4979
|
/** A cell component for displaying icons in lists with configurable alignment and size. Set `icon` to render an `nldd-icon` by name, or slot custom content as an escape hatch for non-standard iconography. */
|
|
4822
4980
|
'nldd-icon-cell': DefineComponent<NLDDIconCellProps>;
|
|
4823
|
-
/** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime="…">` for a machine-readable date, or an `nldd-link` to the author's profile. Text with a plain link, bold or code in it goes in the slot as an `nldd-text` with the `<p>` in it, which brings the inline styles of nldd-text. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity, an nldd-text too: a font, margin or other style the page sets on it does not apply, and nor does a `size`, `color` or `weight` on the nldd-text. The name line, the supporting text and the links in them take their colors from the surface the identity stands on, such as the accent
|
|
4981
|
+
/** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime="…">` for a machine-readable date, or an `nldd-link` to the author's profile. Text with a plain link, bold or code in it goes in the slot as an `nldd-text` with the `<p>` in it, which brings the inline styles of nldd-text. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity, an nldd-text too: a font, margin or other style the page sets on it does not apply, and nor does a `size`, `color` or `weight` on the nldd-text. The name line, the supporting text and the links in them take their colors from the surface the identity stands on, such as the accent content area of `nldd-hero`. On such a colored surface, slot the avatar and give it `color="content"`: the neutral fill hardly stands out there in the dark scheme. An avatar from `avatar-src` is always neutral. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. On a colored surface, pass that color on through `--context-background-color` so the ring follows it. Set the avatars to decorative (or an `img` to `alt=""`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`. */
|
|
4824
4982
|
'nldd-identity': DefineComponent<NLDDIdentityProps>;
|
|
4825
4983
|
/** Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set. Otherwise it renders just the image, with no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image. Without an image (no `src`, `srcset`, `lqip` or slotted media) it shows a neutral area with an image icon, in the box, shape and caption a real image would get: a place where an image belongs, for a prototype or a pattern, or an image someone forgot. Without `aspect-ratio` that area is 16/9. While the built-in `<img>` loads without an `lqip`, the same area shows without the icon, and it goes once the image is in. */
|
|
4826
4984
|
'nldd-image': DefineComponent<NLDDImageProps>;
|
|
@@ -4846,7 +5004,7 @@ declare module 'vue' {
|
|
|
4846
5004
|
'nldd-list-item-segment': DefineComponent<NLDDListItemSegmentProps>;
|
|
4847
5005
|
/** A floating menu component using the Popover API. Positioned relative to an anchor element using Floating UI. Supports filtering, keyboard navigation, and highlight management. Use nldd-menu-item and nldd-menu-divider as children. A chosen item blinks once before the menu closes, as a native menu on macOS does, so you see what you picked. After a tap there is no hover to blink from, so the item lights up from the press and holds a moment instead, without going dark in between. `select` fires at once: the action does not wait for the blink. With `prefers-reduced-motion` there is no blink, and the menu closes at once after a click; a tap still holds, since that is no motion. A press on the menu's control during the blink or hold ends it and opens the menu again, since the menu was already on its way out. Set `no-blink` where the choice shows beside the menu the moment it is made, as a listbox's field shows it. A menu that scrolls fades at the edge where more items wait. Note: Only type="button" items are supported when used inside nldd-combo-box-field. Radio and checkbox types may be used in standalone menus. */
|
|
4848
5006
|
'nldd-menu': DefineComponent<NLDDMenuProps>;
|
|
4849
|
-
/** Horizontal row of nldd-menu-bar-item elements with automatic overflow detection. Items that do not fit are hidden behind an overflow button with a popover menu. */
|
|
5007
|
+
/** Horizontal row of nldd-menu-bar-item elements with automatic overflow detection. Items that do not fit are hidden behind an overflow button with a popover menu. The `current` item always stays in the bar: if it would fall in the part that does not fit, the items before it go to the menu instead, all of them if the current item alone is wider than the bar. */
|
|
4850
5008
|
'nldd-menu-bar': DefineComponent<NLDDMenuBarProps>;
|
|
4851
5009
|
/** Interactive building block for use in a menu bar. Renders as an <a> (with href) or a <button> (without href). Supports an icon, text, a disclosure indicator, and an expandable popover through a slotted `<nldd-menu>` (or another popover element). */
|
|
4852
5010
|
'nldd-menu-bar-item': DefineComponent<NLDDMenuBarItemProps>;
|
|
@@ -4869,7 +5027,7 @@ declare module 'vue' {
|
|
|
4869
5027
|
'nldd-one-half-one-half-section': DefineComponent<NLDDOneHalfOneHalfSectionProps>;
|
|
4870
5028
|
/** A section with a 1/3 sidebar on the left and 2/3 main content on the right. The columns stand side by side on a page of 50rem (800px) or wider and stack below that, at the same width for every section with two columns. Padding and gap are responsive. Like every section it goes in an nldd-page, never in another section, and lays out by the width of that page. */
|
|
4871
5029
|
'nldd-one-third-two-thirds-section': DefineComponent<NLDDOneThirdTwoThirdsSectionProps>;
|
|
4872
|
-
/** A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete="one-time-code"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so "123 456" or "123-456" becomes "123456", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so "Your code is 123456" fills in "123456". Once every box is full the field fires `complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from ("Code uit de sms"). */
|
|
5030
|
+
/** A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete="one-time-code"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box, empty ones too; End goes to the box after the last character. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so "123 456" or "123-456" becomes "123456", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so "Your code is 123456" fills in "123456". Once every box is full the field fires `complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from ("Code uit de sms"). */
|
|
4873
5031
|
'nldd-one-time-code-field': DefineComponent<NLDDOneTimeCodeFieldProps>;
|
|
4874
5032
|
/** A page layout with optional sticky header and footer. Without sticky-header, the host is the scroll container and the header is in normal flow. With sticky-header, the header becomes absolute and .page__scroll takes over scrolling, padded by the measured header height. That padding freezes once you scroll, so a collapsing bar cannot drag the content up under the cursor. In root-scroll mode (--context-scroll-mode: root, derived upstream by nldd-shell) the page stops owning a scroller: the document scrolls and the sticky header/footer stick against the document, offset by --context-inset-top/bottom. The mode is read on connect/resize and reflected to [data-scroll] so the CSS can branch. The page passes those insets on to its own content, with its sticky header and footer added: anything sticky inside (an nldd-sidebar-section, a sticky table head) reads --context-inset-top / --context-inset-bottom and clears every bar above and below it without being told a number. The heights are measured, because a top title bar shrinks as you scroll past its anchor. While the page owns the scroller, only its own bars count: the chrome above the page sits outside that scroller and does not push sticky content down. A page carries the landmarks of a document: its header is the banner, its content the main landmark, its footer the contentinfo. A document has one of each, so a page that sits beside another one cannot have them. Such a page renders a section and a plain div instead, which drops all three at once: a header inside sectioning content is no longer a banner. With `accessible-label` that section is a named region, so there is still one landmark to jump to; without a name it is no landmark at all, which beats an unnamed one. `landmarks` says which of the two a page is, and `auto` (the default) reads it off where the page sits: - in an overlay (nldd-sheet, nldd-modal-dialog, nldd-window, nldd-popover) a region, because the overlay is not the document; - in a pane of nldd-navigation-split-view, nldd-side-by-side-split-view or nldd-stacked-split-view a region, because those place pages beside each other; - anywhere else the page, including the `main` slot of an nldd-bar-split-view, which stacks bars around a single content area. So an app shell has no main until you say which pane holds the primary content, with `landmarks="page"` on that one page. Only the application knows which pane that is. Two pages that both render a main is invalid HTML, and the page says so in development. A step deeper in the same surface is a page beside the one it starts from, in the same parent and slot, not a second sheet on top of the first. Give each page an `id` and the deeper one a `parent`, and hide all but one with `hidden`: <nldd-sheet> <nldd-page id="opdracht">…</nldd-page> <nldd-page id="kiezer" parent="opdracht" hidden>…</nldd-page> </nldd-sheet> A page with `parent` gives the nldd-top-title-bar in its header a back button, also in a split view's pane that hides it otherwise, with the title of that parent page (its title bar's `text`, or else its `accessible-label`), unless the bar has a `back-text` of its own. Which page is in view stays yours: on `back`, read `parent` of the page it comes from, hide that page, show the parent and put focus back on the control that opened the step. Keep the pages in the DOM with `hidden` rather than rendering one at a time, or the step finds no parent to take the title from. */
|
|
4875
5033
|
'nldd-page': DefineComponent<NLDDPageProps>;
|
|
@@ -4926,11 +5084,11 @@ declare module 'vue' {
|
|
|
4926
5084
|
'nldd-spacer-cell': DefineComponent<NLDDSpacerCellProps>;
|
|
4927
5085
|
/** A split button combines a primary action with a chevron that opens its alternatives. The main button performs the default action; the chevron opens a menu or popover of variants of that same action. The overlay is required. Put an `nldd-menu` or `nldd-popover` in the `popup` slot, as on nldd-button and nldd-icon-button: ```html <nldd-split-button text="Bewaar"> <nldd-menu slot="popup"> <nldd-menu-item text="Opslaan als…"></nldd-menu-item> </nldd-menu> </nldd-split-button> ``` The split button has no other slots, so an overlay without `slot="popup"` works too. When both hold one, the one in `popup` wins. For an overlay that lives elsewhere, point `popovertarget` at it instead. The chevron is the overlay's invoker: it anchors it, opens and closes it, and takes `aria-expanded` and `aria-haspopup` from it, exactly as an nldd-icon-button with a slotted overlay does. Its accessible name says which action it belongs to ("Meer opties voor Bewaar"). The API is narrower than nldd-button on purpose: a split button is an action with variants, so it has no supporting text, no end icon and no link target. Its label always stays on one line, without an ellipsis: keep it short. */
|
|
4928
5086
|
'nldd-split-button': DefineComponent<NLDDSplitButtonProps>;
|
|
4929
|
-
/** A divider line between
|
|
5087
|
+
/** A divider line between panes in a split view. The divider runs from edge to edge in the direction perpendicular to the orientation. An optional drag handle indicates that the divider is draggable (future functionality). */
|
|
4930
5088
|
'nldd-split-view-divider': DefineComponent<NLDDSplitViewDividerProps>;
|
|
4931
5089
|
/** A vertical split view with multiple stacked panes. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available height are automatically hidden. */
|
|
4932
5090
|
'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
|
|
4933
|
-
/** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most
|
|
5091
|
+
/** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most: more text, or more actions, go on the page or sheet it opens. nldd-banner is no alternative, since it belongs in the content of a page and not above the app. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. In a website it goes first in the `header` slot of nldd-page. In an application with nldd-bar-split-view it goes first in the split view, as a bar of its own (`slot="status-bar"`), above the toolbar. Below a top bar, or below a toolbar in a bar of the split view it stands in, it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
|
|
4934
5092
|
'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
|
|
4935
5093
|
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, no step is current and every step is still to do. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. A bar without a current step shows what is coming, for instance on the page before a process starts. Use that sparingly: what someone needs there is the button that starts the task, and a bar that shows no progress tells little. Mark a step as soon as the process has begun. Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for its label, and with more of them you count instead of seeing at a glance how far you are. For more steps, or steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. When the bar is no wider than the sm breakpoint, or than 120px per step, whichever is wider (a container query, so measured on the component itself rather than on the viewport), it folds into one line of text plus a segmented bar. A label of 12 letters or more that is too long for its step breaks at a syllable, in either form; a shorter word stays whole, and the count beside the title in the folded form stays on one line. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
|
|
4936
5094
|
'nldd-step-bar': DefineComponent<NLDDStepBarProps>;
|
|
@@ -4957,16 +5115,16 @@ declare module 'vue' {
|
|
|
4957
5115
|
'nldd-tag': DefineComponent<NLDDTagProps>;
|
|
4958
5116
|
/** A term in running text with an explanation behind it, such as a legal term from a glossary. The term stays part of the sentence, marked with a dotted underline, and opens its definition in a popover on a click, a tap, Enter or Space. On sm the popover is a bottom sheet, which covers the sentence. The popover of `definition` then names the term in a small title, which moves into a top title bar with a "Sluit" button once a long definition scrolls. The term is the control: it carries the button role and its expanded state, so a term injected into content needs no ARIA of your own. Focus moves into the popover when it opens, so its content is read, and returns to the term when it closes. Mark only the first occurrence of a concept in a question or section. The underline is the only sign that the term is a control, so it cannot get lighter or go away. A text that marks every occurrence gets busy. A short definition goes in `definition`, as text: <p>De <nldd-term definition="Degene die het doel van en de middelen voor de verwerking vaststelt." source="Artikel 4 AVG" source-href="…">verwerkingsverantwoordelijke</nldd-term> bepaalt of een DPIA nodig is.</p> A `source` shows under the definition, as a link with `source-href`. A definition with more paragraphs or links is an nldd-popover of your own, outside the sentence, that `popovertarget` points at. Every term for the same concept can point at the same popover: it opens against the term you clicked. Markup in the term itself would break: a `<p>` inside a `<p>` closes the paragraph, and the definition would fall out of the term. Give a source in that popover the shape the term gives it: after an `nldd-spacer size="8"`, an nldd-text with `size="sm"` and `color="secondary"`, with "Bron:" and an nldd-link. <p>De <nldd-term popovertarget="verwerkingsverantwoordelijke"> verwerkingsverantwoordelijke</nldd-term> bepaalt of een DPIA nodig is.</p> <nldd-popover id="verwerkingsverantwoordelijke" accessible-label="Verwerkingsverantwoordelijke">…</nldd-popover> */
|
|
4959
5117
|
'nldd-term': DefineComponent<NLDDTermProps>;
|
|
4960
|
-
/** One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence
|
|
5118
|
+
/** One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence on a surface, a caption. Every combination it offers exists as a token, so it cannot invent typography: it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Plain text goes in `text`, and the component draws a `<p>` for it. Text with a link, a `<strong>` or a tag goes in the slot, in a `<p>` of your own, or a `<span>` where the text is no paragraph, such as a label or a number. What is in the slot is in the HTML before any script runs; `text` is drawn in the browser. On a page of a website that has to read without script, use the slot. The element in the slot takes the text style of the component: a font, margin or other style the page sets on it does not apply. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. For large letters that are not a heading, such as a number or a statement on a landing page, take a display size: `display-6` to `display-1` are the sizes of `nldd-title`, with its weight, typeface and line height, and they follow the breakpoint as a title does. `weight` and `line-height` belong to the body sizes and do nothing at a display size. For a statement larger than `display-1`, give each breakpoint a size of its own with `sm-custom-size`, `md-custom-size` and `lg-custom-size`. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers. A line stops at `--semantics-text-max-width`, 40em, so it holds the same number of characters at every size and a wide column does not turn one sentence into a ruler. Override that variable, or `max-width` on the element, where a line is meant to run the full width: a label in a table cell, a value beside its own heading. Text breaks at spaces and hyphens. A word wider than the line, such as a long compound, a URL or a code, breaks between two letters, so no text runs out of a narrow box. Set `hyphens` to break long words by syllable instead, with a hyphen. A display size always does that for a word of at least 12 letters. A soft hyphen (`­`) in the text marks a break of your own at any size. Inline `<code>` breaks as the text does, at its own hyphens, and is never hyphenated by syllable: a hyphen the browser adds would read as code. */
|
|
4961
5119
|
'nldd-text': DefineComponent<NLDDTextProps>;
|
|
4962
5120
|
/** 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) takes plain text in its attribute, which the cell draws as a `<p>`, or a `<p>` of your own in its slot: the paragraph is then in the HTML before any script runs. Text with a link, bold or code in it goes in the slot as an `nldd-text` with the `<p>` in it, which brings the inline styles of nldd-text. Components such as `<nldd-tag>` or `<nldd-icon>` style themselves and can go in either. The slot wins over the attribute. Each region chooses for itself, so an attribute and a slot stand side by side: plain text in `overline`, an nldd-text with a link in the default slot. The element in a slot takes the text style of the cell, an nldd-text too: a font, margin or other style the page sets on it does not apply, and nor does a `size`, `color` or `weight` on the nldd-text. Set those on the cell. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is. A cell of `width="full"` takes the room the row has left, but not less than 160px, so its text stays readable: about 20 characters. In a row too narrow for that the row runs wider than its box, which is the sign to hide a cell at that width (`hide-below`) or to combine two. In `nldd-table` the columns set the width, so a cell there has no floor. A `width="fit-content"` cell is as wide as its text on one line, and never narrower than its longest word. `min-width` always wins: `0` lets the cell shrink freely, so a long URL breaks; `min-content` keeps the longest word whole; `max-content` keeps the text on one line. A `max-width` below 160px lowers the floor with it. `fit-content` is for short text of a known length: a label, a status, an amount. A long value, such as a URL, goes in the `full` cell, beside a label of `fit-content`. The value then takes the room the label leaves and breaks within it, and the label only breaks between its words when the value would otherwise drop below its floor: ```html <nldd-list-item> <nldd-text-cell width="fit-content" text="Bestand"></nldd-text-cell> <nldd-spacer-cell></nldd-spacer-cell> <nldd-text-cell text="https://mijndienst.example.nl/aanvragen/A-1042/besluit"></nldd-text-cell> </nldd-list-item> ``` Text breaks at spaces and hyphens. A word wider than the cell breaks between two letters, without a hyphen. Set `hyphens` to break long words by syllable instead. */
|
|
4963
5121
|
'nldd-text-cell': DefineComponent<NLDDTextCellProps>;
|
|
4964
|
-
/** 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. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. A toolbar is markup: put an nldd-toolbar in the `toolbar` slot, or anywhere on the page inside an element with `text-editor-for` set to the editor's id, and give each control a `text-editor-command`. The editor runs the command, gives focus back to the text and keeps the control's state: `selected` on a toggle, a menu item or a segmented-control item, the list type on a segmented control, and `disabled` where the command cannot run. Controls without the attribute, such as a send button, are left alone. There is no built-in toolbar: which controls, in what order, is the app's. A consumer can also drive formatting itself 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 state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Enter in a list or a quote puts the next marker down, and Enter on an empty item ends the list, or steps one level out of a nested one. A marker typed where the editor already put one does not stack: `- ` on a fresh `- `, or right after the bullet of an item with text, stays one bullet, `2. ` on `2. ` stays `2. `, `> ` on `> ` one quote. `1. ` on a later number starts a numbered list under the item above, and a marker of the other kind takes the place of the editor's: `1. ` on `- ` makes a numbered list at that level. Spaces typed before a marker nest it one level under the item above, at the indent markdown needs (2 spaces under `- `, 3 under `1. `); Cmd/Ctrl+] does the same. Backspace right after a marker is the way back: a nested item steps one level out, an item on the first level leaves the list. Cmd/Ctrl+Z brings back what was typed. Pasted text and a value the app sets stay as they are. With the marks hidden (the default) a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does: the outcome stays while the pointer or the focus is on the button, and goes when you leave it, press Escape or go on in the editor. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. 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. applyChanges(changes) takes text from outside, such as what a collaborator types, without moving the caret or entering the user's undo history. 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. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. That holds whatever the line starts with, so ` - punt` is no list and ` # kop` no heading; in a list the four spaces count from the text of the item. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. Text pasted at the start of a line becomes the markdown it looks like: the indent all its lines share goes, a bullet from Word or Outlook (`•` and a tab) becomes `- `, and a pasted list nests the way typing does (with indent of its own one level under the item above, without it at the level of the empty item it lands on). A list of several lines pasted at the end of a line with text starts on the next line. Cmd/Ctrl+Z brings back the text as pasted, and Cmd/Ctrl+Shift+V pastes it as it is. Nothing changes in a code block. */
|
|
5122
|
+
/** 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. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. A toolbar is markup: put an nldd-toolbar in the `toolbar` slot, or anywhere on the page inside an element with `text-editor-for` set to the editor's id, and give each control a `text-editor-command`. The editor runs the command, gives focus back to the text and keeps the control's state: `selected` on a toggle, a menu item or a segmented-control item, the list type on a segmented control, and `disabled` where the command cannot run. Controls without the attribute, such as a send button, are left alone. There is no built-in toolbar: which controls, in what order, is the app's. A consumer can also drive formatting itself via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHighlight/ 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 state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Enter in a list or a quote puts the next marker down, and Enter on an empty item ends the list, or steps one level out of a nested one. A marker typed where the editor already put one does not stack: `- ` on a fresh `- `, or right after the bullet of an item with text, stays one bullet, `2. ` on `2. ` stays `2. `, `> ` on `> ` one quote. `1. ` on a later number starts a numbered list under the item above, and a marker of the other kind takes the place of the editor's: `1. ` on `- ` makes a numbered list at that level. Spaces typed before a marker nest it one level under the item above, at the indent markdown needs (2 spaces under `- `, 3 under `1. `); Cmd/Ctrl+] does the same, and so does a space typed before the marker of an item that is there already, the way to nest on a phone: each space one level deeper, next to a nested item above first and then under it. Backspace right after a marker is the way back: a nested item steps one level out, an item on the first level leaves the list. Cmd/Ctrl+Z brings back what was typed. Pasted text and a value the app sets stay as they are. With the marks hidden (the default) a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does: the outcome stays while the pointer or the focus is on the button, and goes when you leave it, press Escape or go on in the editor. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. 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. applyChanges(changes) takes text from outside, such as what a collaborator types, without moving the caret or entering the user's undo history. 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. `==text==` marks text, as a highlighter does: for what someone still has to fill in or look at, not for a remark (that is an annotation). It is no CommonMark or GFM, so the renderer needs it too: markdown-it-mark in markdown-it, the `mark` extension in Python-Markdown's pymdown-extensions. It renders to `<mark>`, which nldd-rich-text shows in the same color. A variable is data the app already has, named in the text as `{{key}}`, as in a mail merge: `Je begint op {{startdatum}}.` The editor shows the value from `variables` in its place, and the stored text keeps the key, so it stays right when the value changes. A variable is one fixed piece, as a mention is: the caret steps over it, the first Backspace or Delete next to it selects it and the second removes it, and to change it you put another in its place. The app fills in the values when it renders the text, with Mustache for example. Not with a template engine that runs code, such as Jinja: the text is the user's. A variable goes in like any other text: from a typeahead whose `insert` writes `{{key}}`, with insertAtCursor(), or typed whole, when its closing braces make it one. A link destination typed without a scheme gets one when the caret leaves it: `[tekst](google.com)` becomes `[tekst](https://google.com)`, an email address gets `mailto:`. A link pasted or dropped whole gets it at once. Whatever ends its first part in a dot and letters, as a host does, gets `https://`, also `handleiding.md`, which may be a file or a site (`.md` is a top-level domain): a relative path to a file starts with `/`, `./`, `#` or `?`. Any other path (`contact`, `docs/handleiding`, `v1.2`) stays relative, `http:` or `file:` is written out, and a merge field (`{{url}}`) and a value the app sets stay as they are. The open-link badge reads every destination that way, so a renderer should too: an older value can still hold `google.com`, which a browser reads as a path under the page. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. That holds whatever the line starts with, so ` - punt` is no list and ` # kop` no heading; in a list the four spaces count from the text of the item. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. Text pasted at the start of a line becomes the markdown it looks like: the indent all its lines share goes, a bullet from Word or Outlook (`•` and a tab) becomes `- `, and a pasted list nests the way typing does (with indent of its own one level under the item above, without it at the level of the empty item it lands on). A list of several lines pasted at the end of a line with text starts on the next line. Cmd/Ctrl+Z brings back the text as pasted, and Cmd/Ctrl+Shift+V pastes it as it is. Nothing changes in a code block. */
|
|
4965
5123
|
'nldd-text-editor': DefineComponent<NLDDTextEditorProps>;
|
|
4966
5124
|
'nldd-text-field': DefineComponent<NLDDTextFieldProps>;
|
|
4967
5125
|
/** 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. `value` holds a valid time or nothing, so an empty field and one with text that is no time both read as ''. `validity` tells them apart: `badInput` for text that is no time, `rangeUnderflow` / `rangeOverflow` for a time outside `min` / `max`. A form does not submit then, and nldd-form marks the field invalid. Without a submit, as in a filter that applies at once, the moment is yours: `field.invalid = !field.validity.valid` on `change`, with a message of your own in the nldd-form-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. Escape puts the old time back. On sm, where the picker is a bottom sheet, "Klaar" sits in its title bar and the sheet offers no cancel: as with a native wheel, you turn back to change your mind. The built-in wheels show 7 rows, and fewer, down to 3, when the picker would otherwise run off the window; they grow back when the window does. 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. */
|
|
4968
5126
|
'nldd-time-field': DefineComponent<NLDDTimeFieldProps>;
|
|
4969
|
-
/** Two columns, hours and minutes, that slide like a wheel past the selection in the middle. The component works on its own (inline on a page, in a filter
|
|
5127
|
+
/** Two columns, hours and minutes, that slide like a wheel past the selection in the middle. The component works on its own (inline on a page, in a filter area) and also sits in the popover of nldd-time-field. There the field sets `value`, `min`, `max` and `step`; set them on the field. Values are always 24-hour `HH:mm`. Scrolling is choosing: whatever comes to rest in the middle is the value. The keyboard drives that same selection, because that is what a wheel is: hour and minute are each a spinbutton. The columns underneath are aria-hidden, so the same values are not read out twice. */
|
|
4970
5128
|
'nldd-time-picker': DefineComponent<NLDDTimePickerProps>;
|
|
4971
5129
|
/** A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text. The slot takes the element the attribute draws: a heading, or a `<p>` for a title that is no heading, and a `<p>` for the overline and the supporting text. Put inline markup inside that element. A filled slot takes the place of the attribute. Each of the three chooses for itself, so a heading in the slot can go with plain `supporting-text`. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. What is in a slot is in the HTML the server sends; what comes from an attribute is drawn in the browser. On a page of a website, which search engines, link previews and reader mode read without script, put the heading in the default slot. In an application `text` with `heading-level` is enough. Inline elements in a slotted heading or `<p>` (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own. The overline and the supporting text are not hyphenated: a word wider than their line breaks between two letters, as in `nldd-text`. */
|
|
4972
5130
|
'nldd-title': DefineComponent<NLDDTitleProps>;
|
|
@@ -4988,7 +5146,7 @@ declare module 'vue' {
|
|
|
4988
5146
|
'nldd-toolbar-title': DefineComponent<NLDDToolbarTitleProps>;
|
|
4989
5147
|
/** A wrapper that shows a tooltip on hover or focus of its child element. It uses `display: contents`, so it does not affect the child's layout. */
|
|
4990
5148
|
'nldd-tooltip': DefineComponent<NLDDTooltipProps>;
|
|
4991
|
-
/** The top bar of a page: a logo bar with the Rijkslogo and an optional wordmark, and below it the main bar with the website title, a back button, the global navigation and the utility navigation. On a narrow screen the global navigation moves into a menu sheet behind the menu button. The bar spans the window, so it follows the window's width (sm, md, lg) and not that of its parent: put it in a narrower box and it still lays out for the window. The top bar of a website, and of nothing else: put it in the `header` slot of an `nldd-page`. Do not combine it with a split view. A split view is the layout of an application, whose panes carry a bar of their own, usually an `nldd-toolbar`, and a site header above it gives a second layer of navigation and a second thing that scrolls. Does a page need a sidebar under this bar, use an `nldd-sidebar-section` inside that `nldd-page`. */
|
|
5149
|
+
/** The top bar of a page: a logo bar with the Rijkslogo and an optional wordmark, and below it the main bar with the website title, a back button, the global navigation and the utility navigation. On a narrow screen the global navigation moves into a menu sheet behind the menu button, and the ribbon stands alone: the wordmark is hidden, but still names the logo for a screen reader. The bar spans the window, so it follows the window's width (sm, md, lg) and not that of its parent: put it in a narrower box and it still lays out for the window. The top bar of a website, and of nothing else: put it in the `header` slot of an `nldd-page`. Do not combine it with a split view. A split view is the layout of an application, whose panes carry a bar of their own, usually an `nldd-toolbar`, and a site header above it gives a second layer of navigation and a second thing that scrolls. Does a page need a sidebar under this bar, use an `nldd-sidebar-section` inside that `nldd-page`. */
|
|
4992
5150
|
'nldd-top-navigation-bar': DefineComponent<NLDDTopNavigationBarProps>;
|
|
4993
5151
|
/** A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). An anchored bar hides its own title from assistive technology. The anchor is the heading the title swaps in for, so both carry the same words: once you scroll past the heading, a screen reader would otherwise find the same title twice. Sighted readers see one at a time, and this makes that true for everyone. Anchor at the heading, then, and not at some other element that happens to sit at the right height: the bar hands its title over to it. An `nldd-title` anchor without a `heading-level` gets the bar's own, so the title it takes over is a heading of the same level. An anchor that is no heading at all, and holds none, would leave the page without one: the bar then keeps its own title for assistive technology and warns in development. The title stays on one line and is cut off with an ellipsis when it does not fit, which on a narrow screen or at 400% zoom is soon. The bar is therefore not the place for the full title: put that in an `nldd-title` at the top of the content, which wraps and always fits, and point `collapse-anchor` at it. A bar without an anchor holds the only copy of its title, so keep that one to a word or two. */
|
|
4994
5152
|
'nldd-top-title-bar': DefineComponent<NLDDTopTitleBarProps>;
|