@nldd/design-system 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/custom-elements.json +194 -185
- package/dist/assets/styles/shadow-resets.d.ts +19 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +35 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-BTnpfsIt.js → activity-indicator-D86Mv6SL.js} +8 -7
- package/dist/cdn/chunks/{avatar--5c37XVW.js → avatar-BISv6tzp.js} +20 -19
- package/dist/cdn/chunks/{avatar-group-BNfmY5CU.js → avatar-group-D7IN6DxU.js} +17 -16
- package/dist/cdn/chunks/{badge-YAvIVoRy.js → badge-R3PZUsqZ.js} +13 -10
- package/dist/cdn/chunks/{banner-BpCK57yd.js → banner-DRANlf5k.js} +9 -7
- package/dist/cdn/chunks/{bar-split-view-BgYo4YJw.js → bar-split-view-B-Y2nqgS.js} +27 -24
- package/dist/cdn/chunks/{blockquote-BOu-31f3.js → blockquote-pUgJLPY1.js} +4 -3
- package/dist/cdn/chunks/{box-YipFNjJh.js → box-BbXHpBQy.js} +12 -10
- package/dist/cdn/chunks/{breadcrumbs-DSVAVozW.js → breadcrumbs-BdF4m3DB.js} +13 -8
- package/dist/cdn/chunks/{button-XtEOeBEq.js → button-CsqNHH3w.js} +48 -35
- package/dist/cdn/chunks/{button-bar-D1i71rRQ.js → button-bar-CnYIw4fN.js} +15 -11
- package/dist/cdn/chunks/{button-group-un5QDbqK.js → button-group-xaHghyon.js} +2 -2
- package/dist/cdn/chunks/{card-D5yTAdts.js → card-Bbf0aCIh.js} +24 -22
- package/dist/cdn/chunks/{cell-BbtB9C2Z.js → cell-Dggt5oYG.js} +6 -6
- package/dist/cdn/chunks/{checkbox-oYX8b8iy.js → checkbox-DmFAS8ec.js} +25 -20
- package/dist/cdn/chunks/{checkbox-field-Cmc6Aagc.js → checkbox-field-fOWPH8Q7.js} +9 -7
- package/dist/cdn/chunks/{class-map-DKd4N9Wz.js → class-map-BWGTUNv4.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BZwpTu4O.js → code-editor-CANFZX66.js} +7 -6
- package/dist/cdn/chunks/{code-viewer-C4XDF03i.js → code-viewer-C_vUEx7J.js} +136 -99
- package/dist/cdn/chunks/{codemirror-input-Sen5OmAF.js → codemirror-input-wexTiqWw.js} +4 -4
- package/dist/cdn/chunks/{collection-BnZstW7U.js → collection-_emTry5U.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BpaGeypm.js → combo-box-CGwj1u4a.js} +17 -8
- package/dist/cdn/chunks/{container-DuV5d7Eb.js → container-D5Dz-j6a.js} +14 -6
- package/dist/cdn/chunks/{custom-element-DsfOrnOD.js → custom-element-DbwbPetH.js} +1 -1
- package/dist/cdn/chunks/{date-field-FactdbhC.js → date-field-ChmyLtTj.js} +21 -11
- package/dist/cdn/chunks/{date-picker-BtlBTKvh.js → date-picker-CUQKdjS4.js} +18 -10
- package/dist/cdn/chunks/{decorate-CJCfz_g6.js → decorate-_JGq4E_7.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-CPultP0p.js → described-by-mixin-DbnuGktP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DFc0_dWI.js → description-cell-BgcO7ObI.js} +9 -8
- package/dist/cdn/chunks/{dev-checks-DGwOQoR3.js → dev-checks-KAnKlxY0.js} +115 -57
- package/dist/cdn/chunks/{dist-ClsiJytN.js → dist-BF9euKgj.js} +2 -2
- package/dist/cdn/chunks/{dist-D-9cbJjq.js → dist-BHMubC6P.js} +3 -3
- package/dist/cdn/chunks/{dist-CxdoWiwX.js → dist-BJrN5nEM.js} +1 -1
- package/dist/cdn/chunks/{dist-CtdONv3x.js → dist-Bz3Isx60.js} +1 -1
- package/dist/cdn/chunks/{dist-BuquxOFD.js → dist-CBnQQ6kV.js} +2 -2
- package/dist/cdn/chunks/{dist-CM5DHMaz.js → dist-CJLBwJx0.js} +1 -1
- package/dist/cdn/chunks/{dist-BUqkX3a-.js → dist-CKZ98PMy.js} +3 -3
- package/dist/cdn/chunks/{dist-6xUfJUfa.js → dist-CLKJ5z0x.js} +1 -1
- package/dist/cdn/chunks/{dist-AQ1Gehx3.js → dist-D7Wubc1l.js} +1 -1
- package/dist/cdn/chunks/{dist-BWSiWu4t.js → dist-DADIyiX-.js} +2 -2
- package/dist/cdn/chunks/{dist-Bmb_H8Sp.js → dist-HgRt6IKh.js} +1 -1
- package/dist/cdn/chunks/{divider-CZ8Hn1om.js → divider-pO5O6wL4.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BBnyyiEA.js → document-tab-bar-C_-iuaUc.js} +27 -13
- package/dist/cdn/chunks/{dropdown-Bbbgy8mT.js → dropdown-DYO6049g.js} +10 -5
- package/dist/cdn/chunks/{file-field-CddG_e0F.js → file-field-C-Fk92rD.js} +30 -12
- package/dist/cdn/chunks/{form-DIIMIq0q.js → form-ChXBrKw6.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BICy0Sgp.js → form-actions-DrOX7nX8.js} +2 -2
- package/dist/cdn/chunks/{form-field-Bnei2EQO.js → form-field-CR2Py09O.js} +15 -8
- package/dist/cdn/chunks/{form-section-Cv0tr0pm.js → form-section-s1mkLzaC.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-LOfo_1Aj.js → full-bleed-section-vOVI_f86.js} +3 -3
- package/dist/cdn/chunks/{hero-BABWpYs5.js → hero-Cb3qIvvh.js} +106 -97
- package/dist/cdn/chunks/{icon-D5dJm51v.js → icon-DBhTZrnl.js} +52 -29
- package/dist/cdn/chunks/{icon-button-DtxIRaQy.js → icon-button-bDuQ_6W_.js} +37 -28
- package/dist/cdn/chunks/{icon-cell-Be5awZV7.js → icon-cell-DlSZNTF3.js} +11 -11
- package/dist/cdn/chunks/{identity-B4KtbT8h.js → identity-CJTVNI9J.js} +7 -5
- package/dist/cdn/chunks/{if-defined-BirFs11D.js → if-defined-28B8DYUB.js} +1 -1
- package/dist/cdn/chunks/{image-BpVEir6U.js → image-DlTxyeL3.js} +44 -34
- package/dist/cdn/chunks/{inline-dialog-B627fZmT.js → inline-dialog-BJlOrD6M.js} +9 -6
- package/dist/cdn/chunks/{just-in-time-education-Nw5ido3N.js → just-in-time-education-DWBDshKs.js} +8 -5
- package/dist/cdn/chunks/{kanban-9HGexCJx.js → kanban-DIXY8FcZ.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-v5rfv8fN.js → kanban-column-DmnxctX6.js} +6 -4
- package/dist/cdn/chunks/{keyboard-shortcut-CVNilmgr.js → keyboard-shortcut-kYOKwBqs.js} +8 -6
- package/dist/cdn/chunks/{languages-Ce4h7R1-.js → languages-DGtcUhLc.js} +12 -12
- package/dist/cdn/chunks/{link-BQQwp17j.js → link-DhnhhTOg.js} +11 -8
- package/dist/cdn/chunks/{link-group-CQhEcQIV.js → link-group-Bx2nkQcS.js} +2 -2
- package/dist/cdn/chunks/{list-DDxjOe38.js → list-CXCG_IEc.js} +48 -13
- package/dist/cdn/chunks/{list-item-Da6-fFDs.js → list-item-CSNBaRlK.js} +110 -103
- package/dist/cdn/chunks/{list-item-segment-CnGHU6G-.js → list-item-segment-D6WvAh3A.js} +14 -12
- package/dist/cdn/chunks/{menu-uOExHS1i.js → menu-CKxKVA36.js} +13 -13
- package/dist/cdn/chunks/{menu-bar-item-BuZ-VvnR.js → menu-bar-item-C950rfSt.js} +7 -6
- package/dist/cdn/chunks/{menu-bar-MPNB2ovW.js → menu-bar-xahTEYTX.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-CcOTQxx5.js → menu-divider-XlYJ4zQz.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DGgbYejF.js → menu-group-E6hIEtLj.js} +4 -4
- package/dist/cdn/chunks/{menu-item-DgM4RmyD.js → menu-item-2y0VC5Gb.js} +32 -30
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-DkbfQRQ6.js → menu.template-ZBhUFgBJ.js} +55 -34
- package/dist/cdn/chunks/{modal-dialog-BRYfJ7Vf.js → modal-dialog-DdFpcRLJ.js} +27 -26
- package/dist/cdn/chunks/{multi-line-text-field-CWOPY6sF.js → multi-line-text-field-okvEa54Q.js} +9 -5
- package/dist/cdn/chunks/{navigation-split-view-BRiplUXM.js → navigation-split-view-dNRQDSpy.js} +50 -69
- package/dist/cdn/chunks/{nl.generated-fkFCex7n.js → nl.generated-Bo4bmwYF.js} +5 -3
- package/dist/cdn/chunks/{notification-DhnzrUQp.js → notification-2tnwXEY1.js} +9 -6
- package/dist/cdn/chunks/{number-field-DgRrXCiv.js → number-field-CH7EvpSq.js} +13 -7
- package/dist/cdn/chunks/{one-half-one-half-section-D7tzDw-p.js → one-half-one-half-section-UZDP-KO-.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-E8xOdcsf.js → one-third-two-thirds-section-8KtESdXO.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BoJdVvNN.js → one-time-code-field-Bvm3ND6e.js} +10 -6
- package/dist/cdn/chunks/{page-DDm193hL.js → page-PK1FWuKJ.js} +35 -32
- package/dist/cdn/chunks/{page-footer-32oZSwvG.js → page-footer-BamWKHwH.js} +45 -42
- package/dist/cdn/chunks/{page-section-mixin-CmsW9L1S.js → page-section-mixin-3q59_Jo_.js} +39 -35
- package/dist/cdn/chunks/{pagination-Co1BlFTP.js → pagination-47zAyQhM.js} +13 -6
- package/dist/cdn/chunks/{password-field-BxKQRE4K.js → password-field-FaU02DSW.js} +11 -7
- package/dist/cdn/chunks/{popover-DpCE_XjR.js → popover-642mOFR5.js} +44 -42
- package/dist/cdn/chunks/{progress-bar-5WAVf0HV.js → progress-bar-BivaNkIY.js} +11 -9
- package/dist/cdn/chunks/{progress-circle-D7Mn6WZv.js → progress-circle-ewL0JIcz.js} +9 -7
- package/dist/cdn/chunks/{radio-button-pd8lwtEO.js → radio-button-DvrYYSnm.js} +16 -16
- package/dist/cdn/chunks/{radio-button-field-Dxnahic-.js → radio-button-field-BVi0YrTF.js} +9 -7
- package/dist/cdn/chunks/{radio-button-group-D_4lI2U-.js → radio-button-group-DZ9OWUNe.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CAskRZMx.js → render-marked-CO31_4GS.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BL8ECfi5.js → reorder-handle-cell-Doetg58W.js} +5 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BDRPLv58.js → reorder-handle-mixin-DCjwUXr0.js} +2 -2
- package/dist/cdn/chunks/{repeat-D5W3dDCY.js → repeat-Wb4hkVZc.js} +1 -1
- package/dist/cdn/chunks/{rich-text-diNxNddp.js → rich-text-Do08iiIz.js} +4 -7
- package/dist/cdn/chunks/{row-header-mixin-Dj6t4nYI.js → row-header-mixin-CKR5rHBA.js} +2 -2
- package/dist/cdn/chunks/{search-field-CLuQnvBU.js → search-field-CCeeGiJM.js} +17 -9
- package/dist/cdn/chunks/{segmented-control-B0z5J7r9.js → segmented-control-CWIPxEBq.js} +12 -6
- package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
- package/dist/cdn/chunks/{sheet-CKfFzUCu.js → sheet-WOjBtZvN.js} +38 -36
- package/dist/cdn/chunks/{shell-CglPjEWB.js → shell-Brn0Dr8F.js} +24 -21
- package/dist/cdn/chunks/{side-by-side-split-view-DU4ODEBX.js → side-by-side-split-view-DGIMsyma.js} +22 -19
- package/dist/cdn/chunks/{sidebar-section-DzJw-MHs.js → sidebar-section-BXHeI8GN.js} +23 -18
- package/dist/cdn/chunks/{simple-section-BfhBYqMa.js → simple-section-C8lJZLAO.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwVvD9XL.js → skip-link-QdRgHljr.js} +5 -4
- package/dist/cdn/chunks/{slider-BBxKxr-H.js → slider-BhjBeWqc.js} +11 -9
- package/dist/cdn/chunks/{spacer-CqK1xVh2.js → spacer-BgkOjuUj.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DS7Tphdm.js → spacer-cell-DBI0PVd7.js} +4 -4
- package/dist/cdn/chunks/{split-button-Brh7EmIA.js → split-button-DfD9vxPe.js} +19 -15
- package/dist/cdn/chunks/{split-view-divider-Bh3XLobi.js → split-view-divider-B4NFlri5.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-BPKlAR4d.js → split-view-pane-CwFf13hX.js} +23 -20
- package/dist/cdn/chunks/{stacked-split-view-SrIHWkKW.js → stacked-split-view-BmbzTinq.js} +22 -19
- package/dist/cdn/chunks/{static-html-OvWm15yg.js → static-html-CZrcQRgC.js} +1 -1
- package/dist/cdn/chunks/{status-bar-IqyLnoMx.js → status-bar-CTOf_bDL.js} +5 -4
- package/dist/cdn/chunks/{step-bar-DltkU-AG.js → step-bar-B5vzvhz-.js} +13 -6
- package/dist/cdn/chunks/{step-cell-BHW3t6nn.js → step-cell-CUA-HUZv.js} +9 -6
- package/dist/cdn/chunks/{stepper-DMlk7A-Y.js → stepper-LxPTQ6HJ.js} +6 -6
- package/dist/cdn/chunks/{style-map-CNYX1L3t.js → style-map-DiIQAb_L.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BAKkJFgt.js → swatch-picker-Cxv9HK3A.js} +6 -5
- package/dist/cdn/chunks/{switch-B3d_1Leh.js → switch-CbNSJQPp.js} +11 -10
- package/dist/cdn/chunks/{switch-field-BXJj1PHC.js → switch-field-B8vOvcKc.js} +9 -7
- package/dist/cdn/chunks/{tab-bar-C7T0XL0u.js → tab-bar-D4ot_wZ4.js} +14 -8
- package/dist/cdn/chunks/{table-CVyPmXfX.js → table-uh4YPqda.js} +5 -5
- package/dist/cdn/chunks/{tag-KdbJbRcK.js → tag-D2dCXT7A.js} +5 -4
- package/dist/cdn/chunks/{text-lQLJJw1m.js → text-BX4Xm40t.js} +19 -34
- package/dist/cdn/chunks/{text-cell-CUH5Tf5F.js → text-cell-DNCpmw9h.js} +21 -18
- package/dist/cdn/chunks/{text-editor-Bsfygq28.js → text-editor-C6UKAmPL.js} +37 -11
- package/dist/cdn/chunks/{text-field-BQxQe0ch.js → text-field-Dmkd4mHV.js} +14 -5
- package/dist/cdn/chunks/{time-field-kdMQ7qaa.js → time-field-BfgNZbEb.js} +17 -13
- package/dist/cdn/chunks/{time-picker-T1bZ4zxP.js → time-picker-C1SBkU-e.js} +10 -5
- package/dist/cdn/chunks/{title-yXmufzsm.js → title-DFrd-Fsh.js} +15 -34
- package/dist/cdn/chunks/{title-cell-CyJr9OiV.js → title-cell-CC1dQyth.js} +22 -19
- package/dist/cdn/chunks/{toggle-button-DiZaFEAk.js → toggle-button-bAX6uzgz.js} +13 -7
- package/dist/cdn/chunks/{toggle-button-group-DRai7q0C.js → toggle-button-group-B7CHBww5.js} +2 -2
- package/dist/cdn/chunks/{token-C6EudIjw.js → token-CicHNqIk.js} +9 -7
- package/dist/cdn/chunks/{token-field-OCw3wLIW.js → token-field-BFynQ-T-.js} +19 -11
- package/dist/cdn/chunks/{toolbar-K5UY_y15.js → toolbar-hAmL7o23.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CI3OVQuq.js → toolbar-item-CjgkcYJ2.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-xvfrEhvQ.js → toolbar-title-B1acxCGx.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BBj5j7Iq.js → toolbar.styles-xiyZx5D0.js} +7 -3
- package/dist/cdn/chunks/{tooltip-B6XDYQNn.js → tooltip-Mj47t8v7.js} +49 -36
- package/dist/cdn/chunks/{top-navigation-bar-D7JkgCQi.js → top-navigation-bar-vP5QGBXd.js} +19 -17
- package/dist/cdn/chunks/{top-title-bar-BMSTl1Z7.js → top-title-bar-Yt6cmRLj.js} +8 -6
- package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-Cc1Mh9TT.js → two-thirds-one-third-section-BHN98jET.js} +3 -3
- package/dist/cdn/chunks/{validation-list-xF6yTpz8.js → validation-list-CUPzu9_z.js} +4 -3
- package/dist/cdn/chunks/{visibility-mixin-LkgEnUqn.js → visibility-mixin-DPuxf-sj.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CMo9yGtA.js → visually-hidden-CvjJIBhz.js} +2 -2
- package/dist/cdn/chunks/{window-CclQ8SHn.js → window-BqGlzGaS.js} +40 -39
- package/dist/cdn/chunks/{with-translations-DdCPcavT.js → with-translations-CRvWJWep.js} +3 -3
- package/dist/components/actions/button/button.d.ts +2 -2
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +39 -26
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +1 -1
- package/dist/components/actions/button-bar/button-bar.js +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +12 -8
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +29 -20
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +15 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.i18n.d.ts +7 -0
- package/dist/components/actions/menu/menu-item.i18n.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-item.i18n.js +6 -0
- package/dist/components/actions/menu/menu-item.i18n.js.map +1 -0
- package/dist/components/actions/menu/menu-item.js +14 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +18 -1
- 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 +8 -2
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +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 +12 -8
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +4 -0
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +7 -5
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +7 -5
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +13 -12
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +2 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +16 -1
- 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 +37 -8
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +17 -15
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +19 -17
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +47 -24
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +2 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +33 -23
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +6 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +5 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -4
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +0 -7
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +0 -10
- 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 +1 -0
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +17 -32
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +0 -6
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +0 -8
- 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 +10 -26
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +4 -2
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +18 -5
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +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 +10 -3
- package/dist/components/forms/form-field/form-field.styles.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 +1 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +3 -3
- package/dist/components/inputs/checkbox/checkbox.js +2 -2
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +23 -18
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.js +2 -2
- 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 -2
- 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 +2 -1
- package/dist/components/inputs/code-editor/code-editor.styles.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 +9 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +10 -0
- package/dist/components/inputs/date-field/date-field.styles.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 +8 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +5 -0
- package/dist/components/inputs/dropdown/dropdown.styles.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 +18 -0
- 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 +4 -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.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +6 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +4 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +3 -3
- package/dist/components/inputs/radio-button/radio-button.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.styles.js +13 -13
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -3
- package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -2
- 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 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.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 +8 -0
- package/dist/components/inputs/search-field/search-field.styles.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 +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -1
- package/dist/components/inputs/slider/slider.styles.js.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.d.ts +3 -3
- package/dist/components/inputs/switch/switch.js +2 -2
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +7 -6
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -3
- package/dist/components/inputs/switch-field/switch-field.js +2 -2
- 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 -2
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.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 +26 -0
- 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 +9 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +4 -0
- package/dist/components/inputs/time-field/time-field.styles.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 +5 -0
- package/dist/components/inputs/time-picker/time-picker.styles.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 +6 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.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 +9 -1
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +3 -1
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +5 -3
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +30 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -0
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +8 -5
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +5 -2
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +3 -4
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +3 -4
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +14 -5
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
- 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 +21 -2
- 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.js +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +1 -1
- package/dist/components/layout/shell/shell.js +1 -1
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.styles.js +6 -3
- package/dist/components/layout/shell/shell.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +0 -28
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +10 -57
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +8 -5
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -2
- package/dist/components/layout/window/window.styles.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 +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +6 -6
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +5 -3
- 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 +5 -3
- 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 +14 -11
- 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.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +14 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.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 +40 -5
- 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 +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 +27 -20
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.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 +11 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +8 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.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 +18 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +6 -3
- package/dist/components/navigation/link/link.styles.js.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 +1 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +7 -0
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +6 -0
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +4 -6
- 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 +4 -6
- 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 +3 -2
- 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 -3
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -4
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +2 -0
- 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 +3 -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.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +3 -0
- 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/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -2
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.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 +3 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.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 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/form-section.css +2 -0
- package/dist/css/rich-text.css +14 -38
- package/dist/css/title.css +7 -15
- package/dist/css/variables.css +41 -24
- package/dist/nldd.min.js +1597 -1148
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +3 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +44 -40
- package/dist/types/vue.d.ts +50 -46
- package/dist/utilities/dev-checks.d.ts +5 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +14 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +89 -39
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +2 -2
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -6
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/translations.d.ts.map +1 -1
- package/dist/utilities/translations.js +9 -0
- package/dist/utilities/translations.js.map +1 -1
- package/lint/css.js +224 -0
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +5 -2
- package/lint/frontends.js +67 -42
- package/lint/linter.js +188 -7
- package/lint/main.js +20 -7
- package/lint/project.js +2 -2
- package/lint/rule-data.js +20 -0
- package/package.json +1 -1
- package/dist/cdn/chunks/shadow-resets-BeVmf7ky.js +0 -12
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
package/dist/types/react.d.ts
CHANGED
|
@@ -173,13 +173,13 @@ type NlddAvatarProps = {
|
|
|
173
173
|
'type'?: NLDDAvatar['type'];
|
|
174
174
|
/** `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 */
|
|
175
175
|
'size'?: NLDDAvatar['size'];
|
|
176
|
-
/** `neutral` (the default, a neutral fill) or `
|
|
176
|
+
/** `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) */
|
|
177
177
|
'color'?: NLDDAvatar['color'];
|
|
178
178
|
/** 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) */
|
|
179
179
|
'icon-aligned'?: true;
|
|
180
180
|
/** Name of the person or organization; supplies the derived initials and the accessible label */
|
|
181
181
|
'name'?: NLDDAvatar['name'];
|
|
182
|
-
/** Explicit initials, at most
|
|
182
|
+
/** 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 */
|
|
183
183
|
'initials'?: NLDDAvatar['initials'];
|
|
184
184
|
/** Image source; falls back to initials or icon when it fails to load */
|
|
185
185
|
'src'?: NLDDAvatar['src'];
|
|
@@ -220,9 +220,9 @@ type NlddAvatarGroupProps = {
|
|
|
220
220
|
type NlddBadgeProps = {
|
|
221
221
|
/** Size: 'sm' | 'md' (default: 'md') */
|
|
222
222
|
'size'?: NLDDBadge['size'];
|
|
223
|
-
/** The meaning of the badge, the same set as nldd-status-bar, or '
|
|
223
|
+
/** The meaning of the badge, the same set as nldd-status-bar, or 'content' to fill in the content color around it: the `--context-content-color` a surface, a button or a selected row sets. Default: 'critical'. A badge is a signal, not a category, so it has no Rijkshuisstijl colors: the theme picks the accent, and `custom-color` takes any other. Another value falls back to 'accent' and says so in development. */
|
|
224
224
|
'color'?: NLDDBadge['color'];
|
|
225
|
-
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the system cannot know: the jacket of a cable, a color someone picked. It wins over `color`. Whatever it paints, the text and icon on top become white or black, whichever contrasts. The text on it is black or white, picked on the relative luminance of the fill, so it clears 4.5:1 whatever color you hand it. */
|
|
225
|
+
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know: the jacket of a cable, a color someone picked. It wins over `color`. Whatever it paints, the text and icon on top become white or black, whichever contrasts. The text on it is black or white, picked on the relative luminance of the fill, so it clears 4.5:1 whatever color you hand it. */
|
|
226
226
|
'custom-color'?: NLDDBadge['customColor'];
|
|
227
227
|
/** Grows a ring out of the badge and fades it, for something happening right now (a live connection, an outage). Respects `prefers-reduced-motion`. */
|
|
228
228
|
'pulse'?: true;
|
|
@@ -312,7 +312,7 @@ type NlddBreadcrumbsItemProps = {
|
|
|
312
312
|
};
|
|
313
313
|
|
|
314
314
|
type NlddButtonProps = {
|
|
315
|
-
/** Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | '
|
|
315
|
+
/** Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) as the label color, so a colored surface of your own sets that variable. */
|
|
316
316
|
'appearance'?: NLDDButton['appearance'];
|
|
317
317
|
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons. */
|
|
318
318
|
'size'?: NLDDButton['size'];
|
|
@@ -379,7 +379,7 @@ type NlddButtonProps = {
|
|
|
379
379
|
type NlddButtonBarProps = {
|
|
380
380
|
/** Bar size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). At 'lg', icon-button children stack their label below the icon (mobile action-bar style). */
|
|
381
381
|
'size'?: NLDDButtonBar['size'];
|
|
382
|
-
/** Visual style of the buttons
|
|
382
|
+
/** Visual style of the buttons: 'primary' | 'secondary' | 'accent-filled' | 'neutral-tinted' (default) | 'neutral-base' | 'content-filled' | 'content-tinted'. The content appearances are for a colored surface. */
|
|
383
383
|
'appearance'?: NLDDButtonBar['appearance'];
|
|
384
384
|
/** Disabled state */
|
|
385
385
|
'disabled'?: true;
|
|
@@ -450,7 +450,7 @@ type NlddCheckboxProps = {
|
|
|
450
450
|
'value'?: NLDDCheckbox['value'];
|
|
451
451
|
/** Name for form submission */
|
|
452
452
|
'name'?: NLDDCheckbox['name'];
|
|
453
|
-
/** '
|
|
453
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
454
454
|
'color'?: NLDDCheckbox['color'];
|
|
455
455
|
/** Accessible label forwarded as aria-label to the native input. */
|
|
456
456
|
'accessible-label'?: NLDDCheckbox['accessibleLabel'];
|
|
@@ -471,7 +471,7 @@ type NlddCheckboxFieldProps = {
|
|
|
471
471
|
'value'?: NLDDCheckboxField['value'];
|
|
472
472
|
/** Name for form submission */
|
|
473
473
|
'name'?: NLDDCheckboxField['name'];
|
|
474
|
-
/** '
|
|
474
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
475
475
|
'color'?: NLDDCheckboxField['color'];
|
|
476
476
|
/** Label text for the checkbox */
|
|
477
477
|
'label'?: NLDDCheckboxField['label'];
|
|
@@ -521,6 +521,8 @@ type NlddCodeViewerProps = {
|
|
|
521
521
|
'language'?: NLDDCodeViewer['language'];
|
|
522
522
|
/** The content is a unified diff: shown with line colors, old and new line numbers, and the changed words marked. */
|
|
523
523
|
'diff'?: true;
|
|
524
|
+
/** Shows a column with the number of each line, the same column a diff has. Screen readers skip it and a copy leaves it out. No effect with `diff`, which numbers its lines itself. */
|
|
525
|
+
'line-numbers'?: true;
|
|
524
526
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
525
527
|
'no-copy'?: true;
|
|
526
528
|
/** Wrap long lines instead of horizontal scroll */
|
|
@@ -691,6 +693,8 @@ type NlddContainerProps = {
|
|
|
691
693
|
'horizontal-alignment'?: NLDDContainer['horizontalAlignment'];
|
|
692
694
|
/** 'top' | 'center' | 'bottom' */
|
|
693
695
|
'vertical-alignment'?: NLDDContainer['verticalAlignment'];
|
|
696
|
+
/** Makes the children a list for assistive technology: `role="list"` on the container and `role="listitem"` on each child, so a screen reader says how many there are and lets you skip them (WCAG 1.3.1). For a row of tags or a group of cards or tiles that are alike. A child with a role of its own keeps it. Nothing changes visually. */
|
|
697
|
+
'list'?: true;
|
|
694
698
|
/** Position of this child in the container */
|
|
695
699
|
'order'?: NLDDContainer['order'];
|
|
696
700
|
/** Position of this child at sm */
|
|
@@ -989,16 +993,16 @@ type NlddIconProps = {
|
|
|
989
993
|
'icon'?: NLDDIcon['icon'];
|
|
990
994
|
/** `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). */
|
|
991
995
|
'size'?: NLDDIcon['size'];
|
|
992
|
-
/** Functional (`
|
|
996
|
+
/** Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`). */
|
|
993
997
|
'color'?: NLDDIcon['color'];
|
|
994
|
-
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the system cannot know. It wins over `color`. */
|
|
998
|
+
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`. */
|
|
995
999
|
'custom-color'?: NLDDIcon['customColor'];
|
|
996
|
-
/** Draw the icon on a filled square. `color` and `custom-color` then paint the
|
|
997
|
-
'
|
|
1000
|
+
/** Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`. */
|
|
1001
|
+
'tile'?: true;
|
|
998
1002
|
};
|
|
999
1003
|
|
|
1000
1004
|
type NlddIconButtonProps = {
|
|
1001
|
-
/** Visual style, color included: '
|
|
1005
|
+
/** Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) for its icon. */
|
|
1002
1006
|
'appearance'?: NLDDIconButton['appearance'];
|
|
1003
1007
|
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
1004
1008
|
'size'?: NLDDIconButton['size'];
|
|
@@ -1192,7 +1196,7 @@ type NlddKeyboardShortcutProps = {
|
|
|
1192
1196
|
'size'?: NLDDKeyboardShortcut['size'];
|
|
1193
1197
|
/** 'box' (default) shows each key as a keycap with a fill and a highlight edge. 'simple' shows the keys as plain text with separators: lighter, for inline use such as in a menu item. */
|
|
1194
1198
|
'appearance'?: NLDDKeyboardShortcut['appearance'];
|
|
1195
|
-
/** 'neutral' (default) uses the component colors of its own. '
|
|
1199
|
+
/** 'neutral' (default) uses the component colors of its own. 'content' lets the keys and separators follow the content color of the context, with a translucent contrast fill and highlight edge. Useful on a filled surface color or a highlighted row. */
|
|
1196
1200
|
'color'?: NLDDKeyboardShortcut['color'];
|
|
1197
1201
|
/** Show on touch-only devices too, where shortcuts cannot be invoked. */
|
|
1198
1202
|
'always-visible'?: true;
|
|
@@ -1284,7 +1288,7 @@ type NlddListItemProps = {
|
|
|
1284
1288
|
'checked'?: true;
|
|
1285
1289
|
/** Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segment marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live. */
|
|
1286
1290
|
'expanded'?: true;
|
|
1287
|
-
/** Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, a quiet fill on purpose: the page itself says where you are, in its title, heading and breadcrumb, so the fill is an extra that should not pull attention from the content, and an automated check that flags its contrast is expected. It takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs. */
|
|
1291
|
+
/** Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, a quiet fill on purpose: the page itself says where you are, in its title, heading and breadcrumb, so the fill is an extra that should not pull attention from the content, and an automated check that flags its contrast is expected. The fill alone stays under 3:1 (1.3:1 in light, 1.5:1 in dark), so a WCAG audit fails 1.4.1 and 1.4.11 on it unless the place also shows another way, such as in the page title or the breadcrumb. A table of contents that follows the scroll, as in the content page pattern, has no such other sign: expect the finding there, and name it as a deviation in the accessibility statement. It takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs. */
|
|
1288
1292
|
'current'?: true;
|
|
1289
1293
|
/** The `aria-current` value a `current` or `selected` row puts on its action in a `navigation` parent (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
|
|
1290
1294
|
'current-type'?: NLDDListItem['currentType'];
|
|
@@ -1426,6 +1430,12 @@ type NlddMenuItemProps = {
|
|
|
1426
1430
|
'shortcut-mac'?: NLDDMenuItem['shortcutMac'];
|
|
1427
1431
|
/** Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled. */
|
|
1428
1432
|
'href'?: NLDDMenuItem['href'];
|
|
1433
|
+
/** Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply. */
|
|
1434
|
+
'target'?: NLDDMenuItem['target'];
|
|
1435
|
+
/** Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set. */
|
|
1436
|
+
'rel'?: NLDDMenuItem['rel'];
|
|
1437
|
+
/** Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch. */
|
|
1438
|
+
'translations'?: NLDDMenuItem['translations'];
|
|
1429
1439
|
/** Item type: 'button' | 'submit' | 'checkbox' | 'radio'. Default: 'button'. A 'submit' item submits its form when chosen, always after `select`, so a logout or delete can be a POST without script: the form it stands in, or the one `form` names. Like a native button, it looks only in its own tree: a menu in a shadow root does not reach a form outside it. To stop it, cancel the form's `submit` event, which runs validation first. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves. */
|
|
1430
1440
|
'type'?: NLDDMenuItem['type'];
|
|
1431
1441
|
/** Id of the form a `submit` item submits, for an item that does not stand in it, which a menu usually does not. Takes an `nldd-form` as well as a plain `<form>`, looked up in the item's own root. */
|
|
@@ -1517,10 +1527,6 @@ type NlddNavigationSplitViewProps = {
|
|
|
1517
1527
|
'primary-sidebar-accessible-label'?: NLDDNavigationSplitView['primarySidebarAccessibleLabel'];
|
|
1518
1528
|
/** Inspector hidden to free up space for other panes (read-only, set by the split view) */
|
|
1519
1529
|
'inspector-auto-hidden'?: true;
|
|
1520
|
-
/** @deprecated alias for primary-sidebar-as-sheet (kept for backwards compatibility) */
|
|
1521
|
-
'sidebar-as-sheet'?: true;
|
|
1522
|
-
/** @deprecated alias for primary-sidebar-accessible-label (kept for backwards compatibility) */
|
|
1523
|
-
'sidebar-accessible-label'?: NLDDNavigationSplitView['sidebarAccessibleLabel'];
|
|
1524
1530
|
};
|
|
1525
1531
|
|
|
1526
1532
|
type NlddNotificationProps = {
|
|
@@ -1864,7 +1870,7 @@ type NlddRadioButtonProps = {
|
|
|
1864
1870
|
'name'?: NLDDRadioButton['name'];
|
|
1865
1871
|
/** Value submitted with the form when this radio button is checked */
|
|
1866
1872
|
'value'?: NLDDRadioButton['value'];
|
|
1867
|
-
/** '
|
|
1873
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
1868
1874
|
'color'?: NLDDRadioButton['color'];
|
|
1869
1875
|
/** Accessible label, set as aria-label on this element: it is the radio. */
|
|
1870
1876
|
'accessible-label'?: NLDDRadioButton['accessibleLabel'];
|
|
@@ -1883,7 +1889,7 @@ type NlddRadioButtonFieldProps = {
|
|
|
1883
1889
|
'name'?: NLDDRadioButtonField['name'];
|
|
1884
1890
|
/** Required state. What it asks is whether anything in the group is checked, as a native radio does. Set automatically by nldd-radio-button-group. */
|
|
1885
1891
|
'required'?: true;
|
|
1886
|
-
/** '
|
|
1892
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
1887
1893
|
'color'?: NLDDRadioButtonField['color'];
|
|
1888
1894
|
/** Label text for the radio button */
|
|
1889
1895
|
'label'?: NLDDRadioButtonField['label'];
|
|
@@ -1915,8 +1921,6 @@ type NlddReorderHandleCellProps = {
|
|
|
1915
1921
|
};
|
|
1916
1922
|
|
|
1917
1923
|
type NlddRichTextProps = {
|
|
1918
|
-
/** 'content' (the default) takes the system's own content colors, each element its own. 'inherit' lets all text follow the color of the surface instead (for colored areas such as the filled categories). Links stay underlined as an affordance; secondary text (figcaption) gets the same color at a lowered opacity. Known v1 gaps: inline code, mark, tables and hr keep their own surfaces. */
|
|
1919
|
-
'color'?: NLDDRichText['color'];
|
|
1920
1924
|
/** Spacing between elements: 'flat' | 'tight' | 'snug' (default) | 'loose' */
|
|
1921
1925
|
'spacing'?: NLDDRichText['spacing'];
|
|
1922
1926
|
/** Centers the main column inside the container; without it, content is left-aligned */
|
|
@@ -2084,6 +2088,8 @@ type NlddSidebarSectionProps = {
|
|
|
2084
2088
|
'lg-padding-block'?: NLDDSidebarSection['lgPaddingBlock'];
|
|
2085
2089
|
'lg-padding-top'?: NLDDSidebarSection['lgPaddingTop'];
|
|
2086
2090
|
'lg-padding-bottom'?: NLDDSidebarSection['lgPaddingBottom'];
|
|
2091
|
+
/** 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. */
|
|
2092
|
+
'sidebar-section-only'?: NLDDSidebarSection['sidebarSectionOnly'];
|
|
2087
2093
|
};
|
|
2088
2094
|
|
|
2089
2095
|
type NlddSimpleSectionProps = {
|
|
@@ -2186,7 +2192,7 @@ type NlddSpacerCellProps = {
|
|
|
2186
2192
|
type NlddSplitButtonProps = {
|
|
2187
2193
|
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
2188
2194
|
'size'?: NLDDSplitButton['size'];
|
|
2189
|
-
/** Visual style: '
|
|
2195
|
+
/** Visual style: 'primary' | 'secondary' | 'accent-filled' | 'neutral-tinted' (default) | 'neutral-base' | 'content-filled' | 'content-tinted'. 'primary' is 'accent-filled' and 'secondary' is 'neutral-tinted'. The content appearances are for a colored surface and take their colors from --context-content-color. There are no transparent appearances: the split button needs a surface of its own to show it is one control. */
|
|
2190
2196
|
'appearance'?: NLDDSplitButton['appearance'];
|
|
2191
2197
|
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
2192
2198
|
'disabled'?: true;
|
|
@@ -2382,7 +2388,7 @@ type NlddSwitchProps = {
|
|
|
2382
2388
|
'no-tab'?: true;
|
|
2383
2389
|
/** Switch size: 'xs' | 'sm' (default: 'sm') */
|
|
2384
2390
|
'size'?: NLDDSwitch['size'];
|
|
2385
|
-
/** '
|
|
2391
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
2386
2392
|
'color'?: NLDDSwitch['color'];
|
|
2387
2393
|
/** Accessible label forwarded as aria-label to the native input. Required when using nldd-switch without nldd-switch-field. */
|
|
2388
2394
|
'accessible-label'?: NLDDSwitch['accessibleLabel'];
|
|
@@ -2403,7 +2409,7 @@ type NlddSwitchFieldProps = {
|
|
|
2403
2409
|
'value'?: NLDDSwitchField['value'];
|
|
2404
2410
|
/** Name for form submission */
|
|
2405
2411
|
'name'?: NLDDSwitchField['name'];
|
|
2406
|
-
/** '
|
|
2412
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
2407
2413
|
'color'?: NLDDSwitchField['color'];
|
|
2408
2414
|
/** Label text for the switch */
|
|
2409
2415
|
'label'?: NLDDSwitchField['label'];
|
|
@@ -2501,7 +2507,7 @@ type NlddTextProps = {
|
|
|
2501
2507
|
'weight'?: NLDDText['weight'];
|
|
2502
2508
|
/** Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug') */
|
|
2503
2509
|
'line-height'?: NLDDText['lineHeight'];
|
|
2504
|
-
/** Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'
|
|
2510
|
+
/** Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too. */
|
|
2505
2511
|
'color'?: NLDDText['color'];
|
|
2506
2512
|
/** Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box. */
|
|
2507
2513
|
'horizontal-alignment'?: NLDDText['horizontalAlignment'];
|
|
@@ -2689,8 +2695,6 @@ type NlddTitleProps = {
|
|
|
2689
2695
|
'md-custom-size'?: NLDDTitle['mdCustomSize'];
|
|
2690
2696
|
/** The same, at lg */
|
|
2691
2697
|
'lg-custom-size'?: NLDDTitle['lgCustomSize'];
|
|
2692
|
-
/** 'content' (the default) takes the system's own content colors. 'inherit' lets the title follow the text color of the surface instead (for colored areas such as the filled categories); overline and supporting-text get the same color at a lowered opacity. */
|
|
2693
|
-
'color'?: NLDDTitle['color'];
|
|
2694
2698
|
/** Title text. Content in the default slot takes its place. */
|
|
2695
2699
|
'text'?: NLDDTitle['text'];
|
|
2696
2700
|
/** Text below the title. Content in the supporting-text slot takes its place. */
|
|
@@ -3065,17 +3069,17 @@ type NlddWindowProps = {
|
|
|
3065
3069
|
declare module 'react' {
|
|
3066
3070
|
namespace JSX {
|
|
3067
3071
|
interface IntrinsicElements {
|
|
3068
|
-
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. Sizing: fills its parent where the parent lets it (a flex column such as `nldd-container`, a grid, or a fixed height) and centers itself there. Where the parent has no height of its own, give it one: a `min-height` matching the content you expect, such as `<nldd-container min-height="240px">`. As a safety net the host already takes the indicator's size (circle, plus the label with `show-text`) during the delay, so nothing shifts when it fades in; once `complete` is set it gives that space up. Label size follows `size`, not the surrounding text, so the circle and its label keep the same proportion everywhere: body-xs at 16 and 20, body-sm at 24 and 28, body-md from 32. Keep the label short; a longer explanation belongs in the area as regular text. The default indicator is a simple icon-sized circle
|
|
3072
|
+
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. Sizing: fills its parent where the parent lets it (a flex column such as `nldd-container`, a grid, or a fixed height) and centers itself there. Where the parent has no height of its own, give it one: a `min-height` matching the content you expect, such as `<nldd-container min-height="240px">`. As a safety net the host already takes the indicator's size (circle, plus the label with `show-text`) during the delay, so nothing shifts when it fades in; once `complete` is set it gives that space up. Label size follows `size`, not the surrounding text, so the circle and its label keep the same proportion everywhere: body-xs at 16 and 20, body-sm at 24 and 28, body-md from 32. Keep the label short; a longer explanation belongs in the area as regular text. The default indicator is a simple icon-sized circle in the `--context-content-color` that the surface, button or row around it sets, so a spinner in a selected row or a filled button takes that row's or button's color. An optional label sits below (hidden unless `show-text` is set). The indicator is always indeterminate; when you know the progress, show `nldd-progress-bar` or `nldd-progress-circle` instead. Icon alignment: the visible ring already sits at 5/6 of its box (the SVG's r=9 plus a 2-unit stroke in a 24 view-box, the same optical inset a filled icon glyph has), so a standalone spinner lines up with an icon or an `icon-aligned` `nldd-avatar` on the same grid — no extra option needed (unlike `nldd-avatar`, which fills edge-to-edge and opts in via `icon-aligned`). Overlay mode: put content in the default slot and the indicator wraps it — it becomes a `position: relative` container, renders the spinner over a dimming backdrop (opt out with `no-backdrop`), and makes the content `inert` so its controls can't be focused or clicked. Toggle loading with `complete` (`?complete=${!isLoading}`). With no slotted content it stays the standalone placeholder described above. Reconnect behavior: every `connectedCallback` resets the timer and hides the indicator again. If a consumer toggles the element via a conditional render (remove + re-insert) the indicator disappears and re-fades after another delay. Keep the element mounted and toggle visibility / `hidden` instead if you want the timer to run only once. Accessibility: while connected and not `complete` the host is a polite live region (`role="status"`). The label (`text`, or the translated "Laden" fallback) always renders as the region's content — visually hidden when `show-text` is off (the default) — so assistive tech announces the loading state when the indicator appears. Set `complete` (or unmount) to clear it. */
|
|
3069
3073
|
'nldd-activity-indicator': NlddElement<NLDDActivityIndicator, NlddActivityIndicatorProps>;
|
|
3070
|
-
/** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. 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. */
|
|
3074
|
+
/** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Four characters fit an organization acronym such as LVVN or JenV; they read well from 40px, so below that pick a shorter form. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role="img"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon. */
|
|
3071
3075
|
'nldd-avatar': NlddElement<NLDDAvatar, NlddAvatarProps>;
|
|
3072
|
-
/** 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-
|
|
3076
|
+
/** 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. */
|
|
3073
3077
|
'nldd-avatar-group': NlddElement<NLDDAvatarGroup, NlddAvatarGroupProps>;
|
|
3074
3078
|
/** Shows the state of something, or how much of it there is: a status, a number of unread messages, a dot saying something is new. What it says is decided by the system, and it changes without anyone touching it. A badge is never interactive. It shows text, a number and/or an icon; with no content it becomes a dot. Put it in a corner of another element (an icon, for instance) or on its own. For a property someone assigns to something, such as a category, a role or a certification, use `nldd-tag`. For standalone data the user works with, such as a chosen person or an active filter, use `nldd-token`. */
|
|
3075
3079
|
'nldd-badge': NlddElement<NLDDBadge, NlddBadgeProps>;
|
|
3076
3080
|
/** An inline notification with a tinted background per variant. Use for persistent, page-level feedback (e.g. an error summary at the top of a form). Banner is more visually present than nldd-inline-dialog — the tinted color catches the eye. If you need a quieter component, pick a different one rather than overriding the banner's ARIA. Layout: icon left, text + supporting text + optional rich content + actions in the center, optional dismiss button right. Buttons wrap to a second row on narrow viewports via nldd-button-group's flex wrapping. role and aria-live are set automatically from the variant: - critical → role="alert" (interrupts screen reader) - others → role="status" aria-live="polite" Not overridable — if you need a less prominent component, use one. aria-atomic="true" is also set so that updates to the structured region (icon + heading + supporting-text + actions) are announced as one unit rather than as a partial subtree. Trade-off: any programmatic content mutation re-reads the entire banner. Banners are designed for short, heading-scale copy — if you slot in a paragraph of rich body text and then toggle variant or supporting-text at runtime, AT will re-announce the whole thing. Keep banner content concise, or render long-form messages in a different surface. */
|
|
3077
3081
|
'nldd-banner': NlddElement<NLDDBanner, NlddBannerProps>;
|
|
3078
|
-
/** A vertical split view with a main area and an unlimited number of bar panels. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar — directly above and/or below main — at every breakpoint (including sm). Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar"). Use slot="bar-1", slot="bar-2" if no meaningful name applies. The main panel always uses slot="main". Sets --context-
|
|
3082
|
+
/** A vertical split view with a main area and an unlimited number of bar panels. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar — directly above and/or below main — at every breakpoint (including sm). Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar"). Use slot="bar-1", slot="bar-2" if no meaningful name applies. The main panel always uses slot="main". Sets --context-background-color, which cascades to all descendants. */
|
|
3079
3083
|
'nldd-bar-split-view': NlddElement<NLDDBarSplitView, NlddBarSplitViewProps>;
|
|
3080
3084
|
/** Shows a quote with an optional source attribution. The quote is at most 30em wide, measured in its own letters, so a line holds about the same number of characters at every size, custom sizes included. Within that, it takes the width of its parent. */
|
|
3081
3085
|
'nldd-blockquote': NlddElement<NLDDBlockquote, NlddBlockquoteProps>;
|
|
@@ -3135,9 +3139,9 @@ declare module 'react' {
|
|
|
3135
3139
|
'nldd-form-section': NlddElement<NLDDFormSection, NlddFormSectionProps>;
|
|
3136
3140
|
/** A section that spans the full width without horizontal padding. Useful for background colors, images, or other content that runs edge to edge. Vertical padding and gap adjust via container queries. */
|
|
3137
3141
|
'nldd-full-bleed-section': NlddElement<NLDDFullBleedSection, NlddFullBleedSectionProps>;
|
|
3138
|
-
/** The section that says what a page is for: it names the main goal of what you can find there, draws the eye and is the visual welcome. It has a media area and a text panel (the main) that can stand in eight positions. The areas are rectangular; `corner` rounds one corner of each. Use it on pages where a visitor first has to know where they are, such as a home or a topic page; where the title already does that, a section with a title is enough. The image in a hero sets the mood and is never the main content, so the panel always stands on it. Over an image the panel keeps a section gap from its edges, so it reads as a panel on the image rather than a frame cut out of it; with `main-width="full"` it is a strip across the whole image, the same gap from the sides. On mobile the image comes first and the panel below it, indented by the section gap and overlapping the image by 48px. For an image beside text without that relation, use a section with an image beside text instead. Without media the main fills the whole area; with `main-background="base"` that area gets a border so it stays visible on the base surface. The hero is the head of a page and sits right under the top bar, so on md and lg its top padding is half that of the other page sections: the full distance is meant to separate two sections, and under the top bar it reads as a gap. On sm the top keeps the full distance, as the other sections do. The bottom keeps the full distance to the section below. Set `padding-top` to place a hero elsewhere. By default the panel falls over the bottom of the image and runs on below it (`layout="overlap"`), so the image keeps its height whatever the content. `layout="contained"` keeps the panel on the image, for a short panel or one that stands at the top or along a side. The height of a hero comes from its image: `media-aspect-ratio`, or a fixed `media-height`. The `height` of the other page sections is not used here: as a minimum height for the whole hero it stretched the panel once that sat below the image. A hero given `height` says so in development. The panel takes the accent color of the theme, closest to its reference color in both modes, with a pure white or black content color, so
|
|
3142
|
+
/** The section that says what a page is for: it names the main goal of what you can find there, draws the eye and is the visual welcome. It has a media area and a text panel (the main) that can stand in eight positions. The areas are rectangular; `corner` rounds one corner of each. Use it on pages where a visitor first has to know where they are, such as a home or a topic page; where the title already does that, a section with a title is enough. The image in a hero sets the mood and is never the main content, so the panel always stands on it. Over an image the panel keeps a section gap from its edges, so it reads as a panel on the image rather than a frame cut out of it; with `main-width="full"` it is a strip across the whole image, the same gap from the sides. On mobile the image comes first and the panel below it, indented by the section gap and overlapping the image by 48px. For an image beside text without that relation, use a section with an image beside text instead. Without media the main fills the whole area; with `main-background="base"` that area gets a border so it stays visible on the base surface. The hero is the head of a page and sits right under the top bar, so on md and lg its top padding is half that of the other page sections: the full distance is meant to separate two sections, and under the top bar it reads as a gap. On sm the top keeps the full distance, as the other sections do. The bottom keeps the full distance to the section below. Set `padding-top` to place a hero elsewhere. By default the panel falls over the bottom of the image and runs on below it (`layout="overlap"`), so the image keeps its height whatever the content. `layout="contained"` keeps the panel on the image, for a short panel or one that stands at the top or along a side. The height of a hero comes from its image: `media-aspect-ratio`, or a fixed `media-height`. The `height` of the other page sections is not used here: as a minimum height for the whole hero it stretched the panel once that sat below the image. A hero given `height` says so in development. The panel takes the accent color of the theme, closest to its reference color in both modes, with a pure white or black content color that it passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A Rijkshuisstijl color per hero is gone: the theme picks the color for the whole site, and a hero given one says so in development. */
|
|
3139
3143
|
'nldd-hero': NlddElement<NLDDHero, NlddHeroProps>;
|
|
3140
|
-
/** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size="full"` names that default explicitly. `size="inherit"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon
|
|
3144
|
+
/** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size="full"` names that default explicitly. `size="inherit"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon takes `--context-content-color`, the text color that the surface, button, link or selected row around it passes on, as `nldd-text` does. A parent of your own that sets `color` sets that context too. Set `color` to one of the other functional semantics (`secondary`, `accent`, `critical`, `warning`, `success`), which follow the surface as well, or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For a color the design system cannot know — the jacket of a cable, a color someone picked — set `custom-color` to any CSS color. */
|
|
3141
3145
|
'nldd-icon': NlddElement<NLDDIcon, NlddIconProps>;
|
|
3142
3146
|
'nldd-icon-button': NlddElement<NLDDIconButton, NlddIconButtonProps>;
|
|
3143
3147
|
/** A cell component for displaying icons in lists with configurable alignment and size. Set `icon` to render an `nldd-icon` by name, or slot custom content as an escape hatch for non-standard iconography. */
|
|
@@ -3230,11 +3234,11 @@ declare module 'react' {
|
|
|
3230
3234
|
'nldd-segmented-control-item': NlddElement<NLDDSegmentedControlItem, NlddSegmentedControlItemProps>;
|
|
3231
3235
|
/** An overlay component that slides in from the side or bottom of the screen. Based on the native <dialog> element for built-in accessibility, focus management, and Escape key support. On small (sm) viewports the sheet always renders as a bottom sheet, regardless of the configured placement. Render the sheet at the document root (teleport/portal it to `document.body`), never inside a split view's content flow: as a slotted flex child it would steal pane height (see `nldd-split-view-pane`). A sheet holds a whole nldd-page: an nldd-top-title-bar in its header slot, the content, and a footer when there are actions. The page behaves as it does anywhere else, with only the middle scrolling, and the text of the bar is also the sheet's accessible name. Do not build a header of your own. Open and close it with `open`, bound to your state together with the close event: the sheet clears `open` itself when the user closes it. show() and hide() do the same for code without a binding. Keep the sheet in the DOM rather than mounting it when it opens, or the animations are skipped. */
|
|
3232
3236
|
'nldd-sheet': NlddElement<NLDDSheet, NlddSheetProps>;
|
|
3233
|
-
/** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. The document font comes from the package stylesheet (`@nldd/design-system/styles`), not from this component: it gives `body` the body font and content color as soon as a shell is on the page, inside `@layer reset` so any rule of your own wins. Import only the tokens (`/styles/tokens`) and text you write in the light DOM keeps the browser default. Set background="tinted" to give the whole application a tinted background. All descendants read --context-
|
|
3237
|
+
/** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. The document font comes from the package stylesheet (`@nldd/design-system/styles`), not from this component: it gives `body` the body font and content color as soon as a shell is on the page, inside `@layer reset` so any rule of your own wins. Import only the tokens (`/styles/tokens`) and text you write in the light DOM keeps the browser default. Set background="tinted" to give the whole application a tinted background. All descendants read --context-background-color via --_shell-background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the shell disconnects. The app scrolls the DOCUMENT (root mode) or lets each `nldd-page` scroll inside its pane (nested mode). The mode is derived from the outermost horizontal split view: one column means the document scrolls, several columns mean the panes do. An app without such a split view is a single column at every width and therefore scrolls the document too — nested scrolling would cost it the rubber-band and the collapsing browser toolbar on iOS for nothing. Set `--context-scroll-mode` on the `nldd-shell` itself to override the derived mode; an inherited value loses from it. In nested scroll mode `overscroll-behavior: none` is set on `document.documentElement` and `document.body` while the shell is connected. Combined with `overscroll-behavior: contain` on `nldd-page`'s scroll target, this prevents iOS rubber-band on the viewport when scroll gestures land outside an `nldd-page` (e.g. on a top-bar). In root scroll mode the document itself is the scroller, so this is lifted to let the native rubber-band happen. Cleared on last disconnect. */
|
|
3234
3238
|
'nldd-shell': NlddElement<NLDDShell, NlddShellProps>;
|
|
3235
3239
|
/** A horizontal split view with multiple equal panes side by side. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available width are automatically hidden, from right to left: `pane-1` is the last to go. Put the main content in `pane-1` and an inspector or detail in the last pane. */
|
|
3236
3240
|
'nldd-side-by-side-split-view': NlddElement<NLDDSideBySideSplitView, NlddSideBySideSplitViewProps>;
|
|
3237
|
-
/** A page section with a left sidebar alongside the main content. - **Wide (section >= 1008px):** two columns. The sidebar is a sticky, scrollable box (max-width 320px) beside the main content. It takes the surface of the section around it and is edged by a divider line, so it reads as a block without drawing the eye away from the main. Its sticky top/bottom insets default to 16px; override with `sticky-top` / `sticky-bottom` so it clears other sticky page elements (e.g. a sticky header). - **Narrow (section < 1008px):** the sidebar collapses behind a sheet (a left panel on md+ viewports, a bottom sheet on mobile), and the host reflects a `collapsed` attribute. The consumer owns the trigger: place any chrome (a button, a chosen-filters bar, …) wherever you want, show it only while collapsed
|
|
3241
|
+
/** A page section with a left sidebar alongside the main content. - **Wide (section >= 1008px):** two columns. The sidebar is a sticky, scrollable box (max-width 320px) beside the main content. It takes the surface of the section around it and is edged by a divider line, so it reads as a block without drawing the eye away from the main. Its sticky top/bottom insets default to 16px; override with `sticky-top` / `sticky-bottom` so it clears other sticky page elements (e.g. a sticky header). - **Narrow (section < 1008px):** the sidebar collapses behind a sheet (a left panel on md+ viewports, a bottom sheet on mobile), and the host reflects a `collapsed` attribute. The consumer owns the trigger: place any chrome (a button, a chosen-filters bar, …) wherever you want, show it only while collapsed with `sidebar-section-only="collapsed"` on it, and call `show()` / `toggle()` to open the sheet. Bind `aria-expanded` via the `open`/`close` events. The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a "Sluit" button — overridable via the `sheet-top-title-bar` slot. A link in the sheet to a place on the page beside it, such as a row of a table of contents, closes the sheet first and then scrolls to that place and moves focus there, with a temporary tab stop as a skip link does. Left to the browser, the page would scroll under a sheet that is still open, and on closing the browser gives focus back to the trigger without scrolling to it, so focus ends up out of sight. A link that opens elsewhere (another page, a new tab, a modifier key, a `download`) or points into the sidebar itself is left alone, as is a click the consumer has already handled with `preventDefault()`. The address gets the fragment through `replaceState`, without a new history entry and without a `hashchange` event or a `:target` match: a router that listens for those does not see the jump. The sidebar content lives in `slot="sidebar"`. Its slot outlet moves between the box (expanded) and the sheet (collapsed) so there is a single, never-duplicated copy — the light DOM (and its state) is preserved across the switch. The box <-> sheet switch follows the section's OWN width (a ResizeObserver on the host), not the viewport — so a sidebar-section in a narrow column or a split-view pane collapses to the sheet just like one in a narrow viewport, and the sidebar never stacks above or crowds the main. Set `no-collapse` to opt out: a narrow section then stacks the sidebar (full-width) above the main instead of using a sheet. Inherits block `padding` and `height` from PageSectionMixin. */
|
|
3238
3242
|
'nldd-sidebar-section': NlddElement<NLDDSidebarSection, NlddSidebarSectionProps>;
|
|
3239
3243
|
/** A basic section with responsive padding and gap based on container size. Contains optional header and footer slots. The padding and spacing between slots adjust automatically via container queries. Use one section per content block and repeat the section rather than building columns inside one: the section sets the reading width and the padding itself. For two columns there are nldd-one-half-one-half-section, nldd-two-thirds-one-third-section, nldd-one-third-two-thirds-section and nldd-sidebar-section. Give a section its surface with `background` instead of a background color of your own; that is how the components inside know which surface they are on. */
|
|
3240
3244
|
'nldd-simple-section': NlddElement<NLDDSimpleSection, NlddSimpleSectionProps>;
|
|
@@ -3250,7 +3254,7 @@ declare module 'react' {
|
|
|
3250
3254
|
'nldd-split-button': NlddElement<NLDDSplitButton, NlddSplitButtonProps>;
|
|
3251
3255
|
/** A divider line between panels in a split view. The divider runs from edge to edge in the direction perpendicular to the orientation. An optional drag handle indicates that the divider is draggable (future functionality). */
|
|
3252
3256
|
'nldd-split-view-divider': NlddElement<NLDDSplitViewDivider, NlddSplitViewDividerProps>;
|
|
3253
|
-
/** A simple pane container for use inside split views. The split view automatically sets context: whether a back button should be shown. The consumer sets `has-content` to indicate the pane has content. The consumer sets `back-text` on the `nldd-top-title-bar` inside the pane. The split view sets `hide-back` when the back button is not applicable. The pane automatically hides the back button via CSS when `hide-back` is active. The pane sets `--context-
|
|
3257
|
+
/** A simple pane container for use inside split views. The split view automatically sets context: whether a back button should be shown. The consumer sets `has-content` to indicate the pane has content. The consumer sets `back-text` on the `nldd-top-title-bar` inside the pane. The split view sets `hide-back` when the back button is not applicable. The pane automatically hides the back button via CSS when `hide-back` is active. The pane sets `--context-background-color` which cascades down to all descendants. Set `background="tinted"` on a pane to give it a tinted background independently of sibling panes. Descendants such as `nldd-page` read `--context-background-color` automatically. A pane stretches its slotted content to fill it (`::slotted(*) { flex-grow: 1 }`), so slot only layout content here. Overlays (`nldd-sheet`, popovers, dialogs, menus) belong at the document root — teleport/portal them to `document.body`. Do not leave an overlay as a light-DOM sibling of a split view: it gets slotted into the main pane and becomes an extra flex-grow child that steals pane height, so in document-scroll (root) mode a short page's sticky footer floats mid-screen instead of docking. */
|
|
3254
3258
|
'nldd-split-view-pane': NlddElement<NLDDSplitViewPane, NlddSplitViewPaneProps>;
|
|
3255
3259
|
/** A vertical split view with multiple stacked panes. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available height are automatically hidden. */
|
|
3256
3260
|
'nldd-stacked-split-view': NlddElement<NLDDStackedSplitView, NlddStackedSplitViewProps>;
|
|
@@ -3281,9 +3285,9 @@ declare module 'react' {
|
|
|
3281
3285
|
'nldd-tag': NlddElement<NLDDTag, NlddTagProps>;
|
|
3282
3286
|
/** 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. 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. */
|
|
3283
3287
|
'nldd-text': NlddElement<NLDDText, NlddTextProps>;
|
|
3284
|
-
/** 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) accepts either a string attribute or slotted DOM content. The slot is the source of truth: if the consumer provides slotted content, it replaces the attribute-based render for that region. Use slots when you need
|
|
3288
|
+
/** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text) accepts either a string attribute or slotted DOM content. The slot is the source of truth: if the consumer provides slotted content, it replaces the attribute-based render for that region. Use slots when you need components mixed with text, such as `<nldd-link>`, `<nldd-tag>` or `<nldd-icon>`. The cell does not style plain HTML: for bold, write `**bold**` in the attribute, and for code put an `<nldd-text>` with a `<code>` in the slot. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is. */
|
|
3285
3289
|
'nldd-text-cell': NlddElement<NLDDTextCell, NlddTextCellProps>;
|
|
3286
|
-
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. With `syntax="hidden"` a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href="…" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. */
|
|
3290
|
+
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. With `syntax="hidden"` a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads "Taak, open" or "Taak, afgerond" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a "Kopieer" button at the right edge that copies the code without its fences and says "Gekopieerd" or "Kopiëren mislukt", as the code viewer does. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href="…" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. */
|
|
3287
3291
|
'nldd-text-editor': NlddElement<NLDDTextEditor, NlddTextEditorProps>;
|
|
3288
3292
|
'nldd-text-field': NlddElement<NLDDTextField, NlddTextFieldProps>;
|
|
3289
3293
|
/** A text field for a time. The value is always 24-hour `HH:mm`, which is how Dutch shows it too, so unlike nldd-date-field there is nothing to convert. Typing is not masked: input is accepted generously and normalized only when the field is left. Error messages belong to nldd-form-field, not here. This field reflects only `invalid` / `valid`, like nldd-text-field. `value` holds a valid time or nothing, so an empty field and one with text that is no time both read as ''. `validity` tells them apart: `badInput` for text that is no time, `rangeUnderflow` / `rangeOverflow` for a time outside `min` / `max`. A form does not submit then, and nldd-form marks the field invalid. Without a submit, as in a filter that applies at once, the moment is yours: `field.invalid = !field.validity.valid` on `change`, with a message of your own in the nldd-form-field. What you do in the picker is a preview until you leave it. The field shows the time right away but commits it on close. "Klaar" and Enter keep the choice, and so does a click outside once you have picked something. Cancel and Escape put the old time back. On an empty field the wheels open at `min`, or otherwise at the current time rounded to `step`, which does not fill in the field yet. */
|