@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,11 +1,33 @@
|
|
|
1
1
|
import { t as e } from "./loading-tags-DtUr-DR7.js";
|
|
2
2
|
// src/utilities/dev-rules.generated.ts
|
|
3
3
|
var t = [
|
|
4
|
+
{
|
|
5
|
+
id: "accordion-item-needs-name",
|
|
6
|
+
message: "An accordion item needs `text`: it is the name of the button that opens it, and the title a reader sees.",
|
|
7
|
+
context: "nldd-accordion-item",
|
|
8
|
+
assert: "[text]:not([text=\"\"])",
|
|
9
|
+
properties: ["text"]
|
|
10
|
+
},
|
|
4
11
|
{
|
|
5
12
|
id: "action-goes-on-button",
|
|
6
13
|
message: "Put slot=\"actions\" on each nldd-button, not on an element around them.",
|
|
7
14
|
context: ":is(nldd-modal-dialog, nldd-inline-dialog) > [slot=\"actions\"]:not(nldd-button)"
|
|
8
15
|
},
|
|
16
|
+
{
|
|
17
|
+
id: "admonition-collapsed-no-effect",
|
|
18
|
+
message: "`collapsed` does nothing unless the admonition is `collapsible` and has `text`.",
|
|
19
|
+
context: "nldd-admonition[collapsed]:not([collapsible][text]:not([text=\"\"]))"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: "admonition-collapsible-no-effect",
|
|
23
|
+
message: "`collapsible` does nothing without `text`: there is no title bar to open and close the content with.",
|
|
24
|
+
context: "nldd-admonition[collapsible]:not([text]:not([text=\"\"]))"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: "admonition-heading-level-no-effect",
|
|
28
|
+
message: "`heading-level` does nothing on a collapsible admonition: its title is the name of the button that opens it, not a heading.",
|
|
29
|
+
context: "nldd-admonition[collapsible][text]:not([text=\"\"])[heading-level]:not([heading-level=\"\"])"
|
|
30
|
+
},
|
|
9
31
|
{
|
|
10
32
|
id: "avatar-color-renamed",
|
|
11
33
|
message: "`color=\"inherit\"` is now `color=\"content\"`, and the old value does nothing. Rename it here and on every other nldd-avatar.",
|
|
@@ -357,11 +379,27 @@ var t = [
|
|
|
357
379
|
assert: "[lang]:not([lang=\"\"])",
|
|
358
380
|
properties: ["lang"]
|
|
359
381
|
},
|
|
382
|
+
{
|
|
383
|
+
id: "link-anchor-attributes-no-effect",
|
|
384
|
+
message: "nldd-link holds an `<a>` of its own, so `href`, `target`, `rel`, `download`, `text`, `start-icon` and `end-icon` on nldd-link do nothing. Put them on the `<a>`, and an icon in it as nldd-icon.",
|
|
385
|
+
context: "nldd-link:has(> a:not([slot]))",
|
|
386
|
+
assert: ":not([href]:not([href=\"\"])):not([target]:not([target=\"\"])):not([rel]:not([rel=\"\"])):not([download]:not([download=\"\"])):not([text]:not([text=\"\"])):not([start-icon]:not([start-icon=\"\"])):not([end-icon]:not([end-icon=\"\"]))",
|
|
387
|
+
properties: []
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
id: "link-max-one-anchor",
|
|
391
|
+
message: "nldd-link holds more than one `<a>`. Give each link an nldd-link of its own.",
|
|
392
|
+
context: "nldd-link",
|
|
393
|
+
count: {
|
|
394
|
+
of: "a:not([slot])",
|
|
395
|
+
max: 1
|
|
396
|
+
}
|
|
397
|
+
},
|
|
360
398
|
{
|
|
361
399
|
id: "link-needs-href",
|
|
362
|
-
message: "Give it an `href`, or use nldd-button when it performs an action: what looks like a link has to be one.",
|
|
400
|
+
message: "Give it an `href`, or the `<a>` in it one, or use nldd-button when it performs an action: what looks like a link has to be one.",
|
|
363
401
|
context: "nldd-link",
|
|
364
|
-
assert: "[href]:not([href=\"\"])",
|
|
402
|
+
assert: "[href]:not([href=\"\"]), :has(> a:not([slot])[href]:not([href=\"\"]))",
|
|
365
403
|
properties: ["href"]
|
|
366
404
|
},
|
|
367
405
|
{
|
|
@@ -729,6 +767,16 @@ var t = [
|
|
|
729
767
|
message: "The attribute does nothing: the slot for the same content is filled, and what is in the slot wins. Remove one of the two.",
|
|
730
768
|
context: "nldd-button[text]:not([text=\"\"]):has(> [slot=\"text\"]), nldd-button[start-icon]:not([start-icon=\"\"]):has(> [slot=\"start-icon\"]), nldd-button[end-icon]:not([end-icon=\"\"]):has(> [slot=\"end-icon\"]), nldd-icon-button[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-menu-item[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-toggle-button[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-segmented-control-item[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-tag[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-link[start-icon]:not([start-icon=\"\"]):has(> [slot=\"start-icon\"]), nldd-link[end-icon]:not([end-icon=\"\"]):has(> [slot=\"end-icon\"]), nldd-tab-bar-item[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-menu-bar-item[icon]:not([icon=\"\"]):has(> [slot=\"icon\"]), nldd-tag[text]:not([text=\"\"]):has(> :not([slot])), nldd-link[text]:not([text=\"\"]):has(> :not([slot])), nldd-icon-cell[icon]:not([icon=\"\"]):has(> :not([slot])), nldd-token[text]:not([text=\"\"]):has(> :not([slot])), nldd-breadcrumbs-item[text]:not([text=\"\"]):has(> :not([slot])), nldd-page-footer-legal-bar-item[text]:not([text=\"\"]):has(> :not([slot])), nldd-step-bar-item[text]:not([text=\"\"]):has(> :not([slot])), nldd-text-cell[text]:not([text=\"\"]):has(> :not([slot])), nldd-title-cell[text]:not([text=\"\"]):has(> :not([slot]))"
|
|
731
769
|
},
|
|
770
|
+
{
|
|
771
|
+
id: "slot-needs-element",
|
|
772
|
+
message: "A slot for text takes the element that carries it: a `<p>`, or a heading in the default slot of nldd-title and nldd-title-cell. Put inline markup inside that element, and plain text in the attribute.",
|
|
773
|
+
context: ":is(nldd-title, nldd-title-cell):has(> :not([slot]):not(h1, h2, h3, h4, h5, h6, p)), nldd-text-cell:has(> :not([slot]):not(p)), :is(nldd-title, nldd-title-cell, nldd-text-cell):has(> :is([slot=\"overline\"], [slot=\"supporting-text\"]):not(p)), nldd-identity:has(> :is([slot=\"text\"], [slot=\"supporting-text\"]):not(p))"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
id: "slot-text-needs-element",
|
|
777
|
+
message: "Text straight in a slot is what the attribute is for. Put it in `text`, or in a `<p>` or heading in the slot.",
|
|
778
|
+
context: ":is(nldd-title, nldd-title-cell, nldd-text-cell):state(loose-text)"
|
|
779
|
+
},
|
|
732
780
|
{
|
|
733
781
|
id: "split-button-max-one-popup",
|
|
734
782
|
message: "nldd-split-button opens one overlay: the one in the `popup` slot, or else the first. Remove the others.",
|
|
@@ -954,6 +1002,13 @@ var t = [
|
|
|
954
1002
|
message: "`line-height` belongs to the body sizes; a display size has its own line height. Remove it.",
|
|
955
1003
|
context: "nldd-text[size^=\"display-\"][line-height]:not([line-height=\"\"])"
|
|
956
1004
|
},
|
|
1005
|
+
{
|
|
1006
|
+
id: "text-needs-element",
|
|
1007
|
+
message: "nldd-text takes its text in a `<p>` of its own, or a `<span>` where it is no paragraph, or plain text in `text`.",
|
|
1008
|
+
context: "nldd-text",
|
|
1009
|
+
assert: "[text]:not([text=\"\"]), :has(> :is(p, span))",
|
|
1010
|
+
properties: ["text"]
|
|
1011
|
+
},
|
|
957
1012
|
{
|
|
958
1013
|
id: "text-weight-no-effect",
|
|
959
1014
|
message: "`weight` belongs to the body sizes; a display size has its own weight. Remove it.",
|
|
@@ -1053,6 +1108,11 @@ var t = [
|
|
|
1053
1108
|
message: "`collapse-anchor` points at an element that is no heading and holds none. The bar keeps its own title as the heading, so the page has one, but a screen reader now finds the title twice. Point the anchor at the nldd-title that starts the content.",
|
|
1054
1109
|
context: "nldd-top-title-bar:state(anchor-not-heading)"
|
|
1055
1110
|
},
|
|
1111
|
+
{
|
|
1112
|
+
id: "top-title-bar-anchor-no-effect",
|
|
1113
|
+
message: "`collapse-anchor` has no effect without `sticky-header` on the nldd-page: the bar scrolls away before it turns compact.",
|
|
1114
|
+
context: "nldd-page:not([sticky-header]) > nldd-top-title-bar[collapse-anchor]:not([collapse-anchor=\"\"])"
|
|
1115
|
+
},
|
|
1056
1116
|
{
|
|
1057
1117
|
id: "top-title-bar-anchor-not-found",
|
|
1058
1118
|
message: "`collapse-anchor` matches nothing yet. If it never renders, the bar keeps its own title and reads it out twice.",
|
|
@@ -1188,6 +1248,11 @@ var t = [
|
|
|
1188
1248
|
message: "`size` on nldd-toolbar takes: lg, md, sm.",
|
|
1189
1249
|
context: "nldd-toolbar[size]:not([size=\"lg\"], [size=\"md\"], [size=\"sm\"], nldd-toolbar *, nldd-button-bar *, nldd-button-group *, nldd-list-item *, nldd-avatar-group *, nldd-notification *)"
|
|
1190
1250
|
},
|
|
1251
|
+
{
|
|
1252
|
+
id: "invalid-value-admonition-variant",
|
|
1253
|
+
message: "`variant` on nldd-admonition takes: accent, critical, neutral, success, warning.",
|
|
1254
|
+
context: "nldd-admonition[variant]:not([variant=\"accent\"], [variant=\"critical\"], [variant=\"neutral\"], [variant=\"success\"], [variant=\"warning\"])"
|
|
1255
|
+
},
|
|
1191
1256
|
{
|
|
1192
1257
|
id: "invalid-value-avatar-type",
|
|
1193
1258
|
message: "`type` on nldd-avatar takes: organization, person.",
|
|
@@ -2795,7 +2860,7 @@ function l() {
|
|
|
2795
2860
|
};
|
|
2796
2861
|
}
|
|
2797
2862
|
async function u(e) {
|
|
2798
|
-
let { nl: t } = await import("./nl.generated-
|
|
2863
|
+
let { nl: t } = await import("./nl.generated-BDowZkhc.js"), n = e.filter((e) => !(e in t));
|
|
2799
2864
|
n.length > 0 && console.warn(`[nldd] setTranslations: no component knows ${n.join(", ")}.`);
|
|
2800
2865
|
}
|
|
2801
2866
|
var d = /* @__PURE__ */ new Set();
|
|
@@ -2814,35 +2879,64 @@ function m(e = document.body) {
|
|
|
2814
2879
|
function h() {
|
|
2815
2880
|
m() && console.warn("[nldd] fouc.css: this page has no FOUC guard, so components show unstyled until they load. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/fouc' on its own.");
|
|
2816
2881
|
}
|
|
2817
|
-
var g =
|
|
2882
|
+
var g = [
|
|
2883
|
+
{
|
|
2884
|
+
sheet: "text",
|
|
2885
|
+
selector: "nldd-text:has(> :is(p, span))",
|
|
2886
|
+
variable: "--_text-link-color"
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
sheet: "title",
|
|
2890
|
+
selector: "nldd-title:has(> :is(h1, h2, h3, h4, h5, h6, p))",
|
|
2891
|
+
variable: "--_title-link-color"
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
sheet: "link",
|
|
2895
|
+
selector: "nldd-link:has(> a)",
|
|
2896
|
+
variable: "--_link-color"
|
|
2897
|
+
}
|
|
2898
|
+
];
|
|
2818
2899
|
function _(e = c()) {
|
|
2819
|
-
return
|
|
2900
|
+
return g.filter(({ selector: t, variable: n }) => {
|
|
2901
|
+
let r = e.map((e) => e.querySelector(t)).find((e) => e !== null) ?? null;
|
|
2902
|
+
return r !== null && getComputedStyle(r).getPropertyValue(n) === "";
|
|
2903
|
+
}).map(({ sheet: e }) => e);
|
|
2820
2904
|
}
|
|
2821
2905
|
function v() {
|
|
2906
|
+
let e = /* @__PURE__ */ new Set();
|
|
2907
|
+
return () => {
|
|
2908
|
+
for (let t of _()) e.has(t) || (e.add(t), console.warn(`[nldd] ${t}.css: the links, code and other inline elements in nldd-${t} have no look of their own, because this page does not load that stylesheet. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/${t}' on its own.`));
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
var y = 3e3;
|
|
2912
|
+
function b(e = c()) {
|
|
2913
|
+
return e.flatMap((e) => [...e.querySelectorAll(":not(:defined)")]).filter((e) => e.localName.startsWith("nldd-"));
|
|
2914
|
+
}
|
|
2915
|
+
function x() {
|
|
2822
2916
|
let t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new Set();
|
|
2823
2917
|
return () => {
|
|
2824
2918
|
let r = Date.now();
|
|
2825
|
-
for (let i of
|
|
2919
|
+
for (let i of b()) {
|
|
2826
2920
|
let a = t.get(i);
|
|
2827
|
-
a === void 0 ? t.set(i, r) : r - a <
|
|
2921
|
+
a === void 0 ? t.set(i, r) : r - a < y || n.has(i.localName) || e.has(i.localName) || (n.add(i.localName), console.warn(`[nldd] <${i.localName}> is not registered, so it renders nothing of its own. Import its module from @nldd/design-system, or check the name.`, i));
|
|
2828
2922
|
}
|
|
2829
2923
|
};
|
|
2830
2924
|
}
|
|
2831
|
-
var
|
|
2832
|
-
function
|
|
2833
|
-
if (
|
|
2834
|
-
|
|
2835
|
-
let e = l(), i =
|
|
2836
|
-
clearTimeout(
|
|
2837
|
-
e(), i();
|
|
2925
|
+
var S = !1;
|
|
2926
|
+
function C() {
|
|
2927
|
+
if (S || typeof MutationObserver > "u") return;
|
|
2928
|
+
S = !0;
|
|
2929
|
+
let e = l(), i = x(), a = v(), o = t.filter((e) => e.context.includes(":state(")), s, c = () => {
|
|
2930
|
+
clearTimeout(s), s = setTimeout(() => {
|
|
2931
|
+
e(), i(), a();
|
|
2838
2932
|
}, n);
|
|
2839
2933
|
};
|
|
2840
|
-
new MutationObserver(
|
|
2934
|
+
new MutationObserver(c).observe(document.documentElement, {
|
|
2841
2935
|
subtree: !0,
|
|
2842
2936
|
childList: !0,
|
|
2843
2937
|
attributes: !0
|
|
2844
2938
|
}), setInterval(() => {
|
|
2845
|
-
document.hidden || (e(
|
|
2846
|
-
}, r),
|
|
2939
|
+
document.hidden || (e(o), i());
|
|
2940
|
+
}, r), c(), setTimeout(h, n);
|
|
2847
2941
|
}
|
|
2848
|
-
export { f as checkElementTranslationKeys, u as checkTranslationKeys,
|
|
2942
|
+
export { f as checkElementTranslationKeys, u as checkTranslationKeys, C as startDevChecks };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { i as t, o as n } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { _ as r, f as i, g as a, l as o, o as s, x as c } from "./languages-
|
|
3
|
+
import { _ as r, f as i, g as a, l as o, o as s, x as c } from "./languages-DLHsACpp.js";
|
|
4
4
|
// node_modules/@lezer/json/dist/index.js
|
|
5
5
|
var l = t({
|
|
6
6
|
String: n.string,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./dist-3C80SZN9.js";
|
|
3
3
|
import { g as i, i as a, o } from "./style-mod-DGMhzWuk.js";
|
|
4
|
-
import { n as s, t as c } from "./dist-
|
|
5
|
-
import { a as l, i as ee, n as te, o as ne, r as u } from "./dist-
|
|
6
|
-
import { A as re, D as d, Q as ie, _ as ae, d as oe, l as se, o as ce, x as le } from "./languages-
|
|
4
|
+
import { n as s, t as c } from "./dist-qo8avphr.js";
|
|
5
|
+
import { a as l, i as ee, n as te, o as ne, r as u } from "./dist-BzfFo9Yu.js";
|
|
6
|
+
import { A as re, D as d, Q as ie, _ as ae, d as oe, l as se, o as ce, x as le } from "./languages-DLHsACpp.js";
|
|
7
7
|
// node_modules/@lezer/html/dist/index.js
|
|
8
8
|
var ue = 55, de = 1, fe = 56, pe = 2, me = 57, he = 3, f = 4, ge = 5, p = 6, m = 7, h = 8, g = 9, _ = 10, _e = 11, ve = 12, ye = 13, v = 58, be = 14, xe = 15, y = 59, b = 21, Se = 23, x = 24, Ce = 25, S = 27, C = 28, we = 29, Te = 32, Ee = 35, De = 37, Oe = 38, ke = 0, Ae = 1, je = {
|
|
9
9
|
area: !0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { i as t, n, r, t as i } from "./dist-3C80SZN9.js";
|
|
3
3
|
import { c as a, f as o, i as s, o as c } from "./style-mod-DGMhzWuk.js";
|
|
4
|
-
import { A as ee, D as l, E as u, Q as d, _ as f, f as p, g as te, h as ne, l as m, m as re, o as ie, p as ae, x as h } from "./languages-
|
|
5
|
-
import { o as g, r as oe, s as _ } from "./dist-
|
|
4
|
+
import { A as ee, D as l, E as u, Q as d, _ as f, f as p, g as te, h as ne, l as m, m as re, o as ie, p as ae, x as h } from "./languages-DLHsACpp.js";
|
|
5
|
+
import { o as g, r as oe, s as _ } from "./dist-zxb4QZZG.js";
|
|
6
6
|
// node_modules/@lezer/javascript/dist/index.js
|
|
7
7
|
var se = 316, ce = 317, v = 1, le = 2, ue = 3, de = 4, fe = 318, pe = 320, me = 321, he = 5, ge = 6, y = 0, b = [
|
|
8
8
|
9,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { i as n, o as r } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { _ as i, f as a, g as o, l as s, o as c, x as l } from "./languages-
|
|
3
|
+
import { _ as i, f as a, g as o, l as s, o as c, x as l } from "./languages-DLHsACpp.js";
|
|
4
4
|
// node_modules/@lezer/rust/dist/index.js
|
|
5
5
|
var u = 1, d = 2, f = 3, p = 4, m = 5, h = 98, g = 101, _ = 102, v = 114, y = 69, b = 46, x = 43, S = 45, C = 35, w = 34, T = 124, E = 60, D = 62;
|
|
6
6
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as e, _ as t, f as n, l as r, o as i, x as a } from "./languages-
|
|
1
|
+
import { D as e, _ as t, f as n, l as r, o as i, x as a } from "./languages-DLHsACpp.js";
|
|
2
2
|
import { i as o, o as s } from "./style-mod-DGMhzWuk.js";
|
|
3
3
|
import { n as c, r as l } from "./dist-3C80SZN9.js";
|
|
4
|
-
import { o as u, r as d } from "./dist-
|
|
4
|
+
import { o as u, r as d } from "./dist-zxb4QZZG.js";
|
|
5
5
|
// node_modules/@codemirror/lang-sql/dist/index.js
|
|
6
6
|
var f = 36, p = 1, ee = 2, m = 3, h = 4, g = 5, _ = 6, v = 7, te = 8, ne = 9, re = 10, ie = 11, ae = 12, oe = 13, se = 14, y = 15, b = 16, x = 17, S = 18, C = 19, w = 20, T = 21, E = 22, D = 23, ce = 24;
|
|
7
7
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { c as r, f as i, i as a, o } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { D as s, _ as ee, g as te, l as ne, m as c, o as re, x as ie } from "./languages-
|
|
4
|
-
import { o as ae, r as oe, s as l } from "./dist-
|
|
3
|
+
import { D as s, _ as ee, g as te, l as ne, m as c, o as re, x as ie } from "./languages-DLHsACpp.js";
|
|
4
|
+
import { o as ae, r as oe, s as l } from "./dist-zxb4QZZG.js";
|
|
5
5
|
// node_modules/@lezer/python/dist/index.js
|
|
6
6
|
var se = 1, u = 194, d = 195, ce = 196, f = 197, le = 198, ue = 199, de = 200, fe = 2, p = 3, m = 201, h = 24, pe = 25, me = 49, he = 50, ge = 55, _e = 56, ve = 57, ye = 59, be = 60, xe = 61, Se = 62, Ce = 63, we = 65, Te = 238, Ee = 71, De = 241, Oe = 242, ke = 243, Ae = 244, g = 245, _ = 246, v = 247, y = 248, b = 72, x = 249, S = 250, C = 251, je = 252, Me = 253, Ne = 254, Pe = 255, Fe = 256, Ie = 73, Le = 77, Re = 263, ze = 112, Be = 130, Ve = 151, He = 152, Ue = 155, w = 10, T = 13, E = 32, D = 9, O = 35, We = 40, Ge = 46, k = 123, A = 125, j = 39, M = 34, N = 92, P = 111, Ke = 120, qe = 78, Je = 117, Ye = 85, Xe = /* @__PURE__ */ new Set([
|
|
7
7
|
pe,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $ as t, A as n, C as r, D as i, Q as a, V as o, _ as s, c, l, nt as u, p as d, pt as f, s as p, u as m, v as h, w as g, x as ee } from "./languages-
|
|
3
|
-
import { t as te } from "./dist-
|
|
2
|
+
import { $ as t, A as n, C as r, D as i, Q as a, V as o, _ as s, c, l, nt as u, p as d, pt as f, s as p, u as m, v as h, w as g, x as ee } from "./languages-DLHsACpp.js";
|
|
3
|
+
import { t as te } from "./dist-zxb4QZZG.js";
|
|
4
4
|
import { d as _, g as ne, i as re, l as v, m as y, n as ie, o as b, p as ae, u as oe } from "./style-mod-DGMhzWuk.js";
|
|
5
|
-
import { n as se, r as ce } from "./dist-
|
|
5
|
+
import { n as se, r as ce } from "./dist-BG0xnVUi.js";
|
|
6
6
|
// node_modules/@lezer/markdown/dist/index.js
|
|
7
7
|
var le = class e {
|
|
8
8
|
static create(t, n, r, i, a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { i as r, o as i } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { A as a, D as o, Q as s, _ as c, d as l, l as u, o as d, x as f } from "./languages-
|
|
3
|
+
import { A as a, D as o, Q as s, _ as c, d as l, l as u, o as d, x as f } from "./languages-DLHsACpp.js";
|
|
4
4
|
// node_modules/@lezer/xml/dist/index.js
|
|
5
5
|
var p = 1, m = 2, h = 3, g = 4, _ = 5, v = 36, y = 37, b = 38, x = 11, S = 13;
|
|
6
6
|
function C(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { i as r, o as i } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { _ as a, g as o, l as s, m as c, o as l, x as u } from "./languages-
|
|
3
|
+
import { _ as a, g as o, l as s, m as c, o as l, x as u } from "./languages-DLHsACpp.js";
|
|
4
4
|
// node_modules/@lezer/yaml/dist/index.js
|
|
5
5
|
var d = 63, f = 64, p = 1, m = 2, h = 3, ee = 4, g = 5, _ = 6, te = 7, v = 65, y = 66, b = 8, ne = 9, re = 10, x = 11, S = 12, C = 13, w = 19, T = 20, E = 29, D = 33, O = 34, k = 47, A = 0, j = 1, M = 2, N = 3, P = 4, F = class {
|
|
6
6
|
constructor(e, t, n) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { i as t, n, r } from "./dist-3C80SZN9.js";
|
|
3
3
|
import { c as i, f as a, i as o, o as s } from "./style-mod-DGMhzWuk.js";
|
|
4
|
-
import { D as c, _ as ee, f as l, g as u, l as d, o as f, x as p } from "./languages-
|
|
4
|
+
import { D as c, _ as ee, f as l, g as u, l as d, o as f, x as p } from "./languages-DLHsACpp.js";
|
|
5
5
|
// node_modules/@lezer/css/dist/index.js
|
|
6
6
|
var te = 148, m = 1, h = 149, g = 150, _ = 2, v = 151, ne = 3, y = 4, b = [
|
|
7
7
|
9,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, J as r, K as i, N as a, O as o, P as s, Q as c, R as l, V as u, W as d, at as f, ct as p, dt as m, et as h, ft as g, ht as _, k as v, lt as y, nt as b, ot as x, st as S, tt as C, ut as w } from "./languages-
|
|
1
|
+
import { A as e, C as t, D as n, J as r, K as i, N as a, O as o, P as s, Q as c, R as l, V as u, W as d, at as f, ct as p, dt as m, et as h, ft as g, ht as _, k as v, lt as y, nt as b, ot as x, st as S, tt as C, ut as w } from "./languages-DLHsACpp.js";
|
|
2
2
|
// node_modules/@codemirror/autocomplete/dist/index.js
|
|
3
3
|
var T = class {
|
|
4
4
|
constructor(e, t, n, r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
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 } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/layout/divider/divider.styles.ts
|
|
5
5
|
var a = r`
|
|
@@ -1,21 +1,22 @@
|
|
|
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
|
-
import { t as c } from "./
|
|
5
|
-
import { t as l } from "./
|
|
6
|
-
import { t as u } from "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./icon-
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import { t as p } from "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { t as g } from "./
|
|
4
|
+
import { t as c } from "./css-time-DmkAFd1y.js";
|
|
5
|
+
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as u } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import { t as d } from "./class-map-C7ao595e.js";
|
|
8
|
+
import "./icon-button-DuEiOOoc.js";
|
|
9
|
+
import "./icon-B5kHyCz2.js";
|
|
10
|
+
import { t as f } from "./sanitize-url-CBuGmY0W.js";
|
|
11
|
+
import "./tooltip-660R32cn.js";
|
|
12
|
+
import { t as p } from "./with-translations-Boc5Daaj.js";
|
|
13
|
+
import { t as m } from "./document-tab-bar.i18n-DKrA9TnB.js";
|
|
14
|
+
import "./menu-CYILGTpB.js";
|
|
15
|
+
import { n as h } from "./input-modality-XE0B7yCn.js";
|
|
16
|
+
import { t as g } from "./carried-context-DlMSujiJ.js";
|
|
17
|
+
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
17
18
|
// src/components/navigation/document-tab-bar/document-tab-bar.styles.ts
|
|
18
|
-
var
|
|
19
|
+
var v = i`
|
|
19
20
|
:host {
|
|
20
21
|
box-sizing: border-box;
|
|
21
22
|
}
|
|
@@ -44,7 +45,7 @@ var _ = i`
|
|
|
44
45
|
--_document-tab-bar-dismiss-button-is-selected-is-active-background-color: var(--semantics-tabs-is-current-is-active-background-color);
|
|
45
46
|
--_document-tab-bar-tab-title-font: var(--primitives-font-body-sm-medium-flat);
|
|
46
47
|
|
|
47
|
-
${
|
|
48
|
+
${u}
|
|
48
49
|
display: block;
|
|
49
50
|
position: relative;
|
|
50
51
|
width: 100%;
|
|
@@ -255,7 +256,7 @@ var _ = i`
|
|
|
255
256
|
clip-path: inset(50%);
|
|
256
257
|
}
|
|
257
258
|
|
|
258
|
-
`,
|
|
259
|
+
`, y = i`
|
|
259
260
|
|
|
260
261
|
|
|
261
262
|
/* # Host */
|
|
@@ -271,7 +272,7 @@ var _ = i`
|
|
|
271
272
|
--_document-tab-bar-item-secondary-content-color: var(--semantics-buttons-neutral-tinted-content-secondary-color);
|
|
272
273
|
--_document-tab-bar-item-tab-title-font: var(--primitives-font-body-sm-medium-flat);
|
|
273
274
|
|
|
274
|
-
${
|
|
275
|
+
${u}
|
|
275
276
|
container-type: inline-size;
|
|
276
277
|
display: block;
|
|
277
278
|
min-width: 0;
|
|
@@ -501,7 +502,7 @@ var _ = i`
|
|
|
501
502
|
|
|
502
503
|
`;
|
|
503
504
|
// src/components/navigation/document-tab-bar/document-tab-bar.template.ts
|
|
504
|
-
function
|
|
505
|
+
function b(e) {
|
|
505
506
|
let r = e._overflowCount > 0, i = e.accessibleLabel || "Tabbladen", a = e.navigation, o = t`
|
|
506
507
|
<div class="document-tab-bar__items"
|
|
507
508
|
role=${a ? n : "tablist"}
|
|
@@ -509,7 +510,7 @@ function y(e) {
|
|
|
509
510
|
>
|
|
510
511
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
511
512
|
</div>
|
|
512
|
-
<div class=${
|
|
513
|
+
<div class=${d({
|
|
513
514
|
"document-tab-bar__overflow-button": !0,
|
|
514
515
|
"is-hidden": !r
|
|
515
516
|
})}>
|
|
@@ -547,8 +548,8 @@ function y(e) {
|
|
|
547
548
|
></div>
|
|
548
549
|
`;
|
|
549
550
|
}
|
|
550
|
-
function
|
|
551
|
-
let r = e.shortText || e.text, i = e.shortSupportingText || e.supportingText, a = e._navigation, o =
|
|
551
|
+
function x(e) {
|
|
552
|
+
let r = e.shortText || e.text, i = e.shortSupportingText || e.supportingText, a = e._navigation, o = f(e.href), s = !!o, c = e.selected || e._isFallbackFocusable ? "0" : "-1", l = e.supportingText ? `${e.text} · ${e.supportingText}` : e.text, u = t`
|
|
552
553
|
<span class="document-tab-bar__item-normal"
|
|
553
554
|
aria-hidden="true"
|
|
554
555
|
>
|
|
@@ -559,7 +560,7 @@ function b(e) {
|
|
|
559
560
|
<span class="document-tab-bar__item-short-text">${r}</span>
|
|
560
561
|
${i ? t`<span class="document-tab-bar__item-short-supporting-text">${i}</span>` : n}
|
|
561
562
|
</span>
|
|
562
|
-
`,
|
|
563
|
+
`, d = s ? t`<a class="document-tab-bar__item-tab"
|
|
563
564
|
href=${o}
|
|
564
565
|
role=${a ? n : "tab"}
|
|
565
566
|
aria-current=${a && e.selected ? "page" : n}
|
|
@@ -581,7 +582,7 @@ function b(e) {
|
|
|
581
582
|
timing=${e._isShort ? "delay" : "never"}
|
|
582
583
|
>
|
|
583
584
|
<div class="document-tab-bar__item">
|
|
584
|
-
${
|
|
585
|
+
${d}
|
|
585
586
|
<button class="document-tab-bar__item-dismiss-button"
|
|
586
587
|
aria-label=${e._dismissButtonAccessibilityLabel}
|
|
587
588
|
tabindex=${e.selected || e._isFallbackFocusable ? "0" : "-1"}
|
|
@@ -596,9 +597,9 @@ function b(e) {
|
|
|
596
597
|
`;
|
|
597
598
|
}
|
|
598
599
|
// src/components/navigation/document-tab-bar/document-tab-bar.ts
|
|
599
|
-
var
|
|
600
|
+
var S, C, w, T, E = 5, D = (S = class extends e {
|
|
600
601
|
constructor(...e) {
|
|
601
|
-
super(...e), this._id = `nldd-document-tab-bar-item-${
|
|
602
|
+
super(...e), this._id = `nldd-document-tab-bar-item-${w._idCounter++}`, this.selected = !1, this.text = "", this.supportingText = "", this.shortText = "", this.shortSupportingText = "", this.href = "", this._isShort = !1, this._itemResizeObserver = null, this._dismissButtonAccessibilityLabel = "Sluit", this._isFallbackFocusable = !1, this._navigation = !1;
|
|
602
603
|
}
|
|
603
604
|
connectedCallback() {
|
|
604
605
|
super.connectedCallback(), this.setAttribute("role", "none"), this._itemResizeObserver = new ResizeObserver(() => this._updateIsShort()), this._itemResizeObserver.observe(this);
|
|
@@ -611,7 +612,7 @@ var x, S, C, w, T = 5, E = (x = class extends e {
|
|
|
611
612
|
this._isShort = Number.isFinite(e) && this.getBoundingClientRect().width < e;
|
|
612
613
|
}
|
|
613
614
|
focus(e) {
|
|
614
|
-
|
|
615
|
+
_(this, e) || this.shadowRoot?.querySelector(".document-tab-bar__item-tab")?.focus(e);
|
|
615
616
|
}
|
|
616
617
|
_handleClick() {
|
|
617
618
|
this.dispatchEvent(new CustomEvent("select", {
|
|
@@ -628,38 +629,38 @@ var x, S, C, w, T = 5, E = (x = class extends e {
|
|
|
628
629
|
}));
|
|
629
630
|
}
|
|
630
631
|
render() {
|
|
631
|
-
return
|
|
632
|
+
return x(this);
|
|
632
633
|
}
|
|
633
|
-
},
|
|
634
|
-
r([
|
|
634
|
+
}, w = S, S.styles = y, S._idCounter = 0, S);
|
|
635
|
+
r([o({
|
|
635
636
|
type: Boolean,
|
|
636
637
|
reflect: !0
|
|
637
|
-
})],
|
|
638
|
+
})], D.prototype, "selected", void 0), r([o({
|
|
638
639
|
reflect: !0,
|
|
639
640
|
attribute: "text",
|
|
640
|
-
converter:
|
|
641
|
-
})],
|
|
641
|
+
converter: l("")
|
|
642
|
+
})], D.prototype, "text", void 0), r([o({
|
|
642
643
|
reflect: !0,
|
|
643
644
|
attribute: "supporting-text",
|
|
644
|
-
converter:
|
|
645
|
-
})],
|
|
645
|
+
converter: l("")
|
|
646
|
+
})], D.prototype, "supportingText", void 0), r([o({
|
|
646
647
|
reflect: !0,
|
|
647
648
|
attribute: "short-text",
|
|
648
|
-
converter:
|
|
649
|
-
})],
|
|
649
|
+
converter: l("")
|
|
650
|
+
})], D.prototype, "shortText", void 0), r([o({
|
|
650
651
|
reflect: !0,
|
|
651
652
|
attribute: "short-supporting-text",
|
|
652
|
-
converter:
|
|
653
|
-
})],
|
|
654
|
-
var
|
|
653
|
+
converter: l("")
|
|
654
|
+
})], D.prototype, "shortSupportingText", void 0), r([o({ type: String })], D.prototype, "href", void 0), r([a()], D.prototype, "_isShort", void 0), r([a()], D.prototype, "_dismissButtonAccessibilityLabel", void 0), r([a()], D.prototype, "_isFallbackFocusable", void 0), r([a()], D.prototype, "_navigation", void 0), D = w = r([s("nldd-document-tab-bar-item")], D);
|
|
655
|
+
var O = (C = class extends p(e, m) {
|
|
655
656
|
constructor(...e) {
|
|
656
|
-
super(...e), this._id = `nldd-document-tab-bar-${
|
|
657
|
+
super(...e), this._id = `nldd-document-tab-bar-${T._idCounter++}`, this.accessibleLabel = "", this.navigation = !1, this._overflowCount = 0, this._menuOpen = !1, this._menu = null, this._resizeObserver = null, this._hasCustomLabel = !1, this._holding = !1, this._releaseOnRemoval = null, this._rowWidth = 0, this._itemsAtHold = /* @__PURE__ */ new Set(), this._draggingEl = null, this._placeholder = null, this._currentDropIndex = -1, this._pointerId = null, this._clone = null, this._cloneOffsetX = 0, this._tabBarRect = null, this._pendingDragItem = null, this._pendingDragStartX = 0, this._pendingPointerId = null, this._onPointerDown = (e) => {
|
|
657
658
|
let t = e.composedPath();
|
|
658
659
|
if (t.some((e) => e instanceof Element && e.classList?.contains("document-tab-bar__item-dismiss-button"))) return;
|
|
659
660
|
let n = t.find((e) => e instanceof Element && e.tagName.toLowerCase() === "nldd-document-tab-bar-item");
|
|
660
661
|
n && !n.hidden && (this._pendingDragItem = n, this._pendingDragStartX = e.clientX, this._pendingPointerId = e.pointerId, this.addEventListener("pointermove", this._onPointerMovePending), this.addEventListener("pointerup", this._onPointerUpPending), this.addEventListener("pointercancel", this._onPointerCancelPending));
|
|
661
662
|
}, this._onPointerMovePending = (e) => {
|
|
662
|
-
if (e.pointerId !== this._pendingPointerId || !this._pendingDragItem || (e.preventDefault(), Math.abs(e.clientX - this._pendingDragStartX) <
|
|
663
|
+
if (e.pointerId !== this._pendingPointerId || !this._pendingDragItem || (e.preventDefault(), Math.abs(e.clientX - this._pendingDragStartX) < E)) return;
|
|
663
664
|
let t = this._pendingDragItem;
|
|
664
665
|
this._clearPendingDrag(), e.preventDefault(), this._startDrag(t, e.clientX), this._pointerId = e.pointerId, this.setPointerCapture(e.pointerId), this.addEventListener("pointermove", this._onPointerMove), this.addEventListener("pointerup", this._onPointerUp), this.addEventListener("pointercancel", this._onPointerCancel);
|
|
665
666
|
}, this._onPointerUpPending = () => {
|
|
@@ -720,7 +721,7 @@ var D = (S = class extends f(e, p) {
|
|
|
720
721
|
r && (r.selected = !0, r.focus()), t.selected = !1;
|
|
721
722
|
}
|
|
722
723
|
let i = n.length === 1, a = n.filter((e) => !e.hidden), o = a[a.length - 1] === t && a.length === n.length;
|
|
723
|
-
!i &&
|
|
724
|
+
!i && h() && (this._holdWidths(n.filter((e) => e !== t)), o && (this._releaseOnRemoval = t)), this.dispatchEvent(new CustomEvent("tab-dismiss", {
|
|
724
725
|
bubbles: !0,
|
|
725
726
|
composed: !0,
|
|
726
727
|
detail: {
|
|
@@ -735,7 +736,7 @@ var D = (S = class extends f(e, p) {
|
|
|
735
736
|
this.removeEventListener("pointerleave", this._releaseWidths), this._holding = !1, this._itemsAtHold.clear(), this._releaseOnRemoval = null, clearTimeout(this._releasingTimer);
|
|
736
737
|
let e = this.style.getPropertyValue("--_document-tab-bar-held-item-width"), t = () => {
|
|
737
738
|
this.removeAttribute("data-holding-widths"), this.removeAttribute("data-releasing-widths"), this.style.removeProperty("--_document-tab-bar-held-item-width"), this._calculateOverflow();
|
|
738
|
-
}, n = this.shadowRoot?.querySelector(".document-tab-bar__items"), r = this._getVisibleItems().length, i = n && parseFloat(getComputedStyle(n).columnGap) || 0, a = n && r ? (n.clientWidth - i * (r - 1)) / r : 0, o =
|
|
739
|
+
}, n = this.shadowRoot?.querySelector(".document-tab-bar__items"), r = this._getVisibleItems().length, i = n && parseFloat(getComputedStyle(n).columnGap) || 0, a = n && r ? (n.clientWidth - i * (r - 1)) / r : 0, o = c(getComputedStyle(this).getPropertyValue("--_document-tab-bar-release-duration")), s = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
739
740
|
!e || !a || !o || s ? t() : (this.toggleAttribute("data-releasing-widths", !0), this.style.setProperty("--_document-tab-bar-held-item-width", `${a}px`), this._releasingTimer = setTimeout(t, o + 50));
|
|
740
741
|
}, this._handleKeyDown = (e) => {
|
|
741
742
|
let t = e.composedPath(), n = t.find((e) => e instanceof Element && e.tagName.toLowerCase() === "nldd-document-tab-bar-item");
|
|
@@ -957,7 +958,7 @@ var D = (S = class extends f(e, p) {
|
|
|
957
958
|
e.setAttribute("placement", "bottom-end"), e.id = `${this._id}-menu`, e.addEventListener("toggle", (e) => {
|
|
958
959
|
this._menuOpen = e.newState === "open";
|
|
959
960
|
}), e.addEventListener("beforetoggle", (t) => {
|
|
960
|
-
t.newState === "open" &&
|
|
961
|
+
t.newState === "open" && g(e, this);
|
|
961
962
|
}), document.body.appendChild(e), this._menu = e;
|
|
962
963
|
}
|
|
963
964
|
_syncMenuAnchor() {
|
|
@@ -974,14 +975,14 @@ var D = (S = class extends f(e, p) {
|
|
|
974
975
|
t && (this.style.setProperty("--_document-tab-bar-held-item-width", `${t.getBoundingClientRect().width}px`), this.toggleAttribute("data-holding-widths", !0), this._holding = !0, this._itemsAtHold = new Set(this._getItems()), this.addEventListener("pointerleave", this._releaseWidths));
|
|
975
976
|
}
|
|
976
977
|
render() {
|
|
977
|
-
return
|
|
978
|
+
return b(this);
|
|
978
979
|
}
|
|
979
|
-
},
|
|
980
|
-
r([
|
|
980
|
+
}, T = C, C.styles = v, C._idCounter = 0, C);
|
|
981
|
+
r([o({
|
|
981
982
|
type: String,
|
|
982
983
|
attribute: "accessible-label"
|
|
983
|
-
})],
|
|
984
|
+
})], O.prototype, "accessibleLabel", void 0), r([o({
|
|
984
985
|
type: Boolean,
|
|
985
986
|
reflect: !0
|
|
986
|
-
})],
|
|
987
|
-
export {
|
|
987
|
+
})], O.prototype, "navigation", void 0), r([a()], O.prototype, "_overflowCount", void 0), r([a()], O.prototype, "_menuOpen", void 0), O = T = r([s("nldd-document-tab-bar")], O);
|
|
988
|
+
export { O as NLDDDocumentTabBar, D as NLDDDocumentTabBarItem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import {
|
|
6
|
-
import "./icon-
|
|
5
|
+
import { i as c, t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
|
+
import "./icon-B5kHyCz2.js";
|
|
7
7
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
8
8
|
import { t as d } from "./owned-attribute-x9OCTy_4.js";
|
|
9
|
-
import { t as f } from "./described-by-mixin-
|
|
9
|
+
import { t as f } from "./described-by-mixin-DXC6jkCd.js";
|
|
10
10
|
import { r as p } from "./element-state-B-44fVqq.js";
|
|
11
11
|
import { t as m } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
// src/components/inputs/dropdown/dropdown.styles.ts
|