@nldd/design-system 0.30.1 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2319 -110
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
- package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-Bc53Pa5u.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
- package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.js} +1307 -903
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-B06CiuOY.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/identity/identity.d.ts +1 -1
- package/dist/components/content/identity/identity.js +1 -1
- package/dist/components/content/image/image.d.ts +2 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +5 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +3 -1
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +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 +2 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +10 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +32 -4
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +15 -5
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +10 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +16 -6
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -2
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +1 -1
- package/dist/components/inputs/switch/switch.js +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +67 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +40 -33
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +61 -23
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +6 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +4 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/rich-text.css +2 -3
- package/dist/css/themes/donkergeel.css +5 -6
- package/dist/css/themes/geel.css +5 -6
- package/dist/css/themes.css +10 -12
- package/dist/css/variables.css +24 -15
- package/dist/nldd.min.js +1006 -846
- 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 +40 -44
- package/dist/types/vue.d.ts +213 -55
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +23 -18
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +49 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/press-feedback.d.ts +16 -0
- package/dist/utilities/press-feedback.d.ts.map +1 -0
- package/dist/utilities/press-feedback.js +27 -0
- package/dist/utilities/press-feedback.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -6
- package/lint/rule.schema.json +2 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
-
import { s as u, t as d } from "./shadow-resets-
|
|
6
|
+
import { s as u, t as d } from "./shadow-resets-BplgOKPc.js";
|
|
7
7
|
import { t as f } from "./link-rel-DvrTEfVT.js";
|
|
8
8
|
import { t as p } from "./sanitize-url-EEu5iGkI.js";
|
|
9
9
|
import { r as m, t as h } from "./link-hint-x3C1uwSo.js";
|
|
10
|
-
import { t as g } from "./with-translations-
|
|
10
|
+
import { t as g } from "./with-translations-Z7dHTxzy.js";
|
|
11
11
|
import { t as _ } from "./link.i18n-DJPobGmu.js";
|
|
12
12
|
import { t as v } from "./interest-invoker-CxvYA5Qy.js";
|
|
13
|
-
import { n as y, t as b } from "./described-by-mixin-
|
|
14
|
-
import "./icon-
|
|
13
|
+
import { n as y, t as b } from "./described-by-mixin-6MEe_hOH.js";
|
|
14
|
+
import "./icon-CoujQk37.js";
|
|
15
15
|
// src/components/navigation/link/link.styles.ts
|
|
16
16
|
var x = o`
|
|
17
17
|
:host {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { r as i, s as a } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-DUOcGZKf.js";
|
|
7
|
-
import { s as d } from "./shadow-resets-
|
|
8
|
-
import { t as f } from "./if-defined-
|
|
9
|
-
import "./list-item-
|
|
7
|
+
import { s as d } from "./shadow-resets-BplgOKPc.js";
|
|
8
|
+
import { t as f } from "./if-defined-DogpZQqB.js";
|
|
9
|
+
import "./list-item-DpQBn1El.js";
|
|
10
10
|
import { t as p } from "./list.i18n-C40ltgdI.js";
|
|
11
|
-
import "./inline-dialog-
|
|
12
|
-
import "./icon-
|
|
13
|
-
import "./icon-button-
|
|
14
|
-
import { t as m } from "./with-translations-
|
|
11
|
+
import "./inline-dialog-BA1HLcgr.js";
|
|
12
|
+
import "./icon-CoujQk37.js";
|
|
13
|
+
import "./icon-button-CghwJ1ZM.js";
|
|
14
|
+
import { t as m } from "./with-translations-Z7dHTxzy.js";
|
|
15
15
|
import { r as h } from "./element-state-D-J_cHEV.js";
|
|
16
16
|
import { t as g } from "./deep-active-element-DgiHjYGG.js";
|
|
17
17
|
import { t as _ } from "./after-parse-BSKUm67Q.js";
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { n as u } from "./layout-pass-B2ALRYc9.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-DUOcGZKf.js";
|
|
8
|
-
import { n as f, s as p } from "./shadow-resets-
|
|
9
|
-
import { t as m } from "./class-map-
|
|
8
|
+
import { n as f, s as p } from "./shadow-resets-BplgOKPc.js";
|
|
9
|
+
import { t as m } from "./class-map-B9MjP-Ik.js";
|
|
10
10
|
import { t as h } from "./link-rel-DvrTEfVT.js";
|
|
11
11
|
import { t as g } from "./sanitize-url-EEu5iGkI.js";
|
|
12
12
|
import { n as _ } from "./input-modality-XE0B7yCn.js";
|
|
13
|
-
import { t as v } from "./with-translations-
|
|
13
|
+
import { t as v } from "./with-translations-Z7dHTxzy.js";
|
|
14
14
|
import { t as y } from "./list-item.i18n-Br6J5Ev9.js";
|
|
15
15
|
import { r as b, t as x } from "./link-hint-x3C1uwSo.js";
|
|
16
16
|
import { i as S, r as C } from "./element-state-D-J_cHEV.js";
|
|
17
17
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
18
|
+
import { t as T } from "./press-feedback-BtUqwC_0.js";
|
|
18
19
|
// src/components/lists-and-tables/list-item/list-item.styles.ts
|
|
19
|
-
var
|
|
20
|
+
var E = s`
|
|
20
21
|
:host {
|
|
21
22
|
box-sizing: border-box;
|
|
22
23
|
}
|
|
@@ -440,15 +441,15 @@ var T = s`
|
|
|
440
441
|
:host([data-nldd-clone]) .list-item__divider {
|
|
441
442
|
display: none;
|
|
442
443
|
}
|
|
443
|
-
`,
|
|
444
|
+
`, D = n`<slot></slot>`, O = n`<div class="list-item__divider"></div>`, k = (e, t, i, a, o, s, c, l = !1, u = !1, d = !1, f = !1, p, _ = !1, v = !1, y = !1, b = "group", x = p === !0, S = "") => {
|
|
444
445
|
let C = S ? [S, s].filter(Boolean).join(", ") : r, w = p === void 0 ? r : String(p), T = _ ? n`<div class="list-item__children"
|
|
445
446
|
role=${b}
|
|
446
447
|
?hidden=${!x}
|
|
447
|
-
><slot name="children"></slot></div>` : n`<slot name="children" hidden></slot>`,
|
|
448
|
+
><slot name="children"></slot></div>` : n`<slot name="children" hidden></slot>`, E = {
|
|
448
449
|
"is-highlighted": l,
|
|
449
450
|
"is-action-checked": v
|
|
450
451
|
};
|
|
451
|
-
return t ? n`<div class="list-item ${m(
|
|
452
|
+
return t ? n`<div class="list-item ${m(E)}">
|
|
452
453
|
<a class="list-item__action"
|
|
453
454
|
href=${g(t, { allowData: typeof o == "string" }) || r}
|
|
454
455
|
target=${i ?? r}
|
|
@@ -458,9 +459,9 @@ var T = s`
|
|
|
458
459
|
aria-disabled=${y ? "true" : r}
|
|
459
460
|
aria-expanded=${w}
|
|
460
461
|
tabindex=${c ?? r}
|
|
461
|
-
>${
|
|
462
|
-
${
|
|
463
|
-
</div>${T}` : u ? n`<div class="list-item ${m(
|
|
462
|
+
>${D}${s && !S ? n`<span class="list-item__link-hint">, ${s}</span>` : r}</a>
|
|
463
|
+
${O}
|
|
464
|
+
</div>${T}` : u ? n`<div class="list-item ${m(E)}">
|
|
464
465
|
<button class="list-item__action"
|
|
465
466
|
type="button"
|
|
466
467
|
role="checkbox"
|
|
@@ -469,9 +470,9 @@ var T = s`
|
|
|
469
470
|
aria-checked=${String(f)}
|
|
470
471
|
aria-expanded=${w}
|
|
471
472
|
tabindex=${c ?? r}
|
|
472
|
-
>${
|
|
473
|
-
${
|
|
474
|
-
</div>${T}` : d ? n`<div class="list-item ${m(
|
|
473
|
+
>${D}</button>
|
|
474
|
+
${O}
|
|
475
|
+
</div>${T}` : d ? n`<div class="list-item ${m(E)}">
|
|
475
476
|
<button class="list-item__action"
|
|
476
477
|
type="button"
|
|
477
478
|
role="radio"
|
|
@@ -479,58 +480,58 @@ var T = s`
|
|
|
479
480
|
?disabled=${y}
|
|
480
481
|
aria-checked=${String(f)}
|
|
481
482
|
tabindex=${c ?? r}
|
|
482
|
-
>${
|
|
483
|
-
${
|
|
484
|
-
</div>${T}` : e ? n`<div class="list-item ${m(
|
|
483
|
+
>${D}</button>
|
|
484
|
+
${O}
|
|
485
|
+
</div>${T}` : e ? n`<div class="list-item ${m(E)}">
|
|
485
486
|
<button class="list-item__action"
|
|
486
487
|
type="button"
|
|
487
488
|
aria-label=${C}
|
|
488
489
|
?disabled=${y}
|
|
489
490
|
aria-expanded=${w}
|
|
490
491
|
tabindex=${c ?? r}
|
|
491
|
-
>${
|
|
492
|
-
${
|
|
493
|
-
</div>${T}` : n`<div class="list-item ${m(
|
|
494
|
-
${E}
|
|
492
|
+
>${D}</button>
|
|
493
|
+
${O}
|
|
494
|
+
</div>${T}` : n`<div class="list-item ${m(E)}">
|
|
495
495
|
${D}
|
|
496
|
+
${O}
|
|
496
497
|
</div>${T}`;
|
|
497
|
-
},
|
|
498
|
-
function
|
|
499
|
-
let t =
|
|
498
|
+
}, A = /* @__PURE__ */ e({ NLDDListItem: () => K }), j, M, N = "a[href], button, input, select, textarea, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]", P = /* @__PURE__ */ new WeakMap();
|
|
499
|
+
function F(e) {
|
|
500
|
+
let t = P.get(e);
|
|
500
501
|
return t || (t = {
|
|
501
502
|
noTab: "noTab" in e ? e.noTab : void 0,
|
|
502
503
|
tabindex: e.getAttribute("tabindex")
|
|
503
|
-
},
|
|
504
|
+
}, P.set(e, t)), t;
|
|
504
505
|
}
|
|
505
|
-
function
|
|
506
|
+
function I(e, t) {
|
|
506
507
|
t.noTab === void 0 ? t.tabindex === null ? e.removeAttribute("tabindex") : e.setAttribute("tabindex", t.tabindex) : e.noTab = t.noTab;
|
|
507
508
|
}
|
|
508
|
-
function
|
|
509
|
-
let n =
|
|
510
|
-
n.noTab === void 0 ? t ?
|
|
509
|
+
function L(e, t) {
|
|
510
|
+
let n = F(e);
|
|
511
|
+
n.noTab === void 0 ? t ? I(e, n) : e.setAttribute("tabindex", "-1") : e.noTab = n.noTab || !t;
|
|
511
512
|
}
|
|
512
|
-
function
|
|
513
|
-
let t =
|
|
514
|
-
t && (
|
|
513
|
+
function R(e) {
|
|
514
|
+
let t = P.get(e);
|
|
515
|
+
t && (I(e, t), P.delete(e));
|
|
515
516
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
517
|
+
var z = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-checkbox, nldd-radio-button, nldd-switch, a[href], button, input, select, textarea", B = /* @__PURE__ */ new Set(), V = 0, H = null;
|
|
518
|
+
function U(e) {
|
|
518
519
|
let t = [...e].filter((e) => e.isConnected), n = t.map((e) => e._readDividerInsets());
|
|
519
520
|
t.forEach((e, t) => e._writeDividerInsets(n[t]));
|
|
520
521
|
}
|
|
521
|
-
function
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
let e = [...
|
|
525
|
-
|
|
522
|
+
function W(e) {
|
|
523
|
+
B.add(e), V || (V = requestAnimationFrame(() => {
|
|
524
|
+
V = 0;
|
|
525
|
+
let e = [...B];
|
|
526
|
+
B.clear(), U(e);
|
|
526
527
|
}));
|
|
527
528
|
}
|
|
528
|
-
function
|
|
529
|
-
return
|
|
530
|
-
|
|
529
|
+
function G() {
|
|
530
|
+
return H ?? (H = u((e) => {
|
|
531
|
+
U(e);
|
|
531
532
|
}));
|
|
532
533
|
}
|
|
533
|
-
var
|
|
534
|
+
var K = (j = class extends v(t, y) {
|
|
534
535
|
constructor(...e) {
|
|
535
536
|
super(...e), this.size = "md", this.button = !1, this.checkbox = !1, this.radio = !1, this.expandable = !1, this.reorderable = !1, this.accessibleLabel = "", this.currentType = "page", this.selected = !1, this.checked = !1, this.current = !1, this.download = void 0, this.disabled = !1, this._showChildren = !1, this._parentType = "list", this._rovingState = "off", this._highlighted = !1, this._isBoxed = !1, this._hasCheckedSegment = !1, this._lightDomObserver = null, this._rovingControlsCache = null, this._observedMarkerTargets = [], this._dividerStarts = [], this._dividerEnds = [], this._ownCellSize = /* @__PURE__ */ new WeakMap(), this._onSlotChange = (e) => {
|
|
536
537
|
if (!import.meta.env?.DEV) return;
|
|
@@ -556,9 +557,9 @@ var G = (A = class extends v(t, y) {
|
|
|
556
557
|
}, this._onMouseDown = (e) => {
|
|
557
558
|
e.button > 0 || this.reorderable || this._isFromNestedRow(e) || this._action && e.preventDefault();
|
|
558
559
|
}, this._onPointerDown = (e) => {
|
|
559
|
-
this.disabled || e.button > 0 || this._isFromNestedRow(e) || (this.
|
|
560
|
-
}, this._clearPressed = () => {
|
|
561
|
-
window.removeEventListener("pointerup", this._clearPressed), window.removeEventListener("pointercancel", this._clearPressed), this.
|
|
560
|
+
this.disabled || e.button > 0 || this._isFromNestedRow(e) || (this._pressFeedback.start(e), window.addEventListener("pointerup", this._clearPressed), window.addEventListener("pointercancel", this._clearPressed), this._action?.focus({ preventScroll: !0 }));
|
|
561
|
+
}, this._pressFeedback = new T(() => this._action), this._clearPressed = () => {
|
|
562
|
+
window.removeEventListener("pointerup", this._clearPressed), window.removeEventListener("pointercancel", this._clearPressed), this._pressFeedback.clear();
|
|
562
563
|
};
|
|
563
564
|
}
|
|
564
565
|
get _roving() {
|
|
@@ -587,7 +588,7 @@ var G = (A = class extends v(t, y) {
|
|
|
587
588
|
}), this._onLightDomChange());
|
|
588
589
|
}
|
|
589
590
|
disconnectedCallback() {
|
|
590
|
-
super.disconnectedCallback(), this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut), this.removeEventListener("click", this._handleClick), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("mousedown", this._onMouseDown), this._clearPressed(), this._lightDomObserver?.disconnect(), this._lightDomObserver = null, this._watchMarkers([]),
|
|
591
|
+
super.disconnectedCallback(), this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut), this.removeEventListener("click", this._handleClick), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("mousedown", this._onMouseDown), this._clearPressed(), this._lightDomObserver?.disconnect(), this._lightDomObserver = null, this._watchMarkers([]), B.delete(this);
|
|
591
592
|
}
|
|
592
593
|
_onLightDomChange() {
|
|
593
594
|
this._updateCheckedSegment(), this._updateCurrentSegment(), this._updateInteractive(), this._measureDividerMarkers(), this._rovingControlsCache = null, this._arrowNavigation && (this._syncRovingTabStops(), this._parentList?._updateRoving());
|
|
@@ -600,7 +601,7 @@ var G = (A = class extends v(t, y) {
|
|
|
600
601
|
if (this._rovingControlsCache) return this._rovingControlsCache;
|
|
601
602
|
let e = /* @__PURE__ */ new Set(), t = this._ownDescendants("*").filter((t) => {
|
|
602
603
|
let n = t.tagName.toLowerCase();
|
|
603
|
-
return n === "nldd-list-item-segment" ? !1 : n.includes("-") && !customElements.get(n) ? (e.add(n), !1) : "noTab" in t || t.matches(
|
|
604
|
+
return n === "nldd-list-item-segment" ? !1 : n.includes("-") && !customElements.get(n) ? (e.add(n), !1) : "noTab" in t || t.matches(N);
|
|
604
605
|
});
|
|
605
606
|
return this._rovingControlsCache = t, e.forEach((e) => {
|
|
606
607
|
customElements.whenDefined(e).then(() => {
|
|
@@ -633,12 +634,12 @@ var G = (A = class extends v(t, y) {
|
|
|
633
634
|
return Array.from(this.querySelectorAll(e)).filter((e) => e.closest("nldd-list-item") === this);
|
|
634
635
|
}
|
|
635
636
|
_captureAuthoredCellSizes() {
|
|
636
|
-
this._ownDescendants(
|
|
637
|
+
this._ownDescendants(M.SIZED_CELLS).forEach((e) => {
|
|
637
638
|
this._ownCellSize.has(e) || this._ownCellSize.set(e, e.getAttribute("size"));
|
|
638
639
|
});
|
|
639
640
|
}
|
|
640
641
|
_propagateSize() {
|
|
641
|
-
this._captureAuthoredCellSizes(), this._ownDescendants(
|
|
642
|
+
this._captureAuthoredCellSizes(), this._ownDescendants(M.SIZED_CELLS).forEach((e) => {
|
|
642
643
|
this._ownCellSize.get(e) ?? e.setAttribute("size", this.size);
|
|
643
644
|
});
|
|
644
645
|
}
|
|
@@ -668,7 +669,7 @@ var G = (A = class extends v(t, y) {
|
|
|
668
669
|
_syncNestedControl() {
|
|
669
670
|
if (!import.meta.env?.DEV || this.hasAttribute("data-nldd-clone")) return;
|
|
670
671
|
let e = !!(this.href || this.button || this.checkbox || this.radio);
|
|
671
|
-
C(this, "nested-control", e && [...this.children].filter((e) => !e.slot).flatMap((e) => [e, ...e.querySelectorAll("*")]).some((e) => e.matches(
|
|
672
|
+
C(this, "nested-control", e && [...this.children].filter((e) => !e.slot).flatMap((e) => [e, ...e.querySelectorAll("*")]).some((e) => e.matches(z) && !e.matches("[decorative]") && !e.closest("[aria-hidden=\"true\"], [inert]")));
|
|
672
673
|
}
|
|
673
674
|
get _isListboxOption() {
|
|
674
675
|
return this._parentType === "listbox";
|
|
@@ -717,13 +718,13 @@ var G = (A = class extends v(t, y) {
|
|
|
717
718
|
degenerate: !1,
|
|
718
719
|
start: null,
|
|
719
720
|
end: null
|
|
720
|
-
})) : this._watchMarkers(n) ||
|
|
721
|
+
})) : this._watchMarkers(n) || W(this);
|
|
721
722
|
}
|
|
722
723
|
_watchMarkers(e) {
|
|
723
724
|
if (e.length === this._observedMarkerTargets.length && e.every((e, t) => e === this._observedMarkerTargets[t])) return !1;
|
|
724
|
-
for (let e of this._observedMarkerTargets)
|
|
725
|
+
for (let e of this._observedMarkerTargets) H?.unobserve(e, this);
|
|
725
726
|
this._observedMarkerTargets = e;
|
|
726
|
-
for (let t of e)
|
|
727
|
+
for (let t of e) G().observe(t, this);
|
|
727
728
|
return !0;
|
|
728
729
|
}
|
|
729
730
|
_readDividerInsets() {
|
|
@@ -774,10 +775,10 @@ var G = (A = class extends v(t, y) {
|
|
|
774
775
|
this._arrowNavigation ? (this._action || !this._rovingActive ? this.removeAttribute("tabindex") : this.setAttribute("tabindex", "0"), e.forEach((e) => {
|
|
775
776
|
e._tabbable = this._rovingActive;
|
|
776
777
|
}), this._rovingControls().forEach((e) => {
|
|
777
|
-
|
|
778
|
+
L(e, this._rovingActive);
|
|
778
779
|
})) : (this.removeAttribute("tabindex"), e.forEach((e) => {
|
|
779
780
|
e._tabbable = void 0;
|
|
780
|
-
}), this._rovingControls().forEach(
|
|
781
|
+
}), this._rovingControls().forEach(R));
|
|
781
782
|
}
|
|
782
783
|
_slottedControlFor(e) {
|
|
783
784
|
let t = [];
|
|
@@ -791,7 +792,7 @@ var G = (A = class extends v(t, y) {
|
|
|
791
792
|
this._arrowNavigation && this._rovingActive && (this._ownSegments().forEach((e) => {
|
|
792
793
|
e._tabbable = !1;
|
|
793
794
|
}), this._rovingControls().forEach((e) => {
|
|
794
|
-
|
|
795
|
+
L(e, !1);
|
|
795
796
|
}));
|
|
796
797
|
}
|
|
797
798
|
_ownSegments() {
|
|
@@ -824,45 +825,45 @@ var G = (A = class extends v(t, y) {
|
|
|
824
825
|
let e = x(this.href, this.target, this.download);
|
|
825
826
|
this.href && b(this, this.download, this.target);
|
|
826
827
|
let t = e ? this._t(`components.list-item.${e}`) : void 0, n = this._isListboxOption ? "-1" : this._arrowNavigation ? this._rovingActive ? "0" : "-1" : void 0;
|
|
827
|
-
return
|
|
828
|
+
return k(this.button, this.href, this.target, this.rel, this.download, t, n, this._highlighted, this.checkbox, this.radio, this.checked, this._resolvedExpanded, this._showChildren, this._hasCheckedSegment, this.disabled, this._parentType === "navigation" ? "list" : "group", this._childrenOpen, this.accessibleLabel);
|
|
828
829
|
}
|
|
829
|
-
},
|
|
830
|
+
}, M = j, j.styles = [E], j.SIZED_CELLS = "nldd-text-cell, nldd-reorder-handle-cell", j);
|
|
830
831
|
i([o({
|
|
831
832
|
reflect: !0,
|
|
832
833
|
converter: d("md")
|
|
833
|
-
})],
|
|
834
|
+
})], K.prototype, "size", void 0), i([o({
|
|
834
835
|
type: Boolean,
|
|
835
836
|
reflect: !0
|
|
836
|
-
})],
|
|
837
|
+
})], K.prototype, "button", void 0), i([o({
|
|
837
838
|
type: Boolean,
|
|
838
839
|
reflect: !0
|
|
839
|
-
})],
|
|
840
|
+
})], K.prototype, "checkbox", void 0), i([o({
|
|
840
841
|
type: Boolean,
|
|
841
842
|
reflect: !0
|
|
842
|
-
})],
|
|
843
|
+
})], K.prototype, "radio", void 0), i([o({
|
|
843
844
|
type: Boolean,
|
|
844
845
|
reflect: !0
|
|
845
|
-
})],
|
|
846
|
+
})], K.prototype, "expandable", void 0), i([o({ attribute: !1 })], K.prototype, "reorderable", void 0), i([o({
|
|
846
847
|
type: String,
|
|
847
848
|
attribute: "accessible-label"
|
|
848
|
-
})],
|
|
849
|
+
})], K.prototype, "accessibleLabel", void 0), i([o({
|
|
849
850
|
reflect: !0,
|
|
850
851
|
attribute: "current-type",
|
|
851
852
|
converter: d("page")
|
|
852
|
-
})],
|
|
853
|
+
})], K.prototype, "currentType", void 0), i([o({
|
|
853
854
|
type: Boolean,
|
|
854
855
|
reflect: !0
|
|
855
|
-
})],
|
|
856
|
+
})], K.prototype, "selected", void 0), i([o({
|
|
856
857
|
type: Boolean,
|
|
857
858
|
reflect: !0
|
|
858
|
-
})],
|
|
859
|
+
})], K.prototype, "checked", void 0), i([o({
|
|
859
860
|
type: Boolean,
|
|
860
861
|
reflect: !0
|
|
861
|
-
})],
|
|
862
|
+
})], K.prototype, "expanded", void 0), i([o({
|
|
862
863
|
type: Boolean,
|
|
863
864
|
reflect: !0
|
|
864
|
-
})],
|
|
865
|
+
})], K.prototype, "current", void 0), i([o({ reflect: !0 })], K.prototype, "href", void 0), i([o({ reflect: !0 })], K.prototype, "target", void 0), i([o({ reflect: !0 })], K.prototype, "rel", void 0), i([o({ type: String })], K.prototype, "download", void 0), i([o({
|
|
865
866
|
type: Boolean,
|
|
866
867
|
reflect: !0
|
|
867
|
-
})],
|
|
868
|
-
export {
|
|
868
|
+
})], K.prototype, "disabled", void 0), i([a()], K.prototype, "_showChildren", void 0), i([a()], K.prototype, "_parentType", void 0), i([a()], K.prototype, "_rovingState", void 0), i([a()], K.prototype, "_highlighted", void 0), i([l(".list-item__action")], K.prototype, "_action", void 0), i([a()], K.prototype, "_hasCheckedSegment", void 0), K = M = i([c("nldd-list-item")], K);
|
|
869
|
+
export { A as t };
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-CF94IDoN.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 "./reflect-non-default-DUOcGZKf.js";
|
|
6
6
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
|
-
import { s as d } from "./shadow-resets-
|
|
7
|
+
import { s as d } from "./shadow-resets-BplgOKPc.js";
|
|
8
8
|
import { t as f } from "./link-rel-DvrTEfVT.js";
|
|
9
|
-
import { t as p } from "./with-translations-
|
|
9
|
+
import { t as p } from "./with-translations-Z7dHTxzy.js";
|
|
10
10
|
import { r as m, t as h } from "./link-hint-x3C1uwSo.js";
|
|
11
11
|
import { t as g } from "./list-item-segment.i18n-DHnrQL4V.js";
|
|
12
12
|
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
13
|
-
import {
|
|
13
|
+
import { t as v } from "./press-feedback-BtUqwC_0.js";
|
|
14
|
+
import { a as y, r as b } from "./overlay-invoker-Dj6MQAtF.js";
|
|
14
15
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.styles.ts
|
|
15
|
-
var
|
|
16
|
+
var x = o`
|
|
16
17
|
:host {
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
}
|
|
@@ -192,7 +193,7 @@ var b = o`
|
|
|
192
193
|
}
|
|
193
194
|
`;
|
|
194
195
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.template.ts
|
|
195
|
-
function
|
|
196
|
+
function S(e, r, i, a, o, s, c, l, u, d, p, m, h, g, _ = "") {
|
|
196
197
|
let v = t`<slot></slot>`, y = c === void 0 ? m ? "false" : n : String(c), b = l ?? n, x = d || n, S = d ? [d, _].filter(Boolean).join(", ") : n;
|
|
197
198
|
return e === "link" ? t`<a class="list-item-segment"
|
|
198
199
|
href=${r ?? n}
|
|
@@ -219,10 +220,10 @@ function x(e, r, i, a, o, s, c, l, u, d, p, m, h, g, _ = "") {
|
|
|
219
220
|
>${v}</button>` : t`<div class="list-item-segment">${v}</div>`;
|
|
220
221
|
}
|
|
221
222
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.ts
|
|
222
|
-
var
|
|
223
|
+
var C = class extends p(e, g) {
|
|
223
224
|
constructor(...e) {
|
|
224
225
|
super(...e), this.width = "fit-content", this.button = !1, this.checkbox = !1, this.expandable = !1, this.disclosure = !1, this.popoverTargetElement = null, this.popoverTargetAction = "toggle", this.accessibleLabel = "", this.currentType = "page", this.checked = !1, this.current = !1, this.download = void 0, this.disabled = !1, this._parentType = "list", this._handleClick = (e) => {
|
|
225
|
-
this.disabled ? (e.preventDefault(), e.stopPropagation()) : (this._control instanceof HTMLButtonElement && (this._control.popoverTargetElement =
|
|
226
|
+
this.disabled ? (e.preventDefault(), e.stopPropagation()) : (this._control instanceof HTMLButtonElement && (this._control.popoverTargetElement = y(this, this.popovertarget, this.popoverTargetElement), b(this, this._control.popoverTargetElement)), this._control?.focus(), this._controlType === "checkbox" && e.composedPath().includes(this._control) && (this.checked = !this.checked, this.dispatchEvent(new CustomEvent("change", {
|
|
226
227
|
detail: { checked: this.checked },
|
|
227
228
|
bubbles: !0,
|
|
228
229
|
composed: !0
|
|
@@ -234,16 +235,16 @@ var S = class extends p(e, g) {
|
|
|
234
235
|
}, this._onMouseDown = (e) => {
|
|
235
236
|
e.button > 0 || this.disabled || e.preventDefault();
|
|
236
237
|
}, this._onPointerDown = (e) => {
|
|
237
|
-
e.button > 0 || this.disabled || (this.
|
|
238
|
-
}, this._clearPressed = () => {
|
|
239
|
-
window.removeEventListener("pointerup", this._clearPressed), window.removeEventListener("pointercancel", this._clearPressed), this.
|
|
238
|
+
e.button > 0 || this.disabled || (this._pressFeedback.start(e), window.addEventListener("pointerup", this._clearPressed), window.addEventListener("pointercancel", this._clearPressed), this._control?.focus({ preventScroll: !0 }));
|
|
239
|
+
}, this._pressFeedback = new v(() => this._control), this._clearPressed = () => {
|
|
240
|
+
window.removeEventListener("pointerup", this._clearPressed), window.removeEventListener("pointercancel", this._clearPressed), this._pressFeedback.clear();
|
|
240
241
|
};
|
|
241
242
|
}
|
|
242
243
|
connectedCallback() {
|
|
243
244
|
super.connectedCallback(), this.addEventListener("focusin", this._handleFocusIn), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("click", this._handleClick), this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("mousedown", this._onMouseDown);
|
|
244
245
|
}
|
|
245
246
|
disconnectedCallback() {
|
|
246
|
-
super.disconnectedCallback(),
|
|
247
|
+
super.disconnectedCallback(), b(this, null), this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut), this.removeEventListener("click", this._handleClick), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("mousedown", this._onMouseDown), this._clearPressed();
|
|
247
248
|
}
|
|
248
249
|
firstUpdated() {
|
|
249
250
|
let e = this.closest("nldd-list");
|
|
@@ -265,49 +266,49 @@ var S = class extends p(e, g) {
|
|
|
265
266
|
_(this, e) || this._control?.focus(e);
|
|
266
267
|
}
|
|
267
268
|
updated() {
|
|
268
|
-
|
|
269
|
+
b(this, y(this, this.popovertarget, this.popoverTargetElement)), this.classList.toggle("is-expanded", this._resolvedExpanded === !0);
|
|
269
270
|
}
|
|
270
271
|
get _resolvedExpanded() {
|
|
271
272
|
return this.disclosure ? this._rowExpanded : this.expandable ? this.expanded === !0 : this.expanded;
|
|
272
273
|
}
|
|
273
274
|
render() {
|
|
274
275
|
let e = this._controlType === "link" ? h(this.href, this.target, this.download) : null;
|
|
275
|
-
return this._controlType === "link" && m(this, this.download, this.target),
|
|
276
|
+
return this._controlType === "link" && m(this, this.download, this.target), S(this._controlType, this.href, this.target, this.rel, this.download, this.checked, this._resolvedExpanded, this.current ? this.currentType : void 0, this.disabled, this.accessibleLabel, this._tabbable === void 0 ? void 0 : this._tabbable ? "0" : "-1", this.popupType, y(this, this.popovertarget, this.popoverTargetElement), this.popoverTargetAction, e ? this._t(`components.list-item-segment.${e}`) : "");
|
|
276
277
|
}
|
|
277
|
-
},
|
|
278
|
+
}, w = (C.styles = [x], C);
|
|
278
279
|
r([a({
|
|
279
280
|
reflect: !0,
|
|
280
281
|
converter: l("fit-content")
|
|
281
|
-
})],
|
|
282
|
+
})], w.prototype, "width", void 0), r([a({
|
|
282
283
|
type: Boolean,
|
|
283
284
|
reflect: !0
|
|
284
|
-
})],
|
|
285
|
+
})], w.prototype, "button", void 0), r([a({
|
|
285
286
|
type: Boolean,
|
|
286
287
|
reflect: !0
|
|
287
|
-
})],
|
|
288
|
+
})], w.prototype, "checkbox", void 0), r([a({
|
|
288
289
|
type: Boolean,
|
|
289
290
|
reflect: !0
|
|
290
|
-
})],
|
|
291
|
+
})], w.prototype, "expandable", void 0), r([a({
|
|
291
292
|
type: Boolean,
|
|
292
293
|
reflect: !0
|
|
293
|
-
})],
|
|
294
|
+
})], w.prototype, "disclosure", void 0), r([a({
|
|
294
295
|
attribute: "popup-type",
|
|
295
296
|
reflect: !0
|
|
296
|
-
})],
|
|
297
|
+
})], w.prototype, "popupType", void 0), r([a({ reflect: !0 })], w.prototype, "popovertarget", void 0), r([a({ attribute: !1 })], w.prototype, "popoverTargetElement", void 0), r([a({ attribute: !1 })], w.prototype, "popoverTargetAction", void 0), r([a({ attribute: "accessible-label" })], w.prototype, "accessibleLabel", void 0), r([a({
|
|
297
298
|
reflect: !0,
|
|
298
299
|
attribute: "current-type",
|
|
299
300
|
converter: l("page")
|
|
300
|
-
})],
|
|
301
|
+
})], w.prototype, "currentType", void 0), r([a({
|
|
301
302
|
type: Boolean,
|
|
302
303
|
reflect: !0
|
|
303
|
-
})],
|
|
304
|
+
})], w.prototype, "checked", void 0), r([a({
|
|
304
305
|
type: Boolean,
|
|
305
306
|
reflect: !0
|
|
306
|
-
})],
|
|
307
|
+
})], w.prototype, "expanded", void 0), r([a({
|
|
307
308
|
type: Boolean,
|
|
308
309
|
reflect: !0
|
|
309
|
-
})],
|
|
310
|
+
})], w.prototype, "current", void 0), r([a({ reflect: !0 })], w.prototype, "href", void 0), r([a({ reflect: !0 })], w.prototype, "target", void 0), r([a({ reflect: !0 })], w.prototype, "rel", void 0), r([a({ type: String })], w.prototype, "download", void 0), r([a({
|
|
310
311
|
type: Boolean,
|
|
311
312
|
reflect: !0
|
|
312
|
-
})],
|
|
313
|
-
export {
|
|
313
|
+
})], w.prototype, "disabled", void 0), r([i()], w.prototype, "_parentType", void 0), r([i()], w.prototype, "_tabbable", void 0), r([i()], w.prototype, "_rowExpanded", void 0), r([c(".list-item-segment")], w.prototype, "_control", void 0), w = r([s("nldd-list-item-segment")], w);
|
|
314
|
+
export { w as NLDDListItemSegment };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r, r as i } from "./custom-element-
|
|
2
|
+
import { n as t, t as n } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { c as a, n as o, o as s, r as c, s as l, t as u } from "./floating-ui.dom-DlsknQ4T.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
-
import { c as f, i as p } from "./menu.template-
|
|
6
|
+
import { c as f, i as p } from "./menu.template-BFq905uv.js";
|
|
7
7
|
import { t as m } from "./menu.i18n-C6uYJsG3.js";
|
|
8
|
-
import "./icon-
|
|
9
|
-
import "./keyboard-shortcut-
|
|
10
|
-
import "./inline-dialog-
|
|
8
|
+
import "./icon-CoujQk37.js";
|
|
9
|
+
import "./keyboard-shortcut-ClT66akm.js";
|
|
10
|
+
import "./inline-dialog-BA1HLcgr.js";
|
|
11
11
|
import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
|
|
12
12
|
import { t as _ } from "./return-focus-CpwHVxYU.js";
|
|
13
13
|
import { n as v, o as y, t as b } from "./overlay-invoker-Dj6MQAtF.js";
|
|
14
14
|
import { n as x } from "./breakpoints-Cwor8TRP.js";
|
|
15
|
-
import { t as S } from "./with-translations-
|
|
15
|
+
import { t as S } from "./with-translations-Z7dHTxzy.js";
|
|
16
16
|
import { r as C, t as w } from "./carried-context-DlMSujiJ.js";
|
|
17
17
|
import { r as T } from "./element-state-D-J_cHEV.js";
|
|
18
|
-
import { t as E } from "./menu-item-
|
|
19
|
-
import { t as D } from "./menu-group-
|
|
20
|
-
import { t as O } from "./menu-divider-
|
|
18
|
+
import { t as E } from "./menu-item-DcBe9_qD.js";
|
|
19
|
+
import { t as D } from "./menu-group-BIPjBdrU.js";
|
|
20
|
+
import { t as O } from "./menu-divider-uvK-8rJG.js";
|
|
21
21
|
function k(e, t) {
|
|
22
22
|
let n = document;
|
|
23
23
|
for (let r = 0; r < 20; r++) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { r as i, s as a } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import { t as u } from "./with-translations-
|
|
6
|
+
import { t as l } from "./shadow-resets-BplgOKPc.js";
|
|
7
|
+
import { t as u } from "./with-translations-Z7dHTxzy.js";
|
|
8
8
|
import { t as d } from "./menu-bar.i18n-BoMu4Eoz.js";
|
|
9
|
-
import { NLDDMenuBarItem as f } from "./menu-bar-item-
|
|
10
|
-
import { t as p } from "./overflow-menu-
|
|
9
|
+
import { NLDDMenuBarItem as f } from "./menu-bar-item-D0UrqKlH.js";
|
|
10
|
+
import { t as p } from "./overflow-menu-8GWanho5.js";
|
|
11
11
|
import { t as m } from "./overlay-invoker-Dj6MQAtF.js";
|
|
12
12
|
import { r as h } from "./element-state-D-J_cHEV.js";
|
|
13
13
|
import { t as g } from "./list-items-Du0RCWsY.js";
|
|
@@ -212,8 +212,13 @@ var w = _((e) => e.forEach((e) => e._scheduleOverflowUpdate())), T = (x = class
|
|
|
212
212
|
}
|
|
213
213
|
o += e;
|
|
214
214
|
}
|
|
215
|
-
if (s
|
|
216
|
-
|
|
215
|
+
if (s < 0) {
|
|
216
|
+
i.style.display = "none";
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
let c = e.findIndex((e) => e.current), l = c >= s ? c : -1;
|
|
220
|
+
if (l >= 0) for (o += n[l]; s > 0 && o > a;) s--, o -= n[s];
|
|
221
|
+
for (let t = s; t < e.length; t++) t !== l && (e[t].style.display = "none", e[t].setAttribute("data-overflow", "true"));
|
|
217
222
|
}
|
|
218
223
|
_populateOverflowMenu() {
|
|
219
224
|
let e = [], t = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM" && e.hasAttribute("data-overflow"));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
5
5
|
import { i as l } from "./element-state-D-J_cHEV.js";
|
|
6
|
-
import { s as u, t as d } from "./shadow-resets-
|
|
6
|
+
import { s as u, t as d } from "./shadow-resets-BplgOKPc.js";
|
|
7
7
|
import { t as f } from "./sanitize-url-EEu5iGkI.js";
|
|
8
|
-
import "./tooltip-
|
|
9
|
-
import "./icon-
|
|
10
|
-
import "./menu-
|
|
8
|
+
import "./tooltip-C1qPjhuT.js";
|
|
9
|
+
import "./icon-CoujQk37.js";
|
|
10
|
+
import "./menu-CYxTNgBa.js";
|
|
11
11
|
import { t as p } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
import { t as m } from "./overlay-invoker-Dj6MQAtF.js";
|
|
13
13
|
// src/components/navigation/menu-bar-item/menu-bar-item.styles.ts
|
|
@@ -285,7 +285,7 @@ var _ = class extends e {
|
|
|
285
285
|
super.connectedCallback(), this.addEventListener("pointerdown", this._handlePointerdown), this.addEventListener("click", this._handleClick), this._wireMenu();
|
|
286
286
|
}
|
|
287
287
|
willUpdate(e) {
|
|
288
|
-
super.willUpdate(e), e.has("compact") && l(this, "compact", this.compact);
|
|
288
|
+
super.willUpdate(e), e.has("compact") && l(this, "compact", this.compact), e.has("current") && this.hasUpdated && (this.parentElement?.closest("nldd-menu-bar"))?.requestOverflowUpdate?.();
|
|
289
289
|
}
|
|
290
290
|
firstUpdated() {
|
|
291
291
|
this._wireMenu();
|