@nldd/design-system 0.29.3 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/custom-elements.json +464 -211
  2. package/dist/assets/styles/shadow-resets.d.ts +22 -7
  3. package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
  4. package/dist/assets/styles/shadow-resets.js +30 -1
  5. package/dist/assets/styles/shadow-resets.js.map +1 -1
  6. package/dist/assets/styles/text-wrap.d.ts +20 -4
  7. package/dist/assets/styles/text-wrap.d.ts.map +1 -1
  8. package/dist/assets/styles/text-wrap.js +27 -5
  9. package/dist/assets/styles/text-wrap.js.map +1 -1
  10. package/dist/cdn/autoloader.js +139 -140
  11. package/dist/cdn/chunks/{accordion-qIt44RLF.js → accordion-BcgFdNtq.js} +4 -4
  12. package/dist/cdn/chunks/{accordion-item-Dc6eccrJ.js → accordion-item-DIoa4wMw.js} +7 -6
  13. package/dist/cdn/chunks/{activity-indicator-D3Trvd26.js → activity-indicator-BmpMwyBH.js} +8 -11
  14. package/dist/cdn/chunks/{admonition-SGAs1_Zu.js → admonition-DUsuT-qK.js} +7 -6
  15. package/dist/cdn/chunks/{avatar-vY0iiAzq.js → avatar-BFnVbTB9.js} +8 -8
  16. package/dist/cdn/chunks/{avatar-group-6fsYuye5.js → avatar-group-BDgLxUn9.js} +16 -16
  17. package/dist/cdn/chunks/{badge-D2QCPBU6.js → badge-CAN4lWcI.js} +32 -30
  18. package/dist/cdn/chunks/{banner-N1LY9uhq.js → banner-BncAmkYl.js} +9 -9
  19. package/dist/cdn/chunks/{bar-split-view-CthxhXh8.js → bar-split-view-hlmRlFit.js} +6 -6
  20. package/dist/cdn/chunks/{blockquote-C-oSxq4b.js → blockquote-DUAwVT6v.js} +33 -32
  21. package/dist/cdn/chunks/{box-B_NqS9H1.js → box-CasAZ5pk.js} +4 -4
  22. package/dist/cdn/chunks/{breadcrumbs-v-nEtdOp.js → breadcrumbs-DBHmoFPu.js} +7 -7
  23. package/dist/cdn/chunks/{button-DHLts-vo.js → button-IRm7Oibq.js} +114 -91
  24. package/dist/cdn/chunks/{button-bar-CPLhSKNo.js → button-bar-CocGraYA.js} +5 -5
  25. package/dist/cdn/chunks/{button-group-BIt4ERX1.js → button-group-BfNf2BZe.js} +4 -4
  26. package/dist/cdn/chunks/{card--GUIZiTn.js → card-BaomP9oB.js} +5 -5
  27. package/dist/cdn/chunks/{cell-Ch6VVWYl.js → cell-Dir3g5vA.js} +8 -8
  28. package/dist/cdn/chunks/{checkbox-BNI1xGry.js → checkbox-CIXkUW3R.js} +7 -7
  29. package/dist/cdn/chunks/{checkbox-field-BPtTyzq-.js → checkbox-field-DQ4MlASP.js} +9 -9
  30. package/dist/cdn/chunks/{checkbox-group-DYElCUgt.js → checkbox-group-C8E46V4D.js} +3 -3
  31. package/dist/cdn/chunks/{class-map-DwD-ilOn.js → class-map-D0fkDSLP.js} +1 -1
  32. package/dist/cdn/chunks/{code-editor-DEJ-KbPY.js → code-editor-C8YqZrN-.js} +16 -6
  33. package/dist/cdn/chunks/{code-viewer-CIiRvhkZ.js → code-viewer-Ck7wxfDo.js} +40 -13
  34. package/dist/cdn/chunks/{codemirror-input-y7sZIE85.js → codemirror-input-DNrSyYSw.js} +142 -143
  35. package/dist/cdn/chunks/{collection-Cb7Ej5Ua.js → collection-DprNdn8V.js} +9 -9
  36. package/dist/cdn/chunks/{combo-box-CDqddeN5.js → combo-box-B2L79FY5.js} +20 -11
  37. package/dist/cdn/chunks/{container-DZfSFaA9.js → container-Cg4kOUN8.js} +85 -84
  38. package/dist/cdn/chunks/{custom-element-aLDsY95V.js → custom-element-CDepWGgp.js} +1 -1
  39. package/dist/cdn/chunks/{date-field-C4xutZpO.js → date-field-Dsw2EkcZ.js} +13 -13
  40. package/dist/cdn/chunks/{date-picker-CtdRwpu7.js → date-picker-ugS3-VBq.js} +17 -19
  41. package/dist/cdn/chunks/{decorate-D28R7mwV.js → decorate-CuJsiFnl.js} +10 -12
  42. package/dist/cdn/chunks/described-by-mixin-Ih_IoqBD.js +106 -0
  43. package/dist/cdn/chunks/{description-cell-BYgUCAev.js → description-cell-DiLwKDva.js} +8 -8
  44. package/dist/cdn/chunks/{dev-checks-C6cMs71h.js → dev-checks-Bfy3qHxO.js} +32 -12
  45. package/dist/cdn/chunks/{directive-helpers-B-J-xMIs.js → directive-helpers-DEvA8txp.js} +1 -1
  46. package/dist/cdn/chunks/{dist-CON6NKtQ.js → dist-BEZuPWxd.js} +78 -79
  47. package/dist/cdn/chunks/{dist-CSUsf3Jq.js → dist-BFGGXlGI.js} +113 -114
  48. package/dist/cdn/chunks/{dist-Dr-gFR08.js → dist-BYPfq6x4.js} +5 -6
  49. package/dist/cdn/chunks/{dist-BxjZtyyd.js → dist-C8wDJyDH.js} +69 -70
  50. package/dist/cdn/chunks/{dist-CHuLNwDW.js → dist-CUXioD4z.js} +296 -297
  51. package/dist/cdn/chunks/{dist-BTUxFM2V.js → dist-Cr0OiT-0.js} +1 -1
  52. package/dist/cdn/chunks/{dist-BpXie73W.js → dist-CrMq7oqC.js} +2 -2
  53. package/dist/cdn/chunks/{dist-Bo5l49Uq.js → dist-DPnEBzju.js} +44 -45
  54. package/dist/cdn/chunks/{dist-Bnz9cU2A.js → dist-Djmp37M0.js} +54 -55
  55. package/dist/cdn/chunks/{dist-CIFs0Nqx.js → dist-DsQS8bTi.js} +33 -34
  56. package/dist/cdn/chunks/{dist-tBRozql6.js → dist-UpdpX10o.js} +88 -89
  57. package/dist/cdn/chunks/{dist-DKy1SqZx.js → dist-cg8p9qPS.js} +17 -18
  58. package/dist/cdn/chunks/{dist-3C80SZN9.js → dist-s2b8iJ30.js} +82 -83
  59. package/dist/cdn/chunks/{divider-CTKk-YoH.js → divider-DeLH4QwC.js} +2 -2
  60. package/dist/cdn/chunks/{document-tab-bar-DY_eja8b.js → document-tab-bar-bOkWFMdJ.js} +11 -14
  61. package/dist/cdn/chunks/{dropdown-CruRvMW9.js → dropdown-C1NBctuB.js} +6 -6
  62. package/dist/cdn/chunks/{file-field-D9iNPYKY.js → file-field-DFjBl7rn.js} +110 -108
  63. package/dist/cdn/chunks/{floating-ui.dom-CB34tcZx.js → floating-ui.dom-DlsknQ4T.js} +3 -3
  64. package/dist/cdn/chunks/{form-actions-BuKwcAbF.js → form-actions-DcsN5H-J.js} +2 -2
  65. package/dist/cdn/chunks/{form-associated-mixin-C1rOeFAh.js → form-associated-mixin-YG9BXK0j.js} +2 -2
  66. package/dist/cdn/chunks/form-field-BWtox2o0.js +414 -0
  67. package/dist/cdn/chunks/form-field.i18n-D-3yEP-C.js +6 -0
  68. package/dist/cdn/chunks/{form-sQRdMSb4.js → form-mkjbjprY.js} +1 -1
  69. package/dist/cdn/chunks/form-section-CLuotkhm.js +78 -0
  70. package/dist/cdn/chunks/{full-bleed-section-DM0pv5Xt.js → full-bleed-section-CZfvZFDs.js} +4 -4
  71. package/dist/cdn/chunks/{hero-C8zDTYdo.js → hero-C_x5gAKl.js} +8 -8
  72. package/dist/cdn/chunks/{icon-CgFQSvEf.js → icon-CeybqndL.js} +6 -4
  73. package/dist/cdn/chunks/{icon-button-ya52TYkO.js → icon-button-BLe-iiU5.js} +67 -64
  74. package/dist/cdn/chunks/{icon-cell-DbqWtIl9.js → icon-cell-DUBctf2q.js} +8 -7
  75. package/dist/cdn/chunks/{identity-DPerpCOw.js → identity-C4FW2LCv.js} +33 -30
  76. package/dist/cdn/chunks/{if-defined-D5G_Kkpm.js → if-defined-DwzUaXrb.js} +1 -1
  77. package/dist/cdn/chunks/{image-eyP-R4JG.js → image-7aQSrryL.js} +24 -23
  78. package/dist/cdn/chunks/{inline-dialog-z7jzLiRx.js → inline-dialog-B9o9ckxL.js} +26 -25
  79. package/dist/cdn/chunks/{just-in-time-education-2O-UcSq5.js → just-in-time-education-C-3THmVJ.js} +7 -7
  80. package/dist/cdn/chunks/{kanban-Dz3KcfW2.js → kanban-BemPSLk8.js} +9 -10
  81. package/dist/cdn/chunks/{kanban-column-DQeIGacj.js → kanban-column-CYZjUBUd.js} +40 -41
  82. package/dist/cdn/chunks/{keyboard-shortcut-CUxShTHr.js → keyboard-shortcut-BK35aEeR.js} +5 -5
  83. package/dist/cdn/chunks/{languages-D_vPs_jY.js → languages-CT6Im_c5.js} +3475 -1841
  84. package/dist/cdn/chunks/{link-emVjLq3i.js → link-Lbw4Ut52.js} +7 -7
  85. package/dist/cdn/chunks/{link-group-Cygt2XBP.js → link-group-B1XXP70E.js} +3 -3
  86. package/dist/cdn/chunks/{list-TKhlBlV_.js → list-D2vWEpYC.js} +11 -11
  87. package/dist/cdn/chunks/{list-item-D2On2ug1.js → list-item-Y0wOQqRa.js} +14 -15
  88. package/dist/cdn/chunks/{list-item-segment-XERq2wPj.js → list-item-segment-BamNSRcL.js} +5 -5
  89. package/dist/cdn/chunks/{menu-b2UFN5q8.js → menu-Cvwt6mA5.js} +13 -13
  90. package/dist/cdn/chunks/{menu-bar-BJ6PjqmT.js → menu-bar-D9Etcq_r.js} +7 -7
  91. package/dist/cdn/chunks/{menu-bar-item-kRxuNXj5.js → menu-bar-item-BUVqi3o-.js} +7 -7
  92. package/dist/cdn/chunks/{menu-divider-Cpa6JbxR.js → menu-divider-BqRMxjF3.js} +4 -4
  93. package/dist/cdn/chunks/{menu-group-DrwvnJ1C.js → menu-group-BSnRGQgm.js} +6 -6
  94. package/dist/cdn/chunks/{menu-item-D7CoiS88.js → menu-item-UQoejlK0.js} +6 -6
  95. package/dist/cdn/chunks/{menu.template-BAqqSWm-.js → menu.template-CewvJO-Y.js} +10 -7
  96. package/dist/cdn/chunks/{modal-dialog-DOZuUmOi.js → modal-dialog-C6XUoI95.js} +5 -5
  97. package/dist/cdn/chunks/{multi-line-text-field-CB-rGXUh.js → multi-line-text-field-4Vn5Nrjo.js} +7 -7
  98. package/dist/cdn/chunks/{navigation-split-view-Bc5AUAmC.js → navigation-split-view-BEwcAHWu.js} +7 -13
  99. package/dist/cdn/chunks/{nl.generated-B194RR-y.js → nl.generated-CrkPlg69.js} +2 -2
  100. package/dist/cdn/chunks/{notification-Cs-f2gLW.js → notification-DxsARz6U.js} +8 -8
  101. package/dist/cdn/chunks/{number-field-DqQOrvOA.js → number-field-wFK_taVU.js} +10 -10
  102. package/dist/cdn/chunks/{one-half-one-half-section-BqiqGK-m.js → one-half-one-half-section-CyedWMlH.js} +4 -4
  103. package/dist/cdn/chunks/{one-third-two-thirds-section-3LPjeo2n.js → one-third-two-thirds-section-LRJlzoAZ.js} +4 -4
  104. package/dist/cdn/chunks/{one-time-code-field-CZxm-CQt.js → one-time-code-field-BYQfRePV.js} +11 -12
  105. package/dist/cdn/chunks/{overflow-menu-DkyYNSg3.js → overflow-menu-BdEHECvL.js} +1 -1
  106. package/dist/cdn/chunks/{page-DYzfOL9K.js → page-DpGgV58g.js} +47 -46
  107. package/dist/cdn/chunks/{page-footer-ChNrnN3t.js → page-footer-DxaWwS8U.js} +6 -6
  108. package/dist/cdn/chunks/{page-section-mixin-7d4JVDUI.js → page-section-mixin-DigQhtVE.js} +4 -4
  109. package/dist/cdn/chunks/{pagination-CYl78pZT.js → pagination-Ch0EdxDX.js} +37 -36
  110. package/dist/cdn/chunks/{password-field-Bg1lsru6.js → password-field-Dm8ah1v8.js} +37 -36
  111. package/dist/cdn/chunks/{popover-jP9P86r3.js → popover-Bhr3Nbst.js} +9 -9
  112. package/dist/cdn/chunks/{progress-bar-C08-J2b3.js → progress-bar-BBpNc1Wm.js} +11 -12
  113. package/dist/cdn/chunks/{progress-circle-_NDiM4Vw.js → progress-circle-DfbawfeQ.js} +9 -9
  114. package/dist/cdn/chunks/{radio-button-OdrY0lUT.js → radio-button-D_KTcIAN.js} +6 -6
  115. package/dist/cdn/chunks/{radio-button-field-C8XD59fa.js → radio-button-field-H_NQqcZp.js} +8 -8
  116. package/dist/cdn/chunks/{radio-button-group-C7ntRQO7.js → radio-button-group-kbaWn4YY.js} +3 -3
  117. package/dist/cdn/chunks/{reflect-non-default-Bu3rpCvg.js → reflect-non-default-DUOcGZKf.js} +1 -1
  118. package/dist/cdn/chunks/{render-marked-Cdt8DyWh.js → render-marked-DnJwRVpy.js} +1 -1
  119. package/dist/cdn/chunks/{reorder-handle-cell-C6q1_RaE.js → reorder-handle-cell-BI4CugME.js} +5 -5
  120. package/dist/cdn/chunks/{reorder-handle-mixin-mJLOiHhZ.js → reorder-handle-mixin-LPcbGhhD.js} +2 -2
  121. package/dist/cdn/chunks/{repeat-DLQZAi6Q.js → repeat-BBqtniIo.js} +2 -2
  122. package/dist/cdn/chunks/{rich-text-CR5iRjCn.js → rich-text-xlU1NiF6.js} +4 -4
  123. package/dist/cdn/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
  124. package/dist/cdn/chunks/{row-header-mixin-BUn7AC4_.js → row-header-mixin-CyqWb67i.js} +2 -2
  125. package/dist/cdn/chunks/{scroll-fade-B7Gy3Bmm.js → scroll-fade-CTn6QJuM.js} +2 -2
  126. package/dist/cdn/chunks/{search-field-B62sYRtl.js → search-field-OpYujGwS.js} +41 -38
  127. package/dist/cdn/chunks/{segmented-control-VU38x7xX.js → segmented-control-8NtY_sU6.js} +8 -8
  128. package/dist/cdn/chunks/{shadow-resets-uUyDr3ia.js → shadow-resets-CtbMaZlz.js} +26 -11
  129. package/dist/cdn/chunks/{sheet-jMZkPdlu.js → sheet-C_biEFcb.js} +4 -4
  130. package/dist/cdn/chunks/{shell-2Wa4Waez.js → shell-OXRr3zFb.js} +4 -4
  131. package/dist/cdn/chunks/{side-by-side-split-view-v6riuRqk.js → side-by-side-split-view-DVXrHULp.js} +6 -6
  132. package/dist/cdn/chunks/{sidebar-section-D3Zy_9y1.js → sidebar-section-DYa_6OWF.js} +9 -9
  133. package/dist/cdn/chunks/{simple-section-kCKeHqmt.js → simple-section-CGUSyUAl.js} +4 -4
  134. package/dist/cdn/chunks/{skip-link-BeoObN4D.js → skip-link-Dl2ouKZk.js} +6 -6
  135. package/dist/cdn/chunks/{slider-BSALXKxX.js → slider-Do-LOJNR.js} +13 -17
  136. package/dist/cdn/chunks/{spacer-CXXmb3su.js → spacer-BgHrBz2X.js} +4 -4
  137. package/dist/cdn/chunks/{spacer-cell-BV9uv10a.js → spacer-cell-CiQ8Ufpp.js} +6 -6
  138. package/dist/cdn/chunks/{split-button-DE4NaJZs.js → split-button-Sd_-qYSD.js} +8 -8
  139. package/dist/cdn/chunks/{split-view-divider-BqLSYIwg.js → split-view-divider-D1TzV2VR.js} +4 -4
  140. package/dist/cdn/chunks/{stacked-split-view-CPCCQhHV.js → stacked-split-view-Ctlqwe0S.js} +6 -6
  141. package/dist/cdn/chunks/{static-html-DtH5-I4g.js → static-html-C8oeEnJZ.js} +1 -1
  142. package/dist/cdn/chunks/{status-bar-CBi4aCqy.js → status-bar-u2SmYnKZ.js} +14 -6
  143. package/dist/cdn/chunks/{step-bar-BFzioHLn.js → step-bar-BA852p33.js} +7 -7
  144. package/dist/cdn/chunks/{step-cell-fNIdX1cI.js → step-cell-DF9xadrF.js} +6 -6
  145. package/dist/cdn/chunks/{stepper-CgmgV0qw.js → stepper-dRpkKCse.js} +9 -9
  146. package/dist/cdn/chunks/{style-map-DhI1E0EI.js → style-map-eCE91iAi.js} +1 -1
  147. package/dist/cdn/chunks/{swatch-picker-BYb0cq8H.js → swatch-picker-Bjv3Yyk1.js} +7 -7
  148. package/dist/cdn/chunks/{switch-fRxqZBKc.js → switch-DJBzXPfD.js} +7 -7
  149. package/dist/cdn/chunks/{switch-field-BH6xhWUz.js → switch-field-uMAxSz6L.js} +8 -8
  150. package/dist/cdn/chunks/{tab-bar-B66obS2x.js → tab-bar-DLHqLs6Y.js} +21 -17
  151. package/dist/cdn/chunks/tab-bar.i18n-9sChoP56.js +6 -0
  152. package/dist/cdn/chunks/{table-s8GDKuuW.js → table-BLvkO5AG.js} +6 -6
  153. package/dist/cdn/chunks/{tag-TE8mlX1U.js → tag-DYhl2u2I.js} +6 -6
  154. package/dist/cdn/chunks/{term-Cm9BrUtJ.js → term-D79d-lz3.js} +12 -12
  155. package/dist/cdn/chunks/{text-cell-DxzojZsc.js → text-cell-BbVoThab.js} +42 -39
  156. package/dist/cdn/chunks/{text-editor-C_8jEhF2.js → text-editor-dZhei5Gg.js} +24 -14
  157. package/dist/cdn/chunks/{text-field-BgPlCLFl.js → text-field-DmKGVJvm.js} +7 -7
  158. package/dist/cdn/chunks/{text-DEk52Hq2.js → text-kRZ3cyId.js} +5 -5
  159. package/dist/cdn/chunks/{text-wrap-DjzB16-4.js → text-wrap-C6QQbSuj.js} +13 -5
  160. package/dist/cdn/chunks/{time-field-Sde0_8NH.js → time-field-BXVxhV80.js} +15 -15
  161. package/dist/cdn/chunks/{time-picker-CZbLW9ap.js → time-picker-BjJfPmir.js} +9 -9
  162. package/dist/cdn/chunks/{title-v-FXk0hs.js → title-DsOLSMHj.js} +6 -6
  163. package/dist/cdn/chunks/{title-cell-Bv9b6G_p.js → title-cell-DXcur6Eb.js} +52 -49
  164. package/dist/cdn/chunks/{toggle-button-DWlS9Rbg.js → toggle-button-7fasRpr1.js} +73 -57
  165. package/dist/cdn/chunks/{toggle-button-group-CetB0Cio.js → toggle-button-group-B9No_FIj.js} +3 -3
  166. package/dist/cdn/chunks/{token-BXJXjQwc.js → token-BYCl-dDP.js} +7 -7
  167. package/dist/cdn/chunks/{token-field-CsxYfu8b.js → token-field-C9fGsIxB.js} +11 -11
  168. package/dist/cdn/chunks/{toolbar-CUWVCKM6.js → toolbar-CBs6yMNd.js} +70 -69
  169. package/dist/cdn/chunks/{toolbar-item-BxzbSJdv.js → toolbar-item-DYVo5I60.js} +5 -8
  170. package/dist/cdn/chunks/{toolbar-title-C4qJ_fkM.js → toolbar-title-Bu5PbFPP.js} +5 -5
  171. package/dist/cdn/chunks/{toolbar.styles-D9FuZFnd.js → toolbar.styles-BUS-XIdr.js} +4 -3
  172. package/dist/cdn/chunks/{tooltip-D5XT5lRe.js → tooltip-yXDfEbZ1.js} +8 -8
  173. package/dist/cdn/chunks/{top-navigation-bar-C3azLUd1.js → top-navigation-bar-DW6xYKY0.js} +19 -19
  174. package/dist/cdn/chunks/{top-title-bar-D1m-dREA.js → top-title-bar-Fk4jzs8I.js} +12 -9
  175. package/dist/cdn/chunks/{two-thirds-one-third-section-D3VEGv6P.js → two-thirds-one-third-section-B9a1YYXm.js} +4 -4
  176. package/dist/cdn/chunks/{validation-list-D7tDyaoK.js → validation-list-BAyP6Ccd.js} +61 -49
  177. package/dist/cdn/chunks/{visibility-mixin-D2VzUDfE.js → visibility-mixin-9Nr_J68Z.js} +2 -2
  178. package/dist/cdn/chunks/{visually-hidden-CSYlyubF.js → visually-hidden-BN6jVrRE.js} +2 -2
  179. package/dist/cdn/chunks/{window-6IQfu4dU.js → window-D4rLzdHo.js} +5 -5
  180. package/dist/cdn/chunks/{with-translations-Dr6Z41n9.js → with-translations-RkK-Bq8M.js} +3 -3
  181. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  182. package/dist/components/actions/button/button.styles.js +26 -7
  183. package/dist/components/actions/button/button.styles.js.map +1 -1
  184. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  185. package/dist/components/actions/button/button.template.js +7 -5
  186. package/dist/components/actions/button/button.template.js.map +1 -1
  187. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  188. package/dist/components/actions/icon-button/icon-button.styles.js +4 -2
  189. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  190. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  191. package/dist/components/actions/icon-button/icon-button.template.js +4 -2
  192. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  193. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  194. package/dist/components/actions/menu/menu.styles.js +4 -1
  195. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  196. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  197. package/dist/components/actions/toolbar/toolbar-item.js +1 -7
  198. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  199. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  200. package/dist/components/actions/toolbar/toolbar.styles.js +1 -0
  201. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  202. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  203. package/dist/components/actions/toolbar/toolbar.template.js +2 -1
  204. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  205. package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
  206. package/dist/components/content/accordion/accordion-item.styles.js +1 -0
  207. package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
  208. package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
  209. package/dist/components/content/admonition/admonition.styles.js +1 -0
  210. package/dist/components/content/admonition/admonition.styles.js.map +1 -1
  211. package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
  212. package/dist/components/content/blockquote/blockquote.template.js +2 -1
  213. package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
  214. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  215. package/dist/components/content/code-viewer/code-viewer.styles.js +30 -3
  216. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  217. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  218. package/dist/components/content/icon/icon-aliases.js +4 -0
  219. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  220. package/dist/components/content/identity/identity.d.ts +14 -5
  221. package/dist/components/content/identity/identity.d.ts.map +1 -1
  222. package/dist/components/content/identity/identity.js +14 -5
  223. package/dist/components/content/identity/identity.js.map +1 -1
  224. package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
  225. package/dist/components/content/identity/identity.styles.js +6 -3
  226. package/dist/components/content/identity/identity.styles.js.map +1 -1
  227. package/dist/components/content/image/image.template.d.ts.map +1 -1
  228. package/dist/components/content/image/image.template.js +9 -8
  229. package/dist/components/content/image/image.template.js.map +1 -1
  230. package/dist/components/content/rich-text/rich-text.d.ts +8 -6
  231. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  232. package/dist/components/content/rich-text/rich-text.js +8 -6
  233. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  234. package/dist/components/content/text/text.d.ts +2 -0
  235. package/dist/components/content/text/text.d.ts.map +1 -1
  236. package/dist/components/content/text/text.js +2 -0
  237. package/dist/components/content/text/text.js.map +1 -1
  238. package/dist/components/forms/form-field/form-field.d.ts +138 -73
  239. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  240. package/dist/components/forms/form-field/form-field.i18n.d.ts +1 -0
  241. package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -1
  242. package/dist/components/forms/form-field/form-field.i18n.js +2 -0
  243. package/dist/components/forms/form-field/form-field.i18n.js.map +1 -1
  244. package/dist/components/forms/form-field/form-field.js +317 -149
  245. package/dist/components/forms/form-field/form-field.js.map +1 -1
  246. package/dist/components/forms/form-field/form-field.styles.d.ts +0 -1
  247. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  248. package/dist/components/forms/form-field/form-field.styles.js +27 -97
  249. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  250. package/dist/components/forms/form-field/form-field.template.d.ts +0 -2
  251. package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
  252. package/dist/components/forms/form-field/form-field.template.js +22 -15
  253. package/dist/components/forms/form-field/form-field.template.js.map +1 -1
  254. package/dist/components/forms/form-section/form-section.d.ts +40 -16
  255. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  256. package/dist/components/forms/form-section/form-section.js +47 -183
  257. package/dist/components/forms/form-section/form-section.js.map +1 -1
  258. package/dist/components/forms/form-section/form-section.styles.d.ts +2 -0
  259. package/dist/components/forms/form-section/form-section.styles.d.ts.map +1 -0
  260. package/dist/components/forms/form-section/form-section.styles.js +44 -0
  261. package/dist/components/forms/form-section/form-section.styles.js.map +1 -0
  262. package/dist/components/forms/form-section/form-section.template.d.ts +4 -0
  263. package/dist/components/forms/form-section/form-section.template.d.ts.map +1 -0
  264. package/dist/components/forms/form-section/form-section.template.js +19 -0
  265. package/dist/components/forms/form-section/form-section.template.js.map +1 -0
  266. package/dist/components/forms/validation-list/validation-list.d.ts +36 -6
  267. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  268. package/dist/components/forms/validation-list/validation-list.js +75 -15
  269. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  270. package/dist/components/forms/validation-list/validation-list.template.d.ts +1 -1
  271. package/dist/components/forms/validation-list/validation-list.template.d.ts.map +1 -1
  272. package/dist/components/forms/validation-list/validation-list.template.js +2 -2
  273. package/dist/components/forms/validation-list/validation-list.template.js.map +1 -1
  274. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  275. package/dist/components/inputs/code-editor/code-editor.styles.js +10 -0
  276. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  277. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  278. package/dist/components/inputs/combo-box/combo-box.styles.js +10 -1
  279. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  280. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
  281. package/dist/components/inputs/date-picker/date-picker.template.js +4 -6
  282. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  283. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  284. package/dist/components/inputs/file-field/file-field.styles.js +3 -2
  285. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  286. package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
  287. package/dist/components/inputs/file-field/file-field.template.js +8 -8
  288. package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
  289. package/dist/components/inputs/file-field/file-field.truncate.d.ts +4 -3
  290. package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
  291. package/dist/components/inputs/file-field/file-field.truncate.js +8 -5
  292. package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
  293. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +1 -1
  294. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  295. package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
  296. package/dist/components/inputs/password-field/password-field.template.js +2 -1
  297. package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
  298. package/dist/components/inputs/search-field/search-field.d.ts +3 -0
  299. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  300. package/dist/components/inputs/search-field/search-field.js +7 -6
  301. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  302. package/dist/components/inputs/slider/slider.template.js +2 -2
  303. package/dist/components/inputs/slider/slider.template.js.map +1 -1
  304. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  305. package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -1
  306. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  307. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  308. package/dist/components/inputs/text-editor/text-editor.styles.js +10 -0
  309. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  310. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  311. package/dist/components/inputs/toggle-button/toggle-button.styles.js +18 -3
  312. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  313. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  314. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -3
  315. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  316. package/dist/components/layout/container/container.template.d.ts.map +1 -1
  317. package/dist/components/layout/container/container.template.js +2 -1
  318. package/dist/components/layout/container/container.template.js.map +1 -1
  319. package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -1
  320. package/dist/components/layout/kanban/kanban-column.template.js +5 -7
  321. package/dist/components/layout/kanban/kanban-column.template.js.map +1 -1
  322. package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -1
  323. package/dist/components/layout/kanban/kanban.template.js +2 -3
  324. package/dist/components/layout/kanban/kanban.template.js.map +1 -1
  325. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  326. package/dist/components/layout/page/page.template.js +3 -2
  327. package/dist/components/layout/page/page.template.js.map +1 -1
  328. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -0
  329. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  330. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +11 -0
  331. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  332. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -0
  333. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  334. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -0
  335. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  336. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -2
  337. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  338. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +3 -2
  339. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  340. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
  341. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  342. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  343. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +2 -1
  344. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  345. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +1 -0
  346. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  347. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +1 -0
  348. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  349. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +13 -13
  350. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +13 -13
  351. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  352. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
  353. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  354. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +8 -4
  355. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  356. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -4
  357. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  358. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  359. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
  360. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  361. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  362. package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -8
  363. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  364. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
  365. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  366. package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
  367. package/dist/components/navigation/pagination/pagination.template.js +3 -2
  368. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  369. package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -0
  370. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  371. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts +1 -0
  372. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts.map +1 -1
  373. package/dist/components/navigation/tab-bar/tab-bar.i18n.js +1 -0
  374. package/dist/components/navigation/tab-bar/tab-bar.i18n.js.map +1 -1
  375. package/dist/components/navigation/tab-bar/tab-bar.js +16 -0
  376. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  377. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  378. package/dist/components/navigation/tab-bar/tab-bar.template.js +3 -2
  379. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  380. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  381. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  382. package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -1
  383. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  384. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
  385. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +2 -3
  386. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
  387. package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
  388. package/dist/components/status-and-feedback/badge/badge.template.js +3 -7
  389. package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
  390. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
  391. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +3 -4
  392. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
  393. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
  394. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -3
  395. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  396. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -6
  397. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  398. package/dist/components/status-and-feedback/status-bar/status-bar.js +28 -7
  399. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  400. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +1 -1
  401. package/dist/components/status-and-feedback/step-bar/step-bar.js +1 -1
  402. package/dist/css/form.css +14 -0
  403. package/dist/css/global-open-font.css +0 -1
  404. package/dist/css/global.css +0 -1
  405. package/dist/css/rich-text.css +21 -4
  406. package/dist/css/text.css +3 -1
  407. package/dist/css/title.css +3 -1
  408. package/dist/css/variables.css +5 -0
  409. package/dist/nldd.min.js +1926 -1804
  410. package/dist/translations/en-US.d.ts.map +1 -1
  411. package/dist/translations/en-US.js +2 -0
  412. package/dist/translations/en-US.js.map +1 -1
  413. package/dist/translations/fy.d.ts.map +1 -1
  414. package/dist/translations/fy.js +2 -0
  415. package/dist/translations/fy.js.map +1 -1
  416. package/dist/translations/nl.generated.d.ts +2 -0
  417. package/dist/translations/nl.generated.d.ts.map +1 -1
  418. package/dist/translations/pap-AW.d.ts.map +1 -1
  419. package/dist/translations/pap-AW.js +2 -0
  420. package/dist/translations/pap-AW.js.map +1 -1
  421. package/dist/translations/pap-CW.d.ts.map +1 -1
  422. package/dist/translations/pap-CW.js +2 -0
  423. package/dist/translations/pap-CW.js.map +1 -1
  424. package/dist/types/react.d.ts +20 -25
  425. package/dist/types/vue.d.ts +79 -84
  426. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  427. package/dist/utilities/autoloader.generated.js +0 -1
  428. package/dist/utilities/autoloader.generated.js.map +1 -1
  429. package/dist/utilities/described-by-mixin.d.ts +36 -1
  430. package/dist/utilities/described-by-mixin.d.ts.map +1 -1
  431. package/dist/utilities/described-by-mixin.js +132 -8
  432. package/dist/utilities/described-by-mixin.js.map +1 -1
  433. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  434. package/dist/utilities/dev-rules.generated.js +33 -14
  435. package/dist/utilities/dev-rules.generated.js.map +1 -1
  436. package/dist/utilities/file-name-breaks.d.ts +13 -0
  437. package/dist/utilities/file-name-breaks.d.ts.map +1 -0
  438. package/dist/utilities/file-name-breaks.js +27 -0
  439. package/dist/utilities/file-name-breaks.js.map +1 -0
  440. package/dist/utilities/reflect-non-default.d.ts +2 -1
  441. package/dist/utilities/reflect-non-default.d.ts.map +1 -1
  442. package/dist/utilities/reflect-non-default.js +3 -2
  443. package/dist/utilities/reflect-non-default.js.map +1 -1
  444. package/dist/utilities/same-items.d.ts +10 -0
  445. package/dist/utilities/same-items.d.ts.map +1 -0
  446. package/dist/utilities/same-items.js +14 -0
  447. package/dist/utilities/same-items.js.map +1 -0
  448. package/lint/data.generated.json +1 -1
  449. package/lint/fix.js +49 -6
  450. package/lint/rule-compiler.js +7 -3
  451. package/lint/rule.schema.json +12 -0
  452. package/package.json +7 -6
  453. package/dist/cdn/chunks/described-by-mixin-k3KNxaZ2.js +0 -62
  454. package/dist/cdn/chunks/form-field-BF-6cws6.js +0 -434
  455. package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +0 -3
  456. package/dist/cdn/chunks/form-section-Cp9xiFew.js +0 -64
  457. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +0 -1583
  458. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +0 -3
  459. package/dist/css/form-section.css +0 -104
