@mieweb/ui 0.10.0-dev.3 → 0.10.0-dev.30

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 (498) hide show
  1. package/README.md +4 -4
  2. package/agent/mieweb-ui.instructions.md +90 -1
  3. package/dist/CsvBlock-FX5YNGNE.cjs +17 -0
  4. package/dist/{CsvBlock-ROJCKJDP.cjs.map → CsvBlock-FX5YNGNE.cjs.map} +1 -1
  5. package/dist/CsvBlock-VLMG7GUO.js +8 -0
  6. package/dist/{CsvBlock-UWPMTLE2.js.map → CsvBlock-VLMG7GUO.js.map} +1 -1
  7. package/dist/HtmlPreviewBlock-5JE7L3GR.js +8 -0
  8. package/dist/{HtmlPreviewBlock-ME5U3XNS.js.map → HtmlPreviewBlock-5JE7L3GR.js.map} +1 -1
  9. package/dist/HtmlPreviewBlock-UO37JQ3K.cjs +17 -0
  10. package/dist/{HtmlPreviewBlock-DWFN6EUB.cjs.map → HtmlPreviewBlock-UO37JQ3K.cjs.map} +1 -1
  11. package/dist/Input-yN516s5_.d.cts +3 -0
  12. package/dist/Input-yN516s5_.d.ts +3 -0
  13. package/dist/MermaidBlock-3XHFBAMV.js +8 -0
  14. package/dist/{MermaidBlock-2B6CPD6Y.js.map → MermaidBlock-3XHFBAMV.js.map} +1 -1
  15. package/dist/MermaidBlock-RZ75RPZA.cjs +17 -0
  16. package/dist/{MermaidBlock-D2UC5M55.cjs.map → MermaidBlock-RZ75RPZA.cjs.map} +1 -1
  17. package/dist/SurveyBlock-MUVJ3JUI.js +8 -0
  18. package/dist/{SurveyBlock-4DO62RBT.js.map → SurveyBlock-MUVJ3JUI.js.map} +1 -1
  19. package/dist/SurveyBlock-VH47YXZC.cjs +17 -0
  20. package/dist/{SurveyBlock-4CD4AYMJ.cjs.map → SurveyBlock-VH47YXZC.cjs.map} +1 -1
  21. package/dist/ag-grid.d.cts +142 -1
  22. package/dist/ag-grid.d.ts +142 -1
  23. package/dist/brands/bluehive.cjs +3 -3
  24. package/dist/brands/bluehive.css +3 -0
  25. package/dist/brands/bluehive.js +1 -1
  26. package/dist/brands/index.cjs +14 -14
  27. package/dist/brands/index.js +4 -4
  28. package/dist/{chunk-JYZW2PZS.cjs → chunk-254QK722.cjs} +7 -7
  29. package/dist/chunk-254QK722.cjs.map +1 -0
  30. package/dist/{chunk-VKELAMAZ.js → chunk-2JICT4A2.js} +27 -11
  31. package/dist/chunk-2JICT4A2.js.map +1 -0
  32. package/dist/{chunk-VPWJCJCX.cjs → chunk-35Y4ILCU.cjs} +7 -7
  33. package/dist/{chunk-VPWJCJCX.cjs.map → chunk-35Y4ILCU.cjs.map} +1 -1
  34. package/dist/{chunk-G3JX3UAU.cjs → chunk-3KPDQG5O.cjs} +5 -5
  35. package/dist/{chunk-G3JX3UAU.cjs.map → chunk-3KPDQG5O.cjs.map} +1 -1
  36. package/dist/{chunk-Y5HFM7LO.js → chunk-3RXZWHCU.js} +4 -4
  37. package/dist/{chunk-Y5HFM7LO.js.map → chunk-3RXZWHCU.js.map} +1 -1
  38. package/dist/chunk-3YBS4WUQ.js +52 -0
  39. package/dist/chunk-3YBS4WUQ.js.map +1 -0
  40. package/dist/{chunk-WNJRS7Y7.cjs → chunk-3ZWCIPFT.cjs} +4 -2
  41. package/dist/chunk-3ZWCIPFT.cjs.map +1 -0
  42. package/dist/chunk-4HC2IBOX.js +258 -0
  43. package/dist/chunk-4HC2IBOX.js.map +1 -0
  44. package/dist/chunk-4IS3QCOQ.cjs +453 -0
  45. package/dist/chunk-4IS3QCOQ.cjs.map +1 -0
  46. package/dist/chunk-4NCDU5IG.cjs +56 -0
  47. package/dist/chunk-4NCDU5IG.cjs.map +1 -0
  48. package/dist/{chunk-E4IBHYJ7.cjs → chunk-6N6LIAUJ.cjs} +9 -9
  49. package/dist/{chunk-E4IBHYJ7.cjs.map → chunk-6N6LIAUJ.cjs.map} +1 -1
  50. package/dist/{chunk-3M7TAXNR.js → chunk-6ZPTZTKN.js} +3 -3
  51. package/dist/{chunk-3M7TAXNR.js.map → chunk-6ZPTZTKN.js.map} +1 -1
  52. package/dist/{chunk-MWVW4APN.cjs → chunk-7UTBDFFL.cjs} +4 -4
  53. package/dist/{chunk-MWVW4APN.cjs.map → chunk-7UTBDFFL.cjs.map} +1 -1
  54. package/dist/{chunk-FJ7YPVKV.js → chunk-7X6R3JIA.js} +3 -3
  55. package/dist/{chunk-FJ7YPVKV.js.map → chunk-7X6R3JIA.js.map} +1 -1
  56. package/dist/{chunk-GOALNQZ2.js → chunk-7YO7DNUV.js} +4 -83
  57. package/dist/chunk-7YO7DNUV.js.map +1 -0
  58. package/dist/{chunk-P2CA3XGI.js → chunk-7ZV67VZE.js} +4 -4
  59. package/dist/{chunk-P2CA3XGI.js.map → chunk-7ZV67VZE.js.map} +1 -1
  60. package/dist/chunk-ADW7ZYCY.cjs +2707 -0
  61. package/dist/chunk-ADW7ZYCY.cjs.map +1 -0
  62. package/dist/{chunk-2G75X6TS.cjs → chunk-AHHFFXJR.cjs} +3 -3
  63. package/dist/{chunk-2G75X6TS.cjs.map → chunk-AHHFFXJR.cjs.map} +1 -1
  64. package/dist/{chunk-VILW53UZ.js → chunk-BIQ7GSO2.js} +3 -3
  65. package/dist/{chunk-VILW53UZ.js.map → chunk-BIQ7GSO2.js.map} +1 -1
  66. package/dist/chunk-BM35CACB.js +148 -0
  67. package/dist/chunk-BM35CACB.js.map +1 -0
  68. package/dist/chunk-BNH4SXJB.js +874 -0
  69. package/dist/chunk-BNH4SXJB.js.map +1 -0
  70. package/dist/{chunk-XEAT7XJG.cjs → chunk-BUT6MF5K.cjs} +29 -13
  71. package/dist/chunk-BUT6MF5K.cjs.map +1 -0
  72. package/dist/{chunk-UAMXCMST.cjs → chunk-CFI3TQMA.cjs} +3 -3
  73. package/dist/{chunk-UAMXCMST.cjs.map → chunk-CFI3TQMA.cjs.map} +1 -1
  74. package/dist/{chunk-J5CSLNCN.cjs → chunk-COM7RNZU.cjs} +2 -2
  75. package/dist/{chunk-J5CSLNCN.cjs.map → chunk-COM7RNZU.cjs.map} +1 -1
  76. package/dist/{chunk-XI34EGK5.cjs → chunk-CPPUT74P.cjs} +9 -9
  77. package/dist/{chunk-XI34EGK5.cjs.map → chunk-CPPUT74P.cjs.map} +1 -1
  78. package/dist/{chunk-ACCAXVOG.js → chunk-CRS2CQWM.js} +134 -56
  79. package/dist/chunk-CRS2CQWM.js.map +1 -0
  80. package/dist/{chunk-OE5CKRUC.js → chunk-D22GE27K.js} +4 -4
  81. package/dist/{chunk-OE5CKRUC.js.map → chunk-D22GE27K.js.map} +1 -1
  82. package/dist/chunk-DXEPYK3I.cjs +92 -0
  83. package/dist/chunk-DXEPYK3I.cjs.map +1 -0
  84. package/dist/{chunk-ZGRCSNPK.js → chunk-E2PBPQGS.js} +4 -4
  85. package/dist/{chunk-ZGRCSNPK.js.map → chunk-E2PBPQGS.js.map} +1 -1
  86. package/dist/{chunk-5JJ2DAE4.js → chunk-ENMXHZNE.js} +3 -3
  87. package/dist/{chunk-5JJ2DAE4.js.map → chunk-ENMXHZNE.js.map} +1 -1
  88. package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
  89. package/dist/chunk-F4N67NAF.js.map +1 -0
  90. package/dist/chunk-FBCDYTWM.js +385 -0
  91. package/dist/chunk-FBCDYTWM.js.map +1 -0
  92. package/dist/{chunk-VU6UTJRM.js → chunk-FIKO4WR6.js} +3 -3
  93. package/dist/{chunk-VU6UTJRM.js.map → chunk-FIKO4WR6.js.map} +1 -1
  94. package/dist/{chunk-DEDN5HAG.js → chunk-FZURBQJ2.js} +3 -3
  95. package/dist/{chunk-DEDN5HAG.js.map → chunk-FZURBQJ2.js.map} +1 -1
  96. package/dist/{chunk-JHULS3EC.js → chunk-GBUVIGD5.js} +89 -3
  97. package/dist/chunk-GBUVIGD5.js.map +1 -0
  98. package/dist/chunk-GU5OS7JJ.cjs +281 -0
  99. package/dist/chunk-GU5OS7JJ.cjs.map +1 -0
  100. package/dist/{chunk-V7D3YGUV.js → chunk-GVLNXPJX.js} +4 -4
  101. package/dist/{chunk-V7D3YGUV.js.map → chunk-GVLNXPJX.js.map} +1 -1
  102. package/dist/chunk-GVM6DTR5.js +90 -0
  103. package/dist/chunk-GVM6DTR5.js.map +1 -0
  104. package/dist/{chunk-SQHMGT4W.js → chunk-GW4RFJZ5.js} +7 -7
  105. package/dist/chunk-GW4RFJZ5.js.map +1 -0
  106. package/dist/{chunk-3QEVGSFG.cjs → chunk-GYXUS65N.cjs} +5 -5
  107. package/dist/{chunk-3QEVGSFG.cjs.map → chunk-GYXUS65N.cjs.map} +1 -1
  108. package/dist/{chunk-WGPLUCBD.js → chunk-H2IAMSHK.js} +3 -3
  109. package/dist/{chunk-WGPLUCBD.js.map → chunk-H2IAMSHK.js.map} +1 -1
  110. package/dist/{chunk-JID7AZTO.cjs → chunk-H3ROMJYI.cjs} +4 -4
  111. package/dist/{chunk-JID7AZTO.cjs.map → chunk-H3ROMJYI.cjs.map} +1 -1
  112. package/dist/{chunk-GD7EBGC4.cjs → chunk-HC3NAN55.cjs} +19 -19
  113. package/dist/{chunk-GD7EBGC4.cjs.map → chunk-HC3NAN55.cjs.map} +1 -1
  114. package/dist/{chunk-7ZXAQTV4.cjs → chunk-HIZWOAWY.cjs} +8 -8
  115. package/dist/{chunk-7ZXAQTV4.cjs.map → chunk-HIZWOAWY.cjs.map} +1 -1
  116. package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
  117. package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
  118. package/dist/chunk-IT775BYG.js +179 -0
  119. package/dist/chunk-IT775BYG.js.map +1 -0
  120. package/dist/chunk-IYWG72DM.js +166 -0
  121. package/dist/chunk-IYWG72DM.js.map +1 -0
  122. package/dist/{chunk-2YCERQWC.js → chunk-JBIGSP2T.js} +6 -6
  123. package/dist/{chunk-2YCERQWC.js.map → chunk-JBIGSP2T.js.map} +1 -1
  124. package/dist/{chunk-IX6KFB3K.cjs → chunk-JELTRRR5.cjs} +9 -9
  125. package/dist/{chunk-IX6KFB3K.cjs.map → chunk-JELTRRR5.cjs.map} +1 -1
  126. package/dist/{chunk-YQDA366U.js → chunk-JHG3ELS2.js} +2 -2
  127. package/dist/{chunk-YQDA366U.js.map → chunk-JHG3ELS2.js.map} +1 -1
  128. package/dist/{chunk-WWJIW2IH.cjs → chunk-JSXIB6EJ.cjs} +4 -4
  129. package/dist/{chunk-WWJIW2IH.cjs.map → chunk-JSXIB6EJ.cjs.map} +1 -1
  130. package/dist/{chunk-WNM7IZJ7.js → chunk-K34DXMLZ.js} +7 -7
  131. package/dist/{chunk-WNM7IZJ7.js.map → chunk-K34DXMLZ.js.map} +1 -1
  132. package/dist/{chunk-FXO5ARBB.cjs → chunk-KDW6BD4O.cjs} +4 -4
  133. package/dist/{chunk-FXO5ARBB.cjs.map → chunk-KDW6BD4O.cjs.map} +1 -1
  134. package/dist/{chunk-Z5V7SAZ4.js → chunk-KFEN2SRZ.js} +3 -3
  135. package/dist/{chunk-Z5V7SAZ4.js.map → chunk-KFEN2SRZ.js.map} +1 -1
  136. package/dist/{chunk-2QKBTPUC.cjs → chunk-KGKBZN3T.cjs} +8 -8
  137. package/dist/{chunk-2QKBTPUC.cjs.map → chunk-KGKBZN3T.cjs.map} +1 -1
  138. package/dist/{chunk-UV2FVNWT.cjs → chunk-LFPJ3OUM.cjs} +5 -5
  139. package/dist/{chunk-UV2FVNWT.cjs.map → chunk-LFPJ3OUM.cjs.map} +1 -1
  140. package/dist/{chunk-WNAA6CLE.cjs → chunk-LHBWRMNC.cjs} +94 -2
  141. package/dist/chunk-LHBWRMNC.cjs.map +1 -0
  142. package/dist/{chunk-JI244Y7C.js → chunk-MLAWXPRY.js} +190 -5
  143. package/dist/chunk-MLAWXPRY.js.map +1 -0
  144. package/dist/chunk-N7C4OEP7.cjs +356 -0
  145. package/dist/chunk-N7C4OEP7.cjs.map +1 -0
  146. package/dist/{chunk-WNZAYBVB.cjs → chunk-NKV76R65.cjs} +48 -48
  147. package/dist/{chunk-WNZAYBVB.cjs.map → chunk-NKV76R65.cjs.map} +1 -1
  148. package/dist/{chunk-PYJDVWXM.js → chunk-NUB5HRKS.js} +3 -3
  149. package/dist/{chunk-PYJDVWXM.js.map → chunk-NUB5HRKS.js.map} +1 -1
  150. package/dist/{chunk-LL6IWKI3.js → chunk-OW3SQJ7P.js} +3 -3
  151. package/dist/{chunk-LL6IWKI3.js.map → chunk-OW3SQJ7P.js.map} +1 -1
  152. package/dist/{chunk-5GUOOLPR.cjs → chunk-P5CMZZRZ.cjs} +5 -5
  153. package/dist/{chunk-5GUOOLPR.cjs.map → chunk-P5CMZZRZ.cjs.map} +1 -1
  154. package/dist/{chunk-3T7QGLNB.js → chunk-PJEL5ZZV.js} +4 -2
  155. package/dist/chunk-PJEL5ZZV.js.map +1 -0
  156. package/dist/{chunk-H4ZXMQQW.js → chunk-QOVJ6Z6R.js} +3 -3
  157. package/dist/{chunk-H4ZXMQQW.js.map → chunk-QOVJ6Z6R.js.map} +1 -1
  158. package/dist/{chunk-U42F3HLE.cjs → chunk-QURJVPRH.cjs} +190 -5
  159. package/dist/chunk-QURJVPRH.cjs.map +1 -0
  160. package/dist/{chunk-X4XPNTCZ.cjs → chunk-R5Z7AOVU.cjs} +136 -58
  161. package/dist/chunk-R5Z7AOVU.cjs.map +1 -0
  162. package/dist/{chunk-TMMVIUUN.js → chunk-R6KPWIGO.js} +4 -4
  163. package/dist/{chunk-TMMVIUUN.js.map → chunk-R6KPWIGO.js.map} +1 -1
  164. package/dist/{chunk-22CYDCXA.js → chunk-RM2HPQIC.js} +105 -14
  165. package/dist/chunk-RM2HPQIC.js.map +1 -0
  166. package/dist/{chunk-ENKFJJZX.js → chunk-SD7ONW6S.js} +6 -6
  167. package/dist/{chunk-ENKFJJZX.js.map → chunk-SD7ONW6S.js.map} +1 -1
  168. package/dist/{chunk-RJ6NTJHC.js → chunk-SRMTRD7F.js} +3 -3
  169. package/dist/{chunk-RJ6NTJHC.js.map → chunk-SRMTRD7F.js.map} +1 -1
  170. package/dist/chunk-T4JYUICS.js +2657 -0
  171. package/dist/chunk-T4JYUICS.js.map +1 -0
  172. package/dist/{chunk-7ZDPD5ZX.cjs → chunk-T4L7Q5FA.cjs} +7 -7
  173. package/dist/{chunk-7ZDPD5ZX.cjs.map → chunk-T4L7Q5FA.cjs.map} +1 -1
  174. package/dist/{chunk-NJ6MY6V5.js → chunk-T5BBZQ66.js} +3 -3
  175. package/dist/{chunk-NJ6MY6V5.js.map → chunk-T5BBZQ66.js.map} +1 -1
  176. package/dist/{chunk-2IZLKPUW.js → chunk-THLIL6PY.js} +3 -3
  177. package/dist/{chunk-2IZLKPUW.js.map → chunk-THLIL6PY.js.map} +1 -1
  178. package/dist/{chunk-SGFYA22I.cjs → chunk-TJCX4OML.cjs} +8 -8
  179. package/dist/{chunk-SGFYA22I.cjs.map → chunk-TJCX4OML.cjs.map} +1 -1
  180. package/dist/{chunk-N6IY47YA.cjs → chunk-TTSSUOEV.cjs} +8 -8
  181. package/dist/{chunk-N6IY47YA.cjs.map → chunk-TTSSUOEV.cjs.map} +1 -1
  182. package/dist/{chunk-5MCBWTIF.cjs → chunk-TYE5K5WV.cjs} +4 -4
  183. package/dist/{chunk-5MCBWTIF.cjs.map → chunk-TYE5K5WV.cjs.map} +1 -1
  184. package/dist/{chunk-VOKVG3ER.js → chunk-UBSH27C2.js} +4 -4
  185. package/dist/{chunk-VOKVG3ER.js.map → chunk-UBSH27C2.js.map} +1 -1
  186. package/dist/{chunk-TAXD5ADA.cjs → chunk-UEDTZYGI.cjs} +3 -3
  187. package/dist/{chunk-TAXD5ADA.cjs.map → chunk-UEDTZYGI.cjs.map} +1 -1
  188. package/dist/{chunk-UQ3VVR6A.cjs → chunk-UPWIJC6I.cjs} +3 -3
  189. package/dist/{chunk-UQ3VVR6A.cjs.map → chunk-UPWIJC6I.cjs.map} +1 -1
  190. package/dist/{chunk-S7WCHDBO.js → chunk-VCI2Y7ST.js} +3 -3
  191. package/dist/{chunk-S7WCHDBO.js.map → chunk-VCI2Y7ST.js.map} +1 -1
  192. package/dist/chunk-VINZZQBD.cjs +323 -0
  193. package/dist/chunk-VINZZQBD.cjs.map +1 -0
  194. package/dist/{chunk-OD47TTAW.cjs → chunk-VOQJHSXN.cjs} +9 -9
  195. package/dist/{chunk-OD47TTAW.cjs.map → chunk-VOQJHSXN.cjs.map} +1 -1
  196. package/dist/chunk-VPTASZ2O.cjs +171 -0
  197. package/dist/chunk-VPTASZ2O.cjs.map +1 -0
  198. package/dist/chunk-WXFGHDTV.cjs +896 -0
  199. package/dist/chunk-WXFGHDTV.cjs.map +1 -0
  200. package/dist/{chunk-VNYW4C4J.cjs → chunk-X6A27RGO.cjs} +4 -84
  201. package/dist/chunk-X6A27RGO.cjs.map +1 -0
  202. package/dist/chunk-XBTKZCZF.js +333 -0
  203. package/dist/chunk-XBTKZCZF.js.map +1 -0
  204. package/dist/chunk-XDIMTPZU.cjs +202 -0
  205. package/dist/chunk-XDIMTPZU.cjs.map +1 -0
  206. package/dist/chunk-XDU65GLW.js +21 -0
  207. package/dist/chunk-XDU65GLW.js.map +1 -0
  208. package/dist/chunk-XI74P5F2.cjs +424 -0
  209. package/dist/chunk-XI74P5F2.cjs.map +1 -0
  210. package/dist/{chunk-WIAQQNFU.cjs → chunk-XRVMYT5G.cjs} +106 -13
  211. package/dist/chunk-XRVMYT5G.cjs.map +1 -0
  212. package/dist/chunk-XVW5DPPP.js +429 -0
  213. package/dist/chunk-XVW5DPPP.js.map +1 -0
  214. package/dist/chunk-Y4E2WRUR.cjs +188 -0
  215. package/dist/chunk-Y4E2WRUR.cjs.map +1 -0
  216. package/dist/chunk-Y4QNLW7W.js +300 -0
  217. package/dist/chunk-Y4QNLW7W.js.map +1 -0
  218. package/dist/{chunk-6EN3IQQI.cjs → chunk-YRHBSSQ3.cjs} +6 -6
  219. package/dist/{chunk-6EN3IQQI.cjs.map → chunk-YRHBSSQ3.cjs.map} +1 -1
  220. package/dist/{chunk-KZFBQ7GY.js → chunk-YU55JD35.js} +3 -3
  221. package/dist/{chunk-KZFBQ7GY.js.map → chunk-YU55JD35.js.map} +1 -1
  222. package/dist/chunk-YW2AKBLS.cjs +23 -0
  223. package/dist/chunk-YW2AKBLS.cjs.map +1 -0
  224. package/dist/{chunk-ELPW32ZI.cjs → chunk-ZTMYKAVU.cjs} +45 -45
  225. package/dist/{chunk-ELPW32ZI.cjs.map → chunk-ZTMYKAVU.cjs.map} +1 -1
  226. package/dist/{chunk-3QGS6CXD.js → chunk-ZYL4SNOR.js} +3 -3
  227. package/dist/{chunk-3QGS6CXD.js.map → chunk-ZYL4SNOR.js.map} +1 -1
  228. package/dist/components/Alert/index.d.cts +1 -1
  229. package/dist/components/Alert/index.d.ts +1 -1
  230. package/dist/components/AlertDialog/index.cjs +6 -5
  231. package/dist/components/AlertDialog/index.d.cts +28 -3
  232. package/dist/components/AlertDialog/index.d.ts +28 -3
  233. package/dist/components/AlertDialog/index.js +5 -4
  234. package/dist/components/AudioRecorder/index.d.cts +2 -2
  235. package/dist/components/AudioRecorder/index.d.ts +2 -2
  236. package/dist/components/Autocomplete/index.d.cts +8 -2
  237. package/dist/components/Autocomplete/index.d.ts +8 -2
  238. package/dist/components/Avatar/index.d.cts +1 -1
  239. package/dist/components/Avatar/index.d.ts +1 -1
  240. package/dist/components/Badge/index.d.cts +1 -1
  241. package/dist/components/Badge/index.d.ts +1 -1
  242. package/dist/components/BoardView/index.cjs +24 -0
  243. package/dist/components/BoardView/index.cjs.map +1 -0
  244. package/dist/components/BoardView/index.d.cts +41 -0
  245. package/dist/components/BoardView/index.d.ts +41 -0
  246. package/dist/components/BoardView/index.js +7 -0
  247. package/dist/components/BoardView/index.js.map +1 -0
  248. package/dist/components/Button/index.cjs +4 -3
  249. package/dist/components/Button/index.d.cts +2 -1
  250. package/dist/components/Button/index.d.ts +2 -1
  251. package/dist/components/Button/index.js +2 -1
  252. package/dist/components/CalendarView/index.cjs +23 -0
  253. package/dist/components/CalendarView/index.cjs.map +1 -0
  254. package/dist/components/CalendarView/index.d.cts +39 -0
  255. package/dist/components/CalendarView/index.d.ts +39 -0
  256. package/dist/components/CalendarView/index.js +10 -0
  257. package/dist/components/CalendarView/index.js.map +1 -0
  258. package/dist/components/Card/index.d.cts +3 -3
  259. package/dist/components/Card/index.d.ts +3 -3
  260. package/dist/components/Collapsible/index.cjs +6 -6
  261. package/dist/components/Collapsible/index.js +3 -3
  262. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  263. package/dist/components/CountryCodeDropdown/index.js +2 -2
  264. package/dist/components/CustomizableDashboard/index.cjs +10 -9
  265. package/dist/components/CustomizableDashboard/index.js +3 -2
  266. package/dist/components/Dropdown/index.cjs +10 -10
  267. package/dist/components/Dropdown/index.d.cts +2 -1
  268. package/dist/components/Dropdown/index.d.ts +2 -1
  269. package/dist/components/Dropdown/index.js +3 -3
  270. package/dist/components/FloatingWindow/index.cjs +5 -4
  271. package/dist/components/FloatingWindow/index.js +3 -2
  272. package/dist/components/GanttView/index.cjs +20 -0
  273. package/dist/components/GanttView/index.cjs.map +1 -0
  274. package/dist/components/GanttView/index.d.cts +36 -0
  275. package/dist/components/GanttView/index.d.ts +36 -0
  276. package/dist/components/GanttView/index.js +7 -0
  277. package/dist/components/GanttView/index.js.map +1 -0
  278. package/dist/components/GlossaryTooltip/index.cjs +3 -3
  279. package/dist/components/GlossaryTooltip/index.js +2 -2
  280. package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
  281. package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
  282. package/dist/components/ListView/index.cjs +23 -0
  283. package/dist/components/ListView/index.cjs.map +1 -0
  284. package/dist/components/ListView/index.d.cts +124 -0
  285. package/dist/components/ListView/index.d.ts +124 -0
  286. package/dist/components/ListView/index.js +10 -0
  287. package/dist/components/ListView/index.js.map +1 -0
  288. package/dist/components/Markdown/index.cjs +20 -19
  289. package/dist/components/Markdown/index.js +8 -7
  290. package/dist/components/MediaEditor/index.cjs +15 -14
  291. package/dist/components/MediaEditor/index.d.cts +91 -2
  292. package/dist/components/MediaEditor/index.d.ts +91 -2
  293. package/dist/components/MediaEditor/index.js +10 -9
  294. package/dist/components/MediaFeed/index.cjs +26 -0
  295. package/dist/components/MediaFeed/index.cjs.map +1 -0
  296. package/dist/components/MediaFeed/index.d.cts +104 -0
  297. package/dist/components/MediaFeed/index.d.ts +104 -0
  298. package/dist/components/MediaFeed/index.js +17 -0
  299. package/dist/components/MediaFeed/index.js.map +1 -0
  300. package/dist/components/MediaPlayer/index.cjs +7 -6
  301. package/dist/components/MediaPlayer/index.d.cts +19 -1
  302. package/dist/components/MediaPlayer/index.d.ts +19 -1
  303. package/dist/components/MediaPlayer/index.js +4 -3
  304. package/dist/components/MegaMenu/index.cjs +6 -5
  305. package/dist/components/MegaMenu/index.js +3 -2
  306. package/dist/components/Modal/index.cjs +10 -10
  307. package/dist/components/Modal/index.js +2 -2
  308. package/dist/components/Pagination/index.d.cts +1 -1
  309. package/dist/components/Pagination/index.d.ts +1 -1
  310. package/dist/components/PhoneInput/index.d.cts +36 -3
  311. package/dist/components/PhoneInput/index.d.ts +36 -3
  312. package/dist/components/Progress/index.d.cts +1 -1
  313. package/dist/components/Progress/index.d.ts +1 -1
  314. package/dist/components/Q/index.d.cts +2 -2
  315. package/dist/components/Q/index.d.ts +2 -2
  316. package/dist/components/QuickAction/index.d.cts +1 -1
  317. package/dist/components/QuickAction/index.d.ts +1 -1
  318. package/dist/components/RadialExplorer/index.cjs +5 -4
  319. package/dist/components/RadialExplorer/index.js +4 -3
  320. package/dist/components/RecordButton/index.d.cts +1 -1
  321. package/dist/components/RecordButton/index.d.ts +1 -1
  322. package/dist/components/RichTextEditor/index.cjs +9 -8
  323. package/dist/components/RichTextEditor/index.d.cts +7 -2
  324. package/dist/components/RichTextEditor/index.d.ts +7 -2
  325. package/dist/components/RichTextEditor/index.js +6 -5
  326. package/dist/components/ScrollArea/index.d.cts +1 -1
  327. package/dist/components/ScrollArea/index.d.ts +1 -1
  328. package/dist/components/SectionSpyNav/index.cjs +4 -3
  329. package/dist/components/SectionSpyNav/index.js +3 -2
  330. package/dist/components/Select/index.cjs +4 -4
  331. package/dist/components/Select/index.d.cts +1 -2
  332. package/dist/components/Select/index.d.ts +1 -2
  333. package/dist/components/Select/index.js +2 -2
  334. package/dist/components/Skeleton/index.d.cts +1 -1
  335. package/dist/components/Skeleton/index.d.ts +1 -1
  336. package/dist/components/Slider/index.d.cts +2 -2
  337. package/dist/components/Slider/index.d.ts +2 -2
  338. package/dist/components/SliderCalculator/index.cjs +4 -4
  339. package/dist/components/SliderCalculator/index.js +2 -2
  340. package/dist/components/SourceTip/index.cjs +3 -3
  341. package/dist/components/SourceTip/index.js +2 -2
  342. package/dist/components/Spinner/index.d.cts +2 -2
  343. package/dist/components/Spinner/index.d.ts +2 -2
  344. package/dist/components/SuperChat/index.cjs +1378 -819
  345. package/dist/components/SuperChat/index.cjs.map +1 -1
  346. package/dist/components/SuperChat/index.d.cts +35 -8
  347. package/dist/components/SuperChat/index.d.ts +35 -8
  348. package/dist/components/SuperChat/index.js +1370 -811
  349. package/dist/components/SuperChat/index.js.map +1 -1
  350. package/dist/components/SuperChat/plugins/index.cjs +6 -6
  351. package/dist/components/SuperChat/plugins/index.d.cts +2 -3
  352. package/dist/components/SuperChat/plugins/index.d.ts +2 -3
  353. package/dist/components/SuperChat/plugins/index.js +5 -5
  354. package/dist/components/Text/index.d.cts +3 -3
  355. package/dist/components/Text/index.d.ts +3 -3
  356. package/dist/components/Textarea/index.d.cts +1 -2
  357. package/dist/components/Textarea/index.d.ts +1 -2
  358. package/dist/components/ThemeProvider/index.cjs +9 -9
  359. package/dist/components/ThemeProvider/index.d.cts +3 -1
  360. package/dist/components/ThemeProvider/index.d.ts +3 -1
  361. package/dist/components/ThemeProvider/index.js +3 -3
  362. package/dist/components/Tooltip/index.cjs +3 -3
  363. package/dist/components/Tooltip/index.js +2 -2
  364. package/dist/components/TranscriptView/index.d.cts +85 -4
  365. package/dist/components/TranscriptView/index.d.ts +85 -4
  366. package/dist/components/ViewSet/index.cjs +24 -0
  367. package/dist/components/ViewSet/index.cjs.map +1 -0
  368. package/dist/components/ViewSet/index.d.cts +200 -0
  369. package/dist/components/ViewSet/index.d.ts +200 -0
  370. package/dist/components/ViewSet/index.js +15 -0
  371. package/dist/components/ViewSet/index.js.map +1 -0
  372. package/dist/components/ViewSwitcher/index.cjs +20 -0
  373. package/dist/components/ViewSwitcher/index.cjs.map +1 -0
  374. package/dist/components/ViewSwitcher/index.d.cts +4 -0
  375. package/dist/components/ViewSwitcher/index.d.ts +4 -0
  376. package/dist/components/ViewSwitcher/index.js +7 -0
  377. package/dist/components/ViewSwitcher/index.js.map +1 -0
  378. package/dist/datavis.cjs +3 -2
  379. package/dist/datavis.cjs.map +1 -1
  380. package/dist/datavis.d.cts +167 -13
  381. package/dist/datavis.d.ts +167 -13
  382. package/dist/datavis.js +2 -1
  383. package/dist/datavis.js.map +1 -1
  384. package/dist/deck.cjs +3360 -0
  385. package/dist/deck.cjs.map +1 -0
  386. package/dist/deck.d.cts +712 -0
  387. package/dist/deck.d.ts +712 -0
  388. package/dist/deck.js +3316 -0
  389. package/dist/deck.js.map +1 -0
  390. package/dist/esheet.cjs +14 -13
  391. package/dist/esheet.cjs.map +1 -1
  392. package/dist/esheet.d.cts +183 -1
  393. package/dist/esheet.d.ts +183 -1
  394. package/dist/esheet.js +11 -10
  395. package/dist/esheet.js.map +1 -1
  396. package/dist/globe.cjs +2 -2
  397. package/dist/globe.js +1 -1
  398. package/dist/hooks/index.cjs +60 -27
  399. package/dist/hooks/index.d.cts +590 -31
  400. package/dist/hooks/index.d.ts +590 -31
  401. package/dist/hooks/index.js +6 -5
  402. package/dist/icons-wBacj6BW.d.cts +142 -0
  403. package/dist/icons-wBacj6BW.d.ts +142 -0
  404. package/dist/index-DoYYWsNc.d.cts +127 -0
  405. package/dist/index-DoYYWsNc.d.ts +127 -0
  406. package/dist/index.cjs +1420 -1048
  407. package/dist/index.cjs.map +1 -1
  408. package/dist/index.d.cts +8796 -482
  409. package/dist/index.d.ts +8796 -482
  410. package/dist/index.js +368 -232
  411. package/dist/index.js.map +1 -1
  412. package/dist/kerebron.cjs +58 -19
  413. package/dist/kerebron.cjs.map +1 -1
  414. package/dist/kerebron.css +115 -0
  415. package/dist/kerebron.d.cts +37 -0
  416. package/dist/kerebron.d.ts +37 -0
  417. package/dist/kerebron.js +58 -19
  418. package/dist/kerebron.js.map +1 -1
  419. package/dist/maps.cjs +160 -0
  420. package/dist/maps.cjs.map +1 -0
  421. package/dist/maps.d.cts +42 -0
  422. package/dist/maps.d.ts +42 -0
  423. package/dist/maps.js +138 -0
  424. package/dist/maps.js.map +1 -0
  425. package/dist/motion.cjs +7 -7
  426. package/dist/motion.d.cts +186 -2
  427. package/dist/motion.d.ts +186 -2
  428. package/dist/motion.js +2 -2
  429. package/dist/q.d.cts +25 -3
  430. package/dist/q.d.ts +25 -3
  431. package/dist/styles/effects.css +133 -0
  432. package/dist/styles/init.css +3 -0
  433. package/dist/styles.css +1 -1
  434. package/dist/tailwind-preset.cjs +4 -4
  435. package/dist/tailwind-preset.js +1 -1
  436. package/dist/templates.cjs +156 -0
  437. package/dist/templates.cjs.map +1 -0
  438. package/dist/templates.d.cts +734 -0
  439. package/dist/templates.d.ts +734 -0
  440. package/dist/templates.js +11 -0
  441. package/dist/templates.js.map +1 -0
  442. package/dist/types-Cx1FHLq2.d.cts +548 -0
  443. package/dist/types-Cx1FHLq2.d.ts +548 -0
  444. package/dist/types-DsdZvEI1.d.cts +92 -0
  445. package/dist/types-DsdZvEI1.d.ts +92 -0
  446. package/dist/utils/index.d.cts +13 -2
  447. package/dist/utils/index.d.ts +13 -2
  448. package/package.json +62 -13
  449. package/dist/Animated-XmH6k8pZ.d.cts +0 -188
  450. package/dist/Animated-XmH6k8pZ.d.ts +0 -188
  451. package/dist/CsvBlock-ROJCKJDP.cjs +0 -16
  452. package/dist/CsvBlock-UWPMTLE2.js +0 -7
  453. package/dist/HtmlPreviewBlock-DWFN6EUB.cjs +0 -16
  454. package/dist/HtmlPreviewBlock-ME5U3XNS.js +0 -7
  455. package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
  456. package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
  457. package/dist/MermaidBlock-2B6CPD6Y.js +0 -7
  458. package/dist/MermaidBlock-D2UC5M55.cjs +0 -16
  459. package/dist/SurveyBlock-4CD4AYMJ.cjs +0 -16
  460. package/dist/SurveyBlock-4DO62RBT.js +0 -7
  461. package/dist/chunk-22CYDCXA.js.map +0 -1
  462. package/dist/chunk-3T7QGLNB.js.map +0 -1
  463. package/dist/chunk-6HFFWEM3.cjs +0 -22
  464. package/dist/chunk-6HFFWEM3.cjs.map +0 -1
  465. package/dist/chunk-ACCAXVOG.js.map +0 -1
  466. package/dist/chunk-GOALNQZ2.js.map +0 -1
  467. package/dist/chunk-HB7C7NB5.js +0 -20
  468. package/dist/chunk-HB7C7NB5.js.map +0 -1
  469. package/dist/chunk-JHULS3EC.js.map +0 -1
  470. package/dist/chunk-JI244Y7C.js.map +0 -1
  471. package/dist/chunk-JYZW2PZS.cjs.map +0 -1
  472. package/dist/chunk-NV2CWBI2.cjs.map +0 -1
  473. package/dist/chunk-SQHMGT4W.js.map +0 -1
  474. package/dist/chunk-U42F3HLE.cjs.map +0 -1
  475. package/dist/chunk-VKELAMAZ.js.map +0 -1
  476. package/dist/chunk-VNYW4C4J.cjs.map +0 -1
  477. package/dist/chunk-WIAQQNFU.cjs.map +0 -1
  478. package/dist/chunk-WNAA6CLE.cjs.map +0 -1
  479. package/dist/chunk-WNJRS7Y7.cjs.map +0 -1
  480. package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
  481. package/dist/chunk-XCP454Q6.js.map +0 -1
  482. package/dist/chunk-XEAT7XJG.cjs.map +0 -1
  483. package/dist/html-MdxqSzjD.d.cts +0 -13
  484. package/dist/html-MdxqSzjD.d.ts +0 -13
  485. package/dist/orderRows-BUJYgSc7.d.cts +0 -221
  486. package/dist/orderRows-BUJYgSc7.d.ts +0 -221
  487. package/dist/transcript-Cg7uSW-C.d.cts +0 -84
  488. package/dist/transcript-Cg7uSW-C.d.ts +0 -84
  489. package/dist/types-B97JNRNQ.d.cts +0 -251
  490. package/dist/types-CnPEwzlp.d.cts +0 -254
  491. package/dist/types-CnPEwzlp.d.ts +0 -254
  492. package/dist/types-gZXrfLj6.d.ts +0 -251
  493. package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
  494. package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
  495. package/dist/useTheme-B9SWu6ui.d.cts +0 -24
  496. package/dist/useTheme-B9SWu6ui.d.ts +0 -24
  497. package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
  498. package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
