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

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 +1406 -823
  345. package/dist/components/SuperChat/index.cjs.map +1 -1
  346. package/dist/components/SuperChat/index.d.cts +126 -8
  347. package/dist/components/SuperChat/index.d.ts +126 -8
  348. package/dist/components/SuperChat/index.js +1398 -815
  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
@@ -0,0 +1,92 @@
1
+ import * as React from 'react';
2
+
3
+ /**
4
+ * The contract every component in the `Modules/Views` family reads through.
5
+ *
6
+ * A page describes its collection once — which field is the id, the title, the
7
+ * status, the start date — and every view understands it. That is the whole
8
+ * reason the family exists: without it each view needs its own adapter and you
9
+ * end up re-implementing the same board per entity.
10
+ *
11
+ * Views are headless. Nothing here fetches, subscribes, or navigates.
12
+ * See CONTRIBUTING → "Modules: headless data components".
13
+ */
14
+
15
+ /**
16
+ * Which layout is on screen. `overview` and `table` are rendered by the host
17
+ * through `ViewSet` slots rather than by a component in this family — a tabular
18
+ * collection is `DataVisNitroGrid`, and an overview is domain content.
19
+ */
20
+ type ViewId = 'overview' | 'list' | 'board' | 'calendar' | 'gantt' | 'roadmap' | 'table';
21
+ /**
22
+ * A semantic colour name, resolved to `--mieweb-*` tokens by each view.
23
+ *
24
+ * Accessors return one of these rather than a class string so a caller cannot
25
+ * hardcode a palette that breaks under another brand or in dark mode.
26
+ */
27
+ type Accent = 'primary' | 'success' | 'warning' | 'destructive' | 'info' | 'neutral';
28
+ /** A named stage: a board column, and the segments of a stage bar. */
29
+ interface Stage {
30
+ id: string;
31
+ label: string;
32
+ accent?: Accent;
33
+ }
34
+ /**
35
+ * How a view reads one item. Only `getId` and `getTitle` are always required;
36
+ * each view documents which of the rest it needs (a board needs `getStatus`, a
37
+ * Gantt needs `getStart`) and renders an explanatory empty state without them.
38
+ */
39
+ interface ViewAccessors<T> {
40
+ getId: (item: T) => string;
41
+ getTitle: (item: T) => string;
42
+ /** Secondary line under the title. */
43
+ getSubtitle?: (item: T) => string | undefined;
44
+ /** Board column and list group; matched against `Stage['id']`. */
45
+ getStatus?: (item: T) => string;
46
+ /** Gantt bar start, calendar placement. */
47
+ getStart?: (item: T) => Date | string | null | undefined;
48
+ /** Gantt bar end, calendar span. Falls back to the start when absent. */
49
+ getEnd?: (item: T) => Date | string | null | undefined;
50
+ /** Swimlane in a roadmap, row group in a Gantt. */
51
+ getGroup?: (item: T) => string | undefined;
52
+ getAccent?: (item: T) => Accent;
53
+ }
54
+ /** Strings a view renders. Every one is overridable; the defaults are English. */
55
+ interface ViewLabels {
56
+ /** Accessible name of the view switcher group. */
57
+ viewSwitcher: string;
58
+ loading: string;
59
+ empty: string;
60
+ error: string;
61
+ /** Action on the error state. */
62
+ retry: string;
63
+ /** Heading for the group a record with no status or group falls into. */
64
+ ungrouped: string;
65
+ }
66
+ /**
67
+ * Props every view accepts. Views are controlled: selection, the active view and
68
+ * filter state live in the page, and every change is handed back.
69
+ */
70
+ interface ViewBaseProps<T> {
71
+ items: T[];
72
+ accessors: ViewAccessors<T>;
73
+ loading?: boolean;
74
+ error?: Error | null;
75
+ selectedId?: string | null;
76
+ /** Called when the user activates an item. */
77
+ onOpen?: (id: string, item: T) => void;
78
+ /** Return a URL to render each item as a real anchor — middle-clickable and crawlable. */
79
+ getHref?: (id: string, item: T) => string;
80
+ /** Render one item. Receives the active view so one function can serve several. */
81
+ renderItem?: (item: T, context: {
82
+ view: ViewId;
83
+ }) => React.ReactNode;
84
+ /** Replaces the built-in empty state. */
85
+ emptyState?: React.ReactNode;
86
+ labels?: Partial<ViewLabels>;
87
+ /** Pins "today" so stories, tests and visual snapshots stay deterministic. */
88
+ now?: Date;
89
+ className?: string;
90
+ }
91
+
92
+ export type { Stage as S, ViewLabels as V, ViewBaseProps as a };
@@ -1,5 +1,4 @@
1
1
  import { ClassValue } from 'clsx';
