@nldd/design-system 0.21.1 → 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 +900 -414
- 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-JglZJ8dh.js → activity-indicator-D86Mv6SL.js} +25 -24
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar-BISv6tzp.js} +58 -56
- package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-D7IN6DxU.js} +43 -42
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-R3PZUsqZ.js} +36 -33
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-DRANlf5k.js} +43 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-B-Y2nqgS.js} +33 -30
- package/dist/cdn/chunks/blockquote-pUgJLPY1.js +241 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-BbXHpBQy.js} +14 -12
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-BdF4m3DB.js} +41 -36
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-CsqNHH3w.js} +141 -127
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-CnYIw4fN.js} +25 -21
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-xaHghyon.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-Bbf0aCIh.js} +35 -33
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-Dggt5oYG.js} +24 -23
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-DmFAS8ec.js} +49 -43
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-fOWPH8Q7.js} +37 -32
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-BWGTUNv4.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-CANFZX66.js} +56 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C_vUEx7J.js} +160 -123
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-wexTiqWw.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-_emTry5U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-CGwj1u4a.js} +77 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-D5Dz-j6a.js} +62 -54
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DbwbPetH.js} +1 -1
- package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-ChmyLtTj.js} +93 -83
- package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-CUQKdjS4.js} +86 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-_JGq4E_7.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-DbnuGktP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-BgcO7ObI.js} +27 -25
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-KAnKlxY0.js} +188 -80
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-BF9euKgj.js} +43 -43
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-BHMubC6P.js} +190 -196
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-BJrN5nEM.js} +50 -50
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-Bz3Isx60.js} +13 -13
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-CBnQQ6kV.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CJLBwJx0.js} +120 -125
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-CKZ98PMy.js} +362 -371
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-CLKJ5z0x.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-D7Wubc1l.js} +25 -25
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-DADIyiX-.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-HgRt6IKh.js} +1 -1
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-pO5O6wL4.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-C_-iuaUc.js} +74 -60
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-DYO6049g.js} +36 -31
- package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-C-Fk92rD.js} +134 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-ChXBrKw6.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-DrOX7nX8.js} +7 -7
- package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
- package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-CR2Py09O.js} +46 -39
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-s1mkLzaC.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-vOVI_f86.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-Cb3qIvvh.js} +125 -116
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-DBhTZrnl.js} +89 -72
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-bDuQ_6W_.js} +109 -99
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-DlSZNTF3.js} +32 -30
- package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-CJTVNI9J.js} +28 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-28B8DYUB.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-DlTxyeL3.js} +100 -85
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-BJlOrD6M.js} +32 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-DWBDshKs.js} +47 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-DIXY8FcZ.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-DmnxctX6.js} +15 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-kYOKwBqs.js} +25 -23
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-DGtcUhLc.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-DhnhhTOg.js} +42 -39
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-Bx2nkQcS.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-CXCG_IEc.js} +81 -44
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-CSNBaRlK.js} +185 -124
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-D6WvAh3A.js} +55 -53
- package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-CKxKVA36.js} +58 -57
- package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-C950rfSt.js} +35 -34
- package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-xahTEYTX.js} +21 -21
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-XlYJ4zQz.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-E6hIEtLj.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-2y0VC5Gb.js} +38 -36
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-ZBhUFgBJ.js} +55 -34
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-DdFpcRLJ.js} +37 -36
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-okvEa54Q.js} +51 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-dNRQDSpy.js} +72 -91
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +114 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-2tnwXEY1.js} +28 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-CH7EvpSq.js} +45 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-UZDP-KO-.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-8KtESdXO.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-Bvm3ND6e.js} +58 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-PK1FWuKJ.js} +44 -41
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-BamWKHwH.js} +68 -80
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-3q59_Jo_.js} +39 -35
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-47zAyQhM.js} +52 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-FaU02DSW.js} +58 -54
- package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-642mOFR5.js} +97 -61
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-BivaNkIY.js} +57 -55
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-ewL0JIcz.js} +57 -55
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-DvrYYSnm.js} +42 -42
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-BVi0YrTF.js} +29 -27
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-DZ9OWUNe.js} +18 -18
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CO31_4GS.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-Doetg58W.js} +39 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-DCjwUXr0.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-Wb4hkVZc.js} +1 -1
- package/dist/cdn/chunks/rich-text-Do08iiIz.js +58 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-CKR5rHBA.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CCeeGiJM.js} +75 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-CWIPxEBq.js} +92 -82
- package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
- package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-WOjBtZvN.js} +41 -39
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-Brn0Dr8F.js} +26 -23
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DGIMsyma.js} +33 -30
- package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-BXHeI8GN.js} +37 -32
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-C8lJZLAO.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-QdRgHljr.js} +20 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BhjBeWqc.js} +90 -84
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-BgkOjuUj.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DBI0PVd7.js} +13 -12
- package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-DfD9vxPe.js} +45 -41
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-B4NFlri5.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-CwFf13hX.js} +27 -24
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-BmbzTinq.js} +32 -29
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-CZrcQRgC.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-CTOf_bDL.js} +25 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-B5vzvhz-.js} +64 -57
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-CUA-HUZv.js} +44 -40
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-LxPTQ6HJ.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-DiIQAb_L.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-Cxv9HK3A.js} +48 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-CbNSJQPp.js} +34 -32
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-B8vOvcKc.js} +51 -30
- package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-D4ot_wZ4.js} +76 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-uh4YPqda.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-D2dCXT7A.js} +26 -25
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-BX4Xm40t.js} +62 -77
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-DNCpmw9h.js} +57 -53
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-C6UKAmPL.js} +97 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-Dmkd4mHV.js} +65 -56
- package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-BfgNZbEb.js} +64 -60
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-C1SBkU-e.js} +91 -79
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-DFrd-Fsh.js} +119 -102
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CC1dQyth.js} +75 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-bAX6uzgz.js} +80 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-B7CHBww5.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-CicHNqIk.js} +34 -32
- package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-BFynQ-T-.js} +78 -70
- package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-hAmL7o23.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CjgkcYJ2.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-B1acxCGx.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-xiyZx5D0.js} +7 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-Mj47t8v7.js} +72 -62
- package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-vP5QGBXd.js} +88 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-Yt6cmRLj.js} +52 -44
- package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-BHN98jET.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-CUPzu9_z.js} +20 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-DPuxf-sj.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CvjJIBhz.js} +6 -6
- package/dist/cdn/chunks/{window-CxV6ELE9.js → window-BqGlzGaS.js} +41 -40
- package/dist/cdn/chunks/with-translations-CRvWJWep.js +16 -0
- 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.story-sync.js +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.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.d.ts +9 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +23 -7
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +52 -10
- 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 +20 -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/code-viewer/code-viewer.template.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.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.d.ts +6 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -15
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +34 -25
- 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 +9 -7
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +40 -12
- 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 +26 -17
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -20
- 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 +84 -69
- 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.d.ts +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +5 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +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/form.d.ts +11 -0
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +56 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +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/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.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 +7 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +8 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +9 -11
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -3
- package/dist/components/inputs/code-editor/code-editor.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 +24 -25
- 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.d.ts +3 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +4 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +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 +10 -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 +7 -1
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +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 +15 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +26 -4
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -2
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +24 -17
- 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.mentions.d.ts +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 +45 -19
- 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.d.ts +28 -19
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +78 -51
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +7 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.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-column.d.ts +1 -1
- package/dist/components/layout/kanban/kanban-column.js +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +7 -7
- package/dist/components/layout/kanban/kanban.js +9 -9
- package/dist/components/layout/kanban/kanban.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.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +9 -21
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -4
- package/dist/components/layout/page-footer/page-footer.template.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.d.ts +24 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +106 -11
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +9 -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/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +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.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.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.d.ts +46 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +15 -14
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.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 +7 -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 +7 -4
- 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.d.ts +7 -5
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +4 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +19 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +3 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +15 -21
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +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 +31 -15
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +107 -154
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +30 -23
- 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/lists-and-tables/table/table.d.ts +4 -4
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.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.d.ts +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +16 -24
- package/dist/components/navigation/document-tab-bar/document-tab-bar.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.d.ts +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
- package/dist/components/navigation/tab-bar/tab-bar.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.menu-sheet.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.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.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +12 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.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.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +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 +8 -2
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +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.d.ts +2 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.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.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +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/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +14 -38
- package/dist/css/title.css +80 -0
- package/dist/css/variables.css +43 -27
- package/dist/nldd.min.js +1803 -1280
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +4 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +4 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +4 -1
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -2
- 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 +4 -1
- 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 +4 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +88 -76
- package/dist/types/vue.d.ts +123 -104
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- 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 +162 -62
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +17 -0
- package/dist/utilities/form-associated-mixin.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/reorder-handle-mixin.d.ts +21 -0
- package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
- package/dist/utilities/reorder-handle-mixin.js +34 -0
- package/dist/utilities/reorder-handle-mixin.js.map +1 -0
- 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/fix.js +11 -0
- package/lint/frontends.js +67 -42
- package/lint/linter.js +193 -8
- package/lint/main.js +20 -7
- package/lint/project.js +2 -2
- package/lint/rule-data.js +20 -0
- package/lint/rule.schema.json +1 -0
- package/package.json +6 -6
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
- package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +0 -12
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"default": "'neutral-tinted'",
|
|
75
75
|
"fieldName": "appearance",
|
|
76
|
-
"description": "Visual style of the buttons
|
|
76
|
+
"description": "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."
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "disabled",
|
|
@@ -640,9 +640,9 @@
|
|
|
640
640
|
"default": "'neutral-tinted'",
|
|
641
641
|
"fieldName": "appearance",
|
|
642
642
|
"expandedType": {
|
|
643
|
-
"text": "'accent-filled' | 'accent-transparent' | '
|
|
643
|
+
"text": "'accent-filled' | 'accent-transparent' | 'content-filled' | 'content-tinted' | 'critical-tinted' | 'critical-transparent' | 'destructive' | 'neutral-base' | 'neutral-tinted' | 'neutral-transparent' | 'primary' | 'secondary'"
|
|
644
644
|
},
|
|
645
|
-
"description": "Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | '
|
|
645
|
+
"description": "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."
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
648
|
"name": "size",
|
|
@@ -1334,9 +1334,9 @@
|
|
|
1334
1334
|
"default": "'neutral-tinted'",
|
|
1335
1335
|
"fieldName": "appearance",
|
|
1336
1336
|
"expandedType": {
|
|
1337
|
-
"text": "'accent-filled' | 'accent-transparent' | '
|
|
1337
|
+
"text": "'accent-filled' | 'accent-transparent' | 'content-filled' | 'content-tinted' | 'critical-tinted' | 'critical-transparent' | 'destructive' | 'neutral-base' | 'neutral-tinted' | 'neutral-transparent' | 'primary' | 'secondary'"
|
|
1338
1338
|
},
|
|
1339
|
-
"description": "Visual style, color included: '
|
|
1339
|
+
"description": "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."
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
"name": "size",
|
|
@@ -1866,6 +1866,26 @@
|
|
|
1866
1866
|
"attribute": "href",
|
|
1867
1867
|
"reflects": true
|
|
1868
1868
|
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "field",
|
|
1871
|
+
"name": "target",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "string | undefined"
|
|
1874
|
+
},
|
|
1875
|
+
"default": "undefined",
|
|
1876
|
+
"attribute": "target",
|
|
1877
|
+
"reflects": true
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "field",
|
|
1881
|
+
"name": "rel",
|
|
1882
|
+
"type": {
|
|
1883
|
+
"text": "string | undefined"
|
|
1884
|
+
},
|
|
1885
|
+
"default": "undefined",
|
|
1886
|
+
"attribute": "rel",
|
|
1887
|
+
"reflects": true
|
|
1888
|
+
},
|
|
1869
1889
|
{
|
|
1870
1890
|
"kind": "field",
|
|
1871
1891
|
"name": "type",
|
|
@@ -1992,6 +2012,19 @@
|
|
|
1992
2012
|
}
|
|
1993
2013
|
},
|
|
1994
2014
|
"description": "Programmatically select this item."
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "field",
|
|
2018
|
+
"name": "translations",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "Partial<T>"
|
|
2021
|
+
},
|
|
2022
|
+
"default": "{}",
|
|
2023
|
+
"attribute": "translations",
|
|
2024
|
+
"inheritedFrom": {
|
|
2025
|
+
"name": "withTranslations",
|
|
2026
|
+
"module": "src/utilities/with-translations.ts"
|
|
2027
|
+
}
|
|
1995
2028
|
}
|
|
1996
2029
|
],
|
|
1997
2030
|
"events": [
|
|
@@ -2064,6 +2097,37 @@
|
|
|
2064
2097
|
"default": "''",
|
|
2065
2098
|
"fieldName": "href"
|
|
2066
2099
|
},
|
|
2100
|
+
{
|
|
2101
|
+
"type": {
|
|
2102
|
+
"text": "string | undefined"
|
|
2103
|
+
},
|
|
2104
|
+
"description": "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.",
|
|
2105
|
+
"name": "target",
|
|
2106
|
+
"default": "undefined",
|
|
2107
|
+
"fieldName": "target"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"type": {
|
|
2111
|
+
"text": "string | undefined"
|
|
2112
|
+
},
|
|
2113
|
+
"description": "Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.",
|
|
2114
|
+
"name": "rel",
|
|
2115
|
+
"default": "undefined",
|
|
2116
|
+
"fieldName": "rel"
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"name": "translations",
|
|
2120
|
+
"type": {
|
|
2121
|
+
"text": "Partial<T>"
|
|
2122
|
+
},
|
|
2123
|
+
"default": "{}",
|
|
2124
|
+
"fieldName": "translations",
|
|
2125
|
+
"description": "Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.",
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "withTranslations",
|
|
2128
|
+
"module": "src/utilities/with-translations.ts"
|
|
2129
|
+
}
|
|
2130
|
+
},
|
|
2067
2131
|
{
|
|
2068
2132
|
"type": {
|
|
2069
2133
|
"text": "MenuItemType"
|
|
@@ -2159,6 +2223,12 @@
|
|
|
2159
2223
|
"fieldName": "shortcutLinux"
|
|
2160
2224
|
}
|
|
2161
2225
|
],
|
|
2226
|
+
"mixins": [
|
|
2227
|
+
{
|
|
2228
|
+
"name": "withTranslations",
|
|
2229
|
+
"module": "/src/utilities/with-translations.js"
|
|
2230
|
+
}
|
|
2231
|
+
],
|
|
2162
2232
|
"superclass": {
|
|
2163
2233
|
"name": "LitElement",
|
|
2164
2234
|
"package": "lit"
|
|
@@ -3460,9 +3530,9 @@
|
|
|
3460
3530
|
"default": "'neutral-tinted'",
|
|
3461
3531
|
"fieldName": "appearance",
|
|
3462
3532
|
"expandedType": {
|
|
3463
|
-
"text": "'accent-filled' | '
|
|
3533
|
+
"text": "'accent-filled' | 'content-filled' | 'content-tinted' | 'neutral-base' | 'neutral-tinted' | 'primary' | 'secondary'"
|
|
3464
3534
|
},
|
|
3465
|
-
"description": "Visual style: '
|
|
3535
|
+
"description": "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."
|
|
3466
3536
|
},
|
|
3467
3537
|
{
|
|
3468
3538
|
"name": "disabled",
|
|
@@ -4623,7 +4693,7 @@
|
|
|
4623
4693
|
"declarations": [
|
|
4624
4694
|
{
|
|
4625
4695
|
"kind": "class",
|
|
4626
|
-
"description": "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-
|
|
4696
|
+
"description": "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.",
|
|
4627
4697
|
"name": "NLDDAvatarGroup",
|
|
4628
4698
|
"members": [
|
|
4629
4699
|
{
|
|
@@ -4755,7 +4825,7 @@
|
|
|
4755
4825
|
"declarations": [
|
|
4756
4826
|
{
|
|
4757
4827
|
"kind": "class",
|
|
4758
|
-
"description": "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.",
|
|
4828
|
+
"description": "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.",
|
|
4759
4829
|
"name": "NLDDAvatar",
|
|
4760
4830
|
"members": [
|
|
4761
4831
|
{
|
|
@@ -4999,9 +5069,9 @@
|
|
|
4999
5069
|
"default": "'neutral'",
|
|
5000
5070
|
"fieldName": "color",
|
|
5001
5071
|
"expandedType": {
|
|
5002
|
-
"text": "'
|
|
5072
|
+
"text": "'content' | 'neutral'"
|
|
5003
5073
|
},
|
|
5004
|
-
"description": "`neutral` (the default, a neutral fill) or `
|
|
5074
|
+
"description": "`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)"
|
|
5005
5075
|
},
|
|
5006
5076
|
{
|
|
5007
5077
|
"name": "icon-aligned",
|
|
@@ -5028,7 +5098,7 @@
|
|
|
5028
5098
|
},
|
|
5029
5099
|
"default": "''",
|
|
5030
5100
|
"fieldName": "initials",
|
|
5031
|
-
"description": "Explicit initials, at most
|
|
5101
|
+
"description": "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"
|
|
5032
5102
|
},
|
|
5033
5103
|
{
|
|
5034
5104
|
"name": "src",
|
|
@@ -5185,9 +5255,19 @@
|
|
|
5185
5255
|
"declarations": [
|
|
5186
5256
|
{
|
|
5187
5257
|
"kind": "class",
|
|
5188
|
-
"description": "Shows a quote with an optional source attribution.",
|
|
5258
|
+
"description": "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.",
|
|
5189
5259
|
"name": "NLDDBlockquote",
|
|
5190
5260
|
"members": [
|
|
5261
|
+
{
|
|
5262
|
+
"kind": "field",
|
|
5263
|
+
"name": "size",
|
|
5264
|
+
"type": {
|
|
5265
|
+
"text": "BlockquoteSize"
|
|
5266
|
+
},
|
|
5267
|
+
"default": "'md'",
|
|
5268
|
+
"attribute": "size",
|
|
5269
|
+
"reflects": true
|
|
5270
|
+
},
|
|
5191
5271
|
{
|
|
5192
5272
|
"kind": "field",
|
|
5193
5273
|
"name": "cite",
|
|
@@ -5229,6 +5309,18 @@
|
|
|
5229
5309
|
}
|
|
5230
5310
|
],
|
|
5231
5311
|
"attributes": [
|
|
5312
|
+
{
|
|
5313
|
+
"name": "size",
|
|
5314
|
+
"type": {
|
|
5315
|
+
"text": "BlockquoteSize"
|
|
5316
|
+
},
|
|
5317
|
+
"default": "'md'",
|
|
5318
|
+
"fieldName": "size",
|
|
5319
|
+
"expandedType": {
|
|
5320
|
+
"text": "'lg' | 'md'"
|
|
5321
|
+
},
|
|
5322
|
+
"description": "Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are"
|
|
5323
|
+
},
|
|
5232
5324
|
{
|
|
5233
5325
|
"name": "cite",
|
|
5234
5326
|
"type": {
|
|
@@ -5245,7 +5337,7 @@
|
|
|
5245
5337
|
},
|
|
5246
5338
|
"default": "''",
|
|
5247
5339
|
"fieldName": "smCustomSize",
|
|
5248
|
-
"description": "A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page.
|
|
5340
|
+
"description": "A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size=\"lg\"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to `size`"
|
|
5249
5341
|
},
|
|
5250
5342
|
{
|
|
5251
5343
|
"name": "md-custom-size",
|
|
@@ -5430,7 +5522,7 @@
|
|
|
5430
5522
|
"declarations": [
|
|
5431
5523
|
{
|
|
5432
5524
|
"kind": "class",
|
|
5433
|
-
"description": "A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. Set `diff` when the content is a unified diff, as git and pull request tools hand it out. The viewer shows the code it changes: an added line green and a removed line red, a column with the old and one with the new line number, a column with the `+` or `−`, and the `@@` header of each hunk between them. Within a removed line that is directly followed by an added one, the words that differ are marked, unless more than half of the line changed. File headers (`diff --git`, `---`, `+++`) are left out: name the file in the page around the viewer, and give each file of a multi-file diff a viewer of its own. `language` still highlights the code. A screen reader hears a summary first (\"2 regels toegevoegd, 1 regel verwijderd\") and \"Toegevoegd\" or \"Verwijderd\" with the line number before each changed line. A selection copies the code; the copy button copies the diff. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme.",
|
|
5525
|
+
"description": "A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. A value the reader fills in is written in the code itself, as `<org-id>`; the design guidelines say why. The viewer does not mark it. Set `diff` when the content is a unified diff, as git and pull request tools hand it out. The viewer shows the code it changes: an added line green and a removed line red, a column with the old and one with the new line number, a column with the `+` or `−`, and the `@@` header of each hunk between them. Within a removed line that is directly followed by an added one, the words that differ are marked, unless more than half of the line changed. File headers (`diff --git`, `---`, `+++`) are left out: name the file in the page around the viewer, and give each file of a multi-file diff a viewer of its own. `language` still highlights the code. A screen reader hears a summary first (\"2 regels toegevoegd, 1 regel verwijderd\") and \"Toegevoegd\" or \"Verwijderd\" with the line number before each changed line. A selection copies the code; the copy button copies the diff. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme.",
|
|
5434
5526
|
"name": "NLDDCodeViewer",
|
|
5435
5527
|
"members": [
|
|
5436
5528
|
{
|
|
@@ -5465,6 +5557,17 @@
|
|
|
5465
5557
|
"attribute": "diff",
|
|
5466
5558
|
"reflects": true
|
|
5467
5559
|
},
|
|
5560
|
+
{
|
|
5561
|
+
"kind": "field",
|
|
5562
|
+
"name": "lineNumbers",
|
|
5563
|
+
"type": {
|
|
5564
|
+
"text": "boolean"
|
|
5565
|
+
},
|
|
5566
|
+
"default": "false",
|
|
5567
|
+
"description": "Show the number of each line, outside `diff`.",
|
|
5568
|
+
"attribute": "line-numbers",
|
|
5569
|
+
"reflects": true
|
|
5570
|
+
},
|
|
5468
5571
|
{
|
|
5469
5572
|
"kind": "field",
|
|
5470
5573
|
"name": "noCopy",
|
|
@@ -5565,6 +5668,15 @@
|
|
|
5565
5668
|
"description": "The content is a unified diff: shown with line colors, old and new line numbers, and the changed words marked.",
|
|
5566
5669
|
"fieldName": "diff"
|
|
5567
5670
|
},
|
|
5671
|
+
{
|
|
5672
|
+
"name": "line-numbers",
|
|
5673
|
+
"type": {
|
|
5674
|
+
"text": "boolean"
|
|
5675
|
+
},
|
|
5676
|
+
"default": "false",
|
|
5677
|
+
"description": "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.",
|
|
5678
|
+
"fieldName": "lineNumbers"
|
|
5679
|
+
},
|
|
5568
5680
|
{
|
|
5569
5681
|
"name": "no-copy",
|
|
5570
5682
|
"type": {
|
|
@@ -5656,7 +5768,7 @@
|
|
|
5656
5768
|
},
|
|
5657
5769
|
{
|
|
5658
5770
|
"kind": "class",
|
|
5659
|
-
"description": "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
|
|
5771
|
+
"description": "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.",
|
|
5660
5772
|
"name": "NLDDIcon",
|
|
5661
5773
|
"members": [
|
|
5662
5774
|
{
|
|
@@ -5684,7 +5796,7 @@
|
|
|
5684
5796
|
"type": {
|
|
5685
5797
|
"text": "IconColor"
|
|
5686
5798
|
},
|
|
5687
|
-
"default": "''",
|
|
5799
|
+
"default": "'content'",
|
|
5688
5800
|
"attribute": "color",
|
|
5689
5801
|
"reflects": true
|
|
5690
5802
|
},
|
|
@@ -5701,13 +5813,13 @@
|
|
|
5701
5813
|
},
|
|
5702
5814
|
{
|
|
5703
5815
|
"kind": "field",
|
|
5704
|
-
"name": "
|
|
5816
|
+
"name": "tile",
|
|
5705
5817
|
"type": {
|
|
5706
5818
|
"text": "boolean"
|
|
5707
5819
|
},
|
|
5708
5820
|
"default": "false",
|
|
5709
|
-
"description": "Draw the icon on a filled square instead of on its own.\n\nIt turns the
|
|
5710
|
-
"attribute": "
|
|
5821
|
+
"description": "Draw the icon on a tile, a filled square, instead of on its own.\n\nIt turns the color question around: `color` and `custom-color` paint the\ntile, and the glyph takes whatever contrasts with it. That pair is the\nreason this is an option here rather than a tile a consumer builds around\nan icon, because a hand-picked pair is the part nobody can check by eye.\n\n`size` then measures the tile, so the same size renders a smaller glyph\nwith `tile` than without: four fifths of it.",
|
|
5822
|
+
"attribute": "tile",
|
|
5711
5823
|
"reflects": true
|
|
5712
5824
|
}
|
|
5713
5825
|
],
|
|
@@ -5737,19 +5849,19 @@
|
|
|
5737
5849
|
"type": {
|
|
5738
5850
|
"text": "IconColor"
|
|
5739
5851
|
},
|
|
5740
|
-
"description": "Functional (`
|
|
5852
|
+
"description": "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`).",
|
|
5741
5853
|
"name": "color",
|
|
5742
|
-
"default": "''",
|
|
5854
|
+
"default": "'content'",
|
|
5743
5855
|
"fieldName": "color",
|
|
5744
5856
|
"expandedType": {
|
|
5745
|
-
"text": "'' | '
|
|
5857
|
+
"text": "'accent' | 'bruin' | 'content' | 'critical' | 'donkerblauw' | 'donkerbruin' | 'donkergeel' | 'donkergroen' | 'geel' | 'groen' | 'hemelblauw' | 'lichtblauw' | 'lintblauw' | 'mintgroen' | 'mosgroen' | 'oranje' | 'paars' | 'robijnrood' | 'rood' | 'roze' | 'secondary' | 'success' | 'violet' | 'warning'"
|
|
5746
5858
|
}
|
|
5747
5859
|
},
|
|
5748
5860
|
{
|
|
5749
5861
|
"type": {
|
|
5750
5862
|
"text": "string"
|
|
5751
5863
|
},
|
|
5752
|
-
"description": "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`.",
|
|
5864
|
+
"description": "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`.",
|
|
5753
5865
|
"name": "custom-color",
|
|
5754
5866
|
"default": "''",
|
|
5755
5867
|
"fieldName": "customColor"
|
|
@@ -5758,10 +5870,10 @@
|
|
|
5758
5870
|
"type": {
|
|
5759
5871
|
"text": "boolean"
|
|
5760
5872
|
},
|
|
5761
|
-
"description": "Draw the icon on a filled square. `color` and `custom-color` then paint the
|
|
5762
|
-
"name": "
|
|
5873
|
+
"description": "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`.",
|
|
5874
|
+
"name": "tile",
|
|
5763
5875
|
"default": "false",
|
|
5764
|
-
"fieldName": "
|
|
5876
|
+
"fieldName": "tile"
|
|
5765
5877
|
}
|
|
5766
5878
|
],
|
|
5767
5879
|
"superclass": {
|
|
@@ -6180,7 +6292,7 @@
|
|
|
6180
6292
|
"text": "string"
|
|
6181
6293
|
},
|
|
6182
6294
|
"default": "'full'",
|
|
6183
|
-
"description": "Display width. `full` (default) fills the parent. A
|
|
6295
|
+
"description": "Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own.",
|
|
6184
6296
|
"fieldName": "width"
|
|
6185
6297
|
},
|
|
6186
6298
|
{
|
|
@@ -6549,7 +6661,7 @@
|
|
|
6549
6661
|
"text": "Color"
|
|
6550
6662
|
},
|
|
6551
6663
|
"default": "'neutral'",
|
|
6552
|
-
"description": "'neutral' (default) uses the component's own palette. '
|
|
6664
|
+
"description": "'neutral' (default) uses the component's own palette. 'content' makes the\nkeys and separators adopt the content color of the context, with a\ntranslucent contrast fill and highlight border — useful on filled panels or\nhighlighted rows.",
|
|
6553
6665
|
"attribute": "color",
|
|
6554
6666
|
"reflects": true
|
|
6555
6667
|
},
|
|
@@ -6631,10 +6743,10 @@
|
|
|
6631
6743
|
"text": "Color"
|
|
6632
6744
|
},
|
|
6633
6745
|
"default": "'neutral'",
|
|
6634
|
-
"description": "'neutral' (default) uses the component colors of its own. '
|
|
6746
|
+
"description": "'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.",
|
|
6635
6747
|
"fieldName": "color",
|
|
6636
6748
|
"expandedType": {
|
|
6637
|
-
"text": "'
|
|
6749
|
+
"text": "'content' | 'neutral'"
|
|
6638
6750
|
}
|
|
6639
6751
|
},
|
|
6640
6752
|
{
|
|
@@ -6693,19 +6805,9 @@
|
|
|
6693
6805
|
"declarations": [
|
|
6694
6806
|
{
|
|
6695
6807
|
"kind": "class",
|
|
6696
|
-
"description": "A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width=\"main\" | \"wide\" | \"full\"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. An element with `data-mention` reads as a mention: the name in the mention color with the @ icon in front of it. Use `<a href=\"…\" data-mention>` when the person has a page to go to: it becomes the tinted token nldd-text-editor shows, and the tint is what says you can follow it. Use `<span data-mention>` when not: it keeps the color and the icon, without the tint. Write the name without the `@`: the rich text draws it. A mention in the editor's value, `[@Name](user:id)`, comes out of a markdown renderer as a link to `user:id`, which goes nowhere, so turn it into one of these yourself.",
|
|
6808
|
+
"description": "A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The content is HTML made of block elements, so whoever produces it, a server, a CMS or a markdown renderer, wraps text in a `p`. Bare text or an inline element such as `strong` or `a` as a direct child lands in a column of 0px, one word per line. Plain text, where a component has no attribute for it, goes in nldd-text. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width=\"main\" | \"wide\" | \"full\"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. An element with `data-mention` reads as a mention: the name in the mention color with the @ icon in front of it. Use `<a href=\"…\" data-mention>` when the person has a page to go to: it becomes the tinted token nldd-text-editor shows, and the tint is what says you can follow it. Use `<span data-mention>` when not: it keeps the color and the icon, without the tint. Write the name without the `@`: the rich text draws it. A mention in the editor's value, `[@Name](user:id)`, comes out of a markdown renderer as a link to `user:id`, which goes nowhere, so turn it into one of these yourself.",
|
|
6697
6809
|
"name": "NLDDRichText",
|
|
6698
6810
|
"members": [
|
|
6699
|
-
{
|
|
6700
|
-
"kind": "field",
|
|
6701
|
-
"name": "color",
|
|
6702
|
-
"type": {
|
|
6703
|
-
"text": "'content' | 'inherit'"
|
|
6704
|
-
},
|
|
6705
|
-
"default": "'content'",
|
|
6706
|
-
"attribute": "color",
|
|
6707
|
-
"reflects": true
|
|
6708
|
-
},
|
|
6709
6811
|
{
|
|
6710
6812
|
"kind": "field",
|
|
6711
6813
|
"name": "spacing",
|
|
@@ -6747,18 +6849,6 @@
|
|
|
6747
6849
|
}
|
|
6748
6850
|
],
|
|
6749
6851
|
"attributes": [
|
|
6750
|
-
{
|
|
6751
|
-
"name": "color",
|
|
6752
|
-
"type": {
|
|
6753
|
-
"text": "'content' | 'inherit'"
|
|
6754
|
-
},
|
|
6755
|
-
"default": "'content'",
|
|
6756
|
-
"fieldName": "color",
|
|
6757
|
-
"expandedType": {
|
|
6758
|
-
"text": "'content' | 'inherit'"
|
|
6759
|
-
},
|
|
6760
|
-
"description": "'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."
|
|
6761
|
-
},
|
|
6762
6852
|
{
|
|
6763
6853
|
"name": "spacing",
|
|
6764
6854
|
"type": {
|
|
@@ -7215,9 +7305,9 @@
|
|
|
7215
7305
|
"default": "'content'",
|
|
7216
7306
|
"fieldName": "color",
|
|
7217
7307
|
"expandedType": {
|
|
7218
|
-
"text": "'accent' | 'content' | 'critical' | '
|
|
7308
|
+
"text": "'accent' | 'content' | 'critical' | 'secondary' | 'success' | 'warning'"
|
|
7219
7309
|
},
|
|
7220
|
-
"description": "Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'
|
|
7310
|
+
"description": "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."
|
|
7221
7311
|
},
|
|
7222
7312
|
{
|
|
7223
7313
|
"name": "horizontal-alignment",
|
|
@@ -7282,16 +7372,15 @@
|
|
|
7282
7372
|
"declarations": [
|
|
7283
7373
|
{
|
|
7284
7374
|
"kind": "class",
|
|
7285
|
-
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. `size` is
|
|
7375
|
+
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text, and a filled slot takes the place of the attribute. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. Inline elements in a slotted heading (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own.",
|
|
7286
7376
|
"name": "NLDDTitle",
|
|
7287
7377
|
"members": [
|
|
7288
7378
|
{
|
|
7289
7379
|
"kind": "field",
|
|
7290
7380
|
"name": "size",
|
|
7291
7381
|
"type": {
|
|
7292
|
-
"text": "
|
|
7382
|
+
"text": "TitleSize | undefined"
|
|
7293
7383
|
},
|
|
7294
|
-
"default": "3",
|
|
7295
7384
|
"attribute": "size",
|
|
7296
7385
|
"reflects": true
|
|
7297
7386
|
},
|
|
@@ -7325,16 +7414,6 @@
|
|
|
7325
7414
|
"attribute": "lg-custom-size",
|
|
7326
7415
|
"reflects": true
|
|
7327
7416
|
},
|
|
7328
|
-
{
|
|
7329
|
-
"kind": "field",
|
|
7330
|
-
"name": "color",
|
|
7331
|
-
"type": {
|
|
7332
|
-
"text": "TitleColor"
|
|
7333
|
-
},
|
|
7334
|
-
"default": "'content'",
|
|
7335
|
-
"attribute": "color",
|
|
7336
|
-
"reflects": true
|
|
7337
|
-
},
|
|
7338
7417
|
{
|
|
7339
7418
|
"kind": "field",
|
|
7340
7419
|
"name": "text",
|
|
@@ -7380,14 +7459,13 @@
|
|
|
7380
7459
|
{
|
|
7381
7460
|
"name": "size",
|
|
7382
7461
|
"type": {
|
|
7383
|
-
"text": "
|
|
7462
|
+
"text": "TitleSize | undefined"
|
|
7384
7463
|
},
|
|
7385
|
-
"default": "3",
|
|
7386
7464
|
"fieldName": "size",
|
|
7387
7465
|
"expandedType": {
|
|
7388
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
7466
|
+
"text": "'display-1' | 'display-2' | 'display-3' | 'display-4' | 'display-5' | 'display-6'"
|
|
7389
7467
|
},
|
|
7390
|
-
"description": "Visual size of the title: 1
|
|
7468
|
+
"description": "Visual size of the title, when it should differ from its level: 'display-1' to 'display-6', from large to small (default: the display size of the level). Has no effect without a level"
|
|
7391
7469
|
},
|
|
7392
7470
|
{
|
|
7393
7471
|
"name": "sm-custom-size",
|
|
@@ -7396,7 +7474,7 @@
|
|
|
7396
7474
|
},
|
|
7397
7475
|
"default": "''",
|
|
7398
7476
|
"fieldName": "smCustomSize",
|
|
7399
|
-
"description": "A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than
|
|
7477
|
+
"description": "A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the title without its size, the floor included. For headings use `size`; if a design does not fit the scale, raise it as an issue. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a title made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`"
|
|
7400
7478
|
},
|
|
7401
7479
|
{
|
|
7402
7480
|
"name": "md-custom-size",
|
|
@@ -7416,18 +7494,6 @@
|
|
|
7416
7494
|
"fieldName": "lgCustomSize",
|
|
7417
7495
|
"description": "The same, at lg"
|
|
7418
7496
|
},
|
|
7419
|
-
{
|
|
7420
|
-
"name": "color",
|
|
7421
|
-
"type": {
|
|
7422
|
-
"text": "TitleColor"
|
|
7423
|
-
},
|
|
7424
|
-
"default": "'content'",
|
|
7425
|
-
"fieldName": "color",
|
|
7426
|
-
"expandedType": {
|
|
7427
|
-
"text": "'content' | 'inherit'"
|
|
7428
|
-
},
|
|
7429
|
-
"description": "'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."
|
|
7430
|
-
},
|
|
7431
7497
|
{
|
|
7432
7498
|
"name": "text",
|
|
7433
7499
|
"type": {
|
|
@@ -7465,7 +7531,7 @@
|
|
|
7465
7531
|
"expandedType": {
|
|
7466
7532
|
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
7467
7533
|
},
|
|
7468
|
-
"description": "Renders text as h1–h6. Absent renders a p
|
|
7534
|
+
"description": "Renders text as h1–h6, and sets the default size. Absent renders a p in body text, unless the default slot brings its own heading."
|
|
7469
7535
|
}
|
|
7470
7536
|
],
|
|
7471
7537
|
"superclass": {
|
|
@@ -7481,7 +7547,14 @@
|
|
|
7481
7547
|
"h4",
|
|
7482
7548
|
"h5",
|
|
7483
7549
|
"h6",
|
|
7484
|
-
"a"
|
|
7550
|
+
"a",
|
|
7551
|
+
"strong",
|
|
7552
|
+
"b",
|
|
7553
|
+
"em",
|
|
7554
|
+
"i",
|
|
7555
|
+
"code",
|
|
7556
|
+
"mark",
|
|
7557
|
+
"q"
|
|
7485
7558
|
],
|
|
7486
7559
|
"slots": [
|
|
7487
7560
|
{
|
|
@@ -7498,7 +7571,7 @@
|
|
|
7498
7571
|
},
|
|
7499
7572
|
{
|
|
7500
7573
|
"name": "end",
|
|
7501
|
-
"description": "
|
|
7574
|
+
"description": "One thing at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there. More than one action goes in an nldd-toolbar below the title, not in this slot: the line has no room for a row of buttons on a narrow screen, and a toolbar moves what does not fit to its overflow menu."
|
|
7502
7575
|
}
|
|
7503
7576
|
]
|
|
7504
7577
|
}
|
|
@@ -7928,8 +8001,8 @@
|
|
|
7928
8001
|
"customElement": true,
|
|
7929
8002
|
"events": [
|
|
7930
8003
|
{
|
|
7931
|
-
"name": "
|
|
7932
|
-
"description": "When a user presses Escape while `open=true`. The consumer owns the open lifecycle from there (we cannot clear `open` on our own), so this event is the consumer's chance to set `open` back to `false`. WCAG 1.4.13: a persistent hover or focus overlay has to be dismissible without moving focus."
|
|
8004
|
+
"name": "dismiss",
|
|
8005
|
+
"description": "When a user presses Escape while `open=true`. Does not bubble, so a banner or notification around the tooltip does not take it for its own. The consumer owns the open lifecycle from there (we cannot clear `open` on our own), so this event is the consumer's chance to set `open` back to `false`. WCAG 1.4.13: a persistent hover or focus overlay has to be dismissible without moving focus."
|
|
7933
8006
|
}
|
|
7934
8007
|
],
|
|
7935
8008
|
"slots": [
|
|
@@ -9550,10 +9623,10 @@
|
|
|
9550
9623
|
},
|
|
9551
9624
|
{
|
|
9552
9625
|
"kind": "js",
|
|
9553
|
-
"name": "
|
|
9626
|
+
"name": "NLDDReorderHandleCell",
|
|
9554
9627
|
"declaration": {
|
|
9555
|
-
"name": "
|
|
9556
|
-
"module": "./lists-and-tables/cells/
|
|
9628
|
+
"name": "NLDDReorderHandleCell",
|
|
9629
|
+
"module": "./lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js"
|
|
9557
9630
|
}
|
|
9558
9631
|
},
|
|
9559
9632
|
{
|
|
@@ -9855,10 +9928,10 @@
|
|
|
9855
9928
|
"kind": "field",
|
|
9856
9929
|
"name": "color",
|
|
9857
9930
|
"type": {
|
|
9858
|
-
"text": "'' | '
|
|
9931
|
+
"text": "'' | 'content'"
|
|
9859
9932
|
},
|
|
9860
9933
|
"default": "''",
|
|
9861
|
-
"description": "'
|
|
9934
|
+
"description": "'content' draws the control and its label in the surrounding text color.",
|
|
9862
9935
|
"attribute": "color",
|
|
9863
9936
|
"reflects": true
|
|
9864
9937
|
},
|
|
@@ -9906,6 +9979,20 @@
|
|
|
9906
9979
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
9907
9980
|
}
|
|
9908
9981
|
},
|
|
9982
|
+
{
|
|
9983
|
+
"kind": "method",
|
|
9984
|
+
"name": "ownValidity",
|
|
9985
|
+
"return": {
|
|
9986
|
+
"type": {
|
|
9987
|
+
"text": "OwnValidity | null"
|
|
9988
|
+
}
|
|
9989
|
+
},
|
|
9990
|
+
"description": "The checkbox that carries `required` sits in a shadow root of its own,\nwhere the form cannot see it.",
|
|
9991
|
+
"inheritedFrom": {
|
|
9992
|
+
"name": "FormAssociated",
|
|
9993
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9994
|
+
}
|
|
9995
|
+
},
|
|
9909
9996
|
{
|
|
9910
9997
|
"kind": "method",
|
|
9911
9998
|
"name": "formResetCallback",
|
|
@@ -10056,20 +10143,6 @@
|
|
|
10056
10143
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
10057
10144
|
}
|
|
10058
10145
|
},
|
|
10059
|
-
{
|
|
10060
|
-
"kind": "method",
|
|
10061
|
-
"name": "ownValidity",
|
|
10062
|
-
"return": {
|
|
10063
|
-
"type": {
|
|
10064
|
-
"text": "OwnValidity | null"
|
|
10065
|
-
}
|
|
10066
|
-
},
|
|
10067
|
-
"description": "What the component knows is wrong and its native control does not, such\nas typed text that is no date in a text input. Override; null is valid.",
|
|
10068
|
-
"inheritedFrom": {
|
|
10069
|
-
"name": "FormAssociated",
|
|
10070
|
-
"module": "src/utilities/form-associated-mixin.ts"
|
|
10071
|
-
}
|
|
10072
|
-
},
|
|
10073
10146
|
{
|
|
10074
10147
|
"kind": "method",
|
|
10075
10148
|
"name": "setCustomValidity",
|
|
@@ -10183,13 +10256,13 @@
|
|
|
10183
10256
|
{
|
|
10184
10257
|
"name": "color",
|
|
10185
10258
|
"type": {
|
|
10186
|
-
"text": "'' | '
|
|
10259
|
+
"text": "'' | 'content'"
|
|
10187
10260
|
},
|
|
10188
10261
|
"default": "''",
|
|
10189
|
-
"description": "'
|
|
10262
|
+
"description": "'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.",
|
|
10190
10263
|
"fieldName": "color",
|
|
10191
10264
|
"expandedType": {
|
|
10192
|
-
"text": "'' | '
|
|
10265
|
+
"text": "'' | 'content'"
|
|
10193
10266
|
}
|
|
10194
10267
|
},
|
|
10195
10268
|
{
|
|
@@ -10350,10 +10423,10 @@
|
|
|
10350
10423
|
"kind": "field",
|
|
10351
10424
|
"name": "color",
|
|
10352
10425
|
"type": {
|
|
10353
|
-
"text": "'' | '
|
|
10426
|
+
"text": "'' | 'content'"
|
|
10354
10427
|
},
|
|
10355
10428
|
"default": "''",
|
|
10356
|
-
"description": "'
|
|
10429
|
+
"description": "'content' draws the control in the surrounding text color.",
|
|
10357
10430
|
"attribute": "color",
|
|
10358
10431
|
"reflects": true
|
|
10359
10432
|
},
|
|
@@ -10706,13 +10779,13 @@
|
|
|
10706
10779
|
{
|
|
10707
10780
|
"name": "color",
|
|
10708
10781
|
"type": {
|
|
10709
|
-
"text": "'' | '
|
|
10782
|
+
"text": "'' | 'content'"
|
|
10710
10783
|
},
|
|
10711
10784
|
"default": "''",
|
|
10712
|
-
"description": "'
|
|
10785
|
+
"description": "'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.",
|
|
10713
10786
|
"fieldName": "color",
|
|
10714
10787
|
"expandedType": {
|
|
10715
|
-
"text": "'' | '
|
|
10788
|
+
"text": "'' | 'content'"
|
|
10716
10789
|
}
|
|
10717
10790
|
},
|
|
10718
10791
|
{
|
|
@@ -10786,7 +10859,7 @@
|
|
|
10786
10859
|
"declarations": [
|
|
10787
10860
|
{
|
|
10788
10861
|
"kind": "class",
|
|
10789
|
-
"description": "A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface.
|
|
10862
|
+
"description": "A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Framed like the other input fields by default: border ring, fill, inner padding, radius and a focus ring. `embedded` drops all of that, for an editor inside a composition that owns its own chrome and focus treatment; the caret is then a prominent accent as the focus cue. Embedded, it has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line).",
|
|
10790
10863
|
"name": "NLDDCodeEditor",
|
|
10791
10864
|
"members": [
|
|
10792
10865
|
{
|
|
@@ -10811,12 +10884,12 @@
|
|
|
10811
10884
|
},
|
|
10812
10885
|
{
|
|
10813
10886
|
"kind": "field",
|
|
10814
|
-
"name": "
|
|
10887
|
+
"name": "embedded",
|
|
10815
10888
|
"type": {
|
|
10816
|
-
"text": "
|
|
10889
|
+
"text": "boolean"
|
|
10817
10890
|
},
|
|
10818
|
-
"default": "
|
|
10819
|
-
"attribute": "
|
|
10891
|
+
"default": "false",
|
|
10892
|
+
"attribute": "embedded",
|
|
10820
10893
|
"reflects": true
|
|
10821
10894
|
},
|
|
10822
10895
|
{
|
|
@@ -11251,16 +11324,13 @@
|
|
|
11251
11324
|
"description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
|
|
11252
11325
|
},
|
|
11253
11326
|
{
|
|
11254
|
-
"name": "
|
|
11327
|
+
"name": "embedded",
|
|
11255
11328
|
"type": {
|
|
11256
|
-
"text": "
|
|
11257
|
-
},
|
|
11258
|
-
"default": "'simple'",
|
|
11259
|
-
"fieldName": "appearance",
|
|
11260
|
-
"expandedType": {
|
|
11261
|
-
"text": "'input-field' | 'simple'"
|
|
11329
|
+
"text": "boolean"
|
|
11262
11330
|
},
|
|
11263
|
-
"
|
|
11331
|
+
"default": "false",
|
|
11332
|
+
"fieldName": "embedded",
|
|
11333
|
+
"description": "Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them"
|
|
11264
11334
|
},
|
|
11265
11335
|
{
|
|
11266
11336
|
"name": "language",
|
|
@@ -15962,7 +16032,7 @@
|
|
|
15962
16032
|
},
|
|
15963
16033
|
{
|
|
15964
16034
|
"kind": "class",
|
|
15965
|
-
"description": "A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete=\"one-time-code\"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so \"123 456\" or \"123-456\" becomes \"123456\", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so \"Your code is 123456\" fills in \"123456\". Once every box is full the field fires `
|
|
16035
|
+
"description": "A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete=\"one-time-code\"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so \"123 456\" or \"123-456\" becomes \"123456\", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so \"Your code is 123456\" fills in \"123456\". Once every box is full the field fires `complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from (\"Code uit de sms\").",
|
|
15966
16036
|
"name": "NLDDOneTimeCodeField",
|
|
15967
16037
|
"members": [
|
|
15968
16038
|
{
|
|
@@ -16442,7 +16512,7 @@
|
|
|
16442
16512
|
"description": "When the code is committed; detail: { value: string }"
|
|
16443
16513
|
},
|
|
16444
16514
|
{
|
|
16445
|
-
"name": "
|
|
16515
|
+
"name": "complete",
|
|
16446
16516
|
"description": "When every box is filled; detail: { value: string }"
|
|
16447
16517
|
}
|
|
16448
16518
|
],
|
|
@@ -17361,10 +17431,10 @@
|
|
|
17361
17431
|
"kind": "field",
|
|
17362
17432
|
"name": "color",
|
|
17363
17433
|
"type": {
|
|
17364
|
-
"text": "'' | '
|
|
17434
|
+
"text": "'' | 'content'"
|
|
17365
17435
|
},
|
|
17366
17436
|
"default": "''",
|
|
17367
|
-
"description": "'
|
|
17437
|
+
"description": "'content' draws the control and its label in the surrounding text color.",
|
|
17368
17438
|
"attribute": "color",
|
|
17369
17439
|
"reflects": true
|
|
17370
17440
|
},
|
|
@@ -17671,13 +17741,13 @@
|
|
|
17671
17741
|
{
|
|
17672
17742
|
"name": "color",
|
|
17673
17743
|
"type": {
|
|
17674
|
-
"text": "'' | '
|
|
17744
|
+
"text": "'' | 'content'"
|
|
17675
17745
|
},
|
|
17676
17746
|
"default": "''",
|
|
17677
|
-
"description": "'
|
|
17747
|
+
"description": "'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.",
|
|
17678
17748
|
"fieldName": "color",
|
|
17679
17749
|
"expandedType": {
|
|
17680
|
-
"text": "'' | '
|
|
17750
|
+
"text": "'' | 'content'"
|
|
17681
17751
|
}
|
|
17682
17752
|
},
|
|
17683
17753
|
{
|
|
@@ -18033,10 +18103,10 @@
|
|
|
18033
18103
|
"kind": "field",
|
|
18034
18104
|
"name": "color",
|
|
18035
18105
|
"type": {
|
|
18036
|
-
"text": "'' | '
|
|
18106
|
+
"text": "'' | 'content'"
|
|
18037
18107
|
},
|
|
18038
18108
|
"default": "''",
|
|
18039
|
-
"description": "'
|
|
18109
|
+
"description": "'content' draws the control in the surrounding text color.",
|
|
18040
18110
|
"attribute": "color",
|
|
18041
18111
|
"reflects": true
|
|
18042
18112
|
},
|
|
@@ -18370,13 +18440,13 @@
|
|
|
18370
18440
|
{
|
|
18371
18441
|
"name": "color",
|
|
18372
18442
|
"type": {
|
|
18373
|
-
"text": "'' | '
|
|
18443
|
+
"text": "'' | 'content'"
|
|
18374
18444
|
},
|
|
18375
18445
|
"default": "''",
|
|
18376
|
-
"description": "'
|
|
18446
|
+
"description": "'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.",
|
|
18377
18447
|
"fieldName": "color",
|
|
18378
18448
|
"expandedType": {
|
|
18379
|
-
"text": "'' | '
|
|
18449
|
+
"text": "'' | 'content'"
|
|
18380
18450
|
}
|
|
18381
18451
|
},
|
|
18382
18452
|
{
|
|
@@ -21694,7 +21764,7 @@
|
|
|
21694
21764
|
"expandedType": {
|
|
21695
21765
|
"text": "'md' | 'sm' | 'xs'"
|
|
21696
21766
|
},
|
|
21697
|
-
"description": "Swatch size, on the control scale: 'xs' (24px) | 'sm' (
|
|
21767
|
+
"description": "Swatch size, on the control scale: 'xs' (24px) | 'sm' (34px) | 'md' (44px) (default: 'md')"
|
|
21698
21768
|
},
|
|
21699
21769
|
{
|
|
21700
21770
|
"name": "accessible-label",
|
|
@@ -21876,16 +21946,18 @@
|
|
|
21876
21946
|
"text": "string"
|
|
21877
21947
|
},
|
|
21878
21948
|
"default": "''",
|
|
21879
|
-
"
|
|
21949
|
+
"description": "Reflected: form association reads the host's name attribute, so setting\nthe property alone must still register the field with the form.",
|
|
21950
|
+
"attribute": "name",
|
|
21951
|
+
"reflects": true
|
|
21880
21952
|
},
|
|
21881
21953
|
{
|
|
21882
21954
|
"kind": "field",
|
|
21883
21955
|
"name": "color",
|
|
21884
21956
|
"type": {
|
|
21885
|
-
"text": "'' | '
|
|
21957
|
+
"text": "'' | 'content'"
|
|
21886
21958
|
},
|
|
21887
21959
|
"default": "''",
|
|
21888
|
-
"description": "'
|
|
21960
|
+
"description": "'content' draws the control and its label in the surrounding text color.",
|
|
21889
21961
|
"attribute": "color",
|
|
21890
21962
|
"reflects": true
|
|
21891
21963
|
},
|
|
@@ -21919,6 +21991,60 @@
|
|
|
21919
21991
|
"attribute": "invalid",
|
|
21920
21992
|
"reflects": true
|
|
21921
21993
|
},
|
|
21994
|
+
{
|
|
21995
|
+
"kind": "method",
|
|
21996
|
+
"name": "formValue",
|
|
21997
|
+
"return": {
|
|
21998
|
+
"type": {
|
|
21999
|
+
"text": "FormValue"
|
|
22000
|
+
}
|
|
22001
|
+
},
|
|
22002
|
+
"description": "The value submitted under `name`; `null` submits nothing. Override.",
|
|
22003
|
+
"inheritedFrom": {
|
|
22004
|
+
"name": "FormAssociated",
|
|
22005
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22006
|
+
}
|
|
22007
|
+
},
|
|
22008
|
+
{
|
|
22009
|
+
"kind": "method",
|
|
22010
|
+
"name": "ownValidity",
|
|
22011
|
+
"return": {
|
|
22012
|
+
"type": {
|
|
22013
|
+
"text": "OwnValidity | null"
|
|
22014
|
+
}
|
|
22015
|
+
},
|
|
22016
|
+
"description": "The switch that carries `required` sits in a shadow root of its own,\nwhere the form cannot see it.",
|
|
22017
|
+
"inheritedFrom": {
|
|
22018
|
+
"name": "FormAssociated",
|
|
22019
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22020
|
+
}
|
|
22021
|
+
},
|
|
22022
|
+
{
|
|
22023
|
+
"kind": "method",
|
|
22024
|
+
"name": "formResetCallback",
|
|
22025
|
+
"return": {
|
|
22026
|
+
"type": {
|
|
22027
|
+
"text": "void"
|
|
22028
|
+
}
|
|
22029
|
+
}
|
|
22030
|
+
},
|
|
22031
|
+
{
|
|
22032
|
+
"kind": "method",
|
|
22033
|
+
"name": "formStateRestoreCallback",
|
|
22034
|
+
"return": {
|
|
22035
|
+
"type": {
|
|
22036
|
+
"text": "void"
|
|
22037
|
+
}
|
|
22038
|
+
},
|
|
22039
|
+
"parameters": [
|
|
22040
|
+
{
|
|
22041
|
+
"name": "state",
|
|
22042
|
+
"type": {
|
|
22043
|
+
"text": "File | string | FormData | null"
|
|
22044
|
+
}
|
|
22045
|
+
}
|
|
22046
|
+
]
|
|
22047
|
+
},
|
|
21922
22048
|
{
|
|
21923
22049
|
"kind": "method",
|
|
21924
22050
|
"name": "focus",
|
|
@@ -21964,6 +22090,141 @@
|
|
|
21964
22090
|
"name": "DescribedBy",
|
|
21965
22091
|
"module": "src/utilities/described-by-mixin.ts"
|
|
21966
22092
|
}
|
|
22093
|
+
},
|
|
22094
|
+
{
|
|
22095
|
+
"kind": "field",
|
|
22096
|
+
"name": "formAssociated",
|
|
22097
|
+
"type": {
|
|
22098
|
+
"text": "boolean"
|
|
22099
|
+
},
|
|
22100
|
+
"static": true,
|
|
22101
|
+
"default": "true",
|
|
22102
|
+
"inheritedFrom": {
|
|
22103
|
+
"name": "FormAssociated",
|
|
22104
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22105
|
+
}
|
|
22106
|
+
},
|
|
22107
|
+
{
|
|
22108
|
+
"kind": "field",
|
|
22109
|
+
"name": "internals",
|
|
22110
|
+
"readonly": true,
|
|
22111
|
+
"inheritedFrom": {
|
|
22112
|
+
"name": "FormAssociated",
|
|
22113
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22114
|
+
}
|
|
22115
|
+
},
|
|
22116
|
+
{
|
|
22117
|
+
"kind": "method",
|
|
22118
|
+
"name": "formState",
|
|
22119
|
+
"return": {
|
|
22120
|
+
"type": {
|
|
22121
|
+
"text": "FormValue | undefined"
|
|
22122
|
+
}
|
|
22123
|
+
},
|
|
22124
|
+
"description": "Extra state kept for bfcache and state restore, when the submitted\nvalue alone cannot rebuild the control (a combo box submits a code but\nshows a label). Override alongside `formValue()`.",
|
|
22125
|
+
"inheritedFrom": {
|
|
22126
|
+
"name": "FormAssociated",
|
|
22127
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22128
|
+
}
|
|
22129
|
+
},
|
|
22130
|
+
{
|
|
22131
|
+
"kind": "method",
|
|
22132
|
+
"name": "commitFormValue",
|
|
22133
|
+
"return": {
|
|
22134
|
+
"type": {
|
|
22135
|
+
"text": "void"
|
|
22136
|
+
}
|
|
22137
|
+
},
|
|
22138
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
22139
|
+
"inheritedFrom": {
|
|
22140
|
+
"name": "FormAssociated",
|
|
22141
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22142
|
+
}
|
|
22143
|
+
},
|
|
22144
|
+
{
|
|
22145
|
+
"kind": "method",
|
|
22146
|
+
"name": "validationTarget",
|
|
22147
|
+
"return": {
|
|
22148
|
+
"type": {
|
|
22149
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | null"
|
|
22150
|
+
}
|
|
22151
|
+
},
|
|
22152
|
+
"description": "The native control this host speaks for.\n\nThe constraint attributes are handed to a control inside the shadow\nroot, and that control is not a member of the form around the host: the\nform sees the host, the host sees the control, and without something\njoining them a `required` field submits empty. Override when the control\nis not the first one in the shadow root, or return null for a component\nthat has no native control to speak for.",
|
|
22153
|
+
"inheritedFrom": {
|
|
22154
|
+
"name": "FormAssociated",
|
|
22155
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22156
|
+
}
|
|
22157
|
+
},
|
|
22158
|
+
{
|
|
22159
|
+
"kind": "method",
|
|
22160
|
+
"name": "validationAnchor",
|
|
22161
|
+
"return": {
|
|
22162
|
+
"type": {
|
|
22163
|
+
"text": "HTMLElement | undefined"
|
|
22164
|
+
}
|
|
22165
|
+
},
|
|
22166
|
+
"description": "Where an invalid submit points its message and puts the focus.\n\nThe native control, where the user reads and fixes it. Not when that\ncontrol is hidden, as the radio that only carries `required` is: a radio\ninside an element that is itself the radio is a control inside a control,\nand a hidden element cannot hold the message. Then it goes on this\nelement. Override where neither is what the user should land on, such as\na group that has no focus of its own.",
|
|
22167
|
+
"inheritedFrom": {
|
|
22168
|
+
"name": "FormAssociated",
|
|
22169
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22170
|
+
}
|
|
22171
|
+
},
|
|
22172
|
+
{
|
|
22173
|
+
"kind": "method",
|
|
22174
|
+
"name": "setCustomValidity",
|
|
22175
|
+
"return": {
|
|
22176
|
+
"type": {
|
|
22177
|
+
"text": "void"
|
|
22178
|
+
}
|
|
22179
|
+
},
|
|
22180
|
+
"parameters": [
|
|
22181
|
+
{
|
|
22182
|
+
"name": "message",
|
|
22183
|
+
"type": {
|
|
22184
|
+
"text": "string"
|
|
22185
|
+
}
|
|
22186
|
+
}
|
|
22187
|
+
],
|
|
22188
|
+
"description": "A reason the host is invalid that no attribute can express: a server that\nrefused the value, or an nldd-validation-list whose rule it fails. Kept\nbeside the native flags rather than replacing them, because\n`setValidity` writes the whole set at once and the two arrive from\ndifferent places at different times.",
|
|
22189
|
+
"inheritedFrom": {
|
|
22190
|
+
"name": "FormAssociated",
|
|
22191
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22192
|
+
}
|
|
22193
|
+
},
|
|
22194
|
+
{
|
|
22195
|
+
"kind": "method",
|
|
22196
|
+
"name": "commitValidity",
|
|
22197
|
+
"return": {
|
|
22198
|
+
"type": {
|
|
22199
|
+
"text": "void"
|
|
22200
|
+
}
|
|
22201
|
+
},
|
|
22202
|
+
"description": "Hands the control's verdict to the form, as the host's own.\n\nCalled on every render and from `commitFormValue`, so it follows the\nvalue for the same reason and with the same timing.",
|
|
22203
|
+
"inheritedFrom": {
|
|
22204
|
+
"name": "FormAssociated",
|
|
22205
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22206
|
+
}
|
|
22207
|
+
},
|
|
22208
|
+
{
|
|
22209
|
+
"kind": "method",
|
|
22210
|
+
"name": "formDisabledCallback",
|
|
22211
|
+
"return": {
|
|
22212
|
+
"type": {
|
|
22213
|
+
"text": "void"
|
|
22214
|
+
}
|
|
22215
|
+
},
|
|
22216
|
+
"parameters": [
|
|
22217
|
+
{
|
|
22218
|
+
"name": "disabled",
|
|
22219
|
+
"type": {
|
|
22220
|
+
"text": "boolean"
|
|
22221
|
+
}
|
|
22222
|
+
}
|
|
22223
|
+
],
|
|
22224
|
+
"inheritedFrom": {
|
|
22225
|
+
"name": "FormAssociated",
|
|
22226
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22227
|
+
}
|
|
21967
22228
|
}
|
|
21968
22229
|
],
|
|
21969
22230
|
"events": [
|
|
@@ -22006,19 +22267,19 @@
|
|
|
22006
22267
|
"text": "string"
|
|
22007
22268
|
},
|
|
22008
22269
|
"default": "''",
|
|
22009
|
-
"
|
|
22010
|
-
"
|
|
22270
|
+
"description": "Name for form submission",
|
|
22271
|
+
"fieldName": "name"
|
|
22011
22272
|
},
|
|
22012
22273
|
{
|
|
22013
22274
|
"name": "color",
|
|
22014
22275
|
"type": {
|
|
22015
|
-
"text": "'' | '
|
|
22276
|
+
"text": "'' | 'content'"
|
|
22016
22277
|
},
|
|
22017
22278
|
"default": "''",
|
|
22018
|
-
"description": "'
|
|
22279
|
+
"description": "'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.",
|
|
22019
22280
|
"fieldName": "color",
|
|
22020
22281
|
"expandedType": {
|
|
22021
|
-
"text": "'' | '
|
|
22282
|
+
"text": "'' | 'content'"
|
|
22022
22283
|
}
|
|
22023
22284
|
},
|
|
22024
22285
|
{
|
|
@@ -22053,6 +22314,10 @@
|
|
|
22053
22314
|
{
|
|
22054
22315
|
"name": "DescribedBy",
|
|
22055
22316
|
"module": "/src/utilities/described-by-mixin.js"
|
|
22317
|
+
},
|
|
22318
|
+
{
|
|
22319
|
+
"name": "FormAssociated",
|
|
22320
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
22056
22321
|
}
|
|
22057
22322
|
],
|
|
22058
22323
|
"superclass": {
|
|
@@ -22156,10 +22421,10 @@
|
|
|
22156
22421
|
"kind": "field",
|
|
22157
22422
|
"name": "color",
|
|
22158
22423
|
"type": {
|
|
22159
|
-
"text": "'' | '
|
|
22424
|
+
"text": "'' | 'content'"
|
|
22160
22425
|
},
|
|
22161
22426
|
"default": "''",
|
|
22162
|
-
"description": "'
|
|
22427
|
+
"description": "'content' draws the control in the surrounding text color.",
|
|
22163
22428
|
"attribute": "color",
|
|
22164
22429
|
"reflects": true
|
|
22165
22430
|
},
|
|
@@ -22506,13 +22771,13 @@
|
|
|
22506
22771
|
{
|
|
22507
22772
|
"name": "color",
|
|
22508
22773
|
"type": {
|
|
22509
|
-
"text": "'' | '
|
|
22774
|
+
"text": "'' | 'content'"
|
|
22510
22775
|
},
|
|
22511
22776
|
"default": "''",
|
|
22512
|
-
"description": "'
|
|
22777
|
+
"description": "'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.",
|
|
22513
22778
|
"fieldName": "color",
|
|
22514
22779
|
"expandedType": {
|
|
22515
|
-
"text": "'' | '
|
|
22780
|
+
"text": "'' | 'content'"
|
|
22516
22781
|
}
|
|
22517
22782
|
},
|
|
22518
22783
|
{
|
|
@@ -24141,7 +24406,7 @@
|
|
|
24141
24406
|
"type": {
|
|
24142
24407
|
"text": "Extension"
|
|
24143
24408
|
},
|
|
24144
|
-
"default": "[ // A code block that names its language is highlighted in it, as in the code // viewer; the grammar loads when the first such block appears. markdown({ extensions: GFM, codeLanguages: nestedLanguages }), markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
|
|
24409
|
+
"default": "[ // A code block that names its language is highlighted in it, as in the code // viewer; the grammar loads when the first such block appears. // A line indented four spaces stays text: in a field for prose that is pasted // or indented text, not code. Code takes a fence, which nobody types by accident. markdown({ extensions: [GFM, { remove: ['IndentedCode'] }], codeLanguages: nestedLanguages }), markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
|
|
24145
24410
|
"description": "Markdown language (with GFM) plus the hybrid inline-styling decorations."
|
|
24146
24411
|
}
|
|
24147
24412
|
],
|
|
@@ -25219,7 +25484,7 @@
|
|
|
25219
25484
|
"declarations": [
|
|
25220
25485
|
{
|
|
25221
25486
|
"kind": "class",
|
|
25222
|
-
"description": "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.
|
|
25487
|
+
"description": "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.",
|
|
25223
25488
|
"name": "NLDDTextEditor",
|
|
25224
25489
|
"members": [
|
|
25225
25490
|
{
|
|
@@ -25255,12 +25520,12 @@
|
|
|
25255
25520
|
},
|
|
25256
25521
|
{
|
|
25257
25522
|
"kind": "field",
|
|
25258
|
-
"name": "
|
|
25523
|
+
"name": "embedded",
|
|
25259
25524
|
"type": {
|
|
25260
|
-
"text": "
|
|
25525
|
+
"text": "boolean"
|
|
25261
25526
|
},
|
|
25262
|
-
"default": "
|
|
25263
|
-
"attribute": "
|
|
25527
|
+
"default": "false",
|
|
25528
|
+
"attribute": "embedded",
|
|
25264
25529
|
"reflects": true
|
|
25265
25530
|
},
|
|
25266
25531
|
{
|
|
@@ -26059,19 +26324,19 @@
|
|
|
26059
26324
|
"description": "When the content is committed on blur (detail: { value })"
|
|
26060
26325
|
},
|
|
26061
26326
|
{
|
|
26062
|
-
"name": "
|
|
26327
|
+
"name": "state-change",
|
|
26063
26328
|
"description": "When the selection or content changes (detail: TextEditorState), for toolbar toggle state"
|
|
26064
26329
|
},
|
|
26065
26330
|
{
|
|
26066
|
-
"name": "
|
|
26331
|
+
"name": "mention",
|
|
26067
26332
|
"description": "When an @-mention is inserted (detail: MentionInsertedDetail with id, text, from, to; clean offsets, like getSelection())"
|
|
26068
26333
|
},
|
|
26069
26334
|
{
|
|
26070
|
-
"name": "
|
|
26335
|
+
"name": "typeahead",
|
|
26071
26336
|
"description": "When a candidate from one of the `typeaheads` is chosen (detail: TypeaheadChosenDetail with trigger, candidate, from, to; clean offsets)"
|
|
26072
26337
|
},
|
|
26073
26338
|
{
|
|
26074
|
-
"name": "
|
|
26339
|
+
"name": "annotation-click",
|
|
26075
26340
|
"description": "When an annotation's count badge is clicked (detail: { ids: string[], rect: DOMRect }); rect is the badge's viewport box so a consumer can anchor its own note UI to it"
|
|
26076
26341
|
}
|
|
26077
26342
|
],
|
|
@@ -26107,16 +26372,13 @@
|
|
|
26107
26372
|
"description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
|
|
26108
26373
|
},
|
|
26109
26374
|
{
|
|
26110
|
-
"name": "
|
|
26375
|
+
"name": "embedded",
|
|
26111
26376
|
"type": {
|
|
26112
|
-
"text": "
|
|
26113
|
-
},
|
|
26114
|
-
"default": "'simple'",
|
|
26115
|
-
"fieldName": "appearance",
|
|
26116
|
-
"expandedType": {
|
|
26117
|
-
"text": "'input-field' | 'simple'"
|
|
26377
|
+
"text": "boolean"
|
|
26118
26378
|
},
|
|
26119
|
-
"
|
|
26379
|
+
"default": "false",
|
|
26380
|
+
"fieldName": "embedded",
|
|
26381
|
+
"description": "Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them"
|
|
26120
26382
|
},
|
|
26121
26383
|
{
|
|
26122
26384
|
"name": "syntax",
|
|
@@ -31052,6 +31314,17 @@
|
|
|
31052
31314
|
"default": "undefined",
|
|
31053
31315
|
"attribute": "vertical-alignment",
|
|
31054
31316
|
"reflects": true
|
|
31317
|
+
},
|
|
31318
|
+
{
|
|
31319
|
+
"kind": "field",
|
|
31320
|
+
"name": "list",
|
|
31321
|
+
"type": {
|
|
31322
|
+
"text": "boolean"
|
|
31323
|
+
},
|
|
31324
|
+
"default": "false",
|
|
31325
|
+
"description": "Turns the children into a list for assistive technology.",
|
|
31326
|
+
"attribute": "list",
|
|
31327
|
+
"reflects": true
|
|
31055
31328
|
}
|
|
31056
31329
|
],
|
|
31057
31330
|
"attributes": [
|
|
@@ -31566,6 +31839,15 @@
|
|
|
31566
31839
|
},
|
|
31567
31840
|
"description": "'top' | 'center' | 'bottom'"
|
|
31568
31841
|
},
|
|
31842
|
+
{
|
|
31843
|
+
"name": "list",
|
|
31844
|
+
"type": {
|
|
31845
|
+
"text": "boolean"
|
|
31846
|
+
},
|
|
31847
|
+
"default": "false",
|
|
31848
|
+
"description": "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.",
|
|
31849
|
+
"fieldName": "list"
|
|
31850
|
+
},
|
|
31569
31851
|
{
|
|
31570
31852
|
"name": "order",
|
|
31571
31853
|
"description": "Position of this child in the container",
|
|
@@ -31751,7 +32033,7 @@
|
|
|
31751
32033
|
},
|
|
31752
32034
|
"default": "''",
|
|
31753
32035
|
"fieldName": "value",
|
|
31754
|
-
"description": "What the column stands for in your data, such as a status; `
|
|
32036
|
+
"description": "What the column stands for in your data, such as a status; `move` reports it as `fromColumn` and `toColumn`"
|
|
31755
32037
|
}
|
|
31756
32038
|
],
|
|
31757
32039
|
"superclass": {
|
|
@@ -31801,7 +32083,7 @@
|
|
|
31801
32083
|
"declarations": [
|
|
31802
32084
|
{
|
|
31803
32085
|
"kind": "class",
|
|
31804
|
-
"description": "Columns side by side, with items you move between them. Kanban is Japanese for a visible board, so it is any board where an item's column is one of its values: a status, but also a team or a phase. Put `nldd-kanban-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `
|
|
32086
|
+
"description": "Columns side by side, with items you move between them. Kanban is Japanese for a visible board, so it is any board where an item's column is one of its values: a status, but also a team or a phase. Put `nldd-kanban-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `move`: - **Dragging.** Pick up the whole item and drop it in a column. A press that does not move is still a click, so an item that is a link or a button keeps working. Released outside the board, the item goes back to its place, which a note above it says once it stays out a moment. On a touch screen you hold the item a moment before it lifts, so a swipe still scrolls. - **Keyboard.** With focus on an item, or on something inside it, Alt with the up or down arrow moves it within its column, and Alt with the left or right arrow to the column beside it. - **`moveItem()`.** WCAG 2.5.7 asks for a way that does not drag. Give each item a menu \"Verplaatsen naar\" with the other columns (`columns` lists them) and call `moveItem()` from it. The menu is yours; the board only moves. With `readonly` nothing moves: no dragging and no Alt with the arrows, while the items still work, so a card still opens. Use it for someone who may only look, or a board that is closed. `moveItem()` still moves, so your app can still show a move someone else made. An attempt to move an item, dragging it past a click or Alt with an arrow, shows \"Dit bord is alleen-lezen\" at the item, says it to a screen reader and fires `move-denied`, so your app can say why in an `nldd-notification`. Say it above the board too: only your app knows the reason, and then nobody has to try. The board moves nothing itself. `move` says which item goes where, and your app moves it in its data, or in the DOM, in the handler: the app owns the order, so a framework that renders the columns never fights the board over them. `toIndex` is the place the item takes in `toColumn`, counted without the item itself, so `splice(fromIndex, 1)` on the one list and `splice(toIndex, 0, item)` on the other is the whole move. Move it synchronously in the handler: the board puts focus back on the item right after, and a screen reader hears where it landed.",
|
|
31805
32087
|
"name": "NLDDKanban",
|
|
31806
32088
|
"members": [
|
|
31807
32089
|
{
|
|
@@ -31888,11 +32170,11 @@
|
|
|
31888
32170
|
],
|
|
31889
32171
|
"events": [
|
|
31890
32172
|
{
|
|
31891
|
-
"name": "
|
|
32173
|
+
"name": "move",
|
|
31892
32174
|
"description": "An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)"
|
|
31893
32175
|
},
|
|
31894
32176
|
{
|
|
31895
|
-
"name": "
|
|
32177
|
+
"name": "move-denied",
|
|
31896
32178
|
"description": "An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`"
|
|
31897
32179
|
}
|
|
31898
32180
|
],
|
|
@@ -32109,7 +32391,7 @@
|
|
|
32109
32391
|
},
|
|
32110
32392
|
{
|
|
32111
32393
|
"kind": "class",
|
|
32112
|
-
"description": "The footer band at the bottom of a page. Hosts three optional rows in a fixed order: breadcrumbs (top), consumer-defined main content (middle), and a legal-bar (bottom). Dividers are drawn automatically between non-empty rows. Establishes its own container query (`page-footer-container`) so the responsive padding and gap react to the footer's own width, not the viewport. The host has `id=\"page-footer\"` so a skip-link can target it directly. Use the sub-components `nldd-page-footer-legal-bar` and `nldd-page-footer-legal-bar-item` for the bottom row.",
|
|
32394
|
+
"description": "The footer band at the bottom of a page. Hosts three optional rows in a fixed order: breadcrumbs (top), consumer-defined main content (middle), and a legal-bar (bottom). Dividers are drawn automatically between non-empty rows. Establishes its own container query (`page-footer-container`) so the responsive padding and gap react to the footer's own width, not the viewport. It goes in the `footer` slot of nldd-page, which makes it the contentinfo landmark, or drops it for a page that does not carry the landmarks of the document. The footer itself has no role, so it never nests a second one. The host has `id=\"page-footer\"` so a skip-link can target it directly. Use the sub-components `nldd-page-footer-legal-bar` and `nldd-page-footer-legal-bar-item` for the bottom row.",
|
|
32113
32395
|
"name": "NLDDPageFooter",
|
|
32114
32396
|
"members": [
|
|
32115
32397
|
{
|
|
@@ -32813,7 +33095,7 @@
|
|
|
32813
33095
|
"declarations": [
|
|
32814
33096
|
{
|
|
32815
33097
|
"kind": "class",
|
|
32816
|
-
"description": "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
|
|
33098
|
+
"description": "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.",
|
|
32817
33099
|
"name": "NLDDHero",
|
|
32818
33100
|
"members": [
|
|
32819
33101
|
{
|
|
@@ -33503,7 +33785,7 @@
|
|
|
33503
33785
|
},
|
|
33504
33786
|
{
|
|
33505
33787
|
"name": "",
|
|
33506
|
-
"description": "Content of the text panel (nldd-title and nldd-rich-text
|
|
33788
|
+
"description": "Content of the text panel (nldd-title and nldd-rich-text, for instance)"
|
|
33507
33789
|
}
|
|
33508
33790
|
]
|
|
33509
33791
|
}
|
|
@@ -34625,7 +34907,7 @@
|
|
|
34625
34907
|
"declarations": [
|
|
34626
34908
|
{
|
|
34627
34909
|
"kind": "class",
|
|
34628
|
-
"description": "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
|
|
34910
|
+
"description": "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.",
|
|
34629
34911
|
"name": "NLDDSidebarSection",
|
|
34630
34912
|
"members": [
|
|
34631
34913
|
{
|
|
@@ -35209,6 +35491,14 @@
|
|
|
35209
35491
|
"expandedType": {
|
|
35210
35492
|
"text": "'0' | '10' | '12' | '16' | '2' | '20' | '24' | '28' | '32' | '4' | '40' | '44' | '48' | '56' | '6' | '64' | '8' | '80' | '96'"
|
|
35211
35493
|
}
|
|
35494
|
+
},
|
|
35495
|
+
{
|
|
35496
|
+
"name": "sidebar-section-only",
|
|
35497
|
+
"description": "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.",
|
|
35498
|
+
"type": {
|
|
35499
|
+
"text": "'collapsed'|'expanded'"
|
|
35500
|
+
},
|
|
35501
|
+
"forDescendants": true
|
|
35212
35502
|
}
|
|
35213
35503
|
],
|
|
35214
35504
|
"mixins": [
|
|
@@ -36486,7 +36776,7 @@
|
|
|
36486
36776
|
"declarations": [
|
|
36487
36777
|
{
|
|
36488
36778
|
"kind": "class",
|
|
36489
|
-
"description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment also positions the popover against itself, so the popover needs no `anchor`: <nldd-button popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. On md and up the popover closes with Escape or a click outside it, and that click goes on to what it lands on, as with any native popover: the page has no backdrop and stays in use, so a click on another control does what it says in one go. It needs no close button of its own. Content that does, because a stray click must not close it (a form, a few steps, work you would lose), is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education is the exception, a manual popover that stays until it is dismissed. On sm the popover is a bottom sheet with a dimmed backdrop, which closes with Escape or a tap outside it. That tap stops at the backdrop, as on every native sheet: the dimming says the page is out of play. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself.",
|
|
36779
|
+
"description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment also positions the popover against itself, so the popover needs no `anchor`: <nldd-button popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. On md and up the popover closes with Escape or a click outside it, and that click goes on to what it lands on, as with any native popover: the page has no backdrop and stays in use, so a click on another control does what it says in one go. It needs no close button of its own. Content that does, because a stray click must not close it (a form, a few steps, work you would lose), is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education is the exception, a manual popover that stays until it is dismissed. On sm the popover is a bottom sheet with a dimmed backdrop, which closes with Escape or a tap outside it, and slides down as it goes. It is a manual popover there and closes itself, so a close request from the system, such as the back gesture on Android, leaves it open; a `popover` you set yourself is kept. That tap stops at the backdrop, as on every native sheet: the dimming says the page is out of play. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself.",
|
|
36490
36780
|
"name": "NLDDPopover",
|
|
36491
36781
|
"members": [
|
|
36492
36782
|
{
|
|
@@ -36998,7 +37288,7 @@
|
|
|
36998
37288
|
"declarations": [
|
|
36999
37289
|
{
|
|
37000
37290
|
"kind": "class",
|
|
37001
|
-
"description": "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-
|
|
37291
|
+
"description": "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.",
|
|
37002
37292
|
"name": "NLDDShell",
|
|
37003
37293
|
"members": [
|
|
37004
37294
|
{
|
|
@@ -37208,7 +37498,7 @@
|
|
|
37208
37498
|
"declarations": [
|
|
37209
37499
|
{
|
|
37210
37500
|
"kind": "class",
|
|
37211
|
-
"description": "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-
|
|
37501
|
+
"description": "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.",
|
|
37212
37502
|
"name": "NLDDBarSplitView",
|
|
37213
37503
|
"members": [
|
|
37214
37504
|
{
|
|
@@ -37380,27 +37670,6 @@
|
|
|
37380
37670
|
"attribute": "inspector-auto-hidden",
|
|
37381
37671
|
"reflects": true
|
|
37382
37672
|
},
|
|
37383
|
-
{
|
|
37384
|
-
"kind": "field",
|
|
37385
|
-
"name": "sidebarAsSheet",
|
|
37386
|
-
"type": {
|
|
37387
|
-
"text": "boolean"
|
|
37388
|
-
},
|
|
37389
|
-
"default": "false",
|
|
37390
|
-
"deprecated": "Use primary-sidebar-as-sheet. Kept as an alias for backwards compatibility.",
|
|
37391
|
-
"attribute": "sidebar-as-sheet",
|
|
37392
|
-
"reflects": true
|
|
37393
|
-
},
|
|
37394
|
-
{
|
|
37395
|
-
"kind": "field",
|
|
37396
|
-
"name": "sidebarAccessibleLabel",
|
|
37397
|
-
"type": {
|
|
37398
|
-
"text": "string"
|
|
37399
|
-
},
|
|
37400
|
-
"default": "''",
|
|
37401
|
-
"deprecated": "Use primary-sidebar-accessible-label. Kept as an alias for backwards compatibility.\nEmpty by default so it does not clobber the new property's default.",
|
|
37402
|
-
"attribute": "sidebar-accessible-label"
|
|
37403
|
-
},
|
|
37404
37673
|
{
|
|
37405
37674
|
"kind": "method",
|
|
37406
37675
|
"name": "showPrimarySidebarSheet",
|
|
@@ -37415,26 +37684,6 @@
|
|
|
37415
37684
|
"kind": "method",
|
|
37416
37685
|
"name": "hidePrimarySidebarSheet"
|
|
37417
37686
|
},
|
|
37418
|
-
{
|
|
37419
|
-
"kind": "method",
|
|
37420
|
-
"name": "showSidebarSheet",
|
|
37421
|
-
"return": {
|
|
37422
|
-
"type": {
|
|
37423
|
-
"text": "Promise<void>"
|
|
37424
|
-
}
|
|
37425
|
-
},
|
|
37426
|
-
"deprecated": "Use showPrimarySidebarSheet()."
|
|
37427
|
-
},
|
|
37428
|
-
{
|
|
37429
|
-
"kind": "method",
|
|
37430
|
-
"name": "hideSidebarSheet",
|
|
37431
|
-
"return": {
|
|
37432
|
-
"type": {
|
|
37433
|
-
"text": "void"
|
|
37434
|
-
}
|
|
37435
|
-
},
|
|
37436
|
-
"deprecated": "Use hidePrimarySidebarSheet()."
|
|
37437
|
-
},
|
|
37438
37687
|
{
|
|
37439
37688
|
"kind": "method",
|
|
37440
37689
|
"name": "showInspectorSheet",
|
|
@@ -37503,26 +37752,6 @@
|
|
|
37503
37752
|
"default": "false",
|
|
37504
37753
|
"fieldName": "inspectorAutoHidden",
|
|
37505
37754
|
"description": "Inspector hidden to free up space for other panes (read-only, set by the split view)"
|
|
37506
|
-
},
|
|
37507
|
-
{
|
|
37508
|
-
"name": "sidebar-as-sheet",
|
|
37509
|
-
"type": {
|
|
37510
|
-
"text": "boolean"
|
|
37511
|
-
},
|
|
37512
|
-
"default": "false",
|
|
37513
|
-
"deprecated": "alias for primary-sidebar-as-sheet (kept for backwards compatibility)",
|
|
37514
|
-
"fieldName": "sidebarAsSheet",
|
|
37515
|
-
"description": "@deprecated alias for primary-sidebar-as-sheet (kept for backwards compatibility)"
|
|
37516
|
-
},
|
|
37517
|
-
{
|
|
37518
|
-
"name": "sidebar-accessible-label",
|
|
37519
|
-
"type": {
|
|
37520
|
-
"text": "string"
|
|
37521
|
-
},
|
|
37522
|
-
"default": "''",
|
|
37523
|
-
"deprecated": "alias for primary-sidebar-accessible-label (kept for backwards compatibility)",
|
|
37524
|
-
"fieldName": "sidebarAccessibleLabel",
|
|
37525
|
-
"description": "@deprecated alias for primary-sidebar-accessible-label (kept for backwards compatibility)"
|
|
37526
37755
|
}
|
|
37527
37756
|
],
|
|
37528
37757
|
"superclass": {
|
|
@@ -37547,10 +37776,6 @@
|
|
|
37547
37776
|
{
|
|
37548
37777
|
"name": "inspector",
|
|
37549
37778
|
"description": "Right pane for details or properties"
|
|
37550
|
-
},
|
|
37551
|
-
{
|
|
37552
|
-
"name": "sidebar",
|
|
37553
|
-
"description": "@deprecated alias for the primary-sidebar slot (kept for backwards compatibility)"
|
|
37554
37779
|
}
|
|
37555
37780
|
]
|
|
37556
37781
|
}
|
|
@@ -37762,7 +37987,7 @@
|
|
|
37762
37987
|
"declarations": [
|
|
37763
37988
|
{
|
|
37764
37989
|
"kind": "class",
|
|
37765
|
-
"description": "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-
|
|
37990
|
+
"description": "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.",
|
|
37766
37991
|
"name": "NLDDSplitViewPane",
|
|
37767
37992
|
"members": [
|
|
37768
37993
|
{
|
|
@@ -38316,6 +38541,17 @@
|
|
|
38316
38541
|
"attribute": "vertical-alignment",
|
|
38317
38542
|
"reflects": true
|
|
38318
38543
|
},
|
|
38544
|
+
{
|
|
38545
|
+
"kind": "field",
|
|
38546
|
+
"name": "reorderHandle",
|
|
38547
|
+
"default": "handle",
|
|
38548
|
+
"attribute": "reorder-handle",
|
|
38549
|
+
"reflects": true,
|
|
38550
|
+
"inheritedFrom": {
|
|
38551
|
+
"name": "ReorderHandleMixin",
|
|
38552
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38553
|
+
}
|
|
38554
|
+
},
|
|
38319
38555
|
{
|
|
38320
38556
|
"kind": "field",
|
|
38321
38557
|
"name": "rowHeader",
|
|
@@ -38415,6 +38651,15 @@
|
|
|
38415
38651
|
},
|
|
38416
38652
|
"description": "Vertical alignment of slotted content (default: 'center')"
|
|
38417
38653
|
},
|
|
38654
|
+
{
|
|
38655
|
+
"name": "reorder-handle",
|
|
38656
|
+
"default": "handle",
|
|
38657
|
+
"fieldName": "reorderHandle",
|
|
38658
|
+
"inheritedFrom": {
|
|
38659
|
+
"name": "ReorderHandleMixin",
|
|
38660
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38661
|
+
}
|
|
38662
|
+
},
|
|
38418
38663
|
{
|
|
38419
38664
|
"name": "row-header",
|
|
38420
38665
|
"type": {
|
|
@@ -38451,6 +38696,10 @@
|
|
|
38451
38696
|
}
|
|
38452
38697
|
],
|
|
38453
38698
|
"mixins": [
|
|
38699
|
+
{
|
|
38700
|
+
"name": "ReorderHandleMixin",
|
|
38701
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
38702
|
+
},
|
|
38454
38703
|
{
|
|
38455
38704
|
"name": "RowHeaderMixin",
|
|
38456
38705
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -38550,6 +38799,17 @@
|
|
|
38550
38799
|
"attribute": "vertical-alignment",
|
|
38551
38800
|
"reflects": true
|
|
38552
38801
|
},
|
|
38802
|
+
{
|
|
38803
|
+
"kind": "field",
|
|
38804
|
+
"name": "reorderHandle",
|
|
38805
|
+
"default": "handle",
|
|
38806
|
+
"attribute": "reorder-handle",
|
|
38807
|
+
"reflects": true,
|
|
38808
|
+
"inheritedFrom": {
|
|
38809
|
+
"name": "ReorderHandleMixin",
|
|
38810
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38811
|
+
}
|
|
38812
|
+
},
|
|
38553
38813
|
{
|
|
38554
38814
|
"kind": "field",
|
|
38555
38815
|
"name": "rowHeader",
|
|
@@ -38637,6 +38897,15 @@
|
|
|
38637
38897
|
},
|
|
38638
38898
|
"description": "Vertical alignment (default: 'center')"
|
|
38639
38899
|
},
|
|
38900
|
+
{
|
|
38901
|
+
"name": "reorder-handle",
|
|
38902
|
+
"default": "handle",
|
|
38903
|
+
"fieldName": "reorderHandle",
|
|
38904
|
+
"inheritedFrom": {
|
|
38905
|
+
"name": "ReorderHandleMixin",
|
|
38906
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38907
|
+
}
|
|
38908
|
+
},
|
|
38640
38909
|
{
|
|
38641
38910
|
"name": "row-header",
|
|
38642
38911
|
"type": {
|
|
@@ -38673,6 +38942,10 @@
|
|
|
38673
38942
|
}
|
|
38674
38943
|
],
|
|
38675
38944
|
"mixins": [
|
|
38945
|
+
{
|
|
38946
|
+
"name": "ReorderHandleMixin",
|
|
38947
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
38948
|
+
},
|
|
38676
38949
|
{
|
|
38677
38950
|
"name": "RowHeaderMixin",
|
|
38678
38951
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -38719,86 +38992,6 @@
|
|
|
38719
38992
|
}
|
|
38720
38993
|
]
|
|
38721
38994
|
},
|
|
38722
|
-
{
|
|
38723
|
-
"kind": "javascript-module",
|
|
38724
|
-
"path": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts",
|
|
38725
|
-
"declarations": [
|
|
38726
|
-
{
|
|
38727
|
-
"kind": "class",
|
|
38728
|
-
"description": "A cell that displays a drag handle for reorderable list items. Always vertically centered and sized to fit the handle. To enable drag-to-reorder, add the `reorderable-only` attribute to this element. This attribute is required for `nldd-list` to detect the drag handle in the composed event path and activate pointer and keyboard drag mode: ```html <nldd-list reorderable> <nldd-list-item> <nldd-drag-handle-cell reorderable-only></nldd-drag-handle-cell> <nldd-text-cell text=\"Item\"></nldd-text-cell> </nldd-list-item> </nldd-list> ``` Without `reorderable-only`, pointer and keyboard drag will never trigger.",
|
|
38729
|
-
"name": "NLDDDragHandleCell",
|
|
38730
|
-
"members": [
|
|
38731
|
-
{
|
|
38732
|
-
"kind": "field",
|
|
38733
|
-
"name": "size",
|
|
38734
|
-
"type": {
|
|
38735
|
-
"text": "Size"
|
|
38736
|
-
},
|
|
38737
|
-
"default": "'md'",
|
|
38738
|
-
"attribute": "size",
|
|
38739
|
-
"reflects": true
|
|
38740
|
-
},
|
|
38741
|
-
{
|
|
38742
|
-
"kind": "field",
|
|
38743
|
-
"name": "translations",
|
|
38744
|
-
"type": {
|
|
38745
|
-
"text": "Partial<NLDDDragHandleCellTranslations>"
|
|
38746
|
-
},
|
|
38747
|
-
"default": "{}",
|
|
38748
|
-
"description": "Override one or more translation keys. Unset keys fall back to the Dutch default.",
|
|
38749
|
-
"attribute": "translations"
|
|
38750
|
-
}
|
|
38751
|
-
],
|
|
38752
|
-
"attributes": [
|
|
38753
|
-
{
|
|
38754
|
-
"name": "size",
|
|
38755
|
-
"type": {
|
|
38756
|
-
"text": "Size"
|
|
38757
|
-
},
|
|
38758
|
-
"default": "'md'",
|
|
38759
|
-
"fieldName": "size",
|
|
38760
|
-
"expandedType": {
|
|
38761
|
-
"text": "'md' | 'sm'"
|
|
38762
|
-
},
|
|
38763
|
-
"description": "Handle size: 'sm' | 'md' (default: 'md')"
|
|
38764
|
-
},
|
|
38765
|
-
{
|
|
38766
|
-
"name": "translations",
|
|
38767
|
-
"type": {
|
|
38768
|
-
"text": "Partial<NLDDDragHandleCellTranslations>"
|
|
38769
|
-
},
|
|
38770
|
-
"default": "{}",
|
|
38771
|
-
"description": "Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.",
|
|
38772
|
-
"fieldName": "translations"
|
|
38773
|
-
}
|
|
38774
|
-
],
|
|
38775
|
-
"superclass": {
|
|
38776
|
-
"name": "LitElement",
|
|
38777
|
-
"package": "lit"
|
|
38778
|
-
},
|
|
38779
|
-
"tagName": "nldd-drag-handle-cell",
|
|
38780
|
-
"customElement": true
|
|
38781
|
-
}
|
|
38782
|
-
],
|
|
38783
|
-
"exports": [
|
|
38784
|
-
{
|
|
38785
|
-
"kind": "js",
|
|
38786
|
-
"name": "NLDDDragHandleCell",
|
|
38787
|
-
"declaration": {
|
|
38788
|
-
"name": "NLDDDragHandleCell",
|
|
38789
|
-
"module": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts"
|
|
38790
|
-
}
|
|
38791
|
-
},
|
|
38792
|
-
{
|
|
38793
|
-
"kind": "custom-element-definition",
|
|
38794
|
-
"name": "nldd-drag-handle-cell",
|
|
38795
|
-
"declaration": {
|
|
38796
|
-
"name": "NLDDDragHandleCell",
|
|
38797
|
-
"module": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts"
|
|
38798
|
-
}
|
|
38799
|
-
}
|
|
38800
|
-
]
|
|
38801
|
-
},
|
|
38802
38995
|
{
|
|
38803
38996
|
"kind": "javascript-module",
|
|
38804
38997
|
"path": "src/components/lists-and-tables/cells/icon-cell/icon-cell.ts",
|
|
@@ -38848,6 +39041,17 @@
|
|
|
38848
39041
|
"attribute": "icon",
|
|
38849
39042
|
"reflects": true
|
|
38850
39043
|
},
|
|
39044
|
+
{
|
|
39045
|
+
"kind": "field",
|
|
39046
|
+
"name": "reorderHandle",
|
|
39047
|
+
"default": "handle",
|
|
39048
|
+
"attribute": "reorder-handle",
|
|
39049
|
+
"reflects": true,
|
|
39050
|
+
"inheritedFrom": {
|
|
39051
|
+
"name": "ReorderHandleMixin",
|
|
39052
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39053
|
+
}
|
|
39054
|
+
},
|
|
38851
39055
|
{
|
|
38852
39056
|
"kind": "field",
|
|
38853
39057
|
"name": "hideBelow",
|
|
@@ -38921,6 +39125,15 @@
|
|
|
38921
39125
|
"fieldName": "icon",
|
|
38922
39126
|
"description": "Icon name (renders `<nldd-icon>`). Content in the default slot wins."
|
|
38923
39127
|
},
|
|
39128
|
+
{
|
|
39129
|
+
"name": "reorder-handle",
|
|
39130
|
+
"default": "handle",
|
|
39131
|
+
"fieldName": "reorderHandle",
|
|
39132
|
+
"inheritedFrom": {
|
|
39133
|
+
"name": "ReorderHandleMixin",
|
|
39134
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39135
|
+
}
|
|
39136
|
+
},
|
|
38924
39137
|
{
|
|
38925
39138
|
"name": "hide-below",
|
|
38926
39139
|
"type": {
|
|
@@ -38952,6 +39165,10 @@
|
|
|
38952
39165
|
}
|
|
38953
39166
|
],
|
|
38954
39167
|
"mixins": [
|
|
39168
|
+
{
|
|
39169
|
+
"name": "ReorderHandleMixin",
|
|
39170
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39171
|
+
},
|
|
38955
39172
|
{
|
|
38956
39173
|
"name": "VisibilityMixin",
|
|
38957
39174
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -38990,6 +39207,112 @@
|
|
|
38990
39207
|
}
|
|
38991
39208
|
]
|
|
38992
39209
|
},
|
|
39210
|
+
{
|
|
39211
|
+
"kind": "javascript-module",
|
|
39212
|
+
"path": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts",
|
|
39213
|
+
"declarations": [
|
|
39214
|
+
{
|
|
39215
|
+
"kind": "class",
|
|
39216
|
+
"description": "The grip that drags its row in a `reorderable` nldd-list, by pointer or with the arrow keys. Always vertically centered and sized to fit the handle. It carries `reorder-handle` by itself, so it shows only while the row is `reorderable` and needs nothing else: ```html <nldd-list reorderable> <nldd-list-item> <nldd-reorder-handle-cell></nldd-reorder-handle-cell> <nldd-text-cell text=\"Item\"></nldd-text-cell> </nldd-list-item> </nldd-list> ``` Any other cell becomes the grip with `reorder-handle`, such as an nldd-cell with a control of your own.",
|
|
39217
|
+
"name": "NLDDReorderHandleCell",
|
|
39218
|
+
"members": [
|
|
39219
|
+
{
|
|
39220
|
+
"kind": "field",
|
|
39221
|
+
"name": "size",
|
|
39222
|
+
"type": {
|
|
39223
|
+
"text": "Size"
|
|
39224
|
+
},
|
|
39225
|
+
"default": "'md'",
|
|
39226
|
+
"attribute": "size",
|
|
39227
|
+
"reflects": true
|
|
39228
|
+
},
|
|
39229
|
+
{
|
|
39230
|
+
"kind": "field",
|
|
39231
|
+
"name": "translations",
|
|
39232
|
+
"type": {
|
|
39233
|
+
"text": "Partial<NLDDReorderHandleCellTranslations>"
|
|
39234
|
+
},
|
|
39235
|
+
"default": "{}",
|
|
39236
|
+
"description": "Override one or more translation keys. Unset keys fall back to the Dutch default.",
|
|
39237
|
+
"attribute": "translations"
|
|
39238
|
+
},
|
|
39239
|
+
{
|
|
39240
|
+
"kind": "field",
|
|
39241
|
+
"name": "reorderHandle",
|
|
39242
|
+
"default": "handle",
|
|
39243
|
+
"attribute": "reorder-handle",
|
|
39244
|
+
"reflects": true,
|
|
39245
|
+
"inheritedFrom": {
|
|
39246
|
+
"name": "ReorderHandleMixin",
|
|
39247
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39248
|
+
}
|
|
39249
|
+
}
|
|
39250
|
+
],
|
|
39251
|
+
"attributes": [
|
|
39252
|
+
{
|
|
39253
|
+
"name": "size",
|
|
39254
|
+
"type": {
|
|
39255
|
+
"text": "Size"
|
|
39256
|
+
},
|
|
39257
|
+
"default": "'md'",
|
|
39258
|
+
"fieldName": "size",
|
|
39259
|
+
"expandedType": {
|
|
39260
|
+
"text": "'md' | 'sm'"
|
|
39261
|
+
},
|
|
39262
|
+
"description": "Handle size: 'sm' | 'md' (default: 'md')"
|
|
39263
|
+
},
|
|
39264
|
+
{
|
|
39265
|
+
"name": "translations",
|
|
39266
|
+
"type": {
|
|
39267
|
+
"text": "Partial<NLDDReorderHandleCellTranslations>"
|
|
39268
|
+
},
|
|
39269
|
+
"default": "{}",
|
|
39270
|
+
"description": "Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.",
|
|
39271
|
+
"fieldName": "translations"
|
|
39272
|
+
},
|
|
39273
|
+
{
|
|
39274
|
+
"name": "reorder-handle",
|
|
39275
|
+
"default": "handle",
|
|
39276
|
+
"fieldName": "reorderHandle",
|
|
39277
|
+
"inheritedFrom": {
|
|
39278
|
+
"name": "ReorderHandleMixin",
|
|
39279
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39280
|
+
}
|
|
39281
|
+
}
|
|
39282
|
+
],
|
|
39283
|
+
"mixins": [
|
|
39284
|
+
{
|
|
39285
|
+
"name": "ReorderHandleMixin",
|
|
39286
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39287
|
+
}
|
|
39288
|
+
],
|
|
39289
|
+
"superclass": {
|
|
39290
|
+
"name": "LitElement",
|
|
39291
|
+
"package": "lit"
|
|
39292
|
+
},
|
|
39293
|
+
"tagName": "nldd-reorder-handle-cell",
|
|
39294
|
+
"customElement": true
|
|
39295
|
+
}
|
|
39296
|
+
],
|
|
39297
|
+
"exports": [
|
|
39298
|
+
{
|
|
39299
|
+
"kind": "js",
|
|
39300
|
+
"name": "NLDDReorderHandleCell",
|
|
39301
|
+
"declaration": {
|
|
39302
|
+
"name": "NLDDReorderHandleCell",
|
|
39303
|
+
"module": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"
|
|
39304
|
+
}
|
|
39305
|
+
},
|
|
39306
|
+
{
|
|
39307
|
+
"kind": "custom-element-definition",
|
|
39308
|
+
"name": "nldd-reorder-handle-cell",
|
|
39309
|
+
"declaration": {
|
|
39310
|
+
"name": "NLDDReorderHandleCell",
|
|
39311
|
+
"module": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"
|
|
39312
|
+
}
|
|
39313
|
+
}
|
|
39314
|
+
]
|
|
39315
|
+
},
|
|
38993
39316
|
{
|
|
38994
39317
|
"kind": "javascript-module",
|
|
38995
39318
|
"path": "src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts",
|
|
@@ -39009,6 +39332,17 @@
|
|
|
39009
39332
|
"attribute": "size",
|
|
39010
39333
|
"reflects": true
|
|
39011
39334
|
},
|
|
39335
|
+
{
|
|
39336
|
+
"kind": "field",
|
|
39337
|
+
"name": "reorderHandle",
|
|
39338
|
+
"default": "handle",
|
|
39339
|
+
"attribute": "reorder-handle",
|
|
39340
|
+
"reflects": true,
|
|
39341
|
+
"inheritedFrom": {
|
|
39342
|
+
"name": "ReorderHandleMixin",
|
|
39343
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39344
|
+
}
|
|
39345
|
+
},
|
|
39012
39346
|
{
|
|
39013
39347
|
"kind": "field",
|
|
39014
39348
|
"name": "hideBelow",
|
|
@@ -39049,6 +39383,15 @@
|
|
|
39049
39383
|
},
|
|
39050
39384
|
"description": "Spacer size in pixels: '2' | '4' | '6' | '8' | '10' | '12' | '16' | '20' | '24' | '28' | '32' | '40' | '44' | '48' | '56' | '64' | '80' | '96' (default: '16')"
|
|
39051
39385
|
},
|
|
39386
|
+
{
|
|
39387
|
+
"name": "reorder-handle",
|
|
39388
|
+
"default": "handle",
|
|
39389
|
+
"fieldName": "reorderHandle",
|
|
39390
|
+
"inheritedFrom": {
|
|
39391
|
+
"name": "ReorderHandleMixin",
|
|
39392
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39393
|
+
}
|
|
39394
|
+
},
|
|
39052
39395
|
{
|
|
39053
39396
|
"name": "hide-below",
|
|
39054
39397
|
"type": {
|
|
@@ -39073,6 +39416,10 @@
|
|
|
39073
39416
|
}
|
|
39074
39417
|
],
|
|
39075
39418
|
"mixins": [
|
|
39419
|
+
{
|
|
39420
|
+
"name": "ReorderHandleMixin",
|
|
39421
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39422
|
+
},
|
|
39076
39423
|
{
|
|
39077
39424
|
"name": "VisibilityMixin",
|
|
39078
39425
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -39225,6 +39572,17 @@
|
|
|
39225
39572
|
"description": "Only a whole dot in a wide lane has room to read a number in: a minor one is\nsmaller still, and would claim to be a step of its own.",
|
|
39226
39573
|
"readonly": true
|
|
39227
39574
|
},
|
|
39575
|
+
{
|
|
39576
|
+
"kind": "field",
|
|
39577
|
+
"name": "reorderHandle",
|
|
39578
|
+
"default": "handle",
|
|
39579
|
+
"attribute": "reorder-handle",
|
|
39580
|
+
"reflects": true,
|
|
39581
|
+
"inheritedFrom": {
|
|
39582
|
+
"name": "ReorderHandleMixin",
|
|
39583
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39584
|
+
}
|
|
39585
|
+
},
|
|
39228
39586
|
{
|
|
39229
39587
|
"kind": "field",
|
|
39230
39588
|
"name": "hideBelow",
|
|
@@ -39364,6 +39722,15 @@
|
|
|
39364
39722
|
"fieldName": "icon",
|
|
39365
39723
|
"description": "Icon name in the dot; wins over `text`"
|
|
39366
39724
|
},
|
|
39725
|
+
{
|
|
39726
|
+
"name": "reorder-handle",
|
|
39727
|
+
"default": "handle",
|
|
39728
|
+
"fieldName": "reorderHandle",
|
|
39729
|
+
"inheritedFrom": {
|
|
39730
|
+
"name": "ReorderHandleMixin",
|
|
39731
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39732
|
+
}
|
|
39733
|
+
},
|
|
39367
39734
|
{
|
|
39368
39735
|
"name": "hide-below",
|
|
39369
39736
|
"type": {
|
|
@@ -39388,6 +39755,10 @@
|
|
|
39388
39755
|
}
|
|
39389
39756
|
],
|
|
39390
39757
|
"mixins": [
|
|
39758
|
+
{
|
|
39759
|
+
"name": "ReorderHandleMixin",
|
|
39760
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39761
|
+
},
|
|
39391
39762
|
{
|
|
39392
39763
|
"name": "VisibilityMixin",
|
|
39393
39764
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -39432,7 +39803,7 @@
|
|
|
39432
39803
|
"declarations": [
|
|
39433
39804
|
{
|
|
39434
39805
|
"kind": "class",
|
|
39435
|
-
"description": "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
|
|
39806
|
+
"description": "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.",
|
|
39436
39807
|
"name": "NLDDTextCell",
|
|
39437
39808
|
"members": [
|
|
39438
39809
|
{
|
|
@@ -39561,6 +39932,17 @@
|
|
|
39561
39932
|
"default": "'predictive'",
|
|
39562
39933
|
"attribute": "query-mark-mode"
|
|
39563
39934
|
},
|
|
39935
|
+
{
|
|
39936
|
+
"kind": "field",
|
|
39937
|
+
"name": "reorderHandle",
|
|
39938
|
+
"default": "handle",
|
|
39939
|
+
"attribute": "reorder-handle",
|
|
39940
|
+
"reflects": true,
|
|
39941
|
+
"inheritedFrom": {
|
|
39942
|
+
"name": "ReorderHandleMixin",
|
|
39943
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39944
|
+
}
|
|
39945
|
+
},
|
|
39564
39946
|
{
|
|
39565
39947
|
"kind": "field",
|
|
39566
39948
|
"name": "rowHeader",
|
|
@@ -39732,6 +40114,15 @@
|
|
|
39732
40114
|
},
|
|
39733
40115
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
39734
40116
|
},
|
|
40117
|
+
{
|
|
40118
|
+
"name": "reorder-handle",
|
|
40119
|
+
"default": "handle",
|
|
40120
|
+
"fieldName": "reorderHandle",
|
|
40121
|
+
"inheritedFrom": {
|
|
40122
|
+
"name": "ReorderHandleMixin",
|
|
40123
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40124
|
+
}
|
|
40125
|
+
},
|
|
39735
40126
|
{
|
|
39736
40127
|
"name": "row-header",
|
|
39737
40128
|
"type": {
|
|
@@ -39768,6 +40159,10 @@
|
|
|
39768
40159
|
}
|
|
39769
40160
|
],
|
|
39770
40161
|
"mixins": [
|
|
40162
|
+
{
|
|
40163
|
+
"name": "ReorderHandleMixin",
|
|
40164
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
40165
|
+
},
|
|
39771
40166
|
{
|
|
39772
40167
|
"name": "RowHeaderMixin",
|
|
39773
40168
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -39833,7 +40228,7 @@
|
|
|
39833
40228
|
"type": {
|
|
39834
40229
|
"text": "TitleCellSize | undefined"
|
|
39835
40230
|
},
|
|
39836
|
-
"description": "Unset looks like 5, and like 6 in an nldd-table-row
|
|
40231
|
+
"description": "Unset looks like display-5, and like display-6 in an nldd-table-row,\nwhich is why it has no value of its own: the row can only tell an unset\nsize from a chosen display-5 when unset is not display-5.",
|
|
39837
40232
|
"attribute": "size",
|
|
39838
40233
|
"reflects": true
|
|
39839
40234
|
},
|
|
@@ -39963,6 +40358,17 @@
|
|
|
39963
40358
|
"default": "'predictive'",
|
|
39964
40359
|
"attribute": "query-mark-mode"
|
|
39965
40360
|
},
|
|
40361
|
+
{
|
|
40362
|
+
"kind": "field",
|
|
40363
|
+
"name": "reorderHandle",
|
|
40364
|
+
"default": "handle",
|
|
40365
|
+
"attribute": "reorder-handle",
|
|
40366
|
+
"reflects": true,
|
|
40367
|
+
"inheritedFrom": {
|
|
40368
|
+
"name": "ReorderHandleMixin",
|
|
40369
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40370
|
+
}
|
|
40371
|
+
},
|
|
39966
40372
|
{
|
|
39967
40373
|
"kind": "field",
|
|
39968
40374
|
"name": "rowHeader",
|
|
@@ -40010,10 +40416,10 @@
|
|
|
40010
40416
|
"type": {
|
|
40011
40417
|
"text": "TitleCellSize | undefined"
|
|
40012
40418
|
},
|
|
40013
|
-
"description": "Visual size of the title (unset: looks like 5, and becomes 6 in an `nldd-table-row`, where a title the size of the other cells reads better)",
|
|
40419
|
+
"description": "Visual size of the title: 'display-1' to 'display-6', from large to small (unset: looks like 'display-5', and becomes 'display-6' in an `nldd-table-row`, where a title the size of the other cells reads better). Unlike nldd-title, `heading-level` does not set it: every row in a list looks the same, whatever its level",
|
|
40014
40420
|
"fieldName": "size",
|
|
40015
40421
|
"expandedType": {
|
|
40016
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
40422
|
+
"text": "'display-1' | 'display-2' | 'display-3' | 'display-4' | 'display-5' | 'display-6'"
|
|
40017
40423
|
}
|
|
40018
40424
|
},
|
|
40019
40425
|
{
|
|
@@ -40142,6 +40548,15 @@
|
|
|
40142
40548
|
},
|
|
40143
40549
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
40144
40550
|
},
|
|
40551
|
+
{
|
|
40552
|
+
"name": "reorder-handle",
|
|
40553
|
+
"default": "handle",
|
|
40554
|
+
"fieldName": "reorderHandle",
|
|
40555
|
+
"inheritedFrom": {
|
|
40556
|
+
"name": "ReorderHandleMixin",
|
|
40557
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40558
|
+
}
|
|
40559
|
+
},
|
|
40145
40560
|
{
|
|
40146
40561
|
"name": "row-header",
|
|
40147
40562
|
"type": {
|
|
@@ -40178,6 +40593,10 @@
|
|
|
40178
40593
|
}
|
|
40179
40594
|
],
|
|
40180
40595
|
"mixins": [
|
|
40596
|
+
{
|
|
40597
|
+
"name": "ReorderHandleMixin",
|
|
40598
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
40599
|
+
},
|
|
40181
40600
|
{
|
|
40182
40601
|
"name": "RowHeaderMixin",
|
|
40183
40602
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -40693,16 +41112,6 @@
|
|
|
40693
41112
|
"kind": "class",
|
|
40694
41113
|
"description": "A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and segments share one flat slot, in source order. With one action, make the row itself the control (`href`, `button`, `checkbox` or `radio`): the whole row is then one hit area. With two or more, give each its own `nldd-list-item-segment` and leave the row without an action of its own. Both at once nests a control inside a control, and the item warns about that in development. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segments stay in the grid, so their footprint is position-independent and tree columns line up at any depth. By default the divider starts at the row's first text or title cell, so the line lands on the words rather than on whatever leads up to them — an icon, an avatar, a checkbox, or the spacers a tree indents with. Rows of different shapes then still line their dividers up with each other, and a tree's dividers step inward with its indentation. Text inside an `nldd-list-item-segment` counts as the row's content, and the marker is that text cell rather than the action: the action carries its own inline padding, so its edge sits before the words. A row with no text or title cell keeps the full content width. Mark a cell with `divider-start` and/or `divider-end` to place it yourself instead — an explicit marker replaces the derived one entirely, so `divider-start` on the leading cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-segment[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role=\"checkbox\"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot an `nldd-checkbox decorative` (or any glyph) before the text: it only shows the state, since the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type=\"checkbox\">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target=\"_blank\" rel=\"noopener noreferrer\"`). With `target=\"_blank\"` the item also injects a visually hidden \"opens in new tab\" announcement for assistive technology (WCAG 2.1 SC 3.2.2), and an `href` to another website a visually hidden \"andere website\". An `nldd-icon-cell` with `external-link` is only the picture of that; the row says it either way. The item synchronizes its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role=\"listitem\"` - `navigation` parent → `role=\"listitem\"` + `aria-current` on the inner `<a>` / `<button>` when `current` or `selected`, with `current-type` as its value (`page` unless set) - `listbox` parent → `role=\"option\"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`).",
|
|
40695
41114
|
"name": "NLDDListItem",
|
|
40696
|
-
"slots": [
|
|
40697
|
-
{
|
|
40698
|
-
"name": "",
|
|
40699
|
-
"description": "Cells and segments, in source order. Anything else, bare text included, gets none of a cell's typography, size and alignment, and warns in development."
|
|
40700
|
-
},
|
|
40701
|
-
{
|
|
40702
|
-
"name": "children",
|
|
40703
|
-
"description": "Child rows of this row, in an `nldd-list type=\"tree\"` or `type=\"navigation\"`. In a tree they render as a `role=\"group\"` below the row, hidden while `expanded` is false. In a navigation list they are the sub-pages: a `role=\"list\"` inside this list item, always shown, and without the tree's keyboard. For sub-pages that fold away, use a tree. Either way the nesting IS the hierarchy, so a screen reader reads the level from it and nothing is authored. The group has no styling of its own: repeat a spacer-cell per level to indent, or show depth some other way."
|
|
40704
|
-
}
|
|
40705
|
-
],
|
|
40706
41115
|
"members": [
|
|
40707
41116
|
{
|
|
40708
41117
|
"kind": "field",
|
|
@@ -40934,166 +41343,160 @@
|
|
|
40934
41343
|
}
|
|
40935
41344
|
}
|
|
40936
41345
|
],
|
|
40937
|
-
"events": [
|
|
40938
|
-
{
|
|
40939
|
-
"name": "change",
|
|
40940
|
-
"description": "On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }"
|
|
40941
|
-
}
|
|
40942
|
-
],
|
|
40943
41346
|
"attributes": [
|
|
40944
41347
|
{
|
|
41348
|
+
"name": "size",
|
|
40945
41349
|
"type": {
|
|
40946
41350
|
"text": "ListItemSize"
|
|
40947
41351
|
},
|
|
40948
|
-
"description": "Row size (default: 'md'). Pushed onto the cells whose `size` means the same scale (nldd-text-cell, nldd-drag-handle-cell), so it is written once per row instead of once per cell. A size set on the cell itself wins. Cells where `size` means something else — pixels on nldd-icon-cell / nldd-spacer-cell, a heading scale on nldd-title-cell — are left alone.",
|
|
40949
|
-
"name": "size",
|
|
40950
41352
|
"default": "'md'",
|
|
40951
41353
|
"fieldName": "size",
|
|
40952
41354
|
"expandedType": {
|
|
40953
41355
|
"text": "'md' | 'sm'"
|
|
40954
|
-
}
|
|
41356
|
+
},
|
|
41357
|
+
"description": "Row size (default: 'md'). Pushed onto the cells whose `size` means the same scale (nldd-text-cell, nldd-reorder-handle-cell), so it is written once per row instead of once per cell. A size set on the cell itself wins. Cells where `size` means something else — pixels on nldd-icon-cell / nldd-spacer-cell, a heading scale on nldd-title-cell — are left alone."
|
|
40955
41358
|
},
|
|
40956
41359
|
{
|
|
41360
|
+
"name": "href",
|
|
40957
41361
|
"type": {
|
|
40958
41362
|
"text": "string | undefined"
|
|
40959
41363
|
},
|
|
40960
41364
|
"description": "Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.",
|
|
40961
|
-
"name": "href",
|
|
40962
41365
|
"fieldName": "href"
|
|
40963
41366
|
},
|
|
40964
41367
|
{
|
|
41368
|
+
"name": "target",
|
|
40965
41369
|
"type": {
|
|
40966
41370
|
"text": "string | undefined"
|
|
40967
41371
|
},
|
|
40968
41372
|
"description": "Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden \"opens in new tab\" announcement is added for assistive technology. An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden \"andere website\", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.",
|
|
40969
|
-
"name": "target",
|
|
40970
41373
|
"fieldName": "target"
|
|
40971
41374
|
},
|
|
40972
41375
|
{
|
|
41376
|
+
"name": "download",
|
|
40973
41377
|
"type": {
|
|
40974
41378
|
"text": "string | undefined"
|
|
40975
41379
|
},
|
|
40976
|
-
"description": "Saves the file the link points at instead of opening it; only used with href. Without a value the browser takes the name from the URL, with one that is the file name. A browser ignores it for a URL on another origin and opens the file there. Adds a visually hidden \"downloadt bestand\" for screen readers. Leave `target` off: a download opens no tab.",
|
|
40977
|
-
"name": "download",
|
|
40978
41380
|
"default": "undefined",
|
|
41381
|
+
"description": "Saves the file the link points at instead of opening it; only used with href. Without a value the browser takes the name from the URL, with one that is the file name. A browser ignores it for a URL on another origin and opens the file there. Adds a visually hidden \"downloadt bestand\" for screen readers. Leave `target` off: a download opens no tab.",
|
|
40979
41382
|
"fieldName": "download"
|
|
40980
41383
|
},
|
|
40981
41384
|
{
|
|
41385
|
+
"name": "rel",
|
|
40982
41386
|
"type": {
|
|
40983
41387
|
"text": "string | undefined"
|
|
40984
41388
|
},
|
|
40985
41389
|
"description": "Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set",
|
|
40986
|
-
"name": "rel",
|
|
40987
41390
|
"fieldName": "rel"
|
|
40988
41391
|
},
|
|
40989
41392
|
{
|
|
41393
|
+
"name": "button",
|
|
40990
41394
|
"type": {
|
|
40991
41395
|
"text": "boolean"
|
|
40992
41396
|
},
|
|
40993
|
-
"description": "Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
40994
|
-
"name": "button",
|
|
40995
41397
|
"default": "false",
|
|
41398
|
+
"description": "Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
40996
41399
|
"fieldName": "button"
|
|
40997
41400
|
},
|
|
40998
41401
|
{
|
|
41402
|
+
"name": "checkbox",
|
|
40999
41403
|
"type": {
|
|
41000
41404
|
"text": "boolean"
|
|
41001
41405
|
},
|
|
41002
|
-
"description": "Makes the whole row a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
41003
|
-
"name": "checkbox",
|
|
41004
41406
|
"default": "false",
|
|
41407
|
+
"description": "Makes the whole row a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
41005
41408
|
"fieldName": "checkbox"
|
|
41006
41409
|
},
|
|
41007
41410
|
{
|
|
41411
|
+
"name": "radio",
|
|
41008
41412
|
"type": {
|
|
41009
41413
|
"text": "boolean"
|
|
41010
41414
|
},
|
|
41011
|
-
"description": "Makes the whole row one radio of a group: the action becomes a `role=\"radio\"` button carrying `aria-checked`, and activation sets `checked` (never clears it) and fires `change`. Put the rows in an `nldd-list type=\"radiogroup\"`, which is what makes them a set. Wins over `button`, loses to `href` and `checkbox`. The arrow keys move focus without checking, where a native radio group and `nldd-radio-button-group` check as they go: a row can carry more than a label, so stepping past one should not commit it.",
|
|
41012
|
-
"name": "radio",
|
|
41013
41415
|
"default": "false",
|
|
41416
|
+
"description": "Makes the whole row one radio of a group: the action becomes a `role=\"radio\"` button carrying `aria-checked`, and activation sets `checked` (never clears it) and fires `change`. Put the rows in an `nldd-list type=\"radiogroup\"`, which is what makes them a set. Wins over `button`, loses to `href` and `checkbox`. The arrow keys move focus without checking, where a native radio group and `nldd-radio-button-group` check as they go: a row can carry more than a label, so stepping past one should not commit it.",
|
|
41014
41417
|
"fieldName": "radio"
|
|
41015
41418
|
},
|
|
41016
41419
|
{
|
|
41420
|
+
"name": "expandable",
|
|
41017
41421
|
"type": {
|
|
41018
41422
|
"text": "boolean"
|
|
41019
41423
|
},
|
|
41020
|
-
"description": "The row opens something, also while it is closed: without `expanded` it says \"collapsed\" instead of nothing. This is how markup writes a closed disclosure, since an attribute can only be there or not. A row with children in a tree already is one.",
|
|
41021
|
-
"name": "expandable",
|
|
41022
41424
|
"default": "false",
|
|
41425
|
+
"description": "The row opens something, also while it is closed: without `expanded` it says \"collapsed\" instead of nothing. This is how markup writes a closed disclosure, since an attribute can only be there or not. A row with children in a tree already is one.",
|
|
41023
41426
|
"fieldName": "expandable"
|
|
41024
41427
|
},
|
|
41025
41428
|
{
|
|
41429
|
+
"name": "accessible-label",
|
|
41026
41430
|
"type": {
|
|
41027
41431
|
"text": "string"
|
|
41028
41432
|
},
|
|
41029
|
-
"description": "Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. Start it with the row's visible title, so voice control finds the row by the words on screen (WCAG 2.5.3); development warns when it does not. The hint for another website or a new tab is added to it.",
|
|
41030
|
-
"name": "accessible-label",
|
|
41031
41433
|
"default": "''",
|
|
41434
|
+
"description": "Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. Start it with the row's visible title, so voice control finds the row by the words on screen (WCAG 2.5.3); development warns when it does not. The hint for another website or a new tab is added to it.",
|
|
41032
41435
|
"fieldName": "accessibleLabel"
|
|
41033
41436
|
},
|
|
41034
41437
|
{
|
|
41438
|
+
"name": "reorderable",
|
|
41035
41439
|
"type": {
|
|
41036
41440
|
"text": "boolean"
|
|
41037
41441
|
},
|
|
41038
|
-
"description": "Set by the parent `nldd-list` when its own `reorderable` is on (with `type=\"list\"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.",
|
|
41039
|
-
"name": "reorderable",
|
|
41040
41442
|
"default": "false",
|
|
41443
|
+
"description": "Set by the parent `nldd-list` when its own `reorderable` is on (with `type=\"list\"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.",
|
|
41041
41444
|
"fieldName": "reorderable"
|
|
41042
41445
|
},
|
|
41043
41446
|
{
|
|
41447
|
+
"name": "selected",
|
|
41044
41448
|
"type": {
|
|
41045
41449
|
"text": "boolean"
|
|
41046
41450
|
},
|
|
41047
|
-
"description": "Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value; in a `listbox` parent it drives `aria-selected`.",
|
|
41048
|
-
"name": "selected",
|
|
41049
41451
|
"default": "false",
|
|
41050
|
-
"fieldName": "selected"
|
|
41452
|
+
"fieldName": "selected",
|
|
41453
|
+
"description": "Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value; in a `listbox` parent it drives `aria-selected`."
|
|
41051
41454
|
},
|
|
41052
41455
|
{
|
|
41456
|
+
"name": "checked",
|
|
41053
41457
|
"type": {
|
|
41054
41458
|
"text": "boolean"
|
|
41055
41459
|
},
|
|
41056
|
-
"description": "Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it",
|
|
41057
|
-
"name": "checked",
|
|
41058
41460
|
"default": "false",
|
|
41461
|
+
"description": "Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it",
|
|
41059
41462
|
"fieldName": "checked"
|
|
41060
41463
|
},
|
|
41061
41464
|
{
|
|
41465
|
+
"name": "expanded",
|
|
41062
41466
|
"type": {
|
|
41063
41467
|
"text": "boolean | undefined"
|
|
41064
41468
|
},
|
|
41065
41469
|
"description": "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.",
|
|
41066
|
-
"name": "expanded",
|
|
41067
41470
|
"fieldName": "expanded"
|
|
41068
41471
|
},
|
|
41069
41472
|
{
|
|
41473
|
+
"name": "current",
|
|
41070
41474
|
"type": {
|
|
41071
41475
|
"text": "boolean"
|
|
41072
41476
|
},
|
|
41073
|
-
"description": "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.",
|
|
41074
|
-
"name": "current",
|
|
41075
41477
|
"default": "false",
|
|
41478
|
+
"description": "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.",
|
|
41076
41479
|
"fieldName": "current"
|
|
41077
41480
|
},
|
|
41078
41481
|
{
|
|
41482
|
+
"name": "current-type",
|
|
41079
41483
|
"type": {
|
|
41080
41484
|
"text": "'page' | 'step' | 'location' | 'date' | 'time' | 'true'"
|
|
41081
41485
|
},
|
|
41082
|
-
"description": "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.",
|
|
41083
|
-
"name": "current-type",
|
|
41084
41486
|
"default": "'page'",
|
|
41487
|
+
"description": "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.",
|
|
41085
41488
|
"fieldName": "currentType",
|
|
41086
41489
|
"expandedType": {
|
|
41087
41490
|
"text": "'date' | 'location' | 'page' | 'step' | 'time' | 'true'"
|
|
41088
41491
|
}
|
|
41089
41492
|
},
|
|
41090
41493
|
{
|
|
41494
|
+
"name": "disabled",
|
|
41091
41495
|
"type": {
|
|
41092
41496
|
"text": "boolean"
|
|
41093
41497
|
},
|
|
41094
|
-
"description": "Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.",
|
|
41095
|
-
"name": "disabled",
|
|
41096
41498
|
"default": "false",
|
|
41499
|
+
"description": "Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.",
|
|
41097
41500
|
"fieldName": "disabled"
|
|
41098
41501
|
},
|
|
41099
41502
|
{
|
|
@@ -41108,14 +41511,6 @@
|
|
|
41108
41511
|
"module": "src/utilities/with-translations.ts"
|
|
41109
41512
|
}
|
|
41110
41513
|
},
|
|
41111
|
-
{
|
|
41112
|
-
"name": "reorderable-only",
|
|
41113
|
-
"description": "Show this cell only while the row is `reorderable`",
|
|
41114
|
-
"type": {
|
|
41115
|
-
"text": "boolean"
|
|
41116
|
-
},
|
|
41117
|
-
"forChildren": true
|
|
41118
|
-
},
|
|
41119
41514
|
{
|
|
41120
41515
|
"name": "divider-start",
|
|
41121
41516
|
"description": "The divider starts at this cell instead of at the row's first text or title cell. On the leading cell it restores the full-width line.",
|
|
@@ -41144,7 +41539,23 @@
|
|
|
41144
41539
|
"package": "lit"
|
|
41145
41540
|
},
|
|
41146
41541
|
"tagName": "nldd-list-item",
|
|
41147
|
-
"customElement": true
|
|
41542
|
+
"customElement": true,
|
|
41543
|
+
"events": [
|
|
41544
|
+
{
|
|
41545
|
+
"name": "change",
|
|
41546
|
+
"description": "On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }"
|
|
41547
|
+
}
|
|
41548
|
+
],
|
|
41549
|
+
"slots": [
|
|
41550
|
+
{
|
|
41551
|
+
"name": "",
|
|
41552
|
+
"description": "Cells and segments, in source order. Anything else, bare text included, gets none of a cell's typography, size and alignment, and warns in development."
|
|
41553
|
+
},
|
|
41554
|
+
{
|
|
41555
|
+
"name": "children",
|
|
41556
|
+
"description": "Child rows of this row, in an `nldd-list type=\"tree\"` or `type=\"navigation\"`. In a tree they render as a `role=\"group\"` below the row, hidden while `expanded` is false. In a navigation list they are the sub-pages: a `role=\"list\"` inside this list item, always shown, and without the tree's keyboard. For sub-pages that fold away, use a tree. Either way the nesting IS the hierarchy, so a screen reader reads the level from it and nothing is authored. The group has no styling of its own: repeat a spacer-cell per level to indent, or show depth some other way."
|
|
41557
|
+
}
|
|
41558
|
+
]
|
|
41148
41559
|
}
|
|
41149
41560
|
],
|
|
41150
41561
|
"exports": [
|
|
@@ -41172,7 +41583,7 @@
|
|
|
41172
41583
|
"declarations": [
|
|
41173
41584
|
{
|
|
41174
41585
|
"kind": "class",
|
|
41175
|
-
"description": "A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role=\"list\"`, items `role=\"listitem\"`. Reorderable allowed. - `radiogroup` — `role=\"radiogroup\"`, for a set of `nldd-list-item radio` rows: one choice, laid out as rows so each option can carry a count or a second line. The rows step out of the accessibility tree themselves (`role=\"none\"`), so the radios are the group's own children. The arrows move focus here and activation checks, rather than the selection following focus as it does in `nldd-radio-button-group`. - `tree` — `role=\"tree\"`, items `role=\"treeitem\"`. Branch rows put their child rows in their own `slot=\"children\"`, which the item renders as a `role=\"group\"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see \"Tree\" below. - `navigation` — host `role=\"navigation\"`, items with `selected` get `aria-current=\"page\"` on their inner `<a>` or `<button>`. Sub-pages go in their parent row's `slot=\"children\"`, which the item renders as a list inside the list item, so a screen reader hears the level and how many there are. They are always shown and the arrows walk them like any other row; a spacer-cell alone indents but says nothing. Visual indentation is still the consumer's. - `form` — rows that are not actions themselves: the controls inside them are. A row of a label and a field, a switch, a menu button, or a value you cannot change at all. Semantically the same as `list` (`role=\"list\"`, `role=\"listitem\"`), and everything visual is unchanged; what falls away is the keyboard of a list you walk through. No arrow navigation, so no promise of it either, and no tab stop on the row: Tab goes straight to the controls, in source order, the way it does in any form. Rows that ARE actions (`href`, `button`, `checkbox`, or a segment) contradict that and warn in development. SwiftUI draws the same line between `List` and `Form`, for the same reason. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role=\"combobox\"`) pinned above the options; `.list__items` becomes `role=\"listbox\"` and items become `role=\"option\"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See \"Listbox\" below. Selection state is consumer-managed: the list never mutates `selected` itself. A list you walk through answers to the arrow keys, and there is no attribute to switch that on. Whether the keys do something is not a property of one list: it is what a reader may assume about all of them, and a per-list setting made that unknowable from the outside. It follows the type, which you can see before you touch a key. - ArrowUp / ArrowDown — move focus between the rows there is something to do with. A row of nothing but text is skipped, because focus that leads nowhere is a dead end. - Home / End — the first / last of those rows. - Tab — the list is ONE tab stop, so Tab moves past it rather than through it. Within the current row Tab walks that row's own controls: a chevron beside a checkbox, a menu button at the end. The same controls in the other rows are held out of the tab order (`tabindex=\"-1\"`, or `no-tab` on a design-system control that keeps its tab stop in its own shadow root), and so are this row's once focus leaves the list, so tabbing back in lands on the row again. - Escape — out of a control the row holds, back onto the row. One level up, where Shift+Tab is one step back. On the row itself the list claims nothing, so Escape carries on to whatever holds the list, and a control showing a menu keeps the first press for closing that menu. While focus sits in a control a row holds, the list stands down: those keys are the control's, and a list that took them anyway would pull focus out of a combo box or a text field mid-word. What the row IS — its own link, button or segments — keeps answering here. Arrows move focus only; selection stays consumer-managed. Three types answer differently, and all three say so on screen before you touch a key: a listbox runs its keyboard from its search field, a reorderable list moves rows with the arrows, and a form has no rows to move between at all. In `type=\"listbox\"` the list owns a native `<input role=\"combobox\">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and the roving arrow keys are ignored in listbox mode (listbox has its own keyboard). A tree adds to that keyboard, and counts the rows of an open branch as part of the order the arrows walk: - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter — follows the row: its own link or button, or on a segmented branch the first action that is not the chevron. A branch with only a chevron folds instead. - Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segment marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the \"Tab within the row\" behavior from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type=\"list\" + reorderable), the list dispatches `
|
|
41586
|
+
"description": "A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role=\"list\"`, items `role=\"listitem\"`. Reorderable allowed. - `radiogroup` — `role=\"radiogroup\"`, for a set of `nldd-list-item radio` rows: one choice, laid out as rows so each option can carry a count or a second line. The rows step out of the accessibility tree themselves (`role=\"none\"`), so the radios are the group's own children. The arrows move focus here and activation checks, rather than the selection following focus as it does in `nldd-radio-button-group`. - `tree` — `role=\"tree\"`, items `role=\"treeitem\"`. Branch rows put their child rows in their own `slot=\"children\"`, which the item renders as a `role=\"group\"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see \"Tree\" below. - `navigation` — host `role=\"navigation\"`, items with `selected` get `aria-current=\"page\"` on their inner `<a>` or `<button>`. Sub-pages go in their parent row's `slot=\"children\"`, which the item renders as a list inside the list item, so a screen reader hears the level and how many there are. They are always shown and the arrows walk them like any other row; a spacer-cell alone indents but says nothing. Visual indentation is still the consumer's. - `form` — rows that are not actions themselves: the controls inside them are. A row of a label and a field, a switch, a menu button, or a value you cannot change at all. Semantically the same as `list` (`role=\"list\"`, `role=\"listitem\"`), and everything visual is unchanged; what falls away is the keyboard of a list you walk through. No arrow navigation, so no promise of it either, and no tab stop on the row: Tab goes straight to the controls, in source order, the way it does in any form. Rows that ARE actions (`href`, `button`, `checkbox`, or a segment) contradict that and warn in development. SwiftUI draws the same line between `List` and `Form`, for the same reason. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role=\"combobox\"`) pinned above the options; `.list__items` becomes `role=\"listbox\"` and items become `role=\"option\"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See \"Listbox\" below. Selection state is consumer-managed: the list never mutates `selected` itself. A list you walk through answers to the arrow keys, and there is no attribute to switch that on. Whether the keys do something is not a property of one list: it is what a reader may assume about all of them, and a per-list setting made that unknowable from the outside. It follows the type, which you can see before you touch a key. - ArrowUp / ArrowDown — move focus between the rows there is something to do with. A row of nothing but text is skipped, because focus that leads nowhere is a dead end. - Home / End — the first / last of those rows. - Tab — the list is ONE tab stop, so Tab moves past it rather than through it. Within the current row Tab walks that row's own controls: a chevron beside a checkbox, a menu button at the end. The same controls in the other rows are held out of the tab order (`tabindex=\"-1\"`, or `no-tab` on a design-system control that keeps its tab stop in its own shadow root), and so are this row's once focus leaves the list, so tabbing back in lands on the row again. - Escape — out of a control the row holds, back onto the row. One level up, where Shift+Tab is one step back. On the row itself the list claims nothing, so Escape carries on to whatever holds the list, and a control showing a menu keeps the first press for closing that menu. While focus sits in a control a row holds, the list stands down: those keys are the control's, and a list that took them anyway would pull focus out of a combo box or a text field mid-word. What the row IS — its own link, button or segments — keeps answering here. Arrows move focus only; selection stays consumer-managed. Three types answer differently, and all three say so on screen before you touch a key: a listbox runs its keyboard from its search field, a reorderable list moves rows with the arrows, and a form has no rows to move between at all. In `type=\"listbox\"` the list owns a native `<input role=\"combobox\">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and the roving arrow keys are ignored in listbox mode (listbox has its own keyboard). A tree adds to that keyboard, and counts the rows of an open branch as part of the order the arrows walk: - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter — follows the row: its own link or button, or on a segmented branch the first action that is not the chevron. A branch with only a chevron folds instead. - Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segment marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the \"Tab within the row\" behavior from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type=\"list\" + reorderable), the list dispatches `reorder` with `fromIndex` / `toIndex` and expects the consumer to mutate the DOM (or their data model that renders the DOM). Focus is restored to the moved item's drag handle via a single `requestAnimationFrame` — this assumes the consumer reorders **synchronously** in the event handler. Async renderers (React, Vue, …) that update the DOM on a later tick will miss the focus restore and should manage focus themselves after their render commits.",
|
|
41176
41587
|
"name": "NLDDList",
|
|
41177
41588
|
"slots": [
|
|
41178
41589
|
{
|
|
@@ -41275,7 +41686,7 @@
|
|
|
41275
41686
|
],
|
|
41276
41687
|
"events": [
|
|
41277
41688
|
{
|
|
41278
|
-
"name": "
|
|
41689
|
+
"name": "reorder",
|
|
41279
41690
|
"description": "Reorderable `type=\"list\"`: `{ fromIndex, toIndex }` on drop"
|
|
41280
41691
|
},
|
|
41281
41692
|
{
|
|
@@ -42030,19 +42441,19 @@
|
|
|
42030
42441
|
],
|
|
42031
42442
|
"events": [
|
|
42032
42443
|
{
|
|
42033
|
-
"name": "
|
|
42444
|
+
"name": "tab-change",
|
|
42034
42445
|
"description": "Fired when a tab is selected; detail: { item }"
|
|
42035
42446
|
},
|
|
42036
42447
|
{
|
|
42037
|
-
"name": "
|
|
42448
|
+
"name": "tab-dismiss",
|
|
42038
42449
|
"description": "Fired when a tab is dismissed; detail: { item, nextItem }"
|
|
42039
42450
|
},
|
|
42040
42451
|
{
|
|
42041
|
-
"name": "
|
|
42452
|
+
"name": "tab-empty",
|
|
42042
42453
|
"description": "Fired when the last tab is dismissed"
|
|
42043
42454
|
},
|
|
42044
42455
|
{
|
|
42045
|
-
"name": "
|
|
42456
|
+
"name": "reorder",
|
|
42046
42457
|
"description": "Fired when a tab is moved, by dragging or with Shift+Arrow; detail: { fromIndex, toIndex }"
|
|
42047
42458
|
}
|
|
42048
42459
|
],
|
|
@@ -43598,7 +44009,7 @@
|
|
|
43598
44009
|
],
|
|
43599
44010
|
"events": [
|
|
43600
44011
|
{
|
|
43601
|
-
"name": "
|
|
44012
|
+
"name": "tab-change",
|
|
43602
44013
|
"description": "When a tab is selected; detail: { item: NLDDTabBarItem }"
|
|
43603
44014
|
}
|
|
43604
44015
|
],
|
|
@@ -44351,7 +44762,7 @@
|
|
|
44351
44762
|
"declarations": [
|
|
44352
44763
|
{
|
|
44353
44764
|
"kind": "class",
|
|
44354
|
-
"description": "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
|
|
44765
|
+
"description": "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.",
|
|
44355
44766
|
"name": "NLDDActivityIndicator",
|
|
44356
44767
|
"members": [
|
|
44357
44768
|
{
|
|
@@ -44675,9 +45086,9 @@
|
|
|
44675
45086
|
"default": "'critical'",
|
|
44676
45087
|
"fieldName": "color",
|
|
44677
45088
|
"expandedType": {
|
|
44678
|
-
"text": "'accent' | '
|
|
45089
|
+
"text": "'accent' | 'content' | 'critical' | 'neutral' | 'success' | 'warning'"
|
|
44679
45090
|
},
|
|
44680
|
-
"description": "The meaning of the badge, the same set as nldd-status-bar, or '
|
|
45091
|
+
"description": "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."
|
|
44681
45092
|
},
|
|
44682
45093
|
{
|
|
44683
45094
|
"name": "custom-color",
|
|
@@ -44685,7 +45096,7 @@
|
|
|
44685
45096
|
"text": "string"
|
|
44686
45097
|
},
|
|
44687
45098
|
"default": "''",
|
|
44688
|
-
"description": "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.",
|
|
45099
|
+
"description": "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.",
|
|
44689
45100
|
"fieldName": "customColor"
|
|
44690
45101
|
},
|
|
44691
45102
|
{
|
|
@@ -44985,7 +45396,7 @@
|
|
|
44985
45396
|
"slots": [
|
|
44986
45397
|
{
|
|
44987
45398
|
"name": "",
|
|
44988
|
-
"description": "Optional
|
|
45399
|
+
"description": "Optional content between text and actions, for what does not fit in `text` or `supporting-text`, such as several paragraphs, a list or a link: an nldd-rich-text made of block elements such as `p`."
|
|
44989
45400
|
},
|
|
44990
45401
|
{
|
|
44991
45402
|
"name": "actions",
|
|
@@ -45205,7 +45616,7 @@
|
|
|
45205
45616
|
},
|
|
45206
45617
|
{
|
|
45207
45618
|
"name": "actions",
|
|
45208
|
-
"description": "nldd-button elements,
|
|
45619
|
+
"description": "nldd-button elements (max 3), each with `slot=\"actions\"`. The dialog puts them in a button group of its own, which sets the gap, the order and the stacking, so no element goes around them. A component of your own that renders a set of them returns a fragment, which adds nothing to the DOM."
|
|
45209
45620
|
}
|
|
45210
45621
|
]
|
|
45211
45622
|
}
|
|
@@ -45235,7 +45646,7 @@
|
|
|
45235
45646
|
"declarations": [
|
|
45236
45647
|
{
|
|
45237
45648
|
"kind": "class",
|
|
45238
|
-
"description": "A guided-discovery coach mark. Put a control (nldd-search-field, for instance) in the default slot. While `active` is set, the component lifts a callout (title + supporting text + dismiss) into the top layer through the Popover API (`popover=\"manual\"`), anchored to the control with Floating UI. No backdrop, non-modal: the background stays interactive. The control itself stays where it is in the flow. With `dismissable` the component manages closing and fires
|
|
45649
|
+
"description": "A guided-discovery coach mark. Put a control (nldd-search-field, for instance) in the default slot. While `active` is set, the component lifts a callout (title + supporting text + dismiss) into the top layer through the Popover API (`popover=\"manual\"`), anchored to the control with Floating UI. No backdrop, non-modal: the background stays interactive. The control itself stays where it is in the flow. With `dismissable` the component manages closing and fires close: - the user performs the suggested interaction on the control -> close{completed} - the dismiss button -> close{dismissed} - a click or key press OUTSIDE the coach mark -> close{ignored} Without `dismissable` nothing closes by itself (no button, no outside or slot click); the consumer then decides when to close through `active` or `complete()`. `complete()` always works and closes with close{completed}, for example only once a real search has been submitted.",
|
|
45239
45650
|
"name": "NLDDJustInTimeEducation",
|
|
45240
45651
|
"members": [
|
|
45241
45652
|
{
|
|
@@ -45334,8 +45745,8 @@
|
|
|
45334
45745
|
],
|
|
45335
45746
|
"events": [
|
|
45336
45747
|
{
|
|
45337
|
-
"name": "
|
|
45338
|
-
"description": "When the coach mark closes. detail: { reason: 'completed' | 'dismissed' | 'ignored' }."
|
|
45748
|
+
"name": "close",
|
|
45749
|
+
"description": "When the coach mark closes. detail: { reason: 'completed' | 'dismissed' | 'ignored' }. Does not bubble, like `close` on a dialog."
|
|
45339
45750
|
}
|
|
45340
45751
|
],
|
|
45341
45752
|
"attributes": [
|
|
@@ -45649,7 +46060,7 @@
|
|
|
45649
46060
|
},
|
|
45650
46061
|
{
|
|
45651
46062
|
"name": "actions",
|
|
45652
|
-
"description": "nldd-button elements, forwarded to nldd-inline-dialog"
|
|
46063
|
+
"description": "nldd-button elements, each with `slot=\"actions\"`, forwarded to nldd-inline-dialog. The dialog puts them in a button group of its own, which sets the gap, the order and the stacking, so no element goes around them. A component of your own that renders a set of them returns a fragment, which adds nothing to the DOM."
|
|
45653
46064
|
},
|
|
45654
46065
|
{
|
|
45655
46066
|
"name": "notifications",
|
|
@@ -47237,7 +47648,7 @@
|
|
|
47237
47648
|
"type": {
|
|
47238
47649
|
"text": "Record<string, () => Promise<unknown>>"
|
|
47239
47650
|
},
|
|
47240
|
-
"default": "{ 'nldd-activity-indicator': () => import('../components/status-and-feedback/activity-indicator/activity-indicator.js'), 'nldd-avatar': () => import('../components/content/avatar/avatar.js'), 'nldd-avatar-group': () => import('../components/content/avatar-group/avatar-group.js'), 'nldd-badge': () => import('../components/status-and-feedback/badge/badge.js'), 'nldd-banner': () => import('../components/status-and-feedback/banner/banner.js'), 'nldd-bar-split-view': () => import('../components/layout/split-views/bar-split-view/bar-split-view.js'), 'nldd-blockquote': () => import('../components/content/blockquote/blockquote.js'), 'nldd-box': () => import('../components/layout/box/box.js'), 'nldd-breadcrumbs': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'), 'nldd-breadcrumbs-item': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'), 'nldd-button': () => import('../components/actions/button/button.js'), 'nldd-button-bar': () => import('../components/actions/button-bar/button-bar.js'), 'nldd-button-bar-divider': () => import('../components/actions/button-bar/button-bar.js'), 'nldd-button-group': () => import('../components/actions/button-group/button-group.js'), 'nldd-card': () => import('../components/layout/card/card.js'), 'nldd-cell': () => import('../components/lists-and-tables/cells/cell/cell.js'), 'nldd-checkbox': () => import('../components/inputs/checkbox/checkbox.js'), 'nldd-checkbox-field': () => import('../components/inputs/checkbox-field/checkbox-field.js'), 'nldd-code-editor': () => import('../components/inputs/code-editor/code-editor.js'), 'nldd-code-viewer': () => import('../components/content/code-viewer/code-viewer.js'), 'nldd-collection': () => import('../components/layout/collection/collection.js'), 'nldd-combo-box': () => import('../components/inputs/combo-box/combo-box.js'), 'nldd-container': () => import('../components/layout/container/container.js'), 'nldd-date-field': () => import('../components/inputs/date-field/date-field.js'), 'nldd-date-picker': () => import('../components/inputs/date-picker/date-picker.js'), 'nldd-description-cell': () => import('../components/lists-and-tables/cells/description-cell/description-cell.js'), 'nldd-divider': () => import('../components/layout/divider/divider.js'), 'nldd-document-tab-bar': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'), 'nldd-document-tab-bar-item': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'), 'nldd-drag-handle-cell': () => import('../components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js'), 'nldd-dropdown': () => import('../components/inputs/dropdown/dropdown.js'), 'nldd-file-field': () => import('../components/inputs/file-field/file-field.js'), 'nldd-form': () => import('../components/forms/form/form.js'), 'nldd-form-actions': () => import('../components/forms/form-actions/form-actions.js'), 'nldd-form-field': () => import('../components/forms/form-field/form-field.js'), 'nldd-form-field-help-text': () => import('../components/forms/form-field/form-field.js'), 'nldd-form-section': () => import('../components/forms/form-section/form-section.js'), 'nldd-full-bleed-section': () => import('../components/layout/page-sections/full-bleed-section/full-bleed-section.js'), 'nldd-hero': () => import('../components/layout/page-sections/hero/hero.js'), 'nldd-icon': () => import('../components/content/icon/icon.js'), 'nldd-icon-button': () => import('../components/actions/icon-button/icon-button.js'), 'nldd-icon-cell': () => import('../components/lists-and-tables/cells/icon-cell/icon-cell.js'), 'nldd-identity': () => import('../components/content/identity/identity.js'), 'nldd-image': () => import('../components/content/image/image.js'), 'nldd-inline-dialog': () => import('../components/status-and-feedback/inline-dialog/inline-dialog.js'), 'nldd-just-in-time-education': () => import('../components/status-and-feedback/just-in-time-education/just-in-time-education.js'), 'nldd-kanban': () => import('../components/layout/kanban/kanban.js'), 'nldd-kanban-column': () => import('../components/layout/kanban/kanban-column.js'), 'nldd-keyboard-shortcut': () => import('../components/content/keyboard-shortcut/keyboard-shortcut.js'), 'nldd-link': () => import('../components/navigation/link/link.js'), 'nldd-link-group': () => import('../components/navigation/link-group/link-group.js'), 'nldd-list': () => import('../components/lists-and-tables/list/list.js'), 'nldd-list-item': () => import('../components/lists-and-tables/list-item/list-item.js'), 'nldd-list-item-segment': () => import('../components/lists-and-tables/list-item-segment/list-item-segment.js'), 'nldd-menu': () => import('../components/actions/menu/menu.js'), 'nldd-menu-bar': () => import('../components/navigation/menu-bar/menu-bar.js'), 'nldd-menu-bar-item': () => import('../components/navigation/menu-bar-item/menu-bar-item.js'), 'nldd-menu-divider': () => import('../components/actions/menu/menu-divider.js'), 'nldd-menu-group': () => import('../components/actions/menu/menu-group.js'), 'nldd-menu-item': () => import('../components/actions/menu/menu-item.js'), 'nldd-modal-dialog': () => import('../components/status-and-feedback/modal-dialog/modal-dialog.js'), 'nldd-multi-line-text-field': () => import('../components/inputs/multi-line-text-field/multi-line-text-field.js'), 'nldd-navigation-split-view': () => import('../components/layout/split-views/navigation-split-view/navigation-split-view.js'), 'nldd-notification': () => import('../components/status-and-feedback/notification/notification.js'), 'nldd-number-field': () => import('../components/inputs/number-field/number-field.js'), 'nldd-one-half-one-half-section': () => import('../components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js'), 'nldd-one-third-two-thirds-section': () => import('../components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js'), 'nldd-one-time-code-field': () => import('../components/inputs/one-time-code-field/one-time-code-field.js'), 'nldd-page': () => import('../components/layout/page/page.js'), 'nldd-page-footer': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-page-footer-legal-bar': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-page-footer-legal-bar-item': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-pagination': () => import('../components/navigation/pagination/pagination.js'), 'nldd-password-field': () => import('../components/inputs/password-field/password-field.js'), 'nldd-popover': () => import('../components/layout/popover/popover.js'), 'nldd-progress-bar': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'), 'nldd-progress-bar-segment-indicator': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'), 'nldd-progress-circle': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'), 'nldd-progress-circle-segment-indicator': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'), 'nldd-radio-button': () => import('../components/inputs/radio-button/radio-button.js'), 'nldd-radio-button-field': () => import('../components/inputs/radio-button-field/radio-button-field.js'), 'nldd-radio-button-group': () => import('../components/inputs/radio-button-group/radio-button-group.js'), 'nldd-rich-text': () => import('../components/content/rich-text/rich-text.js'), 'nldd-search-field': () => import('../components/inputs/search-field/search-field.js'), 'nldd-segmented-control': () => import('../components/inputs/segmented-control/segmented-control.js'), 'nldd-segmented-control-item': () => import('../components/inputs/segmented-control/segmented-control.js'), 'nldd-sheet': () => import('../components/layout/sheet/sheet.js'), 'nldd-shell': () => import('../components/layout/shell/shell.js'), 'nldd-side-by-side-split-view': () => import('../components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js'), 'nldd-sidebar-section': () => import('../components/layout/page-sections/sidebar-section/sidebar-section.js'), 'nldd-simple-section': () => import('../components/layout/page-sections/simple-section/simple-section.js'), 'nldd-skip-link': () => import('../components/navigation/skip-link/skip-link.js'), 'nldd-slider': () => import('../components/inputs/slider/slider.js'), 'nldd-spacer': () => import('../components/layout/spacer/spacer.js'), 'nldd-spacer-cell': () => import('../components/lists-and-tables/cells/spacer-cell/spacer-cell.js'), 'nldd-split-button': () => import('../components/actions/split-button/split-button.js'), 'nldd-split-view-divider': () => import('../components/layout/split-views/split-view-divider/split-view-divider.js'), 'nldd-split-view-pane': () => import('../components/layout/split-views/split-view-pane/split-view-pane.js'), 'nldd-stacked-split-view': () => import('../components/layout/split-views/stacked-split-view/stacked-split-view.js'), 'nldd-status-bar': () => import('../components/status-and-feedback/status-bar/status-bar.js'), 'nldd-step-bar': () => import('../components/status-and-feedback/step-bar/step-bar.js'), 'nldd-step-bar-item': () => import('../components/status-and-feedback/step-bar/step-bar.js'), 'nldd-step-cell': () => import('../components/lists-and-tables/cells/step-cell/step-cell.js'), 'nldd-stepper': () => import('../components/inputs/stepper/stepper.js'), 'nldd-swatch-picker': () => import('../components/inputs/swatch-picker/swatch-picker.js'), 'nldd-swatch-picker-item': () => import('../components/inputs/swatch-picker/swatch-picker.js'), 'nldd-switch': () => import('../components/inputs/switch/switch.js'), 'nldd-switch-field': () => import('../components/inputs/switch-field/switch-field.js'), 'nldd-tab-bar': () => import('../components/navigation/tab-bar/tab-bar.js'), 'nldd-tab-bar-item': () => import('../components/navigation/tab-bar/tab-bar.js'), 'nldd-table': () => import('../components/lists-and-tables/table/table.js'), 'nldd-table-row': () => import('../components/lists-and-tables/table/table.js'), 'nldd-tag': () => import('../components/content/tag/tag.js'), 'nldd-text': () => import('../components/content/text/text.js'), 'nldd-text-cell': () => import('../components/lists-and-tables/cells/text-cell/text-cell.js'), 'nldd-text-editor': () => import('../components/inputs/text-editor/text-editor.js'), 'nldd-text-field': () => import('../components/inputs/text-field/text-field.js'), 'nldd-time-field': () => import('../components/inputs/time-field/time-field.js'), 'nldd-time-picker': () => import('../components/inputs/time-picker/time-picker.js'), 'nldd-title': () => import('../components/content/title/title.js'), 'nldd-title-cell': () => import('../components/lists-and-tables/cells/title-cell/title-cell.js'), 'nldd-toggle-button': () => import('../components/inputs/toggle-button/toggle-button.js'), 'nldd-toggle-button-group': () => import('../components/inputs/toggle-button-group/toggle-button-group.js'), 'nldd-token': () => import('../components/content/token/token.js'), 'nldd-token-field': () => import('../components/inputs/token-field/token-field.js'), 'nldd-toolbar': () => import('../components/actions/toolbar/toolbar.js'), 'nldd-toolbar-item': () => import('../components/actions/toolbar/toolbar-item.js'), 'nldd-toolbar-title': () => import('../components/actions/toolbar/toolbar-title.js'), 'nldd-tooltip': () => import('../components/content/tooltip/tooltip.js'), 'nldd-top-navigation-bar': () => import('../components/navigation/top-navigation-bar/top-navigation-bar.js'), 'nldd-top-title-bar': () => import('../components/navigation/top-title-bar/top-title-bar.js'), 'nldd-two-thirds-one-third-section': () => import('../components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js'), 'nldd-validation-item': () => import('../components/forms/validation-list/validation-list.js'), 'nldd-validation-list': () => import('../components/forms/validation-list/validation-list.js'), 'nldd-visually-hidden': () => import('../components/content/visually-hidden/visually-hidden.js'), 'nldd-window': () => import('../components/layout/window/window.js'), }",
|
|
47651
|
+
"default": "{ 'nldd-activity-indicator': () => import('../components/status-and-feedback/activity-indicator/activity-indicator.js'), 'nldd-avatar': () => import('../components/content/avatar/avatar.js'), 'nldd-avatar-group': () => import('../components/content/avatar-group/avatar-group.js'), 'nldd-badge': () => import('../components/status-and-feedback/badge/badge.js'), 'nldd-banner': () => import('../components/status-and-feedback/banner/banner.js'), 'nldd-bar-split-view': () => import('../components/layout/split-views/bar-split-view/bar-split-view.js'), 'nldd-blockquote': () => import('../components/content/blockquote/blockquote.js'), 'nldd-box': () => import('../components/layout/box/box.js'), 'nldd-breadcrumbs': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'), 'nldd-breadcrumbs-item': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'), 'nldd-button': () => import('../components/actions/button/button.js'), 'nldd-button-bar': () => import('../components/actions/button-bar/button-bar.js'), 'nldd-button-bar-divider': () => import('../components/actions/button-bar/button-bar.js'), 'nldd-button-group': () => import('../components/actions/button-group/button-group.js'), 'nldd-card': () => import('../components/layout/card/card.js'), 'nldd-cell': () => import('../components/lists-and-tables/cells/cell/cell.js'), 'nldd-checkbox': () => import('../components/inputs/checkbox/checkbox.js'), 'nldd-checkbox-field': () => import('../components/inputs/checkbox-field/checkbox-field.js'), 'nldd-code-editor': () => import('../components/inputs/code-editor/code-editor.js'), 'nldd-code-viewer': () => import('../components/content/code-viewer/code-viewer.js'), 'nldd-collection': () => import('../components/layout/collection/collection.js'), 'nldd-combo-box': () => import('../components/inputs/combo-box/combo-box.js'), 'nldd-container': () => import('../components/layout/container/container.js'), 'nldd-date-field': () => import('../components/inputs/date-field/date-field.js'), 'nldd-date-picker': () => import('../components/inputs/date-picker/date-picker.js'), 'nldd-description-cell': () => import('../components/lists-and-tables/cells/description-cell/description-cell.js'), 'nldd-divider': () => import('../components/layout/divider/divider.js'), 'nldd-document-tab-bar': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'), 'nldd-document-tab-bar-item': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'), 'nldd-dropdown': () => import('../components/inputs/dropdown/dropdown.js'), 'nldd-file-field': () => import('../components/inputs/file-field/file-field.js'), 'nldd-form': () => import('../components/forms/form/form.js'), 'nldd-form-actions': () => import('../components/forms/form-actions/form-actions.js'), 'nldd-form-field': () => import('../components/forms/form-field/form-field.js'), 'nldd-form-field-help-text': () => import('../components/forms/form-field/form-field.js'), 'nldd-form-section': () => import('../components/forms/form-section/form-section.js'), 'nldd-full-bleed-section': () => import('../components/layout/page-sections/full-bleed-section/full-bleed-section.js'), 'nldd-hero': () => import('../components/layout/page-sections/hero/hero.js'), 'nldd-icon': () => import('../components/content/icon/icon.js'), 'nldd-icon-button': () => import('../components/actions/icon-button/icon-button.js'), 'nldd-icon-cell': () => import('../components/lists-and-tables/cells/icon-cell/icon-cell.js'), 'nldd-identity': () => import('../components/content/identity/identity.js'), 'nldd-image': () => import('../components/content/image/image.js'), 'nldd-inline-dialog': () => import('../components/status-and-feedback/inline-dialog/inline-dialog.js'), 'nldd-just-in-time-education': () => import('../components/status-and-feedback/just-in-time-education/just-in-time-education.js'), 'nldd-kanban': () => import('../components/layout/kanban/kanban.js'), 'nldd-kanban-column': () => import('../components/layout/kanban/kanban-column.js'), 'nldd-keyboard-shortcut': () => import('../components/content/keyboard-shortcut/keyboard-shortcut.js'), 'nldd-link': () => import('../components/navigation/link/link.js'), 'nldd-link-group': () => import('../components/navigation/link-group/link-group.js'), 'nldd-list': () => import('../components/lists-and-tables/list/list.js'), 'nldd-list-item': () => import('../components/lists-and-tables/list-item/list-item.js'), 'nldd-list-item-segment': () => import('../components/lists-and-tables/list-item-segment/list-item-segment.js'), 'nldd-menu': () => import('../components/actions/menu/menu.js'), 'nldd-menu-bar': () => import('../components/navigation/menu-bar/menu-bar.js'), 'nldd-menu-bar-item': () => import('../components/navigation/menu-bar-item/menu-bar-item.js'), 'nldd-menu-divider': () => import('../components/actions/menu/menu-divider.js'), 'nldd-menu-group': () => import('../components/actions/menu/menu-group.js'), 'nldd-menu-item': () => import('../components/actions/menu/menu-item.js'), 'nldd-modal-dialog': () => import('../components/status-and-feedback/modal-dialog/modal-dialog.js'), 'nldd-multi-line-text-field': () => import('../components/inputs/multi-line-text-field/multi-line-text-field.js'), 'nldd-navigation-split-view': () => import('../components/layout/split-views/navigation-split-view/navigation-split-view.js'), 'nldd-notification': () => import('../components/status-and-feedback/notification/notification.js'), 'nldd-number-field': () => import('../components/inputs/number-field/number-field.js'), 'nldd-one-half-one-half-section': () => import('../components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js'), 'nldd-one-third-two-thirds-section': () => import('../components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js'), 'nldd-one-time-code-field': () => import('../components/inputs/one-time-code-field/one-time-code-field.js'), 'nldd-page': () => import('../components/layout/page/page.js'), 'nldd-page-footer': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-page-footer-legal-bar': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-page-footer-legal-bar-item': () => import('../components/layout/page-footer/page-footer.js'), 'nldd-pagination': () => import('../components/navigation/pagination/pagination.js'), 'nldd-password-field': () => import('../components/inputs/password-field/password-field.js'), 'nldd-popover': () => import('../components/layout/popover/popover.js'), 'nldd-progress-bar': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'), 'nldd-progress-bar-segment-indicator': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'), 'nldd-progress-circle': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'), 'nldd-progress-circle-segment-indicator': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'), 'nldd-radio-button': () => import('../components/inputs/radio-button/radio-button.js'), 'nldd-radio-button-field': () => import('../components/inputs/radio-button-field/radio-button-field.js'), 'nldd-radio-button-group': () => import('../components/inputs/radio-button-group/radio-button-group.js'), 'nldd-reorder-handle-cell': () => import('../components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js'), 'nldd-rich-text': () => import('../components/content/rich-text/rich-text.js'), 'nldd-search-field': () => import('../components/inputs/search-field/search-field.js'), 'nldd-segmented-control': () => import('../components/inputs/segmented-control/segmented-control.js'), 'nldd-segmented-control-item': () => import('../components/inputs/segmented-control/segmented-control.js'), 'nldd-sheet': () => import('../components/layout/sheet/sheet.js'), 'nldd-shell': () => import('../components/layout/shell/shell.js'), 'nldd-side-by-side-split-view': () => import('../components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js'), 'nldd-sidebar-section': () => import('../components/layout/page-sections/sidebar-section/sidebar-section.js'), 'nldd-simple-section': () => import('../components/layout/page-sections/simple-section/simple-section.js'), 'nldd-skip-link': () => import('../components/navigation/skip-link/skip-link.js'), 'nldd-slider': () => import('../components/inputs/slider/slider.js'), 'nldd-spacer': () => import('../components/layout/spacer/spacer.js'), 'nldd-spacer-cell': () => import('../components/lists-and-tables/cells/spacer-cell/spacer-cell.js'), 'nldd-split-button': () => import('../components/actions/split-button/split-button.js'), 'nldd-split-view-divider': () => import('../components/layout/split-views/split-view-divider/split-view-divider.js'), 'nldd-split-view-pane': () => import('../components/layout/split-views/split-view-pane/split-view-pane.js'), 'nldd-stacked-split-view': () => import('../components/layout/split-views/stacked-split-view/stacked-split-view.js'), 'nldd-status-bar': () => import('../components/status-and-feedback/status-bar/status-bar.js'), 'nldd-step-bar': () => import('../components/status-and-feedback/step-bar/step-bar.js'), 'nldd-step-bar-item': () => import('../components/status-and-feedback/step-bar/step-bar.js'), 'nldd-step-cell': () => import('../components/lists-and-tables/cells/step-cell/step-cell.js'), 'nldd-stepper': () => import('../components/inputs/stepper/stepper.js'), 'nldd-swatch-picker': () => import('../components/inputs/swatch-picker/swatch-picker.js'), 'nldd-swatch-picker-item': () => import('../components/inputs/swatch-picker/swatch-picker.js'), 'nldd-switch': () => import('../components/inputs/switch/switch.js'), 'nldd-switch-field': () => import('../components/inputs/switch-field/switch-field.js'), 'nldd-tab-bar': () => import('../components/navigation/tab-bar/tab-bar.js'), 'nldd-tab-bar-item': () => import('../components/navigation/tab-bar/tab-bar.js'), 'nldd-table': () => import('../components/lists-and-tables/table/table.js'), 'nldd-table-row': () => import('../components/lists-and-tables/table/table.js'), 'nldd-tag': () => import('../components/content/tag/tag.js'), 'nldd-text': () => import('../components/content/text/text.js'), 'nldd-text-cell': () => import('../components/lists-and-tables/cells/text-cell/text-cell.js'), 'nldd-text-editor': () => import('../components/inputs/text-editor/text-editor.js'), 'nldd-text-field': () => import('../components/inputs/text-field/text-field.js'), 'nldd-time-field': () => import('../components/inputs/time-field/time-field.js'), 'nldd-time-picker': () => import('../components/inputs/time-picker/time-picker.js'), 'nldd-title': () => import('../components/content/title/title.js'), 'nldd-title-cell': () => import('../components/lists-and-tables/cells/title-cell/title-cell.js'), 'nldd-toggle-button': () => import('../components/inputs/toggle-button/toggle-button.js'), 'nldd-toggle-button-group': () => import('../components/inputs/toggle-button-group/toggle-button-group.js'), 'nldd-token': () => import('../components/content/token/token.js'), 'nldd-token-field': () => import('../components/inputs/token-field/token-field.js'), 'nldd-toolbar': () => import('../components/actions/toolbar/toolbar.js'), 'nldd-toolbar-item': () => import('../components/actions/toolbar/toolbar-item.js'), 'nldd-toolbar-title': () => import('../components/actions/toolbar/toolbar-title.js'), 'nldd-tooltip': () => import('../components/content/tooltip/tooltip.js'), 'nldd-top-navigation-bar': () => import('../components/navigation/top-navigation-bar/top-navigation-bar.js'), 'nldd-top-title-bar': () => import('../components/navigation/top-title-bar/top-title-bar.js'), 'nldd-two-thirds-one-third-section': () => import('../components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js'), 'nldd-validation-item': () => import('../components/forms/validation-list/validation-list.js'), 'nldd-validation-list': () => import('../components/forms/validation-list/validation-list.js'), 'nldd-visually-hidden': () => import('../components/content/visually-hidden/visually-hidden.js'), 'nldd-window': () => import('../components/layout/window/window.js'), }",
|
|
47241
47652
|
"description": "Per nldd-* tag, a dynamic import of the module that defines it."
|
|
47242
47653
|
}
|
|
47243
47654
|
],
|
|
@@ -48773,6 +49184,24 @@
|
|
|
48773
49184
|
"kind": "javascript-module",
|
|
48774
49185
|
"path": "src/utilities/form-associated-mixin.ts",
|
|
48775
49186
|
"declarations": [
|
|
49187
|
+
{
|
|
49188
|
+
"kind": "function",
|
|
49189
|
+
"name": "uncheckedValidity",
|
|
49190
|
+
"return": {
|
|
49191
|
+
"type": {
|
|
49192
|
+
"text": "OwnValidity | null"
|
|
49193
|
+
}
|
|
49194
|
+
},
|
|
49195
|
+
"parameters": [
|
|
49196
|
+
{
|
|
49197
|
+
"name": "field",
|
|
49198
|
+
"type": {
|
|
49199
|
+
"text": "{ required: boolean; checked: boolean; disabled: boolean }"
|
|
49200
|
+
}
|
|
49201
|
+
}
|
|
49202
|
+
],
|
|
49203
|
+
"description": "What `required` asks of a field around a checkbox or switch: a native control\ninside its own shadow root is out of reach of the form, so the field answers\nitself. In the browser's own words, as a native checkbox says it."
|
|
49204
|
+
},
|
|
48776
49205
|
{
|
|
48777
49206
|
"kind": "mixin",
|
|
48778
49207
|
"description": "Turns a Lit element into a form-associated custom element: it submits under\n`name`, follows a disabled fieldset, and can be read back with `FormData`.\n\nA component supplies the one thing that is its own — what it submits — by\noverriding `formValue()`. Everything around it lives here, including the\ntiming: the value is committed on every render AND has to be committed again\nfrom the handler that changed it, with `commitFormValue()`. A render is a\ntask later than the event, so a listener that serializes the form on `change`\n(htmx, or a plain `new FormData(form)`) runs before the render and would\notherwise read the value from before the change. That contract is checked for\nevery input at once in `form-value-timing.test.ts`.\n\nReset and state restore stay with the component: what \"the initial value\" is\ndiffers per input (checked, text, a number to clamp, two fields at once), so\na component implements `formResetCallback` / `formStateRestoreCallback`\nitself.",
|
|
@@ -48918,6 +49347,14 @@
|
|
|
48918
49347
|
}
|
|
48919
49348
|
],
|
|
48920
49349
|
"exports": [
|
|
49350
|
+
{
|
|
49351
|
+
"kind": "js",
|
|
49352
|
+
"name": "uncheckedValidity",
|
|
49353
|
+
"declaration": {
|
|
49354
|
+
"name": "uncheckedValidity",
|
|
49355
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
49356
|
+
}
|
|
49357
|
+
},
|
|
48921
49358
|
{
|
|
48922
49359
|
"kind": "js",
|
|
48923
49360
|
"name": "FormAssociated",
|
|
@@ -49543,12 +49980,12 @@
|
|
|
49543
49980
|
{
|
|
49544
49981
|
"kind": "variable",
|
|
49545
49982
|
"name": "pageSectionBackgroundStyles",
|
|
49546
|
-
"default": "css` :host([background=\"base\"]) { --context-
|
|
49547
|
-
"description": "The surface a `background` paints, and passes on through\n`--context-
|
|
49983
|
+
"default": "css` :host([background=\"base\"]) { --context-background-color: var(--semantics-surfaces-base-background-color); ${surfaceContent} } :host([background=\"tinted\"]) { --context-background-color: var(--semantics-surfaces-tinted-background-color); ${surfaceContent} } :host([background=\"accent-tinted\"]) { --context-background-color: var(--semantics-surfaces-accent-tinted-background-color); ${surfaceContent} } :host([background=\"base\"]), :host([background=\"tinted\"]), :host([background=\"accent-tinted\"]) { background-color: var(--context-background-color); } `",
|
|
49984
|
+
"description": "The surface a `background` paints, and passes on through\n`--context-background-color` so cards and nested sections read the\nsame surface. Every section puts this first in its `styles`."
|
|
49548
49985
|
},
|
|
49549
49986
|
{
|
|
49550
49987
|
"kind": "mixin",
|
|
49551
|
-
"description": "Shared surface controls for the page-section components. Adds three\northogonal capabilities. Padding and height are written as custom\nproperties on the host, which inherit through the shadow boundary into the\nsection's block element and slotted content; the background comes from\n`pageSectionBackgroundStyles`:\n\n- **background**: `inherit` (the default — transparent, shows the ancestor's\n surface) | `base` (the base surface color) | `tinted` | `accent-tinted`\n (a tint of the theme's accent, with the contrast of `tinted`). Setting\n one of those also cascades `--context-
|
|
49988
|
+
"description": "Shared surface controls for the page-section components. Adds three\northogonal capabilities. Padding and height are written as custom\nproperties on the host, which inherit through the shadow boundary into the\nsection's block element and slotted content; the background comes from\n`pageSectionBackgroundStyles`:\n\n- **background**: `inherit` (the default — transparent, shows the ancestor's\n surface) | `base` (the base surface color) | `tinted` | `accent-tinted`\n (a tint of the theme's accent, with the contrast of `tinted`). Setting\n one of those also cascades `--context-background-color` so\n descendants (cards, nested sections) read the same surface.\n- **block padding**: `padding-block` (both edges) with `padding-top`\n / `padding-bottom` per-edge overrides, each with responsive `sm-` /\n `md-` / `lg-` variants (12 attrs total). Token scale `0`–`96`; `0` strips\n the padding. Per breakpoint the section CSS resolves: scope override →\n base override → responsive default. The inline (gutter) padding stays\n design-controlled.\n- **height**: any CSS length (e.g. '400px', '100dvh') applied as the host's\n min-height (so the section is at least that tall) — mirroring how `width`\n maps to the body max-width.\n- **grow**: the section takes the height the page has left, so the footer\n sits at the bottom of a short page. Without it, nldd-page lets its last\n section grow. nldd-page reads this and marks the growing section with\n `data-growing`; it never writes `grow`, which stays the author's.",
|
|
49552
49989
|
"name": "PageSectionMixin",
|
|
49553
49990
|
"members": [
|
|
49554
49991
|
{
|
|
@@ -50458,6 +50895,55 @@
|
|
|
50458
50895
|
}
|
|
50459
50896
|
]
|
|
50460
50897
|
},
|
|
50898
|
+
{
|
|
50899
|
+
"kind": "javascript-module",
|
|
50900
|
+
"path": "src/utilities/reorder-handle-mixin.ts",
|
|
50901
|
+
"declarations": [
|
|
50902
|
+
{
|
|
50903
|
+
"kind": "mixin",
|
|
50904
|
+
"description": "Adds the `reorder-handle` attribute to every cell, so any cell can be the\ngrip that drags its row in a `reorderable` nldd-list: nldd-reorder-handle-cell,\nwhich is one by default, or an nldd-cell with a control of your own, or a\ncell without a control.\n\nThe cell itself does nothing with it. The nldd-list-item around it shows\nthe cell only while the row is `reorderable`, and the nldd-list starts a\ndrag, by pointer or with the arrow keys, only from inside such a cell.",
|
|
50905
|
+
"name": "ReorderHandleMixin",
|
|
50906
|
+
"members": [
|
|
50907
|
+
{
|
|
50908
|
+
"kind": "field",
|
|
50909
|
+
"name": "reorderHandle",
|
|
50910
|
+
"default": "handle",
|
|
50911
|
+
"attribute": "reorder-handle",
|
|
50912
|
+
"reflects": true
|
|
50913
|
+
}
|
|
50914
|
+
],
|
|
50915
|
+
"attributes": [
|
|
50916
|
+
{
|
|
50917
|
+
"name": "reorder-handle",
|
|
50918
|
+
"default": "handle",
|
|
50919
|
+
"fieldName": "reorderHandle"
|
|
50920
|
+
}
|
|
50921
|
+
],
|
|
50922
|
+
"parameters": [
|
|
50923
|
+
{
|
|
50924
|
+
"name": "Base",
|
|
50925
|
+
"type": {
|
|
50926
|
+
"text": "TBase"
|
|
50927
|
+
}
|
|
50928
|
+
},
|
|
50929
|
+
{
|
|
50930
|
+
"name": "handle",
|
|
50931
|
+
"default": "false"
|
|
50932
|
+
}
|
|
50933
|
+
]
|
|
50934
|
+
}
|
|
50935
|
+
],
|
|
50936
|
+
"exports": [
|
|
50937
|
+
{
|
|
50938
|
+
"kind": "js",
|
|
50939
|
+
"name": "ReorderHandleMixin",
|
|
50940
|
+
"declaration": {
|
|
50941
|
+
"name": "ReorderHandleMixin",
|
|
50942
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
50943
|
+
}
|
|
50944
|
+
}
|
|
50945
|
+
]
|
|
50946
|
+
},
|
|
50461
50947
|
{
|
|
50462
50948
|
"kind": "javascript-module",
|
|
50463
50949
|
"path": "src/utilities/resolve-date-bound.ts",
|