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

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 (479) hide show
  1. package/dist/CsvBlock-CFXSDPBI.js +9 -0
  2. package/dist/{CsvBlock-VLMG7GUO.js.map → CsvBlock-CFXSDPBI.js.map} +1 -1
  3. package/dist/CsvBlock-RGO7JXHJ.cjs +18 -0
  4. package/dist/{CsvBlock-FX5YNGNE.cjs.map → CsvBlock-RGO7JXHJ.cjs.map} +1 -1
  5. package/dist/HtmlPreviewBlock-VBYXCXVT.cjs +18 -0
  6. package/dist/{HtmlPreviewBlock-UO37JQ3K.cjs.map → HtmlPreviewBlock-VBYXCXVT.cjs.map} +1 -1
  7. package/dist/HtmlPreviewBlock-Z2GCK325.js +9 -0
  8. package/dist/{HtmlPreviewBlock-5JE7L3GR.js.map → HtmlPreviewBlock-Z2GCK325.js.map} +1 -1
  9. package/dist/MermaidBlock-I2R2BQOX.cjs +18 -0
  10. package/dist/{MermaidBlock-RZ75RPZA.cjs.map → MermaidBlock-I2R2BQOX.cjs.map} +1 -1
  11. package/dist/MermaidBlock-XCAK7IA5.js +9 -0
  12. package/dist/{MermaidBlock-3XHFBAMV.js.map → MermaidBlock-XCAK7IA5.js.map} +1 -1
  13. package/dist/SurveyBlock-KI5JOWCL.js +9 -0
  14. package/dist/{SurveyBlock-MUVJ3JUI.js.map → SurveyBlock-KI5JOWCL.js.map} +1 -1
  15. package/dist/SurveyBlock-UKSGISRT.cjs +18 -0
  16. package/dist/{SurveyBlock-VH47YXZC.cjs.map → SurveyBlock-UKSGISRT.cjs.map} +1 -1
  17. package/dist/brands/index.cjs +7 -7
  18. package/dist/brands/index.js +2 -2
  19. package/dist/{chunk-6ZPTZTKN.js → chunk-24AFHH4J.js} +3 -3
  20. package/dist/{chunk-6ZPTZTKN.js.map → chunk-24AFHH4J.js.map} +1 -1
  21. package/dist/{chunk-TYE5K5WV.cjs → chunk-32ZCJOSR.cjs} +4 -4
  22. package/dist/{chunk-TYE5K5WV.cjs.map → chunk-32ZCJOSR.cjs.map} +1 -1
  23. package/dist/{chunk-SD7ONW6S.js → chunk-3DLLTITK.js} +4 -4
  24. package/dist/{chunk-SD7ONW6S.js.map → chunk-3DLLTITK.js.map} +1 -1
  25. package/dist/chunk-47P5QLX4.cjs +42 -0
  26. package/dist/chunk-47P5QLX4.cjs.map +1 -0
  27. package/dist/chunk-4ZB7RSMY.cjs +306 -0
  28. package/dist/chunk-4ZB7RSMY.cjs.map +1 -0
  29. package/dist/{chunk-WXFGHDTV.cjs → chunk-57G3O552.cjs} +13 -13
  30. package/dist/{chunk-WXFGHDTV.cjs.map → chunk-57G3O552.cjs.map} +1 -1
  31. package/dist/{chunk-D22GE27K.js → chunk-5A4SL436.js} +4 -4
  32. package/dist/{chunk-D22GE27K.js.map → chunk-5A4SL436.js.map} +1 -1
  33. package/dist/chunk-6BNZLN4B.cjs +548 -0
  34. package/dist/chunk-6BNZLN4B.cjs.map +1 -0
  35. package/dist/chunk-6JSFT2J5.js +130 -0
  36. package/dist/chunk-6JSFT2J5.js.map +1 -0
  37. package/dist/{chunk-NKV76R65.cjs → chunk-6M63CM7X.cjs} +26 -26
  38. package/dist/{chunk-NKV76R65.cjs.map → chunk-6M63CM7X.cjs.map} +1 -1
  39. package/dist/chunk-6N7NMOSV.js +233 -0
  40. package/dist/chunk-6N7NMOSV.js.map +1 -0
  41. package/dist/chunk-6TTCZY3P.cjs +4 -0
  42. package/dist/chunk-6TTCZY3P.cjs.map +1 -0
  43. package/dist/{chunk-TTSSUOEV.cjs → chunk-7C5W744U.cjs} +8 -8
  44. package/dist/{chunk-TTSSUOEV.cjs.map → chunk-7C5W744U.cjs.map} +1 -1
  45. package/dist/chunk-7HUTR6RX.js +178 -0
  46. package/dist/chunk-7HUTR6RX.js.map +1 -0
  47. package/dist/chunk-7IRTD4JT.cjs +61 -0
  48. package/dist/chunk-7IRTD4JT.cjs.map +1 -0
  49. package/dist/{chunk-YU55JD35.js → chunk-7QW6TU4X.js} +3 -3
  50. package/dist/{chunk-YU55JD35.js.map → chunk-7QW6TU4X.js.map} +1 -1
  51. package/dist/chunk-7WJ6MBF5.cjs +47 -0
  52. package/dist/chunk-7WJ6MBF5.cjs.map +1 -0
  53. package/dist/chunk-A4W5CSK7.cjs +216 -0
  54. package/dist/chunk-A4W5CSK7.cjs.map +1 -0
  55. package/dist/chunk-AMYFRY7K.js +3 -0
  56. package/dist/chunk-AMYFRY7K.js.map +1 -0
  57. package/dist/{chunk-X6A27RGO.cjs → chunk-ANMX7YDL.cjs} +2 -2
  58. package/dist/{chunk-X6A27RGO.cjs.map → chunk-ANMX7YDL.cjs.map} +1 -1
  59. package/dist/{chunk-DVOQ3JNO.js → chunk-B4CKCNWD.js} +16 -8
  60. package/dist/chunk-B4CKCNWD.js.map +1 -0
  61. package/dist/chunk-BJ6ABRSQ.cjs +256 -0
  62. package/dist/chunk-BJ6ABRSQ.cjs.map +1 -0
  63. package/dist/chunk-BXRQ6HEP.cjs +4 -0
  64. package/dist/chunk-BXRQ6HEP.cjs.map +1 -0
  65. package/dist/{chunk-TJCX4OML.cjs → chunk-C77FAR3F.cjs} +2 -2
  66. package/dist/{chunk-TJCX4OML.cjs.map → chunk-C77FAR3F.cjs.map} +1 -1
  67. package/dist/chunk-CBBKWRLG.js +213 -0
  68. package/dist/chunk-CBBKWRLG.js.map +1 -0
  69. package/dist/{chunk-BNH4SXJB.js → chunk-CMF7VCGP.js} +5 -5
  70. package/dist/{chunk-BNH4SXJB.js.map → chunk-CMF7VCGP.js.map} +1 -1
  71. package/dist/chunk-CPDNX3LS.cjs +47 -0
  72. package/dist/chunk-CPDNX3LS.cjs.map +1 -0
  73. package/dist/chunk-CVNPNZMX.js +44 -0
  74. package/dist/chunk-CVNPNZMX.js.map +1 -0
  75. package/dist/chunk-DHGCLPFZ.js +91 -0
  76. package/dist/chunk-DHGCLPFZ.js.map +1 -0
  77. package/dist/chunk-DO2YN46R.cjs +201 -0
  78. package/dist/chunk-DO2YN46R.cjs.map +1 -0
  79. package/dist/chunk-DVDT7TX7.js +151 -0
  80. package/dist/chunk-DVDT7TX7.js.map +1 -0
  81. package/dist/{chunk-R5Z7AOVU.cjs → chunk-DZ3JTMKM.cjs} +9 -9
  82. package/dist/{chunk-R5Z7AOVU.cjs.map → chunk-DZ3JTMKM.cjs.map} +1 -1
  83. package/dist/chunk-EACNRR3C.cjs +4 -0
  84. package/dist/chunk-EACNRR3C.cjs.map +1 -0
  85. package/dist/{chunk-E2PBPQGS.js → chunk-EEOGIGIA.js} +2 -2
  86. package/dist/{chunk-E2PBPQGS.js.map → chunk-EEOGIGIA.js.map} +1 -1
  87. package/dist/{chunk-QURJVPRH.cjs → chunk-EMRWTCCN.cjs} +41 -2
  88. package/dist/chunk-EMRWTCCN.cjs.map +1 -0
  89. package/dist/chunk-EPCUPHEO.js +193 -0
  90. package/dist/chunk-EPCUPHEO.js.map +1 -0
  91. package/dist/chunk-EPTP3VKT.js +283 -0
  92. package/dist/chunk-EPTP3VKT.js.map +1 -0
  93. package/dist/{chunk-HIZWOAWY.cjs → chunk-ERACGSDY.cjs} +8 -8
  94. package/dist/{chunk-HIZWOAWY.cjs.map → chunk-ERACGSDY.cjs.map} +1 -1
  95. package/dist/{chunk-VOQJHSXN.cjs → chunk-F2FOG4EG.cjs} +9 -9
  96. package/dist/{chunk-VOQJHSXN.cjs.map → chunk-F2FOG4EG.cjs.map} +1 -1
  97. package/dist/{chunk-GBUVIGD5.js → chunk-F3EWRDIT.js} +99 -3
  98. package/dist/chunk-F3EWRDIT.js.map +1 -0
  99. package/dist/{chunk-ZTMYKAVU.cjs → chunk-FCV7GBNQ.cjs} +24 -23
  100. package/dist/chunk-FCV7GBNQ.cjs.map +1 -0
  101. package/dist/{chunk-GVLNXPJX.js → chunk-FGLIP6YR.js} +4 -4
  102. package/dist/{chunk-GVLNXPJX.js.map → chunk-FGLIP6YR.js.map} +1 -1
  103. package/dist/chunk-FKGFOBC2.js +314 -0
  104. package/dist/chunk-FKGFOBC2.js.map +1 -0
  105. package/dist/chunk-FSGJXCBG.cjs +318 -0
  106. package/dist/chunk-FSGJXCBG.cjs.map +1 -0
  107. package/dist/chunk-FTEZNCRI.js +29 -0
  108. package/dist/chunk-FTEZNCRI.js.map +1 -0
  109. package/dist/{chunk-COM7RNZU.cjs → chunk-FYQZWLAM.cjs} +2 -2
  110. package/dist/{chunk-COM7RNZU.cjs.map → chunk-FYQZWLAM.cjs.map} +1 -1
  111. package/dist/{chunk-YVPC65ZJ.cjs → chunk-GF2BE4FB.cjs} +91 -32
  112. package/dist/chunk-GF2BE4FB.cjs.map +1 -0
  113. package/dist/{chunk-JEIW7BSV.cjs → chunk-GKDHMNUA.cjs} +2 -52
  114. package/dist/chunk-GKDHMNUA.cjs.map +1 -0
  115. package/dist/{chunk-N7C4OEP7.cjs → chunk-GM32IDVL.cjs} +6 -6
  116. package/dist/{chunk-N7C4OEP7.cjs.map → chunk-GM32IDVL.cjs.map} +1 -1
  117. package/dist/chunk-GNOQFTLL.cjs +286 -0
  118. package/dist/chunk-GNOQFTLL.cjs.map +1 -0
  119. package/dist/chunk-GY5SP4ST.js +3 -0
  120. package/dist/chunk-GY5SP4ST.js.map +1 -0
  121. package/dist/chunk-H2Y7HZV5.js +3 -0
  122. package/dist/chunk-H2Y7HZV5.js.map +1 -0
  123. package/dist/chunk-H3QPREIJ.js +195 -0
  124. package/dist/chunk-H3QPREIJ.js.map +1 -0
  125. package/dist/{chunk-QOVJ6Z6R.js → chunk-HDY7YQFX.js} +3 -3
  126. package/dist/{chunk-QOVJ6Z6R.js.map → chunk-HDY7YQFX.js.map} +1 -1
  127. package/dist/chunk-HNFFFFYH.cjs +114 -0
  128. package/dist/chunk-HNFFFFYH.cjs.map +1 -0
  129. package/dist/chunk-HNXLLDPN.js +25 -0
  130. package/dist/chunk-HNXLLDPN.js.map +1 -0
  131. package/dist/chunk-I2MMUFCN.cjs +154 -0
  132. package/dist/chunk-I2MMUFCN.cjs.map +1 -0
  133. package/dist/{chunk-GYXUS65N.cjs → chunk-IGDO62KR.cjs} +5 -5
  134. package/dist/{chunk-GYXUS65N.cjs.map → chunk-IGDO62KR.cjs.map} +1 -1
  135. package/dist/{chunk-JBIGSP2T.js → chunk-ILDLYRTP.js} +5 -4
  136. package/dist/chunk-ILDLYRTP.js.map +1 -0
  137. package/dist/{chunk-HC3NAN55.cjs → chunk-IPL2O2OL.cjs} +19 -19
  138. package/dist/{chunk-HC3NAN55.cjs.map → chunk-IPL2O2OL.cjs.map} +1 -1
  139. package/dist/chunk-ISUIKUX7.cjs +337 -0
  140. package/dist/chunk-ISUIKUX7.cjs.map +1 -0
  141. package/dist/{chunk-N5O47VGS.cjs → chunk-IVGI353O.cjs} +2 -2
  142. package/dist/{chunk-N5O47VGS.cjs.map → chunk-IVGI353O.cjs.map} +1 -1
  143. package/dist/chunk-IWRBJHO3.cjs +51 -0
  144. package/dist/chunk-IWRBJHO3.cjs.map +1 -0
  145. package/dist/{chunk-KRU6IGV7.js → chunk-JUJGWUAN.js} +28 -6
  146. package/dist/chunk-JUJGWUAN.js.map +1 -0
  147. package/dist/{chunk-BUT6MF5K.cjs → chunk-KQ6GLYFZ.cjs} +4 -4
  148. package/dist/{chunk-BUT6MF5K.cjs.map → chunk-KQ6GLYFZ.cjs.map} +1 -1
  149. package/dist/chunk-L6K4PRZK.cjs +4 -0
  150. package/dist/chunk-L6K4PRZK.cjs.map +1 -0
  151. package/dist/{chunk-P7UMS4E6.cjs → chunk-LC7PVBXH.cjs} +16 -8
  152. package/dist/chunk-LC7PVBXH.cjs.map +1 -0
  153. package/dist/chunk-LRRSD7LR.js +248 -0
  154. package/dist/chunk-LRRSD7LR.js.map +1 -0
  155. package/dist/chunk-LSMS6DY7.cjs +331 -0
  156. package/dist/chunk-LSMS6DY7.cjs.map +1 -0
  157. package/dist/chunk-M3VPGJMV.js +283 -0
  158. package/dist/chunk-M3VPGJMV.js.map +1 -0
  159. package/dist/{chunk-2JICT4A2.js → chunk-N54FYWG6.js} +3 -3
  160. package/dist/{chunk-2JICT4A2.js.map → chunk-N54FYWG6.js.map} +1 -1
  161. package/dist/chunk-N5JDL4VE.js +3 -0
  162. package/dist/chunk-N5JDL4VE.js.map +1 -0
  163. package/dist/{chunk-KGKBZN3T.cjs → chunk-NAH65KPK.cjs} +8 -8
  164. package/dist/{chunk-KGKBZN3T.cjs.map → chunk-NAH65KPK.cjs.map} +1 -1
  165. package/dist/chunk-O4WGSOJI.js +261 -0
  166. package/dist/chunk-O4WGSOJI.js.map +1 -0
  167. package/dist/{chunk-SVSHA7XV.js → chunk-O6XDA3SI.js} +31 -33
  168. package/dist/chunk-O6XDA3SI.js.map +1 -0
  169. package/dist/chunk-OIF34LEN.cjs +425 -0
  170. package/dist/chunk-OIF34LEN.cjs.map +1 -0
  171. package/dist/chunk-ORCCJ5VY.cjs +218 -0
  172. package/dist/chunk-ORCCJ5VY.cjs.map +1 -0
  173. package/dist/{chunk-CRS2CQWM.js → chunk-OSTSZDQC.js} +3 -3
  174. package/dist/{chunk-CRS2CQWM.js.map → chunk-OSTSZDQC.js.map} +1 -1
  175. package/dist/{chunk-MLAWXPRY.js → chunk-OZ5CKVQN.js} +41 -2
  176. package/dist/chunk-OZ5CKVQN.js.map +1 -0
  177. package/dist/chunk-P22YCUVM.cjs +4 -0
  178. package/dist/chunk-P22YCUVM.cjs.map +1 -0
  179. package/dist/chunk-P55LNEDH.cjs +306 -0
  180. package/dist/chunk-P55LNEDH.cjs.map +1 -0
  181. package/dist/{chunk-R6KPWIGO.js → chunk-P7D7BYFE.js} +4 -4
  182. package/dist/{chunk-R6KPWIGO.js.map → chunk-P7D7BYFE.js.map} +1 -1
  183. package/dist/{chunk-GU5OS7JJ.cjs → chunk-PYI2IWNX.cjs} +4 -4
  184. package/dist/{chunk-GU5OS7JJ.cjs.map → chunk-PYI2IWNX.cjs.map} +1 -1
  185. package/dist/chunk-Q3YVLO52.cjs +174 -0
  186. package/dist/chunk-Q3YVLO52.cjs.map +1 -0
  187. package/dist/{chunk-K34DXMLZ.js → chunk-QJ2L5RU6.js} +7 -7
  188. package/dist/{chunk-K34DXMLZ.js.map → chunk-QJ2L5RU6.js.map} +1 -1
  189. package/dist/{chunk-X4LBUPJO.cjs → chunk-QX6AAVDE.cjs} +31 -33
  190. package/dist/chunk-QX6AAVDE.cjs.map +1 -0
  191. package/dist/{chunk-LFPJ3OUM.cjs → chunk-RIUQP2QS.cjs} +5 -5
  192. package/dist/{chunk-LFPJ3OUM.cjs.map → chunk-RIUQP2QS.cjs.map} +1 -1
  193. package/dist/{chunk-JHG3ELS2.js → chunk-RPFATYUI.js} +2 -2
  194. package/dist/{chunk-JHG3ELS2.js.map → chunk-RPFATYUI.js.map} +1 -1
  195. package/dist/{chunk-FZURBQJ2.js → chunk-RSJGTWLM.js} +3 -3
  196. package/dist/{chunk-FZURBQJ2.js.map → chunk-RSJGTWLM.js.map} +1 -1
  197. package/dist/{chunk-XBTKZCZF.js → chunk-RZSSQ7AT.js} +3 -3
  198. package/dist/{chunk-XBTKZCZF.js.map → chunk-RZSSQ7AT.js.map} +1 -1
  199. package/dist/{chunk-VROIMIHB.cjs → chunk-SHBCUXFS.cjs} +28 -6
  200. package/dist/chunk-SHBCUXFS.cjs.map +1 -0
  201. package/dist/{chunk-JELTRRR5.cjs → chunk-SW2E7XKY.cjs} +9 -9
  202. package/dist/{chunk-JELTRRR5.cjs.map → chunk-SW2E7XKY.cjs.map} +1 -1
  203. package/dist/chunk-SZSRGUVO.js +402 -0
  204. package/dist/chunk-SZSRGUVO.js.map +1 -0
  205. package/dist/{chunk-HZ4MBUC3.js → chunk-TI3TQQ7F.js} +4 -53
  206. package/dist/chunk-TI3TQQ7F.js.map +1 -0
  207. package/dist/{chunk-H2IAMSHK.js → chunk-TVEJKKIM.js} +3 -3
  208. package/dist/{chunk-H2IAMSHK.js.map → chunk-TVEJKKIM.js.map} +1 -1
  209. package/dist/{chunk-LHBWRMNC.cjs → chunk-TVU4KB27.cjs} +130 -12
  210. package/dist/chunk-TVU4KB27.cjs.map +1 -0
  211. package/dist/{chunk-ZYL4SNOR.js → chunk-UJDWFDKE.js} +3 -3
  212. package/dist/{chunk-ZYL4SNOR.js.map → chunk-UJDWFDKE.js.map} +1 -1
  213. package/dist/{chunk-4HC2IBOX.js → chunk-UNFDIBKJ.js} +3 -3
  214. package/dist/{chunk-4HC2IBOX.js.map → chunk-UNFDIBKJ.js.map} +1 -1
  215. package/dist/{chunk-IYWG72DM.js → chunk-VEE46VTX.js} +4 -4
  216. package/dist/{chunk-IYWG72DM.js.map → chunk-VEE46VTX.js.map} +1 -1
  217. package/dist/{chunk-Y4E2WRUR.cjs → chunk-VFFV7EMT.cjs} +6 -6
  218. package/dist/{chunk-Y4E2WRUR.cjs.map → chunk-VFFV7EMT.cjs.map} +1 -1
  219. package/dist/chunk-VNEAQCY2.js +308 -0
  220. package/dist/chunk-VNEAQCY2.js.map +1 -0
  221. package/dist/chunk-VOYLX32A.cjs +271 -0
  222. package/dist/chunk-VOYLX32A.cjs.map +1 -0
  223. package/dist/{chunk-7ZV67VZE.js → chunk-VSRO4PAI.js} +21 -3
  224. package/dist/chunk-VSRO4PAI.js.map +1 -0
  225. package/dist/{chunk-L6MDULYB.js → chunk-VU3ZMJBN.js} +2 -2
  226. package/dist/{chunk-L6MDULYB.js.map → chunk-VU3ZMJBN.js.map} +1 -1
  227. package/dist/{chunk-35Y4ILCU.cjs → chunk-VXW7D5LR.cjs} +21 -3
  228. package/dist/chunk-VXW7D5LR.cjs.map +1 -0
  229. package/dist/{chunk-7YO7DNUV.js → chunk-WFBUBT54.js} +2 -2
  230. package/dist/{chunk-7YO7DNUV.js.map → chunk-WFBUBT54.js.map} +1 -1
  231. package/dist/chunk-WQHBMZSC.js +295 -0
  232. package/dist/chunk-WQHBMZSC.js.map +1 -0
  233. package/dist/chunk-X5JOEZVR.js +525 -0
  234. package/dist/chunk-X5JOEZVR.js.map +1 -0
  235. package/dist/chunk-XBAAHOCP.js +3 -0
  236. package/dist/chunk-XBAAHOCP.js.map +1 -0
  237. package/dist/chunk-XNPDZANN.cjs +238 -0
  238. package/dist/chunk-XNPDZANN.cjs.map +1 -0
  239. package/dist/chunk-XXA4NZUC.js +3 -0
  240. package/dist/chunk-XXA4NZUC.js.map +1 -0
  241. package/dist/chunk-Y424YL55.js +59 -0
  242. package/dist/chunk-Y424YL55.js.map +1 -0
  243. package/dist/chunk-YGS2TRMP.js +38 -0
  244. package/dist/chunk-YGS2TRMP.js.map +1 -0
  245. package/dist/chunk-YUMOM3KE.js +167 -0
  246. package/dist/chunk-YUMOM3KE.js.map +1 -0
  247. package/dist/{chunk-3KPDQG5O.cjs → chunk-ZG6FXMDX.cjs} +5 -5
  248. package/dist/{chunk-3KPDQG5O.cjs.map → chunk-ZG6FXMDX.cjs.map} +1 -1
  249. package/dist/chunk-ZNUMOJOI.cjs +4 -0
  250. package/dist/chunk-ZNUMOJOI.cjs.map +1 -0
  251. package/dist/components/Accordion/index.cjs +2 -2
  252. package/dist/components/Accordion/index.d.cts +6 -0
  253. package/dist/components/Accordion/index.d.ts +6 -0
  254. package/dist/components/Accordion/index.js +1 -1
  255. package/dist/components/ActionPlan/index.cjs +34 -0
  256. package/dist/components/ActionPlan/index.cjs.map +1 -0
  257. package/dist/components/ActionPlan/index.d.cts +65 -0
  258. package/dist/components/ActionPlan/index.d.ts +65 -0
  259. package/dist/components/ActionPlan/index.js +21 -0
  260. package/dist/components/ActionPlan/index.js.map +1 -0
  261. package/dist/components/ActivityFeed/index.cjs +31 -0
  262. package/dist/components/ActivityFeed/index.cjs.map +1 -0
  263. package/dist/components/ActivityFeed/index.d.cts +99 -0
  264. package/dist/components/ActivityFeed/index.d.ts +99 -0
  265. package/dist/components/ActivityFeed/index.js +18 -0
  266. package/dist/components/ActivityFeed/index.js.map +1 -0
  267. package/dist/components/AlertDialog/index.cjs +16 -3
  268. package/dist/components/AlertDialog/index.d.cts +66 -13
  269. package/dist/components/AlertDialog/index.d.ts +66 -13
  270. package/dist/components/AlertDialog/index.js +3 -2
  271. package/dist/components/AssociationList/index.cjs +29 -0
  272. package/dist/components/AssociationList/index.cjs.map +1 -0
  273. package/dist/components/AssociationList/index.d.cts +50 -0
  274. package/dist/components/AssociationList/index.d.ts +50 -0
  275. package/dist/components/AssociationList/index.js +16 -0
  276. package/dist/components/AssociationList/index.js.map +1 -0
  277. package/dist/components/Avatar/index.cjs +9 -7
  278. package/dist/components/Avatar/index.d.cts +45 -14
  279. package/dist/components/Avatar/index.d.ts +45 -14
  280. package/dist/components/Avatar/index.js +3 -1
  281. package/dist/components/AvatarGroup/index.cjs +20 -0
  282. package/dist/components/AvatarGroup/index.cjs.map +1 -0
  283. package/dist/components/AvatarGroup/index.d.cts +57 -0
  284. package/dist/components/AvatarGroup/index.d.ts +57 -0
  285. package/dist/components/AvatarGroup/index.js +7 -0
  286. package/dist/components/AvatarGroup/index.js.map +1 -0
  287. package/dist/components/Button/index.cjs +3 -2
  288. package/dist/components/Button/index.js +2 -1
  289. package/dist/components/CalendarHeatmap/index.cjs +18 -0
  290. package/dist/components/CalendarHeatmap/index.cjs.map +1 -0
  291. package/dist/components/CalendarHeatmap/index.d.cts +47 -0
  292. package/dist/components/CalendarHeatmap/index.d.ts +47 -0
  293. package/dist/components/CalendarHeatmap/index.js +5 -0
  294. package/dist/components/CalendarHeatmap/index.js.map +1 -0
  295. package/dist/components/CalendarView/index.cjs +5 -4
  296. package/dist/components/CalendarView/index.js +3 -2
  297. package/dist/components/ClampedText/index.cjs +3 -2
  298. package/dist/components/ClampedText/index.js +2 -1
  299. package/dist/components/CollabStatus/index.cjs +6 -4
  300. package/dist/components/CollabStatus/index.d.cts +11 -0
  301. package/dist/components/CollabStatus/index.d.ts +11 -0
  302. package/dist/components/CollabStatus/index.js +3 -1
  303. package/dist/components/Collapsible/index.cjs +4 -4
  304. package/dist/components/Collapsible/index.d.cts +6 -0
  305. package/dist/components/Collapsible/index.d.ts +6 -0
  306. package/dist/components/Collapsible/index.js +1 -1
  307. package/dist/components/CompletenessMeter/index.cjs +22 -0
  308. package/dist/components/CompletenessMeter/index.cjs.map +1 -0
  309. package/dist/components/CompletenessMeter/index.d.cts +52 -0
  310. package/dist/components/CompletenessMeter/index.d.ts +52 -0
  311. package/dist/components/CompletenessMeter/index.js +5 -0
  312. package/dist/components/CompletenessMeter/index.js.map +1 -0
  313. package/dist/components/CustomizableDashboard/index.cjs +10 -9
  314. package/dist/components/CustomizableDashboard/index.js +3 -2
  315. package/dist/components/DateInput/index.d.cts +36 -4
  316. package/dist/components/DateInput/index.d.ts +36 -4
  317. package/dist/components/Dropdown/index.cjs +9 -8
  318. package/dist/components/Dropdown/index.js +2 -1
  319. package/dist/components/FieldHistory/index.cjs +34 -0
  320. package/dist/components/FieldHistory/index.cjs.map +1 -0
  321. package/dist/components/FieldHistory/index.d.cts +66 -0
  322. package/dist/components/FieldHistory/index.d.ts +66 -0
  323. package/dist/components/FieldHistory/index.js +21 -0
  324. package/dist/components/FieldHistory/index.js.map +1 -0
  325. package/dist/components/FloatingWindow/index.cjs +5 -4
  326. package/dist/components/FloatingWindow/index.js +3 -2
  327. package/dist/components/InlineEdit/index.cjs +20 -0
  328. package/dist/components/InlineEdit/index.cjs.map +1 -0
  329. package/dist/components/InlineEdit/index.d.cts +56 -0
  330. package/dist/components/InlineEdit/index.d.ts +56 -0
  331. package/dist/components/InlineEdit/index.js +7 -0
  332. package/dist/components/InlineEdit/index.js.map +1 -0
  333. package/dist/components/ListView/index.cjs +5 -4
  334. package/dist/components/ListView/index.js +3 -2
  335. package/dist/components/LogoUploader/index.cjs +18 -0
  336. package/dist/components/LogoUploader/index.cjs.map +1 -0
  337. package/dist/components/LogoUploader/index.d.cts +49 -0
  338. package/dist/components/LogoUploader/index.d.ts +49 -0
  339. package/dist/components/LogoUploader/index.js +5 -0
  340. package/dist/components/LogoUploader/index.js.map +1 -0
  341. package/dist/components/Markdown/index.cjs +17 -16
  342. package/dist/components/Markdown/index.js +8 -7
  343. package/dist/components/MediaEditor/index.cjs +9 -8
  344. package/dist/components/MediaEditor/index.js +4 -3
  345. package/dist/components/MediaFeed/index.cjs +8 -5
  346. package/dist/components/MediaFeed/index.js +7 -4
  347. package/dist/components/MediaPlayer/index.cjs +6 -5
  348. package/dist/components/MediaPlayer/index.js +3 -2
  349. package/dist/components/MegaMenu/index.cjs +2 -1
  350. package/dist/components/MegaMenu/index.js +2 -1
  351. package/dist/components/PhiMask/index.cjs +18 -0
  352. package/dist/components/PhiMask/index.cjs.map +1 -0
  353. package/dist/components/PhiMask/index.d.cts +45 -0
  354. package/dist/components/PhiMask/index.d.ts +45 -0
  355. package/dist/components/PhiMask/index.js +5 -0
  356. package/dist/components/PhiMask/index.js.map +1 -0
  357. package/dist/components/PhoneInput/index.d.cts +3 -36
  358. package/dist/components/PhoneInput/index.d.ts +3 -36
  359. package/dist/components/PropertyList/index.cjs +25 -0
  360. package/dist/components/PropertyList/index.cjs.map +1 -0
  361. package/dist/components/PropertyList/index.d.cts +71 -0
  362. package/dist/components/PropertyList/index.d.ts +71 -0
  363. package/dist/components/PropertyList/index.js +12 -0
  364. package/dist/components/PropertyList/index.js.map +1 -0
  365. package/dist/components/RadialExplorer/index.cjs +2 -1
  366. package/dist/components/RadialExplorer/index.js +2 -1
  367. package/dist/components/Rating/index.cjs +28 -0
  368. package/dist/components/Rating/index.cjs.map +1 -0
  369. package/dist/components/Rating/index.d.cts +85 -0
  370. package/dist/components/Rating/index.d.ts +85 -0
  371. package/dist/components/Rating/index.js +7 -0
  372. package/dist/components/Rating/index.js.map +1 -0
  373. package/dist/components/RecordHeader/index.cjs +29 -0
  374. package/dist/components/RecordHeader/index.cjs.map +1 -0
  375. package/dist/components/RecordHeader/index.d.cts +86 -0
  376. package/dist/components/RecordHeader/index.d.ts +86 -0
  377. package/dist/components/RecordHeader/index.js +16 -0
  378. package/dist/components/RecordHeader/index.js.map +1 -0
  379. package/dist/components/RecordLayout/index.cjs +21 -0
  380. package/dist/components/RecordLayout/index.cjs.map +1 -0
  381. package/dist/components/RecordLayout/index.d.cts +40 -0
  382. package/dist/components/RecordLayout/index.d.ts +40 -0
  383. package/dist/components/RecordLayout/index.js +8 -0
  384. package/dist/components/RecordLayout/index.js.map +1 -0
  385. package/dist/components/RichTextEditor/index.cjs +8 -6
  386. package/dist/components/RichTextEditor/index.js +5 -3
  387. package/dist/components/SectionSpyNav/index.cjs +2 -1
  388. package/dist/components/SectionSpyNav/index.js +2 -1
  389. package/dist/components/SuperChat/index.cjs +22 -18
  390. package/dist/components/SuperChat/index.cjs.map +1 -1
  391. package/dist/components/SuperChat/index.js +10 -6
  392. package/dist/components/SuperChat/index.js.map +1 -1
  393. package/dist/components/SuperChat/plugins/index.cjs +5 -4
  394. package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
  395. package/dist/components/SuperChat/plugins/index.js +4 -3
  396. package/dist/components/SuperChat/plugins/index.js.map +1 -1
  397. package/dist/components/Tabs/index.cjs +9 -7
  398. package/dist/components/Tabs/index.d.cts +12 -1
  399. package/dist/components/Tabs/index.d.ts +12 -1
  400. package/dist/components/Tabs/index.js +3 -1
  401. package/dist/components/TagEditor/index.cjs +20 -0
  402. package/dist/components/TagEditor/index.cjs.map +1 -0
  403. package/dist/components/TagEditor/index.d.cts +46 -0
  404. package/dist/components/TagEditor/index.d.ts +46 -0
  405. package/dist/components/TagEditor/index.js +7 -0
  406. package/dist/components/TagEditor/index.js.map +1 -0
  407. package/dist/components/UserPicker/index.cjs +24 -0
  408. package/dist/components/UserPicker/index.cjs.map +1 -0
  409. package/dist/components/UserPicker/index.d.cts +60 -0
  410. package/dist/components/UserPicker/index.d.ts +60 -0
  411. package/dist/components/UserPicker/index.js +11 -0
  412. package/dist/components/UserPicker/index.js.map +1 -0
  413. package/dist/components/ViewSet/index.cjs +6 -5
  414. package/dist/components/ViewSet/index.d.cts +2 -1
  415. package/dist/components/ViewSet/index.d.ts +2 -1
  416. package/dist/components/ViewSet/index.js +5 -4
  417. package/dist/components/ViewSwitcher/index.d.cts +39 -4
  418. package/dist/components/ViewSwitcher/index.d.ts +39 -4
  419. package/dist/datavis.cjs +3 -2
  420. package/dist/datavis.cjs.map +1 -1
  421. package/dist/datavis.js +2 -1
  422. package/dist/datavis.js.map +1 -1
  423. package/dist/esheet.cjs +8 -6
  424. package/dist/esheet.cjs.map +1 -1
  425. package/dist/esheet.js +5 -3
  426. package/dist/esheet.js.map +1 -1
  427. package/dist/hooks/index.cjs +53 -27
  428. package/dist/hooks/index.d.cts +91 -6
  429. package/dist/hooks/index.d.ts +91 -6
  430. package/dist/hooks/index.js +5 -3
  431. package/dist/index.cjs +1258 -714
  432. package/dist/index.cjs.map +1 -1
  433. package/dist/index.d.cts +1253 -168
  434. package/dist/index.d.ts +1253 -168
  435. package/dist/index.js +536 -168
  436. package/dist/index.js.map +1 -1
  437. package/dist/org-chart.cjs +1302 -0
  438. package/dist/org-chart.cjs.map +1 -0
  439. package/dist/org-chart.d.cts +164 -0
  440. package/dist/org-chart.d.ts +164 -0
  441. package/dist/org-chart.js +1277 -0
  442. package/dist/org-chart.js.map +1 -0
  443. package/dist/styles.css +1 -1
  444. package/dist/tailwind-preset.cjs +4 -4
  445. package/dist/tailwind-preset.js +1 -1
  446. package/dist/{index-DoYYWsNc.d.cts → types-CDeBNZiE.d.cts} +1 -36
  447. package/dist/{index-DoYYWsNc.d.ts → types-CDeBNZiE.d.ts} +1 -36
  448. package/package.json +22 -2
  449. package/dist/CsvBlock-FX5YNGNE.cjs +0 -17
  450. package/dist/CsvBlock-VLMG7GUO.js +0 -8
  451. package/dist/HtmlPreviewBlock-5JE7L3GR.js +0 -8
  452. package/dist/HtmlPreviewBlock-UO37JQ3K.cjs +0 -17
  453. package/dist/MermaidBlock-3XHFBAMV.js +0 -8
  454. package/dist/MermaidBlock-RZ75RPZA.cjs +0 -17
  455. package/dist/SurveyBlock-MUVJ3JUI.js +0 -8
  456. package/dist/SurveyBlock-VH47YXZC.cjs +0 -17
  457. package/dist/chunk-35Y4ILCU.cjs.map +0 -1
  458. package/dist/chunk-6N6LIAUJ.cjs +0 -80
  459. package/dist/chunk-6N6LIAUJ.cjs.map +0 -1
  460. package/dist/chunk-7ZV67VZE.js.map +0 -1
  461. package/dist/chunk-7ZVTLTJF.js +0 -109
  462. package/dist/chunk-7ZVTLTJF.js.map +0 -1
  463. package/dist/chunk-DVOQ3JNO.js.map +0 -1
  464. package/dist/chunk-GBUVIGD5.js.map +0 -1
  465. package/dist/chunk-HZ4MBUC3.js.map +0 -1
  466. package/dist/chunk-JBIGSP2T.js.map +0 -1
  467. package/dist/chunk-JEIW7BSV.cjs.map +0 -1
  468. package/dist/chunk-KRU6IGV7.js.map +0 -1
  469. package/dist/chunk-LHBWRMNC.cjs.map +0 -1
  470. package/dist/chunk-MLAWXPRY.js.map +0 -1
  471. package/dist/chunk-P7UMS4E6.cjs.map +0 -1
  472. package/dist/chunk-QURJVPRH.cjs.map +0 -1
  473. package/dist/chunk-SVSHA7XV.js.map +0 -1
  474. package/dist/chunk-UBSH27C2.js +0 -78
  475. package/dist/chunk-UBSH27C2.js.map +0 -1
  476. package/dist/chunk-VROIMIHB.cjs.map +0 -1
  477. package/dist/chunk-X4LBUPJO.cjs.map +0 -1
  478. package/dist/chunk-YVPC65ZJ.cjs.map +0 -1
  479. package/dist/chunk-ZTMYKAVU.cjs.map +0 -1
