@nldd/design-system 0.28.1 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/custom-elements.json +237 -170
- 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-Eyvvbt4L.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-C6M7whqP.js → accordion-item-tTwSzJIR.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-NvfhYycS.js → activity-indicator-DPQNZQDO.js} +5 -5
- package/dist/cdn/chunks/{admonition-CrFn5dn8.js → admonition-BRmILQsf.js} +21 -20
- package/dist/cdn/chunks/{avatar-De4nVQAy.js → avatar-D3gM-JHI.js} +14 -14
- package/dist/cdn/chunks/{avatar-group-cS_7WjsC.js → avatar-group-B_d8PyyP.js} +15 -15
- package/dist/cdn/chunks/{badge-BNmnWgNJ.js → badge-Bh665MoY.js} +5 -10
- package/dist/cdn/chunks/{banner-CJ0VfDQl.js → banner-DChycHh5.js} +27 -30
- package/dist/cdn/chunks/{bar-split-view-DJZ_RMrc.js → bar-split-view-DakaOexc.js} +5 -5
- package/dist/cdn/chunks/{blockquote-Fbk-Cz-z.js → blockquote-BqBNTgop.js} +32 -29
- package/dist/cdn/chunks/{box-DUjTdMwj.js → box-B3zUs9dD.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DvQfnS-r.js → breadcrumbs-CNRmh93a.js} +43 -47
- package/dist/cdn/chunks/{button-BiZEK2qo.js → button-3oNu2JqC.js} +76 -74
- 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-BVW0oCKu.js} +4 -4
- package/dist/cdn/chunks/{cell-D4rzlHiL.js → cell-C2vZmYOL.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BAXC8LxT.js → checkbox-LCfb8_rn.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DokK3uET.js → checkbox-field-BeIbKEWd.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-dYi8Qw-Z.js → checkbox-group-DezaH0Mb.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-BP9eNQVl.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DmaSO8TW.js → code-viewer-DJ3TJWD_.js} +7 -7
- package/dist/cdn/chunks/{codemirror-input-yuu4_CF5.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-DRkMikEK.js → collection-CTa6APvK.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BfgDCM9z.js → combo-box-BcUXaJuO.js} +9 -9
- 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-3AJMYQ6k.js} +89 -99
- package/dist/cdn/chunks/{date-picker-DwXIznN6.js → date-picker-Ho8Mkvcv.js} +10 -10
- 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-DnyCIOZd.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-CqjLOpKx.js} +9 -9
- package/dist/cdn/chunks/{dropdown-imPdtMWv.js → dropdown-DHlIJDc9.js} +12 -11
- package/dist/cdn/chunks/{file-field-KvBiDQDG.js → file-field-B-R605PQ.js} +123 -122
- 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-CiWFS40A.js} +62 -54
- 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-Q4drn-q0.js} +3 -3
- package/dist/cdn/chunks/{hero-CLt5Cw5O.js → hero-CiPeHBJi.js} +4 -4
- package/dist/cdn/chunks/{icon-Dm2x9BcO.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-CBEWhco-.js → icon-button-CCiDTx3_.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-xlk5m8S9.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--hemIqn_.js} +53 -45
- package/dist/cdn/chunks/{inline-dialog-DIOgk8bK.js → inline-dialog-TetcCCuR.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-BZNVdvuU.js → just-in-time-education-B5veXLNI.js} +5 -5
- package/dist/cdn/chunks/{kanban-Cck2OXzv.js → kanban-D_rUckwT.js} +5 -5
- package/dist/cdn/chunks/{kanban-column--KK3DP8d.js → kanban-column-DXhOQ64A.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-CuyFIf1M.js → keyboard-shortcut-CtLlBcQg.js} +3 -3
- package/dist/cdn/chunks/{languages-AgQxW3ST.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{link-Dwx2iVe3.js → link-ChRCGtWP.js} +6 -6
- package/dist/cdn/chunks/{link-group-C1W4fywA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DLzBphoL.js → list-Bfh3X6o8.js} +8 -8
- package/dist/cdn/chunks/{list-item-C_ehVVWB.js → list-item-BcEWw55r.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BSKAGZX1.js → list-item-segment-ChGSqurx.js} +3 -3
- package/dist/cdn/chunks/{menu-C1PAGWta.js → menu-Dj1cdu5O.js} +10 -13
- package/dist/cdn/chunks/{menu-bar-0nenrPh7.js → menu-bar-DCkLwYES.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-CxwtcbeA.js → menu-bar-item-eLhyoBaG.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-FTcoHy0o.js → menu-divider-BUNkdRG6.js} +3 -3
- package/dist/cdn/chunks/{menu-group-CbuJhLxI.js → menu-group-rgTyUCIY.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BMblp58r.js → menu-item-CttLz526.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DVwVuOZ7.js → menu.template-D6Y2bQao.js} +57 -42
- package/dist/cdn/chunks/{modal-dialog-Bd0UpTKp.js → modal-dialog-CUb8QrtP.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-C_Mrqdc7.js → multi-line-text-field-Db8a2YIL.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-DI6bkyO8.js → navigation-split-view-D8ATWcAf.js} +5 -5
- package/dist/cdn/chunks/{notification-DlP3Jqyg.js → notification-DHvaRREb.js} +102 -101
- package/dist/cdn/chunks/{number-field-BJ6CkhId.js → number-field-C_rgYWIM.js} +66 -48
- package/dist/cdn/chunks/{one-half-one-half-section-DHCUh_wz.js → one-half-one-half-section-DFYjUF3h.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DYTm8bKQ.js → one-third-two-thirds-section-DovKfHkM.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DHuL7IM1.js → one-time-code-field-BBg30doG.js} +27 -22
- package/dist/cdn/chunks/{overflow-menu-ziAYinfd.js → overflow-menu-CAIY3hk-.js} +1 -1
- package/dist/cdn/chunks/{page-CN9aT0-o.js → page-DpcervFE.js} +13 -6
- package/dist/cdn/chunks/{page-footer-BHk3XPcl.js → page-footer-B0JJvSf7.js} +45 -43
- package/dist/cdn/chunks/{page-section-mixin-BCWdaBe-.js → page-section-mixin-B98EwIts.js} +3 -3
- package/dist/cdn/chunks/{pagination-TG6S64c8.js → pagination-D1o7xN9-.js} +6 -6
- package/dist/cdn/chunks/{password-field-WlBkV6Zk.js → password-field-CWneSaEV.js} +8 -8
- package/dist/cdn/chunks/{popover-SPjzHEBv.js → popover-Bm7Kc6Ep.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-y1V2-yVB.js → progress-bar-3eU3rFW6.js} +48 -43
- package/dist/cdn/chunks/{progress-circle-CmHdUkXN.js → progress-circle-CHMKX8uz.js} +51 -49
- 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-CsJ0DMrB.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-BOSrS8Cw.js → radio-button-group-CdDmgzn3.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-M_xNSghw.js} +4 -4
- 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-B8ANpryO.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CACRXO0G.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CnG9vdGO.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{search-field-DHwGMif1.js → search-field-1zFx-owG.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-DhEmavt0.js → segmented-control-CRRWCyFW.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-B5O9JTmC.js → shadow-resets-B6C3rG8q.js} +2 -2
- package/dist/cdn/chunks/{sheet-BLe_3_DE.js → sheet-ChPeBrfk.js} +3 -3
- package/dist/cdn/chunks/{shell-DqPhGCqs.js → shell-DpKdCX0m.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DCAuNLWx.js → side-by-side-split-view-BoJ6fcJg.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-nC17BdDf.js → sidebar-section-D1fyh0uU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-C2XC7_dY.js → simple-section-CyDYDeg_.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DVUTni1o.js → skip-link-Dzz1lV-5.js} +28 -26
- package/dist/cdn/chunks/{slider-D6bcOyZe.js → slider-K7ylsn0X.js} +9 -9
- 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-BYqftEp3.js} +9 -7
- 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-BG0kRfdn.js} +4 -4
- 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-oyMa4uJG.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BhgHHkDX.js → step-bar-CQd9nSub.js} +32 -29
- 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-d-usvzY0.js} +7 -7
- 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-CDCUnY72.js} +6 -6
- package/dist/cdn/chunks/{switch-CkeeQxIb.js → switch-BMGaGKGr.js} +5 -5
- package/dist/cdn/chunks/{switch-field-Bz3JEf0A.js → switch-field-BaKICGGz.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-A1J5hAqM.js → tab-bar-BFDYrnsi.js} +8 -8
- package/dist/cdn/chunks/{table-D_AIkENk.js → table-DZx86t9S.js} +7 -5
- package/dist/cdn/chunks/{tag-CSEVQj4T.js → tag-BcfNqWxs.js} +21 -19
- package/dist/cdn/chunks/{term-DuVHCQcO.js → term-BgyQFHrz.js} +12 -12
- package/dist/cdn/chunks/{text-CBH-FTlq.js → text-ChSJGujM.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D60E-KiB.js → text-cell-fnnbWR_Y.js} +55 -42
- package/dist/cdn/chunks/{text-editor-CFesnlv8.js → text-editor-D9K1Z87u.js} +20 -17
- package/dist/cdn/chunks/{text-field-ClvBNmw_.js → text-field-DzNb872n.js} +6 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-D1ueoBOt.js → time-field-DiJhXcaX.js} +14 -14
- package/dist/cdn/chunks/{time-picker-ttlWNV2I.js → time-picker-DZlD7fVz.js} +5 -5
- package/dist/cdn/chunks/{title-D2otK52V.js → title-BUC_Asb4.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BOolNM8K.js → title-cell-jmBvTRwY.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CzWCZusb.js → toggle-button-UssRHIiz.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-group-BUKU9xiy.js → toggle-button-group-Bj8Rjd93.js} +2 -2
- package/dist/cdn/chunks/{token-HxBj8tdv.js → token-DTjIKIJl.js} +11 -10
- package/dist/cdn/chunks/{token-field-DHAfga9R.js → token-field-CEtnrqKT.js} +13 -13
- package/dist/cdn/chunks/{toolbar-CR6uWzjc.js → toolbar-CvinP7R9.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-M5kEBN_1.js → toolbar-item-CiCs-MqI.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-2XyAXFDG.js → toolbar-title-YdFqO0Xq.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-SLbsPK33.js → toolbar.styles-DO1jDSfb.js} +3 -3
- package/dist/cdn/chunks/{tooltip-yN6v0-a6.js → tooltip-CGSe6rYu.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-DSv3hYF4.js → top-navigation-bar-akJzlepM.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-Cs93GAbh.js → top-title-bar-CuU2kYrc.js} +13 -6
- package/dist/cdn/chunks/{translations-1C8iw2u1.js → translations-tgPL1Hx3.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-DtrkuHxs.js → two-thirds-one-third-section-BE40gzfe.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BrEOIlrc.js → validation-list-B_VwBQD0.js} +30 -28
- 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-CJybFUUG.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CaLhynTn.js → with-translations-CZaQOZ9L.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +3 -1
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +1 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +1 -4
- 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 +22 -3
- 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.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/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/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 +9 -9
- 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/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 +3 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +3 -3
- package/dist/components/content/code-viewer/code-viewer.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.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +9 -1
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +11 -10
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +16 -16
- 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/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 +2 -2
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +5 -5
- 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.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.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-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/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/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.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +3 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +5 -5
- 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 +20 -8
- 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 +33 -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/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/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.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 +2 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -2
- package/dist/components/layout/page/page.d.ts +10 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +19 -1
- 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.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/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/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/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 +4 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -2
- 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 +9 -8
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.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/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/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.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/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/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +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.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 +4 -1
- 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 +5 -2
- 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 +1593 -1492
- package/dist/types/react.d.ts +33 -30
- package/dist/types/vue.d.ts +39 -37
- 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/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type CSSResult } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* How text breaks when it does not fit, per use. One set per kind of text, so
|
|
4
|
+
* the decision for that kind lives here and every component that shows it
|
|
5
|
+
* follows: change what body text does, and every body text changes with it.
|
|
6
|
+
*
|
|
7
|
+
* Each set is only about whether and where a word breaks. How the lines are
|
|
8
|
+
* divided (`text-wrap: pretty` or `balance`) is a choice of the component.
|
|
9
|
+
*
|
|
10
|
+
* Usage, in the rule of the element that holds the text (or its host, as the
|
|
11
|
+
* properties inherit into slotted content):
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* css`
|
|
15
|
+
* :host {
|
|
16
|
+
* ${wrapBodyText}
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* :host([hyphens]) {
|
|
20
|
+
* ${hyphenateBodyText}
|
|
21
|
+
* }
|
|
22
|
+
* `
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* Hyphenation needs a `lang` on the page; without one the browser does not
|
|
26
|
+
* hyphenate, and the safety net of the set still breaks the word.
|
|
27
|
+
*
|
|
28
|
+
* In a `::slotted()` rule after `slottedReset`, wrap a set in
|
|
29
|
+
* {@link important}, as every other declaration there is.
|
|
30
|
+
*
|
|
31
|
+
* A plain stylesheet (rich-text.css, text.css) cannot import these, so it
|
|
32
|
+
* writes the values out with a comment naming the set. A test of that
|
|
33
|
+
* component compares the two with text-wrap.fixtures.ts.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* Text to read: a paragraph, a list item, the supporting text of a message.
|
|
37
|
+
* Breaks at spaces and hyphens; a word wider than the line breaks between two
|
|
38
|
+
* letters, so it never runs out of its box. `break-word` and not `anywhere`:
|
|
39
|
+
* the minimum width of the text stays its longest word, so a column in a grid
|
|
40
|
+
* or a flex row does not shrink to a single letter.
|
|
41
|
+
*/
|
|
42
|
+
export declare const wrapBodyText: CSSResult;
|
|
43
|
+
/**
|
|
44
|
+
* Opt-in hyphenation for body text, behind a `hyphens` attribute. Breaks a
|
|
45
|
+
* word of at least 6 letters by syllable, with at least 3 on either side.
|
|
46
|
+
*/
|
|
47
|
+
export declare const hyphenateBodyText: CSSResult;
|
|
48
|
+
/**
|
|
49
|
+
* Text that is part of the interface rather than read: the text of a button,
|
|
50
|
+
* a tag. Few words on a short line, often one compound, and a word cut between
|
|
51
|
+
* two letters looks broken in so small a box. So, like large text, always
|
|
52
|
+
* hyphenated, but only a word of at least 12 letters with 5 on either side:
|
|
53
|
+
* a short word and a name of a few words stay whole. `break-word` as the
|
|
54
|
+
* safety net, so the minimum width stays the longest word.
|
|
55
|
+
*/
|
|
56
|
+
export declare const wrapUiText: CSSResult;
|
|
57
|
+
/**
|
|
58
|
+
* Large text: a display size, a title, a heading. At these sizes a line holds
|
|
59
|
+
* few letters, so a long compound would often be cut between two letters, and
|
|
60
|
+
* it shows. Always hyphenated, but only a word of at least 12 letters with 5
|
|
61
|
+
* on either side, so a short word moves to the next line whole. `anywhere` as
|
|
62
|
+
* the safety net: large text gives way rather than run out of a flex row.
|
|
63
|
+
*/
|
|
64
|
+
export declare const wrapDisplayText: CSSResult;
|
|
65
|
+
/**
|
|
66
|
+
* Inline code and file names: a tag name, a hash, a path, `besluit-A-1042.pdf`.
|
|
67
|
+
* They have no spaces or syllables to break at, so they break between any two
|
|
68
|
+
* characters, and their minimum width is one character: a column with code in
|
|
69
|
+
* it, in a table or a grid, does not widen to the longest token.
|
|
70
|
+
*/
|
|
71
|
+
export declare const wrapCodeText: CSSResult;
|
|
72
|
+
/**
|
|
73
|
+
* A set with `!important` on each declaration, for a `::slotted()` rule after `slottedReset`.
|
|
74
|
+
* It splits on `;`, so it holds only for sets of plain declarations: a `;` inside a value,
|
|
75
|
+
* in a `url()` or a string, would break it.
|
|
76
|
+
*/
|
|
77
|
+
export declare const important: (set: CSSResult) => CSSResult;
|
|
78
|
+
//# sourceMappingURL=text-wrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-wrap.d.ts","sourceRoot":"","sources":["../../../src/assets/styles/text-wrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,WAExB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAM7B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,WAOtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,WAO3B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,WAExB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,KAAK,SAAS,KAAG,SAAiE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CSSResult } from 'lit';
|
|
2
|
+
/** The computed wrap properties of an element. */
|
|
3
|
+
export declare function wrapOf(el: Element): Record<string, string>;
|
|
4
|
+
/** The computed wrap properties that one or more sets give an element of their own. */
|
|
5
|
+
export declare function wrapOfSets(...sets: CSSResult[]): Record<string, string>;
|
|
6
|
+
//# sourceMappingURL=text-wrap.fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-wrap.fixtures.d.ts","sourceRoot":"","sources":["../../../src/assets/styles/text-wrap.fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAQrC,kDAAkD;AAClD,wBAAgB,MAAM,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAG1D;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYvE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The properties a set in text-wrap.ts decides. A stylesheet that cannot
|
|
3
|
+
* import the sets (rich-text.css, text.css) is compared on these.
|
|
4
|
+
*/
|
|
5
|
+
const WRAP_PROPERTIES = ['overflow-wrap', 'hyphens', 'hyphenate-limit-chars'];
|
|
6
|
+
/** The computed wrap properties of an element. */
|
|
7
|
+
export function wrapOf(el) {
|
|
8
|
+
const style = getComputedStyle(el);
|
|
9
|
+
return Object.fromEntries(WRAP_PROPERTIES.map((p) => [p, style.getPropertyValue(p)]));
|
|
10
|
+
}
|
|
11
|
+
/** The computed wrap properties that one or more sets give an element of their own. */
|
|
12
|
+
export function wrapOfSets(...sets) {
|
|
13
|
+
const host = document.createElement('div');
|
|
14
|
+
document.body.append(host);
|
|
15
|
+
const root = host.attachShadow({ mode: 'open' });
|
|
16
|
+
const sheet = new CSSStyleSheet();
|
|
17
|
+
sheet.replaceSync(`span { ${sets.map((s) => s.cssText).join('\n')} }`);
|
|
18
|
+
root.adoptedStyleSheets = [sheet];
|
|
19
|
+
const span = document.createElement('span');
|
|
20
|
+
root.append(span);
|
|
21
|
+
const result = wrapOf(span);
|
|
22
|
+
host.remove();
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=text-wrap.fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-wrap.fixtures.js","sourceRoot":"","sources":["../../../src/assets/styles/text-wrap.fixtures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,eAAe,EAAE,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAE9E,kDAAkD;AAClD,MAAM,UAAU,MAAM,CAAC,EAAW;IACjC,MAAM,KAAK,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IACnC,OAAO,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvF,CAAC;AAED,uFAAuF;AACvF,MAAM,UAAU,UAAU,CAAC,GAAG,IAAiB;IAC9C,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3C,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,IAAI,aAAa,EAAE,CAAC;IAClC,KAAK,CAAC,WAAW,CAAC,UAAU,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvE,IAAI,CAAC,kBAAkB,GAAG,CAAC,KAAK,CAAC,CAAC;IAClC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClB,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,CAAC,MAAM,EAAE,CAAC;IACd,OAAO,MAAM,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { css, unsafeCSS } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* How text breaks when it does not fit, per use. One set per kind of text, so
|
|
4
|
+
* the decision for that kind lives here and every component that shows it
|
|
5
|
+
* follows: change what body text does, and every body text changes with it.
|
|
6
|
+
*
|
|
7
|
+
* Each set is only about whether and where a word breaks. How the lines are
|
|
8
|
+
* divided (`text-wrap: pretty` or `balance`) is a choice of the component.
|
|
9
|
+
*
|
|
10
|
+
* Usage, in the rule of the element that holds the text (or its host, as the
|
|
11
|
+
* properties inherit into slotted content):
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* css`
|
|
15
|
+
* :host {
|
|
16
|
+
* ${wrapBodyText}
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* :host([hyphens]) {
|
|
20
|
+
* ${hyphenateBodyText}
|
|
21
|
+
* }
|
|
22
|
+
* `
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* Hyphenation needs a `lang` on the page; without one the browser does not
|
|
26
|
+
* hyphenate, and the safety net of the set still breaks the word.
|
|
27
|
+
*
|
|
28
|
+
* In a `::slotted()` rule after `slottedReset`, wrap a set in
|
|
29
|
+
* {@link important}, as every other declaration there is.
|
|
30
|
+
*
|
|
31
|
+
* A plain stylesheet (rich-text.css, text.css) cannot import these, so it
|
|
32
|
+
* writes the values out with a comment naming the set. A test of that
|
|
33
|
+
* component compares the two with text-wrap.fixtures.ts.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* Text to read: a paragraph, a list item, the supporting text of a message.
|
|
37
|
+
* Breaks at spaces and hyphens; a word wider than the line breaks between two
|
|
38
|
+
* letters, so it never runs out of its box. `break-word` and not `anywhere`:
|
|
39
|
+
* the minimum width of the text stays its longest word, so a column in a grid
|
|
40
|
+
* or a flex row does not shrink to a single letter.
|
|
41
|
+
*/
|
|
42
|
+
export const wrapBodyText = css `
|
|
43
|
+
overflow-wrap: break-word;
|
|
44
|
+
`;
|
|
45
|
+
/**
|
|
46
|
+
* Opt-in hyphenation for body text, behind a `hyphens` attribute. Breaks a
|
|
47
|
+
* word of at least 6 letters by syllable, with at least 3 on either side.
|
|
48
|
+
*/
|
|
49
|
+
export const hyphenateBodyText = css `
|
|
50
|
+
-webkit-hyphens: auto;
|
|
51
|
+
hyphens: auto;
|
|
52
|
+
-webkit-hyphenate-limit-before: 3;
|
|
53
|
+
-webkit-hyphenate-limit-after: 3;
|
|
54
|
+
hyphenate-limit-chars: 6 3 3;
|
|
55
|
+
`;
|
|
56
|
+
/**
|
|
57
|
+
* Text that is part of the interface rather than read: the text of a button,
|
|
58
|
+
* a tag. Few words on a short line, often one compound, and a word cut between
|
|
59
|
+
* two letters looks broken in so small a box. So, like large text, always
|
|
60
|
+
* hyphenated, but only a word of at least 12 letters with 5 on either side:
|
|
61
|
+
* a short word and a name of a few words stay whole. `break-word` as the
|
|
62
|
+
* safety net, so the minimum width stays the longest word.
|
|
63
|
+
*/
|
|
64
|
+
export const wrapUiText = css `
|
|
65
|
+
overflow-wrap: break-word;
|
|
66
|
+
-webkit-hyphens: auto;
|
|
67
|
+
hyphens: auto;
|
|
68
|
+
-webkit-hyphenate-limit-before: 5;
|
|
69
|
+
-webkit-hyphenate-limit-after: 5;
|
|
70
|
+
hyphenate-limit-chars: 12 5 5;
|
|
71
|
+
`;
|
|
72
|
+
/**
|
|
73
|
+
* Large text: a display size, a title, a heading. At these sizes a line holds
|
|
74
|
+
* few letters, so a long compound would often be cut between two letters, and
|
|
75
|
+
* it shows. Always hyphenated, but only a word of at least 12 letters with 5
|
|
76
|
+
* on either side, so a short word moves to the next line whole. `anywhere` as
|
|
77
|
+
* the safety net: large text gives way rather than run out of a flex row.
|
|
78
|
+
*/
|
|
79
|
+
export const wrapDisplayText = css `
|
|
80
|
+
overflow-wrap: anywhere;
|
|
81
|
+
-webkit-hyphens: auto;
|
|
82
|
+
hyphens: auto;
|
|
83
|
+
-webkit-hyphenate-limit-before: 5;
|
|
84
|
+
-webkit-hyphenate-limit-after: 5;
|
|
85
|
+
hyphenate-limit-chars: 12 5 5;
|
|
86
|
+
`;
|
|
87
|
+
/**
|
|
88
|
+
* Inline code and file names: a tag name, a hash, a path, `besluit-A-1042.pdf`.
|
|
89
|
+
* They have no spaces or syllables to break at, so they break between any two
|
|
90
|
+
* characters, and their minimum width is one character: a column with code in
|
|
91
|
+
* it, in a table or a grid, does not widen to the longest token.
|
|
92
|
+
*/
|
|
93
|
+
export const wrapCodeText = css `
|
|
94
|
+
overflow-wrap: anywhere;
|
|
95
|
+
`;
|
|
96
|
+
/**
|
|
97
|
+
* A set with `!important` on each declaration, for a `::slotted()` rule after `slottedReset`.
|
|
98
|
+
* It splits on `;`, so it holds only for sets of plain declarations: a `;` inside a value,
|
|
99
|
+
* in a `url()` or a string, would break it.
|
|
100
|
+
*/
|
|
101
|
+
export const important = (set) => unsafeCSS(set.cssText.replace(/;/g, ' !important;'));
|
|
102
|
+
//# sourceMappingURL=text-wrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-wrap.js","sourceRoot":"","sources":["../../../src/assets/styles/text-wrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAkB,MAAM,KAAK,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;CAE9B,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;CAMnC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;CAO5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;CAOjC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;CAE9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,GAAc,EAAa,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC"}
|
package/dist/cdn/autoloader.js
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
1
|
import { t as e } from "./chunks/loading-tags-DtUr-DR7.js";
|
|
2
2
|
// src/utilities/autoloader.generated.ts
|
|
3
3
|
var t = {
|
|
4
|
-
"nldd-accordion": () => import("./chunks/accordion-
|
|
5
|
-
"nldd-accordion-item": () => import("./chunks/accordion-item-
|
|
6
|
-
"nldd-activity-indicator": () => import("./chunks/activity-indicator-
|
|
7
|
-
"nldd-admonition": () => import("./chunks/admonition-
|
|
8
|
-
"nldd-avatar": () => import("./chunks/avatar-
|
|
9
|
-
"nldd-avatar-group": () => import("./chunks/avatar-group-
|
|
10
|
-
"nldd-badge": () => import("./chunks/badge-
|
|
11
|
-
"nldd-banner": () => import("./chunks/banner-
|
|
12
|
-
"nldd-bar-split-view": () => import("./chunks/bar-split-view-
|
|
13
|
-
"nldd-blockquote": () => import("./chunks/blockquote-
|
|
14
|
-
"nldd-box": () => import("./chunks/box-
|
|
15
|
-
"nldd-breadcrumbs": () => import("./chunks/breadcrumbs-
|
|
16
|
-
"nldd-breadcrumbs-item": () => import("./chunks/breadcrumbs-
|
|
17
|
-
"nldd-button": () => import("./chunks/button-
|
|
18
|
-
"nldd-button-bar": () => import("./chunks/button-bar-
|
|
19
|
-
"nldd-button-bar-divider": () => import("./chunks/button-bar-
|
|
20
|
-
"nldd-button-group": () => import("./chunks/button-group-
|
|
21
|
-
"nldd-card": () => import("./chunks/card-
|
|
22
|
-
"nldd-cell": () => import("./chunks/cell-
|
|
23
|
-
"nldd-checkbox": () => import("./chunks/checkbox-
|
|
24
|
-
"nldd-checkbox-field": () => import("./chunks/checkbox-field-
|
|
25
|
-
"nldd-checkbox-group": () => import("./chunks/checkbox-group-
|
|
26
|
-
"nldd-code-editor": () => import("./chunks/code-editor-
|
|
27
|
-
"nldd-code-viewer": () => import("./chunks/code-viewer-
|
|
28
|
-
"nldd-collection": () => import("./chunks/collection-
|
|
29
|
-
"nldd-combo-box": () => import("./chunks/combo-box-
|
|
30
|
-
"nldd-container": () => import("./chunks/container-
|
|
31
|
-
"nldd-date-field": () => import("./chunks/date-field-
|
|
32
|
-
"nldd-date-picker": () => import("./chunks/date-picker-
|
|
33
|
-
"nldd-description-cell": () => import("./chunks/description-cell-
|
|
34
|
-
"nldd-divider": () => import("./chunks/divider-
|
|
35
|
-
"nldd-document-tab-bar": () => import("./chunks/document-tab-bar-
|
|
36
|
-
"nldd-document-tab-bar-item": () => import("./chunks/document-tab-bar-
|
|
37
|
-
"nldd-dropdown": () => import("./chunks/dropdown-
|
|
38
|
-
"nldd-file-field": () => import("./chunks/file-field-
|
|
39
|
-
"nldd-form": () => import("./chunks/form-
|
|
40
|
-
"nldd-form-actions": () => import("./chunks/form-actions-
|
|
41
|
-
"nldd-form-field": () => import("./chunks/form-field-
|
|
42
|
-
"nldd-form-field-help-text": () => import("./chunks/form-field-
|
|
43
|
-
"nldd-form-section": () => import("./chunks/form-section-
|
|
44
|
-
"nldd-full-bleed-section": () => import("./chunks/full-bleed-section-
|
|
45
|
-
"nldd-hero": () => import("./chunks/hero-
|
|
46
|
-
"nldd-icon": () => import("./chunks/icon-
|
|
47
|
-
"nldd-icon-button": () => import("./chunks/icon-button-
|
|
48
|
-
"nldd-icon-cell": () => import("./chunks/icon-cell-
|
|
49
|
-
"nldd-identity": () => import("./chunks/identity-
|
|
50
|
-
"nldd-image": () => import("./chunks/image
|
|
51
|
-
"nldd-inline-dialog": () => import("./chunks/inline-dialog-
|
|
52
|
-
"nldd-just-in-time-education": () => import("./chunks/just-in-time-education-
|
|
53
|
-
"nldd-kanban": () => import("./chunks/kanban-
|
|
54
|
-
"nldd-kanban-column": () => import("./chunks/kanban-column
|
|
55
|
-
"nldd-keyboard-shortcut": () => import("./chunks/keyboard-shortcut-
|
|
56
|
-
"nldd-link": () => import("./chunks/link-
|
|
57
|
-
"nldd-link-group": () => import("./chunks/link-group-
|
|
58
|
-
"nldd-list": () => import("./chunks/list-
|
|
59
|
-
"nldd-list-item": () => import("./chunks/list-item-
|
|
60
|
-
"nldd-list-item-segment": () => import("./chunks/list-item-segment-
|
|
61
|
-
"nldd-menu": () => import("./chunks/menu-
|
|
62
|
-
"nldd-menu-bar": () => import("./chunks/menu-bar-
|
|
63
|
-
"nldd-menu-bar-item": () => import("./chunks/menu-bar-item-
|
|
64
|
-
"nldd-menu-divider": () => import("./chunks/menu-divider-
|
|
65
|
-
"nldd-menu-group": () => import("./chunks/menu-group-
|
|
66
|
-
"nldd-menu-item": () => import("./chunks/menu-item-
|
|
67
|
-
"nldd-modal-dialog": () => import("./chunks/modal-dialog-
|
|
68
|
-
"nldd-multi-line-text-field": () => import("./chunks/multi-line-text-field-
|
|
69
|
-
"nldd-navigation-split-view": () => import("./chunks/navigation-split-view-
|
|
70
|
-
"nldd-notification": () => import("./chunks/notification-
|
|
71
|
-
"nldd-number-field": () => import("./chunks/number-field-
|
|
72
|
-
"nldd-one-half-one-half-section": () => import("./chunks/one-half-one-half-section-
|
|
73
|
-
"nldd-one-third-two-thirds-section": () => import("./chunks/one-third-two-thirds-section-
|
|
74
|
-
"nldd-one-time-code-field": () => import("./chunks/one-time-code-field-
|
|
75
|
-
"nldd-page": () => import("./chunks/page-
|
|
76
|
-
"nldd-page-footer": () => import("./chunks/page-footer-
|
|
77
|
-
"nldd-page-footer-legal-bar": () => import("./chunks/page-footer-
|
|
78
|
-
"nldd-page-footer-legal-bar-item": () => import("./chunks/page-footer-
|
|
79
|
-
"nldd-pagination": () => import("./chunks/pagination-
|
|
80
|
-
"nldd-password-field": () => import("./chunks/password-field-
|
|
81
|
-
"nldd-popover": () => import("./chunks/popover-
|
|
82
|
-
"nldd-progress-bar": () => import("./chunks/progress-bar-
|
|
83
|
-
"nldd-progress-bar-segment-indicator": () => import("./chunks/progress-bar-
|
|
84
|
-
"nldd-progress-circle": () => import("./chunks/progress-circle-
|
|
85
|
-
"nldd-progress-circle-segment-indicator": () => import("./chunks/progress-circle-
|
|
86
|
-
"nldd-radio-button": () => import("./chunks/radio-button-
|
|
87
|
-
"nldd-radio-button-field": () => import("./chunks/radio-button-field-
|
|
88
|
-
"nldd-radio-button-group": () => import("./chunks/radio-button-group-
|
|
89
|
-
"nldd-reorder-handle-cell": () => import("./chunks/reorder-handle-cell-
|
|
90
|
-
"nldd-rich-text": () => import("./chunks/rich-text-
|
|
91
|
-
"nldd-search-field": () => import("./chunks/search-field-
|
|
92
|
-
"nldd-segmented-control": () => import("./chunks/segmented-control-
|
|
93
|
-
"nldd-segmented-control-item": () => import("./chunks/segmented-control-
|
|
94
|
-
"nldd-sheet": () => import("./chunks/sheet-
|
|
95
|
-
"nldd-shell": () => import("./chunks/shell-
|
|
96
|
-
"nldd-side-by-side-split-view": () => import("./chunks/side-by-side-split-view-
|
|
97
|
-
"nldd-sidebar-section": () => import("./chunks/sidebar-section-
|
|
98
|
-
"nldd-simple-section": () => import("./chunks/simple-section-
|
|
99
|
-
"nldd-skip-link": () => import("./chunks/skip-link-
|
|
100
|
-
"nldd-slider": () => import("./chunks/slider-
|
|
101
|
-
"nldd-spacer": () => import("./chunks/spacer-
|
|
102
|
-
"nldd-spacer-cell": () => import("./chunks/spacer-cell-
|
|
103
|
-
"nldd-split-button": () => import("./chunks/split-button-
|
|
104
|
-
"nldd-split-view-divider": () => import("./chunks/split-view-divider-
|
|
105
|
-
"nldd-stacked-split-view": () => import("./chunks/stacked-split-view-
|
|
106
|
-
"nldd-status-bar": () => import("./chunks/status-bar-
|
|
107
|
-
"nldd-step-bar": () => import("./chunks/step-bar-
|
|
108
|
-
"nldd-step-bar-item": () => import("./chunks/step-bar-
|
|
109
|
-
"nldd-step-cell": () => import("./chunks/step-cell-
|
|
110
|
-
"nldd-stepper": () => import("./chunks/stepper-
|
|
111
|
-
"nldd-swatch-picker": () => import("./chunks/swatch-picker-
|
|
112
|
-
"nldd-swatch-picker-item": () => import("./chunks/swatch-picker-
|
|
113
|
-
"nldd-switch": () => import("./chunks/switch-
|
|
114
|
-
"nldd-switch-field": () => import("./chunks/switch-field-
|
|
115
|
-
"nldd-tab-bar": () => import("./chunks/tab-bar-
|
|
116
|
-
"nldd-tab-bar-item": () => import("./chunks/tab-bar-
|
|
117
|
-
"nldd-table": () => import("./chunks/table-
|
|
118
|
-
"nldd-table-row": () => import("./chunks/table-
|
|
119
|
-
"nldd-tag": () => import("./chunks/tag-
|
|
120
|
-
"nldd-term": () => import("./chunks/term-
|
|
121
|
-
"nldd-text": () => import("./chunks/text-
|
|
122
|
-
"nldd-text-cell": () => import("./chunks/text-cell-
|
|
123
|
-
"nldd-text-editor": () => import("./chunks/text-editor-
|
|
124
|
-
"nldd-text-field": () => import("./chunks/text-field-
|
|
125
|
-
"nldd-time-field": () => import("./chunks/time-field-
|
|
126
|
-
"nldd-time-picker": () => import("./chunks/time-picker-
|
|
127
|
-
"nldd-title": () => import("./chunks/title-
|
|
128
|
-
"nldd-title-cell": () => import("./chunks/title-cell-
|
|
129
|
-
"nldd-toggle-button": () => import("./chunks/toggle-button-
|
|
130
|
-
"nldd-toggle-button-group": () => import("./chunks/toggle-button-group-
|
|
131
|
-
"nldd-token": () => import("./chunks/token-
|
|
132
|
-
"nldd-token-field": () => import("./chunks/token-field-
|
|
133
|
-
"nldd-toolbar": () => import("./chunks/toolbar-
|
|
134
|
-
"nldd-toolbar-item": () => import("./chunks/toolbar-item-
|
|
135
|
-
"nldd-toolbar-title": () => import("./chunks/toolbar-title-
|
|
136
|
-
"nldd-tooltip": () => import("./chunks/tooltip-
|
|
137
|
-
"nldd-top-navigation-bar": () => import("./chunks/top-navigation-bar-
|
|
138
|
-
"nldd-top-title-bar": () => import("./chunks/top-title-bar-
|
|
139
|
-
"nldd-two-thirds-one-third-section": () => import("./chunks/two-thirds-one-third-section-
|
|
140
|
-
"nldd-validation-item": () => import("./chunks/validation-list-
|
|
141
|
-
"nldd-validation-list": () => import("./chunks/validation-list-
|
|
142
|
-
"nldd-visually-hidden": () => import("./chunks/visually-hidden-
|
|
143
|
-
"nldd-window": () => import("./chunks/window-
|
|
4
|
+
"nldd-accordion": () => import("./chunks/accordion-Eyvvbt4L.js"),
|
|
5
|
+
"nldd-accordion-item": () => import("./chunks/accordion-item-tTwSzJIR.js"),
|
|
6
|
+
"nldd-activity-indicator": () => import("./chunks/activity-indicator-DPQNZQDO.js").then((e) => e.t),
|
|
7
|
+
"nldd-admonition": () => import("./chunks/admonition-BRmILQsf.js"),
|
|
8
|
+
"nldd-avatar": () => import("./chunks/avatar-D3gM-JHI.js").then((e) => e.t),
|
|
9
|
+
"nldd-avatar-group": () => import("./chunks/avatar-group-B_d8PyyP.js"),
|
|
10
|
+
"nldd-badge": () => import("./chunks/badge-Bh665MoY.js"),
|
|
11
|
+
"nldd-banner": () => import("./chunks/banner-DChycHh5.js"),
|
|
12
|
+
"nldd-bar-split-view": () => import("./chunks/bar-split-view-DakaOexc.js"),
|
|
13
|
+
"nldd-blockquote": () => import("./chunks/blockquote-BqBNTgop.js"),
|
|
14
|
+
"nldd-box": () => import("./chunks/box-B3zUs9dD.js"),
|
|
15
|
+
"nldd-breadcrumbs": () => import("./chunks/breadcrumbs-CNRmh93a.js"),
|
|
16
|
+
"nldd-breadcrumbs-item": () => import("./chunks/breadcrumbs-CNRmh93a.js"),
|
|
17
|
+
"nldd-button": () => import("./chunks/button-3oNu2JqC.js").then((e) => e.t),
|
|
18
|
+
"nldd-button-bar": () => import("./chunks/button-bar-Bw46AWOo.js").then((e) => e.t),
|
|
19
|
+
"nldd-button-bar-divider": () => import("./chunks/button-bar-Bw46AWOo.js").then((e) => e.t),
|
|
20
|
+
"nldd-button-group": () => import("./chunks/button-group-Bd5CZm4t.js").then((e) => e.t),
|
|
21
|
+
"nldd-card": () => import("./chunks/card-BVW0oCKu.js"),
|
|
22
|
+
"nldd-cell": () => import("./chunks/cell-C2vZmYOL.js").then((e) => e.t),
|
|
23
|
+
"nldd-checkbox": () => import("./chunks/checkbox-LCfb8_rn.js").then((e) => e.t),
|
|
24
|
+
"nldd-checkbox-field": () => import("./chunks/checkbox-field-BeIbKEWd.js"),
|
|
25
|
+
"nldd-checkbox-group": () => import("./chunks/checkbox-group-DezaH0Mb.js"),
|
|
26
|
+
"nldd-code-editor": () => import("./chunks/code-editor-BP9eNQVl.js"),
|
|
27
|
+
"nldd-code-viewer": () => import("./chunks/code-viewer-DJ3TJWD_.js"),
|
|
28
|
+
"nldd-collection": () => import("./chunks/collection-CTa6APvK.js"),
|
|
29
|
+
"nldd-combo-box": () => import("./chunks/combo-box-BcUXaJuO.js"),
|
|
30
|
+
"nldd-container": () => import("./chunks/container-BxfHTSXb.js").then((e) => e.t),
|
|
31
|
+
"nldd-date-field": () => import("./chunks/date-field-3AJMYQ6k.js"),
|
|
32
|
+
"nldd-date-picker": () => import("./chunks/date-picker-Ho8Mkvcv.js").then((e) => e.t),
|
|
33
|
+
"nldd-description-cell": () => import("./chunks/description-cell-DnyCIOZd.js"),
|
|
34
|
+
"nldd-divider": () => import("./chunks/divider-BixGehzs.js"),
|
|
35
|
+
"nldd-document-tab-bar": () => import("./chunks/document-tab-bar-CqjLOpKx.js"),
|
|
36
|
+
"nldd-document-tab-bar-item": () => import("./chunks/document-tab-bar-CqjLOpKx.js"),
|
|
37
|
+
"nldd-dropdown": () => import("./chunks/dropdown-DHlIJDc9.js"),
|
|
38
|
+
"nldd-file-field": () => import("./chunks/file-field-B-R605PQ.js"),
|
|
39
|
+
"nldd-form": () => import("./chunks/form-DDB03czp.js"),
|
|
40
|
+
"nldd-form-actions": () => import("./chunks/form-actions-DZgcVawx.js"),
|
|
41
|
+
"nldd-form-field": () => import("./chunks/form-field-CiWFS40A.js"),
|
|
42
|
+
"nldd-form-field-help-text": () => import("./chunks/form-field-CiWFS40A.js"),
|
|
43
|
+
"nldd-form-section": () => import("./chunks/form-section-J2if8kVt.js"),
|
|
44
|
+
"nldd-full-bleed-section": () => import("./chunks/full-bleed-section-Q4drn-q0.js"),
|
|
45
|
+
"nldd-hero": () => import("./chunks/hero-CiPeHBJi.js"),
|
|
46
|
+
"nldd-icon": () => import("./chunks/icon-C_xeQP4j.js").then((e) => e.t),
|
|
47
|
+
"nldd-icon-button": () => import("./chunks/icon-button-CCiDTx3_.js").then((e) => e.t),
|
|
48
|
+
"nldd-icon-cell": () => import("./chunks/icon-cell-qieQ2vyq.js"),
|
|
49
|
+
"nldd-identity": () => import("./chunks/identity-xlk5m8S9.js"),
|
|
50
|
+
"nldd-image": () => import("./chunks/image--hemIqn_.js"),
|
|
51
|
+
"nldd-inline-dialog": () => import("./chunks/inline-dialog-TetcCCuR.js").then((e) => e.t),
|
|
52
|
+
"nldd-just-in-time-education": () => import("./chunks/just-in-time-education-B5veXLNI.js"),
|
|
53
|
+
"nldd-kanban": () => import("./chunks/kanban-D_rUckwT.js"),
|
|
54
|
+
"nldd-kanban-column": () => import("./chunks/kanban-column-DXhOQ64A.js"),
|
|
55
|
+
"nldd-keyboard-shortcut": () => import("./chunks/keyboard-shortcut-CtLlBcQg.js").then((e) => e.t),
|
|
56
|
+
"nldd-link": () => import("./chunks/link-ChRCGtWP.js"),
|
|
57
|
+
"nldd-link-group": () => import("./chunks/link-group-pbOW9KCb.js"),
|
|
58
|
+
"nldd-list": () => import("./chunks/list-Bfh3X6o8.js").then((e) => e.t),
|
|
59
|
+
"nldd-list-item": () => import("./chunks/list-item-BcEWw55r.js").then((e) => e.t),
|
|
60
|
+
"nldd-list-item-segment": () => import("./chunks/list-item-segment-ChGSqurx.js"),
|
|
61
|
+
"nldd-menu": () => import("./chunks/menu-Dj1cdu5O.js").then((e) => e.t),
|
|
62
|
+
"nldd-menu-bar": () => import("./chunks/menu-bar-DCkLwYES.js"),
|
|
63
|
+
"nldd-menu-bar-item": () => import("./chunks/menu-bar-item-eLhyoBaG.js"),
|
|
64
|
+
"nldd-menu-divider": () => import("./chunks/menu-divider-BUNkdRG6.js").then((e) => e.n),
|
|
65
|
+
"nldd-menu-group": () => import("./chunks/menu-group-rgTyUCIY.js").then((e) => e.n),
|
|
66
|
+
"nldd-menu-item": () => import("./chunks/menu-item-CttLz526.js").then((e) => e.n),
|
|
67
|
+
"nldd-modal-dialog": () => import("./chunks/modal-dialog-CUb8QrtP.js"),
|
|
68
|
+
"nldd-multi-line-text-field": () => import("./chunks/multi-line-text-field-Db8a2YIL.js"),
|
|
69
|
+
"nldd-navigation-split-view": () => import("./chunks/navigation-split-view-D8ATWcAf.js"),
|
|
70
|
+
"nldd-notification": () => import("./chunks/notification-DHvaRREb.js"),
|
|
71
|
+
"nldd-number-field": () => import("./chunks/number-field-C_rgYWIM.js"),
|
|
72
|
+
"nldd-one-half-one-half-section": () => import("./chunks/one-half-one-half-section-DFYjUF3h.js"),
|
|
73
|
+
"nldd-one-third-two-thirds-section": () => import("./chunks/one-third-two-thirds-section-DovKfHkM.js"),
|
|
74
|
+
"nldd-one-time-code-field": () => import("./chunks/one-time-code-field-BBg30doG.js"),
|
|
75
|
+
"nldd-page": () => import("./chunks/page-DpcervFE.js").then((e) => e.t),
|
|
76
|
+
"nldd-page-footer": () => import("./chunks/page-footer-B0JJvSf7.js"),
|
|
77
|
+
"nldd-page-footer-legal-bar": () => import("./chunks/page-footer-B0JJvSf7.js"),
|
|
78
|
+
"nldd-page-footer-legal-bar-item": () => import("./chunks/page-footer-B0JJvSf7.js"),
|
|
79
|
+
"nldd-pagination": () => import("./chunks/pagination-D1o7xN9-.js"),
|
|
80
|
+
"nldd-password-field": () => import("./chunks/password-field-CWneSaEV.js"),
|
|
81
|
+
"nldd-popover": () => import("./chunks/popover-Bm7Kc6Ep.js").then((e) => e.t),
|
|
82
|
+
"nldd-progress-bar": () => import("./chunks/progress-bar-3eU3rFW6.js"),
|
|
83
|
+
"nldd-progress-bar-segment-indicator": () => import("./chunks/progress-bar-3eU3rFW6.js"),
|
|
84
|
+
"nldd-progress-circle": () => import("./chunks/progress-circle-CHMKX8uz.js"),
|
|
85
|
+
"nldd-progress-circle-segment-indicator": () => import("./chunks/progress-circle-CHMKX8uz.js"),
|
|
86
|
+
"nldd-radio-button": () => import("./chunks/radio-button-B45WY4fZ.js").then((e) => e.t),
|
|
87
|
+
"nldd-radio-button-field": () => import("./chunks/radio-button-field-CsJ0DMrB.js"),
|
|
88
|
+
"nldd-radio-button-group": () => import("./chunks/radio-button-group-CdDmgzn3.js"),
|
|
89
|
+
"nldd-reorder-handle-cell": () => import("./chunks/reorder-handle-cell-M_xNSghw.js"),
|
|
90
|
+
"nldd-rich-text": () => import("./chunks/rich-text-B8ANpryO.js"),
|
|
91
|
+
"nldd-search-field": () => import("./chunks/search-field-1zFx-owG.js"),
|
|
92
|
+
"nldd-segmented-control": () => import("./chunks/segmented-control-CRRWCyFW.js"),
|
|
93
|
+
"nldd-segmented-control-item": () => import("./chunks/segmented-control-CRRWCyFW.js"),
|
|
94
|
+
"nldd-sheet": () => import("./chunks/sheet-ChPeBrfk.js"),
|
|
95
|
+
"nldd-shell": () => import("./chunks/shell-DpKdCX0m.js"),
|
|
96
|
+
"nldd-side-by-side-split-view": () => import("./chunks/side-by-side-split-view-BoJ6fcJg.js"),
|
|
97
|
+
"nldd-sidebar-section": () => import("./chunks/sidebar-section-D1fyh0uU.js"),
|
|
98
|
+
"nldd-simple-section": () => import("./chunks/simple-section-CyDYDeg_.js"),
|
|
99
|
+
"nldd-skip-link": () => import("./chunks/skip-link-Dzz1lV-5.js"),
|
|
100
|
+
"nldd-slider": () => import("./chunks/slider-K7ylsn0X.js"),
|
|
101
|
+
"nldd-spacer": () => import("./chunks/spacer-BDRDeRQr.js").then((e) => e.t),
|
|
102
|
+
"nldd-spacer-cell": () => import("./chunks/spacer-cell-DvUxqmbS.js").then((e) => e.t),
|
|
103
|
+
"nldd-split-button": () => import("./chunks/split-button-BYqftEp3.js"),
|
|
104
|
+
"nldd-split-view-divider": () => import("./chunks/split-view-divider-BQdN8I8c.js").then((e) => e.t),
|
|
105
|
+
"nldd-stacked-split-view": () => import("./chunks/stacked-split-view-BG0kRfdn.js"),
|
|
106
|
+
"nldd-status-bar": () => import("./chunks/status-bar-oyMa4uJG.js"),
|
|
107
|
+
"nldd-step-bar": () => import("./chunks/step-bar-CQd9nSub.js"),
|
|
108
|
+
"nldd-step-bar-item": () => import("./chunks/step-bar-CQd9nSub.js"),
|
|
109
|
+
"nldd-step-cell": () => import("./chunks/step-cell-3yG-UCmv.js"),
|
|
110
|
+
"nldd-stepper": () => import("./chunks/stepper-d-usvzY0.js"),
|
|
111
|
+
"nldd-swatch-picker": () => import("./chunks/swatch-picker-CDCUnY72.js"),
|
|
112
|
+
"nldd-swatch-picker-item": () => import("./chunks/swatch-picker-CDCUnY72.js"),
|
|
113
|
+
"nldd-switch": () => import("./chunks/switch-BMGaGKGr.js").then((e) => e.t),
|
|
114
|
+
"nldd-switch-field": () => import("./chunks/switch-field-BaKICGGz.js"),
|
|
115
|
+
"nldd-tab-bar": () => import("./chunks/tab-bar-BFDYrnsi.js"),
|
|
116
|
+
"nldd-tab-bar-item": () => import("./chunks/tab-bar-BFDYrnsi.js"),
|
|
117
|
+
"nldd-table": () => import("./chunks/table-DZx86t9S.js"),
|
|
118
|
+
"nldd-table-row": () => import("./chunks/table-DZx86t9S.js"),
|
|
119
|
+
"nldd-tag": () => import("./chunks/tag-BcfNqWxs.js"),
|
|
120
|
+
"nldd-term": () => import("./chunks/term-BgyQFHrz.js"),
|
|
121
|
+
"nldd-text": () => import("./chunks/text-ChSJGujM.js"),
|
|
122
|
+
"nldd-text-cell": () => import("./chunks/text-cell-fnnbWR_Y.js").then((e) => e.t),
|
|
123
|
+
"nldd-text-editor": () => import("./chunks/text-editor-D9K1Z87u.js"),
|
|
124
|
+
"nldd-text-field": () => import("./chunks/text-field-DzNb872n.js"),
|
|
125
|
+
"nldd-time-field": () => import("./chunks/time-field-DiJhXcaX.js"),
|
|
126
|
+
"nldd-time-picker": () => import("./chunks/time-picker-DZlD7fVz.js").then((e) => e.t),
|
|
127
|
+
"nldd-title": () => import("./chunks/title-BUC_Asb4.js"),
|
|
128
|
+
"nldd-title-cell": () => import("./chunks/title-cell-jmBvTRwY.js"),
|
|
129
|
+
"nldd-toggle-button": () => import("./chunks/toggle-button-UssRHIiz.js"),
|
|
130
|
+
"nldd-toggle-button-group": () => import("./chunks/toggle-button-group-Bj8Rjd93.js"),
|
|
131
|
+
"nldd-token": () => import("./chunks/token-DTjIKIJl.js").then((e) => e.t),
|
|
132
|
+
"nldd-token-field": () => import("./chunks/token-field-CEtnrqKT.js"),
|
|
133
|
+
"nldd-toolbar": () => import("./chunks/toolbar-CvinP7R9.js"),
|
|
134
|
+
"nldd-toolbar-item": () => import("./chunks/toolbar-item-CiCs-MqI.js"),
|
|
135
|
+
"nldd-toolbar-title": () => import("./chunks/toolbar-title-YdFqO0Xq.js"),
|
|
136
|
+
"nldd-tooltip": () => import("./chunks/tooltip-CGSe6rYu.js").then((e) => e.t),
|
|
137
|
+
"nldd-top-navigation-bar": () => import("./chunks/top-navigation-bar-akJzlepM.js"),
|
|
138
|
+
"nldd-top-title-bar": () => import("./chunks/top-title-bar-CuU2kYrc.js").then((e) => e.t),
|
|
139
|
+
"nldd-two-thirds-one-third-section": () => import("./chunks/two-thirds-one-third-section-BE40gzfe.js"),
|
|
140
|
+
"nldd-validation-item": () => import("./chunks/validation-list-B_VwBQD0.js"),
|
|
141
|
+
"nldd-validation-list": () => import("./chunks/validation-list-B_VwBQD0.js"),
|
|
142
|
+
"nldd-visually-hidden": () => import("./chunks/visually-hidden-B4_jKNA7.js"),
|
|
143
|
+
"nldd-window": () => import("./chunks/window-CJybFUUG.js")
|
|
144
144
|
}, n = /* @__PURE__ */ new Map();
|
|
145
145
|
function r(e) {
|
|
146
146
|
return e.localName.startsWith("nldd-") && !customElements.get(e.localName);
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { NLDDAccordionItem as o } from "./accordion-item-
|
|
5
|
-
import { t as s } from "./shadow-resets-
|
|
4
|
+
import { NLDDAccordionItem as o } from "./accordion-item-tTwSzJIR.js";
|
|
5
|
+
import { t as s } from "./shadow-resets-B6C3rG8q.js";
|
|
6
6
|
// src/components/content/accordion/accordion.styles.ts
|
|
7
7
|
var c = i`
|
|
8
8
|
:host {
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
-
import { a as s, t as c } from "./shadow-resets-
|
|
6
|
-
import "./
|
|
5
|
+
import { a as s, t as c } from "./shadow-resets-B6C3rG8q.js";
|
|
6
|
+
import { o as l } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
|
+
import "./icon-C_xeQP4j.js";
|
|
7
8
|
// src/components/content/accordion/accordion-item.styles.ts
|
|
8
|
-
var
|
|
9
|
+
var u = i`
|
|
9
10
|
:host {
|
|
10
11
|
box-sizing: border-box;
|
|
11
12
|
}
|
|
@@ -141,15 +142,15 @@ var l = i`
|
|
|
141
142
|
.accordion-item__title {
|
|
142
143
|
min-width: 0;
|
|
143
144
|
flex: 1 1 0;
|
|
144
|
-
|
|
145
|
+
${l}
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
.accordion-item__disclosure-icon {
|
|
148
149
|
display: flex;
|
|
149
150
|
flex-shrink: 0;
|
|
150
|
-
margin-block-start: calc((1lh - var(--_accordion-item-disclosure-icon-size)) / 2);
|
|
151
151
|
width: var(--_accordion-item-disclosure-icon-size);
|
|
152
152
|
height: var(--_accordion-item-disclosure-icon-size);
|
|
153
|
+
align-self: center;
|
|
153
154
|
transition: rotate var(--_accordion-item-transition-duration) ease-out;
|
|
154
155
|
}
|
|
155
156
|
|
|
@@ -201,7 +202,7 @@ var l = i`
|
|
|
201
202
|
}
|
|
202
203
|
`;
|
|
203
204
|
// src/components/content/accordion/accordion-item.template.ts
|
|
204
|
-
function
|
|
205
|
+
function d(e) {
|
|
205
206
|
return t`
|
|
206
207
|
<details class="accordion-item"
|
|
207
208
|
?open=${e.open}
|
|
@@ -224,21 +225,21 @@ function u(e) {
|
|
|
224
225
|
`;
|
|
225
226
|
}
|
|
226
227
|
// src/components/content/accordion/accordion-item.ts
|
|
227
|
-
var
|
|
228
|
+
var f = class extends e {
|
|
228
229
|
constructor(...e) {
|
|
229
230
|
super(...e), this.text = "", this.open = !1, this._onToggle = (e) => {
|
|
230
231
|
this.open = e.currentTarget.open, this.dispatchEvent(new Event("toggle"));
|
|
231
232
|
};
|
|
232
233
|
}
|
|
233
234
|
render() {
|
|
234
|
-
return
|
|
235
|
+
return d(this);
|
|
235
236
|
}
|
|
236
|
-
},
|
|
237
|
+
}, p = (f.styles = u, f);
|
|
237
238
|
n([r({
|
|
238
239
|
reflect: !0,
|
|
239
240
|
converter: o("")
|
|
240
|
-
})],
|
|
241
|
+
})], p.prototype, "text", void 0), n([r({
|
|
241
242
|
type: Boolean,
|
|
242
243
|
reflect: !0
|
|
243
|
-
})],
|
|
244
|
-
export {
|
|
244
|
+
})], p.prototype, "open", void 0), p = n([a("nldd-accordion-item")], p);
|
|
245
|
+
export { p as NLDDAccordionItem };
|