@nldd/design-system 0.25.0 → 0.25.2
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 +2496 -50
- package/dist/cdn/autoloader.js +141 -137
- package/dist/cdn/chunks/accordion-CE_VBJPo.js +90 -0
- package/dist/cdn/chunks/accordion-item-CkIrLwn9.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-Dc6c9HtC.js → activity-indicator-DHgkMBdz.js} +5 -5
- package/dist/cdn/chunks/admonition-CK1c7HiM.js +379 -0
- package/dist/cdn/chunks/{avatar-CHXRpWWk.js → avatar-DwS0FqYL.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-B76E8oC6.js → avatar-group-BX1URuq1.js} +15 -15
- package/dist/cdn/chunks/{badge-tO7gHhdi.js → badge-Dyfzch0N.js} +5 -5
- package/dist/cdn/chunks/{banner-D4kFQYXF.js → banner-BPUb-ZpJ.js} +33 -32
- package/dist/cdn/chunks/{bar-split-view-C9bYdWSR.js → bar-split-view-BitGKRYw.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DRJajjBB.js → blockquote-CAnK7XlI.js} +3 -3
- package/dist/cdn/chunks/{box-D10mS19t.js → box-epVc6r3W.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-BUdQJG3z.js → breadcrumbs-CY5m5_72.js} +5 -5
- package/dist/cdn/chunks/{button-CwY9fWCg.js → button-1F4MG_21.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DkqbRvff.js → button-bar-BcmQQqns.js} +3 -3
- package/dist/cdn/chunks/{button-group-p364JgTR.js → button-group-vez-t2RB.js} +2 -2
- package/dist/cdn/chunks/{card-B7TaSaw7.js → card-sHcZK0Sx.js} +8 -6
- package/dist/cdn/chunks/{cell-BTIpXf1T.js → cell-_FH10LVj.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BLEK0rAV.js → checkbox-B2EXnuni.js} +4 -4
- package/dist/cdn/chunks/checkbox-field-DYBeOCXv.js +244 -0
- package/dist/cdn/chunks/checkbox-group-zV_EgqJ1.js +103 -0
- package/dist/cdn/chunks/{class-map-5WYS_nCb.js → class-map-3v5_QWa6.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CanGMLIo.js → code-editor-DVHvHweL.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DCZ3wjMd.js → code-viewer-CRc5yGTZ.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-CtvDBy25.js → codemirror-input-CgrWL_xI.js} +4 -4
- package/dist/cdn/chunks/{collection-D8K79X0H.js → collection-BobIdtqA.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BeWoeEY8.js → combo-box-1h_xzaHk.js} +9 -8
- package/dist/cdn/chunks/{container-Be2J-GhB.js → container-RIa-Sff8.js} +2 -2
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-DGlHv_OV.js → custom-element-Dmqf9u_a.js} +1 -1
- package/dist/cdn/chunks/{date-field-BLaGVd4x.js → date-field-BN9TIiUH.js} +99 -87
- package/dist/cdn/chunks/{date-picker-C4mLZKWF.js → date-picker-BFvZvzwT.js} +10 -10
- package/dist/cdn/chunks/{decorate-Czy-wI4F.js → decorate-D_xx_M26.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-C3iCCTgg.js +62 -0
- package/dist/cdn/chunks/{description-cell-aQyLX0U0.js → description-cell-D9oU3cOo.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-qTR6tciJ.js → dev-checks-Dcd5eLU5.js} +57 -4
- package/dist/cdn/chunks/directive-helpers-B40ApSJp.js +24 -0
- package/dist/cdn/chunks/{dist-CZOXq9aZ.js → dist-0pu3OKnY.js} +1 -1
- package/dist/cdn/chunks/{dist-CX0g6sV1.js → dist-8y5HG5So.js} +3 -3
- package/dist/cdn/chunks/{dist-BNS6C8sP.js → dist-B5Qpgwkt.js} +2 -2
- package/dist/cdn/chunks/{dist-DHK9tNd7.js → dist-BJyPLZy3.js} +1 -1
- package/dist/cdn/chunks/{dist-BLnIbkqH.js → dist-BVrnRVfm.js} +1 -1
- package/dist/cdn/chunks/{dist-WQv_JUmB.js → dist-BZuHdnRq.js} +2 -2
- package/dist/cdn/chunks/{dist-fDpuYq7K.js → dist-BzfZCamJ.js} +1 -1
- package/dist/cdn/chunks/{dist-CdF0c6UD.js → dist-CPfUaZn6.js} +2 -2
- package/dist/cdn/chunks/{dist-_QFa91Kz.js → dist-Cxpg90R5.js} +1 -1
- package/dist/cdn/chunks/{dist-p1FcXq9E.js → dist-DRizG2xD.js} +3 -3
- package/dist/cdn/chunks/{dist-B_fXtXqM.js → dist-De4uSuY6.js} +1 -1
- package/dist/cdn/chunks/{divider-2hHcSIga.js → divider-DhmeevvA.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CIWiZUB5.js → document-tab-bar-BxgIq1Lc.js} +51 -50
- package/dist/cdn/chunks/{dropdown-Bwn6dQrK.js → dropdown-BTnHERYI.js} +5 -5
- package/dist/cdn/chunks/{file-field-CtQ6Fzkj.js → file-field-BoQCuthe.js} +12 -12
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-vSM2SOrK.js → form-D6w4G6Qv.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DSL0qce-.js → form-actions-ifb8kolV.js} +2 -2
- package/dist/cdn/chunks/{form-field--t3Bz1pc.js → form-field-RhzuOcS5.js} +5 -5
- package/dist/cdn/chunks/{form-section-D1n8Sdmt.js → form-section-0df1Ao8U.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-w2pDVC5v.js → full-bleed-section-BhcgrH9L.js} +3 -3
- package/dist/cdn/chunks/{hero-BypUmnRi.js → hero-BpLUglsB.js} +4 -4
- package/dist/cdn/chunks/{icon-BydOAoVO.js → icon-C1HTyyIr.js} +2 -2
- package/dist/cdn/chunks/{icon-button-C_MZ-jXt.js → icon-button-BzCEK4gH.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-jiYNsV84.js → icon-cell-fu4ggTII.js} +5 -5
- package/dist/cdn/chunks/{identity-D1Sw6OdG.js → identity-CM-fW-xb.js} +6 -6
- package/dist/cdn/chunks/{if-defined-pKQLIQvK.js → if-defined-CSVfrDre.js} +1 -1
- package/dist/cdn/chunks/{image-DEI0hogS.js → image-CjcWKYny.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CTjJ8Tl_.js → inline-dialog-QHDEfqso.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-pUUxdKPR.js → just-in-time-education-BuDwdo2R.js} +8 -8
- package/dist/cdn/chunks/{kanban-KSLBcCb4.js → kanban-BaRiCfTn.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-RNSdiBIT.js → kanban-column-BuYmxxwP.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-D9TYAQu1.js → keyboard-shortcut-DYMD3B5a.js} +3 -3
- package/dist/cdn/chunks/{languages-DGZO3jTf.js → languages-BFRgyhqj.js} +12 -12
- package/dist/cdn/chunks/{link-C4K1qVcb.js → link-Cb7bYQmD.js} +36 -28
- package/dist/cdn/chunks/{link-group-BEYO7nTK.js → link-group-CCxIltG-.js} +2 -2
- package/dist/cdn/chunks/{list-rMBdnf1f.js → list-B7VgeqfW.js} +8 -8
- package/dist/cdn/chunks/{list-item-CotWNKc1.js → list-item-Ccmi9h7_.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-C-yl2GAS.js → list-item-segment-C5APtc9o.js} +3 -3
- package/dist/cdn/chunks/{menu-rE6tDSAy.js → menu-B03m20cI.js} +52 -34
- package/dist/cdn/chunks/{menu-bar-D9IxDwC2.js → menu-bar-BTwITnAx.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-768OWJdt.js → menu-bar-item-By1lj2Ra.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BHAGnkBl.js → menu-divider-Cj7PfUGr.js} +3 -3
- package/dist/cdn/chunks/{menu-group-B5MAz_Yk.js → menu-group-DyFNOAV9.js} +4 -4
- package/dist/cdn/chunks/{menu-item-Ba581zRi.js → menu-item-D-9U16AZ.js} +4 -4
- package/dist/cdn/chunks/{menu.template-Eb7J7UrL.js → menu.template-DmK-gq-8.js} +5 -5
- package/dist/cdn/chunks/{modal-dialog-Djln8pr7.js → modal-dialog-f_Ftzcrk.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Omt0oidK.js → multi-line-text-field-CwTomQkh.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-DDng9DdF.js → navigation-split-view-CMy_B-Gr.js} +4 -4
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-DB6JOmCC.js → notification-DiXBAbmu.js} +6 -6
- package/dist/cdn/chunks/{number-field-xgr4dysX.js → number-field-CPCuSebL.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-CFhmSDDa.js → one-half-one-half-section-lsJ_QAgo.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-D0JV0GJ_.js → one-third-two-thirds-section-LS-XD6DL.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CqgKQqdE.js → one-time-code-field-DT4VRbkL.js} +7 -6
- package/dist/cdn/chunks/{page-DXWHG-hD.js → page-BWCcVj4L.js} +4 -4
- package/dist/cdn/chunks/{page-footer-GexGY_m-.js → page-footer-QCQIeoP7.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-CtiPKCqL.js → page-section-mixin-BSRwTzVh.js} +3 -3
- package/dist/cdn/chunks/{pagination-DJkfE8t9.js → pagination-CfR0D1Z7.js} +6 -6
- package/dist/cdn/chunks/{password-field-gKiiE_5e.js → password-field-37i3lAaO.js} +8 -8
- package/dist/cdn/chunks/{popover-C-jxcCHx.js → popover-BpX7ZwI_.js} +8 -8
- package/dist/cdn/chunks/{progress-bar-CBWQRWkE.js → progress-bar-oT3i4-Ib.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-CCcRDOOJ.js → progress-circle-CskWYN6V.js} +7 -7
- package/dist/cdn/chunks/{radio-button-field-B9lRNOXJ.js → radio-button-field-yXg-i59N.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Cy7Ya28w.js → radio-button-group-Bp4nILvI.js} +12 -6
- package/dist/cdn/chunks/{radio-button-B8xwJO3_.js → radio-button-sFiWCWEp.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DjXBoUGY.js → render-marked-B_e-wQFe.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-B6V85qYk.js → reorder-handle-cell-BFyWv6Xk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DTmEmT-V.js → reorder-handle-mixin-CwNDaVUE.js} +2 -2
- package/dist/cdn/chunks/repeat-Dx2PqcyL.js +57 -0
- package/dist/cdn/chunks/{rich-text-CqQeOXwL.js → rich-text-CaVHkCB8.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-XRu3gHMf.js → row-header-mixin-BX0qSYSK.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-e6d1wo3D.js → scroll-fade-CXu7Eorw.js} +2 -2
- package/dist/cdn/chunks/{search-field-Cz7Ucf6x.js → search-field-DkbneceA.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-CLzKU4SX.js → segmented-control-Ctl4SnV1.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-CodxnaUh.js → shadow-resets-oeO4NF40.js} +2 -2
- package/dist/cdn/chunks/{sheet-DkmSsRV3.js → sheet-XGOn3SXX.js} +3 -3
- package/dist/cdn/chunks/{shell-Ex_f7Ov3.js → shell-B7-afKWD.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-C8aSEGRc.js → side-by-side-split-view-CZC844ER.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CnD-3i7r.js → sidebar-section-_eTWxCEU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CeKnmobI.js → simple-section-CvBDK1kv.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwtFm_NJ.js → skip-link-CHAlS7T_.js} +4 -4
- package/dist/cdn/chunks/{slider-BVdkwNW3.js → slider-CidyL0xj.js} +8 -8
- package/dist/cdn/chunks/{spacer-H4zmoDr_.js → spacer-DukX-lmv.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BES4eJH1.js → spacer-cell-etr1xFgM.js} +4 -4
- package/dist/cdn/chunks/{split-button-Caa30uTx.js → split-button-DD0NWy1h.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-klvZ8lgP.js → split-view-divider-x1x3K9m0.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-Cnx56S5C.js → split-view-pane-BnCIygrY.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-CYdGBY7Q.js → stacked-split-view-B70JJ94w.js} +4 -4
- package/dist/cdn/chunks/{static-html--Xd5vkAU.js → static-html-Bqazhm1K.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CJybViWL.js → status-bar-CNLiFQUC.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BO6Y1BrK.js → step-bar-BOvuQRux.js} +5 -5
- package/dist/cdn/chunks/{step-cell-BQ8EHZVR.js → step-cell-CM1Ju6Qz.js} +5 -5
- package/dist/cdn/chunks/{stepper-COTaJwSU.js → stepper-CKM-lSpD.js} +6 -6
- package/dist/cdn/chunks/{style-map-BwtZr74h.js → style-map-BK47EPzs.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-5fxe3QB1.js → swatch-picker-CFRNmV9x.js} +5 -5
- package/dist/cdn/chunks/{switch-BUxGg2ww.js → switch-BBy9Xo1E.js} +4 -4
- package/dist/cdn/chunks/{switch-field-DOsEK534.js → switch-field-zh-K7d2q.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-CZ9Z9qV9.js → tab-bar-C8qWE51t.js} +8 -8
- package/dist/cdn/chunks/{table-SAsB1kDN.js → table-av_EyIn7.js} +5 -5
- package/dist/cdn/chunks/{tag-xuCeECO3.js → tag-DFv9vv3i.js} +4 -4
- package/dist/cdn/chunks/{term-DHEvoltZ.js → term-DeQiGH6k.js} +53 -31
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/{text-cell-DQNzo2Rp.js → text-cell-BcT9b0bK.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DCYF_nqz.js → text-editor-BwJE_vvo.js} +10 -10
- package/dist/cdn/chunks/{text-field-BiPeMi6s.js → text-field-B78KPNqa.js} +6 -7
- package/dist/cdn/chunks/{text-CiFzQPQw.js → text-mfKi65T1.js} +3 -3
- package/dist/cdn/chunks/{time-field-C-Euaiy0.js → time-field-O2OSrTyM.js} +13 -13
- package/dist/cdn/chunks/{time-picker-DYkxhEYm.js → time-picker-Ce5tW_jo.js} +50 -53
- package/dist/cdn/chunks/{title-DkS07R_v.js → title-Bdx3NCUA.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CJevv6Vg.js → title-cell-BwHqLbue.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-DDqd56_3.js → toggle-button-CjjJRwpP.js} +57 -41
- package/dist/cdn/chunks/{toggle-button-group-ByxgMVzH.js → toggle-button-group-CuRM8-nF.js} +11 -5
- package/dist/cdn/chunks/{token-YpVKK1g4.js → token-AiSihnjQ.js} +5 -5
- package/dist/cdn/chunks/{token-field-vLdJSvUz.js → token-field-GETUgMlc.js} +10 -10
- package/dist/cdn/chunks/{toolbar-C-5H46y9.js → toolbar-Cwq028PV.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CvPtoAoQ.js → toolbar-item-DR1Z8Hc3.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-HElUvLeY.js → toolbar-title-CDTF6HLo.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BuJIgj1E.js → toolbar.styles-JjSZv4fw.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BF4HkWOi.js → tooltip-c-bLjIjT.js} +54 -46
- package/dist/cdn/chunks/{top-navigation-bar-ngF2MF40.js → top-navigation-bar-DzmvxwVc.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BUjpi-w6.js → top-title-bar-Bk6dadA-.js} +6 -6
- package/dist/cdn/chunks/{translations-BWgmZCAK.js → translations-BDYe8_q9.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Ci6O8SwP.js → two-thirds-one-third-section-Co5_3oOP.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BBNFz_2I.js → validation-list-MEykkKGr.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BP5T5qYB.js → visibility-mixin-UdX7clEI.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BqYWVy4n.js → visually-hidden-BKnf0dXp.js} +2 -2
- package/dist/cdn/chunks/{window-CvgGg1Ib.js → window-DNoLmVa1.js} +4 -4
- package/dist/cdn/chunks/{with-translations-8SmMZkGa.js → with-translations-DlZHUMbZ.js} +3 -3
- package/dist/components/actions/button/button.d.ts +1 -1
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +5 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +10 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +1 -1
- package/dist/components/actions/menu/menu-item.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +18 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +74 -6
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -1
- package/dist/components/content/accordion/accordion-item.d.ts +38 -0
- package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.js +62 -0
- package/dist/components/content/accordion/accordion-item.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js +196 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.js +24 -0
- package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
- package/dist/components/content/accordion/accordion.d.ts +50 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.js +96 -0
- package/dist/components/content/accordion/accordion.js.map +1 -0
- package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.styles.js +43 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.template.js +9 -0
- package/dist/components/content/accordion/accordion.template.js.map +1 -0
- package/dist/components/content/admonition/admonition.d.ts +76 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.js +129 -0
- package/dist/components/content/admonition/admonition.js.map +1 -0
- package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.styles.js +269 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -0
- package/dist/components/content/admonition/admonition.template.d.ts +4 -0
- package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.template.js +63 -0
- package/dist/components/content/admonition/admonition.template.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +36 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +14 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +14 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +12 -1
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.d.ts +1 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.js +2 -0
- package/dist/components/content/term/term.i18n.js.map +1 -1
- package/dist/components/content/term/term.js +23 -1
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +29 -6
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +44 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +129 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +18 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +77 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js +188 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js +28 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts +4 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js +9 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js.map +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +14 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +34 -1
- package/dist/components/inputs/date-field/date-field.js.map +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 +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +4 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +4 -0
- package/dist/components/inputs/dropdown/dropdown.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 +1 -0
- 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.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +5 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +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 +1 -2
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +22 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +53 -7
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +20 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/layout/card/card.d.ts +2 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +5 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -3
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +25 -9
- package/dist/components/navigation/link/link.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 +25 -24
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/css/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +200 -2
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes.css +3 -0
- package/dist/css/variables.css +21 -0
- package/dist/nldd.min.js +4922 -4287
- 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 +178 -10
- package/dist/types/vue.d.ts +333 -37
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +4 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/css-time.d.ts +4 -0
- package/dist/utilities/css-time.d.ts.map +1 -0
- package/dist/utilities/css-time.js +10 -0
- package/dist/utilities/css-time.js.map +1 -0
- package/dist/utilities/described-by-mixin.d.ts +6 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +81 -2
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +58 -3
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +18 -1
- package/dist/cdn/chunks/checkbox-field-CDtlpN-u.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-fLi4Nmt7.js +0 -35
- package/dist/cdn/chunks/repeat-Ck8L8Iy9.js +0 -76
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
package/dist/types/vue.d.ts
CHANGED
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
// from @change, so onChange.
|
|
11
11
|
|
|
12
12
|
import type { DefineComponent } from 'vue';
|
|
13
|
+
import type { NLDDAccordion } from '@nldd/design-system/accordion';
|
|
14
|
+
import type { NLDDAccordionItem } from '@nldd/design-system/accordion-item';
|
|
13
15
|
import type { NLDDActivityIndicator } from '@nldd/design-system/activity-indicator';
|
|
16
|
+
import type { NLDDAdmonition } from '@nldd/design-system/admonition';
|
|
14
17
|
import type { NLDDAvatar } from '@nldd/design-system/avatar';
|
|
15
18
|
import type { NLDDAvatarGroup } from '@nldd/design-system/avatar-group';
|
|
16
19
|
import type { NLDDBadge } from '@nldd/design-system/badge';
|
|
@@ -28,6 +31,7 @@ import type { NLDDCard } from '@nldd/design-system/card';
|
|
|
28
31
|
import type { NLDDCell } from '@nldd/design-system/cell';
|
|
29
32
|
import type { NLDDCheckbox } from '@nldd/design-system/checkbox';
|
|
30
33
|
import type { NLDDCheckboxField } from '@nldd/design-system/checkbox-field';
|
|
34
|
+
import type { NLDDCheckboxGroup } from '@nldd/design-system/checkbox-group';
|
|
31
35
|
import type { NLDDCodeEditor } from '@nldd/design-system/code-editor';
|
|
32
36
|
import type { NLDDCodeViewer } from '@nldd/design-system/code-viewer';
|
|
33
37
|
import type { NLDDCollection } from '@nldd/design-system/collection';
|
|
@@ -149,6 +153,20 @@ import type { NLDDVisuallyHidden } from '@nldd/design-system/visually-hidden';
|
|
|
149
153
|
import type { NLDDWindow } from '@nldd/design-system/window';
|
|
150
154
|
|
|
151
155
|
declare module 'vue' {
|
|
156
|
+
type NLDDAccordionProps = {
|
|
157
|
+
/** Only one item is open at a time */
|
|
158
|
+
'exclusive'?: NLDDAccordion['exclusive'];
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
type NLDDAccordionItemProps = {
|
|
162
|
+
/** Title in the bar */
|
|
163
|
+
'text'?: NLDDAccordionItem['text'];
|
|
164
|
+
/** Whether the item is open */
|
|
165
|
+
'open'?: NLDDAccordionItem['open'];
|
|
166
|
+
/** When the item opens or closes, also when `open` is set from code, as nldd-accordion needs for `exclusive`, and once on load for an item that starts open, as a native details does; read `open` for the new state. */
|
|
167
|
+
'onToggle'?: (event: CustomEvent) => void;
|
|
168
|
+
};
|
|
169
|
+
|
|
152
170
|
type NLDDActivityIndicatorProps = {
|
|
153
171
|
/** Circle diameter on the icon scale: 16,20,24,28,32,40,44,48,56,64,80,96 (default '32') */
|
|
154
172
|
'size'?: NLDDActivityIndicator['size'];
|
|
@@ -170,6 +188,25 @@ declare module 'vue' {
|
|
|
170
188
|
'translations'?: NLDDActivityIndicator['translations'];
|
|
171
189
|
};
|
|
172
190
|
|
|
191
|
+
type NLDDAdmonitionProps = {
|
|
192
|
+
/** Color and default icon (default: 'neutral') */
|
|
193
|
+
'variant'?: NLDDAdmonition['variant'];
|
|
194
|
+
/** Title in the bar above the content. Without it there is no bar */
|
|
195
|
+
'text'?: NLDDAdmonition['text'];
|
|
196
|
+
/** Renders the title as h1–h6; absent renders a p. Not with `collapsible` */
|
|
197
|
+
'heading-level'?: NLDDAdmonition['headingLevel'];
|
|
198
|
+
/** Renders the title as h1–h6; absent renders a p. Not with `collapsible` */
|
|
199
|
+
'headingLevel'?: NLDDAdmonition['headingLevel'];
|
|
200
|
+
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
201
|
+
'icon'?: NLDDAdmonition['icon'];
|
|
202
|
+
/** The title bar opens and closes the content. Needs `text` */
|
|
203
|
+
'collapsible'?: NLDDAdmonition['collapsible'];
|
|
204
|
+
/** Whether a collapsible admonition is closed */
|
|
205
|
+
'collapsed'?: NLDDAdmonition['collapsed'];
|
|
206
|
+
/** When the user opens or closes a collapsible admonition; read `collapsed` for the new state. Setting `collapsed` does not fire it. */
|
|
207
|
+
'onToggle'?: (event: CustomEvent) => void;
|
|
208
|
+
};
|
|
209
|
+
|
|
173
210
|
type NLDDAvatarProps = {
|
|
174
211
|
/** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
|
|
175
212
|
'type'?: NLDDAvatar['type'];
|
|
@@ -442,6 +479,14 @@ declare module 'vue' {
|
|
|
442
479
|
'download'?: NLDDButton['download'];
|
|
443
480
|
/** Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
444
481
|
'rel'?: NLDDButton['rel'];
|
|
482
|
+
/** 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`. */
|
|
483
|
+
'accessible-description'?: NLDDButton['accessibleDescription'];
|
|
484
|
+
/** 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`. */
|
|
485
|
+
'accessibleDescription'?: NLDDButton['accessibleDescription'];
|
|
486
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
487
|
+
'accessible-described-by'?: NLDDButton['accessibleDescribedBy'];
|
|
488
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
489
|
+
'accessibleDescribedBy'?: NLDDButton['accessibleDescribedBy'];
|
|
445
490
|
/** Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch. */
|
|
446
491
|
'translations'?: NLDDButton['translations'];
|
|
447
492
|
/** Id of the form this button submits or resets, for a button that sits outside it. Takes an `nldd-form` as well as a plain `<form>`. Without it the button acts on the form it stands in. The id is looked up in the button's own root, as the platform does it: a button inside a shadow tree does not reach a form in the document around it. An id that finds nothing, or an `nldd-form` that has not rendered its form yet, says so in development rather than letting the click do nothing. */
|
|
@@ -450,7 +495,7 @@ declare module 'vue' {
|
|
|
450
495
|
'popoverTargetElement'?: NLDDButton['popoverTargetElement'];
|
|
451
496
|
/** Action the browser performs when the button is clicked, mirroring the standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use `'show'` when a separate handler owns the close path (e.g. the consumer toggles the popover programmatically) so the browser's default action doesn't double-fire. */
|
|
452
497
|
'popoverTargetAction'?: NLDDButton['popoverTargetAction'];
|
|
453
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
498
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
454
499
|
'describedByElements'?: NLDDButton['describedByElements'];
|
|
455
500
|
/** When button is clicked (not fired when disabled) */
|
|
456
501
|
'onClick'?: (event: CustomEvent) => void;
|
|
@@ -558,7 +603,15 @@ declare module 'vue' {
|
|
|
558
603
|
'required'?: NLDDCheckbox['required'];
|
|
559
604
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
560
605
|
'invalid'?: NLDDCheckbox['invalid'];
|
|
561
|
-
/**
|
|
606
|
+
/** 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`. */
|
|
607
|
+
'accessible-description'?: NLDDCheckbox['accessibleDescription'];
|
|
608
|
+
/** 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`. */
|
|
609
|
+
'accessibleDescription'?: NLDDCheckbox['accessibleDescription'];
|
|
610
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
611
|
+
'accessible-described-by'?: NLDDCheckbox['accessibleDescribedBy'];
|
|
612
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
613
|
+
'accessibleDescribedBy'?: NLDDCheckbox['accessibleDescribedBy'];
|
|
614
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
562
615
|
'describedByElements'?: NLDDCheckbox['describedByElements'];
|
|
563
616
|
'internals'?: NLDDCheckbox['internals'];
|
|
564
617
|
/** Fired when the checkbox state changes; detail: { checked: boolean, value: string } */
|
|
@@ -580,17 +633,46 @@ declare module 'vue' {
|
|
|
580
633
|
'color'?: NLDDCheckboxField['color'];
|
|
581
634
|
/** Label text for the checkbox */
|
|
582
635
|
'label'?: NLDDCheckboxField['label'];
|
|
583
|
-
/** Required state */
|
|
636
|
+
/** Required state. In an nldd-checkbox-group, set by the group, it asks for at least one checked box in the group, not for this one. */
|
|
584
637
|
'required'?: NLDDCheckboxField['required'];
|
|
585
638
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
586
639
|
'invalid'?: NLDDCheckboxField['invalid'];
|
|
587
|
-
/**
|
|
640
|
+
/** 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`. */
|
|
641
|
+
'accessible-description'?: NLDDCheckboxField['accessibleDescription'];
|
|
642
|
+
/** 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`. */
|
|
643
|
+
'accessibleDescription'?: NLDDCheckboxField['accessibleDescription'];
|
|
644
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
645
|
+
'accessible-described-by'?: NLDDCheckboxField['accessibleDescribedBy'];
|
|
646
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
647
|
+
'accessibleDescribedBy'?: NLDDCheckboxField['accessibleDescribedBy'];
|
|
648
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
588
649
|
'describedByElements'?: NLDDCheckboxField['describedByElements'];
|
|
589
650
|
'internals'?: NLDDCheckboxField['internals'];
|
|
590
651
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
591
652
|
'onChange'?: (event: CustomEvent) => void;
|
|
592
653
|
};
|
|
593
654
|
|
|
655
|
+
type NLDDCheckboxGroupProps = {
|
|
656
|
+
/** Forwarded to all nldd-checkbox-field elements in the group; clearing it leaves them the name they had */
|
|
657
|
+
'name'?: NLDDCheckboxGroup['name'];
|
|
658
|
+
/** Disables all fields in the group */
|
|
659
|
+
'disabled'?: NLDDCheckboxGroup['disabled'];
|
|
660
|
+
/** At least one box in the group has to be checked. Set on every field in the group, nested ones included, whether it is on or off: in a group, the group decides. */
|
|
661
|
+
'required'?: NLDDCheckboxGroup['required'];
|
|
662
|
+
/** Accessible name for the group, set as aria-label on the group */
|
|
663
|
+
'accessible-label'?: NLDDCheckboxGroup['accessibleLabel'];
|
|
664
|
+
/** Accessible name for the group, set as aria-label on the group */
|
|
665
|
+
'accessibleLabel'?: NLDDCheckboxGroup['accessibleLabel'];
|
|
666
|
+
/** Id of an external label element, set as aria-labelledby on the group */
|
|
667
|
+
'accessible-labeled-by'?: NLDDCheckboxGroup['accessibleLabeledBy'];
|
|
668
|
+
/** Id of an external label element, set as aria-labelledby on the group */
|
|
669
|
+
'accessibleLabeledBy'?: NLDDCheckboxGroup['accessibleLabeledBy'];
|
|
670
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
671
|
+
'invalid'?: NLDDCheckboxGroup['invalid'];
|
|
672
|
+
/** Bubbles up from the field that changed; detail: { checked: boolean, value: string } */
|
|
673
|
+
'onChange'?: (event: CustomEvent) => void;
|
|
674
|
+
};
|
|
675
|
+
|
|
594
676
|
type NLDDCodeEditorProps = {
|
|
595
677
|
/** Wrap long lines instead of horizontal scroll */
|
|
596
678
|
'wrap'?: NLDDCodeEditor['wrap'];
|
|
@@ -604,6 +686,14 @@ declare module 'vue' {
|
|
|
604
686
|
'line-numbers'?: NLDDCodeEditor['lineNumbers'];
|
|
605
687
|
/** Show a line-number gutter */
|
|
606
688
|
'lineNumbers'?: NLDDCodeEditor['lineNumbers'];
|
|
689
|
+
/** 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`. */
|
|
690
|
+
'accessible-description'?: NLDDCodeEditor['accessibleDescription'];
|
|
691
|
+
/** 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`. */
|
|
692
|
+
'accessibleDescription'?: NLDDCodeEditor['accessibleDescription'];
|
|
693
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
694
|
+
'accessible-described-by'?: NLDDCodeEditor['accessibleDescribedBy'];
|
|
695
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
696
|
+
'accessibleDescribedBy'?: NLDDCodeEditor['accessibleDescribedBy'];
|
|
607
697
|
/** Editor content */
|
|
608
698
|
'value'?: NLDDCodeEditor['value'];
|
|
609
699
|
/** Sets the id on the editable element. Set automatically by nldd-form-field. */
|
|
@@ -628,7 +718,7 @@ declare module 'vue' {
|
|
|
628
718
|
'accessibleLabel'?: NLDDCodeEditor['accessibleLabel'];
|
|
629
719
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
630
720
|
'invalid'?: NLDDCodeEditor['invalid'];
|
|
631
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
721
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
632
722
|
'describedByElements'?: NLDDCodeEditor['describedByElements'];
|
|
633
723
|
'internals'?: NLDDCodeEditor['internals'];
|
|
634
724
|
/** When the content changes (detail: { value }) */
|
|
@@ -760,7 +850,15 @@ declare module 'vue' {
|
|
|
760
850
|
'minlength'?: NLDDComboBox['minlength'];
|
|
761
851
|
/** Most characters the value may have. */
|
|
762
852
|
'maxlength'?: NLDDComboBox['maxlength'];
|
|
763
|
-
/**
|
|
853
|
+
/** 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`. */
|
|
854
|
+
'accessible-description'?: NLDDComboBox['accessibleDescription'];
|
|
855
|
+
/** 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`. */
|
|
856
|
+
'accessibleDescription'?: NLDDComboBox['accessibleDescription'];
|
|
857
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
858
|
+
'accessible-described-by'?: NLDDComboBox['accessibleDescribedBy'];
|
|
859
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
860
|
+
'accessibleDescribedBy'?: NLDDComboBox['accessibleDescribedBy'];
|
|
861
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
764
862
|
'describedByElements'?: NLDDComboBox['describedByElements'];
|
|
765
863
|
'internals'?: NLDDComboBox['internals'];
|
|
766
864
|
/** When the input value changes; detail: { value: string } */
|
|
@@ -999,7 +1097,15 @@ declare module 'vue' {
|
|
|
999
1097
|
'width'?: NLDDDateField['width'];
|
|
1000
1098
|
/** Translations; unspecified keys fall back to Dutch. */
|
|
1001
1099
|
'translations'?: NLDDDateField['translations'];
|
|
1002
|
-
/**
|
|
1100
|
+
/** 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`. */
|
|
1101
|
+
'accessible-description'?: NLDDDateField['accessibleDescription'];
|
|
1102
|
+
/** 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`. */
|
|
1103
|
+
'accessibleDescription'?: NLDDDateField['accessibleDescription'];
|
|
1104
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1105
|
+
'accessible-described-by'?: NLDDDateField['accessibleDescribedBy'];
|
|
1106
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1107
|
+
'accessibleDescribedBy'?: NLDDDateField['accessibleDescribedBy'];
|
|
1108
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1003
1109
|
'describedByElements'?: NLDDDateField['describedByElements'];
|
|
1004
1110
|
'internals'?: NLDDDateField['internals'];
|
|
1005
1111
|
/** On every change. detail: { value } with the ISO date, or '' while there is no valid date. */
|
|
@@ -1037,11 +1143,19 @@ declare module 'vue' {
|
|
|
1037
1143
|
'accessibleLabel'?: NLDDDatePicker['accessibleLabel'];
|
|
1038
1144
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
1039
1145
|
'invalid'?: NLDDDatePicker['invalid'];
|
|
1146
|
+
/** 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`. */
|
|
1147
|
+
'accessible-description'?: NLDDDatePicker['accessibleDescription'];
|
|
1148
|
+
/** 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`. */
|
|
1149
|
+
'accessibleDescription'?: NLDDDatePicker['accessibleDescription'];
|
|
1150
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1151
|
+
'accessible-described-by'?: NLDDDatePicker['accessibleDescribedBy'];
|
|
1152
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1153
|
+
'accessibleDescribedBy'?: NLDDDatePicker['accessibleDescribedBy'];
|
|
1040
1154
|
/** Translations; unspecified keys fall back to Dutch. */
|
|
1041
1155
|
'translations'?: NLDDDatePicker['translations'];
|
|
1042
1156
|
/** Marks individual dates as unselectable - weekends, holidays, dates already booked. */
|
|
1043
1157
|
'isDateUnavailable'?: NLDDDatePicker['isDateUnavailable'];
|
|
1044
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
1158
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1045
1159
|
'describedByElements'?: NLDDDatePicker['describedByElements'];
|
|
1046
1160
|
/** When a date or a complete period has been chosen. detail: { value } or { start, end }. */
|
|
1047
1161
|
'onChange'?: (event: CustomEvent) => void;
|
|
@@ -1144,9 +1258,17 @@ declare module 'vue' {
|
|
|
1144
1258
|
'accessibleLabel'?: NLDDDropdown['accessibleLabel'];
|
|
1145
1259
|
/** Required state, handed to the slotted <select>. A `required` on the <select> itself is left alone. */
|
|
1146
1260
|
'required'?: NLDDDropdown['required'];
|
|
1261
|
+
/** 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`. */
|
|
1262
|
+
'accessible-description'?: NLDDDropdown['accessibleDescription'];
|
|
1263
|
+
/** 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`. */
|
|
1264
|
+
'accessibleDescription'?: NLDDDropdown['accessibleDescription'];
|
|
1265
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1266
|
+
'accessible-described-by'?: NLDDDropdown['accessibleDescribedBy'];
|
|
1267
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1268
|
+
'accessibleDescribedBy'?: NLDDDropdown['accessibleDescribedBy'];
|
|
1147
1269
|
/** The value of the slotted `<select>`, so a framework can bind to the dropdown itself instead of reaching for the select inside it. */
|
|
1148
1270
|
'value'?: NLDDDropdown['value'];
|
|
1149
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
1271
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1150
1272
|
'describedByElements'?: NLDDDropdown['describedByElements'];
|
|
1151
1273
|
/** The native change of the slotted select, left to bubble, so a listener on the select, on the dropdown or higher up all hear it. Read the choice from `value`. */
|
|
1152
1274
|
'onChange'?: (event: CustomEvent) => void;
|
|
@@ -1183,10 +1305,18 @@ declare module 'vue' {
|
|
|
1183
1305
|
'required'?: NLDDFileField['required'];
|
|
1184
1306
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
1185
1307
|
'translations'?: NLDDFileField['translations'];
|
|
1308
|
+
/** 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`. */
|
|
1309
|
+
'accessible-description'?: NLDDFileField['accessibleDescription'];
|
|
1310
|
+
/** 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`. */
|
|
1311
|
+
'accessibleDescription'?: NLDDFileField['accessibleDescription'];
|
|
1312
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1313
|
+
'accessible-described-by'?: NLDDFileField['accessibleDescribedBy'];
|
|
1314
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1315
|
+
'accessibleDescribedBy'?: NLDDFileField['accessibleDescribedBy'];
|
|
1186
1316
|
'files'?: NLDDFileField['files'];
|
|
1187
1317
|
/** Where each file sat: its name, or for a file from a dropped folder the path from that folder down ("site/css/main.css"). Same order as `files`. */
|
|
1188
1318
|
'paths'?: NLDDFileField['paths'];
|
|
1189
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
1319
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1190
1320
|
'describedByElements'?: NLDDFileField['describedByElements'];
|
|
1191
1321
|
'internals'?: NLDDFileField['internals'];
|
|
1192
1322
|
/** When the chosen files change, including a clear; detail: { files: File[], paths: string[] } */
|
|
@@ -1477,12 +1607,22 @@ declare module 'vue' {
|
|
|
1477
1607
|
'download'?: NLDDIconButton['download'];
|
|
1478
1608
|
/** Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1479
1609
|
'rel'?: NLDDIconButton['rel'];
|
|
1610
|
+
/** 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`. */
|
|
1611
|
+
'accessible-description'?: NLDDIconButton['accessibleDescription'];
|
|
1612
|
+
/** 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`. */
|
|
1613
|
+
'accessibleDescription'?: NLDDIconButton['accessibleDescription'];
|
|
1614
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1615
|
+
'accessible-described-by'?: NLDDIconButton['accessibleDescribedBy'];
|
|
1616
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1617
|
+
'accessibleDescribedBy'?: NLDDIconButton['accessibleDescribedBy'];
|
|
1480
1618
|
/** Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch. */
|
|
1481
1619
|
'translations'?: NLDDIconButton['translations'];
|
|
1482
1620
|
/** Direct element reference to the popover this button invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Use this when the popover lives in a different tree (e.g. an `nldd-menu` reparented to `<body>`) so the browser still recognizes this button as the popover's invoker and excludes it from the popover light-dismiss algorithm. Set programmatically; not reflected to an HTML attribute (the attribute form is `popovertarget`, ID-based). */
|
|
1483
1621
|
'popoverTargetElement'?: NLDDIconButton['popoverTargetElement'];
|
|
1484
1622
|
/** Action the browser performs when the button is clicked, mirroring the standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use `'show'` when a separate handler owns the close path (e.g. the consumer toggles the popover programmatically) so the browser's default action doesn't double-fire. */
|
|
1485
1623
|
'popoverTargetAction'?: NLDDIconButton['popoverTargetAction'];
|
|
1624
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1625
|
+
'describedByElements'?: NLDDIconButton['describedByElements'];
|
|
1486
1626
|
/** When button is clicked (not fired when disabled) */
|
|
1487
1627
|
'onClick'?: (event: CustomEvent) => void;
|
|
1488
1628
|
};
|
|
@@ -1727,8 +1867,18 @@ declare module 'vue' {
|
|
|
1727
1867
|
'noTab'?: NLDDLink['noTab'];
|
|
1728
1868
|
/** ID of an nldd-popover that previews where the link goes, looked up in the tree of this link. It opens on interest instead of on a click: when the pointer rests on the link, when it gets keyboard focus, and on a long press on touch. A click or a tap still follows the link. Focus stays on the link, the popover's content is read as the link's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: put no link or button in it. Keep the popover outside the paragraph: a link stands in a `<p>`, and a `<p>` of your own inside it would close that paragraph. One popover can serve several links. Keep `accessible-label` on it: it is left out while the popover describes a link. */
|
|
1729
1869
|
'interestfor'?: NLDDLink['interestfor'];
|
|
1870
|
+
/** 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`. */
|
|
1871
|
+
'accessible-description'?: NLDDLink['accessibleDescription'];
|
|
1872
|
+
/** 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`. */
|
|
1873
|
+
'accessibleDescription'?: NLDDLink['accessibleDescription'];
|
|
1874
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1875
|
+
'accessible-described-by'?: NLDDLink['accessibleDescribedBy'];
|
|
1876
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1877
|
+
'accessibleDescribedBy'?: NLDDLink['accessibleDescribedBy'];
|
|
1730
1878
|
/** Override translation keys (e.g. the "opent in nieuw tabblad" announcement); unset keys fall back to Dutch. */
|
|
1731
1879
|
'translations'?: NLDDLink['translations'];
|
|
1880
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
1881
|
+
'describedByElements'?: NLDDLink['describedByElements'];
|
|
1732
1882
|
};
|
|
1733
1883
|
|
|
1734
1884
|
type NLDDLinkGroupProps = {
|
|
@@ -1998,7 +2148,7 @@ declare module 'vue' {
|
|
|
1998
2148
|
'shortcut-mac'?: NLDDMenuItem['shortcutMac'];
|
|
1999
2149
|
/** / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`). */
|
|
2000
2150
|
'shortcutMac'?: NLDDMenuItem['shortcutMac'];
|
|
2001
|
-
/** Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled. */
|
|
2151
|
+
/** Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled. */
|
|
2002
2152
|
'href'?: NLDDMenuItem['href'];
|
|
2003
2153
|
/** Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply. */
|
|
2004
2154
|
'target'?: NLDDMenuItem['target'];
|
|
@@ -2112,7 +2262,15 @@ declare module 'vue' {
|
|
|
2112
2262
|
'minlength'?: NLDDMultiLineTextField['minlength'];
|
|
2113
2263
|
/** Most characters the value may have. */
|
|
2114
2264
|
'maxlength'?: NLDDMultiLineTextField['maxlength'];
|
|
2115
|
-
/**
|
|
2265
|
+
/** 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`. */
|
|
2266
|
+
'accessible-description'?: NLDDMultiLineTextField['accessibleDescription'];
|
|
2267
|
+
/** 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`. */
|
|
2268
|
+
'accessibleDescription'?: NLDDMultiLineTextField['accessibleDescription'];
|
|
2269
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2270
|
+
'accessible-described-by'?: NLDDMultiLineTextField['accessibleDescribedBy'];
|
|
2271
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2272
|
+
'accessibleDescribedBy'?: NLDDMultiLineTextField['accessibleDescribedBy'];
|
|
2273
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2116
2274
|
'describedByElements'?: NLDDMultiLineTextField['describedByElements'];
|
|
2117
2275
|
'internals'?: NLDDMultiLineTextField['internals'];
|
|
2118
2276
|
/** When value changes */
|
|
@@ -2195,7 +2353,15 @@ declare module 'vue' {
|
|
|
2195
2353
|
'translations'?: NLDDNumberField['translations'];
|
|
2196
2354
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2197
2355
|
'invalid'?: NLDDNumberField['invalid'];
|
|
2198
|
-
/**
|
|
2356
|
+
/** 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`. */
|
|
2357
|
+
'accessible-description'?: NLDDNumberField['accessibleDescription'];
|
|
2358
|
+
/** 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`. */
|
|
2359
|
+
'accessibleDescription'?: NLDDNumberField['accessibleDescription'];
|
|
2360
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2361
|
+
'accessible-described-by'?: NLDDNumberField['accessibleDescribedBy'];
|
|
2362
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2363
|
+
'accessibleDescribedBy'?: NLDDNumberField['accessibleDescribedBy'];
|
|
2364
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2199
2365
|
'describedByElements'?: NLDDNumberField['describedByElements'];
|
|
2200
2366
|
'internals'?: NLDDNumberField['internals'];
|
|
2201
2367
|
/** 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 */
|
|
@@ -2331,6 +2497,14 @@ declare module 'vue' {
|
|
|
2331
2497
|
'uppercase'?: NLDDOneTimeCodeField['uppercase'];
|
|
2332
2498
|
/** Required state. A code that is not complete counts as invalid too. */
|
|
2333
2499
|
'required'?: NLDDOneTimeCodeField['required'];
|
|
2500
|
+
/** 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`. */
|
|
2501
|
+
'accessible-description'?: NLDDOneTimeCodeField['accessibleDescription'];
|
|
2502
|
+
/** 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`. */
|
|
2503
|
+
'accessibleDescription'?: NLDDOneTimeCodeField['accessibleDescription'];
|
|
2504
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2505
|
+
'accessible-described-by'?: NLDDOneTimeCodeField['accessibleDescribedBy'];
|
|
2506
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2507
|
+
'accessibleDescribedBy'?: NLDDOneTimeCodeField['accessibleDescribedBy'];
|
|
2334
2508
|
/** The format as boxes and the separators between them, or null without a usable format. */
|
|
2335
2509
|
'formatParts'?: NLDDOneTimeCodeField['formatParts'];
|
|
2336
2510
|
/** The length: the boxes in the format, or else `length` as a whole number of at least one. */
|
|
@@ -2339,7 +2513,7 @@ declare module 'vue' {
|
|
|
2339
2513
|
'pattern'?: NLDDOneTimeCodeField['pattern'];
|
|
2340
2514
|
/** The box with the focus ring, or -1 while the field has no focus. A readonly field gets the ring too, since the boxes are its only focus indicator, but no caret. */
|
|
2341
2515
|
'activeBox'?: NLDDOneTimeCodeField['activeBox'];
|
|
2342
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
2516
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2343
2517
|
'describedByElements'?: NLDDOneTimeCodeField['describedByElements'];
|
|
2344
2518
|
'internals'?: NLDDOneTimeCodeField['internals'];
|
|
2345
2519
|
/** When the code changes; detail: { value: string } */
|
|
@@ -2455,7 +2629,15 @@ declare module 'vue' {
|
|
|
2455
2629
|
'minlength'?: NLDDPasswordField['minlength'];
|
|
2456
2630
|
/** Most characters the value may have. */
|
|
2457
2631
|
'maxlength'?: NLDDPasswordField['maxlength'];
|
|
2458
|
-
/**
|
|
2632
|
+
/** 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`. */
|
|
2633
|
+
'accessible-description'?: NLDDPasswordField['accessibleDescription'];
|
|
2634
|
+
/** 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`. */
|
|
2635
|
+
'accessibleDescription'?: NLDDPasswordField['accessibleDescription'];
|
|
2636
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2637
|
+
'accessible-described-by'?: NLDDPasswordField['accessibleDescribedBy'];
|
|
2638
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2639
|
+
'accessibleDescribedBy'?: NLDDPasswordField['accessibleDescribedBy'];
|
|
2640
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2459
2641
|
'describedByElements'?: NLDDPasswordField['describedByElements'];
|
|
2460
2642
|
'internals'?: NLDDPasswordField['internals'];
|
|
2461
2643
|
/** When the input value changes ({ detail: { value } }) */
|
|
@@ -2623,7 +2805,15 @@ declare module 'vue' {
|
|
|
2623
2805
|
'accessibleLabel'?: NLDDRadioButton['accessibleLabel'];
|
|
2624
2806
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
2625
2807
|
'invalid'?: NLDDRadioButton['invalid'];
|
|
2626
|
-
/**
|
|
2808
|
+
/** 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`. */
|
|
2809
|
+
'accessible-description'?: NLDDRadioButton['accessibleDescription'];
|
|
2810
|
+
/** 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`. */
|
|
2811
|
+
'accessibleDescription'?: NLDDRadioButton['accessibleDescription'];
|
|
2812
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2813
|
+
'accessible-described-by'?: NLDDRadioButton['accessibleDescribedBy'];
|
|
2814
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2815
|
+
'accessibleDescribedBy'?: NLDDRadioButton['accessibleDescribedBy'];
|
|
2816
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2627
2817
|
'describedByElements'?: NLDDRadioButton['describedByElements'];
|
|
2628
2818
|
'internals'?: NLDDRadioButton['internals'];
|
|
2629
2819
|
/** When checked state changes; detail: { checked: boolean, value: string, name: string } */
|
|
@@ -2647,7 +2837,15 @@ declare module 'vue' {
|
|
|
2647
2837
|
'label'?: NLDDRadioButtonField['label'];
|
|
2648
2838
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2649
2839
|
'invalid'?: NLDDRadioButtonField['invalid'];
|
|
2650
|
-
/**
|
|
2840
|
+
/** 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`. */
|
|
2841
|
+
'accessible-description'?: NLDDRadioButtonField['accessibleDescription'];
|
|
2842
|
+
/** 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`. */
|
|
2843
|
+
'accessibleDescription'?: NLDDRadioButtonField['accessibleDescription'];
|
|
2844
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2845
|
+
'accessible-described-by'?: NLDDRadioButtonField['accessibleDescribedBy'];
|
|
2846
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2847
|
+
'accessibleDescribedBy'?: NLDDRadioButtonField['accessibleDescribedBy'];
|
|
2848
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2651
2849
|
'describedByElements'?: NLDDRadioButtonField['describedByElements'];
|
|
2652
2850
|
'internals'?: NLDDRadioButtonField['internals'];
|
|
2653
2851
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
@@ -2746,7 +2944,15 @@ declare module 'vue' {
|
|
|
2746
2944
|
'no-spellcheck'?: NLDDSearchField['noSpellcheck'];
|
|
2747
2945
|
/** Disables browser spellchecking on the inner input */
|
|
2748
2946
|
'noSpellcheck'?: NLDDSearchField['noSpellcheck'];
|
|
2749
|
-
/**
|
|
2947
|
+
/** 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`. */
|
|
2948
|
+
'accessible-description'?: NLDDSearchField['accessibleDescription'];
|
|
2949
|
+
/** 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`. */
|
|
2950
|
+
'accessibleDescription'?: NLDDSearchField['accessibleDescription'];
|
|
2951
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2952
|
+
'accessible-described-by'?: NLDDSearchField['accessibleDescribedBy'];
|
|
2953
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2954
|
+
'accessibleDescribedBy'?: NLDDSearchField['accessibleDescribedBy'];
|
|
2955
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
2750
2956
|
'describedByElements'?: NLDDSearchField['describedByElements'];
|
|
2751
2957
|
'internals'?: NLDDSearchField['internals'];
|
|
2752
2958
|
/** When the input value changes; detail: { value: string } */
|
|
@@ -3039,8 +3245,16 @@ declare module 'vue' {
|
|
|
3039
3245
|
'step'?: NLDDSlider['step'];
|
|
3040
3246
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
3041
3247
|
'translations'?: NLDDSlider['translations'];
|
|
3248
|
+
/** 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`. */
|
|
3249
|
+
'accessible-description'?: NLDDSlider['accessibleDescription'];
|
|
3250
|
+
/** 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`. */
|
|
3251
|
+
'accessibleDescription'?: NLDDSlider['accessibleDescription'];
|
|
3252
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3253
|
+
'accessible-described-by'?: NLDDSlider['accessibleDescribedBy'];
|
|
3254
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3255
|
+
'accessibleDescribedBy'?: NLDDSlider['accessibleDescribedBy'];
|
|
3042
3256
|
'formatValue'?: NLDDSlider['formatValue'];
|
|
3043
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
3257
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3044
3258
|
'describedByElements'?: NLDDSlider['describedByElements'];
|
|
3045
3259
|
'internals'?: NLDDSlider['internals'];
|
|
3046
3260
|
/** While a thumb moves; detail: { value } or, with `range`, { startValue, endValue } */
|
|
@@ -3260,7 +3474,15 @@ declare module 'vue' {
|
|
|
3260
3474
|
'translations'?: NLDDStepper['translations'];
|
|
3261
3475
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3262
3476
|
'invalid'?: NLDDStepper['invalid'];
|
|
3263
|
-
/**
|
|
3477
|
+
/** 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`. */
|
|
3478
|
+
'accessible-description'?: NLDDStepper['accessibleDescription'];
|
|
3479
|
+
/** 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`. */
|
|
3480
|
+
'accessibleDescription'?: NLDDStepper['accessibleDescription'];
|
|
3481
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3482
|
+
'accessible-described-by'?: NLDDStepper['accessibleDescribedBy'];
|
|
3483
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3484
|
+
'accessibleDescribedBy'?: NLDDStepper['accessibleDescribedBy'];
|
|
3485
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3264
3486
|
'describedByElements'?: NLDDStepper['describedByElements'];
|
|
3265
3487
|
'internals'?: NLDDStepper['internals'];
|
|
3266
3488
|
/** When the value changes; detail: { value: number } */
|
|
@@ -3346,7 +3568,15 @@ declare module 'vue' {
|
|
|
3346
3568
|
'required'?: NLDDSwitch['required'];
|
|
3347
3569
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3348
3570
|
'invalid'?: NLDDSwitch['invalid'];
|
|
3349
|
-
/**
|
|
3571
|
+
/** 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`. */
|
|
3572
|
+
'accessible-description'?: NLDDSwitch['accessibleDescription'];
|
|
3573
|
+
/** 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`. */
|
|
3574
|
+
'accessibleDescription'?: NLDDSwitch['accessibleDescription'];
|
|
3575
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3576
|
+
'accessible-described-by'?: NLDDSwitch['accessibleDescribedBy'];
|
|
3577
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3578
|
+
'accessibleDescribedBy'?: NLDDSwitch['accessibleDescribedBy'];
|
|
3579
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3350
3580
|
'describedByElements'?: NLDDSwitch['describedByElements'];
|
|
3351
3581
|
'internals'?: NLDDSwitch['internals'];
|
|
3352
3582
|
/** When the switch state changes; detail: { checked: boolean, value: string } */
|
|
@@ -3370,7 +3600,15 @@ declare module 'vue' {
|
|
|
3370
3600
|
'required'?: NLDDSwitchField['required'];
|
|
3371
3601
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3372
3602
|
'invalid'?: NLDDSwitchField['invalid'];
|
|
3373
|
-
/**
|
|
3603
|
+
/** 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`. */
|
|
3604
|
+
'accessible-description'?: NLDDSwitchField['accessibleDescription'];
|
|
3605
|
+
/** 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`. */
|
|
3606
|
+
'accessibleDescription'?: NLDDSwitchField['accessibleDescription'];
|
|
3607
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3608
|
+
'accessible-described-by'?: NLDDSwitchField['accessibleDescribedBy'];
|
|
3609
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3610
|
+
'accessibleDescribedBy'?: NLDDSwitchField['accessibleDescribedBy'];
|
|
3611
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3374
3612
|
'describedByElements'?: NLDDSwitchField['describedByElements'];
|
|
3375
3613
|
'internals'?: NLDDSwitchField['internals'];
|
|
3376
3614
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
@@ -3584,6 +3822,14 @@ declare module 'vue' {
|
|
|
3584
3822
|
'annotatable'?: NLDDTextEditor['annotatable'];
|
|
3585
3823
|
/** 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 and the copy button of a code block). Unset keys fall back to Dutch. */
|
|
3586
3824
|
'translations'?: NLDDTextEditor['translations'];
|
|
3825
|
+
/** 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`. */
|
|
3826
|
+
'accessible-description'?: NLDDTextEditor['accessibleDescription'];
|
|
3827
|
+
/** 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`. */
|
|
3828
|
+
'accessibleDescription'?: NLDDTextEditor['accessibleDescription'];
|
|
3829
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3830
|
+
'accessible-described-by'?: NLDDTextEditor['accessibleDescribedBy'];
|
|
3831
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3832
|
+
'accessibleDescribedBy'?: NLDDTextEditor['accessibleDescribedBy'];
|
|
3587
3833
|
/** Editor content (markdown) */
|
|
3588
3834
|
'value'?: NLDDTextEditor['value'];
|
|
3589
3835
|
/** Sets the id on the editable element. Set automatically by nldd-form-field. */
|
|
@@ -3618,7 +3864,7 @@ declare module 'vue' {
|
|
|
3618
3864
|
'typeaheads'?: NLDDTextEditor['typeaheads'];
|
|
3619
3865
|
/** 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]`. */
|
|
3620
3866
|
'annotations'?: NLDDTextEditor['annotations'];
|
|
3621
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
3867
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3622
3868
|
'describedByElements'?: NLDDTextEditor['describedByElements'];
|
|
3623
3869
|
'internals'?: NLDDTextEditor['internals'];
|
|
3624
3870
|
/** When the content changes (detail: { value }) */
|
|
@@ -3684,9 +3930,17 @@ declare module 'vue' {
|
|
|
3684
3930
|
'minlength'?: NLDDTextField['minlength'];
|
|
3685
3931
|
/** Most characters the value may have. */
|
|
3686
3932
|
'maxlength'?: NLDDTextField['maxlength'];
|
|
3933
|
+
/** 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`. */
|
|
3934
|
+
'accessible-description'?: NLDDTextField['accessibleDescription'];
|
|
3935
|
+
/** 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`. */
|
|
3936
|
+
'accessibleDescription'?: NLDDTextField['accessibleDescription'];
|
|
3937
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3938
|
+
'accessible-described-by'?: NLDDTextField['accessibleDescribedBy'];
|
|
3939
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3940
|
+
'accessibleDescribedBy'?: NLDDTextField['accessibleDescribedBy'];
|
|
3687
3941
|
/** The size a slotted button gets: one step below the field, so it fits inside the border. */
|
|
3688
3942
|
'buttonSize'?: NLDDTextField['buttonSize'];
|
|
3689
|
-
/** Set by nldd-form-field. A consumer never writes this
|
|
3943
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3690
3944
|
'describedByElements'?: NLDDTextField['describedByElements'];
|
|
3691
3945
|
'internals'?: NLDDTextField['internals'];
|
|
3692
3946
|
/** When input value changes */
|
|
@@ -3738,7 +3992,15 @@ declare module 'vue' {
|
|
|
3738
3992
|
'width'?: NLDDTimeField['width'];
|
|
3739
3993
|
/** Translations; unspecified keys fall back to Dutch. */
|
|
3740
3994
|
'translations'?: NLDDTimeField['translations'];
|
|
3741
|
-
/**
|
|
3995
|
+
/** 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`. */
|
|
3996
|
+
'accessible-description'?: NLDDTimeField['accessibleDescription'];
|
|
3997
|
+
/** 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`. */
|
|
3998
|
+
'accessibleDescription'?: NLDDTimeField['accessibleDescription'];
|
|
3999
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4000
|
+
'accessible-described-by'?: NLDDTimeField['accessibleDescribedBy'];
|
|
4001
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4002
|
+
'accessibleDescribedBy'?: NLDDTimeField['accessibleDescribedBy'];
|
|
4003
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3742
4004
|
'describedByElements'?: NLDDTimeField['describedByElements'];
|
|
3743
4005
|
'internals'?: NLDDTimeField['internals'];
|
|
3744
4006
|
/** On every change. detail: { value } with `HH:mm`, or '' while there is no valid time. */
|
|
@@ -3768,7 +4030,15 @@ declare module 'vue' {
|
|
|
3768
4030
|
'translations'?: NLDDTimePicker['translations'];
|
|
3769
4031
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3770
4032
|
'invalid'?: NLDDTimePicker['invalid'];
|
|
3771
|
-
/**
|
|
4033
|
+
/** 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`. */
|
|
4034
|
+
'accessible-description'?: NLDDTimePicker['accessibleDescription'];
|
|
4035
|
+
/** 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`. */
|
|
4036
|
+
'accessibleDescription'?: NLDDTimePicker['accessibleDescription'];
|
|
4037
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4038
|
+
'accessible-described-by'?: NLDDTimePicker['accessibleDescribedBy'];
|
|
4039
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4040
|
+
'accessibleDescribedBy'?: NLDDTimePicker['accessibleDescribedBy'];
|
|
4041
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3772
4042
|
'describedByElements'?: NLDDTimePicker['describedByElements'];
|
|
3773
4043
|
/** On every change: scrolling, the arrow keys. detail: { value } with `HH:mm`. */
|
|
3774
4044
|
'onInput'?: (event: CustomEvent) => void;
|
|
@@ -3895,6 +4165,8 @@ declare module 'vue' {
|
|
|
3895
4165
|
'accessible-label'?: NLDDToggleButton['accessibleLabel'];
|
|
3896
4166
|
/** Accessible label; required for icon-only usage */
|
|
3897
4167
|
'accessibleLabel'?: NLDDToggleButton['accessibleLabel'];
|
|
4168
|
+
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several buttons, such as who reacted in a row of reactions. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
4169
|
+
'interestfor'?: NLDDToggleButton['interestfor'];
|
|
3898
4170
|
/** Keyboard shortcut hint shown in the tooltip, e.g. 'Cmd+B'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Vet Cmd B"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
3899
4171
|
'shortcut'?: NLDDToggleButton['shortcut'];
|
|
3900
4172
|
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
@@ -3911,10 +4183,18 @@ declare module 'vue' {
|
|
|
3911
4183
|
'shortcutLinux'?: NLDDToggleButton['shortcutLinux'];
|
|
3912
4184
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3913
4185
|
'invalid'?: NLDDToggleButton['invalid'];
|
|
3914
|
-
/**
|
|
4186
|
+
/** 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`. */
|
|
4187
|
+
'accessible-description'?: NLDDToggleButton['accessibleDescription'];
|
|
4188
|
+
/** 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`. */
|
|
4189
|
+
'accessibleDescription'?: NLDDToggleButton['accessibleDescription'];
|
|
4190
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4191
|
+
'accessible-described-by'?: NLDDToggleButton['accessibleDescribedBy'];
|
|
4192
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4193
|
+
'accessibleDescribedBy'?: NLDDToggleButton['accessibleDescribedBy'];
|
|
4194
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
3915
4195
|
'describedByElements'?: NLDDToggleButton['describedByElements'];
|
|
3916
4196
|
'internals'?: NLDDToggleButton['internals'];
|
|
3917
|
-
/** When selection changes; detail: { selected: boolean, value: string } */
|
|
4197
|
+
/** 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. */
|
|
3918
4198
|
'onChange'?: (event: CustomEvent) => void;
|
|
3919
4199
|
};
|
|
3920
4200
|
|
|
@@ -4013,7 +4293,15 @@ declare module 'vue' {
|
|
|
4013
4293
|
'name'?: NLDDTokenField['name'];
|
|
4014
4294
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
4015
4295
|
'translations'?: NLDDTokenField['translations'];
|
|
4016
|
-
/**
|
|
4296
|
+
/** 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`. */
|
|
4297
|
+
'accessible-description'?: NLDDTokenField['accessibleDescription'];
|
|
4298
|
+
/** 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`. */
|
|
4299
|
+
'accessibleDescription'?: NLDDTokenField['accessibleDescription'];
|
|
4300
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4301
|
+
'accessible-described-by'?: NLDDTokenField['accessibleDescribedBy'];
|
|
4302
|
+
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
4303
|
+
'accessibleDescribedBy'?: NLDDTokenField['accessibleDescribedBy'];
|
|
4304
|
+
/** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
|
|
4017
4305
|
'describedByElements'?: NLDDTokenField['describedByElements'];
|
|
4018
4306
|
'internals'?: NLDDTokenField['internals'];
|
|
4019
4307
|
/** When the selected values change; detail: { values: string[] } */
|
|
@@ -4329,8 +4617,14 @@ declare module 'vue' {
|
|
|
4329
4617
|
};
|
|
4330
4618
|
|
|
4331
4619
|
export interface GlobalComponents {
|
|
4620
|
+
/** A stack of nldd-accordion-item elements, each a title that opens and closes its content in place. Fold away only short, additional content: an answer to a question, a detail most readers skip. Content folded in place costs orientation, since the page grows and shifts under the reader. Content that is long, holds a form or is a task of its own goes in rows of an nldd-list that each open an nldd-sheet; see the design guidelines on expand/collapse. The items join into one block: a border around them, a line between them, each title in a tinted bar and its content on the base surface. It looks like a `details` in nldd-rich-text, so in running text that is the lighter choice. With `exclusive` only one item is open at a time: opening one closes the other. Nothing else differs, so each item stays a native `details` with its keyboard, screen reader and find-in-page behavior. */
|
|
4621
|
+
'nldd-accordion': DefineComponent<NLDDAccordionProps>;
|
|
4622
|
+
/** One item of an nldd-accordion: a title in a tinted bar that opens and closes the content below it. It is a native `details` inside, so the keyboard, a screen reader and find in page work as they do there, and find in page opens it. It starts closed, as a `details` does; add `open` to start open. The title is the name of the button that opens the item, so it is plain text and not a heading. */
|
|
4623
|
+
'nldd-accordion-item': DefineComponent<NLDDAccordionItemProps>;
|
|
4332
4624
|
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. Sizing: fills its parent where the parent lets it (a flex column such as `nldd-container`, a grid, or a fixed height) and centers itself there. Where the parent has no height of its own, give it one: a `min-height` matching the content you expect, such as `<nldd-container min-height="240px">`. As a safety net the host already takes the indicator's size (circle, plus the label with `show-text`) during the delay, so nothing shifts when it fades in; once `complete` is set it gives that space up. Label size follows `size`, not the surrounding text, so the circle and its label keep the same proportion everywhere: body-xs at 16 and 20, body-sm at 24 and 28, body-md from 32. Keep the label short; a longer explanation belongs in the area as regular text. The default indicator is a simple icon-sized circle in the `--context-content-color` that the surface, button or row around it sets, so a spinner in a selected row or a filled button takes that row's or button's color. An optional label sits below (hidden unless `show-text` is set). The indicator is always indeterminate; when you know the progress, show `nldd-progress-bar` or `nldd-progress-circle` instead. Icon alignment: the visible ring already sits at 5/6 of its box (the SVG's r=9 plus a 2-unit stroke in a 24 view-box, the same optical inset a filled icon glyph has), so a standalone spinner lines up with an icon or an `icon-aligned` `nldd-avatar` on the same grid — no extra option needed (unlike `nldd-avatar`, which fills edge-to-edge and opts in via `icon-aligned`). Overlay mode: put content in the default slot and the indicator wraps it — it becomes a `position: relative` container, renders the spinner over a dimming backdrop (opt out with `no-backdrop`), and makes the content `inert` so its controls can't be focused or clicked. Toggle loading with `complete` (`?complete=${!isLoading}`). With no slotted content it stays the standalone placeholder described above. Reconnect behavior: every `connectedCallback` resets the timer and hides the indicator again. If a consumer toggles the element via a conditional render (remove + re-insert) the indicator disappears and re-fades after another delay. Keep the element mounted and toggle visibility / `hidden` instead if you want the timer to run only once. Accessibility: while connected and not `complete` the host is a polite live region (`role="status"`). The label (`text`, or the translated "Laden" fallback) always renders as the region's content — visually hidden when `show-text` is off (the default) — so assistive tech announces the loading state when the indicator appears. Set `complete` (or unmount) to clear it. */
|
|
4333
4625
|
'nldd-activity-indicator': DefineComponent<NLDDActivityIndicatorProps>;
|
|
4626
|
+
/** A note, tip or warning set apart in running text: what a `:::warning` becomes in a markdown page. It is content, not feedback. It says nothing when the page loads and cannot be dismissed, so a screen reader meets it in reading order as a note (`role="note"`), unless the page gives it a role of its own before it connects. For a notice that responds to what the user does or what changes, such as an error summary, use nldd-banner, which is a live region. The title sits in a bar tinted in the color of the variant, with the icon of the variant before it. The content sits below it on the base surface, inside a border of the same color, so the admonition reads as part of the text and not as a message. Without `text` there is no bar, and the icon stands before the content. A warning or a critical note says in its title what it is: the color and the icon are not read out. With `collapsible` the title bar opens and closes the content, as a native `details` does: the keyboard, a screen reader and find in page work as they do there, and find in page opens it. It starts open; add `collapsed` to start closed. Keep what you fold away short and additional: see the design guidelines on expand/collapse. A collapsible admonition needs `text`, and its title is the name of the button that opens it, so `heading-level` does not apply there. A markdown renderer does not make one by itself: `:::tip` is syntax of the parser, so the app maps each type to an admonition. The types of Docusaurus, remark-directive and markdown-it-container map as follows: `note` to `variant="neutral"`, `info` to `variant="accent"`, `tip` to `variant="success" icon="idea"`, `warning` and `caution` to `variant="warning"`, and `danger` to `variant="critical"`. The label of the type, or the title given in the markdown, becomes `text`. One admonition does not hold another: an aside within an aside is a sign the text wants to be written differently. */
|
|
4627
|
+
'nldd-admonition': DefineComponent<NLDDAdmonitionProps>;
|
|
4334
4628
|
/** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Four characters fit an organization acronym such as LVVN or JenV; they read well from 40px, so below that pick a shorter form. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role="img"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon. */
|
|
4335
4629
|
'nldd-avatar': DefineComponent<NLDDAvatarProps>;
|
|
4336
4630
|
/** Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over. Avatars that are links or buttons need size 32 or larger: they overlap, so each keeps only part of its width as a target (WCAG 2.5.8). On sm the list behind the button is a bottom sheet with a title bar, which names the group (its `accessible-label`) and closes it. The row never overflows its container. Where there is no room for every avatar, the group shows as many as fit and puts the rest behind the "+N" button, as `max` does; `max` is then the most it shows, not a fixed count. */
|
|
@@ -4356,13 +4650,15 @@ declare module 'vue' {
|
|
|
4356
4650
|
'nldd-button-bar-divider': DefineComponent<anonymous_0Props>;
|
|
4357
4651
|
/** A container for grouping related buttons together, in a row or stacked. `auto`, the default, is a row, and a stack over the full width in a container of 30rem (480px) or less, the width of a phone, where two labels beside each other leave no room for either. A card or a dialog between 480px and the sm breakpoint keeps its row. The group is its own container, so it follows the width it was given rather than the width of the window: the same group is a row in a page and a stack in a sheet beside it. Being a container has one consequence to know: the width has to come from the parent, since a container may not size itself from what is inside it. In a parent that shrink-wraps its content (an inline-flex box, a float, a table cell, a flex item at `width: auto`) the group measures zero and its buttons are invisible. It says so once in development. Give the group or that parent a width. A stack fills the width with its buttons, except an `nldd-icon-button`, which keeps its own size: a bar with a single glyph in the middle is not a bigger target, only a wider one. With `width="full"` the buttons fill the row and share it equally. A button whose label does not fit its share takes the width it needs, and the others share what is left. A button that does not fit beside the others moves to the next line and fills it: two buttons stack, three end up as two over one. That replaces the 480px rule of `auto`, and the group is no container then. With `orientation="horizontal"` it stays a row, and a label that does not fit wraps instead. An `nldd-icon-button` takes no share of the row. The group sets its `size` on every button in it: buttons in one group are the same size. It holds three buttons at most and hides the rest. */
|
|
4358
4652
|
'nldd-button-group': DefineComponent<NLDDButtonGroupProps>;
|
|
4359
|
-
/** A visually bounded card with optional header, body and footer sections. The card is elevated by default. Padding is left to nested containers. With `href` the whole card becomes a link (an overlay anchor across the card), with `button` a button (an overlay button that fires a plain, composed `click`, so a click listener or htmx attribute on the card itself works directly, and Enter/Space work natively). `href` wins when both are set. Nested interactive content, footer buttons for instance, has to be lifted above it with `position: relative; z-index: 1` to stay clickable. A card that is a link or button steps its surface and border one shade up on hover and one more while pressed, as a neutral-base button does; content lifted above the overlay does not set it off. On a touch screen there is no hover, and a touch that turns into a scroll lets go of the pressed shade. */
|
|
4653
|
+
/** A visually bounded card with optional header, body and footer sections. The card is elevated by default. Padding is left to nested containers. With `href` the whole card becomes a link (an overlay anchor across the card), with `button` a button (an overlay button that fires a plain, composed `click`, so a click listener or htmx attribute on the card itself works directly, and Enter/Space work natively). `href` wins when both are set. Nested interactive content, footer buttons for instance, has to be lifted above it with `position: relative; z-index: 1` to stay clickable. A card that is a link or button steps its surface and border one shade up on hover and one more while pressed, as a neutral-base button does; content lifted above the overlay does not set it off. On a touch screen there is no hover, and a touch that turns into a scroll lets go of the pressed shade. Put no card in a card: a card is one thing you go to or choose. To group content visually, use `nldd-box` or a layout of your own instead. */
|
|
4360
4654
|
'nldd-card': DefineComponent<NLDDCardProps>;
|
|
4361
4655
|
/** A generic cell for wrapping arbitrary content in a list item. Controls vertical alignment and sizing without imposing content opinions. For more than a line of text, such as paragraphs or markup, put an `nldd-rich-text` in it rather than loose text in the row. `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"`. */
|
|
4362
4656
|
'nldd-cell': DefineComponent<NLDDCellProps>;
|
|
4363
4657
|
'nldd-checkbox': DefineComponent<NLDDCheckboxProps>;
|
|
4364
|
-
/** A checkbox with an inline label for use in forms. Form-associated: participates in native form submission under `name` with `value` when checked (the inner nldd-checkbox sits in the shadow root and never joins the consumer's form; the field submits on its behalf). */
|
|
4658
|
+
/** A checkbox with an inline label for use in forms. Options that belong under this one are nldd-checkbox-fields of their own, each with `slot="children"`, as rows nest in nldd-list-item. They indent to line up with the label, and are a group named after this option. This checkbox then follows them: checked when all of them are, indeterminate when some are, and unchecked when none are. Checking or unchecking it does the same to every option under it that is not disabled, nor under a disabled one; those fire no `change` of their own then, so listen on this one or higher up. When a disabled option keeps it indeterminate and the rest are already checked, a click unchecks them instead. Its own `change` fires when they change its state, so a box further up follows too. In an nldd-checkbox-group, the options under it belong to the group as well. Form-associated: participates in native form submission under `name` with `value` when checked (the inner nldd-checkbox sits in the shadow root and never joins the consumer's form; the field submits on its behalf). */
|
|
4365
4659
|
'nldd-checkbox-field': DefineComponent<NLDDCheckboxFieldProps>;
|
|
4660
|
+
/** Groups nldd-checkbox-field elements as nldd-radio-button-group groups radio buttons: the same layout, one name for all of them, and a group that a screen reader announces with its label. Each checkbox is a stop of its own for Tab, as checkboxes are; the arrow keys belong to a radio group. Use inside nldd-form-field, which provides the group label. `required` asks for at least one checked box, not for every box: while none is checked, each field reports a missing value, and as soon as one is checked, none does. Nothing announces it per box, since no single box is required, and ARIA has no `aria-required` for a group: say it in the label or the help text, or mark the other questions optional. */
|
|
4661
|
+
'nldd-checkbox-group': DefineComponent<NLDDCheckboxGroupProps>;
|
|
4366
4662
|
/** A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Framed like the other input fields by default: border ring, fill, inner padding, radius and a focus ring. `embedded` drops all of that, for an editor inside a composition that owns its own chrome and focus treatment; the caret is then a prominent accent as the focus cue. Embedded, it has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line). */
|
|
4367
4663
|
'nldd-code-editor': DefineComponent<NLDDCodeEditorProps>;
|
|
4368
4664
|
/** A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. A value the reader fills in is written in the code itself, as `<org-id>`; the design guidelines say why. The viewer does not mark it. Set `diff` when the content is a unified diff, as git and pull request tools hand it out. The viewer shows the code it changes: an added line green and a removed line red, a column with the old and one with the new line number, a column with the `+` or `−`, and the `@@` header of each hunk between them. Within a removed line that is directly followed by an added one, the words that differ are marked, unless more than half of the line changed. File headers (`diff --git`, `---`, `+++`) are left out: name the file in the page around the viewer, and give each file of a multi-file diff a viewer of its own. `language` still highlights the code. A screen reader hears a summary first ("2 regels toegevoegd, 1 regel verwijderd") and "Toegevoegd" or "Verwijderd" with the line number before each changed line. A selection copies the code; the copy button copies the diff. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme. */
|
|
@@ -4373,7 +4669,7 @@ declare module 'vue' {
|
|
|
4373
4669
|
'nldd-combo-box': DefineComponent<NLDDComboBoxProps>;
|
|
4374
4670
|
/** A simple layout primitive: pick a layout mode, give it a gap, optionally align contents, and add padding. Padding can be set for all sides, per axis (inline/block), or per individual side. Specificity: per side > per axis > all sides. The container owns the space around and between its children; use `nldd-spacer` only for a one-off gap between two different things. A block that is placed in more than one context gets no padding of its own: whoever places it wraps it in a container, so the inset is not counted twice. Responsive padding and gap have sm/md/lg variants. Each variant emits both an @media (viewport) and @container (layout-container) query. When inside a layout-container the @container query wins; otherwise the @media query provides the viewport-based fallback. Layout modes: - `stack` (default): block items, stacked vertically. The "what you expect from DOM flow" mode. - `row`: flex row, no wrapping. Items shrink or overflow. - `wrap`: flex row, items wrap to new lines. - `grid`: CSS grid, auto-fit columns at min 280px wide. - `columns`: CSS multi-column flow, 280px minimum column width, items don't split across column breaks. Alignment maps to the layout's natural axis: - `stack`: vertical = main-axis (justify-content), horizontal = cross-axis (align-items) - `row` / `wrap`: horizontal = main-axis, vertical = cross-axis - `grid`: horizontal = justify-items, vertical = align-items (per cell) - `columns`: alignment props have no effect (CSS multicol doesn't expose alignment) Item order is set per-child via attributes on the slotted children themselves: `<child order="3">` for a fixed position, or `<child sm-order="N">` / `<child md-order="N">` / `<child lg-order="N">` to override per breakpoint (resolved against THIS container's width via @container queries, same scope as the responsive padding/gap). The container observes slot changes and child attribute mutations and bridges these to `--_container-slot-order` / `--_container-slot-sm-order` / etc. custom properties on each child's inline style, which the container's CSS then reads via `::slotted(*)` inside @container queries. Cascade: `sm-order` falls back to `order` falls back to `0` at sm (and analogously for md/lg). No-op for `layout="columns"` (CSS multicol has no per-item ordering hook). The `column-count` attribute (1-8) forces an exact column count for `layout="grid"` (overrides auto-fit) and `layout="columns"` (overrides the natural width-driven count). `sm-column-count` / `md-column-count` / `lg-column-count` resolve against this container's OWN width via an `@container (...)` query on the host — not against the viewport. That lets a footer in a narrow sidebar choose its own column count independent of the surrounding page width. `layout="lanes"` packs items into balanced columns using native CSS grid lanes where supported, falling back to CSS multicol (column-order) elsewhere. CSS-only, no JS. Honours `gap` on both axes and `column-count`. Note that nldd-collection's lanes falls back to its own grid rather than to multicol: that component pages, and multicol redistributes the whole set every time load-more adds to it. */
|
|
4375
4671
|
'nldd-container': DefineComponent<NLDDContainerProps>;
|
|
4376
|
-
/** 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 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 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. */
|
|
4672
|
+
/** 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 and normalized only when the field is left. 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. */
|
|
4377
4673
|
'nldd-date-field': DefineComponent<NLDDDateFieldProps>;
|
|
4378
4674
|
/** A calendar for picking a date or a period. The component works on its own (inline on a page, in a filter panel) 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. */
|
|
4379
4675
|
'nldd-date-picker': DefineComponent<NLDDDatePickerProps>;
|
|
@@ -4384,7 +4680,7 @@ declare module 'vue' {
|
|
|
4384
4680
|
/** A horizontal tab bar for document tabs with an automatic overflow button and an end slot for action buttons. Exports both NLDDDocumentTabBar and NLDDDocumentTabBarItem. */
|
|
4385
4681
|
'nldd-document-tab-bar': DefineComponent<NLDDDocumentTabBarProps>;
|
|
4386
4682
|
'nldd-document-tab-bar-item': DefineComponent<NLDDDocumentTabBarItemProps>;
|
|
4387
|
-
/** A visual wrapper around a native `<select>` element. The consumer provides a native `<select>` as a slotted child — this way the browser retains full control over form submission, accessibility and keyboard navigation, including `<optgroup>`, `data-*` attributes and dynamic changes to options. A dropdown hides its options, so it is the last resort for a choice from a fixed set. Show a handful of options with nldd-segmented-control, nldd-toggle-button-group or nldd-radio-button-group, and let the user type in nldd-combo-box when there are many, a list of countries included. The design guidelines explain the order. */
|
|
4683
|
+
/** A visual wrapper around a native `<select>` element. The consumer provides a native `<select>` as a slotted child — this way the browser retains full control over form submission, accessibility and keyboard navigation, including `<optgroup>`, `data-*` attributes and dynamic changes to options. The browser draws the open list, outside the reach of the component. The colors of its options come from the global stylesheet, `dist/css/dropdown.css` or `global.css`, which includes it, so the list follows light and dark mode. A dropdown hides its options, so it is the last resort for a choice from a fixed set. Show a handful of options with nldd-segmented-control, nldd-toggle-button-group or nldd-radio-button-group, and let the user type in nldd-combo-box when there are many, a list of countries included. The design guidelines explain the order. */
|
|
4388
4684
|
'nldd-dropdown': DefineComponent<NLDDDropdownProps>;
|
|
4389
4685
|
/** A file picker that reads as one control. Empty, the whole tinted surface is one button with one sentence centered in it, "Bestand kiezen of sleep het hierheen", its first part accented, so a press anywhere on it opens the file dialog. Once a file is chosen, the surface shows it with the icon of its format, its name, a button to choose another and a dismiss button to clear it again. A long name is cut in the middle, so its start and its end stay in view ("Screenshot 20…at 13.12.21.png"); it then shows whole in a tooltip, and a screen reader reads it whole either way. It wraps a hidden native `<input type="file">`, which is what makes the picker open at all — a file dialog only opens from a user gesture on a real input. Files can be dropped on the whole field. A drop goes through the same input, so it fires the same `change` with the same detail and submits the same way as a pick. `accept` and `multiple` hold for a drop too, which the native input does not do: a drop that does not fit is refused as a whole, the previous choice stays, and the field says why for a few seconds: "Sleep één bestand", or what `accept` takes, named from it ("Alleen PDF"; "Bestandstype past niet" where a type in it has no name). The message stays for a few seconds and then gives way to the field again. While it shows, the message is a button of its own over the whole field, "Alleen PDF, sluit melding, Bijlage" to a screen reader: a press on it, or Enter, Space or Escape, dismisses it and puts focus on the button of the field again. A field that had focus when the message came gives it to the message, so focus does not fall back to the page. With `multiple`, a dropped folder is read down to the files in it, its subfolders included, and mixed with loose files in one drop if need be. The field then names the folder ("site (124 bestanden)", also "site (1 bestand)" for one), `paths` says where each file sat ("site/css/main.css"), and a form submits each file with its path as its name, as a native folder input does, so two files with one name in different folders stay apart. `accept` holds for every file in it. Without `multiple` a folder is refused ("Sleep bestand, geen map"): one file cannot be a folder. Only a drop tells a folder apart, not the drag. A folder that takes longer than a second to read shows the field empty with an `nldd-activity-indicator` ("Laden" in an area, the circle alone otherwise), as what was chosen gives way to it. An empty or unreadable folder is refused as any other drop, and the previous choice comes back after the message. `directory` offers a folder in the file dialog too. A dialog picks files or a folder, never both, so with it the field says "Bestanden of map kiezen" and a click opens a menu with both where it lands, as a context menu does; the keyboard opens it under the button. An area has room for both, so there it shows "Bestanden kiezen" and "Map kiezen" as two buttons with the drop hint under them, and the surface around them only takes a drop. "Wijzigen" opens the menu under itself. A folder is many files, so `directory` takes several without `multiple`. Safari on iOS picks a folder as well; a browser that cannot opens a dialog for files instead. While files are dragged over the page, every field marks itself as a place to put them, and the field under the pointer says it will take them (a field with a file: that they replace it), or turns critical and refuses already when the number or the type rules them out. A file dropped next to a field no longer makes the browser open it and leave the page; a drop that another drop zone or an editable field takes is left alone. On a device without hover there is no dragging, so the field there drops the hint. A control reserves the height of every text it can show, so fields of a size are as tall at one width, empty or with a file. Only a field with `directory` reserves the sentence that offers a folder, the longest of them. The name takes the lines that leaves it, and is cut in the middle only once those are full. A narrow field makes more room: below 320px "Wijzigen" and "Wis selectie" go in one menu behind "Toon opties" and a folder is counted as "site (3)", below 240px it leaves out the icon of the format. A refused drop says why in place of the name and the buttons, and an area shows its upload icon in red with it, as it did while the drop was refused. The surface deliberately does not look like an input field. A border with field semantics promises you can type into it; here you can only press it or drop a file on it, so it has the border of a tinted surface instead of `--semantics-input-fields-*`. Several files are summarized, not listed: "3 bestanden" with a single cross that clears all of them. Every pick replaces the whole FileList, and rebuilding it to add or drop one file means going through DataTransfer, which does not deduplicate (even the same File object twice yields two entries) — and a File has no id, so deduplicating would come down to guessing from name, size and last-modified. A list with a cross per file would promise an edit the platform does not support. A page that does want to show the files renders its own list from the `File[]` in the change event. `variant="area"` lays the same field out as a tall surface, for a page where handing in files is the main task. Empty, it shows an upload icon, the sentence and the types it takes ("Toegestaan: PDF of JPG"), named from `accept`; with a file, the icon of its format (a folder for a folder, a stack for several files), its name and the buttons "Wijzigen" and "Wis selectie" stacked in the middle. Both states have the same height, so the page does not move when a file is chosen: 160px, 120px at `size="sm"`, and a step more with `directory`, whose buttons take a row of their own. Where those buttons no longer fit side by side, below 360px or 300px at `size="sm"`, it is one step taller again. */
|
|
4390
4686
|
'nldd-file-field': DefineComponent<NLDDFileFieldProps>;
|
|
@@ -4420,7 +4716,7 @@ declare module 'vue' {
|
|
|
4420
4716
|
'nldd-kanban-column': DefineComponent<NLDDKanbanColumnProps>;
|
|
4421
4717
|
/** Shows a key combination (such as Cmd+K or Ctrl+Shift+P) in one combined container with a semantic <kbd> element per key. On touch-only devices (no hover-capable input) the shortcut is hidden by default, because it cannot be invoked there. Use the `always-visible` attribute when the shortcut is purely informative and should stay visible. For cross-platform shortcuts you can set `mac-keys`, `windows-keys` and `linux-keys`. The component picks the right one from the detected OS, with `keys` as the fallback for unknown platforms. */
|
|
4422
4718
|
'nldd-keyboard-shortcut': DefineComponent<NLDDKeyboardShortcutProps>;
|
|
4423
|
-
/** Hyperlink component with two modes: 1. **Standalone (sized)**: set `size="xs"|"sm"|"md"|"lg"` for menus, action areas or overviews. Fixed text size, `display: inline-flex` with `gap` for icon spacing. 2. **Inline (inherit)**: leave `size` out or set `size="inherit"` explicitly. The link inherits `font-size`, `line-height` and `font-family` from its surroundings. Text wraps naturally across lines (`display: inline`). Icons work here too; the natural whitespace between icon and text provides the spacing. For links in CMS or markdown output, where the `<a>` arrives as HTML, `<nldd-rich-text>` with a raw `<a>` remains the route to take. Put an `<a>` in the default slot and the component draws no link of its own: it gives yours its look instead. A page then has the link in its HTML before any script runs, for a search engine that does not render the page, a link preview or reader mode, and a router gets the click: put the `<Link>` of React Router or Next in it, which renders an `<a>` and navigates itself. Without that, every click on a link in a shadow root loads the whole page. <nldd-link size="md"><a href="/patronen">Patronen</a></nldd-link> Everything about the link goes on the `<a>`: `href`, `target`, `rel`, `download`, and its text. Those attributes, `text`, `start-icon` and `end-icon` do nothing on `nldd-link` then. An icon goes in the `<a>` as an nldd-icon, so it is part of what you click and inside the focus ring. `size`, `accessible-label`, `interestfor`, `no-tab` and `disabled` keep working: the component sets `aria-label`, the description, `tabindex` and `aria-disabled` on your `<a>`, and leaves an attribute you set yourself alone. With `target="_blank"` it adds `noopener noreferrer` to the `rel` of the `<a>`, as it does to its own. A disabled link ignores a click before your router sees it. The hint about another website, a new tab or a download goes on it as `aria-description`, so a screen reader reads it after the name. Not as hidden text in the `<a>`: a framework that renders the `<a>` owns its children, and an extra one breaks hydration. One `<a>` per link. The look of the `<a>` comes from the global stylesheet, `dist/css/link.css` or `global.css`, which includes it, so the link looks right before the component loads, and without script. */
|
|
4719
|
+
/** Hyperlink component with two modes: 1. **Standalone (sized)**: set `size="xs"|"sm"|"md"|"lg"` for menus, action areas or overviews. Fixed text size, `display: inline-flex` with `gap` for icon spacing. 2. **Inline (inherit)**: leave `size` out or set `size="inherit"` explicitly. The link inherits `font-size`, `line-height` and `font-family` from its surroundings. Text wraps naturally across lines (`display: inline`). Icons work here too; the natural whitespace between icon and text provides the spacing. For links in CMS or markdown output, where the `<a>` arrives as HTML, `<nldd-rich-text>` with a raw `<a>` remains the route to take. Put an `<a>` in the default slot and the component draws no link of its own: it gives yours its look instead. A page then has the link in its HTML before any script runs, for a search engine that does not render the page, a link preview or reader mode, and a router gets the click: put the `<Link>` of React Router or Next in it, which renders an `<a>` and navigates itself. Without that, every click on a link in a shadow root loads the whole page. <nldd-link size="md"><a href="/patronen">Patronen</a></nldd-link> Everything about the link goes on the `<a>`: `href`, `target`, `rel`, `download`, and its text. Those attributes, `text`, `start-icon` and `end-icon` do nothing on `nldd-link` then. An icon goes in the `<a>` as an nldd-icon, so it is part of what you click and inside the focus ring. `size`, `accessible-label`, `accessible-description`, `accessible-described-by`, `interestfor`, `no-tab` and `disabled` keep working: the component sets `aria-label`, the description, `tabindex` and `aria-disabled` on your `<a>`, and leaves an attribute you set yourself alone. With `target="_blank"` it adds `noopener noreferrer` to the `rel` of the `<a>`, as it does to its own. A disabled link ignores a click before your router sees it. The hint about another website, a new tab or a download goes on it as `aria-description`, so a screen reader reads it after the name, after the text of `accessible-description`. `accessible-described-by` points the `<a>` at the elements it names. Not as hidden text in the `<a>`: a framework that renders the `<a>` owns its children, and an extra one breaks hydration. One `<a>` per link. The look of the `<a>` comes from the global stylesheet, `dist/css/link.css` or `global.css`, which includes it, so the link looks right before the component loads, and without script. */
|
|
4424
4720
|
'nldd-link': DefineComponent<NLDDLinkProps>;
|
|
4425
4721
|
/** A set of related `nldd-link` elements, such as the links under the name of a service in a footer or the links to the other parts of a site. The links sit in a row that wraps onto the next line when they do not fit, or stacked with `orientation="vertical"`. With `horizontal-alignment="center"` the whole set is centered, line by line, so a short list reads as one cloud in the middle. The group is a `nav` landmark with the links as a list, so a screen reader says how many there are. Give it an `accessible-label` as soon as a page has more than one `nav`, so each landmark can be told apart. The group sets its `size` on every link in it: links in one group are the same size. */
|
|
4426
4722
|
'nldd-link-group': DefineComponent<NLDDLinkGroupProps>;
|
|
@@ -4430,7 +4726,7 @@ declare module 'vue' {
|
|
|
4430
4726
|
'nldd-list-item': DefineComponent<NLDDListItemProps>;
|
|
4431
4727
|
/** A segment inside an `nldd-list-item`: it groups a run of cells and makes just that run clickable. Use it when a row needs more than one segment — a tree row whose chevron expands while the label toggles a checkbox, or a row that navigates with a separate button beside it. Put it in the row where its cells would go: the item has one flat slot, and a segment takes the place of the cells it covers. Where the divider starts or stops is marked on the cells themselves (`divider-start` / `divider-end`), not by the slot a segment sits in. A row is EITHER row-level interactive (`href` / `button` / `checkbox` on the `nldd-list-item`) OR segmented (one or more of these). Both at once nests a control inside a control, which is invalid HTML; the item DEV-warns. Unlike the row-wide action this does not bleed outward: a segment sits between siblings, so an outward inset would overlap them. It owns its inline padding and never drops below the row's control size, so an icon-only one still meets the WCAG 2.5.8 target size — do not add spacer cells inside it for room or hit area, that doubles the space. In a `type="listbox"` list the segment renders as a plain container (no control, not focusable) and DEV-warns: an `option` may not contain interactive descendants. The cells render unchanged, so nothing shifts. */
|
|
4432
4728
|
'nldd-list-item-segment': DefineComponent<NLDDListItemSegmentProps>;
|
|
4433
|
-
/** 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 and holds a moment instead. `select` fires at once: the action does not wait for the blink. With `prefers-reduced-motion` the menu closes at once. 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. */
|
|
4729
|
+
/** 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. 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. */
|
|
4434
4730
|
'nldd-menu': DefineComponent<NLDDMenuProps>;
|
|
4435
4731
|
/** 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. */
|
|
4436
4732
|
'nldd-menu-bar': DefineComponent<NLDDMenuBarProps>;
|
|
@@ -4485,7 +4781,7 @@ declare module 'vue' {
|
|
|
4485
4781
|
'nldd-radio-button-group': DefineComponent<NLDDRadioButtonGroupProps>;
|
|
4486
4782
|
/** The grip that drags its row in a `reorderable` nldd-list, by pointer or with the arrow keys. Always vertically centered and sized to fit the handle. It carries `reorder-handle` by itself, so it shows only while the row is `reorderable` and needs nothing else: ```html <nldd-list reorderable> <nldd-list-item> <nldd-reorder-handle-cell></nldd-reorder-handle-cell> <nldd-text-cell text="Item"></nldd-text-cell> </nldd-list-item> </nldd-list> ``` Any other cell becomes the grip with `reorder-handle`, such as an nldd-cell with a control of your own. */
|
|
4487
4783
|
'nldd-reorder-handle-cell': DefineComponent<NLDDReorderHandleCellProps>;
|
|
4488
|
-
/** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The content is HTML made of block elements, so whoever produces it, a server, a CMS or a markdown renderer, wraps text in a `p`. Bare text or an inline element such as `strong` or `a` as a direct child lands in a column of 0px, one word per line. Plain text, where a component has no attribute for it, goes in nldd-text. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. An element with `data-mention` reads as a mention: the name in the mention color with the @ icon in front of it. Use `<a href="…" data-mention>` when the person has a page to go to: it becomes the tinted token nldd-text-editor shows, and the tint is what says you can follow it. Use `<span data-mention>` when not: it keeps the color and the icon, without the tint. Write the name without the `@`: the rich text draws it. A mention in the editor's value, `[@Name](user:id)`, comes out of a markdown renderer as a link to `user:id`, which goes nowhere, so turn it into one of these yourself. */
|
|
4784
|
+
/** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The content is HTML made of block elements, so whoever produces it, a server, a CMS or a markdown renderer, wraps text in a `p`. Bare text or an inline element such as `strong` or `a` as a direct child lands in a column of 0px, one word per line. Plain text, where a component has no attribute for it, goes in nldd-text. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. An element with `data-mention` reads as a mention: the name in the mention color with the @ icon in front of it. Use `<a href="…" data-mention>` when the person has a page to go to: it becomes the tinted token nldd-text-editor shows, and the tint is what says you can follow it. Use `<span data-mention>` when not: it keeps the color and the icon, without the tint. Write the name without the `@`: the rich text draws it. A mention in the editor's value, `[@Name](user:id)`, comes out of a markdown renderer as a link to `user:id`, which goes nowhere, so turn it into one of these yourself. A `details` is a bordered block with rounded corners. Its `summary` is a tinted bar as high as an md control, with a chevron at the end that points down while it is closed and up once it is open, and the whole bar shows hover and press. Open, the content sits on the base surface below a line, where the browser supports `::details-content`; elsewhere it stays on the tinted surface. Details that follow each other join into one block; give them the same `name` and only one opens at a time. They stay native, so the keyboard, a screen reader and find in page work as they do anywhere, and find in page opens the one it finds in. When printed they are open, where the browser supports `::details-content`; elsewhere a closed one prints closed. Keep what you fold away short and additional: see the design guidelines on expand/collapse. */
|
|
4489
4785
|
'nldd-rich-text': DefineComponent<NLDDRichTextProps>;
|
|
4490
4786
|
/** A search input with a leading search icon, an optional dismiss button, and an optional search button. */
|
|
4491
4787
|
'nldd-search-field': DefineComponent<NLDDSearchFieldProps>;
|
|
@@ -4543,7 +4839,7 @@ declare module 'vue' {
|
|
|
4543
4839
|
'nldd-table-row': DefineComponent<NLDDTableRowProps>;
|
|
4544
4840
|
/** A compact property that has been assigned to something: a category, a type, a role, a certification. What it says changes only when someone edits the content. A tag is not interactive. Do not use it for a state the system keeps itself, such as "Active" or "Expired", because that is `nldd-badge`. If the user can remove the thing or click it, it is `nldd-token`. */
|
|
4545
4841
|
'nldd-tag': DefineComponent<NLDDTagProps>;
|
|
4546
|
-
/** 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. 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> */
|
|
4842
|
+
/** 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> */
|
|
4547
4843
|
'nldd-term': DefineComponent<NLDDTermProps>;
|
|
4548
4844
|
/** 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 in a panel, 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. */
|
|
4549
4845
|
'nldd-text': DefineComponent<NLDDTextProps>;
|