@@ -1,45 +1,28 @@
1
- export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu6ui.cjs';
2
1
  import * as React from 'react';
3
2
  import { RefObject } from 'react';
4
- export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-CKwLSQW8.cjs';
5
- export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-CGzlemHT.cjs';
6
- import '../transcript-Cg7uSW-C.cjs';
7
3
 
8
- interface UseScrollSpyOptions {
9
- /** CSS selector for the elements to observe (e.g. 'h2, h3, h4') */
10
- selectors?: string;
11
- /** Explicit list of element IDs to observe (alternative to selectors) */
12
- ids?: string[];
13
- /** IntersectionObserver root margin (default: '0px 0px -60% 0px') */
14
- rootMargin?: string;
15
- /** IntersectionObserver threshold (default: 0) */
16
- threshold?: number | number[];
17
- /** Scroll container element ref. Defaults to document viewport. */
18
- root?: RefObject<HTMLElement | null>;
19
- /** Whether the hook is active (default: true) */
20
- enabled?: boolean;
21
- }
22
- interface UseScrollSpyReturn {
23
- /** The ID of the currently active (in-view) element */
24
- activeId: string | null;
25
- }
4
+ type Theme = 'light' | 'dark' | 'system';
5
+ type ResolvedTheme = 'light' | 'dark';
26
6
  /**
27
- * Tracks which section is currently in the viewport using IntersectionObserver.
28
- * Pairs naturally with `TableOfContents` to highlight the active heading.
7
+ * Hook for managing theme state with localStorage persistence and system preference support.
29
8
  *
30
9
  * @example
31
10
  * ```tsx
32
- * function DocsPage() {
33
- * const { activeId } = useScrollSpy({ selectors: 'h2, h3' });
11
+ * function ThemeToggle() {
12
+ * const { theme, setTheme, resolvedTheme } = useTheme();
34
13
  * return (
35
- * <aside>
36
- * <TableOfContents activeId={activeId} />
37
- * </aside>
14
+ * <button onClick={() => setTheme(resolvedTheme === 'dark' ? 'light' : 'dark')}>
15
+ * {resolvedTheme === 'dark' ? '☀️' : '🌙'}
16
+ * </button>
38
17
  * );
39
18
  * }
40
19
  * ```
41
20
  */