@@ -1,13 +1,13 @@
1
- import { n as e, r as t, s as n } from "./custom-element-aLDsY95V.js";
2
- import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
3
- import { B as i, F as a, M as o, Q as s, V as c, W as l, et as u, i as d, it as f, j as p, k as m, r as h, t as ee } from "./languages-D_vPs_jY.js";
1
+ import { n as e, r as t, s as n } from "./custom-element-CDepWGgp.js";
2
+ import { t as r } from "./reflect-non-default-DUOcGZKf.js";
3
+ import { B as i, F as a, M as o, Q as s, V as c, W as l, et as u, i as d, it as f, j as p, k as m, r as h, t as ee } from "./languages-CT6Im_c5.js";
4
4
  import { t as g } from "./custom-element-BW8Ua4c7.js";
5
- import { o as _, r as v, t as y } from "./decorate-D28R7mwV.js";
6
- import { o as b, t as x } from "./shadow-resets-uUyDr3ia.js";
5
+ import { o as _, r as v, t as y } from "./decorate-CuJsiFnl.js";
6
+ import { s as b, t as x } from "./shadow-resets-CtbMaZlz.js";
7
7
  import { t as te } from "./code-viewer.i18n-BHfSDRbK.js";
8
- import "./icon-button-ya52TYkO.js";
9
- import { n as ne } from "./tooltip-D5XT5lRe.js";
10
- import { t as S } from "./with-translations-Dr6Z41n9.js";
8
+ import "./icon-button-BLe-iiU5.js";
9
+ import { n as ne } from "./tooltip-yXDfEbZ1.js";
10
+ import { t as S } from "./with-translations-RkK-Bq8M.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";
@@ -37,6 +37,10 @@ var re = n`
37
37
  --_code-viewer-actions-gap: var(--primitives-space-8);
38
38
  --_code-viewer-actions-area-size: calc(var(--_code-viewer-actions-button-size) + var(--_code-viewer-actions-area-padding) * 2);
39
39
  --_code-viewer-actions-z-index: 1;
40
+ --_code-viewer-actions-fade-color: var(--_code-viewer-background-color);
41
+ --_code-viewer-actions-fade-size: var(--primitives-space-24);
42
+ /* Extra padding at the end of the lines while the code overflows: room for the fade. */
43
+ --_code-viewer-overflow-padding-right: var(--primitives-space-0);
40
44
  --_code-viewer-highlight-border-z-index: 1;
41
45
  --_code-viewer-max-height: none;
42
46
  --_code-viewer-diff-added-background-color: light-dark(var(--primitives-color-success-100), var(--primitives-color-success-200));
@@ -75,6 +79,7 @@ var re = n`
75
79
  }
