@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
|
@@ -20,14 +20,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
20
20
|
* or the help text, or mark the other questions optional.
|
|
21
21
|
*
|
|
22
22
|
* @element nldd-checkbox-group
|
|
23
|
-
* @keywords selectievakjes
|
|
23
|
+
* @keywords selectievakjes, toggle, toggles
|
|
24
24
|
* @related nldd-radio-button-group, nldd-token-field
|
|
25
|
-
* @attr {string} name - Forwarded to all nldd-checkbox-field elements in the group; clearing it leaves them the name they had
|
|
26
|
-
* @attr {boolean} disabled - Disables all fields in the group
|
|
27
|
-
* @attr {boolean} required - At least one box in the group has to be checked. Set on every field in the group, nested ones included, whether it is on or off: in a group, the group decides.
|
|
28
25
|
* @attr {string} accessible-label - Accessible name for the group, set as aria-label on the group
|
|
29
26
|
* @attr {string} accessible-labeled-by - Id of an external label element, set as aria-labelledby on the group
|
|
30
27
|
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
28
|
+
* @attr {string} name - Forwarded to all nldd-checkbox-field elements in the group; clearing it leaves them the name they had
|
|
29
|
+
* @attr {boolean} required - At least one box in the group has to be checked. Set on every field in the group, nested ones included, whether it is on or off: in a group, the group decides.
|
|
30
|
+
* @attr {boolean} disabled - Disables all fields in the group
|
|
31
31
|
*
|
|
32
32
|
* @slot - Slot for nldd-checkbox-field elements. Options nested in the `children` slot of a field belong to the group too; see nldd-checkbox-field.
|
|
33
33
|
*
|
|
@@ -44,14 +44,9 @@ import { ChoiceGroup, announceGroupState } from '../../../utilities/choice-group
|
|
|
44
44
|
let NLDDCheckboxGroup = class NLDDCheckboxGroup extends LitElement {
|
|
45
45
|
constructor() {
|
|
46
46
|
super(...arguments);
|
|
47
|
-
this.name = '';
|
|
48
|
-
this.disabled = false;
|
|
49
|
-
this.required = false;
|
|
50
47
|
/** Accessible name forwarded as aria-label to the group host. */
|
|
51
48
|
this.accessibleLabel = '';
|
|
52
49
|
this.accessibleLabeledBy = '';
|
|
53
|
-
/** The name this group wrote onto its host, so it only takes back its own. */
|
|
54
|
-
this._appliedLabel = null;
|
|
55
50
|
/**
|
|
56
51
|
* Marks the control as invalid.
|
|
57
52
|
*
|
|
@@ -62,6 +57,11 @@ let NLDDCheckboxGroup = class NLDDCheckboxGroup extends LitElement {
|
|
|
62
57
|
* choosing not to show something is not a reason to keep quiet about it.
|
|
63
58
|
*/
|
|
64
59
|
this.invalid = false;
|
|
60
|
+
this.name = '';
|
|
61
|
+
this.required = false;
|
|
62
|
+
this.disabled = false;
|
|
63
|
+
/** The name this group wrote onto its host, so it only takes back its own. */
|
|
64
|
+
this._appliedLabel = null;
|
|
65
65
|
this._choices = new ChoiceGroup(this, {
|
|
66
66
|
options: () => this._getFields(),
|
|
67
67
|
isSelected: (field) => field.checked,
|
|
@@ -124,15 +124,6 @@ NLDDCheckboxGroup.styles = checkboxGroupStyles;
|
|
|
124
124
|
/** Says this is the control an nldd-form-field is about, so the field can
|
|
125
125
|
* find it, name it and move focus into it. See nldd-form-field. */
|
|
126
126
|
NLDDCheckboxGroup.isFormInput = true;
|
|
127
|
-
__decorate([
|
|
128
|
-
property({ type: String })
|
|
129
|
-
], NLDDCheckboxGroup.prototype, "name", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
property({ type: Boolean, reflect: true })
|
|
132
|
-
], NLDDCheckboxGroup.prototype, "disabled", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
property({ type: Boolean, reflect: true })
|
|
135
|
-
], NLDDCheckboxGroup.prototype, "required", void 0);
|
|
136
127
|
__decorate([
|
|
137
128
|
property({ type: String, attribute: 'accessible-label' })
|
|
138
129
|
], NLDDCheckboxGroup.prototype, "accessibleLabel", void 0);
|
|
@@ -142,6 +133,15 @@ __decorate([
|
|
|
142
133
|
__decorate([
|
|
143
134
|
property({ type: Boolean, reflect: true })
|
|
144
135
|
], NLDDCheckboxGroup.prototype, "invalid", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
property({ type: String })
|
|
138
|
+
], NLDDCheckboxGroup.prototype, "name", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
property({ type: Boolean, reflect: true })
|
|
141
|
+
], NLDDCheckboxGroup.prototype, "required", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
property({ type: Boolean, reflect: true })
|
|
144
|
+
], NLDDCheckboxGroup.prototype, "disabled", void 0);
|
|
145
145
|
NLDDCheckboxGroup = __decorate([
|
|
146
146
|
customElement('nldd-checkbox-group')
|
|
147
147
|
], NLDDCheckboxGroup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.js","sourceRoot":"","sources":["../../../../src/components/inputs/checkbox-group/checkbox-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAG9E,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAA1C;;
|
|
1
|
+
{"version":3,"file":"checkbox-group.js","sourceRoot":"","sources":["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iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAkG7B"}
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
* @element nldd-code-editor
|
|
21
21
|
* @related nldd-code-viewer, nldd-text-editor
|
|
22
22
|
*
|
|
23
|
-
* @attr {string} value - Editor content
|
|
24
|
-
* @attr {string} placeholder - Placeholder text shown while empty
|
|
25
|
-
* @attr {string} input-id - Sets the id on the editable element. Set automatically by nldd-form-field.
|
|
26
|
-
* @attr {boolean} disabled - Disabled state
|
|
27
|
-
* @attr {string} name - Field name for form submission
|
|
28
|
-
* @attr {boolean} readonly - Readonly state (focusable and selectable, not editable)
|
|
29
|
-
* @attr {boolean} required - Required state
|
|
30
|
-
* @attr {boolean} wrap - Wrap long lines instead of horizontal scroll
|
|
31
|
-
* @attr {number} rows - Minimum visible rows (the floor in every resize mode). Default: 6.
|
|
32
23
|
* @attr {'none'|'vertical'|'auto'} resize - 'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)
|
|
33
|
-
* @attr {
|
|
24
|
+
* @attr {number} rows - Minimum visible rows (the floor in every resize mode). Default: 6.
|
|
25
|
+
* @attr {string} placeholder - Placeholder text shown while empty
|
|
34
26
|
* @attr {string} language - Highlight grammar (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python). Empty disables highlighting.
|
|
35
|
-
* @attr {boolean}
|
|
27
|
+
* @attr {boolean} embedded - Drops the frame, fill, padding and focus ring, for an editor inside a composition that provides them
|
|
36
28
|
* @attr {string} accessible-label - Accessible label forwarded to the editor. Set automatically by nldd-form-field.
|
|
29
|
+
* @attr {boolean} line-numbers - Show a line-number gutter
|
|
30
|
+
* @attr {boolean} wrap - Wrap long lines instead of horizontal scroll
|
|
37
31
|
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
32
|
+
* @attr {string} name - Field name for form submission
|
|
33
|
+
* @attr {string} input-id - Sets the id on the editable element. Set automatically by nldd-form-field.
|
|
34
|
+
* @attr {string} value - Editor content
|
|
35
|
+
* @attr {boolean} required - Required state
|
|
36
|
+
* @attr {boolean} readonly - Readonly state (focusable and selectable, not editable)
|
|
37
|
+
* @attr {boolean} disabled - Disabled state
|
|
38
38
|
*
|
|
39
39
|
* @fires input - When the content changes (detail: { value })
|
|
40
40
|
* @fires change - When the content is committed on blur (detail: { value })
|
|
@@ -45,11 +45,11 @@ import { NLDDCodeMirrorInput } from '../../../utilities/codemirror/codemirror-in
|
|
|
45
45
|
export type ResizeMode = 'none' | 'vertical' | 'auto';
|
|
46
46
|
export declare class NLDDCodeEditor extends NLDDCodeMirrorInput {
|
|
47
47
|
static styles: import("lit").CSSResult;
|
|
48
|
-
wrap: boolean;
|
|
49
48
|
resize: ResizeMode;
|
|
50
|
-
embedded: boolean;
|
|
51
49
|
language: string;
|
|
50
|
+
embedded: boolean;
|
|
52
51
|
lineNumbers: boolean;
|
|
52
|
+
wrap: boolean;
|
|
53
53
|
private _container;
|
|
54
54
|
protected readonly rowsProperty = "--_code-editor-rows";
|
|
55
55
|
private _wrapCompartment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAMxF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEtD,qBACa,cAAe,SAAQ,mBAAmB;IAEtD,OAAgB,MAAM,0BAAoB;IAG1C,
|
|
1
|
+
{"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAMxF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEtD,qBACa,cAAe,SAAQ,mBAAmB;IAEtD,OAAgB,MAAM,0BAAoB;IAG1C,MAAM,EAAE,UAAU,CAAU;IAG5B,QAAQ,SAAM;IAGd,QAAQ,UAAS;IAGjB,WAAW,UAAS;IAGpB,IAAI,UAAS;IAGb,OAAO,CAAC,UAAU,CAAe;IAEjC,SAAS,CAAC,QAAQ,CAAC,YAAY,yBAAyB;IAGxD,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,OAAO,CAAC,uBAAuB,CAAqB;IACpD,OAAO,CAAC,oBAAoB,CAAqB;IAEjD,SAAS,CAAC,eAAe,IAAI,WAAW,GAAG,IAAI,GAAG,SAAS;IAI3D,SAAS,CAAC,eAAe,IAAI,SAAS,EAAE;IAaxC,OAAO,CAAC,qBAAqB;cAgBV,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;cAM3C,eAAe,IAAI,IAAI;IAKjC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;YAcjC,cAAc;IAoBnB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -18,11 +18,11 @@ import { codeEditorTemplate } from './code-editor.template.js';
|
|
|
18
18
|
let NLDDCodeEditor = class NLDDCodeEditor extends NLDDCodeMirrorInput {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
|
-
this.wrap = false;
|
|
22
21
|
this.resize = 'auto';
|
|
23
|
-
this.embedded = false;
|
|
24
22
|
this.language = '';
|
|
23
|
+
this.embedded = false;
|
|
25
24
|
this.lineNumbers = false;
|
|
25
|
+
this.wrap = false;
|
|
26
26
|
this.rowsProperty = '--_code-editor-rows';
|
|
27
27
|
// Compartments let us reconfigure single concerns without rebuilding state.
|
|
28
28
|
this._wrapCompartment = new Compartment();
|
|
@@ -110,21 +110,21 @@ let NLDDCodeEditor = class NLDDCodeEditor extends NLDDCodeMirrorInput {
|
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
NLDDCodeEditor.styles = codeEditorStyles;
|
|
113
|
-
__decorate([
|
|
114
|
-
property({ type: Boolean, reflect: true })
|
|
115
|
-
], NLDDCodeEditor.prototype, "wrap", void 0);
|
|
116
113
|
__decorate([
|
|
117
114
|
property({ reflect: true, converter: reflectNonDefault('auto') })
|
|
118
115
|
], NLDDCodeEditor.prototype, "resize", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
property({ type: Boolean, reflect: true })
|
|
121
|
-
], NLDDCodeEditor.prototype, "embedded", void 0);
|
|
122
116
|
__decorate([
|
|
123
117
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
124
118
|
], NLDDCodeEditor.prototype, "language", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
property({ type: Boolean, reflect: true })
|
|
121
|
+
], NLDDCodeEditor.prototype, "embedded", void 0);
|
|
125
122
|
__decorate([
|
|
126
123
|
property({ type: Boolean, reflect: true, attribute: 'line-numbers' })
|
|
127
124
|
], NLDDCodeEditor.prototype, "lineNumbers", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
property({ type: Boolean, reflect: true })
|
|
127
|
+
], NLDDCodeEditor.prototype, "wrap", void 0);
|
|
128
128
|
__decorate([
|
|
129
129
|
query('.code-editor')
|
|
130
130
|
], NLDDCodeEditor.prototype, "_container", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.js","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.ts"],"names":[],"mappings":";;;;;;AA0CA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACnG,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAKxD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,mBAAmB;IAAhD;;QAKN,
|
|
1
|
+
{"version":3,"file":"code-editor.js","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.ts"],"names":[],"mappings":";;;;;;AA0CA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACnG,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAm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C,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;mDAClD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC9B;AAGL;IADP,KAAK,CAAC,cAAc,CAAC;kDACW;AApBrB,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CA8G1B"}
|
|
@@ -18,27 +18,27 @@
|
|
|
18
18
|
* @element nldd-combo-box
|
|
19
19
|
* @keywords autocomplete, typeahead, select, keuzelijst, suggesties
|
|
20
20
|
* @related nldd-dropdown, nldd-token-field, nldd-search-field
|
|
21
|
-
* @attr {
|
|
21
|
+
* @attr {'sm'|'md'} size - Size: 'sm' | 'md' (default: 'md')
|
|
22
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
22
23
|
* @attr {string} text - The text shown in the input. May differ from `value` (e.g. value="nl" → text="Nederland"). Set this when pre-populating an existing record. If left empty and `value` matches a slotted menu item, the matching item's `text` is used automatically.
|
|
23
24
|
* @attr {string} placeholder - Placeholder text for the input
|
|
24
|
-
* @attr {
|
|
25
|
+
* @attr {string} accessible-label - Accessible label forwarded as aria-label to the input. Required for screen reader accessibility.
|
|
26
|
+
* @attr {boolean} no-filter - Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.
|
|
27
|
+
* @attr {number} max-items - Maximum visible items before scrolling (default: 8)
|
|
25
28
|
* @attr {boolean} valid - Marks the field as valid
|
|
26
29
|
* @attr {boolean} invalid - Marks the field as invalid
|
|
27
|
-
* @attr {boolean} disabled - Disabled state
|
|
28
|
-
* @attr {boolean} readonly - Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of.
|
|
29
|
-
* @attr {boolean} allow-custom - Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one.
|
|
30
|
-
* @attr {boolean} no-filter - Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.
|
|
31
30
|
* @attr {string} name - Input name for form submission
|
|
32
|
-
* @attr {string}
|
|
33
|
-
* @attr {string} accessible-label - Accessible label forwarded as aria-label to the input. Required for screen reader accessibility.
|
|
34
|
-
* @attr {number} max-items - Maximum visible items before scrolling (default: 8)
|
|
35
|
-
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
36
|
-
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
37
|
-
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
38
|
-
* @attr {boolean} required - Required state
|
|
39
|
-
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
31
|
+
* @attr {string} value - The selected form value
|
|
40
32
|
* @attr {number} minlength - Fewest characters the value may have.
|
|
41
33
|
* @attr {number} maxlength - Most characters the value may have.
|
|
34
|
+
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
35
|
+
* @attr {boolean} allow-custom - Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one.
|
|
36
|
+
* @attr {boolean} required - Required state
|
|
37
|
+
* @attr {string} autocomplete - Browser autofill hint. Default 'off' to prevent the native autofill panel from competing with the menu dropdown. Set to a valid token (e.g. 'country', 'organization') when browser autofill is desired.
|
|
38
|
+
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
39
|
+
* @attr {boolean} readonly - Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of.
|
|
40
|
+
* @attr {boolean} disabled - Disabled state
|
|
41
|
+
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
42
42
|
*
|
|
43
43
|
* @note Free-text values: only when `allow-custom` is set. Then a typed value that
|
|
44
44
|
* matches no menu option is emitted as-is via the `change` event on Enter or blur
|
|
@@ -90,7 +90,9 @@ export declare class NLDDComboBox extends NLDDComboBox_base {
|
|
|
90
90
|
/** Counts for the implicit-submission rule: a single-line field where Enter
|
|
91
91
|
* would submit the form. See utilities/implicit-submission.ts. */
|
|
92
92
|
static blocksImplicitSubmission: boolean;
|
|
93
|
-
|
|
93
|
+
size: ComboBoxSize;
|
|
94
|
+
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
95
|
+
width: string;
|
|
94
96
|
/**
|
|
95
97
|
* The text shown in the input. May differ from `value` (the form-submission value).
|
|
96
98
|
*
|
|
@@ -101,29 +103,34 @@ export declare class NLDDComboBox extends NLDDComboBox_base {
|
|
|
101
103
|
*/
|
|
102
104
|
text: string;
|
|
103
105
|
placeholder: string;
|
|
104
|
-
|
|
106
|
+
accessibleLabel: string;
|
|
107
|
+
/** Leaves the options as they are while typing: the list was filtered already, by a server. */
|
|
108
|
+
noFilter: boolean;
|
|
109
|
+
/** Maximum number of visible menu items before scrolling. Defaults to 8. */
|
|
110
|
+
maxItems: number;
|
|
105
111
|
valid: boolean;
|
|
106
112
|
invalid: boolean;
|
|
107
|
-
|
|
108
|
-
|
|
113
|
+
name: string;
|
|
114
|
+
value: string;
|
|
115
|
+
/** Fewest characters the value may have, as the native `minlength`. */
|
|
116
|
+
minlength?: number;
|
|
117
|
+
/** Most characters the value may have, as the native `maxlength`. */
|
|
118
|
+
maxlength?: number;
|
|
119
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
120
|
+
pattern: string;
|
|
109
121
|
/** Allow committing free-typed values that don't match any menu option (on
|
|
110
122
|
* Enter or blur). Default false: the input only accepts menu options, and a
|
|
111
123
|
* non-matching typed value is discarded (reverted to the current value). */
|
|
112
124
|
allowCustom: boolean;
|
|
113
|
-
|
|
114
|
-
noFilter: boolean;
|
|
115
|
-
name: string;
|
|
125
|
+
required: boolean;
|
|
116
126
|
/** Browser autofill hint. Use AutoFill tokens (e.g. 'country', 'organization')
|
|
117
127
|
* or 'off' to disable. Default 'off' to prevent the native autofill panel
|
|
118
128
|
* from competing with the menu dropdown. */
|
|
119
129
|
autocomplete: AutoFill | (string & {});
|
|
120
|
-
/** Maximum number of visible menu items before scrolling. Defaults to 8. */
|
|
121
|
-
maxItems: number;
|
|
122
|
-
accessibleLabel: string;
|
|
123
|
-
translations: Partial<NLDDComboBoxTranslations>;
|
|
124
130
|
noSpellcheck: boolean;
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
readonly: boolean;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
translations: Partial<NLDDComboBoxTranslations>;
|
|
127
134
|
_isOpen: boolean;
|
|
128
135
|
/** ID of the currently highlighted menu item for aria-activedescendant. */
|
|
129
136
|
_highlightedId: string;
|
|
@@ -142,13 +149,6 @@ export declare class NLDDComboBox extends NLDDComboBox_base {
|
|
|
142
149
|
* outside, the label derived from it. Only typed text is a custom value. */
|
|
143
150
|
private _typedText;
|
|
144
151
|
_input: HTMLInputElement;
|
|
145
|
-
required: boolean;
|
|
146
|
-
/** Regular expression the value has to match, as the native `pattern`. */
|
|
147
|
-
pattern: string;
|
|
148
|
-
/** Fewest characters the value may have, as the native `minlength`. */
|
|
149
|
-
minlength?: number;
|
|
150
|
-
/** Most characters the value may have, as the native `maxlength`. */
|
|
151
|
-
maxlength?: number;
|
|
152
152
|
_t(key: keyof NLDDComboBoxTranslations): string;
|
|
153
153
|
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
154
154
|
updated(changedProperties: Map<string, unknown>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo-box.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/combo-box/combo-box.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAK7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,OAAO,4BAA4B,CAAC;AACpC,OAAO,0CAA0C,CAAC;AAClD,OAAO,4BAA4B,CAAC;AAOpC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;;AAEvC,qBACa,YAAa,SAAQ,iBAAuC;IAExE,OAAgB,MAAM,0BAAkB;IAExC,MAAM,CAAC,cAAc,WAAqB;IAE1C;wEACoE;IACpE,MAAM,CAAC,WAAW,UAAQ;IAC1B;kFAC8E;IAC9E,MAAM,CAAC,WAAW,UAAQ;IAE1B;uEACmE;IACnE,MAAM,CAAC,wBAAwB,UAAQ;IAKvC,KAAK,SAAM;IAEX;;;;;;;OAOG;IAKH,IAAI,SAAM;IAGV,WAAW,SAAM;IAGjB,
|
|
1
|
+
{"version":3,"file":"combo-box.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/combo-box/combo-box.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAK7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,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AG,IAAI;IAKrC,wBAAwB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI;IAO3D;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB,CAKxB;IAEK,YAAY,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAkB5B,YAAY,IAAI,IAAI;IAU3B;gFAC4E;IACrE,WAAW,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAsBvC;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,gBAAgB;IAcxB;oEACgE;IAChE,OAAO,CAAC,kBAAkB;IAUnB,cAAc,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IA2E7C;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAKnC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
|
|
@@ -25,27 +25,27 @@ var NLDDComboBox_1;
|
|
|
25
25
|
* @element nldd-combo-box
|
|
26
26
|
* @keywords autocomplete, typeahead, select, keuzelijst, suggesties
|
|
27
27
|
* @related nldd-dropdown, nldd-token-field, nldd-search-field
|
|
28
|
-
* @attr {
|
|
28
|
+
* @attr {'sm'|'md'} size - Size: 'sm' | 'md' (default: 'md')
|
|
29
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
29
30
|
* @attr {string} text - The text shown in the input. May differ from `value` (e.g. value="nl" → text="Nederland"). Set this when pre-populating an existing record. If left empty and `value` matches a slotted menu item, the matching item's `text` is used automatically.
|
|
30
31
|
* @attr {string} placeholder - Placeholder text for the input
|
|
31
|
-
* @attr {
|
|
32
|
+
* @attr {string} accessible-label - Accessible label forwarded as aria-label to the input. Required for screen reader accessibility.
|
|
33
|
+
* @attr {boolean} no-filter - Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.
|
|
34
|
+
* @attr {number} max-items - Maximum visible items before scrolling (default: 8)
|
|
32
35
|
* @attr {boolean} valid - Marks the field as valid
|
|
33
36
|
* @attr {boolean} invalid - Marks the field as invalid
|
|
34
|
-
* @attr {boolean} disabled - Disabled state
|
|
35
|
-
* @attr {boolean} readonly - Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of.
|
|
36
|
-
* @attr {boolean} allow-custom - Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one.
|
|
37
|
-
* @attr {boolean} no-filter - Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.
|
|
38
37
|
* @attr {string} name - Input name for form submission
|
|
39
|
-
* @attr {string}
|
|
40
|
-
* @attr {string} accessible-label - Accessible label forwarded as aria-label to the input. Required for screen reader accessibility.
|
|
41
|
-
* @attr {number} max-items - Maximum visible items before scrolling (default: 8)
|
|
42
|
-
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
43
|
-
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
44
|
-
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
45
|
-
* @attr {boolean} required - Required state
|
|
46
|
-
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
38
|
+
* @attr {string} value - The selected form value
|
|
47
39
|
* @attr {number} minlength - Fewest characters the value may have.
|
|
48
40
|
* @attr {number} maxlength - Most characters the value may have.
|
|
41
|
+
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
42
|
+
* @attr {boolean} allow-custom - Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one.
|
|
43
|
+
* @attr {boolean} required - Required state
|
|
44
|
+
* @attr {string} autocomplete - Browser autofill hint. Default 'off' to prevent the native autofill panel from competing with the menu dropdown. Set to a valid token (e.g. 'country', 'organization') when browser autofill is desired.
|
|
45
|
+
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
46
|
+
* @attr {boolean} readonly - Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of.
|
|
47
|
+
* @attr {boolean} disabled - Disabled state
|
|
48
|
+
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
49
49
|
*
|
|
50
50
|
* @note Free-text values: only when `allow-custom` is set. Then a typed value that
|
|
51
51
|
* matches no menu option is emitted as-is via the `change` event on Enter or blur
|
|
@@ -97,7 +97,9 @@ import { deferFocus } from '../../../utilities/defer-focus.js';
|
|
|
97
97
|
let NLDDComboBox = NLDDComboBox_1 = class NLDDComboBox extends DescribedBy(FormAssociated(LitElement)) {
|
|
98
98
|
constructor() {
|
|
99
99
|
super(...arguments);
|
|
100
|
-
this.
|
|
100
|
+
this.size = 'md';
|
|
101
|
+
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
102
|
+
this.width = '';
|
|
101
103
|
/**
|
|
102
104
|
* The text shown in the input. May differ from `value` (the form-submission value).
|
|
103
105
|
*
|
|
@@ -111,29 +113,30 @@ let NLDDComboBox = NLDDComboBox_1 = class NLDDComboBox extends DescribedBy(FormA
|
|
|
111
113
|
// benefit (no styling or consumer reads the mirrored attribute).
|
|
112
114
|
this.text = '';
|
|
113
115
|
this.placeholder = '';
|
|
114
|
-
this.
|
|
116
|
+
this.accessibleLabel = '';
|
|
117
|
+
/** Leaves the options as they are while typing: the list was filtered already, by a server. */
|
|
118
|
+
this.noFilter = false;
|
|
119
|
+
/** Maximum number of visible menu items before scrolling. Defaults to 8. */
|
|
120
|
+
this.maxItems = 8;
|
|
115
121
|
this.valid = false;
|
|
116
122
|
this.invalid = false;
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
123
|
+
this.name = '';
|
|
124
|
+
this.value = '';
|
|
125
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
126
|
+
this.pattern = '';
|
|
119
127
|
/** Allow committing free-typed values that don't match any menu option (on
|
|
120
128
|
* Enter or blur). Default false: the input only accepts menu options, and a
|
|
121
129
|
* non-matching typed value is discarded (reverted to the current value). */
|
|
122
130
|
this.allowCustom = false;
|
|
123
|
-
|
|
124
|
-
this.noFilter = false;
|
|
125
|
-
this.name = '';
|
|
131
|
+
this.required = false;
|
|
126
132
|
/** Browser autofill hint. Use AutoFill tokens (e.g. 'country', 'organization')
|
|
127
133
|
* or 'off' to disable. Default 'off' to prevent the native autofill panel
|
|
128
134
|
* from competing with the menu dropdown. */
|
|
129
135
|
this.autocomplete = 'off';
|
|
130
|
-
/** Maximum number of visible menu items before scrolling. Defaults to 8. */
|
|
131
|
-
this.maxItems = 8;
|
|
132
|
-
this.accessibleLabel = '';
|
|
133
|
-
this.translations = {};
|
|
134
136
|
this.noSpellcheck = false;
|
|
135
|
-
|
|
136
|
-
this.
|
|
137
|
+
this.readonly = false;
|
|
138
|
+
this.disabled = false;
|
|
139
|
+
this.translations = {};
|
|
137
140
|
this._isOpen = false;
|
|
138
141
|
/** ID of the currently highlighted menu item for aria-activedescendant. */
|
|
139
142
|
this._highlightedId = '';
|
|
@@ -150,10 +153,6 @@ let NLDDComboBox = NLDDComboBox_1 = class NLDDComboBox extends DescribedBy(FormA
|
|
|
150
153
|
* field came from somewhere else: a choice from the menu, a value set from
|
|
151
154
|
* outside, the label derived from it. Only typed text is a custom value. */
|
|
152
155
|
this._typedText = null;
|
|
153
|
-
// — i18n ——————————————————————————————————————————————————————————————————
|
|
154
|
-
this.required = false;
|
|
155
|
-
/** Regular expression the value has to match, as the native `pattern`. */
|
|
156
|
-
this.pattern = '';
|
|
157
156
|
this._handleScrollOrResize = () => {
|
|
158
157
|
if (!this._isOpen)
|
|
159
158
|
return;
|
|
@@ -241,6 +240,7 @@ let NLDDComboBox = NLDDComboBox_1 = class NLDDComboBox extends DescribedBy(FormA
|
|
|
241
240
|
this._input?.focus();
|
|
242
241
|
};
|
|
243
242
|
}
|
|
243
|
+
// — i18n ——————————————————————————————————————————————————————————————————
|
|
244
244
|
_t(key) {
|
|
245
245
|
return translate(this.translations, nlddComboBoxTranslations, key);
|
|
246
246
|
}
|
|
@@ -645,8 +645,11 @@ NLDDComboBox.isTextEntry = true;
|
|
|
645
645
|
NLDDComboBox.blocksImplicitSubmission = true;
|
|
646
646
|
NLDDComboBox._idCounter = 0;
|
|
647
647
|
__decorate([
|
|
648
|
-
property({
|
|
649
|
-
], NLDDComboBox.prototype, "
|
|
648
|
+
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
649
|
+
], NLDDComboBox.prototype, "size", void 0);
|
|
650
|
+
__decorate([
|
|
651
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
652
|
+
], NLDDComboBox.prototype, "width", void 0);
|
|
650
653
|
__decorate([
|
|
651
654
|
property({ type: String })
|
|
652
655
|
], NLDDComboBox.prototype, "text", void 0);
|
|
@@ -654,8 +657,14 @@ __decorate([
|
|
|
654
657
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
655
658
|
], NLDDComboBox.prototype, "placeholder", void 0);
|
|
656
659
|
__decorate([
|
|
657
|
-
property({
|
|
658
|
-
], NLDDComboBox.prototype, "
|
|
660
|
+
property({ type: String, attribute: 'accessible-label' })
|
|
661
|
+
], NLDDComboBox.prototype, "accessibleLabel", void 0);
|
|
662
|
+
__decorate([
|
|
663
|
+
property({ type: Boolean, reflect: true, attribute: 'no-filter' })
|
|
664
|
+
], NLDDComboBox.prototype, "noFilter", void 0);
|
|
665
|
+
__decorate([
|
|
666
|
+
property({ type: Number, attribute: 'max-items' })
|
|
667
|
+
], NLDDComboBox.prototype, "maxItems", void 0);
|
|
659
668
|
__decorate([
|
|
660
669
|
property({ type: Boolean, reflect: true })
|
|
661
670
|
], NLDDComboBox.prototype, "valid", void 0);
|
|
@@ -663,38 +672,41 @@ __decorate([
|
|
|
663
672
|
property({ type: Boolean, reflect: true })
|
|
664
673
|
], NLDDComboBox.prototype, "invalid", void 0);
|
|
665
674
|
__decorate([
|
|
666
|
-
property({
|
|
667
|
-
], NLDDComboBox.prototype, "
|
|
675
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
676
|
+
], NLDDComboBox.prototype, "name", void 0);
|
|
668
677
|
__decorate([
|
|
669
|
-
property({ type:
|
|
670
|
-
], NLDDComboBox.prototype, "
|
|
678
|
+
property({ type: String })
|
|
679
|
+
], NLDDComboBox.prototype, "value", void 0);
|
|
671
680
|
__decorate([
|
|
672
|
-
property({ type:
|
|
673
|
-
], NLDDComboBox.prototype, "
|
|
681
|
+
property({ type: Number, reflect: true })
|
|
682
|
+
], NLDDComboBox.prototype, "minlength", void 0);
|
|
674
683
|
__decorate([
|
|
675
|
-
property({ type:
|
|
676
|
-
], NLDDComboBox.prototype, "
|
|
684
|
+
property({ type: Number, reflect: true })
|
|
685
|
+
], NLDDComboBox.prototype, "maxlength", void 0);
|
|
677
686
|
__decorate([
|
|
678
687
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
679
|
-
], NLDDComboBox.prototype, "
|
|
688
|
+
], NLDDComboBox.prototype, "pattern", void 0);
|
|
689
|
+
__decorate([
|
|
690
|
+
property({ type: Boolean, reflect: true, attribute: 'allow-custom' })
|
|
691
|
+
], NLDDComboBox.prototype, "allowCustom", void 0);
|
|
692
|
+
__decorate([
|
|
693
|
+
property({ type: Boolean, reflect: true })
|
|
694
|
+
], NLDDComboBox.prototype, "required", void 0);
|
|
680
695
|
__decorate([
|
|
681
696
|
property({ type: String })
|
|
682
697
|
], NLDDComboBox.prototype, "autocomplete", void 0);
|
|
683
698
|
__decorate([
|
|
684
|
-
property({ type:
|
|
685
|
-
], NLDDComboBox.prototype, "
|
|
699
|
+
property({ type: Boolean, reflect: true, attribute: 'no-spellcheck' })
|
|
700
|
+
], NLDDComboBox.prototype, "noSpellcheck", void 0);
|
|
686
701
|
__decorate([
|
|
687
|
-
property({ type:
|
|
688
|
-
], NLDDComboBox.prototype, "
|
|
702
|
+
property({ type: Boolean, reflect: true })
|
|
703
|
+
], NLDDComboBox.prototype, "readonly", void 0);
|
|
704
|
+
__decorate([
|
|
705
|
+
property({ type: Boolean, reflect: true })
|
|
706
|
+
], NLDDComboBox.prototype, "disabled", void 0);
|
|
689
707
|
__decorate([
|
|
690
708
|
property({ type: Object })
|
|
691
709
|
], NLDDComboBox.prototype, "translations", void 0);
|
|
692
|
-
__decorate([
|
|
693
|
-
property({ type: Boolean, reflect: true, attribute: 'no-spellcheck' })
|
|
694
|
-
], NLDDComboBox.prototype, "noSpellcheck", void 0);
|
|
695
|
-
__decorate([
|
|
696
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
697
|
-
], NLDDComboBox.prototype, "width", void 0);
|
|
698
710
|
__decorate([
|
|
699
711
|
state()
|
|
700
712
|
], NLDDComboBox.prototype, "_isOpen", void 0);
|
|
@@ -704,18 +716,6 @@ __decorate([
|
|
|
704
716
|
__decorate([
|
|
705
717
|
query('.combo-box__input')
|
|
706
718
|
], NLDDComboBox.prototype, "_input", void 0);
|
|
707
|
-
__decorate([
|
|
708
|
-
property({ type: Boolean, reflect: true })
|
|
709
|
-
], NLDDComboBox.prototype, "required", void 0);
|
|
710
|
-
__decorate([
|
|
711
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
712
|
-
], NLDDComboBox.prototype, "pattern", void 0);
|
|
713
|
-
__decorate([
|
|
714
|
-
property({ type: Number, reflect: true })
|
|
715
|
-
], NLDDComboBox.prototype, "minlength", void 0);
|
|
716
|
-
__decorate([
|
|
717
|
-
property({ type: Number, reflect: true })
|
|
718
|
-
], NLDDComboBox.prototype, "maxlength", void 0);
|
|
719
719
|
NLDDComboBox = NLDDComboBox_1 = __decorate([
|
|
720
720
|
customElement('nldd-combo-box')
|
|
721
721
|
], NLDDComboBox);
|