@nldd/design-system 0.28.0 → 0.29.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/README.md +1 -1
- package/custom-elements.json +237 -170
- package/dist/assets/styles/text-wrap.d.ts +78 -0
- package/dist/assets/styles/text-wrap.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts +6 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.js +25 -0
- package/dist/assets/styles/text-wrap.fixtures.js.map +1 -0
- package/dist/assets/styles/text-wrap.js +102 -0
- package/dist/assets/styles/text-wrap.js.map +1 -0
- package/dist/cdn/autoloader.js +140 -140
- package/dist/cdn/chunks/{accordion-BcmquOub.js → accordion-Eyvvbt4L.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-XIX9-01D.js → accordion-item-tTwSzJIR.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-DXZ_IqAa.js → activity-indicator-DPQNZQDO.js} +5 -5
- package/dist/cdn/chunks/{admonition-DIcSNzcO.js → admonition-BRmILQsf.js} +21 -20
- package/dist/cdn/chunks/{avatar-DG0uG2Eu.js → avatar-D3gM-JHI.js} +14 -14
- package/dist/cdn/chunks/{avatar-group-DYOrOs6f.js → avatar-group-B_d8PyyP.js} +15 -15
- package/dist/cdn/chunks/{badge-DfxWgcGT.js → badge-Bh665MoY.js} +5 -10
- package/dist/cdn/chunks/{banner-Bg2LBBIY.js → banner-DChycHh5.js} +27 -30
- package/dist/cdn/chunks/{bar-split-view-C0WvMmEi.js → bar-split-view-DakaOexc.js} +5 -5
- package/dist/cdn/chunks/{blockquote-Ck5AQfWo.js → blockquote-BqBNTgop.js} +32 -29
- package/dist/cdn/chunks/{box-BAZsRjBx.js → box-B3zUs9dD.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-8X_HdTjk.js → breadcrumbs-CNRmh93a.js} +43 -47
- package/dist/cdn/chunks/{button-rQihZDPs.js → button-3oNu2JqC.js} +76 -74
- package/dist/cdn/chunks/{button-bar-DyO3sMIB.js → button-bar-Bw46AWOo.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfH8ZDe-.js → button-group-Bd5CZm4t.js} +2 -2
- package/dist/cdn/chunks/{card-Gwu3NVqY.js → card-BVW0oCKu.js} +4 -4
- package/dist/cdn/chunks/{cell-Dbf536SX.js → cell-C2vZmYOL.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BI4FMRr3.js → checkbox-LCfb8_rn.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-CC00Cz23.js → checkbox-field-BeIbKEWd.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-B32_gJY6.js → checkbox-group-DezaH0Mb.js} +3 -3
- package/dist/cdn/chunks/{class-map-DfeulNZ_.js → class-map-07EioFee.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BZ-dPqXq.js → code-editor-BP9eNQVl.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-Bz7wk-Zj.js → code-viewer-DJ3TJWD_.js} +7 -7
- package/dist/cdn/chunks/{codemirror-input-CBuhqk5Y.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-CB6_y2t8.js → collection-CTa6APvK.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BqY6lvfT.js → combo-box-BcUXaJuO.js} +9 -9
- package/dist/cdn/chunks/{container-D4G6IZic.js → container-BxfHTSXb.js} +2 -2
- package/dist/cdn/chunks/{custom-element-zgCtSWGH.js → custom-element-7tLnKgZE.js} +1 -1
- package/dist/cdn/chunks/{date-field-BBoAp1Qn.js → date-field-3AJMYQ6k.js} +89 -99
- package/dist/cdn/chunks/{date-picker-DJIaeQzM.js → date-picker-Ho8Mkvcv.js} +10 -10
- package/dist/cdn/chunks/{decorate-CXvSUV9i.js → decorate-CIC8fGPN.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Bl8QgshZ.js → described-by-mixin-DSeADwWP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CCq3LiDa.js → description-cell-DnyCIOZd.js} +42 -26
- package/dist/cdn/chunks/{dev-checks-DG6-EY8p.js → dev-checks-DE09CTk9.js} +21 -6
- package/dist/cdn/chunks/{directive-helpers-DuLEIDjM.js → directive-helpers-DUlH8eNt.js} +1 -1
- package/dist/cdn/chunks/{dist-CyDG2Stm.js → dist-3XSbEdbz.js} +1 -1
- package/dist/cdn/chunks/{dist-QIVpZOok.js → dist-BV06hHwA.js} +3 -3
- package/dist/cdn/chunks/{dist-BT1-y5Tb.js → dist-CLyXDlop.js} +1 -1
- package/dist/cdn/chunks/{dist-CMreNjZ0.js → dist-CanlbdZP.js} +1 -1
- package/dist/cdn/chunks/{dist-B7T6GKkq.js → dist-Cku1NQ9X.js} +2 -2
- package/dist/cdn/chunks/{dist-Mx6eY_XI.js → dist-DJ_2VKiG.js} +3 -3
- package/dist/cdn/chunks/{dist-C8OAxmvo.js → dist-Dpc1YfbE.js} +1 -1
- package/dist/cdn/chunks/{dist-BFj2d0kQ.js → dist-DsE-63gX.js} +1 -1
- package/dist/cdn/chunks/{dist-BPqRc_Nn.js → dist-DtpgX9L8.js} +2 -2
- package/dist/cdn/chunks/{dist-B0EhnbLL.js → dist-DuaPU_hA.js} +2 -2
- package/dist/cdn/chunks/{dist-DuZZX8oT.js → dist-lUsXGXhR.js} +1 -1
- package/dist/cdn/chunks/{divider-CtNxoBXu.js → divider-BixGehzs.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C0RWhx9m.js → document-tab-bar-CqjLOpKx.js} +9 -9
- package/dist/cdn/chunks/{dropdown-Bc0en6CR.js → dropdown-DHlIJDc9.js} +12 -11
- package/dist/cdn/chunks/{file-field-ab-WShTI.js → file-field-B-R605PQ.js} +123 -122
- package/dist/cdn/chunks/{form-DUkQXtMT.js → form-DDB03czp.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DAA4feSG.js → form-actions-DZgcVawx.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-D9E51k93.js → form-associated-mixin-9cC5HSCG.js} +2 -2
- package/dist/cdn/chunks/{form-field-DlLMimbj.js → form-field-CiWFS40A.js} +62 -54
- package/dist/cdn/chunks/{form-section-BvBuApsD.js → form-section-J2if8kVt.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CTaKn0tf.js → full-bleed-section-Q4drn-q0.js} +3 -3
- package/dist/cdn/chunks/{hero-Dd5p9i9u.js → hero-CiPeHBJi.js} +4 -4
- package/dist/cdn/chunks/{icon-D4fRZxV2.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-DOaYzHj0.js → icon-button-CCiDTx3_.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CywVVCYz.js → icon-cell-qieQ2vyq.js} +26 -27
- package/dist/cdn/chunks/{identity-DKFLeTaG.js → identity-xlk5m8S9.js} +24 -21
- package/dist/cdn/chunks/{if-defined-DmACWFoP.js → if-defined-BG5WQE1B.js} +1 -1
- package/dist/cdn/chunks/{image-DSXL5nMx.js → image--hemIqn_.js} +53 -45
- package/dist/cdn/chunks/{inline-dialog-_TYBWEal.js → inline-dialog-TetcCCuR.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-CXJOozIu.js → just-in-time-education-B5veXLNI.js} +5 -5
- package/dist/cdn/chunks/{kanban-DNLzjjc_.js → kanban-D_rUckwT.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-eo2SYTGR.js → kanban-column-DXhOQ64A.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-DZ-mqzxk.js → keyboard-shortcut-CtLlBcQg.js} +3 -3
- package/dist/cdn/chunks/{languages-DOvFU6aa.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{link-C2Tm_F2F.js → link-ChRCGtWP.js} +6 -6
- package/dist/cdn/chunks/{link-group-BKeEUdjA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DXBgXtok.js → list-Bfh3X6o8.js} +8 -8
- package/dist/cdn/chunks/{list-item-CBIk8V1o.js → list-item-BcEWw55r.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BJAJO78S.js → list-item-segment-ChGSqurx.js} +3 -3
- package/dist/cdn/chunks/{menu-NHTlulPo.js → menu-Dj1cdu5O.js} +10 -13
- package/dist/cdn/chunks/{menu-bar-BplgndmQ.js → menu-bar-DCkLwYES.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-1ymZKx5B.js → menu-bar-item-eLhyoBaG.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-A_WVVPRj.js → menu-divider-BUNkdRG6.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BxdR9cIB.js → menu-group-rgTyUCIY.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CfSzAmYP.js → menu-item-CttLz526.js} +4 -4
- package/dist/cdn/chunks/{menu.template-BQg9CFZU.js → menu.template-D6Y2bQao.js} +57 -42
- package/dist/cdn/chunks/{modal-dialog-CRoItKeC.js → modal-dialog-CUb8QrtP.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Dyyhaixb.js → multi-line-text-field-Db8a2YIL.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-C40LLsnq.js → navigation-split-view-D8ATWcAf.js} +5 -5
- package/dist/cdn/chunks/{notification-DCJBxwgA.js → notification-DHvaRREb.js} +102 -101
- package/dist/cdn/chunks/{number-field-DsZcWhVJ.js → number-field-C_rgYWIM.js} +66 -48
- package/dist/cdn/chunks/{one-half-one-half-section-C7iwuCox.js → one-half-one-half-section-DFYjUF3h.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-viwFsAKX.js → one-third-two-thirds-section-DovKfHkM.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BK1dcrkM.js → one-time-code-field-BBg30doG.js} +27 -22
- package/dist/cdn/chunks/{overflow-menu-b9-YGrjH.js → overflow-menu-CAIY3hk-.js} +1 -1
- package/dist/cdn/chunks/{page-DtZ9Ef4H.js → page-DpcervFE.js} +13 -6
- package/dist/cdn/chunks/{page-footer-DnBD0aG2.js → page-footer-B0JJvSf7.js} +45 -43
- package/dist/cdn/chunks/{page-section-mixin-BhtKGjf2.js → page-section-mixin-B98EwIts.js} +3 -3
- package/dist/cdn/chunks/{pagination-Bw6rA75o.js → pagination-D1o7xN9-.js} +6 -6
- package/dist/cdn/chunks/{password-field-DvEggyk3.js → password-field-CWneSaEV.js} +8 -8
- package/dist/cdn/chunks/{popover-BS_tKHY-.js → popover-Bm7Kc6Ep.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-DjbR_gfZ.js → progress-bar-3eU3rFW6.js} +48 -43
- package/dist/cdn/chunks/{progress-circle-Cz9PLyQK.js → progress-circle-CHMKX8uz.js} +51 -49
- package/dist/cdn/chunks/{radio-button-D8mtS3no.js → radio-button-B45WY4fZ.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-BW0hpqWv.js → radio-button-field-CsJ0DMrB.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-9q5EIa2C.js → radio-button-group-CdDmgzn3.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Ux8zPP_h.js → render-marked-vXU387IN.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Du9jl_rB.js → reorder-handle-cell-M_xNSghw.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-Bk1J-pVX.js → reorder-handle-mixin-DIkeFpRU.js} +2 -2
- package/dist/cdn/chunks/{repeat-DxDrgDAx.js → repeat-Cy1a-r4p.js} +2 -2
- package/dist/cdn/chunks/{rich-text--3YgH9Ad.js → rich-text-B8ANpryO.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-DcfVBdj0.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-BqyBYmMY.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{search-field-DvqETt9_.js → search-field-1zFx-owG.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-Bc0JEwuo.js → segmented-control-CRRWCyFW.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-BerORb5_.js → shadow-resets-B6C3rG8q.js} +2 -2
- package/dist/cdn/chunks/{sheet-O_29ylNf.js → sheet-ChPeBrfk.js} +3 -3
- package/dist/cdn/chunks/{shell-wlMaUZMA.js → shell-DpKdCX0m.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-CLd3Nale.js → side-by-side-split-view-BoJ6fcJg.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CM5FBrQy.js → sidebar-section-D1fyh0uU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CnYSz59b.js → simple-section-CyDYDeg_.js} +3 -3
- package/dist/cdn/chunks/{skip-link-BSWXUiUo.js → skip-link-Dzz1lV-5.js} +28 -26
- package/dist/cdn/chunks/{slider-Cz9TWQ1q.js → slider-K7ylsn0X.js} +9 -9
- package/dist/cdn/chunks/{spacer-Di1FKF1H.js → spacer-BDRDeRQr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DxLzLJCd.js → spacer-cell-DvUxqmbS.js} +4 -4
- package/dist/cdn/chunks/{split-button-D8g_ndEY.js → split-button-BYqftEp3.js} +9 -7
- package/dist/cdn/chunks/{split-view-divider-BRYFJldk.js → split-view-divider-BQdN8I8c.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-BKKmNsjn.js → stacked-split-view-BG0kRfdn.js} +4 -4
- package/dist/cdn/chunks/{static-html-BuLHPpfA.js → static-html-ooiG7-by.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CHZ0l8TZ.js → status-bar-oyMa4uJG.js} +4 -4
- package/dist/cdn/chunks/{step-bar-C1MPbS7g.js → step-bar-CQd9nSub.js} +32 -29
- package/dist/cdn/chunks/{step-cell-27LEuImu.js → step-cell-3yG-UCmv.js} +5 -5
- package/dist/cdn/chunks/{stepper-CFnmm4Jc.js → stepper-d-usvzY0.js} +7 -7
- package/dist/cdn/chunks/{style-map-CT-UKis2.js → style-map-DP8rklU9.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-qcDRmYxS.js → swatch-picker-CDCUnY72.js} +6 -6
- package/dist/cdn/chunks/{switch-DF_LNJMR.js → switch-BMGaGKGr.js} +5 -5
- package/dist/cdn/chunks/{switch-field-BKIKn9wq.js → switch-field-BaKICGGz.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-VVZNYCSU.js → tab-bar-BFDYrnsi.js} +8 -8
- package/dist/cdn/chunks/{table-DfKFKaDW.js → table-DZx86t9S.js} +7 -5
- package/dist/cdn/chunks/{tag-CJQEzBXC.js → tag-BcfNqWxs.js} +21 -19
- package/dist/cdn/chunks/{term-D3QB0GN-.js → term-BgyQFHrz.js} +12 -12
- package/dist/cdn/chunks/{text-GAY_Be6G.js → text-ChSJGujM.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D9qxQeCY.js → text-cell-fnnbWR_Y.js} +55 -42
- package/dist/cdn/chunks/{text-editor-C1-K1z1w.js → text-editor-D9K1Z87u.js} +20 -17
- package/dist/cdn/chunks/{text-field-Bq_41L1a.js → text-field-DzNb872n.js} +6 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-Bqny9JeT.js → time-field-DiJhXcaX.js} +14 -14
- package/dist/cdn/chunks/{time-picker-DMaxOCDt.js → time-picker-DZlD7fVz.js} +5 -5
- package/dist/cdn/chunks/{title-Dxhkfehz.js → title-BUC_Asb4.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BDvpoBrO.js → title-cell-jmBvTRwY.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CcIX98G1.js → toggle-button-UssRHIiz.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-group-Dyqjqg2D.js → toggle-button-group-Bj8Rjd93.js} +2 -2
- package/dist/cdn/chunks/{token-BBS6BXwU.js → token-DTjIKIJl.js} +11 -10
- package/dist/cdn/chunks/{token-field-CO6N6wZW.js → token-field-CEtnrqKT.js} +13 -13
- package/dist/cdn/chunks/{toolbar--slFc4EX.js → toolbar-CvinP7R9.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-j9QbC5s5.js → toolbar-item-CiCs-MqI.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-D_BBNlB2.js → toolbar-title-YdFqO0Xq.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-CKxRmIg-.js → toolbar.styles-DO1jDSfb.js} +3 -3
- package/dist/cdn/chunks/{tooltip-bqAbXl2W.js → tooltip-CGSe6rYu.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-D26UoOIz.js → top-navigation-bar-akJzlepM.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-DtXWxtJF.js → top-title-bar-CuU2kYrc.js} +13 -6
- package/dist/cdn/chunks/{translations-DsTLnxKh.js → translations-tgPL1Hx3.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-D1R62yzp.js → two-thirds-one-third-section-BE40gzfe.js} +3 -3
- package/dist/cdn/chunks/{validation-list-DlJ18Ojt.js → validation-list-B_VwBQD0.js} +30 -28
- package/dist/cdn/chunks/{visibility-mixin-Bkc9mSOZ.js → visibility-mixin-BgnkZDZM.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CNq15vm2.js → visually-hidden-B4_jKNA7.js} +2 -2
- package/dist/cdn/chunks/{window-B3gyQQvV.js → window-CJybFUUG.js} +4 -4
- package/dist/cdn/chunks/{with-translations-BJzVHQmV.js → with-translations-CZaQOZ9L.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +3 -1
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +1 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +1 -4
- 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 +22 -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 +3 -7
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +2 -0
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +3 -2
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion.d.ts +1 -1
- package/dist/components/content/accordion/accordion.js +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -2
- package/dist/components/content/admonition/admonition.js +2 -2
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +3 -2
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +9 -9
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +16 -16
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +3 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +3 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +3 -3
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon-categories.d.ts +2 -0
- package/dist/components/content/icon/icon-categories.d.ts.map +1 -0
- package/dist/components/content/icon/icon-categories.js +454 -0
- package/dist/components/content/icon/icon-categories.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +3 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +9 -1
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +11 -10
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +16 -16
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +3 -1
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +8 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +11 -0
- 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 -8
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +3 -1
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +3 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +7 -19
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts +2 -2
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +5 -5
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +2 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +8 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -0
- package/dist/components/forms/validation-list/validation-list.styles.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 +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.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 -12
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -7
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +3 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +5 -5
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +20 -8
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +33 -25
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +6 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +30 -15
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +2 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -2
- package/dist/components/layout/page/page.d.ts +10 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +19 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +2 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +2 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +23 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +26 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +16 -3
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +32 -1
- 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 +35 -1
- 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 +16 -6
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +18 -1
- 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 +21 -1
- 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 +16 -6
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +15 -15
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +9 -8
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +6 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +2 -6
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +8 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +14 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +14 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +0 -5
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +3 -6
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +6 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -2
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +5 -2
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +38 -40
- package/dist/css/text.css +2 -0
- package/dist/css/title.css +2 -0
- package/dist/css/variables.css +5 -1
- package/dist/nldd.min.js +1593 -1492
- package/dist/types/react.d.ts +33 -30
- package/dist/types/vue.d.ts +39 -37
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +21 -6
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/lint/main.js +2 -0
- package/lint/rule.schema.json +1 -0
- package/lint/wcag.js +67 -0
- package/package.json +1 -1
package/dist/types/react.d.ts
CHANGED
|
@@ -200,16 +200,20 @@ type NlddAdmonitionProps = {
|
|
|
200
200
|
};
|
|
201
201
|
|
|
202
202
|
type NlddAvatarProps = {
|
|
203
|
+
/** `person` (the default: a circle, person icon) or `organization` (a rounded square, building icon) */
|
|
204
|
+
'variant'?: NLDDAvatar['variant'];
|
|
203
205
|
/** `neutral` (the default, a neutral fill) or `content` (fill in the content color: the `--context-content-color` a surface, a button or a selected row sets; text in the contrast color, so the avatar can replace an icon in a button for instance) */
|
|
204
206
|
'color'?: NLDDAvatar['color'];
|
|
205
207
|
/** `full` (the default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). The initials and the icon scale along */
|
|
206
208
|
'size'?: NLDDAvatar['size'];
|
|
207
209
|
/** Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin) */
|
|
208
210
|
'icon-aligned'?: true;
|
|
209
|
-
/**
|
|
210
|
-
'
|
|
211
|
+
/** Name of the person or organization; supplies the derived initials and the accessible label */
|
|
212
|
+
'name'?: NLDDAvatar['name'];
|
|
211
213
|
/** Explicit initials, at most 4 characters, such as `KvK` or `LVVN` (overrides what is derived from `name`; also for organization acronyms). Four characters read well from 40px; below that use a shorter form */
|
|
212
214
|
'initials'?: NLDDAvatar['initials'];
|
|
215
|
+
/** Overrides the fallback icon of the variant */
|
|
216
|
+
'icon'?: NLDDAvatar['icon'];
|
|
213
217
|
/** Image source; falls back to initials or icon when it fails to load */
|
|
214
218
|
'src'?: NLDDAvatar['src'];
|
|
215
219
|
/** Responsive source set for the image (the component sets `sizes` itself) */
|
|
@@ -224,10 +228,6 @@ type NlddAvatarProps = {
|
|
|
224
228
|
'no-tab'?: true;
|
|
225
229
|
/** When the name appears as a tooltip on hover or focus: `delay` (the default, after 700ms), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text */
|
|
226
230
|
'tooltip-timing'?: NLDDAvatar['tooltipTiming'];
|
|
227
|
-
/** Name of the person or organization; supplies the derived initials and the accessible label */
|
|
228
|
-
'name'?: NLDDAvatar['name'];
|
|
229
|
-
/** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
|
|
230
|
-
'type'?: NLDDAvatar['type'];
|
|
231
231
|
/** Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it. As a link or a button the avatar needs size 24 or larger (WCAG 2.5.8) */
|
|
232
232
|
'href'?: NLDDAvatar['href'];
|
|
233
233
|
/** Link target for href (e.g. '_blank'); completes rel and announces "Opens in a new tab". An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off. */
|
|
@@ -597,7 +597,6 @@ type NlddCodeViewerProps = {
|
|
|
597
597
|
'line-numbers'?: true;
|
|
598
598
|
/** Wrap long lines instead of horizontal scroll */
|
|
599
599
|
'wrap'?: true;
|
|
600
|
-
'copy-unavailable'?: true;
|
|
601
600
|
/** Override translation keys (e.g. the copy button labels and the scroll-region label); unset keys fall back to Dutch. */
|
|
602
601
|
'translations'?: NLDDCodeViewer['translations'];
|
|
603
602
|
};
|
|
@@ -854,7 +853,7 @@ type NlddDatePickerProps = {
|
|
|
854
853
|
type NlddDescriptionCellProps = {
|
|
855
854
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
856
855
|
'width'?: NLDDDescriptionCell['width'];
|
|
857
|
-
/** Minimum width
|
|
856
|
+
/** Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width` */
|
|
858
857
|
'min-width'?: NLDDDescriptionCell['minWidth'];
|
|
859
858
|
/** Maximum width as CSS length (e.g. '300px', '20rem') */
|
|
860
859
|
'max-width'?: NLDDDescriptionCell['maxWidth'];
|
|
@@ -862,6 +861,8 @@ type NlddDescriptionCellProps = {
|
|
|
862
861
|
'min-height'?: NLDDDescriptionCell['minHeight'];
|
|
863
862
|
/** Vertical alignment (default: 'center') */
|
|
864
863
|
'vertical-alignment'?: NLDDDescriptionCell['verticalAlignment'];
|
|
864
|
+
/** Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. Reaches text in the two slots, not an `nldd-text` in them: that has a `hyphens` of its own. */
|
|
865
|
+
'hyphens'?: true;
|
|
865
866
|
/** Makes this cell the grip that drags its row in a `reorderable` nldd-list. The cell shows only while the row is `reorderable`. */
|
|
866
867
|
'reorder-handle'?: NLDDDescriptionCell['reorderHandle'];
|
|
867
868
|
/** In an `nldd-table`, makes this cell the header of its row (role="rowheader" instead of "cell"). Semantics only: the cell looks the same. Ignored in a header row. */
|
|
@@ -906,8 +907,6 @@ type NlddDropdownProps = {
|
|
|
906
907
|
'width'?: NLDDDropdown['width'];
|
|
907
908
|
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
908
909
|
'accessible-label'?: NLDDDropdown['accessibleLabel'];
|
|
909
|
-
/** Reflects whether the native picker popup is open (driven internally) */
|
|
910
|
-
'expanded'?: true;
|
|
911
910
|
/** Marks the field as valid */
|
|
912
911
|
'valid'?: true;
|
|
913
912
|
/** Marks the field as invalid */
|
|
@@ -1671,14 +1670,14 @@ type NlddNotificationProps = {
|
|
|
1671
1670
|
};
|
|
1672
1671
|
|
|
1673
1672
|
type NlddNumberFieldProps = {
|
|
1673
|
+
/** Where the decrement and increment buttons go: 'end' (the default) puts them side by side at the end, so the value lines up at the start with the other fields in a form; 'split' puts decrement at the start and increment at the end, with the value centered between them, for a short counter such as a quantity; 'none' leaves them out. */
|
|
1674
|
+
'spin-buttons'?: NLDDNumberField['spinButtons'];
|
|
1674
1675
|
/** Size: 'sm' | 'md' (default: 'md') */
|
|
1675
1676
|
'size'?: NLDDNumberField['size'];
|
|
1676
1677
|
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
1677
1678
|
'width'?: NLDDNumberField['width'];
|
|
1678
1679
|
/** Accessible label (aria-label) forwarded to the native input */
|
|
1679
1680
|
'accessible-label'?: NLDDNumberField['accessibleLabel'];
|
|
1680
|
-
/** When set, hides the decrement and increment buttons */
|
|
1681
|
-
'hide-spin-buttons'?: true;
|
|
1682
1681
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
1683
1682
|
'invalid'?: true;
|
|
1684
1683
|
/** Name for form submission */
|
|
@@ -1778,6 +1777,10 @@ type NlddOneThirdTwoThirdsSectionProps = {
|
|
|
1778
1777
|
};
|
|
1779
1778
|
|
|
1780
1779
|
type NlddOneTimeCodeFieldProps = {
|
|
1780
|
+
/** How many characters the code has (default: 6). */
|
|
1781
|
+
'length'?: NLDDOneTimeCodeField['length'];
|
|
1782
|
+
/** The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are. */
|
|
1783
|
+
'format'?: NLDDOneTimeCodeField['format'];
|
|
1781
1784
|
/** 'sm' | 'md' (default) | 'lg'. 'lg' has boxes 56px tall with larger characters, for a page where the code is the only thing to do, such as signing in. Where the boxes do not fit the width, the field steps down a size, to md and then sm: a code never wraps onto a second line. Where not even sm fits, the field shows the code in a text field of its own size. */
|
|
1782
1785
|
'size'?: NLDDOneTimeCodeField['size'];
|
|
1783
1786
|
/** Puts the boxes in the middle of the row, as on a sign-in page where the code is the only field. The field keeps the full width of the row, so it still sees when the boxes no longer fit and steps down a size; centering it from outside, with the alignment of its parent, would shrink it to its boxes and take that away. */
|
|
@@ -1796,10 +1799,6 @@ type NlddOneTimeCodeFieldProps = {
|
|
|
1796
1799
|
'value'?: NLDDOneTimeCodeField['value'];
|
|
1797
1800
|
/** What the code holds: 'numeric' (default, digits only, raises the number keyboard) | 'alphanumeric' (letters and digits) */
|
|
1798
1801
|
'type'?: NLDDOneTimeCodeField['type'];
|
|
1799
|
-
/** How many characters the code has (default: 6). */
|
|
1800
|
-
'length'?: NLDDOneTimeCodeField['length'];
|
|
1801
|
-
/** The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are. */
|
|
1802
|
-
'format'?: NLDDOneTimeCodeField['format'];
|
|
1803
1802
|
/** Required state. A code that is not complete counts as invalid too. */
|
|
1804
1803
|
'required'?: true;
|
|
1805
1804
|
/** Readonly state */
|
|
@@ -1950,7 +1949,7 @@ type NlddProgressBarProps = {
|
|
|
1950
1949
|
'value-text'?: NLDDProgressBar['valueText'];
|
|
1951
1950
|
/** Format for the displayed value (default: 'percentage') */
|
|
1952
1951
|
'value-format'?: NLDDProgressBar['valueFormat'];
|
|
1953
|
-
/** Where the value shows: inline in the caption, in a tooltip on the bar, or hidden (default: 'inline') */
|
|
1952
|
+
/** Where the value shows: inline in the caption, in a tooltip on the bar, or hidden (default: 'inline'). Inline, the value stays on one line, at the end of the last line of the text, and the text breaks beside it, a word of at least 12 letters by syllable */
|
|
1954
1953
|
'value-display'?: NLDDProgressBar['valueDisplay'];
|
|
1955
1954
|
/** Shows a sliding indicator animation (only without segments) */
|
|
1956
1955
|
'indeterminate'?: true;
|
|
@@ -2088,7 +2087,7 @@ type NlddRichTextProps = {
|
|
|
2088
2087
|
'spacing'?: NLDDRichText['spacing'];
|
|
2089
2088
|
/** Centers the main column inside the container; without it, content is left-aligned */
|
|
2090
2089
|
'centered'?: true;
|
|
2091
|
-
/** Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for instance): without language information the browser does not hyphenate.
|
|
2090
|
+
/** Opt-in automatic hyphenation for running text (p, li, dd, td). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for instance): without language information the browser does not hyphenate. Without this attribute, a word wider than the column still breaks between two letters, in p, li, dt and dd, so no text runs out of it. In a table a column is never narrower than its longest word: the table scrolls instead. Inline `code` breaks between any two characters, also in a table cell. Headings are hyphenated regardless of this attribute, but only a word of at least 12 letters, as in `nldd-title`, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own. */
|
|
2092
2091
|
'hyphens'?: true;
|
|
2093
2092
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2094
2093
|
'translations'?: NLDDRichText['translations'];
|
|
@@ -2710,6 +2709,8 @@ type NlddTextProps = {
|
|
|
2710
2709
|
'horizontal-alignment'?: NLDDText['horizontalAlignment'];
|
|
2711
2710
|
/** The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins. */
|
|
2712
2711
|
'text'?: NLDDText['text'];
|
|
2712
|
+
/** Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-rich-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. A display size hyphenates regardless of this attribute. */
|
|
2713
|
+
'hyphens'?: true;
|
|
2713
2714
|
};
|
|
2714
2715
|
|
|
2715
2716
|
type NlddTextCellProps = {
|
|
@@ -2719,7 +2720,7 @@ type NlddTextCellProps = {
|
|
|
2719
2720
|
'size'?: NLDDTextCell['size'];
|
|
2720
2721
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
2721
2722
|
'width'?: NLDDTextCell['width'];
|
|
2722
|
-
/** Minimum width
|
|
2723
|
+
/** Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width` */
|
|
2723
2724
|
'min-width'?: NLDDTextCell['minWidth'];
|
|
2724
2725
|
/** Maximum width as CSS length (e.g. '200px', '20rem') */
|
|
2725
2726
|
'max-width'?: NLDDTextCell['maxWidth'];
|
|
@@ -2735,6 +2736,8 @@ type NlddTextCellProps = {
|
|
|
2735
2736
|
'supporting-text'?: NLDDTextCell['supportingText'];
|
|
2736
2737
|
/** Optional overline text displayed above the main content. Supports **bold**. Falls back to `overline` slot. */
|
|
2737
2738
|
'overline'?: NLDDTextCell['overline'];
|
|
2739
|
+
/** Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. */
|
|
2740
|
+
'hyphens'?: true;
|
|
2738
2741
|
/** Query substring to bold-highlight across text fields. Empty = no marking. */
|
|
2739
2742
|
'query'?: NLDDTextCell['query'];
|
|
2740
2743
|
/** 'match' | 'predictive' (default: 'predictive') */
|
|
@@ -2935,7 +2938,7 @@ type NlddTitleCellProps = {
|
|
|
2935
2938
|
'size'?: NLDDTitleCell['size'];
|
|
2936
2939
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
2937
2940
|
'width'?: NLDDTitleCell['width'];
|
|
2938
|
-
/** Minimum width
|
|
2941
|
+
/** Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width` */
|
|
2939
2942
|
'min-width'?: NLDDTitleCell['minWidth'];
|
|
2940
2943
|
/** Maximum width as CSS length (e.g. '300px', '20rem') */
|
|
2941
2944
|
'max-width'?: NLDDTitleCell['maxWidth'];
|
|
@@ -2953,6 +2956,8 @@ type NlddTitleCellProps = {
|
|
|
2953
2956
|
'overline'?: NLDDTitleCell['overline'];
|
|
2954
2957
|
/** Heading level for the title element: 1–6 (default: none, renders a <p>) */
|
|
2955
2958
|
'heading-level'?: NLDDTitleCell['headingLevel'];
|
|
2959
|
+
/** Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. */
|
|
2960
|
+
'hyphens'?: true;
|
|
2956
2961
|
/** Query substring to bold-highlight across text fields. Empty = no marking. */
|
|
2957
2962
|
'query'?: NLDDTitleCell['query'];
|
|
2958
2963
|
/** 'match' | 'predictive' (default: 'predictive') */
|
|
@@ -3046,8 +3051,6 @@ type NlddTokenProps = {
|
|
|
3046
3051
|
'menu-text'?: NLDDToken['menuText'];
|
|
3047
3052
|
/** Inside a roving-focus container (e.g. nldd-token-field): the host is the single tab stop, so the trailing control is not separately tabbable. */
|
|
3048
3053
|
'roving'?: true;
|
|
3049
|
-
/** Reflects whether the token's menu or popover is open (control="menu"); managed by the token. */
|
|
3050
|
-
'expanded'?: true;
|
|
3051
3054
|
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
3052
3055
|
'disabled'?: true;
|
|
3053
3056
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -3305,7 +3308,7 @@ declare module 'react' {
|
|
|
3305
3308
|
'nldd-activity-indicator': NlddElement<NLDDActivityIndicator, NlddActivityIndicatorProps>;
|
|
3306
3309
|
/** 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. */
|
|
3307
3310
|
'nldd-admonition': NlddElement<NLDDAdmonition, NlddAdmonitionProps>;
|
|
3308
|
-
/** 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. `
|
|
3311
|
+
/** 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. `variant` 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. */
|
|
3309
3312
|
'nldd-avatar': NlddElement<NLDDAvatar, NlddAvatarProps>;
|
|
3310
3313
|
/** 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. */
|
|
3311
3314
|
'nldd-avatar-group': NlddElement<NLDDAvatarGroup, NlddAvatarGroupProps>;
|
|
@@ -3319,7 +3322,7 @@ declare module 'react' {
|
|
|
3319
3322
|
'nldd-blockquote': NlddElement<NLDDBlockquote, NlddBlockquoteProps>;
|
|
3320
3323
|
/** Use a box to visually group related components in a distinct, contained region. Boxes draw attention to a set of controls or content that belong together, helping users understand their relationship at a glance. */
|
|
3321
3324
|
'nldd-box': NlddElement<NLDDBox, NlddBoxProps>;
|
|
3322
|
-
/** A trail of `nldd-breadcrumbs-item`s separated by `›`, rendered as a `<nav>` landmark wrapping a `<div role="list">` (with each item carrying `role="listitem"`). Explicit ARIA roles travel reliably across the slot boundary where the implicit `<ol>`/`<li>` mapping is inconsistent across AT + browser combos. The trail
|
|
3325
|
+
/** A trail of `nldd-breadcrumbs-item`s separated by `›`, rendered as a `<nav>` landmark wrapping a `<div role="list">` (with each item carrying `role="listitem"`). Explicit ARIA roles travel reliably across the slot boundary where the implicit `<ol>`/`<li>` mapping is inconsistent across AT + browser combos. The trail flows as text: when it doesn't fit, it wraps between items and within a long item, which breaks as the text of a button (a word of at least 12 letters by syllable). A chevron stays on the line of the last word of its item. */
|
|
3323
3326
|
'nldd-breadcrumbs': NlddElement<NLDDBreadcrumbs, NlddBreadcrumbsProps>;
|
|
3324
3327
|
/** A single entry in an `nldd-breadcrumbs` list. Renders as a link when `href` is set, as plain text marked `aria-current="page"` when `current` is set, and as plain text otherwise. Each item renders its own trailing `›` separator; the last item in the list hides it via `:host(:last-of-type)`. */
|
|
3325
3328
|
'nldd-breadcrumbs-item': NlddElement<NLDDBreadcrumbsItem, NlddBreadcrumbsItemProps>;
|
|
@@ -3353,7 +3356,7 @@ declare module 'react' {
|
|
|
3353
3356
|
'nldd-date-field': NlddElement<NLDDDateField, NlddDateFieldProps>;
|
|
3354
3357
|
/** 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. Arrow keys move by day and by week, Home and End to the edges of the week, PageUp and PageDown by month, and with Shift by year; Enter and Space pick. The month title is a live region, so a screen reader hears which month has focus while paging. Dates that `isDateUnavailable` rules out stay reachable by keyboard, so an arrow key never silently skips a run of them. */
|
|
3355
3358
|
'nldd-date-picker': NlddElement<NLDDDatePicker, NlddDatePickerProps>;
|
|
3356
|
-
/** A cell component for displaying a title-description pair in lists. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. */
|
|
3359
|
+
/** A cell component for displaying a title-description pair in lists. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. A cell of `width="full"` takes the room the row has left, but not less than 160px, so its text stays readable: about 20 characters. In a row too narrow for that the row runs wider than its box, which is the sign to hide a cell at that width (`hide-below`) or to combine two. In `nldd-table` the columns set the width, so a cell there has no floor. A `width="fit-content"` cell is as wide as its text on one line, and never narrower than its longest word. `min-width` always wins: `0` lets the cell shrink freely, so a long URL breaks; `min-content` keeps the longest word whole; `max-content` keeps the text on one line. A `max-width` below 160px lowers the floor with it. Text breaks at spaces and hyphens. A word wider than the cell breaks between two letters, without a hyphen. Set `hyphens` to break long words by syllable instead. The cell gives the element in a slot its font and color, and styles nothing inside it. For a link, code or bold text in the description, put an `nldd-text` in the slot, with a `<p>` in it: that brings the inline styles of nldd-text, and its own rules for breaking. */
|
|
3357
3360
|
'nldd-description-cell': NlddElement<NLDDDescriptionCell, NlddDescriptionCellProps>;
|
|
3358
3361
|
/** A rule that visually separates sections of content. */
|
|
3359
3362
|
'nldd-divider': NlddElement<NLDDDivider, NlddDividerProps>;
|
|
@@ -3494,7 +3497,7 @@ declare module 'react' {
|
|
|
3494
3497
|
'nldd-stacked-split-view': NlddElement<NLDDStackedSplitView, NlddStackedSplitViewProps>;
|
|
3495
3498
|
/** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
|
|
3496
3499
|
'nldd-status-bar': NlddElement<NLDDStatusBar, NlddStatusBarProps>;
|
|
3497
|
-
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, no step is current and every step is still to do. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. A bar without a current step shows what is coming, for instance on the page before a process starts. Use that sparingly: what someone needs there is the button that starts the task, and a bar that shows no progress tells little. Mark a step as soon as the process has begun. Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for its label, and with more of them you count instead of seeing at a glance how far you are. For more steps, or steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. When the bar is no wider than the sm breakpoint, or than 120px per step, whichever is wider (a container query, so measured on the component itself rather than on the viewport), it folds into one line of text plus a segmented bar. A label that is too long for its step breaks at a syllable. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
|
|
3500
|
+
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, no step is current and every step is still to do. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. A bar without a current step shows what is coming, for instance on the page before a process starts. Use that sparingly: what someone needs there is the button that starts the task, and a bar that shows no progress tells little. Mark a step as soon as the process has begun. Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for its label, and with more of them you count instead of seeing at a glance how far you are. For more steps, or steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. When the bar is no wider than the sm breakpoint, or than 120px per step, whichever is wider (a container query, so measured on the component itself rather than on the viewport), it folds into one line of text plus a segmented bar. A label of 12 letters or more that is too long for its step breaks at a syllable, in either form; a shorter word stays whole, and the count beside the title in the folded form stays on one line. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
|
|
3498
3501
|
'nldd-step-bar': NlddElement<NLDDStepBar, NlddStepBarProps>;
|
|
3499
3502
|
/** One step in an `nldd-step-bar`. `status="current"` marks the step you are on; the parent derives the status of the others and the number of each, which live here as internal state rather than as public API. `past` and `future` override what is derived for this step. */
|
|
3500
3503
|
'nldd-step-bar-item': NlddElement<NLDDStepBarItem, NlddStepBarItemProps>;
|
|
@@ -3519,9 +3522,9 @@ declare module 'react' {
|
|
|
3519
3522
|
'nldd-tag': NlddElement<NLDDTag, NlddTagProps>;
|
|
3520
3523
|
/** 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> */
|
|
3521
3524
|
'nldd-term': NlddElement<NLDDTerm, NlddTermProps>;
|
|
3522
|
-
/** 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. */
|
|
3525
|
+
/** 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. Text breaks at spaces and hyphens. A word wider than the line, such as a long compound, a URL or a code, breaks between two letters, so no text runs out of a narrow box. Set `hyphens` to break long words by syllable instead, with a hyphen. A display size always does that for a word of at least 12 letters. A soft hyphen (`­`) in the text marks a break of your own at any size. */
|
|
3523
3526
|
'nldd-text': NlddElement<NLDDText, NlddTextProps>;
|
|
3524
|
-
/** 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. */
|
|
3527
|
+
/** 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. A cell of `width="full"` takes the room the row has left, but not less than 160px, so its text stays readable: about 20 characters. In a row too narrow for that the row runs wider than its box, which is the sign to hide a cell at that width (`hide-below`) or to combine two. In `nldd-table` the columns set the width, so a cell there has no floor. A `width="fit-content"` cell is as wide as its text on one line, and never narrower than its longest word. `min-width` always wins: `0` lets the cell shrink freely, so a long URL breaks; `min-content` keeps the longest word whole; `max-content` keeps the text on one line. A `max-width` below 160px lowers the floor with it. `fit-content` is for short text of a known length: a label, a status, an amount. A long value, such as a URL, goes in the `full` cell, beside a label of `fit-content`. The value then takes the room the label leaves and breaks within it, and the label only breaks between its words when the value would otherwise drop below its floor: ```html <nldd-list-item> <nldd-text-cell width="fit-content" text="Bestand"></nldd-text-cell> <nldd-spacer-cell></nldd-spacer-cell> <nldd-text-cell text="https://mijndienst.example.nl/aanvragen/A-1042/besluit"></nldd-text-cell> </nldd-list-item> ``` Text breaks at spaces and hyphens. A word wider than the cell breaks between two letters, without a hyphen. Set `hyphens` to break long words by syllable instead. */
|
|
3525
3528
|
'nldd-text-cell': NlddElement<NLDDTextCell, NlddTextCellProps>;
|
|
3526
3529
|
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed (the iA Writer / Kirby approach). No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. A toolbar is markup: put an nldd-toolbar in the `toolbar` slot, or anywhere on the page inside an element with `text-editor-for` set to the editor's id, and give each control a `text-editor-command`. The editor runs the command, gives focus back to the text and keeps the control's state: `selected` on a toggle, a menu item or a segmented-control item, the list type on a segmented control, and `disabled` where the command cannot run. Controls without the attribute, such as a send button, are left alone. There is no built-in toolbar: which controls, in what order, is the app's. A consumer can also drive formatting itself via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Enter in a list or a quote puts the next marker down, and Enter on an empty item ends the list, or steps one level out of a nested one. A marker typed where the editor already put one does not stack: `- ` on a fresh `- `, or right after the bullet of an item with text, stays one bullet, `2. ` on `2. ` stays `2. `, `> ` on `> ` one quote. `1. ` on a later number starts a numbered list under the item above, and a marker of the other kind takes the place of the editor's: `1. ` on `- ` makes a numbered list at that level. Spaces typed before a marker nest it one level under the item above, at the indent markdown needs (2 spaces under `- `, 3 under `1. `); Cmd/Ctrl+] does the same. Backspace right after a marker is the way back: a nested item steps one level out, an item on the first level leaves the list. Cmd/Ctrl+Z brings back what was typed. Pasted text and a value the app sets stay as they are. With the marks hidden (the default) a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does: the outcome stays while the pointer or the focus is on the button, and goes when you leave it, press Escape or go on in the editor. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. applyChanges(changes) takes text from outside, such as what a collaborator types, without moving the caret or entering the user's undo history. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href="…" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. That holds whatever the line starts with, so ` - punt` is no list and ` # kop` no heading; in a list the four spaces count from the text of the item. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. Text pasted at the start of a line becomes the markdown it looks like: the indent all its lines share goes, a bullet from Word or Outlook (`•` and a tab) becomes `- `, and a pasted list nests the way typing does (with indent of its own one level under the item above, without it at the level of the empty item it lands on). A list of several lines pasted at the end of a line with text starts on the next line. Cmd/Ctrl+Z brings back the text as pasted, and Cmd/Ctrl+Shift+V pastes it as it is. Nothing changes in a code block. */
|
|
3527
3530
|
'nldd-text-editor': NlddElement<NLDDTextEditor, NlddTextEditorProps>;
|
|
@@ -3530,9 +3533,9 @@ declare module 'react' {
|
|
|
3530
3533
|
'nldd-time-field': NlddElement<NLDDTimeField, NlddTimeFieldProps>;
|
|
3531
3534
|
/** 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. There the field sets `value`, `min`, `max` and `step`; set them on the field. Values are always 24-hour `HH:mm`. Scrolling is choosing: whatever comes to rest in the middle is the value. The keyboard drives that same selection, because that is what a wheel is: hour and minute are each a spinbutton. The columns underneath are aria-hidden, so the same values are not read out twice. */
|
|
3532
3535
|
'nldd-time-picker': NlddElement<NLDDTimePicker, NlddTimePickerProps>;
|
|
3533
|
-
/** 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. */
|
|
3536
|
+
/** A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text. The slot takes the element the attribute draws: a heading, or a `<p>` for a title that is no heading, and a `<p>` for the overline and the supporting text. Put inline markup inside that element. A filled slot takes the place of the attribute. Each of the three chooses for itself, so a heading in the slot can go with plain `supporting-text`. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. What is in a slot is in the HTML the server sends; what comes from an attribute is drawn in the browser. On a page of a website, which search engines, link previews and reader mode read without script, put the heading in the default slot. In an application `text` with `heading-level` is enough. Inline elements in a slotted heading or `<p>` (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own. The overline and the supporting text are not hyphenated: a word wider than their line breaks between two letters, as in `nldd-text`. */
|
|
3534
3537
|
'nldd-title': NlddElement<NLDDTitle, NlddTitleProps>;
|
|
3535
|
-
/** 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. */
|
|
3538
|
+
/** 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. A cell of `width="full"` takes the room the row has left, but not less than 160px, so its text stays readable: about 20 characters. In a row too narrow for that the row runs wider than its box, which is the sign to hide a cell at that width (`hide-below`) or to combine two. In `nldd-table` the columns set the width, so a cell there has no floor. A `width="fit-content"` cell is as wide as its text on one line, and never narrower than its longest word. `min-width` always wins: `0` lets the cell shrink freely, so a long URL breaks; `min-content` keeps the longest word whole; `max-content` keeps the text on one line. A `max-width` below 160px lowers the floor with it. Text breaks at spaces and hyphens. A word wider than the cell breaks between two letters, without a hyphen. Set `hyphens` to break long words by syllable instead. */
|
|
3536
3539
|
'nldd-title-cell': NlddElement<NLDDTitleCell, NlddTitleCellProps>;
|
|
3537
3540
|
/** 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. */
|
|
3538
3541
|
'nldd-toggle-button': NlddElement<NLDDToggleButton, NlddToggleButtonProps>;
|