@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,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
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, r as o } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import "./icon-
|
|
10
|
-
import { t as p } from "./described-by-mixin-
|
|
8
|
+
import { t as f } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
|
+
import "./icon-B5kHyCz2.js";
|
|
10
|
+
import { t as p } from "./described-by-mixin-DXC6jkCd.js";
|
|
11
11
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/inputs/text-field/text-field.styles.ts
|
|
@@ -350,57 +350,57 @@ var y, b = [
|
|
|
350
350
|
...e.shadowRootOptions,
|
|
351
351
|
delegatesFocus: !0
|
|
352
352
|
}, y.styles = g, y.isFormInput = !0, y.blocksImplicitSubmission = !0, y);
|
|
353
|
-
r([
|
|
353
|
+
r([o({
|
|
354
354
|
reflect: !0,
|
|
355
355
|
converter: d("md")
|
|
356
|
-
})], C.prototype, "size", void 0), r([
|
|
356
|
+
})], C.prototype, "size", void 0), r([o({ type: String })], C.prototype, "value", void 0), r([o({
|
|
357
357
|
type: String,
|
|
358
358
|
attribute: "input-id"
|
|
359
|
-
})], C.prototype, "inputId", void 0), r([
|
|
359
|
+
})], C.prototype, "inputId", void 0), r([o({
|
|
360
360
|
reflect: !0,
|
|
361
361
|
converter: d("")
|
|
362
|
-
})], C.prototype, "placeholder", void 0), r([
|
|
362
|
+
})], C.prototype, "placeholder", void 0), r([o({
|
|
363
363
|
type: Boolean,
|
|
364
364
|
reflect: !0
|
|
365
|
-
})], C.prototype, "invalid", void 0), r([
|
|
365
|
+
})], C.prototype, "invalid", void 0), r([o({
|
|
366
366
|
type: Boolean,
|
|
367
367
|
reflect: !0
|
|
368
|
-
})], C.prototype, "valid", void 0), r([
|
|
368
|
+
})], C.prototype, "valid", void 0), r([o({
|
|
369
369
|
type: Boolean,
|
|
370
370
|
reflect: !0
|
|
371
|
-
})], C.prototype, "disabled", void 0), r([
|
|
371
|
+
})], C.prototype, "disabled", void 0), r([o({ type: String })], C.prototype, "type", void 0), r([o({
|
|
372
372
|
type: String,
|
|
373
373
|
reflect: !0
|
|
374
|
-
})], C.prototype, "keyboard", void 0), r([
|
|
374
|
+
})], C.prototype, "keyboard", void 0), r([o({
|
|
375
375
|
type: String,
|
|
376
376
|
reflect: !0,
|
|
377
377
|
attribute: "enter-key"
|
|
378
|
-
})], C.prototype, "enterKey", void 0), r([
|
|
378
|
+
})], C.prototype, "enterKey", void 0), r([o({
|
|
379
379
|
reflect: !0,
|
|
380
380
|
converter: d("")
|
|
381
|
-
})], C.prototype, "name", void 0), r([
|
|
381
|
+
})], C.prototype, "name", void 0), r([o({
|
|
382
382
|
type: Boolean,
|
|
383
383
|
reflect: !0
|
|
384
|
-
})], C.prototype, "readonly", void 0), r([
|
|
384
|
+
})], C.prototype, "readonly", void 0), r([o({
|
|
385
385
|
type: Boolean,
|
|
386
386
|
reflect: !0
|
|
387
|
-
})], C.prototype, "required", void 0), r([
|
|
387
|
+
})], C.prototype, "required", void 0), r([o({ type: String })], C.prototype, "autocomplete", void 0), r([o({
|
|
388
388
|
type: String,
|
|
389
389
|
attribute: "accessible-label"
|
|
390
|
-
})], C.prototype, "accessibleLabel", void 0), r([
|
|
390
|
+
})], C.prototype, "accessibleLabel", void 0), r([o({
|
|
391
391
|
type: Boolean,
|
|
392
392
|
reflect: !0,
|
|
393
393
|
attribute: "no-spellcheck"
|
|
394
|
-
})], C.prototype, "noSpellcheck", void 0), r([
|
|
394
|
+
})], C.prototype, "noSpellcheck", void 0), r([o({
|
|
395
395
|
reflect: !0,
|
|
396
396
|
converter: d("")
|
|
397
|
-
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([
|
|
397
|
+
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([a()], C.prototype, "_hasButton", void 0), r([o({
|
|
398
398
|
reflect: !0,
|
|
399
399
|
converter: d("")
|
|
400
|
-
})], C.prototype, "pattern", void 0), r([
|
|
400
|
+
})], C.prototype, "pattern", void 0), r([o({
|
|
401
401
|
type: Number,
|
|
402
402
|
reflect: !0
|
|
403
|
-
})], C.prototype, "minlength", void 0), r([
|
|
403
|
+
})], C.prototype, "minlength", void 0), r([o({
|
|
404
404
|
type: Number,
|
|
405
405
|
reflect: !0
|
|
406
406
|
})], C.prototype, "maxlength", void 0), C = r([s("nldd-text-field")], C);
|
|
@@ -1,25 +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
4
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
5
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
6
6
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as f } from "./shadow-resets-
|
|
7
|
+
import { t as f } from "./shadow-resets-Dlq8Oecv.js";
|
|
8
8
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./popover-
|
|
12
|
-
import "./container-
|
|
13
|
-
import "./spacer-
|
|
14
|
-
import "./button-
|
|
15
|
-
import "./top-title-bar-
|
|
16
|
-
import "./time-picker-
|
|
9
|
+
import "./icon-button-DuEiOOoc.js";
|
|
10
|
+
import "./icon-B5kHyCz2.js";
|
|
11
|
+
import "./popover-TCW20ibN.js";
|
|
12
|
+
import "./container-qVTgmbpz.js";
|
|
13
|
+
import "./spacer-CPmyJDQq.js";
|
|
14
|
+
import "./button-DpKyquzm.js";
|
|
15
|
+
import "./top-title-bar-BLZZd0Iu.js";
|
|
16
|
+
import "./time-picker-Bp-l4JfF.js";
|
|
17
17
|
import { t as m } from "./time-field.i18n-BM6qGbmN.js";
|
|
18
|
-
import { t as h } from "./described-by-mixin-
|
|
18
|
+
import { t as h } from "./described-by-mixin-DXC6jkCd.js";
|
|
19
19
|
import { n as g, r as _ } from "./return-focus-BzZWhXhc.js";
|
|
20
|
-
import { t as v } from "./translations-
|
|
20
|
+
import { t as v } from "./translations-CF08wvn-.js";
|
|
21
21
|
// src/components/inputs/time-field/time-field.styles.ts
|
|
22
|
-
var y =
|
|
22
|
+
var y = o(p.smMax), b = o(p.mdMin), x = i`
|
|
23
23
|
:host {
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
}
|
|
@@ -596,42 +596,42 @@ var z, B, V = 7, H = 3, U = (z = class extends h(l(e)) {
|
|
|
596
596
|
...e.shadowRootOptions,
|
|
597
597
|
delegatesFocus: !0
|
|
598
598
|
}, z.styles = x, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z._finePointerQuery = null, z);
|
|
599
|
-
r([
|
|
599
|
+
r([s({
|
|
600
600
|
reflect: !0,
|
|
601
601
|
converter: d("md")
|
|
602
|
-
})], U.prototype, "size", void 0), r([
|
|
602
|
+
})], U.prototype, "size", void 0), r([s({ type: String })], U.prototype, "value", void 0), r([s({ type: String })], U.prototype, "min", void 0), r([s({ type: String })], U.prototype, "max", void 0), r([s({ type: Number })], U.prototype, "step", void 0), r([s({
|
|
603
603
|
type: Boolean,
|
|
604
604
|
reflect: !0,
|
|
605
605
|
attribute: "no-picker"
|
|
606
|
-
})], U.prototype, "noPicker", void 0), r([
|
|
606
|
+
})], U.prototype, "noPicker", void 0), r([s({
|
|
607
607
|
type: String,
|
|
608
608
|
attribute: "input-id"
|
|
609
|
-
})], U.prototype, "inputId", void 0), r([
|
|
609
|
+
})], U.prototype, "inputId", void 0), r([s({
|
|
610
610
|
reflect: !0,
|
|
611
611
|
converter: d("")
|
|
612
|
-
})], U.prototype, "placeholder", void 0), r([
|
|
612
|
+
})], U.prototype, "placeholder", void 0), r([s({
|
|
613
613
|
type: Boolean,
|
|
614
614
|
reflect: !0
|
|
615
|
-
})], U.prototype, "invalid", void 0), r([
|
|
615
|
+
})], U.prototype, "invalid", void 0), r([s({
|
|
616
616
|
type: Boolean,
|
|
617
617
|
reflect: !0
|
|
618
|
-
})], U.prototype, "valid", void 0), r([
|
|
618
|
+
})], U.prototype, "valid", void 0), r([s({
|
|
619
619
|
type: Boolean,
|
|
620
620
|
reflect: !0
|
|
621
|
-
})], U.prototype, "disabled", void 0), r([
|
|
621
|
+
})], U.prototype, "disabled", void 0), r([s({
|
|
622
622
|
type: Boolean,
|
|
623
623
|
reflect: !0
|
|
624
|
-
})], U.prototype, "readonly", void 0), r([
|
|
624
|
+
})], U.prototype, "readonly", void 0), r([s({
|
|
625
625
|
type: Boolean,
|
|
626
626
|
reflect: !0
|
|
627
|
-
})], U.prototype, "required", void 0), r([
|
|
627
|
+
})], U.prototype, "required", void 0), r([s({
|
|
628
628
|
reflect: !0,
|
|
629
629
|
converter: d("")
|
|
630
|
-
})], U.prototype, "name", void 0), r([
|
|
630
|
+
})], U.prototype, "name", void 0), r([s({ type: String })], U.prototype, "autocomplete", void 0), r([s({
|
|
631
631
|
type: String,
|
|
632
632
|
attribute: "accessible-label"
|
|
633
|
-
})], U.prototype, "accessibleLabel", void 0), r([
|
|
633
|
+
})], U.prototype, "accessibleLabel", void 0), r([s({
|
|
634
634
|
reflect: !0,
|
|
635
635
|
converter: d("")
|
|
636
|
-
})], U.prototype, "width", void 0), r([
|
|
636
|
+
})], U.prototype, "width", void 0), r([s({ type: Object })], U.prototype, "translations", void 0), r([a()], U.prototype, "_finePointer", void 0), r([a()], U.prototype, "_pickerRows", void 0), r([a()], U.prototype, "_display", void 0), r([a()], U.prototype, "_hasSlottedPicker", void 0), r([a()], U.prototype, "_pickerOpen", void 0), r([a()], U.prototype, "_pickerSeed", void 0), U = B = r([c("nldd-time-field")], U);
|
|
637
637
|
export { U as NLDDTimeField, A as parseTime, j as roundToStep };
|
|
@@ -1,15 +1,16 @@
|
|
|
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
|
-
import { t as l } from "./
|
|
6
|
-
import { t as u } from "./
|
|
7
|
-
import { t as d } from "./
|
|
8
|
-
import { t as f } from "./
|
|
9
|
-
import { t as p } from "./
|
|
10
|
-
import { t as m } from "./
|
|
5
|
+
import { t as l } from "./css-time-DmkAFd1y.js";
|
|
6
|
+
import { t as u } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import { t as d } from "./time-picker.i18n-BilOCXlS.js";
|
|
8
|
+
import { t as f } from "./described-by-mixin-DXC6jkCd.js";
|
|
9
|
+
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
10
|
+
import { t as m } from "./translations-CF08wvn-.js";
|
|
11
|
+
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
11
12
|
// src/components/inputs/time-picker/time-picker.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var g = a`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -39,7 +40,7 @@ var h = a`
|
|
|
39
40
|
--_time-picker-control-corner-radius: var(--semantics-controls-sm-corner-radius);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
${
|
|
43
|
+
${u}
|
|
43
44
|
display: inline-block;
|
|
44
45
|
width: var(--_time-picker-width);
|
|
45
46
|
max-width: 100%;
|
|
@@ -210,10 +211,10 @@ var h = a`
|
|
|
210
211
|
}
|
|
211
212
|
`;
|
|
212
213
|
// src/components/inputs/time-picker/time-picker.template.ts
|
|
213
|
-
function
|
|
214
|
+
function _(e) {
|
|
214
215
|
return String(e).padStart(2, "0");
|
|
215
216
|
}
|
|
216
|
-
function
|
|
217
|
+
function v(e, t, i, a) {
|
|
217
218
|
return n`
|
|
218
219
|
<div class="time-picker__list"
|
|
219
220
|
role="presentation"
|
|
@@ -231,13 +232,13 @@ function _(e, t, i, a) {
|
|
|
231
232
|
data-selected=${i === a ? "true" : r}
|
|
232
233
|
@click=${() => e._select(t, i, !0)}
|
|
233
234
|
>
|
|
234
|
-
${
|
|
235
|
+
${_(i)}
|
|
235
236
|
</div>
|
|
236
237
|
`)}
|
|
237
238
|
</div>
|
|
238
239
|
`;
|
|
239
240
|
}
|
|
240
|
-
function
|
|
241
|
+
function y(e, t, i, a) {
|
|
241
242
|
let o = t === "hours" ? e._hours : e._minutes;
|
|
242
243
|
return n`
|
|
243
244
|
<span class="time-picker__value"
|
|
@@ -247,61 +248,57 @@ function v(e, t, i, a) {
|
|
|
247
248
|
aria-valuenow=${i ?? r}
|
|
248
249
|
aria-valuemin=${o[0] ?? r}
|
|
249
250
|
aria-valuemax=${o[o.length - 1] ?? r}
|
|
250
|
-
aria-valuetext=${i === null ? r :
|
|
251
|
+
aria-valuetext=${i === null ? r : _(i)}
|
|
251
252
|
@keydown=${(n) => e._handleKeydown(n, t)}
|
|
252
253
|
>
|
|
253
|
-
${i === null ? "" :
|
|
254
|
+
${i === null ? "" : _(i)}
|
|
254
255
|
</span>
|
|
255
256
|
`;
|
|
256
257
|
}
|
|
257
|
-
function
|
|
258
|
+
function b(e) {
|
|
258
259
|
return n`
|
|
259
260
|
<div class="time-picker"
|
|
260
261
|
role="group"
|
|
261
262
|
aria-label=${e._label}
|
|
262
263
|
>
|
|
263
264
|
<div class="time-picker__selection">
|
|
264
|
-
${
|
|
265
|
+
${y(e, "hours", e._centeredHour, e._t("components.time-picker.hours-label"))}
|
|
265
266
|
<span class="time-picker__value-separator"
|
|
266
267
|
aria-hidden="true"
|
|
267
268
|
>
|
|
268
269
|
:
|
|
269
270
|
</span>
|
|
270
|
-
${
|
|
271
|
+
${y(e, "minutes", e._centeredMinute, e._t("components.time-picker.minutes-label"))}
|
|
271
272
|
</div>
|
|
272
|
-
${
|
|
273
|
+
${v(e, "hours", e._hours, e._selectedHour)}
|
|
273
274
|
<span class="time-picker__gap"
|
|
274
275
|
aria-hidden="true"
|
|
275
276
|
></span>
|
|
276
|
-
${
|
|
277
|
+
${v(e, "minutes", e._minutes, e._selectedMinute)}
|
|
277
278
|
</div>
|
|
278
279
|
`;
|
|
279
280
|
}
|
|
280
281
|
// src/components/inputs/time-picker/time-picker.ts
|
|
281
|
-
var
|
|
282
|
+
var x = /* @__PURE__ */ e({
|
|
282
283
|
NLDDTimePicker: () => k,
|
|
283
|
-
fromMinutes: () =>
|
|
284
|
-
toMinutes: () =>
|
|
285
|
-
}),
|
|
286
|
-
function
|
|
284
|
+
fromMinutes: () => D,
|
|
285
|
+
toMinutes: () => E
|
|
286
|
+
}), S, C = 1439;
|
|
287
|
+
function w(e) {
|
|
287
288
|
return e.scrollHeight > e.clientHeight;
|
|
288
289
|
}
|
|
289
|
-
var
|
|
290
|
-
function
|
|
290
|
+
var T = typeof window < "u" && "onscrollend" in window;
|
|
291
|
+
function E(e) {
|
|
291
292
|
let [t, n] = e.split(":");
|
|
292
293
|
return Number(t) * 60 + Number(n);
|
|
293
294
|
}
|
|
294
|
-
function E(e) {
|
|
295
|
-
return `${String(Math.floor(e / 60)).padStart(2, "0")}:${String(e % 60).padStart(2, "0")}`;
|
|
296
|
-
}
|
|
297
295
|
function D(e) {
|
|
298
|
-
return
|
|
296
|
+
return `${String(Math.floor(e / 60)).padStart(2, "0")}:${String(e % 60).padStart(2, "0")}`;
|
|
299
297
|
}
|
|
300
298
|
function O(e) {
|
|
301
|
-
|
|
302
|
-
return Number.isNaN(t) ? 0 : e.trim().endsWith("ms") ? t : e.trim().endsWith("s") ? t * 1e3 : 0;
|
|
299
|
+
return /^([01]\d|2[0-3]):[0-5]\d$/.test(e);
|
|
303
300
|
}
|
|
304
|
-
var k = (
|
|
301
|
+
var k = (S = class extends f(t) {
|
|
305
302
|
constructor(...e) {
|
|
306
303
|
super(...e), this.value = "", this.min = "", this.max = "", this.step = 1, this.rows = 7, this.width = "", this.accessibleLabel = "", this.translations = {}, this._scrolledTo = {
|
|
307
304
|
hours: null,
|
|
@@ -318,16 +315,16 @@ var k = (x = class extends d(t) {
|
|
|
318
315
|
};
|
|
319
316
|
}
|
|
320
317
|
_t(e) {
|
|
321
|
-
return
|
|
318
|
+
return m(this.translations, d, e);
|
|
322
319
|
}
|
|
323
320
|
get _label() {
|
|
324
321
|
return this.accessibleLabel || this._t("components.time-picker.default-label");
|
|
325
322
|
}
|
|
326
323
|
get _minMinutes() {
|
|
327
|
-
return
|
|
324
|
+
return O(this.min) ? E(this.min) : 0;
|
|
328
325
|
}
|
|
329
326
|
get _maxMinutes() {
|
|
330
|
-
return
|
|
327
|
+
return O(this.max) ? E(this.max) : C;
|
|
331
328
|
}
|
|
332
329
|
get _stepMinutes() {
|
|
333
330
|
return Math.max(1, Math.round(this.step));
|
|
@@ -345,8 +342,8 @@ var k = (x = class extends d(t) {
|
|
|
345
342
|
return this._slots.filter((t) => Math.floor(t / 60) === e).map((e) => e % 60);
|
|
346
343
|
}
|
|
347
344
|
get _selected() {
|
|
348
|
-
if (!
|
|
349
|
-
let e =
|
|
345
|
+
if (!O(this.value)) return null;
|
|
346
|
+
let e = E(this.value);
|
|
350
347
|
return e >= this._minMinutes && e <= this._maxMinutes ? e : null;
|
|
351
348
|
}
|
|
352
349
|
get _selectedHour() {
|
|
@@ -371,8 +368,8 @@ var k = (x = class extends d(t) {
|
|
|
371
368
|
i = e !== null && n.includes(t * 60 + e) ? t * 60 + e : n[0];
|
|
372
369
|
} else if (i = (this._selected === null ? this._hours[0] : Math.floor(this._selected / 60)) * 60 + t, !r.includes(i)) return;
|
|
373
370
|
n && this._cancelSettle();
|
|
374
|
-
let a =
|
|
375
|
-
this._chosenHere = a, this.value =
|
|
371
|
+
let a = D(i) !== this.value;
|
|
372
|
+
this._chosenHere = a, this.value = D(i), a ? this._emit("input") : n && (this._scrolledTo = {
|
|
376
373
|
hours: null,
|
|
377
374
|
minutes: null
|
|
378
375
|
}, this.scrollSelectedIntoView(!0)), n && this._emit("change");
|
|
@@ -418,7 +415,7 @@ var k = (x = class extends d(t) {
|
|
|
418
415
|
this.shadowRoot?.querySelectorAll(".time-picker__value")[e === "hours" ? 0 : 1]?.focus();
|
|
419
416
|
}
|
|
420
417
|
focus(e) {
|
|
421
|
-
if (
|
|
418
|
+
if (h(this, e)) return;
|
|
422
419
|
let t = this.shadowRoot?.querySelector(".time-picker__value");
|
|
423
420
|
t ? t.focus(e) : super.focus(e);
|
|
424
421
|
}
|
|
@@ -430,22 +427,22 @@ var k = (x = class extends d(t) {
|
|
|
430
427
|
_handleScroll(e, t) {
|
|
431
428
|
if (!this.isConnected) return;
|
|
432
429
|
let n = e.currentTarget;
|
|
433
|
-
if (!
|
|
430
|
+
if (!w(n)) return;
|
|
434
431
|
let r = this._centeredOption(n);
|
|
435
432
|
r !== null && r !== this._scrolledTo[t] && (this._scrolledTo = {
|
|
436
433
|
...this._scrolledTo,
|
|
437
434
|
[t]: r
|
|
438
|
-
}), this._glides.has(n) || this._isOwnScroll(n) || (this.toggleAttribute("data-scrolling", !0), this._settleLater(t, n,
|
|
435
|
+
}), this._glides.has(n) || this._isOwnScroll(n) || (this.toggleAttribute("data-scrolling", !0), this._settleLater(t, n, T ? 1e3 : 120));
|
|
439
436
|
}
|
|
440
437
|
_handleScrollEnd(e, t) {
|
|
441
438
|
let n = e.currentTarget;
|
|
442
|
-
this.isConnected && !this._glides.has(n) && !this._isOwnScroll(n) &&
|
|
439
|
+
this.isConnected && !this._glides.has(n) && !this._isOwnScroll(n) && w(n) && this._settle(t, n);
|
|
443
440
|
}
|
|
444
441
|
_settleLater(e, t, n = 120) {
|
|
445
442
|
clearTimeout(this._scrollTimers[e]), this._scrollTimers[e] = window.setTimeout(() => this._settle(e, t), n);
|
|
446
443
|
}
|
|
447
444
|
_settle(e, t) {
|
|
448
|
-
if (clearTimeout(this._scrollTimers[e]), this.toggleAttribute("data-scrolling", !1), !
|
|
445
|
+
if (clearTimeout(this._scrollTimers[e]), this.toggleAttribute("data-scrolling", !1), !w(t)) return;
|
|
449
446
|
let n = this._centeredOption(t);
|
|
450
447
|
n !== null && this._select(e, n);
|
|
451
448
|
}
|
|
@@ -477,7 +474,7 @@ var k = (x = class extends d(t) {
|
|
|
477
474
|
this._stopGlide(e);
|
|
478
475
|
let n = e.scrollTop, r = t - n;
|
|
479
476
|
if (Math.abs(r) < 1) return;
|
|
480
|
-
let i =
|
|
477
|
+
let i = l(getComputedStyle(this).getPropertyValue("--_time-picker-glide-duration")), a = performance.now();
|
|
481
478
|
e.toggleAttribute("data-gliding", !0);
|
|
482
479
|
let o = (t) => {
|
|
483
480
|
let s = i > 0 ? Math.min(1, (t - a) / i) : 1;
|
|
@@ -502,20 +499,20 @@ var k = (x = class extends d(t) {
|
|
|
502
499
|
return this.shadowRoot?.querySelector("[role=\"group\"]") ?? null;
|
|
503
500
|
}
|
|
504
501
|
render() {
|
|
505
|
-
return
|
|
502
|
+
return b(this);
|
|
506
503
|
}
|
|
507
|
-
},
|
|
508
|
-
i([
|
|
504
|
+
}, S.styles = g, S.isFormInput = !0, S);
|
|
505
|
+
i([s({ type: String })], k.prototype, "value", void 0), i([s({ type: String })], k.prototype, "min", void 0), i([s({ type: String })], k.prototype, "max", void 0), i([s({ type: Number })], k.prototype, "step", void 0), i([s({
|
|
509
506
|
reflect: !0,
|
|
510
|
-
converter:
|
|
511
|
-
})], k.prototype, "rows", void 0), i([
|
|
507
|
+
converter: p(7)
|
|
508
|
+
})], k.prototype, "rows", void 0), i([s({
|
|
512
509
|
reflect: !0,
|
|
513
|
-
converter:
|
|
514
|
-
})], k.prototype, "width", void 0), i([
|
|
510
|
+
converter: p("")
|
|
511
|
+
})], k.prototype, "width", void 0), i([s({
|
|
515
512
|
type: String,
|
|
516
513
|
attribute: "accessible-label"
|
|
517
|
-
})], k.prototype, "accessibleLabel", void 0), i([
|
|
514
|
+
})], k.prototype, "accessibleLabel", void 0), i([s({ type: Object })], k.prototype, "translations", void 0), i([o()], k.prototype, "_scrolledTo", void 0), i([s({
|
|
518
515
|
type: Boolean,
|
|
519
516
|
reflect: !0
|
|
520
517
|
})], k.prototype, "invalid", void 0), k = i([c("nldd-time-picker")], k);
|
|
521
|
-
export {
|
|
518
|
+
export { x as t };
|