@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,17 +1,18 @@
|
|
|
1
|
-
import { n as e, r 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, r 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
4
|
import { t as s } from "./slotted-block-MzAN2mbY.js";
|
|
5
5
|
import { n as c, r as l } from "./slot-content-2qH2vEC_.js";
|
|
6
|
-
import { t as u } from "./reorder-handle-mixin-
|
|
6
|
+
import { t as u } from "./reorder-handle-mixin-DIkeFpRU.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { r as f, t as p } from "./
|
|
9
|
-
import {
|
|
10
|
-
import { n as g } from "./
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
8
|
+
import { r as f, t as p } from "./text-wrap-DJ9PcwZ4.js";
|
|
9
|
+
import { r as m, t as h } from "./shadow-resets-kAFcguCG.js";
|
|
10
|
+
import { n as g, r as _ } from "./static-html-ooiG7-by.js";
|
|
11
|
+
import { n as v } from "./render-marked-vXU387IN.js";
|
|
12
|
+
import { t as y } from "./visibility-mixin-BgnkZDZM.js";
|
|
13
|
+
import { t as b } from "./row-header-mixin-CnCxMteQ.js";
|
|
13
14
|
// src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts
|
|
14
|
-
var
|
|
15
|
+
var x = a`
|
|
15
16
|
:host {
|
|
16
17
|
box-sizing: border-box;
|
|
17
18
|
}
|
|
@@ -29,7 +30,8 @@ var y = a`
|
|
|
29
30
|
--_title-cell-color: var(--context-content-color);
|
|
30
31
|
--_title-cell-font: var(--primitives-font-display-5-sm);
|
|
31
32
|
|
|
32
|
-
${
|
|
33
|
+
${h}
|
|
34
|
+
${f}
|
|
33
35
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
34
36
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
35
37
|
display: flex;
|
|
@@ -45,12 +47,18 @@ var y = a`
|
|
|
45
47
|
display: none;
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
:host([hyphens]) {
|
|
51
|
+
${p}
|
|
52
|
+
}
|
|
53
|
+
|
|
48
54
|
|
|
49
55
|
/* # Width */
|
|
50
56
|
|
|
51
57
|
:host([width="full"]),
|
|
52
58
|
:host(:not([width])),
|
|
53
59
|
:host([width=""]) {
|
|
60
|
+
--_title-cell-min-width: var(--context-cell-min-width, var(--semantics-cells-min-width));
|
|
61
|
+
|
|
54
62
|
flex-grow: 1;
|
|
55
63
|
flex-shrink: 1;
|
|
56
64
|
flex-basis: 0;
|
|
@@ -64,9 +72,8 @@ var y = a`
|
|
|
64
72
|
|
|
65
73
|
width: fit-content;
|
|
66
74
|
flex-grow: 0;
|
|
67
|
-
/*
|
|
68
|
-
|
|
69
|
-
vast en duwde hij alles erachter de rij uit. */
|
|
75
|
+
/* Shrinking is allowed: with flex-shrink: 0 the cell kept the width of
|
|
76
|
+
its text and pushed everything after it out of the row. */
|
|
70
77
|
flex-shrink: 1;
|
|
71
78
|
flex-basis: auto;
|
|
72
79
|
}
|
|
@@ -79,6 +86,12 @@ var y = a`
|
|
|
79
86
|
flex-basis: var(--_title-cell-max-width);
|
|
80
87
|
}
|
|
81
88
|
|
|
89
|
+
:host([max-width][width="full"]),
|
|
90
|
+
:host([max-width]:not([width])),
|
|
91
|
+
:host([max-width][width=""]) {
|
|
92
|
+
--_title-cell-min-width: min(var(--context-cell-min-width, var(--semantics-cells-min-width)), var(--_title-cell-max-width));
|
|
93
|
+
}
|
|
94
|
+
|
|
82
95
|
|
|
83
96
|
/* # Vertical alignment */
|
|
84
97
|
|
|
@@ -177,7 +190,6 @@ var y = a`
|
|
|
177
190
|
--context-content-color: var(--_title-cell-secondary-color);
|
|
178
191
|
color: var(--_title-cell-secondary-color);
|
|
179
192
|
font: var(--primitives-font-body-xs-regular-tight);
|
|
180
|
-
overflow-wrap: anywhere;
|
|
181
193
|
text-wrap: pretty;
|
|
182
194
|
}
|
|
183
195
|
|
|
@@ -192,7 +204,6 @@ var y = a`
|
|
|
192
204
|
--context-content-color: var(--_title-cell-color);
|
|
193
205
|
color: var(--_title-cell-color);
|
|
194
206
|
font: var(--_title-cell-font);
|
|
195
|
-
overflow-wrap: break-word;
|
|
196
207
|
text-wrap: balance;
|
|
197
208
|
}
|
|
198
209
|
|
|
@@ -210,56 +221,55 @@ var y = a`
|
|
|
210
221
|
--context-content-color: var(--_title-cell-secondary-color);
|
|
211
222
|
color: var(--_title-cell-secondary-color);
|
|
212
223
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
213
|
-
overflow-wrap: anywhere;
|
|
214
224
|
text-wrap: pretty;
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
::slotted(:is(p, h1, h2, h3, h4, h5, h6)) {
|
|
218
|
-
${
|
|
219
|
-
}
|
|
220
|
-
`,
|
|
221
|
-
1:
|
|
222
|
-
2:
|
|
223
|
-
3:
|
|
224
|
-
4:
|
|
225
|
-
5:
|
|
226
|
-
6:
|
|
227
|
-
},
|
|
228
|
-
function
|
|
229
|
-
let n = e.text && !e._hasDefaultSlotted ?
|
|
230
|
-
return
|
|
228
|
+
${m}
|
|
229
|
+
}
|
|
230
|
+
`, S = {
|
|
231
|
+
1: g("h1"),
|
|
232
|
+
2: g("h2"),
|
|
233
|
+
3: g("h3"),
|
|
234
|
+
4: g("h4"),
|
|
235
|
+
5: g("h5"),
|
|
236
|
+
6: g("h6")
|
|
237
|
+
}, C = g("div"), w = g("p");
|
|
238
|
+
function T(e) {
|
|
239
|
+
let n = e.text && !e._hasDefaultSlotted ? v(e.text, e.query, e.queryMarkMode) : t, r = !e.text && !e._hasDefaultSlotted, i = e._hasDefaultSlotted ? C : S[e.headingLevel] ?? w;
|
|
240
|
+
return _`<${i}
|
|
231
241
|
class="title-cell__title"
|
|
232
242
|
?hidden=${r}
|
|
233
243
|
>${n}<slot @slotchange=${e._onSlotChange}></slot></${i}>`;
|
|
234
244
|
}
|
|
235
|
-
var
|
|
236
|
-
let e = this._hasOverlineSlotted ?
|
|
237
|
-
return
|
|
245
|
+
var E = function() {
|
|
246
|
+
let e = this._hasOverlineSlotted ? C : w, n = this._hasSupportingTextSlotted ? C : w;
|
|
247
|
+
return _`
|
|
238
248
|
<${e}
|
|
239
249
|
class="title-cell__overline"
|
|
240
250
|
?hidden=${!this.overline && !this._hasOverlineSlotted}
|
|
241
251
|
>
|
|
242
|
-
${this.overline && !this._hasOverlineSlotted ?
|
|
252
|
+
${this.overline && !this._hasOverlineSlotted ? v(this.overline, this.query, this.queryMarkMode) : t}
|
|
243
253
|
<slot
|
|
244
254
|
name="overline"
|
|
245
255
|
@slotchange=${this._onSlotChange}
|
|
246
256
|
></slot>
|
|
247
257
|
</${e}>
|
|
248
|
-
${
|
|
258
|
+
${T(this)}
|
|
249
259
|
<${n}
|
|
250
260
|
class="title-cell__supporting-text"
|
|
251
261
|
?hidden=${!this.supportingText && !this._hasSupportingTextSlotted}
|
|
252
262
|
>
|
|
253
|
-
${this.supportingText && !this._hasSupportingTextSlotted ?
|
|
263
|
+
${this.supportingText && !this._hasSupportingTextSlotted ? v(this.supportingText, this.query, this.queryMarkMode) : t}
|
|
254
264
|
<slot
|
|
255
265
|
name="supporting-text"
|
|
256
266
|
@slotchange=${this._onSlotChange}
|
|
257
267
|
></slot>
|
|
258
268
|
</${n}>
|
|
259
269
|
`;
|
|
260
|
-
},
|
|
270
|
+
}, D = class extends u(b(y(e, "cells-container"))) {
|
|
261
271
|
constructor(...e) {
|
|
262
|
-
super(...e), this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.headingLevel = void 0, this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._looseText = new s(this), this._onSlotChange = (e) => {
|
|
272
|
+
super(...e), this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.headingLevel = void 0, this.hyphens = !1, this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._looseText = new s(this), this._onSlotChange = (e) => {
|
|
263
273
|
let t = e.target;
|
|
264
274
|
this._readSlot(t.name, t.assignedNodes());
|
|
265
275
|
};
|
|
@@ -285,53 +295,56 @@ var w = function() {
|
|
|
285
295
|
e === "overline" ? this._hasOverlineSlotted = n : e === "supporting-text" ? this._hasSupportingTextSlotted = n : this._hasDefaultSlotted = n;
|
|
286
296
|
}
|
|
287
297
|
render() {
|
|
288
|
-
return
|
|
298
|
+
return E.call(this);
|
|
289
299
|
}
|
|
290
|
-
},
|
|
300
|
+
}, O = (D.styles = [x], D);
|
|
291
301
|
n([i({
|
|
292
302
|
reflect: !0,
|
|
293
303
|
converter: d("content")
|
|
294
|
-
})],
|
|
304
|
+
})], O.prototype, "color", void 0), n([i({ reflect: !0 })], O.prototype, "size", void 0), n([i({
|
|
295
305
|
reflect: !0,
|
|
296
306
|
converter: d("full")
|
|
297
|
-
})],
|
|
307
|
+
})], O.prototype, "width", void 0), n([i({
|
|
298
308
|
type: String,
|
|
299
309
|
reflect: !0,
|
|
300
310
|
attribute: "min-width"
|
|
301
|
-
})],
|
|
311
|
+
})], O.prototype, "minWidth", void 0), n([i({
|
|
302
312
|
type: String,
|
|
303
313
|
reflect: !0,
|
|
304
314
|
attribute: "max-width"
|
|
305
|
-
})],
|
|
315
|
+
})], O.prototype, "maxWidth", void 0), n([i({
|
|
306
316
|
type: String,
|
|
307
317
|
reflect: !0,
|
|
308
318
|
attribute: "min-height"
|
|
309
|
-
})],
|
|
319
|
+
})], O.prototype, "minHeight", void 0), n([i({
|
|
310
320
|
reflect: !0,
|
|
311
321
|
attribute: "horizontal-alignment",
|
|
312
322
|
converter: d("left")
|
|
313
|
-
})],
|
|
323
|
+
})], O.prototype, "horizontalAlignment", void 0), n([i({
|
|
314
324
|
reflect: !0,
|
|
315
325
|
attribute: "vertical-alignment",
|
|
316
326
|
converter: d("center")
|
|
317
|
-
})],
|
|
327
|
+
})], O.prototype, "verticalAlignment", void 0), n([i({
|
|
318
328
|
reflect: !0,
|
|
319
329
|
converter: d("")
|
|
320
|
-
})],
|
|
330
|
+
})], O.prototype, "text", void 0), n([i({
|
|
321
331
|
reflect: !0,
|
|
322
332
|
attribute: "supporting-text",
|
|
323
333
|
converter: d("")
|
|
324
|
-
})],
|
|
334
|
+
})], O.prototype, "supportingText", void 0), n([i({
|
|
325
335
|
reflect: !0,
|
|
326
336
|
converter: d("")
|
|
327
|
-
})],
|
|
337
|
+
})], O.prototype, "overline", void 0), n([i({
|
|
328
338
|
type: Number,
|
|
329
339
|
attribute: "heading-level"
|
|
330
|
-
})],
|
|
340
|
+
})], O.prototype, "headingLevel", void 0), n([i({
|
|
341
|
+
type: Boolean,
|
|
342
|
+
reflect: !0
|
|
343
|
+
})], O.prototype, "hyphens", void 0), n([i({
|
|
331
344
|
reflect: !0,
|
|
332
345
|
converter: d("")
|
|
333
|
-
})],
|
|
346
|
+
})], O.prototype, "query", void 0), n([i({
|
|
334
347
|
type: String,
|
|
335
348
|
attribute: "query-mark-mode"
|
|
336
|
-
})],
|
|
337
|
-
export {
|
|
349
|
+
})], O.prototype, "queryMarkMode", void 0), n([r()], O.prototype, "_hasOverlineSlotted", void 0), n([r()], O.prototype, "_hasDefaultSlotted", void 0), n([r()], O.prototype, "_hasSupportingTextSlotted", void 0), O = n([o("nldd-title-cell")], O);
|
|
350
|
+
export { O as NLDDTitleCell };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { i as
|
|
10
|
-
import "./tooltip-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
4
|
+
import { n as c, t as l } from "./form-associated-mixin-9cC5HSCG.js";
|
|
5
|
+
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as d } from "./owned-attribute-x9OCTy_4.js";
|
|
7
|
+
import { t as f } from "./implicit-submission-Csbcor_E.js";
|
|
8
|
+
import { t as p } from "./shadow-resets-kAFcguCG.js";
|
|
9
|
+
import { i as m, n as h, r as g } from "./keyboard-shortcut-a-CkABX1.js";
|
|
10
|
+
import "./tooltip-5clp5S3T.js";
|
|
11
|
+
import "./icon-C_xeQP4j.js";
|
|
12
|
+
import { t as _ } from "./described-by-mixin-DSeADwWP.js";
|
|
13
|
+
import { t as v } from "./defer-focus-F73ud2D9.js";
|
|
14
|
+
import { t as y } from "./interest-invoker-CxvYA5Qy.js";
|
|
15
|
+
import { t as b } from "./choice-group-AZsqoheP.js";
|
|
16
16
|
// src/components/inputs/toggle-button/toggle-button.styles.ts
|
|
17
|
-
var
|
|
17
|
+
var x = o`
|
|
18
18
|
:host {
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
@@ -52,8 +52,9 @@ var b = o`
|
|
|
52
52
|
--_toggle-button-is-selected-is-active-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
53
53
|
--_toggle-button-is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${p}
|
|
56
56
|
display: inline-block;
|
|
57
|
+
isolation: isolate;
|
|
57
58
|
position: relative;
|
|
58
59
|
-webkit-user-select: none;
|
|
59
60
|
user-select: none;
|
|
@@ -322,14 +323,14 @@ var b = o`
|
|
|
322
323
|
|
|
323
324
|
`;
|
|
324
325
|
// src/components/inputs/toggle-button/toggle-button.template.ts
|
|
325
|
-
function
|
|
326
|
-
let r = e.variant !== "icon" && !!e.text, i = e.variant !== "text" && e._hasIcon, a = e.variant === "icon" || e.variant === "icon-and-text", o =
|
|
326
|
+
function S(e) {
|
|
327
|
+
let r = e.variant !== "icon" && !!e.text, i = e.variant !== "text" && e._hasIcon, a = e.variant === "icon" || e.variant === "icon-and-text", o = m(e), s = e.accessibleLabel || ((e.variant === "icon" || o) && e.text ? e.text : ""), c = s ? [s, o].filter(Boolean).join(" ") : n, l = (i || e.variant === "icon") && !r && (e.accessibleLabel || e.text) || "", u = (e.selected && e.selectedIcon ? e.selectedIcon : e.icon) || (a ? "icon-placeholder" : ""), d = t`<slot
|
|
327
328
|
name="icon"
|
|
328
329
|
@slotchange=${e.requestUpdate}
|
|
329
330
|
>${u ? t`<nldd-icon class="toggle-button__icon"
|
|
330
331
|
icon=${u}
|
|
331
|
-
></nldd-icon>` : n}</slot>`, f = r ? t`<span class="toggle-button__text">${e.text}</span>` : n,
|
|
332
|
-
|
|
332
|
+
></nldd-icon>` : n}</slot>`, f = r ? t`<span class="toggle-button__text">${e.text}</span>` : n, p;
|
|
333
|
+
p = e.type === "radio" ? t`
|
|
333
334
|
<div class="toggle-button">
|
|
334
335
|
<input class="toggle-button__validation-input"
|
|
335
336
|
type="radio"
|
|
@@ -348,7 +349,6 @@ function x(e) {
|
|
|
348
349
|
type="checkbox"
|
|
349
350
|
.checked=${e.selected}
|
|
350
351
|
?disabled=${e.disabled}
|
|
351
|
-
?required=${e.required}
|
|
352
352
|
name=${e.name || n}
|
|
353
353
|
value=${e.value}
|
|
354
354
|
aria-label=${c}
|
|
@@ -371,8 +371,8 @@ function x(e) {
|
|
|
371
371
|
${f}
|
|
372
372
|
</button>
|
|
373
373
|
`;
|
|
374
|
-
let
|
|
375
|
-
return (l ||
|
|
374
|
+
let h = t`<slot name="interest" @slotchange=${e._interest.handleSlotChange}></slot>`;
|
|
375
|
+
return (l || g(e)) && !e._interest.overlay ? t`
|
|
376
376
|
<nldd-tooltip
|
|
377
377
|
text=${l || n}
|
|
378
378
|
shortcut=${e.shortcut || n}
|
|
@@ -380,20 +380,20 @@ function x(e) {
|
|
|
380
380
|
shortcut-windows=${e.shortcutWindows || n}
|
|
381
381
|
shortcut-linux=${e.shortcutLinux || n}
|
|
382
382
|
>
|
|
383
|
-
${
|
|
383
|
+
${p}
|
|
384
384
|
</nldd-tooltip>
|
|
385
|
-
${
|
|
386
|
-
` : t`${
|
|
385
|
+
${h}
|
|
386
|
+
` : t`${p}${h}`;
|
|
387
387
|
}
|
|
388
388
|
// src/components/inputs/toggle-button/toggle-button.ts
|
|
389
|
-
var
|
|
389
|
+
var C = class extends _(l(e)) {
|
|
390
390
|
constructor(...e) {
|
|
391
|
-
super(...e), this.variant = "", this.appearance = "neutral-tinted", this.size = "md", this.text = "", this.icon = "", this.selectedIcon = "", this.interestfor = void 0, this.accessibleLabel = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.noTab = !1, this.selected = !1, this.invalid = !1, this.name = "", this.value = "on", this.type = "button", this.required = !1, this.disabled = !1, this._interest = new
|
|
391
|
+
super(...e), this.variant = "", this.appearance = "neutral-tinted", this.size = "md", this.text = "", this.icon = "", this.selectedIcon = "", this.interestfor = void 0, this.accessibleLabel = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.noTab = !1, this.selected = !1, this.invalid = !1, this.name = "", this.value = "on", this.type = "button", this.required = !1, this.disabled = !1, this._interest = new y(this), this._groupPosition = null, this._groupHasSelection = !1, this._appliedRadioLabel = null, this._shortcutAvailability = new h(this), this._onRadioClick = (e) => {
|
|
392
392
|
if (this.type !== "radio") return;
|
|
393
393
|
let t = this._interest.overlay;
|
|
394
394
|
t && e.composedPath().includes(t) || this.toggle();
|
|
395
395
|
}, this._onRadioKeyDown = (e) => {
|
|
396
|
-
this.type !== "radio" || this.disabled || (e.key === " " ? (e.preventDefault(), this.toggle()) : e.key === "Enter" &&
|
|
396
|
+
this.type !== "radio" || this.disabled || (e.key === " " ? (e.preventDefault(), this.toggle()) : e.key === "Enter" && f(this, e));
|
|
397
397
|
}, this._onRadioFocus = () => {
|
|
398
398
|
this._tooltip?._handleFocusIn();
|
|
399
399
|
}, this._onRadioBlur = () => {
|
|
@@ -406,7 +406,7 @@ var S = class extends g(c(e)) {
|
|
|
406
406
|
return e && e.assignedElements().length > 0 ? !0 : this.querySelector(":scope > [slot=\"icon\"]") !== null;
|
|
407
407
|
}
|
|
408
408
|
willUpdate(e) {
|
|
409
|
-
super.willUpdate(e), this.hasUpdated && (e.has("selected") || e.has("disabled")) &&
|
|
409
|
+
super.willUpdate(e), this.hasUpdated && (e.has("selected") || e.has("disabled")) && b.of(this)?.optionChanged(this);
|
|
410
410
|
}
|
|
411
411
|
updated(e) {
|
|
412
412
|
e.has("interestfor") && this._interest.refresh(), (e.has("selected") || e.has("value") || e.has("type")) && this.commitFormValue(), this._syncRadioAria();
|
|
@@ -421,12 +421,12 @@ var S = class extends g(c(e)) {
|
|
|
421
421
|
"aria-setsize",
|
|
422
422
|
"tabindex"
|
|
423
423
|
]) this.removeAttribute(e);
|
|
424
|
-
this._appliedRadioLabel =
|
|
424
|
+
this._appliedRadioLabel = d(this, "aria-label", "", this._appliedRadioLabel);
|
|
425
425
|
return;
|
|
426
426
|
}
|
|
427
427
|
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected));
|
|
428
|
-
let e = [this.accessibleLabel || this.text,
|
|
429
|
-
this._appliedRadioLabel =
|
|
428
|
+
let e = [this.accessibleLabel || this.text, m(this)].filter(Boolean).join(" ");
|
|
429
|
+
this._appliedRadioLabel = d(this, "aria-label", e, this._appliedRadioLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
|
|
430
430
|
let t = this._groupPosition;
|
|
431
431
|
t ? (this.setAttribute("aria-posinset", String(t.posInSet)), this.setAttribute("aria-setsize", String(t.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
|
|
432
432
|
let n = !this.disabled && !this.noTab && t?.tabbable !== !1;
|
|
@@ -435,6 +435,13 @@ var S = class extends g(c(e)) {
|
|
|
435
435
|
formValue() {
|
|
436
436
|
return (this.type === "checkbox" || this.type === "radio") && this.selected ? this.value : null;
|
|
437
437
|
}
|
|
438
|
+
ownValidity() {
|
|
439
|
+
return this.type === "checkbox" ? c({
|
|
440
|
+
required: this.required,
|
|
441
|
+
checked: this.selected || this._groupHasSelection,
|
|
442
|
+
disabled: this.disabled
|
|
443
|
+
}) : null;
|
|
444
|
+
}
|
|
438
445
|
connectedCallback() {
|
|
439
446
|
super.connectedCallback(), this.addEventListener("click", this._onRadioClick), this.addEventListener("keydown", this._onRadioKeyDown), this.addEventListener("focus", this._onRadioFocus), this.addEventListener("blur", this._onRadioBlur);
|
|
440
447
|
}
|
|
@@ -464,7 +471,7 @@ var S = class extends g(c(e)) {
|
|
|
464
471
|
this.disabled || this.type === "radio" && this.selected || this._toggle();
|
|
465
472
|
}
|
|
466
473
|
focus(e) {
|
|
467
|
-
|
|
474
|
+
v(this, e) || (this.type === "radio" ? super.focus(e) : this.shadowRoot?.querySelector(".toggle-button__input, button.toggle-button")?.focus(e));
|
|
468
475
|
}
|
|
469
476
|
describedTarget() {
|
|
470
477
|
return this.type === "radio" ? this : this.shadowRoot?.querySelector("button.toggle-button, .toggle-button__input") ?? null;
|
|
@@ -473,67 +480,67 @@ var S = class extends g(c(e)) {
|
|
|
473
480
|
return this._interest.overlay ? [this._interest.overlay] : [];
|
|
474
481
|
}
|
|
475
482
|
render() {
|
|
476
|
-
return
|
|
483
|
+
return S(this);
|
|
477
484
|
}
|
|
478
|
-
},
|
|
485
|
+
}, w = (C.styles = x, C.formProperties = ["selected"], C.isFormInput = !0, C);
|
|
479
486
|
r([a({
|
|
480
487
|
reflect: !0,
|
|
481
|
-
converter:
|
|
482
|
-
})],
|
|
488
|
+
converter: u("")
|
|
489
|
+
})], w.prototype, "variant", void 0), r([a({
|
|
483
490
|
reflect: !0,
|
|
484
|
-
converter:
|
|
485
|
-
})],
|
|
491
|
+
converter: u("neutral-tinted")
|
|
492
|
+
})], w.prototype, "appearance", void 0), r([a({
|
|
486
493
|
reflect: !0,
|
|
487
|
-
converter:
|
|
488
|
-
})],
|
|
494
|
+
converter: u("md")
|
|
495
|
+
})], w.prototype, "size", void 0), r([a({
|
|
489
496
|
reflect: !0,
|
|
490
|
-
converter:
|
|
491
|
-
})],
|
|
497
|
+
converter: u("")
|
|
498
|
+
})], w.prototype, "text", void 0), r([a({ type: String })], w.prototype, "icon", void 0), r([a({
|
|
492
499
|
reflect: !0,
|
|
493
500
|
attribute: "selected-icon",
|
|
494
|
-
converter:
|
|
495
|
-
})],
|
|
501
|
+
converter: u("")
|
|
502
|
+
})], w.prototype, "selectedIcon", void 0), r([a({
|
|
496
503
|
type: String,
|
|
497
504
|
reflect: !0
|
|
498
|
-
})],
|
|
505
|
+
})], w.prototype, "interestfor", void 0), r([a({
|
|
499
506
|
type: String,
|
|
500
507
|
attribute: "accessible-label"
|
|
501
|
-
})],
|
|
508
|
+
})], w.prototype, "accessibleLabel", void 0), r([a({
|
|
502
509
|
reflect: !0,
|
|
503
|
-
converter:
|
|
504
|
-
})],
|
|
510
|
+
converter: u("")
|
|
511
|
+
})], w.prototype, "shortcut", void 0), r([a({
|
|
505
512
|
reflect: !0,
|
|
506
513
|
attribute: "shortcut-mac",
|
|
507
|
-
converter:
|
|
508
|
-
})],
|
|
514
|
+
converter: u("")
|
|
515
|
+
})], w.prototype, "shortcutMac", void 0), r([a({
|
|
509
516
|
reflect: !0,
|
|
510
517
|
attribute: "shortcut-windows",
|
|
511
|
-
converter:
|
|
512
|
-
})],
|
|
518
|
+
converter: u("")
|
|
519
|
+
})], w.prototype, "shortcutWindows", void 0), r([a({
|
|
513
520
|
reflect: !0,
|
|
514
521
|
attribute: "shortcut-linux",
|
|
515
|
-
converter:
|
|
516
|
-
})],
|
|
522
|
+
converter: u("")
|
|
523
|
+
})], w.prototype, "shortcutLinux", void 0), r([a({
|
|
517
524
|
type: Boolean,
|
|
518
525
|
reflect: !0,
|
|
519
526
|
attribute: "no-tab"
|
|
520
|
-
})],
|
|
527
|
+
})], w.prototype, "noTab", void 0), r([a({
|
|
521
528
|
type: Boolean,
|
|
522
529
|
reflect: !0
|
|
523
|
-
})],
|
|
530
|
+
})], w.prototype, "selected", void 0), r([a({
|
|
524
531
|
type: Boolean,
|
|
525
532
|
reflect: !0
|
|
526
|
-
})],
|
|
533
|
+
})], w.prototype, "invalid", void 0), r([a({
|
|
527
534
|
reflect: !0,
|
|
528
|
-
converter:
|
|
529
|
-
})],
|
|
535
|
+
converter: u("")
|
|
536
|
+
})], w.prototype, "name", void 0), r([a({ type: String })], w.prototype, "value", void 0), r([a({
|
|
530
537
|
reflect: !0,
|
|
531
|
-
converter:
|
|
532
|
-
})],
|
|
538
|
+
converter: u("button")
|
|
539
|
+
})], w.prototype, "type", void 0), r([a({
|
|
533
540
|
type: Boolean,
|
|
534
541
|
reflect: !0
|
|
535
|
-
})],
|
|
542
|
+
})], w.prototype, "required", void 0), r([a({
|
|
536
543
|
type: Boolean,
|
|
537
544
|
reflect: !0
|
|
538
|
-
})],
|
|
539
|
-
export {
|
|
545
|
+
})], w.prototype, "disabled", void 0), r([i()], w.prototype, "_groupPosition", void 0), r([i()], w.prototype, "_groupHasSelection", void 0), w = r([s("nldd-toggle-button")], w);
|
|
546
|
+
export { w as NLDDToggleButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
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
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
@@ -63,7 +63,7 @@ var p = class extends e {
|
|
|
63
63
|
},
|
|
64
64
|
single: () => this.type === "radio",
|
|
65
65
|
name: () => this.type === "button" ? null : this.name,
|
|
66
|
-
required: () => this.required && this.type
|
|
66
|
+
required: () => this.required && this.type !== "button",
|
|
67
67
|
forward: (e) => {
|
|
68
68
|
e.type = this.type, e.appearance = this.appearance, e.size = this.size;
|
|
69
69
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CIC8fGPN.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-7tLnKgZE.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as u } from "./slot-content-2qH2vEC_.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
8
|
+
import { t as f } from "./shadow-resets-kAFcguCG.js";
|
|
9
9
|
import { t as p } from "./token.i18n-RGD5zAtl.js";
|
|
10
|
-
import "./icon-button-
|
|
11
|
-
import { t as m } from "./translations-
|
|
10
|
+
import "./icon-button-CkNgX7Ra.js";
|
|
11
|
+
import { t as m } from "./with-translations-DSfo7eL-.js";
|
|
12
12
|
import { t as h } from "./overlay-invoker-Dj6MQAtF.js";
|
|
13
13
|
// src/components/content/token/token.styles.ts
|
|
14
14
|
var g = s`
|
|
@@ -165,7 +165,7 @@ function _(e) {
|
|
|
165
165
|
tooltip-timing="never"
|
|
166
166
|
popup-type=${e._popupType}
|
|
167
167
|
?no-tab=${e.roving}
|
|
168
|
-
?expanded=${e.
|
|
168
|
+
?expanded=${e._expanded}
|
|
169
169
|
?disabled=${e.disabled}
|
|
170
170
|
@pointerdown=${e._handleMenuButtonPointerdown}
|
|
171
171
|
@click=${e._handleMenuClick}
|
|
@@ -177,16 +177,16 @@ function _(e) {
|
|
|
177
177
|
`;
|
|
178
178
|
}
|
|
179
179
|
// src/components/content/token/token.ts
|
|
180
|
-
var v = /* @__PURE__ */ e({ NLDDToken: () => b }), y = class extends t {
|
|
180
|
+
var v = /* @__PURE__ */ e({ NLDDToken: () => b }), y = class extends m(t, p) {
|
|
181
181
|
constructor(...e) {
|
|
182
|
-
super(...e), this._textSlot = new u(this), this.text = "", this.dismissText = "", this.control = "none", this.menuText = "", this.roving = !1, this.
|
|
182
|
+
super(...e), this._textSlot = new u(this), this.text = "", this.dismissText = "", this.control = "none", this.menuText = "", this.roving = !1, this._expanded = !1, this.disabled = !1, this._popupType = "menu", this._slotText = "", this._textObserver = new MutationObserver(() => this._readSlotText()), this._menu = new h(this, {
|
|
183
183
|
anchorFor: () => this._menuButton ?? this,
|
|
184
184
|
onChange: (e, t) => {
|
|
185
185
|
t?.removeEventListener("toggle", this._handleMenuToggle), this._popupType = e?.localName === "nldd-popover" ? "dialog" : "menu", e && (e.localName === "nldd-menu" && (e.variant = "menu"), e.placement = "bottom-start", e.addEventListener("toggle", this._handleMenuToggle));
|
|
186
186
|
}
|
|
187
187
|
}), this._handleMenuToggle = (e) => {
|
|
188
188
|
let t = e.newState === "open";
|
|
189
|
-
if (this.
|
|
189
|
+
if (this._expanded = t, !t) {
|
|
190
190
|
let e = document.activeElement;
|
|
191
191
|
(!e || e === document.body || this.contains(e)) && this._menuButton?.focus();
|
|
192
192
|
}
|
|
@@ -201,9 +201,6 @@ var v = /* @__PURE__ */ e({ NLDDToken: () => b }), y = class extends t {
|
|
|
201
201
|
_readSlotText() {
|
|
202
202
|
this._slotText = [...this.childNodes].filter((e) => !(e instanceof Element && e.hasAttribute("slot"))).map((e) => e.textContent).join("").replace(/\s+/g, " ").trim();
|
|
203
203
|
}
|
|
204
|
-
_t(e) {
|
|
205
|
-
return m(this.translations, p, e);
|
|
206
|
-
}
|
|
207
204
|
get _dismissLabel() {
|
|
208
205
|
let e = this.text || this._slotText;
|
|
209
206
|
if (this.dismissText) return this.dismissText;
|
|
@@ -257,9 +254,10 @@ i([o({ type: String })], b.prototype, "text", void 0), i([o({
|
|
|
257
254
|
reflect: !0
|
|
258
255
|
})], b.prototype, "roving", void 0), i([o({
|
|
259
256
|
type: Boolean,
|
|
260
|
-
reflect: !0
|
|
261
|
-
|
|
257
|
+
reflect: !0,
|
|
258
|
+
attribute: "expanded"
|
|
259
|
+
})], b.prototype, "_expanded", void 0), i([o({
|
|
262
260
|
type: Boolean,
|
|
263
261
|
reflect: !0
|
|
264
|
-
})], b.prototype, "disabled", void 0), i([
|
|
262
|
+
})], b.prototype, "disabled", void 0), i([a()], b.prototype, "_popupType", void 0), i([a()], b.prototype, "_slotText", void 0), i([l(".token__menu-action nldd-icon-button")], b.prototype, "_menuButton", void 0), b = i([c("nldd-token")], b);
|
|
265
263
|
export { v as t };
|