42
- declare function useScrollSpy({ selectors, ids, rootMargin, threshold, root, enabled, }?: UseScrollSpyOptions): UseScrollSpyReturn;
21
+ declare function useTheme(): {
22
+ theme: Theme;
23
+ setTheme: (newTheme: Theme) => void;
24
+ resolvedTheme: ResolvedTheme;
25
+ };
43
26
 
44
27
  /** Read the current dark-mode state from the document root. */
45
28
  declare function isDarkMode(): boolean;
@@ -125,6 +108,79 @@ declare function usePrefersReducedMotion(): boolean;
125
108
  */
126
109
  declare function useClickOutside<T extends HTMLElement>(ref: RefObject<T | null> | ReadonlyArray<RefObject<HTMLElement | null>>, callback: () => void, enabled?: boolean): void;
127
110
 
111
+ type AnchoredPlacement = 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top' | 'right-start' | 'right-end' | 'right' | 'left-start' | 'left-end' | 'left';
112
+ type AnchoredSide = 'top' | 'bottom' | 'left' | 'right';
113
+ interface UseAnchoredPositionOptions {
114
+ /** Whether the floating element is currently shown */
115
+ open: boolean;
116
+ /** Preferred placement relative to the anchor (flips when out of space) */
117
+ placement?: AnchoredPlacement;
118
+ /** Gap between the anchor and the floating element, in px */
119
+ offset?: number;
120
+ /** Force the floating element to the anchor's width */
121
+ matchWidth?: boolean;
122
+ /** Use the anchor's width as the floating element's minimum width */
123
+ matchMinWidth?: boolean;
124
+ /** Minimum distance from the viewport edges, in px */
125
+ viewportPadding?: number;
126
+ /** Flip to the opposite vertical side when the preferred side is cramped */
127
+ allowFlip?: boolean;
128
+ /** Optional element whose visible rectangle also constrains the popup */
129
+ boundaryRef?: React.RefObject<HTMLElement | null>;
130
+ /**
131
+ * Additional cap on the floating element's height, in px. The height is
132
+ * always clamped to the available viewport space; this only lowers that
133
+ * limit further (omitting it does not remove the viewport constraint).
134
+ */
135
+ maxHeight?: number;
136
+ }
137
+ interface UseAnchoredPositionReturn<TAnchor extends HTMLElement, TFloating extends HTMLElement> {
138
+ /** Attach to the element the popup is anchored to (trigger/input) */
139
+ anchorRef: React.RefObject<TAnchor | null>;
140
+ /** Attach to the floating element (menu/listbox/panel) */
141
+ floatingRef: React.RefObject<TFloating | null>;
142
+ /** Fixed-position style for the floating element — spread onto it */
143
+ style: React.CSSProperties;
144
+ /**
145
+ * Side of the anchor in use after flipping.
146
+ *
147
+ * Widened from `'top' | 'bottom'` to {@link AnchoredSide} in 0.8.0 alongside
148
+ * the new horizontal (`left*` / `right*`) placements — consumers that
149
+ * annotate this as `'top' | 'bottom'` need to widen their annotation.
150
+ */
151
+ actualSide: AnchoredSide;
152
+ /** Recompute the position (e.g. after async content loads) */
153
+ update: () => void;
154
+ }
155
+ /**
156
+ * Positions a floating element (dropdown menu, autocomplete listbox,
157
+ * date-picker calendar, …) relative to an anchor using `position: fixed`,
158
+ * so it is never clipped by `overflow: hidden` ancestors.
159
+ *
160
+ * Render the floating element through `createPortal(..., document.body)`
161
+ * and spread the returned `style` onto it. The hook:
162
+ * - flips vertically when there is not enough space on the preferred side
163
+ * - clamps horizontally to the viewport or optional boundary element
164
+ * - constrains `maxHeight` to the available space (add `overflow-auto`)
165
+ * - tracks scroll, resize, and anchor/content size changes while open
166
+ *
167
+ * @example
168
+ * ```tsx
169
+ * const { anchorRef, floatingRef, style } = useAnchoredPosition<
170
+ * HTMLButtonElement,
171
+ * HTMLDivElement
172
+ * >({ open, placement: 'bottom-start' });
173
+ *
174
+ * <button ref={anchorRef} onClick={() => setOpen(!open)}>Open</button>
175
+ * {open &&
176
+ * createPortal(
177
+ * <div ref={floatingRef} style={style} className="overflow-auto …">…</div>,
178
+ * document.body
179
+ * )}
180
+ * ```
181
+ */
182
+ declare function useAnchoredPosition<TAnchor extends HTMLElement = HTMLElement, TFloating extends HTMLElement = HTMLElement>({ open, placement, offset, matchWidth, matchMinWidth, viewportPadding, allowFlip, boundaryRef, maxHeight, }: UseAnchoredPositionOptions): UseAnchoredPositionReturn<TAnchor, TFloating>;
183
+
128
184
  /**
129
185
  * Hook that triggers a callback when the Escape key is pressed.
130
186
  * Useful for closing modals, dropdowns, and other overlays.
@@ -164,6 +220,113 @@ declare function useEscapeKey(callback: () => void, enabled?: boolean): void;
164
220
  */
