@nldd/design-system 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/custom-elements.json +381 -5
  2. package/dist/cdn/autoloader.js +140 -137
  3. package/dist/cdn/chunks/accordion-B7KdKJno.js +90 -0
  4. package/dist/cdn/chunks/accordion-item-CVy8Apta.js +242 -0
  5. package/dist/cdn/chunks/{activity-indicator-Dc6c9HtC.js → activity-indicator-CpJVlX6K.js} +5 -5
  6. package/dist/cdn/chunks/admonition-C89WHJ9a.js +379 -0
  7. package/dist/cdn/chunks/{avatar-CHXRpWWk.js → avatar-Bf0OfAtQ.js} +6 -6
  8. package/dist/cdn/chunks/{avatar-group-B76E8oC6.js → avatar-group-BeBAv2wB.js} +15 -15
  9. package/dist/cdn/chunks/{badge-tO7gHhdi.js → badge-C43FvgkK.js} +5 -5
  10. package/dist/cdn/chunks/{banner-D4kFQYXF.js → banner-OWK0gwFb.js} +33 -32
  11. package/dist/cdn/chunks/{bar-split-view-C9bYdWSR.js → bar-split-view-Dj1WycIW.js} +5 -5
  12. package/dist/cdn/chunks/{blockquote-DRJajjBB.js → blockquote-D_5MxcSi.js} +3 -3
  13. package/dist/cdn/chunks/{box-D10mS19t.js → box-BUoxiA7b.js} +10 -10
  14. package/dist/cdn/chunks/{breadcrumbs-BUdQJG3z.js → breadcrumbs-DXxJTACL.js} +5 -5
  15. package/dist/cdn/chunks/{button-CwY9fWCg.js → button-DpKyquzm.js} +8 -8
  16. package/dist/cdn/chunks/{button-bar-DkqbRvff.js → button-bar-BSt-QQRG.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-p364JgTR.js → button-group-D5QJWJzh.js} +2 -2
  18. package/dist/cdn/chunks/{card-B7TaSaw7.js → card-Cz4f-dCf.js} +4 -4
  19. package/dist/cdn/chunks/{cell-BTIpXf1T.js → cell-zFw2V9wD.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-BLEK0rAV.js → checkbox-BDp3O8Nc.js} +4 -4
  21. package/dist/cdn/chunks/{checkbox-field-CDtlpN-u.js → checkbox-field-CSXV0prA.js} +5 -5
  22. package/dist/cdn/chunks/{class-map-5WYS_nCb.js → class-map-C7ao595e.js} +1 -1
  23. package/dist/cdn/chunks/{code-editor-CanGMLIo.js → code-editor-Chm9EG_v.js} +5 -5
  24. package/dist/cdn/chunks/{code-viewer-DCZ3wjMd.js → code-viewer-DX322d7w.js} +102 -87
  25. package/dist/cdn/chunks/{codemirror-input-CtvDBy25.js → codemirror-input-BLMJQbHq.js} +4 -4
  26. package/dist/cdn/chunks/{collection-D8K79X0H.js → collection-Bf8HoSki.js} +8 -8
  27. package/dist/cdn/chunks/{combo-box-BeWoeEY8.js → combo-box-VuU_F54v.js} +8 -8
  28. package/dist/cdn/chunks/{container-Be2J-GhB.js → container-qVTgmbpz.js} +2 -2
  29. package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
  30. package/dist/cdn/chunks/{custom-element-DGlHv_OV.js → custom-element-C5yyaCZS.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-BLaGVd4x.js → date-field-By9Q8151.js} +99 -87
  32. package/dist/cdn/chunks/{date-picker-C4mLZKWF.js → date-picker-DtA4PXCh.js} +10 -10
  33. package/dist/cdn/chunks/{decorate-Czy-wI4F.js → decorate-CkbtFnic.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-fLi4Nmt7.js → described-by-mixin-DXC6jkCd.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-aQyLX0U0.js → description-cell-D2INE8A3.js} +6 -6
  36. package/dist/cdn/chunks/{dev-checks-qTR6tciJ.js → dev-checks-UHHli7gE.js} +33 -1
  37. package/dist/cdn/chunks/{dist-fDpuYq7K.js → dist-B1pwN_VD.js} +1 -1
  38. package/dist/cdn/chunks/{dist-p1FcXq9E.js → dist-BG0xnVUi.js} +3 -3
  39. package/dist/cdn/chunks/{dist-CdF0c6UD.js → dist-BzfFo9Yu.js} +2 -2
  40. package/dist/cdn/chunks/{dist-DHK9tNd7.js → dist-C-T4uKP1.js} +1 -1
  41. package/dist/cdn/chunks/{dist-WQv_JUmB.js → dist-Ce38ZA7b.js} +2 -2
  42. package/dist/cdn/chunks/{dist-BNS6C8sP.js → dist-Cm51DQO4.js} +2 -2
  43. package/dist/cdn/chunks/{dist-CX0g6sV1.js → dist-Dg3ySzj7.js} +3 -3
  44. package/dist/cdn/chunks/{dist-_QFa91Kz.js → dist-VXOtAJ-m.js} +1 -1
  45. package/dist/cdn/chunks/{dist-B_fXtXqM.js → dist-pCih3zzc.js} +1 -1
  46. package/dist/cdn/chunks/{dist-CZOXq9aZ.js → dist-qo8avphr.js} +1 -1
  47. package/dist/cdn/chunks/{dist-BLnIbkqH.js → dist-zxb4QZZG.js} +1 -1
  48. package/dist/cdn/chunks/{divider-2hHcSIga.js → divider-Cv_vyHvw.js} +2 -2
  49. package/dist/cdn/chunks/{document-tab-bar-CIWiZUB5.js → document-tab-bar-CdOxr8KC.js} +51 -50
  50. package/dist/cdn/chunks/{dropdown-Bwn6dQrK.js → dropdown-DC9J6k0P.js} +5 -5
  51. package/dist/cdn/chunks/{file-field-CtQ6Fzkj.js → file-field-CsrTk4uk.js} +12 -12
  52. package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
  53. package/dist/cdn/chunks/{form-vSM2SOrK.js → form-ClOD1OKh.js} +1 -1
  54. package/dist/cdn/chunks/{form-actions-DSL0qce-.js → form-actions-CwaXGj43.js} +2 -2
  55. package/dist/cdn/chunks/{form-field--t3Bz1pc.js → form-field-LoX9v2Pa.js} +5 -5
  56. package/dist/cdn/chunks/{form-section-D1n8Sdmt.js → form-section-i6piyKuy.js} +1 -1
  57. package/dist/cdn/chunks/{full-bleed-section-w2pDVC5v.js → full-bleed-section-6aAfCnez.js} +3 -3
  58. package/dist/cdn/chunks/{hero-BypUmnRi.js → hero-CTQAayXT.js} +4 -4
  59. package/dist/cdn/chunks/{icon-BydOAoVO.js → icon-B5kHyCz2.js} +2 -2
  60. package/dist/cdn/chunks/{icon-button-C_MZ-jXt.js → icon-button-DuEiOOoc.js} +9 -9
  61. package/dist/cdn/chunks/{icon-cell-jiYNsV84.js → icon-cell-uZkR3hZx.js} +5 -5
  62. package/dist/cdn/chunks/{identity-D1Sw6OdG.js → identity-DR6DMjke.js} +6 -6
  63. package/dist/cdn/chunks/{if-defined-pKQLIQvK.js → if-defined-B7fJBsUt.js} +1 -1
  64. package/dist/cdn/chunks/{image-DEI0hogS.js → image-CuBUo_MQ.js} +8 -8
  65. package/dist/cdn/chunks/{inline-dialog-CTjJ8Tl_.js → inline-dialog-CZNkWJIA.js} +6 -6
  66. package/dist/cdn/chunks/{just-in-time-education-pUUxdKPR.js → just-in-time-education-qwg9hTDX.js} +8 -8
  67. package/dist/cdn/chunks/{kanban-KSLBcCb4.js → kanban-Bkg-nZmX.js} +5 -5
  68. package/dist/cdn/chunks/{kanban-column-RNSdiBIT.js → kanban-column-C8iRyRNY.js} +4 -4
  69. package/dist/cdn/chunks/{keyboard-shortcut-D9TYAQu1.js → keyboard-shortcut-Rq5IHU-e.js} +3 -3
  70. package/dist/cdn/chunks/{languages-DGZO3jTf.js → languages-DLHsACpp.js} +12 -12
  71. package/dist/cdn/chunks/{link-C4K1qVcb.js → link-CgjFwaHP.js} +6 -6
  72. package/dist/cdn/chunks/{link-group-BEYO7nTK.js → link-group-5W0GAmTq.js} +2 -2
  73. package/dist/cdn/chunks/{list-rMBdnf1f.js → list-BASqIKtP.js} +8 -8
  74. package/dist/cdn/chunks/{list-item-CotWNKc1.js → list-item-DTcPysIP.js} +5 -5
  75. package/dist/cdn/chunks/{list-item-segment-C-yl2GAS.js → list-item-segment-CRw0y4kg.js} +3 -3
  76. package/dist/cdn/chunks/{menu-rE6tDSAy.js → menu-CYILGTpB.js} +31 -29
  77. package/dist/cdn/chunks/{menu-bar-D9IxDwC2.js → menu-bar-CL566HmJ.js} +6 -6
  78. package/dist/cdn/chunks/{menu-bar-item-768OWJdt.js → menu-bar-item-C6OrUu_4.js} +6 -6
  79. package/dist/cdn/chunks/{menu-divider-BHAGnkBl.js → menu-divider-BtU9eBSb.js} +3 -3
  80. package/dist/cdn/chunks/{menu-group-B5MAz_Yk.js → menu-group-r2TvdqJB.js} +4 -4
  81. package/dist/cdn/chunks/{menu-item-Ba581zRi.js → menu-item-CS45jTLu.js} +4 -4
  82. package/dist/cdn/chunks/{menu.template-Eb7J7UrL.js → menu.template-CF8Iau1s.js} +4 -4
  83. package/dist/cdn/chunks/{modal-dialog-Djln8pr7.js → modal-dialog-C9NBq8TO.js} +4 -4
  84. package/dist/cdn/chunks/{multi-line-text-field-Omt0oidK.js → multi-line-text-field-BkxV0vqA.js} +5 -5
  85. package/dist/cdn/chunks/{navigation-split-view-DDng9DdF.js → navigation-split-view-DNrQYkg7.js} +4 -4
  86. package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
  87. package/dist/cdn/chunks/{notification-DB6JOmCC.js → notification-Dzpy9hCc.js} +6 -6
  88. package/dist/cdn/chunks/{number-field-xgr4dysX.js → number-field-BJCUe-bI.js} +7 -7
  89. package/dist/cdn/chunks/{one-half-one-half-section-CFhmSDDa.js → one-half-one-half-section-Ctw8ri5v.js} +3 -3
  90. package/dist/cdn/chunks/{one-third-two-thirds-section-D0JV0GJ_.js → one-third-two-thirds-section-DxUUH8lS.js} +3 -3
  91. package/dist/cdn/chunks/{one-time-code-field-CqgKQqdE.js → one-time-code-field-DGDyqIMd.js} +6 -6
  92. package/dist/cdn/chunks/{page-DXWHG-hD.js → page-BpavFPML.js} +4 -4
  93. package/dist/cdn/chunks/{page-footer-GexGY_m-.js → page-footer-CVqmyulx.js} +4 -4
  94. package/dist/cdn/chunks/{page-section-mixin-CtiPKCqL.js → page-section-mixin-BHg-Wre9.js} +3 -3
  95. package/dist/cdn/chunks/{pagination-DJkfE8t9.js → pagination-BGZYq-eO.js} +6 -6
  96. package/dist/cdn/chunks/{password-field-gKiiE_5e.js → password-field-BIFfLAls.js} +7 -7
  97. package/dist/cdn/chunks/{popover-C-jxcCHx.js → popover-TCW20ibN.js} +8 -8
  98. package/dist/cdn/chunks/{progress-bar-CBWQRWkE.js → progress-bar-C4bLuJBa.js} +7 -7
  99. package/dist/cdn/chunks/{progress-circle-CCcRDOOJ.js → progress-circle-BePtt89f.js} +7 -7
  100. package/dist/cdn/chunks/{radio-button-B8xwJO3_.js → radio-button-CLiuwjA1.js} +3 -3
  101. package/dist/cdn/chunks/{radio-button-field-B9lRNOXJ.js → radio-button-field-BPva1mUv.js} +5 -5
  102. package/dist/cdn/chunks/{radio-button-group-Cy7Ya28w.js → radio-button-group-Z5s4obz6.js} +3 -3
  103. package/dist/cdn/chunks/{render-marked-DjXBoUGY.js → render-marked-C3ypoEZM.js} +1 -1
  104. package/dist/cdn/chunks/{reorder-handle-cell-B6V85qYk.js → reorder-handle-cell-BB9b4T_d.js} +4 -4
  105. package/dist/cdn/chunks/{reorder-handle-mixin-DTmEmT-V.js → reorder-handle-mixin-DBjNe6Rl.js} +2 -2
  106. package/dist/cdn/chunks/{repeat-Ck8L8Iy9.js → repeat-s95Ixbpx.js} +1 -1
  107. package/dist/cdn/chunks/{rich-text-CqQeOXwL.js → rich-text-DTxHo8E_.js} +3 -3
  108. package/dist/cdn/chunks/{row-header-mixin-XRu3gHMf.js → row-header-mixin-BcwoEgu7.js} +2 -2
  109. package/dist/cdn/chunks/{scroll-fade-e6d1wo3D.js → scroll-fade-Dul0IfE1.js} +2 -2
  110. package/dist/cdn/chunks/{search-field-Cz7Ucf6x.js → search-field-BeZN7S8J.js} +9 -9
  111. package/dist/cdn/chunks/{segmented-control-CLzKU4SX.js → segmented-control-Dzu8xoqB.js} +6 -6
  112. package/dist/cdn/chunks/{shadow-resets-CodxnaUh.js → shadow-resets-Dlq8Oecv.js} +2 -2
  113. package/dist/cdn/chunks/{sheet-DkmSsRV3.js → sheet-DaQpfAep.js} +3 -3
  114. package/dist/cdn/chunks/{shell-Ex_f7Ov3.js → shell-DSNgonKU.js} +3 -3
  115. package/dist/cdn/chunks/{side-by-side-split-view-C8aSEGRc.js → side-by-side-split-view-DhGbcDrs.js} +4 -4
  116. package/dist/cdn/chunks/{sidebar-section-CnD-3i7r.js → sidebar-section-BlJmPb9C.js} +7 -7
  117. package/dist/cdn/chunks/{simple-section-CeKnmobI.js → simple-section-CYiTEFqN.js} +3 -3
  118. package/dist/cdn/chunks/{skip-link-DwtFm_NJ.js → skip-link-CReOb-Ci.js} +4 -4
  119. package/dist/cdn/chunks/{slider-BVdkwNW3.js → slider-DUEGol_V.js} +8 -8
  120. package/dist/cdn/chunks/{spacer-H4zmoDr_.js → spacer-CPmyJDQq.js} +2 -2
  121. package/dist/cdn/chunks/{spacer-cell-BES4eJH1.js → spacer-cell-DJEv0v6s.js} +4 -4
  122. package/dist/cdn/chunks/{split-button-Caa30uTx.js → split-button-B3vfYAdy.js} +7 -7
  123. package/dist/cdn/chunks/{split-view-divider-klvZ8lgP.js → split-view-divider-pSUpnEPX.js} +2 -2
  124. package/dist/cdn/chunks/{split-view-pane-Cnx56S5C.js → split-view-pane-J1RVr_w1.js} +3 -3
  125. package/dist/cdn/chunks/{stacked-split-view-CYdGBY7Q.js → stacked-split-view-B67fT-Ch.js} +4 -4
  126. package/dist/cdn/chunks/{static-html--Xd5vkAU.js → static-html-BT4LOKbV.js} +1 -1
  127. package/dist/cdn/chunks/{status-bar-CJybViWL.js → status-bar-CGXqgNOf.js} +4 -4
  128. package/dist/cdn/chunks/{step-bar-BO6Y1BrK.js → step-bar-DdsA2Egs.js} +5 -5
  129. package/dist/cdn/chunks/{step-cell-BQ8EHZVR.js → step-cell-DsTAgMCx.js} +5 -5
  130. package/dist/cdn/chunks/{stepper-COTaJwSU.js → stepper-DPqXiLQr.js} +6 -6
  131. package/dist/cdn/chunks/{style-map-BwtZr74h.js → style-map-B7yv7Y8k.js} +1 -1
  132. package/dist/cdn/chunks/{swatch-picker-5fxe3QB1.js → swatch-picker-D9QZmbNN.js} +5 -5
  133. package/dist/cdn/chunks/{switch-BUxGg2ww.js → switch-CE2glvZQ.js} +4 -4
  134. package/dist/cdn/chunks/{switch-field-DOsEK534.js → switch-field-Dr2LovXc.js} +5 -5
  135. package/dist/cdn/chunks/{tab-bar-CZ9Z9qV9.js → tab-bar-DYZbToZB.js} +8 -8
  136. package/dist/cdn/chunks/{table-SAsB1kDN.js → table-DoQMJbSg.js} +5 -5
  137. package/dist/cdn/chunks/{tag-xuCeECO3.js → tag-DOX5nY-Z.js} +4 -4
  138. package/dist/cdn/chunks/{term-DHEvoltZ.js → term-CxGzPnhq.js} +53 -31
  139. package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
  140. package/dist/cdn/chunks/{text-CiFzQPQw.js → text-Dqe0uTK7.js} +3 -3
  141. package/dist/cdn/chunks/{text-cell-DQNzo2Rp.js → text-cell-ByGrujhK.js} +8 -8
  142. package/dist/cdn/chunks/{text-editor-DCYF_nqz.js → text-editor-DT9oWQCT.js} +10 -10
  143. package/dist/cdn/chunks/{text-field-BiPeMi6s.js → text-field-DKz5IRAU.js} +5 -5
  144. package/dist/cdn/chunks/{time-field-C-Euaiy0.js → time-field-Dh7nTwNc.js} +13 -13
  145. package/dist/cdn/chunks/{time-picker-DYkxhEYm.js → time-picker-Bp-l4JfF.js} +50 -53
  146. package/dist/cdn/chunks/{title-DkS07R_v.js → title-CdIWXNtc.js} +4 -4
  147. package/dist/cdn/chunks/{title-cell-CJevv6Vg.js → title-cell-DNbP8l_x.js} +8 -8
  148. package/dist/cdn/chunks/{toggle-button-DDqd56_3.js → toggle-button-CPMxB3gN.js} +7 -7
  149. package/dist/cdn/chunks/{toggle-button-group-ByxgMVzH.js → toggle-button-group-ERWVyRX5.js} +2 -2
  150. package/dist/cdn/chunks/{token-YpVKK1g4.js → token-CG8dR3EH.js} +5 -5
  151. package/dist/cdn/chunks/{token-field-vLdJSvUz.js → token-field-B8wqHKan.js} +10 -10
  152. package/dist/cdn/chunks/{toolbar-C-5H46y9.js → toolbar-CiZoecHm.js} +8 -8
  153. package/dist/cdn/chunks/{toolbar-item-CvPtoAoQ.js → toolbar-item-xJEewchW.js} +3 -3
  154. package/dist/cdn/chunks/{toolbar-title-HElUvLeY.js → toolbar-title-C08aG67Y.js} +4 -4
  155. package/dist/cdn/chunks/{toolbar.styles-BuJIgj1E.js → toolbar.styles-DmAHodW4.js} +3 -3
  156. package/dist/cdn/chunks/{tooltip-BF4HkWOi.js → tooltip-660R32cn.js} +54 -46
  157. package/dist/cdn/chunks/{top-navigation-bar-ngF2MF40.js → top-navigation-bar-B1HFShH8.js} +17 -17
  158. package/dist/cdn/chunks/{top-title-bar-BUjpi-w6.js → top-title-bar-BLZZd0Iu.js} +6 -6
  159. package/dist/cdn/chunks/{translations-BWgmZCAK.js → translations-CF08wvn-.js} +1 -1
  160. package/dist/cdn/chunks/{two-thirds-one-third-section-Ci6O8SwP.js → two-thirds-one-third-section-Dqz7UoSH.js} +3 -3
  161. package/dist/cdn/chunks/{validation-list-BBNFz_2I.js → validation-list-D-bzOl5H.js} +3 -3
  162. package/dist/cdn/chunks/{visibility-mixin-BP5T5qYB.js → visibility-mixin-X9d6wHvR.js} +2 -2
  163. package/dist/cdn/chunks/{visually-hidden-BqYWVy4n.js → visually-hidden-Cew5_ldu.js} +2 -2
  164. package/dist/cdn/chunks/{window-CvgGg1Ib.js → window-DSgA26_c.js} +4 -4
  165. package/dist/cdn/chunks/{with-translations-8SmMZkGa.js → with-translations-Boc5Daaj.js} +3 -3
  166. package/dist/components/actions/menu/menu.d.ts +6 -3
  167. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  168. package/dist/components/actions/menu/menu.js +22 -5
  169. package/dist/components/actions/menu/menu.js.map +1 -1
  170. package/dist/components/content/accordion/accordion-item.d.ts +38 -0
  171. package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
  172. package/dist/components/content/accordion/accordion-item.js +62 -0
  173. package/dist/components/content/accordion/accordion-item.js.map +1 -0
  174. package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
  175. package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
  176. package/dist/components/content/accordion/accordion-item.styles.js +196 -0
  177. package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
  178. package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
  179. package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
  180. package/dist/components/content/accordion/accordion-item.template.js +24 -0
  181. package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
  182. package/dist/components/content/accordion/accordion.d.ts +50 -0
  183. package/dist/components/content/accordion/accordion.d.ts.map +1 -0
  184. package/dist/components/content/accordion/accordion.js +96 -0
  185. package/dist/components/content/accordion/accordion.js.map +1 -0
  186. package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
  187. package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
  188. package/dist/components/content/accordion/accordion.styles.js +43 -0
  189. package/dist/components/content/accordion/accordion.styles.js.map +1 -0
  190. package/dist/components/content/accordion/accordion.template.d.ts +4 -0
  191. package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
  192. package/dist/components/content/accordion/accordion.template.js +9 -0
  193. package/dist/components/content/accordion/accordion.template.js.map +1 -0
  194. package/dist/components/content/admonition/admonition.d.ts +76 -0
  195. package/dist/components/content/admonition/admonition.d.ts.map +1 -0
  196. package/dist/components/content/admonition/admonition.js +129 -0
  197. package/dist/components/content/admonition/admonition.js.map +1 -0
  198. package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
  199. package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
  200. package/dist/components/content/admonition/admonition.styles.js +269 -0
  201. package/dist/components/content/admonition/admonition.styles.js.map +1 -0
  202. package/dist/components/content/admonition/admonition.template.d.ts +4 -0
  203. package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
  204. package/dist/components/content/admonition/admonition.template.js +63 -0
  205. package/dist/components/content/admonition/admonition.template.js.map +1 -0
  206. package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
  207. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  208. package/dist/components/content/code-viewer/code-viewer.js +36 -1
  209. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  210. package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
  211. package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
  212. package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
  213. package/dist/components/content/rich-text/rich-text.d.ts +14 -1
  214. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  215. package/dist/components/content/rich-text/rich-text.js +14 -1
  216. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  217. package/dist/components/content/term/term.d.ts +12 -1
  218. package/dist/components/content/term/term.d.ts.map +1 -1
  219. package/dist/components/content/term/term.i18n.d.ts +1 -0
  220. package/dist/components/content/term/term.i18n.d.ts.map +1 -1
  221. package/dist/components/content/term/term.i18n.js +2 -0
  222. package/dist/components/content/term/term.i18n.js.map +1 -1
  223. package/dist/components/content/term/term.js +23 -1
  224. package/dist/components/content/term/term.js.map +1 -1
  225. package/dist/components/content/term/term.template.d.ts.map +1 -1
  226. package/dist/components/content/term/term.template.js +29 -6
  227. package/dist/components/content/term/term.template.js.map +1 -1
  228. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  229. package/dist/components/content/tooltip/tooltip.js +8 -3
  230. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  231. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  232. package/dist/components/content/tooltip/tooltip.styles.js +4 -0
  233. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  234. package/dist/components/index.d.ts +2 -0
  235. package/dist/components/index.d.ts.map +1 -1
  236. package/dist/components/index.js +2 -0
  237. package/dist/components/index.js.map +1 -1
  238. package/dist/components/inputs/date-field/date-field.d.ts +14 -0
  239. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  240. package/dist/components/inputs/date-field/date-field.js +34 -1
  241. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  242. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  243. package/dist/components/inputs/date-field/date-field.styles.js +1 -0
  244. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  245. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  246. package/dist/components/inputs/time-picker/time-picker.js +2 -8
  247. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  248. package/dist/components/layout/box/box.styles.js +7 -7
  249. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  250. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
  251. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  252. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  253. package/dist/components/status-and-feedback/banner/banner.styles.js +25 -24
  254. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  255. package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
  256. package/dist/css/rich-text.css +200 -2
  257. package/dist/css/themes/oranje.css +1 -0
  258. package/dist/css/themes/robijnrood.css +1 -0
  259. package/dist/css/themes/rood.css +1 -0
  260. package/dist/css/themes.css +3 -0
  261. package/dist/css/variables.css +21 -0
  262. package/dist/nldd.min.js +4850 -4264
  263. package/dist/translations/en-US.d.ts.map +1 -1
  264. package/dist/translations/en-US.js +1 -0
  265. package/dist/translations/en-US.js.map +1 -1
  266. package/dist/translations/fy.d.ts.map +1 -1
  267. package/dist/translations/fy.js +1 -0
  268. package/dist/translations/fy.js.map +1 -1
  269. package/dist/translations/nl.generated.d.ts +1 -0
  270. package/dist/translations/nl.generated.d.ts.map +1 -1
  271. package/dist/translations/pap-AW.d.ts.map +1 -1
  272. package/dist/translations/pap-AW.js +1 -0
  273. package/dist/translations/pap-AW.js.map +1 -1
  274. package/dist/translations/pap-CW.d.ts.map +1 -1
  275. package/dist/translations/pap-CW.js +1 -0
  276. package/dist/translations/pap-CW.js.map +1 -1
  277. package/dist/types/react.d.ts +40 -4
  278. package/dist/types/vue.d.ts +46 -4
  279. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  280. package/dist/utilities/autoloader.generated.js +3 -0
  281. package/dist/utilities/autoloader.generated.js.map +1 -1
  282. package/dist/utilities/css-time.d.ts +4 -0
  283. package/dist/utilities/css-time.d.ts.map +1 -0
  284. package/dist/utilities/css-time.js +10 -0
  285. package/dist/utilities/css-time.js.map +1 -0
  286. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  287. package/dist/utilities/dev-rules.generated.js +34 -0
  288. package/dist/utilities/dev-rules.generated.js.map +1 -1
  289. package/lint/data.generated.json +1 -1
  290. package/package.json +13 -1
  291. package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
