@nldd/design-system 0.27.1 → 0.28.1
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 +5634 -5882
- package/dist/cdn/autoloader.js +140 -141
- package/dist/cdn/chunks/{accordion-item-Db9LW8AG.js → accordion-item-C6M7whqP.js} +4 -4
- package/dist/cdn/chunks/{accordion-tLICRUFs.js → accordion-qNc04J73.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-CMNIikEV.js → activity-indicator-NvfhYycS.js} +14 -14
- package/dist/cdn/chunks/{admonition-DEXVkTJm.js → admonition-CrFn5dn8.js} +4 -4
- package/dist/cdn/chunks/{avatar-nLrlfh4s.js → avatar-De4nVQAy.js} +23 -23
- package/dist/cdn/chunks/{avatar-group-DMU0HLBL.js → avatar-group-cS_7WjsC.js} +16 -15
- package/dist/cdn/chunks/{badge-D1XadmOE.js → badge-BNmnWgNJ.js} +9 -9
- package/dist/cdn/chunks/{banner-B4kFQlHx.js → banner-CJ0VfDQl.js} +11 -11
- package/dist/cdn/chunks/{bar-split-view-DtD4zmoP.js → bar-split-view-DJZ_RMrc.js} +11 -6
- package/dist/cdn/chunks/{blockquote-DbFjwox8.js → blockquote-Fbk-Cz-z.js} +7 -7
- package/dist/cdn/chunks/{box-BlwaDicI.js → box-DUjTdMwj.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DJS9-8wX.js → breadcrumbs-DvQfnS-r.js} +12 -12
- package/dist/cdn/chunks/{button-BK8CmshL.js → button-BiZEK2qo.js} +75 -79
- package/dist/cdn/chunks/{button-bar-5RtXjgGl.js → button-bar-BD8YYSya.js} +8 -8
- package/dist/cdn/chunks/{button-group-BYMkQNhT.js → button-group-BDgwtxiB.js} +8 -8
- package/dist/cdn/chunks/{card-NNl0PxBY.js → card-7YW4G3mN.js} +21 -11
- package/dist/cdn/chunks/{cell-D2NzCBVZ.js → cell-D4rzlHiL.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CXFA_up4.js → checkbox-BAXC8LxT.js} +21 -21
- package/dist/cdn/chunks/{checkbox-field-sFs7GvAq.js → checkbox-field-DokK3uET.js} +15 -15
- package/dist/cdn/chunks/{checkbox-group-BPN4eRCX.js → checkbox-group-dYi8Qw-Z.js} +12 -12
- package/dist/cdn/chunks/{class-map-1XjgYGeg.js → class-map-Dk5rXpmX.js} +1 -1
- package/dist/cdn/chunks/{code-editor-KZEaMAN7.js → code-editor-Uc5WnSyE.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-CJwpLKb1.js → code-viewer-DmaSO8TW.js} +17 -17
- package/dist/cdn/chunks/{codemirror-input-CYBNNf0-.js → codemirror-input-yuu4_CF5.js} +5 -5
- package/dist/cdn/chunks/{collection-BdUB8qeL.js → collection-DRkMikEK.js} +13 -13
- package/dist/cdn/chunks/{combo-box-DxWW-zeE.js → combo-box-BfgDCM9z.js} +42 -42
- package/dist/cdn/chunks/{container-Dhf1Ahi8.js → container-Ce02W6bB.js} +9 -9
- package/dist/cdn/chunks/{custom-element-DtLjpays.js → custom-element-B7CAmse4.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-D83r9gjY.js → date-field-D0qFC7IW.js} +35 -35
- package/dist/cdn/chunks/{date-picker-D8qv2iuG.js → date-picker-DwXIznN6.js} +23 -23
- package/dist/cdn/chunks/{decorate-BhnGmemK.js → decorate-CrwTiRI4.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Jh_PTTde.js → described-by-mixin-Dks9Tazd.js} +3 -3
- package/dist/cdn/chunks/{description-cell-nQKMluy8.js → description-cell-vdXLTWdM.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-Bet7bhMS.js → dev-checks-C7AQOQdy.js} +152 -177
- package/dist/cdn/chunks/{directive-helpers-dLE2M1R1.js → directive-helpers-DhYhHq0V.js} +1 -1
- package/dist/cdn/chunks/{dist-EP5KATv0.js → dist-BF_HsA1F.js} +1 -1
- package/dist/cdn/chunks/{dist-DwevYbXo.js → dist-BO8LBhZ9.js} +1 -1
- package/dist/cdn/chunks/{dist-Cdmhq-4P.js → dist-BStcClNc.js} +2 -2
- package/dist/cdn/chunks/{dist-BpqJqkl_.js → dist-C3SPGWp1.js} +1 -1
- package/dist/cdn/chunks/{dist-Dzlvec4O.js → dist-CpFmom1e.js} +1 -1
- package/dist/cdn/chunks/{dist-DJSiRJRL.js → dist-DA8xWaRD.js} +1 -1
- package/dist/cdn/chunks/{dist-CYKK2xXE.js → dist-DKwVzsKb.js} +3 -3
- package/dist/cdn/chunks/{dist-BbwC3zHR.js → dist-DsI2zIZX.js} +2 -2
- package/dist/cdn/chunks/{dist-BTuJ-NyU.js → dist-Ef-Tq6YF.js} +2 -2
- package/dist/cdn/chunks/{dist-C9xmfEc_.js → dist-L5MKtblc.js} +1 -1
- package/dist/cdn/chunks/{dist-u6MS5-M8.js → dist-fQWTQex_.js} +3 -3
- package/dist/cdn/chunks/{divider-DjT76fuO.js → divider-DtcYfGdC.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CO2M1bFc.js → document-tab-bar-C16nriDX.js} +23 -23
- package/dist/cdn/chunks/{dropdown-CdQ1beF2.js → dropdown-imPdtMWv.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-D0UlnM9R.js → file-field-KvBiDQDG.js} +29 -29
- package/dist/cdn/chunks/{form-BV9wifov.js → form-D1EnbYQi.js} +9 -6
- package/dist/cdn/chunks/{form-actions-DDeF8urg.js → form-actions-BVb12cWB.js} +21 -17
- package/dist/cdn/chunks/{form-associated-mixin-Cm1N24gR.js → form-associated-mixin-1aHgl6CN.js} +3 -3
- package/dist/cdn/chunks/{form-field-IeKadcwe.js → form-field-C7IKuhqV.js} +72 -63
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
- package/dist/cdn/chunks/{form-section-C350G5wg.js → form-section-C3EY5PYR.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CR3zsX7K.js → full-bleed-section-D0Eg6xrZ.js} +3 -3
- package/dist/cdn/chunks/{hero-Ch5el5J5.js → hero-CLt5Cw5O.js} +23 -23
- package/dist/cdn/chunks/{icon-Dj98ov4G.js → icon-Dm2x9BcO.js} +9 -9
- package/dist/cdn/chunks/{icon-button-HKoCqWG3.js → icon-button-CBEWhco-.js} +64 -68
- package/dist/cdn/chunks/{icon-cell-C1I-oIWn.js → icon-cell-DXxd6Nry.js} +9 -9
- package/dist/cdn/chunks/{identity-DNkEDJ8m.js → identity-BeTWWEj8.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CZ1Fmb74.js → if-defined-mF0X0Rdi.js} +1 -1
- package/dist/cdn/chunks/{image-KXTd-hL-.js → image-COSXwiWa.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-BTI0xmIT.js → inline-dialog-DIOgk8bK.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-BtjbYffu.js → just-in-time-education-BZNVdvuU.js} +17 -17
- package/dist/cdn/chunks/{kanban-DNXtL34O.js → kanban-Cck2OXzv.js} +10 -10
- package/dist/cdn/chunks/{kanban-column-D0ujQ2_W.js → kanban-column--KK3DP8d.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BikzmCBH.js → keyboard-shortcut-CuyFIf1M.js} +13 -13
- package/dist/cdn/chunks/{languages-CPd7_I8H.js → languages-AgQxW3ST.js} +12 -12
- package/dist/cdn/chunks/{link-DqMeRYFm.js → link-Dwx2iVe3.js} +16 -16
- package/dist/cdn/chunks/{link-group-BKn4MHA-.js → link-group-C1W4fywA.js} +6 -6
- package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
- package/dist/cdn/chunks/{list-C8Dnks-q.js → list-DLzBphoL.js} +18 -18
- package/dist/cdn/chunks/{list-item-CSP1a_cN.js → list-item-C_ehVVWB.js} +85 -88
- package/dist/cdn/chunks/{list-item-segment-BvFqXXnA.js → list-item-segment-BSKAGZX1.js} +16 -16
- package/dist/cdn/chunks/{menu-LZ0DmVCe.js → menu-C1PAGWta.js} +38 -29
- package/dist/cdn/chunks/{menu-bar-rsGd3kKq.js → menu-bar-0nenrPh7.js} +34 -34
- package/dist/cdn/chunks/{menu-bar-item-DENdrp0m.js → menu-bar-item-CxwtcbeA.js} +44 -43
- package/dist/cdn/chunks/{menu-divider-BptK2nug.js → menu-divider-FTcoHy0o.js} +3 -3
- package/dist/cdn/chunks/{menu-group-0B34NyN5.js → menu-group-CbuJhLxI.js} +4 -4
- package/dist/cdn/chunks/{menu-item-55vjckz2.js → menu-item-BMblp58r.js} +21 -21
- package/dist/cdn/chunks/{menu.template-B_HMnBsa.js → menu.template-DVwVuOZ7.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-DQY_0Qlk.js → modal-dialog-Bd0UpTKp.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-DB4Vflno.js → multi-line-text-field-C_Mrqdc7.js} +36 -36
- package/dist/cdn/chunks/{navigation-split-view-Dbhrxni9.js → navigation-split-view-DI6bkyO8.js} +65 -57
- package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
- package/dist/cdn/chunks/{notification-dtrMLORo.js → notification-DlP3Jqyg.js} +10 -10
- package/dist/cdn/chunks/{number-field-Ctxk40as.js → number-field-BJ6CkhId.js} +23 -23
- package/dist/cdn/chunks/{one-half-one-half-section-Bx6KLSY5.js → one-half-one-half-section-DHCUh_wz.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-Bql0Xrsc.js → one-third-two-thirds-section-DYTm8bKQ.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-B-y5gRLi.js → one-time-code-field-DHuL7IM1.js} +25 -25
- package/dist/cdn/chunks/{overflow-menu-Cs1VLcX7.js → overflow-menu-ziAYinfd.js} +1 -1
- package/dist/cdn/chunks/{owner-form-Cq8tT7ac.js → owner-form-Bl_p0Ca4.js} +1 -1
- package/dist/cdn/chunks/{page-Bdkit86l.js → page-CN9aT0-o.js} +52 -51
- package/dist/cdn/chunks/{page-footer-D68JiIFE.js → page-footer-BHk3XPcl.js} +10 -10
- package/dist/cdn/chunks/{page-section-mixin-Bmlpcmrw.js → page-section-mixin-BCWdaBe-.js} +3 -3
- package/dist/cdn/chunks/{pagination-BH6UQbby.js → pagination-TG6S64c8.js} +16 -16
- package/dist/cdn/chunks/{password-field-Dz0znv2L.js → password-field-WlBkV6Zk.js} +33 -33
- package/dist/cdn/chunks/{popover-C6j3sO70.js → popover-SPjzHEBv.js} +18 -18
- package/dist/cdn/chunks/{progress-bar-BA_5dDXK.js → progress-bar-y1V2-yVB.js} +30 -30
- package/dist/cdn/chunks/{progress-circle-DsCyTyw-.js → progress-circle-CmHdUkXN.js} +27 -27
- package/dist/cdn/chunks/{radio-button-pcE5Vo5k.js → radio-button-0w_6MBnr.js} +50 -53
- package/dist/cdn/chunks/{radio-button-field-JsQalrMs.js → radio-button-field-DRxHUlU-.js} +14 -14
- package/dist/cdn/chunks/{radio-button-group-Bqn43LYh.js → radio-button-group-BOSrS8Cw.js} +12 -12
- package/dist/cdn/chunks/{render-marked-DAVGoeYa.js → render-marked-B37AmEcK.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-r4OuA45S.js → reorder-handle-cell-DNexvOly.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-Co5E_Y7l.js → reorder-handle-mixin-DR6s48h0.js} +2 -2
- package/dist/cdn/chunks/{repeat-DoLR8W_a.js → repeat-DmJWskI3.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CEmzxZRC.js → rich-text-Dt9MNeaN.js} +7 -7
- package/dist/cdn/chunks/{row-header-mixin-BCYXiXva.js → row-header-mixin-CACRXO0G.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-OSFrYTum.js → scroll-fade-CnG9vdGO.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
- package/dist/cdn/chunks/{search-field-CT483s7J.js → search-field-DHwGMif1.js} +21 -21
- package/dist/cdn/chunks/{segmented-control-5zMasjz7.js → segmented-control-DhEmavt0.js} +86 -91
- package/dist/cdn/chunks/{shadow-resets-DR73IFIL.js → shadow-resets-B5O9JTmC.js} +2 -2
- package/dist/cdn/chunks/{sheet-CDXX61d_.js → sheet-BLe_3_DE.js} +4 -4
- package/dist/cdn/chunks/{shell-C4vAeA49.js → shell-DqPhGCqs.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-D9_u1TIS.js → side-by-side-split-view-DCAuNLWx.js} +7 -5
- package/dist/cdn/chunks/{sidebar-section-vWX-ymIa.js → sidebar-section-nC17BdDf.js} +16 -16
- package/dist/cdn/chunks/{simple-section-CEw2oC7K.js → simple-section-C2XC7_dY.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DcOGlfM9.js → skip-link-DVUTni1o.js} +5 -5
- package/dist/cdn/chunks/{slider-B108QDlz.js → slider-D6bcOyZe.js} +30 -24
- package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
- package/dist/cdn/chunks/{spacer-CpfTNtbZ.js → spacer-D39nYCkZ.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DBm7_AUi.js → spacer-cell-BWIkzpvO.js} +4 -4
- package/dist/cdn/chunks/{split-button-DxgDxdan.js → split-button-QFO3hzQ4.js} +26 -26
- package/dist/cdn/chunks/{split-view-divider-6_RDvANN.js → split-view-divider-BwBUUVjD.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-CRMEMwtv.js → stacked-split-view-yNPky0NT.js} +7 -5
- package/dist/cdn/chunks/{static-html-CmXnRyP6.js → static-html-CTzABBaH.js} +1 -1
- package/dist/cdn/chunks/{status-bar-Blk_iYSD.js → status-bar-CLC37EL9.js} +8 -8
- package/dist/cdn/chunks/{step-bar-DM4a_0PG.js → step-bar-BhgHHkDX.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-CUs8AKJq.js → step-cell-DC2qTAyk.js} +14 -14
- package/dist/cdn/chunks/{stepper-JwxPNJRc.js → stepper-B-cc2_Sm.js} +19 -19
- package/dist/cdn/chunks/{style-map-DUDIMhuW.js → style-map-HtOjYtU6.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BXs7Ob4o.js → swatch-picker-k_4WmoQz.js} +49 -44
- package/dist/cdn/chunks/{switch-CWKoOyz7.js → switch-CkeeQxIb.js} +20 -20
- package/dist/cdn/chunks/{switch-field-BgX9mNOA.js → switch-field-Bz3JEf0A.js} +13 -13
- package/dist/cdn/chunks/{tab-bar-BNaJSB38.js → tab-bar-A1J5hAqM.js} +27 -27
- package/dist/cdn/chunks/{table-dgJdHR92.js → table-D_AIkENk.js} +11 -11
- package/dist/cdn/chunks/{tag-DHHf_gxq.js → tag-CSEVQj4T.js} +5 -5
- package/dist/cdn/chunks/{term-DNLqQErM.js → term-DuVHCQcO.js} +16 -16
- package/dist/cdn/chunks/{text-CK1-qJ6d.js → text-CBH-FTlq.js} +11 -11
- package/dist/cdn/chunks/{text-cell-CrKBqL5A.js → text-cell-D60E-KiB.js} +13 -13
- package/dist/cdn/chunks/{text-editor-B0A2vNpD.js → text-editor-CFesnlv8.js} +975 -970
- package/dist/cdn/chunks/{text-field-CqYxSiKy.js → text-field-ClvBNmw_.js} +34 -34
- package/dist/cdn/chunks/{time-field-DHm6KQsG.js → time-field-D1ueoBOt.js} +35 -35
- package/dist/cdn/chunks/{time-picker-C_BE5oNq.js → time-picker-ttlWNV2I.js} +12 -12
- package/dist/cdn/chunks/{title-BpREzeX9.js → title-D2otK52V.js} +6 -6
- package/dist/cdn/chunks/{title-cell-C4ZL3mJo.js → title-cell-BOolNM8K.js} +11 -11
- package/dist/cdn/chunks/{toggle-button-COQdr-hZ.js → toggle-button-CzWCZusb.js} +35 -35
- package/dist/cdn/chunks/{toggle-button-group-D4vTcGce.js → toggle-button-group-BUKU9xiy.js} +13 -13
- package/dist/cdn/chunks/{token-1DfHVSVj.js → token-HxBj8tdv.js} +11 -11
- package/dist/cdn/chunks/{token-field-s_mCjtcZ.js → token-field-DHAfga9R.js} +26 -26
- package/dist/cdn/chunks/{toolbar-Bz_8d1v-.js → toolbar-CR6uWzjc.js} +32 -23
- package/dist/cdn/chunks/toolbar-item-M5kEBN_1.js +77 -0
- package/dist/cdn/chunks/{toolbar-title-Cl8VPHYK.js → toolbar-title-2XyAXFDG.js} +36 -22
- package/dist/cdn/chunks/{toolbar.styles-BiT7JPsr.js → toolbar.styles-SLbsPK33.js} +19 -17
- package/dist/cdn/chunks/{tooltip-DhPeqDvL.js → tooltip-yN6v0-a6.js} +33 -25
- package/dist/cdn/chunks/{top-navigation-bar-CHWqoNms.js → top-navigation-bar-DSv3hYF4.js} +28 -28
- package/dist/cdn/chunks/{top-title-bar-DUp0bSIU.js → top-title-bar-Cs93GAbh.js} +12 -12
- package/dist/cdn/chunks/{translations-C6WKR-hE.js → translations-1C8iw2u1.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-CftZqodu.js → two-thirds-one-third-section-DtrkuHxs.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BdTSfsD6.js → validation-list-BrEOIlrc.js} +35 -42
- package/dist/cdn/chunks/{visibility-mixin-DL737l0g.js → visibility-mixin-CklY4qL7.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-DvU3wAD4.js → visually-hidden-Clb3JvVO.js} +2 -2
- package/dist/cdn/chunks/{window-7XYqha2V.js → window-CVRtBBjQ.js} +11 -11
- package/dist/cdn/chunks/{with-translations-nT8q6ELU.js → with-translations-CaLhynTn.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 +26 -26
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +43 -43
- 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 +5 -5
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +33 -12
- 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 +7 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +30 -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 +1 -0
- 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/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 +862 -925
- 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-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +151 -176
- 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/data.generated.json +1 -1
- package/lint/fix.js +43 -0
- package/lint/linter.js +4 -0
- package/lint/main.js +2 -0
- package/lint/rule.schema.json +11 -1
- package/lint/wcag.js +67 -0
- 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-9tEGLRZC.js +0 -131
- package/dist/cdn/chunks/toolbar-item-B-EDYaPf.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/fix.js
CHANGED
|
@@ -178,6 +178,48 @@ function wrapEdits(source, finding, wrapper) {
|
|
|
178
178
|
return [{ from: content.start, to: content.end, text: leading + wrapped + trailing }];
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* A wrapper that is gone: its one child takes its place, with the wrapper's
|
|
183
|
+
* attributes (its `slot`, say) and one level of indent less. `drop` names what
|
|
184
|
+
* does nothing on the child; `move` names what only some children take.
|
|
185
|
+
* Text, a second child or an attribute the child already has makes no edit.
|
|
186
|
+
*/
|
|
187
|
+
function unwrapEdits(source, finding, { drop = [], move = {} }) {
|
|
188
|
+
const { inner, startTag, offset, endOffset, tag } = finding;
|
|
189
|
+
if (!startTag || startTag.selfClosing || endOffset === undefined || !source.startsWith(`<${tag}`, offset)) return [];
|
|
190
|
+
if (!inner?.startTag || inner.endOffset === undefined) return [];
|
|
191
|
+
const closing = source.lastIndexOf('</', endOffset);
|
|
192
|
+
if (!new RegExp(`^</${tag}\\s*>$`).test(source.slice(closing, endOffset + 1))) return [];
|
|
193
|
+
// Only whitespace around the child: a comment or a hole could hold anything.
|
|
194
|
+
if (source.slice(startTag.end + 1, inner.offset).trim() || source.slice(inner.endOffset + 1, closing).trim()) return [];
|
|
195
|
+
const carried = [];
|
|
196
|
+
for (const attribute of finding.startTag.attributes) {
|
|
197
|
+
if (!attribute.name || attribute.templated) return [];
|
|
198
|
+
if (drop.includes(attribute.name)) continue;
|
|
199
|
+
if (move[attribute.name] && !move[attribute.name].includes(inner.tag)) return [];
|
|
200
|
+
if (findAttribute(inner.startTag, attribute.name)) return [];
|
|
201
|
+
carried.push(source.slice(attribute.start, attribute.end));
|
|
202
|
+
}
|
|
203
|
+
const lineStart = (offset) => source.lastIndexOf('\n', offset - 1) + 1;
|
|
204
|
+
const indent = source.slice(lineStart(finding.offset), finding.offset);
|
|
205
|
+
const innerIndent = source.slice(lineStart(inner.offset), inner.offset);
|
|
206
|
+
// One line, or after other markup on its line: nothing to take back.
|
|
207
|
+
const flat = lineStart(inner.offset) === lineStart(finding.offset) || /\S/.test(indent) || /\S/.test(innerIndent) || !innerIndent.startsWith(indent);
|
|
208
|
+
// Text whose white space counts (a template literal, an expression, <pre>,
|
|
209
|
+
// an attribute value over more lines) keeps its indent: the child is moved,
|
|
210
|
+
// not reformatted. Any `{` counts on purpose: a skipped de-indent costs
|
|
211
|
+
// nothing, a wrong one changes the text.
|
|
212
|
+
const verbatim = /[`{]|<(pre|textarea)\b|="[^"]*\n|='[^']*\n/i.test(source.slice(inner.offset, inner.endOffset + 1));
|
|
213
|
+
const unit = flat || verbatim ? '' : innerIndent.slice(indent.length);
|
|
214
|
+
const nameEnd = inner.offset + 1 + inner.tag.length;
|
|
215
|
+
const split = inner.startTag.attributes.length > 0 && /\n/.test(source.slice(nameEnd, inner.startTag.attributes[0].start));
|
|
216
|
+
const attributeIndent = split ? /\n([ \t]*)$/.exec(source.slice(nameEnd, inner.startTag.attributes[0].start))[1] : '';
|
|
217
|
+
const added = carried.map((text) => (split ? `\n${attributeIndent}${text}` : ` ${text}`)).join('');
|
|
218
|
+
let text = source.slice(inner.offset, nameEnd) + added + source.slice(nameEnd, inner.endOffset + 1);
|
|
219
|
+
if (unit) text = text.replaceAll(`\n${indent}${unit}`, `\n${indent}`);
|
|
220
|
+
return [{ from: finding.offset, to: finding.endOffset + 1, text }];
|
|
221
|
+
}
|
|
222
|
+
|
|
181
223
|
/** An edit is `{ from, to, text }` in the source. What is not certain makes none. */
|
|
182
224
|
function editsOf(source, finding) {
|
|
183
225
|
const { fix, offset, tag, mention, startTag } = finding;
|
|
@@ -189,6 +231,7 @@ function editsOf(source, finding) {
|
|
|
189
231
|
...(fix.tag && mention ? [{ from: offset + 1, to: offset + 1 + tag.length, text: fix.tag }] : []),
|
|
190
232
|
...(fix.tag && !mention ? tagEdits(source, finding, fix.tag) : []),
|
|
191
233
|
...(fix.wrap ? wrapEdits(source, finding, fix.wrap) : []),
|
|
234
|
+
...(fix.unwrap ? unwrapEdits(source, finding, fix.unwrap) : []),
|
|
192
235
|
...(fix.translation ? translationEdits(source, finding, fix.translation) : []),
|
|
193
236
|
// A token that got another name: the finding spans the old name in a `var()`, and
|
|
194
237
|
// startsWith checks that the span still holds it.
|
package/lint/linter.js
CHANGED
|
@@ -541,6 +541,10 @@ export function createLinter(data = loadData(), { wrappers = {}, severities: con
|
|
|
541
541
|
endOffset: node.endOffset,
|
|
542
542
|
mention: node.mention,
|
|
543
543
|
startTag: node.startTag,
|
|
544
|
+
// What takes the place of a wrapper that is gone: its one child.
|
|
545
|
+
...(finding.fix?.unwrap && node.children.length === 1 && !node.text && !node.opaque
|
|
546
|
+
? { inner: { tag: node.children[0].name, offset: node.children[0].offset, endOffset: node.children[0].endOffset, startTag: node.children[0].startTag } }
|
|
547
|
+
: {}),
|
|
544
548
|
jsx,
|
|
545
549
|
...position(node.offset),
|
|
546
550
|
}))
|
package/lint/main.js
CHANGED
|
@@ -6,6 +6,7 @@ import { parseArgs } from 'node:util';
|
|
|
6
6
|
import { formatGithub, formatJson, formatStatistics, formatText } from './format.js';
|
|
7
7
|
import { BUILT_IN_RULES, createCanonical, loadData, GROUPS, OPT_IN_GROUPS, resolveSeverities } from './rule-data.js';
|
|
8
8
|
import { rulesAboutTag } from './rule-index.js';
|
|
9
|
+
import { WCAG } from './wcag.js';
|
|
9
10
|
import { applyBaseline, looseInBaseline, tightenBaseline, readBaseline, readConfig, relativePath, writeBaseline } from './project.js';
|
|
10
11
|
import { knownKeys, lintProject } from './session.js';
|
|
11
12
|
|
|
@@ -44,6 +45,7 @@ function explain(data, id) {
|
|
|
44
45
|
return 2;
|
|
45
46
|
}
|
|
46
47
|
const lines = [`${rule.id} (${rule.group}, ${rule.severity})`, '', rule.message];
|
|
48
|
+
if (rule.wcag) lines.push('', ...rule.wcag.map((criterion) => `WCAG ${criterion} ${WCAG[criterion].name} (${WCAG[criterion].level})`));
|
|
47
49
|
if (rule.url) lines.push('', `Why: ${rule.url}`);
|
|
48
50
|
if (rule.runtime) lines.push('', 'Only the running page can tell, so this runs in the browser while developing.');
|
|
49
51
|
if (rule.examples) {
|
package/lint/rule.schema.json
CHANGED
|
@@ -25,7 +25,16 @@
|
|
|
25
25
|
"flag": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Attributes in `removed` whose value became a boolean attribute, old to new. The context names the value; only a value written out in the markup." },
|
|
26
26
|
"tag": { "type": "string", "description": "The new tag of a component in `removed` that got another name." },
|
|
27
27
|
"translation": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Attributes in `removed` whose text became a translation key, attribute to key. The text goes in `translations`; only a value written out in the markup." },
|
|
28
|
-
"wrap": { "type": "string", "description": "The element that the text of an element goes in, with any inline elements. Only content written out in the markup, with inline elements only." }
|
|
28
|
+
"wrap": { "type": "string", "description": "The element that the text of an element goes in, with any inline elements. Only content written out in the markup, with inline elements only." },
|
|
29
|
+
"unwrap": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"properties": {
|
|
33
|
+
"drop": { "type": "array", "items": { "type": "string" }, "description": "Attributes of the wrapper that do nothing on its child and go." },
|
|
34
|
+
"move": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "Attributes of the wrapper that only these children take, attribute to tags. On any other child the fix makes no edit." }
|
|
35
|
+
},
|
|
36
|
+
"description": "A wrapper in `removed` that is gone: its one child takes its place, with the wrapper's other attributes. Only when the child is all it holds, with whitespace around it."
|
|
37
|
+
}
|
|
29
38
|
}
|
|
30
39
|
},
|
|
31
40
|
"context": { "type": "string", "description": "CSS selector for the elements the rule applies to." },
|
|
@@ -53,6 +62,7 @@
|
|
|
53
62
|
},
|
|
54
63
|
"message": { "type": "string", "description": "What is wrong here, in English, for the developer." },
|
|
55
64
|
"see": { "type": "string", "pattern": "^(patronen|ontwerprichtlijnen|componenten)/", "description": "Where the why is explained: a pattern, a section of the guidelines, or the page of the component that explains it." },
|
|
65
|
+
"wcag": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^[1-4]\\.[0-9]\\.[0-9]{1,2}$" }, "description": "The WCAG 2.2 success criteria, level A and AA, that a finding of this rule puts at risk, by number. Only where the link is direct: the accessibility page lists the rule under each." },
|
|
56
66
|
"aliases": { "type": "array", "items": { "type": "string" }, "description": "Former ids, so baselines and suppressions keep working." },
|
|
57
67
|
"examples": {
|
|
58
68
|
"type": "object",
|
package/lint/wcag.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The success criteria of WCAG 2.2 at level A and AA, by number: what a rule
|
|
3
|
+
* names in `wcag`. 4.1.1 Parsing is not here, because WCAG 2.2 removed it.
|
|
4
|
+
*/
|
|
5
|
+
export const WCAG = {
|
|
6
|
+
'1.1.1': { name: 'Non-text Content', level: 'A' },
|
|
7
|
+
'1.2.1': { name: 'Audio-only and Video-only (Prerecorded)', level: 'A' },
|
|
8
|
+
'1.2.2': { name: 'Captions (Prerecorded)', level: 'A' },
|
|
9
|
+
'1.2.3': { name: 'Audio Description or Media Alternative (Prerecorded)', level: 'A' },
|
|
10
|
+
'1.2.4': { name: 'Captions (Live)', level: 'AA' },
|
|
11
|
+
'1.2.5': { name: 'Audio Description (Prerecorded)', level: 'AA' },
|
|
12
|
+
'1.3.1': { name: 'Info and Relationships', level: 'A' },
|
|
13
|
+
'1.3.2': { name: 'Meaningful Sequence', level: 'A' },
|
|
14
|
+
'1.3.3': { name: 'Sensory Characteristics', level: 'A' },
|
|
15
|
+
'1.3.4': { name: 'Orientation', level: 'AA' },
|
|
16
|
+
'1.3.5': { name: 'Identify Input Purpose', level: 'AA' },
|
|
17
|
+
'1.4.1': { name: 'Use of Color', level: 'A' },
|
|
18
|
+
'1.4.2': { name: 'Audio Control', level: 'A' },
|
|
19
|
+
'1.4.3': { name: 'Contrast (Minimum)', level: 'AA' },
|
|
20
|
+
'1.4.4': { name: 'Resize Text', level: 'AA' },
|
|
21
|
+
'1.4.5': { name: 'Images of Text', level: 'AA' },
|
|
22
|
+
'1.4.10': { name: 'Reflow', level: 'AA' },
|
|
23
|
+
'1.4.11': { name: 'Non-text Contrast', level: 'AA' },
|
|
24
|
+
'1.4.12': { name: 'Text Spacing', level: 'AA' },
|
|
25
|
+
'1.4.13': { name: 'Content on Hover or Focus', level: 'AA' },
|
|
26
|
+
'2.1.1': { name: 'Keyboard', level: 'A' },
|
|
27
|
+
'2.1.2': { name: 'No Keyboard Trap', level: 'A' },
|
|
28
|
+
'2.1.4': { name: 'Character Key Shortcuts', level: 'A' },
|
|
29
|
+
'2.2.1': { name: 'Timing Adjustable', level: 'A' },
|
|
30
|
+
'2.2.2': { name: 'Pause, Stop, Hide', level: 'A' },
|
|
31
|
+
'2.3.1': { name: 'Three Flashes or Below Threshold', level: 'A' },
|
|
32
|
+
'2.4.1': { name: 'Bypass Blocks', level: 'A' },
|
|
33
|
+
'2.4.2': { name: 'Page Titled', level: 'A' },
|
|
34
|
+
'2.4.3': { name: 'Focus Order', level: 'A' },
|
|
35
|
+
'2.4.4': { name: 'Link Purpose (In Context)', level: 'A' },
|
|
36
|
+
'2.4.5': { name: 'Multiple Ways', level: 'AA' },
|
|
37
|
+
'2.4.6': { name: 'Headings and Labels', level: 'AA' },
|
|
38
|
+
'2.4.7': { name: 'Focus Visible', level: 'AA' },
|
|
39
|
+
'2.4.11': { name: 'Focus Not Obscured (Minimum)', level: 'AA' },
|
|
40
|
+
'2.5.1': { name: 'Pointer Gestures', level: 'A' },
|
|
41
|
+
'2.5.2': { name: 'Pointer Cancellation', level: 'A' },
|
|
42
|
+
'2.5.3': { name: 'Label in Name', level: 'A' },
|
|
43
|
+
'2.5.4': { name: 'Motion Actuation', level: 'A' },
|
|
44
|
+
'2.5.7': { name: 'Dragging Movements', level: 'AA' },
|
|
45
|
+
'2.5.8': { name: 'Target Size (Minimum)', level: 'AA' },
|
|
46
|
+
'3.1.1': { name: 'Language of Page', level: 'A' },
|
|
47
|
+
'3.1.2': { name: 'Language of Parts', level: 'AA' },
|
|
48
|
+
'3.2.1': { name: 'On Focus', level: 'A' },
|
|
49
|
+
'3.2.2': { name: 'On Input', level: 'A' },
|
|
50
|
+
'3.2.3': { name: 'Consistent Navigation', level: 'AA' },
|
|
51
|
+
'3.2.4': { name: 'Consistent Identification', level: 'AA' },
|
|
52
|
+
'3.2.6': { name: 'Consistent Help', level: 'A' },
|
|
53
|
+
'3.3.1': { name: 'Error Identification', level: 'A' },
|
|
54
|
+
'3.3.2': { name: 'Labels or Instructions', level: 'A' },
|
|
55
|
+
'3.3.3': { name: 'Error Suggestion', level: 'AA' },
|
|
56
|
+
'3.3.4': { name: 'Error Prevention (Legal, Financial, Data)', level: 'AA' },
|
|
57
|
+
'3.3.7': { name: 'Redundant Entry', level: 'A' },
|
|
58
|
+
'3.3.8': { name: 'Accessible Authentication (Minimum)', level: 'AA' },
|
|
59
|
+
'4.1.2': { name: 'Name, Role, Value', level: 'A' },
|
|
60
|
+
'4.1.3': { name: 'Status Messages', level: 'AA' },
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** Criteria in the order of the standard: 1.4.5 before 1.4.10. */
|
|
64
|
+
export function compareCriteria(a, b) {
|
|
65
|
+
const [x, y] = [a, b].map((number) => number.split('.').map(Number));
|
|
66
|
+
return x[0] - y[0] || x[1] - y[1] || x[2] - y[2];
|
|
67
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.1",
|
|
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-BhnGmemK.js";
|
|
2
|
-
import { c as r, r as i, s as a } from "./custom-element-DtLjpays.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-DR73IFIL.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-BhnGmemK.js";
|
|
2
|
-
import { r as i } from "./custom-element-DtLjpays.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-BiT7JPsr.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"}
|