165
221
  declare function useFocusTrap<T extends HTMLElement>(enabled?: boolean): RefObject<T | null>;
166
222
 
223
+ /** CSS custom properties written to `<html>` while the hook is mounted. */
224
+ declare const KEYBOARD_INSET_VAR = "--mieweb-keyboard-inset";
225
+ declare const VISUAL_VIEWPORT_HEIGHT_VAR = "--mieweb-visual-viewport-height";
226
+ declare const VISUAL_VIEWPORT_OFFSET_TOP_VAR = "--mieweb-visual-viewport-offset-top";
227
+ /** Boolean attribute set on `<html>` while an on-screen keyboard is open. */
228
+ declare const KEYBOARD_OPEN_ATTRIBUTE = "data-keyboard-open";
229
+ /** Attribute on `<html>` naming the active {@link KeyboardInsetSource}. */
230
+ declare const KEYBOARD_SOURCE_ATTRIBUTE = "data-keyboard-source";
231
+ /**
232
+ * Where keyboard metrics come from.
233
+ *
234
+ * - `'visual-viewport'` — the Visual Viewport API. Works in any browser, but
235
+ * iOS only reports the keyboard once its slide-in animation has finished.
236
+ * - `'native'` — `keyboardWillShow` / `keyboardWillHide` window events with a
237
+ * `keyboardHeight` property, as fired by `cordova-plugin-ionic-keyboard` and
238
+ * Capacitor's Keyboard plugin. They arrive *before* the keyboard animates,
239
+ * so layout can move in step with it.
240
+ */
241
+ type KeyboardInsetSource = 'visual-viewport' | 'native';
242
+ interface KeyboardInsetState {
243
+ /** Pixels of the layout viewport covered by the on-screen keyboard. */
244
+ keyboardInset: number;
245
+ /** Whether an on-screen keyboard currently covers part of the page. */
246
+ isKeyboardOpen: boolean;
247
+ }
248
+ interface UseKeyboardInsetOptions {
249
+ /** Track the keyboard; `false` stops tracking and clears the CSS variables. @default true */
250
+ enabled?: boolean;
251
+ /** Where keyboard metrics come from. @default 'visual-viewport' */
252
+ source?: KeyboardInsetSource;
253
+ }
254
+ /**
255
+ * Tracks the on-screen keyboard and publishes it on `<html>`.
256
+ *
257
+ * ### `source: 'native'` (Cordova / Capacitor apps)
258
+ *
259
+ * Listens for the native keyboard plugin's `keyboardWillShow` /
260
+ * `keyboardWillHide` window events. Configure the plugin so the WebView is
261
+ * neither resized nor panned (for `cordova-plugin-ionic-keyboard`:
262
+ * `KeyboardResize=false`), keep the app shell at full height, and move only
263
+ * the composer dock by `--mieweb-keyboard-inset` with a short transition
264
+ * (~250ms) so it rides up with the keyboard. Only `--mieweb-keyboard-inset`,
265
+ * `data-keyboard-open` and `data-keyboard-source` are published; the
266
+ * visual-viewport variables stay unset.
267
+ *
268
+ * ### `source: 'visual-viewport'` (browsers, default)
269
+ *
270
+ * Uses the Visual Viewport API.
271
+ *
272
+ * iOS Safari and WKWebView (Cordova) ignore
273
+ * `interactive-widget=resizes-content`, and `dvh` does not shrink for the
274
+ * keyboard: the page keeps its full height and iOS pans the visual viewport
275
+ * to reveal the focused input, pushing headers off-screen. This hook
276
+ * measures what is actually visible and publishes it on `<html>` so an app
277
+ * shell can follow the visible area instead:
278
+ *
279
+ * - `--mieweb-keyboard-inset` — keyboard height in px (0 when closed)
280
+ * - `--mieweb-visual-viewport-height` — visible height in px
281
+ * - `--mieweb-visual-viewport-offset-top` — how far iOS panned the page
282
+ * - `data-keyboard-open` — present while the keyboard is open
283
+ *
284
+ * On browsers that already resize the layout for the keyboard (Chrome on
285
+ * Android with `interactive-widget=resizes-content`) the inset stays 0 and
286
+ * the variables simply mirror the layout viewport.
287
+ *
288
+ * iOS reports the visual viewport only after the keyboard has finished
289
+ * animating, so a shell sized this way snaps into place once the keyboard
290
+ * lands. Prefer `source: 'native'` wherever a native keyboard plugin exists.
291
+ *
292
+ * Mount it once, near the app root.
293
+ *
294
+ * @example
295
+ * ```tsx
296
+ * function AppShell({ children }) {
297
+ * useKeyboardInset();
298
+ * return (
299
+ * <div
300
+ * style={{
301
+ * height: 'var(--mieweb-visual-viewport-height, 100dvh)',
302
+ * transform: 'translateY(var(--mieweb-visual-viewport-offset-top, 0px))',
303
+ * }}
304
+ * >
305
+ * {children}
306
+ * </div>
307
+ * );
308
+ * }
309
+ * ```
310
+ *
311
+ * @example Native app (keyboard plugin with WebView resizing disabled)
312
+ * ```tsx
313
+ * function ComposerDock({ children }) {
314
+ * useKeyboardInset({ source: 'native' });
315
+ * return (
316
+ * <div
317
+ * style={{
318
+ * paddingBottom: 'calc(var(--mieweb-keyboard-inset, 0px) + 0.5rem)',
319
+ * transition: 'padding-bottom 250ms ease',
320
+ * }}
321
+ * >
322
+ * {children}
323
+ * </div>
324
+ * );
325
+ * }
326
+ * ```
327
+ */
328
+ declare function useKeyboardInset(options?: UseKeyboardInsetOptions): KeyboardInsetState;
329
+
167
330
  /**
168
331
  * Options for keyboard shortcut hook
169
332
  */
