@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
|
@@ -53,10 +53,10 @@ import { windowTemplate } from './window.template.js';
|
|
|
53
53
|
import { nlddWindowTranslations } from './window.i18n.js';
|
|
54
54
|
import { TitleBarLabelController } from '../../../utilities/title-bar-label-controller.js';
|
|
55
55
|
import { ModalOverlay } from '../../../utilities/modal-overlay.js';
|
|
56
|
-
import {
|
|
56
|
+
import { withTranslations } from '../../../utilities/with-translations.js';
|
|
57
57
|
import { setState } from '../../../utilities/element-state.js';
|
|
58
58
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
59
|
-
let NLDDWindow = class NLDDWindow extends LitElement {
|
|
59
|
+
let NLDDWindow = class NLDDWindow extends withTranslations(LitElement, nlddWindowTranslations) {
|
|
60
60
|
constructor() {
|
|
61
61
|
super(...arguments);
|
|
62
62
|
this.scheme = 'inherit';
|
|
@@ -64,11 +64,6 @@ let NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
64
64
|
this.accessibleLabel = '';
|
|
65
65
|
this.noLightDismiss = false;
|
|
66
66
|
this.open = false;
|
|
67
|
-
/**
|
|
68
|
-
* Override one or more translation keys.
|
|
69
|
-
* Unset keys fall back to the Dutch default.
|
|
70
|
-
*/
|
|
71
|
-
this.translations = {};
|
|
72
67
|
this._titleBar = new TitleBarLabelController(this);
|
|
73
68
|
this._modalOverlay = new ModalOverlay(this, {
|
|
74
69
|
titleBarDismiss: true,
|
|
@@ -113,10 +108,6 @@ let NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
113
108
|
dialog.style.removeProperty('color-scheme');
|
|
114
109
|
}
|
|
115
110
|
}
|
|
116
|
-
// — i18n ——————————————————————————————————————————————————————————————————
|
|
117
|
-
_t(key) {
|
|
118
|
-
return translate(this.translations, nlddWindowTranslations, key);
|
|
119
|
-
}
|
|
120
111
|
get _resolvedAccessibleLabel() {
|
|
121
112
|
return this.accessibleLabel || this._titleBar.text || this._t('components.window.accessible-label');
|
|
122
113
|
}
|
|
@@ -193,9 +184,6 @@ __decorate([
|
|
|
193
184
|
__decorate([
|
|
194
185
|
property({ type: Boolean, reflect: true })
|
|
195
186
|
], NLDDWindow.prototype, "open", void 0);
|
|
196
|
-
__decorate([
|
|
197
|
-
property({ type: Object })
|
|
198
|
-
], NLDDWindow.prototype, "translations", void 0);
|
|
199
187
|
NLDDWindow = __decorate([
|
|
200
188
|
customElement('nldd-window')
|
|
201
189
|
], NLDDWindow);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,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AE,IAAI,EAAE,CAAC;4CAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uCAClB;AAGxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAChB;AAG1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CACf;AAG3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCACjB;AAGzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;mDACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;kDACnD;AAGvB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCAC9B;AAlCD,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAoItB"}
|
|
@@ -9,12 +9,33 @@
|
|
|
9
9
|
* a minimum centered region. For strict top alignment without a minimum height,
|
|
10
10
|
* use `vertical-alignment="top"`.
|
|
11
11
|
*
|
|
12
|
+
* ### Width and breaking
|
|
13
|
+
* A cell of `width="full"` takes the room the row has left, but not less than
|
|
14
|
+
* 160px, so its text stays readable: about 20 characters. In a row too narrow
|
|
15
|
+
* for that the row runs wider than its box, which is the sign to hide a cell
|
|
16
|
+
* at that width (`hide-below`) or to combine two. In `nldd-table` the columns
|
|
17
|
+
* set the width, so a cell there has no floor. A `width="fit-content"` cell is
|
|
18
|
+
* as wide as its text on one line, and never narrower than its longest word.
|
|
19
|
+
* `min-width` always wins: `0` lets the cell shrink freely, so a long URL
|
|
20
|
+
* breaks; `min-content` keeps the longest word whole; `max-content` keeps the
|
|
21
|
+
* text on one line. A `max-width` below 160px lowers the floor with it.
|
|
22
|
+
*
|
|
23
|
+
* Text breaks at spaces and hyphens. A word wider than the cell breaks between
|
|
24
|
+
* two letters, without a hyphen. Set `hyphens` to break long words by
|
|
25
|
+
* syllable instead.
|
|
26
|
+
*
|
|
27
|
+
* The cell gives the element in a slot its font and color, and styles nothing
|
|
28
|
+
* inside it. For a link, code or bold text in the description, put an
|
|
29
|
+
* `nldd-text` in the slot, with a `<p>` in it: that brings the inline styles
|
|
30
|
+
* of nldd-text, and its own rules for breaking.
|
|
31
|
+
*
|
|
12
32
|
* @element nldd-description-cell
|
|
13
33
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
14
|
-
* @attr {string} min-width - Minimum width
|
|
34
|
+
* @attr {string} min-width - Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width`
|
|
15
35
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '300px', '20rem')
|
|
16
36
|
* @attr {string} min-height - Minimum height as CSS length (e.g. '44px', '3rem')
|
|
17
37
|
* @attr {'top' | 'center' | 'bottom'} vertical-alignment - Vertical alignment (default: 'center')
|
|
38
|
+
* @attr {boolean} hyphens - Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. Reaches text in the two slots, not an `nldd-text` in them: that has a `hyphens` of its own.
|
|
18
39
|
*
|
|
19
40
|
* @slot title - The label displayed above the description
|
|
20
41
|
* @slot description - The description content
|
|
@@ -37,6 +58,7 @@ export declare class NLDDDescriptionCell extends NLDDDescriptionCell_base {
|
|
|
37
58
|
maxWidth?: string;
|
|
38
59
|
minHeight?: string;
|
|
39
60
|
verticalAlignment: VerticalAlignment;
|
|
61
|
+
hyphens: boolean;
|
|
40
62
|
updated(changed: Map<string, unknown>): void;
|
|
41
63
|
private _applyDimensionStyles;
|
|
42
64
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"description-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,KAAK,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;;;;;;;;;AAErD,qBACa,mBAAoB,SAAQ,wBAAkF;IAC1H,OAAgB,MAAM,4BAA2B;IAEjD,mEAAmE;IAEnE,KAAK,EAAE,MAAM,CAAU;IAGvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,iBAAiB,EAAE,iBAAiB,CAAY;IAGhD,OAAO,UAAS;IAEP,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO9C,OAAO,CAAC,qBAAqB;IA6BpB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,uBAAuB,EAAE,mBAAmB,CAAC;KAC7C;CACD"}
|
|
@@ -15,12 +15,33 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
15
15
|
* a minimum centered region. For strict top alignment without a minimum height,
|
|
16
16
|
* use `vertical-alignment="top"`.
|
|
17
17
|
*
|
|
18
|
+
* ### Width and breaking
|
|
19
|
+
* A cell of `width="full"` takes the room the row has left, but not less than
|
|
20
|
+
* 160px, so its text stays readable: about 20 characters. In a row too narrow
|
|
21
|
+
* for that the row runs wider than its box, which is the sign to hide a cell
|
|
22
|
+
* at that width (`hide-below`) or to combine two. In `nldd-table` the columns
|
|
23
|
+
* set the width, so a cell there has no floor. A `width="fit-content"` cell is
|
|
24
|
+
* as wide as its text on one line, and never narrower than its longest word.
|
|
25
|
+
* `min-width` always wins: `0` lets the cell shrink freely, so a long URL
|
|
26
|
+
* breaks; `min-content` keeps the longest word whole; `max-content` keeps the
|
|
27
|
+
* text on one line. A `max-width` below 160px lowers the floor with it.
|
|
28
|
+
*
|
|
29
|
+
* Text breaks at spaces and hyphens. A word wider than the cell breaks between
|
|
30
|
+
* two letters, without a hyphen. Set `hyphens` to break long words by
|
|
31
|
+
* syllable instead.
|
|
32
|
+
*
|
|
33
|
+
* The cell gives the element in a slot its font and color, and styles nothing
|
|
34
|
+
* inside it. For a link, code or bold text in the description, put an
|
|
35
|
+
* `nldd-text` in the slot, with a `<p>` in it: that brings the inline styles
|
|
36
|
+
* of nldd-text, and its own rules for breaking.
|
|
37
|
+
*
|
|
18
38
|
* @element nldd-description-cell
|
|
19
39
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
20
|
-
* @attr {string} min-width - Minimum width
|
|
40
|
+
* @attr {string} min-width - Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width`
|
|
21
41
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '300px', '20rem')
|
|
22
42
|
* @attr {string} min-height - Minimum height as CSS length (e.g. '44px', '3rem')
|
|
23
43
|
* @attr {'top' | 'center' | 'bottom'} vertical-alignment - Vertical alignment (default: 'center')
|
|
44
|
+
* @attr {boolean} hyphens - Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters. Reaches text in the two slots, not an `nldd-text` in them: that has a `hyphens` of its own.
|
|
24
45
|
*
|
|
25
46
|
* @slot title - The label displayed above the description
|
|
26
47
|
* @slot description - The description content
|
|
@@ -40,6 +61,7 @@ let NLDDDescriptionCell = class NLDDDescriptionCell extends ReorderHandleMixin(R
|
|
|
40
61
|
/** 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). */
|
|
41
62
|
this.width = 'full';
|
|
42
63
|
this.verticalAlignment = 'center';
|
|
64
|
+
this.hyphens = false;
|
|
43
65
|
}
|
|
44
66
|
updated(changed) {
|
|
45
67
|
super.updated(changed);
|
|
@@ -99,6 +121,9 @@ __decorate([
|
|
|
99
121
|
__decorate([
|
|
100
122
|
property({ reflect: true, attribute: 'vertical-alignment', converter: reflectNonDefault('center') })
|
|
101
123
|
], NLDDDescriptionCell.prototype, "verticalAlignment", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
property({ type: Boolean, reflect: true })
|
|
126
|
+
], NLDDDescriptionCell.prototype, "hyphens", void 0);
|
|
102
127
|
NLDDDescriptionCell = __decorate([
|
|
103
128
|
customElement('nldd-description-cell')
|
|
104
129
|
], NLDDDescriptionCell);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"description-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAA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AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;qDAChD;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;sDAChD;AAGnB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAoB,QAAQ,CAAC,EAAE,CAAC;8DACxE;AAGhD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDAC3B;AApBJ,mBAAmB;IAD/B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,mBAAmB,CA6D/B"}
|
package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"description-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,yBAoIjC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
+
import { hyphenateBodyText, wrapBodyText } from '../../../../assets/styles/text-wrap.js';
|
|
2
3
|
import { slottedReset, inheritedTextReset } from '../../../../assets/styles/shadow-resets.js';
|
|
3
4
|
export const descriptionCellStyles = css `
|
|
4
5
|
:host {
|
|
@@ -15,6 +16,7 @@ export const descriptionCellStyles = css `
|
|
|
15
16
|
--_description-cell-min-height: 0;
|
|
16
17
|
|
|
17
18
|
${inheritedTextReset}
|
|
19
|
+
${wrapBodyText}
|
|
18
20
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
19
21
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
20
22
|
display: flex;
|
|
@@ -30,12 +32,18 @@ export const descriptionCellStyles = css `
|
|
|
30
32
|
display: none;
|
|
31
33
|
}
|
|
32
34
|
|
|
35
|
+
:host([hyphens]) {
|
|
36
|
+
${hyphenateBodyText}
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
|
|
34
40
|
/* # Width */
|
|
35
41
|
|
|
36
42
|
:host([width="full"]),
|
|
37
43
|
:host(:not([width])),
|
|
38
44
|
:host([width=""]) {
|
|
45
|
+
--_description-cell-min-width: var(--context-cell-min-width, var(--semantics-cells-min-width));
|
|
46
|
+
|
|
39
47
|
flex-grow: 1;
|
|
40
48
|
flex-shrink: 1;
|
|
41
49
|
flex-basis: 0;
|
|
@@ -49,9 +57,8 @@ export const descriptionCellStyles = css `
|
|
|
49
57
|
|
|
50
58
|
width: fit-content;
|
|
51
59
|
flex-grow: 0;
|
|
52
|
-
/*
|
|
53
|
-
|
|
54
|
-
vast en duwde hij alles erachter de rij uit. */
|
|
60
|
+
/* Shrinking is allowed: with flex-shrink: 0 the cell kept the width of
|
|
61
|
+
its text and pushed everything after it out of the row. */
|
|
55
62
|
flex-shrink: 1;
|
|
56
63
|
flex-basis: auto;
|
|
57
64
|
}
|
|
@@ -64,6 +71,12 @@ export const descriptionCellStyles = css `
|
|
|
64
71
|
flex-basis: var(--_description-cell-max-width);
|
|
65
72
|
}
|
|
66
73
|
|
|
74
|
+
:host([max-width][width="full"]),
|
|
75
|
+
:host([max-width]:not([width])),
|
|
76
|
+
:host([max-width][width=""]) {
|
|
77
|
+
--_description-cell-min-width: min(var(--context-cell-min-width, var(--semantics-cells-min-width)), var(--_description-cell-max-width));
|
|
78
|
+
}
|
|
79
|
+
|
|
67
80
|
|
|
68
81
|
/* # Vertical alignment */
|
|
69
82
|
|
package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAE9F,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;IAcpC,kBAAkB
|
|
1
|
+
{"version":3,"file":"description-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAE9F,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;IAcpC,kBAAkB;IAClB,YAAY;;;;;;;;;;;;;;;;;IAiBZ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmEjB,YAAY;IACZ,kBAAkB;;;;;;;;;;;;;;;;;IAiBlB,YAAY;IACZ,kBAAkB;;;;;;;;;;;;;;CAcrB,CAAC"}
|
|
@@ -25,17 +25,15 @@
|
|
|
25
25
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.
|
|
26
26
|
*/
|
|
27
27
|
import { LitElement } from 'lit';
|
|
28
|
-
import type { NLDDReorderHandleCellTranslations } from './reorder-handle-cell.i18n.js';
|
|
29
28
|
type Size = 'sm' | 'md';
|
|
30
|
-
declare const NLDDReorderHandleCell_base: typeof LitElement & (new (...args: any[]) =>
|
|
29
|
+
declare const NLDDReorderHandleCell_base: typeof LitElement & (abstract new (...args: any[]) => import("../../../../utilities/with-translations.js").WithTranslations<{
|
|
30
|
+
'components.reorder-handle-cell.accessible-label': string;
|
|
31
|
+
}>) & (new (...args: any[]) => LitElement & {
|
|
31
32
|
reorderHandle: boolean;
|
|
32
33
|
});
|
|
33
34
|
export declare class NLDDReorderHandleCell extends NLDDReorderHandleCell_base {
|
|
34
35
|
static styles: import("lit").CSSResult;
|
|
35
36
|
size: Size;
|
|
36
|
-
/** Override one or more translation keys. Unset keys fall back to the Dutch default. */
|
|
37
|
-
translations: Partial<NLDDReorderHandleCellTranslations>;
|
|
38
|
-
private _t;
|
|
39
37
|
render(): import("lit-html").TemplateResult<1>;
|
|
40
38
|
}
|
|
41
39
|
declare global {
|
package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder-handle-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"reorder-handle-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;;;;;;AAExB,qBACa,qBAAsB,SAAQ,0BAAyF;IACnI,OAAgB,MAAM,0BAA2B;IAGjD,IAAI,EAAE,IAAI,CAAQ;IAET,MAAM;CAIf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,0BAA0B,EAAE,qBAAqB,CAAC;KAClD;CACD"}
|
|
@@ -38,17 +38,11 @@ import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js'
|
|
|
38
38
|
import { reorderHandleCellStyles } from './reorder-handle-cell.styles.js';
|
|
39
39
|
import { template } from './reorder-handle-cell.template.js';
|
|
40
40
|
import { nlddReorderHandleCellTranslations } from './reorder-handle-cell.i18n.js';
|
|
41
|
-
import {
|
|
42
|
-
let NLDDReorderHandleCell = class NLDDReorderHandleCell extends ReorderHandleMixin(LitElement, true) {
|
|
41
|
+
import { withTranslations } from '../../../../utilities/with-translations.js';
|
|
42
|
+
let NLDDReorderHandleCell = class NLDDReorderHandleCell extends ReorderHandleMixin(withTranslations(LitElement, nlddReorderHandleCellTranslations), true) {
|
|
43
43
|
constructor() {
|
|
44
44
|
super(...arguments);
|
|
45
45
|
this.size = 'md';
|
|
46
|
-
/** Override one or more translation keys. Unset keys fall back to the Dutch default. */
|
|
47
|
-
this.translations = {};
|
|
48
|
-
}
|
|
49
|
-
// — i18n ————————————————————————————————————————————————————————————————
|
|
50
|
-
_t(key) {
|
|
51
|
-
return translate(this.translations, nlddReorderHandleCellTranslations, key);
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
const label = this._t('components.reorder-handle-cell.accessible-label');
|
|
@@ -59,9 +53,6 @@ NLDDReorderHandleCell.styles = reorderHandleCellStyles;
|
|
|
59
53
|
__decorate([
|
|
60
54
|
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
61
55
|
], NLDDReorderHandleCell.prototype, "size", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
property({ type: Object })
|
|
64
|
-
], NLDDReorderHandleCell.prototype, "translations", void 0);
|
|
65
56
|
NLDDReorderHandleCell = __decorate([
|
|
66
57
|
customElement('nldd-reorder-handle-cell')
|
|
67
58
|
], NLDDReorderHandleCell);
|
package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder-handle-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"reorder-handle-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAKvE,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC,UAAU,EAAE,iCAAiC,CAAC,EAAE,IAAI,CAAC;IAA7H;;QAIN,SAAI,GAAS,IAAI,CAAC;IAMnB,CAAC;IAJS,MAAM;QACd,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,iDAAiD,CAAC,CAAC;QACzE,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AARe,4BAAM,GAAG,uBAAuB,AAA1B,CAA2B;AAGjD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;mDACpD;AAJN,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAUjC"}
|
|
@@ -26,11 +26,40 @@
|
|
|
26
26
|
* Note that `query` highlighting and `**bold**` parsing only apply to the
|
|
27
27
|
* attribute path; slotted content is rendered as-is.
|
|
28
28
|
*
|
|
29
|
+
* ### Width and breaking
|
|
30
|
+
* A cell of `width="full"` takes the room the row has left, but not less than
|
|
31
|
+
* 160px, so its text stays readable: about 20 characters. In a row too narrow
|
|
32
|
+
* for that the row runs wider than its box, which is the sign to hide a cell
|
|
33
|
+
* at that width (`hide-below`) or to combine two. In `nldd-table` the columns
|
|
34
|
+
* set the width, so a cell there has no floor. A `width="fit-content"` cell is
|
|
35
|
+
* as wide as its text on one line, and never narrower than its longest word.
|
|
36
|
+
* `min-width` always wins: `0` lets the cell shrink freely, so a long URL
|
|
37
|
+
* breaks; `min-content` keeps the longest word whole; `max-content` keeps the
|
|
38
|
+
* text on one line. A `max-width` below 160px lowers the floor with it.
|
|
39
|
+
*
|
|
40
|
+
* `fit-content` is for short text of a known length: a label, a status, an
|
|
41
|
+
* amount. A long value, such as a URL, goes in the `full` cell, beside a label
|
|
42
|
+
* of `fit-content`. The value then takes the room the label leaves and breaks
|
|
43
|
+
* within it, and the label only breaks between its words when the value would
|
|
44
|
+
* otherwise drop below its floor:
|
|
45
|
+
*
|
|
46
|
+
* ```html
|
|
47
|
+
* <nldd-list-item>
|
|
48
|
+
* <nldd-text-cell width="fit-content" text="Bestand"></nldd-text-cell>
|
|
49
|
+
* <nldd-spacer-cell></nldd-spacer-cell>
|
|
50
|
+
* <nldd-text-cell text="https://mijndienst.example.nl/aanvragen/A-1042/besluit"></nldd-text-cell>
|
|
51
|
+
* </nldd-list-item>
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* Text breaks at spaces and hyphens. A word wider than the cell breaks between
|
|
55
|
+
* two letters, without a hyphen. Set `hyphens` to break long words by
|
|
56
|
+
* syllable instead.
|
|
57
|
+
*
|
|
29
58
|
* @element nldd-text-cell
|
|
30
59
|
* @attr {'content'|'secondary'|'accent'|'success'|'warning'|'critical'} color - Text color variant: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. All variants other than those two apply to all three text fields so the cell reads as a coherent state.
|
|
31
60
|
* @attr {'sm'|'md'} size - Cell size: 'sm' | 'md' (default: 'md')
|
|
32
61
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
33
|
-
* @attr {string} min-width - Minimum width
|
|
62
|
+
* @attr {string} min-width - Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width`
|
|
34
63
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '200px', '20rem')
|
|
35
64
|
* @attr {string} min-height - Minimum height as CSS length (e.g. '44px', '3rem')
|
|
36
65
|
* @attr {'left'|'center'|'right'} horizontal-alignment - Horizontal alignment: 'left' | 'center' | 'right' (default: 'left')
|
|
@@ -39,6 +68,7 @@
|
|
|
39
68
|
* @attr {string} text - Main text content. Supports **bold** syntax for inline bold segments. Content in the default slot wins.
|
|
40
69
|
* @attr {string} supporting-text - Optional supporting text displayed below the main content. Supports **bold**. Falls back to `supporting-text` slot.
|
|
41
70
|
* @attr {string} overline - Optional overline text displayed above the main content. Supports **bold**. Falls back to `overline` slot.
|
|
71
|
+
* @attr {boolean} hyphens - Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters.
|
|
42
72
|
*
|
|
43
73
|
* @slot overline - A `<p>` of your own for an overline that is more than text. Wins over `overline`.
|
|
44
74
|
* @slot - (default) A `<p>` of your own for main text that is more than text. Wins over `text`.
|
|
@@ -87,6 +117,7 @@ export declare class NLDDTextCell extends NLDDTextCell_base {
|
|
|
87
117
|
text: string;
|
|
88
118
|
supportingText: string;
|
|
89
119
|
overline: string;
|
|
120
|
+
hyphens: boolean;
|
|
90
121
|
query: string;
|
|
91
122
|
queryMarkMode: QueryMarkMode;
|
|
92
123
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"text-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAWjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAE5E,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACxB,KAAK,KAAK,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AACrF,KAAK,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AACvD,KAAK,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;;;;;;;;;AAErD,qBACa,YAAa,SAAQ,iBAAkF;IACnH,OAAgB,MAAM,4BAAoB;IAG1C,KAAK,EAAE,KAAK,CAAa;IAGzB,IAAI,EAAE,IAAI,CAAQ;IAGlB,KAAK,EAAE,MAAM,CAAU;IAGvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,mBAAmB,EAAE,mBAAmB,CAAU;IAGlD,iBAAiB,EAAE,iBAAiB,CAAY;IAGhD,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,QAAQ,SAAM;IAGd,OAAO,UAAS;IAGhB,KAAK,SAAM;IAGX,aAAa,EAAE,aAAa,CAAgB;IAE5C,gBAAgB;IACP,mBAAmB,UAAS;IACrC,gBAAgB;IACP,kBAAkB,UAAS;IACpC,gBAAgB;IACP,yBAAyB,UAAS;IAC3C,OAAO,CAAC,UAAU,CAAuB;IAEhC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO9C,OAAO,CAAC,qBAAqB;IA+B7B,gBAAgB;IAChB,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAI9B;IAEF;6EACyE;IAChE,iBAAiB,IAAI,IAAI;IAKlC,OAAO,CAAC,SAAS;IAQR,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
|
|
@@ -32,11 +32,40 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
32
32
|
* Note that `query` highlighting and `**bold**` parsing only apply to the
|
|
33
33
|
* attribute path; slotted content is rendered as-is.
|
|
34
34
|
*
|
|
35
|
+
* ### Width and breaking
|
|
36
|
+
* A cell of `width="full"` takes the room the row has left, but not less than
|
|
37
|
+
* 160px, so its text stays readable: about 20 characters. In a row too narrow
|
|
38
|
+
* for that the row runs wider than its box, which is the sign to hide a cell
|
|
39
|
+
* at that width (`hide-below`) or to combine two. In `nldd-table` the columns
|
|
40
|
+
* set the width, so a cell there has no floor. A `width="fit-content"` cell is
|
|
41
|
+
* as wide as its text on one line, and never narrower than its longest word.
|
|
42
|
+
* `min-width` always wins: `0` lets the cell shrink freely, so a long URL
|
|
43
|
+
* breaks; `min-content` keeps the longest word whole; `max-content` keeps the
|
|
44
|
+
* text on one line. A `max-width` below 160px lowers the floor with it.
|
|
45
|
+
*
|
|
46
|
+
* `fit-content` is for short text of a known length: a label, a status, an
|
|
47
|
+
* amount. A long value, such as a URL, goes in the `full` cell, beside a label
|
|
48
|
+
* of `fit-content`. The value then takes the room the label leaves and breaks
|
|
49
|
+
* within it, and the label only breaks between its words when the value would
|
|
50
|
+
* otherwise drop below its floor:
|
|
51
|
+
*
|
|
52
|
+
* ```html
|
|
53
|
+
* <nldd-list-item>
|
|
54
|
+
* <nldd-text-cell width="fit-content" text="Bestand"></nldd-text-cell>
|
|
55
|
+
* <nldd-spacer-cell></nldd-spacer-cell>
|
|
56
|
+
* <nldd-text-cell text="https://mijndienst.example.nl/aanvragen/A-1042/besluit"></nldd-text-cell>
|
|
57
|
+
* </nldd-list-item>
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* Text breaks at spaces and hyphens. A word wider than the cell breaks between
|
|
61
|
+
* two letters, without a hyphen. Set `hyphens` to break long words by
|
|
62
|
+
* syllable instead.
|
|
63
|
+
*
|
|
35
64
|
* @element nldd-text-cell
|
|
36
65
|
* @attr {'content'|'secondary'|'accent'|'success'|'warning'|'critical'} color - Text color variant: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. All variants other than those two apply to all three text fields so the cell reads as a coherent state.
|
|
37
66
|
* @attr {'sm'|'md'} size - Cell size: 'sm' | 'md' (default: 'md')
|
|
38
67
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
39
|
-
* @attr {string} min-width - Minimum width
|
|
68
|
+
* @attr {string} min-width - Minimum width: a CSS length (e.g. '80px', '5rem'), or `min-content` or `max-content`. Wins over the default floor, `width` and `max-width`
|
|
40
69
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '200px', '20rem')
|
|
41
70
|
* @attr {string} min-height - Minimum height as CSS length (e.g. '44px', '3rem')
|
|
42
71
|
* @attr {'left'|'center'|'right'} horizontal-alignment - Horizontal alignment: 'left' | 'center' | 'right' (default: 'left')
|
|
@@ -45,6 +74,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
45
74
|
* @attr {string} text - Main text content. Supports **bold** syntax for inline bold segments. Content in the default slot wins.
|
|
46
75
|
* @attr {string} supporting-text - Optional supporting text displayed below the main content. Supports **bold**. Falls back to `supporting-text` slot.
|
|
47
76
|
* @attr {string} overline - Optional overline text displayed above the main content. Supports **bold**. Falls back to `overline` slot.
|
|
77
|
+
* @attr {boolean} hyphens - Breaks a word of at least 6 letters by syllable, with a hyphen, as `hyphens` on nldd-text does. Needs a `lang` on the page (`lang="nl"` on `<html>`): without one the browser does not hyphenate, and a long word still breaks between two letters.
|
|
48
78
|
*
|
|
49
79
|
* @slot overline - A `<p>` of your own for an overline that is more than text. Wins over `overline`.
|
|
50
80
|
* @slot - (default) A `<p>` of your own for main text that is more than text. Wins over `text`.
|
|
@@ -88,6 +118,7 @@ let NLDDTextCell = class NLDDTextCell extends ReorderHandleMixin(RowHeaderMixin(
|
|
|
88
118
|
this.text = '';
|
|
89
119
|
this.supportingText = '';
|
|
90
120
|
this.overline = '';
|
|
121
|
+
this.hyphens = false;
|
|
91
122
|
this.query = '';
|
|
92
123
|
this.queryMarkMode = 'predictive';
|
|
93
124
|
/** @internal */
|
|
@@ -199,6 +230,9 @@ __decorate([
|
|
|
199
230
|
__decorate([
|
|
200
231
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
201
232
|
], NLDDTextCell.prototype, "overline", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: Boolean, reflect: true })
|
|
235
|
+
], NLDDTextCell.prototype, "hyphens", void 0);
|
|
202
236
|
__decorate([
|
|
203
237
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
204
238
|
], NLDDTextCell.prototype, "query", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"text-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,cAAc,E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M,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;mDACb;AAGnC;IAAR,KAAK,EAAE;yDAA6B;AAE5B;IAAR,KAAK,EAAE;wDAA4B;AAE3B;IAAR,KAAK,EAAE;+DAAmC;AAlD/B,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAoHxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,yBAsM1B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
+
import { hyphenateBodyText, wrapBodyText } from '../../../../assets/styles/text-wrap.js';
|
|
2
3
|
import { inheritedTextReset, slottedBlockReset } from '../../../../assets/styles/shadow-resets.js';
|
|
3
4
|
export const textCellStyles = css `
|
|
4
5
|
:host {
|
|
@@ -20,6 +21,7 @@ export const textCellStyles = css `
|
|
|
20
21
|
--_text-cell-font: var(--primitives-font-body-md-regular-tight);
|
|
21
22
|
|
|
22
23
|
${inheritedTextReset}
|
|
24
|
+
${wrapBodyText}
|
|
23
25
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
24
26
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
25
27
|
display: flex;
|
|
@@ -35,12 +37,18 @@ export const textCellStyles = css `
|
|
|
35
37
|
display: none;
|
|
36
38
|
}
|
|
37
39
|
|
|
40
|
+
:host([hyphens]) {
|
|
41
|
+
${hyphenateBodyText}
|
|
42
|
+
}
|
|
43
|
+
|
|
38
44
|
|
|
39
45
|
/* # Width */
|
|
40
46
|
|
|
41
47
|
:host([width="full"]),
|
|
42
48
|
:host(:not([width])),
|
|
43
49
|
:host([width=""]) {
|
|
50
|
+
--_text-cell-min-width: var(--context-cell-min-width, var(--semantics-cells-min-width));
|
|
51
|
+
|
|
44
52
|
flex-grow: 1;
|
|
45
53
|
flex-shrink: 1;
|
|
46
54
|
flex-basis: 0;
|
|
@@ -54,9 +62,8 @@ export const textCellStyles = css `
|
|
|
54
62
|
|
|
55
63
|
width: fit-content;
|
|
56
64
|
flex-grow: 0;
|
|
57
|
-
/*
|
|
58
|
-
|
|
59
|
-
vast en duwde hij alles erachter de rij uit. */
|
|
65
|
+
/* Shrinking is allowed: with flex-shrink: 0 the cell kept the width of
|
|
66
|
+
its text and pushed everything after it out of the row. */
|
|
60
67
|
flex-shrink: 1;
|
|
61
68
|
flex-basis: auto;
|
|
62
69
|
}
|
|
@@ -69,6 +76,12 @@ export const textCellStyles = css `
|
|
|
69
76
|
flex-basis: var(--_text-cell-max-width);
|
|
70
77
|
}
|
|
71
78
|
|
|
79
|
+
:host([max-width][width="full"]),
|
|
80
|
+
:host([max-width]:not([width])),
|
|
81
|
+
:host([max-width][width=""]) {
|
|
82
|
+
--_text-cell-min-width: min(var(--context-cell-min-width, var(--semantics-cells-min-width)), var(--_text-cell-max-width));
|
|
83
|
+
}
|
|
84
|
+
|
|
72
85
|
|
|
73
86
|
/* # Vertical alignment */
|
|
74
87
|
|
|
@@ -152,7 +165,6 @@ export const textCellStyles = css `
|
|
|
152
165
|
--context-content-color: var(--_text-cell-secondary-color);
|
|
153
166
|
color: var(--_text-cell-secondary-color);
|
|
154
167
|
font: var(--_text-cell-secondary-font);
|
|
155
|
-
overflow-wrap: anywhere;
|
|
156
168
|
text-wrap: pretty;
|
|
157
169
|
}
|
|
158
170
|
|
|
@@ -164,7 +176,6 @@ export const textCellStyles = css `
|
|
|
164
176
|
--context-content-color: var(--_text-cell-color);
|
|
165
177
|
color: var(--_text-cell-color);
|
|
166
178
|
font: var(--_text-cell-font);
|
|
167
|
-
overflow-wrap: anywhere;
|
|
168
179
|
text-wrap: pretty;
|
|
169
180
|
}
|
|
170
181
|
|
|
@@ -182,7 +193,6 @@ export const textCellStyles = css `
|
|
|
182
193
|
--context-content-color: var(--_text-cell-secondary-color);
|
|
183
194
|
color: var(--_text-cell-secondary-color);
|
|
184
195
|
font: var(--_text-cell-secondary-font);
|
|
185
|
-
overflow-wrap: anywhere;
|
|
186
196
|
text-wrap: pretty;
|
|
187
197
|
}
|
|
188
198
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAEnG,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;IAmB7B,kBAAkB
|
|
1
|
+
{"version":3,"file":"text-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAEnG,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;IAmB7B,kBAAkB;IAClB,YAAY;;;;;;;;;;;;;;;;;IAiBZ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+JjB,iBAAiB;;CAEpB,CAAC"}
|