@@ -1,17 +1,17 @@
1
- import { a as e, n as t, r as n } from "./custom-element-DGlHv_OV.js";
1
+ import { a as e, n as t, r as n } from "./custom-element-C5yyaCZS.js";
2
2
  import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
3
- import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as h, z as g } from "./languages-DGZO3jTf.js";
4
- import { t as _ } from "./custom-element-BW8Ua4c7.js";
5
- import { o as v, r as y, t as b } from "./decorate-Czy-wI4F.js";
6
- import { t as x } from "./shadow-resets-CodxnaUh.js";
7
- import { t as S } from "./code-viewer.i18n-BHfSDRbK.js";
8
- import "./icon-button-C_MZ-jXt.js";
9
- import "./tooltip-BF4HkWOi.js";
10
- import { t as C } from "./translations-BWgmZCAK.js";
11
- import { r as w } from "./element-state-B-44fVqq.js";
12
- import { t as T } from "./defer-focus-F73ud2D9.js";
3
+ import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as ee, z as h } from "./languages-DLHsACpp.js";
4
+ import { t as g } from "./custom-element-BW8Ua4c7.js";
5
+ import { o as _, r as v, t as y } from "./decorate-CkbtFnic.js";
6
+ import { t as b } from "./shadow-resets-Dlq8Oecv.js";
7
+ import { t as x } from "./code-viewer.i18n-BHfSDRbK.js";
8
+ import "./icon-button-DuEiOOoc.js";
9
+ import "./tooltip-660R32cn.js";
10
+ import { t as S } from "./translations-CF08wvn-.js";
11
+ import { r as C } from "./element-state-B-44fVqq.js";
12
+ import { t as w } from "./defer-focus-F73ud2D9.js";
13
13
  // src/components/content/code-viewer/code-viewer.styles.ts
