@apple-pie/slice 0.1.39 → 0.1.41

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 (314) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +9 -3
  3. package/dist/cjs/chunks/{AudioBubble-DA3SLJjd.js → AudioBubble-DhizGVwQ.js} +4 -4
  4. package/dist/cjs/chunks/{Avatar-D_NbIBak.js → Avatar-CgvyXwxk.js} +1 -1
  5. package/dist/cjs/chunks/{AvatarGroup-CaUEBWw3.js → AvatarGroup-LvWJF9cx.js} +1 -1
  6. package/dist/cjs/chunks/{Badge-Cr_xYaXy.js → Badge-D9Aklg3q.js} +1 -1
  7. package/dist/cjs/chunks/{Button-Vvw-1THZ.js → Button-BlAS1lxF.js} +1 -1
  8. package/dist/cjs/chunks/{ButtonBar-B33VJjv5.js → ButtonBar-3ieuz_vS.js} +1 -1
  9. package/dist/cjs/chunks/{Camera-B3U7b0PV.js → Camera-C9imyJB2.js} +5 -5
  10. package/dist/cjs/chunks/{CheckBox-DonLHkXM.js → CheckBox-BSM_N6-k.js} +1 -1
  11. package/dist/cjs/chunks/{Chip-nTn2Y-Pe.js → Chip-_miOwLKO.js} +1 -1
  12. package/dist/cjs/chunks/{DivInput-WWRYHKtt.js → DivInput-CLvw20QR.js} +1 -1
  13. package/dist/cjs/chunks/{Dot-BJMF-2NY.js → Dot-ChpyMY0A.js} +1 -1
  14. package/dist/cjs/chunks/{DrggablePanel-CEIIhaa9.js → DrggablePanel-Bh4w-C2o.js} +4 -4
  15. package/dist/cjs/chunks/{DropDown-B4sY3zF4.js → DropDown-BBEsxo6E.js} +1 -1
  16. package/dist/cjs/chunks/{ErrorSummary-DDJv0_ZI.js → ErrorSummary-Bh5g3g1Y.js} +4 -4
  17. package/dist/cjs/chunks/{FileIcon-CauNmmB7.js → FileIcon-mAzQ42GJ.js} +4 -4
  18. package/dist/cjs/chunks/{FileList-BCbw6L-A.js → FileList-C85_jfbe.js} +1 -1
  19. package/dist/cjs/chunks/{FlexDiv-DeB5mq38.js → FlexDiv-C8h28Y08.js} +1 -1
  20. package/dist/cjs/chunks/{Grouper-rdWHGtXj.js → Grouper-BwGMkFXw.js} +4 -4
  21. package/dist/cjs/chunks/{Icon-DFvwdVnR.js → Icon-C_9-AnkK.js} +4 -4
  22. package/dist/cjs/chunks/{IconButton-C9ErqaD8.js → IconButton-Bft4uEdc.js} +1 -1
  23. package/dist/cjs/chunks/{IndexedDB-B5E4jtv8.js → IndexedDB-D6BQTwAU.js} +1 -1
  24. package/dist/cjs/chunks/{Label-ContTtZW.js → Label-gUTFSuwS.js} +1 -1
  25. package/dist/cjs/chunks/{Level-CWw6437c.js → Level-BiXP-ftE.js} +1 -1
  26. package/dist/cjs/chunks/{Modal-DfpHHsd5.js → Modal-40onSUtS.js} +2 -2
  27. package/dist/cjs/chunks/{ModalController-T5_l38bY.js → ModalController-DZ1SV20-.js} +3 -3
  28. package/dist/cjs/chunks/{Overlay-KzsMF1x6.js → Overlay-BVKrZfr_.js} +1 -1
  29. package/dist/cjs/chunks/{Pager-COogBcXk.js → Pager-AIPFkb0G.js} +1 -1
  30. package/dist/cjs/chunks/{ProgressIndicator-r-v-LU-4.js → ProgressIndicator-DQFn0gwg.js} +4 -4
  31. package/dist/cjs/chunks/{PromptInput-Bd9v3uKf.js → PromptInput-BVgv7ynL.js} +5 -5
  32. package/dist/cjs/chunks/{RadioButton-DNVQL-CV.js → RadioButton-CB7fDv7u.js} +1 -1
  33. package/dist/cjs/chunks/{RadioButtonList-D70SsdJW.js → RadioButtonList-Dn2BkyfG.js} +1 -1
  34. package/dist/cjs/chunks/{Slider-BQelly-s.js → Slider-CoxZoIhC.js} +4 -4
  35. package/dist/cjs/chunks/{Spacer-DqbJ3PrG.js → Spacer-D7UgAVhd.js} +1 -1
  36. package/dist/cjs/chunks/{Switch-CSpMnisf.js → Switch-ivA8u7nX.js} +1 -1
  37. package/dist/cjs/chunks/{TabBar-kqUtbH9o.js → TabBar--_DR7Mg1.js} +5 -5
  38. package/dist/cjs/chunks/{TextArea-CNlNtIw1.js → TextArea-DzCHugsI.js} +6 -4
  39. package/dist/cjs/chunks/{TextField-D2ffq7qR.js → TextField-BNNieT7B.js} +5 -5
  40. package/dist/cjs/chunks/{Tip-CXZzGCu8.js → Tip-BvVfzDFb.js} +1 -1
  41. package/dist/cjs/chunks/{Toast-qOjF9v7C.js → Toast-CjrVLdRd.js} +5 -5
  42. package/dist/cjs/chunks/{ToggleButton-CDZkfzsH.js → ToggleButton-auDgzPuS.js} +1 -1
  43. package/dist/cjs/chunks/{UploadArea-oNK9hIcb.js → UploadArea-D308XeFd.js} +1 -1
  44. package/dist/cjs/chunks/{Video-B044mlgp.js → Video-BiQIvpFr.js} +1 -1
  45. package/dist/cjs/chunks/{VideoController-CNlRrpLo.js → VideoController-BUuzXsbv.js} +4 -4
  46. package/dist/cjs/chunks/{WSConnection-L_FiioFz.js → WSConnection-DiWYhP4h.js} +1 -1
  47. package/dist/cjs/chunks/{WebRTCConnection-B_k3B7-n.js → WebRTCConnection-eVRKHsuy.js} +1 -1
  48. package/dist/cjs/chunks/{localDBStore-LJ_1gvoe.js → localDBStore-BvgdNFzE.js} +1 -1
  49. package/dist/cjs/chunks/{microphoneStore-CNCWilxq.js → microphoneStore-CSk6jaja.js} +1 -1
  50. package/dist/cjs/chunks/{misc-aY9Il19v.js → misc-BMPaUWuY.js} +2 -3
  51. package/dist/cjs/chunks/{sseStore-CCfYK62b.js → sseStore-BegTn0ky.js} +2 -2
  52. package/dist/cjs/chunks/{uploads-worker-B9B-cODC.js → uploads-worker-Cvvdbnpc.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-BWNUvTp8.js → uploadsStore-BV1775q_.js} +2 -2
  54. package/dist/cjs/chunks/viewState-BXZkYXcb.js +160 -0
  55. package/dist/cjs/chunks/{volumeStore-UNS6Po2B.js → volumeStore-cwkrbgdk.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-B8F3utP0.js → webRTCStore-BLkbbMXQ.js} +1 -1
  57. package/dist/cjs/chunks/{windowStore-DGJcKRGN.js → windowStore-BbI62dhr.js} +1 -1
  58. package/dist/cjs/components/AudioBubble/index.js +6 -6
  59. package/dist/cjs/components/Avatar/index.js +3 -3
  60. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  61. package/dist/cjs/components/Badge/index.js +2 -2
  62. package/dist/cjs/components/Button/index.js +9 -9
  63. package/dist/cjs/components/ButtonBar/index.js +6 -6
  64. package/dist/cjs/components/Camera/index.js +7 -7
  65. package/dist/cjs/components/CheckBox/index.js +6 -6
  66. package/dist/cjs/components/Chip/index.js +7 -7
  67. package/dist/cjs/components/DataTable/index.js +8 -0
  68. package/dist/cjs/components/DivInput/index.js +3 -3
  69. package/dist/cjs/components/Dot/index.js +2 -2
  70. package/dist/cjs/components/DraggablePanel/index.js +5 -5
  71. package/dist/cjs/components/DropDown/index.js +6 -6
  72. package/dist/cjs/components/ErrorSummary/index.js +5 -5
  73. package/dist/cjs/components/FileIcon/index.js +5 -5
  74. package/dist/cjs/components/FileList/index.js +7 -7
  75. package/dist/cjs/components/FlexDiv/index.js +2 -2
  76. package/dist/cjs/components/Grouper/index.js +7 -7
  77. package/dist/cjs/components/Icon/index.js +5 -5
  78. package/dist/cjs/components/IconButton/index.js +8 -8
  79. package/dist/cjs/components/Label/index.js +3 -3
  80. package/dist/cjs/components/Level/index.js +3 -3
  81. package/dist/cjs/components/Modal/index.js +10 -10
  82. package/dist/cjs/components/ModalController/index.js +5 -5
  83. package/dist/cjs/components/Overlay/index.js +2 -2
  84. package/dist/cjs/components/Pager/index.js +3 -3
  85. package/dist/cjs/components/Progress/index.js +5 -5
  86. package/dist/cjs/components/PromptInput/index.js +9 -9
  87. package/dist/cjs/components/RadioButton/index.js +6 -6
  88. package/dist/cjs/components/RadioButtonList/index.js +7 -7
  89. package/dist/cjs/components/Slider/index.js +5 -5
  90. package/dist/cjs/components/Spacer/index.js +2 -2
  91. package/dist/cjs/components/Switch/index.js +2 -2
  92. package/dist/cjs/components/TabBar/index.js +8 -8
  93. package/dist/cjs/components/TextArea/index.js +9 -9
  94. package/dist/cjs/components/Textfield/index.js +9 -9
  95. package/dist/cjs/components/Tip/index.js +3 -3
  96. package/dist/cjs/components/Toast/index.js +6 -6
  97. package/dist/cjs/components/ToggleButton/index.js +9 -9
  98. package/dist/cjs/components/UploadArea/index.js +8 -8
  99. package/dist/cjs/components/Video/index.js +11 -11
  100. package/dist/cjs/components/VideoController/index.js +9 -9
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  103. package/dist/cjs/hooks/useIntersecting.js +72 -0
  104. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  105. package/dist/cjs/hooks/useMicrophone.js +1 -1
  106. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  107. package/dist/cjs/hooks.js +6 -5
  108. package/dist/cjs/index.js +15 -9
  109. package/dist/cjs/stores/LocalDB.js +3 -3
  110. package/dist/cjs/stores/SSE.js +2 -2
  111. package/dist/cjs/stores/WS.js +2 -2
  112. package/dist/cjs/stores/WebRTC.js +2 -2
  113. package/dist/cjs/stores/microphone.js +2 -2
  114. package/dist/cjs/stores/modal.js +1 -1
  115. package/dist/cjs/stores/tip.js +1 -1
  116. package/dist/cjs/stores/toast.js +1 -1
  117. package/dist/cjs/stores/uploads.js +2 -2
  118. package/dist/cjs/stores/video.js +1 -1
  119. package/dist/cjs/stores/volume.js +2 -2
  120. package/dist/cjs/stores/window.js +2 -2
  121. package/dist/cjs/stores.js +4 -4
  122. package/dist/cjs/utils/index.js +2 -2
  123. package/dist/cjs/utils/objects/index.js +2 -2
  124. package/dist/cjs/workers/uploads/uploads.js +2 -2
  125. package/dist/esm/chunks/{AudioBubble-R4gbtceR.mjs → AudioBubble-BUy4D4rN.mjs} +6 -6
  126. package/dist/esm/chunks/{Avatar-zMdWYb1Z.mjs → Avatar-Bdcl8-Nf.mjs} +2 -2
  127. package/dist/esm/chunks/{AvatarGroup-3pdSMof-.mjs → AvatarGroup-B-4GGdPS.mjs} +2 -2
  128. package/dist/esm/chunks/{Badge-D4gCZEga.mjs → Badge-B1QAa8tc.mjs} +1 -1
  129. package/dist/esm/chunks/{Button-B3H7JTnM.mjs → Button-DanlQxTR.mjs} +6 -6
  130. package/dist/esm/chunks/{ButtonBar-D5TkHlDg.mjs → ButtonBar-DC8aN4QC.mjs} +3 -3
  131. package/dist/esm/chunks/{Camera-BwEVOsp-.mjs → Camera-B3IB3IOi.mjs} +8 -8
  132. package/dist/esm/chunks/{CheckBox-DULrQXJx.mjs → CheckBox-Df50BNHk.mjs} +3 -3
  133. package/dist/esm/chunks/{Chip-1EP8UdW6.mjs → Chip-CwDXxAua.mjs} +4 -4
  134. package/dist/esm/chunks/{DivInput-DbIRA2Yg.mjs → DivInput-Cv-eeWBP.mjs} +2 -2
  135. package/dist/esm/chunks/{Dot-CAwIke5V.mjs → Dot-DOKFQo0B.mjs} +1 -1
  136. package/dist/esm/chunks/{DrggablePanel-D9cyu27n.mjs → DrggablePanel-BEXY5M9q.mjs} +5 -5
  137. package/dist/esm/chunks/{DropDown-C8Cna91A.mjs → DropDown-DG01hr2F.mjs} +3 -3
  138. package/dist/esm/chunks/{ErrorSummary-C_cMbIqr.mjs → ErrorSummary-oi5G6wC8.mjs} +5 -5
  139. package/dist/esm/chunks/{FileIcon-CAeoeumX.mjs → FileIcon-enLJYEUf.mjs} +5 -5
  140. package/dist/esm/chunks/{FileList-CBVU6fTN.mjs → FileList-Bzdgyxx-.mjs} +5 -5
  141. package/dist/esm/chunks/{FlexDiv-tbJb3JuV.mjs → FlexDiv-DknkNy_U.mjs} +2 -2
  142. package/dist/esm/chunks/{Grouper-BsyhGFD2.mjs → Grouper-Dt4Dde2r.mjs} +6 -6
  143. package/dist/esm/chunks/{Icon-Cp_SlVSj.mjs → Icon-BOU_SmIc.mjs} +5 -5
  144. package/dist/esm/chunks/{IconButton-DJ1_DSjj.mjs → IconButton-Dtzc9KOm.mjs} +5 -5
  145. package/dist/esm/chunks/{IndexedDB-DafLl5kl.mjs → IndexedDB-CMyig7VA.mjs} +1 -1
  146. package/dist/esm/chunks/{Label-CFw4wW2p.mjs → Label-Dv2i58Zw.mjs} +2 -2
  147. package/dist/esm/chunks/{Level-Ct2T4ykI.mjs → Level-DIhFiktF.mjs} +3 -3
  148. package/dist/esm/chunks/{Modal-O01BZLvQ.mjs → Modal-9m9mnVHg.mjs} +6 -6
  149. package/dist/esm/chunks/{ModalController-DG-bB2GL.mjs → ModalController-B_dDx154.mjs} +5 -5
  150. package/dist/esm/chunks/{Overlay-BNFLYRfo.mjs → Overlay-D99175pC.mjs} +1 -1
  151. package/dist/esm/chunks/{Pager-BIDk58Ge.mjs → Pager-DmiLccjC.mjs} +2 -2
  152. package/dist/esm/chunks/{ProgressIndicator-B1EkvF2t.mjs → ProgressIndicator-Ch3G17Mt.mjs} +5 -5
  153. package/dist/esm/chunks/{PromptInput-DYDP42Ic.mjs → PromptInput-DO4qEupV.mjs} +7 -7
  154. package/dist/esm/chunks/{RadioButton-CyvtJSbw.mjs → RadioButton-CJR7Xt-k.mjs} +3 -3
  155. package/dist/esm/chunks/{RadioButtonList-DPbUb2Kt.mjs → RadioButtonList-C94nUpWA.mjs} +3 -3
  156. package/dist/esm/chunks/{Slider-DemgHp-u.mjs → Slider-SseVlmbl.mjs} +6 -6
  157. package/dist/esm/chunks/{Spacer-DPb8XU-Q.mjs → Spacer-BZv85Dxl.mjs} +1 -1
  158. package/dist/esm/chunks/{Switch-BFBdAduA.mjs → Switch-DWbt6jA7.mjs} +1 -1
  159. package/dist/esm/chunks/{TabBar-Bhi6jJSf.mjs → TabBar-DsEyyBiY.mjs} +9 -9
  160. package/dist/esm/chunks/{TextArea-BLcOl2WF.mjs → TextArea-CKYtQKHj.mjs} +8 -6
  161. package/dist/esm/chunks/{TextField-Mz46P7iM.mjs → TextField-CEc95_UF.mjs} +8 -8
  162. package/dist/esm/chunks/{Tip-C7Eoad7e.mjs → Tip-joe5AXj-.mjs} +2 -2
  163. package/dist/esm/chunks/{Toast-Ds9ogRgT.mjs → Toast-CZqRqr-l.mjs} +7 -7
  164. package/dist/esm/chunks/{ToggleButton-CRgIOpnn.mjs → ToggleButton-BEASCBHE.mjs} +2 -2
  165. package/dist/esm/chunks/{UploadArea-CaNEOJl0.mjs → UploadArea-BCzgf_yA.mjs} +4 -4
  166. package/dist/esm/chunks/{Video-ilyahtid.mjs → Video-BJbqZjL2.mjs} +5 -5
  167. package/dist/esm/chunks/{VideoController-VKt3Qnj-.mjs → VideoController-UU97YVMu.mjs} +8 -8
  168. package/dist/esm/chunks/{WSConnection-BuJFSYnc.mjs → WSConnection-IvbyrJH5.mjs} +1 -1
  169. package/dist/esm/chunks/{WebRTCConnection-DcSeaBZL.mjs → WebRTCConnection-CMISrbkj.mjs} +1 -1
  170. package/dist/esm/chunks/{localDBStore-ht-c9AP9.mjs → localDBStore-BaMrWZ7c.mjs} +2 -2
  171. package/dist/esm/chunks/{microphoneStore-C6tYWv8a.mjs → microphoneStore-CAbCtIQb.mjs} +1 -1
  172. package/dist/esm/chunks/{misc-DfpM22xJ.mjs → misc-DrBZJBmZ.mjs} +2 -3
  173. package/dist/esm/chunks/{sseStore-T_TPKIYy.mjs → sseStore-CGTH5JjI.mjs} +2 -2
  174. package/dist/esm/chunks/{uploads-worker-L54spr5O.mjs → uploads-worker-CgeRABUG.mjs} +1 -1
  175. package/dist/esm/chunks/{uploadsStore-kmgtP9Zd.mjs → uploadsStore-DARU8ZLF.mjs} +1 -1
  176. package/dist/esm/chunks/viewState-BhDVDWPZ.mjs +172 -0
  177. package/dist/esm/chunks/{volumeStore-F2T9XFR6.mjs → volumeStore-Bh8R2WVg.mjs} +1 -1
  178. package/dist/esm/chunks/{webRTCStore-COZhzsg-.mjs → webRTCStore-EN1TQcjW.mjs} +2 -2
  179. package/dist/esm/chunks/{windowStore-NcbCHnIX.mjs → windowStore-AfHJTRDP.mjs} +1 -1
  180. package/dist/esm/components/AudioBubble/index.mjs +8 -8
  181. package/dist/esm/components/Avatar/index.mjs +3 -3
  182. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  183. package/dist/esm/components/Badge/index.mjs +2 -2
  184. package/dist/esm/components/Button/index.mjs +12 -12
  185. package/dist/esm/components/ButtonBar/index.mjs +8 -8
  186. package/dist/esm/components/Camera/index.mjs +10 -10
  187. package/dist/esm/components/CheckBox/index.mjs +8 -8
  188. package/dist/esm/components/Chip/index.mjs +9 -9
  189. package/dist/esm/components/DataTable/index.mjs +9 -0
  190. package/dist/esm/components/DivInput/index.mjs +3 -3
  191. package/dist/esm/components/Dot/index.mjs +2 -2
  192. package/dist/esm/components/DraggablePanel/index.mjs +7 -7
  193. package/dist/esm/components/DropDown/index.mjs +8 -8
  194. package/dist/esm/components/ErrorSummary/index.mjs +7 -7
  195. package/dist/esm/components/FileIcon/index.mjs +7 -7
  196. package/dist/esm/components/FileList/index.mjs +10 -10
  197. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  198. package/dist/esm/components/Grouper/index.mjs +9 -9
  199. package/dist/esm/components/Icon/index.mjs +8 -8
  200. package/dist/esm/components/IconButton/index.mjs +11 -11
  201. package/dist/esm/components/Label/index.mjs +3 -3
  202. package/dist/esm/components/Level/index.mjs +4 -4
  203. package/dist/esm/components/Modal/index.mjs +14 -14
  204. package/dist/esm/components/ModalController/index.mjs +8 -8
  205. package/dist/esm/components/Overlay/index.mjs +2 -2
  206. package/dist/esm/components/Pager/index.mjs +3 -3
  207. package/dist/esm/components/Progress/index.mjs +8 -8
  208. package/dist/esm/components/PromptInput/index.mjs +15 -15
  209. package/dist/esm/components/RadioButton/index.mjs +8 -8
  210. package/dist/esm/components/RadioButtonList/index.mjs +9 -9
  211. package/dist/esm/components/Slider/index.mjs +8 -8
  212. package/dist/esm/components/Spacer/index.mjs +2 -2
  213. package/dist/esm/components/Switch/index.mjs +2 -2
  214. package/dist/esm/components/TabBar/index.mjs +12 -12
  215. package/dist/esm/components/TextArea/index.mjs +13 -13
  216. package/dist/esm/components/Textfield/index.mjs +14 -14
  217. package/dist/esm/components/Tip/index.mjs +3 -3
  218. package/dist/esm/components/Toast/index.mjs +9 -9
  219. package/dist/esm/components/ToggleButton/index.mjs +13 -13
  220. package/dist/esm/components/UploadArea/index.mjs +11 -11
  221. package/dist/esm/components/Video/index.mjs +16 -16
  222. package/dist/esm/components/VideoController/index.mjs +14 -14
  223. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  224. package/dist/esm/hooks/useBindWebRTC.mjs +5 -5
  225. package/dist/esm/hooks/useIntersecting.mjs +71 -0
  226. package/dist/esm/hooks/useMdStreamBuffer.mjs +2 -2
  227. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  228. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  229. package/dist/esm/hooks.mjs +8 -6
  230. package/dist/esm/index.mjs +60 -58
  231. package/dist/esm/stores/LocalDB.mjs +3 -3
  232. package/dist/esm/stores/SSE.mjs +3 -3
  233. package/dist/esm/stores/WS.mjs +2 -2
  234. package/dist/esm/stores/WebRTC.mjs +3 -3
  235. package/dist/esm/stores/microphone.mjs +2 -2
  236. package/dist/esm/stores/modal.mjs +1 -1
  237. package/dist/esm/stores/tip.mjs +1 -1
  238. package/dist/esm/stores/toast.mjs +1 -1
  239. package/dist/esm/stores/uploads.mjs +3 -3
  240. package/dist/esm/stores/video.mjs +1 -1
  241. package/dist/esm/stores/volume.mjs +2 -2
  242. package/dist/esm/stores/window.mjs +2 -2
  243. package/dist/esm/stores.mjs +16 -16
  244. package/dist/esm/utils/index.mjs +10 -10
  245. package/dist/esm/utils/objects/index.mjs +7 -7
  246. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  247. package/dist/styles.css +476 -80
  248. package/dist/types/components/DataTable/DataTable.d.ts +2 -0
  249. package/dist/types/components/DataTable/_data.d.ts +13 -0
  250. package/dist/types/components/DataTable/_types.d.ts +43 -0
  251. package/dist/types/components/DataTable/columnHelper.d.ts +5 -0
  252. package/dist/types/components/DataTable/index.d.ts +5 -0
  253. package/dist/types/components/DataTable/viewState.d.ts +8 -0
  254. package/dist/types/components/DataTable/viewState.test.d.ts +1 -0
  255. package/dist/types/components/TextArea/_types.d.ts +1 -0
  256. package/dist/types/components/playHelpers.d.ts +29 -29
  257. package/dist/types/hooks/index.d.ts +1 -0
  258. package/dist/types/hooks/useAudioRecorder/useAudioRecorder.test.d.ts +1 -0
  259. package/dist/types/hooks/useDoubleClick/useDoubleClick.test.d.ts +1 -0
  260. package/dist/types/hooks/useIntersecting/useIntersecting.d.ts +31 -0
  261. package/dist/types/hooks/useIntersecting/useIntersecting.test.d.ts +1 -0
  262. package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.test.d.ts +1 -0
  263. package/dist/types/hooks/useLastUpdated/useLastUpdated.test.d.ts +1 -0
  264. package/dist/types/hooks/useLocalStore/useLocalStore.test.d.ts +1 -0
  265. package/dist/types/hooks/useMdStreamBuffer/useMdStreamBuffer.test.d.ts +1 -0
  266. package/dist/types/hooks/useMicrophone/useMicrophone.test.d.ts +1 -0
  267. package/dist/types/hooks/useObserveTheme/useObserveTheme.test.d.ts +1 -0
  268. package/dist/types/hooks/useTheme/useTheme.test.d.ts +1 -0
  269. package/dist/types/hooks/useToolTip/useToolTip.test.d.ts +1 -0
  270. package/dist/types/hooks/useWindow/useWindow.test.d.ts +1 -0
  271. package/dist/types/index.d.ts +4 -0
  272. package/dist/types/stores/SSE/sseStore.test.d.ts +1 -0
  273. package/dist/types/stores/WS/wsStore.test.d.ts +1 -0
  274. package/dist/types/stores/WebRTC/webRTCStore.test.d.ts +1 -0
  275. package/dist/types/stores/microphone/microphoneStore.test.d.ts +1 -0
  276. package/dist/types/stores/modal/modalStore.test.d.ts +1 -0
  277. package/dist/types/stores/tip/tipStore.test.d.ts +1 -0
  278. package/dist/types/stores/toast/toastStore.test.d.ts +1 -0
  279. package/dist/types/stores/uploads/uploadsStore.test.d.ts +1 -0
  280. package/dist/types/stores/video/videoStore.test.d.ts +1 -0
  281. package/dist/types/stores/volume/volumeStore.test.d.ts +1 -0
  282. package/dist/types/stores/window/windowStore.test.d.ts +1 -0
  283. package/dist/types/utils/functions/colors.test.d.ts +1 -0
  284. package/dist/types/utils/functions/debounce.test.d.ts +1 -0
  285. package/dist/types/utils/functions/files.test.d.ts +1 -0
  286. package/dist/types/utils/functions/misc.test.d.ts +1 -0
  287. package/dist/types/utils/objects/SSEConnection/SSEConnection.test.d.ts +1 -0
  288. package/dist/types/utils/objects/WSConnection/WSConnection.test.d.ts +1 -0
  289. package/dist/types/utils/objects/audioVisualizer/audioVisualizer.test.d.ts +1 -0
  290. package/package.json +4 -3
  291. /package/dist/cjs/chunks/{MdStreamBuffer-CRjyX5Cv.js → MdStreamBuffer-Beqhwp6W.js} +0 -0
  292. /package/dist/cjs/chunks/{SSEConnection-CoxGcFx9.js → SSEConnection-BXI8k_ln.js} +0 -0
  293. /package/dist/cjs/chunks/{_types-C_oztie0.js → _types-B5g4Xcj2.js} +0 -0
  294. /package/dist/cjs/chunks/{audioVisualizer-BigjqG9N.js → audioVisualizer-DoLnZmy2.js} +0 -0
  295. /package/dist/cjs/chunks/{colors-BcYS1mvc.js → colors-tr9QhAvR.js} +0 -0
  296. /package/dist/cjs/chunks/{debounce-CNCOp2Gv.js → debounce-Cegf7-v6.js} +0 -0
  297. /package/dist/cjs/chunks/{modalStore-DtGXg5aq.js → modalStore-C0YXUa7W.js} +0 -0
  298. /package/dist/cjs/chunks/{sharedTypes-DVExv-oU.js → sharedTypes-DarRT_Xu.js} +0 -0
  299. /package/dist/cjs/chunks/{tipStore-BfFXGd-S.js → tipStore-BR0fGs0U.js} +0 -0
  300. /package/dist/cjs/chunks/{toastStore-m8km9gGQ.js → toastStore-BQjpdKCD.js} +0 -0
  301. /package/dist/cjs/chunks/{tslib.es6-CQt0slEr.js → tslib.es6-C-Jd---0.js} +0 -0
  302. /package/dist/cjs/chunks/{videoStore-FQaswbeD.js → videoStore-Brwoikta.js} +0 -0
  303. /package/dist/esm/chunks/{MdStreamBuffer-C2lynzlF.mjs → MdStreamBuffer-BtGh2HQC.mjs} +0 -0
  304. /package/dist/esm/chunks/{SSEConnection-CdJOa0iL.mjs → SSEConnection-S7LXth1M.mjs} +0 -0
  305. /package/dist/esm/chunks/{_types-jVVaRmv8.mjs → _types-gAOuZiQG.mjs} +0 -0
  306. /package/dist/esm/chunks/{audioVisualizer-OUGepqx_.mjs → audioVisualizer-Dw9F2-fb.mjs} +0 -0
  307. /package/dist/esm/chunks/{colors-C-u91DZx.mjs → colors-D1Rpfngc.mjs} +0 -0
  308. /package/dist/esm/chunks/{debounce-BOkcvhhA.mjs → debounce-COjcxIqP.mjs} +0 -0
  309. /package/dist/esm/chunks/{modalStore-BsdY4HBV.mjs → modalStore-DEtRKydt.mjs} +0 -0
  310. /package/dist/esm/chunks/{sharedTypes-DuRqw8fQ.mjs → sharedTypes-BZILPfY0.mjs} +0 -0
  311. /package/dist/esm/chunks/{tipStore-BMB61F_V.mjs → tipStore-CaqkhOSU.mjs} +0 -0
  312. /package/dist/esm/chunks/{toastStore-DXv8RkOg.mjs → toastStore-BBQBzlws.mjs} +0 -0
  313. /package/dist/esm/chunks/{tslib.es6-DUOZQ27j.mjs → tslib.es6-SLveycHb.mjs} +0 -0
  314. /package/dist/esm/chunks/{videoStore-fLZKzNfR.mjs → videoStore-BPWPeEyt.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -7,15 +7,15 @@ import React, { useRef, useState, useMemo, useCallback, useEffect } from "react"
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import { p as pointerPosition } from "./misc-DfpM22xJ.mjs";
10
+ import { p as pointerPosition } from "./misc-DrBZJBmZ.mjs";
11
11
 
12
- import { d as debounce } from "./debounce-BOkcvhhA.mjs";
12
+ import { d as debounce } from "./debounce-COjcxIqP.mjs";
13
13
 
14
- import "./webRTCStore-COZhzsg-.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import "./microphoneStore-C6tYWv8a.mjs";
16
+ import "./microphoneStore-CAbCtIQb.mjs";
17
17
 
18
- import "./volumeStore-F2T9XFR6.mjs";
18
+ import "./volumeStore-Bh8R2WVg.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -9,23 +9,23 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { s as setStyle } from "./misc-DfpM22xJ.mjs";
12
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
13
13
 
14
- import "./webRTCStore-COZhzsg-.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import "./microphoneStore-C6tYWv8a.mjs";
16
+ import "./microphoneStore-CAbCtIQb.mjs";
17
17
 
18
- import "./volumeStore-F2T9XFR6.mjs";
18
+ import "./volumeStore-Bh8R2WVg.mjs";
19
19
 
20
20
  import "../hooks/useWindow.mjs";
21
21
 
22
- import { B as Badge } from "./Badge-D4gCZEga.mjs";
22
+ import { B as Badge } from "./Badge-B1QAa8tc.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-Cp_SlVSj.mjs";
24
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
25
25
 
26
- import { I as IconButton } from "./IconButton-DJ1_DSjj.mjs";
26
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
27
27
 
28
- import { T as ToolTipType } from "./sharedTypes-DuRqw8fQ.mjs";
28
+ import { T as ToolTipType } from "./sharedTypes-BZILPfY0.mjs";
29
29
 
30
30
  var css = {
31
31
  wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
@@ -1,19 +1,19 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useRef, useCallback, useEffect, useMemo } from "react";
7
7
 
8
- import { B as Button } from "./Button-B3H7JTnM.mjs";
8
+ import { B as Button } from "./Button-DanlQxTR.mjs";
9
9
 
10
- var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
10
+ var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0 scrollBars-module_scrollbars__c-ZPl", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
11
11
 
12
12
  const TextArea = React.memo(props => {
13
- const {value: value = "", name: name = "text_area", width: width = "100%", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
13
+ const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
14
14
  bottom: 10,
15
15
  right: 10
16
- }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
16
+ }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = __rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = __rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = useState(focused), [text, setText] = useState(value), ref = useRef(null), handleResize = useCallback(() => {
17
17
  (null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
18
18
  }, []);
19
19
  useEffect(() => {
@@ -38,6 +38,8 @@ const TextArea = React.memo(props => {
38
38
  "--ta-border-radius": `${borderRadius}px`,
39
39
  "--ta-width": `${setStyleValue(width)}`,
40
40
  "--ta-min-width": minWidth ? `${minWidth}px` : "unset",
41
+ "--ta-height": `${setStyleValue(height)}`,
42
+ "--ta-max-height": "auto" === height ? "unset" : `${setStyleValue(height)}`,
41
43
  "--ta-bg-color": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
42
44
  "--ta-border-color": setBorderColor,
43
45
  "--ta-padding": `${setStyleValue(padding)}`,
@@ -45,7 +47,7 @@ const TextArea = React.memo(props => {
45
47
  "--ta-send-icon-offset-right": `${sendOffset.right}px`,
46
48
  "--ta-send-icon-size": `${sendSize}px`,
47
49
  "--ta-resize": resizable ? "vertical" : "none"
48
- }), [ width, minWidth, resolvedBackgroundColor, setBorderColor, padding, sendOffset, sendSize, setStyleValue, borderRadius, resizable ]);
50
+ }), [ width, minWidth, resolvedBackgroundColor, setBorderColor, padding, sendOffset, sendSize, setStyleValue, borderRadius, resizable, height ]);
49
51
  return jsxs("div", Object.assign({
50
52
  id: divId,
51
53
  className: `${css_wrapper}${divClass}`,
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -11,21 +11,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-DfpM22xJ.mjs";
14
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
15
15
 
16
- import "./webRTCStore-COZhzsg-.mjs";
16
+ import "./webRTCStore-EN1TQcjW.mjs";
17
17
 
18
- import "./microphoneStore-C6tYWv8a.mjs";
18
+ import "./microphoneStore-CAbCtIQb.mjs";
19
19
 
20
- import "./volumeStore-F2T9XFR6.mjs";
20
+ import "./volumeStore-Bh8R2WVg.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { B as Button } from "./Button-B3H7JTnM.mjs";
24
+ import { B as Button } from "./Button-DanlQxTR.mjs";
25
25
 
26
- import { I as Icon } from "./Icon-Cp_SlVSj.mjs";
26
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
27
27
 
28
- import { I as IconButton } from "./IconButton-DJ1_DSjj.mjs";
28
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
29
29
 
30
30
  var css = {
31
31
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useState, useRef, useEffect, useMemo } from "react";
9
9
 
10
- import { f as filterClasses } from "./misc-DfpM22xJ.mjs";
10
+ import { f as filterClasses } from "./misc-DrBZJBmZ.mjs";
11
11
 
12
12
  var css = {
13
13
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,19 +11,19 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-DfpM22xJ.mjs";
14
+ import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-DrBZJBmZ.mjs";
15
15
 
16
- import "./webRTCStore-COZhzsg-.mjs";
16
+ import "./webRTCStore-EN1TQcjW.mjs";
17
17
 
18
- import "./microphoneStore-C6tYWv8a.mjs";
18
+ import "./microphoneStore-CAbCtIQb.mjs";
19
19
 
20
- import "./volumeStore-F2T9XFR6.mjs";
20
+ import "./volumeStore-Bh8R2WVg.mjs";
21
21
 
22
22
  import "../hooks/useWindow.mjs";
23
23
 
24
- import { I as Icon } from "./Icon-Cp_SlVSj.mjs";
24
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
25
25
 
26
- import { P as ProgressIndicator } from "./ProgressIndicator-B1EkvF2t.mjs";
26
+ import { P as ProgressIndicator } from "./ProgressIndicator-Ch3G17Mt.mjs";
27
27
 
28
28
  var ToastType, css = {
29
29
  wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
@@ -3,9 +3,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import { useMemo } from "react";
5
5
 
6
- import { I as IconButton } from "./IconButton-DJ1_DSjj.mjs";
6
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
7
7
 
8
- import { L as Label } from "./Label-CFw4wW2p.mjs";
8
+ import { L as Label } from "./Label-Dv2i58Zw.mjs";
9
9
 
10
10
  var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
11
11
 
@@ -3,13 +3,13 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import React, { useState, useRef, useId, useCallback, useMemo } from "react";
5
5
 
6
- import { s as setStyle, a as accessibleKeyDown } from "./misc-DfpM22xJ.mjs";
6
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-DrBZJBmZ.mjs";
7
7
 
8
- import { F as FileList } from "./FileList-CBVU6fTN.mjs";
8
+ import { F as FileList } from "./FileList-Bzdgyxx-.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-Cp_SlVSj.mjs";
10
+ import { I as Icon } from "./Icon-BOU_SmIc.mjs";
11
11
 
12
- import { P as ProgressIndicator } from "./ProgressIndicator-B1EkvF2t.mjs";
12
+ import { P as ProgressIndicator } from "./ProgressIndicator-Ch3G17Mt.mjs";
13
13
 
14
14
  var css = {
15
15
  wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { _ as __rest, a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest, a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-DfpM22xJ.mjs";
8
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
9
9
 
10
- import { I as IconButton } from "./IconButton-DJ1_DSjj.mjs";
10
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
11
11
 
12
- import { S as Slider } from "./Slider-DemgHp-u.mjs";
12
+ import { S as Slider } from "./Slider-SseVlmbl.mjs";
13
13
 
14
- import { T as ToggleButton } from "./ToggleButton-CRgIOpnn.mjs";
14
+ import { T as ToggleButton } from "./ToggleButton-BEASCBHE.mjs";
15
15
 
16
16
  var PlayState, css_wrapper = "Video-module_wrapper__a9iH8", css_video = "Video-module_video__hxKME", css_controls = "Video-module_controls__X4yt6", css_controlsHeader = "Video-module_controlsHeader__dD64-", css_controlsFooter = "Video-module_controlsFooter__qJNTa", css_controlsBody = "Video-module_controlsBody__2GbQz", css_right = "Video-module_right__UMhfW", css_left = "Video-module_left__XC33m", css_progress = "Video-module_progress__UTWtq";
17
17
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { _ as __rest } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,19 +7,19 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
7
7
 
8
8
  import { useRef, useState, useEffect, useMemo } from "react";
9
9
 
10
- import "./microphoneStore-C6tYWv8a.mjs";
10
+ import "./microphoneStore-CAbCtIQb.mjs";
11
11
 
12
- import "./volumeStore-F2T9XFR6.mjs";
12
+ import "./volumeStore-Bh8R2WVg.mjs";
13
13
 
14
- import "./webRTCStore-COZhzsg-.mjs";
14
+ import "./webRTCStore-EN1TQcjW.mjs";
15
15
 
16
- import { s as setStyle } from "./misc-DfpM22xJ.mjs";
16
+ import { s as setStyle } from "./misc-DrBZJBmZ.mjs";
17
17
 
18
- import { I as IconButton } from "./IconButton-DJ1_DSjj.mjs";
18
+ import { I as IconButton } from "./IconButton-Dtzc9KOm.mjs";
19
19
 
20
- import { O as Overlay } from "./Overlay-BNFLYRfo.mjs";
20
+ import { O as Overlay } from "./Overlay-D99175pC.mjs";
21
21
 
22
- import { u as useVideo, a as useVideoActions } from "./videoStore-fLZKzNfR.mjs";
22
+ import { u as useVideo, a as useVideoActions } from "./videoStore-BPWPeEyt.mjs";
23
23
 
24
24
  var css_container = "VideoController-module_container__wNiGy", css_box = "VideoController-module_box__a0PRD", css_wrapper = "VideoController-module_wrapper__RhpUo", css_video = "VideoController-module_video__9bS2L";
25
25
 
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  /**
4
4
  * Manage a WebSocket connection with optional unified events, retries, and keep-alive pings.
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  class WebRTCConnection {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as __awaiter, _ as __rest } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter, _ as __rest } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  import { useMemo } from "react";
4
4
 
@@ -6,7 +6,7 @@ import { create } from "zustand";
6
6
 
7
7
  import { useShallow } from "zustand/react/shallow";
8
8
 
9
- import { I as IndexedDB } from "./IndexedDB-DafLl5kl.mjs";
9
+ import { I as IndexedDB } from "./IndexedDB-CMyig7VA.mjs";
10
10
 
11
11
  function isValidIDBKey(key) {
12
12
  return "string" == typeof key || "number" == typeof key || key instanceof Date || key instanceof ArrayBuffer || (Array.isArray(key) ? key.every(entry => isValidIDBKey(entry)) : ArrayBuffer.isView(key));
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
2
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
3
3
 
4
4
  import { useEffect } from "react";
5
5
 
@@ -1,11 +1,10 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  /**
4
4
  * Remove scripts, invisible characters, and optional HTML tags from a string.
5
5
  */ function cleanString(input, removeInvisible = !0, removeHtml = !0) {
6
6
  let clean = input;
7
- if (clean = clean.replaceAll(/\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, ""),
8
- removeInvisible) {
7
+ if (clean = clean.replaceAll(/<script\b[^>]*>[\s\S]*?<\/script>/gi, ""), removeInvisible) {
9
8
  const invisibleRegEx = /[\r\n\t]/gi;
10
9
  clean = clean.replaceAll(invisibleRegEx, "");
11
10
  }
@@ -1,8 +1,8 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import "./tslib.es6-DUOZQ27j.mjs";
3
+ import "./tslib.es6-SLveycHb.mjs";
4
4
 
5
- import { S as SSEConnection } from "./SSEConnection-CdJOa0iL.mjs";
5
+ import { S as SSEConnection } from "./SSEConnection-S7LXth1M.mjs";
6
6
 
7
7
  const useSSEStore = create((set, get) => ({
8
8
  connections: [],
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  var FileUploadStatus, UploadError, WorkerStatus;
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { create } from "zustand";
2
2
 
3
- import { W as WorkerStatus } from "./uploads-worker-L54spr5O.mjs";
3
+ import { W as WorkerStatus } from "./uploads-worker-CgeRABUG.mjs";
4
4
 
5
5
  let uploadsWorker = null;
6
6
 
@@ -0,0 +1,172 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+
3
+ import React, { useState, useCallback, useMemo } from "react";
4
+
5
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-DrBZJBmZ.mjs";
6
+
7
+ var styles = {
8
+ tableWrapper: "DataTable-module_tableWrapper__BzoJE",
9
+ table: "DataTable-module_table__oL4Dz",
10
+ baseCell: "DataTable-module_baseCell__DQl-z",
11
+ baseCellWrapper: "DataTable-module_baseCellWrapper__WMgNm",
12
+ headerCellWrapper: "DataTable-module_headerCellWrapper__ytVYY",
13
+ m: "DataTable-module_m__G9QOp type-module_body-m-regular__LuQBA",
14
+ scroll: "DataTable-module_scroll__grEU0 scrollBars-module_scrollbars__c-ZPl"
15
+ };
16
+
17
+ function createColumnHelper() {
18
+ return {
19
+ accessor: (accessor, def) => Object.assign({
20
+ accessor: accessor
21
+ }, def)
22
+ };
23
+ }
24
+
25
+ const resolveAlignValue = value => {
26
+ switch (value) {
27
+ case "start":
28
+ return "flex-start";
29
+
30
+ case "center":
31
+ default:
32
+ return "center";
33
+
34
+ case "end":
35
+ return "flex-end";
36
+ }
37
+ };
38
+
39
+ function DataTable(props) {
40
+ const {backgroundColor: backgroundColor = "var(--core-surface-primary)", headerBackgroundColor: headerBackgroundColor = "var(--core-surface-secondary)", candyStripeBackgroundColor: candyStripeBackgroundColor = "var(--core-surface-primary-tint)", backgroundColorHoverRow: backgroundColorHoverRow = "var(--core-surface-primary-tint)", freezeColumn: freezeColumn = !1, headerSticky: headerSticky = !0, height: height = "auto", width: width = "100%", borderColor: borderColor = "var(--core-outline-primary)", borderStyle: borderStyle = "box", columnDefinitions: columnDefinitions = [], tableData: tableData = [], getRowId: getRowId, filter: filter, caption: caption = "Data Table", onDoubleClick: onDoubleClick, onClick: onClick, onMouseOut: onMouseOut, onMouseOver: onMouseOver} = props, [hScroll, setHScroll] = useState(!1), [vScroll, setVScroll] = useState(!1), [hoveredRow, setHoveredRow] = useState(null), wrapperRef = React.useRef(null), cornerBoxShadow = useCallback(() => {
41
+ const shadows = [];
42
+ return hScroll && freezeColumn && shadows.push("1px 0 0 var(--core-outline-primary)", "5px 0 0 rgba(0,0,0,0.1)"),
43
+ vScroll && headerSticky && shadows.push("0 1px 0 var(--core-outline-primary)"),
44
+ vScroll && headerSticky && !hScroll && shadows.push("0 5px 0 rgba(0,0,0,0.1)"),
45
+ shadows.length > 0 ? shadows.join(",") : "none";
46
+ }, [ hScroll, vScroll, freezeColumn, headerSticky ]), columnBoxShadow = useMemo(() => {
47
+ const shadows = [];
48
+ return hScroll && freezeColumn && shadows.push("1px 0 0 var(--core-outline-primary)", "5px 0 0 rgba(0,0,0,0.1)"),
49
+ shadows.length > 0 ? shadows.join(",") : "none";
50
+ }, [ hScroll, freezeColumn ]), headerBoxShadow = useMemo(() => {
51
+ const shadows = [];
52
+ return vScroll && headerSticky && shadows.push("0 1px 0 var(--core-outline-primary)", "0 5px 0 rgba(0,0,0,0.1)"),
53
+ shadows.length > 0 ? shadows.join(",") : "none";
54
+ }, [ vScroll, headerSticky ]), cssVars = useMemo(() => ({
55
+ "--table-width": setStyle(width),
56
+ "--table-height": setStyle(height),
57
+ "--table-background-color": backgroundColor,
58
+ "--table-column-box-shadow": columnBoxShadow,
59
+ "--table-header-box-shadow": headerBoxShadow,
60
+ "--table-corner-box-shadow": cornerBoxShadow,
61
+ "--table-header-background-color": headerBackgroundColor,
62
+ "--table-candy-stripe-background-color": candyStripeBackgroundColor,
63
+ "--table-freeze-column-position": freezeColumn ? "sticky" : "relative",
64
+ "--table-header-sticky-position": headerSticky ? "sticky" : "relative",
65
+ "--table-border-color": borderColor,
66
+ "--table-corner-position": freezeColumn || headerSticky ? "sticky" : "relative",
67
+ "--table-corner-left": freezeColumn ? "0px" : "unset",
68
+ "--table-border-width": "none" === borderStyle ? "0" : "1px",
69
+ "--table-border-sides": "box" === borderStyle ? "1px" : "0"
70
+ }), [ backgroundColor, headerBackgroundColor, candyStripeBackgroundColor, cornerBoxShadow, columnBoxShadow, headerBoxShadow, freezeColumn, headerSticky, width, height, borderColor, borderStyle ]), handleScroll = useCallback(() => {
71
+ var _a, _b, _c, _d;
72
+ const hScrollAmount = null !== (_b = null === (_a = wrapperRef.current) || void 0 === _a ? void 0 : _a.scrollLeft) && void 0 !== _b ? _b : 0, vScrollAmount = null !== (_d = null === (_c = wrapperRef.current) || void 0 === _c ? void 0 : _c.scrollTop) && void 0 !== _d ? _d : 0;
73
+ setHScroll(hScrollAmount > 0), setVScroll(vScrollAmount > 0);
74
+ }, []), rows = useMemo(() => filter ? tableData.filter((row, index, array) => filter(row, index, array)) : tableData, [ tableData, filter ]), handleCellHover = useCallback((col, colId, row, rowId, over) => {
75
+ over ? (setHoveredRow(rowId), onMouseOver && onMouseOver(col, colId, row, rowId)) : (setHoveredRow(prev => prev === rowId ? null : prev),
76
+ onMouseOut && onMouseOut(col, colId, row, rowId));
77
+ }, [ onMouseOut, onMouseOver ]), handleClick = useCallback((col, colId, row, rowId, dbl) => {
78
+ dbl && onDoubleClick ? onDoubleClick(col, colId, row, rowId) : onClick && onClick(col, colId, row, rowId);
79
+ }, [ onDoubleClick, onClick ]), resolveCellBG = useCallback(rowId => backgroundColorHoverRow && hoveredRow === rowId ? backgroundColorHoverRow : !!candyStripeBackgroundColor && rowId % 2 != 0 ? candyStripeBackgroundColor : backgroundColor, [ hoveredRow, backgroundColorHoverRow, candyStripeBackgroundColor, backgroundColor ]);
80
+ return jsx("div", {
81
+ ref: wrapperRef,
82
+ className: `${styles.tableWrapper} ${styles.scroll}`,
83
+ style: cssVars,
84
+ onScroll: handleScroll,
85
+ children: jsxs("table", {
86
+ className: styles.table,
87
+ children: [ jsx("caption", {
88
+ children: caption
89
+ }), jsx("thead", {
90
+ children: jsx("tr", {
91
+ children: columnDefinitions.map(column => {
92
+ const padding = setStyle(column.padding, 16);
93
+ return jsx("th", {
94
+ "data-column-id": column.id,
95
+ className: `${styles.baseCell} ${styles.headerCell} ${styles.m}`,
96
+ children: jsx("div", {
97
+ className: styles.headerCellWrapper,
98
+ style: {
99
+ padding: padding
100
+ },
101
+ children: column.renderHeader ? column.renderHeader({
102
+ column: column
103
+ }) : column.title
104
+ })
105
+ }, column.id);
106
+ })
107
+ })
108
+ }), jsx("tbody", {
109
+ children: rows.map((row, rowIndex) => jsx("tr", {
110
+ children: columnDefinitions.map((col, colIndex) => {
111
+ var _a;
112
+ const value = col.accessor(row), justifyContent = resolveAlignValue(col.justify), alignItems = resolveAlignValue(col.align), padding = setStyle(col.padding, 16), whiteSpace = col.nowrap ? "nowrap" : "", background = resolveCellBG(rowIndex);
113
+ return jsx("td", {
114
+ "data-column-id": `${col.id}.${rowIndex}`,
115
+ className: `${styles.baseCell} ${styles.m}`,
116
+ onClick: () => handleClick(col, colIndex, row, rowIndex, !1),
117
+ onDoubleClick: () => handleClick(col, colIndex, row, rowIndex, !0),
118
+ onKeyDown: e => accessibleKeyDown(e, () => handleClick(col, colIndex, row, rowIndex, !1)),
119
+ onMouseOver: () => handleCellHover(col, colIndex, row, rowIndex, !0),
120
+ onFocus: () => handleCellHover(col, colIndex, row, rowIndex, !0),
121
+ onMouseOut: () => handleCellHover(col, colIndex, row, rowIndex, !1),
122
+ onBlur: () => handleCellHover(col, colIndex, row, rowIndex, !1),
123
+ style: {
124
+ background: background
125
+ },
126
+ children: jsx("div", {
127
+ className: styles.baseCellWrapper,
128
+ style: {
129
+ justifyContent: justifyContent,
130
+ alignItems: alignItems,
131
+ padding: padding,
132
+ whiteSpace: whiteSpace
133
+ },
134
+ children: col.renderCell ? col.renderCell({
135
+ row: row,
136
+ value: value,
137
+ rowIndex: rowIndex
138
+ }) : null !== (_a = null == value ? void 0 : value.toString()) && void 0 !== _a ? _a : ""
139
+ })
140
+ }, col.id);
141
+ })
142
+ }, getRowId ? getRowId(row, rowIndex) : rowIndex))
143
+ }) ]
144
+ })
145
+ });
146
+ }
147
+
148
+ function createDefaultViewState(columns) {
149
+ return {
150
+ columnOrder: columns.map(column => column.id)
151
+ };
152
+ }
153
+
154
+ function applyDataTableViewState(columns, state) {
155
+ var _a;
156
+ if (!state) return columns;
157
+ const byId = new Map(columns.map(column => [ column.id, column ])), hidden = new Set(null !== (_a = state.hiddenColumns) && void 0 !== _a ? _a : []), seen = new Set, ordered = [];
158
+ for (const id of state.columnOrder) {
159
+ if (seen.has(id) || hidden.has(id)) continue;
160
+ const column = byId.get(id);
161
+ column && (seen.add(id), ordered.push(column));
162
+ }
163
+ for (const column of columns) seen.has(column.id) || hidden.has(column.id) || (seen.add(column.id),
164
+ ordered.push(column));
165
+ if (!state.columnWidths) return ordered;
166
+ const widths = state.columnWidths;
167
+ return ordered.map(column => column.id in widths ? Object.assign(Object.assign({}, column), {
168
+ width: widths[column.id]
169
+ }) : column);
170
+ }
171
+
172
+ export { DataTable as D, applyDataTableViewState as a, createDefaultViewState as b, createColumnHelper as c };
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
@@ -1,8 +1,8 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
5
- import { W as WebRTCConnection } from "./WebRTCConnection-DcSeaBZL.mjs";
5
+ import { W as WebRTCConnection } from "./WebRTCConnection-CMISrbkj.mjs";
6
6
 
7
7
  const useWebRTCStore = create((set, get) => ({
8
8
  connections: [],
@@ -1,4 +1,4 @@
1
- import { a as __awaiter } from "./tslib.es6-DUOZQ27j.mjs";
1
+ import { a as __awaiter } from "./tslib.es6-SLveycHb.mjs";
2
2
 
3
3
  import { create } from "zustand";
4
4
 
@@ -1,6 +1,6 @@
1
- export { A as AudioBubble } from "../../chunks/AudioBubble-R4gbtceR.mjs";
1
+ export { A as AudioBubble } from "../../chunks/AudioBubble-BUy4D4rN.mjs";
2
2
 
3
- import "../../chunks/tslib.es6-DUOZQ27j.mjs";
3
+ import "../../chunks/tslib.es6-SLveycHb.mjs";
4
4
 
5
5
  import "react/jsx-runtime";
6
6
 
@@ -24,18 +24,18 @@ import "../../theme/type.mjs";
24
24
 
25
25
  import "../../hooks/useObserveTheme.mjs";
26
26
 
27
- import "../../chunks/colors-C-u91DZx.mjs";
27
+ import "../../chunks/colors-D1Rpfngc.mjs";
28
28
 
29
- import "../../chunks/audioVisualizer-OUGepqx_.mjs";
29
+ import "../../chunks/audioVisualizer-Dw9F2-fb.mjs";
30
30
 
31
- import "../../chunks/webRTCStore-COZhzsg-.mjs";
31
+ import "../../chunks/webRTCStore-EN1TQcjW.mjs";
32
32
 
33
33
  import "zustand";
34
34
 
35
- import "../../chunks/WebRTCConnection-DcSeaBZL.mjs";
35
+ import "../../chunks/WebRTCConnection-CMISrbkj.mjs";
36
36
 
37
- import "../../chunks/microphoneStore-C6tYWv8a.mjs";
37
+ import "../../chunks/microphoneStore-CAbCtIQb.mjs";
38
38
 
39
- import "../../chunks/volumeStore-F2T9XFR6.mjs";
39
+ import "../../chunks/volumeStore-Bh8R2WVg.mjs";
40
40
 
41
41
  import "../../hooks/useWindow.mjs";