2
- export { i as isHtmlEmpty, s as stripHtmlTags } from '../html-MdxqSzjD.cjs';
3
2
 
4
3
  declare const miewebUITwMergeConflicts: Record<string, string[]>;
5
4
  /**
@@ -18,6 +17,18 @@ declare const miewebUITwMergeConflicts: Record<string, string[]>;
18
17
  */
19
18
  declare function cn(...inputs: ClassValue[]): string;
20
19
 
20
+ /**
21
+ * Extracts visible text from an HTML string without using regex.
22
+ * Uses a simple character-by-character state machine to skip tags.
23
+ * This avoids CodeQL false-positives associated with regex-based tag stripping.
24
+ */
25
+ declare function stripHtmlTags(html: string): string;
26
+ /**
27
+ * Returns true when an HTML string has no visible text content.
28
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
29
+ */
30
+ declare function isHtmlEmpty(html: string): boolean;
31
+
21
32
  /**
22
33
  * Phone number formatting utilities
23
34
  */
@@ -106,4 +117,4 @@ declare function displayFormatToDateString(value: string): string;
106
117
  */
107
118
  declare function isStorybookDocsMode(): boolean;
108
119
 
109
- export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber };
120
+ export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isHtmlEmpty, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, stripHtmlTags, unformatPhoneNumber };
@@ -1,5 +1,4 @@
1
1
  import { ClassValue } from 'clsx';
2
- export { i as isHtmlEmpty, s as stripHtmlTags } from '../html-MdxqSzjD.js';
3
2
 
4
3
  declare const miewebUITwMergeConflicts: Record<string, string[]>;
5
4
  /**
@@ -18,6 +17,18 @@ declare const miewebUITwMergeConflicts: Record<string, string[]>;
18
17
  */
19
18
  declare function cn(...inputs: ClassValue[]): string;
20
19
 
20
+ /**
21
+ * Extracts visible text from an HTML string without using regex.
22
+ * Uses a simple character-by-character state machine to skip tags.
23
+ * This avoids CodeQL false-positives associated with regex-based tag stripping.
24
+ */
25
+ declare function stripHtmlTags(html: string): string;
26
+ /**
27
+ * Returns true when an HTML string has no visible text content.
28
+ * This is a visibility check, not a sanitizer — do NOT use for XSS prevention.
29
+ */
30
+ declare function isHtmlEmpty(html: string): boolean;
31
+
21
32
  /**
22
33
  * Phone number formatting utilities
23
34
  */
@@ -106,4 +117,4 @@ declare function displayFormatToDateString(value: string): string;
106
117
  */
107
118
  declare function isStorybookDocsMode(): boolean;
108
119
 
109
- export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, unformatPhoneNumber };
120
+ export { calculateAge, cn, dateToDisplayFormat, displayFormatToDateString, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isHtmlEmpty, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, miewebUITwMergeConflicts, parseDateValue, stripHtmlTags, unformatPhoneNumber };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mieweb/ui",
3
- "version": "0.10.0-dev.3",
3
+ "version": "0.10.0-dev.31",
4
4
  "description": "A themeable, accessible React component library built with Tailwind CSS",
5
5
  "author": "Medical Informatics Engineering, Inc.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -151,6 +151,36 @@
151
151
  "default": "./dist/globe.cjs"
152
152
  }
153
153
  },
