@nldd/design-system 0.28.1 → 0.29.1
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 +1909 -684
- package/dist/assets/styles/shadow-resets.d.ts +7 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +17 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- 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-qNc04J73.js → accordion-BIgPiBgT.js} +5 -4
- package/dist/cdn/chunks/{accordion-item-C6M7whqP.js → accordion-item-YHiK4fhb.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-NvfhYycS.js → activity-indicator-BiuU--e6.js} +23 -31
- package/dist/cdn/chunks/{admonition-CrFn5dn8.js → admonition-CpxxWW6f.js} +21 -20
- package/dist/cdn/chunks/{avatar-De4nVQAy.js → avatar-DeeEjbzl.js} +46 -45
- package/dist/cdn/chunks/{avatar-group-cS_7WjsC.js → avatar-group-Ey17PhOt.js} +16 -16
- package/dist/cdn/chunks/{badge-BNmnWgNJ.js → badge-B0K1AVec.js} +5 -10
- package/dist/cdn/chunks/{banner-CJ0VfDQl.js → banner-YQpzU7Yz.js} +27 -33
- package/dist/cdn/chunks/{bar-split-view-DJZ_RMrc.js → bar-split-view-DNWrGLv3.js} +7 -7
- package/dist/cdn/chunks/{blockquote-Fbk-Cz-z.js → blockquote-zBgtNbdZ.js} +32 -29
- package/dist/cdn/chunks/{box-DUjTdMwj.js → box-CLEd1Y-1.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DvQfnS-r.js → breadcrumbs-DCwiSLxQ.js} +44 -51
- package/dist/cdn/chunks/{button-BiZEK2qo.js → button-DpSJe6ns.js} +84 -89
- package/dist/cdn/chunks/{button-bar-BD8YYSya.js → button-bar-Bw46AWOo.js} +3 -3
- package/dist/cdn/chunks/{button-group-BDgwtxiB.js → button-group-Bd5CZm4t.js} +2 -2
- package/dist/cdn/chunks/{card-7YW4G3mN.js → card-xq9jqLek.js} +20 -19
- package/dist/cdn/chunks/{cell-D4rzlHiL.js → cell-CNGu9Srs.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BAXC8LxT.js → checkbox-DJU2ntYs.js} +6 -5
- package/dist/cdn/chunks/{checkbox-field-DokK3uET.js → checkbox-field-36mh4uD-.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-dYi8Qw-Z.js → checkbox-group-CaoyYQC1.js} +3 -3
- package/dist/cdn/chunks/{class-map-Dk5rXpmX.js → class-map-07EioFee.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Uc5WnSyE.js → code-editor-CqHXUdbC.js} +6 -5
- package/dist/cdn/chunks/{code-viewer-DmaSO8TW.js → code-viewer-ro55V04o.js} +42 -58
- package/dist/cdn/chunks/{codemirror-input-yuu4_CF5.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-DRkMikEK.js → collection-DVED8Kff.js} +13 -15
- package/dist/cdn/chunks/{combo-box-BfgDCM9z.js → combo-box-CMdGMQ8q.js} +13 -15
- package/dist/cdn/chunks/{container-Ce02W6bB.js → container-BxfHTSXb.js} +2 -2
- package/dist/cdn/chunks/{custom-element-B7CAmse4.js → custom-element-7tLnKgZE.js} +1 -1
- package/dist/cdn/chunks/{date-field-D0qFC7IW.js → date-field-KrAEvvJg.js} +91 -104
- package/dist/cdn/chunks/{date-picker-DwXIznN6.js → date-picker-CeyTd4Mj.js} +134 -128
- package/dist/cdn/chunks/{decorate-CrwTiRI4.js → decorate-CIC8fGPN.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Dks9Tazd.js → described-by-mixin-DSeADwWP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-vdXLTWdM.js → description-cell-DDjPf92m.js} +42 -26
- package/dist/cdn/chunks/{dev-checks-C7AQOQdy.js → dev-checks-DE09CTk9.js} +20 -5
- package/dist/cdn/chunks/{directive-helpers-DhYhHq0V.js → directive-helpers-DUlH8eNt.js} +1 -1
- package/dist/cdn/chunks/{dist-BF_HsA1F.js → dist-3XSbEdbz.js} +1 -1
- package/dist/cdn/chunks/{dist-fQWTQex_.js → dist-BV06hHwA.js} +3 -3
- package/dist/cdn/chunks/{dist-CpFmom1e.js → dist-CLyXDlop.js} +1 -1
- package/dist/cdn/chunks/{dist-BO8LBhZ9.js → dist-CanlbdZP.js} +1 -1
- package/dist/cdn/chunks/{dist-Ef-Tq6YF.js → dist-Cku1NQ9X.js} +2 -2
- package/dist/cdn/chunks/{dist-DKwVzsKb.js → dist-DJ_2VKiG.js} +3 -3
- package/dist/cdn/chunks/{dist-DA8xWaRD.js → dist-Dpc1YfbE.js} +1 -1
- package/dist/cdn/chunks/{dist-C3SPGWp1.js → dist-DsE-63gX.js} +1 -1
- package/dist/cdn/chunks/{dist-DsI2zIZX.js → dist-DtpgX9L8.js} +2 -2
- package/dist/cdn/chunks/{dist-BStcClNc.js → dist-DuaPU_hA.js} +2 -2
- package/dist/cdn/chunks/{dist-L5MKtblc.js → dist-lUsXGXhR.js} +1 -1
- package/dist/cdn/chunks/{divider-DtcYfGdC.js → divider-BixGehzs.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C16nriDX.js → document-tab-bar-BlP7NEb9.js} +57 -65
- package/dist/cdn/chunks/{dropdown-imPdtMWv.js → dropdown-DpCdMFod.js} +12 -11
- package/dist/cdn/chunks/{file-field-KvBiDQDG.js → file-field-CYjsw4xy.js} +127 -133
- package/dist/cdn/chunks/{form-D1EnbYQi.js → form-DDB03czp.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BVb12cWB.js → form-actions-DZgcVawx.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-1aHgl6CN.js → form-associated-mixin-9cC5HSCG.js} +2 -2
- package/dist/cdn/chunks/{form-field-C7IKuhqV.js → form-field-CuTa78j4.js} +62 -57
- package/dist/cdn/chunks/{form-section-C3EY5PYR.js → form-section-J2if8kVt.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-D0Eg6xrZ.js → full-bleed-section-enjghRsm.js} +3 -3
- package/dist/cdn/chunks/{hero-CLt5Cw5O.js → hero-AHBPM3ks.js} +14 -14
- package/dist/cdn/chunks/{icon-Dm2x9BcO.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-CBEWhco-.js → icon-button-CkNgX7Ra.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-DXxd6Nry.js → icon-cell-qieQ2vyq.js} +26 -27
- package/dist/cdn/chunks/{identity-BeTWWEj8.js → identity-CnYwgyF7.js} +24 -21
- package/dist/cdn/chunks/{if-defined-mF0X0Rdi.js → if-defined-BG5WQE1B.js} +1 -1
- package/dist/cdn/chunks/{image-COSXwiWa.js → image--K2M19ce.js} +57 -57
- package/dist/cdn/chunks/{inline-dialog-DIOgk8bK.js → inline-dialog-CfiC1tbk.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-BZNVdvuU.js → just-in-time-education-Dxca2LqF.js} +24 -32
- package/dist/cdn/chunks/{kanban-Cck2OXzv.js → kanban-Dwb93dgS.js} +6 -6
- package/dist/cdn/chunks/{kanban-column--KK3DP8d.js → kanban-column-Br4GovWU.js} +28 -33
- package/dist/cdn/chunks/{keyboard-shortcut-CuyFIf1M.js → keyboard-shortcut-a-CkABX1.js} +68 -73
- package/dist/cdn/chunks/{languages-AgQxW3ST.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{layout-pass-Cq85kSHX.js → layout-pass-B2ALRYc9.js} +14 -4
- package/dist/cdn/chunks/{link-Dwx2iVe3.js → link-CROYAF4K.js} +37 -44
- package/dist/cdn/chunks/{link-group-C1W4fywA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DLzBphoL.js → list-D_BWUBh4.js} +41 -51
- package/dist/cdn/chunks/{list-item-C_ehVVWB.js → list-item-DeFrncLo.js} +116 -127
- package/dist/cdn/chunks/{list-item-segment-BSKAGZX1.js → list-item-segment-C1X5v2_Z.js} +35 -42
- package/dist/cdn/chunks/{menu-C1PAGWta.js → menu-CkMJUE0H.js} +13 -19
- package/dist/cdn/chunks/{menu-bar-0nenrPh7.js → menu-bar-B3F-QjLV.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-CxwtcbeA.js → menu-bar-item-CyixR7Fi.js} +33 -41
- package/dist/cdn/chunks/{menu-divider-FTcoHy0o.js → menu-divider-uBPiSPsv.js} +3 -3
- package/dist/cdn/chunks/{menu-group-CbuJhLxI.js → menu-group-BXS5r-lc.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BMblp58r.js → menu-item-CORxUt3u.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DVwVuOZ7.js → menu.template-NyA_JtUm.js} +63 -64
- package/dist/cdn/chunks/{modal-dialog-Bd0UpTKp.js → modal-dialog-Dt5uenA0.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-C_Mrqdc7.js → multi-line-text-field-CkCvyJov.js} +7 -6
- package/dist/cdn/chunks/{navigation-split-view-DI6bkyO8.js → navigation-split-view-Clp3Camr.js} +7 -7
- package/dist/cdn/chunks/{notification-DlP3Jqyg.js → notification-B36JO2cS.js} +102 -101
- package/dist/cdn/chunks/{number-field-BJ6CkhId.js → number-field-Cjrwd3G0.js} +86 -61
- package/dist/cdn/chunks/{one-half-one-half-section-DHCUh_wz.js → one-half-one-half-section-Bc4rFjtM.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DYTm8bKQ.js → one-third-two-thirds-section-DikIdU3X.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DHuL7IM1.js → one-time-code-field-CqNmLld4.js} +29 -23
- package/dist/cdn/chunks/{overflow-menu-ziAYinfd.js → overflow-menu-6tdlRjhY.js} +1 -1
- package/dist/cdn/chunks/{page-CN9aT0-o.js → page-CpdGz0K6.js} +23 -16
- package/dist/cdn/chunks/{page-footer-BHk3XPcl.js → page-footer-_W5dGcQt.js} +46 -47
- package/dist/cdn/chunks/{page-section-mixin-BCWdaBe-.js → page-section-mixin-DSdHIkwR.js} +3 -3
- package/dist/cdn/chunks/{pagination-TG6S64c8.js → pagination-DJqmp7nt.js} +9 -12
- package/dist/cdn/chunks/{password-field-WlBkV6Zk.js → password-field-JKBHK_MQ.js} +12 -14
- package/dist/cdn/chunks/picker-popover-controller-dE7AINjc.js +15 -0
- package/dist/cdn/chunks/{popover-SPjzHEBv.js → popover-LljgfgHS.js} +8 -11
- package/dist/cdn/chunks/{progress-bar-y1V2-yVB.js → progress-bar-fILD82bn.js} +48 -46
- package/dist/cdn/chunks/{progress-circle-CmHdUkXN.js → progress-circle-72YbT9v1.js} +50 -51
- package/dist/cdn/chunks/{radio-button-0w_6MBnr.js → radio-button-B45WY4fZ.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-DRxHUlU-.js → radio-button-field-CG2ljZ-j.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-BOSrS8Cw.js → radio-button-group-DgQHIiXR.js} +3 -3
- package/dist/cdn/chunks/{render-marked-B37AmEcK.js → render-marked-vXU387IN.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNexvOly.js → reorder-handle-cell-Bc0LM08A.js} +7 -10
- package/dist/cdn/chunks/{reorder-handle-mixin-DR6s48h0.js → reorder-handle-mixin-DIkeFpRU.js} +2 -2
- package/dist/cdn/chunks/{repeat-DmJWskI3.js → repeat-Cy1a-r4p.js} +2 -2
- package/dist/cdn/chunks/{rich-text-Dt9MNeaN.js → rich-text-BZ6J0VNi.js} +6 -9
- package/dist/cdn/chunks/{row-header-mixin-CACRXO0G.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/sanitize-url-EEu5iGkI.js +7 -0
- package/dist/cdn/chunks/{scroll-fade-CnG9vdGO.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js} +1 -1
- package/dist/cdn/chunks/{search-field-DHwGMif1.js → search-field-BaPPorsw.js} +14 -16
- package/dist/cdn/chunks/{segmented-control-DhEmavt0.js → segmented-control-CY7eFebV.js} +10 -11
- package/dist/cdn/chunks/{shadow-resets-B5O9JTmC.js → shadow-resets-kAFcguCG.js} +13 -3
- package/dist/cdn/chunks/{sheet-BLe_3_DE.js → sheet-EvUuqzd5.js} +3 -3
- package/dist/cdn/chunks/{shell-DqPhGCqs.js → shell-ZiZriusi.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-DCAuNLWx.js → side-by-side-split-view-qj871uv2.js} +6 -6
- package/dist/cdn/chunks/{sidebar-section-nC17BdDf.js → sidebar-section-C2KLgpwu.js} +77 -77
- package/dist/cdn/chunks/{simple-section-C2XC7_dY.js → simple-section-CVQRynxS.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DVUTni1o.js → skip-link-CpxEwJKH.js} +28 -26
- package/dist/cdn/chunks/{slider-D6bcOyZe.js → slider-DHY89yV6.js} +13 -15
- package/dist/cdn/chunks/{spacer-D39nYCkZ.js → spacer-BDRDeRQr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BWIkzpvO.js → spacer-cell-DvUxqmbS.js} +4 -4
- package/dist/cdn/chunks/{split-button-QFO3hzQ4.js → split-button-DGzX2W4w.js} +12 -13
- package/dist/cdn/chunks/{split-view-divider-BwBUUVjD.js → split-view-divider-BQdN8I8c.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-yNPky0NT.js → stacked-split-view-CdXyXpzb.js} +6 -6
- package/dist/cdn/chunks/{static-html-CTzABBaH.js → static-html-ooiG7-by.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CLC37EL9.js → status-bar-S5IvBhAD.js} +5 -5
- package/dist/cdn/chunks/{step-bar-BhgHHkDX.js → step-bar-pkYf_gF8.js} +36 -43
- package/dist/cdn/chunks/{step-cell-DC2qTAyk.js → step-cell-3yG-UCmv.js} +5 -5
- package/dist/cdn/chunks/{stepper-B-cc2_Sm.js → stepper-DIufBp3c.js} +10 -13
- package/dist/cdn/chunks/{style-map-HtOjYtU6.js → style-map-DP8rklU9.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-k_4WmoQz.js → swatch-picker-uyMsXHeI.js} +7 -6
- package/dist/cdn/chunks/{switch-CkeeQxIb.js → switch-DQ3UDIy5.js} +6 -5
- package/dist/cdn/chunks/{switch-field-Bz3JEf0A.js → switch-field-BXH62I0E.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-A1J5hAqM.js → tab-bar-B2m7RGKe.js} +63 -61
- package/dist/cdn/chunks/{table-D_AIkENk.js → table-Dtg4t_dM.js} +44 -45
- package/dist/cdn/chunks/{tag-CSEVQj4T.js → tag-BdB8MDQQ.js} +21 -19
- package/dist/cdn/chunks/{term-DuVHCQcO.js → term-DD2K8Qqb.js} +15 -18
- package/dist/cdn/chunks/{text-CBH-FTlq.js → text-C8iP63bA.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D60E-KiB.js → text-cell-1pWwBLLI.js} +55 -42
- package/dist/cdn/chunks/{text-editor-CFesnlv8.js → text-editor-DjNky4l-.js} +615 -629
- package/dist/cdn/chunks/{text-field-ClvBNmw_.js → text-field-ClVrHYGz.js} +7 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-D1ueoBOt.js → time-field-CrwLpzZp.js} +49 -55
- package/dist/cdn/chunks/{time-picker-ttlWNV2I.js → time-picker-BYhEzGJL.js} +103 -98
- package/dist/cdn/chunks/{title-D2otK52V.js → title-DdqeERnM.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BOolNM8K.js → title-cell-C4U3rN33.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CzWCZusb.js → toggle-button-CknaEM8j.js} +73 -66
- package/dist/cdn/chunks/{toggle-button-group-BUKU9xiy.js → toggle-button-group-CxyhERqD.js} +3 -3
- package/dist/cdn/chunks/{token-HxBj8tdv.js → token-I0vH42iy.js} +13 -15
- package/dist/cdn/chunks/{token-field-DHAfga9R.js → token-field-B1sAqN0B.js} +17 -19
- package/dist/cdn/chunks/{toolbar-CR6uWzjc.js → toolbar-DRIyU8-Z.js} +48 -54
- package/dist/cdn/chunks/{toolbar-item-M5kEBN_1.js → toolbar-item-D1JDaFal.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-2XyAXFDG.js → toolbar-title-D7CCOmDz.js} +7 -10
- package/dist/cdn/chunks/{toolbar.styles-SLbsPK33.js → toolbar.styles-CXjPigMk.js} +10 -18
- package/dist/cdn/chunks/{tooltip-yN6v0-a6.js → tooltip-5clp5S3T.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-DSv3hYF4.js → top-navigation-bar-CEuIAOoy.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-Cs93GAbh.js → top-title-bar-M3NiRgr_.js} +14 -7
- package/dist/cdn/chunks/{two-thirds-one-third-section-DtrkuHxs.js → two-thirds-one-third-section-BJGAw7Mq.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BrEOIlrc.js → validation-list-CTb7X_Gq.js} +30 -31
- package/dist/cdn/chunks/{visibility-mixin-CklY4qL7.js → visibility-mixin-BgnkZDZM.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Clb3JvVO.js → visually-hidden-B4_jKNA7.js} +2 -2
- package/dist/cdn/chunks/{window-CVRtBBjQ.js → window-BmxrtW9P.js} +7 -10
- package/dist/cdn/chunks/with-translations-DSfo7eL-.js +28 -0
- package/dist/components/actions/button/button.d.ts +6 -9
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +5 -11
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +6 -9
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +5 -8
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +10 -13
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +3 -19
- 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 +25 -22
- 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.d.ts +5 -4
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +2 -10
- package/dist/components/actions/split-button/split-button.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/actions/toolbar/toolbar-title.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +15 -25
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +2 -10
- package/dist/components/actions/toolbar/toolbar.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/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.styles.js +1 -0
- package/dist/components/content/accordion/accordion.styles.js.map +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 +14 -17
- 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/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +2 -1
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +5 -8
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +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 +16 -5
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +5 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -16
- package/dist/components/content/code-viewer/code-viewer.styles.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.d.ts +9 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +9 -17
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +11 -8
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +15 -14
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +18 -25
- 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/term/term.d.ts +6 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +2 -10
- package/dist/components/content/term/term.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 +9 -6
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +7 -14
- 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.d.ts +5 -6
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +2 -11
- package/dist/components/forms/form-field/form-field.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.d.ts +12 -4
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +2 -9
- package/dist/components/forms/validation-list/validation-list.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/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
- package/dist/components/inputs/checkbox/checkbox.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/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +1 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +7 -4
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +2 -10
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +26 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -21
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -12
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +128 -62
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +19 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +3 -8
- package/dist/components/inputs/date-picker/date-picker.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.d.ts +75 -5
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -10
- package/dist/components/inputs/file-field/file-field.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 +6 -9
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +16 -8
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +18 -19
- 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 +30 -12
- 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 +34 -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/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +11 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +2 -10
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -0
- package/dist/components/inputs/password-field/password-field.styles.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/search-field/search-field.d.ts +7 -5
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -11
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +3 -4
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +7 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +2 -10
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +1 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +9 -5
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -11
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +20 -23
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -0
- package/dist/components/inputs/switch/switch.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.d.ts +16 -10
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -15
- package/dist/components/inputs/text-editor/text-editor.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 +7 -20
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +16 -5
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +5 -18
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +18 -4
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +15 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +7 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +11 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +1 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +0 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -12
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +13 -4
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +2 -9
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +3 -2
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +6 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +7 -4
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +1 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +9 -12
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -7
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +15 -6
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +30 -12
- 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.d.ts +5 -4
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +2 -12
- package/dist/components/layout/page-footer/page-footer.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/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +7 -7
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +13 -13
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +4 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +25 -22
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +5 -8
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -14
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -8
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -14
- package/dist/components/layout/window/window.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/reorder-handle-cell/reorder-handle-cell.d.ts +3 -5
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -11
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.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/list/list.d.ts +13 -5
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +2 -11
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -9
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +4 -14
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -10
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +2 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +5 -4
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +15 -21
- package/dist/components/lists-and-tables/table/table.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 +9 -6
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +6 -14
- 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 +10 -9
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -9
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +2 -10
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -6
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +9 -4
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -9
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +4 -7
- package/dist/components/navigation/skip-link/skip-link.d.ts.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/tab-bar/tab-bar.d.ts +3 -6
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +25 -17
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +8 -11
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.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/activity-indicator/activity-indicator.d.ts +5 -4
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -7
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts.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.d.ts +5 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -10
- package/dist/components/status-and-feedback/banner/banner.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/just-in-time-education/just-in-time-education.d.ts +4 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +2 -10
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +4 -7
- package/dist/components/status-and-feedback/notification/notification.d.ts.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/notification/notifications-area.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +5 -0
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +9 -6
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +3 -11
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -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.d.ts +8 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -9
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.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 +12 -12
- 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 +8 -15
- 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 +1684 -1704
- package/dist/types/react.d.ts +79 -70
- package/dist/types/vue.d.ts +95 -85
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +20 -5
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/layout-pass.d.ts +3 -1
- package/dist/utilities/layout-pass.d.ts.map +1 -1
- package/dist/utilities/layout-pass.js +26 -3
- package/dist/utilities/layout-pass.js.map +1 -1
- package/dist/utilities/picker-popover-controller.d.ts +25 -0
- package/dist/utilities/picker-popover-controller.d.ts.map +1 -0
- package/dist/utilities/picker-popover-controller.js +33 -0
- package/dist/utilities/picker-popover-controller.js.map +1 -0
- package/dist/utilities/sanitize-url.d.ts +11 -5
- package/dist/utilities/sanitize-url.d.ts.map +1 -1
- package/dist/utilities/sanitize-url.js +13 -9
- package/dist/utilities/sanitize-url.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +14 -9
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +6 -5
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/package.json +1 -1
- package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +0 -7
- package/dist/cdn/chunks/translations-1C8iw2u1.js +0 -14
- package/dist/cdn/chunks/with-translations-CaLhynTn.js +0 -16
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
|
};
|
|
@@ -668,12 +667,12 @@ type NlddComboBoxProps = {
|
|
|
668
667
|
'readonly'?: true;
|
|
669
668
|
/** Disabled state */
|
|
670
669
|
'disabled'?: true;
|
|
671
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
672
|
-
'translations'?: NLDDComboBox['translations'];
|
|
673
670
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
674
671
|
'accessible-description'?: NLDDComboBox['accessibleDescription'];
|
|
675
672
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
676
673
|
'accessible-described-by'?: NLDDComboBox['accessibleDescribedBy'];
|
|
674
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
675
|
+
'translations'?: NLDDComboBox['translations'];
|
|
677
676
|
};
|
|
678
677
|
|
|
679
678
|
type NlddContainerProps = {
|
|
@@ -812,12 +811,12 @@ type NlddDateFieldProps = {
|
|
|
812
811
|
'readonly'?: true;
|
|
813
812
|
/** Disabled state. */
|
|
814
813
|
'disabled'?: true;
|
|
815
|
-
/** Translations; unspecified keys fall back to Dutch. */
|
|
816
|
-
'translations'?: NLDDDateField['translations'];
|
|
817
814
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
818
815
|
'accessible-description'?: NLDDDateField['accessibleDescription'];
|
|
819
816
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
820
817
|
'accessible-described-by'?: NLDDDateField['accessibleDescribedBy'];
|
|
818
|
+
/** Translations; unspecified keys fall back to Dutch. */
|
|
819
|
+
'translations'?: NLDDDateField['translations'];
|
|
821
820
|
};
|
|
822
821
|
|
|
823
822
|
type NlddDatePickerProps = {
|
|
@@ -831,6 +830,8 @@ type NlddDatePickerProps = {
|
|
|
831
830
|
'first-day-of-week'?: NLDDDatePicker['firstDayOfWeek'];
|
|
832
831
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
833
832
|
'invalid'?: true;
|
|
833
|
+
/** Name for form submission; the picker submits on its own, so it works in a form without an nldd-date-field. A single date submits as ISO, a period as an ISO 8601 interval `start/end`, and as empty until both ends are set. */
|
|
834
|
+
'name'?: NLDDDatePicker['name'];
|
|
834
835
|
/** The chosen date as ISO (yyyy-mm-dd). Only without `range`. */
|
|
835
836
|
'value'?: NLDDDatePicker['value'];
|
|
836
837
|
/** Start of the period as ISO. Only with `range`. */
|
|
@@ -854,7 +855,7 @@ type NlddDatePickerProps = {
|
|
|
854
855
|
type NlddDescriptionCellProps = {
|
|
855
856
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
856
857
|
'width'?: NLDDDescriptionCell['width'];
|
|
857
|
-
/** Minimum width
|
|
858
|
+
/** 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
859
|
'min-width'?: NLDDDescriptionCell['minWidth'];
|
|
859
860
|
/** Maximum width as CSS length (e.g. '300px', '20rem') */
|
|
860
861
|
'max-width'?: NLDDDescriptionCell['maxWidth'];
|
|
@@ -862,6 +863,8 @@ type NlddDescriptionCellProps = {
|
|
|
862
863
|
'min-height'?: NLDDDescriptionCell['minHeight'];
|
|
863
864
|
/** Vertical alignment (default: 'center') */
|
|
864
865
|
'vertical-alignment'?: NLDDDescriptionCell['verticalAlignment'];
|
|
866
|
+
/** 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. */
|
|
867
|
+
'hyphens'?: true;
|
|
865
868
|
/** Makes this cell the grip that drags its row in a `reorderable` nldd-list. The cell shows only while the row is `reorderable`. */
|
|
866
869
|
'reorder-handle'?: NLDDDescriptionCell['reorderHandle'];
|
|
867
870
|
/** 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 +909,6 @@ type NlddDropdownProps = {
|
|
|
906
909
|
'width'?: NLDDDropdown['width'];
|
|
907
910
|
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
908
911
|
'accessible-label'?: NLDDDropdown['accessibleLabel'];
|
|
909
|
-
/** Reflects whether the native picker popup is open (driven internally) */
|
|
910
|
-
'expanded'?: true;
|
|
911
912
|
/** Marks the field as valid */
|
|
912
913
|
'valid'?: true;
|
|
913
914
|
/** Marks the field as invalid */
|
|
@@ -947,12 +948,12 @@ type NlddFileFieldProps = {
|
|
|
947
948
|
'required'?: true;
|
|
948
949
|
/** Disabled state */
|
|
949
950
|
'disabled'?: true;
|
|
950
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
951
|
-
'translations'?: NLDDFileField['translations'];
|
|
952
951
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
953
952
|
'accessible-description'?: NLDDFileField['accessibleDescription'];
|
|
954
953
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
955
954
|
'accessible-described-by'?: NLDDFileField['accessibleDescribedBy'];
|
|
955
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
956
|
+
'translations'?: NLDDFileField['translations'];
|
|
956
957
|
};
|
|
957
958
|
|
|
958
959
|
type NlddFormProps = {
|
|
@@ -1046,6 +1047,10 @@ type NlddHeroProps = {
|
|
|
1046
1047
|
'layout'?: NLDDHero['layout'];
|
|
1047
1048
|
/** Body max-width; 'full' removes the bound (section API) */
|
|
1048
1049
|
'width'?: NLDDHero['width'];
|
|
1050
|
+
/** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
|
|
1051
|
+
'media-height'?: NLDDHero['mediaHeight'];
|
|
1052
|
+
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1053
|
+
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1049
1054
|
/** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
|
|
1050
1055
|
'main-width'?: NLDDHero['mainWidth'];
|
|
1051
1056
|
/** With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image */
|
|
@@ -1060,10 +1065,6 @@ type NlddHeroProps = {
|
|
|
1060
1065
|
'media-sizes'?: NLDDHero['mediaSizes'];
|
|
1061
1066
|
/** Alt text for media-src; empty means decorative */
|
|
1062
1067
|
'media-alt'?: NLDDHero['mediaAlt'];
|
|
1063
|
-
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1064
|
-
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1065
|
-
/** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
|
|
1066
|
-
'media-height'?: NLDDHero['mediaHeight'];
|
|
1067
1068
|
/** Surface behind the hero (section API) */
|
|
1068
1069
|
'background'?: NLDDHero['background'];
|
|
1069
1070
|
'height'?: NLDDHero['height'];
|
|
@@ -1204,8 +1205,10 @@ type NlddImageProps = {
|
|
|
1204
1205
|
'shape'?: NLDDImage['shape'];
|
|
1205
1206
|
/** Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own. */
|
|
1206
1207
|
'width'?: NLDDImage['width'];
|
|
1207
|
-
/**
|
|
1208
|
+
/** Height in pixels as a layout hint for the `<img>`, not a display height. With a `width` in pixels the browser takes the ratio of the two and reserves the space before the image loads; the shown height follows from the width. With any other `width` it does nothing: reserve space with `aspect-ratio` instead. */
|
|
1208
1209
|
'height'?: NLDDImage['height'];
|
|
1210
|
+
/** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
|
|
1211
|
+
'aspect-ratio'?: NLDDImage['aspectRatio'];
|
|
1209
1212
|
/** Image URL */
|
|
1210
1213
|
'src'?: NLDDImage['src'];
|
|
1211
1214
|
/** Responsive source set */
|
|
@@ -1214,8 +1217,6 @@ type NlddImageProps = {
|
|
|
1214
1217
|
'sizes'?: NLDDImage['sizes'];
|
|
1215
1218
|
/** Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own. */
|
|
1216
1219
|
'alt'?: NLDDImage['alt'];
|
|
1217
|
-
/** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
|
|
1218
|
-
'aspect-ratio'?: NLDDImage['aspectRatio'];
|
|
1219
1220
|
/** default: 'cover' */
|
|
1220
1221
|
'object-fit'?: NLDDImage['objectFit'];
|
|
1221
1222
|
/** default: 'center' */
|
|
@@ -1671,14 +1672,14 @@ type NlddNotificationProps = {
|
|
|
1671
1672
|
};
|
|
1672
1673
|
|
|
1673
1674
|
type NlddNumberFieldProps = {
|
|
1675
|
+
/** 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. */
|
|
1676
|
+
'spin-buttons'?: NLDDNumberField['spinButtons'];
|
|
1674
1677
|
/** Size: 'sm' | 'md' (default: 'md') */
|
|
1675
1678
|
'size'?: NLDDNumberField['size'];
|
|
1676
1679
|
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
1677
1680
|
'width'?: NLDDNumberField['width'];
|
|
1678
1681
|
/** Accessible label (aria-label) forwarded to the native input */
|
|
1679
1682
|
'accessible-label'?: NLDDNumberField['accessibleLabel'];
|
|
1680
|
-
/** When set, hides the decrement and increment buttons */
|
|
1681
|
-
'hide-spin-buttons'?: true;
|
|
1682
1683
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
1683
1684
|
'invalid'?: true;
|
|
1684
1685
|
/** Name for form submission */
|
|
@@ -1693,14 +1694,16 @@ type NlddNumberFieldProps = {
|
|
|
1693
1694
|
'step'?: NLDDNumberField['step'];
|
|
1694
1695
|
/** A value has to be filled in. An empty field is then invalid. */
|
|
1695
1696
|
'required'?: true;
|
|
1696
|
-
/**
|
|
1697
|
+
/** Readonly state: the value shows and submits but cannot be changed. The +/- buttons are hidden, and the field keeps its width */
|
|
1698
|
+
'readonly'?: true;
|
|
1699
|
+
/** Disabled state. The +/- buttons are hidden, and the field keeps its width */
|
|
1697
1700
|
'disabled'?: true;
|
|
1698
|
-
/** Translations; unspecified keys fall back to Dutch */
|
|
1699
|
-
'translations'?: NLDDNumberField['translations'];
|
|
1700
1701
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1701
1702
|
'accessible-description'?: NLDDNumberField['accessibleDescription'];
|
|
1702
1703
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1703
1704
|
'accessible-described-by'?: NLDDNumberField['accessibleDescribedBy'];
|
|
1705
|
+
/** Translations; unspecified keys fall back to Dutch */
|
|
1706
|
+
'translations'?: NLDDNumberField['translations'];
|
|
1704
1707
|
};
|
|
1705
1708
|
|
|
1706
1709
|
type NlddOneHalfOneHalfSectionProps = {
|
|
@@ -1778,6 +1781,10 @@ type NlddOneThirdTwoThirdsSectionProps = {
|
|
|
1778
1781
|
};
|
|
1779
1782
|
|
|
1780
1783
|
type NlddOneTimeCodeFieldProps = {
|
|
1784
|
+
/** How many characters the code has (default: 6). */
|
|
1785
|
+
'length'?: NLDDOneTimeCodeField['length'];
|
|
1786
|
+
/** 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. */
|
|
1787
|
+
'format'?: NLDDOneTimeCodeField['format'];
|
|
1781
1788
|
/** '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
1789
|
'size'?: NLDDOneTimeCodeField['size'];
|
|
1783
1790
|
/** 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 +1803,6 @@ type NlddOneTimeCodeFieldProps = {
|
|
|
1796
1803
|
'value'?: NLDDOneTimeCodeField['value'];
|
|
1797
1804
|
/** What the code holds: 'numeric' (default, digits only, raises the number keyboard) | 'alphanumeric' (letters and digits) */
|
|
1798
1805
|
'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
1806
|
/** Required state. A code that is not complete counts as invalid too. */
|
|
1804
1807
|
'required'?: true;
|
|
1805
1808
|
/** Readonly state */
|
|
@@ -1815,14 +1818,14 @@ type NlddOneTimeCodeFieldProps = {
|
|
|
1815
1818
|
type NlddPageProps = {
|
|
1816
1819
|
/** Use a gray background instead of white */
|
|
1817
1820
|
'background'?: NLDDPage['background'];
|
|
1818
|
-
/** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
|
|
1819
|
-
'accessible-label'?: NLDDPage['accessibleLabel'];
|
|
1820
|
-
/** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
|
|
1821
|
-
'landmarks'?: NLDDPage['landmarks'];
|
|
1822
1821
|
/** Sticky header */
|
|
1823
1822
|
'sticky-header'?: true;
|
|
1824
1823
|
/** Sticky footer */
|
|
1825
1824
|
'sticky-footer'?: true;
|
|
1825
|
+
/** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
|
|
1826
|
+
'accessible-label'?: NLDDPage['accessibleLabel'];
|
|
1827
|
+
/** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
|
|
1828
|
+
'landmarks'?: NLDDPage['landmarks'];
|
|
1826
1829
|
};
|
|
1827
1830
|
|
|
1828
1831
|
type NlddPageFooterProps = {
|
|
@@ -1896,12 +1899,12 @@ type NlddPasswordFieldProps = {
|
|
|
1896
1899
|
'readonly'?: true;
|
|
1897
1900
|
/** Disabled state */
|
|
1898
1901
|
'disabled'?: true;
|
|
1899
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
1900
|
-
'translations'?: NLDDPasswordField['translations'];
|
|
1901
1902
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1902
1903
|
'accessible-description'?: NLDDPasswordField['accessibleDescription'];
|
|
1903
1904
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
1904
1905
|
'accessible-described-by'?: NLDDPasswordField['accessibleDescribedBy'];
|
|
1906
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
1907
|
+
'translations'?: NLDDPasswordField['translations'];
|
|
1905
1908
|
};
|
|
1906
1909
|
|
|
1907
1910
|
type NlddPopoverProps = {
|
|
@@ -1950,7 +1953,7 @@ type NlddProgressBarProps = {
|
|
|
1950
1953
|
'value-text'?: NLDDProgressBar['valueText'];
|
|
1951
1954
|
/** Format for the displayed value (default: 'percentage') */
|
|
1952
1955
|
'value-format'?: NLDDProgressBar['valueFormat'];
|
|
1953
|
-
/** Where the value shows: inline in the caption, in a tooltip on the bar, or hidden (default: 'inline') */
|
|
1956
|
+
/** 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
1957
|
'value-display'?: NLDDProgressBar['valueDisplay'];
|
|
1955
1958
|
/** Shows a sliding indicator animation (only without segments) */
|
|
1956
1959
|
'indeterminate'?: true;
|
|
@@ -2077,10 +2080,10 @@ type NlddRadioButtonGroupProps = {
|
|
|
2077
2080
|
type NlddReorderHandleCellProps = {
|
|
2078
2081
|
/** Handle size: 'sm' | 'md' (default: 'md') */
|
|
2079
2082
|
'size'?: NLDDReorderHandleCell['size'];
|
|
2080
|
-
/** Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label. */
|
|
2081
|
-
'translations'?: NLDDReorderHandleCell['translations'];
|
|
2082
2083
|
/** Makes this cell the grip that drags its row in a `reorderable` nldd-list. The cell shows only while the row is `reorderable`. */
|
|
2083
2084
|
'reorder-handle'?: NLDDReorderHandleCell['reorderHandle'];
|
|
2085
|
+
/** Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label. */
|
|
2086
|
+
'translations'?: NLDDReorderHandleCell['translations'];
|
|
2084
2087
|
};
|
|
2085
2088
|
|
|
2086
2089
|
type NlddRichTextProps = {
|
|
@@ -2088,7 +2091,7 @@ type NlddRichTextProps = {
|
|
|
2088
2091
|
'spacing'?: NLDDRichText['spacing'];
|
|
2089
2092
|
/** Centers the main column inside the container; without it, content is left-aligned */
|
|
2090
2093
|
'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.
|
|
2094
|
+
/** 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
2095
|
'hyphens'?: true;
|
|
2093
2096
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2094
2097
|
'translations'?: NLDDRichText['translations'];
|
|
@@ -2131,12 +2134,12 @@ type NlddSearchFieldProps = {
|
|
|
2131
2134
|
'no-spellcheck'?: true;
|
|
2132
2135
|
/** Disabled state */
|
|
2133
2136
|
'disabled'?: true;
|
|
2134
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
2135
|
-
'translations'?: NLDDSearchField['translations'];
|
|
2136
2137
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2137
2138
|
'accessible-description'?: NLDDSearchField['accessibleDescription'];
|
|
2138
2139
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2139
2140
|
'accessible-described-by'?: NLDDSearchField['accessibleDescribedBy'];
|
|
2141
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
2142
|
+
'translations'?: NLDDSearchField['translations'];
|
|
2140
2143
|
};
|
|
2141
2144
|
|
|
2142
2145
|
type NlddSegmentedControlProps = {
|
|
@@ -2227,8 +2230,6 @@ type NlddSidebarSectionProps = {
|
|
|
2227
2230
|
'no-collapse'?: true;
|
|
2228
2231
|
/** Read-only, reflected: true while the sidebar is a sheet (the section is narrower than lg). Target it via CSS to reveal sheet-only chrome. */
|
|
2229
2232
|
'collapsed'?: true;
|
|
2230
|
-
/** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
|
|
2231
|
-
'translations'?: NLDDSidebarSection['translations'];
|
|
2232
2233
|
'background'?: NLDDSidebarSection['background'];
|
|
2233
2234
|
'height'?: NLDDSidebarSection['height'];
|
|
2234
2235
|
/** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
|
|
@@ -2254,6 +2255,8 @@ type NlddSidebarSectionProps = {
|
|
|
2254
2255
|
'lg-padding-top'?: NLDDSidebarSection['lgPaddingTop'];
|
|
2255
2256
|
/** Bottom padding in the lg range; wins there over `lg-padding-block` and the padding attributes without a breakpoint. */
|
|
2256
2257
|
'lg-padding-bottom'?: NLDDSidebarSection['lgPaddingBottom'];
|
|
2258
|
+
/** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
|
|
2259
|
+
'translations'?: NLDDSidebarSection['translations'];
|
|
2257
2260
|
/** Set on anything inside the section, at any depth: shows that element only while the sidebar is a sheet (`collapsed`), such as the button that opens it, or only while it is a box beside the main (`expanded`), such as a heading the sheet's title bar repeats. Put it on an nldd-spacer next to such an element too, so the space goes with it. */
|
|
2258
2261
|
'sidebar-section-only'?: NLDDSidebarSection['sidebarSectionOnly'];
|
|
2259
2262
|
};
|
|
@@ -2339,12 +2342,12 @@ type NlddSliderProps = {
|
|
|
2339
2342
|
'step'?: NLDDSlider['step'];
|
|
2340
2343
|
/** Disabled state */
|
|
2341
2344
|
'disabled'?: true;
|
|
2342
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
2343
|
-
'translations'?: NLDDSlider['translations'];
|
|
2344
2345
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2345
2346
|
'accessible-description'?: NLDDSlider['accessibleDescription'];
|
|
2346
2347
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2347
2348
|
'accessible-described-by'?: NLDDSlider['accessibleDescribedBy'];
|
|
2349
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
2350
|
+
'translations'?: NLDDSlider['translations'];
|
|
2348
2351
|
};
|
|
2349
2352
|
|
|
2350
2353
|
type NlddSpacerProps = {
|
|
@@ -2507,12 +2510,12 @@ type NlddStepperProps = {
|
|
|
2507
2510
|
'step'?: NLDDStepper['step'];
|
|
2508
2511
|
/** Disabled state */
|
|
2509
2512
|
'disabled'?: true;
|
|
2510
|
-
/** Translations; unspecified keys fall back to Dutch */
|
|
2511
|
-
'translations'?: NLDDStepper['translations'];
|
|
2512
2513
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2513
2514
|
'accessible-description'?: NLDDStepper['accessibleDescription'];
|
|
2514
2515
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2515
2516
|
'accessible-described-by'?: NLDDStepper['accessibleDescribedBy'];
|
|
2517
|
+
/** Translations; unspecified keys fall back to Dutch */
|
|
2518
|
+
'translations'?: NLDDStepper['translations'];
|
|
2516
2519
|
};
|
|
2517
2520
|
|
|
2518
2521
|
type NlddSwatchPickerProps = {
|
|
@@ -2710,6 +2713,8 @@ type NlddTextProps = {
|
|
|
2710
2713
|
'horizontal-alignment'?: NLDDText['horizontalAlignment'];
|
|
2711
2714
|
/** The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins. */
|
|
2712
2715
|
'text'?: NLDDText['text'];
|
|
2716
|
+
/** 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. */
|
|
2717
|
+
'hyphens'?: true;
|
|
2713
2718
|
};
|
|
2714
2719
|
|
|
2715
2720
|
type NlddTextCellProps = {
|
|
@@ -2719,7 +2724,7 @@ type NlddTextCellProps = {
|
|
|
2719
2724
|
'size'?: NLDDTextCell['size'];
|
|
2720
2725
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
2721
2726
|
'width'?: NLDDTextCell['width'];
|
|
2722
|
-
/** Minimum width
|
|
2727
|
+
/** 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
2728
|
'min-width'?: NLDDTextCell['minWidth'];
|
|
2724
2729
|
/** Maximum width as CSS length (e.g. '200px', '20rem') */
|
|
2725
2730
|
'max-width'?: NLDDTextCell['maxWidth'];
|
|
@@ -2735,6 +2740,8 @@ type NlddTextCellProps = {
|
|
|
2735
2740
|
'supporting-text'?: NLDDTextCell['supportingText'];
|
|
2736
2741
|
/** Optional overline text displayed above the main content. Supports **bold**. Falls back to `overline` slot. */
|
|
2737
2742
|
'overline'?: NLDDTextCell['overline'];
|
|
2743
|
+
/** 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. */
|
|
2744
|
+
'hyphens'?: true;
|
|
2738
2745
|
/** Query substring to bold-highlight across text fields. Empty = no marking. */
|
|
2739
2746
|
'query'?: NLDDTextCell['query'];
|
|
2740
2747
|
/** 'match' | 'predictive' (default: 'predictive') */
|
|
@@ -2876,12 +2883,12 @@ type NlddTimeFieldProps = {
|
|
|
2876
2883
|
'readonly'?: true;
|
|
2877
2884
|
/** Disabled state. */
|
|
2878
2885
|
'disabled'?: true;
|
|
2879
|
-
/** Translations; unspecified keys fall back to Dutch. */
|
|
2880
|
-
'translations'?: NLDDTimeField['translations'];
|
|
2881
2886
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2882
2887
|
'accessible-description'?: NLDDTimeField['accessibleDescription'];
|
|
2883
2888
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2884
2889
|
'accessible-described-by'?: NLDDTimeField['accessibleDescribedBy'];
|
|
2890
|
+
/** Translations; unspecified keys fall back to Dutch. */
|
|
2891
|
+
'translations'?: NLDDTimeField['translations'];
|
|
2885
2892
|
};
|
|
2886
2893
|
|
|
2887
2894
|
type NlddTimePickerProps = {
|
|
@@ -2893,6 +2900,8 @@ type NlddTimePickerProps = {
|
|
|
2893
2900
|
'accessible-label'?: NLDDTimePicker['accessibleLabel'];
|
|
2894
2901
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2895
2902
|
'invalid'?: true;
|
|
2903
|
+
/** Name for form submission; the picker submits on its own, so it works in a form without an nldd-time-field. Submits the chosen time as `HH:mm`. */
|
|
2904
|
+
'name'?: NLDDTimePicker['name'];
|
|
2896
2905
|
/** The chosen time as `HH:mm` (24-hour), written exactly so: unlike `min` and `max`, it is what the picker reports back. In nldd-time-field the field writes it. */
|
|
2897
2906
|
'value'?: NLDDTimePicker['value'];
|
|
2898
2907
|
/** Earliest allowed time as `HH:mm`, read as generously as nldd-time-field reads it (`9:00` too). Also the base that `step` counts from. */
|
|
@@ -2901,12 +2910,12 @@ type NlddTimePickerProps = {
|
|
|
2901
2910
|
'max'?: NLDDTimePicker['max'];
|
|
2902
2911
|
/** Step in minutes (default 1). Decides which minutes are in the column. */
|
|
2903
2912
|
'step'?: NLDDTimePicker['step'];
|
|
2904
|
-
/** Translations; unspecified keys fall back to Dutch. */
|
|
2905
|
-
'translations'?: NLDDTimePicker['translations'];
|
|
2906
2913
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2907
2914
|
'accessible-description'?: NLDDTimePicker['accessibleDescription'];
|
|
2908
2915
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
2909
2916
|
'accessible-described-by'?: NLDDTimePicker['accessibleDescribedBy'];
|
|
2917
|
+
/** Translations; unspecified keys fall back to Dutch. */
|
|
2918
|
+
'translations'?: NLDDTimePicker['translations'];
|
|
2910
2919
|
};
|
|
2911
2920
|
|
|
2912
2921
|
type NlddTitleProps = {
|
|
@@ -2935,7 +2944,7 @@ type NlddTitleCellProps = {
|
|
|
2935
2944
|
'size'?: NLDDTitleCell['size'];
|
|
2936
2945
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
2937
2946
|
'width'?: NLDDTitleCell['width'];
|
|
2938
|
-
/** Minimum width
|
|
2947
|
+
/** 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
2948
|
'min-width'?: NLDDTitleCell['minWidth'];
|
|
2940
2949
|
/** Maximum width as CSS length (e.g. '300px', '20rem') */
|
|
2941
2950
|
'max-width'?: NLDDTitleCell['maxWidth'];
|
|
@@ -2953,6 +2962,8 @@ type NlddTitleCellProps = {
|
|
|
2953
2962
|
'overline'?: NLDDTitleCell['overline'];
|
|
2954
2963
|
/** Heading level for the title element: 1–6 (default: none, renders a <p>) */
|
|
2955
2964
|
'heading-level'?: NLDDTitleCell['headingLevel'];
|
|
2965
|
+
/** 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. */
|
|
2966
|
+
'hyphens'?: true;
|
|
2956
2967
|
/** Query substring to bold-highlight across text fields. Empty = no marking. */
|
|
2957
2968
|
'query'?: NLDDTitleCell['query'];
|
|
2958
2969
|
/** 'match' | 'predictive' (default: 'predictive') */
|
|
@@ -3004,7 +3015,7 @@ type NlddToggleButtonProps = {
|
|
|
3004
3015
|
'value'?: NLDDToggleButton['value'];
|
|
3005
3016
|
/** What the button is: a button with aria-pressed, a native checkbox, or a radio (default: 'button') */
|
|
3006
3017
|
'type'?: NLDDToggleButton['type'];
|
|
3007
|
-
/**
|
|
3018
|
+
/** A checkbox has to be selected. On its own it asks for this button; in an nldd-toggle-button-group, which sets it on its buttons, for any button of the group. */
|
|
3008
3019
|
'required'?: true;
|
|
3009
3020
|
/** Disabled state */
|
|
3010
3021
|
'disabled'?: true;
|
|
@@ -3029,7 +3040,7 @@ type NlddToggleButtonGroupProps = {
|
|
|
3029
3040
|
'name'?: NLDDToggleButtonGroup['name'];
|
|
3030
3041
|
/** Selection mode (default: 'checkbox') */
|
|
3031
3042
|
'type'?: NLDDToggleButtonGroup['type'];
|
|
3032
|
-
/** Marks the group as required. Enforced in radio
|
|
3043
|
+
/** Marks the group as required: at least one button has to be selected. Enforced in both radio and checkbox mode. */
|
|
3033
3044
|
'required'?: true;
|
|
3034
3045
|
/** Disables all buttons */
|
|
3035
3046
|
'disabled'?: true;
|
|
@@ -3046,8 +3057,6 @@ type NlddTokenProps = {
|
|
|
3046
3057
|
'menu-text'?: NLDDToken['menuText'];
|
|
3047
3058
|
/** 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
3059
|
'roving'?: true;
|
|
3049
|
-
/** Reflects whether the token's menu or popover is open (control="menu"); managed by the token. */
|
|
3050
|
-
'expanded'?: true;
|
|
3051
3060
|
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
3052
3061
|
'disabled'?: true;
|
|
3053
3062
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -3085,12 +3094,12 @@ type NlddTokenFieldProps = {
|
|
|
3085
3094
|
'readonly'?: true;
|
|
3086
3095
|
/** Disabled state */
|
|
3087
3096
|
'disabled'?: true;
|
|
3088
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
3089
|
-
'translations'?: NLDDTokenField['translations'];
|
|
3090
3097
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3091
3098
|
'accessible-description'?: NLDDTokenField['accessibleDescription'];
|
|
3092
3099
|
/** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
|
|
3093
3100
|
'accessible-described-by'?: NLDDTokenField['accessibleDescribedBy'];
|
|
3101
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
3102
|
+
'translations'?: NLDDTokenField['translations'];
|
|
3094
3103
|
};
|
|
3095
3104
|
|
|
3096
3105
|
type NlddToolbarProps = {
|
|
@@ -3305,7 +3314,7 @@ declare module 'react' {
|
|
|
3305
3314
|
'nldd-activity-indicator': NlddElement<NLDDActivityIndicator, NlddActivityIndicatorProps>;
|
|
3306
3315
|
/** 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
3316
|
'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. `
|
|
3317
|
+
/** 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
3318
|
'nldd-avatar': NlddElement<NLDDAvatar, NlddAvatarProps>;
|
|
3310
3319
|
/** 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
3320
|
'nldd-avatar-group': NlddElement<NLDDAvatarGroup, NlddAvatarGroupProps>;
|
|
@@ -3319,7 +3328,7 @@ declare module 'react' {
|
|
|
3319
3328
|
'nldd-blockquote': NlddElement<NLDDBlockquote, NlddBlockquoteProps>;
|
|
3320
3329
|
/** 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
3330
|
'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
|
|
3331
|
+
/** 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
3332
|
'nldd-breadcrumbs': NlddElement<NLDDBreadcrumbs, NlddBreadcrumbsProps>;
|
|
3324
3333
|
/** 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
3334
|
'nldd-breadcrumbs-item': NlddElement<NLDDBreadcrumbsItem, NlddBreadcrumbsItemProps>;
|
|
@@ -3353,7 +3362,7 @@ declare module 'react' {
|
|
|
3353
3362
|
'nldd-date-field': NlddElement<NLDDDateField, NlddDateFieldProps>;
|
|
3354
3363
|
/** 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
3364
|
'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"`. */
|
|
3365
|
+
/** 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
3366
|
'nldd-description-cell': NlddElement<NLDDDescriptionCell, NlddDescriptionCellProps>;
|
|
3358
3367
|
/** A rule that visually separates sections of content. */
|
|
3359
3368
|
'nldd-divider': NlddElement<NLDDDivider, NlddDividerProps>;
|
|
@@ -3494,7 +3503,7 @@ declare module 'react' {
|
|
|
3494
3503
|
'nldd-stacked-split-view': NlddElement<NLDDStackedSplitView, NlddStackedSplitViewProps>;
|
|
3495
3504
|
/** 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
3505
|
'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. */
|
|
3506
|
+
/** 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
3507
|
'nldd-step-bar': NlddElement<NLDDStepBar, NlddStepBarProps>;
|
|
3499
3508
|
/** 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
3509
|
'nldd-step-bar-item': NlddElement<NLDDStepBarItem, NlddStepBarItemProps>;
|
|
@@ -3519,9 +3528,9 @@ declare module 'react' {
|
|
|
3519
3528
|
'nldd-tag': NlddElement<NLDDTag, NlddTagProps>;
|
|
3520
3529
|
/** 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
3530
|
'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. */
|
|
3531
|
+
/** 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
3532
|
'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. */
|
|
3533
|
+
/** 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
3534
|
'nldd-text-cell': NlddElement<NLDDTextCell, NlddTextCellProps>;
|
|
3526
3535
|
/** 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
3536
|
'nldd-text-editor': NlddElement<NLDDTextEditor, NlddTextEditorProps>;
|
|
@@ -3530,9 +3539,9 @@ declare module 'react' {
|
|
|
3530
3539
|
'nldd-time-field': NlddElement<NLDDTimeField, NlddTimeFieldProps>;
|
|
3531
3540
|
/** 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
3541
|
'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. */
|
|
3542
|
+
/** 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
3543
|
'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. */
|
|
3544
|
+
/** 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
3545
|
'nldd-title-cell': NlddElement<NLDDTitleCell, NlddTitleCellProps>;
|
|
3537
3546
|
/** 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
3547
|
'nldd-toggle-button': NlddElement<NLDDToggleButton, NlddToggleButtonProps>;
|