@@ -460,13 +460,29 @@ declare function useScrollSpy({ selectors, ids, rootMargin, threshold, root, ena
460
460
 
461
461
  /** Insert `draggedId` before/after `targetId` in `ids`. */
462
462
  declare function reorderIds(ids: string[], draggedId: string, targetId: string, after: boolean): string[];
463
+ /** Move `id` by `delta` positions (clamped). Returns `ids` unchanged when it can't move. */
464
+ declare function moveIdBy(ids: string[], id: string, delta: number): string[];
465
+ interface DragReorderLabels {
466
+ moveUp: string;
467
+ moveDown: string;
468
+ /** Announced after a keyboard/button move */
469
+ moved: (position: number, total: number, id: string) => string;
470
+ }
471
+ declare const DEFAULT_DRAG_REORDER_LABELS: DragReorderLabels;
463
472
  interface UseDragReorderOptions {
464
473
  /** Current flat order of item ids (props order) */
465
474
  ids: string[];
466
- /** Called with the full new id order after a drop. Omit to disable dragging. */
475
+ /** Called with the full new id order after a drop or move. Omit to disable reordering. */
467
476
  onReorder?: (ids: string[]) => void;
468
477
  /** Restrict drops, e.g. to the same status group */
469
478
  canDropOn?: (draggedId: string, targetId: string) => boolean;
479
+ /** Add Alt+ArrowUp / Alt+ArrowDown handling (and `tabIndex={0}`) to `rowProps`. Off by default so rows with their own `onKeyDown` keep working. */
480
+ keyboard?: boolean;
481
+ /** Receives move announcements instead of the returned `announcement` string. */
482
+ announce?: (message: string) => void;
483
+ /** Element rendered as the drag image (`dataTransfer.setDragImage`). */
484
+ getDragPreview?: (id: string) => Element | null;
485
+ labels?: Partial<DragReorderLabels>;
470
486
  }
471
487
  interface DragOverState {
472
488
  id: string;
@@ -482,6 +498,17 @@ interface UseDragReorderReturn {
482
498
  over: DragOverState | null;
483
499
  /** Spread onto each row element (must be keyed by a stable id) */
484
500
  rowProps: (id: string) => React.HTMLAttributes<HTMLElement>;
501
+ /** Move an item by `delta` positions; no-op at the ends or across `canDropOn` boundaries. */
502
+ moveBy: (id: string, delta: number) => void;
503
+ /** Props for a visible move button */
504
+ moveButtonProps: (id: string, direction: 'up' | 'down', label?: string) => {
505
+ type: 'button';
506
+ onClick: (e: React.MouseEvent) => void;
507
+ disabled: boolean;
508
+ 'aria-label': string;
509
+ };
510
+ /** Latest move message; render in an `aria-live="polite"` region (empty when `announce` is given). */
511
+ announcement: string;
485
512
  }
486
513
  /**
487
514
  * HTML5 drag-and-drop list reordering. Rows spread `rowProps(id)`; on drop the
@@ -489,19 +516,77 @@ interface UseDragReorderReturn {
489
516
  * consumer persists it (e.g. on the encounter/patient object) and feeds the
490
517
  * list back in props order.
491
518
  *
492
- * Drag-and-drop is a pointer-only affordance: pair it with a keyboard
493
- * alternative (e.g. move buttons / Alt+Arrow keys) for accessibility.
519
+ * Drag-and-drop is pointer-only, so pair it with `moveButtonProps` buttons
520
+ * and/or `keyboard: true` (Alt+↑/↓ on focused rows), and render
521
+ * `announcement` in a polite live region.
494
522
  *
495
523
  * @example
496
524
  * ```tsx
497
- * const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder });
525
+ * const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder, keyboard: true });
498
526
  * // <li {...drag.rowProps(item.id)} className={cn(dragIndicatorClasses(drag, item.id))}>
527
+ * // <button {...drag.moveButtonProps(item.id, 'up')}><ChevronUp /></button>
528
+ * // <div aria-live="polite" className="sr-only">{drag.announcement}</div>
499
529
  * ```
500
530
  */
501
- declare function useDragReorder({ ids, onReorder, canDropOn, }: UseDragReorderOptions): UseDragReorderReturn;
531
+ declare function useDragReorder({ ids, onReorder, canDropOn, keyboard, announce, getDragPreview, labels: labelsProp, }: UseDragReorderOptions): UseDragReorderReturn;
502
532
  /** Tailwind classes for the drag state of a row: drop indicator + dragging dim. */
503
533
  declare function dragIndicatorClasses(drag: Pick<UseDragReorderReturn, 'draggingId' | 'over'>, id: string): string;
504
534
 
535
+ interface OrderPersistenceAdapter {
536
+ /** Previously saved order, or null when there is none */
537
+ load: () => string[] | null | Promise<string[] | null>;
538
+ save: (order: string[]) => void | Promise<void>;
539
+ }
540
+ interface UseOrderPersistenceOptions extends OrderPersistenceAdapter {
541
+ /** Delay before `save` runs; rapid changes collapse into one save. */
542
+ debounceMs?: number;
543
+ /** Called when `load` or `save` throws or rejects */
544
+ onError?: (error: unknown) => void;
545
+ }
546
+ interface UseOrderPersistenceReturn {
547
+ /** Saved order merged with the current `ids` */
548
+ order: string[];
549
+ /** Update the order immediately and schedule a debounced save */
550
+ setOrder: (order: string[]) => void;
551
+ }
552
+ /** Keep saved ids that still exist, then append new ids in their given order. */
553
+ declare function mergeOrder(saved: string[] | null, ids: string[]): string[];
554
+ /**
555
+ * Persist a user's item order (sections, widgets, list rows) through any
556
+ * storage. Updates are optimistic, saves are debounced and a pending save is
557
+ * flushed on unmount and on `pagehide` (navigation, refresh, tab close). On
558
+ * `pagehide` only work `save` starts synchronously is guaranteed — use
559
+ * localStorage or `navigator.sendBeacon` there; an async `fetch` may be cut
560
+ * off. `load` runs once after mount, so server and first client render use
561
+ * `ids` order.
562
+ *
563
+ * @example
564
+ * ```tsx
565
+ * const adapter = React.useMemo(() => localStorageOrderAdapter('clinic-sections'), []);
566
+ * const { order, setOrder } = useOrderPersistence(sectionIds, adapter);
567
+ * const drag = useDragReorder({ ids: order, onReorder: setOrder });
568
+ * ```
569
+ */
570
+ declare function useOrderPersistence(ids: string[], { load, save, debounceMs, onError }: UseOrderPersistenceOptions): UseOrderPersistenceReturn;
571
+ /** `useOrderPersistence` adapter backed by `localStorage` (no-op on the server or when storage is blocked). */
572
+ declare function localStorageOrderAdapter(key: string): OrderPersistenceAdapter;
573
+
574
+ /**
575
+ * Keeps a tab (or any one-of-N view) selection in a URL query parameter so it
576
+ * survives reloads and can be shared. Writes with `history.replaceState` (no
577
+ * router, no history entry), drops the parameter when the value equals
578
+ * `defaultValue`, follows back/forward via `popstate`, and ignores values not
579
+ * in `allowed`. SSR-safe: renders `defaultValue` on the server and during
580
+ * hydration.
581
+ *
582
+ * @example
583
+ * ```tsx
584
+ * const [tab, setTab] = useUrlTab('tab', 'summary', ['summary', 'history'] as const);
585
+ * <Tabs value={tab} onValueChange={(v) => setTab(v as typeof tab)}>…</Tabs>
586
+ * ```
587
+ */
588
+ declare function useUrlTab<T extends string>(param: string, defaultValue: T, allowed: readonly T[]): [T, (value: T) => void];
589
+
505
590
  /**
506
591
  * State for an `aria-live` region that re-announces even when the same
507
592
  * message is emitted twice in a row. Setting identical React state bails out
@@ -1003,4 +1088,4 @@ interface UseTranscriptEditsResult {
1003
1088
  */
1004
1089
  declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
1005
1090
 
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 };
1091
+ export { type AnchoredPlacement, DEFAULT_DRAG_REORDER_LABELS, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type DragReorderLabels, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, type KeyboardInsetSource, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, type OrderPersistenceAdapter, 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 UseOrderPersistenceOptions, type UseOrderPersistenceReturn, 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, localStorageOrderAdapter, mergeOrder, moveIdBy, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, useOrderPersistence, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useUrlTab, useYouTubeHoverPreview };
@@ -460,13 +460,29 @@ declare function useScrollSpy({ selectors, ids, rootMargin, threshold, root, ena
460
460
 
461
461
  /** Insert `draggedId` before/after `targetId` in `ids`. */
462
462
  declare function reorderIds(ids: string[], draggedId: string, targetId: string, after: boolean): string[];
463
+ /** Move `id` by `delta` positions (clamped). Returns `ids` unchanged when it can't move. */
464
+ declare function moveIdBy(ids: string[], id: string, delta: number): string[];
465
+ interface DragReorderLabels {
466
+ moveUp: string;
467
+ moveDown: string;
468
+ /** Announced after a keyboard/button move */
469
+ moved: (position: number, total: number, id: string) => string;
470
+ }
471
+ declare const DEFAULT_DRAG_REORDER_LABELS: DragReorderLabels;
463
472
  interface UseDragReorderOptions {
464
473
  /** Current flat order of item ids (props order) */
465
474
  ids: string[];
466
- /** Called with the full new id order after a drop. Omit to disable dragging. */
475
+ /** Called with the full new id order after a drop or move. Omit to disable reordering. */
467
476
  onReorder?: (ids: string[]) => void;
468
477
  /** Restrict drops, e.g. to the same status group */
469
478
  canDropOn?: (draggedId: string, targetId: string) => boolean;
479
+ /** Add Alt+ArrowUp / Alt+ArrowDown handling (and `tabIndex={0}`) to `rowProps`. Off by default so rows with their own `onKeyDown` keep working. */
480
+ keyboard?: boolean;
481
+ /** Receives move announcements instead of the returned `announcement` string. */
482
+ announce?: (message: string) => void;
483
+ /** Element rendered as the drag image (`dataTransfer.setDragImage`). */
484
+ getDragPreview?: (id: string) => Element | null;
485
+ labels?: Partial<DragReorderLabels>;
470
486
  }
471
487
  interface DragOverState {
472
488
  id: string;
@@ -482,6 +498,17 @@ interface UseDragReorderReturn {
482
498
  over: DragOverState | null;
483
499
  /** Spread onto each row element (must be keyed by a stable id) */
484
500
  rowProps: (id: string) => React.HTMLAttributes<HTMLElement>;
501
+ /** Move an item by `delta` positions; no-op at the ends or across `canDropOn` boundaries. */
502
+ moveBy: (id: string, delta: number) => void;
503
+ /** Props for a visible move button */
504
+ moveButtonProps: (id: string, direction: 'up' | 'down', label?: string) => {
505
+ type: 'button';
506
+ onClick: (e: React.MouseEvent) => void;
507
+ disabled: boolean;
508
+ 'aria-label': string;
509
+ };
510
+ /** Latest move message; render in an `aria-live="polite"` region (empty when `announce` is given). */
511
+ announcement: string;
485
512
  }
486
513
  /**
487
514
  * HTML5 drag-and-drop list reordering. Rows spread `rowProps(id)`; on drop the
@@ -489,19 +516,77 @@ interface UseDragReorderReturn {
489
516
  * consumer persists it (e.g. on the encounter/patient object) and feeds the
490
517
  * list back in props order.
491
518
  *
492
- * Drag-and-drop is a pointer-only affordance: pair it with a keyboard
493
- * alternative (e.g. move buttons / Alt+Arrow keys) for accessibility.
519
+ * Drag-and-drop is pointer-only, so pair it with `moveButtonProps` buttons
520
+ * and/or `keyboard: true` (Alt+↑/↓ on focused rows), and render
521
+ * `announcement` in a polite live region.
494
522
  *
495
523
  * @example
496
524
  * ```tsx
497
- * const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder });
525
+ * const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder, keyboard: true });
498
526
  * // <li {...drag.rowProps(item.id)} className={cn(dragIndicatorClasses(drag, item.id))}>
527
+ * // <button {...drag.moveButtonProps(item.id, 'up')}><ChevronUp /></button>
528
+ * // <div aria-live="polite" className="sr-only">{drag.announcement}</div>
499
529
  * ```
500
530
  */
501
- declare function useDragReorder({ ids, onReorder, canDropOn, }: UseDragReorderOptions): UseDragReorderReturn;
531
+ declare function useDragReorder({ ids, onReorder, canDropOn, keyboard, announce, getDragPreview, labels: labelsProp, }: UseDragReorderOptions): UseDragReorderReturn;
502
532
  /** Tailwind classes for the drag state of a row: drop indicator + dragging dim. */
503
533
  declare function dragIndicatorClasses(drag: Pick<UseDragReorderReturn, 'draggingId' | 'over'>, id: string): string;
504
534
 
535
+ interface OrderPersistenceAdapter {
536
+ /** Previously saved order, or null when there is none */
537
+ load: () => string[] | null | Promise<string[] | null>;
538
+ save: (order: string[]) => void | Promise<void>;
539
+ }
540
+ interface UseOrderPersistenceOptions extends OrderPersistenceAdapter {
541
+ /** Delay before `save` runs; rapid changes collapse into one save. */
542
+ debounceMs?: number;
543
+ /** Called when `load` or `save` throws or rejects */
544
+ onError?: (error: unknown) => void;
545
+ }
546
+ interface UseOrderPersistenceReturn {
547
+ /** Saved order merged with the current `ids` */
548
+ order: string[];
549
+ /** Update the order immediately and schedule a debounced save */
550
+ setOrder: (order: string[]) => void;
551
+ }
552
+ /** Keep saved ids that still exist, then append new ids in their given order. */
553
+ declare function mergeOrder(saved: string[] | null, ids: string[]): string[];
554
+ /**
555
+ * Persist a user's item order (sections, widgets, list rows) through any
556
+ * storage. Updates are optimistic, saves are debounced and a pending save is
557
+ * flushed on unmount and on `pagehide` (navigation, refresh, tab close). On
558
+ * `pagehide` only work `save` starts synchronously is guaranteed — use
559
+ * localStorage or `navigator.sendBeacon` there; an async `fetch` may be cut
560
+ * off. `load` runs once after mount, so server and first client render use
561
+ * `ids` order.
562
+ *
563
+ * @example
564
+ * ```tsx
565
+ * const adapter = React.useMemo(() => localStorageOrderAdapter('clinic-sections'), []);
566
+ * const { order, setOrder } = useOrderPersistence(sectionIds, adapter);
567
+ * const drag = useDragReorder({ ids: order, onReorder: setOrder });
568
+ * ```
569
+ */
570
+ declare function useOrderPersistence(ids: string[], { load, save, debounceMs, onError }: UseOrderPersistenceOptions): UseOrderPersistenceReturn;
571
+ /** `useOrderPersistence` adapter backed by `localStorage` (no-op on the server or when storage is blocked). */
572
+ declare function localStorageOrderAdapter(key: string): OrderPersistenceAdapter;
573
+
574
+ /**
575
+ * Keeps a tab (or any one-of-N view) selection in a URL query parameter so it
576
+ * survives reloads and can be shared. Writes with `history.replaceState` (no
577
+ * router, no history entry), drops the parameter when the value equals
578
+ * `defaultValue`, follows back/forward via `popstate`, and ignores values not
579
+ * in `allowed`. SSR-safe: renders `defaultValue` on the server and during
580
+ * hydration.
581
+ *
582
+ * @example
583
+ * ```tsx
584
+ * const [tab, setTab] = useUrlTab('tab', 'summary', ['summary', 'history'] as const);
585
+ * <Tabs value={tab} onValueChange={(v) => setTab(v as typeof tab)}>…</Tabs>
586
+ * ```
587
+ */
588
+ declare function useUrlTab<T extends string>(param: string, defaultValue: T, allowed: readonly T[]): [T, (value: T) => void];
589
+
505
590
  /**
506
591
  * State for an `aria-live` region that re-announces even when the same
507
592
  * message is emitted twice in a row. Setting identical React state bails out
@@ -1003,4 +1088,4 @@ interface UseTranscriptEditsResult {
1003
1088
  */
1004
1089
  declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
1005
1090
 
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 };
1091
+ export { type AnchoredPlacement, DEFAULT_DRAG_REORDER_LABELS, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type DragReorderLabels, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, type KeyboardInsetSource, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, type OrderPersistenceAdapter, 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 UseOrderPersistenceOptions, type UseOrderPersistenceReturn, 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, localStorageOrderAdapter, mergeOrder, moveIdBy, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, useOrderPersistence, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useUrlTab, useYouTubeHoverPreview };
@@ -1,12 +1,14 @@
1
- export { KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, RTL_LOCALES, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useMediaQuery } from '../chunk-GBUVIGD5.js';
2
- export { useTheme } from '../chunk-KJZNEVYM.js';
1
+ export { KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, RTL_LOCALES, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, isRtlLocale, localStorageOrderAdapter, mergeOrder, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useMediaQuery, useOrderPersistence } from '../chunk-F3EWRDIT.js';
3
2
  export { useYouTubeHoverPreview } from '../chunk-POWS35OT.js';
3
+ export { useTheme } from '../chunk-KJZNEVYM.js';
4
4
  export { useStickToBottom, useStreamEndedBelowFold } from '../chunk-BM35CACB.js';
5
+ export { useUrlTab } from '../chunk-CVNPNZMX.js';
5
6
  export { useScrollSpy } from '../chunk-WBGUYSWY.js';
6
7
  export { DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, buildPlaybackSegments, getSpeedAtIndex, initEditableWords, insertSilences, useTranscriptEdits } from '../chunk-UUI7WXI5.js';
7
8
  import '../chunk-6CGM5H4J.js';
8
9
  export { useMediaTransport } from '../chunk-GW4RFJZ5.js';
9
- export { dragIndicatorClasses, reorderIds, useDragReorder, useLiveAnnouncement } from '../chunk-7ZVTLTJF.js';
10
+ export { DEFAULT_DRAG_REORDER_LABELS, dragIndicatorClasses, moveIdBy, reorderIds, useDragReorder } from '../chunk-YUMOM3KE.js';
11
+ export { useLiveAnnouncement } from '../chunk-HNXLLDPN.js';
10
12
  export { useFocusTrap } from '../chunk-4SMSH4OY.js';
11
13
  export { useEscapeKey } from '../chunk-T4ME7QCT.js';
12
14
  export { useClickOutside } from '../chunk-62ZOA6PX.js';