14
- var E = e`
14
+ var T = e`
15
15
  :host {
16
16
  box-sizing: border-box;
17
17
  }
@@ -53,7 +53,7 @@ var E = e`
53
53
  --_code-viewer-gutter-border-width: var(--semantics-dividers-thickness);
54
54
  --_code-viewer-gutter-border-color: var(--semantics-dividers-color);
55
55
 
56
- ${x}
56
+ ${b}
57
57
  display: flex;
58
58
  max-width: 100%;
59
59
  position: relative;
@@ -373,9 +373,9 @@ var E = e`
373
373
  }
374
374
  `;
375
375
  // src/components/content/code-viewer/code-viewer.template.ts
376
- function D(e) {
376
+ function E(e) {
377
377
  let t = e._copyState, n = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : e._t("components.code-viewer.copy-action"), r = n, i = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : "", a = e._diffSummary;
378
- return v`<div class="code-viewer">${a ? v`<div class="code-viewer__diff-summary">${a}</div>` : y}<div class="code-viewer__codemirror"></div><slot @slotchange=${e._onSlotChange}></slot>${e._canCopy ? v`
378
+ return _`<div class="code-viewer">${a ? _`<div class="code-viewer__diff-summary">${a}</div>` : v}<div class="code-viewer__codemirror"></div><slot @slotchange=${e._onSlotChange}></slot>${e._canCopy ? _`
379
379
  <div class="code-viewer__actions">
380
380
  <div class="code-viewer__copy-button">
381
381
  <nldd-tooltip
@@ -391,6 +391,8 @@ function D(e) {
391
391
  accessible-label=${r}
392
392
  tooltip-timing="never"
393
393
  size="sm"
394
+ @pointerdown=${e._onCopyPointerDown}
395
+ @keydown=${e._onCopyKeyDown}
394
396
  @click=${e._onCopyClick}
395
397
  @focusout=${e._onCopyBlur}
396
398
  ></nldd-icon-button>
@@ -401,26 +403,26 @@ function D(e) {
401
403
  aria-live="polite"
402
404
  >${i}</div>
403
405
  </div>
404
- ` : y}</div>`;
406
+ ` : v}</div>`;
405
407
  }
406
408
  // src/components/content/code-viewer/code-viewer.diff.ts
407
- var O = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/, k = /^(diff |index |--- |\+\+\+ |new file|deleted file|similarity |rename |old mode|new mode)/;
408
- function A(e) {
409
+ var D = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/, O = /^(diff |index |--- |\+\+\+ |new file|deleted file|similarity |rename |old mode|new mode)/;
410
+ function k(e) {
409
411
  let t = 0;
410
- for (; t < e.length && k.test(e[t]);) t++;
412
+ for (; t < e.length && O.test(e[t]);) t++;
411
413
  let n = e.slice(0, t);
412
414
  return n.some((e, t) => e.startsWith("--- ") && n[t + 1]?.startsWith("+++ ")) ? e.slice(t) : e;
413
415
  }
414
- function j(e) {
415
- let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => O.test(e)), r = n ? t : A(t), i = [], a = 1, o = 1, s = n ? 0 : Infinity, c = n ? 0 : Infinity, l = null, u = 0, d = 0, f = !1, p = 0;
416
+ function A(e) {
417
+ let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => D.test(e)), r = n ? t : k(t), i = [], a = 1, o = 1, s = n ? 0 : Infinity, c = n ? 0 : Infinity, l = null, u = 0, d = 0, f = !1, p = 0;
416
418
  for (let e of r) {
417
- let t = O.exec(e);
419
+ let t = D.exec(e);
418
420
  if (t) {
419
421
  a = Number(t[1]), s = t[2] === void 0 ? 1 : Number(t[2]), o = Number(t[3]), c = t[4] === void 0 ? 1 : Number(t[4]), l = e, f = !0;
420
422
  continue;
421
423
  }
422
424
  if (s <= 0 && c <= 0) {
423
- f && e !== "" && !e.startsWith("\\") && !k.test(e) && p++;
425
+ f && e !== "" && !e.startsWith("\\") && !O.test(e) && p++;
424
426
  continue;
425
427
  }
426
428
  if (e.startsWith("\\")) continue;
@@ -453,7 +455,7 @@ function j(e) {
453
455
  dropped: p
454
456
  };
455
457
  }
456
- function M(e) {
458
+ function j(e) {
457
459
  let t = [], n = 0;
458
460
  for (; n < e.length;) {
459
461
  if (e[n].kind !== "removed") {
@@ -468,7 +470,7 @@ function M(e) {
468
470
  }
469
471
  return t;
470
472
  }
471
- var N = class extends f {
473
+ var M = class extends f {
472
474
  constructor(e) {
473
475
  super(), this.text = e;
474
476
  }
@@ -478,14 +480,14 @@ var N = class extends f {
478
480
  toDOM() {
479
481
  return document.createTextNode(this.text);
480
482
  }
481
- }, P = class extends f {
483
+ }, N = class extends f {
482
484
  constructor(e) {
483
485
  super(), this.className = e, this.elementClass = e;
484
486
  }
485
487
  eq(e) {
486
488
  return e.className === this.className;
487
489
  }
488
- }, F = class extends c {
490
+ }, P = class extends c {
489
491
  constructor(e) {
490
492
  super(), this.text = e;
491
493
  }
@@ -496,7 +498,7 @@ var N = class extends f {
496
498
  let e = document.createElement("span");
497
499
  return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
498
500
  }
499
- }, I = class extends c {
501
+ }, F = class extends c {
500
502
  constructor(e) {
501
503
  super(), this.header = e;
502
504
  }
@@ -507,102 +509,104 @@ var N = class extends f {
507
509
  let e = document.createElement("div");
508
510
  return e.className = "cm-diff-hunk", e.setAttribute("aria-hidden", "true"), e.textContent = this.header, e;
509
511
  }
510
- }, L = {
512
+ }, I = {
511
513
  added: "cm-diff-added",
512
514
  removed: "cm-diff-removed",
513
515
  context: "cm-diff-context"
514
- }, R = {
516
+ }, L = {
515
517
  added: "+",
516
518
  removed: "−",
517
519
  context: ""
518
520
  };
519
- function z(e) {
521
+ function R(e) {
520
522
  let t = [], n = 0;
521
523
  for (let r of e) t.push(n), n += r.text.length + 1;
522
524
  return t;
523
525
  }
524
- function B(e, t) {
526
+ function z(e, t) {
525
527
  let { lines: n } = e;
526
528
  if (n.length === 0) return [];
527
- let r = z(n), i = [], c = [];
529
+ let r = R(n), i = [], c = [];
528
530
  n.forEach((e, n) => {
529
531
  let a = r[n];
530
532
  e.hunk && i.push(s.widget({
531
- widget: new I(e.hunk),
533
+ widget: new F(e.hunk),
532
534
  block: !0,
533
535
  side: -1
534
- }).range(a)), i.push(s.line({ class: L[e.kind] }).range(a)), e.kind === "added" && i.push(s.widget({
535
- widget: new F(t.addedLine(e.newNumber)),
536
+ }).range(a)), i.push(s.line({ class: I[e.kind] }).range(a)), e.kind === "added" && i.push(s.widget({
537
+ widget: new P(t.addedLine(e.newNumber)),
536
538
  side: -1
537
539
  }).range(a)), e.kind === "removed" && i.push(s.widget({
538
- widget: new F(t.removedLine(e.oldNumber)),
540
+ widget: new P(t.removedLine(e.oldNumber)),
539
541
  side: -1
540
- }).range(a)), c.push(new P(L[e.kind]).range(a));
542
+ }).range(a)), c.push(new N(I[e.kind]).range(a));
541
543
  });
542
- let l = (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)), d = (e, t) => g({
544
+ let l = (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)), d = (e, t) => h({
543
545
  class: `cm-diff-gutter cm-diff-${e}-gutter`,
544
546
  lineMarker: (e, n) => {
545
547
  let r = l(e, n), i = r ? t(r) : null;
546
- return i === null ? null : new N(String(i));
548
+ return i === null ? null : new M(String(i));
547
549
  },
548
- initialSpacer: () => new N(u(t))
550
+ initialSpacer: () => new M(u(t))
549
551
  });
550
552
  return [
551
553
  a.decorations.of(s.set(i, !0)),
552
554
  o.of(m.of(c, !0)),
553
555
  d("old", (e) => e.oldNumber),
554
556
  d("new", (e) => e.newNumber),
555
- g({
557
+ h({
556
558
  class: "cm-diff-gutter cm-diff-sign-gutter",
557
559
  lineMarker: (e, t) => {
558
560
  let n = l(e, t);
559
- return n && n.kind !== "context" ? new N(R[n.kind]) : null;
561
+ return n && n.kind !== "context" ? new M(L[n.kind]) : null;
560
562
  },
561
- initialSpacer: () => new N("+")
563
+ initialSpacer: () => new M("+")
562
564
  })
563
565
  ];
564
566
  }
565
- var V = .5, H = s.mark({ class: "cm-diff-removed-word" }), U = s.mark({ class: "cm-diff-added-word" });
566
- async function W(e) {
567
- let t = M(e.lines);
567
+ var B = .5, V = s.mark({ class: "cm-diff-removed-word" }), H = s.mark({ class: "cm-diff-added-word" });
568
+ async function U(e) {
569
+ let t = j(e.lines);
568
570
  if (t.length === 0) return [];
569
- let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = z(e.lines), i = [];
571
+ let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = R(e.lines), i = [];
570
572
  for (let [a, o] of t) {
571
573
  let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
572
- 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) * V)) for (let e of c) e.toA > e.fromA && i.push(H.range(r[a] + e.fromA, r[a] + e.toA)), e.toB > e.fromB && i.push(U.range(r[o] + e.fromB, r[o] + e.toB));
574
+ 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) * B)) for (let e of c) e.toA > e.fromA && i.push(V.range(r[a] + e.fromA, r[a] + e.toA)), e.toB > e.fromB && i.push(H.range(r[o] + e.fromB, r[o] + e.toB));
573
575
  }
574
576
  return i.length ? a.decorations.of(s.set(i, !0)) : [];
575
577
  }
576
578
  // src/utilities/color-scheme-repaint.ts
577
- var G = /* @__PURE__ */ new Set(), K = null;
578
- function q() {
579
- K || (K = new MutationObserver((e) => {
579
+ var W = /* @__PURE__ */ new Set(), G = null;
580
+ function K() {
581
+ G || (G = new MutationObserver((e) => {
580
582
  for (let t of e) if (t.attributeName === "data-scheme") {
581
- for (let e of G) e();
583
+ for (let e of W) e();
582
584
  return;
583
585
  }
584
- }), K.observe(document.documentElement, {
586
+ }), G.observe(document.documentElement, {
585
587
  attributes: !0,
586
588
  attributeFilter: ["data-scheme"]
587
589
  }));
588
590
  }
589
- function J(e) {
590
- return q(), G.add(e), () => {
591
- G.delete(e), G.size === 0 && (K?.disconnect(), K = null);
591
+ function q(e) {
592
+ return K(), W.add(e), () => {
593
+ W.delete(e), W.size === 0 && (G?.disconnect(), G = null);
592
594
  };
593
595
  }
594
- function Y(e) {
596
+ function J(e) {
595
597
  let t = e.scrollLeft, n = e.scrollTop, r = e.style.display;
596
598
  e.style.display = "none", e.offsetHeight, e.style.display = r, e.scrollLeft = t, e.scrollTop = n;
597
599
  }
598
600
  // src/components/content/code-viewer/code-viewer.ts
599
- var X, Z = 300;
601
+ var Y, X = 300, Z = 2e3;
600
602
  function Q() {
601
603
  return typeof window < "u" && window.isSecureContext === !0 && typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function";
602
604
  }
603
- var $ = (X = class extends d {
605
+ var $ = (Y = class extends d {
604
606
  constructor(...e) {
605
- super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.lineNumbers = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new u(), this._wrapCompartment = new u(), this._diffCompartment = new u(), this._wordCompartment = new u(), this._lineNumbersCompartment = new u(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null;
607
+ super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.lineNumbers = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new u(), this._wrapCompartment = new u(), this._diffCompartment = new u(), this._wordCompartment = new u(), this._lineNumbersCompartment = new u(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null, this._copyPointerType = "", this._onCopyScroll = () => {
608
+ clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyState = "idle";
609
+ };
606
610
  }
607
611
  get _canCopy() {
608
612
  return !this.noCopy && Q();
@@ -628,10 +632,10 @@ var $ = (X = class extends d {
628
632
  ];
629
633
  }
630
634
  render() {
631
- return D(this);
635
+ return E(this);
632
636
  }
633
637
  focus(e) {
634
- if (T(this, e)) return;
638
+ if (w(this, e)) return;
635
639
  let t = this.view?.scrollDOM;
636
640
  this._isScrollable && t && t.focus(e);
637
641
  }
@@ -639,13 +643,13 @@ var $ = (X = class extends d {
639
643
  return this._parseDiff(this._getRawText()), this._parsedDiff?.doc ?? this._getRawText();
640
644
  }
641
645
  _parseDiff(e) {
642
- this._parsedDiff = this.diff ? j(e) : null, w(this, "diff-lines-dropped", (this._parsedDiff?.dropped ?? 0) > 0);
646
+ this._parsedDiff = this.diff ? A(e) : null, C(this, "diff-lines-dropped", (this._parsedDiff?.dropped ?? 0) > 0);
643
647
  }
644
648
  connectedCallback() {
645
- super.connectedCallback(), this._unsubscribeScheme = J(() => this._repaint());
649
+ super.connectedCallback(), this._unsubscribeScheme = q(() => this._repaint());
646
650
  }
647
651
  disconnectedCallback() {
648
- super.disconnectedCallback(), this._unsubscribeScheme?.(), this._unsubscribeScheme = void 0, this._resizeObserver?.disconnect(), this._resizeObserver = void 0, this._mutationObserver?.disconnect(), this._mutationObserver = void 0, this._scrollableRaf !== void 0 && (cancelAnimationFrame(this._scrollableRaf), this._scrollableRaf = void 0), clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
652
+ super.disconnectedCallback(), this._unsubscribeScheme?.(), this._unsubscribeScheme = void 0, this._resizeObserver?.disconnect(), this._resizeObserver = void 0, this._mutationObserver?.disconnect(), this._mutationObserver = void 0, this._scrollableRaf !== void 0 && (cancelAnimationFrame(this._scrollableRaf), this._scrollableRaf = void 0), clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, document.removeEventListener("scroll", this._onCopyScroll, { capture: !0 });
649
653
  }
650
654
  firstUpdated() {
651
655
  this._copyUnavailable = !this.noCopy && !Q(), this._parseDiff(this._getRawText()), this.mountEditor(this._parsedDiff?.doc ?? this._getRawText()), this.onEditorMounted();
@@ -664,7 +668,10 @@ var $ = (X = class extends d {
664
668
  }), this._resizeObserver.observe(e)), this._observeSlotText(), this.language && this._applyLanguage(), this._applyWords(), this._updateScrollable();
665
669
  }
666
670
  updated(e) {
667
- 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"), w(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 ? a.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
671
+ e.has("_copyState") && (this._copyState === "idle" ? document.removeEventListener("scroll", this._onCopyScroll, { capture: !0 }) : document.addEventListener("scroll", this._onCopyScroll, {
672
+ capture: !0,
673
+ passive: !0
674
+ })), 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 ? a.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
668
675
  }
669
676
  _onSlotChange() {
670
677
  this._applyContent();
@@ -688,16 +695,16 @@ var $ = (X = class extends d {
688
695
  return this.lineNumbers && !this.diff ? l() : [];
689
696
  }
690
697
  _diffExtension(e) {
691
- return B(e, {
698
+ return z(e, {
692
699
  addedLine: (e) => this._t("components.code-viewer.added-line-label", { number: e }),
693
700
  removedLine: (e) => this._t("components.code-viewer.removed-line-label", { number: e })
694
701
  });
695
702
  }
696
703
  _applyWords() {
697
704
  let e = this._parsedDiff;
698
- e && (this._wordsPending = W(e).then((t) => {
699
- this._parsedDiff === e && this.reconfigure(this._wordCompartment, t), w(this, "no-diff-words", !1);
700
- }, () => w(this, "no-diff-words", !0)));
705
+ e && (this._wordsPending = U(e).then((t) => {
706
+ this._parsedDiff === e && this.reconfigure(this._wordCompartment, t), C(this, "no-diff-words", !1);
707
+ }, () => C(this, "no-diff-words", !0)));
701
708
  }
702
709
  get _diffSummary() {
703
710
  let e = this._parsedDiff;
@@ -711,7 +718,7 @@ var $ = (X = class extends d {
711
718
  });
712
719
  }
713
720
  _t(e, t) {
714
- return C(this.translations, S, e, t);
721
+ return S(this.translations, x, e, t);
715
722
  }
716
723
  async getUpdateComplete() {
717
724
  let e = await super.getUpdateComplete();
@@ -726,7 +733,7 @@ var $ = (X = class extends d {
726
733
  this.reconfigure(this._languageCompartment, []);
727
734
  return;
728
735
  }
729
- let t = h(e);
736
+ let t = ee(e);
730
737
  if (!t) this.reconfigure(this._languageCompartment, []);
731
738
  else try {
732
739
  let n = await t;
@@ -751,14 +758,22 @@ var $ = (X = class extends d {
751
758
  return e ? e.assignedNodes({ flatten: !0 }).map((e) => e.textContent ?? "").join("") : "";
752
759
  }
753
760
  async _onCopyClick(e) {
754
- (e?.currentTarget)?.focus?.();
761
+ (e?.currentTarget)?.focus?.({ preventScroll: !0 });
755
762
  try {
756
763
  if (!Q()) throw Error("Clipboard API unavailable");
757
764
  await navigator.clipboard.writeText(this._getRawText()), this._copyState = "success";
758
765
  } catch {
759
766
  this._copyState = "failure";
760
767
  }
761
- clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
768
+ clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyPointerType && this._copyPointerType !== "mouse" && (this._copyResetTimer = setTimeout(() => {
769
+ this._copyResetTimer = void 0, this._copyState = "idle";
770
+ }, Z));
771
+ }
772
+ _onCopyPointerDown(e) {
773
+ this._copyPointerType = e.pointerType;
774
+ }
775
+ _onCopyKeyDown() {
776
+ this._copyPointerType = "";
762
777
  }
763
778
  _onCopyBlur() {
764
779
  this._copyState !== "idle" && (this._copyState = "idle");
@@ -766,7 +781,7 @@ var $ = (X = class extends d {
766
781
  _onCopyPointerLeave() {
767
782
  this._copyState !== "idle" && (this.shadowRoot?.querySelector("nldd-icon-button")?.matches(":focus-within") || (clearTimeout(this._copyResetTimer), this._copyResetTimer = setTimeout(() => {
768
783
  this._copyResetTimer = void 0, this._copyState = "idle";
769
- }, Z)));
784
+ }, X)));
770
785
  }
771
786
  _onCopyPointerEnter() {
772
787
  clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
@@ -776,36 +791,36 @@ var $ = (X = class extends d {
776
791
  }
777
792
  _repaint() {
778
793
  let e = this.view?.scrollDOM;
779
- e && Y(e);
794
+ e && J(e);
780
795
  }
781
- }, X.styles = E, X);
782
- b([n({
796
+ }, Y.styles = T, Y);
797
+ y([n({
783
798
  reflect: !0,
784
799
  converter: r("box-tinted")
785
- })], $.prototype, "appearance", void 0), b([n({
800
+ })], $.prototype, "appearance", void 0), y([n({
786
801
  reflect: !0,
787
802
  converter: r("")
788
- })], $.prototype, "language", void 0), b([n({
803
+ })], $.prototype, "language", void 0), y([n({
789
804
  type: Boolean,
790
805
  reflect: !0
791
- })], $.prototype, "diff", void 0), b([n({
806
+ })], $.prototype, "diff", void 0), y([n({
792
807
  type: Boolean,
793
808
  reflect: !0,
794
809
  attribute: "line-numbers"
795
- })], $.prototype, "lineNumbers", void 0), b([n({
810
+ })], $.prototype, "lineNumbers", void 0), y([n({
796
811
  type: Boolean,
797
812
  reflect: !0,
798
813
  attribute: "no-copy"
799
- })], $.prototype, "noCopy", void 0), b([n({
814
+ })], $.prototype, "noCopy", void 0), y([n({
800
815
  type: Boolean,
801
816
  reflect: !0
802
- })], $.prototype, "wrap", void 0), b([n({
817
+ })], $.prototype, "wrap", void 0), y([n({
803
818
  reflect: !0,
804
819
  attribute: "max-height",
805
820
  converter: r("")
806
- })], $.prototype, "maxHeight", void 0), b([n({
821
+ })], $.prototype, "maxHeight", void 0), y([n({
807
822
  type: Boolean,
808
823
  reflect: !0,
809
824
  attribute: "copy-unavailable"
810
- })], $.prototype, "_copyUnavailable", void 0), b([n({ type: Object })], $.prototype, "translations", void 0), b([t()], $.prototype, "_isScrollable", void 0), b([t()], $.prototype, "_copyState", void 0), $ = b([_("nldd-code-viewer")], $);
825
+ })], $.prototype, "_copyUnavailable", void 0), y([n({ type: Object })], $.prototype, "translations", void 0), y([t()], $.prototype, "_isScrollable", void 0), y([t()], $.prototype, "_copyState", void 0), $ = y([g("nldd-code-viewer")], $);
811
826
  export { $ as NLDDCodeViewer };
@@ -1,9 +1,9 @@
1
1
  import { l as e } from "./style-mod-DGMhzWuk.js";
2
- import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-DGZO3jTf.js";
3
- import { r as y } from "./custom-element-DGlHv_OV.js";
4
- import { n as se, t as b } from "./decorate-Czy-wI4F.js";
2
+ import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-DLHsACpp.js";
3
+ import { r as y } from "./custom-element-C5yyaCZS.js";
4
+ import { n as se, t as b } from "./decorate-CkbtFnic.js";
5
5
  import { t as ce } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as le } from "./described-by-mixin-fLi4Nmt7.js";
6
+ import { t as le } from "./described-by-mixin-DXC6jkCd.js";
7
7
  import { t as ue } from "./form-associated-mixin-BtStDDYA.js";
8
8
  // node_modules/@codemirror/commands/dist/index.js
9
9
  var de = (e) => {
@@ -1,17 +1,17 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
2
- import { a as i, n as a, o, r as s } from "./custom-element-DGlHv_OV.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
+ import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.js";
3
3
  import { t as c } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as l } from "./query-ChDzi9FQ.js";
5
5
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
6
6
  import { n as d } from "./breakpoints-Cwor8TRP.js";
7
- import { t as f } from "./if-defined-pKQLIQvK.js";
7
+ import { t as f } from "./if-defined-B7fJBsUt.js";
8
8
  import { t as p } from "./collection.i18n-DqWPGnZO.js";
9
- import "./button-CwY9fWCg.js";
10
- import "./button-bar-DkqbRvff.js";
11
- import "./icon-button-C_MZ-jXt.js";
12
- import "./icon-BydOAoVO.js";
9
+ import "./button-DpKyquzm.js";
10
+ import "./button-bar-BSt-QQRG.js";
11
+ import "./icon-button-DuEiOOoc.js";
12
+ import "./icon-B5kHyCz2.js";
13
13
  import { t as m } from "./spacing-scale-SufIjHeN.js";
14
- import { t as h } from "./translations-BWgmZCAK.js";
14
+ import { t as h } from "./translations-CF08wvn-.js";
15
15
  import { t as g } from "./list-items-Du0RCWsY.js";
16
16
  // src/components/layout/collection/collection.styles.ts
17
17
  var _ = o(d.smMax), v = o(d.mdMin), y = o(d.mdMax), b = o(d.lgMin), x = i`
