@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
|
@@ -6,35 +6,34 @@
|
|
|
6
6
|
* @related nldd-button
|
|
7
7
|
* @attr {'primary'|'secondary'|'destructive'|'accent-filled'|'accent-transparent'|'neutral-tinted'|'neutral-base'|'neutral-transparent'|'critical-tinted'|'critical-transparent'|'content-filled'|'content-tinted'} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) for its icon.
|
|
8
8
|
* @attr {'xs'|'sm'|'md'|'lg'} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
9
|
-
* @attr {boolean} hide-lg-text - In lg size, hides the text label and enlarges the icon by one step (28px)
|
|
10
|
-
* @attr {boolean} no-highlight-border - Removes the per-appearance highlight border (e.g. when a control group draws a single border instead).
|
|
11
|
-
* @attr {boolean} loading - 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.
|
|
12
|
-
* @attr {string} loading-text - 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".
|
|
13
|
-
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
14
|
-
* @attr {boolean} no-tab - 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.
|
|
15
|
-
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
16
|
-
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
17
|
-
* @attr {boolean} expanded - 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.
|
|
18
|
-
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - 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.
|
|
19
9
|
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
20
10
|
* @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
|
|
21
11
|
* @attr {string} icon - Icon name for the nldd-icon element. Defaults to a placeholder icon when neither this attribute nor the icon slot is set.
|
|
12
|
+
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
13
|
+
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - 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.
|
|
14
|
+
* @attr {string} popovertarget - 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`.
|
|
15
|
+
* @attr {string} interestfor - 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.
|
|
22
16
|
* @attr {string} accessible-label - 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.
|
|
23
|
-
* @attr {
|
|
17
|
+
* @attr {boolean} hide-lg-text - In lg size, hides the text label and enlarges the icon by one step (28px)
|
|
18
|
+
* @attr {string} loading-text - 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".
|
|
24
19
|
* @attr {string} shortcut - 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.
|
|
25
20
|
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
26
21
|
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
27
22
|
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
23
|
+
* @attr {boolean} no-tab - 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.
|
|
24
|
+
* @attr {string} tooltip-timing - 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).
|
|
25
|
+
* @attr {boolean} expanded - 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.
|
|
26
|
+
* @attr {boolean} loading - 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.
|
|
27
|
+
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
28
28
|
* @attr {string} href - When set, renders an <a> element instead of <button>
|
|
29
29
|
* @attr {string} target - 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.
|
|
30
|
-
* @attr {string} download - 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.
|
|
31
30
|
* @attr {string} rel - Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
32
|
-
* @attr {
|
|
33
|
-
* @attr {string} popovertarget - 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`.
|
|
31
|
+
* @attr {string} download - 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.
|
|
34
32
|
*
|
|
35
33
|
* @slot icon - Slot for a custom icon (e.g. custom SVG). Wins over `icon`; falls back to a placeholder icon when neither is set.
|
|
36
34
|
* @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; manual `popovertarget` wiring keeps working without a slotted overlay.
|
|
37
|
-
* @attr {
|
|
35
|
+
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
36
|
+
* @attr {object} translations - Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch.
|
|
38
37
|
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. It takes the place of the button's own tooltip, so let it say what the button does where the icon does not. The button keeps its own click. Focus stays on the button, the popover's content is read as the button's description (after `accessible-label`, which stays its name), and Escape closes it. Information only: put no link or button in it. The popover needs no `accessible-label` here.
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
@@ -73,40 +72,34 @@ export declare class NLDDIconButton extends NLDDIconButton_base {
|
|
|
73
72
|
private _internals;
|
|
74
73
|
appearance: Appearance;
|
|
75
74
|
size: Size;
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* activation, without dropping the control from the tab order (unlike
|
|
82
|
-
* `disabled`).
|
|
83
|
-
*
|
|
84
|
-
* Activation is blocked by stopping the click (as `disabled` does), so a
|
|
85
|
-
* `click` listener delegated on an ancestor receives nothing while loading.
|
|
86
|
-
*/
|
|
87
|
-
loading: boolean;
|
|
88
|
-
/** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
|
|
89
|
-
loadingText: string;
|
|
90
|
-
disabled: boolean;
|
|
91
|
-
/** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
|
|
92
|
-
noHighlightBorder: boolean;
|
|
93
|
-
type: ButtonType;
|
|
75
|
+
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
76
|
+
width: string;
|
|
77
|
+
/** Button text, used as aria-label and shown below the icon in lg size. */
|
|
78
|
+
text: string;
|
|
79
|
+
icon: string;
|
|
94
80
|
expandable: boolean;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
*
|
|
98
|
-
|
|
99
|
-
noTab: boolean;
|
|
81
|
+
/** @internal Set by a group that draws one border around its controls, such as
|
|
82
|
+
* nldd-button-bar: drops this control's own highlight border. No attribute:
|
|
83
|
+
* the styles read it as `:state(no-highlight-border)`. */
|
|
84
|
+
noHighlightBorder: boolean;
|
|
100
85
|
/**
|
|
101
86
|
* Type of popup container this button opens. Sets `aria-haspopup` on the
|
|
102
87
|
* inner button and forces `aria-expanded` to always be present (true/false)
|
|
103
88
|
* so screen readers can announce both the popup type and its current state.
|
|
104
89
|
*/
|
|
105
90
|
popupType?: PopupType;
|
|
106
|
-
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
107
|
-
width: string;
|
|
108
91
|
popovertarget: string | undefined;
|
|
109
92
|
interestfor: string | undefined;
|
|
93
|
+
/** Take the button out of the tab order (`tabindex="-1"`), for a control owned by
|
|
94
|
+
* a roving container (e.g. an `nldd-token` in `nldd-token-field`) that manages
|
|
95
|
+
* focus itself. Still mouse- and script-focusable. */
|
|
96
|
+
accessibleLabel: string;
|
|
97
|
+
/** In lg size, hides the text label and enlarges the icon by one step (28px). */
|
|
98
|
+
hideLgText: boolean;
|
|
99
|
+
/** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
|
|
100
|
+
loadingText: string;
|
|
101
|
+
shortcut: string;
|
|
102
|
+
shortcutMac: string;
|
|
110
103
|
/**
|
|
111
104
|
* Direct element reference to the popover this button invokes: the IDL-only
|
|
112
105
|
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
@@ -125,33 +118,41 @@ export declare class NLDDIconButton extends NLDDIconButton_base {
|
|
|
125
118
|
* default action doesn't double-fire.
|
|
126
119
|
*/
|
|
127
120
|
popoverTargetAction: 'toggle' | 'show' | 'hide';
|
|
128
|
-
|
|
129
|
-
text: string;
|
|
121
|
+
shortcutWindows: string;
|
|
130
122
|
/** Icon name for the nldd-icon element. An icon in the icon slot wins; with
|
|
131
123
|
* neither, a placeholder icon shows. */
|
|
132
|
-
|
|
124
|
+
shortcutLinux: string;
|
|
133
125
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
|
|
134
126
|
* The text is still shown visually in lg size regardless. */
|
|
135
|
-
|
|
127
|
+
noTab: boolean;
|
|
136
128
|
/** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
|
|
137
129
|
* suppress the visual tooltip; aria-label still describes the button. */
|
|
138
130
|
tooltipTiming: 'delay' | 'instant' | 'never';
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
expanded: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Loading state. Shows an activity indicator centered over the (visually
|
|
134
|
+
* hidden) icon, marks the inner control `aria-busy="true"` and blocks
|
|
135
|
+
* activation, without dropping the control from the tab order (unlike
|
|
136
|
+
* `disabled`).
|
|
137
|
+
*
|
|
138
|
+
* Activation is blocked by stopping the click (as `disabled` does), so a
|
|
139
|
+
* `click` listener delegated on an ancestor receives nothing while loading.
|
|
140
|
+
*/
|
|
141
|
+
loading: boolean;
|
|
142
|
+
type: ButtonType;
|
|
143
143
|
/** When set, renders an <a> element instead of <button>. */
|
|
144
144
|
href: string | undefined;
|
|
145
145
|
/** Link target (e.g. '_blank'). Only used when href is set. */
|
|
146
146
|
target: string | undefined;
|
|
147
147
|
/** Saves the file instead of opening it; only used when href is set. Empty
|
|
148
148
|
* for the name from the URL, a name to save it under. */
|
|
149
|
-
download: string | undefined;
|
|
150
149
|
/**
|
|
151
150
|
* Link rel attribute. Only used when href is set.
|
|
152
151
|
* With target '_blank', 'noopener noreferrer' is added to it.
|
|
153
152
|
*/
|
|
154
153
|
rel: string | undefined;
|
|
154
|
+
download: string | undefined;
|
|
155
|
+
disabled: boolean;
|
|
155
156
|
/** Whether an icon is present via attribute or slot. */
|
|
156
157
|
private get _hasIcon();
|
|
157
158
|
/** Shared wiring for an overlay slotted into `popup`: anchors it to this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA
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,YAAY,GAAG,IAAI;IAO5C,iBAAiB,IAAI,IAAI;IAIzB,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -12,35 +12,34 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
* @related nldd-button
|
|
13
13
|
* @attr {'primary'|'secondary'|'destructive'|'accent-filled'|'accent-transparent'|'neutral-tinted'|'neutral-base'|'neutral-transparent'|'critical-tinted'|'critical-transparent'|'content-filled'|'content-tinted'} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) for its icon.
|
|
14
14
|
* @attr {'xs'|'sm'|'md'|'lg'} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
15
|
-
* @attr {boolean} hide-lg-text - In lg size, hides the text label and enlarges the icon by one step (28px)
|
|
16
|
-
* @attr {boolean} no-highlight-border - Removes the per-appearance highlight border (e.g. when a control group draws a single border instead).
|
|
17
|
-
* @attr {boolean} loading - 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.
|
|
18
|
-
* @attr {string} loading-text - 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".
|
|
19
|
-
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
20
|
-
* @attr {boolean} no-tab - 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.
|
|
21
|
-
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
22
|
-
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
23
|
-
* @attr {boolean} expanded - 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.
|
|
24
|
-
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - 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.
|
|
25
15
|
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
26
16
|
* @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
|
|
27
17
|
* @attr {string} icon - Icon name for the nldd-icon element. Defaults to a placeholder icon when neither this attribute nor the icon slot is set.
|
|
18
|
+
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
19
|
+
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - 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.
|
|
20
|
+
* @attr {string} popovertarget - 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`.
|
|
21
|
+
* @attr {string} interestfor - 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.
|
|
28
22
|
* @attr {string} accessible-label - 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.
|
|
29
|
-
* @attr {
|
|
23
|
+
* @attr {boolean} hide-lg-text - In lg size, hides the text label and enlarges the icon by one step (28px)
|
|
24
|
+
* @attr {string} loading-text - 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".
|
|
30
25
|
* @attr {string} shortcut - 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.
|
|
31
26
|
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
32
27
|
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
33
28
|
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
29
|
+
* @attr {boolean} no-tab - 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.
|
|
30
|
+
* @attr {string} tooltip-timing - 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).
|
|
31
|
+
* @attr {boolean} expanded - 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.
|
|
32
|
+
* @attr {boolean} loading - 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.
|
|
33
|
+
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
34
34
|
* @attr {string} href - When set, renders an <a> element instead of <button>
|
|
35
35
|
* @attr {string} target - 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.
|
|
36
|
-
* @attr {string} download - 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.
|
|
37
36
|
* @attr {string} rel - Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
38
|
-
* @attr {
|
|
39
|
-
* @attr {string} popovertarget - 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`.
|
|
37
|
+
* @attr {string} download - 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.
|
|
40
38
|
*
|
|
41
39
|
* @slot icon - Slot for a custom icon (e.g. custom SVG). Wins over `icon`; falls back to a placeholder icon when neither is set.
|
|
42
40
|
* @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; manual `popovertarget` wiring keeps working without a slotted overlay.
|
|
43
|
-
* @attr {
|
|
41
|
+
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
42
|
+
* @attr {object} translations - Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch.
|
|
44
43
|
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. It takes the place of the button's own tooltip, so let it say what the button does where the icon does not. The button keeps its own click. Focus stays on the button, the popover's content is read as the button's description (after `accessible-label`, which stays its name), and Escape closes it. Information only: put no link or button in it. The popover needs no `accessible-label` here.
|
|
45
44
|
*
|
|
46
45
|
* @example
|
|
@@ -69,7 +68,7 @@ import { DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
|
69
68
|
import { ShortcutAvailabilityController } from '../../../utilities/shortcut.js';
|
|
70
69
|
import './../../content/icon/icon.js';
|
|
71
70
|
import './../../status-and-feedback/activity-indicator/activity-indicator.js';
|
|
72
|
-
import { internalsOf } from '../../../utilities/element-state.js';
|
|
71
|
+
import { internalsOf, styleState } from '../../../utilities/element-state.js';
|
|
73
72
|
import { deferFocus } from '../../../utilities/defer-focus.js';
|
|
74
73
|
let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(LitElement, nlddIconButtonTranslations)) {
|
|
75
74
|
constructor() {
|
|
@@ -77,34 +76,28 @@ let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(L
|
|
|
77
76
|
this._internals = internalsOf(this);
|
|
78
77
|
this.appearance = 'neutral-tinted';
|
|
79
78
|
this.size = 'md';
|
|
80
|
-
/** In lg size, hides the text label and enlarges the icon by one step (28px). */
|
|
81
|
-
this.hideLgText = false;
|
|
82
|
-
/**
|
|
83
|
-
* Loading state. Shows an activity indicator centered over the (visually
|
|
84
|
-
* hidden) icon, marks the inner control `aria-busy="true"` and blocks
|
|
85
|
-
* activation, without dropping the control from the tab order (unlike
|
|
86
|
-
* `disabled`).
|
|
87
|
-
*
|
|
88
|
-
* Activation is blocked by stopping the click (as `disabled` does), so a
|
|
89
|
-
* `click` listener delegated on an ancestor receives nothing while loading.
|
|
90
|
-
*/
|
|
91
|
-
this.loading = false;
|
|
92
|
-
/** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
|
|
93
|
-
this.loadingText = '';
|
|
94
|
-
this.disabled = false;
|
|
95
|
-
/** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
|
|
96
|
-
this.noHighlightBorder = false;
|
|
97
|
-
this.type = 'button';
|
|
98
|
-
this.expandable = false;
|
|
99
|
-
this.expanded = false;
|
|
100
|
-
/** Take the button out of the tab order (`tabindex="-1"`), for a control owned by
|
|
101
|
-
* a roving container (e.g. an `nldd-token` in `nldd-token-field`) that manages
|
|
102
|
-
* focus itself. Still mouse- and script-focusable. */
|
|
103
|
-
this.noTab = false;
|
|
104
79
|
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
105
80
|
this.width = '';
|
|
81
|
+
/** Button text, used as aria-label and shown below the icon in lg size. */
|
|
82
|
+
this.text = '';
|
|
83
|
+
this.icon = '';
|
|
84
|
+
this.expandable = false;
|
|
85
|
+
/** @internal Set by a group that draws one border around its controls, such as
|
|
86
|
+
* nldd-button-bar: drops this control's own highlight border. No attribute:
|
|
87
|
+
* the styles read it as `:state(no-highlight-border)`. */
|
|
88
|
+
this.noHighlightBorder = false;
|
|
106
89
|
this.popovertarget = undefined;
|
|
107
90
|
this.interestfor = undefined;
|
|
91
|
+
/** Take the button out of the tab order (`tabindex="-1"`), for a control owned by
|
|
92
|
+
* a roving container (e.g. an `nldd-token` in `nldd-token-field`) that manages
|
|
93
|
+
* focus itself. Still mouse- and script-focusable. */
|
|
94
|
+
this.accessibleLabel = '';
|
|
95
|
+
/** In lg size, hides the text label and enlarges the icon by one step (28px). */
|
|
96
|
+
this.hideLgText = false;
|
|
97
|
+
/** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
|
|
98
|
+
this.loadingText = '';
|
|
99
|
+
this.shortcut = '';
|
|
100
|
+
this.shortcutMac = '';
|
|
108
101
|
/**
|
|
109
102
|
* Direct element reference to the popover this button invokes: the IDL-only
|
|
110
103
|
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
@@ -123,33 +116,41 @@ let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(L
|
|
|
123
116
|
* default action doesn't double-fire.
|
|
124
117
|
*/
|
|
125
118
|
this.popoverTargetAction = 'toggle';
|
|
126
|
-
|
|
127
|
-
this.text = '';
|
|
119
|
+
this.shortcutWindows = '';
|
|
128
120
|
/** Icon name for the nldd-icon element. An icon in the icon slot wins; with
|
|
129
121
|
* neither, a placeholder icon shows. */
|
|
130
|
-
this.
|
|
122
|
+
this.shortcutLinux = '';
|
|
131
123
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
|
|
132
124
|
* The text is still shown visually in lg size regardless. */
|
|
133
|
-
this.
|
|
125
|
+
this.noTab = false;
|
|
134
126
|
/** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
|
|
135
127
|
* suppress the visual tooltip; aria-label still describes the button. */
|
|
136
128
|
this.tooltipTiming = 'delay';
|
|
137
|
-
this.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
129
|
+
this.expanded = false;
|
|
130
|
+
/**
|
|
131
|
+
* Loading state. Shows an activity indicator centered over the (visually
|
|
132
|
+
* hidden) icon, marks the inner control `aria-busy="true"` and blocks
|
|
133
|
+
* activation, without dropping the control from the tab order (unlike
|
|
134
|
+
* `disabled`).
|
|
135
|
+
*
|
|
136
|
+
* Activation is blocked by stopping the click (as `disabled` does), so a
|
|
137
|
+
* `click` listener delegated on an ancestor receives nothing while loading.
|
|
138
|
+
*/
|
|
139
|
+
this.loading = false;
|
|
140
|
+
this.type = 'button';
|
|
141
141
|
/** When set, renders an <a> element instead of <button>. */
|
|
142
142
|
this.href = undefined;
|
|
143
143
|
/** Link target (e.g. '_blank'). Only used when href is set. */
|
|
144
144
|
this.target = undefined;
|
|
145
145
|
/** Saves the file instead of opening it; only used when href is set. Empty
|
|
146
146
|
* for the name from the URL, a name to save it under. */
|
|
147
|
-
this.download = undefined;
|
|
148
147
|
/**
|
|
149
148
|
* Link rel attribute. Only used when href is set.
|
|
150
149
|
* With target '_blank', 'noopener noreferrer' is added to it.
|
|
151
150
|
*/
|
|
152
151
|
this.rel = undefined;
|
|
152
|
+
this.download = undefined;
|
|
153
|
+
this.disabled = false;
|
|
153
154
|
/** Shared wiring for an overlay slotted into `popup`: anchors it to this
|
|
154
155
|
* button and turns clicks into open/close. Not private: the template module
|
|
155
156
|
* binds its handlers. */
|
|
@@ -173,6 +174,8 @@ let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(L
|
|
|
173
174
|
anchorPopoverTarget(this, null);
|
|
174
175
|
}
|
|
175
176
|
updated(changedProperties) {
|
|
177
|
+
if (changedProperties.has('noHighlightBorder'))
|
|
178
|
+
styleState(this, 'no-highlight-border', this.noHighlightBorder);
|
|
176
179
|
anchorPopoverTarget(this, popoverTargetOf(this, this.popovertarget, this.popoverTargetElement));
|
|
177
180
|
if (changedProperties.has('interestfor'))
|
|
178
181
|
this._interest.refresh();
|
|
@@ -269,74 +272,71 @@ __decorate([
|
|
|
269
272
|
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
270
273
|
], NLDDIconButton.prototype, "size", void 0);
|
|
271
274
|
__decorate([
|
|
272
|
-
property({
|
|
273
|
-
], NLDDIconButton.prototype, "
|
|
274
|
-
__decorate([
|
|
275
|
-
property({ type: Boolean, reflect: true })
|
|
276
|
-
], NLDDIconButton.prototype, "loading", void 0);
|
|
277
|
-
__decorate([
|
|
278
|
-
property({ attribute: 'loading-text' })
|
|
279
|
-
], NLDDIconButton.prototype, "loadingText", void 0);
|
|
280
|
-
__decorate([
|
|
281
|
-
property({ type: Boolean, reflect: true })
|
|
282
|
-
], NLDDIconButton.prototype, "disabled", void 0);
|
|
275
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
276
|
+
], NLDDIconButton.prototype, "width", void 0);
|
|
283
277
|
__decorate([
|
|
284
|
-
property({
|
|
285
|
-
], NLDDIconButton.prototype, "
|
|
278
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
279
|
+
], NLDDIconButton.prototype, "text", void 0);
|
|
286
280
|
__decorate([
|
|
287
|
-
property({
|
|
288
|
-
], NLDDIconButton.prototype, "
|
|
281
|
+
property({ type: String })
|
|
282
|
+
], NLDDIconButton.prototype, "icon", void 0);
|
|
289
283
|
__decorate([
|
|
290
284
|
property({ type: Boolean, reflect: true, attribute: 'expandable' })
|
|
291
285
|
], NLDDIconButton.prototype, "expandable", void 0);
|
|
292
286
|
__decorate([
|
|
293
|
-
property({
|
|
294
|
-
], NLDDIconButton.prototype, "
|
|
295
|
-
__decorate([
|
|
296
|
-
property({ type: Boolean, reflect: true, attribute: 'no-tab' })
|
|
297
|
-
], NLDDIconButton.prototype, "noTab", void 0);
|
|
287
|
+
property({ attribute: false })
|
|
288
|
+
], NLDDIconButton.prototype, "noHighlightBorder", void 0);
|
|
298
289
|
__decorate([
|
|
299
290
|
property({ type: String, reflect: true, attribute: 'popup-type' })
|
|
300
291
|
], NLDDIconButton.prototype, "popupType", void 0);
|
|
301
|
-
__decorate([
|
|
302
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
303
|
-
], NLDDIconButton.prototype, "width", void 0);
|
|
304
292
|
__decorate([
|
|
305
293
|
property({ type: String })
|
|
306
294
|
], NLDDIconButton.prototype, "popovertarget", void 0);
|
|
307
295
|
__decorate([
|
|
308
296
|
property({ type: String, reflect: true })
|
|
309
297
|
], NLDDIconButton.prototype, "interestfor", void 0);
|
|
310
|
-
__decorate([
|
|
311
|
-
property({ attribute: false })
|
|
312
|
-
], NLDDIconButton.prototype, "popoverTargetElement", void 0);
|
|
313
|
-
__decorate([
|
|
314
|
-
property({ attribute: false })
|
|
315
|
-
], NLDDIconButton.prototype, "popoverTargetAction", void 0);
|
|
316
|
-
__decorate([
|
|
317
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
318
|
-
], NLDDIconButton.prototype, "text", void 0);
|
|
319
|
-
__decorate([
|
|
320
|
-
property({ type: String })
|
|
321
|
-
], NLDDIconButton.prototype, "icon", void 0);
|
|
322
298
|
__decorate([
|
|
323
299
|
property({ type: String, attribute: 'accessible-label' })
|
|
324
300
|
], NLDDIconButton.prototype, "accessibleLabel", void 0);
|
|
325
301
|
__decorate([
|
|
326
|
-
property({ reflect: true, attribute: '
|
|
327
|
-
], NLDDIconButton.prototype, "
|
|
302
|
+
property({ type: Boolean, reflect: true, attribute: 'hide-lg-text' })
|
|
303
|
+
], NLDDIconButton.prototype, "hideLgText", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
property({ attribute: 'loading-text' })
|
|
306
|
+
], NLDDIconButton.prototype, "loadingText", void 0);
|
|
328
307
|
__decorate([
|
|
329
308
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
330
309
|
], NLDDIconButton.prototype, "shortcut", void 0);
|
|
331
310
|
__decorate([
|
|
332
311
|
property({ reflect: true, attribute: 'shortcut-mac', converter: reflectNonDefault('') })
|
|
333
312
|
], NLDDIconButton.prototype, "shortcutMac", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
property({ attribute: false })
|
|
315
|
+
], NLDDIconButton.prototype, "popoverTargetElement", void 0);
|
|
316
|
+
__decorate([
|
|
317
|
+
property({ attribute: false })
|
|
318
|
+
], NLDDIconButton.prototype, "popoverTargetAction", void 0);
|
|
334
319
|
__decorate([
|
|
335
320
|
property({ reflect: true, attribute: 'shortcut-windows', converter: reflectNonDefault('') })
|
|
336
321
|
], NLDDIconButton.prototype, "shortcutWindows", void 0);
|
|
337
322
|
__decorate([
|
|
338
323
|
property({ reflect: true, attribute: 'shortcut-linux', converter: reflectNonDefault('') })
|
|
339
324
|
], NLDDIconButton.prototype, "shortcutLinux", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
property({ type: Boolean, reflect: true, attribute: 'no-tab' })
|
|
327
|
+
], NLDDIconButton.prototype, "noTab", void 0);
|
|
328
|
+
__decorate([
|
|
329
|
+
property({ reflect: true, attribute: 'tooltip-timing', converter: reflectNonDefault('delay') })
|
|
330
|
+
], NLDDIconButton.prototype, "tooltipTiming", void 0);
|
|
331
|
+
__decorate([
|
|
332
|
+
property({ type: Boolean, reflect: true })
|
|
333
|
+
], NLDDIconButton.prototype, "expanded", void 0);
|
|
334
|
+
__decorate([
|
|
335
|
+
property({ type: Boolean, reflect: true })
|
|
336
|
+
], NLDDIconButton.prototype, "loading", void 0);
|
|
337
|
+
__decorate([
|
|
338
|
+
property({ reflect: true, converter: reflectNonDefault('button') })
|
|
339
|
+
], NLDDIconButton.prototype, "type", void 0);
|
|
340
340
|
__decorate([
|
|
341
341
|
property({ type: String, reflect: true })
|
|
342
342
|
], NLDDIconButton.prototype, "href", void 0);
|
|
@@ -345,10 +345,13 @@ __decorate([
|
|
|
345
345
|
], NLDDIconButton.prototype, "target", void 0);
|
|
346
346
|
__decorate([
|
|
347
347
|
property({ type: String })
|
|
348
|
-
], NLDDIconButton.prototype, "
|
|
348
|
+
], NLDDIconButton.prototype, "rel", void 0);
|
|
349
349
|
__decorate([
|
|
350
350
|
property({ type: String })
|
|
351
|
-
], NLDDIconButton.prototype, "
|
|
351
|
+
], NLDDIconButton.prototype, "download", void 0);
|
|
352
|
+
__decorate([
|
|
353
|
+
property({ type: Boolean, reflect: true })
|
|
354
|
+
], NLDDIconButton.prototype, "disabled", void 0);
|
|
352
355
|
NLDDIconButton = __decorate([
|
|
353
356
|
customElement('nldd-icon-button')
|
|
354
357
|
], NLDDIconButton);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"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,MAAM,EAAE,CAAC;gDACc;AAGzC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAC1B;AApJL,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAqQ1B"}
|
|
@@ -308,8 +308,8 @@ export const iconButtonStyles = css `
|
|
|
308
308
|
pointer-events: none;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
:host(
|
|
312
|
-
:host(
|
|
311
|
+
:host(:state(no-highlight-border)),
|
|
312
|
+
:host(:state(no-highlight-border)[expanded]) {
|
|
313
313
|
--_icon-button-highlight-border-color: transparent;
|
|
314
314
|
--_icon-button-is-hovered-highlight-border-color: transparent;
|
|
315
315
|
--_icon-button-is-active-highlight-border-color: transparent;
|
|
@@ -27,18 +27,18 @@ declare const NLDDMenuItem_base: (abstract new (...args: any[]) => LitElement &
|
|
|
27
27
|
* @attr {string} icon - Icon name rendered before the text. An icon in the `icon` slot takes its place.
|
|
28
28
|
* @attr {string} shortcut - Keyboard shortcut hint shown on the right, e.g. 'Cmd+E'. Display only (rendered via nldd-keyboard-shortcut). It does not bind the key, so wire up the handling in your app. Hidden on touch-only devices, where it isn't invokable.
|
|
29
29
|
* @attr {string} shortcut-mac / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`).
|
|
30
|
+
* @attr {string} query - Query substring to bold-highlight in text. Set by menu's filter(); also settable by consumers.
|
|
31
|
+
* @attr {'match'|'predictive'} query-mark-mode - 'match' | 'predictive' (default: 'predictive'). See text-cell for details.
|
|
32
|
+
* @attr {string} aliases - Space-separated alternative search terms.
|
|
33
|
+
* @attr {boolean} selected - Selected state for checkbox and radio types.
|
|
34
|
+
* @attr {string} form - 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.
|
|
35
|
+
* @attr {string} value - 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.
|
|
36
|
+
* @attr {'button'|'submit'|'checkbox'|'radio'} type - 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.
|
|
30
37
|
* @attr {string} href - 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.
|
|
31
38
|
* @attr {string} target - 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.
|
|
32
39
|
* @attr {string} rel - Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.
|
|
33
|
-
* @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
|
|
34
|
-
* @attr {'button'|'submit'|'checkbox'|'radio'} type - 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.
|
|
35
|
-
* @attr {string} form - 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.
|
|
36
|
-
* @attr {boolean} selected - Selected state for checkbox and radio types.
|
|
37
40
|
* @attr {boolean} disabled - Disabled state.
|
|
38
|
-
* @attr {
|
|
39
|
-
* @attr {string} aliases - Space-separated alternative search terms.
|
|
40
|
-
* @attr {string} query - Query substring to bold-highlight in text. Set by menu's filter(); also settable by consumers.
|
|
41
|
-
* @attr {'match'|'predictive'} query-mark-mode - 'match' | 'predictive' (default: 'predictive'). See text-cell for details.
|
|
41
|
+
* @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
|
|
42
42
|
*
|
|
43
43
|
* @slot icon - An icon of your own before the text, such as an `<img>`: one that is not in the icon set. Wins over `icon`.
|
|
44
44
|
*
|
|
@@ -54,18 +54,18 @@ export declare class NLDDMenuItem extends NLDDMenuItem_base {
|
|
|
54
54
|
shortcutMac: string;
|
|
55
55
|
shortcutWindows: string;
|
|
56
56
|
shortcutLinux: string;
|
|
57
|
+
query: string;
|
|
58
|
+
queryMarkMode: QueryMarkMode;
|
|
59
|
+
aliases: string;
|
|
60
|
+
selected: boolean;
|
|
61
|
+
/** Id of the form a `submit` item submits, when it does not stand in that form. */
|
|
62
|
+
form: string;
|
|
63
|
+
value: string;
|
|
64
|
+
type: MenuItemType;
|
|
57
65
|
href: string;
|
|
58
66
|
target: string | undefined;
|
|
59
67
|
rel: string | undefined;
|
|
60
|
-
type: MenuItemType;
|
|
61
|
-
/** Id of the form a `submit` item submits, when it does not stand in that form. */
|
|
62
|
-
form: string;
|
|
63
|
-
selected: boolean;
|
|
64
68
|
disabled: boolean;
|
|
65
|
-
value: string;
|
|
66
|
-
aliases: string;
|
|
67
|
-
query: string;
|
|
68
|
-
queryMarkMode: QueryMarkMode;
|
|
69
69
|
/**
|
|
70
70
|
* Which menu owns this item, set by that nldd-menu. Not part of the public API.
|
|
71
71
|
*
|