76
80
 
77
81
  :host([appearance="simple"]) {
82
+ --_code-viewer-actions-fade-color: var(--context-background-color);
78
83
  --_code-viewer-corner-radius: 0;
79
84
  --_code-viewer-background-color: transparent;
80
85
  --_code-viewer-highlight-border-color: transparent;
@@ -127,7 +132,7 @@ var re = n`
127
132
  }
128
133
 
129
134
  :host(:not([no-copy]):not([copy-unavailable])) .code-viewer .cm-scroller .cm-content {
130
- padding-right: var(--_code-viewer-actions-area-size);
135
+ padding-right: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-overflow-padding-right));
131
136
  }
132
137
 
133
138
  :host([appearance="simple"]:not([no-copy]):not([copy-unavailable])) {
@@ -135,7 +140,7 @@ var re = n`
135
140
  }
136
141
 
137
142
  :host([appearance="simple"]:not([no-copy]):not([copy-unavailable])) .code-viewer .cm-scroller .cm-content {
138
- padding-right: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-actions-gap));
143
+ padding-right: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-actions-gap) + var(--_code-viewer-overflow-padding-right));
139
144
  }
140
145
 
141
146
  /* The horizontally-scrollable region is CodeMirror's scroller; it gets
@@ -202,7 +207,7 @@ var re = n`
202
207
  }
203
208
 
204
209
  :host([diff]:not([no-copy]):not([copy-unavailable])) .cm-line {
205
- padding-right: var(--_code-viewer-actions-area-size);
210
+ padding-right: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-overflow-padding-right));
206
211
  }
207
212
 
208
213
  /* The gutters stay put while the code scrolls sideways under them. The
@@ -340,6 +345,28 @@ var re = n`
340
345
  z-index: var(--_code-viewer-actions-z-index);
341
346
  }
342
347
 
348
+ /* Code that scrolls passes under the button. From the corner the button
349
+ sits in, the surface fades in over it, so a line neither runs into the
350
+ button nor stops short at a hard edge. Only while the code overflows:
351
+ otherwise no line reaches this corner, and the fade would only dim the
352
+ end of a line that fits. */
353
+ /* Scrolled to its end, a line stops before the fade, not under it. */
354
+ .code-viewer:has(.cm-scroller[tabindex]) {
355
+ --_code-viewer-overflow-padding-right: var(--_code-viewer-actions-fade-size);
356
+ }
357
+
358
+ .code-viewer:has(.cm-scroller[tabindex]) .code-viewer__actions::before {
359
+ content: '';
360
+ position: absolute;
361
+ top: calc(var(--_code-viewer-actions-area-padding) * -1);
362
+ right: calc(var(--_code-viewer-actions-area-padding) * -1);
363
+ z-index: -1;
364
+ width: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-actions-fade-size));
365
+ height: calc(var(--_code-viewer-actions-area-size) + var(--_code-viewer-actions-fade-size));
366
+ background: radial-gradient(farthest-side at top right, var(--_code-viewer-actions-fade-color) 70%, transparent);
367
+ pointer-events: none;
368
+ }
369
+
343
370
  .code-viewer__live-region {
344
371
  ${b}
345
372
  }
