@nldd/design-system 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +864 -232
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-BTnpfsIt.js} +22 -22
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar--5c37XVW.js} +44 -43
- package/dist/cdn/chunks/{avatar-group-rknt4FBO.js → avatar-group-BNfmY5CU.js} +41 -41
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-YAvIVoRy.js} +28 -28
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-BpCK57yd.js} +41 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-BgYo4YJw.js} +27 -27
- package/dist/cdn/chunks/blockquote-BOu-31f3.js +240 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-YipFNjJh.js} +7 -7
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-DSVAVozW.js} +33 -33
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-XtEOeBEq.js} +101 -100
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-D1i71rRQ.js} +13 -13
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-un5QDbqK.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-D5yTAdts.js} +22 -22
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-BbtB9C2Z.js} +24 -23
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-Cmc6Aagc.js} +33 -30
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-oYX8b8iy.js} +28 -27
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-DKd4N9Wz.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-BZwpTu4O.js} +55 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C4XDF03i.js} +75 -75
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-Sen5OmAF.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-BnZstW7U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-DyBQSaQl.js → combo-box-BpaGeypm.js} +68 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-DuV5d7Eb.js} +51 -51
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DsfOrnOD.js} +1 -1
- package/dist/cdn/chunks/{date-field-Clti_wKN.js → date-field-FactdbhC.js} +125 -117
- package/dist/cdn/chunks/{date-picker-2TCQLd5D.js → date-picker-BtlBTKvh.js} +78 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-CJCfz_g6.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-CPultP0p.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-DFc0_dWI.js} +24 -23
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-DGwOQoR3.js} +76 -26
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-6xUfJUfa.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-AQ1Gehx3.js} +25 -25
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-BUqkX3a-.js} +362 -371
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-BWSiWu4t.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-Bmb_H8Sp.js} +1 -1
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-BuquxOFD.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CM5DHMaz.js} +120 -125
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-ClsiJytN.js} +43 -43
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-CtdONv3x.js} +13 -13
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-CxdoWiwX.js} +50 -50
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-D-9cbJjq.js} +190 -196
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-CZ8Hn1om.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-CUc4WWY3.js → document-tab-bar-BBnyyiEA.js} +56 -56
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-Bbbgy8mT.js} +31 -31
- package/dist/cdn/chunks/{file-field-Bff6_1pp.js → file-field-CddG_e0F.js} +116 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-DIIMIq0q.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-BICy0Sgp.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-Bnei2EQO.js} +36 -36
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-Cv0tr0pm.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-LOfo_1Aj.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-BABWpYs5.js} +48 -48
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-D5dJm51v.js} +41 -47
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-DtxIRaQy.js} +80 -79
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-Be5awZV7.js} +26 -24
- package/dist/cdn/chunks/{identity-Cg1l0HhB.js → identity-B4KtbT8h.js} +26 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-BirFs11D.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-BpVEir6U.js} +66 -61
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-B627fZmT.js} +29 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-Nw5ido3N.js} +44 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-9HGexCJx.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-v5rfv8fN.js} +13 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-CVNilmgr.js} +20 -20
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-Ce4h7R1-.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-BQQwp17j.js} +36 -36
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-CQhEcQIV.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-DDxjOe38.js} +41 -39
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-Da6-fFDs.js} +131 -77
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-CnGHU6G-.js} +44 -44
- package/dist/cdn/chunks/{menu-bar-0NFXvq-v.js → menu-bar-MPNB2ovW.js} +21 -21
- package/dist/cdn/chunks/{menu-bar-item-DGSC_ETi.js → menu-bar-item-BuZ-VvnR.js} +34 -34
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-CcOTQxx5.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-DGgbYejF.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-DgM4RmyD.js} +28 -28
- package/dist/cdn/chunks/{menu-BOu_pD1Q.js → menu-uOExHS1i.js} +58 -57
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-DkbfQRQ6.js} +3 -3
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-BRYfJ7Vf.js} +26 -26
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-CWOPY6sF.js} +47 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-BRiplUXM.js} +37 -37
- package/dist/cdn/chunks/nl.generated-fkFCex7n.js +112 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-DhnzrUQp.js} +25 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-DgRrXCiv.js} +39 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-D7tzDw-p.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-E8xOdcsf.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-BoJdVvNN.js} +54 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-DDm193hL.js} +27 -27
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-32oZSwvG.js} +46 -61
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-CmsW9L1S.js} +2 -2
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-Co1BlFTP.js} +45 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-BxKQRE4K.js} +54 -54
- package/dist/cdn/chunks/{popover-C-CVVtfl.js → popover-DpCE_XjR.js} +92 -58
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-5WAVf0HV.js} +53 -53
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-D7Mn6WZv.js} +55 -55
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-Dxnahic-.js} +25 -25
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-D_4lI2U-.js} +18 -18
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-pd8lwtEO.js} +29 -29
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CAskRZMx.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-BL8ECfi5.js} +38 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-BDRPLv58.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-D5W3dDCY.js} +1 -1
- package/dist/cdn/chunks/{return-focus-Xmagtk6r.js → return-focus-BzZWhXhc.js} +21 -16
- package/dist/cdn/chunks/rich-text-diNxNddp.js +61 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-Dj6t4nYI.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CLuQnvBU.js} +67 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-B0z5J7r9.js} +86 -82
- package/dist/cdn/chunks/{shadow-resets-6SToDsPu.js → shadow-resets-BeVmf7ky.js} +2 -2
- package/dist/cdn/chunks/{sheet-BdVCqm2H.js → sheet-CKfFzUCu.js} +22 -22
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-CglPjEWB.js} +7 -7
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DU4ODEBX.js} +21 -21
- package/dist/cdn/chunks/{sidebar-section-DP4jnS7g.js → sidebar-section-DzJw-MHs.js} +29 -29
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-BfhBYqMa.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-DwVvD9XL.js} +19 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BBxKxr-H.js} +86 -82
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-CqK1xVh2.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DS7Tphdm.js} +13 -12
- package/dist/cdn/chunks/{split-button-BeXnOUTt.js → split-button-Brh7EmIA.js} +32 -32
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-Bh3XLobi.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-BPKlAR4d.js} +13 -13
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-SrIHWkKW.js} +20 -20
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-OvWm15yg.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-IqyLnoMx.js} +24 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-DltkU-AG.js} +56 -56
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-BHW3t6nn.js} +40 -39
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-DMlk7A-Y.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-CNYX1L3t.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-BAKkJFgt.js} +47 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-B3d_1Leh.js} +27 -26
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-BXJj1PHC.js} +47 -28
- package/dist/cdn/chunks/{tab-bar-DmslEoPD.js → tab-bar-C7T0XL0u.js} +70 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-CVyPmXfX.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-KdbJbRcK.js} +25 -25
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-CUH5Tf5F.js} +43 -42
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-Bsfygq28.js} +71 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-BQxQe0ch.js} +56 -56
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-lQLJJw1m.js} +45 -45
- package/dist/cdn/chunks/{time-field-Cj5WojfO.js → time-field-kdMQ7qaa.js} +123 -113
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-T1bZ4zxP.js} +86 -79
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CyJr9OiV.js} +61 -63
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-yXmufzsm.js} +110 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-DiZaFEAk.js} +74 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-DRai7q0C.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-C6EudIjw.js} +30 -30
- package/dist/cdn/chunks/{token-field-hvDB3l6O.js → token-field-OCw3wLIW.js} +69 -69
- package/dist/cdn/chunks/{toolbar-iNd1VmuG.js → toolbar-K5UY_y15.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CI3OVQuq.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-xvfrEhvQ.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-BBj5j7Iq.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-B6XDYQNn.js} +42 -45
- package/dist/cdn/chunks/{top-navigation-bar-D1hjWIF3.js → top-navigation-bar-D7JkgCQi.js} +86 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-BMSTl1Z7.js} +50 -44
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-Cc1Mh9TT.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-xF6yTpz8.js} +19 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-LkgEnUqn.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CMo9yGtA.js} +6 -6
- package/dist/cdn/chunks/{window-t5iFkMLY.js → window-CclQ8SHn.js} +37 -37
- package/dist/cdn/chunks/with-translations-DdCPcavT.js +16 -0
- 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/content/blockquote/blockquote.d.ts +10 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +24 -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 +51 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +4 -0
- package/dist/components/content/code-viewer/code-viewer.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/identity/identity.d.ts +1 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +1 -0
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +7 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +29 -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 +1 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +10 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +41 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +1 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -10
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -11
- 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 +74 -43
- package/dist/components/content/title/title.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/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 +57 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +1 -0
- package/dist/components/forms/form-field/form-field.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-field/checkbox-field.d.ts +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +6 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.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 +23 -25
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +9 -4
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +20 -7
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -0
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +1 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +1 -0
- package/dist/components/inputs/dropdown/dropdown.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/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -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 +4 -0
- 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/switch-field/switch-field.d.ts +12 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +24 -2
- package/dist/components/inputs/switch-field/switch-field.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 +18 -17
- package/dist/components/inputs/text-editor/text-editor.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.js +19 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +4 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +17 -2
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +1 -0
- package/dist/components/inputs/time-field/time-field.template.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 +2 -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/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/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 +4 -19
- 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 +1 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -0
- package/dist/components/layout/page-sections/hero/hero.js.map +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 +110 -13
- 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 +6 -0
- package/dist/components/layout/popover/popover.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/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/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} +14 -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/text-cell/text-cell.d.ts +2 -0
- 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 +2 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.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.js +5 -5
- 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-item/list-item.d.ts +30 -14
- 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.js +3 -3
- 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/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/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/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-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/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 +6 -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/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/modal-dialog/modal-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/title.css +88 -0
- package/dist/css/variables.css +2 -3
- package/dist/nldd.min.js +942 -866
- package/dist/translations/en-US.js +1 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +1 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -1
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +1 -1
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +1 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +45 -37
- package/dist/types/vue.d.ts +74 -59
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +75 -25
- 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/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/return-focus.d.ts +14 -0
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +26 -8
- package/dist/utilities/return-focus.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +53 -1
- package/lint/fix.js +11 -0
- package/lint/format.js +6 -5
- package/lint/frontends.js +224 -16
- package/lint/linter.js +10 -4
- package/lint/main.js +36 -9
- package/lint/project.js +73 -4
- package/lint/rule-data.js +17 -2
- package/lint/rule.schema.json +1 -0
- package/lint/tree.js +3 -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/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
|
@@ -5185,9 +5185,19 @@
|
|
|
5185
5185
|
"declarations": [
|
|
5186
5186
|
{
|
|
5187
5187
|
"kind": "class",
|
|
5188
|
-
"description": "Shows a quote with an optional source attribution.",
|
|
5188
|
+
"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
5189
|
"name": "NLDDBlockquote",
|
|
5190
5190
|
"members": [
|
|
5191
|
+
{
|
|
5192
|
+
"kind": "field",
|
|
5193
|
+
"name": "size",
|
|
5194
|
+
"type": {
|
|
5195
|
+
"text": "BlockquoteSize"
|
|
5196
|
+
},
|
|
5197
|
+
"default": "'md'",
|
|
5198
|
+
"attribute": "size",
|
|
5199
|
+
"reflects": true
|
|
5200
|
+
},
|
|
5191
5201
|
{
|
|
5192
5202
|
"kind": "field",
|
|
5193
5203
|
"name": "cite",
|
|
@@ -5229,6 +5239,18 @@
|
|
|
5229
5239
|
}
|
|
5230
5240
|
],
|
|
5231
5241
|
"attributes": [
|
|
5242
|
+
{
|
|
5243
|
+
"name": "size",
|
|
5244
|
+
"type": {
|
|
5245
|
+
"text": "BlockquoteSize"
|
|
5246
|
+
},
|
|
5247
|
+
"default": "'md'",
|
|
5248
|
+
"fieldName": "size",
|
|
5249
|
+
"expandedType": {
|
|
5250
|
+
"text": "'lg' | 'md'"
|
|
5251
|
+
},
|
|
5252
|
+
"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"
|
|
5253
|
+
},
|
|
5232
5254
|
{
|
|
5233
5255
|
"name": "cite",
|
|
5234
5256
|
"type": {
|
|
@@ -5245,7 +5267,7 @@
|
|
|
5245
5267
|
},
|
|
5246
5268
|
"default": "''",
|
|
5247
5269
|
"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.
|
|
5270
|
+
"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
5271
|
},
|
|
5250
5272
|
{
|
|
5251
5273
|
"name": "md-custom-size",
|
|
@@ -5272,6 +5294,9 @@
|
|
|
5272
5294
|
},
|
|
5273
5295
|
"tagName": "nldd-blockquote",
|
|
5274
5296
|
"customElement": true,
|
|
5297
|
+
"accepts": [
|
|
5298
|
+
"p"
|
|
5299
|
+
],
|
|
5275
5300
|
"slots": [
|
|
5276
5301
|
{
|
|
5277
5302
|
"name": "",
|
|
@@ -5427,7 +5452,7 @@
|
|
|
5427
5452
|
"declarations": [
|
|
5428
5453
|
{
|
|
5429
5454
|
"kind": "class",
|
|
5430
|
-
"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.",
|
|
5455
|
+
"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.",
|
|
5431
5456
|
"name": "NLDDCodeViewer",
|
|
5432
5457
|
"members": [
|
|
5433
5458
|
{
|
|
@@ -5914,6 +5939,9 @@
|
|
|
5914
5939
|
},
|
|
5915
5940
|
"tagName": "nldd-identity",
|
|
5916
5941
|
"customElement": true,
|
|
5942
|
+
"accepts": [
|
|
5943
|
+
"img"
|
|
5944
|
+
],
|
|
5917
5945
|
"slots": [
|
|
5918
5946
|
{
|
|
5919
5947
|
"name": "avatars",
|
|
@@ -6174,7 +6202,7 @@
|
|
|
6174
6202
|
"text": "string"
|
|
6175
6203
|
},
|
|
6176
6204
|
"default": "'full'",
|
|
6177
|
-
"description": "Display width. `full` (default) fills the parent. A
|
|
6205
|
+
"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.",
|
|
6178
6206
|
"fieldName": "width"
|
|
6179
6207
|
},
|
|
6180
6208
|
{
|
|
@@ -6317,6 +6345,12 @@
|
|
|
6317
6345
|
},
|
|
6318
6346
|
"tagName": "nldd-image",
|
|
6319
6347
|
"customElement": true,
|
|
6348
|
+
"accepts": [
|
|
6349
|
+
"img",
|
|
6350
|
+
"picture",
|
|
6351
|
+
"source",
|
|
6352
|
+
"svg"
|
|
6353
|
+
],
|
|
6320
6354
|
"slots": [
|
|
6321
6355
|
{
|
|
6322
6356
|
"name": "",
|
|
@@ -6681,7 +6715,7 @@
|
|
|
6681
6715
|
"declarations": [
|
|
6682
6716
|
{
|
|
6683
6717
|
"kind": "class",
|
|
6684
|
-
"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.",
|
|
6718
|
+
"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.",
|
|
6685
6719
|
"name": "NLDDRichText",
|
|
6686
6720
|
"members": [
|
|
6687
6721
|
{
|
|
@@ -6792,7 +6826,64 @@
|
|
|
6792
6826
|
"package": "lit"
|
|
6793
6827
|
},
|
|
6794
6828
|
"tagName": "nldd-rich-text",
|
|
6795
|
-
"customElement": true
|
|
6829
|
+
"customElement": true,
|
|
6830
|
+
"accepts": [
|
|
6831
|
+
"p",
|
|
6832
|
+
"h1",
|
|
6833
|
+
"h2",
|
|
6834
|
+
"h3",
|
|
6835
|
+
"h4",
|
|
6836
|
+
"h5",
|
|
6837
|
+
"h6",
|
|
6838
|
+
"a",
|
|
6839
|
+
"strong",
|
|
6840
|
+
"b",
|
|
6841
|
+
"em",
|
|
6842
|
+
"i",
|
|
6843
|
+
"u",
|
|
6844
|
+
"s",
|
|
6845
|
+
"del",
|
|
6846
|
+
"ins",
|
|
6847
|
+
"code",
|
|
6848
|
+
"kbd",
|
|
6849
|
+
"samp",
|
|
6850
|
+
"var",
|
|
6851
|
+
"small",
|
|
6852
|
+
"mark",
|
|
6853
|
+
"q",
|
|
6854
|
+
"cite",
|
|
6855
|
+
"abbr",
|
|
6856
|
+
"sub",
|
|
6857
|
+
"sup",
|
|
6858
|
+
"br",
|
|
6859
|
+
"span",
|
|
6860
|
+
"ul",
|
|
6861
|
+
"ol",
|
|
6862
|
+
"li",
|
|
6863
|
+
"dl",
|
|
6864
|
+
"dt",
|
|
6865
|
+
"dd",
|
|
6866
|
+
"blockquote",
|
|
6867
|
+
"pre",
|
|
6868
|
+
"figure",
|
|
6869
|
+
"figcaption",
|
|
6870
|
+
"img",
|
|
6871
|
+
"picture",
|
|
6872
|
+
"source",
|
|
6873
|
+
"table",
|
|
6874
|
+
"thead",
|
|
6875
|
+
"tbody",
|
|
6876
|
+
"tfoot",
|
|
6877
|
+
"tr",
|
|
6878
|
+
"th",
|
|
6879
|
+
"td",
|
|
6880
|
+
"caption",
|
|
6881
|
+
"hr",
|
|
6882
|
+
"div",
|
|
6883
|
+
"section",
|
|
6884
|
+
"video",
|
|
6885
|
+
"iframe"
|
|
6886
|
+
]
|
|
6796
6887
|
}
|
|
6797
6888
|
],
|
|
6798
6889
|
"exports": [
|
|
@@ -7169,6 +7260,17 @@
|
|
|
7169
7260
|
},
|
|
7170
7261
|
"tagName": "nldd-text",
|
|
7171
7262
|
"customElement": true,
|
|
7263
|
+
"accepts": [
|
|
7264
|
+
"strong",
|
|
7265
|
+
"b",
|
|
7266
|
+
"em",
|
|
7267
|
+
"i",
|
|
7268
|
+
"a",
|
|
7269
|
+
"code",
|
|
7270
|
+
"mark",
|
|
7271
|
+
"q",
|
|
7272
|
+
"span"
|
|
7273
|
+
],
|
|
7172
7274
|
"slots": [
|
|
7173
7275
|
{
|
|
7174
7276
|
"name": "",
|
|
@@ -7202,16 +7304,15 @@
|
|
|
7202
7304
|
"declarations": [
|
|
7203
7305
|
{
|
|
7204
7306
|
"kind": "class",
|
|
7205
|
-
"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
|
|
7307
|
+
"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.",
|
|
7206
7308
|
"name": "NLDDTitle",
|
|
7207
7309
|
"members": [
|
|
7208
7310
|
{
|
|
7209
7311
|
"kind": "field",
|
|
7210
7312
|
"name": "size",
|
|
7211
7313
|
"type": {
|
|
7212
|
-
"text": "
|
|
7314
|
+
"text": "TitleSize | undefined"
|
|
7213
7315
|
},
|
|
7214
|
-
"default": "3",
|
|
7215
7316
|
"attribute": "size",
|
|
7216
7317
|
"reflects": true
|
|
7217
7318
|
},
|
|
@@ -7300,14 +7401,13 @@
|
|
|
7300
7401
|
{
|
|
7301
7402
|
"name": "size",
|
|
7302
7403
|
"type": {
|
|
7303
|
-
"text": "
|
|
7404
|
+
"text": "TitleSize | undefined"
|
|
7304
7405
|
},
|
|
7305
|
-
"default": "3",
|
|
7306
7406
|
"fieldName": "size",
|
|
7307
7407
|
"expandedType": {
|
|
7308
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
7408
|
+
"text": "'display-1' | 'display-2' | 'display-3' | 'display-4' | 'display-5' | 'display-6'"
|
|
7309
7409
|
},
|
|
7310
|
-
"description": "Visual size of the title: 1
|
|
7410
|
+
"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"
|
|
7311
7411
|
},
|
|
7312
7412
|
{
|
|
7313
7413
|
"name": "sm-custom-size",
|
|
@@ -7316,7 +7416,7 @@
|
|
|
7316
7416
|
},
|
|
7317
7417
|
"default": "''",
|
|
7318
7418
|
"fieldName": "smCustomSize",
|
|
7319
|
-
"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
|
|
7419
|
+
"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`"
|
|
7320
7420
|
},
|
|
7321
7421
|
{
|
|
7322
7422
|
"name": "md-custom-size",
|
|
@@ -7385,7 +7485,7 @@
|
|
|
7385
7485
|
"expandedType": {
|
|
7386
7486
|
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
7387
7487
|
},
|
|
7388
|
-
"description": "Renders text as h1–h6. Absent renders a p
|
|
7488
|
+
"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."
|
|
7389
7489
|
}
|
|
7390
7490
|
],
|
|
7391
7491
|
"superclass": {
|
|
@@ -7394,6 +7494,22 @@
|
|
|
7394
7494
|
},
|
|
7395
7495
|
"tagName": "nldd-title",
|
|
7396
7496
|
"customElement": true,
|
|
7497
|
+
"accepts": [
|
|
7498
|
+
"h1",
|
|
7499
|
+
"h2",
|
|
7500
|
+
"h3",
|
|
7501
|
+
"h4",
|
|
7502
|
+
"h5",
|
|
7503
|
+
"h6",
|
|
7504
|
+
"a",
|
|
7505
|
+
"strong",
|
|
7506
|
+
"b",
|
|
7507
|
+
"em",
|
|
7508
|
+
"i",
|
|
7509
|
+
"code",
|
|
7510
|
+
"mark",
|
|
7511
|
+
"q"
|
|
7512
|
+
],
|
|
7397
7513
|
"slots": [
|
|
7398
7514
|
{
|
|
7399
7515
|
"name": "overline",
|
|
@@ -7409,7 +7525,7 @@
|
|
|
7409
7525
|
},
|
|
7410
7526
|
{
|
|
7411
7527
|
"name": "end",
|
|
7412
|
-
"description": "
|
|
7528
|
+
"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."
|
|
7413
7529
|
}
|
|
7414
7530
|
]
|
|
7415
7531
|
}
|
|
@@ -7839,8 +7955,8 @@
|
|
|
7839
7955
|
"customElement": true,
|
|
7840
7956
|
"events": [
|
|
7841
7957
|
{
|
|
7842
|
-
"name": "
|
|
7843
|
-
"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."
|
|
7958
|
+
"name": "dismiss",
|
|
7959
|
+
"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."
|
|
7844
7960
|
}
|
|
7845
7961
|
],
|
|
7846
7962
|
"slots": [
|
|
@@ -8129,6 +8245,9 @@
|
|
|
8129
8245
|
},
|
|
8130
8246
|
"tagName": "nldd-form-field-help-text",
|
|
8131
8247
|
"customElement": true,
|
|
8248
|
+
"accepts": [
|
|
8249
|
+
"a"
|
|
8250
|
+
],
|
|
8132
8251
|
"slots": [
|
|
8133
8252
|
{
|
|
8134
8253
|
"name": "",
|
|
@@ -8320,6 +8439,9 @@
|
|
|
8320
8439
|
"name": "reset",
|
|
8321
8440
|
"description": ""
|
|
8322
8441
|
}
|
|
8442
|
+
],
|
|
8443
|
+
"accepts": [
|
|
8444
|
+
"form"
|
|
8323
8445
|
]
|
|
8324
8446
|
}
|
|
8325
8447
|
],
|
|
@@ -9455,10 +9577,10 @@
|
|
|
9455
9577
|
},
|
|
9456
9578
|
{
|
|
9457
9579
|
"kind": "js",
|
|
9458
|
-
"name": "
|
|
9580
|
+
"name": "NLDDReorderHandleCell",
|
|
9459
9581
|
"declaration": {
|
|
9460
|
-
"name": "
|
|
9461
|
-
"module": "./lists-and-tables/cells/
|
|
9582
|
+
"name": "NLDDReorderHandleCell",
|
|
9583
|
+
"module": "./lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js"
|
|
9462
9584
|
}
|
|
9463
9585
|
},
|
|
9464
9586
|
{
|
|
@@ -9811,6 +9933,20 @@
|
|
|
9811
9933
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
9812
9934
|
}
|
|
9813
9935
|
},
|
|
9936
|
+
{
|
|
9937
|
+
"kind": "method",
|
|
9938
|
+
"name": "ownValidity",
|
|
9939
|
+
"return": {
|
|
9940
|
+
"type": {
|
|
9941
|
+
"text": "OwnValidity | null"
|
|
9942
|
+
}
|
|
9943
|
+
},
|
|
9944
|
+
"description": "The checkbox that carries `required` sits in a shadow root of its own,\nwhere the form cannot see it.",
|
|
9945
|
+
"inheritedFrom": {
|
|
9946
|
+
"name": "FormAssociated",
|
|
9947
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9948
|
+
}
|
|
9949
|
+
},
|
|
9814
9950
|
{
|
|
9815
9951
|
"kind": "method",
|
|
9816
9952
|
"name": "formResetCallback",
|
|
@@ -9961,20 +10097,6 @@
|
|
|
9961
10097
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
9962
10098
|
}
|
|
9963
10099
|
},
|
|
9964
|
-
{
|
|
9965
|
-
"kind": "method",
|
|
9966
|
-
"name": "ownValidity",
|
|
9967
|
-
"return": {
|
|
9968
|
-
"type": {
|
|
9969
|
-
"text": "OwnValidity | null"
|
|
9970
|
-
}
|
|
9971
|
-
},
|
|
9972
|
-
"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.",
|
|
9973
|
-
"inheritedFrom": {
|
|
9974
|
-
"name": "FormAssociated",
|
|
9975
|
-
"module": "src/utilities/form-associated-mixin.ts"
|
|
9976
|
-
}
|
|
9977
|
-
},
|
|
9978
10100
|
{
|
|
9979
10101
|
"kind": "method",
|
|
9980
10102
|
"name": "setCustomValidity",
|
|
@@ -10691,7 +10813,7 @@
|
|
|
10691
10813
|
"declarations": [
|
|
10692
10814
|
{
|
|
10693
10815
|
"kind": "class",
|
|
10694
|
-
"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.
|
|
10816
|
+
"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).",
|
|
10695
10817
|
"name": "NLDDCodeEditor",
|
|
10696
10818
|
"members": [
|
|
10697
10819
|
{
|
|
@@ -10716,12 +10838,12 @@
|
|
|
10716
10838
|
},
|
|
10717
10839
|
{
|
|
10718
10840
|
"kind": "field",
|
|
10719
|
-
"name": "
|
|
10841
|
+
"name": "embedded",
|
|
10720
10842
|
"type": {
|
|
10721
|
-
"text": "
|
|
10843
|
+
"text": "boolean"
|
|
10722
10844
|
},
|
|
10723
|
-
"default": "
|
|
10724
|
-
"attribute": "
|
|
10845
|
+
"default": "false",
|
|
10846
|
+
"attribute": "embedded",
|
|
10725
10847
|
"reflects": true
|
|
10726
10848
|
},
|
|
10727
10849
|
{
|
|
@@ -11156,16 +11278,13 @@
|
|
|
11156
11278
|
"description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
|
|
11157
11279
|
},
|
|
11158
11280
|
{
|
|
11159
|
-
"name": "
|
|
11281
|
+
"name": "embedded",
|
|
11160
11282
|
"type": {
|
|
11161
|
-
"text": "
|
|
11162
|
-
},
|
|
11163
|
-
"default": "'simple'",
|
|
11164
|
-
"fieldName": "appearance",
|
|
11165
|
-
"expandedType": {
|
|
11166
|
-
"text": "'input-field' | 'simple'"
|
|
11283
|
+
"text": "boolean"
|
|
11167
11284
|
},
|
|
11168
|
-
"
|
|
11285
|
+
"default": "false",
|
|
11286
|
+
"fieldName": "embedded",
|
|
11287
|
+
"description": "Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them"
|
|
11169
11288
|
},
|
|
11170
11289
|
{
|
|
11171
11290
|
"name": "language",
|
|
@@ -13590,6 +13709,11 @@
|
|
|
13590
13709
|
"description": "The native change of the slotted select, left to bubble, so a listener on the select, on the dropdown or higher up all hear it. Read the choice from `value`."
|
|
13591
13710
|
}
|
|
13592
13711
|
],
|
|
13712
|
+
"accepts": [
|
|
13713
|
+
"select",
|
|
13714
|
+
"option",
|
|
13715
|
+
"optgroup"
|
|
13716
|
+
],
|
|
13593
13717
|
"slots": [
|
|
13594
13718
|
{
|
|
13595
13719
|
"name": "",
|
|
@@ -15862,7 +15986,7 @@
|
|
|
15862
15986
|
},
|
|
15863
15987
|
{
|
|
15864
15988
|
"kind": "class",
|
|
15865
|
-
"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 `
|
|
15989
|
+
"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\").",
|
|
15866
15990
|
"name": "NLDDOneTimeCodeField",
|
|
15867
15991
|
"members": [
|
|
15868
15992
|
{
|
|
@@ -16342,7 +16466,7 @@
|
|
|
16342
16466
|
"description": "When the code is committed; detail: { value: string }"
|
|
16343
16467
|
},
|
|
16344
16468
|
{
|
|
16345
|
-
"name": "
|
|
16469
|
+
"name": "complete",
|
|
16346
16470
|
"description": "When every box is filled; detail: { value: string }"
|
|
16347
16471
|
}
|
|
16348
16472
|
],
|
|
@@ -21594,7 +21718,7 @@
|
|
|
21594
21718
|
"expandedType": {
|
|
21595
21719
|
"text": "'md' | 'sm' | 'xs'"
|
|
21596
21720
|
},
|
|
21597
|
-
"description": "Swatch size, on the control scale: 'xs' (24px) | 'sm' (
|
|
21721
|
+
"description": "Swatch size, on the control scale: 'xs' (24px) | 'sm' (34px) | 'md' (44px) (default: 'md')"
|
|
21598
21722
|
},
|
|
21599
21723
|
{
|
|
21600
21724
|
"name": "accessible-label",
|
|
@@ -21776,7 +21900,9 @@
|
|
|
21776
21900
|
"text": "string"
|
|
21777
21901
|
},
|
|
21778
21902
|
"default": "''",
|
|
21779
|
-
"
|
|
21903
|
+
"description": "Reflected: form association reads the host's name attribute, so setting\nthe property alone must still register the field with the form.",
|
|
21904
|
+
"attribute": "name",
|
|
21905
|
+
"reflects": true
|
|
21780
21906
|
},
|
|
21781
21907
|
{
|
|
21782
21908
|
"kind": "field",
|
|
@@ -21819,6 +21945,60 @@
|
|
|
21819
21945
|
"attribute": "invalid",
|
|
21820
21946
|
"reflects": true
|
|
21821
21947
|
},
|
|
21948
|
+
{
|
|
21949
|
+
"kind": "method",
|
|
21950
|
+
"name": "formValue",
|
|
21951
|
+
"return": {
|
|
21952
|
+
"type": {
|
|
21953
|
+
"text": "FormValue"
|
|
21954
|
+
}
|
|
21955
|
+
},
|
|
21956
|
+
"description": "The value submitted under `name`; `null` submits nothing. Override.",
|
|
21957
|
+
"inheritedFrom": {
|
|
21958
|
+
"name": "FormAssociated",
|
|
21959
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
21960
|
+
}
|
|
21961
|
+
},
|
|
21962
|
+
{
|
|
21963
|
+
"kind": "method",
|
|
21964
|
+
"name": "ownValidity",
|
|
21965
|
+
"return": {
|
|
21966
|
+
"type": {
|
|
21967
|
+
"text": "OwnValidity | null"
|
|
21968
|
+
}
|
|
21969
|
+
},
|
|
21970
|
+
"description": "The switch that carries `required` sits in a shadow root of its own,\nwhere the form cannot see it.",
|
|
21971
|
+
"inheritedFrom": {
|
|
21972
|
+
"name": "FormAssociated",
|
|
21973
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
21974
|
+
}
|
|
21975
|
+
},
|
|
21976
|
+
{
|
|
21977
|
+
"kind": "method",
|
|
21978
|
+
"name": "formResetCallback",
|
|
21979
|
+
"return": {
|
|
21980
|
+
"type": {
|
|
21981
|
+
"text": "void"
|
|
21982
|
+
}
|
|
21983
|
+
}
|
|
21984
|
+
},
|
|
21985
|
+
{
|
|
21986
|
+
"kind": "method",
|
|
21987
|
+
"name": "formStateRestoreCallback",
|
|
21988
|
+
"return": {
|
|
21989
|
+
"type": {
|
|
21990
|
+
"text": "void"
|
|
21991
|
+
}
|
|
21992
|
+
},
|
|
21993
|
+
"parameters": [
|
|
21994
|
+
{
|
|
21995
|
+
"name": "state",
|
|
21996
|
+
"type": {
|
|
21997
|
+
"text": "File | string | FormData | null"
|
|
21998
|
+
}
|
|
21999
|
+
}
|
|
22000
|
+
]
|
|
22001
|
+
},
|
|
21822
22002
|
{
|
|
21823
22003
|
"kind": "method",
|
|
21824
22004
|
"name": "focus",
|
|
@@ -21864,6 +22044,141 @@
|
|
|
21864
22044
|
"name": "DescribedBy",
|
|
21865
22045
|
"module": "src/utilities/described-by-mixin.ts"
|
|
21866
22046
|
}
|
|
22047
|
+
},
|
|
22048
|
+
{
|
|
22049
|
+
"kind": "field",
|
|
22050
|
+
"name": "formAssociated",
|
|
22051
|
+
"type": {
|
|
22052
|
+
"text": "boolean"
|
|
22053
|
+
},
|
|
22054
|
+
"static": true,
|
|
22055
|
+
"default": "true",
|
|
22056
|
+
"inheritedFrom": {
|
|
22057
|
+
"name": "FormAssociated",
|
|
22058
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22059
|
+
}
|
|
22060
|
+
},
|
|
22061
|
+
{
|
|
22062
|
+
"kind": "field",
|
|
22063
|
+
"name": "internals",
|
|
22064
|
+
"readonly": true,
|
|
22065
|
+
"inheritedFrom": {
|
|
22066
|
+
"name": "FormAssociated",
|
|
22067
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22068
|
+
}
|
|
22069
|
+
},
|
|
22070
|
+
{
|
|
22071
|
+
"kind": "method",
|
|
22072
|
+
"name": "formState",
|
|
22073
|
+
"return": {
|
|
22074
|
+
"type": {
|
|
22075
|
+
"text": "FormValue | undefined"
|
|
22076
|
+
}
|
|
22077
|
+
},
|
|
22078
|
+
"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()`.",
|
|
22079
|
+
"inheritedFrom": {
|
|
22080
|
+
"name": "FormAssociated",
|
|
22081
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22082
|
+
}
|
|
22083
|
+
},
|
|
22084
|
+
{
|
|
22085
|
+
"kind": "method",
|
|
22086
|
+
"name": "commitFormValue",
|
|
22087
|
+
"return": {
|
|
22088
|
+
"type": {
|
|
22089
|
+
"text": "void"
|
|
22090
|
+
}
|
|
22091
|
+
},
|
|
22092
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
22093
|
+
"inheritedFrom": {
|
|
22094
|
+
"name": "FormAssociated",
|
|
22095
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22096
|
+
}
|
|
22097
|
+
},
|
|
22098
|
+
{
|
|
22099
|
+
"kind": "method",
|
|
22100
|
+
"name": "validationTarget",
|
|
22101
|
+
"return": {
|
|
22102
|
+
"type": {
|
|
22103
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | null"
|
|
22104
|
+
}
|
|
22105
|
+
},
|
|
22106
|
+
"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.",
|
|
22107
|
+
"inheritedFrom": {
|
|
22108
|
+
"name": "FormAssociated",
|
|
22109
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22110
|
+
}
|
|
22111
|
+
},
|
|
22112
|
+
{
|
|
22113
|
+
"kind": "method",
|
|
22114
|
+
"name": "validationAnchor",
|
|
22115
|
+
"return": {
|
|
22116
|
+
"type": {
|
|
22117
|
+
"text": "HTMLElement | undefined"
|
|
22118
|
+
}
|
|
22119
|
+
},
|
|
22120
|
+
"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.",
|
|
22121
|
+
"inheritedFrom": {
|
|
22122
|
+
"name": "FormAssociated",
|
|
22123
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22124
|
+
}
|
|
22125
|
+
},
|
|
22126
|
+
{
|
|
22127
|
+
"kind": "method",
|
|
22128
|
+
"name": "setCustomValidity",
|
|
22129
|
+
"return": {
|
|
22130
|
+
"type": {
|
|
22131
|
+
"text": "void"
|
|
22132
|
+
}
|
|
22133
|
+
},
|
|
22134
|
+
"parameters": [
|
|
22135
|
+
{
|
|
22136
|
+
"name": "message",
|
|
22137
|
+
"type": {
|
|
22138
|
+
"text": "string"
|
|
22139
|
+
}
|
|
22140
|
+
}
|
|
22141
|
+
],
|
|
22142
|
+
"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.",
|
|
22143
|
+
"inheritedFrom": {
|
|
22144
|
+
"name": "FormAssociated",
|
|
22145
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22146
|
+
}
|
|
22147
|
+
},
|
|
22148
|
+
{
|
|
22149
|
+
"kind": "method",
|
|
22150
|
+
"name": "commitValidity",
|
|
22151
|
+
"return": {
|
|
22152
|
+
"type": {
|
|
22153
|
+
"text": "void"
|
|
22154
|
+
}
|
|
22155
|
+
},
|
|
22156
|
+
"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.",
|
|
22157
|
+
"inheritedFrom": {
|
|
22158
|
+
"name": "FormAssociated",
|
|
22159
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22160
|
+
}
|
|
22161
|
+
},
|
|
22162
|
+
{
|
|
22163
|
+
"kind": "method",
|
|
22164
|
+
"name": "formDisabledCallback",
|
|
22165
|
+
"return": {
|
|
22166
|
+
"type": {
|
|
22167
|
+
"text": "void"
|
|
22168
|
+
}
|
|
22169
|
+
},
|
|
22170
|
+
"parameters": [
|
|
22171
|
+
{
|
|
22172
|
+
"name": "disabled",
|
|
22173
|
+
"type": {
|
|
22174
|
+
"text": "boolean"
|
|
22175
|
+
}
|
|
22176
|
+
}
|
|
22177
|
+
],
|
|
22178
|
+
"inheritedFrom": {
|
|
22179
|
+
"name": "FormAssociated",
|
|
22180
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
22181
|
+
}
|
|
21867
22182
|
}
|
|
21868
22183
|
],
|
|
21869
22184
|
"events": [
|
|
@@ -21906,8 +22221,8 @@
|
|
|
21906
22221
|
"text": "string"
|
|
21907
22222
|
},
|
|
21908
22223
|
"default": "''",
|
|
21909
|
-
"
|
|
21910
|
-
"
|
|
22224
|
+
"description": "Name for form submission",
|
|
22225
|
+
"fieldName": "name"
|
|
21911
22226
|
},
|
|
21912
22227
|
{
|
|
21913
22228
|
"name": "color",
|
|
@@ -21953,6 +22268,10 @@
|
|
|
21953
22268
|
{
|
|
21954
22269
|
"name": "DescribedBy",
|
|
21955
22270
|
"module": "/src/utilities/described-by-mixin.js"
|
|
22271
|
+
},
|
|
22272
|
+
{
|
|
22273
|
+
"name": "FormAssociated",
|
|
22274
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
21956
22275
|
}
|
|
21957
22276
|
],
|
|
21958
22277
|
"superclass": {
|
|
@@ -25119,7 +25438,7 @@
|
|
|
25119
25438
|
"declarations": [
|
|
25120
25439
|
{
|
|
25121
25440
|
"kind": "class",
|
|
25122
|
-
"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.
|
|
25441
|
+
"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.",
|
|
25123
25442
|
"name": "NLDDTextEditor",
|
|
25124
25443
|
"members": [
|
|
25125
25444
|
{
|
|
@@ -25155,12 +25474,12 @@
|
|
|
25155
25474
|
},
|
|
25156
25475
|
{
|
|
25157
25476
|
"kind": "field",
|
|
25158
|
-
"name": "
|
|
25477
|
+
"name": "embedded",
|
|
25159
25478
|
"type": {
|
|
25160
|
-
"text": "
|
|
25479
|
+
"text": "boolean"
|
|
25161
25480
|
},
|
|
25162
|
-
"default": "
|
|
25163
|
-
"attribute": "
|
|
25481
|
+
"default": "false",
|
|
25482
|
+
"attribute": "embedded",
|
|
25164
25483
|
"reflects": true
|
|
25165
25484
|
},
|
|
25166
25485
|
{
|
|
@@ -25959,19 +26278,19 @@
|
|
|
25959
26278
|
"description": "When the content is committed on blur (detail: { value })"
|
|
25960
26279
|
},
|
|
25961
26280
|
{
|
|
25962
|
-
"name": "
|
|
26281
|
+
"name": "state-change",
|
|
25963
26282
|
"description": "When the selection or content changes (detail: TextEditorState), for toolbar toggle state"
|
|
25964
26283
|
},
|
|
25965
26284
|
{
|
|
25966
|
-
"name": "
|
|
26285
|
+
"name": "mention",
|
|
25967
26286
|
"description": "When an @-mention is inserted (detail: MentionInsertedDetail with id, text, from, to; clean offsets, like getSelection())"
|
|
25968
26287
|
},
|
|
25969
26288
|
{
|
|
25970
|
-
"name": "
|
|
26289
|
+
"name": "typeahead",
|
|
25971
26290
|
"description": "When a candidate from one of the `typeaheads` is chosen (detail: TypeaheadChosenDetail with trigger, candidate, from, to; clean offsets)"
|
|
25972
26291
|
},
|
|
25973
26292
|
{
|
|
25974
|
-
"name": "
|
|
26293
|
+
"name": "annotation-click",
|
|
25975
26294
|
"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"
|
|
25976
26295
|
}
|
|
25977
26296
|
],
|
|
@@ -26007,16 +26326,13 @@
|
|
|
26007
26326
|
"description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
|
|
26008
26327
|
},
|
|
26009
26328
|
{
|
|
26010
|
-
"name": "
|
|
26329
|
+
"name": "embedded",
|
|
26011
26330
|
"type": {
|
|
26012
|
-
"text": "
|
|
26013
|
-
},
|
|
26014
|
-
"default": "'simple'",
|
|
26015
|
-
"fieldName": "appearance",
|
|
26016
|
-
"expandedType": {
|
|
26017
|
-
"text": "'input-field' | 'simple'"
|
|
26331
|
+
"text": "boolean"
|
|
26018
26332
|
},
|
|
26019
|
-
"
|
|
26333
|
+
"default": "false",
|
|
26334
|
+
"fieldName": "embedded",
|
|
26335
|
+
"description": "Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them"
|
|
26020
26336
|
},
|
|
26021
26337
|
{
|
|
26022
26338
|
"name": "syntax",
|
|
@@ -31651,7 +31967,7 @@
|
|
|
31651
31967
|
},
|
|
31652
31968
|
"default": "''",
|
|
31653
31969
|
"fieldName": "value",
|
|
31654
|
-
"description": "What the column stands for in your data, such as a status; `
|
|
31970
|
+
"description": "What the column stands for in your data, such as a status; `move` reports it as `fromColumn` and `toColumn`"
|
|
31655
31971
|
}
|
|
31656
31972
|
],
|
|
31657
31973
|
"superclass": {
|
|
@@ -31701,7 +32017,7 @@
|
|
|
31701
32017
|
"declarations": [
|
|
31702
32018
|
{
|
|
31703
32019
|
"kind": "class",
|
|
31704
|
-
"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 `
|
|
32020
|
+
"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.",
|
|
31705
32021
|
"name": "NLDDKanban",
|
|
31706
32022
|
"members": [
|
|
31707
32023
|
{
|
|
@@ -31788,11 +32104,11 @@
|
|
|
31788
32104
|
],
|
|
31789
32105
|
"events": [
|
|
31790
32106
|
{
|
|
31791
|
-
"name": "
|
|
32107
|
+
"name": "move",
|
|
31792
32108
|
"description": "An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)"
|
|
31793
32109
|
},
|
|
31794
32110
|
{
|
|
31795
|
-
"name": "
|
|
32111
|
+
"name": "move-denied",
|
|
31796
32112
|
"description": "An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`"
|
|
31797
32113
|
}
|
|
31798
32114
|
],
|
|
@@ -32009,7 +32325,7 @@
|
|
|
32009
32325
|
},
|
|
32010
32326
|
{
|
|
32011
32327
|
"kind": "class",
|
|
32012
|
-
"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.",
|
|
32328
|
+
"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.",
|
|
32013
32329
|
"name": "NLDDPageFooter",
|
|
32014
32330
|
"members": [
|
|
32015
32331
|
{
|
|
@@ -33393,10 +33709,13 @@
|
|
|
33393
33709
|
},
|
|
33394
33710
|
"tagName": "nldd-hero",
|
|
33395
33711
|
"customElement": true,
|
|
33712
|
+
"accepts": [
|
|
33713
|
+
"img"
|
|
33714
|
+
],
|
|
33396
33715
|
"slots": [
|
|
33397
33716
|
{
|
|
33398
33717
|
"name": "media",
|
|
33399
|
-
"description": "Image or illustration (img or nldd-image); fills the area and is clipped.
|
|
33718
|
+
"description": "Image or illustration (img or nldd-image); fills the area and is clipped."
|
|
33400
33719
|
},
|
|
33401
33720
|
{
|
|
33402
33721
|
"name": "",
|
|
@@ -36383,7 +36702,7 @@
|
|
|
36383
36702
|
"declarations": [
|
|
36384
36703
|
{
|
|
36385
36704
|
"kind": "class",
|
|
36386
|
-
"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.",
|
|
36705
|
+
"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.",
|
|
36387
36706
|
"name": "NLDDPopover",
|
|
36388
36707
|
"members": [
|
|
36389
36708
|
{
|
|
@@ -38213,6 +38532,17 @@
|
|
|
38213
38532
|
"attribute": "vertical-alignment",
|
|
38214
38533
|
"reflects": true
|
|
38215
38534
|
},
|
|
38535
|
+
{
|
|
38536
|
+
"kind": "field",
|
|
38537
|
+
"name": "reorderHandle",
|
|
38538
|
+
"default": "handle",
|
|
38539
|
+
"attribute": "reorder-handle",
|
|
38540
|
+
"reflects": true,
|
|
38541
|
+
"inheritedFrom": {
|
|
38542
|
+
"name": "ReorderHandleMixin",
|
|
38543
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38544
|
+
}
|
|
38545
|
+
},
|
|
38216
38546
|
{
|
|
38217
38547
|
"kind": "field",
|
|
38218
38548
|
"name": "rowHeader",
|
|
@@ -38312,6 +38642,15 @@
|
|
|
38312
38642
|
},
|
|
38313
38643
|
"description": "Vertical alignment of slotted content (default: 'center')"
|
|
38314
38644
|
},
|
|
38645
|
+
{
|
|
38646
|
+
"name": "reorder-handle",
|
|
38647
|
+
"default": "handle",
|
|
38648
|
+
"fieldName": "reorderHandle",
|
|
38649
|
+
"inheritedFrom": {
|
|
38650
|
+
"name": "ReorderHandleMixin",
|
|
38651
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38652
|
+
}
|
|
38653
|
+
},
|
|
38315
38654
|
{
|
|
38316
38655
|
"name": "row-header",
|
|
38317
38656
|
"type": {
|
|
@@ -38348,6 +38687,10 @@
|
|
|
38348
38687
|
}
|
|
38349
38688
|
],
|
|
38350
38689
|
"mixins": [
|
|
38690
|
+
{
|
|
38691
|
+
"name": "ReorderHandleMixin",
|
|
38692
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
38693
|
+
},
|
|
38351
38694
|
{
|
|
38352
38695
|
"name": "RowHeaderMixin",
|
|
38353
38696
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -38447,6 +38790,17 @@
|
|
|
38447
38790
|
"attribute": "vertical-alignment",
|
|
38448
38791
|
"reflects": true
|
|
38449
38792
|
},
|
|
38793
|
+
{
|
|
38794
|
+
"kind": "field",
|
|
38795
|
+
"name": "reorderHandle",
|
|
38796
|
+
"default": "handle",
|
|
38797
|
+
"attribute": "reorder-handle",
|
|
38798
|
+
"reflects": true,
|
|
38799
|
+
"inheritedFrom": {
|
|
38800
|
+
"name": "ReorderHandleMixin",
|
|
38801
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38802
|
+
}
|
|
38803
|
+
},
|
|
38450
38804
|
{
|
|
38451
38805
|
"kind": "field",
|
|
38452
38806
|
"name": "rowHeader",
|
|
@@ -38534,6 +38888,15 @@
|
|
|
38534
38888
|
},
|
|
38535
38889
|
"description": "Vertical alignment (default: 'center')"
|
|
38536
38890
|
},
|
|
38891
|
+
{
|
|
38892
|
+
"name": "reorder-handle",
|
|
38893
|
+
"default": "handle",
|
|
38894
|
+
"fieldName": "reorderHandle",
|
|
38895
|
+
"inheritedFrom": {
|
|
38896
|
+
"name": "ReorderHandleMixin",
|
|
38897
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
38898
|
+
}
|
|
38899
|
+
},
|
|
38537
38900
|
{
|
|
38538
38901
|
"name": "row-header",
|
|
38539
38902
|
"type": {
|
|
@@ -38570,6 +38933,10 @@
|
|
|
38570
38933
|
}
|
|
38571
38934
|
],
|
|
38572
38935
|
"mixins": [
|
|
38936
|
+
{
|
|
38937
|
+
"name": "ReorderHandleMixin",
|
|
38938
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
38939
|
+
},
|
|
38573
38940
|
{
|
|
38574
38941
|
"name": "RowHeaderMixin",
|
|
38575
38942
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -38616,86 +38983,6 @@
|
|
|
38616
38983
|
}
|
|
38617
38984
|
]
|
|
38618
38985
|
},
|
|
38619
|
-
{
|
|
38620
|
-
"kind": "javascript-module",
|
|
38621
|
-
"path": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts",
|
|
38622
|
-
"declarations": [
|
|
38623
|
-
{
|
|
38624
|
-
"kind": "class",
|
|
38625
|
-
"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.",
|
|
38626
|
-
"name": "NLDDDragHandleCell",
|
|
38627
|
-
"members": [
|
|
38628
|
-
{
|
|
38629
|
-
"kind": "field",
|
|
38630
|
-
"name": "size",
|
|
38631
|
-
"type": {
|
|
38632
|
-
"text": "Size"
|
|
38633
|
-
},
|
|
38634
|
-
"default": "'md'",
|
|
38635
|
-
"attribute": "size",
|
|
38636
|
-
"reflects": true
|
|
38637
|
-
},
|
|
38638
|
-
{
|
|
38639
|
-
"kind": "field",
|
|
38640
|
-
"name": "translations",
|
|
38641
|
-
"type": {
|
|
38642
|
-
"text": "Partial<NLDDDragHandleCellTranslations>"
|
|
38643
|
-
},
|
|
38644
|
-
"default": "{}",
|
|
38645
|
-
"description": "Override one or more translation keys. Unset keys fall back to the Dutch default.",
|
|
38646
|
-
"attribute": "translations"
|
|
38647
|
-
}
|
|
38648
|
-
],
|
|
38649
|
-
"attributes": [
|
|
38650
|
-
{
|
|
38651
|
-
"name": "size",
|
|
38652
|
-
"type": {
|
|
38653
|
-
"text": "Size"
|
|
38654
|
-
},
|
|
38655
|
-
"default": "'md'",
|
|
38656
|
-
"fieldName": "size",
|
|
38657
|
-
"expandedType": {
|
|
38658
|
-
"text": "'md' | 'sm'"
|
|
38659
|
-
},
|
|
38660
|
-
"description": "Handle size: 'sm' | 'md' (default: 'md')"
|
|
38661
|
-
},
|
|
38662
|
-
{
|
|
38663
|
-
"name": "translations",
|
|
38664
|
-
"type": {
|
|
38665
|
-
"text": "Partial<NLDDDragHandleCellTranslations>"
|
|
38666
|
-
},
|
|
38667
|
-
"default": "{}",
|
|
38668
|
-
"description": "Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.",
|
|
38669
|
-
"fieldName": "translations"
|
|
38670
|
-
}
|
|
38671
|
-
],
|
|
38672
|
-
"superclass": {
|
|
38673
|
-
"name": "LitElement",
|
|
38674
|
-
"package": "lit"
|
|
38675
|
-
},
|
|
38676
|
-
"tagName": "nldd-drag-handle-cell",
|
|
38677
|
-
"customElement": true
|
|
38678
|
-
}
|
|
38679
|
-
],
|
|
38680
|
-
"exports": [
|
|
38681
|
-
{
|
|
38682
|
-
"kind": "js",
|
|
38683
|
-
"name": "NLDDDragHandleCell",
|
|
38684
|
-
"declaration": {
|
|
38685
|
-
"name": "NLDDDragHandleCell",
|
|
38686
|
-
"module": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts"
|
|
38687
|
-
}
|
|
38688
|
-
},
|
|
38689
|
-
{
|
|
38690
|
-
"kind": "custom-element-definition",
|
|
38691
|
-
"name": "nldd-drag-handle-cell",
|
|
38692
|
-
"declaration": {
|
|
38693
|
-
"name": "NLDDDragHandleCell",
|
|
38694
|
-
"module": "src/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.ts"
|
|
38695
|
-
}
|
|
38696
|
-
}
|
|
38697
|
-
]
|
|
38698
|
-
},
|
|
38699
38986
|
{
|
|
38700
38987
|
"kind": "javascript-module",
|
|
38701
38988
|
"path": "src/components/lists-and-tables/cells/icon-cell/icon-cell.ts",
|
|
@@ -38745,6 +39032,17 @@
|
|
|
38745
39032
|
"attribute": "icon",
|
|
38746
39033
|
"reflects": true
|
|
38747
39034
|
},
|
|
39035
|
+
{
|
|
39036
|
+
"kind": "field",
|
|
39037
|
+
"name": "reorderHandle",
|
|
39038
|
+
"default": "handle",
|
|
39039
|
+
"attribute": "reorder-handle",
|
|
39040
|
+
"reflects": true,
|
|
39041
|
+
"inheritedFrom": {
|
|
39042
|
+
"name": "ReorderHandleMixin",
|
|
39043
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39044
|
+
}
|
|
39045
|
+
},
|
|
38748
39046
|
{
|
|
38749
39047
|
"kind": "field",
|
|
38750
39048
|
"name": "hideBelow",
|
|
@@ -38818,6 +39116,15 @@
|
|
|
38818
39116
|
"fieldName": "icon",
|
|
38819
39117
|
"description": "Icon name (renders `<nldd-icon>`). Content in the default slot wins."
|
|
38820
39118
|
},
|
|
39119
|
+
{
|
|
39120
|
+
"name": "reorder-handle",
|
|
39121
|
+
"default": "handle",
|
|
39122
|
+
"fieldName": "reorderHandle",
|
|
39123
|
+
"inheritedFrom": {
|
|
39124
|
+
"name": "ReorderHandleMixin",
|
|
39125
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39126
|
+
}
|
|
39127
|
+
},
|
|
38821
39128
|
{
|
|
38822
39129
|
"name": "hide-below",
|
|
38823
39130
|
"type": {
|
|
@@ -38849,6 +39156,10 @@
|
|
|
38849
39156
|
}
|
|
38850
39157
|
],
|
|
38851
39158
|
"mixins": [
|
|
39159
|
+
{
|
|
39160
|
+
"name": "ReorderHandleMixin",
|
|
39161
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39162
|
+
},
|
|
38852
39163
|
{
|
|
38853
39164
|
"name": "VisibilityMixin",
|
|
38854
39165
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -38887,6 +39198,112 @@
|
|
|
38887
39198
|
}
|
|
38888
39199
|
]
|
|
38889
39200
|
},
|
|
39201
|
+
{
|
|
39202
|
+
"kind": "javascript-module",
|
|
39203
|
+
"path": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts",
|
|
39204
|
+
"declarations": [
|
|
39205
|
+
{
|
|
39206
|
+
"kind": "class",
|
|
39207
|
+
"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.",
|
|
39208
|
+
"name": "NLDDReorderHandleCell",
|
|
39209
|
+
"members": [
|
|
39210
|
+
{
|
|
39211
|
+
"kind": "field",
|
|
39212
|
+
"name": "size",
|
|
39213
|
+
"type": {
|
|
39214
|
+
"text": "Size"
|
|
39215
|
+
},
|
|
39216
|
+
"default": "'md'",
|
|
39217
|
+
"attribute": "size",
|
|
39218
|
+
"reflects": true
|
|
39219
|
+
},
|
|
39220
|
+
{
|
|
39221
|
+
"kind": "field",
|
|
39222
|
+
"name": "translations",
|
|
39223
|
+
"type": {
|
|
39224
|
+
"text": "Partial<NLDDReorderHandleCellTranslations>"
|
|
39225
|
+
},
|
|
39226
|
+
"default": "{}",
|
|
39227
|
+
"description": "Override one or more translation keys. Unset keys fall back to the Dutch default.",
|
|
39228
|
+
"attribute": "translations"
|
|
39229
|
+
},
|
|
39230
|
+
{
|
|
39231
|
+
"kind": "field",
|
|
39232
|
+
"name": "reorderHandle",
|
|
39233
|
+
"default": "handle",
|
|
39234
|
+
"attribute": "reorder-handle",
|
|
39235
|
+
"reflects": true,
|
|
39236
|
+
"inheritedFrom": {
|
|
39237
|
+
"name": "ReorderHandleMixin",
|
|
39238
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39239
|
+
}
|
|
39240
|
+
}
|
|
39241
|
+
],
|
|
39242
|
+
"attributes": [
|
|
39243
|
+
{
|
|
39244
|
+
"name": "size",
|
|
39245
|
+
"type": {
|
|
39246
|
+
"text": "Size"
|
|
39247
|
+
},
|
|
39248
|
+
"default": "'md'",
|
|
39249
|
+
"fieldName": "size",
|
|
39250
|
+
"expandedType": {
|
|
39251
|
+
"text": "'md' | 'sm'"
|
|
39252
|
+
},
|
|
39253
|
+
"description": "Handle size: 'sm' | 'md' (default: 'md')"
|
|
39254
|
+
},
|
|
39255
|
+
{
|
|
39256
|
+
"name": "translations",
|
|
39257
|
+
"type": {
|
|
39258
|
+
"text": "Partial<NLDDReorderHandleCellTranslations>"
|
|
39259
|
+
},
|
|
39260
|
+
"default": "{}",
|
|
39261
|
+
"description": "Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.",
|
|
39262
|
+
"fieldName": "translations"
|
|
39263
|
+
},
|
|
39264
|
+
{
|
|
39265
|
+
"name": "reorder-handle",
|
|
39266
|
+
"default": "handle",
|
|
39267
|
+
"fieldName": "reorderHandle",
|
|
39268
|
+
"inheritedFrom": {
|
|
39269
|
+
"name": "ReorderHandleMixin",
|
|
39270
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39271
|
+
}
|
|
39272
|
+
}
|
|
39273
|
+
],
|
|
39274
|
+
"mixins": [
|
|
39275
|
+
{
|
|
39276
|
+
"name": "ReorderHandleMixin",
|
|
39277
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39278
|
+
}
|
|
39279
|
+
],
|
|
39280
|
+
"superclass": {
|
|
39281
|
+
"name": "LitElement",
|
|
39282
|
+
"package": "lit"
|
|
39283
|
+
},
|
|
39284
|
+
"tagName": "nldd-reorder-handle-cell",
|
|
39285
|
+
"customElement": true
|
|
39286
|
+
}
|
|
39287
|
+
],
|
|
39288
|
+
"exports": [
|
|
39289
|
+
{
|
|
39290
|
+
"kind": "js",
|
|
39291
|
+
"name": "NLDDReorderHandleCell",
|
|
39292
|
+
"declaration": {
|
|
39293
|
+
"name": "NLDDReorderHandleCell",
|
|
39294
|
+
"module": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"
|
|
39295
|
+
}
|
|
39296
|
+
},
|
|
39297
|
+
{
|
|
39298
|
+
"kind": "custom-element-definition",
|
|
39299
|
+
"name": "nldd-reorder-handle-cell",
|
|
39300
|
+
"declaration": {
|
|
39301
|
+
"name": "NLDDReorderHandleCell",
|
|
39302
|
+
"module": "src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"
|
|
39303
|
+
}
|
|
39304
|
+
}
|
|
39305
|
+
]
|
|
39306
|
+
},
|
|
38890
39307
|
{
|
|
38891
39308
|
"kind": "javascript-module",
|
|
38892
39309
|
"path": "src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts",
|
|
@@ -38906,6 +39323,17 @@
|
|
|
38906
39323
|
"attribute": "size",
|
|
38907
39324
|
"reflects": true
|
|
38908
39325
|
},
|
|
39326
|
+
{
|
|
39327
|
+
"kind": "field",
|
|
39328
|
+
"name": "reorderHandle",
|
|
39329
|
+
"default": "handle",
|
|
39330
|
+
"attribute": "reorder-handle",
|
|
39331
|
+
"reflects": true,
|
|
39332
|
+
"inheritedFrom": {
|
|
39333
|
+
"name": "ReorderHandleMixin",
|
|
39334
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39335
|
+
}
|
|
39336
|
+
},
|
|
38909
39337
|
{
|
|
38910
39338
|
"kind": "field",
|
|
38911
39339
|
"name": "hideBelow",
|
|
@@ -38946,6 +39374,15 @@
|
|
|
38946
39374
|
},
|
|
38947
39375
|
"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')"
|
|
38948
39376
|
},
|
|
39377
|
+
{
|
|
39378
|
+
"name": "reorder-handle",
|
|
39379
|
+
"default": "handle",
|
|
39380
|
+
"fieldName": "reorderHandle",
|
|
39381
|
+
"inheritedFrom": {
|
|
39382
|
+
"name": "ReorderHandleMixin",
|
|
39383
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39384
|
+
}
|
|
39385
|
+
},
|
|
38949
39386
|
{
|
|
38950
39387
|
"name": "hide-below",
|
|
38951
39388
|
"type": {
|
|
@@ -38970,6 +39407,10 @@
|
|
|
38970
39407
|
}
|
|
38971
39408
|
],
|
|
38972
39409
|
"mixins": [
|
|
39410
|
+
{
|
|
39411
|
+
"name": "ReorderHandleMixin",
|
|
39412
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39413
|
+
},
|
|
38973
39414
|
{
|
|
38974
39415
|
"name": "VisibilityMixin",
|
|
38975
39416
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -39122,6 +39563,17 @@
|
|
|
39122
39563
|
"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.",
|
|
39123
39564
|
"readonly": true
|
|
39124
39565
|
},
|
|
39566
|
+
{
|
|
39567
|
+
"kind": "field",
|
|
39568
|
+
"name": "reorderHandle",
|
|
39569
|
+
"default": "handle",
|
|
39570
|
+
"attribute": "reorder-handle",
|
|
39571
|
+
"reflects": true,
|
|
39572
|
+
"inheritedFrom": {
|
|
39573
|
+
"name": "ReorderHandleMixin",
|
|
39574
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39575
|
+
}
|
|
39576
|
+
},
|
|
39125
39577
|
{
|
|
39126
39578
|
"kind": "field",
|
|
39127
39579
|
"name": "hideBelow",
|
|
@@ -39261,6 +39713,15 @@
|
|
|
39261
39713
|
"fieldName": "icon",
|
|
39262
39714
|
"description": "Icon name in the dot; wins over `text`"
|
|
39263
39715
|
},
|
|
39716
|
+
{
|
|
39717
|
+
"name": "reorder-handle",
|
|
39718
|
+
"default": "handle",
|
|
39719
|
+
"fieldName": "reorderHandle",
|
|
39720
|
+
"inheritedFrom": {
|
|
39721
|
+
"name": "ReorderHandleMixin",
|
|
39722
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39723
|
+
}
|
|
39724
|
+
},
|
|
39264
39725
|
{
|
|
39265
39726
|
"name": "hide-below",
|
|
39266
39727
|
"type": {
|
|
@@ -39285,6 +39746,10 @@
|
|
|
39285
39746
|
}
|
|
39286
39747
|
],
|
|
39287
39748
|
"mixins": [
|
|
39749
|
+
{
|
|
39750
|
+
"name": "ReorderHandleMixin",
|
|
39751
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
39752
|
+
},
|
|
39288
39753
|
{
|
|
39289
39754
|
"name": "VisibilityMixin",
|
|
39290
39755
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -39458,6 +39923,17 @@
|
|
|
39458
39923
|
"default": "'predictive'",
|
|
39459
39924
|
"attribute": "query-mark-mode"
|
|
39460
39925
|
},
|
|
39926
|
+
{
|
|
39927
|
+
"kind": "field",
|
|
39928
|
+
"name": "reorderHandle",
|
|
39929
|
+
"default": "handle",
|
|
39930
|
+
"attribute": "reorder-handle",
|
|
39931
|
+
"reflects": true,
|
|
39932
|
+
"inheritedFrom": {
|
|
39933
|
+
"name": "ReorderHandleMixin",
|
|
39934
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
39935
|
+
}
|
|
39936
|
+
},
|
|
39461
39937
|
{
|
|
39462
39938
|
"kind": "field",
|
|
39463
39939
|
"name": "rowHeader",
|
|
@@ -39629,6 +40105,15 @@
|
|
|
39629
40105
|
},
|
|
39630
40106
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
39631
40107
|
},
|
|
40108
|
+
{
|
|
40109
|
+
"name": "reorder-handle",
|
|
40110
|
+
"default": "handle",
|
|
40111
|
+
"fieldName": "reorderHandle",
|
|
40112
|
+
"inheritedFrom": {
|
|
40113
|
+
"name": "ReorderHandleMixin",
|
|
40114
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40115
|
+
}
|
|
40116
|
+
},
|
|
39632
40117
|
{
|
|
39633
40118
|
"name": "row-header",
|
|
39634
40119
|
"type": {
|
|
@@ -39665,6 +40150,10 @@
|
|
|
39665
40150
|
}
|
|
39666
40151
|
],
|
|
39667
40152
|
"mixins": [
|
|
40153
|
+
{
|
|
40154
|
+
"name": "ReorderHandleMixin",
|
|
40155
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
40156
|
+
},
|
|
39668
40157
|
{
|
|
39669
40158
|
"name": "RowHeaderMixin",
|
|
39670
40159
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -39730,7 +40219,7 @@
|
|
|
39730
40219
|
"type": {
|
|
39731
40220
|
"text": "TitleCellSize | undefined"
|
|
39732
40221
|
},
|
|
39733
|
-
"description": "Unset looks like 5, and like 6 in an nldd-table-row
|
|
40222
|
+
"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.",
|
|
39734
40223
|
"attribute": "size",
|
|
39735
40224
|
"reflects": true
|
|
39736
40225
|
},
|
|
@@ -39860,6 +40349,17 @@
|
|
|
39860
40349
|
"default": "'predictive'",
|
|
39861
40350
|
"attribute": "query-mark-mode"
|
|
39862
40351
|
},
|
|
40352
|
+
{
|
|
40353
|
+
"kind": "field",
|
|
40354
|
+
"name": "reorderHandle",
|
|
40355
|
+
"default": "handle",
|
|
40356
|
+
"attribute": "reorder-handle",
|
|
40357
|
+
"reflects": true,
|
|
40358
|
+
"inheritedFrom": {
|
|
40359
|
+
"name": "ReorderHandleMixin",
|
|
40360
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40361
|
+
}
|
|
40362
|
+
},
|
|
39863
40363
|
{
|
|
39864
40364
|
"kind": "field",
|
|
39865
40365
|
"name": "rowHeader",
|
|
@@ -39907,10 +40407,10 @@
|
|
|
39907
40407
|
"type": {
|
|
39908
40408
|
"text": "TitleCellSize | undefined"
|
|
39909
40409
|
},
|
|
39910
|
-
"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)",
|
|
40410
|
+
"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",
|
|
39911
40411
|
"fieldName": "size",
|
|
39912
40412
|
"expandedType": {
|
|
39913
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
40413
|
+
"text": "'display-1' | 'display-2' | 'display-3' | 'display-4' | 'display-5' | 'display-6'"
|
|
39914
40414
|
}
|
|
39915
40415
|
},
|
|
39916
40416
|
{
|
|
@@ -40039,6 +40539,15 @@
|
|
|
40039
40539
|
},
|
|
40040
40540
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
40041
40541
|
},
|
|
40542
|
+
{
|
|
40543
|
+
"name": "reorder-handle",
|
|
40544
|
+
"default": "handle",
|
|
40545
|
+
"fieldName": "reorderHandle",
|
|
40546
|
+
"inheritedFrom": {
|
|
40547
|
+
"name": "ReorderHandleMixin",
|
|
40548
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
40549
|
+
}
|
|
40550
|
+
},
|
|
40042
40551
|
{
|
|
40043
40552
|
"name": "row-header",
|
|
40044
40553
|
"type": {
|
|
@@ -40075,6 +40584,10 @@
|
|
|
40075
40584
|
}
|
|
40076
40585
|
],
|
|
40077
40586
|
"mixins": [
|
|
40587
|
+
{
|
|
40588
|
+
"name": "ReorderHandleMixin",
|
|
40589
|
+
"module": "/src/utilities/reorder-handle-mixin.js"
|
|
40590
|
+
},
|
|
40078
40591
|
{
|
|
40079
40592
|
"name": "RowHeaderMixin",
|
|
40080
40593
|
"module": "/src/utilities/row-header-mixin.js"
|
|
@@ -40590,16 +41103,6 @@
|
|
|
40590
41103
|
"kind": "class",
|
|
40591
41104
|
"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`).",
|
|
40592
41105
|
"name": "NLDDListItem",
|
|
40593
|
-
"slots": [
|
|
40594
|
-
{
|
|
40595
|
-
"name": "",
|
|
40596
|
-
"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."
|
|
40597
|
-
},
|
|
40598
|
-
{
|
|
40599
|
-
"name": "children",
|
|
40600
|
-
"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."
|
|
40601
|
-
}
|
|
40602
|
-
],
|
|
40603
41106
|
"members": [
|
|
40604
41107
|
{
|
|
40605
41108
|
"kind": "field",
|
|
@@ -40831,166 +41334,160 @@
|
|
|
40831
41334
|
}
|
|
40832
41335
|
}
|
|
40833
41336
|
],
|
|
40834
|
-
"events": [
|
|
40835
|
-
{
|
|
40836
|
-
"name": "change",
|
|
40837
|
-
"description": "On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }"
|
|
40838
|
-
}
|
|
40839
|
-
],
|
|
40840
41337
|
"attributes": [
|
|
40841
41338
|
{
|
|
41339
|
+
"name": "size",
|
|
40842
41340
|
"type": {
|
|
40843
41341
|
"text": "ListItemSize"
|
|
40844
41342
|
},
|
|
40845
|
-
"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.",
|
|
40846
|
-
"name": "size",
|
|
40847
41343
|
"default": "'md'",
|
|
40848
41344
|
"fieldName": "size",
|
|
40849
41345
|
"expandedType": {
|
|
40850
41346
|
"text": "'md' | 'sm'"
|
|
40851
|
-
}
|
|
41347
|
+
},
|
|
41348
|
+
"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."
|
|
40852
41349
|
},
|
|
40853
41350
|
{
|
|
41351
|
+
"name": "href",
|
|
40854
41352
|
"type": {
|
|
40855
41353
|
"text": "string | undefined"
|
|
40856
41354
|
},
|
|
40857
41355
|
"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.",
|
|
40858
|
-
"name": "href",
|
|
40859
41356
|
"fieldName": "href"
|
|
40860
41357
|
},
|
|
40861
41358
|
{
|
|
41359
|
+
"name": "target",
|
|
40862
41360
|
"type": {
|
|
40863
41361
|
"text": "string | undefined"
|
|
40864
41362
|
},
|
|
40865
41363
|
"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.",
|
|
40866
|
-
"name": "target",
|
|
40867
41364
|
"fieldName": "target"
|
|
40868
41365
|
},
|
|
40869
41366
|
{
|
|
41367
|
+
"name": "download",
|
|
40870
41368
|
"type": {
|
|
40871
41369
|
"text": "string | undefined"
|
|
40872
41370
|
},
|
|
40873
|
-
"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.",
|
|
40874
|
-
"name": "download",
|
|
40875
41371
|
"default": "undefined",
|
|
41372
|
+
"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.",
|
|
40876
41373
|
"fieldName": "download"
|
|
40877
41374
|
},
|
|
40878
41375
|
{
|
|
41376
|
+
"name": "rel",
|
|
40879
41377
|
"type": {
|
|
40880
41378
|
"text": "string | undefined"
|
|
40881
41379
|
},
|
|
40882
41380
|
"description": "Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set",
|
|
40883
|
-
"name": "rel",
|
|
40884
41381
|
"fieldName": "rel"
|
|
40885
41382
|
},
|
|
40886
41383
|
{
|
|
41384
|
+
"name": "button",
|
|
40887
41385
|
"type": {
|
|
40888
41386
|
"text": "boolean"
|
|
40889
41387
|
},
|
|
40890
|
-
"description": "Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
40891
|
-
"name": "button",
|
|
40892
41388
|
"default": "false",
|
|
41389
|
+
"description": "Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
40893
41390
|
"fieldName": "button"
|
|
40894
41391
|
},
|
|
40895
41392
|
{
|
|
41393
|
+
"name": "checkbox",
|
|
40896
41394
|
"type": {
|
|
40897
41395
|
"text": "boolean"
|
|
40898
41396
|
},
|
|
40899
|
-
"description": "Makes the whole row a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
40900
|
-
"name": "checkbox",
|
|
40901
41397
|
"default": "false",
|
|
41398
|
+
"description": "Makes the whole row a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
40902
41399
|
"fieldName": "checkbox"
|
|
40903
41400
|
},
|
|
40904
41401
|
{
|
|
41402
|
+
"name": "radio",
|
|
40905
41403
|
"type": {
|
|
40906
41404
|
"text": "boolean"
|
|
40907
41405
|
},
|
|
40908
|
-
"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.",
|
|
40909
|
-
"name": "radio",
|
|
40910
41406
|
"default": "false",
|
|
41407
|
+
"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.",
|
|
40911
41408
|
"fieldName": "radio"
|
|
40912
41409
|
},
|
|
40913
41410
|
{
|
|
41411
|
+
"name": "expandable",
|
|
40914
41412
|
"type": {
|
|
40915
41413
|
"text": "boolean"
|
|
40916
41414
|
},
|
|
40917
|
-
"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.",
|
|
40918
|
-
"name": "expandable",
|
|
40919
41415
|
"default": "false",
|
|
41416
|
+
"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.",
|
|
40920
41417
|
"fieldName": "expandable"
|
|
40921
41418
|
},
|
|
40922
41419
|
{
|
|
41420
|
+
"name": "accessible-label",
|
|
40923
41421
|
"type": {
|
|
40924
41422
|
"text": "string"
|
|
40925
41423
|
},
|
|
40926
|
-
"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.",
|
|
40927
|
-
"name": "accessible-label",
|
|
40928
41424
|
"default": "''",
|
|
41425
|
+
"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.",
|
|
40929
41426
|
"fieldName": "accessibleLabel"
|
|
40930
41427
|
},
|
|
40931
41428
|
{
|
|
41429
|
+
"name": "reorderable",
|
|
40932
41430
|
"type": {
|
|
40933
41431
|
"text": "boolean"
|
|
40934
41432
|
},
|
|
40935
|
-
"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.",
|
|
40936
|
-
"name": "reorderable",
|
|
40937
41433
|
"default": "false",
|
|
41434
|
+
"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.",
|
|
40938
41435
|
"fieldName": "reorderable"
|
|
40939
41436
|
},
|
|
40940
41437
|
{
|
|
41438
|
+
"name": "selected",
|
|
40941
41439
|
"type": {
|
|
40942
41440
|
"text": "boolean"
|
|
40943
41441
|
},
|
|
40944
|
-
"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`.",
|
|
40945
|
-
"name": "selected",
|
|
40946
41442
|
"default": "false",
|
|
40947
|
-
"fieldName": "selected"
|
|
41443
|
+
"fieldName": "selected",
|
|
41444
|
+
"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`."
|
|
40948
41445
|
},
|
|
40949
41446
|
{
|
|
41447
|
+
"name": "checked",
|
|
40950
41448
|
"type": {
|
|
40951
41449
|
"text": "boolean"
|
|
40952
41450
|
},
|
|
40953
|
-
"description": "Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it",
|
|
40954
|
-
"name": "checked",
|
|
40955
41451
|
"default": "false",
|
|
41452
|
+
"description": "Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it",
|
|
40956
41453
|
"fieldName": "checked"
|
|
40957
41454
|
},
|
|
40958
41455
|
{
|
|
41456
|
+
"name": "expanded",
|
|
40959
41457
|
"type": {
|
|
40960
41458
|
"text": "boolean | undefined"
|
|
40961
41459
|
},
|
|
40962
41460
|
"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.",
|
|
40963
|
-
"name": "expanded",
|
|
40964
41461
|
"fieldName": "expanded"
|
|
40965
41462
|
},
|
|
40966
41463
|
{
|
|
41464
|
+
"name": "current",
|
|
40967
41465
|
"type": {
|
|
40968
41466
|
"text": "boolean"
|
|
40969
41467
|
},
|
|
40970
|
-
"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.",
|
|
40971
|
-
"name": "current",
|
|
40972
41468
|
"default": "false",
|
|
41469
|
+
"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.",
|
|
40973
41470
|
"fieldName": "current"
|
|
40974
41471
|
},
|
|
40975
41472
|
{
|
|
41473
|
+
"name": "current-type",
|
|
40976
41474
|
"type": {
|
|
40977
41475
|
"text": "'page' | 'step' | 'location' | 'date' | 'time' | 'true'"
|
|
40978
41476
|
},
|
|
40979
|
-
"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.",
|
|
40980
|
-
"name": "current-type",
|
|
40981
41477
|
"default": "'page'",
|
|
41478
|
+
"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.",
|
|
40982
41479
|
"fieldName": "currentType",
|
|
40983
41480
|
"expandedType": {
|
|
40984
41481
|
"text": "'date' | 'location' | 'page' | 'step' | 'time' | 'true'"
|
|
40985
41482
|
}
|
|
40986
41483
|
},
|
|
40987
41484
|
{
|
|
41485
|
+
"name": "disabled",
|
|
40988
41486
|
"type": {
|
|
40989
41487
|
"text": "boolean"
|
|
40990
41488
|
},
|
|
40991
|
-
"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.",
|
|
40992
|
-
"name": "disabled",
|
|
40993
41489
|
"default": "false",
|
|
41490
|
+
"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.",
|
|
40994
41491
|
"fieldName": "disabled"
|
|
40995
41492
|
},
|
|
40996
41493
|
{
|
|
@@ -41005,14 +41502,6 @@
|
|
|
41005
41502
|
"module": "src/utilities/with-translations.ts"
|
|
41006
41503
|
}
|
|
41007
41504
|
},
|
|
41008
|
-
{
|
|
41009
|
-
"name": "reorderable-only",
|
|
41010
|
-
"description": "Show this cell only while the row is `reorderable`",
|
|
41011
|
-
"type": {
|
|
41012
|
-
"text": "boolean"
|
|
41013
|
-
},
|
|
41014
|
-
"forChildren": true
|
|
41015
|
-
},
|
|
41016
41505
|
{
|
|
41017
41506
|
"name": "divider-start",
|
|
41018
41507
|
"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.",
|
|
@@ -41041,7 +41530,23 @@
|
|
|
41041
41530
|
"package": "lit"
|
|
41042
41531
|
},
|
|
41043
41532
|
"tagName": "nldd-list-item",
|
|
41044
|
-
"customElement": true
|
|
41533
|
+
"customElement": true,
|
|
41534
|
+
"events": [
|
|
41535
|
+
{
|
|
41536
|
+
"name": "change",
|
|
41537
|
+
"description": "On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }"
|
|
41538
|
+
}
|
|
41539
|
+
],
|
|
41540
|
+
"slots": [
|
|
41541
|
+
{
|
|
41542
|
+
"name": "",
|
|
41543
|
+
"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."
|
|
41544
|
+
},
|
|
41545
|
+
{
|
|
41546
|
+
"name": "children",
|
|
41547
|
+
"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."
|
|
41548
|
+
}
|
|
41549
|
+
]
|
|
41045
41550
|
}
|
|
41046
41551
|
],
|
|
41047
41552
|
"exports": [
|
|
@@ -41069,7 +41574,7 @@
|
|
|
41069
41574
|
"declarations": [
|
|
41070
41575
|
{
|
|
41071
41576
|
"kind": "class",
|
|
41072
|
-
"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 `
|
|
41577
|
+
"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.",
|
|
41073
41578
|
"name": "NLDDList",
|
|
41074
41579
|
"slots": [
|
|
41075
41580
|
{
|
|
@@ -41172,7 +41677,7 @@
|
|
|
41172
41677
|
],
|
|
41173
41678
|
"events": [
|
|
41174
41679
|
{
|
|
41175
|
-
"name": "
|
|
41680
|
+
"name": "reorder",
|
|
41176
41681
|
"description": "Reorderable `type=\"list\"`: `{ fromIndex, toIndex }` on drop"
|
|
41177
41682
|
},
|
|
41178
41683
|
{
|
|
@@ -41927,19 +42432,19 @@
|
|
|
41927
42432
|
],
|
|
41928
42433
|
"events": [
|
|
41929
42434
|
{
|
|
41930
|
-
"name": "
|
|
42435
|
+
"name": "tab-change",
|
|
41931
42436
|
"description": "Fired when a tab is selected; detail: { item }"
|
|
41932
42437
|
},
|
|
41933
42438
|
{
|
|
41934
|
-
"name": "
|
|
42439
|
+
"name": "tab-dismiss",
|
|
41935
42440
|
"description": "Fired when a tab is dismissed; detail: { item, nextItem }"
|
|
41936
42441
|
},
|
|
41937
42442
|
{
|
|
41938
|
-
"name": "
|
|
42443
|
+
"name": "tab-empty",
|
|
41939
42444
|
"description": "Fired when the last tab is dismissed"
|
|
41940
42445
|
},
|
|
41941
42446
|
{
|
|
41942
|
-
"name": "
|
|
42447
|
+
"name": "reorder",
|
|
41943
42448
|
"description": "Fired when a tab is moved, by dragging or with Shift+Arrow; detail: { fromIndex, toIndex }"
|
|
41944
42449
|
}
|
|
41945
42450
|
],
|
|
@@ -43495,7 +44000,7 @@
|
|
|
43495
44000
|
],
|
|
43496
44001
|
"events": [
|
|
43497
44002
|
{
|
|
43498
|
-
"name": "
|
|
44003
|
+
"name": "tab-change",
|
|
43499
44004
|
"description": "When a tab is selected; detail: { item: NLDDTabBarItem }"
|
|
43500
44005
|
}
|
|
43501
44006
|
],
|
|
@@ -44882,7 +45387,7 @@
|
|
|
44882
45387
|
"slots": [
|
|
44883
45388
|
{
|
|
44884
45389
|
"name": "",
|
|
44885
|
-
"description": "Optional
|
|
45390
|
+
"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`."
|
|
44886
45391
|
},
|
|
44887
45392
|
{
|
|
44888
45393
|
"name": "actions",
|
|
@@ -45102,7 +45607,7 @@
|
|
|
45102
45607
|
},
|
|
45103
45608
|
{
|
|
45104
45609
|
"name": "actions",
|
|
45105
|
-
"description": "nldd-button elements,
|
|
45610
|
+
"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."
|
|
45106
45611
|
}
|
|
45107
45612
|
]
|
|
45108
45613
|
}
|
|
@@ -45132,7 +45637,7 @@
|
|
|
45132
45637
|
"declarations": [
|
|
45133
45638
|
{
|
|
45134
45639
|
"kind": "class",
|
|
45135
|
-
"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
|
|
45640
|
+
"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.",
|
|
45136
45641
|
"name": "NLDDJustInTimeEducation",
|
|
45137
45642
|
"members": [
|
|
45138
45643
|
{
|
|
@@ -45231,8 +45736,8 @@
|
|
|
45231
45736
|
],
|
|
45232
45737
|
"events": [
|
|
45233
45738
|
{
|
|
45234
|
-
"name": "
|
|
45235
|
-
"description": "When the coach mark closes. detail: { reason: 'completed' | 'dismissed' | 'ignored' }."
|
|
45739
|
+
"name": "close",
|
|
45740
|
+
"description": "When the coach mark closes. detail: { reason: 'completed' | 'dismissed' | 'ignored' }. Does not bubble, like `close` on a dialog."
|
|
45236
45741
|
}
|
|
45237
45742
|
],
|
|
45238
45743
|
"attributes": [
|
|
@@ -45546,7 +46051,7 @@
|
|
|
45546
46051
|
},
|
|
45547
46052
|
{
|
|
45548
46053
|
"name": "actions",
|
|
45549
|
-
"description": "nldd-button elements, forwarded to nldd-inline-dialog"
|
|
46054
|
+
"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."
|
|
45550
46055
|
},
|
|
45551
46056
|
{
|
|
45552
46057
|
"name": "notifications",
|
|
@@ -47134,7 +47639,7 @@
|
|
|
47134
47639
|
"type": {
|
|
47135
47640
|
"text": "Record<string, () => Promise<unknown>>"
|
|
47136
47641
|
},
|
|
47137
|
-
"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'), }",
|
|
47642
|
+
"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'), }",
|
|
47138
47643
|
"description": "Per nldd-* tag, a dynamic import of the module that defines it."
|
|
47139
47644
|
}
|
|
47140
47645
|
],
|
|
@@ -48670,6 +49175,24 @@
|
|
|
48670
49175
|
"kind": "javascript-module",
|
|
48671
49176
|
"path": "src/utilities/form-associated-mixin.ts",
|
|
48672
49177
|
"declarations": [
|
|
49178
|
+
{
|
|
49179
|
+
"kind": "function",
|
|
49180
|
+
"name": "uncheckedValidity",
|
|
49181
|
+
"return": {
|
|
49182
|
+
"type": {
|
|
49183
|
+
"text": "OwnValidity | null"
|
|
49184
|
+
}
|
|
49185
|
+
},
|
|
49186
|
+
"parameters": [
|
|
49187
|
+
{
|
|
49188
|
+
"name": "field",
|
|
49189
|
+
"type": {
|
|
49190
|
+
"text": "{ required: boolean; checked: boolean; disabled: boolean }"
|
|
49191
|
+
}
|
|
49192
|
+
}
|
|
49193
|
+
],
|
|
49194
|
+
"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."
|
|
49195
|
+
},
|
|
48673
49196
|
{
|
|
48674
49197
|
"kind": "mixin",
|
|
48675
49198
|
"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.",
|
|
@@ -48815,6 +49338,14 @@
|
|
|
48815
49338
|
}
|
|
48816
49339
|
],
|
|
48817
49340
|
"exports": [
|
|
49341
|
+
{
|
|
49342
|
+
"kind": "js",
|
|
49343
|
+
"name": "uncheckedValidity",
|
|
49344
|
+
"declaration": {
|
|
49345
|
+
"name": "uncheckedValidity",
|
|
49346
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
49347
|
+
}
|
|
49348
|
+
},
|
|
48818
49349
|
{
|
|
48819
49350
|
"kind": "js",
|
|
48820
49351
|
"name": "FormAssociated",
|
|
@@ -50355,6 +50886,55 @@
|
|
|
50355
50886
|
}
|
|
50356
50887
|
]
|
|
50357
50888
|
},
|
|
50889
|
+
{
|
|
50890
|
+
"kind": "javascript-module",
|
|
50891
|
+
"path": "src/utilities/reorder-handle-mixin.ts",
|
|
50892
|
+
"declarations": [
|
|
50893
|
+
{
|
|
50894
|
+
"kind": "mixin",
|
|
50895
|
+
"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.",
|
|
50896
|
+
"name": "ReorderHandleMixin",
|
|
50897
|
+
"members": [
|
|
50898
|
+
{
|
|
50899
|
+
"kind": "field",
|
|
50900
|
+
"name": "reorderHandle",
|
|
50901
|
+
"default": "handle",
|
|
50902
|
+
"attribute": "reorder-handle",
|
|
50903
|
+
"reflects": true
|
|
50904
|
+
}
|
|
50905
|
+
],
|
|
50906
|
+
"attributes": [
|
|
50907
|
+
{
|
|
50908
|
+
"name": "reorder-handle",
|
|
50909
|
+
"default": "handle",
|
|
50910
|
+
"fieldName": "reorderHandle"
|
|
50911
|
+
}
|
|
50912
|
+
],
|
|
50913
|
+
"parameters": [
|
|
50914
|
+
{
|
|
50915
|
+
"name": "Base",
|
|
50916
|
+
"type": {
|
|
50917
|
+
"text": "TBase"
|
|
50918
|
+
}
|
|
50919
|
+
},
|
|
50920
|
+
{
|
|
50921
|
+
"name": "handle",
|
|
50922
|
+
"default": "false"
|
|
50923
|
+
}
|
|
50924
|
+
]
|
|
50925
|
+
}
|
|
50926
|
+
],
|
|
50927
|
+
"exports": [
|
|
50928
|
+
{
|
|
50929
|
+
"kind": "js",
|
|
50930
|
+
"name": "ReorderHandleMixin",
|
|
50931
|
+
"declaration": {
|
|
50932
|
+
"name": "ReorderHandleMixin",
|
|
50933
|
+
"module": "src/utilities/reorder-handle-mixin.ts"
|
|
50934
|
+
}
|
|
50935
|
+
}
|
|
50936
|
+
]
|
|
50937
|
+
},
|
|
50358
50938
|
{
|
|
50359
50939
|
"kind": "javascript-module",
|
|
50360
50940
|
"path": "src/utilities/resolve-date-bound.ts",
|
|
@@ -50508,6 +51088,42 @@
|
|
|
50508
51088
|
],
|
|
50509
51089
|
"description": "Hands focus back to `target` once `overlay` (a popover, menu, sheet or window)\nhas closed. Call it after the close, with the element that had focus when the\noverlay opened.\n\n- Focus the user moved elsewhere, by a click into a field or Tab out of the\n overlay, stays there. Only focus still in the overlay, on nothing, or on\n `target` itself is handed back.\n- After the keyboard, `target` gets a plain `focus()` and its ring.\n- After a mouse or a finger, it gets no ring. The browser's own close step\n has often moved focus back already, and WebKit draws a ring for that\n script focus. A second `focus()` would be a no-op, so it blurs first and\n focuses with `focusVisible: false`. Chromium leaves the ring off itself.\n A text field keeps its ring, as it does on any click."
|
|
50510
51090
|
},
|
|
51091
|
+
{
|
|
51092
|
+
"kind": "function",
|
|
51093
|
+
"name": "focusAsLastInput",
|
|
51094
|
+
"return": {
|
|
51095
|
+
"type": {
|
|
51096
|
+
"text": "void"
|
|
51097
|
+
}
|
|
51098
|
+
},
|
|
51099
|
+
"parameters": [
|
|
51100
|
+
{
|
|
51101
|
+
"name": "target",
|
|
51102
|
+
"type": {
|
|
51103
|
+
"text": "HTMLElement"
|
|
51104
|
+
}
|
|
51105
|
+
}
|
|
51106
|
+
],
|
|
51107
|
+
"description": "Focuses `target` the way the last input asks for: with its ring after the\nkeyboard, without one after a mouse or a finger. For a component that moves\nfocus itself once its own overlay has closed, where `returnFocus` would leave\nit where the browser put it."
|
|
51108
|
+
},
|
|
51109
|
+
{
|
|
51110
|
+
"kind": "function",
|
|
51111
|
+
"name": "focusIsFree",
|
|
51112
|
+
"return": {
|
|
51113
|
+
"type": {
|
|
51114
|
+
"text": "boolean"
|
|
51115
|
+
}
|
|
51116
|
+
},
|
|
51117
|
+
"parameters": [
|
|
51118
|
+
{
|
|
51119
|
+
"name": "container",
|
|
51120
|
+
"type": {
|
|
51121
|
+
"text": "Element"
|
|
51122
|
+
}
|
|
51123
|
+
}
|
|
51124
|
+
],
|
|
51125
|
+
"description": "Whether focus is on nothing or still inside `container`, so moving it does\nnot take it from something the user chose. After a click beside an overlay,\nthe browser has put it back where the overlay found it, and in Safari, where\na click does not focus a button, that can be a text field next to it."
|
|
51126
|
+
},
|
|
50511
51127
|
{
|
|
50512
51128
|
"kind": "class",
|
|
50513
51129
|
"description": "Remembers where focus was when an overlay opened, and hands it back when it\ncloses, through `returnFocus`. One per overlay:\n\n```ts\nprivate _focusReturn = new FocusReturn();\n// on open, before the overlay takes focus\nthis._focusReturn.remember(anchor);\n// once it has closed\nthis._focusReturn.restore(this);\n```",
|
|
@@ -50588,6 +51204,22 @@
|
|
|
50588
51204
|
"module": "src/utilities/return-focus.ts"
|
|
50589
51205
|
}
|
|
50590
51206
|
},
|
|
51207
|
+
{
|
|
51208
|
+
"kind": "js",
|
|
51209
|
+
"name": "focusAsLastInput",
|
|
51210
|
+
"declaration": {
|
|
51211
|
+
"name": "focusAsLastInput",
|
|
51212
|
+
"module": "src/utilities/return-focus.ts"
|
|
51213
|
+
}
|
|
51214
|
+
},
|
|
51215
|
+
{
|
|
51216
|
+
"kind": "js",
|
|
51217
|
+
"name": "focusIsFree",
|
|
51218
|
+
"declaration": {
|
|
51219
|
+
"name": "focusIsFree",
|
|
51220
|
+
"module": "src/utilities/return-focus.ts"
|
|
51221
|
+
}
|
|
51222
|
+
},
|
|
50591
51223
|
{
|
|
50592
51224
|
"kind": "js",
|
|
50593
51225
|
"name": "FocusReturn",
|