@@ -1,17 +1,17 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
2
- import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
+ import { a as i, n as a, r as o } from "./custom-element-C5yyaCZS.js";
3
3
  import { t as s } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as c } from "./query-ChDzi9FQ.js";
5
5
  import { t as l } from "./form-associated-mixin-BtStDDYA.js";
6
6
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { t as d } from "./shadow-resets-CodxnaUh.js";
8
- import "./icon-button-C_MZ-jXt.js";
9
- import "./icon-BydOAoVO.js";
7
+ import { t as d } from "./shadow-resets-Dlq8Oecv.js";
8
+ import "./icon-button-DuEiOOoc.js";
9
+ import "./icon-B5kHyCz2.js";
10
10
  import { t as f } from "./combo-box.i18n-BorzYnJ2.js";
11
- import "./menu-rE6tDSAy.js";
11
+ import "./menu-CYILGTpB.js";
12
12
  import { t as p } from "./implicit-submission-Csbcor_E.js";
13
- import { t as m } from "./described-by-mixin-fLi4Nmt7.js";
14
- import { t as h } from "./translations-BWgmZCAK.js";
13
+ import { t as m } from "./described-by-mixin-DXC6jkCd.js";
14
+ import { t as h } from "./translations-CF08wvn-.js";
15
15
  import { r as g } from "./element-state-B-44fVqq.js";