@@ -402,7 +429,7 @@ function ae(e) {
402
429
  return n.some((e, t) => e.startsWith("--- ") && n[t + 1]?.startsWith("+++ ")) ? e.slice(t) : e;
403
430
  }
404
431
  function k(e) {
405
- let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => D.test(e)), r = n ? t : ae(t), i = [], a = 1, o = 1, s = n ? 0 : Infinity, c = n ? 0 : Infinity, l = null, u = 0, d = 0, f = !1, p = 0;
432
+ let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => D.test(e)), r = n ? t : ae(t), i = [], a = 1, o = 1, s = n ? 0 : 1e400, c = n ? 0 : 1e400, l = null, u = 0, d = 0, f = !1, p = 0;
406
433
  for (let e of r) {
407
434
  let t = D.exec(e);
408
435
  if (t) {
@@ -556,7 +583,7 @@ var z = .5, B = m.mark({ class: "cm-diff-removed-word" }), V = m.mark({ class: "
556
583
  async function H(e) {
557
584
  let t = A(e.lines);
558
585
  if (t.length === 0) return [];
559
- let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = L(e.lines), i = [];
586
+ let { presentableDiff: n } = await import("./dist-Cr0OiT-0.js"), r = L(e.lines), i = [];
560
587
  for (let [a, o] of t) {
561
588
  let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
562
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));
@@ -1,10 +1,9 @@
1
- import { l as e } from "./style-mod-DGMhzWuk.js";
2
- import { $ as t, A as n, C as r, E as i, K as a, O as o, Q as s, X as c, Y as l, Z as u, b as d, ct as f, et as p, ht as m, i as ee, j as h, lt as te, mt as g, o as ne, pt as re, st as ie, tt as ae, ut as _, w as oe, x as se } from "./languages-D_vPs_jY.js";
3
- import { r as v } from "./custom-element-aLDsY95V.js";
4
- import { n as ce, t as y } from "./decorate-D28R7mwV.js";
5
- import { t as le } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as ue } from "./described-by-mixin-k3KNxaZ2.js";
7
- import { t as de } from "./form-associated-mixin-C1rOeFAh.js";
1
+ import { $ as e, A as t, C as n, E as r, K as i, O as a, Q as o, St as s, X as c, Y as l, Z as u, b as d, ct as f, et as p, ht as m, i as ee, j as h, lt as te, mt as g, o as ne, pt as re, st as ie, tt as ae, ut as _, w as oe, x as se } from "./languages-CT6Im_c5.js";
2
+ import { r as v } from "./custom-element-CDepWGgp.js";
3
+ import { n as ce, t as y } from "./decorate-CuJsiFnl.js";
4
+ import { t as le } from "./reflect-non-default-DUOcGZKf.js";
5
+ import { t as ue } from "./described-by-mixin-Ih_IoqBD.js";
6
+ import { t as de } from "./form-associated-mixin-YG9BXK0j.js";
8
7
  // node_modules/@codemirror/commands/dist/index.js
9
8
  var fe = (e) => {
10
9
  let { state: t } = e, n = t.doc.lineAt(t.selection.main.from), r = x(e.state, n.from);
@@ -91,11 +90,11 @@ function ve(e, t, n = t.selection.ranges) {
91
90
  }
92
91
  function ye(e, t, n = t.selection.ranges) {
93
92
  let r = [], i = -1;
94
- ranges: for (let { from: e, to: a } of n) {
93
+ e: for (let { from: e, to: a } of n) {
95
94
  let n = r.length, o = 1e9, s;
96
95
  for (let n = e; n <= a;) {
97
96
  let c = t.doc.lineAt(n);
98
- if (s == null && (s = x(t, c.from).line, !s)) continue ranges;
97
+ if (s == null && (s = x(t, c.from).line, !s)) continue e;
99
98
  if (c.from > i && (e == a || a > c.from)) {
100
99
  i = c.from;
101
100
  let e = /^\s*/.exec(c.text)[0].length, t = e == c.length, n = c.text.slice(e, e + s.length) == s ? e : -1;
@@ -201,12 +200,12 @@ function Ee(e) {
201
200
  return r.length - (r.length && !r[0].changes ? 1 : 0);
202
201
  };
203
202
  }
204
- var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class e {
203
+ var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class t {
205
204
  constructor(e, t, n, r, i) {
206
205
  this.changes = e, this.effects = t, this.mapped = n, this.startSelection = r, this.selectionsAfter = i;
207
206
  }
208
- setSelAfter(t) {
209
- return new e(this.changes, this.effects, this.mapped, this.startSelection, t);
207
+ setSelAfter(e) {
208
+ return new t(this.changes, this.effects, this.mapped, this.startSelection, e);
210
209
  }
211
210
  toJSON() {
212
211
  return {
@@ -217,18 +216,18 @@ var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class e {
217
216
  };
218
217
  }
219
218
  static fromJSON(n) {
220
- return new e(n.changes && u.fromJSON(n.changes), [], n.mapped && c.fromJSON(n.mapped), n.startSelection && t.fromJSON(n.startSelection), n.selectionsAfter.map(t.fromJSON));
219
+ return new t(n.changes && u.fromJSON(n.changes), [], n.mapped && c.fromJSON(n.mapped), n.startSelection && e.fromJSON(n.startSelection), n.selectionsAfter.map(e.fromJSON));
221
220
  }
222
- static fromTransaction(t, n) {
221
+ static fromTransaction(e, n) {
223
222
  let r = j;
224
- for (let e of t.startState.facet(xe)) {
225
- let n = e(t);
223
+ for (let t of e.startState.facet(xe)) {
224
+ let n = t(e);
226
225
  n.length && (r = r.concat(n));
227
226
  }
228
- return !r.length && t.changes.empty ? null : new e(t.changes.invert(t.startState.doc), r, void 0, n || t.startState.selection, j);
227
+ return !r.length && e.changes.empty ? null : new t(e.changes.invert(e.startState.doc), r, void 0, n || e.startState.selection, j);
229
228
  }
230
- static selection(t) {
231
- return new e(void 0, j, void 0, void 0, t);
229
+ static selection(e) {
230
+ return new t(void 0, j, void 0, void 0, e);
232
231
  }
233
232
  };
234
233
  function k(e, t, n, r) {
@@ -362,8 +361,8 @@ var Ie = [
362
361
  preventDefault: !0
363
362
  }
364
363
  ];
365
- function P(e, n) {
366
- return t.create(e.ranges.map(n), e.mainIndex);
364
+ function P(t, n) {
365
+ return e.create(t.ranges.map(n), t.mainIndex);
367
366
  }
368
367
  function F(e, t) {
369
368
  return e.update({
@@ -376,14 +375,14 @@ function I({ state: e, dispatch: t }, n) {
376
375
  let r = P(e.selection, n);
377
376
  return !r.eq(e.selection, !0) && (t(F(e, r)), !0);
378
377
  }
379
- function L(e, n) {
380
- return t.cursor(n ? e.to : e.from);
378
+ function L(t, n) {
379
+ return e.cursor(n ? t.to : t.from);
381
380
  }
382
381
  function Le(e, t) {
383
382
  return I(e, (n) => n.empty ? e.moveByChar(n, t) : L(n, t));
384
383
  }
385
384
  function R(e) {
386
- return e.textDirectionAt(e.state.selection.main.head) == n.LTR;
385
+ return e.textDirectionAt(e.state.selection.main.head) == t.LTR;
387
386
  }
388
387
  var Re = (e) => Le(e, !R(e)), z = (e) => Le(e, R(e));
389
388
  function B(e, t) {
@@ -396,15 +395,15 @@ function Ve(e, t, n) {
396
395
  let r = t.to - t.from;
397
396
  return r && (r > 2 || /[^\s,.;:]/.test(e.sliceDoc(t.from, t.to))) || t.firstChild;
398
397
  }
399
- function V(n, r, a) {
400
- let s = o(n).resolveInner(r.head), c = a ? e.closedBy : e.openedBy;
401
- for (let e = r.head;;) {
402
- let t = a ? s.childAfter(e) : s.childBefore(e);
403
- if (!t) break;
404
- Ve(n, t, c) ? s = t : e = a ? t.to : t.from;
398
+ function V(t, n, i) {
399
+ let o = a(t).resolveInner(n.head), c = i ? s.closedBy : s.openedBy;
400
+ for (let e = n.head;;) {
401
+ let n = i ? o.childAfter(e) : o.childBefore(e);
402
+ if (!n) break;
403
+ Ve(t, n, c) ? o = n : e = i ? n.to : n.from;
405
404
  }
406
- let l = s.type.prop(c), u, d;
407
- return d = l && (u = a ? i(n, s.from, 1) : i(n, s.to, -1)) && u.matched ? a ? u.end.to : u.end.from : a ? s.to : s.from, t.cursor(d, a ? -1 : 1);
405
+ let l = o.type.prop(c), u, d;
406
+ return d = l && (u = i ? r(t, o.from, 1) : r(t, o.to, -1)) && u.matched ? i ? u.end.to : u.end.from : i ? o.to : o.from, e.cursor(d, i ? -1 : 1);
408
407
  }
409
408
  var He = (e) => I(e, (t) => V(e.state, t, !R(e))), Ue = (e) => I(e, (t) => V(e.state, t, R(e)));
410
409
  function We(e, t) {
@@ -445,33 +444,33 @@ function Je(e, t) {
445
444
  return e.dispatch(F(r, i), { effects: a }), !0;
446
445
  }
447
446
  var Ye = (e) => Je(e, !1), H = (e) => Je(e, !0);
448
- function U(e, n, r) {
449
- let i = e.lineBlockAt(n.head), a = e.moveToLineBoundary(n, r);
450
- if (a.head == n.head && a.head != (r ? i.to : i.from) && (a = e.moveToLineBoundary(n, r, !1)), !r && a.head == i.from && i.length) {
451
- let r = /^\s*/.exec(e.state.sliceDoc(i.from, Math.min(i.from + 100, i.to)))[0].length;
452
- r && n.head != i.from + r && (a = t.cursor(i.from + r));
447
+ function U(t, n, r) {
448
+ let i = t.lineBlockAt(n.head), a = t.moveToLineBoundary(n, r);
449
+ if (a.head == n.head && a.head != (r ? i.to : i.from) && (a = t.moveToLineBoundary(n, r, !1)), !r && a.head == i.from && i.length) {
450
+ let r = /^\s*/.exec(t.state.sliceDoc(i.from, Math.min(i.from + 100, i.to)))[0].length;
451
+ r && n.head != i.from + r && (a = e.cursor(i.from + r));
453
452
  }
454
453
  return a;
455
454
  }
456
455
  var Xe = (e) => I(e, (t) => U(e, t, !0)), Ze = (e) => I(e, (t) => U(e, t, !1)), Qe = (e) => I(e, (t) => U(e, t, !R(e))), $e = (e) => I(e, (t) => U(e, t, R(e))), et = (e) => I(e, (t) => e.moveToLineBoundary(t, !1, !1)), tt = (e) => I(e, (t) => e.moveToLineBoundary(t, !0, !1));
457
- function nt(e, n, r) {
458
- let a = !1, o = P(e.selection, (n) => {
459
- let o = i(e, n.head, -1) || i(e, n.head, 1) || n.head > 0 && i(e, n.head - 1, 1) || n.head < e.doc.length && i(e, n.head + 1, -1);
456
+ function nt(t, n, i) {
457
+ let a = !1, o = P(t.selection, (n) => {
458
+ let o = r(t, n.head, -1) || r(t, n.head, 1) || n.head > 0 && r(t, n.head - 1, 1) || n.head < t.doc.length && r(t, n.head + 1, -1);
460
459
  if (!o || !o.end) return n;
461
460
  a = !0;
462
461
  let s = o.start.from == n.head ? o.end.to : o.end.from;
463
- return r ? t.range(n.anchor, s) : t.cursor(s);
462
+ return i ? e.range(n.anchor, s) : e.cursor(s);
464
463
  });
465
- return a ? (n(F(e, o)), !0) : !1;
464
+ return a ? (n(F(t, o)), !0) : !1;
466
465
  }
467
466
  var rt = ({ state: e, dispatch: t }) => nt(e, t, !1);
468
- function W(e, n, r) {
469
- let i = P(e.state.selection, (e) => {
470
- e.undirectional && e.head >= e.anchor != n && (e = t.range(e.head, e.anchor));
471
- let i = r(e);
472
- return t.range(e.anchor, i.head, i.goalColumn, i.bidiLevel || void 0, i.assoc);
467
+ function W(t, n, r) {
468
+ let i = P(t.state.selection, (t) => {
469
+ t.undirectional && t.head >= t.anchor != n && (t = e.range(t.head, t.anchor));
470
+ let i = r(t);
471
+ return e.range(t.anchor, i.head, i.goalColumn, i.bidiLevel || void 0, i.assoc);
473
472
  });
474
- return !i.eq(e.state.selection) && (e.dispatch(F(e.state, i)), !0);
473
+ return !i.eq(t.state.selection) && (t.dispatch(F(t.state, i)), !0);
475
474
  }
476
475
  function it(e, t) {
477
476
  return W(e, t, (n) => e.moveByChar(n, t));
@@ -500,7 +499,7 @@ var gt = (e) => ht(e, !1), _t = (e) => ht(e, !0), vt = (e) => W(e, !0, (t) => U(
500
499
  }, xt = (e) => {
501
500
  let t = R(e);
502
501
  return W(e, t, (n) => U(e, n, t));
503
- }, St = (e) => W(e, !1, (n) => t.cursor(e.lineBlockAt(n.head).from)), Ct = (e) => W(e, !0, (n) => t.cursor(e.lineBlockAt(n.head).to)), wt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: 0 })), !0), Tt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: e.doc.length })), !0), Et = ({ state: e, dispatch: t }) => (t(F(e, {
502
+ }, St = (t) => W(t, !1, (n) => e.cursor(t.lineBlockAt(n.head).from)), Ct = (t) => W(t, !0, (n) => e.cursor(t.lineBlockAt(n.head).to)), wt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: 0 })), !0), Tt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: e.doc.length })), !0), Et = ({ state: e, dispatch: t }) => (t(F(e, {
504
503
  anchor: e.selection.main.anchor,
505
504
  head: 0
506
505
  })), !0), Dt = ({ state: e, dispatch: t }) => (t(F(e, {
@@ -512,64 +511,64 @@ var gt = (e) => ht(e, !1), _t = (e) => ht(e, !0), vt = (e) => W(e, !0, (t) => U(
512
511
  head: e.doc.length
513
512
  },
514
513
  userEvent: "select"
515
- })), !0), kt = ({ state: e, dispatch: n }) => {
516
- let r = Y(e).map(({ from: n, to: r }) => t.undirectionalRange(n, Math.min(r + 1, e.doc.length)));
517
- return n(e.update({
518
- selection: t.create(r),
514
+ })), !0), kt = ({ state: t, dispatch: n }) => {
515
+ let r = Y(t).map(({ from: n, to: r }) => e.undirectionalRange(n, Math.min(r + 1, t.doc.length)));
516
+ return n(t.update({
517
+ selection: e.create(r),
519
518
  userEvent: "select"
520
519
  })), !0;
521
- }, At = ({ state: e, dispatch: n }) => {
522
- let r = P(e.selection, (n) => {
523
- let r = o(e), i = r.resolveStack(n.from, 1);
520
+ }, At = ({ state: t, dispatch: n }) => {
521
+ let r = P(t.selection, (n) => {
522
+ let r = a(t), i = r.resolveStack(n.from, 1);
524
523
  if (n.empty) {
525
524
  let e = r.resolveStack(n.from, -1);
526
525
  e.node.from >= i.node.from && e.node.to <= i.node.to && (i = e);
527
526
  }
528
- for (let e = i; e; e = e.next) {
529
- let { node: r } = e;
530
- if ((r.from < n.from && r.to >= n.to || r.to > n.to && r.from <= n.from) && e.next) return t.undirectionalRange(r.from, r.to);
527
+ for (let t = i; t; t = t.next) {
528
+ let { node: r } = t;
529
+ if ((r.from < n.from && r.to >= n.to || r.to > n.to && r.from <= n.from) && t.next) return e.undirectionalRange(r.from, r.to);
531
530
  }
532
531
  return n;
533
532
  });
534
- return !r.eq(e.selection) && (n(F(e, r)), !0);
533
+ return !r.eq(t.selection) && (n(F(t, r)), !0);
535
534
  };
536
- function jt(e, n) {
537
- let { state: r } = e, i = r.selection, a = r.selection.ranges.slice();
538
- for (let t of r.selection.ranges) {
539
- let i = r.doc.lineAt(t.head);
540
- if (n ? i.to < e.state.doc.length : i.from > 0) for (let r = t;;) {
541
- let t = e.moveVertically(r, n);
542
- if (t.head < i.from || t.head > i.to) {
543
- a.some((e) => e.head == t.head) || a.push(t);
535
+ function jt(t, n) {
536
+ let { state: r } = t, i = r.selection, a = r.selection.ranges.slice();
537
+ for (let e of r.selection.ranges) {
538
+ let i = r.doc.lineAt(e.head);
539
+ if (n ? i.to < t.state.doc.length : i.from > 0) for (let r = e;;) {
540
+ let e = t.moveVertically(r, n);
541
+ if (e.head < i.from || e.head > i.to) {
542
+ a.some((t) => t.head == e.head) || a.push(e);
544
543
  break;
545
544
  }
546
- if (t.head == r.head) break;
547
- r = t;
545
+ if (e.head == r.head) break;
546
+ r = e;
548
547
  }
549
548
  }
550
- return a.length != i.ranges.length && (e.dispatch(F(r, t.create(a, a.length - 1))), !0);
549
+ return a.length != i.ranges.length && (t.dispatch(F(r, e.create(a, a.length - 1))), !0);
551
550
  }
552
- var Mt = (e) => jt(e, !1), Nt = (e) => jt(e, !0), Pt = ({ state: e, dispatch: n }) => {
553
- let r = e.selection, i = null;
554
- return r.ranges.length > 1 ? i = t.create([r.main]) : r.main.empty || (i = t.create([t.cursor(r.main.head)])), i ? (n(F(e, i)), !0) : !1;
551
+ var Mt = (e) => jt(e, !1), Nt = (e) => jt(e, !0), Pt = ({ state: t, dispatch: n }) => {
552
+ let r = t.selection, i = null;
553
+ return r.ranges.length > 1 ? i = e.create([r.main]) : r.main.empty || (i = e.create([e.cursor(r.main.head)])), i ? (n(F(t, i)), !0) : !1;
555
554
  };
556
- function G(e, n) {
557
- if (e.state.readOnly) return !1;
558
- let r = "delete.selection", { state: i } = e, a = i.changeByRange((i) => {
555
+ function G(t, n) {
556
+ if (t.state.readOnly) return !1;
557
+ let r = "delete.selection", { state: i } = t, a = i.changeByRange((i) => {
559
558
  let { from: a, to: o } = i;
560
559
  if (a == o) {
561
- let t = n(i);
562
- t < a ? (r = "delete.backward", t = K(e, t, !1)) : t > a && (r = "delete.forward", t = K(e, t, !0)), a = Math.min(a, t), o = Math.max(o, t);
563
- } else a = K(e, a, !1), o = K(e, o, !0);
560
+ let e = n(i);
561
+ e < a ? (r = "delete.backward", e = K(t, e, !1)) : e > a && (r = "delete.forward", e = K(t, e, !0)), a = Math.min(a, e), o = Math.max(o, e);
562
+ } else a = K(t, a, !1), o = K(t, o, !0);
564
563
  return a == o ? { range: i } : {
565
564
  changes: {
566
565
  from: a,
567
566
  to: o
568
567
  },
569
- range: t.cursor(a, a < i.head ? -1 : 1)
568
+ range: e.cursor(a, a < i.head ? -1 : 1)
570
569
  };
571
570
  });
572
- return !a.changes.empty && (e.dispatch(i.update(a, {
571
+ return !a.changes.empty && (t.dispatch(i.update(a, {
573
572
  scrollIntoView: !0,
574
573
  userEvent: r,
575
574
  effects: r == "delete.selection" ? h.announce.of(i.phrase("Selection deleted")) : void 0
@@ -611,35 +610,35 @@ var Ft = (e, t, n) => G(e, (r) => {
611
610
  }), Vt = (e) => G(e, (t) => {
612
611
  let n = e.moveToLineBoundary(t, !0).head;
613
612
  return t.head < n ? n : Math.min(e.state.doc.length, t.head + 1);
614
- }), Ht = ({ state: e, dispatch: n }) => {
615
- if (e.readOnly) return !1;
616
- let r = e.changeByRange((e) => ({
613
+ }), Ht = ({ state: t, dispatch: n }) => {
614
+ if (t.readOnly) return !1;
615
+ let r = t.changeByRange((t) => ({
617
616
  changes: {
618
- from: e.from,
619
- to: e.to,
617
+ from: t.from,
618
+ to: t.to,
620
619
  insert: te.of(["", ""])
621
620
  },
622
- range: t.cursor(e.from)
621
+ range: e.cursor(t.from)
623
622
  }));
624
- return n(e.update(r, {
623
+ return n(t.update(r, {
625
624
  scrollIntoView: !0,
626
625
  userEvent: "input"
627
626
  })), !0;
628
- }, Ut = ({ state: e, dispatch: n }) => {
629
- if (e.readOnly) return !1;
630
- let r = e.changeByRange((n) => {
631
- if (!n.empty || n.from == 0 || n.from == e.doc.length) return { range: n };
632
- let r = n.from, i = e.doc.lineAt(r), a = r == i.from ? r - 1 : m(i.text, r - i.from, !1) + i.from, o = r == i.to ? r + 1 : m(i.text, r - i.from, !0) + i.from;
627
+ }, Ut = ({ state: t, dispatch: n }) => {
628
+ if (t.readOnly) return !1;
629
+ let r = t.changeByRange((n) => {
630
+ if (!n.empty || n.from == 0 || n.from == t.doc.length) return { range: n };
631
+ let r = n.from, i = t.doc.lineAt(r), a = r == i.from ? r - 1 : m(i.text, r - i.from, !1) + i.from, o = r == i.to ? r + 1 : m(i.text, r - i.from, !0) + i.from;
633
632
  return {
634
633
  changes: {
635
634
  from: a,
636
635
  to: o,
637
- insert: e.doc.slice(r, o).append(e.doc.slice(a, r))
636
+ insert: t.doc.slice(r, o).append(t.doc.slice(a, r))
638
637
  },
639
- range: t.cursor(o)
638
+ range: e.cursor(o)
640
639
  };
641
640
  });
642
- return !r.changes.empty && (n(e.update(r, {
641
+ return !r.changes.empty && (n(t.update(r, {
643
642
  scrollIntoView: !0,
644
643
  userEvent: "move.character"
645
644
  })), !0);
@@ -660,36 +659,36 @@ function Y(e) {
660
659
  }
661
660
  return t;
662
661
  }
663
- function Wt(e, n, r) {
664
- if (e.readOnly) return !1;
662
+ function Wt(t, n, r) {
663
+ if (t.readOnly) return !1;
665
664
  let i = [], a = [];
666
- for (let n of Y(e)) {
667
- if (r ? n.to == e.doc.length : n.from == 0) continue;
668
- let o = e.doc.lineAt(r ? n.to + 1 : n.from - 1), s = o.length + 1;
665
+ for (let n of Y(t)) {
666
+ if (r ? n.to == t.doc.length : n.from == 0) continue;
667
+ let o = t.doc.lineAt(r ? n.to + 1 : n.from - 1), s = o.length + 1;
669
668
  if (r) {
670
669
  i.push({
671
670
  from: n.to,
672
671
  to: o.to
673
672
  }, {
674
673
  from: n.from,
675
- insert: o.text + e.lineBreak
674
+ insert: o.text + t.lineBreak
676
675
  });
677
- for (let r of n.ranges) a.push(t.range(Math.min(e.doc.length, r.anchor + s), Math.min(e.doc.length, r.head + s)));
676
+ for (let r of n.ranges) a.push(e.range(Math.min(t.doc.length, r.anchor + s), Math.min(t.doc.length, r.head + s)));
678
677
  } else {
679
678
  i.push({
680
679
  from: o.from,
681
680
  to: n.from
682
681
  }, {
683
682
  from: n.to,
684
- insert: e.lineBreak + o.text
683
+ insert: t.lineBreak + o.text
685
684
  });
686
- for (let e of n.ranges) a.push(t.range(e.anchor - s, e.head - s));
685
+ for (let t of n.ranges) a.push(e.range(t.anchor - s, t.head - s));
687
686
  }
688
687
  }
689
- return i.length ? (n(e.update({
688
+ return i.length ? (n(t.update({
690
689
  changes: i,
691
690
  scrollIntoView: !0,
692
- selection: t.create(a, e.selection.mainIndex),
691
+ selection: e.create(a, t.selection.mainIndex),
693
692
  userEvent: "move.line"
694
693
  })), !0) : !1;
695
694
  }
@@ -732,69 +731,69 @@ var Jt = ({ state: e, dispatch: t }) => qt(e, t, !1), Yt = ({ state: e, dispatch
732
731
  userEvent: "delete.line"
733
732
  }), !0;
734
733
  };
735
- function Zt(t, n) {
736
- if (/\(\)|\[\]|\{\}/.test(t.sliceDoc(n - 1, n + 1))) return {
737
- from: n,
738
- to: n
734
+ function Zt(e, t) {
735
+ if (/\(\)|\[\]|\{\}/.test(e.sliceDoc(t - 1, t + 1))) return {
736
+ from: t,
737
+ to: t
739
738
  };
740
- let r = o(t).resolveInner(n), i = r.childBefore(n), a = r.childAfter(n), s;
741
- return i && a && i.to <= n && a.from >= n && (s = i.type.prop(e.closedBy)) && s.indexOf(a.name) > -1 && t.doc.lineAt(i.to).from == t.doc.lineAt(a.from).from && !/\S/.test(t.sliceDoc(i.to, a.from)) ? {
742
- from: i.to,
743
- to: a.from
739
+ let n = a(e).resolveInner(t), r = n.childBefore(t), i = n.childAfter(t), o;
740
+ return r && i && r.to <= t && i.from >= t && (o = r.type.prop(s.closedBy)) && o.indexOf(i.name) > -1 && e.doc.lineAt(r.to).from == e.doc.lineAt(i.from).from && !/\S/.test(e.sliceDoc(r.to, i.from)) ? {
741
+ from: r.to,
742
+ to: i.from
744
743
  } : null;
745
744
  }
746
745
  var X = /*@__PURE__*/ $t(!1), Qt = /*@__PURE__*/ $t(!0);
747
- function $t(e) {
748
- return ({ state: n, dispatch: i }) => {
749
- if (n.readOnly) return !1;
750
- let a = n.changeByRange((i) => {
751
- let { from: a, to: o } = i, s = n.doc.lineAt(a), c = !e && a == o && Zt(n, a);
752
- e && (a = o = (o <= s.to ? s : n.doc.lineAt(o)).to);
753
- let l = new ne(n, {
746
+ function $t(t) {
747
+ return ({ state: r, dispatch: i }) => {
748
+ if (r.readOnly) return !1;
749
+ let a = r.changeByRange((i) => {
750
+ let { from: a, to: o } = i, s = r.doc.lineAt(a), c = !t && a == o && Zt(r, a);
751
+ t && (a = o = (o <= s.to ? s : r.doc.lineAt(o)).to);
752
+ let l = new ne(r, {
754
753
  simulateBreak: a,
755
754
  simulateDoubleBreak: !!c
756
755
  }), u = se(l, a);
757
- for (u ?? (u = g(/^\s*/.exec(n.doc.lineAt(a).text)[0], n.tabSize)); o < s.to && /\s/.test(s.text[o - s.from]);) o++;
756
+ for (u ?? (u = g(/^\s*/.exec(r.doc.lineAt(a).text)[0], r.tabSize)); o < s.to && /\s/.test(s.text[o - s.from]);) o++;
758
757
  c ? {from: a, to: o} = c : a > s.from && a < s.from + 100 && !/\S/.test(s.text.slice(0, a)) && (a = s.from);
759
- let d = ["", r(n, u)];
760
- return c && d.push(r(n, l.lineIndent(s.from, -1))), {
758
+ let d = ["", n(r, u)];
759
+ return c && d.push(n(r, l.lineIndent(s.from, -1))), {
761
760
  changes: {
762
761
  from: a,
763
762
  to: o,
764
763
  insert: te.of(d)
765
764
  },
766
- range: t.cursor(a + 1 + d[1].length)
765
+ range: e.cursor(a + 1 + d[1].length)
767
766
  };
768
767
  });
769
- return i(n.update(a, {
768
+ return i(r.update(a, {
770
769
  scrollIntoView: !0,
771
770
  userEvent: "input"
772
771
  })), !0;
773
772
  };
774
773
  }
775
- function Z(e, n) {
774
+ function Z(t, n) {
776
775
  let r = -1;
777
- return e.changeByRange((i) => {
776
+ return t.changeByRange((i) => {
778
777
  let a = [];
779
- for (let t = i.from; t <= i.to;) {
780
- let o = e.doc.lineAt(t);
781
- o.number > r && (i.empty || i.to > o.from) && (n(o, a, i), r = o.number), t = o.to + 1;
778
+ for (let e = i.from; e <= i.to;) {
779
+ let o = t.doc.lineAt(e);
780
+ o.number > r && (i.empty || i.to > o.from) && (n(o, a, i), r = o.number), e = o.to + 1;
782
781
  }
783
- let o = e.changes(a);
782
+ let o = t.changes(a);
784
783
  return {
785
784
  changes: a,
786
- range: t.range(o.mapPos(i.anchor, 1), o.mapPos(i.head, 1))
785
+ range: e.range(o.mapPos(i.anchor, 1), o.mapPos(i.head, 1))
787
786
  };
788
787
  });
789
788
  }
790
789
  var en = ({ state: e, dispatch: t }) => {
791
790
  if (e.readOnly) return !1;
792
- let n = Object.create(null), i = new ne(e, { overrideIndentation: (e) => n[e] ?? -1 }), a = Z(e, (t, a, o) => {
791
+ let r = Object.create(null), i = new ne(e, { overrideIndentation: (e) => r[e] ?? -1 }), a = Z(e, (t, a, o) => {
793
792
  let s = se(i, t.from);
794
793
  if (s == null) return;
795
794
  /\S/.test(t.text) || (s = 0);
796
- let c = /^\s*/.exec(t.text)[0], l = r(e, s);
797
- (c != l || o.from < t.from + c.length) && (n[t.from] = s, a.push({
795
+ let c = /^\s*/.exec(t.text)[0], l = n(e, s);
796
+ (c != l || o.from < t.from + c.length) && (r[t.from] = s, a.push({
798
797
  from: t.from,
799
798
  to: t.from + c.length,
800
799
  insert: l
@@ -806,12 +805,12 @@ var en = ({ state: e, dispatch: t }) => {
806
805
  from: t.from,
807
806
  insert: e.facet(oe)
808
807
  });
809
- }), { userEvent: "input.indent" })), !0), nn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, n) => {
808
+ }), { userEvent: "input.indent" })), !0), nn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, r) => {
810
809
  let i = /^\s*/.exec(t.text)[0];
811
810
  if (!i) return;
812
- let a = g(i, e.tabSize), o = 0, s = r(e, Math.max(0, a - d(e)));
811
+ let a = g(i, e.tabSize), o = 0, s = n(e, Math.max(0, a - d(e)));
813
812
  for (; o < i.length && o < s.length && i.charCodeAt(o) == s.charCodeAt(o);) o++;
814
- n.push({
813
+ r.push({
815
814
  from: t.from + o,
816
815
  to: t.from + i.length,
817
816
  insert: s.slice(o)
@@ -1116,7 +1115,7 @@ var en = ({ state: e, dispatch: t }) => {
1116
1115
  }
1117
1116
  ].concat(on), Q, $ = class extends ue(de(ee)) {
1118
1117
  constructor(...e) {
1119
- super(...e), this.value = "", this.inputId = "", this.placeholder = "", this.disabled = !1, this.name = "", this.readonly = !1, this.required = !1, this.rows = 6, this.accessibleLabel = "", this.invalid = !1, this._initialValue = "", this._valueAtFocus = "", this._editableCompartment = new s(), this._placeholderCompartment = new s(), this._attrsCompartment = new s(), this._onScrollerPointerDown = (e) => {
1118
+ super(...e), this.value = "", this.inputId = "", this.placeholder = "", this.disabled = !1, this.name = "", this.readonly = !1, this.required = !1, this.rows = 6, this.accessibleLabel = "", this.invalid = !1, this._initialValue = "", this._valueAtFocus = "", this._editableCompartment = new o(), this._placeholderCompartment = new o(), this._attrsCompartment = new o(), this._onScrollerPointerDown = (e) => {
1120
1119
  e.target === this.view?.scrollDOM && (this.focusFromPoint(e.clientX, e.clientY), e.preventDefault());
1121
1120
  };
1122
1121
  }
@@ -1149,7 +1148,7 @@ var en = ({ state: e, dispatch: t }) => {
1149
1148
  return [h.editable.of(!this.disabled), p.readOnly.of(this.disabled || this.readonly)];
1150
1149
  }
1151
1150
  _placeholderExtension() {
1152
- return this.placeholder ? a(this.placeholder) : [];
1151
+ return this.placeholder ? i(this.placeholder) : [];
1153
1152
  }
1154
1153
  _attrsExtension() {
1155
1154
  let e = { ...this.contentAttributes() };