154
+ "./deck": {
155
+ "import": {
156
+ "types": "./dist/deck.d.ts",
157
+ "default": "./dist/deck.js"
158
+ },
159
+ "require": {
160
+ "types": "./dist/deck.d.cts",
161
+ "default": "./dist/deck.cjs"
162
+ }
163
+ },
164
+ "./maps": {
165
+ "import": {
166
+ "types": "./dist/maps.d.ts",
167
+ "default": "./dist/maps.js"
168
+ },
169
+ "require": {
170
+ "types": "./dist/maps.d.cts",
171
+ "default": "./dist/maps.cjs"
172
+ }
173
+ },
174
+ "./templates": {
175
+ "import": {
176
+ "types": "./dist/templates.d.ts",
177
+ "default": "./dist/templates.js"
178
+ },
179
+ "require": {
180
+ "types": "./dist/templates.d.cts",
181
+ "default": "./dist/templates.cjs"
182
+ }
183
+ },
154
184
  "./datavis": {
155
185
  "import": {
156
186
  "types": "./dist/datavis.d.ts",
@@ -241,7 +271,8 @@
241
271
  "prepare": "npm run build:datavis && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
242
272
  "dev": "tsup --watch",
243
273
  "prebuild": "npm run build:esheet && npm run build:datavis",
244
- "build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
274
+ "build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:dts && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css && npm run copy:kerebron-css",
275
+ "build:dts": "node scripts/build-dts.mjs",
245
276
  "build:esheet": "if [ ! -f packages/esheet/packages/core/dist/index.d.ts ] || [ ! -f packages/esheet/packages/renderer/src/index.output.css ] || [ ! -f packages/esheet/packages/builder/src/index.output.css ]; then cd packages/esheet && pnpm install --frozen-lockfile && pnpm --filter '@esheet/builder...' --filter '@esheet/renderer...' build; fi",
246
277
  "build:datavis": "node scripts/build-datavis.mjs",
247
278
  "build:css": "mkdir -p dist && npx @tailwindcss/cli -i ./src/styles/base.css -o ./dist/styles.css --minify",
@@ -249,10 +280,11 @@
249
280
  "copy:style-css": "mkdir -p dist/styles && cp src/styles/init.css src/styles/effects.css dist/styles/ 2>/dev/null || true",
250
281
  "copy:markdown-css": "mkdir -p dist/components/Markdown && cp src/components/Markdown/styles.css dist/components/Markdown/ 2>/dev/null || true",
251
282
  "copy:kerebron-css": "mkdir -p dist && cp src/styles/kerebron.css dist/kerebron.css",
252
- "typecheck": "tsc --noEmit",
283
+ "typecheck": "tsc --noEmit && tsc -p .storybook/tsconfig.mobile.json",
253
284
  "lint": "eslint \"src/**/*.{ts,tsx}\"",
254
285
  "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
255
286
  "rtl:scan": "node scripts/rtl-scan.mjs",
287
+ "check:templates-rsc": "node --conditions=react-server scripts/check-templates-rsc.mjs",
256
288
  "rtl:scan:update": "node scripts/rtl-scan.mjs --update",
257
289
  "condensed:scan": "node scripts/condensed-scan.mjs",
258
290
  "catalog:check": "node scripts/catalog-check.mjs",
@@ -263,26 +295,33 @@
263
295
  "test": "vitest run",
264
296
  "test:watch": "vitest",
265
297
  "prestorybook": "npm run build:esheet && npm run build:datavis",
266
- "storybook": "storybook dev -p 6006",
267
- "build-storybook": "npm run build:esheet && npm run build:datavis && storybook build && npm run catalog:manifest",
298
+ "storybook": "node scripts/build-ozwell-docs.mjs && storybook dev -p 6006",
299
+ "build-storybook": "npm run build:esheet && npm run build:datavis && node scripts/build-ozwell-docs.mjs && storybook build && npm run catalog:manifest",
268
300
  "test:coverage": "vitest run --coverage",
269
301
  "playwright:install": "playwright install --with-deps",
270
302
  "test:visual": "playwright test",
271
303
  "test:visual:ui": "playwright test --ui",
272
304
  "test:visual:debug": "playwright test --debug",
305
+ "mobile:install": "npm ci --prefix tests/mobile",
306
+ "mobile:doctor": "npm --prefix tests/mobile run doctor",
307
+ "mobile:server": "npm --prefix tests/mobile run appium",
308
+ "test:mobile": "npm --prefix tests/mobile test",
309
+ "test:mobile:device": "IOS_REAL_DEVICE=1 npm --prefix tests/mobile test",
273
310
  "test:storybook": "test-storybook --url http://localhost:6006 --maxWorkers 2 --testTimeout 30000",
274
311
  "prepublishOnly": "npm run build"
275
312
  },
276
313
  "peerDependencies": {
277
- "@kerebron/editor": ">=0.8.6",
278
- "@kerebron/editor-kits": ">=0.8.6",
279
- "@kerebron/extension-yjs": ">=0.8.6",
280
- "@kerebron/wasm": ">=0.8.6",
314
+ "@kerebron/editor": ">=0.8.12",
315
+ "@kerebron/editor-kits": ">=0.8.12",
316
+ "@kerebron/extension-basic-editor": ">=0.8.12",
317
+ "@kerebron/extension-yjs": ">=0.8.12",
318
+ "@kerebron/wasm": ">=0.8.12",
281
319
  "@mieweb/q": "1.0.0",
282
320
  "ag-grid-community": ">=32.0.0",
283
321
  "ag-grid-react": ">=32.0.0",
284
322
  "js-yaml": ">=4.0.0",
285
323
  "katex": ">=0.16.0",
324
+ "leaflet": ">=1.9.0",
286
325
  "mermaid": ">=11.0.0",
287
326
  "motion": ">=12.0.0",
288
327
  "papaparse": ">=5.0.0",
@@ -301,6 +340,9 @@
301
340
  "yjs": ">=13.6.0"
302
341
  },
303
342
  "peerDependenciesMeta": {
343
+ "leaflet": {
344
+ "optional": true
345
+ },
304
346
  "react-globe.gl": {
305
347
  "optional": true
306
348
  },
@@ -316,6 +358,9 @@
316
358
  "@kerebron/editor-kits": {
317
359
  "optional": true
318
360
  },
361
+ "@kerebron/extension-basic-editor": {
362
+ "optional": true
363
+ },
319
364
  "@kerebron/extension-yjs": {
320
365
  "optional": true
321
366
  },
@@ -407,10 +452,11 @@
407
452
  "@esheet/fields": "0.0.5",
408
453
  "@esheet/renderer": "0.0.5",
409
454
  "@eslint/js": "^9.39.3",
410
- "@kerebron/editor": "^0.8.6",
411
- "@kerebron/editor-kits": "^0.8.6",
412
- "@kerebron/extension-yjs": "^0.8.6",
413
- "@kerebron/wasm": "^0.8.6",
455
+ "@kerebron/editor": "^0.8.12",
456
+ "@kerebron/editor-kits": "^0.8.12",
457
+ "@kerebron/extension-basic-editor": "^0.8.12",
458
+ "@kerebron/extension-yjs": "^0.8.12",
459
+ "@kerebron/wasm": "^0.8.12",
414
460
  "@mieweb/datavis": "link:./packages/datavis",
415
461
  "@mieweb/q": "1.0.0",
416
462
  "@monaco-editor/react": "^4.7.0",
@@ -418,6 +464,7 @@
418
464
  "@storybook/addon-a11y": "^10.2.11",
419
465
  "@storybook/addon-docs": "^10.2.11",
420
466
  "@storybook/addon-links": "^10.2.11",
467
+ "@storybook/icons": "2.0.1",
421
468
  "@storybook/react": "^10.2.11",
422
469
  "@storybook/react-vite": "^10.2.11",
423
470
  "@storybook/test-runner": "0.24.3",
@@ -428,6 +475,7 @@
428
475
  "@testing-library/user-event": "^14.6.1",
429
476
  "@types/google-libphonenumber": "^7.4.30",
430
477
  "@types/js-yaml": "^4.0.9",
478
+ "@types/leaflet": "^1.9.22",
431
479
  "@types/luxon": "^3.7.1",
432
480
  "@types/node": "^22.19.11",
433
481
  "@types/papaparse": "^5.3.16",
@@ -462,6 +510,7 @@
462
510
  "js-yaml": "^4.1.1",
463
511
  "jsdom": "^26.1.0",
464
512
  "katex": "^0.17.0",
513
+ "leaflet": "^1.9.4",
465
514
  "mermaid": "^11.15.0",
466
515
  "motion": "^12.34.2",
467
516
  "papaparse": "^5.5.3",
@@ -1,188 +0,0 @@
1
- import * as React from 'react';
2
-
3
- /**
4
- * Motion presets — the shared vocabulary of animations.
5
- *
6
- * This module is intentionally **free of any `motion` import**. It ships in the
7
- * main `@mieweb/ui` entry so components can describe *what* they animate
8
- * without pulling in a runtime to actually do it. The `@mieweb/ui/motion` entry
9
- * is what turns these descriptions into real animations.
10
- *
11
- * Every preset is expressed as an open/closed variant pair so the same
12
- * definition serves both usages:
13
- *
14
- * - **toggle** — the element stays mounted and animates between `open` and
15
- * `closed` (a drawer sliding in and out).
16
- * - **presence** — the element mounts and unmounts, entering on `open` and
17
- * exiting back to `closed` (a modal).
18
- */
19
- /** Named animation recipes shared by components. */
20
- type MotionPreset = 'drawerStart' | 'overlay' | 'modalContent' | 'sidebarLabel' | 'menu' | 'collapse' | 'toast' | 'fade' | 'pop';
21
- /**
22
- * A physical edge, already resolved from any logical (`start`/`end`) position
23
- * and from writing direction.
24
- *
25
- * Presets that move an element along an axis take one of these as `custom`.
26
- * Resolution is the component's job, not the preset's: only the component knows
27
- * whether its `end` means right or left, and — for anything anchored — which
28
- * side it actually landed on after flipping away from a viewport edge.
29
- */
30
- type MotionEdge = 'top' | 'bottom' | 'left' | 'right';
31
- /**
32
- * A variant value. Either a plain target object or a function of the element's
33
- * `custom` value — the latter lets a single preset adapt to context, e.g. a
34
- * drawer flipping its off-canvas direction in RTL.
35
- */
36
- type MotionVariant = Record<string, unknown> | ((custom: unknown) => Record<string, unknown>);
37
- interface MotionPresetDefinition {
38
- variants: {
39
- open: MotionVariant;
40
- closed: MotionVariant;
41
- };
42
- transition: Record<string, unknown>;
43
- }
44
- /**
45
- * `custom` contract per preset:
46
- *
47
- * - `drawerStart` — `boolean`, whether the document direction is RTL.
48
- * - `menu`, `toast` — a {@link MotionEdge}, already resolved from logical
49
- * position and writing direction by the component.
50
- * - `overlay`, `modalContent`, `sidebarLabel`, `collapse`, `fade`, `pop` —
51
- * unused.
52
- */
53
- declare const motionPresets: Record<MotionPreset, MotionPresetDefinition>;
54
-
55
- /**
56
- * Motion runtime — the seam between components and an optional animation library.
57
- *
58
- * Components in the main entry never import `motion`. They ask this module for
59
- * a runtime; if an app has opted in by rendering `<MotionProvider>` from
60
- * `@mieweb/ui/motion`, they get one and animate. If not, `useMotionRuntime()`
61
- * returns `null` and they fall back to their existing CSS transitions. That is
62
- * what keeps `motion` out of the bundle of every app that hasn't asked for it —
63
- * the opt-in is resolved in the *module graph*, not by a prop.
64
- *
65
- * Like `presets`, this module must stay free of any `motion` import.
66
- */
67
-
68
- interface MotionPresenceProps {
69
- children?: React.ReactNode;
70
- /** Suppress the initial mount animation. */
71
- initial?: boolean;
72
- /**
73
- * Fires once every exiting child has finished and been removed.
74
- *
75
- * Needed by anything that guards the DOM while it is open — a focus trap, a
76
- * scroll lock — because those guards must outlive `open` for as long as the
77
- * subtree is still on screen. Never fires when no runtime is active, since
78
- * there is no exit to wait for.
79
- */
80
- onExitComplete?: () => void;
81
- }
82
- /**
83
- * The capabilities a motion library must supply. Deliberately small: element
84
- * factories, a presence wrapper, and prop builders. Components depend on this
85
- * interface, never on a concrete library, so swapping or dropping the library
86
- * stays a one-file change.
87
- */
88
- interface MotionRuntime {
89
- /**
90
- * Whether animations should actually run.
91
- *
92
- * A disabled provider still supplies a runtime rather than `null` so that
93
- * consumers can tell "disabled" apart from "never opted in": `Modal` uses it
94
- * to decide whether an exit animation will ever report completion, and
95
- * `AnimatedPresence` keeps its wrapper element stable across the flip.
96
- * `Animated` itself renders the plain fallback tag whenever this is false —
97
- * withholding animation props from a mounted motion component corrupts
98
- * `toggle`-mode elements, so the swap (and the remount it implies) is the
99
- * correct behaviour. See the render branches in `Animated`.
100
- */
101
- enabled: boolean;
102
- /** Animated `div`. */
103
- Div: React.ElementType;
104
- /** Animated `nav`. */
105
- Nav: React.ElementType;
106
- /** Animated `span`, for inline content that must not become a block. */
107
- Span: React.ElementType;
108
- /** Enables exit animations for conditionally rendered children. */
109
- Presence: React.ComponentType<MotionPresenceProps>;
110
- /**
111
- * Props for an element that stays mounted and animates between states.
112
- * Skips the initial animation so a closed drawer doesn't slide out on load.
113
- */
114
- toggle: (preset: MotionPreset, open: boolean, custom?: unknown) => Record<string, unknown>;
115
- /** Props for an element that mounts and unmounts inside `Presence`. */
116
- presence: (preset: MotionPreset, custom?: unknown) => Record<string, unknown>;
117
- }
118
- /**
119
- * The active motion runtime, or `null` when the app has not opted in.
120
- *
121
- * Components must treat `null` as the normal case and keep a CSS path that
122
- * looks good on its own — motion is an enhancement, never a requirement.
123
- */
124
- declare function useMotionRuntime(): MotionRuntime | null;
125
-
126
- /**
127
- * `Animated` / `AnimatedPresence` — the ergonomic layer components use.
128
- *
129
- * These exist so an individual component never has to branch on whether motion
130
- * is available. It declares the preset it wants and the CSS classes that stand
131
- * in when motion is absent; this module picks the element to render.
132
- *
133
- * Adding motion to a further component should be a matter of swapping its
134
- * root `<div>` for an `<Animated>` and naming a preset — no new imports, no
135
- * new dependency, and no behavior change for apps that have not opted in.
136
- */
137
-
138
- interface AnimatedProps extends React.HTMLAttributes<HTMLElement> {
139
- /** Intrinsic element to render. */
140
- as?: 'div' | 'nav' | 'span';
141
- /** Which shared animation recipe to use. */
142
- preset: MotionPreset;
143
- /**
144
- * - `toggle` — element stays mounted and animates between open and closed.
145
- * - `presence` — element mounts and unmounts; wrap it in `<AnimatedPresence>`
146
- * so the exit animation gets a chance to run.
147
- */
148
- mode: 'toggle' | 'presence';
149
- /** Current state. Only read in `toggle` mode. */
150
- open?: boolean;
151
- /** Per-preset context value — see the `custom` contract in `presets.ts`. */
152
- custom?: unknown;
153
- /**
154
- * Classes applied whenever this element is **not** animating — no provider,
155
- * a disabled provider, or `enabled={false}`. This is where a component's
156
- * existing CSS transition lives, so the two paths never both try to drive
157
- * the same property.
158
- */
159
- fallbackClassName?: string;
160
- /**
161
- * Set `false` to stop this element animating even when a runtime is active.
162
- *
163
- * For states where an animated element would be wrong rather than merely
164
- * unnecessary. Motion writes a `transform` to hold an element at its resting
165
- * position, and a transformed ancestor becomes the containing block for any
166
- * `position: fixed` descendant — so an element that is only sometimes
167
- * animated should opt out the rest of the time.
168
- *
169
- * Flipping this (or the provider's `disabled`) swaps the element back to a
170
- * plain tag, which **remounts** it — deliberately. See the note on the
171
- * render branches below.
172
- */
173
- enabled?: boolean;
174
- }
175
- declare const Animated: React.ForwardRefExoticComponent<AnimatedProps & React.RefAttributes<HTMLElement>>;
176
- /**
177
- * Keeps unmounting children on screen long enough to animate out.
178
- *
179
- * Without a runtime this is a pass-through, so children disappear immediately —
180
- * which is exactly what they do today. Children rendered conditionally inside
181
- * it need a stable `key`.
182
- */
183
- declare function AnimatedPresence({ children, initial, onExitComplete, }: MotionPresenceProps): React.JSX.Element;
184
- declare namespace AnimatedPresence {
185
- var displayName: string;
186
- }
187
-
188
- export { Animated as A, type MotionEdge as M, AnimatedPresence as a, type AnimatedProps as b, type MotionPreset as c, type MotionRuntime as d, type MotionPresenceProps as e, type MotionPresetDefinition as f, type MotionVariant as g, motionPresets as m, useMotionRuntime as u };