@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,9 +1,9 @@
|
|
|
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
|
-
import { o as c } from "./shadow-resets-
|
|
5
|
-
import { t as l } from "./class-map-
|
|
6
|
-
import "./split-view-divider-
|
|
4
|
+
import { o as c } from "./shadow-resets-BplgOKPc.js";
|
|
5
|
+
import { t as l } from "./class-map-B9MjP-Ik.js";
|
|
6
|
+
import "./split-view-divider-BTt7hrtq.js";
|
|
7
7
|
import { r as u, t as d } from "./breakpoints-Cwor8TRP.js";
|
|
8
8
|
import { n as f } from "./scroll-mode-controller-DlKGaDhM.js";
|
|
9
9
|
import { t as p } from "./reflect-non-default-DUOcGZKf.js";
|
|
@@ -190,14 +190,18 @@ function _(e) {
|
|
|
190
190
|
`;
|
|
191
191
|
}
|
|
192
192
|
// src/components/layout/split-views/bar-split-view/bar-split-view.ts
|
|
193
|
-
var v
|
|
194
|
-
|
|
193
|
+
var v, y = [
|
|
194
|
+
"sm",
|
|
195
|
+
"md",
|
|
196
|
+
"lg"
|
|
197
|
+
], b = /^(\d*\.?\d+)(px|rem|em)$/;
|
|
198
|
+
function x(e) {
|
|
195
199
|
let t = e.filter((e) => e.isConnected), n = t.map((e) => e.getBoundingClientRect().width);
|
|
196
200
|
t.forEach((e, t) => e._applyWidth(n[t]));
|
|
197
201
|
}
|
|
198
|
-
var
|
|
202
|
+
var S = m(x), C = new h(x), w = (v = class extends e {
|
|
199
203
|
constructor(...e) {
|
|
200
|
-
super(...e), this._scrollMode = new f(this, () => this._updateInsets()), this.background = "inherit", this._currentBreakpoint = null, this._observer = null, this._updateInsets = () => {
|
|
204
|
+
super(...e), this._scrollMode = new f(this, () => this._updateInsets()), this.background = "inherit", this._currentBreakpoint = null, this._width = null, this._fontSize = 16, this._hiddenByLength = "", this._observer = null, this._observedBars = /* @__PURE__ */ new Set(), this._updateInsets = () => {
|
|
201
205
|
let e = this.shadowRoot?.querySelector(".bar-split-view") ?? null, t = e?.querySelector(".bar-split-view__main") ?? null;
|
|
202
206
|
if (!e || !t) return;
|
|
203
207
|
let n = Array.from(e.children), r = n.indexOf(t);
|
|
@@ -220,39 +224,49 @@ var b = m(y), x = new h(y), S = (v = class extends e {
|
|
|
220
224
|
childList: !0,
|
|
221
225
|
attributes: !0,
|
|
222
226
|
attributeFilter: [
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"only",
|
|
227
|
+
"hide-below",
|
|
228
|
+
"hide-above",
|
|
226
229
|
"sm-order",
|
|
227
230
|
"md-order",
|
|
228
231
|
"lg-order"
|
|
229
232
|
],
|
|
230
233
|
subtree: !1
|
|
231
|
-
}),
|
|
234
|
+
}), C.schedule(this, this.ownerDocument), S.observe(this, this), this._observedBars.clear(), this.hasUpdated && this._observeBars();
|
|
232
235
|
}
|
|
233
236
|
disconnectedCallback() {
|
|
234
|
-
super.disconnectedCallback(), this._observer?.disconnect(), this._observer = null,
|
|
237
|
+
super.disconnectedCallback(), this._observer?.disconnect(), this._observer = null, S.unobserveAll(this), C.cancel(this);
|
|
235
238
|
}
|
|
236
239
|
_applyWidth(e) {
|
|
237
|
-
|
|
238
|
-
t
|
|
240
|
+
this._fontSize = u(), this._width = e, this._currentBreakpoint = this._getBreakpoint(e);
|
|
241
|
+
let t = this._panelsHiddenByLength();
|
|
242
|
+
t !== this._hiddenByLength && (this._hiddenByLength = t, this.requestUpdate()), this._updateInsets();
|
|
239
243
|
}
|
|
240
244
|
_getBreakpoint(e) {
|
|
241
|
-
|
|
242
|
-
|
|
245
|
+
return e <= d("smMax", this._fontSize) ? "sm" : e <= d("mdMax", this._fontSize) ? "md" : "lg";
|
|
246
|
+
}
|
|
247
|
+
_panelsHiddenByLength() {
|
|
248
|
+
return Array.from(this.children).filter((e) => [e.getAttribute("hide-below"), e.getAttribute("hide-above")].some((e) => e && b.test(e)) && !this._isChildVisible(e)).map((e) => e.slot).join(" ");
|
|
249
|
+
}
|
|
250
|
+
_lengthPx(e) {
|
|
251
|
+
let t = b.exec(e);
|
|
252
|
+
if (!t) return null;
|
|
253
|
+
let [, n, r] = t;
|
|
254
|
+
if (r === "px") return parseFloat(n);
|
|
255
|
+
let i = r === "rem" ? this._fontSize : parseFloat(getComputedStyle(this).fontSize) || this._fontSize;
|
|
256
|
+
return parseFloat(n) * i;
|
|
257
|
+
}
|
|
258
|
+
_hides(e, t) {
|
|
259
|
+
if (!e || this._currentBreakpoint === null) return !1;
|
|
260
|
+
let n = y.indexOf(e);
|
|
261
|
+
if (n >= 0) {
|
|
262
|
+
let e = y.indexOf(this._currentBreakpoint);
|
|
263
|
+
return t === "below" ? e < n : e > n;
|
|
264
|
+
}
|
|
265
|
+
let r = this._lengthPx(e);
|
|
266
|
+
return r === null || this._width === null ? !1 : t === "below" ? this._width <= r : this._width >= r;
|
|
243
267
|
}
|
|
244
268
|
_isChildVisible(e) {
|
|
245
|
-
|
|
246
|
-
let t = this._currentBreakpoint, n = [
|
|
247
|
-
"sm",
|
|
248
|
-
"md",
|
|
249
|
-
"lg"
|
|
250
|
-
], r = n.indexOf(t), i = e.getAttribute("only");
|
|
251
|
-
if (i) return t === i;
|
|
252
|
-
let a = e.getAttribute("above");
|
|
253
|
-
if (a) return r >= n.indexOf(a);
|
|
254
|
-
let o = e.getAttribute("below");
|
|
255
|
-
return !o || r <= n.indexOf(o);
|
|
269
|
+
return !this._hides(e.getAttribute("hide-below"), "below") && !this._hides(e.getAttribute("hide-above"), "above");
|
|
256
270
|
}
|
|
257
271
|
_getSortedChildren() {
|
|
258
272
|
let e = Array.from(this.children).filter((e) => e.slot ? this._isChildVisible(e) : !1);
|
|
@@ -261,7 +275,13 @@ var b = m(y), x = new h(y), S = (v = class extends e {
|
|
|
261
275
|
return e.toSorted((n, r) => (n.hasAttribute(t) ? parseInt(n.getAttribute(t)) : e.indexOf(n)) - (r.hasAttribute(t) ? parseInt(r.getAttribute(t)) : e.indexOf(r)));
|
|
262
276
|
}
|
|
263
277
|
updated() {
|
|
264
|
-
this._updateInsets();
|
|
278
|
+
this._updateInsets(), this._observeBars();
|
|
279
|
+
}
|
|
280
|
+
_observeBars() {
|
|
281
|
+
let e = new Set(this.shadowRoot?.querySelectorAll(".bar-split-view__bar") ?? []);
|
|
282
|
+
for (let t of this._observedBars) e.has(t) || S.unobserve(t, this);
|
|
283
|
+
for (let t of e) this._observedBars.has(t) || S.observe(t, this);
|
|
284
|
+
this._observedBars = e;
|
|
265
285
|
}
|
|
266
286
|
render() {
|
|
267
287
|
return _(this);
|
|
@@ -270,5 +290,5 @@ var b = m(y), x = new h(y), S = (v = class extends e {
|
|
|
270
290
|
r([a({
|
|
271
291
|
reflect: !0,
|
|
272
292
|
converter: p("inherit")
|
|
273
|
-
})],
|
|
274
|
-
export {
|
|
293
|
+
})], w.prototype, "background", void 0), r([i()], w.prototype, "_currentBreakpoint", void 0), w = r([s("nldd-bar-split-view")], w);
|
|
294
|
+
export { w as NLDDBarSplitView };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c as i, n as a, r as o, s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { c as i, n as a, r as o, s } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { n as l, r as u } from "./custom-font-size-D-U1Z_wx.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
6
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { i as p, t as m } from "./shadow-resets-
|
|
8
|
-
import { i as h, r as g } from "./text-wrap-
|
|
9
|
-
import { t as _ } from "./class-map-
|
|
7
|
+
import { i as p, t as m } from "./shadow-resets-BplgOKPc.js";
|
|
8
|
+
import { i as h, r as g } from "./text-wrap-EQF-fBi4.js";
|
|
9
|
+
import { t as _ } from "./class-map-B9MjP-Ik.js";
|
|
10
10
|
// src/components/content/blockquote/blockquote.styles.ts
|
|
11
11
|
var v = i(f.smMax), y = i(f.mdMin), b = i(f.mdMax), x = i(f.lgMin), S = s`
|
|
12
12
|
:host {
|
|
@@ -127,8 +127,8 @@ var v = i(f.smMax), y = i(f.mdMin), b = i(f.mdMax), x = i(f.lgMin), S = s`
|
|
|
127
127
|
display: flex;
|
|
128
128
|
margin: 0;
|
|
129
129
|
border-left: var(--semantics-blockquotes-border);
|
|
130
|
-
padding
|
|
131
|
-
|
|
130
|
+
padding: 0 0 0 0.75lh;
|
|
131
|
+
font: var(--_blockquote-quote-font);
|
|
132
132
|
flex-direction: column;
|
|
133
133
|
gap: calc(var(--_blockquote-spacing) / 2);
|
|
134
134
|
--context-content-color: var(--semantics-content-color);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as o } from "./reflect-non-default-DUOcGZKf.js";
|
|
5
|
-
import { o as s } from "./shadow-resets-
|
|
5
|
+
import { o as s } from "./shadow-resets-BplgOKPc.js";
|
|
6
6
|
// src/components/layout/box/box.styles.ts
|
|
7
7
|
var c = i`
|
|
8
8
|
:host {
|
|
@@ -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 "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import { o as u } from "./text-wrap-
|
|
8
|
-
import "./icon-
|
|
6
|
+
import { t as l } from "./shadow-resets-BplgOKPc.js";
|
|
7
|
+
import { o as u } from "./text-wrap-EQF-fBi4.js";
|
|
8
|
+
import "./icon-CoujQk37.js";
|
|
9
9
|
import { t as d } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
10
|
-
import { t as f } from "./with-translations-
|
|
10
|
+
import { t as f } from "./with-translations-Z7dHTxzy.js";
|
|
11
11
|
// src/components/navigation/breadcrumbs/breadcrumbs.styles.ts
|
|
12
12
|
var p = a`
|
|
13
13
|
/* Inline, not inline-block: Chrome breaks a line before an atomic inline even
|
|
@@ -1,22 +1,22 @@
|
|
|
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 { r as a, s as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { r as a, s as o } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { s as c, t as l } from "./shadow-resets-
|
|
6
|
-
import { o as u } from "./text-wrap-
|
|
7
|
-
import { t as d } from "./class-map-
|
|
5
|
+
import { s as c, t as l } from "./shadow-resets-BplgOKPc.js";
|
|
6
|
+
import { o as u } from "./text-wrap-EQF-fBi4.js";
|
|
7
|
+
import { t as d } from "./class-map-B9MjP-Ik.js";
|
|
8
8
|
import { t as f } from "./link-rel-DvrTEfVT.js";
|
|
9
9
|
import { t as p } from "./sanitize-url-EEu5iGkI.js";
|
|
10
10
|
import { r as m, t as h } from "./link-hint-x3C1uwSo.js";
|
|
11
|
-
import { i as g, n as _, r as v } from "./keyboard-shortcut-
|
|
11
|
+
import { i as g, n as _, r as v } from "./keyboard-shortcut-ClT66akm.js";
|
|
12
12
|
import { a as y, r as b, t as x } from "./overlay-invoker-Dj6MQAtF.js";
|
|
13
|
-
import { t as S } from "./with-translations-
|
|
13
|
+
import { t as S } from "./with-translations-Z7dHTxzy.js";
|
|
14
14
|
import { t as C } from "./reflect-non-default-DUOcGZKf.js";
|
|
15
15
|
import { t as w } from "./button.i18n-BGFt7Z9u.js";
|
|
16
16
|
import { t as T } from "./interest-invoker-CxvYA5Qy.js";
|
|
17
|
-
import "./icon-
|
|
18
|
-
import "./activity-indicator-
|
|
19
|
-
import { t as E } from "./described-by-mixin-
|
|
17
|
+
import "./icon-CoujQk37.js";
|
|
18
|
+
import "./activity-indicator-DYgJcdQr.js";
|
|
19
|
+
import { t as E } from "./described-by-mixin-6MEe_hOH.js";
|
|
20
20
|
import { i as D, n as O } from "./element-state-D-J_cHEV.js";
|
|
21
21
|
import { t as k } from "./defer-focus-F73ud2D9.js";
|
|
22
22
|
import { t as A } from "./owner-form-Bl_p0Ca4.js";
|
|
@@ -662,6 +662,10 @@ var j = o`
|
|
|
662
662
|
--_button-padding-inline-end: max(var(--_button-inline-padding), calc(var(--_button-inline-padding) + var(--_button-gap) - var(--_button-text-inline-padding) + var(--_button-disclosure-icon-size)));
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
+
:host([expandable][width]:not([horizontal-alignment="left"], [horizontal-alignment="right"])) .button {
|
|
666
|
+
padding-inline: var(--_button-padding-inline-end);
|
|
667
|
+
}
|
|
668
|
+
|
|
665
669
|
.button__disclosure-icon {
|
|
666
670
|
display: block;
|
|
667
671
|
position: absolute;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { n as i, r as a, s as o, t as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { n as i, r as a, s as o, t as s } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
-
import { t as u } from "./repeat-
|
|
6
|
+
import { t as u } from "./repeat-DU632DST.js";
|
|
7
7
|
// src/components/actions/button-bar/button-bar.styles.ts
|
|
8
8
|
var d = o`
|
|
9
9
|
:host {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { r as i, s as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
-
import { o as l } from "./shadow-resets-
|
|
5
|
+
import { o as l } from "./shadow-resets-BplgOKPc.js";
|
|
6
6
|
import { t as u } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { t as d } from "./sanitize-url-EEu5iGkI.js";
|
|
8
8
|
import { r as f, t as p } from "./link-hint-x3C1uwSo.js";
|
|
9
|
-
import { t as m } from "./with-translations-
|
|
9
|
+
import { t as m } from "./with-translations-Z7dHTxzy.js";
|
|
10
10
|
import { t as h } from "./card.i18n-CpafLm3i.js";
|
|
11
11
|
// src/components/layout/card/card.styles.ts
|
|
12
12
|
var g = o`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { r as i, s as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as s } from "./reorder-handle-mixin-
|
|
5
|
+
import { t as s } from "./reorder-handle-mixin-Cu-u0TY-.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-DUOcGZKf.js";
|
|
7
|
-
import { t as l } from "./shadow-resets-
|
|
8
|
-
import { t as u } from "./visibility-mixin-
|
|
9
|
-
import { t as d } from "./row-header-mixin-
|
|
7
|
+
import { t as l } from "./shadow-resets-BplgOKPc.js";
|
|
8
|
+
import { t as u } from "./visibility-mixin-yf02zdEy.js";
|
|
9
|
+
import { t as d } from "./row-header-mixin-CMAyjE-7.js";
|
|
10
10
|
// src/components/lists-and-tables/cells/cell/cell.styles.ts
|
|
11
11
|
var f = a`
|
|
12
12
|
:host {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { r as a, s as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-DNdCDV-Z.js";
|
|
3
|
+
import { r as a, s as o } from "./custom-element-CF94IDoN.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./form-associated-mixin-
|
|
6
|
-
import "./icon-
|
|
7
|
-
import { t as l } from "./described-by-mixin-
|
|
5
|
+
import { t as c } from "./form-associated-mixin-BMdwBjn_.js";
|
|
6
|
+
import "./icon-CoujQk37.js";
|
|
7
|
+
import { t as l } from "./described-by-mixin-6MEe_hOH.js";
|
|
8
8
|
import { t as u } from "./reflect-non-default-DUOcGZKf.js";
|
|
9
9
|
import { t as d } from "./defer-focus-F73ud2D9.js";
|
|
10
10
|
// src/components/inputs/checkbox/checkbox.styles.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as e, n as t, o as n, r, t as i } from "./decorate-
|
|
2
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
1
|
+
import { i as e, n as t, o as n, r, t as i } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { n as a, r as o, s } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { n as l, t as u } from "./form-associated-mixin-
|
|
5
|
-
import { o as d } from "./text-wrap-
|
|
6
|
-
import { t as f } from "./shadow-resets-
|
|
4
|
+
import { n as l, t as u } from "./form-associated-mixin-BMdwBjn_.js";
|
|
5
|
+
import { o as d } from "./text-wrap-EQF-fBi4.js";
|
|
6
|
+
import { t as f } from "./shadow-resets-BplgOKPc.js";
|
|
7
7
|
import { n as p, r as m, t as h } from "./directive-CwRgozUW.js";
|
|
8
|
-
import { i as g, r as _ } from "./directive-helpers-
|
|
9
|
-
import "./checkbox-
|
|
8
|
+
import { i as g, r as _ } from "./directive-helpers-9JM8Li8K.js";
|
|
9
|
+
import "./checkbox-CYR3ChYP.js";
|
|
10
10
|
import { t as v } from "./choice-group-AZsqoheP.js";
|
|
11
|
-
import { t as y } from "./described-by-mixin-
|
|
11
|
+
import { t as y } from "./described-by-mixin-6MEe_hOH.js";
|
|
12
12
|
import { t as b } from "./reflect-non-default-DUOcGZKf.js";
|
|
13
13
|
import { t as x } from "./defer-focus-F73ud2D9.js";
|
|
14
14
|
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-DNdCDV-Z.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-CF94IDoN.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./shadow-resets-
|
|
4
|
+
import { t as o } from "./shadow-resets-BplgOKPc.js";
|
|
5
5
|
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
6
|
import { t as c } from "./defer-focus-F73ud2D9.js";
|
|
7
7
|
import { n as l, t as u } from "./choice-group-AZsqoheP.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as e, s as t } from "./custom-element-
|
|
1
|
+
import { r as e, s as t } from "./custom-element-CF94IDoN.js";
|
|
2
2
|
import { t as n } from "./reflect-non-default-DUOcGZKf.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as r, G as i, L as a, M as o, U as s, r as c, t as l } from "./languages-ksBh8Hul.js";
|
|
4
4
|
import { t as u } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as d } from "./query-ChDzi9FQ.js";
|
|
6
|
-
import { a as f, n as p, o as m, t as h } from "./codemirror-input-
|
|
7
|
-
import { o as g, t as _ } from "./decorate-
|
|
8
|
-
import { t as v } from "./shadow-resets-
|
|
6
|
+
import { a as f, n as p, o as m, t as h } from "./codemirror-input-BRShjOew.js";
|
|
7
|
+
import { o as g, t as _ } from "./decorate-DNdCDV-Z.js";
|
|
8
|
+
import { t as v } from "./shadow-resets-BplgOKPc.js";
|
|
9
9
|
// src/components/inputs/code-editor/code-editor.styles.ts
|
|
10
10
|
var y = t`
|
|
11
11
|
:host {
|
|
@@ -16,8 +16,8 @@ var y = t`
|
|
|
16
16
|
/* # Host */
|
|
17
17
|
|
|
18
18
|
:host {
|
|
19
|
-
--_code-editor-caret-width: var(--
|
|
20
|
-
--_code-editor-caret-color: var(--
|
|
19
|
+
--_code-editor-caret-width: var(--semantics-input-fields-caret-width);
|
|
20
|
+
--_code-editor-caret-color: var(--semantics-input-fields-caret-color);
|
|
21
21
|
--_code-editor-corner-radius: var(--primitives-corner-radius-lg);
|
|
22
22
|
--_code-editor-background-color: var(--semantics-input-fields-background-color);
|
|
23
23
|
--_code-editor-gutter-background-color: var(--_code-editor-background-color);
|
|
@@ -225,7 +225,7 @@ function b(e) {
|
|
|
225
225
|
// src/components/inputs/code-editor/code-editor.ts
|
|
226
226
|
var x = class extends h {
|
|
227
227
|
constructor(...e) {
|
|
228
|
-
super(...e), this.resize = "auto", this.language = "", this.embedded = !1, this.lineNumbers = !1, this.wrap = !1, this.rowsProperty = "--_code-editor-rows", this._wrapCompartment = new
|
|
228
|
+
super(...e), this.resize = "auto", this.language = "", this.embedded = !1, this.lineNumbers = !1, this.wrap = !1, this.rowsProperty = "--_code-editor-rows", this._wrapCompartment = new r(), this._lineNumbersCompartment = new r(), this._languageCompartment = new r();
|
|
229
229
|
}
|
|
230
230
|
getEditorParent() {
|
|
231
231
|
return this._container;
|
|
@@ -234,16 +234,16 @@ var x = class extends h {
|
|
|
234
234
|
return [
|
|
235
235
|
c,
|
|
236
236
|
f(),
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
a(),
|
|
238
|
+
s.of([...p, ...m]),
|
|
239
239
|
...this.inputExtensions(),
|
|
240
|
-
this._wrapCompartment.of(this.wrap ?
|
|
240
|
+
this._wrapCompartment.of(this.wrap ? o.lineWrapping : []),
|
|
241
241
|
this._lineNumbersCompartment.of(this._lineNumbersExtension()),
|
|
242
242
|
this._languageCompartment.of([])
|
|
243
243
|
];
|
|
244
244
|
}
|
|
245
245
|
_lineNumbersExtension() {
|
|
246
|
-
return this.lineNumbers ?
|
|
246
|
+
return this.lineNumbers ? i({ domEventHandlers: { mousedown: (e, t) => (e.dispatch({ selection: { anchor: t.from } }), e.focus(), !0) } }) : [];
|
|
247
247
|
}
|
|
248
248
|
contentAttributes() {
|
|
249
249
|
return {
|
|
@@ -255,7 +255,7 @@ var x = class extends h {
|
|
|
255
255
|
super.onEditorMounted(), this.language && this._applyLanguage();
|
|
256
256
|
}
|
|
257
257
|
updated(e) {
|
|
258
|
-
super.updated(e), this.view && (e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ?
|
|
258
|
+
super.updated(e), this.view && (e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ? o.lineWrapping : []), e.has("lineNumbers") && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("language") && this._applyLanguage());
|
|
259
259
|
}
|
|
260
260
|
async _applyLanguage() {
|
|
261
261
|
let e = this.language;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, r as t, s as n } from "./custom-element-
|
|
1
|
+
import { n as e, r as t, s as n } from "./custom-element-CF94IDoN.js";
|
|
2
2
|
import { t as r } from "./reflect-non-default-DUOcGZKf.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as i, A as a, G as o, H as s, I as c, M as l, N as u, V as d, at as f, i as p, r as m, t as ee, tt as h } from "./languages-ksBh8Hul.js";
|
|
4
4
|
import { t as g } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { o as _, r as v, t as y } from "./decorate-
|
|
6
|
-
import { s as b, t as x } from "./shadow-resets-
|
|
5
|
+
import { o as _, r as v, t as y } from "./decorate-DNdCDV-Z.js";
|
|
6
|
+
import { s as b, t as x } from "./shadow-resets-BplgOKPc.js";
|
|
7
7
|
import { t as te } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import { n as ne } from "./tooltip-
|
|
10
|
-
import { t as S } from "./with-translations-
|
|
8
|
+
import "./icon-button-CghwJ1ZM.js";
|
|
9
|
+
import { n as ne } from "./tooltip-C1qPjhuT.js";
|
|
10
|
+
import { t as S } from "./with-translations-Z7dHTxzy.js";
|
|
11
11
|
import { r as C } from "./element-state-D-J_cHEV.js";
|
|
12
12
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
import { n as T, t as E } from "./layout-pass-B2ALRYc9.js";
|
|
@@ -485,7 +485,7 @@ function A(e) {
|
|
|
485
485
|
}
|
|
486
486
|
return t;
|
|
487
487
|
}
|
|
488
|
-
var j = class extends
|
|
488
|
+
var j = class extends u {
|
|
489
489
|
constructor(e) {
|
|
490
490
|
super(), this.text = e;
|
|
491
491
|
}
|
|
@@ -495,14 +495,14 @@ var j = class extends o {
|
|
|
495
495
|
toDOM() {
|
|
496
496
|
return document.createTextNode(this.text);
|
|
497
497
|
}
|
|
498
|
-
}, M = class extends
|
|
498
|
+
}, M = class extends u {
|
|
499
499
|
constructor(e) {
|
|
500
500
|
super(), this.className = e, this.elementClass = e;
|
|
501
501
|
}
|
|
502
502
|
eq(e) {
|
|
503
503
|
return e.className === this.className;
|
|
504
504
|
}
|
|
505
|
-
}, N = class extends
|
|
505
|
+
}, N = class extends c {
|
|
506
506
|
constructor(e) {
|
|
507
507
|
super(), this.text = e;
|
|
508
508
|
}
|
|
@@ -513,7 +513,7 @@ var j = class extends o {
|
|
|
513
513
|
let e = document.createElement("span");
|
|
514
514
|
return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
|
|
515
515
|
}
|
|
516
|
-
}, P = class extends
|
|
516
|
+
}, P = class extends c {
|
|
517
517
|
constructor(e) {
|
|
518
518
|
super(), this.header = e;
|
|
519
519
|
}
|
|
@@ -541,54 +541,54 @@ function L(e) {
|
|
|
541
541
|
function R(e, t) {
|
|
542
542
|
let { lines: n } = e;
|
|
543
543
|
if (n.length === 0) return [];
|
|
544
|
-
let r = L(n),
|
|
544
|
+
let r = L(n), i = [], o = [];
|
|
545
545
|
n.forEach((e, n) => {
|
|
546
|
-
let
|
|
547
|
-
e.hunk &&
|
|
546
|
+
let s = r[n];
|
|
547
|
+
e.hunk && i.push(a.widget({
|
|
548
548
|
widget: new P(e.hunk),
|
|
549
549
|
block: !0,
|
|
550
550
|
side: -1
|
|
551
|
-
}).range(
|
|
551
|
+
}).range(s)), i.push(a.line({ class: F[e.kind] }).range(s)), e.kind === "added" && i.push(a.widget({
|
|
552
552
|
widget: new N(t.addedLine(e.newNumber)),
|
|
553
553
|
side: -1
|
|
554
|
-
}).range(
|
|
554
|
+
}).range(s)), e.kind === "removed" && i.push(a.widget({
|
|
555
555
|
widget: new N(t.removedLine(e.oldNumber)),
|
|
556
556
|
side: -1
|
|
557
|
-
}).range(
|
|
557
|
+
}).range(s)), o.push(new M(F[e.kind]).range(s));
|
|
558
558
|
});
|
|
559
|
-
let
|
|
559
|
+
let c = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], u = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), p = (e, t) => d({
|
|
560
560
|
class: `cm-diff-gutter cm-diff-${e}-gutter`,
|
|
561
561
|
lineMarker: (e, n) => {
|
|
562
|
-
let r =
|
|
562
|
+
let r = c(e, n), i = r ? t(r) : null;
|
|
563
563
|
return i === null ? null : new j(String(i));
|
|
564
564
|
},
|
|
565
|
-
initialSpacer: () => new j(
|
|
565
|
+
initialSpacer: () => new j(u(t))
|
|
566
566
|
});
|
|
567
567
|
return [
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
568
|
+
l.decorations.of(a.set(i, !0)),
|
|
569
|
+
s.of(f.of(o, !0)),
|
|
570
|
+
p("old", (e) => e.oldNumber),
|
|
571
|
+
p("new", (e) => e.newNumber),
|
|
572
|
+
d({
|
|
573
573
|
class: "cm-diff-gutter cm-diff-sign-gutter",
|
|
574
574
|
lineMarker: (e, t) => {
|
|
575
|
-
let n =
|
|
575
|
+
let n = c(e, t);
|
|
576
576
|
return n && n.kind !== "context" ? new j(I[n.kind]) : null;
|
|
577
577
|
},
|
|
578
578
|
initialSpacer: () => new j("+")
|
|
579
579
|
})
|
|
580
580
|
];
|
|
581
581
|
}
|
|
582
|
-
var z = .5, B =
|
|
582
|
+
var z = .5, B = a.mark({ class: "cm-diff-removed-word" }), V = a.mark({ class: "cm-diff-added-word" });
|
|
583
583
|
async function H(e) {
|
|
584
584
|
let t = A(e.lines);
|
|
585
585
|
if (t.length === 0) return [];
|
|
586
|
-
let { presentableDiff: n } = await import("./dist-
|
|
586
|
+
let { presentableDiff: n } = await import("./dist-Drahkxmv.js"), r = L(e.lines), i = [];
|
|
587
587
|
for (let [a, o] of t) {
|
|
588
588
|
let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
|
|
589
589
|
if (c.length !== 0 && !(c.reduce((e, t) => e + t.toA - t.fromA, 0) + c.reduce((e, t) => e + t.toB - t.fromB, 0) > (t.length + s.length) * z)) for (let e of c) e.toA > e.fromA && i.push(B.range(r[a] + e.fromA, r[a] + e.toA)), e.toB > e.fromB && i.push(V.range(r[o] + e.fromB, r[o] + e.toB));
|
|
590
590
|
}
|
|
591
|
-
return i.length ?
|
|
591
|
+
return i.length ? l.decorations.of(a.set(i, !0)) : [];
|
|
592
592
|
}
|
|
593
593
|
// src/utilities/color-scheme-repaint.ts
|
|
594
594
|
var U = /* @__PURE__ */ new Set(), W = null;
|
|
@@ -622,9 +622,9 @@ var X = new E(Y), Z = T(Y), oe = 300, se = 2e3;
|
|
|
622
622
|
function Q() {
|
|
623
623
|
return typeof window < "u" && window.isSecureContext === !0 && typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function";
|
|
624
624
|
}
|
|
625
|
-
var $ = (J = class extends S(
|
|
625
|
+
var $ = (J = class extends S(p, te) {
|
|
626
626
|
constructor(...e) {
|
|
627
|
-
super(...e), this.appearance = "box-tinted", this.maxHeight = "", this.language = "", this.diff = !1, this.noCopy = !1, this.lineNumbers = !1, this.wrap = !1, this._copyUnavailable = !1, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new
|
|
627
|
+
super(...e), this.appearance = "box-tinted", this.maxHeight = "", this.language = "", this.diff = !1, this.noCopy = !1, this.lineNumbers = !1, this.wrap = !1, this._copyUnavailable = !1, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new i(), this._wrapCompartment = new i(), this._diffCompartment = new i(), this._wordCompartment = new i(), this._lineNumbersCompartment = new i(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null, this._copyPointerType = "", this._onCopyScroll = () => {
|
|
628
628
|
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyState = "idle";
|
|
629
629
|
};
|
|
630
630
|
}
|
|
@@ -636,15 +636,15 @@ var $ = (J = class extends S(d, te) {
|
|
|
636
636
|
}
|
|
637
637
|
buildExtensions() {
|
|
638
638
|
return [
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
639
|
+
m,
|
|
640
|
+
l.editable.of(!1),
|
|
641
|
+
h.readOnly.of(!0),
|
|
642
|
+
l.contentAttributes.of({
|
|
643
643
|
role: "code",
|
|
644
644
|
"aria-multiline": null,
|
|
645
645
|
"aria-readonly": null
|
|
646
646
|
}),
|
|
647
|
-
this._wrapCompartment.of(this.wrap ?
|
|
647
|
+
this._wrapCompartment.of(this.wrap ? l.lineWrapping : []),
|
|
648
648
|
this._languageCompartment.of([]),
|
|
649
649
|
this._diffCompartment.of(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []),
|
|
650
650
|
this._wordCompartment.of([]),
|
|
@@ -686,7 +686,7 @@ var $ = (J = class extends S(d, te) {
|
|
|
686
686
|
e && (Z.unobserveAll(this), Z.observe(e, this)), this._observeSlotText(), this.language && this._applyLanguage(), this._applyWords(), this._scheduleUpdateScrollable();
|
|
687
687
|
}
|
|
688
688
|
updated(e) {
|
|
689
|
-
e.has("_copyState") && (this._stopCopyScroll?.(), this._stopCopyScroll = this._copyState === "idle" ? void 0 : ne(this, this._onCopyScroll)), e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !Q()), e.has("maxHeight") && (this.maxHeight && CSS.supports("max-height", this.maxHeight) ? this.style.setProperty("--_code-viewer-max-height", this.maxHeight) : this.style.removeProperty("--_code-viewer-max-height"), C(this, "invalid-max-height", !!this.maxHeight && !CSS.supports("max-height", this.maxHeight))), this.view && (this._isScrollable && this.view.scrollDOM.setAttribute("aria-label", this._t("components.code-viewer.region-label")), e.has("language") && this._applyLanguage(), e.has("diff") && e.get("diff") !== void 0 && this._applyContent(), (e.has("lineNumbers") && e.get("lineNumbers") !== void 0 || e.has("diff") && e.get("diff") !== void 0) && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("translations") && e.get("translations") !== void 0 && this._parsedDiff && this.reconfigure(this._diffCompartment, this._diffExtension(this._parsedDiff)), e.has("wrap") && (this.reconfigure(this._wrapCompartment, this.wrap ?
|
|
689
|
+
e.has("_copyState") && (this._stopCopyScroll?.(), this._stopCopyScroll = this._copyState === "idle" ? void 0 : ne(this, this._onCopyScroll)), e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !Q()), e.has("maxHeight") && (this.maxHeight && CSS.supports("max-height", this.maxHeight) ? this.style.setProperty("--_code-viewer-max-height", this.maxHeight) : this.style.removeProperty("--_code-viewer-max-height"), C(this, "invalid-max-height", !!this.maxHeight && !CSS.supports("max-height", this.maxHeight))), this.view && (this._isScrollable && this.view.scrollDOM.setAttribute("aria-label", this._t("components.code-viewer.region-label")), e.has("language") && this._applyLanguage(), e.has("diff") && e.get("diff") !== void 0 && this._applyContent(), (e.has("lineNumbers") && e.get("lineNumbers") !== void 0 || e.has("diff") && e.get("diff") !== void 0) && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("translations") && e.get("translations") !== void 0 && this._parsedDiff && this.reconfigure(this._diffCompartment, this._diffExtension(this._parsedDiff)), e.has("wrap") && (this.reconfigure(this._wrapCompartment, this.wrap ? l.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
|
|
690
690
|
}
|
|
691
691
|
_onSlotChange() {
|
|
692
692
|
this._applyContent();
|
|
@@ -707,7 +707,7 @@ var $ = (J = class extends S(d, te) {
|
|
|
707
707
|
}), this._applyWords(), this._scheduleUpdateScrollable(), this.requestUpdate();
|
|
708
708
|
}
|
|
709
709
|
_lineNumbersExtension() {
|
|
710
|
-
return this.lineNumbers && !this.diff ?
|
|
710
|
+
return this.lineNumbers && !this.diff ? o() : [];
|
|
711
711
|
}
|
|
712
712
|
_diffExtension(e) {
|
|
713
713
|
return R(e, {
|