@nldd/design-system 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1286 -47
- package/dist/assets/styles/scroll-fade.d.ts +13 -0
- package/dist/assets/styles/scroll-fade.d.ts.map +1 -0
- package/dist/assets/styles/scroll-fade.js +53 -0
- package/dist/assets/styles/scroll-fade.js.map +1 -0
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +137 -136
- package/dist/cdn/chunks/{activity-indicator-D86Mv6SL.js → activity-indicator-Dc6c9HtC.js} +12 -12
- package/dist/cdn/chunks/{avatar-BISv6tzp.js → avatar-CHXRpWWk.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-D7IN6DxU.js → avatar-group-B76E8oC6.js} +20 -20
- package/dist/cdn/chunks/{badge-R3PZUsqZ.js → badge-tO7gHhdi.js} +5 -5
- package/dist/cdn/chunks/{banner-DRANlf5k.js → banner-D4kFQYXF.js} +15 -15
- package/dist/cdn/chunks/{bar-split-view-B-Y2nqgS.js → bar-split-view-C9bYdWSR.js} +7 -7
- package/dist/cdn/chunks/{blockquote-pUgJLPY1.js → blockquote-DRJajjBB.js} +9 -9
- package/dist/cdn/chunks/{box-BbXHpBQy.js → box-D10mS19t.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BdF4m3DB.js → breadcrumbs-BUdQJG3z.js} +6 -6
- package/dist/cdn/chunks/{button-CsqNHH3w.js → button-CwY9fWCg.js} +61 -48
- package/dist/cdn/chunks/{button-bar-CnYIw4fN.js → button-bar-DkqbRvff.js} +30 -30
- package/dist/cdn/chunks/{button-group-xaHghyon.js → button-group-p364JgTR.js} +2 -2
- package/dist/cdn/chunks/{card-Bbf0aCIh.js → card-B7TaSaw7.js} +9 -9
- package/dist/cdn/chunks/{cell-Dggt5oYG.js → cell-BTIpXf1T.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DmFAS8ec.js → checkbox-BLEK0rAV.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-fOWPH8Q7.js → checkbox-field-CDtlpN-u.js} +5 -5
- package/dist/cdn/chunks/{class-map-BWGTUNv4.js → class-map-5WYS_nCb.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CANFZX66.js → code-editor-CanGMLIo.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_vUEx7J.js → code-viewer-DCZ3wjMd.js} +29 -21
- package/dist/cdn/chunks/{codemirror-input-wexTiqWw.js → codemirror-input-CtvDBy25.js} +4 -4
- package/dist/cdn/chunks/{collection-_emTry5U.js → collection-D8K79X0H.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CGwj1u4a.js → combo-box-BeWoeEY8.js} +25 -25
- package/dist/cdn/chunks/{container-D5Dz-j6a.js → container-Be2J-GhB.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DbwbPetH.js → custom-element-DGlHv_OV.js} +4 -2
- package/dist/cdn/chunks/{date-field-ChmyLtTj.js → date-field-BLaGVd4x.js} +29 -29
- package/dist/cdn/chunks/{date-field.i18n-BTzc0E9a.js → date-field.i18n-BqIx3eyr.js} +1 -1
- package/dist/cdn/chunks/{date-picker-CUQKdjS4.js → date-picker-C4mLZKWF.js} +16 -16
- package/dist/cdn/chunks/{decorate-_JGq4E_7.js → decorate-Czy-wI4F.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DbnuGktP.js → described-by-mixin-fLi4Nmt7.js} +6 -3
- package/dist/cdn/chunks/{description-cell-BgcO7ObI.js → description-cell-aQyLX0U0.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-KAnKlxY0.js → dev-checks-qTR6tciJ.js} +140 -33
- package/dist/cdn/chunks/{dist-HgRt6IKh.js → dist-BLnIbkqH.js} +1 -1
- package/dist/cdn/chunks/{dist-DADIyiX-.js → dist-BNS6C8sP.js} +2 -2
- package/dist/cdn/chunks/{dist-CLKJ5z0x.js → dist-B_fXtXqM.js} +1 -1
- package/dist/cdn/chunks/{dist-CKZ98PMy.js → dist-CX0g6sV1.js} +3 -3
- package/dist/cdn/chunks/{dist-CJLBwJx0.js → dist-CZOXq9aZ.js} +1 -1
- package/dist/cdn/chunks/{dist-CBnQQ6kV.js → dist-CdF0c6UD.js} +2 -2
- package/dist/cdn/chunks/{dist-BJrN5nEM.js → dist-DHK9tNd7.js} +1 -1
- package/dist/cdn/chunks/{dist-BF9euKgj.js → dist-WQv_JUmB.js} +2 -2
- package/dist/cdn/chunks/{dist-D7Wubc1l.js → dist-_QFa91Kz.js} +1 -1
- package/dist/cdn/chunks/{dist-Bz3Isx60.js → dist-fDpuYq7K.js} +1 -1
- package/dist/cdn/chunks/{dist-BHMubC6P.js → dist-p1FcXq9E.js} +3 -3
- package/dist/cdn/chunks/{divider-pO5O6wL4.js → divider-2hHcSIga.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C_-iuaUc.js → document-tab-bar-CIWiZUB5.js} +18 -18
- package/dist/cdn/chunks/{dropdown-DYO6049g.js → dropdown-Bwn6dQrK.js} +5 -5
- package/dist/cdn/chunks/{file-field-C-Fk92rD.js → file-field-CtQ6Fzkj.js} +25 -25
- package/dist/cdn/chunks/{form-actions-DrOX7nX8.js → form-actions-DSL0qce-.js} +3 -3
- package/dist/cdn/chunks/{form-field-CR2Py09O.js → form-field--t3Bz1pc.js} +7 -7
- package/dist/cdn/chunks/{form-section-s1mkLzaC.js → form-section-D1n8Sdmt.js} +16 -16
- package/dist/cdn/chunks/{form-ChXBrKw6.js → form-vSM2SOrK.js} +10 -10
- package/dist/cdn/chunks/{full-bleed-section-vOVI_f86.js → full-bleed-section-w2pDVC5v.js} +4 -4
- package/dist/cdn/chunks/{hero-Cb3qIvvh.js → hero-BypUmnRi.js} +22 -22
- package/dist/cdn/chunks/{icon-DBhTZrnl.js → icon-BydOAoVO.js} +7 -7
- package/dist/cdn/chunks/{icon-button-bDuQ_6W_.js → icon-button-C_MZ-jXt.js} +56 -43
- package/dist/cdn/chunks/{icon-cell-DlSZNTF3.js → icon-cell-jiYNsV84.js} +6 -6
- package/dist/cdn/chunks/{identity-CJTVNI9J.js → identity-D1Sw6OdG.js} +55 -39
- package/dist/cdn/chunks/{if-defined-28B8DYUB.js → if-defined-pKQLIQvK.js} +1 -1
- package/dist/cdn/chunks/{image-DlTxyeL3.js → image-DEI0hogS.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-BJlOrD6M.js → inline-dialog-CTjJ8Tl_.js} +15 -15
- package/dist/cdn/chunks/interest-controller-Ban-3NrX.js +117 -0
- package/dist/cdn/chunks/{just-in-time-education-DWBDshKs.js → just-in-time-education-pUUxdKPR.js} +5 -5
- package/dist/cdn/chunks/{kanban-DIXY8FcZ.js → kanban-KSLBcCb4.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-DmnxctX6.js → kanban-column-RNSdiBIT.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-kYOKwBqs.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
- package/dist/cdn/chunks/{languages-DGtcUhLc.js → languages-DGZO3jTf.js} +12 -12
- package/dist/cdn/chunks/{link-DhnhhTOg.js → link-C4K1qVcb.js} +88 -24
- package/dist/cdn/chunks/{link-group-Bx2nkQcS.js → link-group-BEYO7nTK.js} +2 -2
- package/dist/cdn/chunks/{list-item-CSNBaRlK.js → list-item-CotWNKc1.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-D6WvAh3A.js → list-item-segment-C-yl2GAS.js} +15 -15
- package/dist/cdn/chunks/{list-CXCG_IEc.js → list-rMBdnf1f.js} +15 -15
- package/dist/cdn/chunks/{menu-bar-xahTEYTX.js → menu-bar-D9IxDwC2.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-C950rfSt.js → menu-bar-item-768OWJdt.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-XlYJ4zQz.js → menu-divider-BHAGnkBl.js} +3 -3
- package/dist/cdn/chunks/{menu-group-E6hIEtLj.js → menu-group-B5MAz_Yk.js} +6 -6
- package/dist/cdn/chunks/{menu-item-2y0VC5Gb.js → menu-item-Ba581zRi.js} +24 -24
- package/dist/cdn/chunks/{menu-CKxKVA36.js → menu-rE6tDSAy.js} +48 -27
- package/dist/cdn/chunks/{menu.template-ZBhUFgBJ.js → menu.template-Eb7J7UrL.js} +130 -76
- package/dist/cdn/chunks/{modal-dialog-DdFpcRLJ.js → modal-dialog-Djln8pr7.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-okvEa54Q.js → multi-line-text-field-Omt0oidK.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-dNRQDSpy.js → navigation-split-view-DDng9DdF.js} +11 -11
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-2tnwXEY1.js → notification-DB6JOmCC.js} +13 -13
- package/dist/cdn/chunks/{number-field-CH7EvpSq.js → number-field-xgr4dysX.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-UZDP-KO-.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-8KtESdXO.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-Bvm3ND6e.js → one-time-code-field-CqgKQqdE.js} +20 -20
- package/dist/cdn/chunks/{page-PK1FWuKJ.js → page-DXWHG-hD.js} +10 -10
- package/dist/cdn/chunks/{page-footer-BamWKHwH.js → page-footer-GexGY_m-.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-3q59_Jo_.js → page-section-mixin-CtiPKCqL.js} +4 -10
- package/dist/cdn/chunks/{pagination-47zAyQhM.js → pagination-DJkfE8t9.js} +6 -6
- package/dist/cdn/chunks/{password-field-FaU02DSW.js → password-field-gKiiE_5e.js} +7 -7
- package/dist/cdn/chunks/{popover-642mOFR5.js → popover-C-jxcCHx.js} +74 -50
- package/dist/cdn/chunks/{progress-bar-BivaNkIY.js → progress-bar-CBWQRWkE.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-ewL0JIcz.js → progress-circle-CCcRDOOJ.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DvrYYSnm.js → radio-button-B8xwJO3_.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BVi0YrTF.js → radio-button-field-B9lRNOXJ.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-DZ9OWUNe.js → radio-button-group-Cy7Ya28w.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CO31_4GS.js → render-marked-DjXBoUGY.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Doetg58W.js → reorder-handle-cell-B6V85qYk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DCjwUXr0.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
- package/dist/cdn/chunks/{repeat-Wb4hkVZc.js → repeat-Ck8L8Iy9.js} +1 -1
- package/dist/cdn/chunks/{rich-text-Do08iiIz.js → rich-text-CqQeOXwL.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CKR5rHBA.js → row-header-mixin-XRu3gHMf.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-e6d1wo3D.js +41 -0
- package/dist/cdn/chunks/{search-field-CCeeGiJM.js → search-field-Cz7Ucf6x.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CWIPxEBq.js → segmented-control-CLzKU4SX.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-NKr5gQCc.js → shadow-resets-CodxnaUh.js} +11 -7
- package/dist/cdn/chunks/{sheet-WOjBtZvN.js → sheet-DkmSsRV3.js} +4 -4
- package/dist/cdn/chunks/{shell-Brn0Dr8F.js → shell-Ex_f7Ov3.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DGIMsyma.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-BXHeI8GN.js → sidebar-section-CnD-3i7r.js} +8 -8
- package/dist/cdn/chunks/{simple-section-C8lJZLAO.js → simple-section-CeKnmobI.js} +4 -4
- package/dist/cdn/chunks/{skip-link-QdRgHljr.js → skip-link-DwtFm_NJ.js} +13 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BhjBeWqc.js → slider-BVdkwNW3.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-BgkOjuUj.js → spacer-H4zmoDr_.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-DBI0PVd7.js → spacer-cell-BES4eJH1.js} +4 -4
- package/dist/cdn/chunks/{split-button-DfD9vxPe.js → split-button-Caa30uTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-B4NFlri5.js → split-view-divider-klvZ8lgP.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CwFf13hX.js → split-view-pane-Cnx56S5C.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BmbzTinq.js → stacked-split-view-CYdGBY7Q.js} +7 -7
- package/dist/cdn/chunks/{static-html-CZrcQRgC.js → static-html--Xd5vkAU.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CTOf_bDL.js → status-bar-CJybViWL.js} +4 -4
- package/dist/cdn/chunks/{step-bar-B5vzvhz-.js → step-bar-BO6Y1BrK.js} +21 -21
- package/dist/cdn/chunks/{step-cell-CUA-HUZv.js → step-cell-BQ8EHZVR.js} +5 -5
- package/dist/cdn/chunks/{stepper-LxPTQ6HJ.js → stepper-COTaJwSU.js} +6 -6
- package/dist/cdn/chunks/{style-map-DiIQAb_L.js → style-map-BwtZr74h.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Cxv9HK3A.js → swatch-picker-5fxe3QB1.js} +21 -21
- package/dist/cdn/chunks/{switch-CbNSJQPp.js → switch-BUxGg2ww.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B8vOvcKc.js → switch-field-DOsEK534.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D4ot_wZ4.js → tab-bar-CZ9Z9qV9.js} +21 -21
- package/dist/cdn/chunks/{table-uh4YPqda.js → table-SAsB1kDN.js} +5 -5
- package/dist/cdn/chunks/{tag-D2dCXT7A.js → tag-xuCeECO3.js} +16 -12
- package/dist/cdn/chunks/term-DHEvoltZ.js +212 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
- package/dist/cdn/chunks/{text-cell-DNCpmw9h.js → text-cell-DQNzo2Rp.js} +74 -62
- package/dist/cdn/chunks/{text-editor-C6UKAmPL.js → text-editor-DCYF_nqz.js} +257 -237
- package/dist/cdn/chunks/{text-field-Dmkd4mHV.js → text-field-BiPeMi6s.js} +22 -22
- package/dist/cdn/chunks/{time-field-BfgNZbEb.js → time-field-C-Euaiy0.js} +125 -99
- package/dist/cdn/chunks/{time-field.i18n-CLH5vmS7.js → time-field.i18n-BM6qGbmN.js} +0 -1
- package/dist/cdn/chunks/{time-picker-C1SBkU-e.js → time-picker-DYkxhEYm.js} +12 -11
- package/dist/cdn/chunks/{title-DFrd-Fsh.js → title-DkS07R_v.js} +113 -98
- package/dist/cdn/chunks/{title-cell-CC1dQyth.js → title-cell-CJevv6Vg.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-bAX6uzgz.js → toggle-button-DDqd56_3.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-B7CHBww5.js → toggle-button-group-ByxgMVzH.js} +2 -2
- package/dist/cdn/chunks/{token-CicHNqIk.js → token-YpVKK1g4.js} +13 -13
- package/dist/cdn/chunks/{token-field-BFynQ-T-.js → token-field-vLdJSvUz.js} +21 -21
- package/dist/cdn/chunks/{toolbar-hAmL7o23.js → toolbar-C-5H46y9.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-CjgkcYJ2.js → toolbar-item-CvPtoAoQ.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-B1acxCGx.js → toolbar-title-HElUvLeY.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-xiyZx5D0.js → toolbar.styles-BuJIgj1E.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Mj47t8v7.js → tooltip-BF4HkWOi.js} +16 -16
- package/dist/cdn/chunks/{top-navigation-bar-vP5QGBXd.js → top-navigation-bar-ngF2MF40.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Yt6cmRLj.js → top-title-bar-BUjpi-w6.js} +14 -14
- package/dist/cdn/chunks/{translations-BMMzf2sX.js → translations-BWgmZCAK.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BHN98jET.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
- package/dist/cdn/chunks/{validation-list-CUPzu9_z.js → validation-list-BBNFz_2I.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-DPuxf-sj.js → visibility-mixin-BP5T5qYB.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-CvjJIBhz.js → visually-hidden-BqYWVy4n.js} +2 -2
- package/dist/cdn/chunks/{window-BqGlzGaS.js → window-CvgGg1Ib.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CRvWJWep.js → with-translations-8SmMZkGa.js} +3 -3
- package/dist/components/actions/button/button.d.ts +9 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +16 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +6 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +17 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +6 -0
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +3 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +86 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +55 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +55 -53
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +26 -13
- 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/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -2
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +115 -0
- package/dist/components/content/term/term.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.d.ts +5 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.js +5 -0
- package/dist/components/content/term/term.i18n.js.map +1 -0
- package/dist/components/content/term/term.js +256 -0
- package/dist/components/content/term/term.js.map +1 -0
- package/dist/components/content/term/term.styles.d.ts +2 -0
- package/dist/components/content/term/term.styles.d.ts.map +1 -0
- package/dist/components/content/term/term.styles.js +65 -0
- package/dist/components/content/term/term.styles.js.map +1 -0
- package/dist/components/content/term/term.template.d.ts +4 -0
- package/dist/components/content/term/term.template.d.ts.map +1 -0
- package/dist/components/content/term/term.template.js +55 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -7
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +3 -2
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +17 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +21 -6
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +0 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +0 -2
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +69 -13
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +13 -1
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +13 -10
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +3 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +29 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +70 -8
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +15 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.template.js +1 -1
- package/dist/components/layout/popover/popover.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +68 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +162 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +9 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +12 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.js +2 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +18 -4
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/text.css +159 -0
- package/dist/css/title.css +10 -10
- package/dist/nldd.min.js +2207 -2121
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -2
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -2
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -2
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -2
- 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 +3 -2
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -16
- package/dist/types/vue.d.ts +42 -16
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +2 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +10 -1
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +102 -17
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/interest-controller.d.ts +80 -0
- package/dist/utilities/interest-controller.d.ts.map +1 -0
- package/dist/utilities/interest-controller.js +339 -0
- package/dist/utilities/interest-controller.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +2 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +2 -9
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +11 -2
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +0 -114
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/text-BX4Xm40t.js +0 -406
package/dist/types/react.d.ts
CHANGED
|
@@ -123,6 +123,7 @@ import type { NLDDTabBarItem } from '@nldd/design-system/tab-bar';
|
|
|
123
123
|
import type { NLDDTable } from '@nldd/design-system/table';
|
|
124
124
|
import type { NLDDTableRow } from '@nldd/design-system/table';
|
|
125
125
|
import type { NLDDTag } from '@nldd/design-system/tag';
|
|
126
|
+
import type { NLDDTerm } from '@nldd/design-system/term';
|
|
126
127
|
import type { NLDDText } from '@nldd/design-system/text';
|
|
127
128
|
import type { NLDDTextCell } from '@nldd/design-system/text-cell';
|
|
128
129
|
import type { NLDDTextEditor } from '@nldd/design-system/text-editor';
|
|
@@ -334,6 +335,8 @@ type NlddButtonProps = {
|
|
|
334
335
|
'type'?: NLDDButton['type'];
|
|
335
336
|
/** ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
336
337
|
'popovertarget'?: NLDDButton['popovertarget'];
|
|
338
|
+
/** 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 controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. 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. */
|
|
339
|
+
'interestfor'?: NLDDButton['interestfor'];
|
|
337
340
|
/** Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width. Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe. */
|
|
338
341
|
'loading'?: true;
|
|
339
342
|
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
@@ -917,7 +920,7 @@ type NlddFormSectionProps = {
|
|
|
917
920
|
type NlddFullBleedSectionProps = {
|
|
918
921
|
/** Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width. */
|
|
919
922
|
'width'?: NLDDFullBleedSection['width'];
|
|
920
|
-
/** Surface background ('inherit' default; 'base'
|
|
923
|
+
/** Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface). */
|
|
921
924
|
'background'?: NLDDFullBleedSection['background'];
|
|
922
925
|
/** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
|
|
923
926
|
'height'?: NLDDFullBleedSection['height'];
|
|
@@ -1030,6 +1033,8 @@ type NlddIconButtonProps = {
|
|
|
1030
1033
|
'width'?: NLDDIconButton['width'];
|
|
1031
1034
|
/** ID of a popover element to toggle, looked up in the tree of this button; the inner <button> gets the element. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
1032
1035
|
'popovertarget'?: NLDDIconButton['popovertarget'];
|
|
1036
|
+
/** 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 controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. 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. */
|
|
1037
|
+
'interestfor'?: NLDDIconButton['interestfor'];
|
|
1033
1038
|
/** Button text, used as aria-label and shown below the icon in lg size */
|
|
1034
1039
|
'text'?: NLDDIconButton['text'];
|
|
1035
1040
|
/** Icon name for the nldd-icon element. Defaults to a placeholder icon when neither this attribute nor the icon slot is set. */
|
|
@@ -1227,6 +1232,8 @@ type NlddLinkProps = {
|
|
|
1227
1232
|
'disabled'?: true;
|
|
1228
1233
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
1229
1234
|
'no-tab'?: true;
|
|
1235
|
+
/** 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. */
|
|
1236
|
+
'interestfor'?: NLDDLink['interestfor'];
|
|
1230
1237
|
/** Override translation keys (e.g. the "opent in nieuw tabblad" announcement); unset keys fall back to Dutch. */
|
|
1231
1238
|
'translations'?: NLDDLink['translations'];
|
|
1232
1239
|
};
|
|
@@ -1578,7 +1585,7 @@ type NlddOneHalfOneHalfSectionProps = {
|
|
|
1578
1585
|
'width'?: NLDDOneHalfOneHalfSection['width'];
|
|
1579
1586
|
/** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
|
|
1580
1587
|
'vertical-alignment'?: NLDDOneHalfOneHalfSection['verticalAlignment'];
|
|
1581
|
-
/** Surface background ('inherit' default; 'base'
|
|
1588
|
+
/** Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface). */
|
|
1582
1589
|
'background'?: NLDDOneHalfOneHalfSection['background'];
|
|
1583
1590
|
/** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
|
|
1584
1591
|
'height'?: NLDDOneHalfOneHalfSection['height'];
|
|
@@ -1607,7 +1614,7 @@ type NlddOneThirdTwoThirdsSectionProps = {
|
|
|
1607
1614
|
'width'?: NLDDOneThirdTwoThirdsSection['width'];
|
|
1608
1615
|
/** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
|
|
1609
1616
|
'vertical-alignment'?: NLDDOneThirdTwoThirdsSection['verticalAlignment'];
|
|
1610
|
-
/** Surface background ('inherit' default; 'base'
|
|
1617
|
+
/** Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface). */
|
|
1611
1618
|
'background'?: NLDDOneThirdTwoThirdsSection['background'];
|
|
1612
1619
|
/** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
|
|
1613
1620
|
'height'?: NLDDOneThirdTwoThirdsSection['height'];
|
|
@@ -2099,7 +2106,7 @@ type NlddSimpleSectionProps = {
|
|
|
2099
2106
|
'horizontal-alignment'?: NLDDSimpleSection['horizontalAlignment'];
|
|
2100
2107
|
/** Where the body's children sit down the section ('top' default). Only visible when the section is taller than its content. */
|
|
2101
2108
|
'vertical-alignment'?: NLDDSimpleSection['verticalAlignment'];
|
|
2102
|
-
/** Surface background ('inherit' default; 'base'
|
|
2109
|
+
/** Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface). */
|
|
2103
2110
|
'background'?: NLDDSimpleSection['background'];
|
|
2104
2111
|
/** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
|
|
2105
2112
|
'height'?: NLDDSimpleSection['height'];
|
|
@@ -2124,7 +2131,7 @@ type NlddSimpleSectionProps = {
|
|
|
2124
2131
|
};
|
|
2125
2132
|
|
|
2126
2133
|
type NlddSkipLinkProps = {
|
|
2127
|
-
/** Text of the skip link. Name what is skipped. Falls back to the
|
|
2134
|
+
/** Text of the skip link. Name what is skipped. Falls back to "Ga naar de hoofdinhoud" around the header of a page, and to "Sla over" elsewhere. */
|
|
2128
2135
|
'text'?: NLDDSkipLink['text'];
|
|
2129
2136
|
/** Optional external target id. Without href it jumps to the first rendered element after the skip link. */
|
|
2130
2137
|
'href'?: NLDDSkipLink['href'];
|
|
@@ -2494,7 +2501,22 @@ type NlddTagProps = {
|
|
|
2494
2501
|
'accessible-label'?: NLDDTag['accessibleLabel'];
|
|
2495
2502
|
};
|
|
2496
2503
|
|
|
2504
|
+
type NlddTermProps = {
|
|
2505
|
+
/** The definition, as plain text. The term shows it in a popover of its own, named after the term. Ignored when `popovertarget` is set. */
|
|
2506
|
+
'definition'?: NLDDTerm['definition'];
|
|
2507
|
+
/** Where the definition comes from, such as a glossary or an article of law, as plain text. Shown under the definition in the term's own popover. Ignored when `popovertarget` is set. */
|
|
2508
|
+
'source'?: NLDDTerm['source'];
|
|
2509
|
+
/** Link for `source`. Without `source` it has no effect. */
|
|
2510
|
+
'source-href'?: NLDDTerm['sourceHref'];
|
|
2511
|
+
/** Override translation keys (the label before the source). */
|
|
2512
|
+
'translations'?: NLDDTerm['translations'];
|
|
2513
|
+
/** ID of an nldd-popover with the definition, looked up in the tree of this term. Positioned against the term when it opens, so it needs no `anchor`, and it can be shared by every term for the same concept. Wins over `definition`. */
|
|
2514
|
+
'popovertarget'?: NLDDTerm['popovertarget'];
|
|
2515
|
+
};
|
|
2516
|
+
|
|
2497
2517
|
type NlddTextProps = {
|
|
2518
|
+
/** The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins. */
|
|
2519
|
+
'text'?: NLDDText['text'];
|
|
2498
2520
|
/** Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large */
|
|
2499
2521
|
'size'?: NLDDText['size'];
|
|
2500
2522
|
/** A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size` */
|
|
@@ -2984,7 +3006,7 @@ type NlddTwoThirdsOneThirdSectionProps = {
|
|
|
2984
3006
|
'width'?: NLDDTwoThirdsOneThirdSection['width'];
|
|
2985
3007
|
/** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
|
|
2986
3008
|
'vertical-alignment'?: NLDDTwoThirdsOneThirdSection['verticalAlignment'];
|
|
2987
|
-
/** Surface background ('inherit' default; 'base'
|
|
3009
|
+
/** Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface). */
|
|
2988
3010
|
'background'?: NLDDTwoThirdsOneThirdSection['background'];
|
|
2989
3011
|
/** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
|
|
2990
3012
|
'height'?: NLDDTwoThirdsOneThirdSection['height'];
|
|
@@ -3146,7 +3168,7 @@ declare module 'react' {
|
|
|
3146
3168
|
'nldd-icon-button': NlddElement<NLDDIconButton, NlddIconButtonProps>;
|
|
3147
3169
|
/** A cell component for displaying icons in lists with configurable alignment and size. Set `icon` to render an `nldd-icon` by name, or slot custom content as an escape hatch for non-standard iconography. */
|
|
3148
3170
|
'nldd-icon-cell': NlddElement<NLDDIconCell, NlddIconCellProps>;
|
|
3149
|
-
/** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute or as a slot. Use the
|
|
3171
|
+
/** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime="…">` for a machine-readable date, or a link to the author's profile. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity: a font, margin or other style the page sets on it does not apply. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. Set the avatars to decorative (or an `img` to `alt=""`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`. */
|
|
3150
3172
|
'nldd-identity': NlddElement<NLDDIdentity, NlddIdentityProps>;
|
|
3151
3173
|
/** Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set — otherwise just the image, no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image. Without an image (no `src`, `srcset`, `lqip` or slotted media) it shows a neutral area with an image icon, in the box, shape and caption a real image would get: a place where an image belongs, for a prototype or a pattern, or an image someone forgot. Without `aspect-ratio` that area is 16/9. While the built-in `<img>` loads without an `lqip`, the same area shows without the icon, and it goes once the image is in. */
|
|
3152
3174
|
'nldd-image': NlddElement<NLDDImage, NlddImageProps>;
|
|
@@ -3160,7 +3182,7 @@ declare module 'react' {
|
|
|
3160
3182
|
'nldd-kanban-column': NlddElement<NLDDKanbanColumn, NlddKanbanColumnProps>;
|
|
3161
3183
|
/** 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. */
|
|
3162
3184
|
'nldd-keyboard-shortcut': NlddElement<NLDDKeyboardShortcut, NlddKeyboardShortcutProps>;
|
|
3163
|
-
/** 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. */
|
|
3185
|
+
/** 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. */
|
|
3164
3186
|
'nldd-link': NlddElement<NLDDLink, NlddLinkProps>;
|
|
3165
3187
|
/** 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. */
|
|
3166
3188
|
'nldd-link-group': NlddElement<NLDDLinkGroup, NlddLinkGroupProps>;
|
|
@@ -3170,7 +3192,7 @@ declare module 'react' {
|
|
|
3170
3192
|
'nldd-list-item': NlddElement<NLDDListItem, NlddListItemProps>;
|
|
3171
3193
|
/** 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. */
|
|
3172
3194
|
'nldd-list-item-segment': NlddElement<NLDDListItemSegment, NlddListItemSegmentProps>;
|
|
3173
|
-
/** 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. Note: Only type="button" items are supported when used inside nldd-combo-box-field. Radio and checkbox types may be used in standalone menus. */
|
|
3195
|
+
/** 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. */
|
|
3174
3196
|
'nldd-menu': NlddElement<NLDDMenu, NlddMenuProps>;
|
|
3175
3197
|
/** 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. */
|
|
3176
3198
|
'nldd-menu-bar': NlddElement<NLDDMenuBar, NlddMenuBarProps>;
|
|
@@ -3209,7 +3231,7 @@ declare module 'react' {
|
|
|
3209
3231
|
'nldd-pagination': NlddElement<NLDDPagination, NlddPaginationProps>;
|
|
3210
3232
|
/** A password input field with visibility toggle and validation states. */
|
|
3211
3233
|
'nldd-password-field': NlddElement<NLDDPasswordField, NlddPasswordFieldProps>;
|
|
3212
|
-
/** A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover="auto") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment also positions the popover against itself, so the popover needs no `anchor`: <nldd-button popovertarget="info-popover">Info</nldd-button> <nldd-popover id="info-popover" accessible-label="Info"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. On md and up the popover closes with Escape or a click outside it, and that click goes on to what it lands on, as with any native popover: the page has no backdrop and stays in use, so a click on another control does what it says in one go. It needs no close button of its own. Content that does, because a stray click must not close it (a form, a few steps, work you would lose), is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education is the exception, a manual popover that stays until it is dismissed. On sm the popover is a bottom sheet with a dimmed backdrop, which closes with Escape or a tap outside it, and slides down as it goes. It is a manual popover there and closes itself, so a close request from the system, such as the back gesture on Android, leaves it open; a `popover` you set yourself is kept. That tap stops at the backdrop, as on every native sheet: the dimming says the page is out of play. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself. */
|
|
3234
|
+
/** A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover="auto") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment also positions the popover against itself, so the popover needs no `anchor`: <nldd-button popovertarget="info-popover">Info</nldd-button> <nldd-popover id="info-popover" accessible-label="Info"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. Content taller than the room the window leaves scrolls in the popover, with a fade at the edge where more content waits: at the bottom while you can scroll down, at the top once you have scrolled. On md and up the popover closes with Escape or a click outside it, and that click goes on to what it lands on, as with any native popover: the page has no backdrop and stays in use, so a click on another control does what it says in one go. It needs no close button of its own. Content that does, because a stray click must not close it (a form, a few steps, work you would lose), is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education is the exception, a manual popover that stays until it is dismissed. In the `interest` slot of an nldd-button or nldd-icon-button, or named by `interestfor` on those or on an nldd-link, the popover describes that control instead: it opens when the pointer rests on the control, when the control gets keyboard focus, and on a long press on touch, and the control keeps its own click. Focus stays on the control, the control gets no expanded state, and the popover's content is read as its description. It holds information only, no link or button. In the slot it needs no `accessible-label`; one that `interestfor` names keeps its label, which is left out while it describes. On sm the popover is a bottom sheet with a dimmed backdrop, which closes with Escape or a tap outside it, and slides down as it goes. It is a manual popover there and closes itself, so a close request from the system, such as the back gesture on Android, leaves it open; a `popover` you set yourself is kept. That tap stops at the backdrop, as on every native sheet: the dimming says the page is out of play. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself. */
|
|
3213
3235
|
'nldd-popover': NlddElement<NLDDPopover, NlddPopoverProps>;
|
|
3214
3236
|
/** Exports both NLDDProgressBar and NLDDProgressBarSegmentIndicator. A progress bar that supports a single value (loading-style) or multiple segments (multi-stage progress, or distribution like storage usage). The consumer provides raw values; the component computes percentages from `max`. Two variants: - `progress` (default): segments sum toward `max`; remaining space is empty track. ARIA reads "X% voltooid". - `distribution`: segments fill the bar; ARIA enumerates segments. If the sum of segment values exceeds `max`, segments are normalized proportionally to fit and a warning is logged. */
|
|
3215
3237
|
'nldd-progress-bar': NlddElement<NLDDProgressBar, NlddProgressBarProps>;
|
|
@@ -3242,7 +3264,7 @@ declare module 'react' {
|
|
|
3242
3264
|
'nldd-sidebar-section': NlddElement<NLDDSidebarSection, NlddSidebarSectionProps>;
|
|
3243
3265
|
/** A basic section with responsive padding and gap based on container size. Contains optional header and footer slots. The padding and spacing between slots adjust automatically via container queries. Use one section per content block and repeat the section rather than building columns inside one: the section sets the reading width and the padding itself. For two columns there are nldd-one-half-one-half-section, nldd-two-thirds-one-third-section, nldd-one-third-two-thirds-section and nldd-sidebar-section. Give a section its surface with `background` instead of a background color of your own; that is how the components inside know which surface they are on. */
|
|
3244
3266
|
'nldd-simple-section': NlddElement<NLDDSimpleSection, NlddSimpleSectionProps>;
|
|
3245
|
-
/** Accessibility pattern that lets keyboard users skip past content. Wraps content in a default slot. Not only for the header of a page. Any block with many stops that someone on a keyboard often wants to get past can have one: a set of filters, a long toolbar, a table of contents. Keep it to blocks like that; a skip link before every section is one more stop on the way, not one less. Without href it moves focus to the first rendered element after the skip link, so the next Tab lands on the first link or button in it. An element that is not rendered, such as a `<noscript>`, a `<script>` or anything hidden, is passed over. Make sure a rendered element follows the component, otherwise the skip link has no effect. With an `href` that points at an id on the same page, the link scrolls to that element and moves focus to it too. The target needs no `tabindex` of its own. An href to another page is left to the browser.
|
|
3267
|
+
/** Accessibility pattern that lets keyboard users skip past content. Wraps content in a default slot. Not only for the header of a page. Any block with many stops that someone on a keyboard often wants to get past can have one: a set of filters, a long toolbar, a table of contents. Keep it to blocks like that; a skip link before every section is one more stop on the way, not one less. Without href it moves focus to the first rendered element after the skip link, so the next Tab lands on the first link or button in it. An element that is not rendered, such as a `<noscript>`, a `<script>` or anything hidden, is passed over. Make sure a rendered element follows the component, otherwise the skip link has no effect. With an `href` that points at an id on the same page, the link scrolls to that element and moves focus to it too. The target needs no `tabindex` of its own. An href to another page is left to the browser. Around the header of a page, in `slot="header"` of nldd-page or around an nldd-top-navigation-bar, it knows what follows, and its default text is "Ga naar de hoofdinhoud". Anywhere else it cannot know what it skips, and the default only says "Sla over". Name it there with `text`: "Sla filters over", "Sla inhoudsopgave over". */
|
|
3246
3268
|
'nldd-skip-link': NlddElement<NLDDSkipLink, NlddSkipLinkProps>;
|
|
3247
3269
|
/** A value picked along a track, by dragging its thumb, pressing the track or with the arrow keys. With `range` it picks a range instead, with a thumb for each end. The names follow Apple's: the track, the thumb, and the minimum track, the part filled up to the thumb, or between the thumbs of a range. A slider is for a value that may be roughly right, such as a filter ("a price between …"). For a value that has to be exact, an `nldd-number-field` is easier: a thumb is hard to put on one number, the more so with a hand that is not steady. It is built on native range inputs, so the keyboard (arrows, Page Up and Page Down, Home and End), touch, the form and a screen reader work as they do for any slider. A range is two of them over each other, each with its own name for a screen reader ("Prijs, minimum"), and a press on the track moves the nearer thumb there. A thumb dragged or moved with an arrow key (also with Shift) past the other one becomes that end of the range, and focus goes with it, so its name still says which end it is. Home, End, Page Up and Page Down stop at the other thumb, so they never turn the range around. Where the thumbs lie on one value, the first move picks one, to the left the start one. The value shows in a tooltip above the thumb while the pointer is over the slider or its icons, while a thumb has keyboard focus and while it or an icon is pressed; with `tooltip-timing="never"` it does not, for a slider whose value already shows elsewhere. Where the two tooltips of a range would overlap, they show as one ("200 – 1.200"). `formatValue` turns a number into the text of the tooltip and of what a screen reader hears, such as `(value) => \`€ ${value}\``; without it the number is written in the language of the page (`lang`), and in Dutch where none is set. `histogram` draws counts as bars above the track, such as how many results there are at each price, so the range can be chosen with the spread in view. Give one count per bucket: n counts split min to max into n equal buckets of (max - min) / n, the first count for the first bucket. Only the proportions matter (the highest count is the full height), a 0 is an empty bucket, and 20 to 40 buckets read best, whatever the `step`. A bar whose middle lies within the chosen value or range is colored. The bars are decoration for a screen reader: say what they show in the text around it. A larger step than the arrow keys take is a tenth of the range, and at least one `step`: what Page Up and Page Down do, what Shift with an arrow key does (a Mac keyboard has no Page Up), and what a click on `start-icon` or `end-icon` does. The icons stay out of the tab order and out of the accessibility tree, because the keyboard already has those keys. In a range they only explain the ends, since a click could not say which thumb to move. In a form a slider submits its value under `name`; a range submits both ends under it, the start first. */
|
|
3248
3270
|
'nldd-slider': NlddElement<NLDDSlider, NlddSliderProps>;
|
|
@@ -3283,20 +3305,22 @@ declare module 'react' {
|
|
|
3283
3305
|
'nldd-table-row': NlddElement<NLDDTableRow, NlddTableRowProps>;
|
|
3284
3306
|
/** 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`. */
|
|
3285
3307
|
'nldd-tag': NlddElement<NLDDTag, NlddTagProps>;
|
|
3286
|
-
/**
|
|
3308
|
+
/** 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> */
|
|
3309
|
+
'nldd-term': NlddElement<NLDDTerm, NlddTermProps>;
|
|
3310
|
+
/** 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. */
|
|
3287
3311
|
'nldd-text': NlddElement<NLDDText, NlddTextProps>;
|
|
3288
|
-
/** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text)
|
|
3312
|
+
/** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text) takes plain text in its attribute, which the cell draws as a `<p>`, or a `<p>` of your own in its slot. Use the slot when you need components mixed with text, such as `<nldd-link>`, `<nldd-tag>` or `<nldd-icon>`, and put them in that `<p>`: the paragraph is then in the HTML before any script runs. The slot wins over the attribute. Each region chooses for itself, so an attribute and a slot stand side by side: plain text in `overline`, a `<p>` with a tag in the default slot. The cell does not style plain HTML: for bold, write `**bold**` in the attribute, and for code put an `<nldd-text>` in the `<p>`, with the `<code>` in a `<span>` of its own. The element in a slot takes the text style of the cell: a font, margin or other style the page sets on it does not apply. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is. */
|
|
3289
3313
|
'nldd-text-cell': NlddElement<NLDDTextCell, NlddTextCellProps>;
|
|
3290
3314
|
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. With `syntax="hidden"` a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href="…" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. */
|
|
3291
3315
|
'nldd-text-editor': NlddElement<NLDDTextEditor, NlddTextEditorProps>;
|
|
3292
3316
|
'nldd-text-field': NlddElement<NLDDTextField, NlddTextFieldProps>;
|
|
3293
|
-
/** A text field for a time. The value is always 24-hour `HH:mm`, which is how Dutch shows it too, so unlike nldd-date-field there is nothing to convert. Typing is not masked: input is accepted generously and normalized only when the field is left. Error messages belong to nldd-form-field, not here. This field reflects only `invalid` / `valid`, like nldd-text-field. `value` holds a valid time or nothing, so an empty field and one with text that is no time both read as ''. `validity` tells them apart: `badInput` for text that is no time, `rangeUnderflow` / `rangeOverflow` for a time outside `min` / `max`. A form does not submit then, and nldd-form marks the field invalid. Without a submit, as in a filter that applies at once, the moment is yours: `field.invalid = !field.validity.valid` on `change`, with a message of your own in the nldd-form-field. What you do in the picker is a preview until you leave it. The field shows the time right away but commits it on close. "Klaar" and Enter keep the choice, and so does a click outside once you have picked something.
|
|
3317
|
+
/** A text field for a time. The value is always 24-hour `HH:mm`, which is how Dutch shows it too, so unlike nldd-date-field there is nothing to convert. Typing is not masked: input is accepted generously and normalized only when the field is left. Error messages belong to nldd-form-field, not here. This field reflects only `invalid` / `valid`, like nldd-text-field. `value` holds a valid time or nothing, so an empty field and one with text that is no time both read as ''. `validity` tells them apart: `badInput` for text that is no time, `rangeUnderflow` / `rangeOverflow` for a time outside `min` / `max`. A form does not submit then, and nldd-form marks the field invalid. Without a submit, as in a filter that applies at once, the moment is yours: `field.invalid = !field.validity.valid` on `change`, with a message of your own in the nldd-form-field. What you do in the picker is a preview until you leave it. The field shows the time right away but commits it on close. "Klaar" and Enter keep the choice, and so does a click outside once you have picked something. Escape puts the old time back. On sm, where the picker is a bottom sheet, "Klaar" sits in its title bar and the sheet offers no cancel: as with a native wheel, you turn back to change your mind. The built-in wheels show 7 rows, and fewer, down to 3, when the picker would otherwise run off the window; they grow back when the window does. On an empty field the wheels open at `min`, or otherwise at the current time rounded to `step`, which does not fill in the field yet. */
|
|
3294
3318
|
'nldd-time-field': NlddElement<NLDDTimeField, NlddTimeFieldProps>;
|
|
3295
3319
|
/** Two columns, hours and minutes, that slide like a wheel past the selection in the middle. The component works on its own (inline on a page, in a filter panel) and also sits in the popover of nldd-time-field. Values are always 24-hour `HH:mm`. Scrolling is choosing: whatever comes to rest in the middle is the value. The keyboard drives that same selection, because that is what a wheel is: hour and minute are each a spinbutton. The columns underneath are aria-hidden, so the same values are not read out twice. */
|
|
3296
3320
|
'nldd-time-picker': NlddElement<NLDDTimePicker, NlddTimePickerProps>;
|
|
3297
|
-
/** A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text, and a filled slot takes the place of the attribute. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. Inline elements in a slotted heading (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own. */
|
|
3321
|
+
/** A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text. The slot takes the element the attribute draws: a heading, or a `<p>` for a title that is no heading, and a `<p>` for the overline and the supporting text. Put inline markup inside that element. A filled slot takes the place of the attribute. Each of the three chooses for itself, so a heading in the slot can go with plain `supporting-text`. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. What is in a slot is in the HTML the server sends; what comes from an attribute is drawn in the browser. On a page of a website, which search engines, link previews and reader mode read without script, put the heading in the default slot. In an application `text` with `heading-level` is enough. Inline elements in a slotted heading or `<p>` (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own. */
|
|
3298
3322
|
'nldd-title': NlddElement<NLDDTitle, NlddTitleProps>;
|
|
3299
|
-
/** A cell component for displaying a title with optional overline and supporting text in lists. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, title, supporting text)
|
|
3323
|
+
/** A cell component for displaying a title with optional overline and supporting text in lists. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, title, supporting text) takes plain text in its attribute, or the element itself in its slot: a heading (`h1`–`h6`) or a `<p>` for the title, a `<p>` for the other two, as the cell draws them for the attribute. Use the slot when you need inline elements like `<nldd-tag>`, `<nldd-icon>` or other components mixed with text, and put them in that element: the heading is then in the HTML before any script runs. The slot wins over the attribute, and `heading-level` only applies to the attribute. Each region chooses for itself, so an attribute and a slot stand side by side: plain text in `supporting-text`, a heading with a tag in the default slot. The element in a slot takes the text style of the cell: a font, margin or other style the page sets on it does not apply. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is. */
|
|
3300
3324
|
'nldd-title-cell': NlddElement<NLDDTitleCell, NlddTitleCellProps>;
|
|
3301
3325
|
/** A selectable button that toggles between selected and unselected. Available as a button (aria-pressed), a checkbox, or a radio. The label stays the same in both states: the state is in aria-pressed (or checked) and in the fill, so a screen reader says "Favoriet, pressed". A label that changes with the state ("Volgen", then "Ontvolgen") says what the button does next; that is an nldd-button whose text you change, not a toggle. In radio mode the button itself is the radio: it carries the role, the state and its place in the group. A native radio in a shadow root of its own would be a group of one, counted as "1 of 1" and stopped at by Tab. */
|
|
3302
3326
|
'nldd-toggle-button': NlddElement<NLDDToggleButton, NlddToggleButtonProps>;
|