@nldd/design-system 0.28.1 → 0.29.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/README.md +1 -1
- package/custom-elements.json +1909 -684
- package/dist/assets/styles/shadow-resets.d.ts +7 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +17 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/assets/styles/text-wrap.d.ts +78 -0
- package/dist/assets/styles/text-wrap.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts +6 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.js +25 -0
- package/dist/assets/styles/text-wrap.fixtures.js.map +1 -0
- package/dist/assets/styles/text-wrap.js +102 -0
- package/dist/assets/styles/text-wrap.js.map +1 -0
- package/dist/cdn/autoloader.js +140 -140
- package/dist/cdn/chunks/{accordion-qNc04J73.js → accordion-BIgPiBgT.js} +5 -4
- package/dist/cdn/chunks/{accordion-item-C6M7whqP.js → accordion-item-YHiK4fhb.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-NvfhYycS.js → activity-indicator-BiuU--e6.js} +23 -31
- package/dist/cdn/chunks/{admonition-CrFn5dn8.js → admonition-CpxxWW6f.js} +21 -20
- package/dist/cdn/chunks/{avatar-De4nVQAy.js → avatar-DeeEjbzl.js} +46 -45
- package/dist/cdn/chunks/{avatar-group-cS_7WjsC.js → avatar-group-Ey17PhOt.js} +16 -16
- package/dist/cdn/chunks/{badge-BNmnWgNJ.js → badge-B0K1AVec.js} +5 -10
- package/dist/cdn/chunks/{banner-CJ0VfDQl.js → banner-YQpzU7Yz.js} +27 -33
- package/dist/cdn/chunks/{bar-split-view-DJZ_RMrc.js → bar-split-view-DNWrGLv3.js} +7 -7
- package/dist/cdn/chunks/{blockquote-Fbk-Cz-z.js → blockquote-zBgtNbdZ.js} +32 -29
- package/dist/cdn/chunks/{box-DUjTdMwj.js → box-CLEd1Y-1.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DvQfnS-r.js → breadcrumbs-DCwiSLxQ.js} +44 -51
- package/dist/cdn/chunks/{button-BiZEK2qo.js → button-DpSJe6ns.js} +84 -89
- package/dist/cdn/chunks/{button-bar-BD8YYSya.js → button-bar-Bw46AWOo.js} +3 -3
- package/dist/cdn/chunks/{button-group-BDgwtxiB.js → button-group-Bd5CZm4t.js} +2 -2
- package/dist/cdn/chunks/{card-7YW4G3mN.js → card-xq9jqLek.js} +20 -19
- package/dist/cdn/chunks/{cell-D4rzlHiL.js → cell-CNGu9Srs.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BAXC8LxT.js → checkbox-DJU2ntYs.js} +6 -5
- package/dist/cdn/chunks/{checkbox-field-DokK3uET.js → checkbox-field-36mh4uD-.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-dYi8Qw-Z.js → checkbox-group-CaoyYQC1.js} +3 -3
- package/dist/cdn/chunks/{class-map-Dk5rXpmX.js → class-map-07EioFee.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Uc5WnSyE.js → code-editor-CqHXUdbC.js} +6 -5
- package/dist/cdn/chunks/{code-viewer-DmaSO8TW.js → code-viewer-ro55V04o.js} +42 -58
- package/dist/cdn/chunks/{codemirror-input-yuu4_CF5.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-DRkMikEK.js → collection-DVED8Kff.js} +13 -15
- package/dist/cdn/chunks/{combo-box-BfgDCM9z.js → combo-box-CMdGMQ8q.js} +13 -15
- package/dist/cdn/chunks/{container-Ce02W6bB.js → container-BxfHTSXb.js} +2 -2
- package/dist/cdn/chunks/{custom-element-B7CAmse4.js → custom-element-7tLnKgZE.js} +1 -1
- package/dist/cdn/chunks/{date-field-D0qFC7IW.js → date-field-KrAEvvJg.js} +91 -104
- package/dist/cdn/chunks/{date-picker-DwXIznN6.js → date-picker-CeyTd4Mj.js} +134 -128
- package/dist/cdn/chunks/{decorate-CrwTiRI4.js → decorate-CIC8fGPN.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Dks9Tazd.js → described-by-mixin-DSeADwWP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-vdXLTWdM.js → description-cell-DDjPf92m.js} +42 -26
- package/dist/cdn/chunks/{dev-checks-C7AQOQdy.js → dev-checks-DE09CTk9.js} +20 -5
- package/dist/cdn/chunks/{directive-helpers-DhYhHq0V.js → directive-helpers-DUlH8eNt.js} +1 -1
- package/dist/cdn/chunks/{dist-BF_HsA1F.js → dist-3XSbEdbz.js} +1 -1
- package/dist/cdn/chunks/{dist-fQWTQex_.js → dist-BV06hHwA.js} +3 -3
- package/dist/cdn/chunks/{dist-CpFmom1e.js → dist-CLyXDlop.js} +1 -1
- package/dist/cdn/chunks/{dist-BO8LBhZ9.js → dist-CanlbdZP.js} +1 -1
- package/dist/cdn/chunks/{dist-Ef-Tq6YF.js → dist-Cku1NQ9X.js} +2 -2
- package/dist/cdn/chunks/{dist-DKwVzsKb.js → dist-DJ_2VKiG.js} +3 -3
- package/dist/cdn/chunks/{dist-DA8xWaRD.js → dist-Dpc1YfbE.js} +1 -1
- package/dist/cdn/chunks/{dist-C3SPGWp1.js → dist-DsE-63gX.js} +1 -1
- package/dist/cdn/chunks/{dist-DsI2zIZX.js → dist-DtpgX9L8.js} +2 -2
- package/dist/cdn/chunks/{dist-BStcClNc.js → dist-DuaPU_hA.js} +2 -2
- package/dist/cdn/chunks/{dist-L5MKtblc.js → dist-lUsXGXhR.js} +1 -1
- package/dist/cdn/chunks/{divider-DtcYfGdC.js → divider-BixGehzs.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C16nriDX.js → document-tab-bar-BlP7NEb9.js} +57 -65
- package/dist/cdn/chunks/{dropdown-imPdtMWv.js → dropdown-DpCdMFod.js} +12 -11
- package/dist/cdn/chunks/{file-field-KvBiDQDG.js → file-field-CYjsw4xy.js} +127 -133
- package/dist/cdn/chunks/{form-D1EnbYQi.js → form-DDB03czp.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BVb12cWB.js → form-actions-DZgcVawx.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-1aHgl6CN.js → form-associated-mixin-9cC5HSCG.js} +2 -2
- package/dist/cdn/chunks/{form-field-C7IKuhqV.js → form-field-CuTa78j4.js} +62 -57
- package/dist/cdn/chunks/{form-section-C3EY5PYR.js → form-section-J2if8kVt.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-D0Eg6xrZ.js → full-bleed-section-enjghRsm.js} +3 -3
- package/dist/cdn/chunks/{hero-CLt5Cw5O.js → hero-AHBPM3ks.js} +14 -14
- package/dist/cdn/chunks/{icon-Dm2x9BcO.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-CBEWhco-.js → icon-button-CkNgX7Ra.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-DXxd6Nry.js → icon-cell-qieQ2vyq.js} +26 -27
- package/dist/cdn/chunks/{identity-BeTWWEj8.js → identity-CnYwgyF7.js} +24 -21
- package/dist/cdn/chunks/{if-defined-mF0X0Rdi.js → if-defined-BG5WQE1B.js} +1 -1
- package/dist/cdn/chunks/{image-COSXwiWa.js → image--K2M19ce.js} +57 -57
- package/dist/cdn/chunks/{inline-dialog-DIOgk8bK.js → inline-dialog-CfiC1tbk.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-BZNVdvuU.js → just-in-time-education-Dxca2LqF.js} +24 -32
- package/dist/cdn/chunks/{kanban-Cck2OXzv.js → kanban-Dwb93dgS.js} +6 -6
- package/dist/cdn/chunks/{kanban-column--KK3DP8d.js → kanban-column-Br4GovWU.js} +28 -33
- package/dist/cdn/chunks/{keyboard-shortcut-CuyFIf1M.js → keyboard-shortcut-a-CkABX1.js} +68 -73
- package/dist/cdn/chunks/{languages-AgQxW3ST.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{layout-pass-Cq85kSHX.js → layout-pass-B2ALRYc9.js} +14 -4
- package/dist/cdn/chunks/{link-Dwx2iVe3.js → link-CROYAF4K.js} +37 -44
- package/dist/cdn/chunks/{link-group-C1W4fywA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DLzBphoL.js → list-D_BWUBh4.js} +41 -51
- package/dist/cdn/chunks/{list-item-C_ehVVWB.js → list-item-DeFrncLo.js} +116 -127
- package/dist/cdn/chunks/{list-item-segment-BSKAGZX1.js → list-item-segment-C1X5v2_Z.js} +35 -42
- package/dist/cdn/chunks/{menu-C1PAGWta.js → menu-CkMJUE0H.js} +13 -19
- package/dist/cdn/chunks/{menu-bar-0nenrPh7.js → menu-bar-B3F-QjLV.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-CxwtcbeA.js → menu-bar-item-CyixR7Fi.js} +33 -41
- package/dist/cdn/chunks/{menu-divider-FTcoHy0o.js → menu-divider-uBPiSPsv.js} +3 -3
- package/dist/cdn/chunks/{menu-group-CbuJhLxI.js → menu-group-BXS5r-lc.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BMblp58r.js → menu-item-CORxUt3u.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DVwVuOZ7.js → menu.template-NyA_JtUm.js} +63 -64
- package/dist/cdn/chunks/{modal-dialog-Bd0UpTKp.js → modal-dialog-Dt5uenA0.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-C_Mrqdc7.js → multi-line-text-field-CkCvyJov.js} +7 -6
- package/dist/cdn/chunks/{navigation-split-view-DI6bkyO8.js → navigation-split-view-Clp3Camr.js} +7 -7
- package/dist/cdn/chunks/{notification-DlP3Jqyg.js → notification-B36JO2cS.js} +102 -101
- package/dist/cdn/chunks/{number-field-BJ6CkhId.js → number-field-Cjrwd3G0.js} +86 -61
- package/dist/cdn/chunks/{one-half-one-half-section-DHCUh_wz.js → one-half-one-half-section-Bc4rFjtM.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DYTm8bKQ.js → one-third-two-thirds-section-DikIdU3X.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DHuL7IM1.js → one-time-code-field-CqNmLld4.js} +29 -23
- package/dist/cdn/chunks/{overflow-menu-ziAYinfd.js → overflow-menu-6tdlRjhY.js} +1 -1
- package/dist/cdn/chunks/{page-CN9aT0-o.js → page-CpdGz0K6.js} +23 -16
- package/dist/cdn/chunks/{page-footer-BHk3XPcl.js → page-footer-_W5dGcQt.js} +46 -47
- package/dist/cdn/chunks/{page-section-mixin-BCWdaBe-.js → page-section-mixin-DSdHIkwR.js} +3 -3
- package/dist/cdn/chunks/{pagination-TG6S64c8.js → pagination-DJqmp7nt.js} +9 -12
- package/dist/cdn/chunks/{password-field-WlBkV6Zk.js → password-field-JKBHK_MQ.js} +12 -14
- package/dist/cdn/chunks/picker-popover-controller-dE7AINjc.js +15 -0
- package/dist/cdn/chunks/{popover-SPjzHEBv.js → popover-LljgfgHS.js} +8 -11
- package/dist/cdn/chunks/{progress-bar-y1V2-yVB.js → progress-bar-fILD82bn.js} +48 -46
- package/dist/cdn/chunks/{progress-circle-CmHdUkXN.js → progress-circle-72YbT9v1.js} +50 -51
- package/dist/cdn/chunks/{radio-button-0w_6MBnr.js → radio-button-B45WY4fZ.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-DRxHUlU-.js → radio-button-field-CG2ljZ-j.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-BOSrS8Cw.js → radio-button-group-DgQHIiXR.js} +3 -3
- package/dist/cdn/chunks/{render-marked-B37AmEcK.js → render-marked-vXU387IN.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNexvOly.js → reorder-handle-cell-Bc0LM08A.js} +7 -10
- package/dist/cdn/chunks/{reorder-handle-mixin-DR6s48h0.js → reorder-handle-mixin-DIkeFpRU.js} +2 -2
- package/dist/cdn/chunks/{repeat-DmJWskI3.js → repeat-Cy1a-r4p.js} +2 -2
- package/dist/cdn/chunks/{rich-text-Dt9MNeaN.js → rich-text-BZ6J0VNi.js} +6 -9
- package/dist/cdn/chunks/{row-header-mixin-CACRXO0G.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/sanitize-url-EEu5iGkI.js +7 -0
- package/dist/cdn/chunks/{scroll-fade-CnG9vdGO.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js} +1 -1
- package/dist/cdn/chunks/{search-field-DHwGMif1.js → search-field-BaPPorsw.js} +14 -16
- package/dist/cdn/chunks/{segmented-control-DhEmavt0.js → segmented-control-CY7eFebV.js} +10 -11
- package/dist/cdn/chunks/{shadow-resets-B5O9JTmC.js → shadow-resets-kAFcguCG.js} +13 -3
- package/dist/cdn/chunks/{sheet-BLe_3_DE.js → sheet-EvUuqzd5.js} +3 -3
- package/dist/cdn/chunks/{shell-DqPhGCqs.js → shell-ZiZriusi.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-DCAuNLWx.js → side-by-side-split-view-qj871uv2.js} +6 -6
- package/dist/cdn/chunks/{sidebar-section-nC17BdDf.js → sidebar-section-C2KLgpwu.js} +77 -77
- package/dist/cdn/chunks/{simple-section-C2XC7_dY.js → simple-section-CVQRynxS.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DVUTni1o.js → skip-link-CpxEwJKH.js} +28 -26
- package/dist/cdn/chunks/{slider-D6bcOyZe.js → slider-DHY89yV6.js} +13 -15
- package/dist/cdn/chunks/{spacer-D39nYCkZ.js → spacer-BDRDeRQr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BWIkzpvO.js → spacer-cell-DvUxqmbS.js} +4 -4
- package/dist/cdn/chunks/{split-button-QFO3hzQ4.js → split-button-DGzX2W4w.js} +12 -13
- package/dist/cdn/chunks/{split-view-divider-BwBUUVjD.js → split-view-divider-BQdN8I8c.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-yNPky0NT.js → stacked-split-view-CdXyXpzb.js} +6 -6
- package/dist/cdn/chunks/{static-html-CTzABBaH.js → static-html-ooiG7-by.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CLC37EL9.js → status-bar-S5IvBhAD.js} +5 -5
- package/dist/cdn/chunks/{step-bar-BhgHHkDX.js → step-bar-pkYf_gF8.js} +36 -43
- package/dist/cdn/chunks/{step-cell-DC2qTAyk.js → step-cell-3yG-UCmv.js} +5 -5
- package/dist/cdn/chunks/{stepper-B-cc2_Sm.js → stepper-DIufBp3c.js} +10 -13
- package/dist/cdn/chunks/{style-map-HtOjYtU6.js → style-map-DP8rklU9.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-k_4WmoQz.js → swatch-picker-uyMsXHeI.js} +7 -6
- package/dist/cdn/chunks/{switch-CkeeQxIb.js → switch-DQ3UDIy5.js} +6 -5
- package/dist/cdn/chunks/{switch-field-Bz3JEf0A.js → switch-field-BXH62I0E.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-A1J5hAqM.js → tab-bar-B2m7RGKe.js} +63 -61
- package/dist/cdn/chunks/{table-D_AIkENk.js → table-Dtg4t_dM.js} +44 -45
- package/dist/cdn/chunks/{tag-CSEVQj4T.js → tag-BdB8MDQQ.js} +21 -19
- package/dist/cdn/chunks/{term-DuVHCQcO.js → term-DD2K8Qqb.js} +15 -18
- package/dist/cdn/chunks/{text-CBH-FTlq.js → text-C8iP63bA.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D60E-KiB.js → text-cell-1pWwBLLI.js} +55 -42
- package/dist/cdn/chunks/{text-editor-CFesnlv8.js → text-editor-DjNky4l-.js} +615 -629
- package/dist/cdn/chunks/{text-field-ClvBNmw_.js → text-field-ClVrHYGz.js} +7 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-D1ueoBOt.js → time-field-CrwLpzZp.js} +49 -55
- package/dist/cdn/chunks/{time-picker-ttlWNV2I.js → time-picker-BYhEzGJL.js} +103 -98
- package/dist/cdn/chunks/{title-D2otK52V.js → title-DdqeERnM.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BOolNM8K.js → title-cell-C4U3rN33.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CzWCZusb.js → toggle-button-CknaEM8j.js} +73 -66
- package/dist/cdn/chunks/{toggle-button-group-BUKU9xiy.js → toggle-button-group-CxyhERqD.js} +3 -3
- package/dist/cdn/chunks/{token-HxBj8tdv.js → token-I0vH42iy.js} +13 -15
- package/dist/cdn/chunks/{token-field-DHAfga9R.js → token-field-B1sAqN0B.js} +17 -19
- package/dist/cdn/chunks/{toolbar-CR6uWzjc.js → toolbar-DRIyU8-Z.js} +48 -54
- package/dist/cdn/chunks/{toolbar-item-M5kEBN_1.js → toolbar-item-D1JDaFal.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-2XyAXFDG.js → toolbar-title-D7CCOmDz.js} +7 -10
- package/dist/cdn/chunks/{toolbar.styles-SLbsPK33.js → toolbar.styles-CXjPigMk.js} +10 -18
- package/dist/cdn/chunks/{tooltip-yN6v0-a6.js → tooltip-5clp5S3T.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-DSv3hYF4.js → top-navigation-bar-CEuIAOoy.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-Cs93GAbh.js → top-title-bar-M3NiRgr_.js} +14 -7
- package/dist/cdn/chunks/{two-thirds-one-third-section-DtrkuHxs.js → two-thirds-one-third-section-BJGAw7Mq.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BrEOIlrc.js → validation-list-CTb7X_Gq.js} +30 -31
- package/dist/cdn/chunks/{visibility-mixin-CklY4qL7.js → visibility-mixin-BgnkZDZM.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Clb3JvVO.js → visually-hidden-B4_jKNA7.js} +2 -2
- package/dist/cdn/chunks/{window-CVRtBBjQ.js → window-BmxrtW9P.js} +7 -10
- package/dist/cdn/chunks/with-translations-DSfo7eL-.js +28 -0
- package/dist/components/actions/button/button.d.ts +6 -9
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +5 -11
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +6 -9
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +5 -8
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +10 -13
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +3 -19
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +25 -22
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +3 -7
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -4
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +2 -10
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +2 -0
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +15 -25
- 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 +2 -10
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +3 -2
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion.d.ts +1 -1
- package/dist/components/content/accordion/accordion.js +1 -1
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.styles.js +1 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -2
- package/dist/components/content/admonition/admonition.js +2 -2
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +3 -2
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +14 -17
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +16 -16
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +2 -1
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +5 -8
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +3 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +16 -5
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +5 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -16
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-categories.d.ts +2 -0
- package/dist/components/content/icon/icon-categories.d.ts.map +1 -0
- package/dist/components/content/icon/icon-categories.js +454 -0
- package/dist/components/content/icon/icon-categories.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +3 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +9 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +9 -17
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +11 -8
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +15 -14
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +18 -25
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +3 -1
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +6 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +2 -10
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/text/text.d.ts +8 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +11 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -8
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +3 -1
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +3 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +7 -19
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts +9 -6
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +7 -14
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +2 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +5 -6
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +2 -11
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +8 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- 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 +12 -4
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +2 -9
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +1 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +7 -4
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +2 -10
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +26 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -21
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -12
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +128 -62
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +19 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +3 -8
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -7
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +75 -5
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -10
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +6 -9
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +16 -8
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +18 -19
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +30 -12
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +34 -25
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +6 -4
- 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 +30 -15
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +11 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +2 -10
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +7 -5
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -11
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +3 -4
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +7 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +2 -10
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +1 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +9 -5
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -11
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +20 -23
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -0
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +16 -10
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -15
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -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 +6 -3
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +7 -20
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +16 -5
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +5 -18
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +18 -4
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +15 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +7 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +11 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +1 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +0 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -10
- 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 +8 -12
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +13 -4
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +2 -9
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +3 -2
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +6 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +7 -4
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +1 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +9 -12
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -7
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +15 -6
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +30 -12
- 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 +2 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +5 -4
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +2 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +2 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +7 -7
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +13 -13
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +4 -5
- 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 +2 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +25 -22
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +5 -8
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -14
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -8
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -14
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +23 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +26 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +16 -3
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +3 -5
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -11
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +32 -1
- 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 +35 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +18 -1
- 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 +21 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +13 -5
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +2 -11
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -9
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -9
- 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 +4 -14
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -10
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -9
- 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.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +2 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +5 -4
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +15 -21
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +9 -6
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +6 -14
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +15 -15
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +10 -9
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -10
- 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.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -9
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +2 -10
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -6
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +9 -4
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -9
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +4 -7
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +6 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +2 -6
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -6
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +25 -17
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +8 -11
- 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.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +8 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +14 -1
- 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 +14 -0
- 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 +5 -4
- 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 +2 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -7
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +0 -5
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +5 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -10
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +3 -6
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +6 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -7
- 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.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +2 -10
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +4 -7
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -2
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +5 -0
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +9 -6
- 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 +3 -11
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +8 -4
- 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 +2 -9
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -12
- 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.js +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +8 -15
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +38 -40
- package/dist/css/text.css +2 -0
- package/dist/css/title.css +2 -0
- package/dist/css/variables.css +5 -1
- package/dist/nldd.min.js +1684 -1704
- package/dist/types/react.d.ts +79 -70
- package/dist/types/vue.d.ts +95 -85
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +20 -5
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/layout-pass.d.ts +3 -1
- package/dist/utilities/layout-pass.d.ts.map +1 -1
- package/dist/utilities/layout-pass.js +26 -3
- package/dist/utilities/layout-pass.js.map +1 -1
- package/dist/utilities/picker-popover-controller.d.ts +25 -0
- package/dist/utilities/picker-popover-controller.d.ts.map +1 -0
- package/dist/utilities/picker-popover-controller.js +33 -0
- package/dist/utilities/picker-popover-controller.js.map +1 -0
- package/dist/utilities/sanitize-url.d.ts +11 -5
- package/dist/utilities/sanitize-url.d.ts.map +1 -1
- package/dist/utilities/sanitize-url.js +13 -9
- package/dist/utilities/sanitize-url.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +14 -9
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +6 -5
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/package.json +1 -1
- package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +0 -7
- package/dist/cdn/chunks/translations-1C8iw2u1.js +0 -14
- package/dist/cdn/chunks/with-translations-CaLhynTn.js +0 -16
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { n as r, r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as r, r as i, s as a } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as u } from "./
|
|
4
|
+
import { r as s } from "./text-wrap-DJ9PcwZ4.js";
|
|
5
|
+
import { i as c, r as l } from "./element-state-D-J_cHEV.js";
|
|
6
|
+
import { t as u } from "./validation-list.i18n-CM6In8zD.js";
|
|
7
|
+
import { t as d } from "./with-translations-DSfo7eL-.js";
|
|
7
8
|
// src/components/forms/validation-list/validation-list.styles.ts
|
|
8
|
-
var
|
|
9
|
+
var f = a`
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
/* # Host */
|
|
@@ -32,7 +33,7 @@ var d = a`
|
|
|
32
33
|
flex-direction: column;
|
|
33
34
|
gap: var(--_validation-list-gap);
|
|
34
35
|
}
|
|
35
|
-
`,
|
|
36
|
+
`, p = a`
|
|
36
37
|
|
|
37
38
|
|
|
38
39
|
/* # Host */
|
|
@@ -45,6 +46,7 @@ var d = a`
|
|
|
45
46
|
--context-content-color: var(--_validation-item-content-color);
|
|
46
47
|
color: var(--_validation-item-content-color);
|
|
47
48
|
font: var(--_validation-item-font);
|
|
49
|
+
${s}
|
|
48
50
|
text-wrap: pretty;
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -63,7 +65,7 @@ var d = a`
|
|
|
63
65
|
}
|
|
64
66
|
`;
|
|
65
67
|
// src/components/forms/validation-list/validation-list.template.ts
|
|
66
|
-
function
|
|
68
|
+
function m(e) {
|
|
67
69
|
return t`
|
|
68
70
|
<div class="validation-list"
|
|
69
71
|
role="list"
|
|
@@ -72,13 +74,13 @@ function p(e) {
|
|
|
72
74
|
</div>
|
|
73
75
|
`;
|
|
74
76
|
}
|
|
75
|
-
function
|
|
77
|
+
function h(e) {
|
|
76
78
|
return t`
|
|
77
79
|
<slot></slot>
|
|
78
80
|
`;
|
|
79
81
|
}
|
|
80
82
|
// src/components/forms/validation-list/validation-list.ts
|
|
81
|
-
var
|
|
83
|
+
var g = class extends e {
|
|
82
84
|
constructor(...e) {
|
|
83
85
|
super(...e), this.hint = !1, this.unmet = !1, this.visible = !1, this.match = "", this.required = !1;
|
|
84
86
|
}
|
|
@@ -92,8 +94,8 @@ var h = class extends e {
|
|
|
92
94
|
super.connectedCallback(), this.setAttribute("role", "listitem");
|
|
93
95
|
}
|
|
94
96
|
updated(e) {
|
|
95
|
-
let t = this.parentElement instanceof
|
|
96
|
-
e.has("unmet") &&
|
|
97
|
+
let t = this.parentElement instanceof y ? this.parentElement : null;
|
|
98
|
+
e.has("unmet") && c(this, "unmet", this.unmet), e.has("visible") && (c(this, "visible", this.visible), t?.onItemVisibilityChange?.()), [
|
|
97
99
|
"match",
|
|
98
100
|
"minlength",
|
|
99
101
|
"maxlength",
|
|
@@ -101,22 +103,19 @@ var h = class extends e {
|
|
|
101
103
|
].some((t) => e.has(t)) && t?.requestUpdate();
|
|
102
104
|
}
|
|
103
105
|
render() {
|
|
104
|
-
return
|
|
106
|
+
return h(this);
|
|
105
107
|
}
|
|
106
|
-
},
|
|
108
|
+
}, _, v = (g.styles = p, g);
|
|
107
109
|
n([i({
|
|
108
110
|
type: Boolean,
|
|
109
111
|
reflect: !0
|
|
110
|
-
})],
|
|
112
|
+
})], v.prototype, "hint", void 0), n([i({ attribute: !1 })], v.prototype, "unmet", void 0), n([i({ attribute: !1 })], v.prototype, "visible", void 0), n([i({ type: Number })], v.prototype, "minlength", void 0), n([i({ type: Number })], v.prototype, "maxlength", void 0), n([i({ type: String })], v.prototype, "match", void 0), n([i({
|
|
111
113
|
type: Boolean,
|
|
112
114
|
reflect: !0
|
|
113
|
-
})],
|
|
114
|
-
var
|
|
115
|
+
})], v.prototype, "required", void 0), v = n([o("nldd-validation-item")], v);
|
|
116
|
+
var y = (_ = class extends d(e, u) {
|
|
115
117
|
constructor(...e) {
|
|
116
|
-
super(...e), this.hint = !1, this.judging = !1, this.for = "", this.control = null, this.
|
|
117
|
-
}
|
|
118
|
-
_t(e, t) {
|
|
119
|
-
return u(this.translations, l, e, t);
|
|
118
|
+
super(...e), this.hint = !1, this.judging = !1, this.for = "", this.control = null, this.onItemVisibilityChange = null, this._resolved = null, this._observer = null, this._onInput = () => this._evaluate(), this._fallbackItem = null;
|
|
120
119
|
}
|
|
121
120
|
connectedCallback() {
|
|
122
121
|
super.connectedCallback(), this._resolve();
|
|
@@ -134,10 +133,10 @@ var v = (g = class extends e {
|
|
|
134
133
|
this._resolved?.hasAttribute("invalid") && (this.judging = !0);
|
|
135
134
|
}
|
|
136
135
|
render() {
|
|
137
|
-
return
|
|
136
|
+
return m(this);
|
|
138
137
|
}
|
|
139
138
|
get _items() {
|
|
140
|
-
return Array.from(this.children).filter((e) => e instanceof
|
|
139
|
+
return Array.from(this.children).filter((e) => e instanceof v && e !== this._fallbackItem);
|
|
141
140
|
}
|
|
142
141
|
_resolve() {
|
|
143
142
|
let e = this.getRootNode(), t = this.for ? e.getElementById?.(this.for) ?? null : this.control;
|
|
@@ -161,13 +160,13 @@ var v = (g = class extends e {
|
|
|
161
160
|
return e?.value === void 0 || e.value === null ? "" : String(e.value);
|
|
162
161
|
}
|
|
163
162
|
_evaluate() {
|
|
164
|
-
let e = this._resolved, t = e?.hasAttribute("invalid") ?? !1, n = (e?.getAttribute("unmet") ?? "").split(" ").filter(Boolean), r = this._currentValue(), i = this._items, a = i.some((e) => e.required) || !!e?.required || (e?.hasAttribute("required") ?? !1), o = r === "" && !a, s = !1,
|
|
163
|
+
let e = this._resolved, t = e?.hasAttribute("invalid") ?? !1, n = (e?.getAttribute("unmet") ?? "").split(" ").filter(Boolean), r = this._currentValue(), i = this._items, a = i.some((e) => e.required) || !!e?.required || (e?.hasAttribute("required") ?? !1), o = r === "" && !a, s = !1, c = !1, u = !1, d = [];
|
|
165
164
|
for (let e of i) {
|
|
166
|
-
let i = e.test(r), a = i !== null && o ? !0 : i,
|
|
167
|
-
a !== null && n.includes(e.id) && (u = !0), e.unmet = t &&
|
|
165
|
+
let i = e.test(r), a = i !== null && o ? !0 : i, l = a === null ? n.includes(e.id) : !a;
|
|
166
|
+
a !== null && n.includes(e.id) && (u = !0), e.unmet = t && l, e.visible = e.unmet || !this.judging && (e.hint || this.hint), e.visible && (s = !0), a === !1 && (c = !0, d.push(e.textContent?.trim() ?? ""));
|
|
168
167
|
}
|
|
169
168
|
let f = t && !i.some((e) => e.unmet) ? this._fallbackText() : "";
|
|
170
|
-
this._syncFallbackItem(f), this.classList.toggle("has-items", s || !!f),
|
|
169
|
+
this._syncFallbackItem(f), this.classList.toggle("has-items", s || !!f), l(this, "rule-and-unmet", u), this._reportValidity(c, d);
|
|
171
170
|
}
|
|
172
171
|
_syncFallbackItem(e) {
|
|
173
172
|
e ? (this._fallbackItem || (this._fallbackItem = document.createElement("nldd-validation-item"), this._fallbackItem.toggleAttribute("data-fallback", !0)), this._fallbackItem.textContent !== e && (this._fallbackItem.textContent = e), this._fallbackItem.unmet = !0, this._fallbackItem.visible = !0, this._fallbackItem.parentElement !== this && this.append(this._fallbackItem)) : (this._fallbackItem?.remove(), this._fallbackItem = null);
|
|
@@ -185,12 +184,12 @@ var v = (g = class extends e {
|
|
|
185
184
|
let n = this._resolved;
|
|
186
185
|
n?.setCustomValidity && n.setCustomValidity(e ? t.filter(Boolean).join(". ") : "");
|
|
187
186
|
}
|
|
188
|
-
},
|
|
187
|
+
}, _.styles = f, _);
|
|
189
188
|
n([i({
|
|
190
189
|
type: Boolean,
|
|
191
190
|
reflect: !0
|
|
192
|
-
})],
|
|
191
|
+
})], y.prototype, "hint", void 0), n([i({
|
|
193
192
|
type: Boolean,
|
|
194
193
|
reflect: !0
|
|
195
|
-
})],
|
|
196
|
-
export {
|
|
194
|
+
})], y.prototype, "judging", void 0), n([i({ type: String })], y.prototype, "for", void 0), n([i({ attribute: !1 })], y.prototype, "control", void 0), n([i({ attribute: !1 })], y.prototype, "value", void 0), n([r()], y.prototype, "_resolved", void 0), y = n([o("nldd-validation-list")], y);
|
|
195
|
+
export { v as NLDDValidationItem, y as NLDDValidationList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, r as t, s as n } from "./custom-element-
|
|
2
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { c as e, r as t, s as n } from "./custom-element-7tLnKgZE.js";
|
|
2
|
+
import { t as r } from "./decorate-CIC8fGPN.js";
|
|
3
3
|
import { n as i } from "./breakpoints-Cwor8TRP.js";
|
|
4
4
|
// src/utilities/visibility-mixin.styles.ts
|
|
5
5
|
var a = e(i.smMax), o = e(i.mdMin), s = e(i.mdMax), c = e(i.lgMin), l = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { s as r } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { s as r } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/content/visually-hidden/visually-hidden.styles.ts
|
|
5
5
|
var a = r`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { a as o, t as s } from "./shadow-resets-
|
|
4
|
+
import { a as o, t as s } from "./shadow-resets-kAFcguCG.js";
|
|
5
5
|
import { t as c } from "./window.i18n-CsEnUPAk.js";
|
|
6
6
|
import { t as l } from "./title-bar-label-controller-DSxdKZOg.js";
|
|
7
7
|
import { t as u } from "./modal-overlay-Bx0bYzF3.js";
|
|
8
|
-
import { t as d } from "./translations-
|
|
8
|
+
import { t as d } from "./with-translations-DSfo7eL-.js";
|
|
9
9
|
import { r as f } from "./element-state-D-J_cHEV.js";
|
|
10
10
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
// src/components/layout/window/window.styles.ts
|
|
@@ -106,9 +106,9 @@ function h(e) {
|
|
|
106
106
|
`;
|
|
107
107
|
}
|
|
108
108
|
// src/components/layout/window/window.ts
|
|
109
|
-
var g = class extends e {
|
|
109
|
+
var g = class extends d(e, c) {
|
|
110
110
|
constructor(...e) {
|
|
111
|
-
super(...e), this.scheme = "inherit", this.centered = !1, this.accessibleLabel = "", this.noLightDismiss = !1, this.open = !1, this.
|
|
111
|
+
super(...e), this.scheme = "inherit", this.centered = !1, this.accessibleLabel = "", this.noLightDismiss = !1, this.open = !1, this._titleBar = new l(this), this._modalOverlay = new u(this, {
|
|
112
112
|
titleBarDismiss: !0,
|
|
113
113
|
lightDismiss: () => !this.noLightDismiss,
|
|
114
114
|
beforeOpen: () => {
|
|
@@ -132,9 +132,6 @@ var g = class extends e {
|
|
|
132
132
|
let e = this._dialog;
|
|
133
133
|
this.scheme === "light" || this.scheme === "dark" ? (this.style.colorScheme = this.scheme, e && (e.style.colorScheme = this.scheme)) : (this.style.removeProperty("color-scheme"), e && e.style.removeProperty("color-scheme"));
|
|
134
134
|
}
|
|
135
|
-
_t(e) {
|
|
136
|
-
return d(this.translations, c, e);
|
|
137
|
-
}
|
|
138
135
|
get _resolvedAccessibleLabel() {
|
|
139
136
|
return this.accessibleLabel || this._titleBar.text || this._t("components.window.accessible-label");
|
|
140
137
|
}
|
|
@@ -188,5 +185,5 @@ n([r({
|
|
|
188
185
|
})], _.prototype, "noLightDismiss", void 0), n([r({
|
|
189
186
|
type: Boolean,
|
|
190
187
|
reflect: !0
|
|
191
|
-
})], _.prototype, "open", void 0),
|
|
188
|
+
})], _.prototype, "open", void 0), _ = n([a("nldd-window")], _);
|
|
192
189
|
export { _ as NLDDWindow };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { r as e } from "./custom-element-7tLnKgZE.js";
|
|
2
|
+
import { t } from "./decorate-CIC8fGPN.js";
|
|
3
|
+
// src/utilities/translations.ts
|
|
4
|
+
var n, r = Symbol.for("nldd.translations"), i = (n = globalThis)[r] ?? (n[r] = { translations: {} }), a = /* @__PURE__ */ new WeakSet();
|
|
5
|
+
function o(e, t, n, r) {
|
|
6
|
+
let o = n;
|
|
7
|
+
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test" && e && !a.has(e)) {
|
|
8
|
+
a.add(e);
|
|
9
|
+
let n = Object.keys(e);
|
|
10
|
+
n.length > 0 && import("./dev-checks-DE09CTk9.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
|
|
11
|
+
}
|
|
12
|
+
let s = e?.[n] ?? i.translations[o] ?? t[n] ?? o;
|
|
13
|
+
if (r) for (let [e, t] of Object.entries(r)) s = s.split(`{${e}}`).join(String(t));
|
|
14
|
+
return s;
|
|
15
|
+
}
|
|
16
|
+
// src/utilities/with-translations.ts
|
|
17
|
+
function s(n, r) {
|
|
18
|
+
class i extends n {
|
|
19
|
+
constructor(...e) {
|
|
20
|
+
super(...e), this.translations = {};
|
|
21
|
+
}
|
|
22
|
+
_t(e, t) {
|
|
23
|
+
return o(this.translations, r, e, t);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return t([e({ type: Object })], i.prototype, "translations", void 0), i;
|
|
27
|
+
}
|
|
28
|
+
export { s as t };
|
|
@@ -53,15 +53,12 @@ type Appearance = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'a
|
|
|
53
53
|
type Size = 'xs' | 'sm' | 'md' | 'lg';
|
|
54
54
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
55
55
|
type PopupType = 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
|
|
56
|
-
declare const NLDDButton_base: (abstract new (...args: any[]) =>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}>;
|
|
63
|
-
_t(key: "components.button.link-hint-new-tab-lowercase-label" | "components.button.link-hint-external-lowercase-label" | "components.button.link-hint-external-new-tab-lowercase-label" | "components.button.link-hint-download-lowercase-label", vars?: Record<string, string | number>): string;
|
|
64
|
-
}) & typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
56
|
+
declare const NLDDButton_base: typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/with-translations.js").WithTranslations<{
|
|
57
|
+
'components.button.link-hint-new-tab-lowercase-label': string;
|
|
58
|
+
'components.button.link-hint-external-lowercase-label': string;
|
|
59
|
+
'components.button.link-hint-external-new-tab-lowercase-label': string;
|
|
60
|
+
'components.button.link-hint-download-lowercase-label': string;
|
|
61
|
+
}>) & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
65
62
|
export declare class NLDDButton extends NLDDButton_base {
|
|
66
63
|
static styles: import("lit").CSSResult;
|
|
67
64
|
static formAssociated: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAuB,cAAc,EAAmB,MAAM,uCAAuC,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAO9E,KAAK,UAAU,GACZ,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtC,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAChD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAuB,cAAc,EAAmB,MAAM,uCAAuC,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAO9E,KAAK,UAAU,GACZ,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtC,KAAK,UAAU,GAAG,QAAQ,GAAG,Q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B,4DAA4D;IAE5D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC,+DAA+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAC1D;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAGpC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAGzC,QAAQ,UAAS;IAEjB;;6BAEyB;IACzB,MAAM,iBAA4B;IAElC;+EAC2E;IAC3E,SAAS,kBAA6B;IAEtC,6GAA6G;IAC7G,OAAO,CAAC,qBAAqB,CAA4C;IAEhE,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA6B/D,OAAO,CAAC,YAAY;IAsCpB,OAAO,CAAC,UAAU;IAIlB;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAK5C,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAKf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,yBAunBxB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
import { inheritedTextReset } from '../../../assets/styles/shadow-resets.js';
|
|
2
|
+
import { inheritedTextReset, visuallyHidden } from '../../../assets/styles/shadow-resets.js';
|
|
3
|
+
import { wrapUiText } from '../../../assets/styles/text-wrap.js';
|
|
3
4
|
export const buttonStyles = css `
|
|
4
5
|
:host {
|
|
5
6
|
box-sizing: border-box;
|
|
@@ -350,7 +351,7 @@ export const buttonStyles = css `
|
|
|
350
351
|
}
|
|
351
352
|
|
|
352
353
|
:host([width="full"]) {
|
|
353
|
-
display:
|
|
354
|
+
display: flex;
|
|
354
355
|
width: 100%;
|
|
355
356
|
}
|
|
356
357
|
|
|
@@ -407,6 +408,7 @@ export const buttonStyles = css `
|
|
|
407
408
|
text-align: center;
|
|
408
409
|
text-decoration: none;
|
|
409
410
|
text-wrap: pretty;
|
|
411
|
+
${wrapUiText}
|
|
410
412
|
transition:
|
|
411
413
|
background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default),
|
|
412
414
|
color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default)
|
|
@@ -546,15 +548,7 @@ export const buttonStyles = css `
|
|
|
546
548
|
/* Visually-hidden link hint (another website, a new tab);
|
|
547
549
|
part of the link's accessible name but never shown. Standard recipe. */
|
|
548
550
|
.button__link-hint {
|
|
549
|
-
|
|
550
|
-
margin: -1px;
|
|
551
|
-
border: 0;
|
|
552
|
-
width: 1px;
|
|
553
|
-
height: 1px;
|
|
554
|
-
overflow: hidden;
|
|
555
|
-
padding: 0;
|
|
556
|
-
white-space: nowrap;
|
|
557
|
-
clip-path: inset(50%);
|
|
551
|
+
${visuallyHidden}
|
|
558
552
|
}
|
|
559
553
|
|
|
560
554
|
:host([single-line]) .button__supporting-text,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmXlB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4IV,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAK9C,OAAO,sDAAsD,CAAC;AAG9D,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AA0CD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCAoHlE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
2
|
import { linkRel } from '../../../utilities/link-rel.js';
|
|
3
|
+
import { sanitizeUrl } from '../../../utilities/sanitize-url.js';
|
|
3
4
|
import { downloadLinkHintKey, markDownloadTarget } from '../../../utilities/link-hint.js';
|
|
4
5
|
import { hasShortcut, shortcutLabel } from '../../../utilities/shortcut.js';
|
|
5
6
|
import '../../content/keyboard-shortcut/keyboard-shortcut.js';
|
|
@@ -108,7 +109,7 @@ export function template(helpers) {
|
|
|
108
109
|
const resolvedRel = linkRel(this.rel, this.target);
|
|
109
110
|
return html `
|
|
110
111
|
<a class=${buttonClass}
|
|
111
|
-
href=${this.href}
|
|
112
|
+
href=${sanitizeUrl(this.href, { allowData: typeof this.download === 'string' }) || nothing}
|
|
112
113
|
target=${this.target || nothing}
|
|
113
114
|
rel=${resolvedRel || nothing}
|
|
114
115
|
download=${this.download ?? nothing}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,EAAE,WA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AI,CAAC,IAAI;eACJ,IAAI,CAAC,QAAQ;mBACT,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBACnC,SAAS;mBACN,IAAI,CAAC,SAAS,IAAI,OAAO;mBACzB,YAAY;eAChB,QAAQ;cACT,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;2BACd,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,oBAAoB,CAAC;0BACrE,IAAI,CAAC,mBAAmB;kBAChC,IAAI,CAAC,MAAM,CAAC,iBAAiB;YACnC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;IAER,gBAAgB;IAChB,SAAS;EACX,CAAC;AACH,CAAC"}
|
|
@@ -57,15 +57,12 @@ export type Size = 'xs' | 'sm' | 'md' | 'lg';
|
|
|
57
57
|
export type Appearance = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted';
|
|
58
58
|
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
59
59
|
export type PopupType = 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
|
|
60
|
-
declare const NLDDIconButton_base: (abstract new (...args: any[]) =>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}>;
|
|
67
|
-
_t(key: "components.icon-button.link-hint-new-tab-lowercase-label" | "components.icon-button.link-hint-external-lowercase-label" | "components.icon-button.link-hint-external-new-tab-lowercase-label" | "components.icon-button.link-hint-download-lowercase-label", vars?: Record<string, string | number>): string;
|
|
68
|
-
}) & typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
60
|
+
declare const NLDDIconButton_base: typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/with-translations.js").WithTranslations<{
|
|
61
|
+
'components.icon-button.link-hint-new-tab-lowercase-label': string;
|
|
62
|
+
'components.icon-button.link-hint-external-lowercase-label': string;
|
|
63
|
+
'components.icon-button.link-hint-external-new-tab-lowercase-label': string;
|
|
64
|
+
'components.icon-button.link-hint-download-lowercase-label': string;
|
|
65
|
+
}>) & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
69
66
|
export declare class NLDDIconButton extends NLDDIconButton_base {
|
|
70
67
|
static styles: import("lit").CSSResult;
|
|
71
68
|
static formAssociated: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAuB,cAAc,EAAmB,MAAM,uCAAuC,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAGzE,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAI9E,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","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zB,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -8,14 +8,11 @@ export type MenuItemType = 'button' | 'submit' | 'checkbox' | 'radio';
|
|
|
8
8
|
* that back when it is not. A `listitem` the consumer set by hand on an item
|
|
9
9
|
* goes too when the variant changes back; nothing else uses that role here. */
|
|
10
10
|
export declare function syncListItemRole(host: HTMLElement, variant: MenuVariant | null): void;
|
|
11
|
-
declare const NLDDMenuItem_base: (abstract new (...args: any[]) =>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}>;
|
|
17
|
-
_t(key: "components.menu-item.link-hint-new-tab-lowercase-label" | "components.menu-item.link-hint-external-lowercase-label" | "components.menu-item.link-hint-external-new-tab-lowercase-label", vars?: Record<string, string | number>): string;
|
|
18
|
-
}) & typeof LitElement;
|
|
11
|
+
declare const NLDDMenuItem_base: typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/with-translations.js").WithTranslations<{
|
|
12
|
+
'components.menu-item.link-hint-new-tab-lowercase-label': string;
|
|
13
|
+
'components.menu-item.link-hint-external-lowercase-label': string;
|
|
14
|
+
'components.menu-item.link-hint-external-new-tab-lowercase-label': string;
|
|
15
|
+
}>);
|
|
19
16
|
/**
|
|
20
17
|
* A single item within an nldd-menu.
|
|
21
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EA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,IAAI,SAAM;IAGV,KAAK,SAAM;IAGX,IAAI,EAAE,YAAY,CAAY;IAG9B,IAAI,SAAM;IAGV,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAGvC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAGpC,QAAQ,UAAS;IAEjB;;;;;;;;;OASG;IAEH,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEvC;;sCAEkC;IAElC,WAAW,UAAS;IAEpB;gFAC4E;IAE5E,YAAY,UAAS;IAErB,6CAA6C;IAE7C,YAAY,UAAS;IAErB,iBAAiB,GAAI,GAAG,KAAK,KAAG,IAAI,CAElC;IAEF,OAAO,CAAC,MAAM,CAAC,UAAU,CAAK;;IA8BrB,iBAAiB,IAAI,IAAI;IAQzB,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAM5C;;uCAEmC;IACnC,OAAO,CAAC,gBAAgB,CAAyB;IACjD,OAAO,CAAC,wBAAwB,CAAiC;IAEjE,IAAI,UAAU,IAAI,QAAQ,GAAG,IAAI,CAEhC;IAED,IAAI,WAAW,IAAI,OAAO,CAEzB;IAEQ,UAAU,IAAI,IAAI;IAQlB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAWtD,YAAY,IAAI,IAAI;IAI7B;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;IAYnB,oBAAoB,IAAI,IAAI;IAMrC,YAAY,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;IA6CjC,yCAAyC;IACzC,MAAM,IAAI,IAAI;IAIL,MAAM;CAGf"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { type Placement } from '@floating-ui/dom';
|
|
3
3
|
import { type MenuVariant } from './menu.template.js';
|
|
4
|
-
import type { NLDDMenuTranslations } from './menu.i18n.js';
|
|
5
|
-
import '../../lists-and-tables/cells/icon-cell/icon-cell.js';
|
|
6
|
-
import '../../lists-and-tables/cells/spacer-cell/spacer-cell.js';
|
|
7
|
-
import '../../lists-and-tables/cells/text-cell/text-cell.js';
|
|
8
4
|
import '../../content/icon/icon.js';
|
|
9
5
|
import '../../content/keyboard-shortcut/keyboard-shortcut.js';
|
|
10
6
|
import '../../status-and-feedback/inline-dialog/inline-dialog.js';
|
|
@@ -18,6 +14,14 @@ import '../../../utilities/custom-element.js';
|
|
|
18
14
|
export { NLDDMenuItem } from './menu-item.js';
|
|
19
15
|
export { NLDDMenuGroup } from './menu-group.js';
|
|
20
16
|
export { NLDDMenuDivider } from './menu-divider.js';
|
|
17
|
+
declare const NLDDMenu_base: typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/with-translations.js").WithTranslations<{
|
|
18
|
+
'components.menu.empty-text': string;
|
|
19
|
+
'components.menu.one-result-text': string;
|
|
20
|
+
'components.menu.results-text': string;
|
|
21
|
+
'components.menu.back-action': string;
|
|
22
|
+
'components.menu.submenu-title': string;
|
|
23
|
+
'components.menu.submenu-back-action': string;
|
|
24
|
+
}>);
|
|
21
25
|
/**
|
|
22
26
|
* A floating menu component using the Popover API.
|
|
23
27
|
* Positioned relative to an anchor element using Floating UI.
|
|
@@ -62,7 +66,7 @@ export { NLDDMenuDivider } from './menu-divider.js';
|
|
|
62
66
|
* @slot footer - Free content shown below the items, outside `role="menu"` (same rules as `header`; also unpadded and root-only). Example: a short note or a link.
|
|
63
67
|
* @slot empty - Shown when no items are visible. Defaults to `nldd-inline-dialog` driven by `empty-text` / `empty-supporting-text`. Slot content overrides the default dialog entirely.
|
|
64
68
|
*/
|
|
65
|
-
export declare class NLDDMenu extends
|
|
69
|
+
export declare class NLDDMenu extends NLDDMenu_base {
|
|
66
70
|
static styles: import("lit").CSSResult;
|
|
67
71
|
/**
|
|
68
72
|
* What the menu is, which sets its roles and part of its keyboard. See the
|
|
@@ -118,11 +122,6 @@ export declare class NLDDMenu extends LitElement {
|
|
|
118
122
|
* on text, value, and aliases attributes.
|
|
119
123
|
*/
|
|
120
124
|
filterFn: (query: string, item: NLDDMenuItem) => boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Override one or more translation keys.
|
|
123
|
-
* Unset keys fall back to the Dutch default.
|
|
124
|
-
*/
|
|
125
|
-
translations: Partial<NLDDMenuTranslations>;
|
|
126
125
|
private _isEmpty;
|
|
127
126
|
/** Whether the `header` / `footer` slots have meaningful content, driving
|
|
128
127
|
* whether their (root-only) region renders. Set from slotchange + an initial
|
|
@@ -172,8 +171,6 @@ export declare class NLDDMenu extends LitElement {
|
|
|
172
171
|
* @internal */
|
|
173
172
|
_collapsedByPointerGesture: boolean;
|
|
174
173
|
private _cleanupAutoUpdate;
|
|
175
|
-
/** @internal */
|
|
176
|
-
_t(key: keyof NLDDMenuTranslations, vars?: Record<string, string | number>): string;
|
|
177
174
|
/** Resolved empty text: emptyText attribute takes precedence, then i18n fallback. */
|
|
178
175
|
get _resolvedEmptyText(): string;
|
|
179
176
|
/** Accessible name for the drill-in back button. Prefixes the parent
|
|
@@ -507,7 +504,7 @@ export declare class NLDDMenu extends LitElement {
|
|
|
507
504
|
* Filter items based on a query string.
|
|
508
505
|
*
|
|
509
506
|
* Matching items are kept visible. Non-matching items are hidden. Matching
|
|
510
|
-
* items receive `query=<query>` so their text
|
|
507
|
+
* items receive `query=<query>` so their text bolds the non-typed
|
|
511
508
|
* remainder (predictive completion, the ARIA APG pattern for combobox).
|
|
512
509
|
*
|
|
513
510
|
* When the query is empty, all items are shown and `query` is cleared.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,OAAO,EAA0D,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG1G,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE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d,oEAAoE;IACvD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAqDxC,8EAA8E;IAC9E,OAAO,CAAC,WAAW,CAAS;IAI5B,0EAA0E;IAC1E,OAAO,CAAC,UAAU,CAAkC;IAEpD,OAAO,CAAC,cAAc,CAMpB;IAEF,OAAO,CAAC,cAAc,CAgHpB;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAO;IAcf;;;;;;;;;OASG;IACH,OAAO,CAAC,eAAe,CAOrB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAMjB,6EAA6E;IAC7E,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,aAAa,CAAC,CAAgC;IAEtD,OAAO,CAAC,gBAAgB,CAAM;IAC9B,OAAO,CAAC,eAAe,CAAuB;IAC9C;;;uBAGmB;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAO;IAElD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;IAgCxB;;;;;;;;;;;;;;;;OAgBG;IACI,WAAW,QAAO,IAAI,CAiB3B;IAEF,OAAO,CAAC,mBAAmB,CAMzB;IAEF,OAAO,CAAC,aAAa,CAoEnB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAYhB,MAAM;CAGf;AAMD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;QACtB,gBAAgB,EAAE,YAAY,CAAC;QAC/B,mBAAmB,EAAE,eAAe,CAAC;QACrC,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -11,9 +11,6 @@ import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
|
11
11
|
import { menuStyles } from './menu.styles.js';
|
|
12
12
|
import { menuTemplate } from './menu.template.js';
|
|
13
13
|
import { nlddMenuTranslations } from './menu.i18n.js';
|
|
14
|
-
import '../../lists-and-tables/cells/icon-cell/icon-cell.js';
|
|
15
|
-
import '../../lists-and-tables/cells/spacer-cell/spacer-cell.js';
|
|
16
|
-
import '../../lists-and-tables/cells/text-cell/text-cell.js';
|
|
17
14
|
import '../../content/icon/icon.js';
|
|
18
15
|
import '../../content/keyboard-shortcut/keyboard-shortcut.js';
|
|
19
16
|
import '../../status-and-feedback/inline-dialog/inline-dialog.js';
|
|
@@ -21,7 +18,7 @@ import { isKeyboardMode, isTouchMode } from '../../../utilities/input-modality.j
|
|
|
21
18
|
import { FocusReturn } from '../../../utilities/return-focus.js';
|
|
22
19
|
import { OverlayInvoker, TriggerAria, watchTrigger } from '../../../utilities/overlay-invoker.js';
|
|
23
20
|
import { queryBreakpoints } from '../../../assets/styles/breakpoints.js';
|
|
24
|
-
import {
|
|
21
|
+
import { withTranslations } from '../../../utilities/with-translations.js';
|
|
25
22
|
import { MenuPointerController, menuElementFromPoint } from './menu.pointer.js';
|
|
26
23
|
import { SubmenuLevel } from './menu.chain.js';
|
|
27
24
|
import { SafeTriangleController, rectContainsPoint } from './menu.safe-triangle.js';
|
|
@@ -107,7 +104,7 @@ const HOVER_OPEN_MAX_MS = 150;
|
|
|
107
104
|
* @slot footer - Free content shown below the items, outside `role="menu"` (same rules as `header`; also unpadded and root-only). Example: a short note or a link.
|
|
108
105
|
* @slot empty - Shown when no items are visible. Defaults to `nldd-inline-dialog` driven by `empty-text` / `empty-supporting-text`. Slot content overrides the default dialog entirely.
|
|
109
106
|
*/
|
|
110
|
-
export class NLDDMenu extends LitElement {
|
|
107
|
+
export class NLDDMenu extends withTranslations(LitElement, nlddMenuTranslations) {
|
|
111
108
|
constructor() {
|
|
112
109
|
super(...arguments);
|
|
113
110
|
/**
|
|
@@ -164,11 +161,6 @@ export class NLDDMenu extends LitElement {
|
|
|
164
161
|
* on text, value, and aliases attributes.
|
|
165
162
|
*/
|
|
166
163
|
this.filterFn = defaultFilterFn;
|
|
167
|
-
/**
|
|
168
|
-
* Override one or more translation keys.
|
|
169
|
-
* Unset keys fall back to the Dutch default.
|
|
170
|
-
*/
|
|
171
|
-
this.translations = {};
|
|
172
164
|
this._isEmpty = false;
|
|
173
165
|
/** Whether the `header` / `footer` slots have meaningful content, driving
|
|
174
166
|
* whether their (root-only) region renders. Set from slotchange + an initial
|
|
@@ -879,11 +871,6 @@ export class NLDDMenu extends LitElement {
|
|
|
879
871
|
}
|
|
880
872
|
};
|
|
881
873
|
}
|
|
882
|
-
// — i18n ——————————————————————————————————————————————————————————————————
|
|
883
|
-
/** @internal */
|
|
884
|
-
_t(key, vars) {
|
|
885
|
-
return translate(this.translations, nlddMenuTranslations, key, vars);
|
|
886
|
-
}
|
|
887
874
|
/** Resolved empty text: emptyText attribute takes precedence, then i18n fallback. */
|
|
888
875
|
get _resolvedEmptyText() {
|
|
889
876
|
return this.emptyText || this._t('components.menu.empty-text');
|
|
@@ -1451,7 +1438,7 @@ export class NLDDMenu extends LitElement {
|
|
|
1451
1438
|
* Filter items based on a query string.
|
|
1452
1439
|
*
|
|
1453
1440
|
* Matching items are kept visible. Non-matching items are hidden. Matching
|
|
1454
|
-
* items receive `query=<query>` so their text
|
|
1441
|
+
* items receive `query=<query>` so their text bolds the non-typed
|
|
1455
1442
|
* remainder (predictive completion, the ARIA APG pattern for combobox).
|
|
1456
1443
|
*
|
|
1457
1444
|
* When the query is empty, all items are shown and `query` is cleared.
|
|
@@ -1794,9 +1781,6 @@ __decorate([
|
|
|
1794
1781
|
__decorate([
|
|
1795
1782
|
property({ attribute: false })
|
|
1796
1783
|
], NLDDMenu.prototype, "filterFn", void 0);
|
|
1797
|
-
__decorate([
|
|
1798
|
-
property({ type: Object })
|
|
1799
|
-
], NLDDMenu.prototype, "translations", void 0);
|
|
1800
1784
|
__decorate([
|
|
1801
1785
|
state()
|
|
1802
1786
|
], NLDDMenu.prototype, "_isEmpty", void 0);
|