@nldd/design-system 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +5666 -5882
- package/dist/cdn/autoloader.js +140 -141
- package/dist/cdn/chunks/{accordion-DBM4AcGb.js → accordion-BcmquOub.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-D90CmJyl.js → accordion-item-XIX9-01D.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-B6m9h0oa.js → activity-indicator-DXZ_IqAa.js} +14 -14
- package/dist/cdn/chunks/{admonition-B-YTkCjn.js → admonition-DIcSNzcO.js} +4 -4
- package/dist/cdn/chunks/{avatar-CfBP9UZZ.js → avatar-DG0uG2Eu.js} +23 -23
- package/dist/cdn/chunks/{avatar-group-DW_xMwb_.js → avatar-group-DYOrOs6f.js} +16 -15
- package/dist/cdn/chunks/{badge-DnAuIhp1.js → badge-DfxWgcGT.js} +9 -9
- package/dist/cdn/chunks/{banner-CRk2ARtC.js → banner-Bg2LBBIY.js} +11 -11
- package/dist/cdn/chunks/{bar-split-view-DDgOYs7Z.js → bar-split-view-C0WvMmEi.js} +11 -6
- package/dist/cdn/chunks/{blockquote-DlfhBScg.js → blockquote-Ck5AQfWo.js} +7 -7
- package/dist/cdn/chunks/{box-DdU13yI4.js → box-BAZsRjBx.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-CqkR_6XN.js → breadcrumbs-8X_HdTjk.js} +12 -12
- package/dist/cdn/chunks/{button-bar-BKkap9nk.js → button-bar-DyO3sMIB.js} +8 -8
- package/dist/cdn/chunks/{button-group-D-YTmErV.js → button-group-BfH8ZDe-.js} +8 -8
- package/dist/cdn/chunks/{button-muXGJHlo.js → button-rQihZDPs.js} +75 -79
- package/dist/cdn/chunks/{card-Dvqz83fC.js → card-Gwu3NVqY.js} +21 -11
- package/dist/cdn/chunks/{cell-C0O8tZbX.js → cell-Dbf536SX.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CNWROiHV.js → checkbox-BI4FMRr3.js} +21 -21
- package/dist/cdn/chunks/{checkbox-field-DCYpRJfz.js → checkbox-field-CC00Cz23.js} +15 -15
- package/dist/cdn/chunks/{checkbox-group-DxWAYp_b.js → checkbox-group-B32_gJY6.js} +12 -12
- package/dist/cdn/chunks/{class-map-D720ceWJ.js → class-map-DfeulNZ_.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DlnTXkHx.js → code-editor-BZ-dPqXq.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-DyJzo36-.js → code-viewer-Bz7wk-Zj.js} +17 -17
- package/dist/cdn/chunks/{codemirror-input-DPSOMYZ4.js → codemirror-input-CBuhqk5Y.js} +5 -5
- package/dist/cdn/chunks/{collection-i7H8zkQ8.js → collection-CB6_y2t8.js} +13 -13
- package/dist/cdn/chunks/{combo-box-CpNl_us0.js → combo-box-BqY6lvfT.js} +42 -42
- package/dist/cdn/chunks/{container-YWW7mHNa.js → container-D4G6IZic.js} +9 -9
- package/dist/cdn/chunks/{custom-element-D8yf5dqU.js → custom-element-zgCtSWGH.js} +1 -1
- package/dist/cdn/chunks/{custom-font-size-D7KNr84p.js → custom-font-size-D-U1Z_wx.js} +1 -1
- package/dist/cdn/chunks/{date-field-DzhUp4Rk.js → date-field-BBoAp1Qn.js} +35 -35
- package/dist/cdn/chunks/{date-picker-CGvsvK3g.js → date-picker-DJIaeQzM.js} +23 -23
- package/dist/cdn/chunks/{decorate-1aEyfetK.js → decorate-CXvSUV9i.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DffYoaxu.js → described-by-mixin-Bl8QgshZ.js} +3 -3
- package/dist/cdn/chunks/{description-cell-DEw6xc2o.js → description-cell-CCq3LiDa.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-CTopJcdE.js → dev-checks-DG6-EY8p.js} +238 -225
- package/dist/cdn/chunks/{directive-helpers-BQml5ahH.js → directive-helpers-DuLEIDjM.js} +1 -1
- package/dist/cdn/chunks/{dist-DevfJ4Mu.js → dist-B0EhnbLL.js} +2 -2
- package/dist/cdn/chunks/{dist-DAf6EMuK.js → dist-B7T6GKkq.js} +2 -2
- package/dist/cdn/chunks/{dist-BYbLHkMP.js → dist-BFj2d0kQ.js} +1 -1
- package/dist/cdn/chunks/{dist-B5t9fS8q.js → dist-BPqRc_Nn.js} +2 -2
- package/dist/cdn/chunks/{dist-B87Ag4L-.js → dist-BT1-y5Tb.js} +1 -1
- package/dist/cdn/chunks/{dist-BKnqQxdv.js → dist-C8OAxmvo.js} +1 -1
- package/dist/cdn/chunks/{dist-C8ZY_QIK.js → dist-CMreNjZ0.js} +1 -1
- package/dist/cdn/chunks/{dist-qHSPGfTO.js → dist-CyDG2Stm.js} +1 -1
- package/dist/cdn/chunks/{dist-D59Ae7dj.js → dist-DuZZX8oT.js} +1 -1
- package/dist/cdn/chunks/{dist-CIX4JLW1.js → dist-Mx6eY_XI.js} +3 -3
- package/dist/cdn/chunks/{dist-Cr8NctvS.js → dist-QIVpZOok.js} +3 -3
- package/dist/cdn/chunks/{divider-44rkHLYj.js → divider-CtNxoBXu.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CcSKzhEy.js → document-tab-bar-C0RWhx9m.js} +23 -23
- package/dist/cdn/chunks/{dropdown-CJPjI-p1.js → dropdown-Bc0en6CR.js} +19 -19
- package/dist/cdn/chunks/{element-state-B-44fVqq.js → element-state-D-J_cHEV.js} +9 -3
- package/dist/cdn/chunks/{field-button-controller-yvICuXoE.js → field-button-controller-DKej3aXU.js} +1 -1
- package/dist/cdn/chunks/{file-field-B4HQKpkI.js → file-field-ab-WShTI.js} +29 -29
- package/dist/cdn/chunks/{form-obggZEpt.js → form-DUkQXtMT.js} +9 -6
- package/dist/cdn/chunks/{form-actions-HaBfh6vm.js → form-actions-DAA4feSG.js} +21 -17
- package/dist/cdn/chunks/{form-associated-mixin-BByNH679.js → form-associated-mixin-D9E51k93.js} +3 -3
- package/dist/cdn/chunks/{form-field-CwYXsuvv.js → form-field-DlLMimbj.js} +72 -63
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
- package/dist/cdn/chunks/{form-section-B2UZx_-z.js → form-section-BvBuApsD.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-BSnWghWY.js → full-bleed-section-CTaKn0tf.js} +3 -3
- package/dist/cdn/chunks/{hero-CzbuEAUM.js → hero-Dd5p9i9u.js} +23 -23
- package/dist/cdn/chunks/{icon-CkCT7sPE.js → icon-D4fRZxV2.js} +9 -9
- package/dist/cdn/chunks/{icon-button-BBGwCfYp.js → icon-button-DOaYzHj0.js} +64 -68
- package/dist/cdn/chunks/{icon-cell-DcHnXV-8.js → icon-cell-CywVVCYz.js} +9 -9
- package/dist/cdn/chunks/{identity-C0fujsxK.js → identity-DKFLeTaG.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CL4nn-Q-.js → if-defined-DmACWFoP.js} +1 -1
- package/dist/cdn/chunks/{image-BgtqLXfM.js → image-DSXL5nMx.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-BYRIWhkm.js → inline-dialog-_TYBWEal.js} +14 -14
- package/dist/cdn/chunks/{interest-invoker-CfOJaqZQ.js → interest-invoker-CxvYA5Qy.js} +1 -1
- package/dist/cdn/chunks/{just-in-time-education-DwH3ubhZ.js → just-in-time-education-CXJOozIu.js} +17 -17
- package/dist/cdn/chunks/{kanban-BIZUoBj-.js → kanban-DNLzjjc_.js} +10 -10
- package/dist/cdn/chunks/{kanban-column-CtjCIgaR.js → kanban-column-eo2SYTGR.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BHylGMNu.js → keyboard-shortcut-DZ-mqzxk.js} +13 -13
- package/dist/cdn/chunks/{languages-DghCYmiz.js → languages-DOvFU6aa.js} +12 -12
- package/dist/cdn/chunks/{link-S53veJpD.js → link-C2Tm_F2F.js} +16 -16
- package/dist/cdn/chunks/{link-group-B2_vdANe.js → link-group-BKeEUdjA.js} +6 -6
- package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
- package/dist/cdn/chunks/{list-C8hY4uGW.js → list-DXBgXtok.js} +18 -18
- package/dist/cdn/chunks/{list-item-CK1Rli4F.js → list-item-CBIk8V1o.js} +85 -88
- package/dist/cdn/chunks/{list-item-segment-KyrcOFDA.js → list-item-segment-BJAJO78S.js} +16 -16
- package/dist/cdn/chunks/{menu-m67vk1Z4.js → menu-NHTlulPo.js} +38 -29
- package/dist/cdn/chunks/{menu-bar-BRoqy5zp.js → menu-bar-BplgndmQ.js} +34 -34
- package/dist/cdn/chunks/{menu-bar-item-DKW198ZW.js → menu-bar-item-1ymZKx5B.js} +44 -43
- package/dist/cdn/chunks/{menu-divider-DDPBPK-o.js → menu-divider-A_WVVPRj.js} +3 -3
- package/dist/cdn/chunks/{menu-group-uZXsE-uu.js → menu-group-BxdR9cIB.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BOvb4QLd.js → menu-item-CfSzAmYP.js} +21 -21
- package/dist/cdn/chunks/{menu.template-v6VnRUNJ.js → menu.template-BQg9CFZU.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-BNq0r-1L.js → modal-dialog-CRoItKeC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Bfq47I3P.js → multi-line-text-field-Dyyhaixb.js} +36 -36
- package/dist/cdn/chunks/{navigation-split-view-BiPoxCLL.js → navigation-split-view-C40LLsnq.js} +65 -57
- package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
- package/dist/cdn/chunks/{notification-DjZXBv4J.js → notification-DCJBxwgA.js} +10 -10
- package/dist/cdn/chunks/{number-field-tqoQLrgZ.js → number-field-DsZcWhVJ.js} +23 -23
- package/dist/cdn/chunks/{one-half-one-half-section-CyIm21PD.js → one-half-one-half-section-C7iwuCox.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-CpnK0vzB.js → one-third-two-thirds-section-viwFsAKX.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-6sMEfzoY.js → one-time-code-field-BK1dcrkM.js} +25 -25
- package/dist/cdn/chunks/{overflow-menu-IfYEX8tm.js → overflow-menu-b9-YGrjH.js} +1 -1
- package/dist/cdn/chunks/{owner-form-Cq8tT7ac.js → owner-form-Bl_p0Ca4.js} +1 -1
- package/dist/cdn/chunks/{page-w4XAfBWD.js → page-DtZ9Ef4H.js} +54 -53
- package/dist/cdn/chunks/{page-footer-ET6j1N2Z.js → page-footer-DnBD0aG2.js} +10 -10
- package/dist/cdn/chunks/{page-section-mixin-D9JL2q9A.js → page-section-mixin-BhtKGjf2.js} +3 -3
- package/dist/cdn/chunks/{pagination-D7QFUu8x.js → pagination-Bw6rA75o.js} +16 -16
- package/dist/cdn/chunks/{password-field-Ck5wx6pg.js → password-field-DvEggyk3.js} +33 -33
- package/dist/cdn/chunks/{popover-DOmi5m85.js → popover-BS_tKHY-.js} +18 -18
- package/dist/cdn/chunks/{progress-bar-BDNcB06i.js → progress-bar-DjbR_gfZ.js} +30 -30
- package/dist/cdn/chunks/{progress-circle-BAMztpb3.js → progress-circle-Cz9PLyQK.js} +27 -27
- package/dist/cdn/chunks/{radio-button-DAps6n0Q.js → radio-button-D8mtS3no.js} +50 -53
- package/dist/cdn/chunks/{radio-button-field-BbPk0nM_.js → radio-button-field-BW0hpqWv.js} +14 -14
- package/dist/cdn/chunks/{radio-button-group-lxzwku00.js → radio-button-group-9q5EIa2C.js} +12 -12
- package/dist/cdn/chunks/{render-marked-ClMFyNu0.js → render-marked-Ux8zPP_h.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Cap2u2zx.js → reorder-handle-cell-Du9jl_rB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-CnRKPVqU.js → reorder-handle-mixin-Bk1J-pVX.js} +2 -2
- package/dist/cdn/chunks/{repeat-CIyCvHHQ.js → repeat-DxDrgDAx.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CblFmHY-.js → rich-text--3YgH9Ad.js} +7 -7
- package/dist/cdn/chunks/{row-header-mixin-C8z9StDU.js → row-header-mixin-DcfVBdj0.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-C_L9CJrR.js → scroll-fade-BqyBYmMY.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
- package/dist/cdn/chunks/{search-field-JeUPcBjZ.js → search-field-DvqETt9_.js} +21 -21
- package/dist/cdn/chunks/{segmented-control-DtycvVyp.js → segmented-control-Bc0JEwuo.js} +86 -91
- package/dist/cdn/chunks/{shadow-resets-DgR56wQK.js → shadow-resets-BerORb5_.js} +2 -2
- package/dist/cdn/chunks/{sheet-XtRs26hN.js → sheet-O_29ylNf.js} +4 -4
- package/dist/cdn/chunks/{shell-CCaEEGna.js → shell-wlMaUZMA.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-mhXD4Lde.js → side-by-side-split-view-CLd3Nale.js} +7 -5
- package/dist/cdn/chunks/{sidebar-section-Cwd4LSE6.js → sidebar-section-CM5FBrQy.js} +16 -16
- package/dist/cdn/chunks/{simple-section-BuiaCGks.js → simple-section-CnYSz59b.js} +3 -3
- package/dist/cdn/chunks/{skip-link-nTlmioFt.js → skip-link-BSWXUiUo.js} +5 -5
- package/dist/cdn/chunks/{slider-C0rNQEIY.js → slider-Cz9TWQ1q.js} +30 -24
- package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
- package/dist/cdn/chunks/{spacer-CeSO9CP1.js → spacer-Di1FKF1H.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-NhlxEdhA.js → spacer-cell-DxLzLJCd.js} +4 -4
- package/dist/cdn/chunks/{split-button-BR-ccA6_.js → split-button-D8g_ndEY.js} +26 -26
- package/dist/cdn/chunks/{split-view-divider-HcIV0yli.js → split-view-divider-BRYFJldk.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-j77p3uE2.js → stacked-split-view-BKKmNsjn.js} +7 -5
- package/dist/cdn/chunks/{static-html-CGoLwgpW.js → static-html-BuLHPpfA.js} +1 -1
- package/dist/cdn/chunks/{status-bar-ByJ21hV2.js → status-bar-CHZ0l8TZ.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRxF0S42.js → step-bar-C1MPbS7g.js} +15 -16
- package/dist/cdn/chunks/{step-bar.i18n-DocExlD7.js → step-bar.i18n-DipTJYgp.js} +2 -1
- package/dist/cdn/chunks/{step-cell-C-gOxNA6.js → step-cell-27LEuImu.js} +14 -14
- package/dist/cdn/chunks/{stepper-Dmljb7Qc.js → stepper-CFnmm4Jc.js} +19 -19
- package/dist/cdn/chunks/{style-map-CK811FGv.js → style-map-CT-UKis2.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-DtAgTXLo.js → swatch-picker-qcDRmYxS.js} +49 -44
- package/dist/cdn/chunks/{switch-Bqion92b.js → switch-DF_LNJMR.js} +20 -20
- package/dist/cdn/chunks/{switch-field-CWobTcEn.js → switch-field-BKIKn9wq.js} +13 -13
- package/dist/cdn/chunks/{tab-bar-DPtRjP8Z.js → tab-bar-VVZNYCSU.js} +27 -27
- package/dist/cdn/chunks/{table-C4CFiDgr.js → table-DfKFKaDW.js} +11 -11
- package/dist/cdn/chunks/{tag-Bo23A60g.js → tag-CJQEzBXC.js} +5 -5
- package/dist/cdn/chunks/{term-DPMEWR-t.js → term-D3QB0GN-.js} +16 -16
- package/dist/cdn/chunks/{text-CuiMvMZQ.js → text-GAY_Be6G.js} +11 -11
- package/dist/cdn/chunks/{text-cell-E3yc99xw.js → text-cell-D9qxQeCY.js} +13 -13
- package/dist/cdn/chunks/{text-editor-BVmHiq_b.js → text-editor-C1-K1z1w.js} +975 -970
- package/dist/cdn/chunks/{text-field-DOv1aI_F.js → text-field-Bq_41L1a.js} +34 -34
- package/dist/cdn/chunks/{time-field-BhlLk6tt.js → time-field-Bqny9JeT.js} +35 -35
- package/dist/cdn/chunks/{time-picker-A4-HeVas.js → time-picker-DMaxOCDt.js} +12 -12
- package/dist/cdn/chunks/{title-EMt-SYKV.js → title-Dxhkfehz.js} +6 -6
- package/dist/cdn/chunks/{title-cell--EE-L_8a.js → title-cell-BDvpoBrO.js} +11 -11
- package/dist/cdn/chunks/{toggle-button-BLwpxmQs.js → toggle-button-CcIX98G1.js} +35 -35
- package/dist/cdn/chunks/{toggle-button-group-scdxolJt.js → toggle-button-group-Dyqjqg2D.js} +13 -13
- package/dist/cdn/chunks/{token-DVgXuCRO.js → token-BBS6BXwU.js} +11 -11
- package/dist/cdn/chunks/{token-field-CICQXLlO.js → token-field-CO6N6wZW.js} +26 -26
- package/dist/cdn/chunks/{toolbar-Des2gaH2.js → toolbar--slFc4EX.js} +32 -23
- package/dist/cdn/chunks/toolbar-item-j9QbC5s5.js +77 -0
- package/dist/cdn/chunks/{toolbar-title-PoOf794l.js → toolbar-title-D_BBNlB2.js} +36 -22
- package/dist/cdn/chunks/{toolbar.styles-DzreUGTp.js → toolbar.styles-CKxRmIg-.js} +19 -17
- package/dist/cdn/chunks/{tooltip-CMCT2iiD.js → tooltip-bqAbXl2W.js} +33 -25
- package/dist/cdn/chunks/{top-navigation-bar-BfMGgTIy.js → top-navigation-bar-D26UoOIz.js} +28 -28
- package/dist/cdn/chunks/{top-title-bar-CvvldlNt.js → top-title-bar-DtXWxtJF.js} +12 -12
- package/dist/cdn/chunks/{translations-C5JpcNNC.js → translations-DsTLnxKh.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BTkeIiHm.js → two-thirds-one-third-section-D1R62yzp.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BasB3ZaT.js → validation-list-DlJ18Ojt.js} +35 -42
- package/dist/cdn/chunks/{visibility-mixin-BxhcJG-x.js → visibility-mixin-Bkc9mSOZ.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-ByHY8pKl.js → visually-hidden-CNq15vm2.js} +2 -2
- package/dist/cdn/chunks/{window-B5blEfMR.js → window-B3gyQQvV.js} +11 -11
- package/dist/cdn/chunks/{with-translations-QDhHJYMT.js → with-translations-BJzVHQmV.js} +3 -3
- package/dist/components/actions/button/button.d.ts +45 -44
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +90 -87
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -6
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +2 -2
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +5 -5
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +50 -49
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +91 -88
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +2 -2
- package/dist/components/actions/menu/menu-item.d.ts +16 -16
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +33 -33
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +32 -23
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +65 -41
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +22 -22
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +40 -40
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +23 -11
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +33 -22
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +10 -3
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +18 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +2 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +23 -21
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +16 -14
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +18 -18
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +32 -32
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +5 -5
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +3 -3
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +11 -11
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +4 -4
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +10 -10
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/image/image.d.ts +27 -30
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +44 -47
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +15 -15
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +24 -24
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +5 -5
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +2 -2
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +5 -5
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/text/text.d.ts +3 -3
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +8 -8
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/token/token.d.ts +4 -4
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +10 -10
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +6 -9
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -16
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +1 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +3 -17
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +12 -24
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +10 -10
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +18 -10
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +4 -4
- package/dist/components/forms/form-field/form-field.d.ts +20 -8
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +5 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -0
- package/dist/components/forms/form-field/form-field.i18n.js +4 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -0
- package/dist/components/forms/form-field/form-field.js +46 -18
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +12 -12
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +23 -12
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +45 -30
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +16 -16
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +29 -29
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -20
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +28 -28
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +9 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +18 -18
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +13 -13
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +8 -8
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +34 -34
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +66 -66
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +24 -24
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +50 -50
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +21 -21
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +38 -39
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +9 -9
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +20 -20
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +13 -13
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +24 -24
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +28 -28
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +51 -51
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +19 -19
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +39 -39
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +12 -12
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +27 -27
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +26 -26
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +51 -51
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +20 -20
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +37 -34
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +14 -14
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +25 -25
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +9 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +18 -18
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +8 -8
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +19 -19
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +56 -60
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +110 -102
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +11 -11
- package/dist/components/inputs/slider/slider.d.ts +6 -6
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +33 -21
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +12 -12
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +24 -24
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +10 -9
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +27 -20
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +2 -2
- package/dist/components/inputs/switch/switch.d.ts +15 -15
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +27 -27
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +13 -13
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +22 -22
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +11 -11
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +4 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +39 -39
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +6 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +24 -7
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +28 -28
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +50 -50
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +24 -24
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +51 -51
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +21 -20
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +38 -34
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +28 -28
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +51 -51
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +23 -23
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +34 -34
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +20 -20
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +46 -47
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/card/card.d.ts +9 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +14 -14
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +11 -1
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +2 -2
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +5 -5
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +2 -2
- package/dist/components/layout/container/container.d.ts +5 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +14 -8
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +2 -2
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +5 -5
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +11 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +34 -16
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +3 -2
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +16 -16
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +28 -28
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -7
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +16 -16
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +9 -9
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +22 -22
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +1 -1
- package/dist/components/layout/sheet/sheet.js +1 -1
- package/dist/components/layout/shell/shell.d.ts +2 -0
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -0
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +13 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +27 -46
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +6 -0
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +3 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -5
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +10 -10
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +5 -5
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +11 -11
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +17 -17
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +7 -4
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +6 -6
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +13 -18
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -29
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +35 -30
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +25 -25
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +44 -44
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +7 -3
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +10 -6
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -4
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +7 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +15 -15
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -13
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +29 -29
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +2 -2
- package/dist/components/navigation/link-group/link-group.d.ts.map +1 -1
- package/dist/components/navigation/link-group/link-group.js +5 -5
- package/dist/components/navigation/link-group/link-group.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +5 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +12 -10
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +21 -18
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +43 -35
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +3 -3
- package/dist/components/navigation/pagination/pagination.d.ts +5 -5
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +11 -11
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +16 -16
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +33 -30
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +4 -4
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +12 -12
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -2
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +5 -5
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +9 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +15 -15
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +5 -5
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +2 -2
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +5 -5
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +13 -13
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +8 -8
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +17 -17
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +2 -2
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +5 -5
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +12 -12
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +28 -28
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +10 -10
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +24 -24
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +5 -5
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -6
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +15 -12
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +3 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
- package/dist/nldd.min.js +864 -927
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +2 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +2 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +2 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +2 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +2 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +748 -802
- package/dist/types/vue.d.ts +893 -971
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +0 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +6 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +42 -16
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.js +177 -177
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/element-state.d.ts +11 -0
- package/dist/utilities/element-state.d.ts.map +1 -1
- package/dist/utilities/element-state.js +18 -3
- package/dist/utilities/element-state.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +8 -0
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +13 -1
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/lint/css.js +58 -26
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +29 -12
- package/lint/fix.js +146 -12
- package/lint/format.js +4 -3
- package/lint/frontends.js +153 -35
- package/lint/linter.js +178 -25
- package/lint/main.js +7 -2
- package/lint/project.js +50 -12
- package/lint/rule-compiler.js +20 -11
- package/lint/rule-data.js +8 -0
- package/lint/rule.schema.json +12 -2
- package/lint/session.js +42 -18
- package/lint/tree.js +5 -2
- package/package.json +3 -6
- package/dist/cdn/chunks/nl.generated-BDowZkhc.js +0 -116
- package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +0 -52
- package/dist/cdn/chunks/split-view-pane-BgFUL3BV.js +0 -131
- package/dist/cdn/chunks/toolbar-item-CkwQ2UyY.js +0 -50
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +0 -49
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +0 -80
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts +0 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +0 -95
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts +0 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js +0 -9
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js.map +0 -1
package/lint/session.js
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* corpus measures the linter consumers run.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { readFileSync, statSync, writeFileSync } from 'node:fs';
|
|
9
|
+
import { lstatSync, readFileSync, statSync, writeFileSync } from 'node:fs';
|
|
10
10
|
import { extname, relative, resolve, sep } from 'node:path';
|
|
11
11
|
import { applyFixes, linesNaming, renameReferences } from './fix.js';
|
|
12
12
|
import { BUILT_IN_RULES, GROUPS, OPT_IN_GROUPS } from './rule-data.js';
|
|
13
|
-
import { DEFAULT_EXTENSIONS, findFiles, IGNORED_DIRECTORIES, isBundle, isRelevant, projectTokens, REFERENCE_EXTENSIONS, STYLESHEET_EXTENSIONS, UNREAD_EXTENSIONS } from './project.js';
|
|
13
|
+
import { DEFAULT_EXTENSIONS, findFiles, IGNORED_DIRECTORIES, partialExcludes, isBundle, isRelevant, projectTokens, REFERENCE_EXTENSIONS, SCRIPT_EXTENSIONS, STYLESHEET_EXTENSIONS, UNREAD_EXTENSIONS } from './project.js';
|
|
14
14
|
|
|
15
15
|
/** Every name `--select`, `--ignore` and .nldd-lint.json may use: rule ids, aliases and groups. */
|
|
16
16
|
export function knownKeys(data) {
|
|
@@ -28,22 +28,29 @@ export function isUtf8(filename) {
|
|
|
28
28
|
return bytes.equals(Buffer.from(bytes.toString('utf8')));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/** Writing through a link would change a file somewhere else, maybe outside the project. */
|
|
32
|
+
const isSymlink = (filename) => lstatSync(filename, { throwIfNoEntry: false })?.isSymbolicLink() ?? false;
|
|
33
|
+
|
|
31
34
|
const MAX_FIX_PASSES = 10;
|
|
32
35
|
|
|
33
|
-
/**
|
|
34
|
-
|
|
36
|
+
/**
|
|
37
|
+
* One fix can open the way for the next: a renamed tag has rules of its own.
|
|
38
|
+
* `unstable` says the passes ran out with fixes still to apply.
|
|
39
|
+
*/
|
|
40
|
+
export async function fixUntilStable(linter, original, filename, options) {
|
|
35
41
|
let source = original;
|
|
36
42
|
let fixed = 0;
|
|
37
43
|
const renamedTags = new Map();
|
|
38
44
|
for (let pass = 0; pass < MAX_FIX_PASSES; pass++) {
|
|
39
|
-
const { findings } = await linter.lintSource(source, filename);
|
|
45
|
+
const { findings } = await linter.lintSource(source, filename, options);
|
|
40
46
|
const change = applyFixes(source, findings);
|
|
41
|
-
if (change.fixed === 0) return { source, fixed, renamedTags, findings };
|
|
47
|
+
if (change.fixed === 0) return { source, fixed, renamedTags, findings, unstable: false };
|
|
42
48
|
source = change.source;
|
|
43
49
|
fixed += change.fixed;
|
|
44
50
|
for (const [from, to] of change.renamedTags) renamedTags.set(from, to);
|
|
45
51
|
}
|
|
46
|
-
|
|
52
|
+
const { findings } = await linter.lintSource(source, filename, options);
|
|
53
|
+
return { source, fixed, renamedTags, findings, unstable: applyFixes(source, findings).fixed > 0 };
|
|
47
54
|
}
|
|
48
55
|
|
|
49
56
|
const isUnread = (filename) => UNREAD_EXTENSIONS.includes(extname(filename));
|
|
@@ -68,10 +75,12 @@ function fixReferences(renamedTags, paths, root, exclude) {
|
|
|
68
75
|
const remaining = [];
|
|
69
76
|
const kindOf = (file) => (/\.(css|scss|less)$/.test(file) ? 'styles' : /\.[cm]?[jt]s$/.test(file) || !inMarkup.includes(file) ? 'script' : 'markup');
|
|
70
77
|
for (const list of [inMarkup, elsewhere]) {
|
|
71
|
-
for (const filename of list
|
|
78
|
+
for (const filename of list) {
|
|
72
79
|
const source = readFileSync(filename, 'utf8');
|
|
80
|
+
// The lint pass skips a bundle, so a rename leaves it alone too.
|
|
81
|
+
if (isBundle(filename, source)) continue;
|
|
73
82
|
const change = isBuilt(filename, root) ? { source, fixed: 0 } : renameReferences(source, renamedTags, kindOf(filename));
|
|
74
|
-
if (change.fixed > 0 && isUtf8(filename)) {
|
|
83
|
+
if (change.fixed > 0 && !isSymlink(filename) && isUtf8(filename)) {
|
|
75
84
|
writeFileSync(filename, change.source);
|
|
76
85
|
fixed += change.fixed;
|
|
77
86
|
files += 1;
|
|
@@ -93,7 +102,7 @@ function fixReferences(renamedTags, paths, root, exclude) {
|
|
|
93
102
|
* @param {boolean} [options.fix] - write the fixes that are certain
|
|
94
103
|
* @param {(filename: string) => boolean} [options.keep] - read this file even without a component
|
|
95
104
|
* @returns {Promise<{ results: object[], files: number, unread: number, fixed: number, fixedFiles: number,
|
|
96
|
-
* notUtf8: string[], references?: { fixed: number, files: number, remaining: string[] } }>}
|
|
105
|
+
* notUtf8: string[], symlinks: string[], unstable: string[], partialExcludes: { entry: string, file: string }[], references?: { fixed: number, files: number, remaining: string[] } }>}
|
|
97
106
|
*/
|
|
98
107
|
export async function lintProject(data, { root, paths = [], config = {}, severities, input, fix = false, keep = () => false }) {
|
|
99
108
|
const everything = readsEverything(data, severities);
|
|
@@ -101,7 +110,7 @@ export async function lintProject(data, { root, paths = [], config = {}, severit
|
|
|
101
110
|
const named = new Set(paths.map((path) => resolve(root, path)).filter((path) => statSync(path, { throwIfNoEntry: false })?.isFile()));
|
|
102
111
|
const inputs = input
|
|
103
112
|
? [{ filename: resolve(root, input.filename), source: input.source }]
|
|
104
|
-
: findFiles(paths, root, config.exclude, [...DEFAULT_EXTENSIONS, ...STYLESHEET_EXTENSIONS, ...UNREAD_EXTENSIONS])
|
|
113
|
+
: findFiles(paths, root, config.exclude, [...DEFAULT_EXTENSIONS, ...STYLESHEET_EXTENSIONS, ...UNREAD_EXTENSIONS, ...SCRIPT_EXTENSIONS])
|
|
105
114
|
.filter((filename) => named.has(resolve(filename)) || !isBuiltScript(filename, root))
|
|
106
115
|
.map((filename) => ({ filename, source: readFileSync(filename, 'utf8') }))
|
|
107
116
|
// A template the linter cannot read matters only with our markup; the rest is let go.
|
|
@@ -111,13 +120,23 @@ export async function lintProject(data, { root, paths = [], config = {}, severit
|
|
|
111
120
|
// Most files in an app use no component at all, and those need no parser either.
|
|
112
121
|
// A stylesheet is still read for the tokens it declares.
|
|
113
122
|
const isStylesheet = (filename) => STYLESHEET_EXTENSIONS.includes(extname(filename));
|
|
114
|
-
|
|
123
|
+
// A script found by the scan is read only for a listener on a renamed event; one named on the command line is read in full.
|
|
124
|
+
const removedEvents = Object.keys(data.removedEvents ?? {});
|
|
125
|
+
const events = removedEvents.length > 0 ? new RegExp(removedEvents.map((name) => name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|')) : undefined;
|
|
126
|
+
const eventsOnly = (filename) => SCRIPT_EXTENSIONS.includes(extname(filename)) && !named.has(resolve(filename));
|
|
127
|
+
const relevant = (everything ? inputs : inputs.filter((one) => isRelevant(one, { wrappers: config.wrappers, keep, events })))
|
|
128
|
+
.filter((one) => !eventsOnly(one.filename) || events?.test(one.source));
|
|
115
129
|
// A file without a parser was opened and not checked, so it does not count as one.
|
|
116
130
|
const checked = inputs.filter(({ filename }) => !isUnread(filename));
|
|
117
|
-
const
|
|
131
|
+
const countsWhenRelevant = (filename) => isStylesheet(filename) || eventsOnly(filename);
|
|
132
|
+
const files = everything
|
|
133
|
+
? checked.filter(({ filename }) => !eventsOnly(filename)).length + relevant.filter(({ filename }) => eventsOnly(filename)).length
|
|
134
|
+
: checked.filter(({ filename }) => !countsWhenRelevant(filename)).length + relevant.filter(({ filename }) => countsWhenRelevant(filename)).length;
|
|
118
135
|
|
|
119
136
|
const results = [];
|
|
120
137
|
const notUtf8 = [];
|
|
138
|
+
const symlinks = [];
|
|
139
|
+
const unstable = [];
|
|
121
140
|
const renamedTags = new Map();
|
|
122
141
|
let fixed = 0;
|
|
123
142
|
let fixedFiles = 0;
|
|
@@ -125,13 +144,17 @@ export async function lintProject(data, { root, paths = [], config = {}, severit
|
|
|
125
144
|
const { createLinter } = await import('./linter.js');
|
|
126
145
|
const linter = createLinter(data, { wrappers: config.wrappers, severities, projectTokens: projectTokens(inputs) });
|
|
127
146
|
for (const { filename, source } of relevant) {
|
|
128
|
-
const
|
|
129
|
-
|
|
147
|
+
const options = eventsOnly(filename) ? { only: 'events' } : undefined;
|
|
148
|
+
const linked = fix && isSymlink(filename);
|
|
149
|
+
const canWrite = fix && !linked && isUtf8(filename);
|
|
150
|
+
if (linked) symlinks.push(filename);
|
|
151
|
+
else if (fix && !canWrite) notUtf8.push(filename);
|
|
130
152
|
if (!canWrite) {
|
|
131
|
-
results.push({ filename, source, ...(await linter.lintSource(source, filename)) });
|
|
153
|
+
results.push({ filename, source, ...(await linter.lintSource(source, filename, options)) });
|
|
132
154
|
continue;
|
|
133
155
|
}
|
|
134
|
-
const change = await fixUntilStable(linter, source, filename);
|
|
156
|
+
const change = await fixUntilStable(linter, source, filename, options);
|
|
157
|
+
if (change.unstable) unstable.push(filename);
|
|
135
158
|
if (change.fixed > 0) {
|
|
136
159
|
writeFileSync(filename, change.source);
|
|
137
160
|
fixed += change.fixed;
|
|
@@ -145,5 +168,6 @@ export async function lintProject(data, { root, paths = [], config = {}, severit
|
|
|
145
168
|
// Not in `files`: what has our markup and was not read, so the summary can say so.
|
|
146
169
|
// Counted on the markup, so a suppressed `file-not-read` does not make it read.
|
|
147
170
|
const unread = inputs.filter(({ filename, source }) => isUnread(filename) && hasOurMarkup(source)).length;
|
|
148
|
-
|
|
171
|
+
const partial = input ? [] : partialExcludes(paths, root, config.exclude, [...DEFAULT_EXTENSIONS, ...STYLESHEET_EXTENSIONS, ...UNREAD_EXTENSIONS, ...SCRIPT_EXTENSIONS]);
|
|
172
|
+
return { results, files, unread, fixed, fixedFiles, notUtf8, symlinks, unstable, partialExcludes: partial, references };
|
|
149
173
|
}
|
package/lint/tree.js
CHANGED
|
@@ -51,7 +51,10 @@ export const BOUND = Symbol('bound');
|
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
53
|
/** Vue, Alpine, Lit and Angular write a name with a prefix, JSX and HTML bare. */
|
|
54
|
-
const WRITTEN = /^(:|v-bind:|x-bind:|\.|\?|\[attr\.|\[\(?)?([A-Za-z_][\w-]*)((?:\.
|
|
54
|
+
const WRITTEN = /^(:|v-bind:|x-bind:|\.|\?|\[attr\.|\[\(?)?([A-Za-z_][\w-]*)((?:\.[a-zA-Z]+)*)(\)?\])?$/;
|
|
55
|
+
|
|
56
|
+
/** Vue and Alpine take any modifier after the name, `:value.sync`; the others only these. */
|
|
57
|
+
const modifiersFit = (prefix = '', modifiers) => !modifiers || /^\.(prop|attr|camel)$/.test(modifiers) || /^(:|v-bind:|x-bind:)$/.test(prefix);
|
|
55
58
|
|
|
56
59
|
/**
|
|
57
60
|
* The span of an attribute the parser reported from `start` to just before `end`.
|
|
@@ -60,7 +63,7 @@ const WRITTEN = /^(:|v-bind:|x-bind:|\.|\?|\[attr\.|\[\(?)?([A-Za-z_][\w-]*)((?:
|
|
|
60
63
|
export function attributeSpan(source, written, start, end) {
|
|
61
64
|
const match = WRITTEN.exec(written);
|
|
62
65
|
const bracketed = Boolean(match?.[1]?.startsWith('['));
|
|
63
|
-
const valid = match && bracketed === Boolean(match[4]);
|
|
66
|
+
const valid = match && bracketed === Boolean(match[4]) && modifiersFit(match[1], match[3]);
|
|
64
67
|
const prefix = valid ? (match[1] ?? '') : '';
|
|
65
68
|
const nameStart = start + prefix.length;
|
|
66
69
|
const nameEnd = valid ? nameStart + match[2].length : start + written.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "Designsysteem voor de Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/index.js",
|
|
@@ -283,10 +283,6 @@
|
|
|
283
283
|
"types": "./dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts",
|
|
284
284
|
"default": "./dist/components/layout/split-views/split-view-divider/split-view-divider.js"
|
|
285
285
|
},
|
|
286
|
-
"./split-view-pane": {
|
|
287
|
-
"types": "./dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts",
|
|
288
|
-
"default": "./dist/components/layout/split-views/split-view-pane/split-view-pane.js"
|
|
289
|
-
},
|
|
290
286
|
"./page": {
|
|
291
287
|
"types": "./dist/components/layout/page/page.d.ts",
|
|
292
288
|
"default": "./dist/components/layout/page/page.js"
|
|
@@ -618,6 +614,7 @@
|
|
|
618
614
|
"check:server-import": "node scripts/check-server-import.js",
|
|
619
615
|
"validate:host-styles": "node scripts/validate-host-styles.js",
|
|
620
616
|
"validate:component-api": "node scripts/validate-component-api.js",
|
|
617
|
+
"validate:control-order": "node scripts/check-control-order.js",
|
|
621
618
|
"validate:skill-markup": "node scripts/validate-skill-markup.js",
|
|
622
619
|
"validate:changelog": "node scripts/validate-changelog.js",
|
|
623
620
|
"lint:stories": "node scripts/lint-stories.js",
|
|
@@ -674,7 +671,7 @@
|
|
|
674
671
|
"eslint": "^10.8.0",
|
|
675
672
|
"eslint-plugin-lit-a11y": "^5.1.1",
|
|
676
673
|
"globals": "^17.8.0",
|
|
677
|
-
"marked": "^
|
|
674
|
+
"marked": "^18.2.0",
|
|
678
675
|
"playwright": "^1.57.0",
|
|
679
676
|
"semantic-release": "^25.0.2",
|
|
680
677
|
"svgo": "^4.1.0",
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./button.i18n-BGFt7Z9u.js";
|
|
2
|
-
import { t } from "./icon-button.i18n-DpZOfIS4.js";
|
|
3
|
-
import { t as ee } from "./menu-item.i18n-CKUJBOeE.js";
|
|
4
|
-
import { t as n } from "./menu.i18n-C6uYJsG3.js";
|
|
5
|
-
import { t as r } from "./split-button.i18n-DtClSMga.js";
|
|
6
|
-
import { t as i } from "./toolbar.i18n-QwS37CBC.js";
|
|
7
|
-
import { t as a } from "./avatar-group.i18n-BYw_9wt_.js";
|
|
8
|
-
import { t as o } from "./avatar.i18n-CMwQjBkS.js";
|
|
9
|
-
import { t as s } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
10
|
-
import { t as c } from "./image.i18n-ONcm1h7o.js";
|
|
11
|
-
import { t as l } from "./rich-text.i18n-BlJ68YuU.js";
|
|
12
|
-
import { t as u } from "./term.i18n-9qtxefIQ.js";
|
|
13
|
-
import { t as d } from "./token.i18n-RGD5zAtl.js";
|
|
14
|
-
import { t as f } from "./validation-list.i18n-CM6In8zD.js";
|
|
15
|
-
import { t as p } from "./combo-box.i18n-BorzYnJ2.js";
|
|
16
|
-
import { t as m } from "./date-field.i18n-BqIx3eyr.js";
|
|
17
|
-
import { r as h } from "./date-picker.i18n-Dsc_M5QK.js";
|
|
18
|
-
import { t as g } from "./file-field.i18n-pDM7Utud.js";
|
|
19
|
-
import { t as _ } from "./number-field.i18n-BS0bINWY.js";
|
|
20
|
-
import { t as v } from "./password-field.i18n-CzdBn-1b.js";
|
|
21
|
-
import { t as y } from "./search-field.i18n-B_Oc7hc-.js";
|
|
22
|
-
import { t as b } from "./slider.i18n-DVw0c8AG.js";
|
|
23
|
-
import { t as x } from "./stepper.i18n-COOAkaBl.js";
|
|
24
|
-
import { t as S } from "./swatch-picker.i18n-_G0nmnGe.js";
|
|
25
|
-
import { t as C } from "./text-editor.i18n-sJKiRQ4i.js";
|
|
26
|
-
import { t as w } from "./time-field.i18n-BM6qGbmN.js";
|
|
27
|
-
import { t as te } from "./time-picker.i18n-BilOCXlS.js";
|
|
28
|
-
import { t as T } from "./token-field.i18n-BclzoR8F.js";
|
|
29
|
-
import { t as E } from "./card.i18n-CpafLm3i.js";
|
|
30
|
-
import { t as D } from "./collection.i18n-DqWPGnZO.js";
|
|
31
|
-
import { t as O } from "./kanban.i18n-CWqc3e0B.js";
|
|
32
|
-
import { t as k } from "./page-footer.i18n-pbdr4lN3.js";
|
|
33
|
-
import { t as A } from "./sidebar-section.i18n-BuGfRMpD.js";
|
|
34
|
-
import { t as j } from "./popover.i18n-DmFBHUvB.js";
|
|
35
|
-
import { t as M } from "./window.i18n-CsEnUPAk.js";
|
|
36
|
-
import { t as N } from "./reorder-handle-cell.i18n-DlH2aVwd.js";
|
|
37
|
-
import { t as P } from "./list-item-segment.i18n-DHnrQL4V.js";
|
|
38
|
-
import { t as F } from "./list-item.i18n-Br6J5Ev9.js";
|
|
39
|
-
import { t as I } from "./list.i18n-C40ltgdI.js";
|
|
40
|
-
import { t as L } from "./table.i18n-Bmb_uw_w.js";
|
|
41
|
-
import { t as R } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
42
|
-
import { t as z } from "./document-tab-bar.i18n-DKrA9TnB.js";
|
|
43
|
-
import { t as B } from "./link.i18n-DJPobGmu.js";
|
|
44
|
-
import { t as V } from "./menu-bar.i18n-BoMu4Eoz.js";
|
|
45
|
-
import { t as H } from "./pagination.i18n-QQMx14CQ.js";
|
|
46
|
-
import { t as U } from "./skip-link.i18n-B7pVqo5u.js";
|
|
47
|
-
import { t as W } from "./tab-bar.i18n-Crsc7ShA.js";
|
|
48
|
-
import { t as G } from "./top-navigation-bar.i18n-C-lcH1nB.js";
|
|
49
|
-
import { t as K } from "./activity-indicator.i18n-D7mCy6d2.js";
|
|
50
|
-
import { t as q } from "./badge.i18n-DqW7hLQj.js";
|
|
51
|
-
import { t as J } from "./banner.i18n-BOCM9rGN.js";
|
|
52
|
-
import { t as Y } from "./just-in-time-education.i18n-CW_dsaxf.js";
|
|
53
|
-
import { t as X } from "./notification.i18n-BKUSLN5c.js";
|
|
54
|
-
import { t as Z } from "./progress-bar.i18n-Cr5miGTx.js";
|
|
55
|
-
import { t as Q } from "./progress-circle.i18n-CRrXuY4V.js";
|
|
56
|
-
import { t as ne } from "./step-bar.i18n-DocExlD7.js";
|
|
57
|
-
// src/translations/nl.generated.ts
|
|
58
|
-
var $ = {
|
|
59
|
-
...e,
|
|
60
|
-
...t,
|
|
61
|
-
...ee,
|
|
62
|
-
...n,
|
|
63
|
-
...r,
|
|
64
|
-
...i,
|
|
65
|
-
...a,
|
|
66
|
-
...o,
|
|
67
|
-
...s,
|
|
68
|
-
...c,
|
|
69
|
-
...l,
|
|
70
|
-
...u,
|
|
71
|
-
...d,
|
|
72
|
-
...f,
|
|
73
|
-
...p,
|
|
74
|
-
...m,
|
|
75
|
-
...h,
|
|
76
|
-
...g,
|
|
77
|
-
..._,
|
|
78
|
-
...v,
|
|
79
|
-
...y,
|
|
80
|
-
...b,
|
|
81
|
-
...x,
|
|
82
|
-
...S,
|
|
83
|
-
...C,
|
|
84
|
-
...w,
|
|
85
|
-
...te,
|
|
86
|
-
...T,
|
|
87
|
-
...E,
|
|
88
|
-
...D,
|
|
89
|
-
...O,
|
|
90
|
-
...k,
|
|
91
|
-
...A,
|
|
92
|
-
...j,
|
|
93
|
-
...M,
|
|
94
|
-
...N,
|
|
95
|
-
...P,
|
|
96
|
-
...F,
|
|
97
|
-
...I,
|
|
98
|
-
...L,
|
|
99
|
-
...R,
|
|
100
|
-
...z,
|
|
101
|
-
...B,
|
|
102
|
-
...V,
|
|
103
|
-
...H,
|
|
104
|
-
...U,
|
|
105
|
-
...W,
|
|
106
|
-
...G,
|
|
107
|
-
...K,
|
|
108
|
-
...q,
|
|
109
|
-
...J,
|
|
110
|
-
...Y,
|
|
111
|
-
...X,
|
|
112
|
-
...Z,
|
|
113
|
-
...Q,
|
|
114
|
-
...ne
|
|
115
|
-
};
|
|
116
|
-
export { $ as default, $ as nl };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./layout-pass-Cq85kSHX.js";
|
|
2
|
-
// src/utilities/scroll-mode-controller.ts
|
|
3
|
-
var t = "nldd-single-column-change", n = "nldd-shell, nldd-sheet, nldd-modal-dialog";
|
|
4
|
-
function r(e) {
|
|
5
|
-
let t = e.map((e) => e.inheritedScrollMode());
|
|
6
|
-
e.forEach((e, n) => e.readScrollMode(t[n]));
|
|
7
|
-
}
|
|
8
|
-
var i = new e(r), a = /* @__PURE__ */ new Set(), o = 0;
|
|
9
|
-
function s() {
|
|
10
|
-
o || (o = requestAnimationFrame(() => {
|
|
11
|
-
o = 0, r([...a]);
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
function c(e, t) {
|
|
15
|
-
a.size || window.addEventListener("resize", s, { passive: !0 }), a.add(e), i.schedule(e, t);
|
|
16
|
-
}
|
|
17
|
-
function l(e) {
|
|
18
|
-
i.cancel(e), a.delete(e) && !a.size && (window.removeEventListener("resize", s), cancelAnimationFrame(o), o = 0);
|
|
19
|
-
}
|
|
20
|
-
function u(e) {
|
|
21
|
-
let t = e.closest?.(n);
|
|
22
|
-
return t && "registerScrollConsumer" in t ? t : null;
|
|
23
|
-
}
|
|
24
|
-
function d(e, t) {
|
|
25
|
-
let r = e.closest?.(n);
|
|
26
|
-
!r || "registerScrollConsumer" in r || customElements.whenDefined(r.localName).then(() => {
|
|
27
|
-
if (!e.isConnected) return;
|
|
28
|
-
let n = u(e);
|
|
29
|
-
n && n === r && t(n);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
var f = class {
|
|
33
|
-
constructor(e, t) {
|
|
34
|
-
this.mode = "nested", this._provider = null, this._adopt = (e) => {
|
|
35
|
-
this._provider || (l(this), this._provider = e, e.registerScrollConsumer(this));
|
|
36
|
-
}, this._host = e, this._onChange = t, e.addController(this);
|
|
37
|
-
}
|
|
38
|
-
hostConnected() {
|
|
39
|
-
this._provider = u(this._host), this._provider ? this._provider.registerScrollConsumer(this) : (c(this, this._host.ownerDocument), d(this._host, this._adopt));
|
|
40
|
-
}
|
|
41
|
-
hostDisconnected() {
|
|
42
|
-
this._provider ? (this._provider.unregisterScrollConsumer(this), this._provider = null) : l(this);
|
|
43
|
-
}
|
|
44
|
-
readScrollMode(e) {
|
|
45
|
-
let t = e ?? this.inheritedScrollMode();
|
|
46
|
-
t !== this.mode && (this.mode = t, this._host.dataset.scroll = t, this._onChange?.(t));
|
|
47
|
-
}
|
|
48
|
-
inheritedScrollMode() {
|
|
49
|
-
return getComputedStyle(this._host).getPropertyValue("--context-scroll-mode").trim() === "root" ? "root" : "nested";
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
export { l as a, u as i, f as n, d as o, c as r, t };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-1aEyfetK.js";
|
|
2
|
-
import { c as r, r as i, s as a } from "./custom-element-D8yf5dqU.js";
|
|
3
|
-
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { n as s } from "./scroll-mode-controller-Dl5hddJo.js";
|
|
5
|
-
import { a as c } from "./shadow-resets-DgR56wQK.js";
|
|
6
|
-
import { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
// src/components/layout/split-views/split-view-pane/split-view-pane.styles.ts
|
|
9
|
-
var d = r(l.mdMin), f = a`
|
|
10
|
-
:host {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* # Host */
|
|
16
|
-
|
|
17
|
-
:host {
|
|
18
|
-
--_split-view-pane-background-color: var(--context-background-color);
|
|
19
|
-
|
|
20
|
-
display: flex;
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
|
|
24
|
-
@media (min-width: ${d}) {
|
|
25
|
-
background-color: var(--_split-view-pane-background-color);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host([hidden]) {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([background="base"]) {
|
|
34
|
-
--context-background-color: var(--semantics-surfaces-base-background-color);
|
|
35
|
-
${c}
|
|
36
|
-
--_split-view-pane-background-color: var(--context-background-color);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([background="tinted"]) {
|
|
40
|
-
--context-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
41
|
-
${c}
|
|
42
|
-
--_split-view-pane-background-color: var(--context-background-color);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host([hide-back]) {
|
|
46
|
-
--context-back-button-display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* Root-scroll mode — flow instead of clipping (see ScrollModeController /
|
|
50
|
-
--context-scroll-mode) so a slotted nldd-page's sticky layers can stick
|
|
51
|
-
against the document rather than this pane. */
|
|
52
|
-
:host([data-scroll="root"]) {
|
|
53
|
-
height: auto;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
/* # Block */
|
|
58
|
-
|
|
59
|
-
/* flex-basis: auto (not 0) so the pane works in both determinate
|
|
60
|
-
* parents (main column — grows to fill via flex-grow) AND
|
|
61
|
-
* indeterminate parents (a bar — auto = content size, no growth
|
|
62
|
-
* space, stays compact). The old 'flex: 1' shorthand expanded to
|
|
63
|
-
* 'flex-basis: 0%' which the spec resolves to 'auto' in indeterminate
|
|
64
|
-
* parents; the longhand conversion lost that nuance and collapsed
|
|
65
|
-
* panes inside bars. */
|
|
66
|
-
.split-view-pane {
|
|
67
|
-
display: flex;
|
|
68
|
-
min-width: 0;
|
|
69
|
-
min-height: 0;
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
flex-grow: 1;
|
|
73
|
-
flex-shrink: 1;
|
|
74
|
-
flex-basis: auto;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
:host([data-scroll="root"]) .split-view-pane {
|
|
78
|
-
overflow: visible;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/* # Elements */
|
|
83
|
-
|
|
84
|
-
::slotted(*) {
|
|
85
|
-
min-height: 0;
|
|
86
|
-
flex-grow: 1;
|
|
87
|
-
flex-shrink: 1;
|
|
88
|
-
flex-basis: auto;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* Slotted page is a COLUMN item here: keep its content height on tall pages
|
|
92
|
-
(flex-shrink:0) so its sticky header/footer range spans the document,
|
|
93
|
-
while still filling a short viewport via flex-grow. */
|
|
94
|
-
:host([data-scroll="root"]) ::slotted(*) {
|
|
95
|
-
flex-basis: auto;
|
|
96
|
-
flex-shrink: 0;
|
|
97
|
-
}
|
|
98
|
-
`;
|
|
99
|
-
// src/components/layout/split-views/split-view-pane/split-view-pane.template.ts
|
|
100
|
-
function p(e) {
|
|
101
|
-
return t`
|
|
102
|
-
<div class="split-view-pane">
|
|
103
|
-
<slot></slot>
|
|
104
|
-
</div>
|
|
105
|
-
`;
|
|
106
|
-
}
|
|
107
|
-
// src/components/layout/split-views/split-view-pane/split-view-pane.ts
|
|
108
|
-
var m = class extends e {
|
|
109
|
-
constructor(...e) {
|
|
110
|
-
super(...e), this._scrollMode = new s(this), this.background = "inherit", this.hideBack = !1, this.hasContent = !1;
|
|
111
|
-
}
|
|
112
|
-
connectedCallback() {
|
|
113
|
-
super.connectedCallback(), this.style.containerType = "inline-size", this.style.containerName = "layout-container";
|
|
114
|
-
}
|
|
115
|
-
render() {
|
|
116
|
-
return p(this);
|
|
117
|
-
}
|
|
118
|
-
}, h = (m.styles = f, m);
|
|
119
|
-
n([i({
|
|
120
|
-
reflect: !0,
|
|
121
|
-
converter: u("inherit")
|
|
122
|
-
})], h.prototype, "background", void 0), n([i({
|
|
123
|
-
type: Boolean,
|
|
124
|
-
reflect: !0,
|
|
125
|
-
attribute: "hide-back"
|
|
126
|
-
})], h.prototype, "hideBack", void 0), n([i({
|
|
127
|
-
type: Boolean,
|
|
128
|
-
reflect: !0,
|
|
129
|
-
attribute: "has-content"
|
|
130
|
-
})], h.prototype, "hasContent", void 0), h = n([o("nldd-split-view-pane")], h);
|
|
131
|
-
export { h as NLDDSplitViewPane };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
2
|
-
import { r as i } from "./custom-element-D8yf5dqU.js";
|
|
3
|
-
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as s } from "./toolbar.styles-DzreUGTp.js";
|
|
6
|
-
// src/components/actions/toolbar/toolbar-item.template.ts
|
|
7
|
-
function c(e) {
|
|
8
|
-
return t`
|
|
9
|
-
<div class="toolbar__item-content">
|
|
10
|
-
<slot></slot>
|
|
11
|
-
</div>
|
|
12
|
-
${e.label ? t`<span class="toolbar__item-label">${e.label}</span>` : n}
|
|
13
|
-
<slot name="overflow"></slot>
|
|
14
|
-
`;
|
|
15
|
-
}
|
|
16
|
-
// src/components/actions/toolbar/toolbar-item.ts
|
|
17
|
-
var l = class extends e {
|
|
18
|
-
constructor(...e) {
|
|
19
|
-
super(...e), this.width = "", this.minWidth = "", this.maxWidth = "", this.label = "", this.priority = 0, this.size = "md", this.showItemLabels = !1;
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return c(this);
|
|
23
|
-
}
|
|
24
|
-
}, u = (l.styles = s, l);
|
|
25
|
-
r([i({
|
|
26
|
-
reflect: !0,
|
|
27
|
-
converter: o("")
|
|
28
|
-
})], u.prototype, "width", void 0), r([i({
|
|
29
|
-
reflect: !0,
|
|
30
|
-
attribute: "min-width",
|
|
31
|
-
converter: o("")
|
|
32
|
-
})], u.prototype, "minWidth", void 0), r([i({
|
|
33
|
-
reflect: !0,
|
|
34
|
-
attribute: "max-width",
|
|
35
|
-
converter: o("")
|
|
36
|
-
})], u.prototype, "maxWidth", void 0), r([i({ type: String })], u.prototype, "label", void 0), r([i({
|
|
37
|
-
reflect: !0,
|
|
38
|
-
converter: {
|
|
39
|
-
fromAttribute: (e) => e === null ? 0 : Number(e),
|
|
40
|
-
toAttribute: (e) => e === 0 ? null : String(e)
|
|
41
|
-
}
|
|
42
|
-
})], u.prototype, "priority", void 0), r([i({
|
|
43
|
-
reflect: !0,
|
|
44
|
-
converter: o("md")
|
|
45
|
-
})], u.prototype, "size", void 0), r([i({
|
|
46
|
-
type: Boolean,
|
|
47
|
-
reflect: !0,
|
|
48
|
-
attribute: "show-item-labels"
|
|
49
|
-
})], u.prototype, "showItemLabels", void 0), u = r([a("nldd-toolbar-item")], u);
|
|
50
|
-
export { u as NLDDToolbarItem };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nederlandse Digitale Dienst Split View Pane Component (Lit + TypeScript)
|
|
3
|
-
*
|
|
4
|
-
* A simple pane container for use inside split views.
|
|
5
|
-
* The split view automatically sets context: whether a back button should be shown.
|
|
6
|
-
*
|
|
7
|
-
* The consumer sets `has-content` to indicate the pane has content.
|
|
8
|
-
* The consumer sets `back-text` on the `nldd-top-title-bar` inside the pane.
|
|
9
|
-
* The split view sets `hide-back` when the back button is not applicable.
|
|
10
|
-
* The pane automatically hides the back button via CSS when `hide-back` is active.
|
|
11
|
-
*
|
|
12
|
-
* ## Background color
|
|
13
|
-
* The pane sets `--context-background-color` which cascades down to all descendants.
|
|
14
|
-
* Set `background="tinted"` on a pane to give it a tinted background independently of sibling panes.
|
|
15
|
-
* Descendants such as `nldd-page` read `--context-background-color` automatically.
|
|
16
|
-
*
|
|
17
|
-
* ## Slotted content
|
|
18
|
-
* A pane stretches its slotted content to fill it (`::slotted(*) { flex-grow: 1 }`),
|
|
19
|
-
* so slot only layout content here. Overlays (`nldd-sheet`, popovers, dialogs,
|
|
20
|
-
* menus) belong at the document root: teleport/portal them to `document.body`.
|
|
21
|
-
* Do not leave an overlay as a light-DOM sibling of a split view: it gets slotted
|
|
22
|
-
* into the main pane and becomes an extra flex-grow child that steals pane height,
|
|
23
|
-
* so in document-scroll (root) mode a short page's sticky footer floats mid-screen
|
|
24
|
-
* instead of docking.
|
|
25
|
-
*
|
|
26
|
-
* @element nldd-split-view-pane
|
|
27
|
-
*
|
|
28
|
-
* @attr {'inherit'|'base'|'tinted'} background - Use a tinted background color (cascades to descendants)
|
|
29
|
-
* @attr {boolean} hide-back - Hide the back button (set automatically by the split view)
|
|
30
|
-
* @attr {boolean} has-content - The pane has content (default: false)
|
|
31
|
-
*
|
|
32
|
-
* @slot - Pane content
|
|
33
|
-
*/
|
|
34
|
-
import { LitElement } from 'lit';
|
|
35
|
-
export declare class NLDDSplitViewPane extends LitElement {
|
|
36
|
-
static styles: import("lit").CSSResult;
|
|
37
|
-
private _scrollMode;
|
|
38
|
-
background: 'inherit' | 'base' | 'tinted';
|
|
39
|
-
hideBack: boolean;
|
|
40
|
-
hasContent: boolean;
|
|
41
|
-
connectedCallback(): void;
|
|
42
|
-
render(): import("lit-html").TemplateResult;
|
|
43
|
-
}
|
|
44
|
-
declare global {
|
|
45
|
-
interface HTMLElementTagNameMap {
|
|
46
|
-
'nldd-split-view-pane': NLDDSplitViewPane;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=split-view-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-view-pane.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/split-view-pane/split-view-pane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,qBACa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAuB;IAI7C,OAAO,CAAC,WAAW,CAAkC;IAGrD,UAAU,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAGtD,QAAQ,UAAS;IAGjB,UAAU,UAAS;IAEV,iBAAiB;IAMjB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,sBAAsB,EAAE,iBAAiB,CAAC;KAC1C;CACD"}
|