@nldd/design-system 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/custom-elements.json +237 -170
- package/dist/assets/styles/text-wrap.d.ts +78 -0
- package/dist/assets/styles/text-wrap.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts +6 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.js +25 -0
- package/dist/assets/styles/text-wrap.fixtures.js.map +1 -0
- package/dist/assets/styles/text-wrap.js +102 -0
- package/dist/assets/styles/text-wrap.js.map +1 -0
- package/dist/cdn/autoloader.js +140 -140
- package/dist/cdn/chunks/{accordion-BcmquOub.js → accordion-Eyvvbt4L.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-XIX9-01D.js → accordion-item-tTwSzJIR.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-DXZ_IqAa.js → activity-indicator-DPQNZQDO.js} +5 -5
- package/dist/cdn/chunks/{admonition-DIcSNzcO.js → admonition-BRmILQsf.js} +21 -20
- package/dist/cdn/chunks/{avatar-DG0uG2Eu.js → avatar-D3gM-JHI.js} +14 -14
- package/dist/cdn/chunks/{avatar-group-DYOrOs6f.js → avatar-group-B_d8PyyP.js} +15 -15
- package/dist/cdn/chunks/{badge-DfxWgcGT.js → badge-Bh665MoY.js} +5 -10
- package/dist/cdn/chunks/{banner-Bg2LBBIY.js → banner-DChycHh5.js} +27 -30
- package/dist/cdn/chunks/{bar-split-view-C0WvMmEi.js → bar-split-view-DakaOexc.js} +5 -5
- package/dist/cdn/chunks/{blockquote-Ck5AQfWo.js → blockquote-BqBNTgop.js} +32 -29
- package/dist/cdn/chunks/{box-BAZsRjBx.js → box-B3zUs9dD.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-8X_HdTjk.js → breadcrumbs-CNRmh93a.js} +43 -47
- package/dist/cdn/chunks/{button-rQihZDPs.js → button-3oNu2JqC.js} +76 -74
- package/dist/cdn/chunks/{button-bar-DyO3sMIB.js → button-bar-Bw46AWOo.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfH8ZDe-.js → button-group-Bd5CZm4t.js} +2 -2
- package/dist/cdn/chunks/{card-Gwu3NVqY.js → card-BVW0oCKu.js} +4 -4
- package/dist/cdn/chunks/{cell-Dbf536SX.js → cell-C2vZmYOL.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BI4FMRr3.js → checkbox-LCfb8_rn.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-CC00Cz23.js → checkbox-field-BeIbKEWd.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-B32_gJY6.js → checkbox-group-DezaH0Mb.js} +3 -3
- package/dist/cdn/chunks/{class-map-DfeulNZ_.js → class-map-07EioFee.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BZ-dPqXq.js → code-editor-BP9eNQVl.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-Bz7wk-Zj.js → code-viewer-DJ3TJWD_.js} +7 -7
- package/dist/cdn/chunks/{codemirror-input-CBuhqk5Y.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-CB6_y2t8.js → collection-CTa6APvK.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BqY6lvfT.js → combo-box-BcUXaJuO.js} +9 -9
- package/dist/cdn/chunks/{container-D4G6IZic.js → container-BxfHTSXb.js} +2 -2
- package/dist/cdn/chunks/{custom-element-zgCtSWGH.js → custom-element-7tLnKgZE.js} +1 -1
- package/dist/cdn/chunks/{date-field-BBoAp1Qn.js → date-field-3AJMYQ6k.js} +89 -99
- package/dist/cdn/chunks/{date-picker-DJIaeQzM.js → date-picker-Ho8Mkvcv.js} +10 -10
- package/dist/cdn/chunks/{decorate-CXvSUV9i.js → decorate-CIC8fGPN.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Bl8QgshZ.js → described-by-mixin-DSeADwWP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CCq3LiDa.js → description-cell-DnyCIOZd.js} +42 -26
- package/dist/cdn/chunks/{dev-checks-DG6-EY8p.js → dev-checks-DE09CTk9.js} +21 -6
- package/dist/cdn/chunks/{directive-helpers-DuLEIDjM.js → directive-helpers-DUlH8eNt.js} +1 -1
- package/dist/cdn/chunks/{dist-CyDG2Stm.js → dist-3XSbEdbz.js} +1 -1
- package/dist/cdn/chunks/{dist-QIVpZOok.js → dist-BV06hHwA.js} +3 -3
- package/dist/cdn/chunks/{dist-BT1-y5Tb.js → dist-CLyXDlop.js} +1 -1
- package/dist/cdn/chunks/{dist-CMreNjZ0.js → dist-CanlbdZP.js} +1 -1
- package/dist/cdn/chunks/{dist-B7T6GKkq.js → dist-Cku1NQ9X.js} +2 -2
- package/dist/cdn/chunks/{dist-Mx6eY_XI.js → dist-DJ_2VKiG.js} +3 -3
- package/dist/cdn/chunks/{dist-C8OAxmvo.js → dist-Dpc1YfbE.js} +1 -1
- package/dist/cdn/chunks/{dist-BFj2d0kQ.js → dist-DsE-63gX.js} +1 -1
- package/dist/cdn/chunks/{dist-BPqRc_Nn.js → dist-DtpgX9L8.js} +2 -2
- package/dist/cdn/chunks/{dist-B0EhnbLL.js → dist-DuaPU_hA.js} +2 -2
- package/dist/cdn/chunks/{dist-DuZZX8oT.js → dist-lUsXGXhR.js} +1 -1
- package/dist/cdn/chunks/{divider-CtNxoBXu.js → divider-BixGehzs.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C0RWhx9m.js → document-tab-bar-CqjLOpKx.js} +9 -9
- package/dist/cdn/chunks/{dropdown-Bc0en6CR.js → dropdown-DHlIJDc9.js} +12 -11
- package/dist/cdn/chunks/{file-field-ab-WShTI.js → file-field-B-R605PQ.js} +123 -122
- package/dist/cdn/chunks/{form-DUkQXtMT.js → form-DDB03czp.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DAA4feSG.js → form-actions-DZgcVawx.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-D9E51k93.js → form-associated-mixin-9cC5HSCG.js} +2 -2
- package/dist/cdn/chunks/{form-field-DlLMimbj.js → form-field-CiWFS40A.js} +62 -54
- package/dist/cdn/chunks/{form-section-BvBuApsD.js → form-section-J2if8kVt.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CTaKn0tf.js → full-bleed-section-Q4drn-q0.js} +3 -3
- package/dist/cdn/chunks/{hero-Dd5p9i9u.js → hero-CiPeHBJi.js} +4 -4
- package/dist/cdn/chunks/{icon-D4fRZxV2.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-DOaYzHj0.js → icon-button-CCiDTx3_.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CywVVCYz.js → icon-cell-qieQ2vyq.js} +26 -27
- package/dist/cdn/chunks/{identity-DKFLeTaG.js → identity-xlk5m8S9.js} +24 -21
- package/dist/cdn/chunks/{if-defined-DmACWFoP.js → if-defined-BG5WQE1B.js} +1 -1
- package/dist/cdn/chunks/{image-DSXL5nMx.js → image--hemIqn_.js} +53 -45
- package/dist/cdn/chunks/{inline-dialog-_TYBWEal.js → inline-dialog-TetcCCuR.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-CXJOozIu.js → just-in-time-education-B5veXLNI.js} +5 -5
- package/dist/cdn/chunks/{kanban-DNLzjjc_.js → kanban-D_rUckwT.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-eo2SYTGR.js → kanban-column-DXhOQ64A.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-DZ-mqzxk.js → keyboard-shortcut-CtLlBcQg.js} +3 -3
- package/dist/cdn/chunks/{languages-DOvFU6aa.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{link-C2Tm_F2F.js → link-ChRCGtWP.js} +6 -6
- package/dist/cdn/chunks/{link-group-BKeEUdjA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DXBgXtok.js → list-Bfh3X6o8.js} +8 -8
- package/dist/cdn/chunks/{list-item-CBIk8V1o.js → list-item-BcEWw55r.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BJAJO78S.js → list-item-segment-ChGSqurx.js} +3 -3
- package/dist/cdn/chunks/{menu-NHTlulPo.js → menu-Dj1cdu5O.js} +10 -13
- package/dist/cdn/chunks/{menu-bar-BplgndmQ.js → menu-bar-DCkLwYES.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-1ymZKx5B.js → menu-bar-item-eLhyoBaG.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-A_WVVPRj.js → menu-divider-BUNkdRG6.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BxdR9cIB.js → menu-group-rgTyUCIY.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CfSzAmYP.js → menu-item-CttLz526.js} +4 -4
- package/dist/cdn/chunks/{menu.template-BQg9CFZU.js → menu.template-D6Y2bQao.js} +57 -42
- package/dist/cdn/chunks/{modal-dialog-CRoItKeC.js → modal-dialog-CUb8QrtP.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Dyyhaixb.js → multi-line-text-field-Db8a2YIL.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-C40LLsnq.js → navigation-split-view-D8ATWcAf.js} +5 -5
- package/dist/cdn/chunks/{notification-DCJBxwgA.js → notification-DHvaRREb.js} +102 -101
- package/dist/cdn/chunks/{number-field-DsZcWhVJ.js → number-field-C_rgYWIM.js} +66 -48
- package/dist/cdn/chunks/{one-half-one-half-section-C7iwuCox.js → one-half-one-half-section-DFYjUF3h.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-viwFsAKX.js → one-third-two-thirds-section-DovKfHkM.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BK1dcrkM.js → one-time-code-field-BBg30doG.js} +27 -22
- package/dist/cdn/chunks/{overflow-menu-b9-YGrjH.js → overflow-menu-CAIY3hk-.js} +1 -1
- package/dist/cdn/chunks/{page-DtZ9Ef4H.js → page-DpcervFE.js} +13 -6
- package/dist/cdn/chunks/{page-footer-DnBD0aG2.js → page-footer-B0JJvSf7.js} +45 -43
- package/dist/cdn/chunks/{page-section-mixin-BhtKGjf2.js → page-section-mixin-B98EwIts.js} +3 -3
- package/dist/cdn/chunks/{pagination-Bw6rA75o.js → pagination-D1o7xN9-.js} +6 -6
- package/dist/cdn/chunks/{password-field-DvEggyk3.js → password-field-CWneSaEV.js} +8 -8
- package/dist/cdn/chunks/{popover-BS_tKHY-.js → popover-Bm7Kc6Ep.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-DjbR_gfZ.js → progress-bar-3eU3rFW6.js} +48 -43
- package/dist/cdn/chunks/{progress-circle-Cz9PLyQK.js → progress-circle-CHMKX8uz.js} +51 -49
- package/dist/cdn/chunks/{radio-button-D8mtS3no.js → radio-button-B45WY4fZ.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-BW0hpqWv.js → radio-button-field-CsJ0DMrB.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-9q5EIa2C.js → radio-button-group-CdDmgzn3.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Ux8zPP_h.js → render-marked-vXU387IN.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Du9jl_rB.js → reorder-handle-cell-M_xNSghw.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-Bk1J-pVX.js → reorder-handle-mixin-DIkeFpRU.js} +2 -2
- package/dist/cdn/chunks/{repeat-DxDrgDAx.js → repeat-Cy1a-r4p.js} +2 -2
- package/dist/cdn/chunks/{rich-text--3YgH9Ad.js → rich-text-B8ANpryO.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-DcfVBdj0.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-BqyBYmMY.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{search-field-DvqETt9_.js → search-field-1zFx-owG.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-Bc0JEwuo.js → segmented-control-CRRWCyFW.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-BerORb5_.js → shadow-resets-B6C3rG8q.js} +2 -2
- package/dist/cdn/chunks/{sheet-O_29ylNf.js → sheet-ChPeBrfk.js} +3 -3
- package/dist/cdn/chunks/{shell-wlMaUZMA.js → shell-DpKdCX0m.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-CLd3Nale.js → side-by-side-split-view-BoJ6fcJg.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CM5FBrQy.js → sidebar-section-D1fyh0uU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CnYSz59b.js → simple-section-CyDYDeg_.js} +3 -3
- package/dist/cdn/chunks/{skip-link-BSWXUiUo.js → skip-link-Dzz1lV-5.js} +28 -26
- package/dist/cdn/chunks/{slider-Cz9TWQ1q.js → slider-K7ylsn0X.js} +9 -9
- package/dist/cdn/chunks/{spacer-Di1FKF1H.js → spacer-BDRDeRQr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DxLzLJCd.js → spacer-cell-DvUxqmbS.js} +4 -4
- package/dist/cdn/chunks/{split-button-D8g_ndEY.js → split-button-BYqftEp3.js} +9 -7
- package/dist/cdn/chunks/{split-view-divider-BRYFJldk.js → split-view-divider-BQdN8I8c.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-BKKmNsjn.js → stacked-split-view-BG0kRfdn.js} +4 -4
- package/dist/cdn/chunks/{static-html-BuLHPpfA.js → static-html-ooiG7-by.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CHZ0l8TZ.js → status-bar-oyMa4uJG.js} +4 -4
- package/dist/cdn/chunks/{step-bar-C1MPbS7g.js → step-bar-CQd9nSub.js} +32 -29
- package/dist/cdn/chunks/{step-cell-27LEuImu.js → step-cell-3yG-UCmv.js} +5 -5
- package/dist/cdn/chunks/{stepper-CFnmm4Jc.js → stepper-d-usvzY0.js} +7 -7
- package/dist/cdn/chunks/{style-map-CT-UKis2.js → style-map-DP8rklU9.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-qcDRmYxS.js → swatch-picker-CDCUnY72.js} +6 -6
- package/dist/cdn/chunks/{switch-DF_LNJMR.js → switch-BMGaGKGr.js} +5 -5
- package/dist/cdn/chunks/{switch-field-BKIKn9wq.js → switch-field-BaKICGGz.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-VVZNYCSU.js → tab-bar-BFDYrnsi.js} +8 -8
- package/dist/cdn/chunks/{table-DfKFKaDW.js → table-DZx86t9S.js} +7 -5
- package/dist/cdn/chunks/{tag-CJQEzBXC.js → tag-BcfNqWxs.js} +21 -19
- package/dist/cdn/chunks/{term-D3QB0GN-.js → term-BgyQFHrz.js} +12 -12
- package/dist/cdn/chunks/{text-GAY_Be6G.js → text-ChSJGujM.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D9qxQeCY.js → text-cell-fnnbWR_Y.js} +55 -42
- package/dist/cdn/chunks/{text-editor-C1-K1z1w.js → text-editor-D9K1Z87u.js} +20 -17
- package/dist/cdn/chunks/{text-field-Bq_41L1a.js → text-field-DzNb872n.js} +6 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-Bqny9JeT.js → time-field-DiJhXcaX.js} +14 -14
- package/dist/cdn/chunks/{time-picker-DMaxOCDt.js → time-picker-DZlD7fVz.js} +5 -5
- package/dist/cdn/chunks/{title-Dxhkfehz.js → title-BUC_Asb4.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BDvpoBrO.js → title-cell-jmBvTRwY.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CcIX98G1.js → toggle-button-UssRHIiz.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-group-Dyqjqg2D.js → toggle-button-group-Bj8Rjd93.js} +2 -2
- package/dist/cdn/chunks/{token-BBS6BXwU.js → token-DTjIKIJl.js} +11 -10
- package/dist/cdn/chunks/{token-field-CO6N6wZW.js → token-field-CEtnrqKT.js} +13 -13
- package/dist/cdn/chunks/{toolbar--slFc4EX.js → toolbar-CvinP7R9.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-j9QbC5s5.js → toolbar-item-CiCs-MqI.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-D_BBNlB2.js → toolbar-title-YdFqO0Xq.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-CKxRmIg-.js → toolbar.styles-DO1jDSfb.js} +3 -3
- package/dist/cdn/chunks/{tooltip-bqAbXl2W.js → tooltip-CGSe6rYu.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-D26UoOIz.js → top-navigation-bar-akJzlepM.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-DtXWxtJF.js → top-title-bar-CuU2kYrc.js} +13 -6
- package/dist/cdn/chunks/{translations-DsTLnxKh.js → translations-tgPL1Hx3.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-D1R62yzp.js → two-thirds-one-third-section-BE40gzfe.js} +3 -3
- package/dist/cdn/chunks/{validation-list-DlJ18Ojt.js → validation-list-B_VwBQD0.js} +30 -28
- package/dist/cdn/chunks/{visibility-mixin-Bkc9mSOZ.js → visibility-mixin-BgnkZDZM.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CNq15vm2.js → visually-hidden-B4_jKNA7.js} +2 -2
- package/dist/cdn/chunks/{window-B3gyQQvV.js → window-CJybFUUG.js} +4 -4
- package/dist/cdn/chunks/{with-translations-BJzVHQmV.js → with-translations-CZaQOZ9L.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +3 -1
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +1 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +1 -4
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +22 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +3 -7
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +2 -0
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +3 -2
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion.d.ts +1 -1
- package/dist/components/content/accordion/accordion.js +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -2
- package/dist/components/content/admonition/admonition.js +2 -2
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +3 -2
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +9 -9
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +16 -16
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +3 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +3 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +3 -3
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon-categories.d.ts +2 -0
- package/dist/components/content/icon/icon-categories.d.ts.map +1 -0
- package/dist/components/content/icon/icon-categories.js +454 -0
- package/dist/components/content/icon/icon-categories.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +3 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +9 -1
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +11 -10
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +16 -16
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +3 -1
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +8 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +11 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -8
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +3 -1
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +3 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +7 -19
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts +2 -2
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +5 -5
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +2 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +8 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -12
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -7
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +3 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +5 -5
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +20 -8
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +33 -25
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +6 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +30 -15
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +2 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -2
- package/dist/components/layout/page/page.d.ts +10 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +19 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +2 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +2 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +23 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +26 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +16 -3
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +32 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +35 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +18 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +21 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +15 -15
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +9 -8
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +6 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +2 -6
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +8 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +14 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +14 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +0 -5
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +3 -6
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +6 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -2
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +5 -2
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +38 -40
- package/dist/css/text.css +2 -0
- package/dist/css/title.css +2 -0
- package/dist/css/variables.css +5 -1
- package/dist/nldd.min.js +1593 -1492
- package/dist/types/react.d.ts +33 -30
- package/dist/types/vue.d.ts +39 -37
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +21 -6
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/lint/main.js +2 -0
- package/lint/rule.schema.json +1 -0
- package/lint/wcag.js +67 -0
- package/package.json +1 -1
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import { n as b
|
|
20
|
-
import { n as S } from "./input-modality-XE0B7yCn.js";
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
3
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as c } from "./css-time-DmkAFd1y.js";
|
|
5
|
+
import { t as l } from "./form-associated-mixin-9cC5HSCG.js";
|
|
6
|
+
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
7
|
+
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-B6C3rG8q.js";
|
|
9
|
+
import "./icon-button-CCiDTx3_.js";
|
|
10
|
+
import "./icon-C_xeQP4j.js";
|
|
11
|
+
import "./popover-Bm7Kc6Ep.js";
|
|
12
|
+
import "./container-BxfHTSXb.js";
|
|
13
|
+
import "./top-title-bar-CuU2kYrc.js";
|
|
14
|
+
import { n as p, r as m } from "./date-picker-Ho8Mkvcv.js";
|
|
15
|
+
import { t as h } from "./date-field.i18n-BqIx3eyr.js";
|
|
16
|
+
import { t as g } from "./described-by-mixin-DSeADwWP.js";
|
|
17
|
+
import { t as _ } from "./translations-tgPL1Hx3.js";
|
|
18
|
+
import { n as v, r as y } from "./return-focus-CpwHVxYU.js";
|
|
19
|
+
import { n as b } from "./input-modality-XE0B7yCn.js";
|
|
21
20
|
// src/components/inputs/date-field/date-field.styles.ts
|
|
22
|
-
var
|
|
21
|
+
var x = o`
|
|
23
22
|
:host {
|
|
24
23
|
box-sizing: border-box;
|
|
25
24
|
}
|
|
@@ -61,7 +60,7 @@ var C = i(m.mdMin), w = s`
|
|
|
61
60
|
--_date-field-validation-icon-area-width: calc(var(--_date-field-min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
62
61
|
--_date-field-trailing-width: calc(var(--_date-field-validation-icon-area-width) + var(--_date-field-picker-button-size) + var(--_date-field-end-padding-right));
|
|
63
62
|
|
|
64
|
-
${
|
|
63
|
+
${f}
|
|
65
64
|
display: block;
|
|
66
65
|
width: var(--_date-field-width);
|
|
67
66
|
min-width: var(--_date-field-fixed-width);
|
|
@@ -274,17 +273,8 @@ var C = i(m.mdMin), w = s`
|
|
|
274
273
|
.date-field__picker-button :is(nldd-button, nldd-icon-button, nldd-token) {
|
|
275
274
|
--context-control-corner-radius: var(--_date-field-nested-control-corner-radius);
|
|
276
275
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
/* The sheet's title bar only makes sense on a small screen, where the popover
|
|
280
|
-
becomes a bottom sheet. It shows by default and is hidden from md up. */
|
|
281
|
-
@media (min-width: ${C}) {
|
|
282
|
-
.date-field__picker-button nldd-top-title-bar {
|
|
283
|
-
display: none;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
`, T = "calc(var(--semantics-controls-md-min-size) * 7 + var(--primitives-space-16) * 2)";
|
|
287
|
-
function E(e) {
|
|
276
|
+
`, S = "calc(var(--semantics-controls-md-min-size) * 7 + var(--primitives-space-16) * 2)";
|
|
277
|
+
function C(e) {
|
|
288
278
|
let r = e.invalid ? "invalid" : e.valid ? "valid" : "";
|
|
289
279
|
return r ? t`
|
|
290
280
|
<div class="date-field__validation-icon-area">
|
|
@@ -297,7 +287,7 @@ function E(e) {
|
|
|
297
287
|
</div>
|
|
298
288
|
` : n;
|
|
299
289
|
}
|
|
300
|
-
function
|
|
290
|
+
function w(e) {
|
|
301
291
|
if (e.noPicker || e.readonly) return n;
|
|
302
292
|
let r = e.size === "sm" ? "xs" : "sm";
|
|
303
293
|
return t`
|
|
@@ -347,7 +337,7 @@ function D(e) {
|
|
|
347
337
|
</div>
|
|
348
338
|
`;
|
|
349
339
|
}
|
|
350
|
-
function
|
|
340
|
+
function T(e, r, i) {
|
|
351
341
|
let a = e.range ? [e._fieldLabel, e._t(i > 0 ? "components.date-field.range-to-lowercase-label" : "components.date-field.range-from-lowercase-label")].join(", ") : e._fieldLabel;
|
|
352
342
|
return t`
|
|
353
343
|
<input class="date-field__input"
|
|
@@ -368,7 +358,7 @@ function O(e, r, i) {
|
|
|
368
358
|
>
|
|
369
359
|
`;
|
|
370
360
|
}
|
|
371
|
-
function
|
|
361
|
+
function E(e) {
|
|
372
362
|
return t`
|
|
373
363
|
<span class="date-field__separator"
|
|
374
364
|
aria-hidden="true"
|
|
@@ -377,7 +367,7 @@ function k(e) {
|
|
|
377
367
|
</span>
|
|
378
368
|
`;
|
|
379
369
|
}
|
|
380
|
-
function
|
|
370
|
+
function D(e) {
|
|
381
371
|
return t`
|
|
382
372
|
<div class="date-field"
|
|
383
373
|
role=${e.range ? "group" : n}
|
|
@@ -385,54 +375,54 @@ function A(e) {
|
|
|
385
375
|
@focusout=${e._handleFieldBlur}
|
|
386
376
|
>
|
|
387
377
|
${e._texts.map((r, i) => t`
|
|
388
|
-
${i > 0 ?
|
|
389
|
-
${
|
|
378
|
+
${i > 0 ? E(e) : n}
|
|
379
|
+
${T(e, r, i)}
|
|
390
380
|
`)}
|
|
391
381
|
<div class="date-field__input-fade"></div>
|
|
392
|
-
${
|
|
393
|
-
${
|
|
382
|
+
${C(e)}
|
|
383
|
+
${w(e)}
|
|
394
384
|
</div>
|
|
395
385
|
`;
|
|
396
386
|
}
|
|
397
|
-
function
|
|
387
|
+
function O(e) {
|
|
398
388
|
let t = e.trim();
|
|
399
389
|
if (t === "") return null;
|
|
400
390
|
let n = /^(\d{4})[-/.](\d{1,2})[-/.](\d{1,2})$/.exec(t);
|
|
401
|
-
if (n) return
|
|
391
|
+
if (n) return m(Number(n[1]), Number(n[2]), Number(n[3]));
|
|
402
392
|
let r = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(t);
|
|
403
|
-
if (r) return
|
|
393
|
+
if (r) return m(Number(r[3]), Number(r[2]), Number(r[1]));
|
|
404
394
|
let i = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(t);
|
|
405
|
-
return i ?
|
|
395
|
+
return i ? m(Number(i[3]), Number(i[2]), Number(i[1])) : null;
|
|
406
396
|
}
|
|
407
|
-
function
|
|
397
|
+
function k(e) {
|
|
408
398
|
let t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
|
|
409
399
|
return t ? `${t[3]}-${t[2]}-${t[1]}` : "";
|
|
410
400
|
}
|
|
411
|
-
function
|
|
401
|
+
function A(e, t) {
|
|
412
402
|
let n = e ? e.split("/") : [];
|
|
413
403
|
return Array.from({ length: t }, (e, t) => n[t] ?? "");
|
|
414
404
|
}
|
|
415
|
-
function
|
|
405
|
+
function j(e) {
|
|
416
406
|
return e.every((e) => e === "") ? "" : e.join("/");
|
|
417
407
|
}
|
|
418
|
-
function
|
|
408
|
+
function M(e, t) {
|
|
419
409
|
return {
|
|
420
|
-
min: e ?
|
|
421
|
-
max: t ?
|
|
410
|
+
min: e ? p(e) : "",
|
|
411
|
+
max: t ? p(t) : ""
|
|
422
412
|
};
|
|
423
413
|
}
|
|
424
|
-
function
|
|
425
|
-
let n =
|
|
414
|
+
function N(e, t) {
|
|
415
|
+
let n = O(e);
|
|
426
416
|
return !n || t.min && n < t.min || t.max && n > t.max ? "" : n;
|
|
427
417
|
}
|
|
428
|
-
function
|
|
418
|
+
function P(e) {
|
|
429
419
|
let [t, n] = e;
|
|
430
420
|
return e.length !== 2 || !t || !n || t <= n ? null : [n, t];
|
|
431
421
|
}
|
|
432
|
-
function
|
|
422
|
+
function F(e, t, n) {
|
|
433
423
|
for (let n of e) {
|
|
434
424
|
if (!n.trim()) continue;
|
|
435
|
-
let e =
|
|
425
|
+
let e = O(n);
|
|
436
426
|
if (!e) return { flag: "badInput" };
|
|
437
427
|
if (t.min && e < t.min) return {
|
|
438
428
|
flag: "rangeUnderflow",
|
|
@@ -447,15 +437,15 @@ function R(e, t, n) {
|
|
|
447
437
|
return n && r?.trim() && i.some((e) => !e.trim()) ? { flag: "valueMissing" } : null;
|
|
448
438
|
}
|
|
449
439
|
// src/components/inputs/date-field/date-field.ts
|
|
450
|
-
var
|
|
440
|
+
var I = class extends g(l(e)) {
|
|
451
441
|
constructor(...e) {
|
|
452
|
-
super(...e), this.size = "md", this.width = "", this.placeholder = "", this.accessibleLabel = "", this.noPicker = !1, this.valid = !1, this.invalid = !1, this.name = "", this.inputId = "", this.value = "", this.range = !1, this.min = "", this.max = "", this.required = !1, this.autocomplete = "", this.readonly = !1, this.disabled = !1, this.translations = {}, this._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth =
|
|
442
|
+
super(...e), this.size = "md", this.width = "", this.placeholder = "", this.accessibleLabel = "", this.noPicker = !1, this.valid = !1, this.invalid = !1, this.name = "", this.inputId = "", this.value = "", this.range = !1, this.min = "", this.max = "", this.required = !1, this.autocomplete = "", this.readonly = !1, this.disabled = !1, this.translations = {}, this._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth = S, this._choiceTimer = 0;
|
|
453
443
|
}
|
|
454
444
|
get _endCount() {
|
|
455
445
|
return this.range ? 2 : 1;
|
|
456
446
|
}
|
|
457
447
|
get _ends() {
|
|
458
|
-
return
|
|
448
|
+
return A(this.value, this._endCount);
|
|
459
449
|
}
|
|
460
450
|
get _startValue() {
|
|
461
451
|
return this._ends[0] ?? "";
|
|
@@ -465,18 +455,18 @@ var z = class extends v(u(e)) {
|
|
|
465
455
|
}
|
|
466
456
|
_setEnd(e, t) {
|
|
467
457
|
let n = this._ends;
|
|
468
|
-
n[e] = t, this.value =
|
|
458
|
+
n[e] = t, this.value = j(n);
|
|
469
459
|
}
|
|
470
460
|
_sortRange() {
|
|
471
|
-
let e =
|
|
472
|
-
return e ? (this.value =
|
|
461
|
+
let e = P(this._ends);
|
|
462
|
+
return e ? (this.value = j(e), !0) : !1;
|
|
473
463
|
}
|
|
474
464
|
_handleFieldBlur(e) {
|
|
475
465
|
let t = e.relatedTarget;
|
|
476
466
|
t && this.shadowRoot?.contains(t) || this._sortRange() && this._emit("change");
|
|
477
467
|
}
|
|
478
468
|
_commit(e) {
|
|
479
|
-
return
|
|
469
|
+
return N(e, M(this.min, this.max));
|
|
480
470
|
}
|
|
481
471
|
get _slottedPicker() {
|
|
482
472
|
return (this.shadowRoot?.querySelector("slot[name=\"picker\"]"))?.assignedElements({ flatten: !0 }).find((e) => e.localName === "nldd-date-picker") ?? null;
|
|
@@ -493,11 +483,11 @@ var z = class extends v(u(e)) {
|
|
|
493
483
|
}
|
|
494
484
|
willUpdate(e) {
|
|
495
485
|
if (!e.has("value") && !e.has("range")) return;
|
|
496
|
-
e.has("range") && (this.value =
|
|
486
|
+
e.has("range") && (this.value = j(this._ends));
|
|
497
487
|
let t = this._ends;
|
|
498
488
|
this._texts = t.map((e, t) => {
|
|
499
489
|
let n = this._texts[t] ?? "";
|
|
500
|
-
return this._commit(n) === e ? n :
|
|
490
|
+
return this._commit(n) === e ? n : k(e);
|
|
501
491
|
});
|
|
502
492
|
}
|
|
503
493
|
updated(e) {
|
|
@@ -509,10 +499,10 @@ var z = class extends v(u(e)) {
|
|
|
509
499
|
t && n && t.anchorElement !== n && (t.anchorElement = n), this._syncSlottedPicker();
|
|
510
500
|
}
|
|
511
501
|
formResetCallback() {
|
|
512
|
-
super.formResetCallback(), this._texts =
|
|
502
|
+
super.formResetCallback(), this._texts = A(this.value, this._endCount).map(k);
|
|
513
503
|
}
|
|
514
504
|
_t(e) {
|
|
515
|
-
return
|
|
505
|
+
return _(this.translations, h, e);
|
|
516
506
|
}
|
|
517
507
|
get _fieldLabel() {
|
|
518
508
|
return this.accessibleLabel || this._t(this.range ? "components.date-field.default-range-label" : "components.date-field.default-label");
|
|
@@ -533,10 +523,10 @@ var z = class extends v(u(e)) {
|
|
|
533
523
|
this._pickerOpen ? this._popover?.hide() : this._popover?.show();
|
|
534
524
|
}
|
|
535
525
|
_applyCloseFocus() {
|
|
536
|
-
let e = this._focusOnClose ?? (
|
|
526
|
+
let e = this._focusOnClose ?? (y(this) ? "trigger" : null);
|
|
537
527
|
if (this._focusOnClose = null, e === "trigger") {
|
|
538
528
|
let e = this._pickerTrigger;
|
|
539
|
-
e &&
|
|
529
|
+
e && v(e);
|
|
540
530
|
} else if (e === "last-input") {
|
|
541
531
|
let e = this._inputs;
|
|
542
532
|
this._focusAtEnd(e[e.length - 1]);
|
|
@@ -551,7 +541,7 @@ var z = class extends v(u(e)) {
|
|
|
551
541
|
_fitPopoverToSlottedPicker() {
|
|
552
542
|
let e = this._slottedPicker;
|
|
553
543
|
if (!e) {
|
|
554
|
-
this._pickerPopoverWidth =
|
|
544
|
+
this._pickerPopoverWidth = S;
|
|
555
545
|
return;
|
|
556
546
|
}
|
|
557
547
|
let t = e.getBoundingClientRect().width;
|
|
@@ -562,7 +552,7 @@ var z = class extends v(u(e)) {
|
|
|
562
552
|
let t = e.detail;
|
|
563
553
|
if (this.range) {
|
|
564
554
|
if (typeof t?.start != "string" || typeof t?.end != "string") return;
|
|
565
|
-
this.value =
|
|
555
|
+
this.value = j([t.start, t.end]), this._focusOnClose = b() ? "trigger" : "last-input";
|
|
566
556
|
} else {
|
|
567
557
|
if (typeof t?.value != "string") return;
|
|
568
558
|
this.value = t.value, this._focusOnClose = "trigger";
|
|
@@ -571,7 +561,7 @@ var z = class extends v(u(e)) {
|
|
|
571
561
|
}
|
|
572
562
|
_holdChoiceThenClose() {
|
|
573
563
|
clearTimeout(this._choiceTimer);
|
|
574
|
-
let e =
|
|
564
|
+
let e = c(getComputedStyle(this).getPropertyValue("--_date-field-choice-hold-duration"));
|
|
575
565
|
e ? this._choiceTimer = window.setTimeout(() => {
|
|
576
566
|
this._choiceTimer = 0, this._pickerOpen && this._popover?.hide();
|
|
577
567
|
}, e) : (this._choiceTimer = 0, this._pickerOpen && this._popover?.hide());
|
|
@@ -589,7 +579,7 @@ var z = class extends v(u(e)) {
|
|
|
589
579
|
e.setSelectionRange(t, t);
|
|
590
580
|
}
|
|
591
581
|
_handleInputKeydown(e, t) {
|
|
592
|
-
|
|
582
|
+
u(this, e) || t !== 0 && e.key === "Backspace" && e.target.value === "" && (e.preventDefault(), this._focusAtEnd(this._inputs[t - 1]));
|
|
593
583
|
}
|
|
594
584
|
_setText(e, t) {
|
|
595
585
|
let n = [...this._texts];
|
|
@@ -603,13 +593,13 @@ var z = class extends v(u(e)) {
|
|
|
603
593
|
_handleChange(e, t = 0) {
|
|
604
594
|
e.stopPropagation();
|
|
605
595
|
let n = e.target.value, r = this._commit(n);
|
|
606
|
-
this._setText(t, r ?
|
|
596
|
+
this._setText(t, r ? k(r) : n), this._setEnd(t, r), this._emit("change");
|
|
607
597
|
}
|
|
608
598
|
formValue() {
|
|
609
599
|
return this.value;
|
|
610
600
|
}
|
|
611
601
|
ownValidity() {
|
|
612
|
-
let e =
|
|
602
|
+
let e = F(this._texts, M(this.min, this.max), this.required);
|
|
613
603
|
return e ? {
|
|
614
604
|
flags: { [e.flag]: !0 },
|
|
615
605
|
message: this._problemMessage(e)
|
|
@@ -618,8 +608,8 @@ var z = class extends v(u(e)) {
|
|
|
618
608
|
_problemMessage(e) {
|
|
619
609
|
switch (e.flag) {
|
|
620
610
|
case "badInput": return this._t("components.date-field.bad-input-error-text");
|
|
621
|
-
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}",
|
|
622
|
-
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}",
|
|
611
|
+
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}", k(e.bound));
|
|
612
|
+
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}", k(e.bound));
|
|
623
613
|
case "valueMissing": return this._t("components.date-field.range-incomplete-error-text");
|
|
624
614
|
}
|
|
625
615
|
}
|
|
@@ -627,51 +617,51 @@ var z = class extends v(u(e)) {
|
|
|
627
617
|
this.emitFormEvent(e, { value: this.value });
|
|
628
618
|
}
|
|
629
619
|
render() {
|
|
630
|
-
return
|
|
620
|
+
return D(this);
|
|
631
621
|
}
|
|
632
|
-
},
|
|
622
|
+
}, L = (I.shadowRootOptions = {
|
|
633
623
|
...e.shadowRootOptions,
|
|
634
624
|
delegatesFocus: !0
|
|
635
|
-
},
|
|
636
|
-
r([
|
|
625
|
+
}, I.styles = x, I.formProperties = ["value"], I.isFormInput = !0, I.isTextEntry = !0, I.blocksImplicitSubmission = !0, I);
|
|
626
|
+
r([a({
|
|
637
627
|
reflect: !0,
|
|
638
|
-
converter:
|
|
639
|
-
})],
|
|
628
|
+
converter: d("md")
|
|
629
|
+
})], L.prototype, "size", void 0), r([a({
|
|
640
630
|
reflect: !0,
|
|
641
|
-
converter:
|
|
642
|
-
})],
|
|
631
|
+
converter: d("")
|
|
632
|
+
})], L.prototype, "width", void 0), r([a({
|
|
643
633
|
reflect: !0,
|
|
644
|
-
converter:
|
|
645
|
-
})],
|
|
634
|
+
converter: d("")
|
|
635
|
+
})], L.prototype, "placeholder", void 0), r([a({
|
|
646
636
|
type: String,
|
|
647
637
|
attribute: "accessible-label"
|
|
648
|
-
})],
|
|
638
|
+
})], L.prototype, "accessibleLabel", void 0), r([a({
|
|
649
639
|
type: Boolean,
|
|
650
640
|
reflect: !0,
|
|
651
641
|
attribute: "no-picker"
|
|
652
|
-
})],
|
|
642
|
+
})], L.prototype, "noPicker", void 0), r([a({
|
|
653
643
|
type: Boolean,
|
|
654
644
|
reflect: !0
|
|
655
|
-
})],
|
|
645
|
+
})], L.prototype, "valid", void 0), r([a({
|
|
656
646
|
type: Boolean,
|
|
657
647
|
reflect: !0
|
|
658
|
-
})],
|
|
648
|
+
})], L.prototype, "invalid", void 0), r([a({
|
|
659
649
|
reflect: !0,
|
|
660
|
-
converter:
|
|
661
|
-
})],
|
|
650
|
+
converter: d("")
|
|
651
|
+
})], L.prototype, "name", void 0), r([a({
|
|
662
652
|
type: String,
|
|
663
653
|
attribute: "input-id"
|
|
664
|
-
})],
|
|
654
|
+
})], L.prototype, "inputId", void 0), r([a({ type: String })], L.prototype, "value", void 0), r([a({
|
|
665
655
|
type: Boolean,
|
|
666
656
|
reflect: !0
|
|
667
|
-
})],
|
|
657
|
+
})], L.prototype, "range", void 0), r([a({ type: String })], L.prototype, "min", void 0), r([a({ type: String })], L.prototype, "max", void 0), r([a({
|
|
668
658
|
type: Boolean,
|
|
669
659
|
reflect: !0
|
|
670
|
-
})],
|
|
660
|
+
})], L.prototype, "required", void 0), r([a({ type: String })], L.prototype, "autocomplete", void 0), r([a({
|
|
671
661
|
type: Boolean,
|
|
672
662
|
reflect: !0
|
|
673
|
-
})],
|
|
663
|
+
})], L.prototype, "readonly", void 0), r([a({
|
|
674
664
|
type: Boolean,
|
|
675
665
|
reflect: !0
|
|
676
|
-
})],
|
|
677
|
-
export {
|
|
666
|
+
})], L.prototype, "disabled", void 0), r([a({ type: Object })], L.prototype, "translations", void 0), r([i()], L.prototype, "_texts", void 0), r([i()], L.prototype, "_hasSlottedPicker", void 0), r([i()], L.prototype, "_pickerOpen", void 0), r([i()], L.prototype, "_pickerPopoverWidth", void 0), L = r([s("nldd-date-field")], L);
|
|
667
|
+
export { L as NLDDDateField };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CIC8fGPN.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-7tLnKgZE.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
6
6
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
|
-
import { t as d } from "./with-translations-
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import { t as p } from "./class-map-
|
|
7
|
+
import { t as d } from "./with-translations-CZaQOZ9L.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-B6C3rG8q.js";
|
|
9
|
+
import { t as p } from "./class-map-07EioFee.js";
|
|
10
10
|
import { n as m, r as h, t as g } from "./date-picker.i18n-Dsc_M5QK.js";
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./button-
|
|
13
|
-
import "./button-bar-
|
|
14
|
-
import "./menu-
|
|
15
|
-
import { t as _ } from "./described-by-mixin-
|
|
11
|
+
import "./icon-button-CCiDTx3_.js";
|
|
12
|
+
import "./button-3oNu2JqC.js";
|
|
13
|
+
import "./button-bar-Bw46AWOo.js";
|
|
14
|
+
import "./menu-Dj1cdu5O.js";
|
|
15
|
+
import { t as _ } from "./described-by-mixin-DSeADwWP.js";
|
|
16
16
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
17
17
|
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
18
18
|
// src/utilities/resolve-date-bound.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./custom-element-
|
|
1
|
+
import { a as e } from "./custom-element-7tLnKgZE.js";
|
|
2
2
|
// node_modules/lit-html/lit-html.js
|
|
3
3
|
var t = globalThis, n = (e) => e, r = t.trustedTypes, i = r ? r.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, a = "$lit$", o = `lit$${Math.random().toFixed(9).slice(2)}$`, s = "?" + o, c = `<${s}>`, l = document, u = () => l.createComment(""), d = (e) => e === null || typeof e != "object" && typeof e != "function", f = Array.isArray, p = (e) => f(e) || typeof e?.[Symbol.iterator] == "function", m = "[ \n\f\r]", h = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, g = /-->/g, _ = />/g, v = RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), y = /'/g, b = /"/g, x = /^(?:script|style|textarea|title)$/i, S = (e) => (t, ...n) => ({
|
|
4
4
|
_$litType$: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
1
|
+
import { r as e } from "./custom-element-7tLnKgZE.js";
|
|
2
2
|
import { r as t } from "./element-state-D-J_cHEV.js";
|
|
3
3
|
import { t as n } from "./owned-attribute-x9OCTy_4.js";
|
|
4
|
-
import { t as r } from "./decorate-
|
|
4
|
+
import { t as r } from "./decorate-CIC8fGPN.js";
|
|
5
5
|
// src/utilities/described-by-mixin.ts
|
|
6
6
|
function i(e, t, n = !1) {
|
|
7
7
|
if (!e) return;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./reorder-handle-mixin-
|
|
4
|
+
import { t as o } from "./reorder-handle-mixin-DIkeFpRU.js";
|
|
5
5
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
6
|
+
import { r as c, t as l } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
|
+
import { i as u, t as d } from "./shadow-resets-B6C3rG8q.js";
|
|
8
|
+
import { t as f } from "./visibility-mixin-BgnkZDZM.js";
|
|
9
|
+
import { t as p } from "./row-header-mixin-CnCxMteQ.js";
|
|
9
10
|
// src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts
|
|
10
|
-
var
|
|
11
|
+
var m = i`
|
|
11
12
|
:host {
|
|
12
13
|
box-sizing: border-box;
|
|
13
14
|
}
|
|
@@ -21,7 +22,8 @@ var f = i`
|
|
|
21
22
|
--_description-cell-max-width: none;
|
|
22
23
|
--_description-cell-min-height: 0;
|
|
23
24
|
|
|
24
|
-
${
|
|
25
|
+
${d}
|
|
26
|
+
${c}
|
|
25
27
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
26
28
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
27
29
|
display: flex;
|
|
@@ -37,12 +39,18 @@ var f = i`
|
|
|
37
39
|
display: none;
|
|
38
40
|
}
|
|
39
41
|
|
|
42
|
+
:host([hyphens]) {
|
|
43
|
+
${l}
|
|
44
|
+
}
|
|
45
|
+
|
|
40
46
|
|
|
41
47
|
/* # Width */
|
|
42
48
|
|
|
43
49
|
:host([width="full"]),
|
|
44
50
|
:host(:not([width])),
|
|
45
51
|
:host([width=""]) {
|
|
52
|
+
--_description-cell-min-width: var(--context-cell-min-width, var(--semantics-cells-min-width));
|
|
53
|
+
|
|
46
54
|
flex-grow: 1;
|
|
47
55
|
flex-shrink: 1;
|
|
48
56
|
flex-basis: 0;
|
|
@@ -56,9 +64,8 @@ var f = i`
|
|
|
56
64
|
|
|
57
65
|
width: fit-content;
|
|
58
66
|
flex-grow: 0;
|
|
59
|
-
/*
|
|
60
|
-
|
|
61
|
-
vast en duwde hij alles erachter de rij uit. */
|
|
67
|
+
/* Shrinking is allowed: with flex-shrink: 0 the cell kept the width of
|
|
68
|
+
its text and pushed everything after it out of the row. */
|
|
62
69
|
flex-shrink: 1;
|
|
63
70
|
flex-basis: auto;
|
|
64
71
|
}
|
|
@@ -71,6 +78,12 @@ var f = i`
|
|
|
71
78
|
flex-basis: var(--_description-cell-max-width);
|
|
72
79
|
}
|
|
73
80
|
|
|
81
|
+
:host([max-width][width="full"]),
|
|
82
|
+
:host([max-width]:not([width])),
|
|
83
|
+
:host([max-width][width=""]) {
|
|
84
|
+
--_description-cell-min-width: min(var(--context-cell-min-width, var(--semantics-cells-min-width)), var(--_description-cell-max-width));
|
|
85
|
+
}
|
|
86
|
+
|
|
74
87
|
|
|
75
88
|
/* # Vertical alignment */
|
|
76
89
|
|
|
@@ -94,8 +107,8 @@ var f = i`
|
|
|
94
107
|
/* # Elements */
|
|
95
108
|
|
|
96
109
|
::slotted([slot="title"]) {
|
|
97
|
-
${
|
|
98
|
-
${
|
|
110
|
+
${u}
|
|
111
|
+
${d}
|
|
99
112
|
margin: 0 !important;
|
|
100
113
|
min-width: 0 !important;
|
|
101
114
|
align-self: stretch !important;
|
|
@@ -112,8 +125,8 @@ var f = i`
|
|
|
112
125
|
}
|
|
113
126
|
|
|
114
127
|
::slotted([slot="description"]) {
|
|
115
|
-
${
|
|
116
|
-
${
|
|
128
|
+
${u}
|
|
129
|
+
${d}
|
|
117
130
|
margin: 0 !important;
|
|
118
131
|
min-width: 0 !important;
|
|
119
132
|
align-self: stretch !important;
|
|
@@ -127,12 +140,12 @@ var f = i`
|
|
|
127
140
|
forced-color-adjust: none !important;
|
|
128
141
|
}
|
|
129
142
|
}
|
|
130
|
-
`,
|
|
143
|
+
`, h = () => t`
|
|
131
144
|
<slot name="title"></slot>
|
|
132
145
|
<slot name="description"></slot>
|
|
133
|
-
`,
|
|
146
|
+
`, g = class extends o(p(f(e, "cells-container"))) {
|
|
134
147
|
constructor(...e) {
|
|
135
|
-
super(...e), this.width = "full", this.verticalAlignment = "center";
|
|
148
|
+
super(...e), this.width = "full", this.verticalAlignment = "center", this.hyphens = !1;
|
|
136
149
|
}
|
|
137
150
|
updated(e) {
|
|
138
151
|
super.updated(e), (e.has("width") || e.has("minWidth") || e.has("maxWidth") || e.has("minHeight")) && this._applyDimensionStyles();
|
|
@@ -142,27 +155,30 @@ var f = i`
|
|
|
142
155
|
n ? this.style.setProperty("--_description-cell-width", e) : this.style.removeProperty("--_description-cell-width"), e && !t && !n && (this.width = ""), this.minWidth ? this.style.setProperty("--_description-cell-min-width", this.minWidth) : this.style.removeProperty("--_description-cell-min-width"), this.maxWidth ? this.style.setProperty("--_description-cell-max-width", this.maxWidth) : this.style.removeProperty("--_description-cell-max-width"), this.minHeight ? this.style.setProperty("--_description-cell-min-height", this.minHeight) : this.style.removeProperty("--_description-cell-min-height");
|
|
143
156
|
}
|
|
144
157
|
render() {
|
|
145
|
-
return
|
|
158
|
+
return h();
|
|
146
159
|
}
|
|
147
|
-
},
|
|
160
|
+
}, _ = (g.styles = [m], g);
|
|
148
161
|
n([r({
|
|
149
162
|
reflect: !0,
|
|
150
163
|
converter: s("full")
|
|
151
|
-
})],
|
|
164
|
+
})], _.prototype, "width", void 0), n([r({
|
|
152
165
|
type: String,
|
|
153
166
|
reflect: !0,
|
|
154
167
|
attribute: "min-width"
|
|
155
|
-
})],
|
|
168
|
+
})], _.prototype, "minWidth", void 0), n([r({
|
|
156
169
|
type: String,
|
|
157
170
|
reflect: !0,
|
|
158
171
|
attribute: "max-width"
|
|
159
|
-
})],
|
|
172
|
+
})], _.prototype, "maxWidth", void 0), n([r({
|
|
160
173
|
type: String,
|
|
161
174
|
reflect: !0,
|
|
162
175
|
attribute: "min-height"
|
|
163
|
-
})],
|
|
176
|
+
})], _.prototype, "minHeight", void 0), n([r({
|
|
164
177
|
reflect: !0,
|
|
165
178
|
attribute: "vertical-alignment",
|
|
166
179
|
converter: s("center")
|
|
167
|
-
})],
|
|
168
|
-
|
|
180
|
+
})], _.prototype, "verticalAlignment", void 0), n([r({
|
|
181
|
+
type: Boolean,
|
|
182
|
+
reflect: !0
|
|
183
|
+
})], _.prototype, "hyphens", void 0), _ = n([a("nldd-description-cell")], _);
|
|
184
|
+
export { _ as NLDDDescriptionCell };
|