@@ -259,6 +422,42 @@ declare function useIsLargeDesktop(): boolean;
259
422
  /** Returns true when viewport is smaller than 1024px (mobile/tablet) */
260
423
  declare function useIsMobileOrTablet(): boolean;
261
424
 
425
+ interface UseScrollSpyOptions {
426
+ /** CSS selector for the elements to observe (e.g. 'h2, h3, h4') */
427
+ selectors?: string;
428
+ /** Explicit list of element IDs to observe (alternative to selectors) */
429
+ ids?: string[];
430
+ /** IntersectionObserver root margin (default: '0px 0px -60% 0px') */
431
+ rootMargin?: string;
432
+ /** IntersectionObserver threshold (default: 0) */
433
+ threshold?: number | number[];
434
+ /** Scroll container element ref. Defaults to document viewport. */
435
+ root?: RefObject<HTMLElement | null>;
436
+ /** Whether the hook is active (default: true) */
437
+ enabled?: boolean;
438
+ }
439
+ interface UseScrollSpyReturn {
440
+ /** The ID of the currently active (in-view) element */
441
+ activeId: string | null;
442
+ }
443
+ /**
444
+ * Tracks which section is currently in the viewport using IntersectionObserver.
445
+ * Pairs naturally with `TableOfContents` to highlight the active heading.
446
+ *
447
+ * @example
448
+ * ```tsx
449
+ * function DocsPage() {
450
+ * const { activeId } = useScrollSpy({ selectors: 'h2, h3' });
451
+ * return (
452
+ * <aside>
453
+ * <TableOfContents activeId={activeId} />
454
+ * </aside>
455
+ * );
456
+ * }
457
+ * ```
458
+ */
459
+ declare function useScrollSpy({ selectors, ids, rootMargin, threshold, root, enabled, }?: UseScrollSpyOptions): UseScrollSpyReturn;
460
+
262
461
  /** Insert `draggedId` before/after `targetId` in `ids`. */
