@nldd/design-system 0.27.0 → 0.28.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 +5666 -5882
- package/dist/cdn/autoloader.js +140 -141
- package/dist/cdn/chunks/{accordion-DBM4AcGb.js → accordion-BcmquOub.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-D90CmJyl.js → accordion-item-XIX9-01D.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-B6m9h0oa.js → activity-indicator-DXZ_IqAa.js} +14 -14
- package/dist/cdn/chunks/{admonition-B-YTkCjn.js → admonition-DIcSNzcO.js} +4 -4
- package/dist/cdn/chunks/{avatar-CfBP9UZZ.js → avatar-DG0uG2Eu.js} +23 -23
- package/dist/cdn/chunks/{avatar-group-DW_xMwb_.js → avatar-group-DYOrOs6f.js} +16 -15
- package/dist/cdn/chunks/{badge-DnAuIhp1.js → badge-DfxWgcGT.js} +9 -9
- package/dist/cdn/chunks/{banner-CRk2ARtC.js → banner-Bg2LBBIY.js} +11 -11
- package/dist/cdn/chunks/{bar-split-view-DDgOYs7Z.js → bar-split-view-C0WvMmEi.js} +11 -6
- package/dist/cdn/chunks/{blockquote-DlfhBScg.js → blockquote-Ck5AQfWo.js} +7 -7
- package/dist/cdn/chunks/{box-DdU13yI4.js → box-BAZsRjBx.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-CqkR_6XN.js → breadcrumbs-8X_HdTjk.js} +12 -12
- package/dist/cdn/chunks/{button-bar-BKkap9nk.js → button-bar-DyO3sMIB.js} +8 -8
- package/dist/cdn/chunks/{button-group-D-YTmErV.js → button-group-BfH8ZDe-.js} +8 -8
- package/dist/cdn/chunks/{button-muXGJHlo.js → button-rQihZDPs.js} +75 -79
- package/dist/cdn/chunks/{card-Dvqz83fC.js → card-Gwu3NVqY.js} +21 -11
- package/dist/cdn/chunks/{cell-C0O8tZbX.js → cell-Dbf536SX.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CNWROiHV.js → checkbox-BI4FMRr3.js} +21 -21
- package/dist/cdn/chunks/{checkbox-field-DCYpRJfz.js → checkbox-field-CC00Cz23.js} +15 -15
- package/dist/cdn/chunks/{checkbox-group-DxWAYp_b.js → checkbox-group-B32_gJY6.js} +12 -12
- package/dist/cdn/chunks/{class-map-D720ceWJ.js → class-map-DfeulNZ_.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DlnTXkHx.js → code-editor-BZ-dPqXq.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-DyJzo36-.js → code-viewer-Bz7wk-Zj.js} +17 -17
- package/dist/cdn/chunks/{codemirror-input-DPSOMYZ4.js → codemirror-input-CBuhqk5Y.js} +5 -5
- package/dist/cdn/chunks/{collection-i7H8zkQ8.js → collection-CB6_y2t8.js} +13 -13
- package/dist/cdn/chunks/{combo-box-CpNl_us0.js → combo-box-BqY6lvfT.js} +42 -42
- package/dist/cdn/chunks/{container-YWW7mHNa.js → container-D4G6IZic.js} +9 -9
- package/dist/cdn/chunks/{custom-element-D8yf5dqU.js → custom-element-zgCtSWGH.js} +1 -1
- package/dist/cdn/chunks/{custom-font-size-D7KNr84p.js → custom-font-size-D-U1Z_wx.js} +1 -1
- package/dist/cdn/chunks/{date-field-DzhUp4Rk.js → date-field-BBoAp1Qn.js} +35 -35
- package/dist/cdn/chunks/{date-picker-CGvsvK3g.js → date-picker-DJIaeQzM.js} +23 -23
- package/dist/cdn/chunks/{decorate-1aEyfetK.js → decorate-CXvSUV9i.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DffYoaxu.js → described-by-mixin-Bl8QgshZ.js} +3 -3
- package/dist/cdn/chunks/{description-cell-DEw6xc2o.js → description-cell-CCq3LiDa.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-CTopJcdE.js → dev-checks-DG6-EY8p.js} +238 -225
- package/dist/cdn/chunks/{directive-helpers-BQml5ahH.js → directive-helpers-DuLEIDjM.js} +1 -1
- package/dist/cdn/chunks/{dist-DevfJ4Mu.js → dist-B0EhnbLL.js} +2 -2
- package/dist/cdn/chunks/{dist-DAf6EMuK.js → dist-B7T6GKkq.js} +2 -2
- package/dist/cdn/chunks/{dist-BYbLHkMP.js → dist-BFj2d0kQ.js} +1 -1
- package/dist/cdn/chunks/{dist-B5t9fS8q.js → dist-BPqRc_Nn.js} +2 -2
- package/dist/cdn/chunks/{dist-B87Ag4L-.js → dist-BT1-y5Tb.js} +1 -1
- package/dist/cdn/chunks/{dist-BKnqQxdv.js → dist-C8OAxmvo.js} +1 -1
- package/dist/cdn/chunks/{dist-C8ZY_QIK.js → dist-CMreNjZ0.js} +1 -1
- package/dist/cdn/chunks/{dist-qHSPGfTO.js → dist-CyDG2Stm.js} +1 -1
- package/dist/cdn/chunks/{dist-D59Ae7dj.js → dist-DuZZX8oT.js} +1 -1
- package/dist/cdn/chunks/{dist-CIX4JLW1.js → dist-Mx6eY_XI.js} +3 -3
- package/dist/cdn/chunks/{dist-Cr8NctvS.js → dist-QIVpZOok.js} +3 -3
- package/dist/cdn/chunks/{divider-44rkHLYj.js → divider-CtNxoBXu.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CcSKzhEy.js → document-tab-bar-C0RWhx9m.js} +23 -23
- package/dist/cdn/chunks/{dropdown-CJPjI-p1.js → dropdown-Bc0en6CR.js} +19 -19
- package/dist/cdn/chunks/{element-state-B-44fVqq.js → element-state-D-J_cHEV.js} +9 -3
- package/dist/cdn/chunks/{field-button-controller-yvICuXoE.js → field-button-controller-DKej3aXU.js} +1 -1
- package/dist/cdn/chunks/{file-field-B4HQKpkI.js → file-field-ab-WShTI.js} +29 -29
- package/dist/cdn/chunks/{form-obggZEpt.js → form-DUkQXtMT.js} +9 -6
- package/dist/cdn/chunks/{form-actions-HaBfh6vm.js → form-actions-DAA4feSG.js} +21 -17
- package/dist/cdn/chunks/{form-associated-mixin-BByNH679.js → form-associated-mixin-D9E51k93.js} +3 -3
- package/dist/cdn/chunks/{form-field-CwYXsuvv.js → form-field-DlLMimbj.js} +72 -63
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
- package/dist/cdn/chunks/{form-section-B2UZx_-z.js → form-section-BvBuApsD.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-BSnWghWY.js → full-bleed-section-CTaKn0tf.js} +3 -3
- package/dist/cdn/chunks/{hero-CzbuEAUM.js → hero-Dd5p9i9u.js} +23 -23
- package/dist/cdn/chunks/{icon-CkCT7sPE.js → icon-D4fRZxV2.js} +9 -9
- package/dist/cdn/chunks/{icon-button-BBGwCfYp.js → icon-button-DOaYzHj0.js} +64 -68
- package/dist/cdn/chunks/{icon-cell-DcHnXV-8.js → icon-cell-CywVVCYz.js} +9 -9
- package/dist/cdn/chunks/{identity-C0fujsxK.js → identity-DKFLeTaG.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CL4nn-Q-.js → if-defined-DmACWFoP.js} +1 -1
- package/dist/cdn/chunks/{image-BgtqLXfM.js → image-DSXL5nMx.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-BYRIWhkm.js → inline-dialog-_TYBWEal.js} +14 -14
- package/dist/cdn/chunks/{interest-invoker-CfOJaqZQ.js → interest-invoker-CxvYA5Qy.js} +1 -1
- package/dist/cdn/chunks/{just-in-time-education-DwH3ubhZ.js → just-in-time-education-CXJOozIu.js} +17 -17
- package/dist/cdn/chunks/{kanban-BIZUoBj-.js → kanban-DNLzjjc_.js} +10 -10
- package/dist/cdn/chunks/{kanban-column-CtjCIgaR.js → kanban-column-eo2SYTGR.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BHylGMNu.js → keyboard-shortcut-DZ-mqzxk.js} +13 -13
- package/dist/cdn/chunks/{languages-DghCYmiz.js → languages-DOvFU6aa.js} +12 -12
- package/dist/cdn/chunks/{link-S53veJpD.js → link-C2Tm_F2F.js} +16 -16
- package/dist/cdn/chunks/{link-group-B2_vdANe.js → link-group-BKeEUdjA.js} +6 -6
- package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
- package/dist/cdn/chunks/{list-C8hY4uGW.js → list-DXBgXtok.js} +18 -18
- package/dist/cdn/chunks/{list-item-CK1Rli4F.js → list-item-CBIk8V1o.js} +85 -88
- package/dist/cdn/chunks/{list-item-segment-KyrcOFDA.js → list-item-segment-BJAJO78S.js} +16 -16
- package/dist/cdn/chunks/{menu-m67vk1Z4.js → menu-NHTlulPo.js} +38 -29
- package/dist/cdn/chunks/{menu-bar-BRoqy5zp.js → menu-bar-BplgndmQ.js} +34 -34
- package/dist/cdn/chunks/{menu-bar-item-DKW198ZW.js → menu-bar-item-1ymZKx5B.js} +44 -43
- package/dist/cdn/chunks/{menu-divider-DDPBPK-o.js → menu-divider-A_WVVPRj.js} +3 -3
- package/dist/cdn/chunks/{menu-group-uZXsE-uu.js → menu-group-BxdR9cIB.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BOvb4QLd.js → menu-item-CfSzAmYP.js} +21 -21
- package/dist/cdn/chunks/{menu.template-v6VnRUNJ.js → menu.template-BQg9CFZU.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-BNq0r-1L.js → modal-dialog-CRoItKeC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Bfq47I3P.js → multi-line-text-field-Dyyhaixb.js} +36 -36
- package/dist/cdn/chunks/{navigation-split-view-BiPoxCLL.js → navigation-split-view-C40LLsnq.js} +65 -57
- package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
- package/dist/cdn/chunks/{notification-DjZXBv4J.js → notification-DCJBxwgA.js} +10 -10
- package/dist/cdn/chunks/{number-field-tqoQLrgZ.js → number-field-DsZcWhVJ.js} +23 -23
- package/dist/cdn/chunks/{one-half-one-half-section-CyIm21PD.js → one-half-one-half-section-C7iwuCox.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-CpnK0vzB.js → one-third-two-thirds-section-viwFsAKX.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-6sMEfzoY.js → one-time-code-field-BK1dcrkM.js} +25 -25
- package/dist/cdn/chunks/{overflow-menu-IfYEX8tm.js → overflow-menu-b9-YGrjH.js} +1 -1
- package/dist/cdn/chunks/{owner-form-Cq8tT7ac.js → owner-form-Bl_p0Ca4.js} +1 -1
- package/dist/cdn/chunks/{page-w4XAfBWD.js → page-DtZ9Ef4H.js} +54 -53
- package/dist/cdn/chunks/{page-footer-ET6j1N2Z.js → page-footer-DnBD0aG2.js} +10 -10
- package/dist/cdn/chunks/{page-section-mixin-D9JL2q9A.js → page-section-mixin-BhtKGjf2.js} +3 -3
- package/dist/cdn/chunks/{pagination-D7QFUu8x.js → pagination-Bw6rA75o.js} +16 -16
- package/dist/cdn/chunks/{password-field-Ck5wx6pg.js → password-field-DvEggyk3.js} +33 -33
- package/dist/cdn/chunks/{popover-DOmi5m85.js → popover-BS_tKHY-.js} +18 -18
- package/dist/cdn/chunks/{progress-bar-BDNcB06i.js → progress-bar-DjbR_gfZ.js} +30 -30
- package/dist/cdn/chunks/{progress-circle-BAMztpb3.js → progress-circle-Cz9PLyQK.js} +27 -27
- package/dist/cdn/chunks/{radio-button-DAps6n0Q.js → radio-button-D8mtS3no.js} +50 -53
- package/dist/cdn/chunks/{radio-button-field-BbPk0nM_.js → radio-button-field-BW0hpqWv.js} +14 -14
- package/dist/cdn/chunks/{radio-button-group-lxzwku00.js → radio-button-group-9q5EIa2C.js} +12 -12
- package/dist/cdn/chunks/{render-marked-ClMFyNu0.js → render-marked-Ux8zPP_h.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Cap2u2zx.js → reorder-handle-cell-Du9jl_rB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-CnRKPVqU.js → reorder-handle-mixin-Bk1J-pVX.js} +2 -2
- package/dist/cdn/chunks/{repeat-CIyCvHHQ.js → repeat-DxDrgDAx.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CblFmHY-.js → rich-text--3YgH9Ad.js} +7 -7
- package/dist/cdn/chunks/{row-header-mixin-C8z9StDU.js → row-header-mixin-DcfVBdj0.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-C_L9CJrR.js → scroll-fade-BqyBYmMY.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
- package/dist/cdn/chunks/{search-field-JeUPcBjZ.js → search-field-DvqETt9_.js} +21 -21
- package/dist/cdn/chunks/{segmented-control-DtycvVyp.js → segmented-control-Bc0JEwuo.js} +86 -91
- package/dist/cdn/chunks/{shadow-resets-DgR56wQK.js → shadow-resets-BerORb5_.js} +2 -2
- package/dist/cdn/chunks/{sheet-XtRs26hN.js → sheet-O_29ylNf.js} +4 -4
- package/dist/cdn/chunks/{shell-CCaEEGna.js → shell-wlMaUZMA.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-mhXD4Lde.js → side-by-side-split-view-CLd3Nale.js} +7 -5
- package/dist/cdn/chunks/{sidebar-section-Cwd4LSE6.js → sidebar-section-CM5FBrQy.js} +16 -16
- package/dist/cdn/chunks/{simple-section-BuiaCGks.js → simple-section-CnYSz59b.js} +3 -3
- package/dist/cdn/chunks/{skip-link-nTlmioFt.js → skip-link-BSWXUiUo.js} +5 -5
- package/dist/cdn/chunks/{slider-C0rNQEIY.js → slider-Cz9TWQ1q.js} +30 -24
- package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
- package/dist/cdn/chunks/{spacer-CeSO9CP1.js → spacer-Di1FKF1H.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-NhlxEdhA.js → spacer-cell-DxLzLJCd.js} +4 -4
- package/dist/cdn/chunks/{split-button-BR-ccA6_.js → split-button-D8g_ndEY.js} +26 -26
- package/dist/cdn/chunks/{split-view-divider-HcIV0yli.js → split-view-divider-BRYFJldk.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-j77p3uE2.js → stacked-split-view-BKKmNsjn.js} +7 -5
- package/dist/cdn/chunks/{static-html-CGoLwgpW.js → static-html-BuLHPpfA.js} +1 -1
- package/dist/cdn/chunks/{status-bar-ByJ21hV2.js → status-bar-CHZ0l8TZ.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRxF0S42.js → step-bar-C1MPbS7g.js} +15 -16
- package/dist/cdn/chunks/{step-bar.i18n-DocExlD7.js → step-bar.i18n-DipTJYgp.js} +2 -1
- package/dist/cdn/chunks/{step-cell-C-gOxNA6.js → step-cell-27LEuImu.js} +14 -14
- package/dist/cdn/chunks/{stepper-Dmljb7Qc.js → stepper-CFnmm4Jc.js} +19 -19
- package/dist/cdn/chunks/{style-map-CK811FGv.js → style-map-CT-UKis2.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-DtAgTXLo.js → swatch-picker-qcDRmYxS.js} +49 -44
- package/dist/cdn/chunks/{switch-Bqion92b.js → switch-DF_LNJMR.js} +20 -20
- package/dist/cdn/chunks/{switch-field-CWobTcEn.js → switch-field-BKIKn9wq.js} +13 -13
- package/dist/cdn/chunks/{tab-bar-DPtRjP8Z.js → tab-bar-VVZNYCSU.js} +27 -27
- package/dist/cdn/chunks/{table-C4CFiDgr.js → table-DfKFKaDW.js} +11 -11
- package/dist/cdn/chunks/{tag-Bo23A60g.js → tag-CJQEzBXC.js} +5 -5
- package/dist/cdn/chunks/{term-DPMEWR-t.js → term-D3QB0GN-.js} +16 -16
- package/dist/cdn/chunks/{text-CuiMvMZQ.js → text-GAY_Be6G.js} +11 -11
- package/dist/cdn/chunks/{text-cell-E3yc99xw.js → text-cell-D9qxQeCY.js} +13 -13
- package/dist/cdn/chunks/{text-editor-BVmHiq_b.js → text-editor-C1-K1z1w.js} +975 -970
- package/dist/cdn/chunks/{text-field-DOv1aI_F.js → text-field-Bq_41L1a.js} +34 -34
- package/dist/cdn/chunks/{time-field-BhlLk6tt.js → time-field-Bqny9JeT.js} +35 -35
- package/dist/cdn/chunks/{time-picker-A4-HeVas.js → time-picker-DMaxOCDt.js} +12 -12
- package/dist/cdn/chunks/{title-EMt-SYKV.js → title-Dxhkfehz.js} +6 -6
- package/dist/cdn/chunks/{title-cell--EE-L_8a.js → title-cell-BDvpoBrO.js} +11 -11
- package/dist/cdn/chunks/{toggle-button-BLwpxmQs.js → toggle-button-CcIX98G1.js} +35 -35
- package/dist/cdn/chunks/{toggle-button-group-scdxolJt.js → toggle-button-group-Dyqjqg2D.js} +13 -13
- package/dist/cdn/chunks/{token-DVgXuCRO.js → token-BBS6BXwU.js} +11 -11
- package/dist/cdn/chunks/{token-field-CICQXLlO.js → token-field-CO6N6wZW.js} +26 -26
- package/dist/cdn/chunks/{toolbar-Des2gaH2.js → toolbar--slFc4EX.js} +32 -23
- package/dist/cdn/chunks/toolbar-item-j9QbC5s5.js +77 -0
- package/dist/cdn/chunks/{toolbar-title-PoOf794l.js → toolbar-title-D_BBNlB2.js} +36 -22
- package/dist/cdn/chunks/{toolbar.styles-DzreUGTp.js → toolbar.styles-CKxRmIg-.js} +19 -17
- package/dist/cdn/chunks/{tooltip-CMCT2iiD.js → tooltip-bqAbXl2W.js} +33 -25
- package/dist/cdn/chunks/{top-navigation-bar-BfMGgTIy.js → top-navigation-bar-D26UoOIz.js} +28 -28
- package/dist/cdn/chunks/{top-title-bar-CvvldlNt.js → top-title-bar-DtXWxtJF.js} +12 -12
- package/dist/cdn/chunks/{translations-C5JpcNNC.js → translations-DsTLnxKh.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BTkeIiHm.js → two-thirds-one-third-section-D1R62yzp.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BasB3ZaT.js → validation-list-DlJ18Ojt.js} +35 -42
- package/dist/cdn/chunks/{visibility-mixin-BxhcJG-x.js → visibility-mixin-Bkc9mSOZ.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-ByHY8pKl.js → visually-hidden-CNq15vm2.js} +2 -2
- package/dist/cdn/chunks/{window-B5blEfMR.js → window-B3gyQQvV.js} +11 -11
- package/dist/cdn/chunks/{with-translations-QDhHJYMT.js → with-translations-BJzVHQmV.js} +3 -3
- package/dist/components/actions/button/button.d.ts +45 -44
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +90 -87
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -6
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +2 -2
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +5 -5
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +50 -49
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +91 -88
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +2 -2
- package/dist/components/actions/menu/menu-item.d.ts +16 -16
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +33 -33
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +32 -23
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +65 -41
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +22 -22
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +40 -40
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +23 -11
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +33 -22
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +10 -3
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +18 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +2 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +23 -21
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +16 -14
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +18 -18
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +32 -32
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +5 -5
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +3 -3
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +11 -11
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +4 -4
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +10 -10
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/image/image.d.ts +27 -30
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +44 -47
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +15 -15
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +24 -24
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +5 -5
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +2 -2
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +5 -5
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/text/text.d.ts +3 -3
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +8 -8
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/token/token.d.ts +4 -4
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +10 -10
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +6 -9
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -16
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +1 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +3 -17
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +12 -24
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +10 -10
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +18 -10
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +4 -4
- package/dist/components/forms/form-field/form-field.d.ts +20 -8
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +5 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -0
- package/dist/components/forms/form-field/form-field.i18n.js +4 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -0
- package/dist/components/forms/form-field/form-field.js +46 -18
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +12 -12
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +23 -12
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +45 -30
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +16 -16
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +29 -29
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -20
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +28 -28
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +9 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +18 -18
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +13 -13
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +8 -8
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +34 -34
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +66 -66
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +24 -24
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +50 -50
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +21 -21
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +38 -39
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +9 -9
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +20 -20
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +13 -13
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +24 -24
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +28 -28
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +51 -51
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +19 -19
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +39 -39
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +12 -12
- 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 +27 -27
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +26 -26
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +51 -51
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +20 -20
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +37 -34
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +14 -14
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +25 -25
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +9 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +18 -18
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +8 -8
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +19 -19
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +56 -60
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +110 -102
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +11 -11
- package/dist/components/inputs/slider/slider.d.ts +6 -6
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +33 -21
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +12 -12
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +24 -24
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +10 -9
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +27 -20
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +2 -2
- package/dist/components/inputs/switch/switch.d.ts +15 -15
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +27 -27
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +13 -13
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +22 -22
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +11 -11
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +4 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +39 -39
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +6 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +24 -7
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +28 -28
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +50 -50
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +24 -24
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +51 -51
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +21 -20
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +38 -34
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +28 -28
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +51 -51
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +23 -23
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +34 -34
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +20 -20
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +46 -47
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/card/card.d.ts +9 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +14 -14
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +11 -1
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +2 -2
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +5 -5
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +2 -2
- package/dist/components/layout/container/container.d.ts +5 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +14 -8
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +2 -2
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +5 -5
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +11 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +34 -16
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +3 -2
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +16 -16
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +28 -28
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -7
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +16 -16
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +9 -9
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +22 -22
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +1 -1
- package/dist/components/layout/sheet/sheet.js +1 -1
- package/dist/components/layout/shell/shell.d.ts +2 -0
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -0
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +13 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +27 -46
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +6 -0
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +3 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -5
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +10 -10
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
- 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 +5 -5
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +11 -11
- 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 +17 -17
- 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 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
- 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 +2 -2
- 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 +7 -4
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +6 -6
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +13 -18
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -29
- 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 +35 -30
- 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 +2 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +25 -25
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +44 -44
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +7 -3
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +10 -6
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -4
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +7 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.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 +15 -15
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -13
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +29 -29
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +2 -2
- package/dist/components/navigation/link-group/link-group.d.ts.map +1 -1
- package/dist/components/navigation/link-group/link-group.js +5 -5
- package/dist/components/navigation/link-group/link-group.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +5 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +12 -10
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +21 -18
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +43 -35
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +3 -3
- package/dist/components/navigation/pagination/pagination.d.ts +5 -5
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +11 -11
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +16 -16
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +33 -30
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +4 -4
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +12 -12
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -2
- 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 +5 -5
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +9 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +15 -15
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +5 -5
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +2 -2
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +5 -5
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +13 -13
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +8 -8
- 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 +17 -17
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +2 -2
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +5 -5
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +12 -12
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +28 -28
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +10 -10
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +24 -24
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +5 -5
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -6
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +15 -12
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +3 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
- package/dist/nldd.min.js +864 -927
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +2 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +2 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +2 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +2 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +2 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +748 -802
- package/dist/types/vue.d.ts +893 -971
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +0 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +6 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +42 -16
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.js +177 -177
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/element-state.d.ts +11 -0
- package/dist/utilities/element-state.d.ts.map +1 -1
- package/dist/utilities/element-state.js +18 -3
- package/dist/utilities/element-state.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +8 -0
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +13 -1
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/lint/css.js +58 -26
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +29 -12
- package/lint/fix.js +146 -12
- package/lint/format.js +4 -3
- package/lint/frontends.js +153 -35
- package/lint/linter.js +178 -25
- package/lint/main.js +7 -2
- package/lint/project.js +50 -12
- package/lint/rule-compiler.js +20 -11
- package/lint/rule-data.js +8 -0
- package/lint/rule.schema.json +12 -2
- package/lint/session.js +42 -18
- package/lint/tree.js +5 -2
- package/package.json +3 -6
- package/dist/cdn/chunks/nl.generated-BDowZkhc.js +0 -116
- package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +0 -52
- package/dist/cdn/chunks/split-view-pane-BgFUL3BV.js +0 -131
- package/dist/cdn/chunks/toolbar-item-CkwQ2UyY.js +0 -50
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +0 -49
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +0 -80
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts +0 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +0 -95
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts +0 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js +0 -9
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js.map +0 -1
package/dist/types/vue.d.ts
CHANGED
|
@@ -110,7 +110,6 @@ import type { NLDDSpacer } from '@nldd/design-system/spacer';
|
|
|
110
110
|
import type { NLDDSpacerCell } from '@nldd/design-system/spacer-cell';
|
|
111
111
|
import type { NLDDSplitButton } from '@nldd/design-system/split-button';
|
|
112
112
|
import type { NLDDSplitViewDivider } from '@nldd/design-system/split-view-divider';
|
|
113
|
-
import type { NLDDSplitViewPane } from '@nldd/design-system/split-view-pane';
|
|
114
113
|
import type { NLDDStackedSplitView } from '@nldd/design-system/stacked-split-view';
|
|
115
114
|
import type { NLDDStatusBar } from '@nldd/design-system/status-bar';
|
|
116
115
|
import type { NLDDStepBar } from '@nldd/design-system/step-bar';
|
|
@@ -169,20 +168,20 @@ declare module 'vue' {
|
|
|
169
168
|
type NLDDActivityIndicatorProps = {
|
|
170
169
|
/** Circle diameter on the icon scale: 16,20,24,28,32,40,44,48,56,64,80,96 (default '32') */
|
|
171
170
|
'size'?: NLDDActivityIndicator['size'];
|
|
171
|
+
/** Label text. Falls back to the translated "Laden" when unset. */
|
|
172
|
+
'text'?: NLDDActivityIndicator['text'];
|
|
173
|
+
/** Overlay mode dims and blurs the wrapped content with a frosted backdrop by default; set this to show only the indicator panel without dimming. No effect in standalone mode. */
|
|
174
|
+
'no-backdrop'?: NLDDActivityIndicator['noBackdrop'];
|
|
175
|
+
/** Overlay mode dims and blurs the wrapped content with a frosted backdrop by default; set this to show only the indicator panel without dimming. No effect in standalone mode. */
|
|
176
|
+
'noBackdrop'?: NLDDActivityIndicator['noBackdrop'];
|
|
172
177
|
/** Show the label under the indicator (default false; the label still feeds the accessible name) */
|
|
173
178
|
'show-text'?: NLDDActivityIndicator['showText'];
|
|
174
179
|
/** Show the label under the indicator (default false; the label still feeds the accessible name) */
|
|
175
180
|
'showText'?: NLDDActivityIndicator['showText'];
|
|
176
|
-
/** Label text. Falls back to the translated "Laden" when unset. */
|
|
177
|
-
'text'?: NLDDActivityIndicator['text'];
|
|
178
181
|
/** 'delay' (the default) waits 1000ms before showing (anti-flash); 'instant' shows immediately (the fade-in still plays). */
|
|
179
182
|
'timing'?: NLDDActivityIndicator['timing'];
|
|
180
183
|
/** Mark the loader as finished while keeping the element mounted; clears aria-busy and hides the indicator. */
|
|
181
184
|
'complete'?: NLDDActivityIndicator['complete'];
|
|
182
|
-
/** Overlay mode dims and blurs the wrapped content with a frosted backdrop by default; set this to show only the indicator panel without dimming. No effect in standalone mode. */
|
|
183
|
-
'no-backdrop'?: NLDDActivityIndicator['noBackdrop'];
|
|
184
|
-
/** Overlay mode dims and blurs the wrapped content with a frosted backdrop by default; set this to show only the indicator panel without dimming. No effect in standalone mode. */
|
|
185
|
-
'noBackdrop'?: NLDDActivityIndicator['noBackdrop'];
|
|
186
185
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
187
186
|
'translations'?: NLDDActivityIndicator['translations'];
|
|
188
187
|
};
|
|
@@ -207,44 +206,44 @@ declare module 'vue' {
|
|
|
207
206
|
};
|
|
208
207
|
|
|
209
208
|
type NLDDAvatarProps = {
|
|
210
|
-
/** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
|
|
211
|
-
'type'?: NLDDAvatar['type'];
|
|
212
|
-
/** `full` (the default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). The initials and the icon scale along */
|
|
213
|
-
'size'?: NLDDAvatar['size'];
|
|
214
209
|
/** `neutral` (the default, a neutral fill) or `content` (fill in the content color: the `--context-content-color` a surface, a button or a selected row sets; text in the contrast color, so the avatar can replace an icon in a button for instance) */
|
|
215
210
|
'color'?: NLDDAvatar['color'];
|
|
211
|
+
/** `full` (the default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). The initials and the icon scale along */
|
|
212
|
+
'size'?: NLDDAvatar['size'];
|
|
216
213
|
/** Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin) */
|
|
217
214
|
'icon-aligned'?: NLDDAvatar['iconAligned'];
|
|
218
215
|
/** Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin) */
|
|
219
216
|
'iconAligned'?: NLDDAvatar['iconAligned'];
|
|
220
|
-
/**
|
|
221
|
-
'
|
|
217
|
+
/** Overrides the type-dependent fallback icon */
|
|
218
|
+
'icon'?: NLDDAvatar['icon'];
|
|
222
219
|
/** Explicit initials, at most 4 characters, such as `KvK` or `LVVN` (overrides what is derived from `name`; also for organization acronyms). Four characters read well from 40px; below that use a shorter form */
|
|
223
220
|
'initials'?: NLDDAvatar['initials'];
|
|
224
221
|
/** Image source; falls back to initials or icon when it fails to load */
|
|
225
222
|
'src'?: NLDDAvatar['src'];
|
|
226
223
|
/** Responsive source set for the image (the component sets `sizes` itself) */
|
|
227
224
|
'srcset'?: NLDDAvatar['srcset'];
|
|
228
|
-
/**
|
|
229
|
-
'
|
|
225
|
+
/** Makes the avatar a button; ignored when `href` is set */
|
|
226
|
+
'button'?: NLDDAvatar['button'];
|
|
230
227
|
/** Name of the link or button; without it `name` is used */
|
|
231
228
|
'accessible-label'?: NLDDAvatar['accessibleLabel'];
|
|
232
229
|
/** Name of the link or button; without it `name` is used */
|
|
233
230
|
'accessibleLabel'?: NLDDAvatar['accessibleLabel'];
|
|
234
231
|
/** Hides the avatar from assistive software (use when the name already stands beside it as text) */
|
|
235
232
|
'decorative'?: NLDDAvatar['decorative'];
|
|
233
|
+
/** Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar. */
|
|
234
|
+
'no-tab'?: NLDDAvatar['noTab'];
|
|
235
|
+
/** Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar. */
|
|
236
|
+
'noTab'?: NLDDAvatar['noTab'];
|
|
236
237
|
/** When the name appears as a tooltip on hover or focus: `delay` (the default, after 700ms), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text */
|
|
237
238
|
'tooltip-timing'?: NLDDAvatar['tooltipTiming'];
|
|
238
239
|
/** When the name appears as a tooltip on hover or focus: `delay` (the default, after 700ms), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text */
|
|
239
240
|
'tooltipTiming'?: NLDDAvatar['tooltipTiming'];
|
|
241
|
+
/** Name of the person or organization; supplies the derived initials and the accessible label */
|
|
242
|
+
'name'?: NLDDAvatar['name'];
|
|
243
|
+
/** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
|
|
244
|
+
'type'?: NLDDAvatar['type'];
|
|
240
245
|
/** Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it. As a link or a button the avatar needs size 24 or larger (WCAG 2.5.8) */
|
|
241
246
|
'href'?: NLDDAvatar['href'];
|
|
242
|
-
/** Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar. */
|
|
243
|
-
'no-tab'?: NLDDAvatar['noTab'];
|
|
244
|
-
/** Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar. */
|
|
245
|
-
'noTab'?: NLDDAvatar['noTab'];
|
|
246
|
-
/** Makes the avatar a button; ignored when `href` is set */
|
|
247
|
-
'button'?: NLDDAvatar['button'];
|
|
248
247
|
/** Link target for href (e.g. '_blank'); completes rel and announces "Opens in a new tab". An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off. */
|
|
249
248
|
'target'?: NLDDAvatar['target'];
|
|
250
249
|
/** Link rel for href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
@@ -273,14 +272,14 @@ declare module 'vue' {
|
|
|
273
272
|
};
|
|
274
273
|
|
|
275
274
|
type NLDDBadgeProps = {
|
|
276
|
-
/** Size: 'sm' | 'md' (default: 'md') */
|
|
277
|
-
'size'?: NLDDBadge['size'];
|
|
278
275
|
/** The meaning of the badge, the same set as nldd-status-bar, or 'content' to fill in the content color around it: the `--context-content-color` a surface, a button or a selected row sets. Default: 'critical'. A badge is a signal, not a category, so it has no Rijkshuisstijl colors: the theme picks the accent, and `custom-color` takes any other. Another value falls back to 'accent' and says so in development. */
|
|
279
276
|
'color'?: NLDDBadge['color'];
|
|
280
277
|
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know: the jacket of a cable, a color someone picked. It wins over `color`. Whatever it paints, the text and icon on top become white or black, whichever contrasts. The text on it is black or white, picked on the relative luminance of the fill, so it clears 4.5:1 whatever color you hand it. */
|
|
281
278
|
'custom-color'?: NLDDBadge['customColor'];
|
|
282
279
|
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know: the jacket of a cable, a color someone picked. It wins over `color`. Whatever it paints, the text and icon on top become white or black, whichever contrasts. The text on it is black or white, picked on the relative luminance of the fill, so it clears 4.5:1 whatever color you hand it. */
|
|
283
280
|
'customColor'?: NLDDBadge['customColor'];
|
|
281
|
+
/** Size: 'sm' | 'md' (default: 'md') */
|
|
282
|
+
'size'?: NLDDBadge['size'];
|
|
284
283
|
/** Grows a ring out of the badge and fades it, for something happening right now (a live connection, an outage). Respects `prefers-reduced-motion`. */
|
|
285
284
|
'pulse'?: NLDDBadge['pulse'];
|
|
286
285
|
/** Text (takes precedence over number) */
|
|
@@ -306,8 +305,6 @@ declare module 'vue' {
|
|
|
306
305
|
'variant'?: NLDDBanner['variant'];
|
|
307
306
|
/** Banner size (default: 'md'). 'sm' tightens the padding to 8px, drops the icon to 24px and uses a smaller dismiss button, for a bar that sits between chrome and content rather than a standalone page-level notice. The typography is unchanged. */
|
|
308
307
|
'size'?: NLDDBanner['size'];
|
|
309
|
-
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
310
|
-
'icon'?: NLDDBanner['icon'];
|
|
311
308
|
/** Main text (heading or paragraph, depending on heading-level) */
|
|
312
309
|
'text'?: NLDDBanner['text'];
|
|
313
310
|
/** Supporting text below the heading */
|
|
@@ -318,6 +315,8 @@ declare module 'vue' {
|
|
|
318
315
|
'heading-level'?: NLDDBanner['headingLevel'];
|
|
319
316
|
/** Renders text as h1–h6; absent renders a p */
|
|
320
317
|
'headingLevel'?: NLDDBanner['headingLevel'];
|
|
318
|
+
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
319
|
+
'icon'?: NLDDBanner['icon'];
|
|
321
320
|
/** Show a close button in the top-right; emits `dismiss` when clicked */
|
|
322
321
|
'dismissible'?: NLDDBanner['dismissible'];
|
|
323
322
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -352,8 +351,6 @@ declare module 'vue' {
|
|
|
352
351
|
type NLDDBlockquoteProps = {
|
|
353
352
|
/** 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 */
|
|
354
353
|
'size'?: NLDDBlockquote['size'];
|
|
355
|
-
/** URL of the source (forwarded to the <blockquote> element) */
|
|
356
|
-
'cite'?: NLDDBlockquote['cite'];
|
|
357
354
|
/** 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` */
|
|
358
355
|
'sm-custom-size'?: NLDDBlockquote['smCustomSize'];
|
|
359
356
|
/** 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` */
|
|
@@ -366,10 +363,12 @@ declare module 'vue' {
|
|
|
366
363
|
'lg-custom-size'?: NLDDBlockquote['lgCustomSize'];
|
|
367
364
|
/** The same, at lg */
|
|
368
365
|
'lgCustomSize'?: NLDDBlockquote['lgCustomSize'];
|
|
366
|
+
/** URL of the source (forwarded to the <blockquote> element) */
|
|
367
|
+
'cite'?: NLDDBlockquote['cite'];
|
|
369
368
|
};
|
|
370
369
|
|
|
371
370
|
type NLDDBoxProps = {
|
|
372
|
-
/** Which surface this box draws, named as it is on nldd-shell, nldd-page
|
|
371
|
+
/** Which surface this box draws, named as it is on nldd-shell, nldd-page and nldd-card. It starts tinted where a card starts base: a box is there to stand out from the page, a card to sit on it. - `tinted` (default): a box on a plain page background. - `base`: a box on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card). - `accent-tinted`: a tint of the theme's accent, with the contrast of `tinted`, for a box that belongs to the service rather than to the page. - `critical`: a region whose actions are destructive or irreversible (a "danger zone"), tinted and outlined in critical. It carries no ARIA of its own: unlike nldd-banner this is not an announcement but a permanent part of the page, so the heading and the button labels have to name the danger. Color is a reinforcement, never the only signal (WCAG 1.4.1). The box draws the surface and nothing else: it has no padding of its own, the same way nldd-card has none. Put an nldd-container inside it and let that set the inset, so one component owns spacing wherever it is used. */
|
|
373
372
|
'background'?: NLDDBox['background'];
|
|
374
373
|
};
|
|
375
374
|
|
|
@@ -383,12 +382,12 @@ declare module 'vue' {
|
|
|
383
382
|
};
|
|
384
383
|
|
|
385
384
|
type NLDDBreadcrumbsItemProps = {
|
|
386
|
-
/** Link target. Ignored when `current` is set. */
|
|
387
|
-
'href'?: NLDDBreadcrumbsItem['href'];
|
|
388
|
-
/** Marks this item as the current page (renders as plain text + `aria-current="page"`). Typical use is on the last item. */
|
|
389
|
-
'current'?: NLDDBreadcrumbsItem['current'];
|
|
390
385
|
/** Item label. Content in the default slot wins. */
|
|
391
386
|
'text'?: NLDDBreadcrumbsItem['text'];
|
|
387
|
+
/** Marks this item as the current page (renders as plain text + `aria-current="page"`). Typical use is on the last item. */
|
|
388
|
+
'current'?: NLDDBreadcrumbsItem['current'];
|
|
389
|
+
/** Link target. Ignored when `current` is set. */
|
|
390
|
+
'href'?: NLDDBreadcrumbsItem['href'];
|
|
392
391
|
};
|
|
393
392
|
|
|
394
393
|
type NLDDButtonProps = {
|
|
@@ -396,56 +395,22 @@ declare module 'vue' {
|
|
|
396
395
|
'appearance'?: NLDDButton['appearance'];
|
|
397
396
|
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons. */
|
|
398
397
|
'size'?: NLDDButton['size'];
|
|
399
|
-
/** Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width. */
|
|
400
|
-
'horizontal-alignment'?: NLDDButton['horizontalAlignment'];
|
|
401
|
-
/** Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width. */
|
|
402
|
-
'horizontalAlignment'?: NLDDButton['horizontalAlignment'];
|
|
403
398
|
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
404
399
|
'width'?: NLDDButton['width'];
|
|
405
400
|
/** Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis, because a cap only means something if the content respects it. */
|
|
406
401
|
'max-width'?: NLDDButton['maxWidth'];
|
|
407
402
|
/** Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis, because a cap only means something if the content respects it. */
|
|
408
403
|
'maxWidth'?: NLDDButton['maxWidth'];
|
|
409
|
-
/**
|
|
410
|
-
'
|
|
411
|
-
/**
|
|
412
|
-
'
|
|
413
|
-
/** Whether the button has a icon to indicate it opens a menu or popover */
|
|
414
|
-
'expandable'?: NLDDButton['expandable'];
|
|
415
|
-
/** Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state. */
|
|
416
|
-
'expanded'?: NLDDButton['expanded'];
|
|
417
|
-
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
418
|
-
'popup-type'?: NLDDButton['popupType'];
|
|
419
|
-
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
420
|
-
'popupType'?: NLDDButton['popupType'];
|
|
421
|
-
/** Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set) */
|
|
422
|
-
'type'?: NLDDButton['type'];
|
|
423
|
-
/** ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
424
|
-
'popovertarget'?: NLDDButton['popovertarget'];
|
|
425
|
-
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
426
|
-
'interestfor'?: NLDDButton['interestfor'];
|
|
427
|
-
/** Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width. Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe. */
|
|
428
|
-
'loading'?: NLDDButton['loading'];
|
|
429
|
-
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
430
|
-
'loading-text'?: NLDDButton['loadingText'];
|
|
431
|
-
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
432
|
-
'loadingText'?: NLDDButton['loadingText'];
|
|
433
|
-
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
434
|
-
'disabled'?: NLDDButton['disabled'];
|
|
404
|
+
/** Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width. */
|
|
405
|
+
'horizontal-alignment'?: NLDDButton['horizontalAlignment'];
|
|
406
|
+
/** Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width. */
|
|
407
|
+
'horizontalAlignment'?: NLDDButton['horizontalAlignment'];
|
|
435
408
|
/** Button text */
|
|
436
409
|
'text'?: NLDDButton['text'];
|
|
437
410
|
/** Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name). */
|
|
438
411
|
'supporting-text'?: NLDDButton['supportingText'];
|
|
439
412
|
/** Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name). */
|
|
440
413
|
'supportingText'?: NLDDButton['supportingText'];
|
|
441
|
-
/** When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width. */
|
|
442
|
-
'single-line'?: NLDDButton['singleLine'];
|
|
443
|
-
/** When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width. */
|
|
444
|
-
'singleLine'?: NLDDButton['singleLine'];
|
|
445
|
-
/** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
|
|
446
|
-
'no-highlight-border'?: NLDDButton['noHighlightBorder'];
|
|
447
|
-
/** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
|
|
448
|
-
'noHighlightBorder'?: NLDDButton['noHighlightBorder'];
|
|
449
414
|
/** Icon name for the start icon (before text) */
|
|
450
415
|
'start-icon'?: NLDDButton['startIcon'];
|
|
451
416
|
/** Icon name for the start icon (before text) */
|
|
@@ -454,10 +419,24 @@ declare module 'vue' {
|
|
|
454
419
|
'end-icon'?: NLDDButton['endIcon'];
|
|
455
420
|
/** Icon name for the end icon (after text) */
|
|
456
421
|
'endIcon'?: NLDDButton['endIcon'];
|
|
422
|
+
/** Whether the button has a icon to indicate it opens a menu or popover */
|
|
423
|
+
'expandable'?: NLDDButton['expandable'];
|
|
424
|
+
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
425
|
+
'popup-type'?: NLDDButton['popupType'];
|
|
426
|
+
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
427
|
+
'popupType'?: NLDDButton['popupType'];
|
|
428
|
+
/** ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
429
|
+
'popovertarget'?: NLDDButton['popovertarget'];
|
|
430
|
+
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
431
|
+
'interestfor'?: NLDDButton['interestfor'];
|
|
457
432
|
/** Accessible label for the button, overrides text for screen readers */
|
|
458
433
|
'accessible-label'?: NLDDButton['accessibleLabel'];
|
|
459
434
|
/** Accessible label for the button, overrides text for screen readers */
|
|
460
435
|
'accessibleLabel'?: NLDDButton['accessibleLabel'];
|
|
436
|
+
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
437
|
+
'loading-text'?: NLDDButton['loadingText'];
|
|
438
|
+
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
439
|
+
'loadingText'?: NLDDButton['loadingText'];
|
|
461
440
|
/** Keyboard shortcut hint shown right after the text, e.g. 'Cmd+S'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name, as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. Keep it for the few main actions of a screen (save, search); a hint on every button is noise. */
|
|
462
441
|
'shortcut'?: NLDDButton['shortcut'];
|
|
463
442
|
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
@@ -472,14 +451,30 @@ declare module 'vue' {
|
|
|
472
451
|
'shortcut-linux'?: NLDDButton['shortcutLinux'];
|
|
473
452
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
474
453
|
'shortcutLinux'?: NLDDButton['shortcutLinux'];
|
|
454
|
+
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (e.g. a button in a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
455
|
+
'no-tab'?: NLDDButton['noTab'];
|
|
456
|
+
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (e.g. a button in a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
457
|
+
'noTab'?: NLDDButton['noTab'];
|
|
458
|
+
/** When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width. */
|
|
459
|
+
'single-line'?: NLDDButton['singleLine'];
|
|
460
|
+
/** When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width. */
|
|
461
|
+
'singleLine'?: NLDDButton['singleLine'];
|
|
462
|
+
/** Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state. */
|
|
463
|
+
'expanded'?: NLDDButton['expanded'];
|
|
464
|
+
/** Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width. Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe. */
|
|
465
|
+
'loading'?: NLDDButton['loading'];
|
|
466
|
+
/** Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set) */
|
|
467
|
+
'type'?: NLDDButton['type'];
|
|
475
468
|
/** When set, renders an <a> element instead of <button> */
|
|
476
469
|
'href'?: NLDDButton['href'];
|
|
477
470
|
/** Link target (e.g. '_blank'); only used when href is set. With '_blank' the button adds a visually hidden "opens in new tab" announcement for screen readers (WCAG 2.1 SC 3.2.2). 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. */
|
|
478
471
|
'target'?: NLDDButton['target'];
|
|
479
|
-
/** 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. */
|
|
480
|
-
'download'?: NLDDButton['download'];
|
|
481
472
|
/** Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
482
473
|
'rel'?: NLDDButton['rel'];
|
|
474
|
+
/** 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. */
|
|
475
|
+
'download'?: NLDDButton['download'];
|
|
476
|
+
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
477
|
+
'disabled'?: NLDDButton['disabled'];
|
|
483
478
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
484
479
|
'accessible-description'?: NLDDButton['accessibleDescription'];
|
|
485
480
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -503,10 +498,10 @@ declare module 'vue' {
|
|
|
503
498
|
};
|
|
504
499
|
|
|
505
500
|
type NLDDButtonBarProps = {
|
|
506
|
-
/** Bar size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). At 'lg', icon-button children stack their label below the icon (mobile action-bar style). */
|
|
507
|
-
'size'?: NLDDButtonBar['size'];
|
|
508
501
|
/** Visual style of the buttons: 'primary' | 'secondary' | 'accent-filled' | 'neutral-tinted' (default) | 'neutral-base' | 'content-filled' | 'content-tinted'. The content appearances are for a colored surface. */
|
|
509
502
|
'appearance'?: NLDDButtonBar['appearance'];
|
|
503
|
+
/** Bar size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). At 'lg', icon-button children stack their label below the icon (mobile action-bar style). */
|
|
504
|
+
'size'?: NLDDButtonBar['size'];
|
|
510
505
|
/** Disabled state */
|
|
511
506
|
'disabled'?: NLDDButtonBar['disabled'];
|
|
512
507
|
};
|
|
@@ -517,15 +512,17 @@ declare module 'vue' {
|
|
|
517
512
|
type NLDDButtonGroupProps = {
|
|
518
513
|
/** Button group size, set on every button in it: 'sm' | 'md' (default: 'md') */
|
|
519
514
|
'size'?: NLDDButtonGroup['size'];
|
|
520
|
-
/** Layout direction: 'auto' | 'horizontal' | 'vertical' (default: 'auto') */
|
|
521
|
-
'orientation'?: NLDDButtonGroup['orientation'];
|
|
522
515
|
/** 'full': the buttons fill the row in equal shares, and a button that does not fit moves to a line of its own (default: unset, each button as wide as its label) */
|
|
523
516
|
'width'?: NLDDButtonGroup['width'];
|
|
517
|
+
/** Layout direction: 'auto' | 'horizontal' | 'vertical' (default: 'auto') */
|
|
518
|
+
'orientation'?: NLDDButtonGroup['orientation'];
|
|
524
519
|
};
|
|
525
520
|
|
|
526
521
|
type NLDDCardProps = {
|
|
527
522
|
/** Surface color of the card: `base` (default) on a plain page background, `tinted` when the card should stand out against a base surface, `accent-tinted` for a tint of the theme's accent with the contrast of `tinted` */
|
|
528
523
|
'background'?: NLDDCard['background'];
|
|
524
|
+
/** Makes the whole card a button; ignored when `href` is set */
|
|
525
|
+
'button'?: NLDDCard['button'];
|
|
529
526
|
/** Accessible name of the card; with `href`/`button` it names the link or button, otherwise the card region */
|
|
530
527
|
'accessible-label'?: NLDDCard['accessibleLabel'];
|
|
531
528
|
/** Accessible name of the card; with `href`/`button` it names the link or button, otherwise the card region */
|
|
@@ -534,12 +531,10 @@ declare module 'vue' {
|
|
|
534
531
|
'href'?: NLDDCard['href'];
|
|
535
532
|
/** Link target for href (e.g. '_blank'); adjusts rel automatically and adds an "opent in nieuw tabblad" announcement for '_blank'. 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. */
|
|
536
533
|
'target'?: NLDDCard['target'];
|
|
537
|
-
/** 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. */
|
|
538
|
-
'download'?: NLDDCard['download'];
|
|
539
534
|
/** Link rel for href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
540
535
|
'rel'?: NLDDCard['rel'];
|
|
541
|
-
/**
|
|
542
|
-
'
|
|
536
|
+
/** 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. */
|
|
537
|
+
'download'?: NLDDCard['download'];
|
|
543
538
|
/** Override translation keys (e.g. the "opent in nieuw tabblad" announcement) */
|
|
544
539
|
'translations'?: NLDDCard['translations'];
|
|
545
540
|
};
|
|
@@ -586,32 +581,32 @@ declare module 'vue' {
|
|
|
586
581
|
};
|
|
587
582
|
|
|
588
583
|
type NLDDCheckboxProps = {
|
|
589
|
-
/**
|
|
590
|
-
'
|
|
584
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
585
|
+
'color'?: NLDDCheckbox['color'];
|
|
586
|
+
/** Accessible label forwarded as aria-label to the native input. */
|
|
587
|
+
'accessible-label'?: NLDDCheckbox['accessibleLabel'];
|
|
588
|
+
/** Accessible label forwarded as aria-label to the native input. */
|
|
589
|
+
'accessibleLabel'?: NLDDCheckbox['accessibleLabel'];
|
|
591
590
|
/** Renders the box without the input: no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row that is itself the checkbox; putting a real input in there would nest a control inside a control. */
|
|
592
591
|
'decorative'?: NLDDCheckbox['decorative'];
|
|
593
|
-
/** Disabled state */
|
|
594
|
-
'disabled'?: NLDDCheckbox['disabled'];
|
|
595
592
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
596
593
|
'no-tab'?: NLDDCheckbox['noTab'];
|
|
597
594
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
598
595
|
'noTab'?: NLDDCheckbox['noTab'];
|
|
596
|
+
/** Checked state */
|
|
597
|
+
'checked'?: NLDDCheckbox['checked'];
|
|
599
598
|
/** Indeterminate state (takes precedence over checked visually) */
|
|
600
599
|
'indeterminate'?: NLDDCheckbox['indeterminate'];
|
|
601
|
-
/**
|
|
602
|
-
'
|
|
600
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
601
|
+
'invalid'?: NLDDCheckbox['invalid'];
|
|
603
602
|
/** Name for form submission */
|
|
604
603
|
'name'?: NLDDCheckbox['name'];
|
|
605
|
-
/**
|
|
606
|
-
'
|
|
607
|
-
/** Accessible label forwarded as aria-label to the native input. */
|
|
608
|
-
'accessible-label'?: NLDDCheckbox['accessibleLabel'];
|
|
609
|
-
/** Accessible label forwarded as aria-label to the native input. */
|
|
610
|
-
'accessibleLabel'?: NLDDCheckbox['accessibleLabel'];
|
|
604
|
+
/** Value for form submission */
|
|
605
|
+
'value'?: NLDDCheckbox['value'];
|
|
611
606
|
/** Required state */
|
|
612
607
|
'required'?: NLDDCheckbox['required'];
|
|
613
|
-
/**
|
|
614
|
-
'
|
|
608
|
+
/** Disabled state */
|
|
609
|
+
'disabled'?: NLDDCheckbox['disabled'];
|
|
615
610
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
616
611
|
'accessible-description'?: NLDDCheckbox['accessibleDescription'];
|
|
617
612
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -628,24 +623,24 @@ declare module 'vue' {
|
|
|
628
623
|
};
|
|
629
624
|
|
|
630
625
|
type NLDDCheckboxFieldProps = {
|
|
626
|
+
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
627
|
+
'color'?: NLDDCheckboxField['color'];
|
|
628
|
+
/** Label text for the checkbox */
|
|
629
|
+
'label'?: NLDDCheckboxField['label'];
|
|
631
630
|
/** Checked state */
|
|
632
631
|
'checked'?: NLDDCheckboxField['checked'];
|
|
633
632
|
/** Indeterminate state */
|
|
634
633
|
'indeterminate'?: NLDDCheckboxField['indeterminate'];
|
|
635
|
-
/**
|
|
636
|
-
'
|
|
637
|
-
/** Value for form submission */
|
|
638
|
-
'value'?: NLDDCheckboxField['value'];
|
|
634
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
635
|
+
'invalid'?: NLDDCheckboxField['invalid'];
|
|
639
636
|
/** Name for form submission */
|
|
640
637
|
'name'?: NLDDCheckboxField['name'];
|
|
641
|
-
/**
|
|
642
|
-
'
|
|
643
|
-
/** Label text for the checkbox */
|
|
644
|
-
'label'?: NLDDCheckboxField['label'];
|
|
638
|
+
/** Value for form submission */
|
|
639
|
+
'value'?: NLDDCheckboxField['value'];
|
|
645
640
|
/** Required state. In an nldd-checkbox-group, set by the group, it asks for at least one checked box in the group, not for this one. */
|
|
646
641
|
'required'?: NLDDCheckboxField['required'];
|
|
647
|
-
/**
|
|
648
|
-
'
|
|
642
|
+
/** Disabled state */
|
|
643
|
+
'disabled'?: NLDDCheckboxField['disabled'];
|
|
649
644
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
650
645
|
'accessible-description'?: NLDDCheckboxField['accessibleDescription'];
|
|
651
646
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -662,12 +657,6 @@ declare module 'vue' {
|
|
|
662
657
|
};
|
|
663
658
|
|
|
664
659
|
type NLDDCheckboxGroupProps = {
|
|
665
|
-
/** Forwarded to all nldd-checkbox-field elements in the group; clearing it leaves them the name they had */
|
|
666
|
-
'name'?: NLDDCheckboxGroup['name'];
|
|
667
|
-
/** Disables all fields in the group */
|
|
668
|
-
'disabled'?: NLDDCheckboxGroup['disabled'];
|
|
669
|
-
/** At least one box in the group has to be checked. Set on every field in the group, nested ones included, whether it is on or off: in a group, the group decides. */
|
|
670
|
-
'required'?: NLDDCheckboxGroup['required'];
|
|
671
660
|
/** Accessible name for the group, set as aria-label on the group */
|
|
672
661
|
'accessible-label'?: NLDDCheckboxGroup['accessibleLabel'];
|
|
673
662
|
/** Accessible name for the group, set as aria-label on the group */
|
|
@@ -678,23 +667,29 @@ declare module 'vue' {
|
|
|
678
667
|
'accessibleLabeledBy'?: NLDDCheckboxGroup['accessibleLabeledBy'];
|
|
679
668
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
680
669
|
'invalid'?: NLDDCheckboxGroup['invalid'];
|
|
670
|
+
/** Forwarded to all nldd-checkbox-field elements in the group; clearing it leaves them the name they had */
|
|
671
|
+
'name'?: NLDDCheckboxGroup['name'];
|
|
672
|
+
/** At least one box in the group has to be checked. Set on every field in the group, nested ones included, whether it is on or off: in a group, the group decides. */
|
|
673
|
+
'required'?: NLDDCheckboxGroup['required'];
|
|
674
|
+
/** Disables all fields in the group */
|
|
675
|
+
'disabled'?: NLDDCheckboxGroup['disabled'];
|
|
681
676
|
/** Bubbles up from the field that changed; detail: { checked: boolean, value: string } */
|
|
682
677
|
'onChange'?: (event: CustomEvent) => void;
|
|
683
678
|
};
|
|
684
679
|
|
|
685
680
|
type NLDDCodeEditorProps = {
|
|
686
|
-
/** Wrap long lines instead of horizontal scroll */
|
|
687
|
-
'wrap'?: NLDDCodeEditor['wrap'];
|
|
688
681
|
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
689
682
|
'resize'?: NLDDCodeEditor['resize'];
|
|
690
|
-
/** Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them */
|
|
691
|
-
'embedded'?: NLDDCodeEditor['embedded'];
|
|
692
683
|
/** Highlight grammar (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python). Empty disables highlighting. */
|
|
693
684
|
'language'?: NLDDCodeEditor['language'];
|
|
685
|
+
/** Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them */
|
|
686
|
+
'embedded'?: NLDDCodeEditor['embedded'];
|
|
694
687
|
/** Show a line-number gutter */
|
|
695
688
|
'line-numbers'?: NLDDCodeEditor['lineNumbers'];
|
|
696
689
|
/** Show a line-number gutter */
|
|
697
690
|
'lineNumbers'?: NLDDCodeEditor['lineNumbers'];
|
|
691
|
+
/** Wrap long lines instead of horizontal scroll */
|
|
692
|
+
'wrap'?: NLDDCodeEditor['wrap'];
|
|
698
693
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
699
694
|
'accessible-description'?: NLDDCodeEditor['accessibleDescription'];
|
|
700
695
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -739,24 +734,24 @@ declare module 'vue' {
|
|
|
739
734
|
type NLDDCodeViewerProps = {
|
|
740
735
|
/** Visual style. The two `box` values are a framed card with rounded corners, padding, fill, and a 1px border ring, and differ in which surface they fill with; `box-tinted` is the default. `simple` drops the entire frame. Use it when embedding inside a parent surface. */
|
|
741
736
|
'appearance'?: NLDDCodeViewer['appearance'];
|
|
737
|
+
/** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
|
|
738
|
+
'max-height'?: NLDDCodeViewer['maxHeight'];
|
|
739
|
+
/** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
|
|
740
|
+
'maxHeight'?: NLDDCodeViewer['maxHeight'];
|
|
742
741
|
/** Grammar to highlight with. Empty disables highlighting. */
|
|
743
742
|
'language'?: NLDDCodeViewer['language'];
|
|
744
743
|
/** The content is a unified diff: shown with line colors, old and new line numbers, and the changed words marked. */
|
|
745
744
|
'diff'?: NLDDCodeViewer['diff'];
|
|
746
|
-
/** Shows a column with the number of each line, the same column a diff has. Screen readers skip it and a copy leaves it out. No effect with `diff`, which numbers its lines itself. */
|
|
747
|
-
'line-numbers'?: NLDDCodeViewer['lineNumbers'];
|
|
748
|
-
/** Shows a column with the number of each line, the same column a diff has. Screen readers skip it and a copy leaves it out. No effect with `diff`, which numbers its lines itself. */
|
|
749
|
-
'lineNumbers'?: NLDDCodeViewer['lineNumbers'];
|
|
750
745
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
751
746
|
'no-copy'?: NLDDCodeViewer['noCopy'];
|
|
752
747
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
753
748
|
'noCopy'?: NLDDCodeViewer['noCopy'];
|
|
749
|
+
/** Shows a column with the number of each line, the same column a diff has. Screen readers skip it and a copy leaves it out. No effect with `diff`, which numbers its lines itself. */
|
|
750
|
+
'line-numbers'?: NLDDCodeViewer['lineNumbers'];
|
|
751
|
+
/** Shows a column with the number of each line, the same column a diff has. Screen readers skip it and a copy leaves it out. No effect with `diff`, which numbers its lines itself. */
|
|
752
|
+
'lineNumbers'?: NLDDCodeViewer['lineNumbers'];
|
|
754
753
|
/** Wrap long lines instead of horizontal scroll */
|
|
755
754
|
'wrap'?: NLDDCodeViewer['wrap'];
|
|
756
|
-
/** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
|
|
757
|
-
'max-height'?: NLDDCodeViewer['maxHeight'];
|
|
758
|
-
/** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
|
|
759
|
-
'maxHeight'?: NLDDCodeViewer['maxHeight'];
|
|
760
755
|
'copy-unavailable'?: NLDDCodeViewer['_copyUnavailable'];
|
|
761
756
|
'_copyUnavailable'?: NLDDCodeViewer['_copyUnavailable'];
|
|
762
757
|
/** Override translation keys (e.g. the copy button labels and the scroll-region label); unset keys fall back to Dutch. */
|
|
@@ -792,8 +787,6 @@ declare module 'vue' {
|
|
|
792
787
|
'max-items'?: NLDDCollection['maxItems'];
|
|
793
788
|
/** Number of visible items per page (default: 24) */
|
|
794
789
|
'maxItems'?: NLDDCollection['maxItems'];
|
|
795
|
-
/** Translation overrides; unset keys fall back to Dutch. Available keys: 'components.collection.previous-action', 'components.collection.next-action', 'components.collection.load-more-action' */
|
|
796
|
-
'translations'?: NLDDCollection['translations'];
|
|
797
790
|
/** Show load-more button in grid/stack (default: false) */
|
|
798
791
|
'show-load-more'?: NLDDCollection['showLoadMore'];
|
|
799
792
|
/** Show load-more button in grid/stack (default: false) */
|
|
@@ -802,63 +795,65 @@ declare module 'vue' {
|
|
|
802
795
|
'lazy-load'?: NLDDCollection['lazyLoad'];
|
|
803
796
|
/** Automatically load more items when the button becomes visible */
|
|
804
797
|
'lazyLoad'?: NLDDCollection['lazyLoad'];
|
|
798
|
+
/** Translation overrides; unset keys fall back to Dutch. Available keys: 'components.collection.previous-action', 'components.collection.next-action', 'components.collection.load-more-action' */
|
|
799
|
+
'translations'?: NLDDCollection['translations'];
|
|
805
800
|
/** When the load-more button is clicked */
|
|
806
801
|
'onLoadMore'?: (event: CustomEvent) => void;
|
|
807
802
|
};
|
|
808
803
|
|
|
809
804
|
type NLDDComboBoxProps = {
|
|
810
|
-
/**
|
|
811
|
-
'
|
|
805
|
+
/** Size: 'sm' | 'md' (default: 'md') */
|
|
806
|
+
'size'?: NLDDComboBox['size'];
|
|
807
|
+
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
808
|
+
'width'?: NLDDComboBox['width'];
|
|
812
809
|
/** The text shown in the input. May differ from `value` (e.g. value="nl" → text="Nederland"). Set this when pre-populating an existing record. If left empty and `value` matches a slotted menu item, the matching item's `text` is used automatically. */
|
|
813
810
|
'text'?: NLDDComboBox['text'];
|
|
814
811
|
/** Placeholder text for the input */
|
|
815
812
|
'placeholder'?: NLDDComboBox['placeholder'];
|
|
816
|
-
/**
|
|
817
|
-
'
|
|
813
|
+
/** Accessible label forwarded as aria-label to the input. Required for screen reader accessibility. */
|
|
814
|
+
'accessible-label'?: NLDDComboBox['accessibleLabel'];
|
|
815
|
+
/** Accessible label forwarded as aria-label to the input. Required for screen reader accessibility. */
|
|
816
|
+
'accessibleLabel'?: NLDDComboBox['accessibleLabel'];
|
|
817
|
+
/** Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address. */
|
|
818
|
+
'no-filter'?: NLDDComboBox['noFilter'];
|
|
819
|
+
/** Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address. */
|
|
820
|
+
'noFilter'?: NLDDComboBox['noFilter'];
|
|
821
|
+
/** Maximum visible items before scrolling (default: 8) */
|
|
822
|
+
'max-items'?: NLDDComboBox['maxItems'];
|
|
823
|
+
/** Maximum visible items before scrolling (default: 8) */
|
|
824
|
+
'maxItems'?: NLDDComboBox['maxItems'];
|
|
818
825
|
/** Marks the field as valid */
|
|
819
826
|
'valid'?: NLDDComboBox['valid'];
|
|
820
827
|
/** Marks the field as invalid */
|
|
821
828
|
'invalid'?: NLDDComboBox['invalid'];
|
|
822
|
-
/**
|
|
823
|
-
'
|
|
824
|
-
/**
|
|
825
|
-
'
|
|
829
|
+
/** Input name for form submission */
|
|
830
|
+
'name'?: NLDDComboBox['name'];
|
|
831
|
+
/** The selected form value */
|
|
832
|
+
'value'?: NLDDComboBox['value'];
|
|
833
|
+
/** Fewest characters the value may have. */
|
|
834
|
+
'minlength'?: NLDDComboBox['minlength'];
|
|
835
|
+
/** Most characters the value may have. */
|
|
836
|
+
'maxlength'?: NLDDComboBox['maxlength'];
|
|
837
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
838
|
+
'pattern'?: NLDDComboBox['pattern'];
|
|
826
839
|
/** Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
827
840
|
'allow-custom'?: NLDDComboBox['allowCustom'];
|
|
828
841
|
/** Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
829
842
|
'allowCustom'?: NLDDComboBox['allowCustom'];
|
|
830
|
-
/**
|
|
831
|
-
'
|
|
832
|
-
/** Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address. */
|
|
833
|
-
'noFilter'?: NLDDComboBox['noFilter'];
|
|
834
|
-
/** Input name for form submission */
|
|
835
|
-
'name'?: NLDDComboBox['name'];
|
|
843
|
+
/** Required state */
|
|
844
|
+
'required'?: NLDDComboBox['required'];
|
|
836
845
|
/** Browser autofill hint. Default 'off' to prevent the native autofill panel from competing with the menu dropdown. Set to a valid token (e.g. 'country', 'organization') when browser autofill is desired. */
|
|
837
846
|
'autocomplete'?: NLDDComboBox['autocomplete'];
|
|
838
|
-
/** Maximum visible items before scrolling (default: 8) */
|
|
839
|
-
'max-items'?: NLDDComboBox['maxItems'];
|
|
840
|
-
/** Maximum visible items before scrolling (default: 8) */
|
|
841
|
-
'maxItems'?: NLDDComboBox['maxItems'];
|
|
842
|
-
/** Accessible label forwarded as aria-label to the input. Required for screen reader accessibility. */
|
|
843
|
-
'accessible-label'?: NLDDComboBox['accessibleLabel'];
|
|
844
|
-
/** Accessible label forwarded as aria-label to the input. Required for screen reader accessibility. */
|
|
845
|
-
'accessibleLabel'?: NLDDComboBox['accessibleLabel'];
|
|
846
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
847
|
-
'translations'?: NLDDComboBox['translations'];
|
|
848
847
|
/** Disables browser spellchecking on the inner input */
|
|
849
848
|
'no-spellcheck'?: NLDDComboBox['noSpellcheck'];
|
|
850
849
|
/** Disables browser spellchecking on the inner input */
|
|
851
850
|
'noSpellcheck'?: NLDDComboBox['noSpellcheck'];
|
|
852
|
-
/**
|
|
853
|
-
'
|
|
854
|
-
/**
|
|
855
|
-
'
|
|
856
|
-
/**
|
|
857
|
-
'
|
|
858
|
-
/** Fewest characters the value may have. */
|
|
859
|
-
'minlength'?: NLDDComboBox['minlength'];
|
|
860
|
-
/** Most characters the value may have. */
|
|
861
|
-
'maxlength'?: NLDDComboBox['maxlength'];
|
|
851
|
+
/** Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of. */
|
|
852
|
+
'readonly'?: NLDDComboBox['readonly'];
|
|
853
|
+
/** Disabled state */
|
|
854
|
+
'disabled'?: NLDDComboBox['disabled'];
|
|
855
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
856
|
+
'translations'?: NLDDComboBox['translations'];
|
|
862
857
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
863
858
|
'accessible-description'?: NLDDComboBox['accessibleDescription'];
|
|
864
859
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -909,10 +904,6 @@ declare module 'vue' {
|
|
|
909
904
|
'min-height'?: NLDDContainer['minHeight'];
|
|
910
905
|
/** Minimum height as a CSS length (e.g. '240px'), padding included. Reserves the room that content still on its way will take; vertical-alignment then places the children within it. */
|
|
911
906
|
'minHeight'?: NLDDContainer['minHeight'];
|
|
912
|
-
/** 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too. */
|
|
913
|
-
'hide-on'?: NLDDContainer['hideOn'];
|
|
914
|
-
/** 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too. */
|
|
915
|
-
'hideOn'?: NLDDContainer['hideOn'];
|
|
916
907
|
/** Gap between children. One distance for all of them, so it fits children of one kind; for a stack of different kinds, space each seam with nldd-spacer instead. */
|
|
917
908
|
'gap'?: NLDDContainer['gap'];
|
|
918
909
|
/** Gap at sm breakpoint */
|
|
@@ -1045,6 +1036,10 @@ declare module 'vue' {
|
|
|
1045
1036
|
'vertical-alignment'?: NLDDContainer['verticalAlignment'];
|
|
1046
1037
|
/** 'top' | 'center' | 'bottom' */
|
|
1047
1038
|
'verticalAlignment'?: NLDDContainer['verticalAlignment'];
|
|
1039
|
+
/** 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too. */
|
|
1040
|
+
'hide-on'?: NLDDContainer['hideOn'];
|
|
1041
|
+
/** 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too. */
|
|
1042
|
+
'hideOn'?: NLDDContainer['hideOn'];
|
|
1048
1043
|
/** Makes the children a list for assistive technology: `role="list"` on the container and `role="listitem"` on each child, so a screen reader says how many there are and lets you skip them (WCAG 1.3.1). For a row of tags or a group of cards or tiles that are alike. A child with a role of its own keeps it. Nothing changes visually. */
|
|
1049
1044
|
'list'?: NLDDContainer['list'];
|
|
1050
1045
|
/** Position of this child in the container */
|
|
@@ -1066,44 +1061,44 @@ declare module 'vue' {
|
|
|
1066
1061
|
type NLDDDateFieldProps = {
|
|
1067
1062
|
/** 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
1068
1063
|
'size'?: NLDDDateField['size'];
|
|
1069
|
-
/**
|
|
1070
|
-
'
|
|
1071
|
-
/**
|
|
1072
|
-
'
|
|
1073
|
-
/**
|
|
1074
|
-
'
|
|
1075
|
-
/**
|
|
1076
|
-
'
|
|
1064
|
+
/** Width. By default exactly wide enough for a date plus the icons; 'full' fills the container; 'fit-content' drops the room for the validation icon and grows again as soon as the field turns valid or invalid; or pass your own CSS length. */
|
|
1065
|
+
'width'?: NLDDDateField['width'];
|
|
1066
|
+
/** Placeholder text. Do not put a format here; use the supporting label of nldd-form-field for that. */
|
|
1067
|
+
'placeholder'?: NLDDDateField['placeholder'];
|
|
1068
|
+
/** Accessible label for the internal input. Set automatically by nldd-form-field. */
|
|
1069
|
+
'accessible-label'?: NLDDDateField['accessibleLabel'];
|
|
1070
|
+
/** Accessible label for the internal input. Set automatically by nldd-form-field. */
|
|
1071
|
+
'accessibleLabel'?: NLDDDateField['accessibleLabel'];
|
|
1077
1072
|
/** Hides the calendar button. It is shown by default. */
|
|
1078
1073
|
'no-picker'?: NLDDDateField['noPicker'];
|
|
1079
1074
|
/** Hides the calendar button. It is shown by default. */
|
|
1080
1075
|
'noPicker'?: NLDDDateField['noPicker'];
|
|
1076
|
+
/** Marks the field as valid. */
|
|
1077
|
+
'valid'?: NLDDDateField['valid'];
|
|
1078
|
+
/** Marks the field as invalid. */
|
|
1079
|
+
'invalid'?: NLDDDateField['invalid'];
|
|
1080
|
+
/** Name for form submission. */
|
|
1081
|
+
'name'?: NLDDDateField['name'];
|
|
1081
1082
|
/** Sets the id on the internal input. Set automatically by nldd-form-field. */
|
|
1082
1083
|
'input-id'?: NLDDDateField['inputId'];
|
|
1083
1084
|
/** Sets the id on the internal input. Set automatically by nldd-form-field. */
|
|
1084
1085
|
'inputId'?: NLDDDateField['inputId'];
|
|
1085
|
-
/**
|
|
1086
|
-
'
|
|
1087
|
-
/**
|
|
1088
|
-
'
|
|
1089
|
-
/**
|
|
1090
|
-
'
|
|
1091
|
-
/**
|
|
1092
|
-
'
|
|
1093
|
-
/** Read-only state. */
|
|
1094
|
-
'readonly'?: NLDDDateField['readonly'];
|
|
1086
|
+
/** The date as ISO (yyyy-mm-dd). With `range` an ISO 8601 interval: `yyyy-mm-dd/yyyy-mm-dd`. Empty when there is no valid date. */
|
|
1087
|
+
'value'?: NLDDDateField['value'];
|
|
1088
|
+
/** Pick a period: two inputs and a calendar in range mode. */
|
|
1089
|
+
'range'?: NLDDDateField['range'];
|
|
1090
|
+
/** Earliest allowed date as ISO (yyyy-mm-dd). */
|
|
1091
|
+
'min'?: NLDDDateField['min'];
|
|
1092
|
+
/** Latest allowed date as ISO (yyyy-mm-dd). */
|
|
1093
|
+
'max'?: NLDDDateField['max'];
|
|
1095
1094
|
/** Required state. */
|
|
1096
1095
|
'required'?: NLDDDateField['required'];
|
|
1097
|
-
/** Name for form submission. */
|
|
1098
|
-
'name'?: NLDDDateField['name'];
|
|
1099
1096
|
/** Autocomplete hint, for example 'bday'. */
|
|
1100
1097
|
'autocomplete'?: NLDDDateField['autocomplete'];
|
|
1101
|
-
/**
|
|
1102
|
-
'
|
|
1103
|
-
/**
|
|
1104
|
-
'
|
|
1105
|
-
/** Width. By default exactly wide enough for a date plus the icons; 'full' fills the container; 'fit-content' drops the room for the validation icon and grows again as soon as the field turns valid or invalid; or pass your own CSS length. */
|
|
1106
|
-
'width'?: NLDDDateField['width'];
|
|
1098
|
+
/** Read-only state. */
|
|
1099
|
+
'readonly'?: NLDDDateField['readonly'];
|
|
1100
|
+
/** Disabled state. */
|
|
1101
|
+
'disabled'?: NLDDDateField['disabled'];
|
|
1107
1102
|
/** Translations; unspecified keys fall back to Dutch. */
|
|
1108
1103
|
'translations'?: NLDDDateField['translations'];
|
|
1109
1104
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1124,34 +1119,34 @@ declare module 'vue' {
|
|
|
1124
1119
|
};
|
|
1125
1120
|
|
|
1126
1121
|
type NLDDDatePickerProps = {
|
|
1122
|
+
/** Width: `full` (fills the container) or a CSS length (e.g. `560px`). Empty (default) is the intrinsic width of seven day cells; the cells stretch along with the width you pass. */
|
|
1123
|
+
'width'?: NLDDDatePicker['width'];
|
|
1124
|
+
/** Accessible name of the calendar. */
|
|
1125
|
+
'accessible-label'?: NLDDDatePicker['accessibleLabel'];
|
|
1126
|
+
/** Accessible name of the calendar. */
|
|
1127
|
+
'accessibleLabel'?: NLDDDatePicker['accessibleLabel'];
|
|
1128
|
+
/** Shows ISO week numbers in a column on the left. */
|
|
1129
|
+
'week-numbers'?: NLDDDatePicker['weekNumbers'];
|
|
1130
|
+
/** Shows ISO week numbers in a column on the left. */
|
|
1131
|
+
'weekNumbers'?: NLDDDatePicker['weekNumbers'];
|
|
1132
|
+
/** First day of the week, 0 is Sunday. Default 1 (Monday). */
|
|
1133
|
+
'first-day-of-week'?: NLDDDatePicker['firstDayOfWeek'];
|
|
1134
|
+
/** First day of the week, 0 is Sunday. Default 1 (Monday). */
|
|
1135
|
+
'firstDayOfWeek'?: NLDDDatePicker['firstDayOfWeek'];
|
|
1136
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
1137
|
+
'invalid'?: NLDDDatePicker['invalid'];
|
|
1127
1138
|
/** The chosen date as ISO (yyyy-mm-dd). Only without `range`. */
|
|
1128
1139
|
'value'?: NLDDDatePicker['value'];
|
|
1129
1140
|
/** Start of the period as ISO. Only with `range`. */
|
|
1130
1141
|
'start'?: NLDDDatePicker['start'];
|
|
1131
1142
|
/** End of the period as ISO. Only with `range`. */
|
|
1132
1143
|
'end'?: NLDDDatePicker['end'];
|
|
1133
|
-
/** Width: `full` (fills the container) or a CSS length (e.g. `560px`). Empty (default) is the intrinsic width of seven day cells; the cells stretch along with the width you pass. */
|
|
1134
|
-
'width'?: NLDDDatePicker['width'];
|
|
1135
1144
|
/** Pick a period instead of a single date. */
|
|
1136
1145
|
'range'?: NLDDDatePicker['range'];
|
|
1137
1146
|
/** Earliest allowed date: ISO, or `today` with an offset (`today-18y`). */
|
|
1138
1147
|
'min'?: NLDDDatePicker['min'];
|
|
1139
1148
|
/** Latest allowed date: ISO, or `today` with an offset (`today+1y`). */
|
|
1140
1149
|
'max'?: NLDDDatePicker['max'];
|
|
1141
|
-
/** First day of the week, 0 is Sunday. Default 1 (Monday). */
|
|
1142
|
-
'first-day-of-week'?: NLDDDatePicker['firstDayOfWeek'];
|
|
1143
|
-
/** First day of the week, 0 is Sunday. Default 1 (Monday). */
|
|
1144
|
-
'firstDayOfWeek'?: NLDDDatePicker['firstDayOfWeek'];
|
|
1145
|
-
/** Shows ISO week numbers in a column on the left. */
|
|
1146
|
-
'week-numbers'?: NLDDDatePicker['weekNumbers'];
|
|
1147
|
-
/** Shows ISO week numbers in a column on the left. */
|
|
1148
|
-
'weekNumbers'?: NLDDDatePicker['weekNumbers'];
|
|
1149
|
-
/** Accessible name of the calendar. */
|
|
1150
|
-
'accessible-label'?: NLDDDatePicker['accessibleLabel'];
|
|
1151
|
-
/** Accessible name of the calendar. */
|
|
1152
|
-
'accessibleLabel'?: NLDDDatePicker['accessibleLabel'];
|
|
1153
|
-
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
1154
|
-
'invalid'?: NLDDDatePicker['invalid'];
|
|
1155
1150
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1156
1151
|
'accessible-description'?: NLDDDatePicker['accessibleDescription'];
|
|
1157
1152
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1213,12 +1208,12 @@ declare module 'vue' {
|
|
|
1213
1208
|
};
|
|
1214
1209
|
|
|
1215
1210
|
type NLDDDocumentTabBarProps = {
|
|
1211
|
+
/** Renders a nav landmark instead of tablist; use when items have hrefs */
|
|
1212
|
+
'navigation'?: NLDDDocumentTabBar['navigation'];
|
|
1216
1213
|
/** Accessible name for the navigation landmark */
|
|
1217
1214
|
'accessible-label'?: NLDDDocumentTabBar['accessibleLabel'];
|
|
1218
1215
|
/** Accessible name for the navigation landmark */
|
|
1219
1216
|
'accessibleLabel'?: NLDDDocumentTabBar['accessibleLabel'];
|
|
1220
|
-
/** Renders a nav landmark instead of tablist; use when items have hrefs */
|
|
1221
|
-
'navigation'?: NLDDDocumentTabBar['navigation'];
|
|
1222
1217
|
/** Translation overrides; unset keys fall back to Dutch. Available keys: 'components.document-tab-bar.show-more-tabs-action' (default: 'Toon meer tabbladen') */
|
|
1223
1218
|
'translations'?: NLDDDocumentTabBar['translations'];
|
|
1224
1219
|
/** Fired when a tab is selected; detail: { item } */
|
|
@@ -1232,22 +1227,22 @@ declare module 'vue' {
|
|
|
1232
1227
|
};
|
|
1233
1228
|
|
|
1234
1229
|
type NLDDDocumentTabBarItemProps = {
|
|
1235
|
-
/** Selected state (managed by nldd-document-tab-bar) */
|
|
1236
|
-
'selected'?: NLDDDocumentTabBarItem['selected'];
|
|
1237
1230
|
/** Primary text */
|
|
1238
1231
|
'text'?: NLDDDocumentTabBarItem['text'];
|
|
1239
|
-
/** Supporting text */
|
|
1240
|
-
'supporting-text'?: NLDDDocumentTabBarItem['supportingText'];
|
|
1241
|
-
/** Supporting text */
|
|
1242
|
-
'supportingText'?: NLDDDocumentTabBarItem['supportingText'];
|
|
1243
1232
|
/** Short primary text (visible below 200px width) */
|
|
1244
1233
|
'short-text'?: NLDDDocumentTabBarItem['shortText'];
|
|
1245
1234
|
/** Short primary text (visible below 200px width) */
|
|
1246
1235
|
'shortText'?: NLDDDocumentTabBarItem['shortText'];
|
|
1236
|
+
/** Supporting text */
|
|
1237
|
+
'supporting-text'?: NLDDDocumentTabBarItem['supportingText'];
|
|
1238
|
+
/** Supporting text */
|
|
1239
|
+
'supportingText'?: NLDDDocumentTabBarItem['supportingText'];
|
|
1247
1240
|
/** Short supporting text (visible below 200px width) */
|
|
1248
1241
|
'short-supporting-text'?: NLDDDocumentTabBarItem['shortSupportingText'];
|
|
1249
1242
|
/** Short supporting text (visible below 200px width) */
|
|
1250
1243
|
'shortSupportingText'?: NLDDDocumentTabBarItem['shortSupportingText'];
|
|
1244
|
+
/** Selected state (managed by nldd-document-tab-bar) */
|
|
1245
|
+
'selected'?: NLDDDocumentTabBarItem['selected'];
|
|
1251
1246
|
/** Optional link URL; renders an anchor instead of a div */
|
|
1252
1247
|
'href'?: NLDDDocumentTabBarItem['href'];
|
|
1253
1248
|
/** Fired when the item is activated; detail: { item } */
|
|
@@ -1259,22 +1254,22 @@ declare module 'vue' {
|
|
|
1259
1254
|
type NLDDDropdownProps = {
|
|
1260
1255
|
/** Size: 'xs' | 'sm' | 'md' (default: 'md') */
|
|
1261
1256
|
'size'?: NLDDDropdown['size'];
|
|
1262
|
-
/** Marks the field as valid */
|
|
1263
|
-
'valid'?: NLDDDropdown['valid'];
|
|
1264
|
-
/** Marks the field as invalid */
|
|
1265
|
-
'invalid'?: NLDDDropdown['invalid'];
|
|
1266
|
-
/** Disabled state; also forwarded to the slotted select */
|
|
1267
|
-
'disabled'?: NLDDDropdown['disabled'];
|
|
1268
|
-
/** Reflects whether the native picker popup is open (driven internally) */
|
|
1269
|
-
'expanded'?: NLDDDropdown['expanded'];
|
|
1270
1257
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
1271
1258
|
'width'?: NLDDDropdown['width'];
|
|
1272
1259
|
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
1273
1260
|
'accessible-label'?: NLDDDropdown['accessibleLabel'];
|
|
1274
1261
|
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
1275
1262
|
'accessibleLabel'?: NLDDDropdown['accessibleLabel'];
|
|
1263
|
+
/** Reflects whether the native picker popup is open (driven internally) */
|
|
1264
|
+
'expanded'?: NLDDDropdown['expanded'];
|
|
1265
|
+
/** Marks the field as valid */
|
|
1266
|
+
'valid'?: NLDDDropdown['valid'];
|
|
1267
|
+
/** Marks the field as invalid */
|
|
1268
|
+
'invalid'?: NLDDDropdown['invalid'];
|
|
1276
1269
|
/** Required state, handed to the slotted <select>. A `required` on the <select> itself is left alone. */
|
|
1277
1270
|
'required'?: NLDDDropdown['required'];
|
|
1271
|
+
/** Disabled state; also forwarded to the slotted select */
|
|
1272
|
+
'disabled'?: NLDDDropdown['disabled'];
|
|
1278
1273
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1279
1274
|
'accessible-description'?: NLDDDropdown['accessibleDescription'];
|
|
1280
1275
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1296,30 +1291,30 @@ declare module 'vue' {
|
|
|
1296
1291
|
'variant'?: NLDDFileField['variant'];
|
|
1297
1292
|
/** Field size: 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
1298
1293
|
'size'?: NLDDFileField['size'];
|
|
1299
|
-
/** Comma-separated list of accepted file types, forwarded to the input (e.g. ".pdf,image/*") */
|
|
1300
|
-
'accept'?: NLDDFileField['accept'];
|
|
1301
|
-
/** Allows choosing more than one file, and dropping a folder */
|
|
1302
|
-
'multiple'?: NLDDFileField['multiple'];
|
|
1303
|
-
/** Offers a folder beside files, since one dialog picks either: choosing and changing open a menu with both, and an area shows a button for each. Takes several files, as `multiple` does */
|
|
1304
|
-
'directory'?: NLDDFileField['directory'];
|
|
1305
1294
|
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
1306
1295
|
'accessible-label'?: NLDDFileField['accessibleLabel'];
|
|
1307
1296
|
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
1308
1297
|
'accessibleLabel'?: NLDDFileField['accessibleLabel'];
|
|
1309
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
1310
|
-
'input-id'?: NLDDFileField['inputId'];
|
|
1311
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
1312
|
-
'inputId'?: NLDDFileField['inputId'];
|
|
1313
1298
|
/** Marks the field as valid; shows a check icon on the right, like nldd-dropdown */
|
|
1314
1299
|
'valid'?: NLDDFileField['valid'];
|
|
1315
1300
|
/** Marks the field as invalid; shows an alert icon on the right, like nldd-dropdown */
|
|
1316
1301
|
'invalid'?: NLDDFileField['invalid'];
|
|
1317
|
-
/** Disabled state */
|
|
1318
|
-
'disabled'?: NLDDFileField['disabled'];
|
|
1319
1302
|
/** Name for form submission */
|
|
1320
1303
|
'name'?: NLDDFileField['name'];
|
|
1304
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
1305
|
+
'input-id'?: NLDDFileField['inputId'];
|
|
1306
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
1307
|
+
'inputId'?: NLDDFileField['inputId'];
|
|
1308
|
+
/** Comma-separated list of accepted file types, forwarded to the input (e.g. ".pdf,image/*") */
|
|
1309
|
+
'accept'?: NLDDFileField['accept'];
|
|
1310
|
+
/** Allows choosing more than one file, and dropping a folder */
|
|
1311
|
+
'multiple'?: NLDDFileField['multiple'];
|
|
1312
|
+
/** Offers a folder beside files, since one dialog picks either: choosing and changing open a menu with both, and an area shows a button for each. Takes several files, as `multiple` does */
|
|
1313
|
+
'directory'?: NLDDFileField['directory'];
|
|
1321
1314
|
/** Marks the field required (invalid while no file is chosen) */
|
|
1322
1315
|
'required'?: NLDDFileField['required'];
|
|
1316
|
+
/** Disabled state */
|
|
1317
|
+
'disabled'?: NLDDFileField['disabled'];
|
|
1323
1318
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
1324
1319
|
'translations'?: NLDDFileField['translations'];
|
|
1325
1320
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1341,9 +1336,9 @@ declare module 'vue' {
|
|
|
1341
1336
|
};
|
|
1342
1337
|
|
|
1343
1338
|
type NLDDFormProps = {
|
|
1344
|
-
/** Default `label-alignment` for descendant nldd-form-field and nldd-form-actions ('top' | 'right' | 'left').
|
|
1339
|
+
/** Default `label-alignment` for descendant nldd-form-field and nldd-form-actions ('top' | 'right' | 'left'). A `label-alignment` of its own on the descendant wins. */
|
|
1345
1340
|
'label-alignment'?: NLDDForm['labelAlignment'];
|
|
1346
|
-
/** Default `label-alignment` for descendant nldd-form-field and nldd-form-actions ('top' | 'right' | 'left').
|
|
1341
|
+
/** Default `label-alignment` for descendant nldd-form-field and nldd-form-actions ('top' | 'right' | 'left'). A `label-alignment` of its own on the descendant wins. */
|
|
1347
1342
|
'labelAlignment'?: NLDDForm['labelAlignment'];
|
|
1348
1343
|
/** Form name */
|
|
1349
1344
|
'name'?: NLDDForm['name'];
|
|
@@ -1366,20 +1361,16 @@ declare module 'vue' {
|
|
|
1366
1361
|
};
|
|
1367
1362
|
|
|
1368
1363
|
type NLDDFormActionsProps = {
|
|
1369
|
-
/** 'top' (default) | 'right' | 'left'. A value of its own
|
|
1364
|
+
/** 'top' (default) | 'right' | 'left'. A value of its own wins over the one of a wrapping nldd-form. */
|
|
1370
1365
|
'label-alignment'?: NLDDFormActions['labelAlignment'];
|
|
1371
|
-
/** 'top' (default) | 'right' | 'left'. A value of its own
|
|
1366
|
+
/** 'top' (default) | 'right' | 'left'. A value of its own wins over the one of a wrapping nldd-form. */
|
|
1372
1367
|
'labelAlignment'?: NLDDFormActions['labelAlignment'];
|
|
1373
|
-
/** Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code. */
|
|
1374
|
-
'form-label-alignment'?: NLDDFormActions['formLabelAlignment'];
|
|
1375
|
-
/** Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code. */
|
|
1376
|
-
'formLabelAlignment'?: NLDDFormActions['formLabelAlignment'];
|
|
1377
1368
|
};
|
|
1378
1369
|
|
|
1379
1370
|
type NLDDFormFieldProps = {
|
|
1380
|
-
/** 'top' (default) | 'right' | 'left'. A value of its own
|
|
1371
|
+
/** 'top' (default) | 'right' | 'left'. A value of its own wins over the one of a wrapping nldd-form. */
|
|
1381
1372
|
'label-alignment'?: NLDDFormField['labelAlignment'];
|
|
1382
|
-
/** 'top' (default) | 'right' | 'left'. A value of its own
|
|
1373
|
+
/** 'top' (default) | 'right' | 'left'. A value of its own wins over the one of a wrapping nldd-form. */
|
|
1383
1374
|
'labelAlignment'?: NLDDFormField['labelAlignment'];
|
|
1384
1375
|
/** Field label text. Omit for no-label layout. Supports **bold** markdown syntax, for the word to type in a confirmation; the accessible name of the control takes the text without the markers. */
|
|
1385
1376
|
'label'?: NLDDFormField['label'];
|
|
@@ -1387,16 +1378,10 @@ declare module 'vue' {
|
|
|
1387
1378
|
'supporting-label'?: NLDDFormField['supportingLabel'];
|
|
1388
1379
|
/** Short supporting text below the label. Same typography as optional badge. Supports **bold** markdown syntax. */
|
|
1389
1380
|
'supportingLabel'?: NLDDFormField['supportingLabel'];
|
|
1390
|
-
/** Shows an optional badge next to the label. */
|
|
1381
|
+
/** Shows an optional badge next to the label. Its text is the translation key `components.form-field.optional-label` ("Optioneel"). */
|
|
1391
1382
|
'optional'?: NLDDFormField['optional'];
|
|
1392
|
-
/**
|
|
1393
|
-
'
|
|
1394
|
-
/** Text for the optional badge. Defaults to 'Optioneel'. */
|
|
1395
|
-
'optionalLabel'?: NLDDFormField['optionalLabel'];
|
|
1396
|
-
/** Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code. */
|
|
1397
|
-
'form-label-alignment'?: NLDDFormField['formLabelAlignment'];
|
|
1398
|
-
/** Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code. */
|
|
1399
|
-
'formLabelAlignment'?: NLDDFormField['formLabelAlignment'];
|
|
1383
|
+
/** Override translation keys, such as the text of the optional badge; unset keys fall back to Dutch */
|
|
1384
|
+
'translations'?: NLDDFormField['translations'];
|
|
1400
1385
|
};
|
|
1401
1386
|
|
|
1402
1387
|
type NLDDFormFieldHelpTextProps = {
|
|
@@ -1471,36 +1456,28 @@ declare module 'vue' {
|
|
|
1471
1456
|
};
|
|
1472
1457
|
|
|
1473
1458
|
type NLDDHeroProps = {
|
|
1474
|
-
/** Body max-width; 'full' removes the bound (section API) */
|
|
1475
|
-
'width'?: NLDDHero['width'];
|
|
1476
|
-
/** Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout="contained"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A panel along the same edge as the rounded corner of the image stops before the curve, at the panel's padding from it; a panel along a full side, a `main-width="full"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top, and the panel stands under the image, as wide as it, instead of overlapping it. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width="full"` */
|
|
1477
|
-
'corner'?: NLDDHero['corner'];
|
|
1478
|
-
/** How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development */
|
|
1479
|
-
'layout'?: NLDDHero['layout'];
|
|
1480
1459
|
/** Surface color of the panel: 'accent' (default), the accent color of the theme, or 'base', the base surface */
|
|
1481
1460
|
'main-background'?: NLDDHero['mainBackground'];
|
|
1482
1461
|
/** Surface color of the panel: 'accent' (default), the accent color of the theme, or 'base', the base surface */
|
|
1483
1462
|
'mainBackground'?: NLDDHero['mainBackground'];
|
|
1463
|
+
/** Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout="contained"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A panel along the same edge as the rounded corner of the image stops before the curve, at the panel's padding from it; a panel along a full side, a `main-width="full"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top, and the panel stands under the image, as wide as it, instead of overlapping it. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width="full"` */
|
|
1464
|
+
'corner'?: NLDDHero['corner'];
|
|
1465
|
+
/** How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development */
|
|
1466
|
+
'layout'?: NLDDHero['layout'];
|
|
1467
|
+
/** Body max-width; 'full' removes the bound (section API) */
|
|
1468
|
+
'width'?: NLDDHero['width'];
|
|
1484
1469
|
/** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
|
|
1485
1470
|
'main-width'?: NLDDHero['mainWidth'];
|
|
1486
1471
|
/** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
|
|
1487
1472
|
'mainWidth'?: NLDDHero['mainWidth'];
|
|
1488
|
-
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1489
|
-
'main-position'?: NLDDHero['mainPosition'];
|
|
1490
|
-
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1491
|
-
'mainPosition'?: NLDDHero['mainPosition'];
|
|
1492
|
-
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1493
|
-
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1494
|
-
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1495
|
-
'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
|
|
1496
1473
|
/** With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image */
|
|
1497
1474
|
'overlap-size'?: NLDDHero['overlapSize'];
|
|
1498
1475
|
/** With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image */
|
|
1499
1476
|
'overlapSize'?: NLDDHero['overlapSize'];
|
|
1500
|
-
/**
|
|
1501
|
-
'
|
|
1502
|
-
/**
|
|
1503
|
-
'
|
|
1477
|
+
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1478
|
+
'main-position'?: NLDDHero['mainPosition'];
|
|
1479
|
+
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1480
|
+
'mainPosition'?: NLDDHero['mainPosition'];
|
|
1504
1481
|
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
1505
1482
|
'media-src'?: NLDDHero['mediaSrc'];
|
|
1506
1483
|
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
@@ -1517,6 +1494,14 @@ declare module 'vue' {
|
|
|
1517
1494
|
'media-alt'?: NLDDHero['mediaAlt'];
|
|
1518
1495
|
/** Alt text for media-src; empty means decorative */
|
|
1519
1496
|
'mediaAlt'?: NLDDHero['mediaAlt'];
|
|
1497
|
+
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1498
|
+
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1499
|
+
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1500
|
+
'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
|
|
1501
|
+
/** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
|
|
1502
|
+
'media-height'?: NLDDHero['mediaHeight'];
|
|
1503
|
+
/** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
|
|
1504
|
+
'mediaHeight'?: NLDDHero['mediaHeight'];
|
|
1520
1505
|
/** Surface behind the hero (section API) */
|
|
1521
1506
|
'background'?: NLDDHero['background'];
|
|
1522
1507
|
'height'?: NLDDHero['height'];
|
|
@@ -1569,18 +1554,18 @@ declare module 'vue' {
|
|
|
1569
1554
|
};
|
|
1570
1555
|
|
|
1571
1556
|
type NLDDIconProps = {
|
|
1572
|
-
/** The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon. */
|
|
1573
|
-
'icon'?: NLDDIcon['icon'];
|
|
1574
|
-
/** `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). */
|
|
1575
|
-
'size'?: NLDDIcon['size'];
|
|
1576
1557
|
/** Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`). */
|
|
1577
1558
|
'color'?: NLDDIcon['color'];
|
|
1578
1559
|
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`. */
|
|
1579
1560
|
'custom-color'?: NLDDIcon['customColor'];
|
|
1580
1561
|
/** A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`. */
|
|
1581
1562
|
'customColor'?: NLDDIcon['customColor'];
|
|
1563
|
+
/** `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). */
|
|
1564
|
+
'size'?: NLDDIcon['size'];
|
|
1582
1565
|
/** Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`. */
|
|
1583
1566
|
'tile'?: NLDDIcon['tile'];
|
|
1567
|
+
/** The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon. */
|
|
1568
|
+
'icon'?: NLDDIcon['icon'];
|
|
1584
1569
|
};
|
|
1585
1570
|
|
|
1586
1571
|
type NLDDIconButtonProps = {
|
|
@@ -1588,54 +1573,34 @@ declare module 'vue' {
|
|
|
1588
1573
|
'appearance'?: NLDDIconButton['appearance'];
|
|
1589
1574
|
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
1590
1575
|
'size'?: NLDDIconButton['size'];
|
|
1591
|
-
/**
|
|
1592
|
-
'
|
|
1593
|
-
/**
|
|
1594
|
-
'
|
|
1595
|
-
/**
|
|
1596
|
-
'
|
|
1597
|
-
/**
|
|
1598
|
-
'
|
|
1599
|
-
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
1600
|
-
'loadingText'?: NLDDIconButton['loadingText'];
|
|
1601
|
-
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
1602
|
-
'disabled'?: NLDDIconButton['disabled'];
|
|
1603
|
-
/** Removes the per-appearance highlight border (e.g. when a control group draws a single border instead). */
|
|
1604
|
-
'no-highlight-border'?: NLDDIconButton['noHighlightBorder'];
|
|
1605
|
-
/** Removes the per-appearance highlight border (e.g. when a control group draws a single border instead). */
|
|
1606
|
-
'noHighlightBorder'?: NLDDIconButton['noHighlightBorder'];
|
|
1607
|
-
/** Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set) */
|
|
1608
|
-
'type'?: NLDDIconButton['type'];
|
|
1609
|
-
/** Whether the button opens a menu or popover and shows chevron next to the icon */
|
|
1610
|
-
'expandable'?: NLDDIconButton['expandable'];
|
|
1611
|
-
/** Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state. */
|
|
1612
|
-
'expanded'?: NLDDIconButton['expanded'];
|
|
1613
|
-
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable. */
|
|
1614
|
-
'no-tab'?: NLDDIconButton['noTab'];
|
|
1615
|
-
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable. */
|
|
1616
|
-
'noTab'?: NLDDIconButton['noTab'];
|
|
1576
|
+
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
1577
|
+
'width'?: NLDDIconButton['width'];
|
|
1578
|
+
/** Button text, used as aria-label and shown below the icon in lg size */
|
|
1579
|
+
'text'?: NLDDIconButton['text'];
|
|
1580
|
+
/** Icon name for the nldd-icon element. Defaults to a placeholder icon when neither this attribute nor the icon slot is set. */
|
|
1581
|
+
'icon'?: NLDDIconButton['icon'];
|
|
1582
|
+
/** Whether the button opens a menu or popover and shows chevron next to the icon */
|
|
1583
|
+
'expandable'?: NLDDIconButton['expandable'];
|
|
1617
1584
|
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
1618
1585
|
'popup-type'?: NLDDIconButton['popupType'];
|
|
1619
1586
|
/** Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup. */
|
|
1620
1587
|
'popupType'?: NLDDIconButton['popupType'];
|
|
1621
|
-
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
1622
|
-
'width'?: NLDDIconButton['width'];
|
|
1623
1588
|
/** ID of a popover element to toggle, looked up in the tree of this button; the inner <button> gets the element. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
1624
1589
|
'popovertarget'?: NLDDIconButton['popovertarget'];
|
|
1625
1590
|
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
1626
1591
|
'interestfor'?: NLDDIconButton['interestfor'];
|
|
1627
|
-
/** Button text, used as aria-label and shown below the icon in lg size */
|
|
1628
|
-
'text'?: NLDDIconButton['text'];
|
|
1629
|
-
/** Icon name for the nldd-icon element. Defaults to a placeholder icon when neither this attribute nor the icon slot is set. */
|
|
1630
|
-
'icon'?: NLDDIconButton['icon'];
|
|
1631
1592
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip. Use when the visible text alone lacks context for screen readers (e.g. text "Toon", accessible-label "Toon wachtwoord"). The text is still shown visually in lg size regardless. */
|
|
1632
1593
|
'accessible-label'?: NLDDIconButton['accessibleLabel'];
|
|
1633
1594
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip. Use when the visible text alone lacks context for screen readers (e.g. text "Toon", accessible-label "Toon wachtwoord"). The text is still shown visually in lg size regardless. */
|
|
1634
1595
|
'accessibleLabel'?: NLDDIconButton['accessibleLabel'];
|
|
1635
|
-
/**
|
|
1636
|
-
'
|
|
1637
|
-
/**
|
|
1638
|
-
'
|
|
1596
|
+
/** In lg size, hides the text label and enlarges the icon by one step (28px) */
|
|
1597
|
+
'hide-lg-text'?: NLDDIconButton['hideLgText'];
|
|
1598
|
+
/** In lg size, hides the text label and enlarges the icon by one step (28px) */
|
|
1599
|
+
'hideLgText'?: NLDDIconButton['hideLgText'];
|
|
1600
|
+
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
1601
|
+
'loading-text'?: NLDDIconButton['loadingText'];
|
|
1602
|
+
/** What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden". */
|
|
1603
|
+
'loadingText'?: NLDDIconButton['loadingText'];
|
|
1639
1604
|
/** Keyboard shortcut hint shown in the tooltip after the text, e.g. 'Alt+P'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Presentatiemodus Alt P"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
1640
1605
|
'shortcut'?: NLDDIconButton['shortcut'];
|
|
1641
1606
|
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
@@ -1650,14 +1615,30 @@ declare module 'vue' {
|
|
|
1650
1615
|
'shortcut-linux'?: NLDDIconButton['shortcutLinux'];
|
|
1651
1616
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
1652
1617
|
'shortcutLinux'?: NLDDIconButton['shortcutLinux'];
|
|
1618
|
+
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable. */
|
|
1619
|
+
'no-tab'?: NLDDIconButton['noTab'];
|
|
1620
|
+
/** Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable. */
|
|
1621
|
+
'noTab'?: NLDDIconButton['noTab'];
|
|
1622
|
+
/** Forwarded to the inner nldd-tooltip's `timing`: 'delay' (the default, a 700 ms show-delay), 'instant', or 'never' (suppress the visual tooltip; screen readers still get the aria-label). Use 'never' when the surrounding context already explains the button (e.g. spin buttons in nldd-number-field, the chevron in nldd-split-button). */
|
|
1623
|
+
'tooltip-timing'?: NLDDIconButton['tooltipTiming'];
|
|
1624
|
+
/** Forwarded to the inner nldd-tooltip's `timing`: 'delay' (the default, a 700 ms show-delay), 'instant', or 'never' (suppress the visual tooltip; screen readers still get the aria-label). Use 'never' when the surrounding context already explains the button (e.g. spin buttons in nldd-number-field, the chevron in nldd-split-button). */
|
|
1625
|
+
'tooltipTiming'?: NLDDIconButton['tooltipTiming'];
|
|
1626
|
+
/** Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state. */
|
|
1627
|
+
'expanded'?: NLDDIconButton['expanded'];
|
|
1628
|
+
/** Loading state (default: false). Shows an activity indicator over the visually hidden icon, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe. */
|
|
1629
|
+
'loading'?: NLDDIconButton['loading'];
|
|
1630
|
+
/** Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set) */
|
|
1631
|
+
'type'?: NLDDIconButton['type'];
|
|
1653
1632
|
/** When set, renders an <a> element instead of <button> */
|
|
1654
1633
|
'href'?: NLDDIconButton['href'];
|
|
1655
1634
|
/** Link target (e.g. '_blank'); only used when href is set. With '_blank' the "opens in new tab" announcement is folded into the aria-label for screen readers (WCAG 2.1 SC 3.2.2). 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. */
|
|
1656
1635
|
'target'?: NLDDIconButton['target'];
|
|
1657
|
-
/** 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. */
|
|
1658
|
-
'download'?: NLDDIconButton['download'];
|
|
1659
1636
|
/** Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1660
1637
|
'rel'?: NLDDIconButton['rel'];
|
|
1638
|
+
/** 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. */
|
|
1639
|
+
'download'?: NLDDIconButton['download'];
|
|
1640
|
+
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
1641
|
+
'disabled'?: NLDDIconButton['disabled'];
|
|
1661
1642
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1662
1643
|
'accessible-description'?: NLDDIconButton['accessibleDescription'];
|
|
1663
1644
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1679,10 +1660,10 @@ declare module 'vue' {
|
|
|
1679
1660
|
};
|
|
1680
1661
|
|
|
1681
1662
|
type NLDDIconCellProps = {
|
|
1682
|
-
/** Size: '16' | '20' | '24' | '32' (default: '24') */
|
|
1683
|
-
'size'?: NLDDIconCell['size'];
|
|
1684
1663
|
/** Color variant of the icon (default: 'content') */
|
|
1685
1664
|
'color'?: NLDDIconCell['color'];
|
|
1665
|
+
/** Size: '16' | '20' | '24' | '32' (default: '24') */
|
|
1666
|
+
'size'?: NLDDIconCell['size'];
|
|
1686
1667
|
/** Vertical alignment: 'top' | 'center' | 'bottom' (default: 'center') */
|
|
1687
1668
|
'vertical-alignment'?: NLDDIconCell['verticalAlignment'];
|
|
1688
1669
|
/** Vertical alignment: 'top' | 'center' | 'bottom' (default: 'center') */
|
|
@@ -1727,26 +1708,20 @@ declare module 'vue' {
|
|
|
1727
1708
|
};
|
|
1728
1709
|
|
|
1729
1710
|
type NLDDImageProps = {
|
|
1711
|
+
/** Corner shape (default: 'square') */
|
|
1712
|
+
'shape'?: NLDDImage['shape'];
|
|
1713
|
+
/** 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. */
|
|
1714
|
+
'width'?: NLDDImage['width'];
|
|
1715
|
+
/** Intrinsic height (for layout reservation) */
|
|
1716
|
+
'height'?: NLDDImage['height'];
|
|
1730
1717
|
/** Image URL */
|
|
1731
1718
|
'src'?: NLDDImage['src'];
|
|
1732
|
-
/** Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own. */
|
|
1733
|
-
'alt'?: NLDDImage['alt'];
|
|
1734
1719
|
/** Responsive source set */
|
|
1735
1720
|
'srcset'?: NLDDImage['srcset'];
|
|
1736
1721
|
/** Source sizes hint */
|
|
1737
1722
|
'sizes'?: NLDDImage['sizes'];
|
|
1738
|
-
/**
|
|
1739
|
-
'
|
|
1740
|
-
/** Intrinsic height (for layout reservation) */
|
|
1741
|
-
'height'?: NLDDImage['height'];
|
|
1742
|
-
/** Loading strategy (default: 'lazy'). Lazy defers fetch until the image is near the viewport, the right choice for below-the-fold content. Set to 'eager' on images that appear in the initial viewport, especially the LCP candidate (hero illustration, top-of-list thumbnail); leaving them lazy silently regresses Core Web Vitals because the LCP fetch waits for the intersection observer. Pair with `fetchpriority="high"` on the LCP image for the strongest signal. */
|
|
1743
|
-
'loading'?: NLDDImage['loading'];
|
|
1744
|
-
/** Decoding hint (default: 'async') */
|
|
1745
|
-
'decoding'?: NLDDImage['decoding'];
|
|
1746
|
-
/** Fetch priority hint */
|
|
1747
|
-
'fetchpriority'?: NLDDImage['fetchPriority'];
|
|
1748
|
-
/** Fetch priority hint */
|
|
1749
|
-
'fetchPriority'?: NLDDImage['fetchPriority'];
|
|
1723
|
+
/** Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own. */
|
|
1724
|
+
'alt'?: NLDDImage['alt'];
|
|
1750
1725
|
/** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
|
|
1751
1726
|
'aspect-ratio'?: NLDDImage['aspectRatio'];
|
|
1752
1727
|
/** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
|
|
@@ -1759,16 +1734,22 @@ declare module 'vue' {
|
|
|
1759
1734
|
'object-position'?: NLDDImage['objectPosition'];
|
|
1760
1735
|
/** default: 'center' */
|
|
1761
1736
|
'objectPosition'?: NLDDImage['objectPosition'];
|
|
1762
|
-
/**
|
|
1763
|
-
'
|
|
1737
|
+
/** Loading preview (LQIP, low-quality image placeholder) as a CSV string `"base,c1,c2,c3,c4,c5,c6"`: seven 0-255 bytes, each packing an 8-bit Oklab triplet (2 bits L, 3 bits a, 3 bits b). The first is the base color shown outside the cell gradients; the other six are per-cell colors in row-major 3×2 order. Generate via the encoder in `lqip-encoder.ts` or via the LQIP-encoder example on `/componenten/image/`. Extends Lean Rada's CSS-only LQIP (https://leanrada.com/notes/css-only-lqip/) with per-cell hue. Lean's original format encodes grayscale cells only, while ours encodes a color per cell so multi-color subjects survive the preview. */
|
|
1738
|
+
'lqip'?: NLDDImage['lqip'];
|
|
1739
|
+
/** Decoding hint (default: 'async') */
|
|
1740
|
+
'decoding'?: NLDDImage['decoding'];
|
|
1741
|
+
/** Fetch priority hint */
|
|
1742
|
+
'fetchpriority'?: NLDDImage['fetchPriority'];
|
|
1743
|
+
/** Fetch priority hint */
|
|
1744
|
+
'fetchPriority'?: NLDDImage['fetchPriority'];
|
|
1764
1745
|
/** Caption text shown below the image */
|
|
1765
1746
|
'caption'?: NLDDImage['caption'];
|
|
1766
1747
|
/** Smaller credit/attribution text shown beside the caption */
|
|
1767
1748
|
'credit'?: NLDDImage['credit'];
|
|
1768
1749
|
/** Decorative image: alt is forced empty + aria-hidden */
|
|
1769
1750
|
'decorative'?: NLDDImage['decorative'];
|
|
1770
|
-
/** Loading
|
|
1771
|
-
'
|
|
1751
|
+
/** Loading strategy (default: 'lazy'). Lazy defers fetch until the image is near the viewport, the right choice for below-the-fold content. Set to 'eager' on images that appear in the initial viewport, especially the LCP candidate (hero illustration, top-of-list thumbnail); leaving them lazy silently regresses Core Web Vitals because the LCP fetch waits for the intersection observer. Pair with `fetchpriority="high"` on the LCP image for the strongest signal. */
|
|
1752
|
+
'loading'?: NLDDImage['loading'];
|
|
1772
1753
|
/** Override translation keys (e.g. the message shown when the image fails to load); unset keys fall back to Dutch. */
|
|
1773
1754
|
'translations'?: NLDDImage['translations'];
|
|
1774
1755
|
};
|
|
@@ -1776,14 +1757,16 @@ declare module 'vue' {
|
|
|
1776
1757
|
type NLDDInlineDialogProps = {
|
|
1777
1758
|
/** Semantic variant. 'alert' / 'success' force a matching icon and color; 'loading' shows an nldd-activity-indicator (a role="status" spinner announcing "Laden") in place of the icon, for an empty state that is still loading. */
|
|
1778
1759
|
'variant'?: NLDDInlineDialog['variant'];
|
|
1779
|
-
/** Typography size: 'md' (default) keeps body-md text + body-sm supporting; 'lg' bumps both up a step. */
|
|
1780
|
-
'size'?: NLDDInlineDialog['size'];
|
|
1781
|
-
/** Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set. */
|
|
1782
|
-
'icon'?: NLDDInlineDialog['icon'];
|
|
1783
1760
|
/** 'secondary' | 'accent' | 'critical' | 'warning' | 'success'. Overrides the default and variant icon color. */
|
|
1784
1761
|
'icon-color'?: NLDDInlineDialog['iconColor'];
|
|
1785
1762
|
/** 'secondary' | 'accent' | 'critical' | 'warning' | 'success'. Overrides the default and variant icon color. */
|
|
1786
1763
|
'iconColor'?: NLDDInlineDialog['iconColor'];
|
|
1764
|
+
/** Typography size: 'md' (default) keeps body-md text + body-sm supporting; 'lg' bumps both up a step. */
|
|
1765
|
+
'size'?: NLDDInlineDialog['size'];
|
|
1766
|
+
/** Overrides the alignment of text, icon and actions. Unset (the default) derives it: content in the default slot means a task, which aligns left; a bare message stays centered. Centered, the actions stack at most 360px wide, even where two would fit side by side. Left-aligned, they sit in a row, each as wide as its label. */
|
|
1767
|
+
'horizontal-alignment'?: NLDDInlineDialog['horizontalAlignment'];
|
|
1768
|
+
/** Overrides the alignment of text, icon and actions. Unset (the default) derives it: content in the default slot means a task, which aligns left; a bare message stays centered. Centered, the actions stack at most 360px wide, even where two would fit side by side. Left-aligned, they sit in a row, each as wide as its label. */
|
|
1769
|
+
'horizontalAlignment'?: NLDDInlineDialog['horizontalAlignment'];
|
|
1787
1770
|
/** Main text (heading or paragraph, depending on heading-level) */
|
|
1788
1771
|
'text'?: NLDDInlineDialog['text'];
|
|
1789
1772
|
/** Supporting text below the heading */
|
|
@@ -1794,33 +1777,31 @@ declare module 'vue' {
|
|
|
1794
1777
|
'heading-level'?: NLDDInlineDialog['headingLevel'];
|
|
1795
1778
|
/** Renders text as h1–h6; absent renders a p */
|
|
1796
1779
|
'headingLevel'?: NLDDInlineDialog['headingLevel'];
|
|
1797
|
-
/**
|
|
1798
|
-
'
|
|
1799
|
-
/** Overrides the alignment of text, icon and actions. Unset (the default) derives it: content in the default slot means a task, which aligns left; a bare message stays centered. Centered, the actions stack at most 360px wide, even where two would fit side by side. Left-aligned, they sit in a row, each as wide as its label. */
|
|
1800
|
-
'horizontalAlignment'?: NLDDInlineDialog['horizontalAlignment'];
|
|
1780
|
+
/** Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set. */
|
|
1781
|
+
'icon'?: NLDDInlineDialog['icon'];
|
|
1801
1782
|
};
|
|
1802
1783
|
|
|
1803
1784
|
type NLDDJustInTimeEducationProps = {
|
|
1804
|
-
/**
|
|
1805
|
-
'
|
|
1785
|
+
/** 'auto' | 'top' | 'bottom' | 'left' | 'right' (default 'auto'). */
|
|
1786
|
+
'placement'?: NLDDJustInTimeEducation['placement'];
|
|
1806
1787
|
/** Title of the callout. */
|
|
1807
1788
|
'text'?: NLDDJustInTimeEducation['text'];
|
|
1808
1789
|
/** Supporting text under the title. */
|
|
1809
1790
|
'supporting-text'?: NLDDJustInTimeEducation['supportingText'];
|
|
1810
1791
|
/** Supporting text under the title. */
|
|
1811
1792
|
'supportingText'?: NLDDJustInTimeEducation['supportingText'];
|
|
1812
|
-
/** 'auto' | 'top' | 'bottom' | 'left' | 'right' (default 'auto'). */
|
|
1813
|
-
'placement'?: NLDDJustInTimeEducation['placement'];
|
|
1814
|
-
/** Show the dismiss button and allow closing with one click or key press outside the coach mark. False by default: the consumer then manages closing itself. */
|
|
1815
|
-
'dismissable'?: NLDDJustInTimeEducation['dismissable'];
|
|
1816
|
-
/** Arrow length, and therefore the distance between card and control, as a CSS length (e.g. `333px`, `30vh`). Empty = the DS default; anything under 40px is clamped. */
|
|
1817
|
-
'arrow-length'?: NLDDJustInTimeEducation['arrowLength'];
|
|
1818
|
-
/** Arrow length, and therefore the distance between card and control, as a CSS length (e.g. `333px`, `30vh`). Empty = the DS default; anything under 40px is clamped. */
|
|
1819
|
-
'arrowLength'?: NLDDJustInTimeEducation['arrowLength'];
|
|
1820
1793
|
/** Hide the arrow; the card then sits close against the control. */
|
|
1821
1794
|
'no-arrow'?: NLDDJustInTimeEducation['noArrow'];
|
|
1822
1795
|
/** Hide the arrow; the card then sits close against the control. */
|
|
1823
1796
|
'noArrow'?: NLDDJustInTimeEducation['noArrow'];
|
|
1797
|
+
/** Arrow length, and therefore the distance between card and control, as a CSS length (e.g. `333px`, `30vh`). Empty = the DS default; anything under 40px is clamped. */
|
|
1798
|
+
'arrow-length'?: NLDDJustInTimeEducation['arrowLength'];
|
|
1799
|
+
/** Arrow length, and therefore the distance between card and control, as a CSS length (e.g. `333px`, `30vh`). Empty = the DS default; anything under 40px is clamped. */
|
|
1800
|
+
'arrowLength'?: NLDDJustInTimeEducation['arrowLength'];
|
|
1801
|
+
/** Show the dismiss button and allow closing with one click or key press outside the coach mark. False by default: the consumer then manages closing itself. */
|
|
1802
|
+
'dismissable'?: NLDDJustInTimeEducation['dismissable'];
|
|
1803
|
+
/** Show the coach mark. Driven by the app; false by default. */
|
|
1804
|
+
'active'?: NLDDJustInTimeEducation['active'];
|
|
1824
1805
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
1825
1806
|
'translations'?: NLDDJustInTimeEducation['translations'];
|
|
1826
1807
|
/** When the coach mark closes. detail: { reason: 'completed' | 'dismissed' | 'ignored' }. Does not bubble, like `close` on a dialog. */
|
|
@@ -1828,12 +1809,12 @@ declare module 'vue' {
|
|
|
1828
1809
|
};
|
|
1829
1810
|
|
|
1830
1811
|
type NLDDKanbanProps = {
|
|
1812
|
+
/** Fixed height as a CSS length (e.g. '480px'): every column takes it, and scrolls its items once they do not fit. To fill a page or a pane, set the height in your layout instead (flex, or `height: 100%`) */
|
|
1813
|
+
'height'?: NLDDKanban['height'];
|
|
1831
1814
|
/** Accessible name of the board (default: "Bord") */
|
|
1832
1815
|
'accessible-label'?: NLDDKanban['accessibleLabel'];
|
|
1833
1816
|
/** Accessible name of the board (default: "Bord") */
|
|
1834
1817
|
'accessibleLabel'?: NLDDKanban['accessibleLabel'];
|
|
1835
|
-
/** Fixed height as a CSS length (e.g. '480px'): every column takes it, and scrolls its items once they do not fit. To fill a page or a pane, set the height in your layout instead (flex, or `height: 100%`) */
|
|
1836
|
-
'height'?: NLDDKanban['height'];
|
|
1837
1818
|
/** Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves */
|
|
1838
1819
|
'readonly'?: NLDDKanban['readonly'];
|
|
1839
1820
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -1862,6 +1843,12 @@ declare module 'vue' {
|
|
|
1862
1843
|
};
|
|
1863
1844
|
|
|
1864
1845
|
type NLDDKeyboardShortcutProps = {
|
|
1846
|
+
/** 'keycap' (default) shows each key as a keycap with a fill and a highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter, for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except on macOS. */
|
|
1847
|
+
'appearance'?: NLDDKeyboardShortcut['appearance'];
|
|
1848
|
+
/** 'neutral' (default) uses the component colors of its own. 'content' lets the keys and separators follow the content color of the context, with a translucent contrast fill and highlight edge. Useful on a filled surface color or a highlighted row. */
|
|
1849
|
+
'color'?: NLDDKeyboardShortcut['color'];
|
|
1850
|
+
/** Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the font-size from the container; with keycaps they then scale along in em. */
|
|
1851
|
+
'size'?: NLDDKeyboardShortcut['size'];
|
|
1865
1852
|
/** Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P'). End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++' works too). For more complex cases, such as a combo with several '+' keys, use the default slot with your own <kbd> elements instead of the keys attribute. */
|
|
1866
1853
|
'keys'?: NLDDKeyboardShortcut['keys'];
|
|
1867
1854
|
/** Optional override for macOS (iPhone/iPad/iPod included). */
|
|
@@ -1876,12 +1863,6 @@ declare module 'vue' {
|
|
|
1876
1863
|
'linux-keys'?: NLDDKeyboardShortcut['linuxKeys'];
|
|
1877
1864
|
/** Optional override for Linux/ChromeOS. */
|
|
1878
1865
|
'linuxKeys'?: NLDDKeyboardShortcut['linuxKeys'];
|
|
1879
|
-
/** Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the font-size from the container; with keycaps they then scale along in em. */
|
|
1880
|
-
'size'?: NLDDKeyboardShortcut['size'];
|
|
1881
|
-
/** 'keycap' (default) shows each key as a keycap with a fill and a highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter, for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except on macOS. */
|
|
1882
|
-
'appearance'?: NLDDKeyboardShortcut['appearance'];
|
|
1883
|
-
/** 'neutral' (default) uses the component colors of its own. 'content' lets the keys and separators follow the content color of the context, with a translucent contrast fill and highlight edge. Useful on a filled surface color or a highlighted row. */
|
|
1884
|
-
'color'?: NLDDKeyboardShortcut['color'];
|
|
1885
1866
|
/** Show on touch-only devices too, where shortcuts cannot be invoked. */
|
|
1886
1867
|
'always-visible'?: NLDDKeyboardShortcut['alwaysVisible'];
|
|
1887
1868
|
/** Show on touch-only devices too, where shortcuts cannot be invoked. */
|
|
@@ -1893,14 +1874,6 @@ declare module 'vue' {
|
|
|
1893
1874
|
};
|
|
1894
1875
|
|
|
1895
1876
|
type NLDDLinkProps = {
|
|
1896
|
-
/** Link target */
|
|
1897
|
-
'href'?: NLDDLink['href'];
|
|
1898
|
-
/** Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). 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. */
|
|
1899
|
-
'target'?: NLDDLink['target'];
|
|
1900
|
-
/** 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. */
|
|
1901
|
-
'download'?: NLDDLink['download'];
|
|
1902
|
-
/** Link rel attribute; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1903
|
-
'rel'?: NLDDLink['rel'];
|
|
1904
1877
|
/** Text size: 'inherit' (the default) follows the surrounding text and lays the link out inline, so it wraps in running prose. 'xs' | 'sm' | 'md' | 'lg' pin a size and switch to inline-flex, which baseline-aligns a start or end icon with an explicit gap. */
|
|
1905
1878
|
'size'?: NLDDLink['size'];
|
|
1906
1879
|
/** Link text. Content in the default slot wins. */
|
|
@@ -1913,18 +1886,26 @@ declare module 'vue' {
|
|
|
1913
1886
|
'end-icon'?: NLDDLink['endIcon'];
|
|
1914
1887
|
/** Icon after the text */
|
|
1915
1888
|
'endIcon'?: NLDDLink['endIcon'];
|
|
1889
|
+
/** ID of an nldd-popover that previews where the link goes, looked up in the tree of this link. It opens on interest instead of on a click: when the pointer rests on the link, when it gets keyboard focus, and on a long press on touch. A click or a tap still follows the link. Focus stays on the link, the popover's content is read as the link's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: put no link or button in it. Keep the popover outside the paragraph: a link stands in a `<p>`, and a `<p>` of your own inside it would close that paragraph. One popover can serve several links. Keep `accessible-label` on it: it is left out while the popover describes a link. */
|
|
1890
|
+
'interestfor'?: NLDDLink['interestfor'];
|
|
1916
1891
|
/** Accessible label for screen readers */
|
|
1917
1892
|
'accessible-label'?: NLDDLink['accessibleLabel'];
|
|
1918
1893
|
/** Accessible label for screen readers */
|
|
1919
1894
|
'accessibleLabel'?: NLDDLink['accessibleLabel'];
|
|
1920
|
-
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
1921
|
-
'disabled'?: NLDDLink['disabled'];
|
|
1922
1895
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
1923
1896
|
'no-tab'?: NLDDLink['noTab'];
|
|
1924
1897
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
1925
1898
|
'noTab'?: NLDDLink['noTab'];
|
|
1926
|
-
/**
|
|
1927
|
-
'
|
|
1899
|
+
/** Link target */
|
|
1900
|
+
'href'?: NLDDLink['href'];
|
|
1901
|
+
/** Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). 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. */
|
|
1902
|
+
'target'?: NLDDLink['target'];
|
|
1903
|
+
/** Link rel attribute; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1904
|
+
'rel'?: NLDDLink['rel'];
|
|
1905
|
+
/** 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. */
|
|
1906
|
+
'download'?: NLDDLink['download'];
|
|
1907
|
+
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
1908
|
+
'disabled'?: NLDDLink['disabled'];
|
|
1928
1909
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
1929
1910
|
'accessible-description'?: NLDDLink['accessibleDescription'];
|
|
1930
1911
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -1942,12 +1923,12 @@ declare module 'vue' {
|
|
|
1942
1923
|
type NLDDLinkGroupProps = {
|
|
1943
1924
|
/** Text size, set on every link in it: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
1944
1925
|
'size'?: NLDDLinkGroup['size'];
|
|
1945
|
-
/** Layout direction: 'horizontal' (a row that wraps) | 'vertical' (default: 'horizontal') */
|
|
1946
|
-
'orientation'?: NLDDLinkGroup['orientation'];
|
|
1947
1926
|
/** Alignment of the links: 'left' | 'center' (default: 'left') */
|
|
1948
1927
|
'horizontal-alignment'?: NLDDLinkGroup['horizontalAlignment'];
|
|
1949
1928
|
/** Alignment of the links: 'left' | 'center' (default: 'left') */
|
|
1950
1929
|
'horizontalAlignment'?: NLDDLinkGroup['horizontalAlignment'];
|
|
1930
|
+
/** Layout direction: 'horizontal' (a row that wraps) | 'vertical' (default: 'horizontal') */
|
|
1931
|
+
'orientation'?: NLDDLinkGroup['orientation'];
|
|
1951
1932
|
/** Accessible name of the nav landmark */
|
|
1952
1933
|
'accessible-label'?: NLDDLinkGroup['accessibleLabel'];
|
|
1953
1934
|
/** Accessible name of the nav landmark */
|
|
@@ -1957,20 +1938,20 @@ declare module 'vue' {
|
|
|
1957
1938
|
type NLDDListProps = {
|
|
1958
1939
|
/** Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, the two `box` values a framed card with rounded corners, fill and inset border ring. `box-tinted` for a list on a plain page, `box-base` for one on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card) */
|
|
1959
1940
|
'appearance'?: NLDDList['appearance'];
|
|
1960
|
-
/** A11y role and behavior (default 'list'). See the docblock above. */
|
|
1961
|
-
'type'?: NLDDList['type'];
|
|
1962
1941
|
/** When to draw the lines between the items (default 'always'). `on-touch` draws them only where the primary input is touch, under `(pointer: coarse)`: a pointer has the hover highlight to tell one row from the next and a finger has nothing, so the line earns its place in the one case and is clutter in the other. `never` hides them everywhere */
|
|
1963
1942
|
'dividers'?: NLDDList['dividers'];
|
|
1964
1943
|
/** Listbox only: caps the options' scroll region at this CSS length (e.g. '320px'). Unset means no cap. */
|
|
1965
1944
|
'height'?: NLDDList['height'];
|
|
1945
|
+
/** Enables drag-to-reorder and shows the items' reorder handles. Only valid with `type="list"`; there the arrow keys move rows instead of focus. */
|
|
1946
|
+
'reorderable'?: NLDDList['reorderable'];
|
|
1966
1947
|
/** Accessible name: of the list in `type="list"`, of the search field in `type="listbox"`, and of the navigation landmark in `type="navigation"`, so several navigation lists on a page can be told apart. Falls back to the i18n default. An `aria-label` or `aria-labelledby` set on the element itself wins. */
|
|
1967
1948
|
'accessible-label'?: NLDDList['accessibleLabel'];
|
|
1968
1949
|
/** Accessible name: of the list in `type="list"`, of the search field in `type="listbox"`, and of the navigation landmark in `type="navigation"`, so several navigation lists on a page can be told apart. Falls back to the i18n default. An `aria-label` or `aria-labelledby` set on the element itself wins. */
|
|
1969
1950
|
'accessibleLabel'?: NLDDList['accessibleLabel'];
|
|
1951
|
+
/** A11y role and behavior (default 'list'). See the docblock above. */
|
|
1952
|
+
'type'?: NLDDList['type'];
|
|
1970
1953
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
1971
1954
|
'translations'?: NLDDList['translations'];
|
|
1972
|
-
/** Enables drag-to-reorder and pushes `reorderable` onto the items. Only valid with `type="list"`; there the arrow keys move rows instead of focus. */
|
|
1973
|
-
'reorderable'?: NLDDList['reorderable'];
|
|
1974
1955
|
/** Reorderable `type="list"`: `{ fromIndex, toIndex }` on drop */
|
|
1975
1956
|
'onReorder'?: (event: CustomEvent) => void;
|
|
1976
1957
|
/** `type="listbox"`: search value changed; `{ value }`. Toggle `[hidden]` on items to filter. */
|
|
@@ -1980,14 +1961,6 @@ declare module 'vue' {
|
|
|
1980
1961
|
type NLDDListItemProps = {
|
|
1981
1962
|
/** 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. */
|
|
1982
1963
|
'size'?: NLDDListItem['size'];
|
|
1983
|
-
/** 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. */
|
|
1984
|
-
'href'?: NLDDListItem['href'];
|
|
1985
|
-
/** 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. */
|
|
1986
|
-
'target'?: NLDDListItem['target'];
|
|
1987
|
-
/** 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. */
|
|
1988
|
-
'download'?: NLDDListItem['download'];
|
|
1989
|
-
/** Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1990
|
-
'rel'?: NLDDListItem['rel'];
|
|
1991
1964
|
/** Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it. */
|
|
1992
1965
|
'button'?: NLDDListItem['button'];
|
|
1993
1966
|
/** Makes the whole row a `role="checkbox"` control. Wins over `button`, loses to `href`. */
|
|
@@ -2000,8 +1973,10 @@ declare module 'vue' {
|
|
|
2000
1973
|
'accessible-label'?: NLDDListItem['accessibleLabel'];
|
|
2001
1974
|
/** 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. */
|
|
2002
1975
|
'accessibleLabel'?: NLDDListItem['accessibleLabel'];
|
|
2003
|
-
/**
|
|
2004
|
-
'
|
|
1976
|
+
/** 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. */
|
|
1977
|
+
'current-type'?: NLDDListItem['currentType'];
|
|
1978
|
+
/** 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. */
|
|
1979
|
+
'currentType'?: NLDDListItem['currentType'];
|
|
2005
1980
|
/** 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`. */
|
|
2006
1981
|
'selected'?: NLDDListItem['selected'];
|
|
2007
1982
|
/** Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it */
|
|
@@ -2010,10 +1985,14 @@ declare module 'vue' {
|
|
|
2010
1985
|
'expanded'?: NLDDListItem['expanded'];
|
|
2011
1986
|
/** Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, a quiet fill on purpose: the page itself says where you are, in its title, heading and breadcrumb, so the fill is an extra that should not pull attention from the content, and an automated check that flags its contrast is expected. The fill alone stays under 3:1 (1.3:1 in light, 1.5:1 in dark), so a WCAG audit fails 1.4.1 and 1.4.11 on it unless the place also shows another way, such as in the page title or the breadcrumb. A table of contents that follows the scroll, as in the content page pattern, has no such other sign: expect the finding there, and name it as a deviation in the accessibility statement. It takes the highlighted fill while focus is anywhere in the row, including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs. */
|
|
2012
1987
|
'current'?: NLDDListItem['current'];
|
|
2013
|
-
/**
|
|
2014
|
-
'
|
|
2015
|
-
/**
|
|
2016
|
-
'
|
|
1988
|
+
/** 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. */
|
|
1989
|
+
'href'?: NLDDListItem['href'];
|
|
1990
|
+
/** 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. */
|
|
1991
|
+
'target'?: NLDDListItem['target'];
|
|
1992
|
+
/** Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
1993
|
+
'rel'?: NLDDListItem['rel'];
|
|
1994
|
+
/** 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. */
|
|
1995
|
+
'download'?: NLDDListItem['download'];
|
|
2017
1996
|
/** 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. */
|
|
2018
1997
|
'disabled'?: NLDDListItem['disabled'];
|
|
2019
1998
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -2037,42 +2016,42 @@ declare module 'vue' {
|
|
|
2037
2016
|
type NLDDListItemSegmentProps = {
|
|
2038
2017
|
/** `full` lets the segment grow to fill the row (default: 'fit-content') */
|
|
2039
2018
|
'width'?: NLDDListItemSegment['width'];
|
|
2040
|
-
/** Renders the segment as an `<a>` with this URL. Wins over `checkbox` and `button`. */
|
|
2041
|
-
'href'?: NLDDListItemSegment['href'];
|
|
2042
|
-
/** Link target forwarded to the `<a>`; only applies with `href`. With '_blank' a visually hidden "opent in nieuw tabblad" announcement is added. 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. With `accessible-label` the hint goes into the label. */
|
|
2043
|
-
'target'?: NLDDListItemSegment['target'];
|
|
2044
|
-
/** 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. */
|
|
2045
|
-
'download'?: NLDDListItemSegment['download'];
|
|
2046
|
-
/** Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
2047
|
-
'rel'?: NLDDListItemSegment['rel'];
|
|
2048
2019
|
/** Renders the segment as a `<button>`. Last of the three: `href` and `checkbox` both win over it. */
|
|
2049
2020
|
'button'?: NLDDListItemSegment['button'];
|
|
2050
2021
|
/** Makes the segment a `role="checkbox"` control. Wins over `button`, loses to `href`. */
|
|
2051
2022
|
'checkbox'?: NLDDListItemSegment['checkbox'];
|
|
2052
|
-
/** Marks the segment as the row's disclosure control: `aria-expanded` comes from the parent item's `expanded`, so the state lives in one place. A slotted `nldd-icon-cell` rotates a quarter turn while the row is open */
|
|
2053
|
-
'disclosure'?: NLDDListItemSegment['disclosure'];
|
|
2054
2023
|
/** The segment 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. */
|
|
2055
2024
|
'expandable'?: NLDDListItemSegment['expandable'];
|
|
2056
|
-
/**
|
|
2057
|
-
'
|
|
2058
|
-
/** Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action. */
|
|
2059
|
-
'accessibleLabel'?: NLDDListItemSegment['accessibleLabel'];
|
|
2060
|
-
/** Checked state of a `checkbox` segment; it toggles on activation */
|
|
2061
|
-
'checked'?: NLDDListItemSegment['checked'];
|
|
2062
|
-
/** Disclosure state, reflected as `aria-expanded` on the control, and painted: the segment stays lit a step above hover for as long as what it opened is on screen, so a menu reads as hanging off this row rather than floating over the list. Set it on the segment that opens something (a tree row's chevron, a menu). Leave it off entirely when the segment discloses nothing: an absent attribute emits no aria-expanded. */
|
|
2063
|
-
'expanded'?: NLDDListItemSegment['expanded'];
|
|
2025
|
+
/** Marks the segment as the row's disclosure control: `aria-expanded` comes from the parent item's `expanded`, so the state lives in one place. A slotted `nldd-icon-cell` rotates a quarter turn while the row is open */
|
|
2026
|
+
'disclosure'?: NLDDListItemSegment['disclosure'];
|
|
2064
2027
|
/** Type of popup this segment opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Becomes aria-haspopup on the control and makes aria-expanded permanent, so a row of identical "more" segments says what it opens before anything is open. An nldd-menu or nldd-popover anchored here sets it itself from the first render. */
|
|
2065
2028
|
'popup-type'?: NLDDListItemSegment['popupType'];
|
|
2066
2029
|
/** Type of popup this segment opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Becomes aria-haspopup on the control and makes aria-expanded permanent, so a row of identical "more" segments says what it opens before anything is open. An nldd-menu or nldd-popover anchored here sets it itself from the first render. */
|
|
2067
2030
|
'popupType'?: NLDDListItemSegment['popupType'];
|
|
2068
2031
|
/** ID of a popover this segment toggles, looked up in the tree of the segment; the inner button gets the element. The IDL counterparts `popoverTargetElement` and `popoverTargetAction` work across shadow boundaries, as on nldd-icon-button. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`. */
|
|
2069
2032
|
'popovertarget'?: NLDDListItemSegment['popovertarget'];
|
|
2070
|
-
/**
|
|
2071
|
-
'
|
|
2033
|
+
/** Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action. */
|
|
2034
|
+
'accessible-label'?: NLDDListItemSegment['accessibleLabel'];
|
|
2035
|
+
/** Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action. */
|
|
2036
|
+
'accessibleLabel'?: NLDDListItemSegment['accessibleLabel'];
|
|
2072
2037
|
/** The `aria-current` value of a `current` segment (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
|
|
2073
2038
|
'current-type'?: NLDDListItemSegment['currentType'];
|
|
2074
2039
|
/** The `aria-current` value of a `current` segment (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
|
|
2075
2040
|
'currentType'?: NLDDListItemSegment['currentType'];
|
|
2041
|
+
/** Checked state of a `checkbox` segment; it toggles on activation */
|
|
2042
|
+
'checked'?: NLDDListItemSegment['checked'];
|
|
2043
|
+
/** Disclosure state, reflected as `aria-expanded` on the control, and painted: the segment stays lit a step above hover for as long as what it opened is on screen, so a menu reads as hanging off this row rather than floating over the list. Set it on the segment that opens something (a tree row's chevron, a menu). Leave it off entirely when the segment discloses nothing: an absent attribute emits no aria-expanded. */
|
|
2044
|
+
'expanded'?: NLDDListItemSegment['expanded'];
|
|
2045
|
+
/** Marks the segment as the current one, with `aria-current` set to `current-type`. The row it sits in paints itself as the current row from it, so on a segmented row this is the only place it has to be set. */
|
|
2046
|
+
'current'?: NLDDListItemSegment['current'];
|
|
2047
|
+
/** Renders the segment as an `<a>` with this URL. Wins over `checkbox` and `button`. */
|
|
2048
|
+
'href'?: NLDDListItemSegment['href'];
|
|
2049
|
+
/** Link target forwarded to the `<a>`; only applies with `href`. With '_blank' a visually hidden "opent in nieuw tabblad" announcement is added. 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. With `accessible-label` the hint goes into the label. */
|
|
2050
|
+
'target'?: NLDDListItemSegment['target'];
|
|
2051
|
+
/** Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
2052
|
+
'rel'?: NLDDListItemSegment['rel'];
|
|
2053
|
+
/** 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. */
|
|
2054
|
+
'download'?: NLDDListItemSegment['download'];
|
|
2076
2055
|
/** Switches the segment off: a `button` or `checkbox` segment stops responding and dims, a `href` segment gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). The arrow keys skip a row whose only segment is off. */
|
|
2077
2056
|
'disabled'?: NLDDListItemSegment['disabled'];
|
|
2078
2057
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -2102,14 +2081,12 @@ declare module 'vue' {
|
|
|
2102
2081
|
'noBlink'?: NLDDMenu['noBlink'];
|
|
2103
2082
|
/** Explicit width, pinned exactly. Without it the menu sizes to its content between a minimum and a viewport-aware maximum (min(100vw - inset, 640px)). */
|
|
2104
2083
|
'width'?: NLDDMenu['width'];
|
|
2084
|
+
/** Side of the anchor it opens on, and how it lines up there (default: 'bottom-start') */
|
|
2085
|
+
'placement'?: NLDDMenu['placement'];
|
|
2105
2086
|
/** Name of the menu or listbox for assistive technology, on the element that has the role. Without it the menu takes the name of its anchor (the `accessible-label`, `aria-label`, `text` or text of the button or field it hangs off), and a submenu the text of the item that opens it, so a listbox under a search field is "Zoeken" rather than nameless (WCAG 4.1.2). The list of an nldd-combo-box or nldd-token-field takes the name of the field. */
|
|
2106
2087
|
'accessible-label'?: NLDDMenu['accessibleLabel'];
|
|
2107
2088
|
/** Name of the menu or listbox for assistive technology, on the element that has the role. Without it the menu takes the name of its anchor (the `accessible-label`, `aria-label`, `text` or text of the button or field it hangs off), and a submenu the text of the item that opens it, so a listbox under a search field is "Zoeken" rather than nameless (WCAG 4.1.2). The list of an nldd-combo-box or nldd-token-field takes the name of the field. */
|
|
2108
2089
|
'accessibleLabel'?: NLDDMenu['accessibleLabel'];
|
|
2109
|
-
/** ID of the anchor element. Positions the menu against it AND makes it a toggle: the menu listens on document click and opens/closes itself when the click lands on the anchor. Use this for a trigger that is not an nldd component, such as a plain `<button>`. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment needs no anchor: put the menu in its `popup` slot, or point its `popovertarget` at the menu, and it anchors and opens the menu itself. For a menu you open yourself (a type-ahead under a text field, say), set the `anchorElement` property instead. It positions the same way, without the toggle. */
|
|
2110
|
-
'anchor'?: NLDDMenu['anchor'];
|
|
2111
|
-
/** Side of the anchor it opens on, and how it lines up there (default: 'bottom-start') */
|
|
2112
|
-
'placement'?: NLDDMenu['placement'];
|
|
2113
2090
|
/** Maximum number of visible items before scrolling. Sets --_menu-max-items internally. Default: 0 (no limit). */
|
|
2114
2091
|
'max-items'?: NLDDMenu['maxItems'];
|
|
2115
2092
|
/** Maximum number of visible items before scrolling. Sets --_menu-max-items internally. Default: 0 (no limit). */
|
|
@@ -2122,64 +2099,64 @@ declare module 'vue' {
|
|
|
2122
2099
|
'empty-supporting-text'?: NLDDMenu['emptySupportingText'];
|
|
2123
2100
|
/** Supporting text of the default empty-state dialog. */
|
|
2124
2101
|
'emptySupportingText'?: NLDDMenu['emptySupportingText'];
|
|
2125
|
-
/**
|
|
2126
|
-
'
|
|
2102
|
+
/** ID of the anchor element. Positions the menu against it AND makes it a toggle: the menu listens on document click and opens/closes itself when the click lands on the anchor. Use this for a trigger that is not an nldd component, such as a plain `<button>`. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment needs no anchor: put the menu in its `popup` slot, or point its `popovertarget` at the menu, and it anchors and opens the menu itself. For a menu you open yourself (a type-ahead under a text field, say), set the `anchorElement` property instead. It positions the same way, without the toggle. */
|
|
2103
|
+
'anchor'?: NLDDMenu['anchor'];
|
|
2127
2104
|
/** Custom filter function (query, item) => boolean. */
|
|
2128
2105
|
'filterFn'?: NLDDMenu['filterFn'];
|
|
2106
|
+
/** Override one or more translation keys. */
|
|
2107
|
+
'translations'?: NLDDMenu['translations'];
|
|
2129
2108
|
/** The anchor as an element reference. Positions the menu exactly like the `anchor` attribute, but does NOT turn the anchor into a toggle: clicking it does not open the menu. Use this whenever you drive open/close yourself (`showPopover()` / `hidePopover()`), which is what nldd-combo-box and nldd-token-field do: their input must stay an input, not a menu button. */
|
|
2130
2109
|
'anchorElement'?: NLDDMenu['anchorElement'];
|
|
2131
2110
|
};
|
|
2132
2111
|
|
|
2133
2112
|
type NLDDMenuBarProps = {
|
|
2134
|
-
/**
|
|
2135
|
-
'
|
|
2136
|
-
/** Text for the overflow button (default through i18n) */
|
|
2137
|
-
'overflowText'?: NLDDMenuBar['overflowText'];
|
|
2113
|
+
/** Propagates the compact attribute to slotted items (activates content priority) */
|
|
2114
|
+
'compact'?: NLDDMenuBar['compact'];
|
|
2138
2115
|
/** aria-label for the nav landmark */
|
|
2139
2116
|
'accessible-label'?: NLDDMenuBar['accessibleLabel'];
|
|
2140
2117
|
/** aria-label for the nav landmark */
|
|
2141
2118
|
'accessibleLabel'?: NLDDMenuBar['accessibleLabel'];
|
|
2142
|
-
/**
|
|
2143
|
-
'
|
|
2119
|
+
/** Text for the overflow button (default through i18n) */
|
|
2120
|
+
'overflow-text'?: NLDDMenuBar['overflowText'];
|
|
2121
|
+
/** Text for the overflow button (default through i18n) */
|
|
2122
|
+
'overflowText'?: NLDDMenuBar['overflowText'];
|
|
2144
2123
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2145
2124
|
'translations'?: NLDDMenuBar['translations'];
|
|
2146
2125
|
};
|
|
2147
2126
|
|
|
2148
2127
|
type NLDDMenuBarItemProps = {
|
|
2128
|
+
/** Hide the text visually (always). The text then shows as a tooltip on hover and focus. */
|
|
2129
|
+
'icon-only'?: NLDDMenuBarItem['iconOnly'];
|
|
2130
|
+
/** Hide the text visually (always). The text then shows as a tooltip on hover and focus. */
|
|
2131
|
+
'iconOnly'?: NLDDMenuBarItem['iconOnly'];
|
|
2149
2132
|
/** Text of the item */
|
|
2150
2133
|
'text'?: NLDDMenuBarItem['text'];
|
|
2151
|
-
/** Mark as the active or current item */
|
|
2152
|
-
'current'?: NLDDMenuBarItem['current'];
|
|
2153
|
-
/** aria-current value when current is true ('page', 'step', 'location', 'true'). Default: 'page' */
|
|
2154
|
-
'current-type'?: NLDDMenuBarItem['currentType'];
|
|
2155
|
-
/** aria-current value when current is true ('page', 'step', 'location', 'true'). Default: 'page' */
|
|
2156
|
-
'currentType'?: NLDDMenuBarItem['currentType'];
|
|
2157
|
-
/** Optional link URL. Without href it renders as a button. */
|
|
2158
|
-
'href'?: NLDDMenuBarItem['href'];
|
|
2159
2134
|
/** Optional icon name (nldd-icon) */
|
|
2160
2135
|
'icon'?: NLDDMenuBarItem['icon'];
|
|
2161
2136
|
/** Show the disclosure icon and open the slotted `<nldd-menu>` on click. The control then says `aria-haspopup="menu"`, except for a menu with `variant="navigation"`: that is a list of links, so the control only says `aria-expanded`. */
|
|
2162
2137
|
'expandable'?: NLDDMenuBarItem['expandable'];
|
|
2163
|
-
/**
|
|
2164
|
-
'
|
|
2165
|
-
/** Hide the text visually (always). The text then shows as a tooltip on hover and focus. */
|
|
2166
|
-
'iconOnly'?: NLDDMenuBarItem['iconOnly'];
|
|
2167
|
-
/** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
|
|
2168
|
-
'content-priority'?: NLDDMenuBarItem['contentPriority'];
|
|
2169
|
-
/** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
|
|
2170
|
-
'contentPriority'?: NLDDMenuBarItem['contentPriority'];
|
|
2171
|
-
/** Activates content-priority behavior (set by the parent nldd-menu-bar) */
|
|
2172
|
-
'compact'?: NLDDMenuBarItem['compact'];
|
|
2173
|
-
/** Turn interaction off. Avoid it where you can; the design guidelines say why. */
|
|
2174
|
-
'disabled'?: NLDDMenuBarItem['disabled'];
|
|
2138
|
+
/** aria-haspopup value (e.g. "menu", "dialog") */
|
|
2139
|
+
'haspopup'?: NLDDMenuBarItem['haspopup'];
|
|
2175
2140
|
/** Override aria-label */
|
|
2176
2141
|
'accessible-label'?: NLDDMenuBarItem['accessibleLabel'];
|
|
2177
2142
|
/** Override aria-label */
|
|
2178
2143
|
'accessibleLabel'?: NLDDMenuBarItem['accessibleLabel'];
|
|
2179
|
-
/** aria-
|
|
2180
|
-
'
|
|
2144
|
+
/** aria-current value when current is true ('page', 'step', 'location', 'true'). Default: 'page' */
|
|
2145
|
+
'current-type'?: NLDDMenuBarItem['currentType'];
|
|
2146
|
+
/** aria-current value when current is true ('page', 'step', 'location', 'true'). Default: 'page' */
|
|
2147
|
+
'currentType'?: NLDDMenuBarItem['currentType'];
|
|
2148
|
+
/** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
|
|
2149
|
+
'content-priority'?: NLDDMenuBarItem['contentPriority'];
|
|
2150
|
+
/** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
|
|
2151
|
+
'contentPriority'?: NLDDMenuBarItem['contentPriority'];
|
|
2181
2152
|
/** Whether the matching popover is open; sets aria-expanded on the button when expandable or haspopup is set. Tracked automatically for a slotted `<nldd-menu>`. */
|
|
2182
2153
|
'expanded'?: NLDDMenuBarItem['expanded'];
|
|
2154
|
+
/** Mark as the active or current item */
|
|
2155
|
+
'current'?: NLDDMenuBarItem['current'];
|
|
2156
|
+
/** Optional link URL. Without href it renders as a button. */
|
|
2157
|
+
'href'?: NLDDMenuBarItem['href'];
|
|
2158
|
+
/** Turn interaction off. Avoid it where you can; the design guidelines say why. */
|
|
2159
|
+
'disabled'?: NLDDMenuBarItem['disabled'];
|
|
2183
2160
|
/** Whether the linked popover or menu is open */
|
|
2184
2161
|
'open'?: NLDDMenuBarItem['open'];
|
|
2185
2162
|
/** Direct element reference to the popover this item invokes. The IDL-only counterpart to `popovertarget` that works across shadow boundaries. Set by `nldd-menu` when this item is wired up as the menu's anchor so the browser recognizes the inner button as the menu's invoker and excludes the click from popover light-dismiss. */
|
|
@@ -2213,32 +2190,32 @@ declare module 'vue' {
|
|
|
2213
2190
|
'shortcut-mac'?: NLDDMenuItem['shortcutMac'];
|
|
2214
2191
|
/** / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`). */
|
|
2215
2192
|
'shortcutMac'?: NLDDMenuItem['shortcutMac'];
|
|
2193
|
+
/** Query substring to bold-highlight in text. Set by menu's filter(); also settable by consumers. */
|
|
2194
|
+
'query'?: NLDDMenuItem['query'];
|
|
2195
|
+
/** 'match' | 'predictive' (default: 'predictive'). See text-cell for details. */
|
|
2196
|
+
'query-mark-mode'?: NLDDMenuItem['queryMarkMode'];
|
|
2197
|
+
/** 'match' | 'predictive' (default: 'predictive'). See text-cell for details. */
|
|
2198
|
+
'queryMarkMode'?: NLDDMenuItem['queryMarkMode'];
|
|
2199
|
+
/** Space-separated alternative search terms. */
|
|
2200
|
+
'aliases'?: NLDDMenuItem['aliases'];
|
|
2201
|
+
/** Selected state for checkbox and radio types. */
|
|
2202
|
+
'selected'?: NLDDMenuItem['selected'];
|
|
2203
|
+
/** Id of the form a `submit` item submits, for an item that does not stand in it, which a menu usually does not. Takes an `nldd-form` as well as a plain `<form>`, looked up in the item's own root. */
|
|
2204
|
+
'form'?: NLDDMenuItem['form'];
|
|
2205
|
+
/** A value of the item's own, read off the item in a `select` handler. The default filter matches on it as well as on `text` and `aliases`. Not a form value: this component is not form-associated. */
|
|
2206
|
+
'value'?: NLDDMenuItem['value'];
|
|
2207
|
+
/** Item type: 'button' | 'submit' | 'checkbox' | 'radio'. Default: 'button'. A 'submit' item submits its form when chosen, always after `select`, so a logout or delete can be a POST without script: the form it stands in, or the one `form` names. Like a native button, it looks only in its own tree: a menu in a shadow root does not reach a form outside it. To stop it, cancel the form's `submit` event, which runs validation first. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves. */
|
|
2208
|
+
'type'?: NLDDMenuItem['type'];
|
|
2216
2209
|
/** Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled. */
|
|
2217
2210
|
'href'?: NLDDMenuItem['href'];
|
|
2218
2211
|
/** Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply. */
|
|
2219
2212
|
'target'?: NLDDMenuItem['target'];
|
|
2220
2213
|
/** Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set. */
|
|
2221
2214
|
'rel'?: NLDDMenuItem['rel'];
|
|
2222
|
-
/** Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch. */
|
|
2223
|
-
'translations'?: NLDDMenuItem['translations'];
|
|
2224
|
-
/** Item type: 'button' | 'submit' | 'checkbox' | 'radio'. Default: 'button'. A 'submit' item submits its form when chosen, always after `select`, so a logout or delete can be a POST without script: the form it stands in, or the one `form` names. Like a native button, it looks only in its own tree: a menu in a shadow root does not reach a form outside it. To stop it, cancel the form's `submit` event, which runs validation first. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves. */
|
|
2225
|
-
'type'?: NLDDMenuItem['type'];
|
|
2226
|
-
/** Id of the form a `submit` item submits, for an item that does not stand in it, which a menu usually does not. Takes an `nldd-form` as well as a plain `<form>`, looked up in the item's own root. */
|
|
2227
|
-
'form'?: NLDDMenuItem['form'];
|
|
2228
|
-
/** Selected state for checkbox and radio types. */
|
|
2229
|
-
'selected'?: NLDDMenuItem['selected'];
|
|
2230
2215
|
/** Disabled state. */
|
|
2231
2216
|
'disabled'?: NLDDMenuItem['disabled'];
|
|
2232
|
-
/**
|
|
2233
|
-
'
|
|
2234
|
-
/** Space-separated alternative search terms. */
|
|
2235
|
-
'aliases'?: NLDDMenuItem['aliases'];
|
|
2236
|
-
/** Query substring to bold-highlight in text. Set by menu's filter(); also settable by consumers. */
|
|
2237
|
-
'query'?: NLDDMenuItem['query'];
|
|
2238
|
-
/** 'match' | 'predictive' (default: 'predictive'). See text-cell for details. */
|
|
2239
|
-
'query-mark-mode'?: NLDDMenuItem['queryMarkMode'];
|
|
2240
|
-
/** 'match' | 'predictive' (default: 'predictive'). See text-cell for details. */
|
|
2241
|
-
'queryMarkMode'?: NLDDMenuItem['queryMarkMode'];
|
|
2217
|
+
/** Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch. */
|
|
2218
|
+
'translations'?: NLDDMenuItem['translations'];
|
|
2242
2219
|
'shortcut-windows'?: NLDDMenuItem['shortcutWindows'];
|
|
2243
2220
|
'shortcutWindows'?: NLDDMenuItem['shortcutWindows'];
|
|
2244
2221
|
'shortcut-linux'?: NLDDMenuItem['shortcutLinux'];
|
|
@@ -2281,52 +2258,52 @@ declare module 'vue' {
|
|
|
2281
2258
|
type NLDDMultiLineTextFieldProps = {
|
|
2282
2259
|
/** 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
2283
2260
|
'size'?: NLDDMultiLineTextField['size'];
|
|
2284
|
-
/**
|
|
2285
|
-
'
|
|
2286
|
-
/**
|
|
2287
|
-
'
|
|
2288
|
-
/**
|
|
2289
|
-
'
|
|
2261
|
+
/** 'none' | 'vertical' | 'auto' (default). 'auto' grows with content (native field-sizing), no manual handle. */
|
|
2262
|
+
'resize'?: NLDDMultiLineTextField['resize'];
|
|
2263
|
+
/** Initial visible rows (minimum height). Default: 3. */
|
|
2264
|
+
'rows'?: NLDDMultiLineTextField['rows'];
|
|
2265
|
+
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2266
|
+
'width'?: NLDDMultiLineTextField['width'];
|
|
2290
2267
|
/** Placeholder text */
|
|
2291
2268
|
'placeholder'?: NLDDMultiLineTextField['placeholder'];
|
|
2292
|
-
/**
|
|
2293
|
-
'
|
|
2269
|
+
/** Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field. */
|
|
2270
|
+
'accessible-label'?: NLDDMultiLineTextField['accessibleLabel'];
|
|
2271
|
+
/** Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field. */
|
|
2272
|
+
'accessibleLabel'?: NLDDMultiLineTextField['accessibleLabel'];
|
|
2294
2273
|
/** Marks the field as valid */
|
|
2295
2274
|
'valid'?: NLDDMultiLineTextField['valid'];
|
|
2296
|
-
/**
|
|
2297
|
-
'
|
|
2275
|
+
/** Marks the field as invalid */
|
|
2276
|
+
'invalid'?: NLDDMultiLineTextField['invalid'];
|
|
2298
2277
|
/** Textarea name for form submission */
|
|
2299
2278
|
'name'?: NLDDMultiLineTextField['name'];
|
|
2300
|
-
/**
|
|
2301
|
-
'
|
|
2302
|
-
/**
|
|
2303
|
-
'
|
|
2304
|
-
/**
|
|
2305
|
-
'
|
|
2279
|
+
/** Sets the id on the native textarea. Set automatically by nldd-form-field. */
|
|
2280
|
+
'input-id'?: NLDDMultiLineTextField['inputId'];
|
|
2281
|
+
/** Sets the id on the native textarea. Set automatically by nldd-form-field. */
|
|
2282
|
+
'inputId'?: NLDDMultiLineTextField['inputId'];
|
|
2283
|
+
/** The textarea value */
|
|
2284
|
+
'value'?: NLDDMultiLineTextField['value'];
|
|
2306
2285
|
/** Which virtual keyboard a phone or tablet raises, forwarded as `inputmode`: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'. It changes nothing about what the field accepts, and nothing at all on a desktop. */
|
|
2307
2286
|
'keyboard'?: NLDDMultiLineTextField['keyboard'];
|
|
2308
2287
|
/** What the Enter key of the virtual keyboard says, forwarded as `enterkeyhint`: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'. In a field where Enter starts a new line, leave it alone. */
|
|
2309
2288
|
'enter-key'?: NLDDMultiLineTextField['enterKey'];
|
|
2310
2289
|
/** What the Enter key of the virtual keyboard says, forwarded as `enterkeyhint`: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'. In a field where Enter starts a new line, leave it alone. */
|
|
2311
2290
|
'enterKey'?: NLDDMultiLineTextField['enterKey'];
|
|
2312
|
-
/** Initial visible rows (minimum height). Default: 3. */
|
|
2313
|
-
'rows'?: NLDDMultiLineTextField['rows'];
|
|
2314
|
-
/** 'none' | 'vertical' | 'auto' (default). 'auto' grows with content (native field-sizing), no manual handle. */
|
|
2315
|
-
'resize'?: NLDDMultiLineTextField['resize'];
|
|
2316
|
-
/** Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field. */
|
|
2317
|
-
'accessible-label'?: NLDDMultiLineTextField['accessibleLabel'];
|
|
2318
|
-
/** Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field. */
|
|
2319
|
-
'accessibleLabel'?: NLDDMultiLineTextField['accessibleLabel'];
|
|
2320
|
-
/** Disables browser spellchecking on the inner textarea */
|
|
2321
|
-
'no-spellcheck'?: NLDDMultiLineTextField['noSpellcheck'];
|
|
2322
|
-
/** Disables browser spellchecking on the inner textarea */
|
|
2323
|
-
'noSpellcheck'?: NLDDMultiLineTextField['noSpellcheck'];
|
|
2324
|
-
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2325
|
-
'width'?: NLDDMultiLineTextField['width'];
|
|
2326
2291
|
/** Fewest characters the value may have. */
|
|
2327
2292
|
'minlength'?: NLDDMultiLineTextField['minlength'];
|
|
2328
2293
|
/** Most characters the value may have. */
|
|
2329
2294
|
'maxlength'?: NLDDMultiLineTextField['maxlength'];
|
|
2295
|
+
/** Required state */
|
|
2296
|
+
'required'?: NLDDMultiLineTextField['required'];
|
|
2297
|
+
/** Autocomplete hint */
|
|
2298
|
+
'autocomplete'?: NLDDMultiLineTextField['autocomplete'];
|
|
2299
|
+
/** Disables browser spellchecking on the inner textarea */
|
|
2300
|
+
'no-spellcheck'?: NLDDMultiLineTextField['noSpellcheck'];
|
|
2301
|
+
/** Disables browser spellchecking on the inner textarea */
|
|
2302
|
+
'noSpellcheck'?: NLDDMultiLineTextField['noSpellcheck'];
|
|
2303
|
+
/** Readonly state */
|
|
2304
|
+
'readonly'?: NLDDMultiLineTextField['readonly'];
|
|
2305
|
+
/** Disabled state */
|
|
2306
|
+
'disabled'?: NLDDMultiLineTextField['disabled'];
|
|
2330
2307
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2331
2308
|
'accessible-description'?: NLDDMultiLineTextField['accessibleDescription'];
|
|
2332
2309
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2353,6 +2330,10 @@ declare module 'vue' {
|
|
|
2353
2330
|
'primary-sidebar-as-sheet'?: NLDDNavigationSplitView['primarySidebarAsSheet'];
|
|
2354
2331
|
/** Always show the primary sidebar as a sheet, keeping main visible at full width */
|
|
2355
2332
|
'primarySidebarAsSheet'?: NLDDNavigationSplitView['primarySidebarAsSheet'];
|
|
2333
|
+
/** Inspector hidden to free up space for other panes (read-only, set by the split view) */
|
|
2334
|
+
'inspector-auto-hidden'?: NLDDNavigationSplitView['inspectorAutoHidden'];
|
|
2335
|
+
/** Inspector hidden to free up space for other panes (read-only, set by the split view) */
|
|
2336
|
+
'inspectorAutoHidden'?: NLDDNavigationSplitView['inspectorAutoHidden'];
|
|
2356
2337
|
/** Accessible name for the inspector sheet dialog (default: 'Details') */
|
|
2357
2338
|
'inspector-accessible-label'?: NLDDNavigationSplitView['inspectorAccessibleLabel'];
|
|
2358
2339
|
/** Accessible name for the inspector sheet dialog (default: 'Details') */
|
|
@@ -2361,24 +2342,22 @@ declare module 'vue' {
|
|
|
2361
2342
|
'primary-sidebar-accessible-label'?: NLDDNavigationSplitView['primarySidebarAccessibleLabel'];
|
|
2362
2343
|
/** Accessible name for the primary sidebar sheet dialog (default: 'Navigatie') */
|
|
2363
2344
|
'primarySidebarAccessibleLabel'?: NLDDNavigationSplitView['primarySidebarAccessibleLabel'];
|
|
2364
|
-
/**
|
|
2365
|
-
'
|
|
2366
|
-
/** Inspector hidden to free up space for other panes (read-only, set by the split view) */
|
|
2367
|
-
'inspectorAutoHidden'?: NLDDNavigationSplitView['inspectorAutoHidden'];
|
|
2345
|
+
/** This pane says nothing is chosen yet, such as "Kies een dossier". Stacked, the view shows the pane before it instead. Set it on the element in `main` or `secondary-sidebar`. */
|
|
2346
|
+
'empty'?: NLDDNavigationSplitView['empty'];
|
|
2368
2347
|
'onSINGLE_COLUMN_CHANGE_EVENT'?: (event: CustomEvent) => void;
|
|
2369
2348
|
};
|
|
2370
2349
|
|
|
2371
2350
|
type NLDDNotificationProps = {
|
|
2372
2351
|
/** What kind of message this is; sets the icon color and the ARIA role (default: 'neutral') */
|
|
2373
2352
|
'variant'?: NLDDNotification['variant'];
|
|
2374
|
-
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
2375
|
-
'icon'?: NLDDNotification['icon'];
|
|
2376
2353
|
/** The message */
|
|
2377
2354
|
'text'?: NLDDNotification['text'];
|
|
2378
2355
|
/** A second line under the message */
|
|
2379
2356
|
'supporting-text'?: NLDDNotification['supportingText'];
|
|
2380
2357
|
/** A second line under the message */
|
|
2381
2358
|
'supportingText'?: NLDDNotification['supportingText'];
|
|
2359
|
+
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
2360
|
+
'icon'?: NLDDNotification['icon'];
|
|
2382
2361
|
/** Milliseconds before it leaves once it is front of the deck (default: 10000). `0` keeps it until dismissed, which is what `critical` does regardless. */
|
|
2383
2362
|
'duration'?: NLDDNotification['duration'];
|
|
2384
2363
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
@@ -2388,6 +2367,22 @@ declare module 'vue' {
|
|
|
2388
2367
|
};
|
|
2389
2368
|
|
|
2390
2369
|
type NLDDNumberFieldProps = {
|
|
2370
|
+
/** Size: 'sm' | 'md' (default: 'md') */
|
|
2371
|
+
'size'?: NLDDNumberField['size'];
|
|
2372
|
+
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
2373
|
+
'width'?: NLDDNumberField['width'];
|
|
2374
|
+
/** Accessible label (aria-label) forwarded to the native input */
|
|
2375
|
+
'accessible-label'?: NLDDNumberField['accessibleLabel'];
|
|
2376
|
+
/** Accessible label (aria-label) forwarded to the native input */
|
|
2377
|
+
'accessibleLabel'?: NLDDNumberField['accessibleLabel'];
|
|
2378
|
+
/** When set, hides the decrement and increment buttons */
|
|
2379
|
+
'hide-spin-buttons'?: NLDDNumberField['hideSpinButtons'];
|
|
2380
|
+
/** When set, hides the decrement and increment buttons */
|
|
2381
|
+
'hideSpinButtons'?: NLDDNumberField['hideSpinButtons'];
|
|
2382
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2383
|
+
'invalid'?: NLDDNumberField['invalid'];
|
|
2384
|
+
/** Name for form submission */
|
|
2385
|
+
'name'?: NLDDNumberField['name'];
|
|
2391
2386
|
/** Current value. Leave it out for an empty field, which submits an empty string and takes `min` and `max` as no reason to be invalid: only `required` asks for a value, as with a native number input. As a property, `null` is empty. In an empty field + and - are both enabled, and start at 0, or at the nearer end of the range when 0 lies outside it (`min="1"` starts at 1). */
|
|
2392
2387
|
'value'?: NLDDNumberField['value'];
|
|
2393
2388
|
/** Minimum value (default: -Infinity) */
|
|
@@ -2396,28 +2391,12 @@ declare module 'vue' {
|
|
|
2396
2391
|
'max'?: NLDDNumberField['max'];
|
|
2397
2392
|
/** Step size (default: 1) */
|
|
2398
2393
|
'step'?: NLDDNumberField['step'];
|
|
2399
|
-
/** Size: 'sm' | 'md' (default: 'md') */
|
|
2400
|
-
'size'?: NLDDNumberField['size'];
|
|
2401
|
-
/** Disabled state */
|
|
2402
|
-
'disabled'?: NLDDNumberField['disabled'];
|
|
2403
2394
|
/** A value has to be filled in. An empty field is then invalid. */
|
|
2404
2395
|
'required'?: NLDDNumberField['required'];
|
|
2405
|
-
/**
|
|
2406
|
-
'
|
|
2407
|
-
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
2408
|
-
'width'?: NLDDNumberField['width'];
|
|
2409
|
-
/** When set, hides the decrement and increment buttons */
|
|
2410
|
-
'hide-spin-buttons'?: NLDDNumberField['hideSpinButtons'];
|
|
2411
|
-
/** When set, hides the decrement and increment buttons */
|
|
2412
|
-
'hideSpinButtons'?: NLDDNumberField['hideSpinButtons'];
|
|
2413
|
-
/** Accessible label (aria-label) forwarded to the native input */
|
|
2414
|
-
'accessible-label'?: NLDDNumberField['accessibleLabel'];
|
|
2415
|
-
/** Accessible label (aria-label) forwarded to the native input */
|
|
2416
|
-
'accessibleLabel'?: NLDDNumberField['accessibleLabel'];
|
|
2396
|
+
/** Disabled state */
|
|
2397
|
+
'disabled'?: NLDDNumberField['disabled'];
|
|
2417
2398
|
/** Translations; unspecified keys fall back to Dutch */
|
|
2418
2399
|
'translations'?: NLDDNumberField['translations'];
|
|
2419
|
-
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2420
|
-
'invalid'?: NLDDNumberField['invalid'];
|
|
2421
2400
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2422
2401
|
'accessible-description'?: NLDDNumberField['accessibleDescription'];
|
|
2423
2402
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2566,34 +2545,34 @@ declare module 'vue' {
|
|
|
2566
2545
|
'size'?: NLDDOneTimeCodeField['size'];
|
|
2567
2546
|
/** Puts the boxes in the middle of the row, as on a sign-in page where the code is the only field. The field keeps the full width of the row, so it still sees when the boxes no longer fit and steps down a size; centering it from outside, with the alignment of its parent, would shrink it to its boxes and take that away. */
|
|
2568
2547
|
'centered'?: NLDDOneTimeCodeField['centered'];
|
|
2569
|
-
/** How many characters the code has (default: 6). */
|
|
2570
|
-
'length'?: NLDDOneTimeCodeField['length'];
|
|
2571
|
-
/** The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are. */
|
|
2572
|
-
'format'?: NLDDOneTimeCodeField['format'];
|
|
2573
2548
|
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
2574
2549
|
'accessible-label'?: NLDDOneTimeCodeField['accessibleLabel'];
|
|
2575
2550
|
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
2576
2551
|
'accessibleLabel'?: NLDDOneTimeCodeField['accessibleLabel'];
|
|
2552
|
+
/** Turns letters into capitals as they are typed or pasted, in the boxes and in the value. Only with `type="alphanumeric"`, and only for a code where case does not matter, as with most activation codes. Leave it off for a code that tells "a" from "A", such as some recovery codes: a value turned into capitals would no longer match. */
|
|
2553
|
+
'uppercase'?: NLDDOneTimeCodeField['uppercase'];
|
|
2577
2554
|
/** Marks the field as invalid */
|
|
2578
2555
|
'invalid'?: NLDDOneTimeCodeField['invalid'];
|
|
2579
|
-
/**
|
|
2580
|
-
'
|
|
2581
|
-
/** Disabled state */
|
|
2582
|
-
'disabled'?: NLDDOneTimeCodeField['disabled'];
|
|
2556
|
+
/** Input name for form submission */
|
|
2557
|
+
'name'?: NLDDOneTimeCodeField['name'];
|
|
2583
2558
|
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2584
2559
|
'input-id'?: NLDDOneTimeCodeField['inputId'];
|
|
2585
2560
|
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2586
2561
|
'inputId'?: NLDDOneTimeCodeField['inputId'];
|
|
2587
|
-
/** Input name for form submission */
|
|
2588
|
-
'name'?: NLDDOneTimeCodeField['name'];
|
|
2589
2562
|
/** The code */
|
|
2590
2563
|
'value'?: NLDDOneTimeCodeField['value'];
|
|
2591
2564
|
/** What the code holds: 'numeric' (default, digits only, raises the number keyboard) | 'alphanumeric' (letters and digits) */
|
|
2592
2565
|
'type'?: NLDDOneTimeCodeField['type'];
|
|
2593
|
-
/**
|
|
2594
|
-
'
|
|
2566
|
+
/** How many characters the code has (default: 6). */
|
|
2567
|
+
'length'?: NLDDOneTimeCodeField['length'];
|
|
2568
|
+
/** The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are. */
|
|
2569
|
+
'format'?: NLDDOneTimeCodeField['format'];
|
|
2595
2570
|
/** Required state. A code that is not complete counts as invalid too. */
|
|
2596
2571
|
'required'?: NLDDOneTimeCodeField['required'];
|
|
2572
|
+
/** Readonly state */
|
|
2573
|
+
'readonly'?: NLDDOneTimeCodeField['readonly'];
|
|
2574
|
+
/** Disabled state */
|
|
2575
|
+
'disabled'?: NLDDOneTimeCodeField['disabled'];
|
|
2597
2576
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2598
2577
|
'accessible-description'?: NLDDOneTimeCodeField['accessibleDescription'];
|
|
2599
2578
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2628,6 +2607,8 @@ declare module 'vue' {
|
|
|
2628
2607
|
'accessible-label'?: NLDDPage['accessibleLabel'];
|
|
2629
2608
|
/** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
|
|
2630
2609
|
'accessibleLabel'?: NLDDPage['accessibleLabel'];
|
|
2610
|
+
/** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
|
|
2611
|
+
'landmarks'?: NLDDPage['landmarks'];
|
|
2631
2612
|
/** Sticky header */
|
|
2632
2613
|
'sticky-header'?: NLDDPage['stickyHeader'];
|
|
2633
2614
|
/** Sticky header */
|
|
@@ -2636,18 +2617,16 @@ declare module 'vue' {
|
|
|
2636
2617
|
'sticky-footer'?: NLDDPage['stickyFooter'];
|
|
2637
2618
|
/** Sticky footer */
|
|
2638
2619
|
'stickyFooter'?: NLDDPage['stickyFooter'];
|
|
2639
|
-
/** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
|
|
2640
|
-
'landmarks'?: NLDDPage['landmarks'];
|
|
2641
2620
|
'scrollTarget'?: NLDDPage['scrollTarget'];
|
|
2642
2621
|
};
|
|
2643
2622
|
|
|
2644
2623
|
type NLDDPageFooterProps = {
|
|
2645
|
-
/** Body max-width, mirroring a page section: 'full' removes the constraint so the content spans the full width; any CSS length (e.g. '480px') overrides the default max-width. */
|
|
2646
|
-
'width'?: NLDDPageFooter['width'];
|
|
2647
2624
|
/** Leaves out the ribbon under the footer, and the room it takes, as `no-logo` does on nldd-top-navigation-bar. The ribbon belongs to the house style of the Rijksoverheid, so a site outside it, or one anyone may run, turns it off. An empty footer then takes no height at all. */
|
|
2648
2625
|
'no-ribbon'?: NLDDPageFooter['noRibbon'];
|
|
2649
2626
|
/** Leaves out the ribbon under the footer, and the room it takes, as `no-logo` does on nldd-top-navigation-bar. The ribbon belongs to the house style of the Rijksoverheid, so a site outside it, or one anyone may run, turns it off. An empty footer then takes no height at all. */
|
|
2650
2627
|
'noRibbon'?: NLDDPageFooter['noRibbon'];
|
|
2628
|
+
/** Body max-width, mirroring a page section: 'full' removes the constraint so the content spans the full width; any CSS length (e.g. '480px') overrides the default max-width. */
|
|
2629
|
+
'width'?: NLDDPageFooter['width'];
|
|
2651
2630
|
};
|
|
2652
2631
|
|
|
2653
2632
|
type NLDDPageFooterLegalBarProps = {
|
|
@@ -2667,18 +2646,18 @@ declare module 'vue' {
|
|
|
2667
2646
|
};
|
|
2668
2647
|
|
|
2669
2648
|
type NLDDPaginationProps = {
|
|
2670
|
-
/** Currently active page (1-based) */
|
|
2671
|
-
'current'?: NLDDPagination['current'];
|
|
2672
|
-
/** Total number of pages (recommended max: 200 for compact select performance) */
|
|
2673
|
-
'total'?: NLDDPagination['total'];
|
|
2674
|
-
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
2675
|
-
'disabled'?: NLDDPagination['disabled'];
|
|
2676
2649
|
/** Centers the pagination in the container (host fills row, items grouped in the middle) */
|
|
2677
2650
|
'centered'?: NLDDPagination['centered'];
|
|
2678
2651
|
/** URL pattern with a {page} placeholder, renders links instead of buttons */
|
|
2679
2652
|
'href-pattern'?: NLDDPagination['hrefPattern'];
|
|
2680
2653
|
/** URL pattern with a {page} placeholder, renders links instead of buttons */
|
|
2681
2654
|
'hrefPattern'?: NLDDPagination['hrefPattern'];
|
|
2655
|
+
/** Currently active page (1-based) */
|
|
2656
|
+
'current'?: NLDDPagination['current'];
|
|
2657
|
+
/** Total number of pages (recommended max: 200 for compact select performance) */
|
|
2658
|
+
'total'?: NLDDPagination['total'];
|
|
2659
|
+
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
2660
|
+
'disabled'?: NLDDPagination['disabled'];
|
|
2682
2661
|
/** Translations; unspecified keys fall back to Dutch */
|
|
2683
2662
|
'translations'?: NLDDPagination['translations'];
|
|
2684
2663
|
/** On a page change (detail: { page: number, href?: string }). Only cancelable in href mode: preventDefault() blocks navigation (SPA). */
|
|
@@ -2688,44 +2667,44 @@ declare module 'vue' {
|
|
|
2688
2667
|
type NLDDPasswordFieldProps = {
|
|
2689
2668
|
/** 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
2690
2669
|
'size'?: NLDDPasswordField['size'];
|
|
2691
|
-
/**
|
|
2692
|
-
'
|
|
2693
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2694
|
-
'input-id'?: NLDDPasswordField['inputId'];
|
|
2695
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2696
|
-
'inputId'?: NLDDPasswordField['inputId'];
|
|
2670
|
+
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2671
|
+
'width'?: NLDDPasswordField['width'];
|
|
2697
2672
|
/** Placeholder text */
|
|
2698
2673
|
'placeholder'?: NLDDPasswordField['placeholder'];
|
|
2674
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
2675
|
+
'accessible-label'?: NLDDPasswordField['accessibleLabel'];
|
|
2676
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
2677
|
+
'accessibleLabel'?: NLDDPasswordField['accessibleLabel'];
|
|
2699
2678
|
/** Marks the field as valid */
|
|
2700
2679
|
'valid'?: NLDDPasswordField['valid'];
|
|
2701
2680
|
/** Marks the field as invalid */
|
|
2702
2681
|
'invalid'?: NLDDPasswordField['invalid'];
|
|
2703
|
-
/** Disabled state */
|
|
2704
|
-
'disabled'?: NLDDPasswordField['disabled'];
|
|
2705
2682
|
/** Whether the password is masked (default: true) */
|
|
2706
2683
|
'masked'?: NLDDPasswordField['masked'];
|
|
2707
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
2708
|
-
'translations'?: NLDDPasswordField['translations'];
|
|
2709
|
-
/** Readonly state */
|
|
2710
|
-
'readonly'?: NLDDPasswordField['readonly'];
|
|
2711
|
-
/** Required state */
|
|
2712
|
-
'required'?: NLDDPasswordField['required'];
|
|
2713
2684
|
/** Input name for form submission */
|
|
2714
2685
|
'name'?: NLDDPasswordField['name'];
|
|
2715
|
-
/**
|
|
2716
|
-
'
|
|
2717
|
-
/**
|
|
2718
|
-
'
|
|
2719
|
-
/**
|
|
2720
|
-
'
|
|
2721
|
-
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2722
|
-
'width'?: NLDDPasswordField['width'];
|
|
2723
|
-
/** Regular expression the value has to match, as the native `pattern`. */
|
|
2724
|
-
'pattern'?: NLDDPasswordField['pattern'];
|
|
2686
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2687
|
+
'input-id'?: NLDDPasswordField['inputId'];
|
|
2688
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
2689
|
+
'inputId'?: NLDDPasswordField['inputId'];
|
|
2690
|
+
/** The input value */
|
|
2691
|
+
'value'?: NLDDPasswordField['value'];
|
|
2725
2692
|
/** Fewest characters the value may have. */
|
|
2726
2693
|
'minlength'?: NLDDPasswordField['minlength'];
|
|
2727
2694
|
/** Most characters the value may have. */
|
|
2728
2695
|
'maxlength'?: NLDDPasswordField['maxlength'];
|
|
2696
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
2697
|
+
'pattern'?: NLDDPasswordField['pattern'];
|
|
2698
|
+
/** Required state */
|
|
2699
|
+
'required'?: NLDDPasswordField['required'];
|
|
2700
|
+
/** Autocomplete hint */
|
|
2701
|
+
'autocomplete'?: NLDDPasswordField['autocomplete'];
|
|
2702
|
+
/** Readonly state */
|
|
2703
|
+
'readonly'?: NLDDPasswordField['readonly'];
|
|
2704
|
+
/** Disabled state */
|
|
2705
|
+
'disabled'?: NLDDPasswordField['disabled'];
|
|
2706
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
2707
|
+
'translations'?: NLDDPasswordField['translations'];
|
|
2729
2708
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2730
2709
|
'accessible-description'?: NLDDPasswordField['accessibleDescription'];
|
|
2731
2710
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2750,12 +2729,8 @@ declare module 'vue' {
|
|
|
2750
2729
|
'sm-full-height'?: NLDDPopover['smFullHeight'];
|
|
2751
2730
|
/** On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention. */
|
|
2752
2731
|
'smFullHeight'?: NLDDPopover['smFullHeight'];
|
|
2753
|
-
/**
|
|
2754
|
-
'
|
|
2755
|
-
/** Keeps an nldd-top-title-bar in the popover on md and up, where it is hidden by default. For a bar whose dismiss button does what nothing else in the popover does. */
|
|
2756
|
-
'mdTitleBar'?: NLDDPopover['mdTitleBar'];
|
|
2757
|
-
/** ID of the trigger element, used for positioning */
|
|
2758
|
-
'anchor'?: NLDDPopover['anchor'];
|
|
2732
|
+
/** Centers both axes on the viewport. Overridable per axis: `centered top="0"` is centered horizontally, aligned to the top. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides. */
|
|
2733
|
+
'centered'?: NLDDPopover['centered'];
|
|
2759
2734
|
/** Side of the anchor it opens on, and how it lines up there (default: 'bottom-start') */
|
|
2760
2735
|
'placement'?: NLDDPopover['placement'];
|
|
2761
2736
|
/** CSS top position. When set (on its own, or together with other edge attributes or `centered`) Floating UI's anchor positioning is skipped and the popover stands free on the screen. The `anchor` is still needed for the ARIA link on the trigger. No effect on sm, where the bottom sheet wins. */
|
|
@@ -2766,16 +2741,20 @@ declare module 'vue' {
|
|
|
2766
2741
|
'bottom'?: NLDDPopover['bottom'];
|
|
2767
2742
|
/** CSS left position. See `top` for the semantics. */
|
|
2768
2743
|
'left'?: NLDDPopover['left'];
|
|
2769
|
-
/** Centers both axes on the viewport. Overridable per axis: `centered top="0"` is centered horizontally, aligned to the top. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides. */
|
|
2770
|
-
'centered'?: NLDDPopover['centered'];
|
|
2771
2744
|
/** (required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset. Always give a unique, describing name. */
|
|
2772
2745
|
'accessible-label'?: NLDDPopover['accessibleLabel'];
|
|
2773
2746
|
/** (required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset. Always give a unique, describing name. */
|
|
2774
2747
|
'accessibleLabel'?: NLDDPopover['accessibleLabel'];
|
|
2775
|
-
/**
|
|
2776
|
-
'
|
|
2748
|
+
/** Keeps an nldd-top-title-bar in the popover on md and up, where it is hidden by default. For a bar whose dismiss button does what nothing else in the popover does. */
|
|
2749
|
+
'md-title-bar'?: NLDDPopover['mdTitleBar'];
|
|
2750
|
+
/** Keeps an nldd-top-title-bar in the popover on md and up, where it is hidden by default. For a bar whose dismiss button does what nothing else in the popover does. */
|
|
2751
|
+
'mdTitleBar'?: NLDDPopover['mdTitleBar'];
|
|
2752
|
+
/** ID of the trigger element, used for positioning */
|
|
2753
|
+
'anchor'?: NLDDPopover['anchor'];
|
|
2777
2754
|
/** Whether the popover is open. Set it to open or close the popover, as an alternative to show() and hide(); opening needs an anchor, and without one it stays unset. The popover clears it itself when it closes another way (Escape, a click outside), so bind it together with the close event. */
|
|
2778
2755
|
'open'?: NLDDPopover['open'];
|
|
2756
|
+
/** Override translation keys; unset keys fall back to the Dutch default. */
|
|
2757
|
+
'translations'?: NLDDPopover['translations'];
|
|
2779
2758
|
/** ARIA role (default: 'dialog'). For informational content (a tooltip callout, a rich-text help panel) without a dialog interaction pattern, set `role="region"`. For menu-style triggers, `role="menu"` plus `aria-haspopup="menu"` on the anchor. The popover never overwrites a role that was set explicitly. */
|
|
2780
2759
|
'role'?: NLDDPopover['role'];
|
|
2781
2760
|
'anchorElement'?: NLDDPopover['anchorElement'];
|
|
@@ -2788,124 +2767,120 @@ declare module 'vue' {
|
|
|
2788
2767
|
type NLDDProgressBarProps = {
|
|
2789
2768
|
/** Semantics for ARIA and visualization (default: 'progress') */
|
|
2790
2769
|
'variant'?: NLDDProgressBar['variant'];
|
|
2791
|
-
/** Total value (default: 100) */
|
|
2792
|
-
'max'?: NLDDProgressBar['max'];
|
|
2793
|
-
/** Single-segment shorthand (ignored when segment children are present) */
|
|
2794
|
-
'value'?: NLDDProgressBar['value'];
|
|
2795
2770
|
/** Color for the single-segment shorthand (default: 'accent') */
|
|
2796
2771
|
'color'?: NLDDProgressBar['color'];
|
|
2797
2772
|
/** Height of the bar (default: 'md') */
|
|
2798
2773
|
'size'?: NLDDProgressBar['size'];
|
|
2799
2774
|
/** Label above the bar (left) */
|
|
2800
2775
|
'text'?: NLDDProgressBar['text'];
|
|
2801
|
-
/**
|
|
2802
|
-
'
|
|
2803
|
-
/**
|
|
2804
|
-
'
|
|
2776
|
+
/** Full override of aria-valuetext */
|
|
2777
|
+
'accessible-label'?: NLDDProgressBar['accessibleLabel'];
|
|
2778
|
+
/** Full override of aria-valuetext */
|
|
2779
|
+
'accessibleLabel'?: NLDDProgressBar['accessibleLabel'];
|
|
2805
2780
|
/** Full override of the displayed value */
|
|
2806
2781
|
'value-text'?: NLDDProgressBar['valueText'];
|
|
2807
2782
|
/** Full override of the displayed value */
|
|
2808
2783
|
'valueText'?: NLDDProgressBar['valueText'];
|
|
2784
|
+
/** Format for the displayed value (default: 'percentage') */
|
|
2785
|
+
'value-format'?: NLDDProgressBar['valueFormat'];
|
|
2786
|
+
/** Format for the displayed value (default: 'percentage') */
|
|
2787
|
+
'valueFormat'?: NLDDProgressBar['valueFormat'];
|
|
2809
2788
|
/** Where the value shows: inline in the caption, in a tooltip on the bar, or hidden (default: 'inline') */
|
|
2810
2789
|
'value-display'?: NLDDProgressBar['valueDisplay'];
|
|
2811
2790
|
/** Where the value shows: inline in the caption, in a tooltip on the bar, or hidden (default: 'inline') */
|
|
2812
2791
|
'valueDisplay'?: NLDDProgressBar['valueDisplay'];
|
|
2813
|
-
/** Full override of aria-valuetext */
|
|
2814
|
-
'accessible-label'?: NLDDProgressBar['accessibleLabel'];
|
|
2815
|
-
/** Full override of aria-valuetext */
|
|
2816
|
-
'accessibleLabel'?: NLDDProgressBar['accessibleLabel'];
|
|
2817
2792
|
/** Shows a sliding indicator animation (only without segments) */
|
|
2818
2793
|
'indeterminate'?: NLDDProgressBar['indeterminate'];
|
|
2794
|
+
/** Single-segment shorthand (ignored when segment children are present) */
|
|
2795
|
+
'value'?: NLDDProgressBar['value'];
|
|
2796
|
+
/** Total value (default: 100) */
|
|
2797
|
+
'max'?: NLDDProgressBar['max'];
|
|
2819
2798
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2820
2799
|
'translations'?: NLDDProgressBar['translations'];
|
|
2821
2800
|
};
|
|
2822
2801
|
|
|
2823
2802
|
type NLDDProgressBarSegmentIndicatorProps = {
|
|
2824
|
-
/** Share of the parent's total (default 0; <=0 hides segment) */
|
|
2825
|
-
'value'?: NLDDProgressBarSegmentIndicator['value'];
|
|
2826
2803
|
/** Color. Semantic (neutral, accent, success, warning, critical) or a Rijkskleur. Default 'accent'. With more than one segment, give each a Rijkskleur (or success, warning and critical where they mean that): `accent` can turn near-black or match another segment in a theme, and `neutral` disappears against the track. */
|
|
2827
2804
|
'color'?: NLDDProgressBarSegmentIndicator['color'];
|
|
2828
|
-
/** Name for screenreader text (optional) */
|
|
2829
|
-
'name'?: NLDDProgressBarSegmentIndicator['name'];
|
|
2830
2805
|
/** Override of the auto-generated tooltip text */
|
|
2831
2806
|
'tooltip-text'?: NLDDProgressBarSegmentIndicator['tooltipText'];
|
|
2832
2807
|
/** Override of the auto-generated tooltip text */
|
|
2833
2808
|
'tooltipText'?: NLDDProgressBarSegmentIndicator['tooltipText'];
|
|
2809
|
+
/** Name for screenreader text (optional) */
|
|
2810
|
+
'name'?: NLDDProgressBarSegmentIndicator['name'];
|
|
2811
|
+
/** Share of the parent's total (default 0; <=0 hides segment) */
|
|
2812
|
+
'value'?: NLDDProgressBarSegmentIndicator['value'];
|
|
2834
2813
|
};
|
|
2835
2814
|
|
|
2836
2815
|
type NLDDProgressCircleProps = {
|
|
2837
2816
|
/** Semantics for ARIA and gap behavior (default: 'progress') */
|
|
2838
2817
|
'variant'?: NLDDProgressCircle['variant'];
|
|
2839
|
-
/** Total value (default: 100) */
|
|
2840
|
-
'max'?: NLDDProgressCircle['max'];
|
|
2841
|
-
/** Single-segment shorthand (ignored when segment children exist) */
|
|
2842
|
-
'value'?: NLDDProgressCircle['value'];
|
|
2843
2818
|
/** Color. Semantic (neutral, accent, success, warning, critical) or a Rijkskleur. Default 'accent'. */
|
|
2844
2819
|
'color'?: NLDDProgressCircle['color'];
|
|
2845
2820
|
/** Circle diameter in px. Matches nldd-icon sizes: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96 (default: '28') */
|
|
2846
2821
|
'size'?: NLDDProgressCircle['size'];
|
|
2847
2822
|
/** Label below the circle */
|
|
2848
2823
|
'text'?: NLDDProgressCircle['text'];
|
|
2849
|
-
/**
|
|
2850
|
-
'
|
|
2851
|
-
/**
|
|
2852
|
-
'
|
|
2824
|
+
/** Full override of aria-valuetext */
|
|
2825
|
+
'accessible-label'?: NLDDProgressCircle['accessibleLabel'];
|
|
2826
|
+
/** Full override of aria-valuetext */
|
|
2827
|
+
'accessibleLabel'?: NLDDProgressCircle['accessibleLabel'];
|
|
2853
2828
|
/** Full override of the displayed value (inline + tooltip) */
|
|
2854
2829
|
'value-text'?: NLDDProgressCircle['valueText'];
|
|
2855
2830
|
/** Full override of the displayed value (inline + tooltip) */
|
|
2856
2831
|
'valueText'?: NLDDProgressCircle['valueText'];
|
|
2832
|
+
/** Format of the displayed value (default: 'percentage') */
|
|
2833
|
+
'value-format'?: NLDDProgressCircle['valueFormat'];
|
|
2834
|
+
/** Format of the displayed value (default: 'percentage') */
|
|
2835
|
+
'valueFormat'?: NLDDProgressCircle['valueFormat'];
|
|
2857
2836
|
/** Where the value shows: inline below the label, in a tooltip, or hidden (default: 'tooltip') */
|
|
2858
2837
|
'value-display'?: NLDDProgressCircle['valueDisplay'];
|
|
2859
2838
|
/** Where the value shows: inline below the label, in a tooltip, or hidden (default: 'tooltip') */
|
|
2860
2839
|
'valueDisplay'?: NLDDProgressCircle['valueDisplay'];
|
|
2861
|
-
/** Full override of aria-valuetext */
|
|
2862
|
-
'accessible-label'?: NLDDProgressCircle['accessibleLabel'];
|
|
2863
|
-
/** Full override of aria-valuetext */
|
|
2864
|
-
'accessibleLabel'?: NLDDProgressCircle['accessibleLabel'];
|
|
2865
2840
|
/** Renders the rotating elastic arc animation */
|
|
2866
2841
|
'indeterminate'?: NLDDProgressCircle['indeterminate'];
|
|
2842
|
+
/** Single-segment shorthand (ignored when segment children exist) */
|
|
2843
|
+
'value'?: NLDDProgressCircle['value'];
|
|
2844
|
+
/** Total value (default: 100) */
|
|
2845
|
+
'max'?: NLDDProgressCircle['max'];
|
|
2867
2846
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2868
2847
|
'translations'?: NLDDProgressCircle['translations'];
|
|
2869
2848
|
};
|
|
2870
2849
|
|
|
2871
2850
|
type NLDDProgressCircleSegmentIndicatorProps = {
|
|
2872
|
-
/** Share of the parent's total (default 0; <=0 hides segment) */
|
|
2873
|
-
'value'?: NLDDProgressCircleSegmentIndicator['value'];
|
|
2874
2851
|
/** Color (semantic or Rijkskleur). Default 'accent'. With more than one segment, give each a Rijkskleur (or success, warning and critical where they mean that): `accent` can turn near-black or match another segment in a theme, and `neutral` disappears against the track. */
|
|
2875
2852
|
'color'?: NLDDProgressCircleSegmentIndicator['color'];
|
|
2876
2853
|
/** Optional name used in the combined tooltip + screenreader text */
|
|
2877
2854
|
'name'?: NLDDProgressCircleSegmentIndicator['name'];
|
|
2855
|
+
/** Share of the parent's total (default 0; <=0 hides segment) */
|
|
2856
|
+
'value'?: NLDDProgressCircleSegmentIndicator['value'];
|
|
2878
2857
|
};
|
|
2879
2858
|
|
|
2880
2859
|
type NLDDRadioButtonProps = {
|
|
2881
|
-
/**
|
|
2882
|
-
'
|
|
2860
|
+
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
2861
|
+
'color'?: NLDDRadioButton['color'];
|
|
2862
|
+
/** Accessible label, set as aria-label on this element: it is the radio. */
|
|
2863
|
+
'accessible-label'?: NLDDRadioButton['accessibleLabel'];
|
|
2864
|
+
/** Accessible label, set as aria-label on this element: it is the radio. */
|
|
2865
|
+
'accessibleLabel'?: NLDDRadioButton['accessibleLabel'];
|
|
2883
2866
|
/** Renders the shape only: no role, no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row or an nldd-radio-button-field that is itself the radio; putting a second radio in there would nest a control inside a control. */
|
|
2884
2867
|
'decorative'?: NLDDRadioButton['decorative'];
|
|
2885
|
-
/** Disabled state */
|
|
2886
|
-
'disabled'?: NLDDRadioButton['disabled'];
|
|
2887
2868
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
2888
2869
|
'no-tab'?: NLDDRadioButton['noTab'];
|
|
2889
2870
|
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
2890
2871
|
'noTab'?: NLDDRadioButton['noTab'];
|
|
2891
|
-
/**
|
|
2892
|
-
'
|
|
2893
|
-
/**
|
|
2894
|
-
'
|
|
2895
|
-
/** Draws the focus ring around the shape. Set by nldd-radio-button-field, which is the radio itself and holds the focus. Not part of the public API. */
|
|
2896
|
-
'focusRing'?: NLDDRadioButton['focusRing'];
|
|
2872
|
+
/** Checked state */
|
|
2873
|
+
'checked'?: NLDDRadioButton['checked'];
|
|
2874
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
2875
|
+
'invalid'?: NLDDRadioButton['invalid'];
|
|
2897
2876
|
/** Radio group name for form submission; ties the buttons of one group together */
|
|
2898
2877
|
'name'?: NLDDRadioButton['name'];
|
|
2899
2878
|
/** Value submitted with the form when this radio button is checked */
|
|
2900
2879
|
'value'?: NLDDRadioButton['value'];
|
|
2901
|
-
/**
|
|
2902
|
-
'
|
|
2903
|
-
/**
|
|
2904
|
-
'
|
|
2905
|
-
/** Accessible label, set as aria-label on this element: it is the radio. */
|
|
2906
|
-
'accessibleLabel'?: NLDDRadioButton['accessibleLabel'];
|
|
2907
|
-
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
2908
|
-
'invalid'?: NLDDRadioButton['invalid'];
|
|
2880
|
+
/** Required state. What it asks is whether anything in the group is checked, as a native radio does. */
|
|
2881
|
+
'required'?: NLDDRadioButton['required'];
|
|
2882
|
+
/** Disabled state */
|
|
2883
|
+
'disabled'?: NLDDRadioButton['disabled'];
|
|
2909
2884
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2910
2885
|
'accessible-description'?: NLDDRadioButton['accessibleDescription'];
|
|
2911
2886
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2922,22 +2897,22 @@ declare module 'vue' {
|
|
|
2922
2897
|
};
|
|
2923
2898
|
|
|
2924
2899
|
type NLDDRadioButtonFieldProps = {
|
|
2925
|
-
/** Checked state */
|
|
2926
|
-
'checked'?: NLDDRadioButtonField['checked'];
|
|
2927
|
-
/** Disabled state */
|
|
2928
|
-
'disabled'?: NLDDRadioButtonField['disabled'];
|
|
2929
|
-
/** Value for form submission */
|
|
2930
|
-
'value'?: NLDDRadioButtonField['value'];
|
|
2931
|
-
/** Radio group name for form submission; ties the fields of one group together. Set automatically by nldd-radio-button-group. */
|
|
2932
|
-
'name'?: NLDDRadioButtonField['name'];
|
|
2933
|
-
/** Required state. What it asks is whether anything in the group is checked, as a native radio does. Set automatically by nldd-radio-button-group. */
|
|
2934
|
-
'required'?: NLDDRadioButtonField['required'];
|
|
2935
2900
|
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
2936
2901
|
'color'?: NLDDRadioButtonField['color'];
|
|
2937
2902
|
/** Label text for the radio button */
|
|
2938
2903
|
'label'?: NLDDRadioButtonField['label'];
|
|
2904
|
+
/** Checked state */
|
|
2905
|
+
'checked'?: NLDDRadioButtonField['checked'];
|
|
2939
2906
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2940
2907
|
'invalid'?: NLDDRadioButtonField['invalid'];
|
|
2908
|
+
/** Radio group name for form submission; ties the fields of one group together. Set automatically by nldd-radio-button-group. */
|
|
2909
|
+
'name'?: NLDDRadioButtonField['name'];
|
|
2910
|
+
/** Value for form submission */
|
|
2911
|
+
'value'?: NLDDRadioButtonField['value'];
|
|
2912
|
+
/** Required state. What it asks is whether anything in the group is checked, as a native radio does. Set automatically by nldd-radio-button-group. */
|
|
2913
|
+
'required'?: NLDDRadioButtonField['required'];
|
|
2914
|
+
/** Disabled state */
|
|
2915
|
+
'disabled'?: NLDDRadioButtonField['disabled'];
|
|
2941
2916
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
2942
2917
|
'accessible-description'?: NLDDRadioButtonField['accessibleDescription'];
|
|
2943
2918
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -2954,12 +2929,6 @@ declare module 'vue' {
|
|
|
2954
2929
|
};
|
|
2955
2930
|
|
|
2956
2931
|
type NLDDRadioButtonGroupProps = {
|
|
2957
|
-
/** Forwarded to all slotted nldd-radio-button-field elements */
|
|
2958
|
-
'name'?: NLDDRadioButtonGroup['name'];
|
|
2959
|
-
/** Disables all slotted fields */
|
|
2960
|
-
'disabled'?: NLDDRadioButtonGroup['disabled'];
|
|
2961
|
-
/** Marks the group as required */
|
|
2962
|
-
'required'?: NLDDRadioButtonGroup['required'];
|
|
2963
2932
|
/** Accessible name for the group, set as aria-label on the group */
|
|
2964
2933
|
'accessible-label'?: NLDDRadioButtonGroup['accessibleLabel'];
|
|
2965
2934
|
/** Accessible name for the group, set as aria-label on the group */
|
|
@@ -2970,6 +2939,12 @@ declare module 'vue' {
|
|
|
2970
2939
|
'accessibleLabeledBy'?: NLDDRadioButtonGroup['accessibleLabeledBy'];
|
|
2971
2940
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
2972
2941
|
'invalid'?: NLDDRadioButtonGroup['invalid'];
|
|
2942
|
+
/** Forwarded to all slotted nldd-radio-button-field elements */
|
|
2943
|
+
'name'?: NLDDRadioButtonGroup['name'];
|
|
2944
|
+
/** Marks the group as required */
|
|
2945
|
+
'required'?: NLDDRadioButtonGroup['required'];
|
|
2946
|
+
/** Disables all slotted fields */
|
|
2947
|
+
'disabled'?: NLDDRadioButtonGroup['disabled'];
|
|
2973
2948
|
/** Bubbles up from the checked field; detail: { checked: boolean, value: string } */
|
|
2974
2949
|
'onChange'?: (event: CustomEvent) => void;
|
|
2975
2950
|
};
|
|
@@ -2990,10 +2965,10 @@ declare module 'vue' {
|
|
|
2990
2965
|
'spacing'?: NLDDRichText['spacing'];
|
|
2991
2966
|
/** Centers the main column inside the container; without it, content is left-aligned */
|
|
2992
2967
|
'centered'?: NLDDRichText['centered'];
|
|
2993
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
2994
|
-
'translations'?: NLDDRichText['translations'];
|
|
2995
2968
|
/** Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for instance): without language information the browser does not hyphenate. An `overflow-wrap: break-word` safety net on headings, p and li is always on, independent of this attribute, so a word wider than the column breaks instead of overflowing. Headings are hyphenated regardless of this attribute, but only a word of at least 12 letters, as in `nldd-title`, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own. */
|
|
2996
2969
|
'hyphens'?: NLDDRichText['hyphens'];
|
|
2970
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
2971
|
+
'translations'?: NLDDRichText['translations'];
|
|
2997
2972
|
};
|
|
2998
2973
|
|
|
2999
2974
|
type NLDDSearchFieldProps = {
|
|
@@ -3025,28 +3000,28 @@ declare module 'vue' {
|
|
|
3025
3000
|
'shortcut-linux'?: NLDDSearchField['shortcutLinux'];
|
|
3026
3001
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3027
3002
|
'shortcutLinux'?: NLDDSearchField['shortcutLinux'];
|
|
3028
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
3029
|
-
'translations'?: NLDDSearchField['translations'];
|
|
3030
3003
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3031
3004
|
'invalid'?: NLDDSearchField['invalid'];
|
|
3032
|
-
/** Disabled state */
|
|
3033
|
-
'disabled'?: NLDDSearchField['disabled'];
|
|
3034
3005
|
/** Input name for form submission */
|
|
3035
3006
|
'name'?: NLDDSearchField['name'];
|
|
3036
3007
|
/** The search value */
|
|
3037
3008
|
'value'?: NLDDSearchField['value'];
|
|
3038
|
-
/** Required state */
|
|
3039
|
-
'required'?: NLDDSearchField['required'];
|
|
3040
3009
|
/** Fewest characters the value may have. */
|
|
3041
3010
|
'minlength'?: NLDDSearchField['minlength'];
|
|
3042
3011
|
/** Most characters the value may have. */
|
|
3043
3012
|
'maxlength'?: NLDDSearchField['maxlength'];
|
|
3044
3013
|
/** Regular expression the value has to match, as the native `pattern`. */
|
|
3045
3014
|
'pattern'?: NLDDSearchField['pattern'];
|
|
3015
|
+
/** Required state */
|
|
3016
|
+
'required'?: NLDDSearchField['required'];
|
|
3046
3017
|
/** Disables browser spellchecking on the inner input */
|
|
3047
3018
|
'no-spellcheck'?: NLDDSearchField['noSpellcheck'];
|
|
3048
3019
|
/** Disables browser spellchecking on the inner input */
|
|
3049
3020
|
'noSpellcheck'?: NLDDSearchField['noSpellcheck'];
|
|
3021
|
+
/** Disabled state */
|
|
3022
|
+
'disabled'?: NLDDSearchField['disabled'];
|
|
3023
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
3024
|
+
'translations'?: NLDDSearchField['translations'];
|
|
3050
3025
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3051
3026
|
'accessible-description'?: NLDDSearchField['accessibleDescription'];
|
|
3052
3027
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -3067,26 +3042,14 @@ declare module 'vue' {
|
|
|
3067
3042
|
};
|
|
3068
3043
|
|
|
3069
3044
|
type NLDDSegmentedControlProps = {
|
|
3070
|
-
/**
|
|
3071
|
-
'
|
|
3072
|
-
/** Marks the group as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3073
|
-
'invalid'?: NLDDSegmentedControl['invalid'];
|
|
3074
|
-
/** Selected value for radio type */
|
|
3075
|
-
'value'?: NLDDSegmentedControl['value'];
|
|
3045
|
+
/** Content type for all items: 'text' | 'icon' | 'icon-and-text' (default: 'text') */
|
|
3046
|
+
'variant'?: NLDDSegmentedControl['variant'];
|
|
3076
3047
|
/** Visual style, color included: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). neutral-base is for a tinted surface. For a quiet row without a track, use nldd-toggle-button-group with type="radio" and a transparent appearance. */
|
|
3077
3048
|
'appearance'?: NLDDSegmentedControl['appearance'];
|
|
3078
3049
|
/** Control size: 'sm' | 'md' | 'lg' (default: 'md') */
|
|
3079
3050
|
'size'?: NLDDSegmentedControl['size'];
|
|
3080
|
-
/** Selection mode: 'radio' | 'checkbox' (default: 'radio'). */
|
|
3081
|
-
'type'?: NLDDSegmentedControl['type'];
|
|
3082
|
-
/** Content type for all items: 'text' | 'icon' | 'icon-and-text' (default: 'text') */
|
|
3083
|
-
'variant'?: NLDDSegmentedControl['variant'];
|
|
3084
|
-
/** Disabled state for all items */
|
|
3085
|
-
'disabled'?: NLDDSegmentedControl['disabled'];
|
|
3086
3051
|
/** Width mode: 'full' (stretches to container), 'fit-content' (per-item content size), or any CSS length (e.g. '240px') */
|
|
3087
3052
|
'width'?: NLDDSegmentedControl['width'];
|
|
3088
|
-
/** Name for form submission */
|
|
3089
|
-
'name'?: NLDDSegmentedControl['name'];
|
|
3090
3053
|
/** Accessible name for the group, set as aria-label */
|
|
3091
3054
|
'accessible-label'?: NLDDSegmentedControl['accessibleLabel'];
|
|
3092
3055
|
/** Accessible name for the group, set as aria-label */
|
|
@@ -3095,6 +3058,18 @@ declare module 'vue' {
|
|
|
3095
3058
|
'accessible-labeled-by'?: NLDDSegmentedControl['accessibleLabeledBy'];
|
|
3096
3059
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
3097
3060
|
'accessibleLabeledBy'?: NLDDSegmentedControl['accessibleLabeledBy'];
|
|
3061
|
+
/** Marks the group as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3062
|
+
'invalid'?: NLDDSegmentedControl['invalid'];
|
|
3063
|
+
/** Name for form submission */
|
|
3064
|
+
'name'?: NLDDSegmentedControl['name'];
|
|
3065
|
+
/** Selected value for radio type */
|
|
3066
|
+
'value'?: NLDDSegmentedControl['value'];
|
|
3067
|
+
/** Selection mode: 'radio' | 'checkbox' (default: 'radio'). */
|
|
3068
|
+
'type'?: NLDDSegmentedControl['type'];
|
|
3069
|
+
/** Marks the group as required. Enforced in radio mode; in checkbox mode only announced. */
|
|
3070
|
+
'required'?: NLDDSegmentedControl['required'];
|
|
3071
|
+
/** Disabled state for all items */
|
|
3072
|
+
'disabled'?: NLDDSegmentedControl['disabled'];
|
|
3098
3073
|
/** Selected values for checkbox type. Use property binding: .values=${['New York', 'Amsterdam']} Does not reflect to an attribute, so it is safe for values containing spaces or special characters. */
|
|
3099
3074
|
'values'?: NLDDSegmentedControl['values'];
|
|
3100
3075
|
'internals'?: NLDDSegmentedControl['internals'];
|
|
@@ -3103,28 +3078,6 @@ declare module 'vue' {
|
|
|
3103
3078
|
};
|
|
3104
3079
|
|
|
3105
3080
|
type NLDDSegmentedControlItemProps = {
|
|
3106
|
-
/** Required state of the native checkbox. In radio mode the group carries the constraint. */
|
|
3107
|
-
'required'?: NLDDSegmentedControlItem['required'];
|
|
3108
|
-
/** Value for this item */
|
|
3109
|
-
'value'?: NLDDSegmentedControlItem['value'];
|
|
3110
|
-
/** Whether this item is selected (set by parent) */
|
|
3111
|
-
'selected'?: NLDDSegmentedControlItem['selected'];
|
|
3112
|
-
/** Disabled state */
|
|
3113
|
-
'disabled'?: NLDDSegmentedControlItem['disabled'];
|
|
3114
|
-
/** Visual style: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). Set by nldd-segmented-control. */
|
|
3115
|
-
'appearance'?: NLDDSegmentedControlItem['appearance'];
|
|
3116
|
-
/** Control size: 'sm' | 'md' | 'lg' (default: 'md'). Set by nldd-segmented-control. */
|
|
3117
|
-
'size'?: NLDDSegmentedControlItem['size'];
|
|
3118
|
-
/** Content type: 'text' | 'icon' | 'icon-and-text' (default: 'text'). Set by nldd-segmented-control. */
|
|
3119
|
-
'variant'?: NLDDSegmentedControlItem['variant'];
|
|
3120
|
-
/** Selection mode: 'radio' | 'checkbox' (default: 'radio'). In radio mode the item is the radio itself, in checkbox mode it renders a native checkbox. Set by nldd-segmented-control. */
|
|
3121
|
-
'input-type'?: NLDDSegmentedControlItem['inputType'];
|
|
3122
|
-
/** Selection mode: 'radio' | 'checkbox' (default: 'radio'). In radio mode the item is the radio itself, in checkbox mode it renders a native checkbox. Set by nldd-segmented-control. */
|
|
3123
|
-
'inputType'?: NLDDSegmentedControlItem['inputType'];
|
|
3124
|
-
/** Name of the group for form submission, put on the native checkbox. Set by nldd-segmented-control. */
|
|
3125
|
-
'group-name'?: NLDDSegmentedControlItem['groupName'];
|
|
3126
|
-
/** Name of the group for form submission, put on the native checkbox. Set by nldd-segmented-control. */
|
|
3127
|
-
'groupName'?: NLDDSegmentedControlItem['groupName'];
|
|
3128
3081
|
/** Text label (shown for variant "text" and "icon-and-text"; used as aria-label and tooltip for variant "icon") */
|
|
3129
3082
|
'text'?: NLDDSegmentedControlItem['text'];
|
|
3130
3083
|
/** Icon name for nldd-icon */
|
|
@@ -3143,6 +3096,14 @@ declare module 'vue' {
|
|
|
3143
3096
|
'shortcut-linux'?: NLDDSegmentedControlItem['shortcutLinux'];
|
|
3144
3097
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3145
3098
|
'shortcutLinux'?: NLDDSegmentedControlItem['shortcutLinux'];
|
|
3099
|
+
/** Whether this item is selected (set by parent) */
|
|
3100
|
+
'selected'?: NLDDSegmentedControlItem['selected'];
|
|
3101
|
+
/** Value for this item */
|
|
3102
|
+
'value'?: NLDDSegmentedControlItem['value'];
|
|
3103
|
+
/** Required state of the native checkbox. In radio mode the group carries the constraint. */
|
|
3104
|
+
'required'?: NLDDSegmentedControlItem['required'];
|
|
3105
|
+
/** Disabled state */
|
|
3106
|
+
'disabled'?: NLDDSegmentedControlItem['disabled'];
|
|
3146
3107
|
/** When item is activated; detail: { value: string, checked: boolean } */
|
|
3147
3108
|
'onItemChange'?: (event: CustomEvent) => void;
|
|
3148
3109
|
};
|
|
@@ -3182,16 +3143,6 @@ declare module 'vue' {
|
|
|
3182
3143
|
type NLDDSidebarSectionProps = {
|
|
3183
3144
|
/** Body max-width: 'full' removes the constraint; any CSS length overrides the default. */
|
|
3184
3145
|
'width'?: NLDDSidebarSection['width'];
|
|
3185
|
-
/** Accessible name for the sidebar (the aside landmark on lg and the sheet on sm/md). Default 'Zijbalk'. */
|
|
3186
|
-
'sidebar-label'?: NLDDSidebarSection['sidebarLabel'];
|
|
3187
|
-
/** Accessible name for the sidebar (the aside landmark on lg and the sheet on sm/md). Default 'Zijbalk'. */
|
|
3188
|
-
'sidebarLabel'?: NLDDSidebarSection['sidebarLabel'];
|
|
3189
|
-
/** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
|
|
3190
|
-
'translations'?: NLDDSidebarSection['translations'];
|
|
3191
|
-
/** Opt out of the sheet: a narrow section stacks the sidebar above the main instead of collapsing. `collapsed` then stays false. */
|
|
3192
|
-
'no-collapse'?: NLDDSidebarSection['noCollapse'];
|
|
3193
|
-
/** Opt out of the sheet: a narrow section stacks the sidebar above the main instead of collapsing. `collapsed` then stays false. */
|
|
3194
|
-
'noCollapse'?: NLDDSidebarSection['noCollapse'];
|
|
3195
3146
|
/** Sticky top inset on lg (CSS length; default = 16px). */
|
|
3196
3147
|
'sticky-top'?: NLDDSidebarSection['stickyTop'];
|
|
3197
3148
|
/** Sticky top inset on lg (CSS length; default = 16px). */
|
|
@@ -3200,8 +3151,18 @@ declare module 'vue' {
|
|
|
3200
3151
|
'sticky-bottom'?: NLDDSidebarSection['stickyBottom'];
|
|
3201
3152
|
/** Sticky bottom inset on lg (CSS length; default = 16px). */
|
|
3202
3153
|
'stickyBottom'?: NLDDSidebarSection['stickyBottom'];
|
|
3154
|
+
/** Accessible name for the sidebar (the aside landmark on lg and the sheet on sm/md). Default 'Zijbalk'. */
|
|
3155
|
+
'sidebar-label'?: NLDDSidebarSection['sidebarLabel'];
|
|
3156
|
+
/** Accessible name for the sidebar (the aside landmark on lg and the sheet on sm/md). Default 'Zijbalk'. */
|
|
3157
|
+
'sidebarLabel'?: NLDDSidebarSection['sidebarLabel'];
|
|
3158
|
+
/** Opt out of the sheet: a narrow section stacks the sidebar above the main instead of collapsing. `collapsed` then stays false. */
|
|
3159
|
+
'no-collapse'?: NLDDSidebarSection['noCollapse'];
|
|
3160
|
+
/** Opt out of the sheet: a narrow section stacks the sidebar above the main instead of collapsing. `collapsed` then stays false. */
|
|
3161
|
+
'noCollapse'?: NLDDSidebarSection['noCollapse'];
|
|
3203
3162
|
/** Read-only, reflected: true while the sidebar is a sheet (the section is narrower than lg). Target it via CSS to reveal sheet-only chrome. */
|
|
3204
3163
|
'collapsed'?: NLDDSidebarSection['collapsed'];
|
|
3164
|
+
/** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
|
|
3165
|
+
'translations'?: NLDDSidebarSection['translations'];
|
|
3205
3166
|
'background'?: NLDDSidebarSection['background'];
|
|
3206
3167
|
'height'?: NLDDSidebarSection['height'];
|
|
3207
3168
|
/** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
|
|
@@ -3339,10 +3300,6 @@ declare module 'vue' {
|
|
|
3339
3300
|
type NLDDSliderProps = {
|
|
3340
3301
|
/** Slider size: 'xs' | 'sm' | 'md' (default: 'md'), with the height of the other controls of that size. Set automatically by nldd-form-field. */
|
|
3341
3302
|
'size'?: NLDDSlider['size'];
|
|
3342
|
-
/** Picks a range, with a thumb for each end: `start-value` and `end-value` in place of `value` */
|
|
3343
|
-
'range'?: NLDDSlider['range'];
|
|
3344
|
-
/** Counts drawn as bars above the track, one per bucket of (max - min) / n, comma- or space-separated; as a property, an array of numbers. The bars within the chosen value or range are colored. */
|
|
3345
|
-
'histogram'?: NLDDSlider['histogram'];
|
|
3346
3303
|
/** Icon at the start of the track, such as a quiet speaker for a volume. A click on it moves the value a tenth of the range down (not in a range). */
|
|
3347
3304
|
'start-icon'?: NLDDSlider['startIcon'];
|
|
3348
3305
|
/** Icon at the start of the track, such as a quiet speaker for a volume. A click on it moves the value a tenth of the range down (not in a range). */
|
|
@@ -3355,14 +3312,14 @@ declare module 'vue' {
|
|
|
3355
3312
|
'accessible-label'?: NLDDSlider['accessibleLabel'];
|
|
3356
3313
|
/** Accessible name; a range adds "minimum" and "maximum" to it for its thumbs. Set automatically by nldd-form-field. */
|
|
3357
3314
|
'accessibleLabel'?: NLDDSlider['accessibleLabel'];
|
|
3315
|
+
/** Counts drawn as bars above the track, one per bucket of (max - min) / n, comma- or space-separated; as a property, an array of numbers. The bars within the chosen value or range are colored. */
|
|
3316
|
+
'histogram'?: NLDDSlider['histogram'];
|
|
3358
3317
|
/** When the value shows above the thumb: 'instant' (the default: on hover, keyboard focus and while dragging) or 'never', for a slider whose value shows elsewhere, such as in fields above it */
|
|
3359
3318
|
'tooltip-timing'?: NLDDSlider['tooltipTiming'];
|
|
3360
3319
|
/** When the value shows above the thumb: 'instant' (the default: on hover, keyboard focus and while dragging) or 'never', for a slider whose value shows elsewhere, such as in fields above it */
|
|
3361
3320
|
'tooltipTiming'?: NLDDSlider['tooltipTiming'];
|
|
3362
3321
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3363
3322
|
'invalid'?: NLDDSlider['invalid'];
|
|
3364
|
-
/** Disabled state */
|
|
3365
|
-
'disabled'?: NLDDSlider['disabled'];
|
|
3366
3323
|
/** Name for form submission */
|
|
3367
3324
|
'name'?: NLDDSlider['name'];
|
|
3368
3325
|
/** The value (default: the middle between min and max) */
|
|
@@ -3375,12 +3332,16 @@ declare module 'vue' {
|
|
|
3375
3332
|
'end-value'?: NLDDSlider['endValue'];
|
|
3376
3333
|
/** The end of a range (default: max) */
|
|
3377
3334
|
'endValue'?: NLDDSlider['endValue'];
|
|
3335
|
+
/** Picks a range, with a thumb for each end: `start-value` and `end-value` in place of `value` */
|
|
3336
|
+
'range'?: NLDDSlider['range'];
|
|
3378
3337
|
/** Smallest value (default: 0) */
|
|
3379
3338
|
'min'?: NLDDSlider['min'];
|
|
3380
3339
|
/** Largest value (default: 100) */
|
|
3381
3340
|
'max'?: NLDDSlider['max'];
|
|
3382
3341
|
/** Step between values (default: 1) */
|
|
3383
3342
|
'step'?: NLDDSlider['step'];
|
|
3343
|
+
/** Disabled state */
|
|
3344
|
+
'disabled'?: NLDDSlider['disabled'];
|
|
3384
3345
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
3385
3346
|
'translations'?: NLDDSlider['translations'];
|
|
3386
3347
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -3438,32 +3399,22 @@ declare module 'vue' {
|
|
|
3438
3399
|
};
|
|
3439
3400
|
|
|
3440
3401
|
type NLDDSplitButtonProps = {
|
|
3441
|
-
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
3442
|
-
'size'?: NLDDSplitButton['size'];
|
|
3443
3402
|
/** Visual style: 'primary' | 'secondary' | 'accent-filled' | 'neutral-tinted' (default) | 'neutral-base' | 'content-filled' | 'content-tinted'. 'primary' is 'accent-filled' and 'secondary' is 'neutral-tinted'. The content appearances are for a colored surface and take their colors from --context-content-color. There are no transparent appearances: the split button needs a surface of its own to show it is one control. */
|
|
3444
3403
|
'appearance'?: NLDDSplitButton['appearance'];
|
|
3445
|
-
/**
|
|
3446
|
-
'
|
|
3447
|
-
/** Loading state of the main action, as on nldd-button. The chevron stays available. */
|
|
3448
|
-
'loading'?: NLDDSplitButton['loading'];
|
|
3449
|
-
/** What the screen reader announces while `loading` is on, as on nldd-button. */
|
|
3450
|
-
'loading-text'?: NLDDSplitButton['loadingText'];
|
|
3451
|
-
/** What the screen reader announces while `loading` is on, as on nldd-button. */
|
|
3452
|
-
'loadingText'?: NLDDSplitButton['loadingText'];
|
|
3404
|
+
/** Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
|
|
3405
|
+
'size'?: NLDDSplitButton['size'];
|
|
3453
3406
|
/** Width mode: 'full' (stretches to container) or any CSS length; the main action button fills the available space */
|
|
3454
3407
|
'width'?: NLDDSplitButton['width'];
|
|
3455
3408
|
/** Button text for the primary action */
|
|
3456
3409
|
'text'?: NLDDSplitButton['text'];
|
|
3457
3410
|
/** Icon name shown before the text on the primary action button */
|
|
3458
3411
|
'icon'?: NLDDSplitButton['icon'];
|
|
3459
|
-
/** What the main action does in a form: 'button' (default) | 'submit' | 'reset'. Ignored when `href` is set. */
|
|
3460
|
-
'type'?: NLDDSplitButton['type'];
|
|
3461
|
-
/** Turns the main action into a link, as on nldd-button. */
|
|
3462
|
-
'href'?: NLDDSplitButton['href'];
|
|
3463
|
-
/** Saves the file `href` points at instead of opening it, as on nldd-button. Only used with `href`. */
|
|
3464
|
-
'download'?: NLDDSplitButton['download'];
|
|
3465
3412
|
/** ID of an `nldd-menu` or `nldd-popover` elsewhere in this tree that the chevron opens, for an overlay that cannot be a child. A slotted overlay wins. */
|
|
3466
3413
|
'popovertarget'?: NLDDSplitButton['popovertarget'];
|
|
3414
|
+
/** What the screen reader announces while `loading` is on, as on nldd-button. */
|
|
3415
|
+
'loading-text'?: NLDDSplitButton['loadingText'];
|
|
3416
|
+
/** What the screen reader announces while `loading` is on, as on nldd-button. */
|
|
3417
|
+
'loadingText'?: NLDDSplitButton['loadingText'];
|
|
3467
3418
|
/** Keyboard shortcut hint for the primary action, shown right after its text, e.g. 'Cmd+S'. Forwarded to the inner nldd-button; display only, wire up the handling in your app. */
|
|
3468
3419
|
'shortcut'?: NLDDSplitButton['shortcut'];
|
|
3469
3420
|
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
@@ -3478,6 +3429,16 @@ declare module 'vue' {
|
|
|
3478
3429
|
'shortcut-linux'?: NLDDSplitButton['shortcutLinux'];
|
|
3479
3430
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
3480
3431
|
'shortcutLinux'?: NLDDSplitButton['shortcutLinux'];
|
|
3432
|
+
/** Loading state of the main action, as on nldd-button. The chevron stays available. */
|
|
3433
|
+
'loading'?: NLDDSplitButton['loading'];
|
|
3434
|
+
/** What the main action does in a form: 'button' (default) | 'submit' | 'reset'. Ignored when `href` is set. */
|
|
3435
|
+
'type'?: NLDDSplitButton['type'];
|
|
3436
|
+
/** Turns the main action into a link, as on nldd-button. */
|
|
3437
|
+
'href'?: NLDDSplitButton['href'];
|
|
3438
|
+
/** Saves the file `href` points at instead of opening it, as on nldd-button. Only used with `href`. */
|
|
3439
|
+
'download'?: NLDDSplitButton['download'];
|
|
3440
|
+
/** Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why. */
|
|
3441
|
+
'disabled'?: NLDDSplitButton['disabled'];
|
|
3481
3442
|
/** Translations; unset keys fall back to Dutch */
|
|
3482
3443
|
'translations'?: NLDDSplitButton['translations'];
|
|
3483
3444
|
/** Id of the form the main action submits or resets, for a split button outside it. Takes an `nldd-form` as well as a plain `<form>`, as on nldd-button. */
|
|
@@ -3497,19 +3458,6 @@ declare module 'vue' {
|
|
|
3497
3458
|
'hasDragHandle'?: NLDDSplitViewDivider['hasDragHandle'];
|
|
3498
3459
|
};
|
|
3499
3460
|
|
|
3500
|
-
type NLDDSplitViewPaneProps = {
|
|
3501
|
-
/** Use a tinted background color (cascades to descendants) */
|
|
3502
|
-
'background'?: NLDDSplitViewPane['background'];
|
|
3503
|
-
/** Hide the back button (set automatically by the split view) */
|
|
3504
|
-
'hide-back'?: NLDDSplitViewPane['hideBack'];
|
|
3505
|
-
/** Hide the back button (set automatically by the split view) */
|
|
3506
|
-
'hideBack'?: NLDDSplitViewPane['hideBack'];
|
|
3507
|
-
/** The pane has content (default: false) */
|
|
3508
|
-
'has-content'?: NLDDSplitViewPane['hasContent'];
|
|
3509
|
-
/** The pane has content (default: false) */
|
|
3510
|
-
'hasContent'?: NLDDSplitViewPane['hasContent'];
|
|
3511
|
-
};
|
|
3512
|
-
|
|
3513
3461
|
type NLDDStackedSplitViewProps = {
|
|
3514
3462
|
/** Use a tinted background color (cascades to descendants) */
|
|
3515
3463
|
'background'?: NLDDStackedSplitView['background'];
|
|
@@ -3522,14 +3470,14 @@ declare module 'vue' {
|
|
|
3522
3470
|
'variant'?: NLDDStatusBar['variant'];
|
|
3523
3471
|
/** The status text (one line; truncated with an ellipsis) */
|
|
3524
3472
|
'text'?: NLDDStatusBar['text'];
|
|
3473
|
+
/** Makes the whole bar a button; ignored when href is set */
|
|
3474
|
+
'button'?: NLDDStatusBar['button'];
|
|
3525
3475
|
/** Makes the whole bar a link (renders an <a>) */
|
|
3526
3476
|
'href'?: NLDDStatusBar['href'];
|
|
3527
3477
|
/** Link target (e.g. '_blank'); only used with href */
|
|
3528
3478
|
'target'?: NLDDStatusBar['target'];
|
|
3529
3479
|
/** Link rel, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set */
|
|
3530
3480
|
'rel'?: NLDDStatusBar['rel'];
|
|
3531
|
-
/** Makes the whole bar a button; ignored when href is set */
|
|
3532
|
-
'button'?: NLDDStatusBar['button'];
|
|
3533
3481
|
};
|
|
3534
3482
|
|
|
3535
3483
|
type NLDDStepBarProps = {
|
|
@@ -3540,22 +3488,22 @@ declare module 'vue' {
|
|
|
3540
3488
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
3541
3489
|
'translations'?: NLDDStepBar['translations'];
|
|
3542
3490
|
'total'?: NLDDStepBar['total'];
|
|
3543
|
-
/** 1-based position of the last item with `status="current"`, or
|
|
3491
|
+
/** 1-based position of the last item with `status="current"`, or 0 when none has it. */
|
|
3544
3492
|
'resolvedCurrent'?: NLDDStepBar['resolvedCurrent'];
|
|
3545
3493
|
'currentItem'?: NLDDStepBar['currentItem'];
|
|
3546
3494
|
};
|
|
3547
3495
|
|
|
3548
3496
|
type NLDDStepBarItemProps = {
|
|
3549
|
-
/** How far along this step is. `current` marks the step you are on (`aria-current="step"`) and the parent derives the others from it: with none marked step
|
|
3497
|
+
/** How far along this step is. `current` marks the step you are on (`aria-current="step"`) and the parent derives the others from it: with none marked every step is still to do, with more than one the last wins. `past` and `future` override what is derived for this step only */
|
|
3550
3498
|
'status'?: NLDDStepBarItem['status'];
|
|
3551
3499
|
/** Label under the disc. Content in the default slot wins. */
|
|
3552
3500
|
'text'?: NLDDStepBarItem['text'];
|
|
3553
3501
|
/** Icon in the disc instead of the number or the check mark */
|
|
3554
3502
|
'icon'?: NLDDStepBarItem['icon'];
|
|
3555
|
-
/** Makes the step a link (back to a completed step, for instance) */
|
|
3556
|
-
'href'?: NLDDStepBarItem['href'];
|
|
3557
3503
|
/** Makes the step a button, for flows without a URL per step; ignored when `href` is set */
|
|
3558
3504
|
'button'?: NLDDStepBarItem['button'];
|
|
3505
|
+
/** Makes the step a link (back to a completed step, for instance) */
|
|
3506
|
+
'href'?: NLDDStepBarItem['href'];
|
|
3559
3507
|
/** The status that counts. An own `past` or `future` wins over the derived one. An own `current` is what the parent derives from, so the derived status already says it, and on a step that lost to a later one it does not hold. */
|
|
3560
3508
|
'resolvedStatus'?: NLDDStepBarItem['resolvedStatus'];
|
|
3561
3509
|
};
|
|
@@ -3567,20 +3515,20 @@ declare module 'vue' {
|
|
|
3567
3515
|
'status'?: NLDDStepCell['status'];
|
|
3568
3516
|
/** How wide the lane is and so how big the dot: `sm` (default, 16px) for steps without a number, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps */
|
|
3569
3517
|
'size'?: NLDDStepCell['size'];
|
|
3518
|
+
/** Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line="both"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level="none"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you */
|
|
3519
|
+
'line'?: NLDDStepCell['line'];
|
|
3570
3520
|
/** Where the dot stands in the row (default 'center'). `top` puts it against the row's top padding and `bottom` against its bottom padding, as a whole dot would stand, so a `minor` dot lines up with a `major` one. To line it up with what stands beside it, such as the first line of a text cell or a title, use `marker-offset`. The track runs to the middle of the dot either way, so consecutive rows still connect */
|
|
3571
3521
|
'vertical-alignment'?: NLDDStepCell['verticalAlignment'];
|
|
3572
3522
|
/** Where the dot stands in the row (default 'center'). `top` puts it against the row's top padding and `bottom` against its bottom padding, as a whole dot would stand, so a `minor` dot lines up with a `major` one. To line it up with what stands beside it, such as the first line of a text cell or a title, use `marker-offset`. The track runs to the middle of the dot either way, so consecutive rows still connect */
|
|
3573
3523
|
'verticalAlignment'?: NLDDStepCell['verticalAlignment'];
|
|
3524
|
+
/** The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there */
|
|
3525
|
+
'direction'?: NLDDStepCell['direction'];
|
|
3574
3526
|
/** How far below the top of the row's content the middle of the dot stands, as a CSS length or a percentage of the content's height: `0%` is its top, `50%` its middle and `100%` its bottom. For a row whose first line is not as high as a whole dot, such as a large title beside it: half the height of that line puts the dot beside it. Measured after the row's padding, so it stays right when `size` changes that padding. Prefer `rem` over `px`, so the dot moves along when someone sets a larger font size in the browser. Wins over `vertical-alignment`; an invalid value falls back to it and says so in development */
|
|
3575
3527
|
'marker-offset'?: NLDDStepCell['markerOffset'];
|
|
3576
3528
|
/** How far below the top of the row's content the middle of the dot stands, as a CSS length or a percentage of the content's height: `0%` is its top, `50%` its middle and `100%` its bottom. For a row whose first line is not as high as a whole dot, such as a large title beside it: half the height of that line puts the dot beside it. Measured after the row's padding, so it stays right when `size` changes that padding. Prefer `rem` over `px`, so the dot moves along when someone sets a larger font size in the browser. Wins over `vertical-alignment`; an invalid value falls back to it and says so in development */
|
|
3577
3529
|
'markerOffset'?: NLDDStepCell['markerOffset'];
|
|
3578
|
-
/** The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there */
|
|
3579
|
-
'direction'?: NLDDStepCell['direction'];
|
|
3580
3530
|
/** Place of the row in the list as it stands on screen (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `first` is the top row and only has a line below, `last` the bottom row and only has a line above, also with `direction="up"`: position is about where the row stands, `direction` about which way time runs. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `level="none"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it */
|
|
3581
3531
|
'position'?: NLDDStepCell['position'];
|
|
3582
|
-
/** Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line="both"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level="none"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you */
|
|
3583
|
-
'line'?: NLDDStepCell['line'];
|
|
3584
3532
|
/** Number or short text in the dot */
|
|
3585
3533
|
'text'?: NLDDStepCell['text'];
|
|
3586
3534
|
/** Icon name in the dot; wins over `text` */
|
|
@@ -3602,6 +3550,16 @@ declare module 'vue' {
|
|
|
3602
3550
|
};
|
|
3603
3551
|
|
|
3604
3552
|
type NLDDStepperProps = {
|
|
3553
|
+
/** Size: 'xs' | 'sm' | 'md' (default: 'md') */
|
|
3554
|
+
'size'?: NLDDStepper['size'];
|
|
3555
|
+
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
3556
|
+
'accessible-label'?: NLDDStepper['accessibleLabel'];
|
|
3557
|
+
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
3558
|
+
'accessibleLabel'?: NLDDStepper['accessibleLabel'];
|
|
3559
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3560
|
+
'invalid'?: NLDDStepper['invalid'];
|
|
3561
|
+
/** Name for form submission; the value is submitted under this name */
|
|
3562
|
+
'name'?: NLDDStepper['name'];
|
|
3605
3563
|
/** Current value */
|
|
3606
3564
|
'value'?: NLDDStepper['value'];
|
|
3607
3565
|
/** Minimum value (default: 0) */
|
|
@@ -3612,18 +3570,8 @@ declare module 'vue' {
|
|
|
3612
3570
|
'step'?: NLDDStepper['step'];
|
|
3613
3571
|
/** Disabled state */
|
|
3614
3572
|
'disabled'?: NLDDStepper['disabled'];
|
|
3615
|
-
/** Size: 'xs' | 'sm' | 'md' (default: 'md') */
|
|
3616
|
-
'size'?: NLDDStepper['size'];
|
|
3617
|
-
/** Name for form submission; the value is submitted under this name */
|
|
3618
|
-
'name'?: NLDDStepper['name'];
|
|
3619
|
-
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
3620
|
-
'accessible-label'?: NLDDStepper['accessibleLabel'];
|
|
3621
|
-
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
3622
|
-
'accessibleLabel'?: NLDDStepper['accessibleLabel'];
|
|
3623
3573
|
/** Translations; unspecified keys fall back to Dutch */
|
|
3624
3574
|
'translations'?: NLDDStepper['translations'];
|
|
3625
|
-
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3626
|
-
'invalid'?: NLDDStepper['invalid'];
|
|
3627
3575
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3628
3576
|
'accessible-description'?: NLDDStepper['accessibleDescription'];
|
|
3629
3577
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -3652,14 +3600,14 @@ declare module 'vue' {
|
|
|
3652
3600
|
'accessibleLabeledBy'?: NLDDSwatchPicker['accessibleLabeledBy'];
|
|
3653
3601
|
/** Marks the group as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3654
3602
|
'invalid'?: NLDDSwatchPicker['invalid'];
|
|
3655
|
-
/** Disabled state for all swatches */
|
|
3656
|
-
'disabled'?: NLDDSwatchPicker['disabled'];
|
|
3657
3603
|
/** Name for form submission */
|
|
3658
3604
|
'name'?: NLDDSwatchPicker['name'];
|
|
3659
3605
|
/** Value of the chosen swatch */
|
|
3660
3606
|
'value'?: NLDDSwatchPicker['value'];
|
|
3661
3607
|
/** Something has to be chosen */
|
|
3662
3608
|
'required'?: NLDDSwatchPicker['required'];
|
|
3609
|
+
/** Disabled state for all swatches */
|
|
3610
|
+
'disabled'?: NLDDSwatchPicker['disabled'];
|
|
3663
3611
|
'internals'?: NLDDSwatchPicker['internals'];
|
|
3664
3612
|
/** When the choice changes; detail: { value: string } */
|
|
3665
3613
|
'onChange'?: (event: CustomEvent) => void;
|
|
@@ -3672,52 +3620,50 @@ declare module 'vue' {
|
|
|
3672
3620
|
'custom-color'?: NLDDSwatchPickerItem['customColor'];
|
|
3673
3621
|
/** Any CSS color of your own (e.g. '#7a1f3d' or 'var(--brand-color)'), for a color outside the categories. Needs `text`. */
|
|
3674
3622
|
'customColor'?: NLDDSwatchPickerItem['customColor'];
|
|
3623
|
+
/** Name of the swatch, for screen readers and the tooltip. Overrides the name of a category `color`. */
|
|
3624
|
+
'text'?: NLDDSwatchPickerItem['text'];
|
|
3675
3625
|
/** URL of an image that fills the swatch, for a pattern or a material. Needs `text`. */
|
|
3676
3626
|
'image'?: NLDDSwatchPickerItem['image'];
|
|
3677
3627
|
/** Sources of the image at other pixel densities, with x descriptors (e.g. '/oak.jpg 1x, /oak@2x.jpg 2x'). The swatch has a fixed size, so there are no widths to choose from. */
|
|
3678
3628
|
'image-srcset'?: NLDDSwatchPickerItem['imageSrcset'];
|
|
3679
3629
|
/** Sources of the image at other pixel densities, with x descriptors (e.g. '/oak.jpg 1x, /oak@2x.jpg 2x'). The swatch has a fixed size, so there are no widths to choose from. */
|
|
3680
3630
|
'imageSrcset'?: NLDDSwatchPickerItem['imageSrcset'];
|
|
3681
|
-
/** Name of the swatch, for screen readers and the tooltip. Overrides the name of a category `color`. */
|
|
3682
|
-
'text'?: NLDDSwatchPickerItem['text'];
|
|
3683
3631
|
/** Whether this swatch is chosen (set by the picker) */
|
|
3684
3632
|
'selected'?: NLDDSwatchPickerItem['selected'];
|
|
3685
|
-
/** Disabled state */
|
|
3686
|
-
'disabled'?: NLDDSwatchPickerItem['disabled'];
|
|
3687
3633
|
/** Value for this swatch */
|
|
3688
3634
|
'value'?: NLDDSwatchPickerItem['value'];
|
|
3689
|
-
/**
|
|
3690
|
-
'
|
|
3635
|
+
/** Disabled state */
|
|
3636
|
+
'disabled'?: NLDDSwatchPickerItem['disabled'];
|
|
3691
3637
|
/** Override translation keys (the names of the category colors); unset keys fall back to Dutch. */
|
|
3692
3638
|
'translations'?: NLDDSwatchPickerItem['translations'];
|
|
3693
3639
|
'onItemChange'?: (event: CustomEvent) => void;
|
|
3694
3640
|
};
|
|
3695
3641
|
|
|
3696
3642
|
type NLDDSwitchProps = {
|
|
3697
|
-
/** Name for form submission; nothing is submitted when the switch is off */
|
|
3698
|
-
'name'?: NLDDSwitch['name'];
|
|
3699
|
-
/** Whether the switch is on/off */
|
|
3700
|
-
'checked'?: NLDDSwitch['checked'];
|
|
3701
|
-
/** Disabled state */
|
|
3702
|
-
'disabled'?: NLDDSwitch['disabled'];
|
|
3703
|
-
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
3704
|
-
'no-tab'?: NLDDSwitch['noTab'];
|
|
3705
|
-
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
3706
|
-
'noTab'?: NLDDSwitch['noTab'];
|
|
3707
|
-
/** Switch size: 'xs' | 'sm' (default: 'sm') */
|
|
3708
|
-
'size'?: NLDDSwitch['size'];
|
|
3709
3643
|
/** 'content' draws the control in the color of the text around it, with the mark in the surface color (`--context-background-color`). A colored surface of your own sets that variable. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent. */
|
|
3710
3644
|
'color'?: NLDDSwitch['color'];
|
|
3645
|
+
/** Switch size: 'xs' | 'sm' (default: 'sm') */
|
|
3646
|
+
'size'?: NLDDSwitch['size'];
|
|
3711
3647
|
/** Accessible label forwarded as aria-label to the native input. Required when using nldd-switch without nldd-switch-field. */
|
|
3712
3648
|
'accessible-label'?: NLDDSwitch['accessibleLabel'];
|
|
3713
3649
|
/** Accessible label forwarded as aria-label to the native input. Required when using nldd-switch without nldd-switch-field. */
|
|
3714
3650
|
'accessibleLabel'?: NLDDSwitch['accessibleLabel'];
|
|
3651
|
+
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
3652
|
+
'no-tab'?: NLDDSwitch['noTab'];
|
|
3653
|
+
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
3654
|
+
'noTab'?: NLDDSwitch['noTab'];
|
|
3655
|
+
/** Whether the switch is on/off */
|
|
3656
|
+
'checked'?: NLDDSwitch['checked'];
|
|
3657
|
+
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3658
|
+
'invalid'?: NLDDSwitch['invalid'];
|
|
3659
|
+
/** Name for form submission; nothing is submitted when the switch is off */
|
|
3660
|
+
'name'?: NLDDSwitch['name'];
|
|
3715
3661
|
/** Value submitted with the form when the switch is on (default: 'on') */
|
|
3716
3662
|
'value'?: NLDDSwitch['value'];
|
|
3717
3663
|
/** Required state */
|
|
3718
3664
|
'required'?: NLDDSwitch['required'];
|
|
3719
|
-
/**
|
|
3720
|
-
'
|
|
3665
|
+
/** Disabled state */
|
|
3666
|
+
'disabled'?: NLDDSwitch['disabled'];
|
|
3721
3667
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3722
3668
|
'accessible-description'?: NLDDSwitch['accessibleDescription'];
|
|
3723
3669
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -3734,22 +3680,22 @@ declare module 'vue' {
|
|
|
3734
3680
|
};
|
|
3735
3681
|
|
|
3736
3682
|
type NLDDSwitchFieldProps = {
|
|
3737
|
-
/** Checked state */
|
|
3738
|
-
'checked'?: NLDDSwitchField['checked'];
|
|
3739
|
-
/** Disabled state */
|
|
3740
|
-
'disabled'?: NLDDSwitchField['disabled'];
|
|
3741
|
-
/** Value for form submission */
|
|
3742
|
-
'value'?: NLDDSwitchField['value'];
|
|
3743
|
-
/** Name for form submission */
|
|
3744
|
-
'name'?: NLDDSwitchField['name'];
|
|
3745
3683
|
/** 'content' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside. */
|
|
3746
3684
|
'color'?: NLDDSwitchField['color'];
|
|
3747
3685
|
/** Label text for the switch */
|
|
3748
3686
|
'label'?: NLDDSwitchField['label'];
|
|
3749
|
-
/**
|
|
3750
|
-
'
|
|
3687
|
+
/** Checked state */
|
|
3688
|
+
'checked'?: NLDDSwitchField['checked'];
|
|
3751
3689
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
3752
3690
|
'invalid'?: NLDDSwitchField['invalid'];
|
|
3691
|
+
/** Name for form submission */
|
|
3692
|
+
'name'?: NLDDSwitchField['name'];
|
|
3693
|
+
/** Value for form submission */
|
|
3694
|
+
'value'?: NLDDSwitchField['value'];
|
|
3695
|
+
/** Required state */
|
|
3696
|
+
'required'?: NLDDSwitchField['required'];
|
|
3697
|
+
/** Disabled state */
|
|
3698
|
+
'disabled'?: NLDDSwitchField['disabled'];
|
|
3753
3699
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
3754
3700
|
'accessible-description'?: NLDDSwitchField['accessibleDescription'];
|
|
3755
3701
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -3766,20 +3712,20 @@ declare module 'vue' {
|
|
|
3766
3712
|
};
|
|
3767
3713
|
|
|
3768
3714
|
type NLDDTabBarProps = {
|
|
3769
|
-
/** Centers the tabs in the container (host fills the row, tabs group in the middle) */
|
|
3770
|
-
'centered'?: NLDDTabBar['centered'];
|
|
3771
3715
|
/** Visual mode: 'icon-and-text' | 'text' | 'icon'. When unset, the variant is inferred from each item's content. Drives the layout at every size. */
|
|
3772
3716
|
'variant'?: NLDDTabBar['variant'];
|
|
3773
3717
|
/** Size: 'md' | 'lg' (default: 'md'). 'lg' enlarges the touch target; the per-variant layout is preserved (icon-and-text stacks the icon over the text, text renders large text, icon renders a larger icon-only control). */
|
|
3774
3718
|
'size'?: NLDDTabBar['size'];
|
|
3719
|
+
/** Centers the tabs in the container (host fills the row, tabs group in the middle) */
|
|
3720
|
+
'centered'?: NLDDTabBar['centered'];
|
|
3775
3721
|
/** Renders a nav landmark instead of tablist; use for href-based items that navigate between routes */
|
|
3776
3722
|
'navigation'?: NLDDTabBar['navigation'];
|
|
3777
|
-
/** Disables the whole bar: dims it, blocks pointer interaction, and takes the tabs out of the tab order. Avoid it where you can; the design guidelines say why. */
|
|
3778
|
-
'disabled'?: NLDDTabBar['disabled'];
|
|
3779
3723
|
/** Accessible name for the navigation region; defaults to 'Tabs' */
|
|
3780
3724
|
'accessible-label'?: NLDDTabBar['accessibleLabel'];
|
|
3781
3725
|
/** Accessible name for the navigation region; defaults to 'Tabs' */
|
|
3782
3726
|
'accessibleLabel'?: NLDDTabBar['accessibleLabel'];
|
|
3727
|
+
/** Disables the whole bar: dims it, blocks pointer interaction, and takes the tabs out of the tab order. Avoid it where you can; the design guidelines say why. */
|
|
3728
|
+
'disabled'?: NLDDTabBar['disabled'];
|
|
3783
3729
|
/** Override translation keys (e.g. the overflow button label); unset keys fall back to Dutch. */
|
|
3784
3730
|
'translations'?: NLDDTabBar['translations'];
|
|
3785
3731
|
/** When a tab is selected; detail: { item: NLDDTabBarItem } */
|
|
@@ -3787,18 +3733,18 @@ declare module 'vue' {
|
|
|
3787
3733
|
};
|
|
3788
3734
|
|
|
3789
3735
|
type NLDDTabBarItemProps = {
|
|
3790
|
-
/**
|
|
3791
|
-
'
|
|
3792
|
-
/** Optional link URL; renders an anchor instead of a button */
|
|
3793
|
-
'href'?: NLDDTabBarItem['href'];
|
|
3736
|
+
/** Size: 'md' (default) | 'lg'. Set by nldd-tab-bar from its own size; 'lg' enlarges the touch target while keeping the variant layout. */
|
|
3737
|
+
'size'?: NLDDTabBarItem['size'];
|
|
3794
3738
|
/** Tab text; also used as accessible name for icon-only items */
|
|
3795
3739
|
'text'?: NLDDTabBarItem['text'];
|
|
3796
3740
|
/** Icon name for nldd-icon; an icon in the icon slot wins. The icon and icon-and-text variants fall back to a placeholder icon when neither is provided. */
|
|
3797
3741
|
'icon'?: NLDDTabBarItem['icon'];
|
|
3798
3742
|
/** Id of the element this tab shows, looked up in the tab's own tree. The tab announces it as the content it controls (`aria-controls`). Give that element `role="tabpanel"` and an `aria-labelledby` with the id of this item, which names it after the tab. No effect in a `navigation` bar. */
|
|
3799
3743
|
'controls'?: NLDDTabBarItem['controls'];
|
|
3800
|
-
/**
|
|
3801
|
-
'
|
|
3744
|
+
/** The item you are on. A tab bar switching content manages it itself and renders it as `aria-selected`; a `navigation` bar leaves it to the consumer, since it follows the route, and renders it as `aria-current="page"`. Unlike a list row, which separates `current` from `selected` because it can be both at once, a tab bar has exactly one active item. */
|
|
3745
|
+
'current'?: NLDDTabBarItem['current'];
|
|
3746
|
+
/** Optional link URL; renders an anchor instead of a button */
|
|
3747
|
+
'href'?: NLDDTabBarItem['href'];
|
|
3802
3748
|
/** Forces this presentation on this item, over the one from nldd-tab-bar */
|
|
3803
3749
|
'variant'?: NLDDTabBarItem['variant'];
|
|
3804
3750
|
/** The element this tab shows, for where an id does not reach. Wins over `controls`. */
|
|
@@ -3824,14 +3770,14 @@ declare module 'vue' {
|
|
|
3824
3770
|
'lg-columns'?: NLDDTable['lgColumns'];
|
|
3825
3771
|
/** Track list when the table is lg-wide (≥1008px); falls back to `columns` */
|
|
3826
3772
|
'lgColumns'?: NLDDTable['lgColumns'];
|
|
3773
|
+
/** Opt into row selection: body rows expose aria-selected (true/false). Without it, rows omit aria-selected so a non-selectable table isn't announced as selectable. */
|
|
3774
|
+
'selectable'?: NLDDTable['selectable'];
|
|
3827
3775
|
/** Accessible name for the table. Strongly recommended, because role="table" needs a name. A missing label is DEV-warned and a generic fallback name is used. */
|
|
3828
3776
|
'accessible-label'?: NLDDTable['accessibleLabel'];
|
|
3829
3777
|
/** Accessible name for the table. Strongly recommended, because role="table" needs a name. A missing label is DEV-warned and a generic fallback name is used. */
|
|
3830
3778
|
'accessibleLabel'?: NLDDTable['accessibleLabel'];
|
|
3831
3779
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
3832
3780
|
'translations'?: NLDDTable['translations'];
|
|
3833
|
-
/** Opt into row selection: body rows expose aria-selected (true/false). Without it, rows omit aria-selected so a non-selectable table isn't announced as selectable. */
|
|
3834
|
-
'selectable'?: NLDDTable['selectable'];
|
|
3835
3781
|
};
|
|
3836
3782
|
|
|
3837
3783
|
type NLDDTableRowProps = {
|
|
@@ -3865,15 +3811,15 @@ declare module 'vue' {
|
|
|
3865
3811
|
'source-href'?: NLDDTerm['sourceHref'];
|
|
3866
3812
|
/** Link for `source`. Without `source` it has no effect. */
|
|
3867
3813
|
'sourceHref'?: NLDDTerm['sourceHref'];
|
|
3868
|
-
/** Override translation keys (the label before the source). */
|
|
3869
|
-
'translations'?: NLDDTerm['translations'];
|
|
3870
3814
|
/** ID of an nldd-popover with the definition, looked up in the tree of this term. Positioned against the term when it opens, so it needs no `anchor`, and it can be shared by every term for the same concept. Wins over `definition`. */
|
|
3871
3815
|
'popovertarget'?: NLDDTerm['popovertarget'];
|
|
3816
|
+
/** Override translation keys (the label before the source). */
|
|
3817
|
+
'translations'?: NLDDTerm['translations'];
|
|
3872
3818
|
};
|
|
3873
3819
|
|
|
3874
3820
|
type NLDDTextProps = {
|
|
3875
|
-
/**
|
|
3876
|
-
'
|
|
3821
|
+
/** Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too. */
|
|
3822
|
+
'color'?: NLDDText['color'];
|
|
3877
3823
|
/** Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large */
|
|
3878
3824
|
'size'?: NLDDText['size'];
|
|
3879
3825
|
/** 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 text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text 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` */
|
|
@@ -3894,19 +3840,19 @@ declare module 'vue' {
|
|
|
3894
3840
|
'line-height'?: NLDDText['lineHeight'];
|
|
3895
3841
|
/** Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug') */
|
|
3896
3842
|
'lineHeight'?: NLDDText['lineHeight'];
|
|
3897
|
-
/** Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too. */
|
|
3898
|
-
'color'?: NLDDText['color'];
|
|
3899
3843
|
/** Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box. */
|
|
3900
3844
|
'horizontal-alignment'?: NLDDText['horizontalAlignment'];
|
|
3901
3845
|
/** Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box. */
|
|
3902
3846
|
'horizontalAlignment'?: NLDDText['horizontalAlignment'];
|
|
3847
|
+
/** The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins. */
|
|
3848
|
+
'text'?: NLDDText['text'];
|
|
3903
3849
|
};
|
|
3904
3850
|
|
|
3905
3851
|
type NLDDTextCellProps = {
|
|
3906
|
-
/** Cell size: 'sm' | 'md' (default: 'md') */
|
|
3907
|
-
'size'?: NLDDTextCell['size'];
|
|
3908
3852
|
/** Text color variant: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. All variants other than those two apply to all three text fields so the cell reads as a coherent state. */
|
|
3909
3853
|
'color'?: NLDDTextCell['color'];
|
|
3854
|
+
/** Cell size: 'sm' | 'md' (default: 'md') */
|
|
3855
|
+
'size'?: NLDDTextCell['size'];
|
|
3910
3856
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
3911
3857
|
'width'?: NLDDTextCell['width'];
|
|
3912
3858
|
/** Minimum width as CSS length (e.g. '80px', '5rem') */
|
|
@@ -3962,20 +3908,20 @@ declare module 'vue' {
|
|
|
3962
3908
|
};
|
|
3963
3909
|
|
|
3964
3910
|
type NLDDTextEditorProps = {
|
|
3965
|
-
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3966
|
-
'no-spellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3967
|
-
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3968
|
-
'noSpellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3969
|
-
/** Wrap long lines (default true; prose wraps) */
|
|
3970
|
-
'wrap'?: NLDDTextEditor['wrap'];
|
|
3971
3911
|
/** 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default) */
|
|
3972
3912
|
'resize'?: NLDDTextEditor['resize'];
|
|
3973
3913
|
/** Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them */
|
|
3974
3914
|
'embedded'?: NLDDTextEditor['embedded'];
|
|
3915
|
+
/** Wrap long lines (default true; prose wraps) */
|
|
3916
|
+
'wrap'?: NLDDTextEditor['wrap'];
|
|
3975
3917
|
/** 'hidden' (default) or 'visible'. 'visible': every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`), for people who write markdown. 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way. */
|
|
3976
3918
|
'syntax'?: NLDDTextEditor['syntax'];
|
|
3977
3919
|
/** Enable the annotation overlay (off by default). Annotations only render when this is set. */
|
|
3978
3920
|
'annotatable'?: NLDDTextEditor['annotatable'];
|
|
3921
|
+
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3922
|
+
'no-spellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3923
|
+
/** Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on. */
|
|
3924
|
+
'noSpellcheck'?: NLDDTextEditor['noSpellcheck'];
|
|
3979
3925
|
/** Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box and the copy button of a code block). Unset keys fall back to Dutch. */
|
|
3980
3926
|
'translations'?: NLDDTextEditor['translations'];
|
|
3981
3927
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4048,20 +3994,26 @@ declare module 'vue' {
|
|
|
4048
3994
|
type NLDDTextFieldProps = {
|
|
4049
3995
|
/** 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
4050
3996
|
'size'?: NLDDTextField['size'];
|
|
4051
|
-
/**
|
|
4052
|
-
'
|
|
4053
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
4054
|
-
'input-id'?: NLDDTextField['inputId'];
|
|
4055
|
-
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
4056
|
-
'inputId'?: NLDDTextField['inputId'];
|
|
3997
|
+
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
3998
|
+
'width'?: NLDDTextField['width'];
|
|
4057
3999
|
/** Placeholder text */
|
|
4058
4000
|
'placeholder'?: NLDDTextField['placeholder'];
|
|
4059
|
-
/**
|
|
4060
|
-
'
|
|
4001
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
4002
|
+
'accessible-label'?: NLDDTextField['accessibleLabel'];
|
|
4003
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
4004
|
+
'accessibleLabel'?: NLDDTextField['accessibleLabel'];
|
|
4061
4005
|
/** Marks the field as valid */
|
|
4062
4006
|
'valid'?: NLDDTextField['valid'];
|
|
4063
|
-
/**
|
|
4064
|
-
'
|
|
4007
|
+
/** Marks the field as invalid */
|
|
4008
|
+
'invalid'?: NLDDTextField['invalid'];
|
|
4009
|
+
/** Input name for form submission */
|
|
4010
|
+
'name'?: NLDDTextField['name'];
|
|
4011
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
4012
|
+
'input-id'?: NLDDTextField['inputId'];
|
|
4013
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
4014
|
+
'inputId'?: NLDDTextField['inputId'];
|
|
4015
|
+
/** The input value */
|
|
4016
|
+
'value'?: NLDDTextField['value'];
|
|
4065
4017
|
/** Input type: 'text' | 'email' | 'tel' | 'url' */
|
|
4066
4018
|
'type'?: NLDDTextField['type'];
|
|
4067
4019
|
/** Which virtual keyboard a phone or tablet raises, forwarded as `inputmode`: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'. It changes nothing about what the field accepts, and nothing at all on a desktop. Reach for it where the value is digits but not a quantity you would step (a house number, a postcode, a rack unit): 'numeric'. The keyboard for 'tel', 'email' and 'url' already follows from `type`. */
|
|
@@ -4070,30 +4022,24 @@ declare module 'vue' {
|
|
|
4070
4022
|
'enter-key'?: NLDDTextField['enterKey'];
|
|
4071
4023
|
/** What the Enter key of the virtual keyboard says, forwarded as `enterkeyhint`: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'. It only labels the key; what Enter does is still up to the form, and on a desktop it changes nothing. */
|
|
4072
4024
|
'enterKey'?: NLDDTextField['enterKey'];
|
|
4073
|
-
/**
|
|
4074
|
-
'
|
|
4075
|
-
/**
|
|
4076
|
-
'
|
|
4025
|
+
/** Fewest characters the value may have. */
|
|
4026
|
+
'minlength'?: NLDDTextField['minlength'];
|
|
4027
|
+
/** Most characters the value may have. */
|
|
4028
|
+
'maxlength'?: NLDDTextField['maxlength'];
|
|
4029
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
4030
|
+
'pattern'?: NLDDTextField['pattern'];
|
|
4077
4031
|
/** Required state */
|
|
4078
4032
|
'required'?: NLDDTextField['required'];
|
|
4079
4033
|
/** Autocomplete hint */
|
|
4080
4034
|
'autocomplete'?: NLDDTextField['autocomplete'];
|
|
4081
|
-
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
4082
|
-
'accessible-label'?: NLDDTextField['accessibleLabel'];
|
|
4083
|
-
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
4084
|
-
'accessibleLabel'?: NLDDTextField['accessibleLabel'];
|
|
4085
4035
|
/** Disables browser spellchecking on the inner input */
|
|
4086
4036
|
'no-spellcheck'?: NLDDTextField['noSpellcheck'];
|
|
4087
4037
|
/** Disables browser spellchecking on the inner input */
|
|
4088
4038
|
'noSpellcheck'?: NLDDTextField['noSpellcheck'];
|
|
4089
|
-
/**
|
|
4090
|
-
'
|
|
4091
|
-
/**
|
|
4092
|
-
'
|
|
4093
|
-
/** Fewest characters the value may have. */
|
|
4094
|
-
'minlength'?: NLDDTextField['minlength'];
|
|
4095
|
-
/** Most characters the value may have. */
|
|
4096
|
-
'maxlength'?: NLDDTextField['maxlength'];
|
|
4039
|
+
/** Readonly state */
|
|
4040
|
+
'readonly'?: NLDDTextField['readonly'];
|
|
4041
|
+
/** Disabled state */
|
|
4042
|
+
'disabled'?: NLDDTextField['disabled'];
|
|
4097
4043
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
4098
4044
|
'accessible-description'?: NLDDTextField['accessibleDescription'];
|
|
4099
4045
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4114,44 +4060,44 @@ declare module 'vue' {
|
|
|
4114
4060
|
type NLDDTimeFieldProps = {
|
|
4115
4061
|
/** 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
4116
4062
|
'size'?: NLDDTimeField['size'];
|
|
4117
|
-
/**
|
|
4118
|
-
'
|
|
4119
|
-
/**
|
|
4120
|
-
'
|
|
4121
|
-
/**
|
|
4122
|
-
'
|
|
4123
|
-
/**
|
|
4124
|
-
'
|
|
4063
|
+
/** Width. By default exactly wide enough for a time plus the validation icon; 'full' fills the container; 'fit-content' drops the room for the validation icon and grows again as soon as the field turns valid or invalid; or pass your own CSS length. */
|
|
4064
|
+
'width'?: NLDDTimeField['width'];
|
|
4065
|
+
/** Placeholder text. Do not put a format here; use the supporting label of nldd-form-field for that. */
|
|
4066
|
+
'placeholder'?: NLDDTimeField['placeholder'];
|
|
4067
|
+
/** Accessible label for the internal input. Set automatically by nldd-form-field. */
|
|
4068
|
+
'accessible-label'?: NLDDTimeField['accessibleLabel'];
|
|
4069
|
+
/** Accessible label for the internal input. Set automatically by nldd-form-field. */
|
|
4070
|
+
'accessibleLabel'?: NLDDTimeField['accessibleLabel'];
|
|
4125
4071
|
/** Hides the picker button. It is shown by default. */
|
|
4126
4072
|
'no-picker'?: NLDDTimeField['noPicker'];
|
|
4127
4073
|
/** Hides the picker button. It is shown by default. */
|
|
4128
4074
|
'noPicker'?: NLDDTimeField['noPicker'];
|
|
4075
|
+
/** Marks the field as valid. */
|
|
4076
|
+
'valid'?: NLDDTimeField['valid'];
|
|
4077
|
+
/** Marks the field as invalid. */
|
|
4078
|
+
'invalid'?: NLDDTimeField['invalid'];
|
|
4079
|
+
/** Name for form submission. */
|
|
4080
|
+
'name'?: NLDDTimeField['name'];
|
|
4129
4081
|
/** Sets the id on the internal input. Set automatically by nldd-form-field. */
|
|
4130
4082
|
'input-id'?: NLDDTimeField['inputId'];
|
|
4131
4083
|
/** Sets the id on the internal input. Set automatically by nldd-form-field. */
|
|
4132
4084
|
'inputId'?: NLDDTimeField['inputId'];
|
|
4133
|
-
/**
|
|
4134
|
-
'
|
|
4135
|
-
/**
|
|
4136
|
-
'
|
|
4137
|
-
/**
|
|
4138
|
-
'
|
|
4139
|
-
/**
|
|
4140
|
-
'
|
|
4141
|
-
/** Read-only state. */
|
|
4142
|
-
'readonly'?: NLDDTimeField['readonly'];
|
|
4085
|
+
/** The time as `HH:mm` (24-hour). Empty when there is no valid time. */
|
|
4086
|
+
'value'?: NLDDTimeField['value'];
|
|
4087
|
+
/** Earliest allowed time as `HH:mm`. Also the base that `step` counts from. */
|
|
4088
|
+
'min'?: NLDDTimeField['min'];
|
|
4089
|
+
/** Latest allowed time as `HH:mm`. */
|
|
4090
|
+
'max'?: NLDDTimeField['max'];
|
|
4091
|
+
/** Step in minutes (default 1). Decides which times are valid, what rounding snaps to, and how far the arrow keys jump. */
|
|
4092
|
+
'step'?: NLDDTimeField['step'];
|
|
4143
4093
|
/** Required state. */
|
|
4144
4094
|
'required'?: NLDDTimeField['required'];
|
|
4145
|
-
/** Name for form submission. */
|
|
4146
|
-
'name'?: NLDDTimeField['name'];
|
|
4147
4095
|
/** Autocomplete hint. */
|
|
4148
4096
|
'autocomplete'?: NLDDTimeField['autocomplete'];
|
|
4149
|
-
/**
|
|
4150
|
-
'
|
|
4151
|
-
/**
|
|
4152
|
-
'
|
|
4153
|
-
/** Width. By default exactly wide enough for a time plus the validation icon; 'full' fills the container; 'fit-content' drops the room for the validation icon and grows again as soon as the field turns valid or invalid; or pass your own CSS length. */
|
|
4154
|
-
'width'?: NLDDTimeField['width'];
|
|
4097
|
+
/** Read-only state. */
|
|
4098
|
+
'readonly'?: NLDDTimeField['readonly'];
|
|
4099
|
+
/** Disabled state. */
|
|
4100
|
+
'disabled'?: NLDDTimeField['disabled'];
|
|
4155
4101
|
/** Translations; unspecified keys fall back to Dutch. */
|
|
4156
4102
|
'translations'?: NLDDTimeField['translations'];
|
|
4157
4103
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4172,14 +4118,6 @@ declare module 'vue' {
|
|
|
4172
4118
|
};
|
|
4173
4119
|
|
|
4174
4120
|
type NLDDTimePickerProps = {
|
|
4175
|
-
/** The chosen time as `HH:mm` (24-hour), written exactly so: unlike `min` and `max`, it is what the picker reports back. In nldd-time-field the field writes it. */
|
|
4176
|
-
'value'?: NLDDTimePicker['value'];
|
|
4177
|
-
/** Earliest allowed time as `HH:mm`, read as generously as nldd-time-field reads it (`9:00` too). Also the base that `step` counts from. */
|
|
4178
|
-
'min'?: NLDDTimePicker['min'];
|
|
4179
|
-
/** Latest allowed time as `HH:mm`, read as generously as `min`. */
|
|
4180
|
-
'max'?: NLDDTimePicker['max'];
|
|
4181
|
-
/** Step in minutes (default 1). Decides which minutes are in the column. */
|
|
4182
|
-
'step'?: NLDDTimePicker['step'];
|
|
4183
4121
|
/** Height of the columns in rows (default 7, minimum 3). The chosen value always sits in the middle, so an odd number shows whole rows and an even number cuts off half a row at the top and bottom. */
|
|
4184
4122
|
'rows'?: NLDDTimePicker['rows'];
|
|
4185
4123
|
/** Width: `full` fills the container, or pass your own CSS length. */
|
|
@@ -4188,10 +4126,18 @@ declare module 'vue' {
|
|
|
4188
4126
|
'accessible-label'?: NLDDTimePicker['accessibleLabel'];
|
|
4189
4127
|
/** Accessible name of the picker. */
|
|
4190
4128
|
'accessibleLabel'?: NLDDTimePicker['accessibleLabel'];
|
|
4191
|
-
/** Translations; unspecified keys fall back to Dutch. */
|
|
4192
|
-
'translations'?: NLDDTimePicker['translations'];
|
|
4193
4129
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
4194
4130
|
'invalid'?: NLDDTimePicker['invalid'];
|
|
4131
|
+
/** The chosen time as `HH:mm` (24-hour), written exactly so: unlike `min` and `max`, it is what the picker reports back. In nldd-time-field the field writes it. */
|
|
4132
|
+
'value'?: NLDDTimePicker['value'];
|
|
4133
|
+
/** Earliest allowed time as `HH:mm`, read as generously as nldd-time-field reads it (`9:00` too). Also the base that `step` counts from. */
|
|
4134
|
+
'min'?: NLDDTimePicker['min'];
|
|
4135
|
+
/** Latest allowed time as `HH:mm`, read as generously as `min`. */
|
|
4136
|
+
'max'?: NLDDTimePicker['max'];
|
|
4137
|
+
/** Step in minutes (default 1). Decides which minutes are in the column. */
|
|
4138
|
+
'step'?: NLDDTimePicker['step'];
|
|
4139
|
+
/** Translations; unspecified keys fall back to Dutch. */
|
|
4140
|
+
'translations'?: NLDDTimePicker['translations'];
|
|
4195
4141
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
4196
4142
|
'accessible-description'?: NLDDTimePicker['accessibleDescription'];
|
|
4197
4143
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4238,10 +4184,10 @@ declare module 'vue' {
|
|
|
4238
4184
|
};
|
|
4239
4185
|
|
|
4240
4186
|
type NLDDTitleCellProps = {
|
|
4241
|
-
/** 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 */
|
|
4242
|
-
'size'?: NLDDTitleCell['size'];
|
|
4243
4187
|
/** Text color variant (default: 'content'). `secondary` demotes the title to match the muted overline/supporting-text. `accent`, `success`, `warning` and `critical` tint all three regions so the cell reads as a coherent state. */
|
|
4244
4188
|
'color'?: NLDDTitleCell['color'];
|
|
4189
|
+
/** 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 */
|
|
4190
|
+
'size'?: NLDDTitleCell['size'];
|
|
4245
4191
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full' */
|
|
4246
4192
|
'width'?: NLDDTitleCell['width'];
|
|
4247
4193
|
/** Minimum width as CSS length (e.g. '80px', '5rem') */
|
|
@@ -4301,26 +4247,12 @@ declare module 'vue' {
|
|
|
4301
4247
|
};
|
|
4302
4248
|
|
|
4303
4249
|
type NLDDToggleButtonProps = {
|
|
4304
|
-
/**
|
|
4305
|
-
'
|
|
4306
|
-
/** What the button is: a button with aria-pressed, a native checkbox, or a radio (default: 'button') */
|
|
4307
|
-
'type'?: NLDDToggleButton['type'];
|
|
4250
|
+
/** What renders: text, icon, or both. Unset → auto-detect from text/icon attributes. */
|
|
4251
|
+
'variant'?: NLDDToggleButton['variant'];
|
|
4308
4252
|
/** Visual style, color included (default: 'neutral-tinted'). Selected is filled in each of them; the transparent ones are for a toggle among transparent buttons, and with a selected-icon they stay quiet when on. */
|
|
4309
4253
|
'appearance'?: NLDDToggleButton['appearance'];
|
|
4310
4254
|
/** Button size (default: 'md') */
|
|
4311
4255
|
'size'?: NLDDToggleButton['size'];
|
|
4312
|
-
/** Selected state */
|
|
4313
|
-
'selected'?: NLDDToggleButton['selected'];
|
|
4314
|
-
/** Disabled state */
|
|
4315
|
-
'disabled'?: NLDDToggleButton['disabled'];
|
|
4316
|
-
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
4317
|
-
'no-tab'?: NLDDToggleButton['noTab'];
|
|
4318
|
-
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
4319
|
-
'noTab'?: NLDDToggleButton['noTab'];
|
|
4320
|
-
/** Value for form submission (checkbox/radio) */
|
|
4321
|
-
'value'?: NLDDToggleButton['value'];
|
|
4322
|
-
/** Name for form submission (checkbox/radio) */
|
|
4323
|
-
'name'?: NLDDToggleButton['name'];
|
|
4324
4256
|
/** Button text */
|
|
4325
4257
|
'text'?: NLDDToggleButton['text'];
|
|
4326
4258
|
/** Icon name for nldd-icon */
|
|
@@ -4329,14 +4261,12 @@ declare module 'vue' {
|
|
|
4329
4261
|
'selected-icon'?: NLDDToggleButton['selectedIcon'];
|
|
4330
4262
|
/** Icon shown instead of `icon` while selected, such as `check-mark` for `plus` or `heart-filled` for `heart`. The appearances with a surface fill it when on, as without one. The transparent appearances have no surface to fill: with a selected-icon they stay quiet when on and the change of shape says it is on; without one, or with `variant="text"` where the icon does not render, they fill, so the state always shows. */
|
|
4331
4263
|
'selectedIcon'?: NLDDToggleButton['selectedIcon'];
|
|
4332
|
-
/**
|
|
4333
|
-
'
|
|
4264
|
+
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several buttons, such as who reacted in a row of reactions. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
4265
|
+
'interestfor'?: NLDDToggleButton['interestfor'];
|
|
4334
4266
|
/** Accessible label; required for icon-only usage */
|
|
4335
4267
|
'accessible-label'?: NLDDToggleButton['accessibleLabel'];
|
|
4336
4268
|
/** Accessible label; required for icon-only usage */
|
|
4337
4269
|
'accessibleLabel'?: NLDDToggleButton['accessibleLabel'];
|
|
4338
|
-
/** ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several buttons, such as who reacted in a row of reactions. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button. */
|
|
4339
|
-
'interestfor'?: NLDDToggleButton['interestfor'];
|
|
4340
4270
|
/** Keyboard shortcut hint shown in the tooltip, e.g. 'Cmd+B'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Vet Cmd B"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable. */
|
|
4341
4271
|
'shortcut'?: NLDDToggleButton['shortcut'];
|
|
4342
4272
|
/** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
|
|
@@ -4351,8 +4281,24 @@ declare module 'vue' {
|
|
|
4351
4281
|
'shortcut-linux'?: NLDDToggleButton['shortcutLinux'];
|
|
4352
4282
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
4353
4283
|
'shortcutLinux'?: NLDDToggleButton['shortcutLinux'];
|
|
4284
|
+
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
4285
|
+
'no-tab'?: NLDDToggleButton['noTab'];
|
|
4286
|
+
/** Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable. */
|
|
4287
|
+
'noTab'?: NLDDToggleButton['noTab'];
|
|
4288
|
+
/** Selected state */
|
|
4289
|
+
'selected'?: NLDDToggleButton['selected'];
|
|
4354
4290
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
4355
4291
|
'invalid'?: NLDDToggleButton['invalid'];
|
|
4292
|
+
/** Name for form submission (checkbox/radio) */
|
|
4293
|
+
'name'?: NLDDToggleButton['name'];
|
|
4294
|
+
/** Value for form submission (checkbox/radio) */
|
|
4295
|
+
'value'?: NLDDToggleButton['value'];
|
|
4296
|
+
/** What the button is: a button with aria-pressed, a native checkbox, or a radio (default: 'button') */
|
|
4297
|
+
'type'?: NLDDToggleButton['type'];
|
|
4298
|
+
/** Required state. Set by nldd-toggle-button-group. */
|
|
4299
|
+
'required'?: NLDDToggleButton['required'];
|
|
4300
|
+
/** Disabled state */
|
|
4301
|
+
'disabled'?: NLDDToggleButton['disabled'];
|
|
4356
4302
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
4357
4303
|
'accessible-description'?: NLDDToggleButton['accessibleDescription'];
|
|
4358
4304
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4369,18 +4315,10 @@ declare module 'vue' {
|
|
|
4369
4315
|
};
|
|
4370
4316
|
|
|
4371
4317
|
type NLDDToggleButtonGroupProps = {
|
|
4372
|
-
/** Marks the group as required. Enforced in radio mode; in checkbox mode only announced. */
|
|
4373
|
-
'required'?: NLDDToggleButtonGroup['required'];
|
|
4374
|
-
/** Selection mode (default: 'checkbox') */
|
|
4375
|
-
'type'?: NLDDToggleButtonGroup['type'];
|
|
4376
|
-
/** Forwarded to all buttons */
|
|
4377
|
-
'name'?: NLDDToggleButtonGroup['name'];
|
|
4378
4318
|
/** Forwarded to all buttons (default: 'neutral-tinted') */
|
|
4379
4319
|
'appearance'?: NLDDToggleButtonGroup['appearance'];
|
|
4380
4320
|
/** Forwarded to all buttons (default: 'md') */
|
|
4381
4321
|
'size'?: NLDDToggleButtonGroup['size'];
|
|
4382
|
-
/** Disables all buttons */
|
|
4383
|
-
'disabled'?: NLDDToggleButtonGroup['disabled'];
|
|
4384
4322
|
/** Accessible name for the group (aria-label) */
|
|
4385
4323
|
'accessible-label'?: NLDDToggleButtonGroup['accessibleLabel'];
|
|
4386
4324
|
/** Accessible name for the group (aria-label) */
|
|
@@ -4391,6 +4329,14 @@ declare module 'vue' {
|
|
|
4391
4329
|
'accessibleLabeledBy'?: NLDDToggleButtonGroup['accessibleLabeledBy'];
|
|
4392
4330
|
/** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
|
|
4393
4331
|
'invalid'?: NLDDToggleButtonGroup['invalid'];
|
|
4332
|
+
/** Forwarded to all buttons */
|
|
4333
|
+
'name'?: NLDDToggleButtonGroup['name'];
|
|
4334
|
+
/** Selection mode (default: 'checkbox') */
|
|
4335
|
+
'type'?: NLDDToggleButtonGroup['type'];
|
|
4336
|
+
/** Marks the group as required. Enforced in radio mode; in checkbox mode only announced. */
|
|
4337
|
+
'required'?: NLDDToggleButtonGroup['required'];
|
|
4338
|
+
/** Disables all buttons */
|
|
4339
|
+
'disabled'?: NLDDToggleButtonGroup['disabled'];
|
|
4394
4340
|
/** Bubbles up from the changed button; detail: { selected: boolean, value: string } */
|
|
4395
4341
|
'onChange'?: (event: CustomEvent) => void;
|
|
4396
4342
|
};
|
|
@@ -4398,69 +4344,69 @@ declare module 'vue' {
|
|
|
4398
4344
|
type NLDDTokenProps = {
|
|
4399
4345
|
/** Token text. Content in the default slot wins. */
|
|
4400
4346
|
'text'?: NLDDToken['text'];
|
|
4401
|
-
/** Control type (default: 'none') */
|
|
4402
|
-
'control'?: NLDDToken['control'];
|
|
4403
4347
|
/** Accessible label for the dismiss button. Unset, it names the token: `Verwijder "{text}"`, so a row of tokens does not read as a row of identical buttons. */
|
|
4404
4348
|
'dismiss-text'?: NLDDToken['dismissText'];
|
|
4405
4349
|
/** Accessible label for the dismiss button. Unset, it names the token: `Verwijder "{text}"`, so a row of tokens does not read as a row of identical buttons. */
|
|
4406
4350
|
'dismissText'?: NLDDToken['dismissText'];
|
|
4351
|
+
/** Control type (default: 'none') */
|
|
4352
|
+
'control'?: NLDDToken['control'];
|
|
4407
4353
|
/** Accessible label for the menu button. Unset, it is `Toon opties voor "{text}"`. */
|
|
4408
4354
|
'menu-text'?: NLDDToken['menuText'];
|
|
4409
4355
|
/** Accessible label for the menu button. Unset, it is `Toon opties voor "{text}"`. */
|
|
4410
4356
|
'menuText'?: NLDDToken['menuText'];
|
|
4411
|
-
/** Override translation keys; unset keys fall back to Dutch */
|
|
4412
|
-
'translations'?: NLDDToken['translations'];
|
|
4413
4357
|
/** Inside a roving-focus container (e.g. nldd-token-field): the host is the single tab stop, so the trailing control is not separately tabbable. */
|
|
4414
4358
|
'roving'?: NLDDToken['roving'];
|
|
4415
4359
|
/** Reflects whether the token's menu or popover is open (control="menu"); managed by the token. */
|
|
4416
4360
|
'expanded'?: NLDDToken['expanded'];
|
|
4417
4361
|
/** Disabled state. Avoid it where you can; the design guidelines say why. */
|
|
4418
4362
|
'disabled'?: NLDDToken['disabled'];
|
|
4363
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
4364
|
+
'translations'?: NLDDToken['translations'];
|
|
4419
4365
|
/** When the dismiss button is clicked */
|
|
4420
4366
|
'onDismiss'?: (event: CustomEvent) => void;
|
|
4421
4367
|
};
|
|
4422
4368
|
|
|
4423
4369
|
type NLDDTokenFieldProps = {
|
|
4424
|
-
/** Initial token values as a comma-separated string (e.g. "nl, be, de"). Not reflected; the live value is the `.values` array property. Values can't contain commas. */
|
|
4425
|
-
'values'?: NLDDTokenField['values'];
|
|
4426
4370
|
/** Placeholder shown in the input */
|
|
4427
4371
|
'placeholder'?: NLDDTokenField['placeholder'];
|
|
4428
|
-
/** Input type forwarded to the inner input (e.g. 'email') */
|
|
4429
|
-
'type'?: NLDDTokenField['type'];
|
|
4430
|
-
/** Autocomplete hint forwarded to the inner input */
|
|
4431
|
-
'autocomplete'?: NLDDTokenField['autocomplete'];
|
|
4432
4372
|
/** Accessible label forwarded as aria-label to the input */
|
|
4433
4373
|
'accessible-label'?: NLDDTokenField['accessibleLabel'];
|
|
4434
4374
|
/** Accessible label forwarded as aria-label to the input */
|
|
4435
4375
|
'accessibleLabel'?: NLDDTokenField['accessibleLabel'];
|
|
4436
|
-
/** Allow free-typed values (not just menu options). Typing an option's label in full adds that option, with its value, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
4437
|
-
'allow-custom'?: NLDDTokenField['allowCustom'];
|
|
4438
|
-
/** Allow free-typed values (not just menu options). Typing an option's label in full adds that option, with its value, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
4439
|
-
'allowCustom'?: NLDDTokenField['allowCustom'];
|
|
4440
4376
|
/** Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address. */
|
|
4441
4377
|
'no-filter'?: NLDDTokenField['noFilter'];
|
|
4442
4378
|
/** Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address. */
|
|
4443
4379
|
'noFilter'?: NLDDTokenField['noFilter'];
|
|
4380
|
+
/** Trailing control per token: 'dismiss' (default, a ✕ that removes it) or 'menu' (a ⌄ opening a per-token action menu supplied by the template prototypes) */
|
|
4381
|
+
'token-control'?: NLDDTokenField['tokenControl'];
|
|
4382
|
+
/** Trailing control per token: 'dismiss' (default, a ✕ that removes it) or 'menu' (a ⌄ opening a per-token action menu supplied by the template prototypes) */
|
|
4383
|
+
'tokenControl'?: NLDDTokenField['tokenControl'];
|
|
4444
4384
|
/** Marks the field valid (shows the valid icon) */
|
|
4445
4385
|
'valid'?: NLDDTokenField['valid'];
|
|
4446
4386
|
/** Marks the field invalid (shows the invalid icon) */
|
|
4447
4387
|
'invalid'?: NLDDTokenField['invalid'];
|
|
4388
|
+
/** Name for form submission */
|
|
4389
|
+
'name'?: NLDDTokenField['name'];
|
|
4390
|
+
/** Initial token values as a comma-separated string (e.g. "nl, be, de"). Not reflected; the live value is the `.values` array property. Values can't contain commas. */
|
|
4391
|
+
'values'?: NLDDTokenField['values'];
|
|
4392
|
+
/** Input type forwarded to the inner input (e.g. 'email') */
|
|
4393
|
+
'type'?: NLDDTokenField['type'];
|
|
4394
|
+
/** Allow free-typed values (not just menu options). Typing an option's label in full adds that option, with its value, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
4395
|
+
'allow-custom'?: NLDDTokenField['allowCustom'];
|
|
4396
|
+
/** Allow free-typed values (not just menu options). Typing an option's label in full adds that option, with its value, ignoring case and the spaces around it; with two such labels, the first one. */
|
|
4397
|
+
'allowCustom'?: NLDDTokenField['allowCustom'];
|
|
4398
|
+
/** Marks the field required (invalid when it has no tokens) */
|
|
4399
|
+
'required'?: NLDDTokenField['required'];
|
|
4400
|
+
/** Autocomplete hint forwarded to the inner input */
|
|
4401
|
+
'autocomplete'?: NLDDTokenField['autocomplete'];
|
|
4448
4402
|
/** Disables browser spellchecking on the inner input */
|
|
4449
4403
|
'no-spellcheck'?: NLDDTokenField['noSpellcheck'];
|
|
4450
4404
|
/** Disables browser spellchecking on the inner input */
|
|
4451
4405
|
'noSpellcheck'?: NLDDTokenField['noSpellcheck'];
|
|
4452
4406
|
/** Readonly: static tokens, no input/picker, read-only surface */
|
|
4453
4407
|
'readonly'?: NLDDTokenField['readonly'];
|
|
4454
|
-
/** Marks the field required (invalid when it has no tokens) */
|
|
4455
|
-
'required'?: NLDDTokenField['required'];
|
|
4456
4408
|
/** Disabled state */
|
|
4457
4409
|
'disabled'?: NLDDTokenField['disabled'];
|
|
4458
|
-
/** Trailing control per token: 'dismiss' (default, a ✕ that removes it) or 'menu' (a ⌄ opening a per-token action menu supplied by the template prototypes) */
|
|
4459
|
-
'token-control'?: NLDDTokenField['tokenControl'];
|
|
4460
|
-
/** Trailing control per token: 'dismiss' (default, a ✕ that removes it) or 'menu' (a ⌄ opening a per-token action menu supplied by the template prototypes) */
|
|
4461
|
-
'tokenControl'?: NLDDTokenField['tokenControl'];
|
|
4462
|
-
/** Name for form submission */
|
|
4463
|
-
'name'?: NLDDTokenField['name'];
|
|
4464
4410
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
4465
4411
|
'translations'?: NLDDTokenField['translations'];
|
|
4466
4412
|
/** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
|
|
@@ -4512,24 +4458,8 @@ declare module 'vue' {
|
|
|
4512
4458
|
'label'?: NLDDToolbarItem['label'];
|
|
4513
4459
|
/** Overflow order: items with a lower priority move into the overflow menu first (default 0). Items sharing a priority overflow together, regardless of position. */
|
|
4514
4460
|
'priority'?: NLDDToolbarItem['priority'];
|
|
4515
|
-
/** Set by nldd-toolbar, not a consumer attribute
|
|
4516
|
-
'size'?: NLDDToolbarItem['size'];
|
|
4517
|
-
/** Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's show-item-labels, so the item renders its label below the control. */
|
|
4518
|
-
'show-item-labels'?: NLDDToolbarItem['showItemLabels'];
|
|
4519
|
-
/** Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's show-item-labels, so the item renders its label below the control. */
|
|
4520
|
-
'showItemLabels'?: NLDDToolbarItem['showItemLabels'];
|
|
4521
|
-
/** Set by nldd-toolbar, not a consumer attribute: marks an item that grows or shrinks to fill space. Toggled synchronously during measurement, so it can appear or disappear between layout frames, so do not style against it. It is not reflected as a JS property, so read it with hasAttribute('fluid'). */
|
|
4522
|
-
'fluid'?: NLDDToolbarItem['fluid'];
|
|
4523
|
-
/** Set by nldd-toolbar, not a consumer attribute: the sole fluid item, allowed to shrink below its content. Same synchronous-toggle and property-read caveats as fluid. */
|
|
4524
|
-
'solo-fluid'?: NLDDToolbarItem['soloFluid'];
|
|
4525
|
-
/** Set by nldd-toolbar, not a consumer attribute: the sole fluid item, allowed to shrink below its content. Same synchronous-toggle and property-read caveats as fluid. */
|
|
4526
|
-
'soloFluid'?: NLDDToolbarItem['soloFluid'];
|
|
4527
|
-
/** Set by nldd-toolbar, not a consumer attribute, when the item moves into the overflow menu. Same synchronous-toggle caveat. */
|
|
4461
|
+
/** Set by nldd-toolbar, not a consumer attribute, when the item moves into the overflow menu. Toggled synchronously during measurement, so do not style against it. */
|
|
4528
4462
|
'hidden'?: NLDDToolbarItem['hidden'];
|
|
4529
|
-
/** Set by nldd-toolbar, not a consumer attribute: the item holds a control that overflows by itself (nldd-tab-bar), so it gets the width that control wants with everything shown. Same synchronous-toggle caveat. */
|
|
4530
|
-
'shrinkable'?: NLDDToolbarItem['shrinkable'];
|
|
4531
|
-
/** Set by nldd-toolbar, not a consumer attribute: a shrinkable item narrowed down to what its control needs at least, before it would move into the overflow menu. Same synchronous-toggle caveat. */
|
|
4532
|
-
'shrunk'?: NLDDToolbarItem['shrunk'];
|
|
4533
4463
|
};
|
|
4534
4464
|
|
|
4535
4465
|
type NLDDToolbarTitleProps = {
|
|
@@ -4551,8 +4481,6 @@ declare module 'vue' {
|
|
|
4551
4481
|
'supporting-text'?: NLDDToolbarTitle['supportingText'];
|
|
4552
4482
|
/** Secondary supporting text shown below the title. */
|
|
4553
4483
|
'supportingText'?: NLDDToolbarTitle['supportingText'];
|
|
4554
|
-
/** Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's size (default: 'md'), which sets the title group height and, at 'sm', the title and supporting-text fonts. */
|
|
4555
|
-
'size'?: NLDDToolbarTitle['size'];
|
|
4556
4484
|
/** Makes the mark and the name one link, for the place this window belongs to (usually the app's own start). The `action` slot stays outside it: a control inside a link is a control you cannot reach without following the link. */
|
|
4557
4485
|
'href'?: NLDDToolbarTitle['href'];
|
|
4558
4486
|
/** Where the link opens; only meaningful with `href`. `_blank` adds rel="noopener noreferrer" and a visually hidden "opens in a new tab" announcement. 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. */
|
|
@@ -4562,6 +4490,8 @@ declare module 'vue' {
|
|
|
4562
4490
|
};
|
|
4563
4491
|
|
|
4564
4492
|
type NLDDTooltipProps = {
|
|
4493
|
+
/** Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices) */
|
|
4494
|
+
'placement'?: NLDDTooltip['placement'];
|
|
4565
4495
|
/** Tooltip text */
|
|
4566
4496
|
'text'?: NLDDTooltip['text'];
|
|
4567
4497
|
/** Keyboard shortcut hint shown after the text, e.g. 'Cmd+P'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key. Joins the description of a light-DOM trigger. Hidden on touch-only devices, where it isn't invokable. */
|
|
@@ -4578,21 +4508,15 @@ declare module 'vue' {
|
|
|
4578
4508
|
'shortcut-linux'?: NLDDTooltip['shortcutLinux'];
|
|
4579
4509
|
/** Override of `shortcut` on Linux (falls back to `shortcut`). */
|
|
4580
4510
|
'shortcutLinux'?: NLDDTooltip['shortcutLinux'];
|
|
4581
|
-
/** Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback ("Copied", for instance). Reset it to false to restore the hover behavior. */
|
|
4582
|
-
'open'?: NLDDTooltip['open'];
|
|
4583
|
-
/** Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices) */
|
|
4584
|
-
'placement'?: NLDDTooltip['placement'];
|
|
4585
4511
|
/** When the tooltip appears on hover: 'instant' shows it right away, without a show delay or a fade, also on the way out. 'delay' (the default) shows it after the standard show delay (700ms). 'never' never shows it: hover and focus events are ignored, aria-describedby is suppressed, and a tooltip that is already visible disappears. The hide delay and the touch suppression stay in force under every value. Focus shows it at once, except the focus a press gives a button, so a click does not flash it up. */
|
|
4586
4512
|
'timing'?: NLDDTooltip['timing'];
|
|
4513
|
+
/** Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback ("Copied", for instance). Reset it to false to restore the hover behavior. */
|
|
4514
|
+
'open'?: NLDDTooltip['open'];
|
|
4587
4515
|
/** 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. */
|
|
4588
4516
|
'onDismiss'?: (event: CustomEvent) => void;
|
|
4589
4517
|
};
|
|
4590
4518
|
|
|
4591
4519
|
type NLDDTopNavigationBarProps = {
|
|
4592
|
-
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen, where it has a line of its own, a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4593
|
-
'website-title'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4594
|
-
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen, where it has a line of its own, a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4595
|
-
'websiteTitle'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4596
4520
|
/** Hides the whole logo bar, wordmark included. */
|
|
4597
4521
|
'no-logo'?: NLDDTopNavigationBar['noLogo'];
|
|
4598
4522
|
/** Hides the whole logo bar, wordmark included. */
|
|
@@ -4619,18 +4543,22 @@ declare module 'vue' {
|
|
|
4619
4543
|
'logo-href'?: NLDDTopNavigationBar['logoHref'];
|
|
4620
4544
|
/** URL for the logo and wordmark. Without it they are not a link but an image with an accessible label. Leave it out when `website-href` already goes to the same page: two links to the start page side by side are two tab stops and the same link twice in a screen reader's list of links. */
|
|
4621
4545
|
'logoHref'?: NLDDTopNavigationBar['logoHref'];
|
|
4546
|
+
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen, where it has a line of its own, a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4547
|
+
'website-title'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4548
|
+
/** Name of the website or application, above the menu bar. Empty leaves the title line out. On a narrow screen, where it has a line of its own, a long name wraps; on md and lg it sits beside the menu on one line, so keep it short enough to fit there. */
|
|
4549
|
+
'websiteTitle'?: NLDDTopNavigationBar['websiteTitle'];
|
|
4622
4550
|
/** URL for the website title. Without it the title stays plain text. */
|
|
4623
4551
|
'website-href'?: NLDDTopNavigationBar['websiteHref'];
|
|
4624
4552
|
/** URL for the website title. Without it the title stays plain text. */
|
|
4625
4553
|
'websiteHref'?: NLDDTopNavigationBar['websiteHref'];
|
|
4626
|
-
/** URL of the back button. Without it a click fires the `back-click` event, so the consumer navigates itself. */
|
|
4627
|
-
'back-href'?: NLDDTopNavigationBar['backHref'];
|
|
4628
|
-
/** URL of the back button. Without it a click fires the `back-click` event, so the consumer navigates itself. */
|
|
4629
|
-
'backHref'?: NLDDTopNavigationBar['backHref'];
|
|
4630
4554
|
/** Text of the back button. The button appears as soon as back-text or back-href is set; without text it falls back to the translation ("Terug"). */
|
|
4631
4555
|
'back-text'?: NLDDTopNavigationBar['backText'];
|
|
4632
4556
|
/** Text of the back button. The button appears as soon as back-text or back-href is set; without text it falls back to the translation ("Terug"). */
|
|
4633
4557
|
'backText'?: NLDDTopNavigationBar['backText'];
|
|
4558
|
+
/** URL of the back button. Without it a click fires the `back-click` event, so the consumer navigates itself. */
|
|
4559
|
+
'back-href'?: NLDDTopNavigationBar['backHref'];
|
|
4560
|
+
/** URL of the back button. Without it a click fires the `back-click` event, so the consumer navigates itself. */
|
|
4561
|
+
'backHref'?: NLDDTopNavigationBar['backHref'];
|
|
4634
4562
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
4635
4563
|
'translations'?: NLDDTopNavigationBar['translations'];
|
|
4636
4564
|
};
|
|
@@ -4646,10 +4574,6 @@ declare module 'vue' {
|
|
|
4646
4574
|
'heading-level'?: NLDDTopTitleBar['headingLevel'];
|
|
4647
4575
|
/** Heading level of the title: 1–6 (default: 1). Lower it where the bar is not the top of the page, such as a pane beside content that already has its h1. */
|
|
4648
4576
|
'headingLevel'?: NLDDTopTitleBar['headingLevel'];
|
|
4649
|
-
/** Id of the element whose top edge triggers the compact state on scroll. Without it the state is static (see above). */
|
|
4650
|
-
'collapse-anchor'?: NLDDTopTitleBar['collapseAnchor'];
|
|
4651
|
-
/** Id of the element whose top edge triggers the compact state on scroll. Without it the state is static (see above). */
|
|
4652
|
-
'collapseAnchor'?: NLDDTopTitleBar['collapseAnchor'];
|
|
4653
4577
|
/** Text of the back button and its accessible name. Empty hides the back button (and the divider). */
|
|
4654
4578
|
'back-text'?: NLDDTopTitleBar['backText'];
|
|
4655
4579
|
/** Text of the back button and its accessible name. Empty hides the back button (and the divider). */
|
|
@@ -4662,6 +4586,10 @@ declare module 'vue' {
|
|
|
4662
4586
|
'dismiss-text'?: NLDDTopTitleBar['dismissText'];
|
|
4663
4587
|
/** Text of the dismiss button. Empty hides that button. */
|
|
4664
4588
|
'dismissText'?: NLDDTopTitleBar['dismissText'];
|
|
4589
|
+
/** Id of the element whose top edge triggers the compact state on scroll. Without it the state is static (see above). */
|
|
4590
|
+
'collapse-anchor'?: NLDDTopTitleBar['collapseAnchor'];
|
|
4591
|
+
/** Id of the element whose top edge triggers the compact state on scroll. Without it the state is static (see above). */
|
|
4592
|
+
'collapseAnchor'?: NLDDTopTitleBar['collapseAnchor'];
|
|
4665
4593
|
/** Fired when the back button is clicked (not fired when back-href is set). It bubbles and is composed, so an ancestor hears it too, which is how nldd-navigation-split-view lets a consumer catch the back of any pane in one place. Listen in one place then: bound to both this bar and an ancestor, a single press runs the handler twice. */
|
|
4666
4594
|
'onBack'?: (event: CustomEvent) => void;
|
|
4667
4595
|
/** Fired when the dismiss button is clicked. Bubbles and is composed, with the same caveat as `back`. */
|
|
@@ -4732,31 +4660,27 @@ declare module 'vue' {
|
|
|
4732
4660
|
};
|
|
4733
4661
|
|
|
4734
4662
|
type NLDDValidationItemProps = {
|
|
4735
|
-
/**
|
|
4736
|
-
'
|
|
4663
|
+
/** Show this item before there is a verdict, whatever the list says. */
|
|
4664
|
+
'hint'?: NLDDValidationItem['hint'];
|
|
4737
4665
|
/** Fewest characters the value may have. Not held against an empty value unless the field is required. */
|
|
4738
4666
|
'minlength'?: NLDDValidationItem['minlength'];
|
|
4739
4667
|
/** Most characters the value may have. */
|
|
4740
4668
|
'maxlength'?: NLDDValidationItem['maxlength'];
|
|
4669
|
+
/** Regular expression the value has to contain. Not anchored, unlike the native `pattern`: `[A-Z]` means "has a capital in it". Not held against an empty value unless the field is required. */
|
|
4670
|
+
'match'?: NLDDValidationItem['match'];
|
|
4741
4671
|
/** The value may not be empty. Without it, and without `required` on the control, an empty value passes every rule in the list, as it does for the native `pattern` and `minlength`. The control is read by its `required` property or attribute; one that only says `aria-required` needs this item. */
|
|
4742
4672
|
'required'?: NLDDValidationItem['required'];
|
|
4743
|
-
/** Show this item before there is a verdict, whatever the list says. */
|
|
4744
|
-
'hint'?: NLDDValidationItem['hint'];
|
|
4745
|
-
/** Whether the value fails this item. Managed by the list; do not set it yourself. */
|
|
4746
|
-
'unmet'?: NLDDValidationItem['unmet'];
|
|
4747
|
-
/** Whether the item is on screen. Managed by the list. */
|
|
4748
|
-
'visible'?: NLDDValidationItem['visible'];
|
|
4749
4673
|
/** Whether this item judges itself, or waits for the app to name it. */
|
|
4750
4674
|
'hasRule'?: NLDDValidationItem['hasRule'];
|
|
4751
4675
|
};
|
|
4752
4676
|
|
|
4753
4677
|
type NLDDValidationListProps = {
|
|
4754
|
-
/** Id of the control this list is about. Not needed inside an nldd-form-field, which hands its own control over. */
|
|
4755
|
-
'for'?: NLDDValidationList['for'];
|
|
4756
4678
|
/** Show every item before there is a verdict, as the requirements of the field. Overridable per item. */
|
|
4757
4679
|
'hint'?: NLDDValidationList['hint'];
|
|
4758
4680
|
/** Drop the hints, because this field has been judged. Turned on by the list itself once its control is `invalid`, and settable by hand. What turns red follows `invalid`, not this. */
|
|
4759
4681
|
'judging'?: NLDDValidationList['judging'];
|
|
4682
|
+
/** Id of the control this list is about. Not needed inside an nldd-form-field, which hands its own control over. */
|
|
4683
|
+
'for'?: NLDDValidationList['for'];
|
|
4760
4684
|
/** Override translation keys (the line the list shows when the field is invalid and no item fails); unset keys fall back to Dutch. */
|
|
4761
4685
|
'translations'?: NLDDValidationList['translations'];
|
|
4762
4686
|
/** The control this list is about. Set by the wrapping nldd-form-field, which already answers "which control is this field about" for the label and the description. A `for` of its own wins, and setting this property directly is what a test or a story does. */
|
|
@@ -4775,6 +4699,8 @@ declare module 'vue' {
|
|
|
4775
4699
|
'width'?: NLDDWindow['width'];
|
|
4776
4700
|
/** CSS height (default: content height) */
|
|
4777
4701
|
'height'?: NLDDWindow['height'];
|
|
4702
|
+
/** Centers both axes on the viewport. Overridable per axis: `centered top="0"` is horizontally centered, top aligned. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides. */
|
|
4703
|
+
'centered'?: NLDDWindow['centered'];
|
|
4778
4704
|
/** CSS top position of the top edge (e.g. '0', '100px') */
|
|
4779
4705
|
'top'?: NLDDWindow['top'];
|
|
4780
4706
|
/** CSS right value */
|
|
@@ -4783,20 +4709,18 @@ declare module 'vue' {
|
|
|
4783
4709
|
'bottom'?: NLDDWindow['bottom'];
|
|
4784
4710
|
/** CSS left position of the left edge */
|
|
4785
4711
|
'left'?: NLDDWindow['left'];
|
|
4786
|
-
/** Centers both axes on the viewport. Overridable per axis: `centered top="0"` is horizontally centered, top aligned. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides. */
|
|
4787
|
-
'centered'?: NLDDWindow['centered'];
|
|
4788
4712
|
/** Accessible name (aria-label). Unset, the window takes the text of the nldd-top-title-bar inside it, and without one the i18n default ('Venster'). Each window needs a unique, descriptive name, from either. */
|
|
4789
4713
|
'accessible-label'?: NLDDWindow['accessibleLabel'];
|
|
4790
4714
|
/** Accessible name (aria-label). Unset, the window takes the text of the nldd-top-title-bar inside it, and without one the i18n default ('Venster'). Each window needs a unique, descriptive name, from either. */
|
|
4791
4715
|
'accessibleLabel'?: NLDDWindow['accessibleLabel'];
|
|
4792
|
-
/** Override translation keys; unset keys fall back to the Dutch default. */
|
|
4793
|
-
'translations'?: NLDDWindow['translations'];
|
|
4794
4716
|
/** A click on the backdrop does not close the window. For windows where dismissing by accident costs work: a process of several steps, a form with filled-in fields. Escape and the dismiss button keep working. */
|
|
4795
4717
|
'no-light-dismiss'?: NLDDWindow['noLightDismiss'];
|
|
4796
4718
|
/** A click on the backdrop does not close the window. For windows where dismissing by accident costs work: a process of several steps, a form with filled-in fields. Escape and the dismiss button keep working. */
|
|
4797
4719
|
'noLightDismiss'?: NLDDWindow['noLightDismiss'];
|
|
4798
4720
|
/** Whether the window is open. Set it to open or close the window, as an alternative to show() and hide(). The window clears it itself when it closes another way (Escape, the backdrop, the close button of its title bar), so bind it together with the close event. */
|
|
4799
4721
|
'open'?: NLDDWindow['open'];
|
|
4722
|
+
/** Override translation keys; unset keys fall back to the Dutch default. */
|
|
4723
|
+
'translations'?: NLDDWindow['translations'];
|
|
4800
4724
|
/** When the window opens */
|
|
4801
4725
|
'onOpen'?: (event: CustomEvent) => void;
|
|
4802
4726
|
/** When the window has fully closed. Does not bubble: overlays can sit inside each other, and a listener on one window should not also hear the form that opened it. The dismiss button of an nldd-top-title-bar inside it fires `dismiss`, which bubbles; this component catches that itself, closes and fires `close`. Listen to `close` alone, or one click runs your handler twice. */
|
|
@@ -4873,7 +4797,7 @@ declare module 'vue' {
|
|
|
4873
4797
|
'nldd-file-field': DefineComponent<NLDDFileFieldProps>;
|
|
4874
4798
|
/** Nederlandse Digitale Dienst Form Component Plain custom element (extends HTMLElement, no Lit), required for light-DOM autofill. Renders a real `<form>` element in the LIGHT DOM around its children. Chrome's autofill engine looks for native `<input>` elements that have a `<form>` ancestor in the light DOM; with shadow-DOM inputs it can't find them, so we keep this component shadow-less. **Differs from other `nldd-*` components:** - No shadowRoot: all children live in the light DOM (inside the inner `<form>`) - No Lit: a plain HTMLElement with manual attribute mirroring - **Requires a global stylesheet import**: the vertical rhythm rules live in `dist/css/form.css` (or `global.css`), not in a component-specific shadow stylesheet. Import it as part of your app's global CSS bundle. **When a field turns red:** on submit the form marks every control the browser rejects with `invalid`, and clears it again once the value passes. Setting `invalid` yourself is fine, but do it on submit, not while someone is still typing, or a field turns red over a value that is not finished yet. **Two usage modes:** 1. **Auto-wrap** (default): write children directly. Component creates a `<form>` element and migrates children into it via MutationObserver. Simplest API. 2. **User-provided form** (framework-friendly): write your own `<form>` as direct child. Component detects it, takes over attribute mirroring, and skips the migration. Children stay where your framework puts them, so there is no DOM shuffling to conflict with React/Vue/Angular reconciliation. **Framework interop:** In auto-wrap mode every direct child is moved into the inner form through a MutationObserver. That works fine for most React/Vue use cases, because frameworks only mutate the DOM when their virtual DOM changes. For edge cases (animation libraries that track DOM position, SSR hydration mismatches, frameworks that actively check sibling positions) use **user-provided form** mode instead. For programmatic manipulation, use the `form` getter so you work with the inner `<form>` element directly (see the last example). */
|
|
4875
4799
|
'nldd-form': DefineComponent<NLDDFormProps>;
|
|
4876
|
-
/** A layout wrapper for the action buttons at the bottom of a form (typically a submit button or a button group). Follows the same responsive layout as `nldd-form-field`: with `label-alignment="right"` or `"left"` the content gets the same indent as the fields above it, thanks to a `::before` pseudo-element that acts as the spacer column where the label would sit. Inherits `label-alignment`
|
|
4800
|
+
/** A layout wrapper for the action buttons at the bottom of a form (typically a submit button or a button group). Follows the same responsive layout as `nldd-form-field`: with `label-alignment="right"` or `"left"` the content gets the same indent as the fields above it, thanks to a `::before` pseudo-element that acts as the spacer column where the label would sit. Inherits `label-alignment` from a wrapping `nldd-form`. A `label-alignment` of its own wins. */
|
|
4877
4801
|
'nldd-form-actions': DefineComponent<NLDDFormActionsProps>;
|
|
4878
4802
|
/** A field around one input: its label, supporting label, optional badge, validation and help text. It finds the input among its children, hands it the label as its accessible name and gives it an id, so you write no `for` or `id` yourself. The input is the first one it finds, leaving out what sits in an nldd-toolbar inside the field: a toolbar works on the field, such as the formatting bar above an nldd-text-editor, and is never the field itself. A native `for` cannot cross a shadow boundary, so a click on the label focuses the input from script. Mark the optional fields with `optional`, not the required ones; the design guidelines say why. Put the requirements on a value in an nldd-validation-list inside the same field. What only your server knows, such as a password found in a breach, the app names in `unmet` on the input itself: see nldd-validation-list. The field hands the list its input and puts the list in the input's accessible description, before the help text. */
|
|
4879
4803
|
'nldd-form-field': DefineComponent<NLDDFormFieldProps>;
|
|
@@ -4975,7 +4899,7 @@ declare module 'vue' {
|
|
|
4975
4899
|
/** A horizontal group of mutually exclusive (radio) or multi-select (checkbox) options. Exports both NLDDSegmentedControl and NLDDSegmentedControlItem. */
|
|
4976
4900
|
'nldd-segmented-control': DefineComponent<NLDDSegmentedControlProps>;
|
|
4977
4901
|
'nldd-segmented-control-item': DefineComponent<NLDDSegmentedControlItemProps>;
|
|
4978
|
-
/** An overlay component that slides in from the side or bottom of the screen. Based on the native <dialog> element for built-in accessibility, focus management, and Escape key support. On small (sm) viewports the sheet always renders as a bottom sheet, regardless of the configured placement. Render the sheet at the document root (teleport/portal it to `document.body`), never inside a split view's content flow: as a slotted flex child it would steal
|
|
4902
|
+
/** An overlay component that slides in from the side or bottom of the screen. Based on the native <dialog> element for built-in accessibility, focus management, and Escape key support. On small (sm) viewports the sheet always renders as a bottom sheet, regardless of the configured placement. Render the sheet at the document root (teleport/portal it to `document.body`), never inside a split view's content flow: as a slotted flex child it would steal the height of the pane it lands in. A sheet holds a whole nldd-page: an nldd-top-title-bar in its header slot, the content, and a footer when there are actions. The page behaves as it does anywhere else, with only the middle scrolling, and the text of the bar is also the sheet's accessible name. Do not build a header of your own. Open and close it with `open`, bound to your state together with the close event: the sheet clears `open` itself when the user closes it. show() and hide() do the same for code without a binding. Keep the sheet in the DOM rather than mounting it when it opens, or the animations are skipped. */
|
|
4979
4903
|
'nldd-sheet': DefineComponent<NLDDSheetProps>;
|
|
4980
4904
|
/** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. The document font comes from the package stylesheet (`@nldd/design-system/styles`), not from this component: it gives `body` the body font and content color as soon as a shell is on the page, inside `@layer reset` so any rule of your own wins. Import only the tokens (`/styles/tokens`) and text you write in the light DOM keeps the browser default. Set background="tinted" to give the whole application a tinted background. All descendants read --context-background-color via --_shell-background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the shell disconnects. The app scrolls the DOCUMENT (root mode) or lets each `nldd-page` scroll inside its pane (nested mode). The mode is derived from the outermost horizontal split view: one column means the document scrolls, several columns mean the panes do. An app without such a split view is a single column at every width and therefore scrolls the document too. Nested scrolling would cost it the rubber-band and the collapsing browser toolbar on iOS for nothing. Set `--context-scroll-mode` on the `nldd-shell` itself to override the derived mode; an inherited value loses from it. In nested scroll mode `overscroll-behavior: none` is set on `document.documentElement` and `document.body` while the shell is connected. Combined with `overscroll-behavior: contain` on `nldd-page`'s scroll target, this prevents iOS rubber-band on the viewport when scroll gestures land outside an `nldd-page` (e.g. on a top-bar). In root scroll mode the document itself is the scroller, so this is lifted to let the native rubber-band happen. Cleared on last disconnect. */
|
|
4981
4905
|
'nldd-shell': DefineComponent<NLDDShellProps>;
|
|
@@ -4997,13 +4921,11 @@ declare module 'vue' {
|
|
|
4997
4921
|
'nldd-split-button': DefineComponent<NLDDSplitButtonProps>;
|
|
4998
4922
|
/** A divider line between panels in a split view. The divider runs from edge to edge in the direction perpendicular to the orientation. An optional drag handle indicates that the divider is draggable (future functionality). */
|
|
4999
4923
|
'nldd-split-view-divider': DefineComponent<NLDDSplitViewDividerProps>;
|
|
5000
|
-
/** A simple pane container for use inside split views. The split view automatically sets context: whether a back button should be shown. The consumer sets `has-content` to indicate the pane has content. The consumer sets `back-text` on the `nldd-top-title-bar` inside the pane. The split view sets `hide-back` when the back button is not applicable. The pane automatically hides the back button via CSS when `hide-back` is active. The pane sets `--context-background-color` which cascades down to all descendants. Set `background="tinted"` on a pane to give it a tinted background independently of sibling panes. Descendants such as `nldd-page` read `--context-background-color` automatically. A pane stretches its slotted content to fill it (`::slotted(*) { flex-grow: 1 }`), so slot only layout content here. Overlays (`nldd-sheet`, popovers, dialogs, menus) belong at the document root: teleport/portal them to `document.body`. Do not leave an overlay as a light-DOM sibling of a split view: it gets slotted into the main pane and becomes an extra flex-grow child that steals pane height, so in document-scroll (root) mode a short page's sticky footer floats mid-screen instead of docking. */
|
|
5001
|
-
'nldd-split-view-pane': DefineComponent<NLDDSplitViewPaneProps>;
|
|
5002
4924
|
/** A vertical split view with multiple stacked panes. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available height are automatically hidden. */
|
|
5003
4925
|
'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
|
|
5004
4926
|
/** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
|
|
5005
4927
|
'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
|
|
5006
|
-
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, step
|
|
4928
|
+
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, no step is current and every step is still to do. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. A bar without a current step shows what is coming, for instance on the page before a process starts. Use that sparingly: what someone needs there is the button that starts the task, and a bar that shows no progress tells little. Mark a step as soon as the process has begun. Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for its label, and with more of them you count instead of seeing at a glance how far you are. For more steps, or steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. When the bar is no wider than the sm breakpoint, or than 120px per step, whichever is wider (a container query, so measured on the component itself rather than on the viewport), it folds into one line of text plus a segmented bar. A label that is too long for its step breaks at a syllable. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
|
|
5007
4929
|
'nldd-step-bar': DefineComponent<NLDDStepBarProps>;
|
|
5008
4930
|
/** One step in an `nldd-step-bar`. `status="current"` marks the step you are on; the parent derives the status of the others and the number of each, which live here as internal state rather than as public API. `past` and `future` override what is derived for this step. */
|
|
5009
4931
|
'nldd-step-bar-item': DefineComponent<NLDDStepBarItemProps>;
|
|
@@ -5021,7 +4943,7 @@ declare module 'vue' {
|
|
|
5021
4943
|
/** A horizontal navigation bar with mutually exclusive tabs. Exports both NLDDTabBar and NLDDTabBarItem. When the tabs do not fit, the ones that do not fit go behind a "Meer tabs" button at the end, in a menu. The current tab always stays in the bar: if it would fall in the part that does not fit, another tab goes to the menu in its place. While tabs are in the menu, the bar fills its container and the tabs in it share the width in proportion to their own. Choosing a tab in the bar changes nothing about what is shown; choosing one from the menu swaps it with the last tab in the bar, so the bar does not jump. `centered` has no effect then. In an nldd-toolbar the other items go to the toolbar's menu first, by their priority; when it is the bar's turn, it narrows down to the current tab beside its button, and only then moves into the toolbar's menu as a whole. Tabs are hidden, never moved, so a framework that renders them finds them where it put them. Only a tab that does not fit on its own is cut off. */
|
|
5022
4944
|
'nldd-tab-bar': DefineComponent<NLDDTabBarProps>;
|
|
5023
4945
|
'nldd-tab-bar-item': DefineComponent<NLDDTabBarItemProps>;
|
|
5024
|
-
/** Exports both NLDDTable and NLDDTableRow. A data table presented as a boxed surface (rounded corners, an inset border ring, a base or tinted fill) that aligns content into shared columns using a CSS grid + subgrid. Row dividers run full-bleed to the edges; the inline padding lives on the rows, so it insets the cell content but not the dividers. Column widths are defined ONCE on the table via the `columns` attribute (a CSS grid track list), like an HTML `<colgroup>`. Rows are `<nldd-table-row>` elements whose children are the existing `nldd-cell` family. Every row uses `grid-template-columns: subgrid`, so all rows snap to the same columns. A generic `nldd-cell` gets `width="full"`, so it fills its column, unless it sets a length of its own. Header: put one `<nldd-table-row slot="header">` in the `header` slot. Its cells become column headers (role="columnheader"). Row headers: give the cell that says what a row is about `row-header` (`nldd-cell`, `nldd-title-cell`, `nldd-text-cell`, `nldd-description-cell`). The row then gives it role="rowheader" instead of "cell", so a screen reader names the row along with every other cell in it, like `<th scope="row">`. The attribute goes on the cell, not as a column index on the row or table, so it survives columns hidden at a breakpoint and needs no counting. It changes the semantics only: the cell variant still decides the look. The cell above the row headers, in the header row, stays a columnheader. Headers that span rows or columns are not supported. Responsive: two complementary strategies. (1) Give columns a minimum width (e.g. `minmax(160px,1fr)`). The table is its own scroll container, so it scrolls horizontally when too narrow (no wrapper needed). (2) Drop columns at breakpoints: provide `sm-columns`/`md-columns`/ `lg-columns` (shorter track lists) and hide the dropped columns' cells with `hide-below`/`hide-above` at the matching breakpoint. The table picks the track list for its own width via the standard sm/md/lg breakpoints. Selection and sorting are intentionally NOT built in: add a column with an `nldd-cell` + `nldd-checkbox` for selection, and drive sorting from an external control (e.g. a dropdown). */
|
|
4946
|
+
/** Exports both NLDDTable and NLDDTableRow. A data table presented as a boxed surface (rounded corners, an inset border ring, a base or tinted fill) that aligns content into shared columns using a CSS grid + subgrid. Row dividers run full-bleed to the edges; the inline padding lives on the rows, so it insets the cell content but not the dividers. Column widths are defined ONCE on the table via the `columns` attribute (a CSS grid track list), like an HTML `<colgroup>`. Rows are `<nldd-table-row>` elements whose children are the existing `nldd-cell` family. Every row uses `grid-template-columns: subgrid`, so all rows snap to the same columns. A generic `nldd-cell` gets `width="full"`, so it fills its column, unless it sets a length of its own. Header: put one `<nldd-table-row slot="header">` in the `header` slot. Its cells become column headers (role="columnheader"). Row headers: give the cell that says what a row is about `row-header` (`nldd-cell`, `nldd-title-cell`, `nldd-text-cell`, `nldd-description-cell`). The row then gives it role="rowheader" instead of "cell", so a screen reader names the row along with every other cell in it, like `<th scope="row">`. The attribute goes on the cell, not as a column index on the row or table, so it survives columns hidden at a breakpoint and needs no counting. It changes the semantics only: the cell variant still decides the look. The cell above the row headers, in the header row, stays a columnheader. Headers that span rows or columns are not supported. Responsive: two complementary strategies. (1) Give columns a minimum width (e.g. `minmax(160px,1fr)`). The table is its own scroll container, so it scrolls horizontally when too narrow (no wrapper needed). (2) Drop columns at breakpoints: provide `sm-columns`/`md-columns`/ `lg-columns` (shorter track lists) and hide the dropped columns' cells with `hide-below`/`hide-above` at the matching breakpoint. The table picks the track list for its own width via the standard sm/md/lg breakpoints. A hidden cell is gone at that width, for every reader: drop a column only when what it says is also somewhere else, such as in the row header or on a detail page the row links to. Otherwise scroll, which every table already does (WCAG 1.4.10). Selection and sorting are intentionally NOT built in: add a column with an `nldd-cell` + `nldd-checkbox` for selection, and drive sorting from an external control (e.g. a dropdown). */
|
|
5025
4947
|
'nldd-table': DefineComponent<NLDDTableProps>;
|
|
5026
4948
|
'nldd-table-row': DefineComponent<NLDDTableRowProps>;
|
|
5027
4949
|
/** A compact property that has been assigned to something: a category, a type, a role, a certification. What it says changes only when someone edits the content. A tag is not interactive. Do not use it for a state the system keeps itself, such as "Active" or "Expired", because that is `nldd-badge`. If the user can remove the thing or click it, it is `nldd-token`. */
|