@nldd/design-system 0.24.0 → 0.25.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/custom-elements.json +591 -31
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +140 -137
- package/dist/cdn/chunks/accordion-B7KdKJno.js +90 -0
- package/dist/cdn/chunks/accordion-item-CVy8Apta.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-DWBG1Csi.js → activity-indicator-CpJVlX6K.js} +12 -12
- package/dist/cdn/chunks/admonition-C89WHJ9a.js +379 -0
- package/dist/cdn/chunks/{avatar-CRZLseMs.js → avatar-Bf0OfAtQ.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-coYbMhot.js → avatar-group-BeBAv2wB.js} +20 -20
- package/dist/cdn/chunks/{badge-DAXG-uIw.js → badge-C43FvgkK.js} +5 -5
- package/dist/cdn/chunks/{banner-BbR0rebp.js → banner-OWK0gwFb.js} +41 -40
- package/dist/cdn/chunks/{bar-split-view-DoklVwuj.js → bar-split-view-Dj1WycIW.js} +7 -7
- package/dist/cdn/chunks/{blockquote-DfIl4wTC.js → blockquote-D_5MxcSi.js} +9 -9
- package/dist/cdn/chunks/{box-CXICi_Gs.js → box-BUoxiA7b.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-CVoNqsU2.js → breadcrumbs-DXxJTACL.js} +6 -6
- package/dist/cdn/chunks/{button-DWzqSerk.js → button-DpKyquzm.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DwFLuumP.js → button-bar-BSt-QQRG.js} +30 -30
- package/dist/cdn/chunks/{button-group-D-nEY7Wz.js → button-group-D5QJWJzh.js} +2 -2
- package/dist/cdn/chunks/{card-CIVLEFhz.js → card-Cz4f-dCf.js} +9 -9
- package/dist/cdn/chunks/{cell-C79LmCOU.js → cell-zFw2V9wD.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BQepKdVv.js → checkbox-BDp3O8Nc.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-ColaTYKE.js → checkbox-field-CSXV0prA.js} +5 -5
- package/dist/cdn/chunks/{class-map-9VgiG_zt.js → class-map-C7ao595e.js} +1 -1
- package/dist/cdn/chunks/{code-editor-FNmK9xRx.js → code-editor-Chm9EG_v.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C5whEGq6.js → code-viewer-DX322d7w.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-SKGbh9LP.js → codemirror-input-BLMJQbHq.js} +4 -4
- package/dist/cdn/chunks/{collection-Dq6Z66UX.js → collection-Bf8HoSki.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CoOSPICd.js → combo-box-VuU_F54v.js} +25 -25
- package/dist/cdn/chunks/{container-CtwuWO3a.js → container-qVTgmbpz.js} +48 -48
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-BVKCDhPV.js → custom-element-C5yyaCZS.js} +4 -2
- package/dist/cdn/chunks/{date-field-CqnGM7GR.js → date-field-By9Q8151.js} +100 -88
- package/dist/cdn/chunks/{date-picker-C2iGHw2u.js → date-picker-DtA4PXCh.js} +16 -16
- package/dist/cdn/chunks/{decorate-CK3hc5C5.js → decorate-CkbtFnic.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DGAPpEdM.js → described-by-mixin-DXC6jkCd.js} +2 -2
- package/dist/cdn/chunks/{description-cell-B08Ma5EJ.js → description-cell-D2INE8A3.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-BwWYGVrJ.js → dev-checks-UHHli7gE.js} +112 -18
- package/dist/cdn/chunks/{dist-B8vBP_Xz.js → dist-B1pwN_VD.js} +1 -1
- package/dist/cdn/chunks/{dist-B4vELUJW.js → dist-BG0xnVUi.js} +3 -3
- package/dist/cdn/chunks/{dist-CKeY28-M.js → dist-BzfFo9Yu.js} +2 -2
- package/dist/cdn/chunks/{dist-CQ5kBaGZ.js → dist-C-T4uKP1.js} +1 -1
- package/dist/cdn/chunks/{dist-BThgPtD7.js → dist-Ce38ZA7b.js} +2 -2
- package/dist/cdn/chunks/{dist-DP5DQSlX.js → dist-Cm51DQO4.js} +2 -2
- package/dist/cdn/chunks/{dist-B2YK3eT2.js → dist-Dg3ySzj7.js} +3 -3
- package/dist/cdn/chunks/{dist-jAq440y0.js → dist-VXOtAJ-m.js} +1 -1
- package/dist/cdn/chunks/{dist-D1t9kkjo.js → dist-pCih3zzc.js} +1 -1
- package/dist/cdn/chunks/{dist-DzcXDSFC.js → dist-qo8avphr.js} +1 -1
- package/dist/cdn/chunks/{dist-CWN_qz9z.js → dist-zxb4QZZG.js} +1 -1
- package/dist/cdn/chunks/{divider-KgHxRNV9.js → divider-Cv_vyHvw.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CTIcETDr.js → document-tab-bar-CdOxr8KC.js} +53 -52
- package/dist/cdn/chunks/{dropdown-BhrCadMW.js → dropdown-DC9J6k0P.js} +5 -5
- package/dist/cdn/chunks/{file-field-DzH4Yrj5.js → file-field-CsrTk4uk.js} +25 -25
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-CzmdlZ0i.js → form-ClOD1OKh.js} +10 -10
- package/dist/cdn/chunks/{form-actions-CDQW1p3w.js → form-actions-CwaXGj43.js} +3 -3
- package/dist/cdn/chunks/{form-field-D_qJpPAS.js → form-field-LoX9v2Pa.js} +7 -7
- package/dist/cdn/chunks/{form-section-Jy5b5Qtp.js → form-section-i6piyKuy.js} +16 -16
- package/dist/cdn/chunks/{full-bleed-section-BDIuXLGU.js → full-bleed-section-6aAfCnez.js} +4 -4
- package/dist/cdn/chunks/{hero-BPHFHrUT.js → hero-CTQAayXT.js} +22 -22
- package/dist/cdn/chunks/{icon-BE2ojX0S.js → icon-B5kHyCz2.js} +7 -7
- package/dist/cdn/chunks/{icon-button-CFMhdG1B.js → icon-button-DuEiOOoc.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CQ-e1GB2.js → icon-cell-uZkR3hZx.js} +6 -6
- package/dist/cdn/chunks/{identity-7wQDjeGb.js → identity-DR6DMjke.js} +55 -39
- package/dist/cdn/chunks/{if-defined-G1P3HUvi.js → if-defined-B7fJBsUt.js} +1 -1
- package/dist/cdn/chunks/{image-QPbmNKvZ.js → image-CuBUo_MQ.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-DP3AXfJV.js → inline-dialog-CZNkWJIA.js} +15 -15
- package/dist/cdn/chunks/{just-in-time-education-DnaF_sLc.js → just-in-time-education-qwg9hTDX.js} +8 -8
- package/dist/cdn/chunks/{kanban-o2GMLjsq.js → kanban-Bkg-nZmX.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-B_Jrut9s.js → kanban-column-C8iRyRNY.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-Dm366Dra.js → keyboard-shortcut-Rq5IHU-e.js} +3 -3
- package/dist/cdn/chunks/{languages-Dlh_tbAH.js → languages-DLHsACpp.js} +12 -12
- package/dist/cdn/chunks/{link-DhTY3Sjh.js → link-CgjFwaHP.js} +70 -21
- package/dist/cdn/chunks/{link-group-YuwD1m6-.js → link-group-5W0GAmTq.js} +2 -2
- package/dist/cdn/chunks/{list-Cdvib5Y-.js → list-BASqIKtP.js} +15 -15
- package/dist/cdn/chunks/{list-item-vO3GwQWa.js → list-item-DTcPysIP.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-F3av0jxz.js → list-item-segment-CRw0y4kg.js} +15 -15
- package/dist/cdn/chunks/{menu-dTVlz6mn.js → menu-CYILGTpB.js} +47 -41
- package/dist/cdn/chunks/{menu-bar-imOaTlGm.js → menu-bar-CL566HmJ.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-ChQbM1ER.js → menu-bar-item-C6OrUu_4.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-D7s6f49y.js → menu-divider-BtU9eBSb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BcEmoNvL.js → menu-group-r2TvdqJB.js} +6 -6
- package/dist/cdn/chunks/{menu-item-BGlVTfe6.js → menu-item-CS45jTLu.js} +22 -22
- package/dist/cdn/chunks/{menu.template-syBthjEV.js → menu.template-CF8Iau1s.js} +20 -5
- package/dist/cdn/chunks/{modal-dialog-BBK25tjm.js → modal-dialog-C9NBq8TO.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-DuL6nLG_.js → multi-line-text-field-BkxV0vqA.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-CdZNbX91.js → navigation-split-view-DNrQYkg7.js} +11 -11
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-Dwhfnjb2.js → notification-Dzpy9hCc.js} +13 -13
- package/dist/cdn/chunks/{number-field-Dl4zZvVe.js → number-field-BJCUe-bI.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-BJxLZfiK.js → one-half-one-half-section-Ctw8ri5v.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-CARh_hdH.js → one-third-two-thirds-section-DxUUH8lS.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-FaxqiiD6.js → one-time-code-field-DGDyqIMd.js} +20 -20
- package/dist/cdn/chunks/{page-Cc5bb6VU.js → page-BpavFPML.js} +10 -10
- package/dist/cdn/chunks/{page-footer-Df1cS-ks.js → page-footer-CVqmyulx.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-BzgAU2sX.js → page-section-mixin-BHg-Wre9.js} +3 -3
- package/dist/cdn/chunks/{pagination-BcnkrWV_.js → pagination-BGZYq-eO.js} +6 -6
- package/dist/cdn/chunks/{password-field-CeIJm406.js → password-field-BIFfLAls.js} +7 -7
- package/dist/cdn/chunks/{popover-BIMt3aqW.js → popover-TCW20ibN.js} +9 -9
- package/dist/cdn/chunks/{progress-bar-C9CWhkse.js → progress-bar-C4bLuJBa.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-CJL1aFbS.js → progress-circle-BePtt89f.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DKo5kdLW.js → radio-button-CLiuwjA1.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-DPZajMnT.js → radio-button-field-BPva1mUv.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-BBZhU3bn.js → radio-button-group-Z5s4obz6.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Bkoq5vNH.js → render-marked-C3ypoEZM.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-CEW8Cg1r.js → reorder-handle-cell-BB9b4T_d.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BkksqjmK.js → reorder-handle-mixin-DBjNe6Rl.js} +2 -2
- package/dist/cdn/chunks/{repeat-C5V9E9Ta.js → repeat-s95Ixbpx.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DEFr_Niu.js → rich-text-DTxHo8E_.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BSORP0i7.js → row-header-mixin-BcwoEgu7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7kZVxmh.js → scroll-fade-Dul0IfE1.js} +4 -4
- package/dist/cdn/chunks/{search-field-Dr0MLD_z.js → search-field-BeZN7S8J.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-aOIkoklF.js → segmented-control-Dzu8xoqB.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-CRBumQjX.js → shadow-resets-Dlq8Oecv.js} +11 -7
- package/dist/cdn/chunks/{sheet-BCPE_pDl.js → sheet-DaQpfAep.js} +4 -4
- package/dist/cdn/chunks/{shell-ZCsqW56P.js → shell-DSNgonKU.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-BWIyZmzo.js → side-by-side-split-view-DhGbcDrs.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-Di3mQROc.js → sidebar-section-BlJmPb9C.js} +8 -8
- package/dist/cdn/chunks/{simple-section-sOkNMsbz.js → simple-section-CYiTEFqN.js} +4 -4
- package/dist/cdn/chunks/{skip-link-mcskOuFr.js → skip-link-CReOb-Ci.js} +4 -4
- package/dist/cdn/chunks/{slider-CkPk4lBA.js → slider-DUEGol_V.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-RB_KBaTr.js → spacer-CPmyJDQq.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-V1UaaPcO.js → spacer-cell-DJEv0v6s.js} +4 -4
- package/dist/cdn/chunks/{split-button-BUEhYiI5.js → split-button-B3vfYAdy.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-Rmb9cG9K.js → split-view-divider-pSUpnEPX.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-DQRZ9tE0.js → split-view-pane-J1RVr_w1.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BaeQhWmd.js → stacked-split-view-B67fT-Ch.js} +7 -7
- package/dist/cdn/chunks/{static-html-CAczcbUD.js → static-html-BT4LOKbV.js} +1 -1
- package/dist/cdn/chunks/{status-bar-D3-IYqUp.js → status-bar-CGXqgNOf.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BfNXoHds.js → step-bar-DdsA2Egs.js} +21 -21
- package/dist/cdn/chunks/{step-cell-BN2ZKsQ4.js → step-cell-DsTAgMCx.js} +5 -5
- package/dist/cdn/chunks/{stepper-DuPRMxBx.js → stepper-DPqXiLQr.js} +6 -6
- package/dist/cdn/chunks/{style-map-LFqo5rE_.js → style-map-B7yv7Y8k.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BVKCFzpO.js → swatch-picker-D9QZmbNN.js} +21 -21
- package/dist/cdn/chunks/{switch-CgUZ0WlQ.js → switch-CE2glvZQ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B4c8-L61.js → switch-field-Dr2LovXc.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D-1g8fdF.js → tab-bar-DYZbToZB.js} +21 -21
- package/dist/cdn/chunks/{table-jrJ4EJpq.js → table-DoQMJbSg.js} +5 -5
- package/dist/cdn/chunks/{tag-JYwa5l-A.js → tag-DOX5nY-Z.js} +10 -10
- package/dist/cdn/chunks/{term-NyLmTWnF.js → term-CxGzPnhq.js} +58 -38
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/text-Dqe0uTK7.js +260 -0
- package/dist/cdn/chunks/{text-cell-BXLFcD_e.js → text-cell-ByGrujhK.js} +74 -62
- package/dist/cdn/chunks/{text-editor-rLc5H6kD.js → text-editor-DT9oWQCT.js} +10 -10
- package/dist/cdn/chunks/{text-field-B7M4VwCe.js → text-field-DKz5IRAU.js} +22 -22
- package/dist/cdn/chunks/{time-field-BtQRsvpR.js → time-field-Dh7nTwNc.js} +27 -27
- package/dist/cdn/chunks/{time-picker-BKLwibb9.js → time-picker-Bp-l4JfF.js} +54 -57
- package/dist/cdn/chunks/{title-DLD3RW7l.js → title-CdIWXNtc.js} +113 -98
- package/dist/cdn/chunks/{title-cell-BCUBuKIO.js → title-cell-DNbP8l_x.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-Etx8hKQS.js → toggle-button-CPMxB3gN.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-Ph1kcTqj.js → toggle-button-group-ERWVyRX5.js} +2 -2
- package/dist/cdn/chunks/{token-BQtumlDT.js → token-CG8dR3EH.js} +13 -13
- package/dist/cdn/chunks/{token-field-BrV2RZHi.js → token-field-B8wqHKan.js} +21 -21
- package/dist/cdn/chunks/{toolbar-w_2rxcNu.js → toolbar-CiZoecHm.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-x-y_AxHu.js → toolbar-item-xJEewchW.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-g47zMdG2.js → toolbar-title-C08aG67Y.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-EP0gu8kg.js → toolbar.styles-DmAHodW4.js} +3 -3
- package/dist/cdn/chunks/{tooltip-D47hF_iD.js → tooltip-660R32cn.js} +55 -47
- package/dist/cdn/chunks/{top-navigation-bar-DO7JsQVs.js → top-navigation-bar-B1HFShH8.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-CVEOoXhu.js → top-title-bar-BLZZd0Iu.js} +14 -14
- package/dist/cdn/chunks/{translations-eWWV6weF.js → translations-CF08wvn-.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-x3dadNwz.js → two-thirds-one-third-section-Dqz7UoSH.js} +4 -4
- package/dist/cdn/chunks/{validation-list-krcQHzP3.js → validation-list-D-bzOl5H.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-CXBa-fVi.js → visibility-mixin-X9d6wHvR.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-Cd1_FE1J.js → visually-hidden-Cew5_ldu.js} +2 -2
- package/dist/cdn/chunks/{window-JbrLuRjR.js → window-DSgA26_c.js} +4 -4
- package/dist/cdn/chunks/{with-translations-DhRk5rH-.js → with-translations-Boc5Daaj.js} +3 -3
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +17 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +50 -6
- 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 +16 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.d.ts +38 -0
- package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.js +62 -0
- package/dist/components/content/accordion/accordion-item.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js +196 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.js +24 -0
- package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
- package/dist/components/content/accordion/accordion.d.ts +50 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.js +96 -0
- package/dist/components/content/accordion/accordion.js.map +1 -0
- package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.styles.js +43 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.template.js +9 -0
- package/dist/components/content/accordion/accordion.template.js.map +1 -0
- package/dist/components/content/admonition/admonition.d.ts +76 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.js +129 -0
- package/dist/components/content/admonition/admonition.js.map +1 -0
- package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.styles.js +269 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -0
- package/dist/components/content/admonition/admonition.template.d.ts +4 -0
- package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.template.js +63 -0
- package/dist/components/content/admonition/admonition.template.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +36 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +14 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +14 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +12 -1
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.d.ts +1 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.js +2 -0
- package/dist/components/content/term/term.i18n.js.map +1 -1
- package/dist/components/content/term/term.js +23 -1
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +33 -12
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- 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 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +16 -10
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +14 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +34 -1
- 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 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- 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 +40 -31
- 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 +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- 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 +39 -29
- 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 +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- 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.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +60 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +145 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +4 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.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 +25 -24
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/rich-text.css +200 -2
- package/dist/css/text.css +159 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes.css +3 -0
- package/dist/css/title.css +10 -10
- package/dist/css/variables.css +21 -0
- package/dist/nldd.min.js +5057 -4592
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +48 -10
- package/dist/types/vue.d.ts +54 -10
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +3 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/css-time.d.ts +4 -0
- package/dist/utilities/css-time.d.ts.map +1 -0
- package/dist/utilities/css-time.js +10 -0
- package/dist/utilities/css-time.js.map +1 -0
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +71 -2
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +19 -2
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
- package/dist/cdn/chunks/text-gy-gkfSS.js +0 -406
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as l } from "./
|
|
5
|
-
import { t as u } from "./
|
|
6
|
-
import { t as d } from "./
|
|
7
|
-
import { t as f } from "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { t as _ } from "./
|
|
17
|
-
import { t as v } from "./
|
|
18
|
-
import {
|
|
19
|
-
import { n as x } from "./
|
|
4
|
+
import { t as l } from "./css-time-DmkAFd1y.js";
|
|
5
|
+
import { t as u } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
+
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
7
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
+
import { t as p } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
|
+
import { n as m } from "./breakpoints-Cwor8TRP.js";
|
|
10
|
+
import "./icon-button-DuEiOOoc.js";
|
|
11
|
+
import "./icon-B5kHyCz2.js";
|
|
12
|
+
import "./popover-TCW20ibN.js";
|
|
13
|
+
import "./container-qVTgmbpz.js";
|
|
14
|
+
import "./top-title-bar-BLZZd0Iu.js";
|
|
15
|
+
import { n as h, r as g } from "./date-picker-DtA4PXCh.js";
|
|
16
|
+
import { t as _ } from "./date-field.i18n-BqIx3eyr.js";
|
|
17
|
+
import { t as v } from "./described-by-mixin-DXC6jkCd.js";
|
|
18
|
+
import { t as y } from "./translations-CF08wvn-.js";
|
|
19
|
+
import { n as b, r as x } from "./return-focus-BzZWhXhc.js";
|
|
20
|
+
import { n as S } from "./input-modality-XE0B7yCn.js";
|
|
20
21
|
// src/components/inputs/date-field/date-field.styles.ts
|
|
21
|
-
var
|
|
22
|
+
var C = o(m.mdMin), w = i`
|
|
22
23
|
:host {
|
|
23
24
|
box-sizing: border-box;
|
|
24
25
|
}
|
|
@@ -31,6 +32,7 @@ var S = i(p.mdMin), C = a`
|
|
|
31
32
|
tabular, so every date measures the same), but as air around the date and
|
|
32
33
|
as a grip to select and drag by. */
|
|
33
34
|
--_date-field-text-width: 10.5ch;
|
|
35
|
+
--_date-field-choice-hold-duration: var(--primitives-transition-duration-slow);
|
|
34
36
|
/* Room reserved for the separator. The character itself gets its own width,
|
|
35
37
|
because it is translatable and would clip in a fixed box. Whatever that
|
|
36
38
|
reservation gets wrong is absorbed by the end date field. */
|
|
@@ -59,7 +61,7 @@ var S = i(p.mdMin), C = a`
|
|
|
59
61
|
--_date-field-validation-icon-area-width: calc(var(--_date-field-min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
60
62
|
--_date-field-trailing-width: calc(var(--_date-field-validation-icon-area-width) + var(--_date-field-picker-button-size) + var(--_date-field-end-padding-right));
|
|
61
63
|
|
|
62
|
-
${
|
|
64
|
+
${p}
|
|
63
65
|
display: block;
|
|
64
66
|
width: var(--_date-field-width);
|
|
65
67
|
min-width: var(--_date-field-fixed-width);
|
|
@@ -276,13 +278,13 @@ var S = i(p.mdMin), C = a`
|
|
|
276
278
|
|
|
277
279
|
/* The sheet's title bar only makes sense on a small screen, where the popover
|
|
278
280
|
becomes a bottom sheet. It shows by default and is hidden from md up. */
|
|
279
|
-
@media (min-width: ${
|
|
281
|
+
@media (min-width: ${C}) {
|
|
280
282
|
.date-field__picker-button nldd-top-title-bar {
|
|
281
283
|
display: none;
|
|
282
284
|
}
|
|
283
285
|
}
|
|
284
|
-
`,
|
|
285
|
-
function
|
|
286
|
+
`, T = "calc(var(--semantics-controls-md-min-size) * 7 + var(--primitives-space-16) * 2)";
|
|
287
|
+
function E(e) {
|
|
286
288
|
let r = e.invalid ? "invalid" : e.valid ? "valid" : "";
|
|
287
289
|
return r ? t`
|
|
288
290
|
<div class="date-field__validation-icon-area">
|
|
@@ -295,7 +297,7 @@ function T(e) {
|
|
|
295
297
|
</div>
|
|
296
298
|
` : n;
|
|
297
299
|
}
|
|
298
|
-
function
|
|
300
|
+
function D(e) {
|
|
299
301
|
if (e.noPicker || e.readonly) return n;
|
|
300
302
|
let r = e.size === "sm" ? "xs" : "sm";
|
|
301
303
|
return t`
|
|
@@ -345,7 +347,7 @@ function E(e) {
|
|
|
345
347
|
</div>
|
|
346
348
|
`;
|
|
347
349
|
}
|
|
348
|
-
function
|
|
350
|
+
function O(e, r, i) {
|
|
349
351
|
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;
|
|
350
352
|
return t`
|
|
351
353
|
<input class="date-field__input"
|
|
@@ -366,7 +368,7 @@ function D(e, r, i) {
|
|
|
366
368
|
>
|
|
367
369
|
`;
|
|
368
370
|
}
|
|
369
|
-
function
|
|
371
|
+
function k(e) {
|
|
370
372
|
return t`
|
|
371
373
|
<span class="date-field__separator"
|
|
372
374
|
aria-hidden="true"
|
|
@@ -375,7 +377,7 @@ function O(e) {
|
|
|
375
377
|
</span>
|
|
376
378
|
`;
|
|
377
379
|
}
|
|
378
|
-
function
|
|
380
|
+
function A(e) {
|
|
379
381
|
return t`
|
|
380
382
|
<div class="date-field"
|
|
381
383
|
role=${e.range ? "group" : n}
|
|
@@ -383,54 +385,54 @@ function k(e) {
|
|
|
383
385
|
@focusout=${e._handleFieldBlur}
|
|
384
386
|
>
|
|
385
387
|
${e._texts.map((r, i) => t`
|
|
386
|
-
${i > 0 ?
|
|
387
|
-
${
|
|
388
|
+
${i > 0 ? k(e) : n}
|
|
389
|
+
${O(e, r, i)}
|
|
388
390
|
`)}
|
|
389
391
|
<div class="date-field__input-fade"></div>
|
|
390
|
-
${T(e)}
|
|
391
392
|
${E(e)}
|
|
393
|
+
${D(e)}
|
|
392
394
|
</div>
|
|
393
395
|
`;
|
|
394
396
|
}
|
|
395
|
-
function
|
|
397
|
+
function j(e) {
|
|
396
398
|
let t = e.trim();
|
|
397
399
|
if (t === "") return null;
|
|
398
400
|
let n = /^(\d{4})[-/.](\d{1,2})[-/.](\d{1,2})$/.exec(t);
|
|
399
|
-
if (n) return
|
|
401
|
+
if (n) return g(Number(n[1]), Number(n[2]), Number(n[3]));
|
|
400
402
|
let r = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(t);
|
|
401
|
-
if (r) return
|
|
403
|
+
if (r) return g(Number(r[3]), Number(r[2]), Number(r[1]));
|
|
402
404
|
let i = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(t);
|
|
403
|
-
return i ?
|
|
405
|
+
return i ? g(Number(i[3]), Number(i[2]), Number(i[1])) : null;
|
|
404
406
|
}
|
|
405
|
-
function
|
|
407
|
+
function M(e) {
|
|
406
408
|
let t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
|
|
407
409
|
return t ? `${t[3]}-${t[2]}-${t[1]}` : "";
|
|
408
410
|
}
|
|
409
|
-
function
|
|
411
|
+
function N(e, t) {
|
|
410
412
|
let n = e ? e.split("/") : [];
|
|
411
413
|
return Array.from({ length: t }, (e, t) => n[t] ?? "");
|
|
412
414
|
}
|
|
413
|
-
function
|
|
415
|
+
function P(e) {
|
|
414
416
|
return e.every((e) => e === "") ? "" : e.join("/");
|
|
415
417
|
}
|
|
416
|
-
function
|
|
418
|
+
function F(e, t) {
|
|
417
419
|
return {
|
|
418
|
-
min: e ?
|
|
419
|
-
max: t ?
|
|
420
|
+
min: e ? h(e) : "",
|
|
421
|
+
max: t ? h(t) : ""
|
|
420
422
|
};
|
|
421
423
|
}
|
|
422
|
-
function
|
|
423
|
-
let n =
|
|
424
|
+
function I(e, t) {
|
|
425
|
+
let n = j(e);
|
|
424
426
|
return !n || t.min && n < t.min || t.max && n > t.max ? "" : n;
|
|
425
427
|
}
|
|
426
|
-
function
|
|
428
|
+
function L(e) {
|
|
427
429
|
let [t, n] = e;
|
|
428
430
|
return e.length !== 2 || !t || !n || t <= n ? null : [n, t];
|
|
429
431
|
}
|
|
430
|
-
function
|
|
432
|
+
function R(e, t, n) {
|
|
431
433
|
for (let n of e) {
|
|
432
434
|
if (!n.trim()) continue;
|
|
433
|
-
let e =
|
|
435
|
+
let e = j(n);
|
|
434
436
|
if (!e) return { flag: "badInput" };
|
|
435
437
|
if (t.min && e < t.min) return {
|
|
436
438
|
flag: "rangeUnderflow",
|
|
@@ -445,15 +447,15 @@ function L(e, t, n) {
|
|
|
445
447
|
return n && r?.trim() && i.some((e) => !e.trim()) ? { flag: "valueMissing" } : null;
|
|
446
448
|
}
|
|
447
449
|
// src/components/inputs/date-field/date-field.ts
|
|
448
|
-
var
|
|
450
|
+
var z = class extends v(u(e)) {
|
|
449
451
|
constructor(...e) {
|
|
450
|
-
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.range = !1, this.min = "", this.max = "", this.noPicker = !1, this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.readonly = !1, this.required = !1, this.name = "", this.autocomplete = "", this.accessibleLabel = "", this.width = "", this.translations = {}, this._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth =
|
|
452
|
+
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.range = !1, this.min = "", this.max = "", this.noPicker = !1, this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.readonly = !1, this.required = !1, this.name = "", this.autocomplete = "", this.accessibleLabel = "", this.width = "", this.translations = {}, this._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth = T, this._choiceTimer = 0;
|
|
451
453
|
}
|
|
452
454
|
get _endCount() {
|
|
453
455
|
return this.range ? 2 : 1;
|
|
454
456
|
}
|
|
455
457
|
get _ends() {
|
|
456
|
-
return
|
|
458
|
+
return N(this.value, this._endCount);
|
|
457
459
|
}
|
|
458
460
|
get _startValue() {
|
|
459
461
|
return this._ends[0] ?? "";
|
|
@@ -463,18 +465,18 @@ var R = class extends _(l(e)) {
|
|
|
463
465
|
}
|
|
464
466
|
_setEnd(e, t) {
|
|
465
467
|
let n = this._ends;
|
|
466
|
-
n[e] = t, this.value =
|
|
468
|
+
n[e] = t, this.value = P(n);
|
|
467
469
|
}
|
|
468
470
|
_sortRange() {
|
|
469
|
-
let e =
|
|
470
|
-
return e ? (this.value =
|
|
471
|
+
let e = L(this._ends);
|
|
472
|
+
return e ? (this.value = P(e), !0) : !1;
|
|
471
473
|
}
|
|
472
474
|
_handleFieldBlur(e) {
|
|
473
475
|
let t = e.relatedTarget;
|
|
474
476
|
t && this.shadowRoot?.contains(t) || this._sortRange() && this._emit("change");
|
|
475
477
|
}
|
|
476
478
|
_commit(e) {
|
|
477
|
-
return
|
|
479
|
+
return I(e, F(this.min, this.max));
|
|
478
480
|
}
|
|
479
481
|
get _slottedPicker() {
|
|
480
482
|
return (this.shadowRoot?.querySelector("slot[name=\"picker\"]"))?.assignedElements({ flatten: !0 }).find((e) => e.localName === "nldd-date-picker") ?? null;
|
|
@@ -491,11 +493,11 @@ var R = class extends _(l(e)) {
|
|
|
491
493
|
}
|
|
492
494
|
willUpdate(e) {
|
|
493
495
|
if (!e.has("value") && !e.has("range")) return;
|
|
494
|
-
e.has("range") && (this.value =
|
|
496
|
+
e.has("range") && (this.value = P(this._ends));
|
|
495
497
|
let t = this._ends;
|
|
496
498
|
this._texts = t.map((e, t) => {
|
|
497
499
|
let n = this._texts[t] ?? "";
|
|
498
|
-
return this._commit(n) === e ? n :
|
|
500
|
+
return this._commit(n) === e ? n : M(e);
|
|
499
501
|
});
|
|
500
502
|
}
|
|
501
503
|
updated(e) {
|
|
@@ -507,13 +509,13 @@ var R = class extends _(l(e)) {
|
|
|
507
509
|
t && n && t.anchorElement !== n && (t.anchorElement = n), this._syncSlottedPicker();
|
|
508
510
|
}
|
|
509
511
|
formResetCallback() {
|
|
510
|
-
this._texts =
|
|
512
|
+
this._texts = N(this._initialValue, this._endCount).map(M), this.value = this._initialValue;
|
|
511
513
|
}
|
|
512
514
|
formStateRestoreCallback(e) {
|
|
513
515
|
typeof e == "string" && (this.value = e);
|
|
514
516
|
}
|
|
515
517
|
_t(e) {
|
|
516
|
-
return
|
|
518
|
+
return y(this.translations, _, e);
|
|
517
519
|
}
|
|
518
520
|
get _fieldLabel() {
|
|
519
521
|
return this.accessibleLabel || this._t(this.range ? "components.date-field.default-range-label" : "components.date-field.default-label");
|
|
@@ -534,10 +536,10 @@ var R = class extends _(l(e)) {
|
|
|
534
536
|
this._pickerOpen ? this._popover?.hide() : this._popover?.show();
|
|
535
537
|
}
|
|
536
538
|
_applyCloseFocus() {
|
|
537
|
-
let e = this._focusOnClose ?? (
|
|
539
|
+
let e = this._focusOnClose ?? (x(this) ? "trigger" : null);
|
|
538
540
|
if (this._focusOnClose = null, e === "trigger") {
|
|
539
541
|
let e = this._pickerTrigger;
|
|
540
|
-
e &&
|
|
542
|
+
e && b(e);
|
|
541
543
|
} else if (e === "last-input") {
|
|
542
544
|
let e = this._inputs;
|
|
543
545
|
this._focusAtEnd(e[e.length - 1]);
|
|
@@ -552,7 +554,7 @@ var R = class extends _(l(e)) {
|
|
|
552
554
|
_fitPopoverToSlottedPicker() {
|
|
553
555
|
let e = this._slottedPicker;
|
|
554
556
|
if (!e) {
|
|
555
|
-
this._pickerPopoverWidth =
|
|
557
|
+
this._pickerPopoverWidth = T;
|
|
556
558
|
return;
|
|
557
559
|
}
|
|
558
560
|
let t = e.getBoundingClientRect().width;
|
|
@@ -563,12 +565,22 @@ var R = class extends _(l(e)) {
|
|
|
563
565
|
let t = e.detail;
|
|
564
566
|
if (this.range) {
|
|
565
567
|
if (typeof t?.start != "string" || typeof t?.end != "string") return;
|
|
566
|
-
this.value =
|
|
568
|
+
this.value = P([t.start, t.end]), this._focusOnClose = S() ? "trigger" : "last-input";
|
|
567
569
|
} else {
|
|
568
570
|
if (typeof t?.value != "string") return;
|
|
569
571
|
this.value = t.value, this._focusOnClose = "trigger";
|
|
570
572
|
}
|
|
571
|
-
this.
|
|
573
|
+
this._emit("change"), this._holdChoiceThenClose();
|
|
574
|
+
}
|
|
575
|
+
_holdChoiceThenClose() {
|
|
576
|
+
clearTimeout(this._choiceTimer);
|
|
577
|
+
let e = l(getComputedStyle(this).getPropertyValue("--_date-field-choice-hold-duration"));
|
|
578
|
+
e ? this._choiceTimer = window.setTimeout(() => {
|
|
579
|
+
this._choiceTimer = 0, this._pickerOpen && this._popover?.hide();
|
|
580
|
+
}, e) : (this._choiceTimer = 0, this._pickerOpen && this._popover?.hide());
|
|
581
|
+
}
|
|
582
|
+
disconnectedCallback() {
|
|
583
|
+
super.disconnectedCallback(), clearTimeout(this._choiceTimer), this._choiceTimer = 0;
|
|
572
584
|
}
|
|
573
585
|
get _inputs() {
|
|
574
586
|
return [...this.shadowRoot?.querySelectorAll(".date-field__input") ?? []];
|
|
@@ -580,7 +592,7 @@ var R = class extends _(l(e)) {
|
|
|
580
592
|
e.setSelectionRange(t, t);
|
|
581
593
|
}
|
|
582
594
|
_handleInputKeydown(e, t) {
|
|
583
|
-
|
|
595
|
+
d(this, e) || t !== 0 && e.key === "Backspace" && e.target.value === "" && (e.preventDefault(), this._focusAtEnd(this._inputs[t - 1]));
|
|
584
596
|
}
|
|
585
597
|
_setText(e, t) {
|
|
586
598
|
let n = [...this._texts];
|
|
@@ -594,13 +606,13 @@ var R = class extends _(l(e)) {
|
|
|
594
606
|
_handleChange(e, t = 0) {
|
|
595
607
|
e.stopPropagation();
|
|
596
608
|
let n = e.target.value, r = this._commit(n);
|
|
597
|
-
this._setText(t, r ?
|
|
609
|
+
this._setText(t, r ? M(r) : n), this._setEnd(t, r), this._emit("change");
|
|
598
610
|
}
|
|
599
611
|
formValue() {
|
|
600
612
|
return this.value;
|
|
601
613
|
}
|
|
602
614
|
ownValidity() {
|
|
603
|
-
let e =
|
|
615
|
+
let e = R(this._texts, F(this.min, this.max), this.required);
|
|
604
616
|
return e ? {
|
|
605
617
|
flags: { [e.flag]: !0 },
|
|
606
618
|
message: this._problemMessage(e)
|
|
@@ -609,8 +621,8 @@ var R = class extends _(l(e)) {
|
|
|
609
621
|
_problemMessage(e) {
|
|
610
622
|
switch (e.flag) {
|
|
611
623
|
case "badInput": return this._t("components.date-field.bad-input-error-text");
|
|
612
|
-
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}",
|
|
613
|
-
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}",
|
|
624
|
+
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}", M(e.bound));
|
|
625
|
+
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}", M(e.bound));
|
|
614
626
|
case "valueMissing": return this._t("components.date-field.range-incomplete-error-text");
|
|
615
627
|
}
|
|
616
628
|
}
|
|
@@ -622,51 +634,51 @@ var R = class extends _(l(e)) {
|
|
|
622
634
|
}));
|
|
623
635
|
}
|
|
624
636
|
render() {
|
|
625
|
-
return
|
|
637
|
+
return A(this);
|
|
626
638
|
}
|
|
627
|
-
},
|
|
639
|
+
}, B = (z.shadowRootOptions = {
|
|
628
640
|
...e.shadowRootOptions,
|
|
629
641
|
delegatesFocus: !0
|
|
630
|
-
},
|
|
631
|
-
r([
|
|
642
|
+
}, z.styles = w, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z);
|
|
643
|
+
r([s({
|
|
632
644
|
reflect: !0,
|
|
633
|
-
converter:
|
|
634
|
-
})],
|
|
645
|
+
converter: f("md")
|
|
646
|
+
})], B.prototype, "size", void 0), r([s({ type: String })], B.prototype, "value", void 0), r([s({
|
|
635
647
|
type: Boolean,
|
|
636
648
|
reflect: !0
|
|
637
|
-
})],
|
|
649
|
+
})], B.prototype, "range", void 0), r([s({ type: String })], B.prototype, "min", void 0), r([s({ type: String })], B.prototype, "max", void 0), r([s({
|
|
638
650
|
type: Boolean,
|
|
639
651
|
reflect: !0,
|
|
640
652
|
attribute: "no-picker"
|
|
641
|
-
})],
|
|
653
|
+
})], B.prototype, "noPicker", void 0), r([s({
|
|
642
654
|
type: String,
|
|
643
655
|
attribute: "input-id"
|
|
644
|
-
})],
|
|
656
|
+
})], B.prototype, "inputId", void 0), r([s({
|
|
645
657
|
reflect: !0,
|
|
646
|
-
converter:
|
|
647
|
-
})],
|
|
658
|
+
converter: f("")
|
|
659
|
+
})], B.prototype, "placeholder", void 0), r([s({
|
|
648
660
|
type: Boolean,
|
|
649
661
|
reflect: !0
|
|
650
|
-
})],
|
|
662
|
+
})], B.prototype, "invalid", void 0), r([s({
|
|
651
663
|
type: Boolean,
|
|
652
664
|
reflect: !0
|
|
653
|
-
})],
|
|
665
|
+
})], B.prototype, "valid", void 0), r([s({
|
|
654
666
|
type: Boolean,
|
|
655
667
|
reflect: !0
|
|
656
|
-
})],
|
|
668
|
+
})], B.prototype, "disabled", void 0), r([s({
|
|
657
669
|
type: Boolean,
|
|
658
670
|
reflect: !0
|
|
659
|
-
})],
|
|
671
|
+
})], B.prototype, "readonly", void 0), r([s({
|
|
660
672
|
type: Boolean,
|
|
661
673
|
reflect: !0
|
|
662
|
-
})],
|
|
674
|
+
})], B.prototype, "required", void 0), r([s({
|
|
663
675
|
reflect: !0,
|
|
664
|
-
converter:
|
|
665
|
-
})],
|
|
676
|
+
converter: f("")
|
|
677
|
+
})], B.prototype, "name", void 0), r([s({ type: String })], B.prototype, "autocomplete", void 0), r([s({
|
|
666
678
|
type: String,
|
|
667
679
|
attribute: "accessible-label"
|
|
668
|
-
})],
|
|
680
|
+
})], B.prototype, "accessibleLabel", void 0), r([s({
|
|
669
681
|
reflect: !0,
|
|
670
|
-
converter:
|
|
671
|
-
})],
|
|
672
|
-
export {
|
|
682
|
+
converter: f("")
|
|
683
|
+
})], B.prototype, "width", void 0), r([s({ type: Object })], B.prototype, "translations", void 0), r([a()], B.prototype, "_texts", void 0), r([a()], B.prototype, "_hasSlottedPicker", void 0), r([a()], B.prototype, "_pickerOpen", void 0), r([a()], B.prototype, "_pickerPopoverWidth", void 0), B = r([c("nldd-date-field")], B);
|
|
684
|
+
export { B 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 {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-C5yyaCZS.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-Boc5Daaj.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
|
+
import { t as p } from "./class-map-C7ao595e.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-DuEiOOoc.js";
|
|
12
|
+
import "./button-DpKyquzm.js";
|
|
13
|
+
import "./button-bar-BSt-QQRG.js";
|
|
14
|
+
import "./menu-CYILGTpB.js";
|
|
15
|
+
import { t as _ } from "./described-by-mixin-DXC6jkCd.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
|
|
@@ -978,23 +978,23 @@ var Y = (I = class extends _(d(t, h)) {
|
|
|
978
978
|
return P(this);
|
|
979
979
|
}
|
|
980
980
|
}, I.styles = E, I.isFormInput = !0, I);
|
|
981
|
-
i([
|
|
981
|
+
i([s({ type: String })], Y.prototype, "value", void 0), i([s({ type: String })], Y.prototype, "start", void 0), i([s({ type: String })], Y.prototype, "end", void 0), i([s({
|
|
982
982
|
reflect: !0,
|
|
983
983
|
converter: v("")
|
|
984
|
-
})], Y.prototype, "width", void 0), i([
|
|
984
|
+
})], Y.prototype, "width", void 0), i([s({
|
|
985
985
|
type: Boolean,
|
|
986
986
|
reflect: !0
|
|
987
|
-
})], Y.prototype, "range", void 0), i([
|
|
987
|
+
})], Y.prototype, "range", void 0), i([s({ type: String })], Y.prototype, "min", void 0), i([s({ type: String })], Y.prototype, "max", void 0), i([s({
|
|
988
988
|
type: Number,
|
|
989
989
|
attribute: "first-day-of-week"
|
|
990
|
-
})], Y.prototype, "firstDayOfWeek", void 0), i([
|
|
990
|
+
})], Y.prototype, "firstDayOfWeek", void 0), i([s({
|
|
991
991
|
type: Boolean,
|
|
992
992
|
reflect: !0,
|
|
993
993
|
attribute: "week-numbers"
|
|
994
|
-
})], Y.prototype, "weekNumbers", void 0), i([
|
|
994
|
+
})], Y.prototype, "weekNumbers", void 0), i([s({
|
|
995
995
|
type: String,
|
|
996
996
|
attribute: "accessible-label"
|
|
997
|
-
})], Y.prototype, "accessibleLabel", void 0), i([
|
|
997
|
+
})], Y.prototype, "accessibleLabel", void 0), i([s({ attribute: !1 })], Y.prototype, "isDateUnavailable", void 0), i([o()], Y.prototype, "_focused", void 0), i([o()], Y.prototype, "_view", void 0), i([o()], Y.prototype, "_anchor", void 0), i([o()], Y.prototype, "_hover", void 0), i([o()], Y.prototype, "_announcement", void 0), i([o()], Y.prototype, "_monthMenuOpen", void 0), i([o()], Y.prototype, "_yearMenuOpen", void 0), i([o()], Y.prototype, "_stacked", void 0), i([s({
|
|
998
998
|
type: Boolean,
|
|
999
999
|
reflect: !0
|
|
1000
1000
|
})], Y.prototype, "invalid", void 0), Y = i([c("nldd-date-picker")], Y);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e } from "./custom-element-C5yyaCZS.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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-C5yyaCZS.js";
|
|
2
|
+
import { t } from "./decorate-CkbtFnic.js";
|
|
3
3
|
// src/utilities/described-by-mixin.ts
|
|
4
4
|
function n(e, t, n = !1) {
|
|
5
5
|
if (!e) return;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-C5yyaCZS.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-DBjNe6Rl.js";
|
|
5
5
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as u } from "./visibility-mixin-
|
|
8
|
-
import { t as d } from "./row-header-mixin-
|
|
6
|
+
import { i as c, t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import { t as u } from "./visibility-mixin-X9d6wHvR.js";
|
|
8
|
+
import { t as d } from "./row-header-mixin-BcwoEgu7.js";
|
|
9
9
|
// src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts
|
|
10
10
|
var f = r`
|
|
11
11
|
:host {
|