263
462
  declare function reorderIds(ids: string[], draggedId: string, targetId: string, after: boolean): string[];
264
463
  interface UseDragReorderOptions {
@@ -319,6 +518,106 @@ declare function dragIndicatorClasses(drag: Pick<UseDragReorderReturn, 'dragging
319
518
  */
320
519
  declare function useLiveAnnouncement(): [string, (message: string) => void];
321
520
 
521
+ /**
522
+ * Options for {@link useStickToBottom}.
523
+ */
524
+ interface UseStickToBottomOptions {
525
+ /**
526
+ * Distance from the bottom (px) within which the user still counts as "at
527
+ * the bottom" — small offsets from rounding or momentum scrolling shouldn't
528
+ * break pinning.
529
+ */
530
+ threshold?: number;
531
+ /**
532
+ * Disable all behavior (listeners and observers detach). Useful when the
533
+ * scroll container anchors somewhere other than the bottom (e.g. a
534
+ * newest-first feed).
535
+ */
536
+ disabled?: boolean;
537
+ }
538
+ interface UseStickToBottomReturn {
539
+ /** Attach to the scrollable container. */
540
+ containerRef: React.RefObject<HTMLDivElement | null>;
541
+ /**
542
+ * Attach to the element wrapping the container's content. Its growth (e.g.
543
+ * a streaming message) re-pins the scroll while the user is at the bottom.
544
+ */
545
+ contentRef: React.RefObject<HTMLDivElement | null>;
546
+ /** Whether the user is currently at (or within `threshold` of) the bottom. */
547
+ isAtBottom: boolean;
548
+ /** Scroll to the bottom and resume pinning. */
549
+ scrollToBottom: (behavior?: ScrollBehavior) => void;
550
+ /**
551
+ * Scroll so `target`'s top aligns with the viewport top and enter “reading”
552
+ * mode: content growing past the fold no longer auto-follows, so the reader
553
+ * consumes the response at their own pace (the ChatGPT/Claude send UX).
554
+ * Following resumes when they explicitly return to the bottom — a
555
+ * jump-to-bottom click (`scrollToBottom`) or scrolling there by hand.
556
+ */
557
+ anchorToTurnStart: (target: HTMLElement, behavior?: ScrollBehavior) => void;
558
+ /**
559
+ * Scroll to the bottom only while actually following (at the bottom and not
560
+ * in reading mode). Returns whether it scrolled — hosts use this to decide
561
+ * between following an appended message and raising a “new messages” hint.
562
+ */
563
+ followIfPinned: (behavior?: ScrollBehavior) => boolean;
564
+ /**
565
+ * Hold the current position: enter reading mode without scrolling, so an
566
+ * incoming stream fills below the fold instead of pushing the view up.
567
+ * Call right after a streaming message appends (optionally after revealing
568
+ * its first line with `followIfPinned`). Following resumes exactly as after
569
+ * `anchorToTurnStart`: an explicit `scrollToBottom` or the reader returning
570
+ * to the bottom by hand.
571
+ */
572
+ stopFollowing: () => void;
573
+ }
574
+ /**
575
+ * Keeps a scroll container pinned to its bottom edge while the user is there,
576
+ * and — crucially — leaves the scroll position alone once they scroll up.
577
+ *
578
+ * Designed for chat threads with streaming responses:
579
+ * - While the user is at the bottom, content growth (new tokens, new
580
+ * messages) and container resizes (on-screen keyboard, growing composer)
581
+ * keep the newest content in view via a `ResizeObserver` on both the
582
+ * content and the container.
583
+ * - Once the user scrolls up, nothing moves until they return to the bottom
584
+ * themselves or the host calls `scrollToBottom` (e.g. a jump-to-bottom
585
+ * button, or an outgoing message from the local user).
586
+ *
587
+ * The hook only pins; *when* to force a scroll (own message sent, thread
588
+ * switched) stays a host decision through `scrollToBottom`,
589
+ * `anchorToTurnStart` (ChatGPT-style: scroll a fresh turn to the viewport top
590
+ * and pause following while the reader digests the reply), and
591
+ * `followIfPinned` (follow an append only while actually at the bottom).
592
+ *
593
+ * @example
594
+ * ```tsx
595
+ * const { containerRef, contentRef, isAtBottom, scrollToBottom } =
596
+ * useStickToBottom();
597
+ * return (
598
+ * <div className="relative min-h-0 flex-1">
599
+ * <div ref={containerRef} className="h-full overflow-y-auto">
600
+ * <div ref={contentRef}>{rows}</div>
601
+ * </div>
602
+ * {!isAtBottom && <JumpToBottom onClick={() => scrollToBottom('smooth')} />}
603
+ * </div>
604
+ * );
605
+ * ```
606
+ */
607
+ declare function useStickToBottom({ threshold, disabled, }?: UseStickToBottomOptions): UseStickToBottomReturn;
608
+ /**
609
+ * Companion to {@link useStickToBottom}: fires `onEnded` when the newest
610
+ * message finishes streaming while the reader is away from the bottom — the
611
+ * end of the reply landed below the fold, so the jump-to-bottom button should
612
+ * upgrade to its “new messages” hint. When the whole reply fit above the fold
613
+ * (the reader is still at the bottom), `onEndedAtBottom` fires instead so the
614
+ * host can exit the stream's hold and resume following (`scrollToBottom`).
615
+ */
616
+ declare function useStreamEndedBelowFold(newest: {
617
+ id: string;
618
+ status?: string;
619
+ } | undefined, isAtBottom: boolean, onEnded: () => void, onEndedAtBottom?: () => void): void;
620
+
322
621
  type HoverPreviewState = 'idle' | 'loading' | 'playing';
323
622
  interface UseYouTubeHoverPreviewOptions {
324
623
  /** Hover dwell before the player mounts. Default 600ms. */
@@ -444,4 +743,264 @@ interface UseMediaTransportReturn {
444
743
  */
445
744
  declare function useMediaTransport(options?: UseMediaTransportOptions): UseMediaTransportReturn;
446
745
 
447
- export { type Direction, type DragOverState, type HoverPreviewState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type UseDragReorderOptions, type UseDragReorderReturn, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, dragIndicatorClasses, isDarkMode, isRtlLocale, reorderIds, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useYouTubeHoverPreview };
746
+ /**
747
+ * Transcript schema for @mieweb/ui media components.
748
+ *
749
+ * Provider-agnostic and persistence-agnostic. Canonical time unit is
750
+ * **milliseconds** (consumers with seconds-based data, e.g. osheet, adapt
751
+ * at the boundary).
752
+ *
753
+ * Shared by TranscriptView, MediaEditor, and useTranscriptEdits.
754
+ */
755
+ /** Type of transcript word - 'word' for spoken content, 'silence' for detected gaps, 'silence-newline' for longer pauses */
756
+ type WordType = 'word' | 'silence' | 'silence-newline';
757
+ interface TranscriptWord {
758
+ text: string;
759
+ startMs: number;
760
+ endMs: number;
761
+ /** References Speaker.id when diarization is available */
762
+ speakerId?: string;
763
+ confidence?: number;
764
+ /** Type of word: 'word' for spoken content, 'silence' for detected gaps. Defaults to 'word' */
765
+ wordType?: WordType;
766
+ }
767
+ /** A diarized segment of contiguous speech (osheet-style granularity) */
768
+ interface TranscriptSegment {
769
+ text: string;
770
+ startMs: number;
771
+ endMs: number;
772
+ /** References Speaker.id when diarization is available */
773
+ speakerId?: string;
774
+ words: TranscriptWord[];
775
+ }
776
+ interface Speaker {
777
+ id: string;
778
+ /** Display name (e.g. 'Clinician', 'Patient'). Hosts may remap via speakerLabels props. */
779
+ name?: string;
780
+ }
781
+ interface Transcript {
782
+ durationMs: number;
783
+ speakers?: Speaker[];
784
+ words: TranscriptWord[];
785
+ segments?: TranscriptSegment[];
786
+ }
787
+ /**
788
+ * An editable word that references the original transcript word.
789
+ * Used in the edited timeline to track deletions and reordering.
790
+ */
791
+ interface EditableWord {
792
+ /** Index into the SILENCE-INSERTED baseline timeline (transcript.words
793
+ * with detected silence pseudo-words interleaved) — NOT into
794
+ * transcript.words. -1 for split/inserted entries with no baseline slot.
795
+ * Consumers persisting edits should key by this timeline. */
796
+ originalIndex: number;
797
+ /** The word data (from original transcript) */
798
+ word: TranscriptWord;
799
+ /** Whether this word is marked as deleted */
800
+ deleted: boolean;
801
+ /** Whether this word was inserted (pasted from clipboard) */
802
+ inserted?: boolean;
803
+ }
804
+ /**
805
+ * Represents a contiguous segment of playback from the original media.
806
+ * Used when playing back an edited timeline with potentially reordered/deleted words.
807
+ */
808
+ interface PlaybackSegment {
809
+ startMs: number;
810
+ endMs: number;
811
+ /** Indices into the editedWords array that this segment covers */
812
+ editedIndices: number[];
813
+ }
814
+ /** Available playback speed multipliers */
815
+ type PlaybackSpeed = 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2;
816
+ /**
817
+ * A speed marker applied to a word in the transcript.
818
+ * The speed applies from this word until the next speed marker or end of transcript.
819
+ */
820
+ interface SpeedMarker {
821
+ /** Index in the editedWords array where the speed marker is placed */
822
+ wordIndex: number;
823
+ /** The playback speed multiplier */
824
+ speed: PlaybackSpeed;
825
+ }
826
+
827
+ /**
828
+ * useTranscriptEdits — headless transcript-editing state hook.
829
+ *
830
+ * Extracted from pulseclip's TranscriptViewer for @mieweb/ui. Holds the
831
+ * edited word timeline (deletions, insertions, text edits, silence
832
+ * splitting), a single-level undo stack, an internal clipboard, speed
833
+ * markers, and derived playback/statistics data.
834
+ *
835
+ * Controlled + persistence-agnostic: no DOM, no fetches. Selection lives in
836
+ * the UI layer — mutations take explicit indices. State flows out via
837
+ * `onChange` and back in via `initialEditedWords` / `initialUndoStack`.
838
+ */
839
+
840
+ /** Default filler words offered for removal */
841
+ declare const DEFAULT_FILLER_WORDS: string[];
842
+ /** Default minimum silence duration in milliseconds to detect and insert */
843
+ declare const DEFAULT_MIN_SILENCE_MS = 400;
844
+ /** Default threshold for "newline" silences - longer pauses that indicate paragraph breaks */
845
+ declare const DEFAULT_NL_SILENCE_MS = 1500;
846
+ /** Clipboard data for cut/copy/paste operations */
847
+ interface TranscriptClipboard {
848
+ words: EditableWord[];
849
+ operation: 'cut' | 'copy';
850
+ }
851
+ /** Count and total duration of silences above a given threshold (seconds) */
852
+ interface SilenceThresholdCount {
853
+ threshold: number;
854
+ count: number;
855
+ durationMs: number;
856
+ }
857
+ /**
858
+ * Builds playback segments from the edited word list.
859
+ * Consecutive words in original order are merged into single segments.
860
+ * Inserted (pasted) words each get their own segment since they may be duplicates.
861
+ */
862
+ declare function buildPlaybackSegments(editedWords: EditableWord[]): PlaybackSegment[];
863
+ /**
864
+ * Get the effective playback speed at a given word index.
865
+ * Finds the most recent speed marker at or before the word index,
866
+ * or returns the default speed if no marker applies.
867
+ */
868
+ declare function getSpeedAtIndex(wordIndex: number, speedMarkers: SpeedMarker[], defaultSpeed: PlaybackSpeed): PlaybackSpeed;
869
+ /**
870
+ * Detect silences between words and return a new array with silence pseudo-words inserted.
871
+ * Silences are detected as gaps between the endMs of one word and startMs of the next.
872
+ * Silences >= nlSilenceMs are marked as 'silence-newline' for visual line breaks.
873
+ */
874
+ declare function insertSilences(words: TranscriptWord[], minSilenceMs?: number, nlSilenceMs?: number): TranscriptWord[];
875
+ /** Initialize editable words from transcript, inserting detected silences */
876
+ declare function initEditableWords(transcript: Transcript, minSilenceMs?: number, nlSilenceMs?: number): EditableWord[];
877
+ interface UseTranscriptEditsOptions {
878
+ /** The source transcript (canonical, immutable) */
879
+ transcript: Transcript;
880
+ /** Initial edited words (from saved edits) */
881
+ initialEditedWords?: EditableWord[];
882
+ /** Initial undo stack (from saved edits) */
883
+ initialUndoStack?: EditableWord[][];
884
+ /** Fired after every mutation (for persistence) */
885
+ onChange?: (editedWords: EditableWord[], undoStack: EditableWord[][]) => void;
886
+ /** Minimum silence duration (ms) to detect and insert. Default 400 */
887
+ minSilenceMs?: number;
888
+ /** Threshold (ms) for "newline" silences (paragraph breaks). Default 1500 */
889
+ nlSilenceMs?: number;
890
+ /** Initial speed markers (from saved edits) */
891
+ initialSpeedMarkers?: SpeedMarker[];
892
+ /** Initial default playback speed (from saved edits). Default 1 */
893
+ initialDefaultSpeed?: PlaybackSpeed;
894
+ }
895
+ interface TranscriptEditStats {
896
+ /** Non-deleted spoken words (silences excluded) */
897
+ activeWordCount: number;
898
+ /** Non-deleted silence entries */
899
+ activeSilenceCount: number;
900
+ /** Deleted spoken words */
901
+ deletedWordCount: number;
902
+ /** Deleted silence entries */
903
+ deletedSilenceCount: number;
904
+ /** Total duration of non-deleted entries, adjusted for speed markers */
905
+ editedDurationMs: number;
906
+ }
907
+ interface FillerAnalysis {
908
+ /** Occurrence count per normalized word (fillers and every active word) */
909
+ matchCounts: Map<string, number>;
910
+ /** Total duration (ms) per normalized word */
911
+ durations: Map<string, number>;
912
+ /** Count + total duration of active silences above each analysis threshold */
913
+ silenceCounts: SilenceThresholdCount[];
914
+ /** The built-in filler word list */
915
+ defaultFillerWords: string[];
916
+ }
917
+ interface UseTranscriptEditsResult {
918
+ /** The edited timeline (words + silence pseudo-words) */
919
+ editedWords: EditableWord[];
920
+ /** Undo snapshots, oldest first */
921
+ undoStack: EditableWord[][];
922
+ /** Internal clipboard from the last cut/copy, or null */
923
+ clipboard: TranscriptClipboard | null;
924
+ /** Whether any edit has been made (deletions, insertions, text edits, speed markers) */
925
+ hasEdits: boolean;
926
+ /** Push the current editedWords onto the undo stack (call before external batch mutations) */
927
+ pushUndo: () => void;
928
+ /** Restore the most recent undo snapshot */
929
+ undo: () => void;
930
+ /** Step forward again after an undo. Cleared by any new edit. */
931
+ redo: () => void;
932
+ /** Whether there is anything to redo */
933
+ canRedo: boolean;
934
+ /** Toggle the deleted flag on a single word */
935
+ toggleWordDeleted: (index: number) => void;
936
+ /**
937
+ * Toggle the deleted state of a contiguous range. The first index acts as
938
+ * the anchor: all words are set to the opposite of the anchor's state
939
+ * (delete all if anchor active, restore all if anchor deleted).
940
+ */
941
+ deleteRange: (indices: number[]) => void;
942
+ /** Cut words at the given indices into the clipboard (marks them deleted) */
943
+ cut: (indices: number[]) => void;
944
+ /** Copy non-deleted words at the given indices into the clipboard */
945
+ copy: (indices: number[]) => void;
946
+ /**
947
+ * Paste the clipboard at a word index. `before` (default true) inserts
948
+ * before the word at `atIndex`; false inserts after it. Returns the index
949
+ * where the first pasted word landed, or null if the clipboard was empty.
950
+ */
951
+ paste: (atIndex: number, before?: boolean) => number | null;
952
+ /** Replace a word's text (no-op if unchanged) */
953
+ setWordText: (index: number, text: string) => void;
954
+ /** Split a silence at the given index into segments with the given durations (seconds) */
955
+ splitSilence: (index: number, durationsSec: number[]) => void;
956
+ /** Toggle the word at the index deleted (editor "delete" action) */
957
+ deleteWord: (index: number) => void;
958
+ /** Replace the entire edit state from an external source (e.g. an editable script view); undo-safe */
959
+ replaceEditedWords: (next: EditableWord[]) => void;
960
+ /** Mark matching filler words (and silences above the given seconds threshold) deleted */
961
+ removeFillers: (fillerWords: string[], removeSilenceAboveSec: number | null) => void;
962
+ /** Rebuild silence detection with new thresholds, preserving word deletions.
963
+ * Not undoable — clears the undo stack (prior snapshots reference the old silence layout). */
964
+ setSilenceThresholds: (minMs: number, nlMs: number) => void;
965
+ /** Current silence detection thresholds (ms) */
966
+ silenceThresholds: {
967
+ minSilenceMs: number;
968
+ nlSilenceMs: number;
969
+ };
970
+ /** Speed markers, sorted by word index */
971
+ speedMarkers: SpeedMarker[];
972
+ /** Default playback speed when no marker applies */
973
+ defaultSpeed: PlaybackSpeed;
974
+ /** Set the default playback speed (undoable) */
975
+ setDefaultSpeed: (speed: PlaybackSpeed) => void;
976
+ /** Add/update/remove a speed marker (re-selecting the same speed removes it; undoable) */
977
+ toggleSpeedMarker: (index: number, speed: PlaybackSpeed) => void;
978
+ /** Remove the speed marker at a word index, if any (undoable) */
979
+ removeSpeedMarker: (index: number) => void;
980
+ /**
981
+ * Apply one speed across an index range (typically the selection): marks the
982
+ * start, restores the prior effective speed after the end. One undo step.
983
+ */
984
+ setSpeedForRange: (startIndex: number, endIndex: number, speed: PlaybackSpeed) => void;
985
+ /** Effective playback speed at a word index */
986
+ getSpeedAtIndex: (index: number) => PlaybackSpeed;
987
+ /** The speed marker at a word index, if any */
988
+ getSpeedMarkerAtIndex: (index: number) => SpeedMarker | undefined;
989
+ /** Contiguous playback segments built from the edited timeline */
990
+ playbackSegments: PlaybackSegment[];
991
+ /** Word/silence counts and speed-adjusted edited duration */
992
+ stats: TranscriptEditStats;
993
+ /** Filler word and silence analysis for removal UIs */
994
+ fillerAnalysis: FillerAnalysis;
995
+ }
996
+ /**
997
+ * Headless transcript-editing hook. See module docs for scope.
998
+ *
999
+ * Undo semantics: each mutation snapshots the full `editedWords` array onto
1000
+ * a single-level stack before applying; `undo` pops one snapshot. Speed
1001
+ * markers and silence-threshold changes are NOT part of the undo stack
1002
+ * (matching the source component).
1003
+ */
1004
+ declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
1005
+
1006
+ export { type AnchoredPlacement, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, type KeyboardInsetSource, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseKeyboardInsetOptions, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtlLocale, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useYouTubeHoverPreview };