16
16
  import { t as _ } from "./defer-focus-F73ud2D9.js";
17
17
  // src/components/inputs/combo-box/combo-box.styles.ts
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, t as r } from "./decorate-Czy-wI4F.js";
3
- import { a as i, n as a, o, r as s } from "./custom-element-DGlHv_OV.js";
2
+ import { n as t, o as n, t as r } from "./decorate-CkbtFnic.js";
3
+ import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.js";
4
4
  import { t as c } from "./custom-element-BW8Ua4c7.js";
5
5
  import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
6
6
  import { n as u } from "./breakpoints-Cwor8TRP.js";
@@ -0,0 +1,8 @@
1
+ // src/utilities/css-time.ts
2
+ function e(e) {
3
+ let t = parseFloat(e);
4
+ if (Number.isNaN(t)) return 0;
5
+ let n = e.trim().toLowerCase();
6
+ return n.endsWith("ms") ? t : n.endsWith("s") ? t * 1e3 : 0;
7
+ }
8
+ export { e as t };
@@ -297,7 +297,7 @@ function O(e) {
297
297
  });
298
298
  }
299
299
  // src/utilities/dev-checks-trigger.ts
300
- import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-qTR6tciJ.js").then(({ startDevChecks: e }) => e());
300
+ import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-UHHli7gE.js").then(({ startDevChecks: e }) => e());
301
301
  // src/utilities/custom-element.ts
302
302
  var k = globalThis.HTMLElement ?? class {};
303
303
  export { o as a, w as i, O as n, a as o, D as r, k as t };